pgm image lossless compression

I need a suggestion of algorithm can be used to compress pgm images and retrive it back lossless

回答(1 个)

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');

类别

帮助中心File Exchange 中查找有关 Denoising and Compression 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by