Displaying NITFs containing JPEG2000 imagery

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

"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."
Thanks for your comment.
Yes, I understand that compressed images are not supported and noticed the same thing in the documentation that you quoted. I was just wondering if anyone had any workarounds since "imread()" can handle JPEG2000.
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.
Fair enough. Thanks for responding.

Sign in to comment.

Answers (1)

DGM
DGM on 8 Oct 2024
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.

Asked:

Dan
on 5 Jan 2012

Answered:

DGM
on 8 Oct 2024

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!