JPEG 2000

JPEG 2000

Infobox file format
name = JPEG 2000


caption = Comparison of JPEG 2000 with the original JPEG format.
extension = .jp2, .j2k
mime = image/jp2
owner = Joint Photographic Experts Group
creatorcode = jp2
genre = graphics file format
containerfor =
containedby =
extendedfrom =
extendedto =

JPEG 2000 is a wavelet-based image compression standard. It was created by the Joint Photographic Experts Group committee in the year 2000 with the intention of superseding their original discrete cosine transform-based JPEG standard (created about 1991). The standardized filename extension is .jp2 for ISO/IEC 15444-1 conforming files and .jpx for the extended part-2 specifications, published as ISO/IEC 15444-2, while the MIME type is image/jp2.

JPEG 2000 requires far greater decompression time than JPEG and allows more sophisticated progressive downloads, yet averages similar compression rates. JPEG 2000 becomes increasingly blurred with higher compression ratios rather than generating JPEG's "blocking and ringing" artifacts, complicating direct comparison of their respective compression rates.

Part of JPEG 2000 has been published as an ISO standard, ISO/IEC 15444-1:2000. As of 2008, JPEG 2000 is not widely supported in web browsers, and hence is not generally used on the World Wide Web.

For traditional JPEG, additional meta-data, e.g. lighting and exposure conditions, is kept in an application marker in the Exif format specified by the JEITA. JPEG2000 chooses a different route, encoding the same meta data in XML form. The reference between the Exif tags and the XML elements is standardized by the ISO TC42 committee in the standard 12234-1.4.

Features

* "Superior compression performance": At high bit rates, where artifacts become nearly imperceptible, JPEG 2000 has a small machine-measured fidelity advantage over JPEG. At lower bit rates (e.g., less than 0.25 bits/pixel for gray-scale images), JPEG 2000 has a much more significant advantage over certain modes of JPEG: artifacts are less visible and there is almost no blocking. The compression gains over JPEG are attributed to the use of DWT and a more sophisticated entropy encoding scheme.

* "Multiple resolution representation": JPEG2000 decomposes the image into a multiple resolution representation in the course of its compression process. This representation can be put to use for other image presentation purposes beyond compression as such.

* "Progressive transmission" by pixel and resolution accuracy, commonly referred to as progressive decoding and signal-to-noise ratio (SNR) scalability: JPEG2000 provides efficient code-stream organizations which are progressive by pixel accuracy and by image resolution (or by image size). This way, after a smaller part of the whole file has been received, the viewer can see a lower quality version of the final picture. The quality then improves progressively through downloading more data bits from the source. The 1991 JPEG standard also has a progressive transmission feature but it's rarely used.

* "Lossless and lossy compression": Like JPEG 1991, [ [http://www.cis.temple.edu/~vasilis/Courses/CIS750/Papers/doc_jpeg_c_5.pdf The JPEG Still Picture Compression Standard] pp.6-7] the JPEG2000 standard provides both lossless and lossy compression in a single compression architecture. Lossless compression is provided by the use of a reversible integer wavelet transform in JPEG 2000.

* "Random code-stream access and processing", also referred as Region Of Interest (ROI): JPEG2000 code streams offer several mechanisms to support spatial random access or region of interest access at varying degrees of granularity. This way it is possible to store different parts of the same picture using different quality.

* "Error resilience": Like JPEG 1991, JPEG2000 is robust to bit errors introduced by noisy communication channels, due to the coding of data in relatively small independent blocks.

* "Flexible file format": The JP2 and JPX file formats allow for handling of color-space information, metadata, and for interactivity in networked applications as developed in the JPEG Part 9 JPIP protocol.

* "Side channel spatial information": it fully supports transparency and alpha planes.

More advantages associated with JPEG 2000 can be referred to from the [http://www.jpeg.org/JPEG2000.htm Official JPEG 2000 page] .

Technical discussion

The aim of JPEG 2000 is not only improved compression performance over JPEG but also adding (or improving) features such as scalability and editability. In fact, JPEG 2000's improvement in compression performance relative to the original JPEG standard is actually rather modest and should not ordinarily be the primary consideration for evaluating the design. Very low and very high compression rates are supported in JPEG 2000. In fact, the graceful ability of the design to handle a very large range of effective bit rates is one of the strengths of JPEG 2000. For example, to reduce the number of bits for a picture below a certain amount, the advisable thing to do with the first JPEG standard is to reduce the resolution of the input image before encoding it. That's unnecessary when using JPEG 2000, because JPEG 2000 already does this automatically through its multiresolution decomposition structure. The following sections describe the algorithm of JPEG 2000.

Color components transformation

Initially, images have to be transformed from the RGB color space to another color space, leading to three "components" that are handled separately. There are two possible choices:
# Irreversible Color Transform (ICT) uses the well known YCBCR color space. It is called "irreversible" because it has to be implemented in floating or fix-point and causes round-off errors.
# Reversible Color Transform (RCT) uses a modified YUV color space that does not introduce quantization errors, so it is fully reversible. Proper implementation of the RCT requires that numbers are rounded as specified that cannot be expressed exactly in matrix form. The transformation is::Y_r = leftlfloor frac{R+2G+B}{4} ight floor ;C_b = B - G ;C_r = R - G ; qquad qquadG = Y - leftlfloor frac{C_b + C_r}{4} ight floor ;R = C_r + G ;B = C_b + G.

The chrominance components can be, but do not necessarily have to be, down-scaled in resolution; in fact, since the wavelet transformation already separates images into scales, downsampling is more effectively handled by dropping the finest wavelet scale. This step is called "multiple component transformation" in the JPEG 2000 language since its usage is not restricted to the RGB color model.

Tiling

After color transformation, the image is split into so-called "tiles", rectangular regions of the image that are transformed and encoded separately. Tiles can be any size, and it is also possible to consider the whole image as one single tile. Once the size is chosen, all the tiles will have the same size (except optionally those on the right and bottom borders). Dividing the image into tiles is advantageous in that the decoder will need less memory to decode the image and it can opt to decode only selected tiles to achieve a partial decoding of the image. The disadvantage of this approach is that the quality of the picture decreases due to a lower peak signal-to-noise ratio. Using many tiles can create a blocking effect similar to the older JPEG 1992 standard.

Wavelet transform

These tiles are then wavelet transformed to an arbitrary depth, in contrast to JPEG 1992 which uses an 8×8 block-size discrete cosine transform. JPEG 2000 uses two different wavelet transforms:
#"irreversible": the CDF 9/7 wavelet transform. It is said to be "irreversible" because it introduces quantization noise that depends on the precision of the decoder.
#"reversible": a rounded version of the biorthogonal CDF 5/3 wavelet transform. It uses only integer coefficients, so the output does not require rounding (quantization) and so it does not introduce any quantization noise. It is used in lossless coding.The wavelet transforms are implemented by the lifting scheme or by convolution.

Quantization

After the wavelet transform, the coefficients are scalar-quantized to reduce the amount of bits to represent them, at the expense of a loss of quality. The output is a set of integer numbers which have to be encoded bit-by-bit. The parameter that can be changed to set the final quality is the quantization step: the greater the step, the greater is the compression and the loss of quality. With a quantization step that equals 1, no quantization is performed (it is used in lossless compression).

Coding

The result of the previous process is a collection of "sub-bands" which represent several approximation scales.A sub-band is a set of "coefficients" — real numbers which represent aspects of the image associated with a certain frequency range as well as a spatial area of the image.

The quantized sub-bands are split further into "precincts", rectangular regions in the wavelet domain. They are typically selected in a way that the coefficients within them across the sub-bands form approximately spatial blocks in the (reconstructed) image domain, though this is not a requirement.

Precincts are split further into "code blocks".Code blocks are located in a single sub-band and have equal sizes — except those located at the edges of the image.The encoder has to encode the bits of all quantized coefficients of a code block, starting with the most significant bits and progressing to less significant bits by a process called the "EBCOT" scheme. "EBCOT" here stands for "Embedded Block Coding with Optimal Truncation". In this encoding process, each bit plane of the code block gets encoded in three so-called "coding passes", first encoding bits (and signs) of insignificant coefficients with significant neighbors (i.e., with 1-bits in higher bit planes), then refinement bits of significant coefficients and finally coefficients without significant neighbors. The three passes are called "Significance Propagation", "Magnitude Refinement" and "Cleanup" pass, respectively.

Clearly, in lossless mode all bit planes have to be encoded by the EBCOT, and no bit planes can be dropped.

The bits selected by these coding passes then get encoded by a context-driven binary arithmetic coder, namely the binary MQ-coder. The context of a coefficient is formed by the state of its nine neighbors in the code block.

The result is a bit-stream that is split into "packets" where a "packet" groups selected passes of all code blocks from a precinct into one indivisible unit. Packets are the key to quality scalability (i.e., packets containing less significant bits can be discarded to achieve lower bit rates and higher distortion).

Packets from all sub-bands are then collected in so-called "layers".The way the packets are built up from the code-block coding passes, and thus which packets a layer will contain, is not defined by the JPEG 2000 standard, but in general a codec will try to build layers in such a way that the image quality will increase monotonically with each layer, and the image distortion will shrink from layer to layer. Thus, layers define the progression by image quality within the code stream.

The problem is now to find the optimal packet length for all code blocks which minimizes the overall distortion in a way that the generated target bitrate equals the demanded bit rate.

While the standard does not define a procedure as to how to perform this form of rate–distortion optimization, the general outline is given in one of its many appendices: For each bit encoded by the EBCOT coder, the improvement in image quality, defined as mean square error, gets measured; this can be implemented by an easy table-lookup algorithm. Furthermore, the length of the resulting code stream gets measured. This forms for each code block a graph in the rate–distortion plane, giving image quality over bitstream length. The optimal selection for the truncation points, thus for the packet-build-up points is then given by defining critical "slopes" of these curves, and picking all those coding passes whose curve in the rate–distortion graph is steeper than the given critical slope. This method can be seen as a special application of the method of "Lagrange multiplier" which is used for optimization problems under constraints. The Lagrange multiplier, typically denoted by λ, turns out to be the critical slope, the constraint is the demanded target bitrate, and the value to optimize is the overall distortion.

Packets can be reordered almost arbitrarily in the JPEG 2000 bit-stream; this gives the encoder as well as image servers a high degree of freedom.

Already encoded images can be sent over networks with arbitrary bit rates by using a layer-progressive encoding order.On the other hand, color components can be moved back in the bit-stream; lower resolutions (corresponding to low-frequency sub-bands) could be sent first for image previewing.Finally, spatial browsing of large images is possible through appropriate tile and/or partition selection.All these operations do not require any re-encoding but only byte-wise copy operations.

Performance

JPEG 2000 gains up to about 20% compression performance for medium compression rates in comparison to the first JPEG standard.For lower or higher compression rates, the improvement can be somewhat greater (especially if altering the input resolution to the codec is not considered as a technique for effective use of the older JPEG standard). Good applications for JPEG 2000 are large images, images with low-contrast edges — e.g., medical images.

It has, however, notably higher computational and memory demands.

File format and code stream

Similar to JPEG-1, JPEG2000 defines both a file format and a code stream. Whereas the latter entirely describes the image samples, the former includes additional meta-information as the resolution of the image or the color space that has been used to encode the image. JPEG2000 images should — if stored as files — be boxed in the JPEG2000 file format, where they get the .jp2 extender. The part-2 extension to JPEG2000, i.e., ISO/IEC 15444-2, also enriches this file format by including mechanisms for animation or composition of several code streams into one single image. Images in this extended file-format use the .jpx extension.

There is no standardized extension for code-stream data because code-stream data is not to be considered to be stored in files in first place, though when done for testing purposes, the extension .jpc or .j2k appear frequently.

Applications of JPEG 2000

The markets and applications better served by this standard are listed below:
* Consumer applications such as multimedia devices (e.g., digital cameras, personal digital assistants, 3G mobile phones, color facsimile, printers, scanners, etc.)
* Client/server communication (e.g., the Internet, Image database, Video streaming, video server, etc.)
* Military/surveillance (e.g., HD satellite images, Motion detection, network distribution and storage, etc.)
* Medical imagery, esp. the DICOM specifications for medical data interchange.
* Remote sensing
* High-quality frame-based video recording, editing and storage.
* Digital cinema
* JPEG 2000 has many design commonalities with the ICER image compression format that is used to send images back from the Mars rovers.
* World Meteorological Organization has built JPEG 2000 Compression into the new GRIB2 file format. The GRIB file structure is designed for global distribution of meteorological data. The implementation of JPEG 2000 compression in GRIB2 has reduced file sizes up to 80%. [ [http://www.cpc.ncep.noaa.gov/products/wesley/wgrib2/ wgrib2 home page] ]

Comparison with PNG

Although JPEG 2000 format supports lossless encoding, it is not intended to completely supersede today's dominant lossless image file formats.

The PNG (Portable Network Graphics) format is still more space-efficient in the case of images with many pixels of the same color, and supports special compression features that JPEG 2000 does not.

It can be expected that PNG will be more heavily used for compressing diagram-type images and JPEG 2000 for photograph-type images, assuming no further changes to either standard.

Legal issues

JPEG 2000 is by itself licensed, but the contributing companies and organizations agreed that licenses for its first part — the core coding system — can be obtained free of charge from all contributors.

The JPEG committee has stated:

:It has always been a strong goal of the JPEG committee that its standards should be implementable in their baseline form without payment of royalty and license fees… The up and coming JPEG 2000 standard has been prepared along these lines, and agreement reached with over 20 large organizations holding many patents in this area to allow use of their intellectual property in connection with the standard without payment of license fees or royalties. [ [http://www.jpeg.org/newsrel1.html JPEG 2000 Concerning recent patent claims] ]

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. [ [http://www.jpeg.org/jpeg2000/CDs15444.html JPEG 2000 Committee Drafts] ]

Because of this statement, controversy remains in the software community concerning the legal status of the JPEG2000 standard.

JPEG 2000 is included in most Linux distributions. JPEG 2000 (see packages JasPer or OpenJPEG) is even part of the Debian GNU/Linux distribution. It complies with the Debian Free Software Guidelines.

Related standards

Several additional parts of the JPEG 2000 standard exist;Amongst them are ISO/IEC 15444-2:2000, JPEG 2000 extensions defining the .jpx file format, featuring for example Trellis quantization, an extended file format and additional color spaces, ISO/IEC 15444-4:2000, the reference testing and ISO/IEC 15444-6:2000, the compound image file format, allowing compression of compound text/image graphics.

Extensions for secure image transfer, "JPSEC", enhanced error-correction schemes for wireless applications, "JPWL", are also already available from the ISO, and extensions for encoding of volumetric images, "JP3D" are under discussion.

JPIP protocol

In 2005, a JPEG2000 based image browsing protocol, called JPIP has been published as ISO/IEC 15444-9. Within this framework, only selected regions of potentially huge images have to be transmitted from an image server on the request of a client, thus reducing the required bandwidth.

Motion JPEG 2000

Motion JPEG 2000 (often referenced as MJ2 or MJP2) is the leading digital cinema standard currently supported by Digital Cinema Initiatives (a consortium of most major studios and vendors) for the storage, distribution and exhibition of motion pictures. It also is under consideration as a digital archival format by the Library of Congress. It is an open ISO standard and an advanced update to MJPEG (or MJ), which was based on the legacy JPEG format. Unlike common video codecs, such as MPEG-4, WMV, and DivX, MJ2 does not employ temporal or inter-frame compression. Instead, each frame is an independent entity encoded by either a lossy or lossless variant of JPEG 2000. Its physical structure does not depend on time ordering, but it does employ a separate profile to complement the data. For audio, it supports LPCM encoding, as well as various MPEG-4 variants, as "raw" or complement data. [ [http://www.jpeg.org/jpeg2000/j2kpart3.html Motion JPEG 2000 (Part 3)] ] [ [http://www.digitalpreservation.gov/formats/fdd/fdd000127.shtml Motion JPEG 2000 mj2 File Format] . Sustainability of Digital Formats Planning for Library of Congress Collections.]

Application support

* basic and advanced support refer to conformance with, respectively, Part1 and Part2 of the JPEG 2000 Standard.
* IrfanView's official plug-in package supports reading of .jp2 files but writing is quite limited until plug-in is purchased separately.
* Adobe Photoshop CS2 and CS3's official JPEG2000 plug-in package is not installed by default and must be manually copied from the install disk/folder to the Plug-Ins > File Formats folder.
* not merged to main repository, only in soc repository [http://svn.mplayerhq.hu/soc/jpeg2000/]

ee also

* Comparison of graphics file formats
* J2K-Codec — A commercial JPEG2000 decoder that is designed to be easy to use.
* ECW — a wavelet compression format that compares well to JPEG 2000.
* QuickTime — a multimedia framework, application and web browser plugin developed by Apple, capable of encoding, decoding and playing various multimedia files (including JPEG2000 images by default).
* MrSID — a wavelet compression format that compares well to JPEG 2000
* PGF — a fast wavelet compression format that compares well to JPEG 2000
* Ziproxy — A HTTP proxy which supports image recompression to/from JPEG 2000

Notes

References

* [http://www.jpeg.org/JPEG2000.htm Official JPEG 2000 page]
* [http://www.jpeg.org/jpeg2000/CDs15444.html Final Committee Drafts of JPEG 2000 standard] (as the official JPEG 2000 standard is not freely available, the final drafts are the most accurate freely available documentation about this standard)
* [http://www.crc.ricoh.com/~gormish/jpeg2000.html Gormish Notes on JPEG 2000]
* [http://www.rii.ricoh.com/%7Egormish/pdf/dcc2000_jpeg2000_note.pdf Technical overview of JPEG 2000] (PDF)
* [http://www.kom.auc.dk/~myap04/pjts/master.pdf Efficient HW/SW Implementation of JPEG2000] (PDF)
* [http://www.intopix.com/pdf/JPEG%202000%20Handbook.pdf Everything you always wanted to know about JPEG 2000 ] (PDF)

External links

* [http://www.jpeg.org/JPEG2000.htm Official JPEG 2000 website]
* [http://www.watermarkingworld.com/books_list?k=Jpeg2000 All published books about JPEG 2000]

;JPEG 2000 comparisons:
* [http://www.fnordware.com/j2k/jp2samples.html Side-by side comparison of appearance of 16k JPEG and JPEG 2000 files]
* [http://kt.ijs.si/aleks/jpeg/artifacts.htm JPEG and JPEG 2000 Artifacts]


Wikimedia Foundation. 2010.

Игры ⚽ Нужен реферат?

Look at other dictionaries:

  • JPEG-2000 — ist ein Standard (ISO 15444) zur Bildkomprimierung, der auf der diskreten Wavelet Transformation (DWT) beruht. Wie das bekannte JPEG ist er von der Joint Photographic Experts Group herausgegeben. JPEG 2000 beherrscht sowohl verlustfreie als auch… …   Deutsch Wikipedia

  • Jpeg 2000 — Comparaison du JPEG 2000 avec d autres formats JPEG 2000 ou ISO/CEI 15444 1 est une norme commune à l’ISO, la CEI et l’UIT T. C’est une norme de compression d’images produite par le groupe de travail Joint Photographic Experts Group. JPEG 2000… …   Wikipédia en Français

  • JPEG 2000 — JPEG 2000,   im Jahr 2000 vorgestelltes komprimiertes Grafikformat (Komprimierung), das auf JPEG beruht und zu diesem Format abwärts kompatibel ist. Dadurch können Anwendungen, die JPEG 2000 unterstützen, JPEG komprimierte Dateien lesen, aber nur …   Universal-Lexikon

  • JPEG 2000 — es una norma de compresión de imágenes basada en la transformada discreta de wavelet. Fue creada por el comité Joint Photographic Experts Group que anteriormente había creado el algoritmo JPEG. Su objetivo fue el de mejorar el algoritmo JPEG,… …   Enciclopedia Universal

  • JPEG -2000 — JPEG 2000: Стандарт JPEG, предусматривающий использование дискретного вейвлет преобразования. Источник: ГОСТ Р 52210 2004: Телевидение вещательное цифровое. Термины и определения оригинал документа …   Словарь-справочник терминов нормативно-технической документации

  • JPEG 2000 — Demostración de arriba hacia abajo de la compresión JPEG 2000. Los números indican la relación de compresión utilizada. JPEG 2000 es un estándar de compresión y codificación digital de imágenes. Fue creado por el Joint Photographic Experts Group… …   Wikipedia Español

  • JPEG 2000 — Vorlage:Infobox Dateiformat/Wartung/MagischeZahl fehltVorlage:Infobox Dateiformat/Wartung/Website fehlt JPEG 2000 Dateiendung …   Deutsch Wikipedia

  • JPEG 2000 — JPEG2000 Расширение .jp2, .j2k, .jpf, .jpx, .jpm, .mj2 MIME image/jp2, image/jpx, image/jpm, video/mj2 Разработан Joint Photographic Experts Group Тип формата Графический формат Стандарт(ы) …   Википедия

  • JPEG 2000 — Comparaison du JPEG 2000 avec d autres formats JPEG 2000 ou ISO/CEI 15444 1 est une norme commune à l’ISO, la CEI et l’UIT T. C’est une norme de compression d’images produite par le groupe de travail Joint Photographic Experts Group. JPEG 2000… …   Wikipédia en Français

  • Motion JPEG 2000 — JPEG 2000 Comparaison du JPEG 2000 avec d autres formats JPEG 2000 ou ISO/CEI 15444 1 est une norme commune à l’ISO, la CEI et l’UIT T. C’est une norme de compression d’images produite par le groupe de travail Joint Photographic Experts Group.… …   Wikipédia en Français

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”