1 | initial version |
I think the step should be to get the image into a format which has channels not separated by colors. So first the image should be converted from BGR to HSV and then since histogram equalization is applied to a single channel, so it should be applied to each channel separately. And then all the channels can be merged.