Skip to content

OME-TIFF n-pages versus bands swapped? #4009

Answered by jcupitt
tomouellette asked this question in Q&A
Discussion options

You must be logged in to vote

Hello @tomouellette,

The libvips TIFF reader is a general one, with only a few additions to make working with OME-TIFF easier. Since it tries to give you exactly what's in the TIFF file, you need to know how OME-TIFF images are encoded.

OME-TIFF images are all one band, and they use the pages dimension to store extra bands. Pyramids are stored in sub-ifd levels off each page. They do this because many microscopes have different cameras for different modalities, so you can't be sure different channels will have the same number of pixels in each direction.

The tiffinfo utility is very handy for seeing the internal structure of a TIFF file.

When reading OME-TIFF with libvips the best strateg…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@tomouellette
Comment options

Answer selected by tomouellette
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants