How to change boundary width in Active Contour Method?
Afficher commentaires plus anciens
Hi, I am writing a code, where I am using active contour method for segmentation. The relevent part looks like this:
bw1=activecontour(image,B0,iteration,'Chan-Vese');
Where B0 is the area on which the segmentation is to be performed, ieration is number of iterations.
the output is shown by the lines,
imshow(image)
hold on
visboundaries(bw1);
hold off
When I run the code for this image,

The output is like this:

But as you can see, the red boundary line is too thick and has white around it. I want to make the line thinner with no white around. How do I do it?
Réponse acceptée
Plus de réponses (1)
Tawsif Mostafiz
le 28 Juin 2021
0 votes
Catégories
En savoir plus sur Active contours dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
