Take the 2-minute tour ×

I have bunch of similar images. Those images contains different noise, but edges and histograms are very similar. I need to compress this images loselessly. Is there any algorithm, that can use image similarity for more efficient compression ? I have tried to use improved compression via prediction (changed MED predictor from LOCO), but my gain was only about 0,4%

share|improve this question

2 Answers 2

What do you mean exactly by "similar"? Having similar histograms isn't going to help much. Do the images look the same?

You could simply try subtracting the previous image from this image, pixel by pixel and color by color, and see if the difference image is more compressible.

The next step would be to make the series of images a video, and use video compression, which can exploit more complex correlations between successive images.

share|improve this answer
Similar... they look the same by eyes. But If you substract them, you got somehow noisy images. I tried compress this noisy image, but from nature of noise, its not very well comprimable. Using video codecs is one way, but I thought if there is some kind of special image algorithm for that. If I decompress sequence, I got individual images, not video. –  Martin Perry Apr 15 '13 at 7:17

Are the images in gray scale or are colored. If they are gray scale ones, I have an application that I developed 7 years ago. I can try it for you. It is based on a technique that is called Set Redundancy Compression.

If they are colored, you can try Lagarith (a video codec)

share|improve this answer
I have different data types, some are RGB, some grayscale, some float. Is your compression suitable also for video sequence ? –  Martin Perry Apr 25 '13 at 14:40
Hi, sorry for the delay (one year :p) . Unfortunately no, t is not suitable for video compression –  gabis May 23 at 16:14

Your Answer


