Effacer les filtres
Effacer les filtres

shape features for the segments?

1 vue (au cours des 30 derniers jours)
SAM
SAM le 11 Oct 2013
Commenté : SAM le 12 Oct 2013
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.

Réponse acceptée

Image Analyst
Image Analyst le 11 Oct 2013
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 commentaires
Image Analyst
Image Analyst le 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
SAM
SAM le 12 Oct 2013
Modifié(e) : SAM le 12 Oct 2013
i have already try this but the problem with this code is it converting rgb to Lab and i wanted to use rgb image. moreover, its only valid for K=3.

Connectez-vous pour commenter.

Plus de réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by