Read image using RGBA interface
[RGB,alpha] = readRGBAImage()
[RGB,alpha] = readRGBAImage() reads an
entire image using the RGBA interface.
n are the
height and width of the tile, respectively.
the associated alpha matting. If the image does not have associated
alpha matting, then
alpha is a matrix with all
values set to 255 (transparent).
The pixel values may be transformed depending upon the values of the following tags:
Return all image data as RGB, with associated alpha matting.
t = Tiff('example.tif','r'); t.setDirectory(2); [RGB,A] = t.readRGBAImage(); t.close();
This method corresponds to the
in the LibTIFF C API.
To use this method, you must be familiar with LibTIFF version
4.0.0, as well as the TIFF specification and technical notes. View
this documentation at
- TIFF Library and Utilities.