Is there way to measure the width of a binary mask along its length?

Hi,

may be this old post can help you