How to test compression algorithms on MATLAB Data?
古いコメントを表示
I have a variable A which is 581*581 single and when I use the command imshow(mat2gray(A)) I see a biological cell that I am supposed to. Lets say I am conducting a research where I want to test out how the JPEG algorithm (or some other, for the matter of compression) performs on this data. How do I test this out? When I read research papers, they are able to test various compression algorithms out there on their data. I want to be able to know the achieved compression ratio, time complexity and other details for that matter to compare the performances of different compression algorithms.
4 件のコメント
Jan
2022 年 7 月 27 日
This is a vague question. What do you want to measure? What exactly are "other details"? I cannot suggest code for "other details".
Start with defining "performance". Select, which details matter for your research: Run time for compression / decompression, code size, output size, differences between original and after decompression, do block articats matter more than RMS between images?
If the problem is defined, the forum is the right place to ask for problems with the implementation.
Jan
2022 年 7 月 28 日
If you are interested in lossless compression, JPEG is not an option. Even with the lossless-flag, the results contain rounding errors. This is the reason, why e.g. for medical decision making JPEGs are not used.
Do not re-invent the wheel. You find a lot of studies in the net for comparing different lossless compressions. See: https://en.wikipedia.org/wiki/Lossless_compression
回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Import, Export, and Conversion についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!