필터 지우기
필터 지우기

Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

segmented parts should be treated as seperate regions

조회 수: 1 (최근 30일)
Datti Nagadhara Harini
Datti Nagadhara Harini 2014년 4월 25일
마감: MATLAB Answer Bot 2021년 8월 20일
i segmented the image . now each segmented part should be considered as region . i dont understand how to seperate as regions. i uploaded the segment image

답변 (1개)

Image Analyst
Image Analyst 2014년 4월 25일
You call bwlabel(). It's all explained in gory detail in my well-commented Image Segmentation Tutorial in my File Exchange: http://www.mathworks.com/matlabcentral/fileexchange/?term=authorid%3A31862
  댓글 수: 2
Datti Nagadhara Harini
Datti Nagadhara Harini 2014년 4월 26일
i tried bw label. but i failed . label = bwlabel(bw,4)
In segmentation I have with me bw matrix. but i didnt understand how exactly i should take one region. how many neighborhoods i should give. because for each region I should compute features and compare.
I tried my best what u suugested in the links. please help me
Image Analyst
Image Analyst 2014년 4월 27일
What? How could it fail? What are you talking about how many neighborhoods? There is only one neighborhood when talking about connected components - it's the 8 surrounding pixels, of which you can either consider 4 of them or all 8 of them depending on the connectivity you want. What does this say:
whos bw
You can also attach your image, either the binary image or the original image plus code to generate the binary image. Also, you say "i failed" but the only thing I can see that you failed at was in attaching images, code, or error messages. You can help us to help you by giving us the information you think we'd need to reproduce your labeling problem.

이 질문은 마감되었습니다.

Community Treasure Hunt

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

Start Hunting!

Translated by