Wenju He
67ca143a0b
fix adaptiveThreshold mean
2015-08-06 10:23:31 +08:00
Vadim Pisarevsky
4a2aad5bba
Merge pull request #4149 from LaurentBerger:ThreshGaussianFloat
2015-08-05 17:25:01 +00:00
LaurentBerger
ca0114228c
In adaptiveThreshold ADAPTIVE_THRES_GAUSSIAN_C gaussianBlur is computed using float
...
number
2015-06-25 07:51:06 +02:00
Pavel Vlasov
101607a7d0
Imgproc_Hist_MinMaxVal.accuracy fix;
...
Some code style corrections;
2015-06-24 13:50:17 +03:00
LaurentBerger
56b2b450ce
A new constant in adaptivethreshold is created to calculate
...
gaussianBlur with CV_32F. hence rouding error are avoided
2015-06-22 22:21:30 +02:00
Dmitry Budnikov
a5a21019b2
ipp_countNonZero build fix;
...
Removed IPP port for tiny arithm.cpp functions
Additional warnings fix on various platforms.
Build without OPENCL and GCC warnings fixed
Fixed warnings, trailing spaces and removed unused secure_cpy.
IPP code refactored.
IPP code path implemented as separate static functions to simplify future work with IPP code and make it more readable.
2015-06-18 12:47:07 +03:00
Vladislav Vinogradov
cda6fed41f
move tegra namespace out of cv to prevent conflicts
2015-02-27 12:52:11 +03:00
Vladislav Vinogradov
44e41baffe
use new functions before all tegra:: calls
2015-02-26 19:34:58 +03:00
Miroslav Benes
4046f0398a
Make Otsu and Triangle algorithms mutually exclusive
...
Make Otsu and Triangle algorithms mutually exclusive in cv::threshold code.
Signed-off-by: Miroslav Benes <mbenes@suse.cz>
2014-11-05 16:04:26 +01:00
Miroslav Benes
5b1fd739d9
Add Triangle thresholding algorithm
...
Add Triangle method for automatic threshold computation next to the existing
Otsu's method. Triangle deals better with images whose histogram does not
contain dominant peak.
See paper Zack GW, Rogers WE, Latt SA.: Automatic measurement of sister
chromatid exchange frequency. J Histochem Cytochem. 1977 Jul;25(7):741-53.
2014-10-22 16:54:39 +02:00
Pavel Vlasov
45958eaabc
Implementation detector and selector for IPP and OpenCL;
...
IPP can be switched on and off on runtime;
Optional implementation collector was added (switched off by default in CMake). Gathers data of implementation used in functions and report this info through performance TS;
TS modifications for implementations control;
2014-10-15 14:24:41 +04:00
Ilya Lavrenov
09fbc78a97
cv::threshold
2014-09-26 13:16:48 +00:00
Alexander Karsakov
8760a344ec
Fixed incorrect pointer conversion for in-place threshold
2014-08-14 11:02:55 +04:00
Adil Ibragimov
8a4a1bb018
Several type of formal refactoring:
...
1. someMatrix.data -> someMatrix.prt()
2. someMatrix.data + someMatrix.step * lineIndex -> someMatrix.ptr( lineIndex )
3. (SomeType*) someMatrix.data -> someMatrix.ptr<SomeType>()
4. someMatrix.data -> !someMatrix.empty() ( or !someMatrix.data -> someMatrix.empty() ) in logical expressions
2014-08-13 15:21:35 +04:00
Alexander Alekhin
55188fe991
world fix
2014-08-05 20:12:35 +04:00
Alexander Karsakov
8ecb8c6a3d
Optimized memory access by using stride pattern
2014-05-16 10:22:03 +04:00
Alexander Karsakov
4612b4b827
Added clamp() for THRESH_TRUNC mode
2014-05-13 15:21:47 +04:00
Ilya Lavrenov
11b01cd8b9
added ipp threshold inplace
2014-05-08 13:51:25 +04:00
Alexander Alekhin
b62e59aac0
icv: enable functions
2014-04-29 15:36:43 +04:00
Alexander Karsakov
7bd9b2ac26
Added setIppErrorStatus()
2014-04-25 20:24:37 +04:00
Alexander Karsakov
232c37e827
Added ippiComputeThreshold_Otsu to cv::threshold
2014-04-25 17:31:45 +04:00
Ilya Lavrenov
ce0941160e
added status check
2014-04-17 11:08:02 +04:00
Alexander Alekhin
ab691a4a24
ipp: some functions are not available in the ICV package #2
2014-04-09 18:20:49 +04:00
Alexander Karsakov
35494f81ef
Added ippiThreshold to cv::threshold
2014-04-09 11:41:35 +04:00
Ilya Lavrenov
f138b613b7
cv::compare
2014-03-12 13:16:33 +04:00
Ilya Lavrenov
2755ae5df9
experiments
2014-03-11 23:03:55 +04:00
Ilya Lavrenov
78c2b3ca2a
refactored imgproc
2014-01-27 18:47:16 +04:00
Ilya Lavrenov
e2b99a32b2
added cv::threshold to T-API
2013-12-04 13:45:44 +04:00
Vadim Pisarevsky
06f4a56469
converted flood fill, getrectsubpix & cornersubpix to C++
2013-02-11 23:49:10 +04:00
OpenCV Buildbot
81f826db2b
Normalize line endings and whitespace
2012-10-17 15:57:49 +04:00
Vadim Pisarevsky
354a5f2686
added recommended number of stripes to parallel_for_, modified some of the functions to use larger stripes (for better performance)
2012-10-11 22:37:14 +04:00
Vadim Pisarevsky
e625d86485
added C= support; modified threading logic in threshold
2012-10-10 15:36:32 +04:00
Vadim Pisarevsky
044d38a051
expanded cv::threshold parallelization to other threading frameworks; fixed potential bug with unprocessed bottom of the image; fixed build problem in stitching
2012-10-09 22:38:04 +04:00
Andrey Kamaev
913d4541a5
Reduced some tegra stubs
2012-06-14 14:09:04 +00:00
Alexander Kapustin
018d85dddb
New Tegra Optimized thresh_16s and thresh_32f functions were added
2012-06-08 08:49:59 +00:00
Vadim Pisarevsky
4985c1b632
fixed hundreds of warnings from MSVC 2010.
2012-03-16 21:21:04 +00:00
Victoria Zhislina
0630e7010e
CV_USE_UNROLLED for imgproc
2012-02-21 11:31:23 +00:00
Anatoly Baksheev
84db4eb6fa
fixed ~200 warnings for windows
...
minor build system changes (now cuda code in opencv_core is compiled using CUDA_ARCH* cmake variables)
2012-02-14 10:22:34 +00:00
Kirill Kornyakov
694ea8e0c8
Added threaded versions (enabled only for Tegra at the moment) of threshold, erode/dilate. Slighlty restructured the code of medianBlur.
2012-01-06 14:29:31 +00:00
Vadim Pisarevsky
3dafdd6a79
added 16s support to cv::threshold.
2011-11-22 15:16:45 +00:00
Vadim Pisarevsky
6407093463
extended Mat::setTo() to support multi-channel arrays; fixed bug #1095
2011-06-13 20:56:27 +00:00
Vadim Pisarevsky
0c877f62e9
replaced "const InputArray&" => "InputArray"; made InputArray and OutputArray references. added "None()" constant (no array()).
2011-06-06 14:51:27 +00:00
Andrey Kamaev
cdda5ec491
YUV420i to RGB conversion is added to cvtColor
2011-06-04 18:15:52 +00:00
Andrey Kamaev
dce5bf4921
Tegra optimization of cv::threshold
2011-05-30 13:12:01 +00:00
Andrey Kamaev
058b761a46
cv:threshold optimization for Tegra
2011-05-12 15:22:55 +00:00
Vadim Pisarevsky
abeeb40d46
a big patch; use special proxy types (Input/OutputArray, Input/OutputArrayOfArrays) for passing in vectors, matrices etc.
2011-04-17 13:14:45 +00:00
Vadim Pisarevsky
b5f366fb70
fixed possible overflow in getThreshVal_Otsu_8u (ticket #602 )
2010-11-04 12:38:27 +00:00
Vadim Pisarevsky
89f64681d0
fixed several warnings; modified size comparison: m1.size() == m2.size() => m1.size == m2.size
2010-10-20 12:34:59 +00:00
Vadim Pisarevsky
127d6649a1
"atomic bomb" commit. Reorganized OpenCV directory structure
2010-05-11 17:44:00 +00:00