Measuring distance of a point from surface of tissue



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:

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.




Thank you for the quick response!!!