필터 지우기
필터 지우기

Info

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

masking of region of interest outputted by snake's algorithm

조회 수: 1 (최근 30일)
anshumala rakesh
anshumala rakesh 2018년 4월 27일
마감: MATLAB Answer Bot 2021년 8월 20일
i have an ultrasound image as my input and i have applied snake's algorithm to that image and as my output i am getting an ultrasound image with a contour for my region of interest( although computed manually).But i want a binary image as my output with background as black and region of interest as white(not just contour). i shall be grateful to any help or suggestions.thankyou
  댓글 수: 4
Siyu Guo
Siyu Guo 2018년 4월 28일
If your algorithm can guarantee the result be the closed contour of a region, you can initialized a logical matrix B = false(size(img,1), size(img,2)), set the snake contour pixels in B, and then call bwfill function to fill the region.
Siyu Guo
Siyu Guo 2018년 4월 28일
And if the snake contour data is provided as vectors of polygon vertices, I think you can use "fill" function to draw the region.

답변 (0개)

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

Community Treasure Hunt

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

Start Hunting!

Translated by