フィルターのクリア

Info

この質問は閉じられています。 編集または回答するには再度開いてください。

Boundary finding for human object

2 ビュー (過去 30 日間)
pratibha rane
pratibha rane 2013 年 5 月 11 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
I want to get perfect boundary of human object, I wrote code as:
m=imread('E:\ProjectCode\35.jpg'); H=1-fspecial('gaussian',[3 3],1); sh=imfilter(m,H); figure,imshow(sh); cr = imcrop(sh,[320,100,550,750]); figure,imshow(cr);
shg=rgb2gray(cr); mask = zeros(size(shg)); mask(25:end-25,25:end-25) = 1;
figure, imshow(mask); title('Initial Contour Location'); bw = activecontour(shg,mask,300);
figure, imshow(bw); title('Segmented Image')
I am getting error:?? Undefined function or method 'activecontour' for input arguments of type 'uint8'.
Error in ==> mskbdry at 14 bw = activecontour(shg,mask,300);

回答 (0 件)

この質問は閉じられています。

Community Treasure Hunt

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

Start Hunting!

Translated by