isnitf

Check if file is National Imagery Transmission Format (NITF) file

Syntax

[tf, NITF_version] = isnitf(filename)

Description

[tf, NITF_version] = isnitf(filename) returns True (1) if the file specified by filename is a National Imagery Transmission Format (NITF) file, otherwise False (0). If the file is a NITF file, isnitf returns a text string identifying the NITF version in NITF_version, such as '2.1'. If the file is not a NITF file, NITF_version contains the text string 'UNK'.

See Also

|

Was this topic helpful?