Click here to Skip to main content
15,860,859 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hello,

I am working on a project in which i have to deal with a tiff image using OpenCV. This tiff image has 30 multiple images.

This tiff image is a 16 bit image, i realised that i can access this image using libtiff library and i could read these images using libtiff library, but i dont know how to get image data and save these image data into IplImage of OpenCV.

If i have each image of tiff file in a IplImage type then i can proceed with alogorithm using with OpenCV library.

It would be really helpful, if any one can help me in this regard.

Thanks in advance,

Best Regards,
Sai
Posted

1 solution

Have you looked at this, or this?
 
Share this answer
 
Comments
Emilio Garavaglia 16-Feb-11 8:25am    
Comment from the OP:

Hello Marcus,

Thanks for your reply

I have gone through these softwares, but I have to work with these images in c++,splitters available can only split 8-bit tiff files.


I want to read the internal images of this 16-bit TIFF file and store them in a Matrix form where i can load them with OpenCV library.

I need some help how to read the avaialable 30 images in tiff file using some kind of library and store them in a array of IplImage type, so that i can use them in next steps of alogorithm.

Thank you once again,

Regards,
Sai

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900