For Programmers: Free Programming Magazines  


Home > Archive > Compression > September 2004 > JPEG2000 progression order question.









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author JPEG2000 progression order question.
Pete Fraser

2004-09-08, 8:55 pm

I've been staring at the standard till I'm crosseyed.

I have three distinct j2c codestreams (Y, U and V) that I want
to multiplex into one codestream. If I am happy with a CXXX
progression order, can I just concatenate the codestreams between
the SOD and EOC markers, and change the main and tile
headers in the obvious way, or is it more complicated then
that?


I have control over the progression style, PPT, PLT, SOP and EPH
of the input codestreams, and don't much care about the output,
as long as it's compliant.

Thanks.



Pete Fraser

2004-09-09, 3:55 am


"Pete Fraser" <pete@rgb.com> wrote in message
news:10juq92hf2dbdfe@news.supernews.com...
> I've been staring at the standard till I'm crosseyed.
>


I think I answered my own question.
I just tried it, and it seemed to work OK.


Thomas Richter

2004-09-09, 8:55 am

Hi,

> I have three distinct j2c codestreams (Y, U and V) that I want
> to multiplex into one codestream. If I am happy with a CXXX
> progression order, can I just concatenate the codestreams between
> the SOD and EOC markers, and change the main and tile
> headers in the obvious way, or is it more complicated then
> that?


Depends on what's else in the codestream.

> I have control over the progression style, PPT, PLT, SOP and EPH
> of the input codestreams, and don't much care about the output,
> as long as it's compliant.


In case of tiles had been used, you need to interleave the data
within each tile, and in case SOP has been used, you need to
renumber the SOP markers. Then, in case progression is setup with
color as slowest variable, you can just concatenate the data between
SOD/SOT resp. SOD/EOC indeed.

Obvious side conditions are of course that all three codestreams share
the same layout, i.e. tile size, code block size, precinct size,
canvas offset, wavelet type.

So long,
Thomas



Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com