Steve on Image Processing

Results for: Connected components

Visualizing the output of bwlabel 4

Posted by Steve Eddins,

I often find myself writing small functions that help visualize certain image processing algorithms. For example, my last three posts on bwlabel included identical snippets of code that performed the following steps on a label matrix: ... read more >>

Corresponding labeled objects in two images 10

Posted by Steve Eddins,

Several questions I've seen about bwlabel are about finding the correspondences between object labels in two images. In other words, if a particular pixel is in the foreground in two binary images, is that pixel labeled the same in both images, or is it... read more >>

bwlabel search order 23

Posted by Steve Eddins,

I've received several questions over the past months about the search order for the function bwlabel and whether it can be changed. Today's post discusses the search-order issue, how useful it might or might not be to change it, and how to use regionprops... read more >>

bwlabeln – design decision 13

Posted by Steve Eddins,

In a comment on my "Connected component labeling - Part 6" post, Martin Isenburg asked "what is the rationale behind the design decision to have bwlabeln work on individual pixels rather than on runs of pixels?" ... read more >>

Connected component labeling – Part 6 25

Posted by Steve Eddins,

In this part of the connected component labeling series, I'll finally get to one of the algorithms actually used in the Image Processing Toolbox. It's based on a technique called union-find, as described in Sedgewick's Algorithms in C, Addison-Wesley, 1998, pp.... read more >>

These postings are the author's and don't necessarily represent the opinions of MathWorks.