Locate particular portion in an image

2 Ansichten (letzte 30 Tage)
Turbulence Analysis
Turbulence Analysis am 13 Aug. 2020
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....

Antworten (2)

Walter Roberson
Walter Roberson am 13 Aug. 2020
d = size(img,1) - find(any(img, 2),1,'last')
in pixels.
  2 Kommentare
Turbulence Analysis
Turbulence Analysis am 13 Aug. 2020
Hi,
Thanks for prompt answer..
Actually, if you look at my image, i got drak background and subject in white color, and this subject sometime located near bottom and sometime away from it. My goal is to find the distance at which subject is located from the bottom..
while executing the above command, i got 1x3 array with values as -1852 -1792 -2685....
Walter Roberson
Walter Roberson am 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?

Melden Sie sich an, um zu kommentieren.


Turbulence Analysis
Turbulence Analysis am 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...

Kategorien

Mehr zu Images finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by