draw ellipse in binary image
显示 更早的评论
Hi, I have a binary image with blobs being segmented. I have used the regionprops function to find the centroid, major axis,minor axis length, and orientation of the blobs. i need to draw the ellipse on these blobs. Any suggestion how to do it? Is there any inbuilt MATLAB function which does so? Also,i need that all my 10 blobs should be of different colors.
Thanks
回答(2 个)
Matt J
2012-10-12
0 个投票
This looks applicable
Sean de Wolski
2012-10-12
编辑:Sean de Wolski
2012-10-12
How about:
doc imellipse
(And specifically its method createMask)
1 个评论
Matt J
2012-10-12
It doesn't seem to allow arbitrary ellipse orientations. Or at least, I'm not finding a way to tilt it interactively.
类别
在 帮助中心 和 File Exchange 中查找有关 Region and Image Properties 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!