01-23-2011 07:02 PM
Hi all,
I am having a problem with reading a 16 bit image using labview. The story is that I save 16 bit images using labview BUT I subtract the lowest gray value before saving (i.e.. -32768). Thus the new range of gray levels is 0-65536 instead of -32768 - 32767. So far so good, the problem occurs when reading the images using anther vi we use. The images are truncated at 32 767 and every thing in between 32768 and 65536 is lost! Post reading processing is kind of meaningless since the info is already lost.
Any one can help with this problem I will appreciate it.
Thanks in advance
Solved! Go to Solution.
01-24-2011 09:26 AM
Hi mssm22,
sounds as you use the wrong datatype while reading.
Mike
01-24-2011 09:31 AM
@MikeS81 wrote:
Hi mssm22,
sounds as you use the wrong datatype while reading.
Mike
Yes, I would imagine he is using a signed instead of unsigned.
01-24-2011 03:41 PM
Thanks guys! it is a signed unsigned issue. Yet it occurred when I saved the images and not while reading them. The saved images are signed thus the range is -32768 - 32767.
Regards