Tuesday, April 24, 2012

JPEG VS JPEG 2000





What is JPEG?
  • Joint Photographic Experts Group (pronounced JAY-pehg).
  • An ISO/ITU standard for compressing still images
  • File extensions are .JPEG, .JFIF, .JPG, OR .JPE
  • Uses Discrete Cosine Transform (DCT) algorithm.
  • Lossy coding of continuous tone still images.
  • Very popular due to its variable compression range.
  • Best for compressing photographic images (compared to GIFs).
  • Mostly used for storing and transmitting photographs on the World Wide Web

Advantages of JPEG:
    • low complexity
    • memory efficient
    • reasonable coding efficiency
    • currently applicable for most applications
    • can be saved on a sliding resolution scale based on the quality desired

Disadvantages of JPEG:
    • not great for text - the text appears fuzzy, especially at low resolutions
    • lossy - some data or quality is lost when the image is compressed



What is JPEG 2000?
  • New format of JPEG formalised in December 2000.
  • File extensions : .jp2, .jpx, .jpf, .mj2
  • A revolutionary image compression standard based on wavelet technology and is replacing the old JPEG format.
  • Uses Discrete Wavelet Transform (DWT)
  • Scalable coding of continuous tone still images (from lossy to lossless).
  • Provides both lossless and lossy compression in a single compression architecture

Advantages of JPEG 2000:
    • Better image quality at the same file size
    • 25%–35% smaller file sizes at comparable image quality.
    • Good image quality even at very high compression ratios, over 80:1.
    • Lossless compression mode (identical to original image).

Disadvantages of JPEG 2000:
    • appropriate program or plugin is needed to view
    • more demanding in memory
    • consume higher computation time


JPEG VS JPEG 2000


JPEG
JPEG 2000
  • Created for natural imagery
  • Created for computer generated imagery
  • Discrete Cosine Transform (DCT) algorithm
  • Discrete Wavelet Transform (DWT) algorithm
  • File Extensions:
    • .jpeg
    • .jfif
    • .jpg
    • .jpe
  • File extention :
    • .jp2
    • .jpx
    • .jpf
    • .mj2
  • Currently applicable to most of  applications
  • Currently NOT widely used
Main Differences between JPEG and JPEG 2000