2012.06.18 23:15 "[Tiff] How the multi-planar image should be read/written", by Jorge
As far I know, the bands of a multiplanar Image ( planarConfiguration tag = 2) should be written one after the other. But for me, this is not clear. Please, let me write an example to explain my understanding:
We have an image withe the following parameters:
Lines = 6000
Columns = 1500
image has 5 different bands ( samplePerPixel = 5 ), and planarconfiguration = 2 The
The image is stripped, with the parameter RowsPerStrip = 100, so there are 60 strips.
If I want to read this image using the function readEncodedStrip from libtiff library. The number of strips to be read is 5*60? The first 60 strips corresponds to the first band, the next 60 strips corresponds to the second band and so on. Are this statements correct?
For Tiled image the approach should be similar, isn't it?
Thank you very much!!