Read Tagged Record Extensions (TREs) from NITF files. This function aims to supplement MATLAB's nitfinfo function, at extracting metadata from NITF files. MATLAB's nitfinfo does not capture most of standard TRE metadata, but read_nitf_tre recognizes all extensions with standard TRE header. At the moment most are returned unparsed as a strings, except for BLOCKA, SENSRA, and AIMIDB extensions which are parsed. If you find this function useful, please write parsers for other extensions using provided framework, If you send them to me I will add them to this function with full attribution.
Corrections suggested by Mitch Mirkin to allow 5 letter cetags. Thanks
Create scripts with code, output, and formatted text in a single executable document.