LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Opening 16-bit TIFF in LabVIEW Pro

16-bit images are captured from a PerkinElmer digital panel in an x-ray system. LabVIEW will not open these saved TIFF images directly. If images are first opened using ImageJ and then re-saved as a TIFF image LabVIEW can then open them. The images however have the same file size but are slightly modified at the high intensity values which currently are not an issue.

 

How can these TIFF images be opened without having to go through this second step; has anyone written LabVIEW software to take images directly from the panel - free or for purchase as a vi for use in a larger program?

0 Kudos
Message 1 of 5
(2,668 Views)

Use Vision Development Module. This toolkit is able to open 16 bit image. There are possible problems with signed/unsigned representation, which can be solved by conversion image to array, shifting range, then back conversion to IMAQ Image.

 

Andrey.

 

0 Kudos
Message 2 of 5
(2,665 Views)

Always comes up as "Unable to Read", Using "Imaq Get File info" the output comes out 1 bit; U8 so an image of any type never gets to Imaq Image to array vi. What am I missing?

0 Kudos
Message 3 of 5
(2,657 Views)

Would it be possible to post one these images.  I have tried to duplicate the issue using a stock Tiff image, but I cannot get the error you are reporting.  I would check and make sure that all of your image types match up, such as in IMAQ Create and IMAQ ImageToArray.  If you are reserving a memory location for an image other than 16 Bit, then that could cause an error.  Also, if you don't have the correct indicator wired to the output of the IMAQ ImageToArray VI, that could cause an error too.  It sounds like the error is occuring at IMAQ ReadFile though.  Are you using the default file options, or are you setting them through a control or constant?  If so, what inputs are you changing?  If the inputs don't match up, that could lead to an error also.

Regards,

Chris L
Applications Engineer
National Instruments

Certified LabVIEW Associate Developer
0 Kudos
Message 4 of 5
(2,635 Views)

Will see if I have an image acceptable to paste or will need a few days to make one, agree that the issue appears to be in readfile. Am allocating for a 16-bit or would not be able to bring up the same image saved through ImageJ which comes up as a 16-bit tiff image unless I'm mistaken some how but either way let me check on an image for you to play with, thanks

0 Kudos
Message 5 of 5
(2,629 Views)