Using the IMAQ WindDisplayMapping function by specifying the Given Range something goes wrong. Half of the image is corrupted (the negative values) and the other half is mapped between black and white.
I also tried it with an example found in the database of the Developer zone (see attached VI with my example TIFF file).
I tested it several times with a grayscale ramp. I think it has something to do with the I16 representation of 16 bit images in IMAQ. I also noticed that IMAQ only displays correctly TIFF files that are saved in the Motorola (Big Endian) convention.
The attached image is a ramp going vertical from white above to black (use Photoshop). In IMAQ the image is not displayed correctly. This can be bypassed by adding and subst
racting 32768, 32767.
Please help.