pgm image lossless compression
显示 更早的评论
I need a suggestion of algorithm can be used to compress pgm images and retrive it back lossless
回答(1 个)
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');
类别
在 帮助中心 和 File Exchange 中查找有关 Denoising and Compression 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!