pgm image lossless compression

12 visualizaciones (últimos 30 días)
Varsha Nataraj
Varsha Nataraj el 11 de En. de 2021
Respondida: Steve Eddins el 11 de En. de 2021
I need a suggestion of algorithm can be used to compress pgm images and retrive it back lossless

Respuestas (1)

Steve Eddins
Steve Eddins el 11 de En. de 2021
Write the image to a PNG file. The PNG format uses lossless compression.
imwrite(A,'myfile.png')
Read it back in using imread.
A_retrieved = imread('myfile.png');

Categorías

Más información sobre Image Segmentation and Analysis en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by