Introducing a border/outline to objects in an image.
Show older comments
Hi everyone,
I have a question about how to introduce an outline to a mask. Please check the original source image at: http://i39.tinypic.com/ap78s9.jpg. I would like the borders of the various objects in the mask to be outlined and each object identified as shown in: http://i39.tinypic.com/e839yt.jpg, both with an outline and an index number (so that the index number could be used to identify, and cross-refer the results generated by regionprops). This specific example was generated using ImageJ.
Any help would be much appreciated.
Thanks and have a good weekend.
Accepted Answer
More Answers (1)
Sean de Wolski
on 27 Jan 2012
I would guess one of these will be your friend:
doc bwperim
doc bwboundaries
doc bwtraceboundary
Categories
Find more on Object Analysis in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!