how to display different features with different color edges on a original image ?
1 view (last 30 days)
Show older comments
Akhil Aravind
on 1 Apr 2019
Commented: KALYAN ACHARJYA
on 2 Apr 2019
I have many features in an image and i successfully attained the edges of each feature seperately. now i need to give each feature edge a different colour and display all the edges on the original image. i have 3 features which should be highlighted with 3 different color edges on a single image. help me to do this ...
0 Comments
Accepted Answer
Image Analyst
on 1 Apr 2019
You say you have "successfully attained the edges of each feature seperately". So all you have to do it call hold on and then plot.
hold on
plot(x, y, 'r-', 'LineWidth', 2);
If you don't have the edges in a list of x and y coordinates, then you need to get them, like by calling bwboundaries() on the original binary image.
More Answers (1)
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!