Welcome to DigiForumz.com!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Jpeg vs Jpeg2000 vs HD Photo - Results

 
   Digital Camera Community (Home) -> General Discussions RSS
Next:  What's the better way to contact Chinese restaura..  
Author Message
Sachin Garg

External


Since: May 17, 2007
Posts: 37



(Msg. 1) Posted: Thu Feb 07, 2008 10:23 am
Post subject: Jpeg vs Jpeg2000 vs HD Photo - Results
Archived from groups: rec>photo>digital (more info?)

I finally published an image compression benchmark at

www.imagecompression.info

Thanks to everyone who helped with all the questions I have been
posting from time to time, their comments were more helpful than it
might have looked like.

To summarize, Jpeg2000 is much slower than hdphoto and jpeg, these
both have comparable speed. In quality tests, Jpeg 2000 is giving best
results, with hdphoto usually worse than old jpeg, but sometimes
better.

Do let me know if you have any questions or suggestions for improving
the site or would like to see anything else added to it, its a work in
progress. I plan to publish more results on various state of the art
lossy and lossless algorithms over time.

Thanks again.

Sachin Garg [India]
www.sachingarg.com | www.c10n.info

 >> Stay informed about: Jpeg vs Jpeg2000 vs HD Photo - Results 
Back to top
Login to vote
Sachin Garg

External


Since: May 17, 2007
Posts: 37



(Msg. 2) Posted: Thu Feb 07, 2008 12:14 pm
Post subject: Re: Jpeg vs Jpeg2000 vs HD Photo - Results [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Feb 8, 12:38 am, Sky46....RemoveThis@trline5.org wrote:
> Sachin Garg <schn....RemoveThis@gmail.com> wrote:
> >I finally published an image compression benchmark at
> > www.imagecompression.info
> >To summarize, Jpeg2000 is much slower than hdphoto and jpeg, these
> >both have comparable speed. In quality tests, Jpeg 2000 is giving best
> >results, with hdphoto usually worse than old jpeg, but sometimes
> >better.
>
> Would you say that Jpeg2000 provide an improvement that makes it worthwhile?

Its a tricky question to answer, depends on the type of image. On some
images the improvement is definitely worthwhile but this cannot be
said for all images.

Also Jpeg 2000 gives different types of artifacts, so it will also
depend on personal preference on what looks more visually appealing to
someone. My tests focus on loss of quality, not on visual appeal.

I assume everyone here must be familiar with jpeg artifacts (blocks
etc), for a sample of what Jpeg 2000 does, you can check this (top
image is lossless, bottom image gives severe "smoothing".)

http://upload.wikimedia.org/wikipedia/commons/7/78/JPEG_2000_Artifacts...monstra

> Also a license comparision might be useful. Such that open source 3rd party
> tools may thrive.
[]
> One also have to consider that the compression algortihms may be assisted by
> hardware solutions (asic/fpga).

Yep, these factors are important, sometimes more than
technicalities Smile

> Is your "bits-per-pixel" bits per color? ie 8 => 8bit-red 8bit-green 8bit-blue
> Otherwise the quality would be really low in tests.

The lossy tests cover the entire range from minimal-loss (eg, quality
level 100 for jpeg) to maximum-loss for each codec.

Some images (like artificial which has no noise) are just too
compressible while others (like deer) go upto more than 16 bits-per-
pixel.

> Good evaluation btw.

Thanks.

Sachin Garg [India]
www.sachingarg.com | www.c10n.info

 >> Stay informed about: Jpeg vs Jpeg2000 vs HD Photo - Results 
Back to top
Login to vote
Sachin Garg

External


Since: May 17, 2007
Posts: 37



(Msg. 3) Posted: Thu Feb 07, 2008 12:25 pm
Post subject: Re: Jpeg vs Jpeg2000 vs HD Photo - Results [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Feb 8, 1:20 am, Sky46... DeleteThis @trline5.org wrote:
> >> Is your "bits-per-pixel" bits per color? ie 8 => 8bit-red 8bit-green 8bit-blue
> >> Otherwise the quality would be really low in tests.
> >The lossy tests cover the entire range from minimal-loss (eg, quality
> >level 100 for jpeg) to maximum-loss for each codec.
> >Some images (like artificial which has no noise) are just too
> >compressible while others (like deer) go upto more than 16 bits-per-pixel.
>
> Ah.. so it's not source bits per pixel, but resulting bits/pixel in the
> compressed outout.

Yep, source bits-per-pixel is 24 (8+8+8 rgb).

Sachin Garg [India]
www.sachingarg.com | www.c10n.info
 >> Stay informed about: Jpeg vs Jpeg2000 vs HD Photo - Results 
Back to top
Login to vote
Sachin Garg

External


Since: May 17, 2007
Posts: 37



(Msg. 4) Posted: Thu Feb 07, 2008 1:57 pm
Post subject: Re: Jpeg vs Jpeg2000 vs HD Photo - Results [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Feb 8, 2:27 am, Alfred Molon <alfred_mo... DeleteThis @yahoo.com> wrote:
> A test I saw years ago showed that at low compression ratios, typical
> for digital photography (1:10 or better) JPEG was at least as good as
> JPEG2000 if not even better.
>
> Here is one such test (not the one I referred to above):http://kt.ijs.si/aleks/jpeg/artifacts.htm
>
> "... At higher bit rates (3.0 bits/pixel), there are no visible
> differences between JPEG and JPEG2000 ...".

Yep, that is correct. Difference is less at high bit-rates.

This can be seen in the charts too, the plotted lines tend to get
closer at higher bit-rates. Not for all images, but most of them.

Sachin Garg [India]
www.sachingarg.com | www.c10n.info
 >> Stay informed about: Jpeg vs Jpeg2000 vs HD Photo - Results 
Back to top
Login to vote
Sky465nm

External


Since: Feb 07, 2008
Posts: 3



(Msg. 5) Posted: Thu Feb 07, 2008 8:38 pm
Post subject: Re: Jpeg vs Jpeg2000 vs HD Photo - Results [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Sachin Garg <schngrg.RemoveThis@gmail.com> wrote:
>I finally published an image compression benchmark at
> www.imagecompression.info

>To summarize, Jpeg2000 is much slower than hdphoto and jpeg, these
>both have comparable speed. In quality tests, Jpeg 2000 is giving best
>results, with hdphoto usually worse than old jpeg, but sometimes
>better.

Would you say that Jpeg2000 provide an improvement that makes it worthwhile?

Also a license comparision might be useful. Such that open source 3rd party
tools may thrive.

"However, the JPEG committee has also noted that undeclared and obscure
submarine patents may still present a hazard:

It is of course still possible that other organizations or individuals may
claim intellectual property rights that affect implementation of the
standard, and any implementers are urged to carry out their own searches and
investigations in this area."

One also have to consider that the compression algortihms may be assisted by
hardware solutions (asic/fpga).

>Do let me know if you have any questions or suggestions for improving
>the site or would like to see anything else added to it, its a work in
>progress. I plan to publish more results on various state of the art
>lossy and lossless algorithms over time.

Is your "bits-per-pixel" bits per color? ie 8 => 8bit-red 8bit-green 8bit-blue
Otherwise the quality would be really low in tests.

Good evaluation btw.
 >> Stay informed about: Jpeg vs Jpeg2000 vs HD Photo - Results 
Back to top
Login to vote
Sky465nm

External


Since: Feb 07, 2008
Posts: 3



(Msg. 6) Posted: Thu Feb 07, 2008 9:20 pm
Post subject: Re: Jpeg vs Jpeg2000 vs HD Photo - Results [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

>> Is your "bits-per-pixel" bits per color? ie 8 => 8bit-red 8bit-green 8bit-blue
>> Otherwise the quality would be really low in tests.

>The lossy tests cover the entire range from minimal-loss (eg, quality
>level 100 for jpeg) to maximum-loss for each codec.

>Some images (like artificial which has no noise) are just too
>compressible while others (like deer) go upto more than 16 bits-per-pixel.

Ah.. so it's not source bits per pixel, but resulting bits/pixel in the
compressed outout.
 >> Stay informed about: Jpeg vs Jpeg2000 vs HD Photo - Results 
Back to top
Login to vote
Alfred Molon

External


Since: Nov 05, 2007
Posts: 238



(Msg. 7) Posted: Thu Feb 07, 2008 10:27 pm
Post subject: Re: Jpeg vs Jpeg2000 vs HD Photo - Results [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

A test I saw years ago showed that at low compression ratios, typical
for digital photography (1:10 or better) JPEG was at least as good as
JPEG2000 if not even better.

Here is one such test (not the one I referred to above):
http://kt.ijs.si/aleks/jpeg/artifacts.htm

"... At higher bit rates (3.0 bits/pixel), there are no visible
differences between JPEG and JPEG2000 ...".
--

Alfred Molon
------------------------------
Olympus 50X0, 8080, E3X0, E4X0, E5X0 and E3 forum at
http://tech.groups.yahoo.com/group/MyOlympus/
http://myolympus.org/ photo sharing site
 >> Stay informed about: Jpeg vs Jpeg2000 vs HD Photo - Results 
Back to top
Login to vote
Thomas Richter

External


Since: Nov 27, 2007
Posts: 7



(Msg. 8) Posted: Sat Feb 09, 2008 3:36 pm
Post subject: Re: Jpeg vs Jpeg2000 vs HD Photo - Results [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Sky465nm RemoveThis @trline5.org wrote:
> Sachin Garg <schngrg RemoveThis @gmail.com> wrote:
>> I finally published an image compression benchmark at
>> www.imagecompression.info
>
>> To summarize, Jpeg2000 is much slower than hdphoto and jpeg, these
>> both have comparable speed. In quality tests, Jpeg 2000 is giving best
>> results, with hdphoto usually worse than old jpeg, but sometimes
>> better.
>
> Would you say that Jpeg2000 provide an improvement that makes it worthwhile?

That really depends. On the image, and on the codec used. Concerning the
code, one can *definitely* do better than most "free" codes available.
Most implementations I've seen make the error of optimizing for the mean
square error (i.e. making the average pixel intensity difference
minimal), but this correlates bad to human vision, and the "traditional"
JPEG keeps care for this; you get some kind of "apples vs. oranges"
comparison then. Free JPEG2000 implementations (the JJ, the Jasper)
don't. Thus, "you get what you pay for".

Concerning the image dependency, JPEG2000 works pretty well on large
images, and on "smooth" images, water, surfaces, sky. It has problems
(at least the PSNR-optimized versions) on structures or textures, i.e.
fabric, grass, the canvas of paintings where I personally consider it to
perform worse than traditional JPEG.

That said, the "true" advantage of JPEG2000 is really the number of
features you get, not the advance in compression performance, i.e.
support for >8bpp, beyond 12bpp JPEG can handle, more components, more
color spaces, a browsing protocol (JPIP) etc, etc.

> Also a license comparision might be useful. Such that open source 3rd party
> tools may thrive.
>
> "However, the JPEG committee has also noted that undeclared and obscure
> submarine patents may still present a hazard:
>
> It is of course still possible that other organizations or individuals may
> claim intellectual property rights that affect implementation of the
> standard, and any implementers are urged to carry out their own searches and
> investigations in this area."

Unfortunately. And unfortunately, that goes to any non-trivial
technology. Even old JPEG isn't immune (see the trouble with the
compression labs patent on the VLC in JPEG).

> One also have to consider that the compression algortihms may be assisted by
> hardware solutions (asic/fpga).

There are hardware versions available for both formats, actually. For
JPEG since a long time now, for JPEG2000 for example by Analog Devices.

So long,
Thomas
 >> Stay informed about: Jpeg vs Jpeg2000 vs HD Photo - Results 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Photo Contest 21 Results - Hi Guys: Just a quick word to let you know that the results for Photo Contest 21 have been posted. There are some wonderful images. Please take a look. The theme for Contest 22 is "Shadows." Blair www.blairhoward.com/contests.html

digital photo formats Raw, Jpeg, and Tif - Hi I am thinking of buying a canon G6 camera and was wondering about the different photo formats and in what kind of situations you would use each. I was reading about White balance do you set that for each photo. Thanks Cathy

NEWS: HD Photo to become JPEG XR - <http://www.news.com/8301-13580_3-9810024-39.html> A new attempt to provide a higher-end sequel to the ubiquitous JPEG image standard is officially under way. The multiple countries participating in the Joint Photographic Experts Grou...

Exif Metadata in JPEG2000: Request for Comments - Hi newsgroup, dear readers. The purpose of this post is to collect some impression on the needs of users and possible solutions. I'm looking for opinions on this from people with practical experience in the field and try to collect some advice. ..

Curious results from camera test. - I have an "OlympusE500 digital" with a wideangle Zuiko lens connected. I put the camera on a tripod and set it in one fixed direction on an overcast day, and set the jpeg to 5Mb/photo. I was testing 3 combined properties: Fstop, (From f4...
   Digital Camera Community (Home) -> General Discussions All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]