how to find dent in a circle?
1 view (last 30 days)
Show older comments
how to find dent in a circle?
0 Comments
Accepted Answer
Image Analyst
on 8 May 2013
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 Comments
Image Analyst
on 9 May 2013
I just ran it again and it works fine. What error did you get? You probably modified it so that it doesn't work.
More Answers (0)
See Also
Categories
Find more on Computer Vision with Simulink 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!