opencv/modules/imgproc
Vincent Rabaud 542b3e8a64 Fix harmless signed integer overflow.
When computing:
t1 = (bayer[1] + bayer[bayer_step] + bayer[bayer_step+2] + bayer[bayer_step*2+1])*G2Y;
there is a T (unsigned short or char) multiplied by an int which can overflow.
Then again, it is stored to t1 which is unsigned so the overflow disappears.
Keeping all unsigned is safer.
2021-12-13 23:43:49 +01:00
..
doc Add conventional Bayer naming. 2021-11-02 20:17:57 +01:00
include/opencv2 Merge pull request #21030 from tv3141:fix_seg_fault_houghlinespointset 2021-11-10 22:15:38 +03:00
misc/java imgproc: fix minAreaRect() 2020-12-10 08:57:58 +00:00
perf Relax accuracy requirements in the OpenCL sqrt perf arithmetic test. 2021-04-06 17:32:48 +01:00
src Fix harmless signed integer overflow. 2021-12-13 23:43:49 +01:00
test Merge pull request #21193 from alalek:imgproc_test_bitexact_cvtcolor_yuv 2021-12-10 16:11:06 +00:00
CMakeLists.txt imgproc: enable GaussianBlur IPP parallel processing 2020-05-17 11:40:34 +00:00