I have a binary image in opencv where the outline of an object is shown. My boss told me that there is a function in OpenCV that measures the minimum distance between all the pixels of the image and the outline, could someone tell me what that function would be ?. Or if there is a kernel that I can use to make a convolution for that image?
To get an idea of what my goal is:
greetings and thanks