필터 지우기
필터 지우기

shape features for the segments?

조회 수: 1 (최근 30일)
SAM
SAM 2013년 10월 11일
댓글: SAM 2013년 10월 12일
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.

채택된 답변

Image Analyst
Image Analyst 2013년 10월 11일
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
Image Analyst
Image Analyst 2013년 10월 12일
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 2013년 10월 12일
편집: SAM 2013년 10월 12일
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.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

Community Treasure Hunt

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

Start Hunting!

Translated by