Product highlights
JPEG-LS near-lossless encoder
Lossless and near-lossless JPEG-LS (ITU-T T.87) compression of greyscale images, one sample per clock in a single pass.
What it does
The encoder compresses greyscale images with JPEG-LS, the ITU-T T.87 method for lossless and near-lossless coding of continuous-tone still images. In lossless mode (NEAR = 0) the decoded image is identical to the original. In near-lossless mode every reconstructed sample stays within NEAR of its original value, so the error bound holds at each pixel instead of on average over the image.
Each frame begins with a header carrying the image size and the NEAR value, so one core compresses images of different sizes and error bounds without being rebuilt. The largest NEAR value the core accepts is set when it is built.
Samples of 8 to 16 bits are supported; the sample precision is chosen when the core is built.
Default configuration
JPEG-LS near-lossless encoder (ITU-T T.87) · 12-bit samples · frames up to 4096 x 4096 · NEAR 0 to 6, set per frame · Zynq UltraScale+ RFSoC (xczu67dr, speed grade -2)
Bit-exact to the reference model · timing closed at this clock · validated on FPGA hardware
Full per-configuration figures and verification evidence in the datasheet →Product highlights
Lossless and near-lossless in one core
NEAR = 0 gives exact reconstruction. A larger NEAR compresses further while every pixel stays within the bound you set, and the value can change from one frame to the next.
Both coding modes of the standard
Regular mode codes prediction residuals with context modelling and Golomb coding; run mode codes flat regions, including the sample that interrupts a run.
Line-rate, single pass
The encoder accepts one sample per clock and codes the whole image in one scan, with no striping or tiling. The context update needs no divider and no multiplier, and on-chip memory stays small: a line buffer and the context table.
Streaming in and out
Pixels enter through a valid/ready handshake. The codestream leaves as bytes with a byte-enable and an end-of-frame marker, as a complete JPEG-LS file from the start-of-image to the end-of-image marker.
How it is verified
Byte-identical to CharLS
On every image of the test corpus, the codestream matches, byte for byte, the one the CharLS reference encoder writes for the same image and NEAR value.
Real images, many settings
The corpus holds remote-sensing, photographic, astronomical and medical images, encoded at several resolutions, bit depths and NEAR values, lossless included.
Proven on FPGA hardware
Run on an RFSoC FPGA evaluation board, with each codestream compared against CharLS.
Application fit
For satellite and remote-sensing payload downlinks, medical imaging, machine vision and industrial inspection, and image archiving: wherever the error on each pixel must stay bounded and images must be compressed as fast as the sensor delivers them. The core is the compression block of an image acquisition chain.
The core encodes one greyscale component per frame. Colour images, decoding, and splitting an image into several scans are outside this product.
What you receive
The source delivery includes:
- Synthesizable source RTL of the encoder.
- An integration guide covering the interfaces, the frame header and how to drive the core.
- Test images with their reference codestreams, for your acceptance testing.
- An example design to start integration from.
Configure your inquiry
Start from the compression mode you need. The inquiry form opens with that choice selected; add your target FPGA, sample precision, largest image size and largest NEAR value, and your acceptance requirements.
Download the datasheet
Register to receive the JPEG-LS near-lossless encoder datasheet as a PDF. The download link appears here as soon as you submit.