2003.04.14 11:30 "planar to chunky", by John Carter

Hi

I though I'd get my facts straight before i tried implementing this conversion process. I've got a tiff in planar format ie planar_configuration = 2. I've a question.

1)a Is all the data for a pixel in the one strip
    eg in a strip 12 bytes long is the rgb data for the 1st pixel at locations 0,4,8 (assuming 24bit image)
    OR
   b is the image divide in 3 strips and the 1st strip is devoted to Red.
    ie the rgb data for the 1st pixel is in 1st location of each strip?
2) assuming the 1a is true, would the bytes for the 1st pixel in a 48bit image be in strip locations
    01,45,89?
 

3) if the image is also horizontal differencing ie predictor = 2
    should the differencing be done after the strip has be chunkified :-)


thanks jc

____________________________

John Carter
BSS O&M Development group,
Motorola,
Mahon Industrial Estate,
Cork.