Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

If the area is not completely white or black, converting the image from RGB to HSV or HSL and then ignoring the Saturation or Lightness channels might be a solution, because now the image is invariant to "whitening".