Signal Processing Stack Exchange is a question and answer site for practitioners of the art and science of signal, image and video processing. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am performing blob analysis using connectedComponentsWithStats, which returns elementary statistics about the blobs (AABB and area). It is also possible to compute geometric moments.

Anyway, I need to compute my own features and for this I need the detailed geometry, be it a chain of outline pixels, a run-lengh-coded description or similar.

I know that the contours can be obtained by other means (findContours), but I would like to know if the connected components engine can help me achieve my goal or if it is a black box forever.

share|improve this question

bumped to the homepage by Community 5 hours ago

This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.

migrated from stackoverflow.com Jul 22 '16 at 21:38

This question came from our site for professional and enthusiast programmers.

Instead of connected components you may also use blob detector mentioned here

It provides some information on the shape and geometry of blob

For geometric moments you will have to compute contours.

I am not sure what do you mean by connected components being a black box.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.