how i segment medical image using active contour

조회 수: 2 (최근 30일)
komal kella
komal kella 2017년 5월 20일
답변: Image Analyst 2017년 5월 20일
clc;
A = imread('mri.jpg'); I = rgb2gray(A); imshow(I) title('Original Image')
mask = zeros(size(I)); mask(25:end-25,15:end-15) = 1; figure imshow(mask) title('Initial Contour Location')
bw = activecontour(I,mask,500);
figure imshow(bw) title('Segmented Image')

채택된 답변

Image Analyst
Image Analyst 2017년 5월 20일
That could be about right. If it's not, then you might try to get a better starting mask. I have attached my activecontour() demo.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Neuroimaging에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by