Vadim Pisarevsky
c99097f89a
Merge pull request #7478 from terfendail:ovx_boxfilter
2016-12-01 17:57:46 +00:00
Vitaly Tuzov
6d55e99291
Added OpenVX based processing to boxFilter
2016-11-30 11:27:25 +03:00
Vitaly Tuzov
9200db778c
Added OpenVX based processing to medianBlur
2016-11-29 15:32:07 +03:00
Alexander Alekhin
f1d93cb23b
Merge pull request #7624 from pengli:gaussian_blur
2016-11-09 09:25:25 +00:00
Pavel Vlasov
349d5ba012
--perf_instrument parameter now has int type and 0, 1, 2 modes (1 - simple trees, 2 - expanded trees for functions with same name but different calling address);
...
Maximum depth limit var was added to the instrumentation structure;
Trace names output console output fix: improper tree formatting could happen;
Output in case of error was added;
Custom regions improvements;
Improved timing and weight calculation for parallel regions; New TC (threads counter) value to indicate how many different threads accessed particular node;
parallel_for, warnings fixes and ReturnAddress code from Alexander Alekhin;
2016-11-08 10:18:05 +03:00
Li Peng
8f63f51e81
gaussian blur ocl kernel optimization
...
This ocl kernel is for 3x3 kernel size and CV_8UC1 format
It is 115% ~ 300% faster than current ocl path in perf test
python ./modules/ts/misc/run.py -t imgproc --gtest_filter=OCL_GaussianBlurFixture*
Signed-off-by: Li Peng <peng.li@intel.com>
2016-11-08 11:22:26 +08:00
Vadim Pisarevsky
2b7866f21b
Merge pull request #7503 from pengli:box_filter_v2
2016-10-29 21:20:06 +00:00
Pavel Vlasov
f07525031b
BORDER_ISOLATED support for Laplacian, boxFilter and morphology;
2016-10-27 09:53:19 +03:00
Li Peng
3607da9f6b
ocl kernel performance optimization for box filter
...
The optimization is for CV_8UC1 format and 3x3 box filter,
it is 15%~87% faster than current ocl kernel with below perf test
./modules/ts/misc/run.py -t imgproc --gtest_filter=OCL_BlurFixture*
Also add test cases for this ocl kernel.
Signed-off-by: Li Peng <peng.li@intel.com>
2016-10-26 11:56:11 +08:00
Alexander Alekhin
c66efd05fa
imgproc: use target type for calculations
...
reduce scope of "i" variable
2016-09-22 15:14:59 +03:00
Vadim Pisarevsky
a9ab869800
seriously improved performance of blur function, especially 3x3 and 5x5 cases ( #7262 )
...
* seriously improved performance of blur function, especially 3x3 and 5x5 cases
* trying to fix warnings and test failures
* replaced #if 0 with #if IPP_DISABLE_BLOCK
2016-09-09 23:31:02 +04:00
Pavel Vlasov
30a6cee2fe
Instrumentation for OpenCV API regions and IPP functions;
2016-08-19 18:10:03 +03:00
Pavel Vlasov
680ca88ce0
Outdated ICV restrictions were removed;
2016-08-19 15:08:39 +03:00
Alexander Alekhin
2812762d6b
imgproc: disable IPP for GaussianBlur in case of ROI
2016-08-05 12:27:18 +03:00
matze
37cccf17c0
imgproc: Prefer OCL calculation before IPP in GaussianBlur.
2016-08-05 12:27:16 +03:00
Tomoaki Teshima
b436f4b995
accelerate bilateralFilter using NEON
...
* clean up some lines
2016-07-20 08:28:49 +09:00
Vitaly Tuzov
c61f7e5334
Fix for median blur of 2-channel images
2016-07-08 12:03:28 +03:00
Tomoaki Teshima
78a5aacb22
make NEON more similart to SSE2
2016-06-29 12:11:10 +09:00
Maksim Shabunin
27abd4d3a3
Filter2D HAL interface
2016-03-03 18:56:12 +03:00
Florent
056a111788
Fixed histogram substraction bug with NEON instructions (arguments in wrong order).
2015-12-08 09:48:17 +03:00
Vadim Pisarevsky
b2f6aedec9
Merge pull request #5587 from lupustr3:pvlasov/ipp_cond_update
2015-11-02 11:38:02 +00:00
Vadim Pisarevsky
00f222a9b4
Merge pull request #5598 from ajbernal:ocl_bilateral_bugfix
2015-11-02 11:22:25 +00:00
Ariel Bernal
cc903d0605
Fix for #5590 . OpenCL BilateralFilter implementation failes to
...
build for some OCL drivers.
Some OCL vendors treat implicit scalar-vector conversions for
operators as errors when type conversion is required.
2015-10-30 09:39:11 -07:00
Pavel Vlasov
5ae3693567
Condition update for 8u IPP in GaussianBlur. Bug was fixed in 9.0.1;
2015-10-29 13:21:13 +03:00
Maksim Shabunin
6e9d0d9a0c
Visual Studio 2015 warning and test fixes
2015-10-20 12:48:37 +03:00
Pavel Vlasov
89eee6ca99
Fixes for IPP integration:
...
dotProd_16s - disabled for IPP 9.0.0;
filter2D - fixed kernel preparation;
morphology - conditions fix and disabled FilterMin and FilterMax for IPP 9.0.0;
GaussianBlur - disabled for CV_8UC1 due to buffer overflow;
integral - disabled for IPP 9.0.0;
IppAutoBuffer class was added;
2015-10-12 10:51:28 +03:00
Pavel Vlasov
14b006e808
IPP_VERSION_X100 was changed to:
...
IPP_VERSION_MAJOR * 100 + IPP_VERSION_MINOR*10 + IPP_VERSION_UPDATE
to manage changes between updates more easily.
IPP_DISABLE_BLOCK was added to ease tracking of disabled IPP functions;
2015-09-25 17:50:15 +03:00
Pavel Vlasov
2177c7c5a8
Some IPP functions were encapsulated;
...
Minor changes to IPP implementations;
2015-09-25 17:30:26 +03: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
Mansour Moufid
b99f7a29df
Cast some image coordinates and sizes to double.
...
Conflicts:
modules/gpu/perf/perf_imgproc.cpp
Cast a long integer to double explicitly.
Conflicts:
modules/python/src2/cv2.cpp
Cast some matrix sizes to type int.
Change some vector mask types to unsigned.
Conflicts:
modules/core/src/arithm.cpp
2015-04-25 18:54:53 +02:00
Ilya Lavrenov
cf4c79ebdd
disabled some kernels for Android && NVidia
2015-03-04 14:46:49 +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
Vadim Pisarevsky
03fc3d1ceb
Merge pull request #3591 from ilya-lavrenov:sse_avx
2015-01-21 10:46:23 +00:00
Ilya Lavrenov
e9a6c5db21
sqsum
2015-01-20 21:10:06 +03:00
Alexander Smorkalov
1fa37fe733
OpenCV for Tegra compilation fix for
...
- Gaussian blur;
- CascadeClassifier;
- Blenders in stitching module;
- Laplacial pyromids in stitching module.
2015-01-12 23:43:26 +03:00
Ilya Lavrenov
b2f851af06
cornerMinEigenVal
2015-01-12 10:59:30 +03:00
Ilya Lavrenov
fc0869735d
used popcnt
2015-01-12 10:59:30 +03:00
Ilya Lavrenov
bfb45b27e6
column sum 32s
2015-01-12 10:59:29 +03:00
Alexander Alekhin
58e054a003
IPPICV: disable boxFilter 16SC1/16UC1 (performance)
2014-11-05 13:26:23 +03: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
81548a30aa
cv::medianBLur
2014-09-30 07:59:33 +00:00
Ilya Lavrenov
8e1ccfae3d
cv::boxFilter
2014-09-29 13:54:31 -07:00
Alexander Mordvintsev
0319120adc
fix: ippiFilterMedianBorder sometimes crash when doing in-place filtering
2014-09-17 13:26:39 +04:00
Elena Gvozdeva
7ad6b47bc9
fixed ocl_boxFilter
2014-08-22 10:31:13 +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 Karsakov
b4d3b34acf
Disabled ippiFilterBoxBorder_* in case maskSize equal roiSize for any dimension
2014-08-12 16:38:11 +04:00
Vadim Pisarevsky
d0137b6d2d
moved part of video to contrib/{outflow, bgsegm}; moved matlab to contrib
2014-08-10 23:24:16 +04:00
Alexander Alekhin
55188fe991
world fix
2014-08-05 20:12:35 +04:00
vbystricky
878dec65c8
Optimize OpenCL version of morfology and box filters for small filter kernels
2014-07-30 10:32:52 +04:00
Ilya Lavrenov
c424d36041
optimized cv::boxFilter
2014-06-16 17:00:10 +04:00
Ilya Lavrenov
0b2cafb08b
bixed cv::boxFilter
2014-06-09 17:09:44 +04:00
Alexander Alekhin
a42259421c
Merge pull request #2794 from mletavin:pullreq/140516-median
2014-06-04 16:36:37 +04:00
mletavin
e224e72bbc
Added condition to use optimized kernels for images of size that multiple of 4 only
2014-06-02 15:58:59 +04:00
mletavin
68883775fb
Adding explicit variable conversion in ocl_medianFilter() to suppress build errors on Linux & Mac
2014-05-28 13:30:50 +04:00
mletavin
df9c75b270
Moved new kernels under conditional compilation to disable their build for 3-channel images; added condition to use new kernels only for images that are big enough
2014-05-27 16:16:00 +04:00
mletavin
4a37ac303a
Added new Intel-optimized 3x3 and 5x5 kernels to medianFilter.cl file and corresponding code to host in smooth.cpp
...
Only Intel platform and 1 channel images are supported.
2014-05-26 15:54:18 +04:00
Roman Donchenko
3d7a457c97
Merge remote-tracking branch 'origin/2.4' into merge-2.4
...
Conflicts:
doc/tutorials/introduction/linux_install/linux_install.rst
modules/core/doc/operations_on_arrays.rst
modules/core/include/opencv2/core/core.hpp
modules/core/src/system.cpp
modules/gpu/src/cuda/resize.cu
modules/imgproc/doc/miscellaneous_transformations.rst
modules/imgproc/doc/structural_analysis_and_shape_descriptors.rst
modules/video/src/bgfg_gaussmix2.cpp
2014-05-19 18:39:20 +04:00
thoinvil
ea038436e6
Added condition to 1st test in cv::GaussianBlur
...
Consistent with the test made in cv::boxFilter, it adjusts the kernel size to the source size only if the border is not BORDER_CONSTANT and if BORDER_ISOLATED is set. Otherwise, the source has to be considered possibly in a larger image (i.e. the source being a ROI) in witch the kernel should apply.
2014-05-15 08:40:13 +02:00
Alexander Alekhin
07d5f56707
Merge pull request #2679 from alalek:ippicv_update
2014-05-07 18:24:41 +04:00
Ilya Lavrenov
1ad69aba35
changes sigma in perf tests
2014-05-07 14:59:03 +04:00
Alexander Alekhin
b62e59aac0
icv: enable functions
2014-04-29 15:36:43 +04:00
Alexander Alekhin
5658ba0002
icv: update package
2014-04-29 15:35:27 +04:00
Ilya Lavrenov
55bbca2d09
added more types to cv::GaussianBlur
2014-04-28 13:50:28 +04:00
Andrey Pavlenko
6b986489ec
Merge pull request #2643 from vbystricky:ipp_GaussianBorder
2014-04-22 11:55:06 +04:00
Andrey Pavlenko
7c3d5b056a
Merge pull request #2612 from grkutty:pullreq/140319-bilateral-b
2014-04-22 09:32:39 +04:00
vbystricky
bb12293251
Convert opencv border type to ipp border. Check supported border before call ipp function
2014-04-21 18:32:53 +04:00
Ilya Lavrenov
87eb1b8fcc
fixes in imgproc
2014-04-17 14:51:59 +04:00
Ilya Lavrenov
ce0941160e
added status check
2014-04-17 11:08:02 +04:00
unknown
36d33dd6c2
Review comments
2014-04-14 16:10:11 -07:00
unknown
d2b4ee1e9b
More intendation fixes
2014-04-11 21:44:12 -07:00
unknown
06df383675
Indent fixes
2014-04-11 19:14:01 -07:00
unknown
e032b5f5d5
Resolving conflicts after rebasing from public
2014-04-10 12:28:37 -07:00
Aaron Kunze
b59c517f98
Optimizations to OpenCL bilateral filter.
2014-04-10 12:15:13 -07:00
Alexander Alekhin
ab691a4a24
ipp: some functions are not available in the ICV package #2
2014-04-09 18:20:49 +04:00
Andrey Pavlenko
e6d6a3a85b
Merge pull request #2586 from ilya-lavrenov:ipp_disable
2014-04-09 14:16:25 +04:00
Ilya Lavrenov
c735594178
cv::scaleAdd
2014-04-09 00:12:48 +04:00
Ilya Lavrenov
fd3a6f0db7
cv::blur
2014-04-09 00:11:28 +04:00
Ilya Lavrenov
f2a35d6388
cv::boxFilter
2014-04-09 00:11:28 +04:00
Ilya Lavrenov
c6f208e1c8
cv::medianBlur
2014-04-09 00:11:27 +04:00
Ilya Lavrenov
e090aa07db
disabled some IPP funcs
2014-04-08 22:30:18 +04:00
vbystricky
9828cd6086
Remove defined(HAVE_IPP)
2014-04-08 13:05:23 +04:00
vbystricky
f23134ce01
Add IPP_VERSION_X100 define
2014-04-08 12:43:57 +04:00
vbystricky
7badc85b60
Fix for pullrequest comment
2014-04-07 17:06:02 +04:00
vbystricky
2d54581971
Fix ifdef for IPP version greater 8.1
2014-04-07 16:45:35 +04:00
vbystricky
38913bf5f6
Change all 'ippStsNoErr==' to '0<=', and all 'ippStsNoErr!=' to '0>'
2014-04-07 14:31:34 +04:00
vbystricky
06acb8b0ee
Check 8.1 ipp version for gaussian functions, which not exists in versions before this.
2014-04-07 14:31:32 +04:00
vbystricky
1b3651d8ee
Undo changes ipp to ippicv prefix of function names
2014-04-07 14:30:03 +04:00
vbystricky
aece433b15
Check ippStsNoErr as result of ipp function instead >=0
2014-04-07 14:26:47 +04:00
vbystricky
07e84c635a
Remove unused code
2014-04-07 14:26:45 +04:00
vbystricky
01a66a2938
Prepare codes for ippicv library
2014-04-07 14:24:05 +04:00
Aaron Kunze
ede6d4482b
Optimizations to OpenCL bilateral filter.
2014-03-24 13:35:56 -07:00
Ilya Lavrenov
b6833fdde7
added 3-channels support to cv::medianBlur
2014-03-24 14:32:31 +04:00
Ilya Lavrenov
a51ab99a79
added 3-channels support to cv::filter2D, cv::Laplacian
2014-03-24 14:32:31 +04:00
Ilya Lavrenov
e19c42dded
added 3-channels support to cv::boxFilter, cv::blur, cv::sqrBoxFilter
2014-03-24 14:31:42 +04:00
Ilya Lavrenov
8f5fd44fb2
added 3 channels support to cv::bilateralFilter
...
Conflicts:
modules/imgproc/test/ocl/test_filters.cpp
2014-03-24 14:31:41 +04:00
Andrey Pavlenko
4b31b9cb8c
Merge pull request #2251 from ilya-lavrenov:tapi_sqrboxfilter
2014-02-07 11:33:49 +04:00
Ilya Lavrenov
412468e0ae
added cv::sqrBoxFilter to T-API
2014-02-06 19:19:18 +04:00
Roman Donchenko
2bbda9d225
Merge remote-tracking branch 'origin/2.4' into merge-2.4
...
Conflicts:
modules/cudaimgproc/test/test_color.cpp
modules/dynamicuda/include/opencv2/dynamicuda/dynamicuda.hpp
modules/gpu/perf/perf_imgproc.cpp
modules/gpu/src/imgproc.cpp
modules/gpu/test/test_core.cpp
modules/gpu/test/test_imgproc.cpp
modules/java/generator/src/cpp/VideoCapture.cpp
samples/gpu/performance/CMakeLists.txt
samples/tapi/CMakeLists.txt
2014-02-03 13:23:59 +04:00
Ilya Lavrenov
c01e8e9361
removed ABF
2014-01-31 19:15:40 +04:00