How to test compression algorithms on MATLAB Data?
Afficher commentaires plus anciens
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 commentaires
Jan
le 27 Juil 2022
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
le 28 Juil 2022
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
Réponses (0)
Catégories
En savoir plus sur Import, Export, and Conversion dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!