why active contour always produce an error?
Show older comments
I am using this code to segement a grayscale image and produces an error in activecontour([A, mask, N, method, smoothfactor,contractionbias] = parse_inputs(args{:});
that is the code i use;
I = imread('after opening.jpg');
imshow(I)
r = drawrectangle;
mask = createMask(r);
bw = activecontour(I,mask,200,'edge',1,.3);
hold on;
visboundaries(bw,'Color','r');
figure
imshow(labeloverlay(I,bw));

How could this be solved?
Accepted Answer
More Answers (0)
Categories
Find more on Coordinate Reference Systems in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!