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 commentaires

"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
Dan le 6 Jan 2012
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.
Dan
Dan le 6 Jan 2012
Fair enough. Thanks for responding.

Connectez-vous pour commenter.

Réponses (1)

DGM
DGM le 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.

Question posée :

Dan
le 5 Jan 2012

Réponse apportée :

DGM
le 8 Oct 2024

Community Treasure Hunt

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

Start Hunting!

Translated by