I need close the contour, but i don't understand how to use the approxpolydp function.
This image below is my open contour.

| 1 | initial version |
I need close the contour, but i don't understand how to use the approxpolydp function.
This image below is my open contour.

| 2 | retagged |
I need close the contour, but i don't understand how to use the approxpolydp function.
This image below is my open contour.
