LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Display U16 tiff image on LabVIEW Image display (0-65535)

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

Download All
0 Kudos
Message 1 of 3
(4,342 Views)

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. 

Message 2 of 3
(4,331 Views)

Hi Andrey.

Thanks for taking your time helping me on this. This is very helpful.

Thanks again :manvery-happy:

 

Ed

Message 3 of 3
(4,324 Views)