1 | initial version |
yes. approxPolyDP only removes points.
a consequence of this is that, if you have a rectangle with rounded/imperfect corners, you can't "recover" the true corners. whatever points remain after approxPolyDP will be points on the rounded corner.
2 | No.2 Revision |
yes. approxPolyDP only removes points.
a consequence of this is that, if you have a rectangle with rounded/imperfect corners, you can't "recover" the true corners. whatever points remain after approxPolyDP will be points on the rounded corner.
a severe example with epsilon=5 and epsilon=10: