mirror of
https://github.com/opencv/opencv.git
synced 2026-11-22 09:23:44 -06:00
committed by
Alexander Alekhin
parent
5e2bcc9149
commit
f9c514b391
@@ -630,7 +630,7 @@ approxPolyDP_( const Point_<T>* src_contour, int count0, Point_<T>* dst_contour,
|
||||
WRITE_PT( src_contour[count-1] );
|
||||
|
||||
// last stage: do final clean-up of the approximated contour -
|
||||
// remove extra points on the [almost] stright lines.
|
||||
// remove extra points on the [almost] straight lines.
|
||||
is_closed = is_closed0;
|
||||
count = new_count;
|
||||
pos = is_closed ? count - 1 : 0;
|
||||
|
||||
Reference in New Issue
Block a user