Products & Services Solutions Academia Support User Community Company

Learn more about Image Processing Toolbox   

nitfread - Read image from NITF file

Syntax

X = nitfread(filename)
X = nitfread(filename,idx)
X = nitfread(...,'PixelRegion',{rows,cols})

Description

X = nitfread(filename) reads the first image from the National Imagery Transmission Format (NITF) file specified by the character array filename. The filename array must be in the current directory or in a directory on the MATLAB path, or it must contain the full path to the file.

X = nitfread(filename,idx) reads the image with index number idx from a NITF file that contains multiple images.

X = nitfread(...,'PixelRegion',{rows,cols}) reads a region of pixels from a NITF image. rows and cols are two or three element vectors, where the first value is the starting location, and the last value is the ending location. In the three value syntax, the second value is the increment.

This function supports version 2.0 and 2.1 NITF files, as well as NSIF 1.0. Compressed images, image submasks, and NITF 1.1 files are not supported.

See Also

isnitf, nitfinfo

  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

 © 1984-2009- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS