I want to transform a 2d numpy array into a polygon. Performance is very important for me, but I want to avoid making a C extension. A binary outline image can be made with erosion. Then I found I want to transform a 2d numpy array into a pol
I want to transform a 2d numpy array into a polygon. Performance is very important for me, but I want to avoid making a C extension. A binary outline image can be made with erosion. Then I found I want to transform a 2d numpy array into a pol