I was working on my image processing problem with detecting coins.
Connected components matlab.
It uses significantly less memory and is sometimes faster than the other functions.
Connected component labeling part 5 39 posted by steve eddins may 11 2007 ok i ve learned an important lesson about this blog.
Bwconncomp replaces the use of bwlabel and bwlabeln.
We already tried the watershed method as stated on the matlab homepage.
I really shouldn t start up two topics series at the same time.
The functions bwlabel bwlabeln and bwconncomp all compute connected components for binary images.
For example conncomp g outputform cell returns a cell array to describe the connected components.
Bw2 bwareaopen bw p removes all connected components objects that have fewer than p pixels from the binary image bw producing another binary image bw2 this operation is known as an area opening.
Bwconncomp replaces the use of bwlabel and bwlabeln.
It uses significantly less memory and is sometimes faster than the other functions.
And wanted to separate the falsely connected coins.
The functions bwlabel bwlabeln and bwconncomp all compute connected components for binary images.