Files
Parchuri Poojith Kumar 01fcbe2b16 imgproc: stop approxPolyDP from looping forever on an open curve with an infinite coordinate
For an open curve, a zero epsilon and an infinite segment, eps * segment_len_2 is NaN, so the test that stops splitting a slice was always false and the slices never got smaller. Write the test so that NaN counts as within the tolerance. Results for finite input are unchanged. Add tests.
2026-11-22 18:02:35 +05:30
..
2026-11-08 14:45:14 -08:00