how to find dent in a circle?
1 次查看(过去 30 天)
显示 更早的评论
how to find dent in a circle?
0 个评论
采纳的回答
Image Analyst
2013-5-8
Not exactly sure what you mean by "find" - for example is it just a binary image of the dent alone, or is it an array of all the (row, column) pairs of pixels that comprise the dent. But anyway, you can just get a binary image of the bojects and then use bwconvhull
dentsImage = bwconvhull(binaryImage) - binaryImage; % Get image.
[rows columns] = find(dentsImage); % Get (y,x) coordinates.
4 个评论
Image Analyst
2013-5-9
I just ran it again and it works fine. What error did you get? You probably modified it so that it doesn't work.
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Computer Vision with Simulink 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!