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 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
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 Kommentare
Antworten (0)
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!