opencv/modules/imgproc/src
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
..
opencl imgproc: align GaussianBlur/sepFilter2D OpenCL with CPU version 2020-07-08 15:13:48 +00:00
_geom.h
accum.cpp
accum.dispatch.cpp
accum.simd.hpp Merge pull request #15527 from everton1984:faster_acc 2019-10-11 18:32:59 +03:00
approx.cpp Fix spelling typos 2019-12-27 12:46:53 +00:00
bilateral_filter.dispatch.cpp imgproc: add src.empty() checks in filter operations 2020-03-20 21:04:29 +00:00
bilateral_filter.simd.hpp
blend.cpp
box_filter.dispatch.cpp imgproc: add src.empty() checks in filter operations 2020-03-20 21:04:29 +00:00
box_filter.simd.hpp
canny.cpp
ccl_bolelli_forest_firstline.inc.hpp Merge pull request #19631 from prittt:sota-ccl 2021-02-27 17:27:24 +00:00
ccl_bolelli_forest_lastline.inc.hpp Merge pull request #19631 from prittt:sota-ccl 2021-02-27 17:27:24 +00:00
ccl_bolelli_forest_singleline.inc.hpp Merge pull request #19631 from prittt:sota-ccl 2021-02-27 17:27:24 +00:00
ccl_bolelli_forest.inc.hpp Merge pull request #19631 from prittt:sota-ccl 2021-02-27 17:27:24 +00:00
clahe.cpp Move big objects (>20k) from stack to heap. 2020-12-17 09:36:51 +01:00
color_hsv.dispatch.cpp
color_hsv.simd.hpp
color_lab.cpp Merge pull request #19883 from jondea:arm-neon-optimised-color-lab-3.4 2021-05-28 14:20:26 +00:00
color_rgb.dispatch.cpp
color_rgb.simd.hpp
color_yuv.dispatch.cpp imgproc: add missing check into cvtColorTwoPlane() 2020-07-16 20:01:44 +00:00
color_yuv.simd.hpp Fix the build of imgproc using MinGW (variables with the same name as symbols defined in MinGW headers) 2020-06-18 20:13:34 +00:00
color.cpp
color.hpp Added YUV conversion fix 2020-12-18 21:40:32 +03:00
color.simd_helpers.hpp
colormap.cpp add DeepGreen colormap 2020-05-12 15:24:32 +03:00
connectedcomponents.cpp Merge pull request #19631 from prittt:sota-ccl 2021-02-27 17:27:24 +00:00
contours.cpp Merge pull request #19951 from stal12:3.4 2021-04-22 18:20:12 +00:00
convhull.cpp Merge pull request #16594 from vpisarev:hull_ordering_fix 2020-02-21 18:18:24 +03:00
corner.avx.cpp Merge pull request #16236 from alalek:fix_core_simd_emulator 2020-01-10 21:31:02 +03:00
corner.cpp
corner.hpp
cornersubpix.cpp
demosaicing.cpp Update demosaicing.cpp 2020-10-16 11:15:42 +00:00
deriv.cpp imgproc: add src.empty() checks in filter operations 2020-03-20 21:04:29 +00:00
distransform.cpp imgproc(IPP): disable ippiDistanceTransform_3x3_8u32f_C1R 2019-11-13 14:14:19 +03:00
drawing.cpp fixed fillPoly, the overloaded variant with InputArrayOfArrays parameter (single or multiple polygons) 2020-05-28 21:36:28 +03:00
emd.cpp
featureselect.cpp
filter.dispatch.cpp imgproc: align GaussianBlur/sepFilter2D OpenCL with CPU version 2020-07-08 15:13:48 +00:00
filter.hpp imgproc: align GaussianBlur/sepFilter2D OpenCL with CPU version 2020-07-08 15:13:48 +00:00
filter.simd.hpp
filterengine.hpp
fixedpoint.inl.hpp Merge pull request #18167 from Yosshi999:bit-exact-gaussian 2020-09-01 10:28:25 +00:00
floodfill.cpp
gabor.cpp
gcgraph.hpp calib3d/imgproc: add GCGraph::maxFlow() missing empty checks 2020-10-02 05:15:20 +00:00
generalized_hough.cpp
geometry.cpp
grabcut.cpp
hal_replacement.hpp
hershey_fonts.cpp
histogram.cpp imgproc: add parameter checks in calcHist and calcBackProj 2019-12-10 16:10:19 +03:00
hough.cpp
imgwarp.avx2.cpp
imgwarp.cpp delete unused variable 2021-04-02 10:30:27 +08:00
imgwarp.hpp
imgwarp.sse4_1.cpp
intersection.cpp Merge pull request #19842 from gasparitiago:3.4 2021-06-12 23:28:54 +03:00
linefit.cpp
lsd.cpp
main.cpp
matchcontours.cpp
median_blur.dispatch.cpp imgproc: add src.empty() checks in filter operations 2020-03-20 21:04:29 +00:00
median_blur.simd.hpp
min_enclosing_triangle.cpp
moments.cpp Merge pull request #15828 from ChipKerchner:momentsToHal 2019-11-05 18:52:35 +03:00
morph.dispatch.cpp imgproc: add src.empty() checks in filter operations 2020-03-20 21:04:29 +00:00
morph.simd.hpp
phasecorr.cpp Merge pull request #20102 from yo1990:master 2021-05-29 17:43:21 +03:00
precomp.hpp
pyramids.cpp Move big objects (>20k) from stack to heap. 2020-12-17 09:36:51 +01:00
resize.avx2.cpp imgproc(resize): drop unused 'pix_size4' 2020-03-29 02:41:50 +00:00
resize.cpp Merge pull request #18053 from Yosshi999:bit-exact-resizeNN 2020-08-28 21:20:05 +03:00
resize.hpp imgproc(resize): drop unused 'pix_size4' 2020-03-29 02:41:50 +00:00
resize.sse4_1.cpp imgproc(resize): drop unused 'pix_size4' 2020-03-29 02:41:50 +00:00
rotcalipers.cpp imgproc: fix minAreaRect() 2020-12-10 08:57:58 +00:00
samplers.cpp
segmentation.cpp
shapedescr.cpp Merge pull request #17417 from vpisarev:fix_fitellipse 2020-06-01 18:01:20 +00:00
smooth.dispatch.cpp Merge pull request #18167 from Yosshi999:bit-exact-gaussian 2020-09-01 10:28:25 +00:00
smooth.simd.hpp fix data overflow problem in GaussianBlur 2021-05-21 15:17:20 +08:00
spatialgradient.cpp
subdivision2d.cpp removed no-affect variable 2020-10-02 09:27:16 +05:30
sumpixels.avx512_skx.hpp imgproc: dispatch sumpixels (integral) 2020-01-17 16:54:29 +03:00
sumpixels.dispatch.cpp fix files permissions 2020-04-13 04:29:55 +00:00
sumpixels.simd.hpp Merge pull request #16731 from alalek:issue_16708 2020-03-04 19:28:04 +00:00
tables.cpp
templmatch.cpp address template matching sqdiff bug 2021-04-25 22:17:07 -04:00
thresh.cpp Merge pull request #16085 from alalek:imgproc_threshold_to_zero_ipp_bug 2019-12-09 14:51:02 +03:00
undistort.dispatch.cpp
undistort.simd.hpp
utils.cpp