I am trying to equalize a color image. I was told to convert it into HSB and then perform equalization on brightness channel before converting it back into RGB.
I have so far calculated the frequencies but I am having issues with the scale factor. As I understand, scale factors in the case of colors are usually 255/(height*width) of the image. Can anyone please help with what to do in the case of brightness? Thanks.