Re: rududu image codec
- From: Thomas Richter <thor@xxxxxxxxxxxxxxxxx>
- Date: Mon, 07 Apr 2008 21:30:56 +0200
Nicolas wrote:
Thomas Richter a écrit :What is your definition of "bit stream"? Otherwise, it is easy to setup a context forSure you can output uncompressed bits through arithmetic coder, but your bits are slow to output, slower than just a shift (as without an arithmetic coder). And interrupting an arithmetic coder has an overhead which is not acceptable if you do it every few ( <16 ) coded symbol.
the entropy coding that does not compress at all, or otherwise interrupt the entropy
coding and continue it from that point on later. This technique is used in J2K.
It has a complexity overhead, not a rate overhead. Besides, a reasonable MQ coder implementation is *very* fast (one addition, one comparison in the common coding path). That said, it doesn't mean your approach is bad.
Look into J2K, it uses context modeling from nearest neighbours to compress the sign bit.I know that, but from my point of view it's not "simple enough" (too much operation / coefficient). Maybe I'll implement it, but I doubt the compression gain will be enough to justify the CPU time (always according to my goal).
In some case or another, you need to check "related" samples for a context model of the sign bit. If you don't want to invest for this complexity, don't expect a gain. (-:
Have you made perceptual measurements of the quality? If not, I can make the ms-ssim measurementYou already sent me the mssim source code, and I thank you for that. But I have not made perceptual measurement because current optimizations are made for psnr, and developing for psnr is easier. I'm planning to implement perceptually driven quantization and I'll switch to ssim at this point.
tool available that is currently used by the JPEG to evaluate HDPhoto aka JPEG-XR. PSNR doesn't have
to say much.
That said, we will continue to go check for good metrics at the JPEG. SSIM is not the last word on this. All I'm saying at this time: Check whether you can adjust your code to other metrics.
How about scalibility/flexibility?As I said here and in the web site, there is no quality scalability (for speed reason and lack of use for video compression), only resolution scalability (as it's a wavelet codec). I'll also implement adaptive quantization, so perceptual quantization / ROI will be possible.
How about complexity? Can you give estimates how fast is it compared to JPEG/JPEG-XR/JPEG2000?Current implementation (plain C++) is about as fast as imagemagick's convert utility when converting to/from JPEG. And the wavelet transform uses about half the time.
Sounds fine to me. Can this be partially fit into some kind of "low-complexity" J2K? For that, we would want to keep the codeblock structure of J2K, just replace the EBCOT coder by something simpler.
Note that this requires that there are no inter-band decorrelation processes (unlike what happens in the EZW or SPIHT).
So long,
Thomas
.
- Follow-Ups:
- Re: rududu image codec
- From: Nicolas
- Re: rududu image codec
- References:
- rududu image codec
- From: Nicolas
- Re: rududu image codec
- From: Thomas Richter
- Re: rududu image codec
- From: Nicolas
- rududu image codec
- Prev by Date: Third CEU Summerschool on Advanced Statistics and Data Mining (June 30th-July 11th, 2008)
- Next by Date: Re: rududu image codec
- Previous by thread: Re: rududu image codec
- Next by thread: Re: rududu image codec
- Index(es):
Relevant Pages
|
|