title: How to exaggerate color differences with OpenCV?
body: <p>I am trying to make it easier for Canny Edge detection to find edges by exaggerating differences in colors in an image.</p>
  
  <p>For example, giving it the following image:
  <a href="https://i.stack.imgur.com/lFPkv.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/lFPkv.jpg" alt="Image Given"></a></p>
  
  <p>Canny returns:</p>
  
  <p><a href="https://i.stack.imgur.com/bEKcz.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/bEKcz.png" alt="Image Output"></a></p>
  
  <p>As you can see, Canny omits most of the border of the countertop because the colours are way too similar to be picked up.</p>
  
  <p>Is there a way to increase the contrast or exaggerate color differences in the image?</p>