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
Steve Eddins 2021 年 1 月 11 日

0 投票

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 ExchangeDenoising and Compression についてさらに検索

質問済み:

2021 年 1 月 11 日

回答済み:

2021 年 1 月 11 日

Community Treasure Hunt

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

Start Hunting!

Translated by