How does TopHat morpholgy works on color images?
I am using a code that is applying a TopHat morphology operation and then it is converting the image to gray scale. I know what does TopHat on gray images, but what approach is implemented if the image is RGB (or BGR)?
http://answers.opencv.org/question/66125 maybe related.