Simplest Color Balance
Simplest Color Balance
Blog Article
In this paper we present the simplest possible color balance algorithm.The assumption underlying this algorithm is that the highest values of R, G, B observed in the image must correspond to white, galaxy buds skin and the lowest values to obscurity.The algorithm simply stretches, as much as it can, the values of the three channels Red, Green, Blue (R, G, B), so that they occupy the maximal possible range [0, 255] by applying an affine transform ax+b to each channel.
Since many images contain a few aberrant pixels that already occupy the 0 and 255 values, the proposed method saturates a small percentage of the pixels with the highest values to 255 and a small percentage of the pixels with the lowest values to 0, before applying the uri ease paw gel for cats affine transform.