Measuring distance of a point from surface of tissue

Hi,

We are trying to measure the distance of grean stain from the surface of a tissue (as shown in the image)

We would want the shortest distance (perpendicular to the surface) from the furthest point of green.

Any ideas would be helpful.

Good day,

here is a link to a related problem:
http://forum.image.sc/t/perpendicular-distance-between-2-lines-shortest-distance-between-2-lines/3862

It won’t be difficult to adapt the macro code to fit your needs.

Be aware that your problem in the first place is a problem of basic mathematics/geometry and not of image processing.

Regards

Herbie

Thank you for the quick response!!!