Click here to Skip to main content
11,935,066 members (54,785 online)
Rate this:
Please Sign up or sign in to vote.
See more: C++ Image-Processing

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,
Posted 15-Feb-11 10:09am

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

Have you looked at this, or this?
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,


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

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web03 | 2.8.151126.1 | Last Updated 15 Feb 2011
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100