File Exchange

image thumbnail

Effect of Range Reduction in Video/Image Compression

version 1.0 (3.93 KB) by

Range reduction demonstration using JPEG codecs.



View License

This script demonstrates the influence of range reduction algorithm at low bitrate encoding using JPEG encode. The range [0-255] of pixel values is mapped to [64-235] in this script using a look-up-table. Subsequently, the file is compressed to achieve the same bit-rate (file size) as that of the compressed full range image. (The quality factor chosen may need adjustment if changing the input image.) The compressed files are uncompressed for quality comparison. In case of range reduction, the range is restored back on uncompression. SSIM is used for quality metrics.

The effect of range reduction is to increase spatial correlation of neighborhood pixels and thereby improving compression ratio.

Comments and Ratings (0)

MATLAB Release
MATLAB 7.6 (R2008a)

MATLAB Online Live Editor Challenge

Win cash prizes and have your live script featured on our website

Learn more

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video