Locate particular portion in an image

3 views (last 30 days)
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....

Answers (2)

Walter Roberson
Walter Roberson on 13 Aug 2020
d = size(img,1) - find(any(img, 2),1,'last')
in pixels.
  2 Comments
Walter Roberson
Walter Roberson on 13 Aug 2020
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?

Sign in to comment.


Turbulence Analysis
Turbulence Analysis on 13 Aug 2020
The white margin is an export error and yellow arrow is just for an depicting the need. The actual raw images are similar to the one attached here...

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!