code of connected componnents algorithm

I need a code of a connected component algorithm that accepts a predicate (to evaluale on each pair of neighboring pixels (not for bw image but a given matrix with varies values).
If someone have,please replay (PREFERED MATLAB CODE),

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!