Re: Enumerating j2k codestream boxes
- From: Thomas Richter <thor@xxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: 18 Dec 2006 14:02:29 GMT
Arash Partow <partow@xxxxxxxxx> wrote:
Hi all,
I'm trying to write an ECC scheme for jpeg2000 using RS. I've been
led to believe that the data is stored in structures known as boxes
in the j2k codestream.
No, I afraid this is wrong. A JP2 *file* contains boxes, and one of
the boxes (for part-1, otherwise several) contain(s) a codestream,
and the codestream itself consists of markers. Thus the question would
be what you really need. Boxes (meta-data) or markers (image data).
I was hoping if anyone could direct me to an open source library
preferably C\C++ that has support for accessing boxes (reading their
content), and inserting boxes into the codestream.
Nothing I would know about off-hands, but if you really mean the
box-structure, then this is actually easy. Boxes consist of a four
byte length (or an eight-byte length indicator) and a four byte type ID.
It's really pretty easy and parsing this structure by a program requires
probably one hour of work.
So long,
Thomas
.
- References:
- Enumerating j2k codestream boxes
- From: Arash Partow
- Enumerating j2k codestream boxes
- Prev by Date: Re: Huffman and LZ or LZW coding
- Next by Date: Re: Help to convert ADPCM 4:1 compression program to 5:1 compression program
- Previous by thread: Enumerating j2k codestream boxes
- Next by thread: OpenDark project
- Index(es):