2006.03.31 05:49 "[Tiff] 16-bit TIFF to 8-bit BMP/TIF ???", by Chris L.

2006.03.31 05:49 "[Tiff] 16-bit TIFF to 8-bit BMP/TIF ???", by Chris L.

Hi,

I am in the process of writing a program using openCV that analyses 8 bit images. The problem I have is that images produced from a fluorescent camera are 16 bit unsigned greyscale TIFF images (industry standard).

This is a major project for University (DNA Microarray Image Analysis)

I would like to convert this image to an 8 bit greyscale image so that I can analyse and display the image with intensities in proportion with the original image.

The way I would like to do this is to get every pixels intensity value (16 bit) and Square root it to bring it into the range between 0 and 255.

I am very much a newbie to the LibTIF package so any help will be greatly appreciated.

I would like to steer away from using other programs to accomplish this task so I can combine it into the analysis program.

This part is pretty urgent. The analysis is complete I am now trying to get TIFF images working with it.

Regards,
   Chris Le Brese

____________________________________________________
On Yahoo!7
Messenger - Make free PC-to-PC calls to your friends overseas.
http://au.messenger.yahoo.com