This is machine translation

Translated by Microsoft
Mouse over text to see original. Click the button below to return to the English verison of the page.


Read image from NITF file


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


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


Introduced in R2007b

Was this topic helpful?