shape features for the segments?
2 views (last 30 days)
Show older comments
hi i have to write a program for shape features for the segments with top 4 largest areas. and i dont know how to do this .
plz help me.
0 Comments
Accepted Answer
Image Analyst
on 11 Oct 2013
See my Image Segmentation Tutorial: http://www.mathworks.com/matlabcentral/fileexchange/?term=authorid%3A31862
My function that extracts the N biggest or smallest blobs is included in the demo I attached below. Once you have the 4 largest regions you can then call regionprops to measure things in them like the area, perimeter, equivalent circular diameter, etc.
7 Comments
Image Analyst
on 12 Oct 2013
Steve Eddins has a demo for the k-means method for color segmentation: http://www.mathworks.com/products/demos/image/color_seg_k/ipexhistology.html
More Answers (0)
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!