Is there a function do connected component labeling?

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
xinito

Is there a function do connected component labeling?

Post by xinito »

Is there one implemented in C++API?

Thaks.
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Post by anthony »

Hmmm more information needed.

Component Labling??? ImageMagcik deals with images, not components so you will need to explain yoursefl a little better.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
xinito

Post by xinito »

sorry about the confusion.

connected component labeling, I mean, for instance, there is a binary image. can we label each connected white regions. or even further, count how many connected white regions,where are their bounding boxes, etc?

if you have used matlab before, you might know bwlabel. does imagemagick have something like that?
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Post by anthony »

ImageMagcik isn't matlab. Currently it is missing techniques for looking for specific areas within the image other than basic colors.

Don't know about matlab. If you have a pointer to a matlab example it may help.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
Post Reply