I want to get red polygon from black polygon in OpenCV. to get larger one from existing polygon? Is there any easy way to do it?
Asked
Active
Viewed 1,019 times
1 Answers
2
What you are seeking is the offset polygon. It was addressed in an earlier question, "An algorithm for inflating/deflating (offsetting, buffering) polygons." It is not easy to compute in general, but it is well-studied.

Community
- 1
- 1

Joseph O'Rourke
- 4,346
- 16
- 25