<< 14/23 >>
First Last

Image compression

1. predict the value of the next pixel

take the diff from the actual value. If your predictor did a decent job, the diff should be close to zero for many pixels

a typical (and fairly good) predcitor predicts the next pixels has the same value as the previous one

2. then use entropy coders