Dear all,
I get stuck by a simple mathmatic problem:
I have a closed and irregular image. To make it simple, I put their coordinate here (10,30) (20,40) (50,30) (50,20) (40,20) (30,10) (20,10) (10,20)
Now I want to find out the points which have the same minimum distance (here 5 pixel) to the boundary of this image. But I have no idea how to do it. Is there any simple way to do it? Thank you.
Best Answer