File Exchange

image thumbnail

RGB Image Compression

version 1.0.0.0 (66.8 KB) by Amarjot
The code computes the spatial compression on R G B components for a RGB image.

4 Downloads

Updated 07 Mar 2013

View License

The code uses the following function to compute the final result:

1. Encode the Luma and Croma components using independent quantization tables.
2. Run length encoding and decoding is performed
3. Decode the Luma and Croma components using independent quantization tables.

Running the code:
Iinput=imread('SFU.jpg);
[Ioutput]= compressimage(Iinput);
Imshow(Ioutput);

Cite As

Amarjot (2020). RGB Image Compression (https://www.mathworks.com/matlabcentral/fileexchange/40668-rgb-image-compression), MATLAB Central File Exchange. Retrieved .

Comments and Ratings (1)

MATLAB Release Compatibility
Created with R2008a
Compatible with any release
Platform Compatibility
Windows macOS Linux