JPEG-LS ISO/IEC 14495-1 Standard Support
- All JPEG-LS encoding parameters
- Optional Near Lossless support
- All interleaved modes
- All marker segments including APP, COM, DNL and Restart markers
- Image resolution higher than 64Kx64K (supports oversize image dimension parameters)
- Up to 16 bits per color sample, and up to four color components
Easy to Use and Integrate
- Requires no programming or control from host
- Reports image format
- Detects and reports marker syntax errors
- Delivered with bit-accurate software model
- AXI4-Stream Interfaces for image and compressed data, and 32-bit wide APB for register access
- Dedicated interface for APP and COM markers to pass metadata to system
Versions and Throughput
- One sample per cycle, for the area optimized JPEG-LS-DS version
- From 40,000 eq. gates and up to 350 Msamples/sec on a typical 16nm technology
- Synthesis-configurable number of samples per cycle, for the throughput optimized JPEG-LS-DF version. Maximum throughput is only possible when images are encoded using restart markers.
Source code RTL (Verilog) or targeted FPGA Netlist
Bit Accurate Model
Sample simulation and synthesis scripts
Call or click.
- HP Labs LOCO-I/JPEG-LS Home Page
- JPEG-LS file viewers: ffplay, IrfanView, XnView
- SDKs supporting JPEG-LS:
– VintaSoft Imaging .NET SDK,
– LEADTOOLS imaging tool kits
- JPEG-LS software implementations:
UBC, ChartLS, Clunie
- Comparison paper (PDF): Lossless Compression of Grayscale Medical Images - Effectiveness of Traditional and State of the Art Approaches
JPEG-LS-D Lossless & Near-Lossless JPEG-LS Decoder
The JPEG-LS-D core implements a highly efficient and low-power, lossless and near-lossless image decompression engine that is compliant to the JPEG-LS, ISO/IEC 14495-1 standard.
The decoder core can decompress any JPEG-LS stream or JPEG-LS payload of image container formats, such as DICOM (Digital Imaging and Communications in Medicine). It accepts compressed streams of images with up to 16-bit per color samples and up to four color components, in all widely used color subsampling formats. Supporting oversize image dimension parameters, the core can decode image with resolutions exceeding 64k x 64k pixels.
The easy-to-use JPEG-LS-D core operates on a standalone basis, parsing marker segments and decompressing coded data with no assistance from a host processor. The decoder reports the image format (i.e., resolution, subsampling format, and color sample-depth) to the system, so that the decoded images are properly further processed and/or displayed. Application (APP) or comment (COM) marker segments—which are typically used to embed metadata in the compressed stream—are also passed to the system via a dedicated interface.
SoC integration is straightforward thanks to standardized AMBA® interfaces. The core accepts compressed data and outputs pixel data, frame format information, and APP or COM marker segments via AXI4-Stream interfaces, and it provides access to its control and status registers via a 32-bit APB interface. A wrapper that bridges the AXI-Stream interfaces to AXI4 can optionally be delivered with the core.
The core is designed with industry best practices, and its reliability has been proven through both rigorous verification and silicon validation. The deliverables include a complete verification environment and a bit-accurate software model.
This core can be mapped to any Intel, Lattice, MicroSemi, or Xilinx programmable device, or to any ASIC technology, provided sufficient silicon resources are available. Please contact CAST Sales to get accurate characterization data for your specific implementation requirements. Meanwhile, we provide the following representative results (each in a new pop-up window):
The core is available in two versions, size-optimized and scalable-throughput. The size-optimized version, JPEG-LS-DS, provides a throughput of one sample per cycle and requires only one image line of buffering. A single JPEG-LS-DS core can decompress several hundreds of Msamples per second when mapped on an ASIC technology. The scalable-throughput version, JPEG-LS-DF, can process multiple samples per cycle by internally aggregating a user-defined number of JPEG-LS-DS cores. The JPEG-LS-DF is suitable for compressing images or video with ultra-high resolutions and/or frame rates but assumes the use of restart markers in the encoded stream.
The core as delivered is warranted against defects for ninety days from purchase. Thirty days of phone and email technical support are included, starting with the first interaction. Additional maintenance and support options are available.
The core is available in source code RTL (Verilog) or as an FPGA netlist, and its deliverables include everything required for successful implementation:
- Sophisticated self-checking Testbench
- Software (C++) Bit-Accurate Model
- Sample simulation and synthesis scripts
- Comprehensive user documentation
The JPEG-LS-D is suitable for applications requiring numerically or visually lossless compression of images or video of potentially high color or greyscale accuracy such as medical Imaging (DICOM), aerospace imaging/surveillance, and advanced driver assistance systems (ADAS).
Despite its lower computational complexity, JPEG-LS offers exceptionally high lossless compression efficiency. JPEG-LS is expected to outperform PNG, and to provide similar compression ratios as lossless JPEG2000 for both color and greyscale images. Following are some indicative examples:
JPEG Cores available from CAST
The JPEG-LS-D is one member of the JPEG family of JPEG encoder and decoder cores that CAST offers. The following table summarizes the family members and highlights their basic features.
|JPEG IP Cores||JPEG-LS IP Cores|
|Compression Standard||JPEG — ISO/IEC 10918-1||JPEG-LS — ISO/IEC 14495-1|
|Supported Standard Modes||Baseline Sequential DCT||Baseline Sequential DCT and Extended Sequential DCT||Lossless& NEAR lossless||Baseline Sequential DCT and Extended Sequential DCT||Lossless & NEAR lossless|
|Motion JPEG Payload|
|Sub-sampling Formats||Any with up to four components including Single–color, 4:4:4, 4:2:2, 4:2:0|
|Max. Image Resolution||64k x 64k||64k x 64k||> 64k x 64k|
|Max. Sample Depth||8||12||12||8||12||12||16|
|Raster Conversion||Included – Optionally Instantiated||Included – Optionally Instantiated||N/A|
|Color Samples/Cycle||1||1||1 to 32||1||1||1 to 32||1 to 32||1 to 32|
|ASIC Area (eq. Gates)||70k||80k||120k1||65k||75k||110k1||40K2||40K2|
|Available in RTL Source Code|
|Available as targeted netlist|
1) Silicon Resources for two samples/cycle configuration, and 12 bits per color sample.
2) Silicon Resources for one sample/cycle configuration, and 8 bits per color sample.