yuantailing / ctw-baseline

Baseline methods for [CTW dataset](https://ctwdataset.github.io/)
MIT License
329 stars 88 forks source link

How to deal with negative values ​​in the coordinates of polygon regions #35

Open lighTQ opened 5 years ago

lighTQ commented 5 years ago

Because I found that some values ​​in the coordinates of the polygon are negative, what should I do if I want to operate on this area?

yuantailing commented 5 years ago

Maybe you can clip the polygon. Another way is to fill something to the outer region, just like what borderInterpolate do in OpenCV.