pgm image lossless compression

5 次查看(过去 30 天)
Varsha Nataraj
Varsha Nataraj 2021-1-11
I need a suggestion of algorithm can be used to compress pgm images and retrive it back lossless

回答(1 个)

Steve Eddins
Steve Eddins 2021-1-11
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');

类别

Help CenterFile Exchange 中查找有关 Image Segmentation and Analysis 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by