Why points on the object boundary are repeating after some interval using bwboundaries command in Matlab...?
1 次查看(过去 30 天)
显示 更早的评论
Hello, I am using the bwboundaries command to detect the points on the boundary of 2-D object(Image),But i have observe one thing using bwboundaries command the points on the object boundary are repeating after some interval which i don't required. Please tell me how to detect exact number of points on the boundary without repetition..? Is there any alternative to detect exact number of points..? Please help me, my algorithm is not working because of the repetition of the points. Thanks in advance.
6 个评论
Image Analyst
2015-12-7
bwboundaries works off white objects. You have two there - the outer one, and the one inside the black shape. So you'll get a cell array with 2 cells. Inside each cell is a N rows by 2 columns matrix of doubles. Which white blob has the repeated (x,y) coordinate, and what row is it at?
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Image Processing Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!