how i segment medical image using active contour

1 回表示 (過去 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 Center および File ExchangeNeuroimaging についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by