MATLAB Answers

pgm image lossless compression

2 ビュー (過去 30 日間)
Varsha Nataraj
Varsha Nataraj 2021 年 1 月 11 日
回答済み: Steve Eddins 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.
Read it back in using imread.
A_retrieved = imread('myfile.png');

Community Treasure Hunt

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

Start Hunting!

Translated by