09-14-2008 03:10 AM
Hi,
I am trying to display U16 tiff image on Image Display. I want to see the scale value of 0-65536.
1. If I set I16 to IMAQ Create, the value from 32768 to 65535 will be come -32768 to -1.
2. if I set U16 to IMAQ Create , the value that higher than 32767 will all become "0"
However , If I set I16 to IMAQ Create, then I use IMAQ Image To Array to get pixel data. I will get all my data from 0-65535.
Could any body help me to understand how I can display U16-bit image that show the range from 0-65535. I have attached an example image and VI to this message.
Thank you,
Ed
09-14-2008 05:48 AM
Hi, Ed,
I think, something wrong with your tiff file. Probably this file was saved initially with signed representation. I have seen, that 16 bit grayscale different if you using different software for manipulation. Any way, you have to convert the image. It seems to be that you need to open this file with I16 type, then convert representation to U16 type. Example in attachment.
Andrey.
09-14-2008 06:40 AM