How to save the hold on image? Actually i trace the boundary by the plot under hold on. Now i can't proceed this boundary to further process. As i am in need of this trace boundary "green" lines seperately in the image?
1 view (last 30 days)
Show older comments
imshow(S)
hold on;
plot(boundary(:,2),boundary(:,1),'R','LineWidth',3);
BW_filled = imfill(I,'holes');
boundaries = bwboundaries(BW_filled);
for k=1: length(boundaries)
b = boundaries{k};
plot(b(:,2),b(:,1),'G','LineWidth',3);
end
0 Comments
Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!