Physical Address
304 North Cardinal St.
Dorchester Center, MA 02124
Physical Address
304 North Cardinal St.
Dorchester Center, MA 02124
“content”: “
The standard IEC 14495-1-02, technically identical to ISO/IEC 14495-1:1999 together with its Amendment 1:2002, specifies the baseline algorithm for lossless and near-lossless compression of continuous-tone still images. Commonly known as JPEG-LS, this standard is also adopted in Canada as CAN/CSA-ISO/IEC 14495-1-02. It provides a low-complexity, efficient coding method suited for applications where no loss or only a controlled, bounded loss of information is acceptable, such as medical imaging, remote sensing, and digital archival.
” “IEC 14495-1-02 defines a compression algorithm for continuous-tone (multi-level) still images. It is explicitly not intended for bi-level or palletized images. The standard covers two modes:
NEAR.The algorithm is designed for low-complexity hardware and software implementations, offering compression ratios competitive with more complex schemes (e.g., JPEG lossless) while requiring significantly less computation. Typical applications include:
The baseline algorithm is based on a predictive coding scheme with context modeling and Golomb–Rice entropy coding. The key technical elements are:
Each pixel is predicted using a fixed, edge-detecting predictor (the “LOCO-I” predictor) that examines three previously coded neighbors. A local gradient vector is computed and quantized into one of 365 contexts, which adaptively selects the Golomb–Rice parameter and sign model.
JPEG-LS switches between regular mode and run-length mode:
| Parameter | Symbol | Allowed Values | Description |
|---|---|---|---|
| Maximum sample value | MAXVAL | 2, 3, …, 216–1 | Defines the dynamic range of image samples (typically 255 for 8‑bit images). |
| Near-lossless bound | NEAR | 0, 1, …, MAXVAL/2 | Maximum absolute reconstruction error. NEAR = 0 gives lossless. |
| Run-length reset threshold | RESET | 1, …, 255 | Controls how often Golomb–Rice parameter is reset in run mode. |
| Number of points in threshold table | NST | 1, …, 255 | Number of quantization thresholds for context gradients. |
NEAR > 0) introduces a deterministic, bounded error. However, repeated encode/decode cycles can accumulate errors unless the same parameters are used throughout. The standard mandates a baseline that every compliant encoder and decoder must support. Extensions (e.g., for more color components, higher bit depths) are defined in separate documents. The encoder architecture is straightforward:
Decoding is symmetric and equally low in complexity. This simplicity allows real‑time decompression even on embedded platforms.
Images are assumed to be rectangular, with up to 231–1 pixels per dimension. The standard specifies raster‑scan order (left to right, top to bottom) and multiple‑component interleaving options (e.g., pixel‑interleaved “LINE” or “SAMPLE” interleaving).
NEAR parameter to the smallest value that still satisfies the application’s quality requirements. Even a NEAR of 1 can significantly increase compression ratios while remaining visually transparent for many images. Conformance to IEC 14495-1-02 is assessed through test procedures defined in ISO/IEC 14495-2 (JPEG-LS Part 2: Compliance testing). Testing covers:
Manufacturers of medical imaging equipment, for example, must demonstrate that their JPEG-LS implementation passes the conformance tests to claim compliance with DICOM’s transfer syntax for lossless compression.
The Canadian version CAN/CSA-ISO/IEC 14495-1-02 is an identical adoption, containing no deviations. Other national standards bodies have similarly adopted the text of ISO/IEC 14495-1:1999 with Amendment 1:2002.
Article prepared in accordance with ISO/IEC Directives Part 2. Standard references: IEC 14495-1-02 (ISO/IEC 14495-1:1999/Amd 1:2002), CAN/CSA-ISO/IEC 14495-1-02. — 2026
“