Is it possible to access the headers and packet information from the JPEG 2000 compressed format?

3 次查看(过去 30 天)
The JPEG 2000 COMPRESSION coding standard stores the compressed stream and stores data of packets, tiles and header information. Is it possible to access the information from the JPEG 2000 compressed file through imwrite or file read?

回答(1 个)

Dimitris Iliou
Dimitris Iliou 2017-6-15
If you want to access information related to an image, you could use the imfinfo function. You can find more details in the following documentation page:
I do not think that you could use imwrite. You could possibly use fopen and fread, and this will get you a stream of bytes for the image. Then you can use the JPEG standard to find the specific headers you are looking for.

标签

Community Treasure Hunt

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

Start Hunting!

Translated by