Expand description
Module providing the Move-To-Front (MTF) transform. A relatively simple transform that is used to improve the compression ratio of the data, usually in combination with other transforms.
Functionsยง
- decode_
move_ to_ front - Decodes a sequence of indices using the Move-to-Front (MTF) algorithm.
- encode_
move_ to_ front - Encodes a sequence of elements using the Move-to-Front (MTF) algorithm.