How to calculate distance width imagej? Ridge detection pluging

Hey everybody.

I’ve processed the image on imagej. And I want to calculate the distance between the two green contours (or red lines) automatically (see attached image), in order to calculate the average width of the white shape. Can I get the distance values from the ridge detection results?

Thank you in advance

@zedmed

I believe your question is being answered on your previous thread:

Measuring thickness (or width) of cracks

I tried to use a second method to make a comparison with the other one