opencv/modules/imgproc/src
Zhigang Gong 3c85200989 Avoid negative index for a local buffer in Canny.cl.
int pix_per_thr = l_counter / LOCAL_TOTAL + ((lid < mod) ? 1 : 0);
The pix_per_thr * LOCAL_TOTAL may be larger than l_counter.
Thus the index of l_stack may be negative which may cause serious
problems. Let's skip the loop when we get negative index and we need
to add back the lcounter to keep its balance and avoid potential
negative counter.

Signed-off-by: Zhigang Gong <zhigang.gong@intel.com>
2015-05-26 08:48:05 +08:00
..
opencl Avoid negative index for a local buffer in Canny.cl. 2015-05-26 08:48:05 +08:00
_geom.h
accum.cpp used popcnt 2015-01-12 10:59:30 +03:00
approx.cpp
blend.cpp
canny.cpp Merge pull request #3583 from oresths:tbb_canny 2015-03-04 10:49:27 +00:00
clahe.cpp Remove deprecated methods from cv::Algorithm 2015-02-16 15:28:54 +03:00
color.cpp move tegra namespace out of cv to prevent conflicts 2015-02-27 12:52:11 +03:00
colormap.cpp Added color map similar to Matlab's new default color map 'parula'. 2015-05-13 17:34:14 +02:00
connectedcomponents.cpp Several type of formal refactoring: 2014-08-13 15:21:35 +04:00
contours.cpp typos in comments 2015-05-23 17:36:45 +02:00
convhull.cpp Several type of formal refactoring: 2014-08-13 15:21:35 +04:00
corner.cpp move tegra namespace out of cv to prevent conflicts 2015-02-27 12:52:11 +03:00
cornersubpix.cpp Several type of formal refactoring: 2014-08-13 15:21:35 +04:00
demosaicing.cpp used popcnt 2015-01-12 10:59:30 +03:00
deriv.cpp move tegra namespace out of cv to prevent conflicts 2015-02-27 12:52:11 +03:00
distransform.cpp Implementation detector and selector for IPP and OpenCL; 2014-10-15 14:24:41 +04:00
drawing.cpp fixed http://code.opencv.org/issues/4276 - set drawing thickness limit to 32767 2015-05-13 18:54:25 +02:00
emd.cpp initialize the output flow in EMD (thanks to Daniel DeMenthon for the bug report) 2015-03-26 16:26:41 +03:00
featureselect.cpp Don't process empty src image in GFTT 2014-10-28 16:06:36 +03:00
filter.cpp some fixes from http://code.opencv.org/issues/3733 2015-05-13 22:00:02 +03:00
filterengine.hpp typos in comments 2015-05-23 17:36:45 +02:00
floodfill.cpp TIFF loader: Allocate large enough buffer when (bpp * ncn) > 8. 2015-05-24 14:06:33 +02:00
gabor.cpp
gcgraph.hpp
generalized_hough.cpp
geometry.cpp Several type of formal refactoring: 2014-08-13 15:21:35 +04:00
grabcut.cpp
hershey_fonts.cpp removed optim module; moved its functionality to core and photo modules; moved drawing functions from core to imgproc. Removed FilterEngine etc. from public API 2014-08-14 12:50:07 +04:00
histogram.cpp compareHist 2015-01-12 10:59:31 +03:00
hough.cpp Removed check on limits. A common use of HoughLines would be to restrict theta to be between a small negative number and a small positive number, e.g. -pi/16 to pi/16. This wasn't possible with the previous checks. 2015-03-13 17:04:13 -07:00
imgwarp.cpp fixed compile warnings on Linux and Windows 2015-05-14 16:42:51 +03:00
intersection.cpp
linefit.cpp
lsd.cpp Improved documentation and method comment to clarify that LineSegmentDetector::detect method accepts both Vec4i and Vec4f as return vector. 2015-01-20 17:05:57 +01:00
matchcontours.cpp
min_enclosing_triangle.cpp
moments.cpp Implementation detector and selector for IPP and OpenCL; 2014-10-15 14:24:41 +04:00
morph.cpp Fix for Bug4243. Made changes relating to non OpenCL devices 2015-04-16 00:22:08 +05:30
phasecorr.cpp Several type of formal refactoring: 2014-08-13 15:21:35 +04:00
precomp.hpp removed optim module; moved its functionality to core and photo modules; moved drawing functions from core to imgproc. Removed FilterEngine etc. from public API 2014-08-14 12:50:07 +04:00
pyramids.cpp move tegra namespace out of cv to prevent conflicts 2015-02-27 12:52:11 +03:00
rotcalipers.cpp Several type of formal refactoring: 2014-08-13 15:21:35 +04:00
samplers.cpp Implementation detector and selector for IPP and OpenCL; 2014-10-15 14:24:41 +04:00
segmentation.cpp Update segmentation.cpp 2014-12-11 17:36:36 +01:00
shapedescr.cpp Change condition on parallel ellipse case so can only calculate t if necessary 2015-04-18 13:51:32 -04:00
smooth.cpp Cast some image coordinates and sizes to double. 2015-04-25 18:54:53 +02:00
subdivision2d.cpp
sumpixels.cpp used popcnt 2015-01-12 10:59:30 +03:00
tables.cpp
templmatch.cpp move tegra namespace out of cv to prevent conflicts 2015-02-27 12:52:11 +03:00
thresh.cpp move tegra namespace out of cv to prevent conflicts 2015-02-27 12:52:11 +03:00
undistort.cpp multiple yet minor fixes to make most of the tests pass on Mac with Iris graphics 2014-08-16 00:29:10 +04:00
utils.cpp