Displaying NITFs containing JPEG2000 imagery
Show older comments
Hi,
I have a NITF file which contains JPEG2000 imagery. When attempting to read the image via "nitfread()" I receive an error regarding it not supporting compressed imagery (subheader compression type of 'C8').
I do see that "imread()" supports JPEG2000 files, however, so I'm curious if anyone has a workaround for this issue? Any plans on adding direct support for this in an upcoming release?
I'm running w/ MATLAB R2011b / Image Processing Toolbox 7.3.
Thanks in advance for any advice or suggestions.
-- Dan
4 Comments
Walter Roberson
on 5 Jan 2012
"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."
Dan
on 6 Jan 2012
Walter Roberson
on 6 Jan 2012
Only MathWorks Sales (and very high management) are authorized to speak about what will or will not be supported and in what timeframe.
I am not familiar with NITF files or how much work would be required to deal with compressed JPEG2000 files.
Dan
on 6 Jan 2012
Answers (1)
DGM
on 8 Oct 2024
0 votes
Try:
Given a filename, it will produce a JP2 tempfile in the current directory.
It may require some adjustment depending on the contents of the file and how you want to handle the output, but I don't have any files to test.
Categories
Find more on Import, Export, and Conversion in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!