Ask Your Question

Revision history [back]

How can I find the regions in an image that have exactly the same color?

Given a 3-channel color image what is the easiest the way to find connected components such that pixel A is considered connected to pixel B if A and B are adjacent and exactly the same color?