[Solved] What are the techniques of Compression? [closed]
[ad_1] Maybe the simplest lossless one is Run-length encoding the string: WWWWWWWWWWWWBWWWWWWWWWWWWBBBWWWWWWWWWWWWWWWWWWWWWWWWBWWWWWWWWWWWWWW will be encoded to: 12W1B12W3B24W1B14W or: WW12BWW12BB3WW24BWW14 And the simplest lossy encoding algorithm would be something like: down-sampling, or averaging over 3 neighbors cells of a vector and keep the average value. 1 [ad_2] solved What are the techniques of Compression? [closed]