Locate particular portion in an image
3 次查看(过去 30 天)
显示 更早的评论
Hi,
I have a serious of images similar to the one attached here. I intend to measure the distance of particular portion of the image from the bottom, Is anybody have done anything similar to this??. Could somebody please help me with this....
Thanks in advance....
0 个评论
回答(2 个)
Walter Roberson
2020-8-13
d = size(img,1) - find(any(img, 2),1,'last')
in pixels.
2 个评论
Walter Roberson
2020-8-13
are the white margin and text part of the image being processed? Is the arrow part of the image being processed? Is the image being processed RGB?
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!