how i segment medical image using active contour
2 次查看(过去 30 天)
显示 更早的评论
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')
0 个评论
采纳的回答
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 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Neuroimaging 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!