The less frequently occurring color is mapped to the same color code as the highly frequent occurring color.
The noise is efficiently removed from each block, while at the same time, the number of bits used to represent each pixel is reduced.