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)
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

Answers (0)

Categories

Find more on Images in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!