How to perform jpeg encoding on color image?

Is JPEG encoding and JPEG compression are same?? Is there any inbuilt code in matlab to perform JPEG encoding??

 Réponse acceptée

Walter Roberson
Walter Roberson le 28 Oct 2018

1 vote

JPEG Encoding is the process leading through to finding the DCT coefficients. Strictly speaking the encoding ends there. The compression part takes the coefficients and determines which ones can be neglected and represents the abbreviated coefficients in a data structure. A phase after that is writing the results into a structured file format; .jpg files are in JFIF format which include blocks of represented coefficients that are the JPEG blocks themselves.
There are several user-contributed JPEG Encoders in the File Exchange, including https://www.mathworks.com/matlabcentral/fileexchange/10476-jpeg-codec

2 commentaires

Thank you :)
Is it possible to do JPEG compression in a color image without gray-scale or binary conversion?

Connectez-vous pour commenter.

Plus de réponses (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by