How do I count pixels between two point along a curved path?
1 次查看(过去 30 天)
显示 更早的评论
I have an image with binary numbers(0,1),which contain lots of curved path.I have to count the number of pixels between two point along the curve. Is there a method to find the number of pixels along a curve?
0 个评论
回答(1 个)
Juan P. Viera
2014-1-29
I don't quite understand the question If it is what I think you are trying to say, maybe you can first filter all pixels that are not between those 2 (with clever indexing) and then use regionprops to tell you the area of the white pixels.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Fourier Analysis and Filtering 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!