How can i draw lines over my image lines?I want to do it to find how many repeating line structures are present in my image.Also I want to separate the line plots and oval shapes.How can i do that?

3 views (last 30 days)

Accepted Answer

Image Analyst
Image Analyst on 25 Jan 2016
Edited: Image Analyst on 25 Jan 2016
See attached demos for drawing.
To distinguish between round blobs and non-round blobs, compute the circularity
circularity = 4*pi*Area / Perimeter^2
You can get area and perimeter from regionprops() like my Image Segmentation Tutorial shows
  8 Comments
Image Analyst
Image Analyst on 27 Jan 2016
The area and the area-to-perimeter square ratio should be enough to discriminate between the two.
There is a new function called bwpropfilt() that lets you extract blobs based on standard measurements, but not computer ones like area-to-perimeter squared.

Sign in to comment.

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!