Ask Your Question

Revision history [back]

What about Core.inRange and Imgproc.findContours? The first will remove all pixels with another color and findContours will find the connected components of the remaining pixels.