opencv/modules/imgproc/test
Tiago De Gaspari 3cf4375387
Merge pull request #19842 from gasparitiago:3.4
Update rotatedRectangleIntersection function to calculate near to origin

* Change type used in points function from RotatedRect

In the function that sets the points of a RotatedRect, the types

should be double in order to keep the precision when dealing with
RotatedRects that are defined far from the origin.

This commit solves the problem in some assertions from
rotatedRectangleIntersection when dealing with rectangles far from
origin.

* added proper type casts

* Update rotatedRectangleIntersection function to calculate near to origin

This commit changes the rotatedRectangleIntersection function in order
to calculate the intersection of two rectangles considering that they
are shifted near the coordinates origin (0, 0).

This commit solves the problem in some assertions from
rotatedRectangleIntersection when dealing with rectangles far from
origin.

* Revert type changes in types.cpp and adequate code to c++98

* Revert unnecessary casts on types.cpp

Co-authored-by: Vadim Pisarevsky <vadim.pisarevsky@gmail.com>
2021-06-12 23:28:54 +03:00
..
ocl Relax accuracy requirements in the OpenCL sqrt perf arithmetic test. 2021-04-06 17:32:48 +01:00
test_approxpoly.cpp Fix spelling typos 2019-12-27 12:46:53 +00:00
test_bilateral_filter.cpp ts: refactor OpenCV tests 2018-02-03 19:39:47 +00:00
test_boundingrect.cpp build: unreachable code after CV_Error() (part 2) 2018-04-24 16:03:40 +03:00
test_canny.cpp Fix modules/ typos 2019-08-16 17:34:29 +03:00
test_color.cpp imgproc: add missing check into cvtColorTwoPlane() 2020-07-16 20:01:44 +00:00
test_connectedcomponents.cpp Merge pull request #19631 from prittt:sota-ccl 2021-02-27 17:27:24 +00:00
test_contours.cpp Merge pull request #19951 from stal12:3.4 2021-04-22 18:20:12 +00:00
test_convhull.cpp imgproc: fix minAreaRect() 2020-12-10 08:57:58 +00:00
test_cvtyuv.cpp Merge pull request #12971 from sturkmen72:upd_imgproc_hpp 2018-10-31 18:08:24 +03:00
test_distancetransform.cpp don't use constructors for C API structures 2018-09-06 14:34:16 +03:00
test_drawing.cpp ts: cvtest::debugLevel / --test_debug=<N> option 2020-11-28 13:13:28 +00:00
test_emd.cpp ts: refactor OpenCV tests 2018-02-03 19:39:47 +00:00
test_filter.cpp imgproc: add src.empty() checks in filter operations 2020-03-20 21:04:29 +00:00
test_fitellipse_ams.cpp ts: refactor OpenCV tests 2018-02-03 19:39:47 +00:00
test_fitellipse_direct.cpp ts: refactor OpenCV tests 2018-02-03 19:39:47 +00:00
test_fitellipse.cpp Merge pull request #17417 from vpisarev:fix_fitellipse 2020-06-01 18:01:20 +00:00
test_floodfill.cpp don't use constructors for C API structures 2018-09-06 14:34:16 +03:00
test_goodfeaturetotrack.cpp Merge pull request #12971 from sturkmen72:upd_imgproc_hpp 2018-10-31 18:08:24 +03:00
test_grabcut.cpp Check for empty Mat in compare, operator= and RNG::fill, fixed related tests 2018-07-17 17:50:50 +03:00
test_histograms.cpp Merge pull request #16608 from vpisarev:fix_mac_ocl_tests 2020-02-21 16:13:41 +03:00
test_houghcircles.cpp Merge pull request #11108 from take1014:hough_4303 2018-05-23 20:42:12 +00:00
test_houghlines.cpp Merge pull request #11108 from take1014:hough_4303 2018-05-23 20:42:12 +00:00
test_imgproc_umat.cpp ts: refactor OpenCV tests 2018-02-03 19:39:47 +00:00
test_imgwarp_strict.cpp change area() emptiness checks to empty() 2018-10-13 21:35:10 +02:00
test_imgwarp.cpp imgproc(warpAffine): avoid buffer indexes overflow in SIMD code 2021-02-25 20:16:50 +00:00
test_intersectconvexconvex.cpp imgproc: fixed bug from intersectConvexConvex 2019-05-01 11:06:30 +02:00
test_intersection.cpp Merge pull request #19842 from gasparitiago:3.4 2021-06-12 23:28:54 +03:00
test_lsd.cpp imgproc: removed LSD code due original code license conflict 2019-03-01 16:25:39 +03:00
test_main.cpp ts: refactor OpenCV tests 2018-02-03 19:39:47 +00:00
test_moments.cpp don't use constructors for C API structures 2018-09-06 14:34:16 +03:00
test_pc.cpp Merge pull request #20103 from thezane:make-div-spectrums-public 2021-05-19 12:14:11 +03:00
test_precomp.hpp ts: refactor OpenCV tests 2018-02-03 19:39:47 +00:00
test_resize_bitexact.cpp Merge pull request #18053 from Yosshi999:bit-exact-resizeNN 2020-08-28 21:20:05 +03:00
test_smooth_bitexact.cpp fix data overflow problem in GaussianBlur 2021-05-21 15:17:20 +08:00
test_subdivision2d.cpp resolve #5788 2018-08-31 00:59:00 +09:00
test_templmatch.cpp address template matching sqdiff bug 2021-04-25 22:17:07 -04:00
test_thresh.cpp Merge pull request #16085 from alalek:imgproc_threshold_to_zero_ipp_bug 2019-12-09 14:51:02 +03:00
test_watershed.cpp Fix some typos 2019-11-26 18:41:19 +03:00