Interpreting Pixels SizeX and DimensionOrder when using the
Posted: Wed May 16, 2012 3:32 pm
I’m generating some tiff images which have use the tiff orientation tag (tag id 274) to indicate that the image should be interpreted as rotated, with a value of 8 where the 0th row of data represents the visual left-hand side of the image i.e. x = 0, and the 0th column represents the visual bottom i.e. y = 0.
One of interpreting this is with a DimensionOrder of YXZCT, although that applies to planes rather the actual 2d array of data in a single tiff image - and is not allowed anyway.
Should Pixels.SizeX be the length of each row of data in the tiff image or the actual number of pixels in the tiff image in the x direction?
Similarly, does PhysicalSizeX refer to the real world x pixel size or the size of the pixels in the direction of a row?
One of interpreting this is with a DimensionOrder of YXZCT, although that applies to planes rather the actual 2d array of data in a single tiff image - and is not allowed anyway.
Should Pixels.SizeX be the length of each row of data in the tiff image or the actual number of pixels in the tiff image in the x direction?
Similarly, does PhysicalSizeX refer to the real world x pixel size or the size of the pixels in the direction of a row?