stripData = readEncodedStrip(tiffobj,stripNumber)
[Y,Cb,Cr] = readEncodedStrip(tiffobj,stripNumber)
stripData = readEncodedStrip(tiffobj,stripNumber)
reads
data from the strip specified by stripNumber
. Strip
numbers are one-based numbers.
[Y,Cb,Cr] = readEncodedStrip(tiffobj,stripNumber)
reads
YCbCr component data from the specified strip. The size of the chrominance
components Cb
and Cr
might differ
from the size of the luminance component Y
depending
on the value of the YCbCrSubSampling
tag.
readEncodeStrip
clips the last strip, if
the strip extends past the ImageLength
boundary.
This method corresponds to the TIFFReadEncodedStrip
function
in the LibTIFF C API. To use this method, you must be familiar with
the TIFF specification and technical notes. View this documentation
at LibTIFF
- TIFF Library and Utilities
.