11-14-2011 09:34 AM
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?
11-14-2011 09:50 AM
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.
11-14-2011 12:56 PM
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?
11-15-2011 05:01 PM
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.
11-16-2011 02:42 AM
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