how to overlay segmented area's in color over grayscale image?
1 回表示 (過去 30 日間)
古いコメントを表示
Hi , I have a grayscale image for which I need to do some segmentation and find cells. after which I need to show the segmented cells on top of the original image . but I need the perimeter of the cells to be in color and indexed so I can see how many cells I found.
I have done the segmentation and found the perimeters of the cells but how do I show them on top of the original image?
I got confused with the alphadata property and all other options.. thank you
0 件のコメント
回答 (2 件)
Image Analyst
2014 年 5 月 29 日
It's described in Steve's blog: http://blogs.mathworks.com/steve/2009/02/18/image-overlay-using-transparency/
1 件のコメント
Image Analyst
2014 年 5 月 29 日
If you just need the perimeters, use bwboundaries(), and then turn "hold on" and then use plot() to plot the outlines/boundaries/perimeters.
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!