Making objects stand out? Lets say I have two objects very close to each other. There is a colour difference between them, but the difference is small. Therefore when finding contours, both the objects are treated like on object. Is there a way to make the difference in colour more significant? As in exponentially increase the small difference in colour? Or if not possible how would I make these objects stand out from each other?

I am using OpenCV please suggest solutions possible in that library.

Thank You
Consider converting the image into L*a*b* color space — colors with subtly-different component values in RGB color space will often have significantly-different a*b* component values in L*a*b* color space.