PkLab.net
e03c81d90a
Change image e small fix to cv::ellipse() Doc
2017-02-23 09:10:48 +01:00
Tomoaki Teshima
aec59aba34
suppress warnings
...
- brush up the implementation
2017-02-23 09:11:12 +09:00
Vitaly Tuzov
9a4b5a4545
OpenVX calls updated to use single common OpenVX context per thread
2017-02-21 16:08:23 +03:00
chacha21
afbcc07184
Merge remote-tracking branch 'origin/drawing_performance' into drawing_performance
...
# Conflicts:
# modules/imgproc/src/drawing.cpp
2017-02-21 12:03:15 +01:00
chacha21
91a0270432
try to fix Android compilation
2017-02-21 12:02:23 +01:00
Tomoaki Teshima
64cf206fb5
optimize blend using universal intrinsic
...
- add more channels/depth performance test for blend
2017-02-20 19:09:26 +09:00
Vadim Pisarevsky
9053839282
Merge pull request #8178 from tomoaki0705:addBayer2RGBA
2017-02-16 15:01:49 +00:00
Alexander Alekhin
4c7aa8645a
ocl: validate arguments in KernelArgs constructor
...
- don't use undefined flag=0. It should be CONSTANT instead.
- don't allow 'UMat* m=NULL' argument (except LOCAL/CONSTANT flags).
This case is not handled well to provide NULL __global pointers.
It is better to use '-D' macro defines instead (at least for performance)
2017-02-14 16:10:32 +03:00
Alexander Alekhin
e16227b53c
cmake: support multiple CPU targets
2017-02-13 19:52:59 +03:00
chacha21
16a9407fbf
new try to adapt to iOS build bot
2017-02-11 11:26:55 +01:00
chacha21
e19000a56f
adaptation for iOS buildbot
2017-02-11 11:07:00 +01:00
chacha21
7521bcc32c
comment unused function
...
On MacOS and iOS, the unused opencvBigToHost32 is a warning for buildbot
2017-02-10 22:34:44 +01:00
chacha21
d3a15c625a
do not use GCC_VERSION
2017-02-10 21:58:02 +01:00
chacha21
af746a9269
optimize ICV_HLINE
...
ICV_HLINE is split into several specific cases, according to pixel_size,
to optimize memory copies of the same color components along the line.
2017-02-10 16:26:24 +01:00
Tomoaki Teshima
37be9ddeec
add enum Bayer**2BGRA
...
- let it possible to reach Bayer2BGRA conversion
2017-02-11 00:20:57 +09:00
Vadim Pisarevsky
fb3298f076
Merge pull request #7904 from paroj:initmapfc2
2017-02-08 13:30:15 +00:00
LaurentBerger
b3c1bd788a
Add note about OTSU and TRIANGLE (comment sovrasov)
2017-02-07 10:14:24 +01:00
LaurentBerger
fa4d32f7dd
Solve issue 8136 opencv doc of threshold
2017-02-06 22:49:18 +01:00
LaurentBerger
91e06e7c05
Merge branch 'UserColormap' of https://github.com/LaurentBerger/opencv into UserColormap
2017-02-06 16:50:31 +01:00
LaurentBerger
48e2d38be7
Merge branch 'master' of git://github.com/Opencv/opencv into UserColormap
2017-01-28 11:25:11 +01:00
Alexander Alekhin
ec47a0a6de
build: workaround for missing _mm256_setr_m128 in GCC
2017-01-26 18:39:38 +03:00
Alexander Alekhin
aa5caf83f6
Merge pull request #8072 from tomoaki0705:AVXcorner
2017-01-25 16:10:59 +00:00
Tomoaki Teshima
07979b02c3
optimize corner detection series using AVX instructions
...
- make sure SSE version will be still available for backward compatibility
2017-01-25 22:35:11 +09:00
Tomoaki Teshima
ddca982c09
remove pure SSE part
2017-01-25 22:05:53 +09:00
Tomoaki Teshima
062d2179eb
use universal intrinsic in corner detection series
2017-01-20 19:22:44 +09:00
Alexander Alekhin
5b363df2ae
Merge pull request #8000 from mshabunin:fix-opencl-clahe
2017-01-16 10:01:59 +00:00
Vadim Pisarevsky
10e639cdb9
Merge pull request #7966 from Tetragramm:Issue#4235
2017-01-13 14:24:57 +00:00
mshabunin
8c66531c42
imgproc/CLAHE/ocl: Removed unnecessary __local variable
2017-01-13 16:25:43 +03:00
LaurentBerger
587e9a554e
remove new operator
2017-01-11 16:32:14 +01:00
Tetragramm
7cc0b0f93e
Add case including both moments empty.
2017-01-10 21:38:31 -06:00
LaurentBerger
5e08d588f8
Merge branch 'master' of git://github.com/Opencv/opencv into UserColormap
2017-01-09 10:38:08 +01:00
LaurentBerger
e6f27240d5
dd a note in findcontours doc
2017-01-08 15:24:29 +01:00
Alexander Alekhin
45f0cf0d41
Merge pull request #7959 from alalek:fix_7957
2017-01-06 02:10:06 +00:00
Tetragramm
d33d37ffd9
Add check for all zero moments. If one of the shapes is empty, the match would return zero distance between the shapes even when the other one had content. It now returns DBL_MAX if no moments had value.
2017-01-04 18:38:46 -06:00
Alexander Alekhin
fa36b9d345
imgproc: fix using of uninitialized edge[] members in FillConvexPoly
2017-01-03 22:18:27 +03:00
Lorena García
3650ec02be
HitMiss tutorial
2017-01-03 18:34:04 +01:00
LaurentBerger
a2f3692bff
Merge branch 'master' of git://github.com/Opencv/opencv into UserColormap
2016-12-26 17:03:52 +01:00
Vitaly Tuzov
be7d060ea4
Merge pull request #7802 from terfendail:ovxhal_wrappers_migration
...
* OpenVX HAL updated to use generic OpenVX wrappers
* vxErr class from OpenVX HAL replaced with ivx::WrapperError
* reduced usage of vxImage class from OpenVX HAL replaced with ivx::Image
* vxImage class rewritten as ivx::Image subclass that calls swapHandle prior release
* Fix OpenVX HAL build
* Fix for review comments
2016-12-21 15:19:06 +02:00
Pavel Rojtberg
40686b5e87
initUndistortRectifyMap: CV_32FC2 is also supported as m1type
2016-12-20 10:22:32 +01:00
Alexander Alekhin
07004a46ca
Merge pull request #7773 from savuor:openvx_harris
2016-12-19 11:39:38 +00:00
Alexander Alekhin
0e4dde1781
Merge pull request #7872 from alalek:merge-2.4
2016-12-16 16:03:14 +02:00
Rostislav Vasilikhin
a2646062b2
ivx::Scalars replaced by immediate values
2016-12-16 15:44:31 +03:00
Rostislav Vasilikhin
1e2ad7e3e3
rewritten for new macro use
2016-12-16 15:44:31 +03:00
Rostislav Vasilikhin
ee77538cf9
disabled due to bad accuracy
2016-12-16 15:44:31 +03:00
Rostislav Vasilikhin
3f1734bbc7
fixed type checks in wrappers; array downloading code simplified
2016-12-16 15:44:31 +03:00
Rostislav Vasilikhin
77f99358df
fix vxCommitArrayRange() call
2016-12-16 15:44:31 +03:00
Rostislav Vasilikhin
5f4112a1cf
added initial version of wrapper for Harris corner detection
2016-12-16 15:44:31 +03:00
Rostislav Vasilikhin
faefbf93bc
Merge pull request #7793 from savuor:openvx_pyrDown
...
OpenVX pyrDown wrappers (#7793 )
* wrappers for vx_pyramid added
* initial version of pyrDown() wrapper added
* disabled for Khronos
* rewritten for new macro use; border mode added to node
2016-12-16 12:48:58 +02:00
Alexander Alekhin
a615d79f2d
Merge pull request #7768 from terfendail:ovx_remap
2016-12-16 10:33:58 +00:00
LaurentBerger
d8fdf9321d
mend
2016-12-15 22:49:37 +01:00
Maksim Shabunin
7d5fd6a800
Merge pull request #7812 from alalek:fix_putText
2016-12-15 13:33:56 +00:00
LaurentBerger
4826d976d6
Suppress warning unused parameter
2016-12-15 10:51:08 +01:00
LaurentBerger
61b9484155
ApplyColorMap can be used with a user colormap
2016-12-15 10:17:05 +01:00
Rostislav Vasilikhin
8b9422a052
OpenVX wrappers rewritten with CV_OVX_RUN, VX_DbgThrow
2016-12-14 17:49:41 +03:00
Vitaly Tuzov
3c5eb513dd
Fixed OpenVX to OpenCV compatibility for NN remap
2016-12-14 16:53:07 +03:00
Vitaly Tuzov
f8b4d28745
Added OpenVX based processing to remap
2016-12-14 16:53:04 +03:00
Vitaly Tuzov
2c89b39eee
Added OpenVX based processing to calcHist
2016-12-13 18:33:02 +03:00
Vladislav Sovrasov
12383a124b
Disable error throwing in convexityDefects when hull is a line or point
2016-12-13 12:28:38 +03:00
apavlenko
3aedc134c2
replacing white noise with fruits picture
2016-12-12 17:55:11 +03:00
apavlenko
a99118c4c7
moving CannyVX test from ocl to cpp file
2016-12-09 15:07:53 +03:00
apavlenko
4246d3667f
disabling again
2016-12-09 14:53:06 +03:00
apavlenko
76c38f0c80
trying to enable canny_vx adding a new test comparing canny_cv vs canny_vx
2016-12-09 14:53:06 +03:00
apavlenko
f3ec56fcee
fixing build errors
2016-12-09 14:53:06 +03:00
apavlenko
541d5b02d9
disabling due to accuracy issues
2016-12-09 14:53:06 +03:00
apavlenko
ccd8031a33
fixing compilation
2016-12-09 14:53:06 +03:00
apavlenko
1e2ddc30b1
Canny via OpenVX, Node wrapper extended (query/set attribute), some naming fixes
2016-12-09 14:53:06 +03:00
Alexander Alekhin
98181e9d7f
imgproc/drawing: minor refactoring in FillConvexPoly
2016-12-08 22:14:32 +03:00
Alexander Alekhin
7e0f1ec00a
test: putText regression garbage test
2016-12-08 22:14:31 +03:00
Alexander Alekhin
bcbe2f123f
test: move more drawing tests
2016-12-08 22:14:30 +03:00
Alexander Alekhin
781ab3d481
test: minor refactoring in test_drawing
2016-12-08 22:14:29 +03:00
Alexander Alekhin
ee265962b2
test: move test_drawing into imgproc module
2016-12-07 22:04:25 +03:00
Li Peng
396921dd23
5x5 gaussian blur optimization
...
Add new 5x5 gaussian blur kernel for CV_8UC1 format,
it is 50% ~ 70% faster than current ocl kernel in the perf test.
Signed-off-by: Li Peng <peng.li@intel.com>
2016-12-06 09:42:37 +08:00
Vadim Pisarevsky
f84dc354f6
Merge pull request #7564 from terfendail:ovx_gaussianfilter
2016-12-02 15:24:03 +00:00
Vitaly Tuzov
afc7396975
Added OpenVX based processing to gaussianBlur
2016-12-02 14:46:12 +03:00
Li Peng
b69cdb2434
Image pyramids upsampling optimization
...
Add new ocl kernel for image pyramids upsampling,
It is 35% faster than current OCL kernel in perf test.
Signed-off-by: Li Peng <peng.li@intel.com>
2016-12-02 13:54:58 +08:00
Vadim Pisarevsky
c99097f89a
Merge pull request #7478 from terfendail:ovx_boxfilter
2016-12-01 17:57:46 +00:00
Vadim Pisarevsky
1d45726f47
Merge pull request #7588 from terfendail:ovx_medianblur
2016-12-01 17:54:34 +00:00
Vadim Pisarevsky
e623e710be
Merge pull request #7597 from terfendail:ovx_threshold
2016-12-01 17:53:38 +00:00
Vadim Pisarevsky
32f48a8d9c
Merge pull request #7631 from savuor:openvx_accumulate
2016-12-01 17:49:18 +00:00
Vadim Pisarevsky
8968318dfc
Merge pull request #7668 from savuor:openvx_equalize_hist
2016-12-01 17:43:44 +00:00
Vitaly Tuzov
6d55e99291
Added OpenVX based processing to boxFilter
2016-11-30 11:27:25 +03:00
Li Peng
2ca5a7e862
more optimization for warpAffine and warpPerspective
...
Add new OpenCL kernels for bicubic interploation, it is 20% faster
than current warp image kernel with bicubic interploation.
Signed-off-by: Li Peng <peng.li@intel.com>
2016-11-30 15:43:41 +08:00
Vadim Pisarevsky
c47267ef7f
Merge pull request #7538 from Tetragramm:CLAHEfix
2016-11-29 16:42:05 +00:00
Vadim Pisarevsky
57aaec1ee8
Merge pull request #7610 from terfendail:ovx_sobel
2016-11-29 16:40:10 +00:00
Rostislav Vasilikhin
0ac934d09a
added OpenVX call to equalizeHist() function
2016-11-29 17:53:47 +03:00
Rostislav Vasilikhin
7c2734ff14
added OpenVX calls to accumulate(), accumulateSquare(), accumulateWeighted()
2016-11-29 17:53:35 +03:00
Vitaly Tuzov
0cd3788624
Added OpenVX based processing to threshold
2016-11-29 15:35:52 +03:00
Vitaly Tuzov
9200db778c
Added OpenVX based processing to medianBlur
2016-11-29 15:32:07 +03:00
Vitaly Tuzov
e8f3469096
Added OpenVX based processing to Sobel
2016-11-29 15:29:00 +03:00
Alexander Alekhin
90b52cd9b8
Merge pull request #7726 from pengli:warp_image
2016-11-29 12:19:18 +00:00
Li Peng
b72d196753
optimization for warpAffine and warpPerspective
...
Add new ocl kernels for warpAffine and warpPerspective,
The average performance improvemnt is about 30%. The new
ocl kernels require CV_8UC1 format and support nearest
neighbor and bilinear interpolation.
Signed-off-by: Li Peng <peng.li@intel.com>
2016-11-29 14:55:58 +08:00
Michele Cancilla
89a0a46a69
Removed parallel version for CV_16U label type
2016-11-28 14:54:44 +01:00
Alexander Alekhin
7dc673fd56
imgproc: fix findContours (submatrix input)
2016-11-25 18:25:26 +03:00
Michele Cancilla
4b7fc59332
Fixed _P reserved variable name problem and changed getNumThreads with getNumberOfCPUs
2016-11-25 13:25:17 +01:00
Alexander Alekhin
88ef8c996e
Merge pull request #7709 from alalek:fix_java_tests
2016-11-24 16:15:56 +00:00
Michele Cancilla
5b23c0b176
Fixed unnecessary black spaces;
...
Extended parallel version to all frameworks supported by OpenCV;
Added some documentation notes in modules/imgproc/include/opencv2/imgproc.hpp;
2016-11-24 15:03:36 +01:00
Alexander Alekhin
4fd00c1ae1
Merge pull request #7714 from onixie:master
...
Fix docs explaining the returnPoints argument of convexHull.
2016-11-23 17:44:05 +03:00
Rostislav Vasilikhin
7db43f9fff
fixed wrong equivalence in YUV conversion ( #7481 )
...
* fixed wrong equivalence in YUV conversion
* fixed channel order from YVU to YUV
2016-11-23 17:39:18 +03:00
Vadim Pisarevsky
b8c875d4a1
Merge pull request #7707 from K-Shinotsuka:issue37
2016-11-23 14:15:02 +00:00
monoid911
b879126584
Fix docs explaining the returnPoints argument of convexHull.
2016-11-23 20:43:52 +09:00
Alexander Alekhin
8019498c6e
java tests fixes
2016-11-23 13:53:00 +03:00
k-shinotsuka
284006e336
add NEON code for RGB2Luv_f.
2016-11-23 19:18:41 +09:00
Vadim Pisarevsky
c1ee798213
Merge pull request #7662 from K-Shinotsuka:issue34
2016-11-22 13:57:13 +00:00
Vadim Pisarevsky
af22b6c4a9
Merge pull request #7664 from K-Shinotsuka:issue35
2016-11-22 13:49:14 +00:00
Vadim Pisarevsky
b54bc2db1e
Merge pull request #7665 from K-Shinotsuka:issue36
2016-11-22 13:44:42 +00:00
Michele Cancilla
0bc9a0db18
Improvement of sequential connected components Wu's algorithm and provide parallel version of both Wu's and Grana's algorithms (using TBB library)
2016-11-22 11:42:13 +01:00
Pavel Vlasov
dfb9c574a4
IPP 2017 filter2D fix;
...
filter2D IPP runtime check;
2016-11-21 17:18:03 +03:00
Li Peng
6cb73356b1
laplacian ocl kernel optimization
...
This ocl kernel is 46%~171% faster than current laplacian 3x3
ocl kernel in the perf test, with image format "CV_8UC1".
Signed-off-by: Li Peng <peng.li@intel.com>
2016-11-17 12:01:02 +08:00
k-shinotsuka
cf5c400ecb
add SSE code for RGB2HLS_f.
2016-11-16 00:46:13 +09:00
Alexander Alekhin
c93fb14dd2
Merge pull request #7653 from pengli:deriv
2016-11-14 13:40:04 +00:00
Juha Reunanen
5bb08bae28
Merge pull request #7464 from reunanen:test-7409-7458
...
Change contour test images to be very wide (#7464 )
* Change contour test images to be very wide (#7409 , #7458 )
Unfortunately, slows down the tests.
* Decrease the number of contour test cases, in order to (at least partially) offset the test run duration increase caused by making the test images wider
* Don't test with very wide images on 32-bit architectures
2016-11-14 16:31:29 +03:00
Li Peng
8d4a7d3dcc
sobel and scharr ocl kernel optimization
...
It improves 108%~230% performance in the perf test
with image format "CV_8UC1" and kernel size 3.
Signed-off-by: Li Peng <peng.li@intel.com>
2016-11-14 15:34:59 +08:00
k-shinotsuka
a909527a39
add SSE code for HLS2RGB_f.
2016-11-14 01:44:33 +09:00
k-shinotsuka
614ce7743e
add SSE code for HSV2RGB_f.
2016-11-13 23:46:21 +09:00
Vadim Pisarevsky
4ebdf4938a
Merge pull request #7634 from paroj:undistpt
2016-11-11 14:13:18 +00:00
Alexander Alekhin
b2e0873af1
Merge pull request #7629 from alalek:issue_7626
2016-11-10 16:35:08 +00:00
Vadim Pisarevsky
a2d6d96ef1
Merge pull request #7161 from terfendail:shortline_fix
2016-11-10 16:02:20 +00:00
Pavel Rojtberg
3609343acf
undistortPoints: only consider distCoeffs if present
...
iters should be 0 if we have no distortion. Also skip tilt distortion in
that case.
Furthermore move variable declarations to usage sites.
2016-11-09 16:11:26 +01:00
Alexander Alekhin
17ffb28807
Merge pull request #7602 from mshabunin:fix-opencl-warnings
2016-11-09 12:35:00 +00:00
Alexander Alekhin
f1d93cb23b
Merge pull request #7624 from pengli:gaussian_blur
2016-11-09 09:25:25 +00:00
Alexander Alekhin
183c75358b
imgproc: fix trailingZeros for MSVS 2010
2016-11-08 16:48:41 +03: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
Alexander Alekhin
442380bfac
Merge pull request #7585 from pengli:morph_filter
2016-11-07 17:11:32 +00:00
mshabunin
3e28d51779
Fixed several OpenCL compiler warnings
2016-11-07 16:49:12 +03:00
Li Peng
35198b84a4
morph ocl kernel for erode and dilate filter
...
This kernel is for CV_8UC1 format and 3x3 kernel size,
It is about 33% ~ 55% faster than current ocl kernel with below perf test
python ./modules/ts/misc/run.py -t imgproc --gtest_filter=OCL_ErodeFixture*
python ./modules/ts/misc/run.py -t imgproc --gtest_filter=OCL_DilateFixture*
Also add accuracy test cases for this kernel, the test command is
./bin/opencv_test_imgproc --gtest_filter=OCL_Filter/MorphFilter3x3*
Signed-off-by: Li Peng <peng.li@intel.com>
2016-11-04 12:24:24 +08:00
Tetragramm
17df65e666
Fix the OpenCL portion to match the c++ code.
...
Fix an undiscovered bug in the c++ code.
2016-11-03 20:41:16 -05:00
Vadim Pisarevsky
3dc022ae84
Merge pull request #7423 from grahamfyffe:leading_edges
2016-11-03 11:20:43 +00:00
Vadim Pisarevsky
6fceb1dd59
Merge pull request #7601 from sovrasov:remap_big_img_assert
2016-11-02 14:17:04 +00:00
Vadim Pisarevsky
bebd49d91b
Merge pull request #7467 from tomoaki0705:featureCheckSimdUniversal
2016-11-02 12:30:55 +00:00
Vladislav Sovrasov
af01267f23
Add assertion to prevent processing of large images in remap
2016-11-02 14:17:56 +03:00
Vadim Pisarevsky
8944875258
Merge pull request #7526 from alalek:fix_arm_builds
2016-11-02 10:49:43 +00:00
Vadim Pisarevsky
94d879737b
Merge pull request #7582 from K-Shinotsuka:issue32
2016-11-02 10:48:29 +00:00
Vadim Pisarevsky
01f355dfaa
Merge pull request #7583 from K-Shinotsuka:issue33
2016-11-02 10:47:33 +00:00
k-shinotsuka
a7db950b66
add SSE code for Lab2RGB_f.
2016-11-01 22:33:58 +09:00
abratchik
f978ee613e
fix for #7510 , #7511 and #7512
2016-10-31 11:07:56 +04:00
Alexander Alekhin
4c66772783
Merge pull request #7516 from sovrasov:find_contours_fix
2016-10-30 08:33:12 +00:00
k-shinotsuka
c1c7c7f83e
add SSE code for Luv2RGB_f.
2016-10-30 14:50:18 +09:00
Vadim Pisarevsky
7b532cea89
Merge pull request #7540 from K-Shinotsuka:issue31
2016-10-29 21:28:25 +00:00
Vadim Pisarevsky
2b7866f21b
Merge pull request #7503 from pengli:box_filter_v2
2016-10-29 21:20:06 +00:00
k-shinotsuka
992795d47d
add SSE code for RGB2Luv_f.
2016-10-29 15:28:31 +09:00
Tomoaki Teshima
cba22349b7
add universal hardware support check function
...
* use hasSIMD128 rather than calling checkHardwareSupport
* add SIMD check in spartialgradient.cpp
* add SIMD check in stereosgbm.cpp
* add SIMD check in canny.cpp
2016-10-29 13:24:31 +09:00
Vladislav Sovrasov
56c133d459
Disable redundant border initialization in findContours
2016-10-28 11:05:54 +03: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
Vladislav Sovrasov
34df4ae02a
Add a regression test, fix documentation
2016-10-25 11:38:07 +03:00
Vladislav Sovrasov
1f4f50b9dc
findContours: integrate workaroung to allow contours detection on image border
2016-10-25 11:38:07 +03:00
Vladislav Sovrasov
f5592fd21b
Fix wrong default mask value in floodFill
2016-10-25 11:16:59 +03:00
Tetragramm
c6772a8f5d
Fix CLAHE distribution.
...
Fix CLAHE for 16-bit images.
2016-10-21 19:54:42 -05:00
Alexander Alekhin
7a9ed39655
test: update HoughLines perf test
2016-10-20 16:54:35 +03:00
LukeZhu
ef47bcc88b
Fix the problem: filterSmall.cl report error with double
2016-10-17 15:12:42 +08:00
Vitaly Tuzov
26c9889c6b
Fix for incorrect line drawing beyond 32768 row or column
2016-10-14 18:37:59 +03:00
Vadim Pisarevsky
4acda3f609
Merge pull request #7428 from alalek:cmake_fix_compiler_flags_detection
2016-10-12 19:38:25 +00:00
Alexander Alekhin
994815fbd4
Merge pull request #7413 from tomoaki0705:featureUniversalThreshold
2016-10-12 10:01:37 +00:00
Juha Reunanen
0f387cda8f
Merge pull request #7451 from reunanen:issue-7409
...
Fix findContours crash for very large images (#7451 )
* Cast step to size_t in order to avoid integer overflow when processing very large images
* Change assert to CV_Assert
2016-10-12 10:34:51 +03:00
Tomoaki Teshima
ea6410d1e7
use universal intrinsic in threshold
...
* add performance test for 32F and 64F threshold
* requires update of opencv_extra
2016-10-11 18:00:41 +09:00
Alexander Alekhin
218f7574f9
Merge pull request #7440 from mschoeneck:Prefer_OCL_befor_IPP_for_Sobel_and_Scharr
2016-10-10 10:45:27 +00:00
StevenPuttemans
947f32d2e0
add border replicate note
2016-10-10 09:55:13 +02:00
matze
d9f6a06773
Adding check for IPP if UMat and OpenCL is available in Sobel and Scharr.
2016-10-09 15:37:22 +02:00
Alexander Alekhin
5da8d65371
eliminate compiler warnings
2016-10-08 02:19:43 +03:00
Graham Fyffe
57be99ff18
Added getLeadingEdges function to subdivision2d
2016-10-06 18:01:34 -07:00
Vadim Pisarevsky
84699e0e18
Merge pull request #7399 from K-Shinotsuka:issue27
2016-10-06 13:31:06 +00:00
Vadim Pisarevsky
294bea11a5
Merge pull request #7401 from K-Shinotsuka:issue28
2016-10-06 13:30:31 +00:00
Vadim Pisarevsky
8ee459207e
Merge pull request #7402 from K-Shinotsuka:issue29
2016-10-06 13:29:56 +00:00
Vadim Pisarevsky
285e6ad15b
Merge pull request #7404 from K-Shinotsuka:issue30
2016-10-06 13:29:00 +00:00
k-shinotsuka
880ace2eb3
add simd code when dcn equals 4 at HSV2RGB_b().
2016-10-06 00:06:02 +09:00
k-shinotsuka
db8b3252bf
add simd code when scn equals 4 at RGB2HLS_b().
2016-10-05 22:01:33 +09:00
k-shinotsuka
c1745539c4
add simd code when dcn equals 4 at HLS2RGB_b().
2016-10-05 21:02:53 +09:00
Vadim Pisarevsky
42fbfb9be0
Merge pull request #7311 from fran6co:lsd
2016-10-05 11:27:43 +00:00
Vadim Pisarevsky
43b60f4617
Merge pull request #6961 from K-Shinotsuka:issue5
2016-10-05 11:23:35 +00:00
Vadim Pisarevsky
33ce36397c
Merge pull request #7222 from mschoeneck:Improve_findContours_with_SSE2
2016-10-05 11:21:37 +00:00
Vadim Pisarevsky
2b01e316b3
Merge pull request #7392 from K-Shinotsuka:issue25
2016-10-05 11:19:43 +00:00
k-shinotsuka
a5f493a763
add simd code when scn equals 4 at Lab2RGB_b().
2016-10-05 20:14:02 +09:00
k-shinotsuka
47c792ecc0
add simd code when scn equals 4 at RGB2Luv_b().
2016-10-05 01:18:43 +09:00
Vadim Pisarevsky
eddd417d74
Merge pull request #7282 from alalek:fix_calculations
2016-10-04 15:05:42 +00:00
Vadim Pisarevsky
a3d44d523d
Merge pull request #7214 from mshabunin:hal_integral
2016-10-04 12:26:58 +00:00
Vadim Pisarevsky
2e2ac54eca
Merge pull request #7374 from catree:fix_hitmiss_doc_link
2016-10-04 12:15:58 +00:00
Vadim Pisarevsky
0ce3686a37
Merge pull request #7384 from K-Shinotsuka:issue24
2016-10-04 12:06:37 +00:00
Alexander Alekhin
cecc1857dd
Merge pull request #7373 from tomoaki0705:featureCannyUniversalIntrinsic
2016-10-04 10:52:13 +00:00
Tomoaki Teshima
841ccccada
use universal intrinsic in canny
...
* add v_abs for universal intrinsic
* add test of v_abs in test_intrin
* fix compile error on gcc
* fix bool OR operation
2016-10-03 13:23:43 +09:00
k-shinotsuka
e310c3f9f4
add simd code when dcn equals 4 at Luv2RGB_b().
2016-10-03 00:20:26 +09:00
Vadim Pisarevsky
39467d84bf
Merge pull request #7353 from alalek:ocl_update_canny_test_threshold
2016-10-01 15:48:21 +00:00
Alexander Alekhin
1c18b1d245
Merge pull request #7370 from souch55:Fixxn
2016-10-01 10:44:56 +00:00
catree
2dd77f886a
Fix dead link for hit or miss documentation.
2016-09-30 20:34:30 +02:00
sourin
a34fbf7bb1
Fixed identifiers warns
2016-09-30 15:16:29 +05:30
Maksim Shabunin
3d5c0f1faf
HAL interface for cv::integral
2016-09-29 12:12:10 +03:00
Alexander Alekhin
696972bf8e
ocl: update Canny test threshold
...
OpenCL Device:
- Intel(R) HD Graphics (OpenCL 2.0: r2.0.54425)
2016-09-28 13:38:02 +03:00
Alexander Alekhin
c66efd05fa
imgproc: use target type for calculations
...
reduce scope of "i" variable
2016-09-22 15:14:59 +03:00
Alexander Alekhin
7366be696a
imgproc: fix win32 build
2016-09-22 14:56:23 +03:00
Francisco Facioni
8283ddb52f
LSD: Use a fixed size array instead of using std::vector
2016-09-22 12:39:49 +01:00
Francisco Facioni
de9c0d9926
LSD: Avoid re allocating the histogram for multiple calls of LineSegmentDetector::detect in ll_angle
...
This is useful when reusing the same instance of LineSegmentDetector for multiple images
2016-09-22 12:39:47 +01:00
Francisco Facioni
ef6b696446
LSD: Avoid pre allocating a big region, std::vector allocations is quite expensive
2016-09-22 12:39:45 +01:00
Francisco Facioni
a12207c3ad
LSD: Avoid using pointers directly, image could be non continuous
2016-09-22 12:39:43 +01:00
Francisco Facioni
f5a0b226f2
LSD: Optimization, avoid converting the image to double
2016-09-22 12:39:37 +01:00
Alexander Alekhin
4ccde1330d
Merge pull request #7323 from lupustr3:pvlasov/rgb_to_gray_array_fix
2016-09-22 09:52:16 +00:00
Alexander Alekhin
cde9d640fe
Merge pull request #7309 from K-Shinotsuka:issue22
2016-09-21 14:46:53 +00:00
Pavel Vlasov
2073af2f05
RGB2Gray array size fix;
2016-09-21 17:46:51 +03:00
Alexander Alekhin
3f990accb0
Merge pull request #7306 from K-Shinotsuka:issue21
2016-09-21 12:47:33 +00:00
Alexander Alekhin
9b12bd915b
Merge pull request #7305 from K-Shinotsuka:issue20
2016-09-21 12:47:15 +00:00
Alexander Alekhin
b2314c9ae5
Merge pull request #7304 from K-Shinotsuka:issue19
2016-09-21 12:46:30 +00:00
Alexander Alekhin
b43989bdaf
Merge pull request #7303 from K-Shinotsuka:issue18
2016-09-21 12:45:16 +00:00
Alexander Alekhin
17f0c93b37
Merge pull request #7300 from K-Shinotsuka:issue17
2016-09-21 12:44:42 +00:00
Francisco Facioni
31bd84de12
LSD: Removes unused code
2016-09-19 15:29:30 +01:00
k-shinotsuka
0d85d2cc0a
improve RGB2HLS_b()
2016-09-18 23:36:31 +09:00
k-shinotsuka
4f22f48e63
improve HSV2RGB_b()
2016-09-18 23:07:09 +09:00
k-shinotsuka
0fc187d7a3
improve HLS2RGB_b()
2016-09-18 15:46:00 +09:00
k-shinotsuka
1f8aa4f7d3
improve Lab2RGB_b()
2016-09-18 14:48:40 +09:00
k-shinotsuka
37be868679
improve RGB2Luv_b()
2016-09-18 11:08:57 +09:00
k-shinotsuka
4540260df9
improve Luv2RGB_b()
2016-09-17 19:42:48 +09:00
Vitaly Tuzov
48f132f35f
Fix Sobel evaluation for image ROI without isolated border.
2016-09-16 16:08:37 +03:00
matze
975d2e4294
Enable built in counting trailing zeros function for Intel compiler and clang.
2016-09-14 18:20:47 +02:00
Vadim Pisarevsky
ab3814f9b9
Merge pull request #7191 from anirudt:docs_moments
2016-09-14 12:30:27 +00:00
matze
a865876c0f
Added CV_UNUSED to not used variable when build without SSE2 support.
2016-09-13 19:32:37 +02:00
anirudt
2879eada25
docs: truncated commit msg
2016-09-13 16:14:05 +05:30
Vadim Pisarevsky
473dba1189
Merge pull request #7208 from terfendail:openvx_hal_impl
2016-09-13 10:15:12 +00:00
Vadim Pisarevsky
ca9183d567
Merge pull request #7034 from K-Shinotsuka:issue12
2016-09-13 10:05:46 +00:00
matze
aaa255465e
Renamed haveSSE2 in haveSIMD. Conditional compilation for function header removed
2016-09-11 13:15:53 +02: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
anirudt
06e0fb25e9
docs: adds doxygen @note for python in docs related to contour moments
2016-09-09 13:23:43 +05:30
Vitaly Tuzov
5ec47299e2
Fixed warpings, added border mode support to warps and filter. Added morphology HAL API functions implemented as immediate mode OpenVX calls.
2016-09-08 18:55:26 +03:00
Maksim Shabunin
c16f96cb5b
Merge pull request #7221 from terfendail:sepfilter_vec_kernel
2016-09-06 20:41:28 +00:00
Maksim Shabunin
e2de96289b
Merge pull request #7220 from paroj:imgproc_doxy
2016-09-06 14:33:17 +00:00
mschoeneck
9e61a28b2e
Improve canny ( #7227 )
...
* Improve Canny by using _mm_movemask_epi8 to find next pixel magnitude greater than lower threshold. Added parallelized finalPass to Canny with variable gradients. Little changes in finalPass.
* Some things fixed
2016-09-05 13:51:36 +03:00
matze
fd6f54c895
Bug fixed in findEndContours and icvFindContoursInInterval adjusted.
2016-09-03 20:09:39 +02:00
matze
f6451c7ae6
Varaible names renamed. Macro definitions fixed. findEndContourPoint function fixed. findContoursInInterval adjusted.
2016-09-03 14:35:09 +02:00
matze
25cf33d5c8
Warning fixed by adding a cast to char
2016-09-02 21:09:25 +02:00
matze
0acd818efc
Removed #elif defined(__INTEL_COMPILER) because it is disabled at the moment
2016-09-02 20:35:08 +02:00
matze
8af8c4d0aa
Improves findContours using SSE _mm_movemask_epi8 to find next contour point. Cleaned up code a little bit
2016-09-02 20:09:13 +02:00
Pavel Rojtberg
cfcf8abbb6
doxygen: imgproc - underscores should not be escaped in texttt
2016-09-02 16:41:45 +02:00
Pavel Rojtberg
62cabb58a9
doxygen: undistortPoints - replace matlab code by latex forumlae
2016-09-02 16:41:45 +02:00
Vitaly Tuzov
f773f45d90
Updated HAL interface for separable filters to address that both kernels are vectors.
2016-09-02 14:42:01 +03:00
Maksim Shabunin
28db4a2207
Merge pull request #7175 from tomoaki0705:featureIntrinsic64
2016-09-02 10:16:44 +00:00
Tomoaki Teshima
7fef96be1e
add 64F intrinsic in HAL NEON
...
* use universal intrinsic for accumulate series using float/double
* accumulate, accumulateSquare, accumulateProduct and accumulateWeighted
* add v_cvt_f64_high in both SSE/NEON
* add test for conversion v_cvt_f64_high in test_intrin.cpp
* improve some existing universal intrinsic by using new instructions in Aarch64
* add workaround for Android build in intrin_neon.hpp
2016-08-30 17:21:02 +09:00
anirudt
6825375694
docs: adds note for python in docs related to moments
2016-08-29 20:22:08 +05:30
k-shinotsuka
9df8400f3d
improve RGB5x52Gray()
2016-08-28 14:25:06 +09:00
Vadim Pisarevsky
5ddd25313f
Add Grana's connected components algorithm for 8-way connectivity. ( #6823 )
...
* Add Grana's connected components algorithm for 8-way connectivity. That algorithm is faster than Wu's one (currently implemented in opencv). For more details see https://github.com/prittt/YACCLAB .
* New functions signature and distance transform compatibility
* Add tests to imgproc/test/test_connectedcomponents.cpp
* Change of test_connectedcomponents.cpp for c++98 support
2016-08-26 16:01:00 +04:00
Suleyman TURKMEN
fcc28fecb6
Make Up
2016-08-23 22:17:30 +03:00
Alexander Alekhin
b3b434e221
Merge pull request #7141 from lupustr3:pvlasov/instrumentation_extension
2016-08-23 16:48:25 +00:00
Pavel Vlasov
30a6cee2fe
Instrumentation for OpenCV API regions and IPP functions;
2016-08-19 18:10:03 +03:00
Alexander Alekhin
86a515fdae
imgproc: fix accuracy check for HLS cvtColor
2016-08-19 17:32:17 +03:00
Alexander Alekhin
bf4c5bef7f
Merge pull request #7135 from lupustr3:pvlasov/icv_restrictions_remove
2016-08-19 13:23:47 +00:00
Pavel Vlasov
680ca88ce0
Outdated ICV restrictions were removed;
2016-08-19 15:08:39 +03:00
Vadim Pisarevsky
0f716cdf33
Merge pull request #7108 from K-Shinotsuka:issue16
2016-08-19 08:10:51 +00:00
Alexander Alekhin
89833fa073
Merge pull request #7095 from PkLab:fix_rho&phi_doc
2016-08-17 10:46:30 +00:00
PkLab.net
4b099e8ade
Fix rho,phi exchange and amend linearPolar & logPolar docs with details and pics.
2016-08-16 12:49:33 +02:00
Alexander Alekhin
e884bbabcb
Merge pull request #7110 from tomoaki0705:featureUniversalIntrinsicAccumulate
2016-08-15 14:54:10 +00:00
k-shinotsuka
3faaabd6f4
improve YCrCb2RGB_i<uchar>()
2016-08-15 19:20:04 +09:00
Tomoaki Teshima
4f7679cf51
use universal intrinsic in accumulate series
...
* accumulate, accumulateSquare, accumulateProduct and accumulateWeighted
2016-08-15 13:00:39 +09:00
k-shinotsuka
020b47c41a
improve RGB2Gray<ushort>()
2016-08-12 23:12:51 +09:00
Maksim Shabunin
cf30c582c6
Merge pull request #7057 from K-Shinotsuka:issue13
2016-08-11 11:46:33 +00:00
Alexander Alekhin
c2394339a8
Merge pull request #7075 from alalek:ocl_fix_canny_perf_test
2016-08-11 09:19:44 +00:00
Maksim Shabunin
de0909e03c
Merge pull request #7083 from tomoaki0705:fixAccumulateShortFloat
2016-08-11 09:00:38 +00:00
Alexander Alekhin
0dd00321e0
Merge pull request #7072 from alalek:ocl_fix_canny
2016-08-10 13:44:52 +03:00
Vadim Pisarevsky
df665e2386
Merge pull request #6983 from K-Shinotsuka:issue8
2016-08-10 10:31:12 +00:00
Tomoaki Teshima
ba73249dc0
let the test of AccSqr_SIMD<ushort, float> pass
...
* The difference becomes too large when multiply is done in int16
* To reproduce the test failure, IPP has to be switched off
2016-08-10 18:36:00 +09:00
Alexander Alekhin
f2e41ce391
ocl: fix input data for Canny perf test
...
"declare.in(img, WARMUP_RNG)" overrides input image with random values
Also added support for different input sizes (via cv::resize)
2016-08-09 15:49:22 +03:00
Alexander Alekhin
b8e08d5d3c
ocl: fix Canny for Intel devices
...
There is an issue with processing of abs(short) function for
negative argument.
Affected OpenCL devices:
- iGPU: Intel(R) HD Graphics 520 (OpenCL 2.0 )
- CPU: Intel(R) Core(TM) i5-6300U CPU @ 2.40GHz (OpenCL 2.0 (Build 10094))
2016-08-09 12:48:06 +03:00
k-shinotsuka
e37c53d13e
improve RGB2YCrCb_i<uchar>()
2016-08-09 11:33:00 +09:00
Vadim Pisarevsky
a95d63dab6
Merge pull request #7042 from alalek:update_6967
2016-08-08 15:17:48 +00:00
mschoeneck
5f30a0a076
Merge pull request #6958 from mschoeneck:Common-Canny-parallelization
...
* Common Canny parallelization added. TBB and single thread code removed. Final pass vectorized with SSE2 intrinsics.
* wrong #ifdef replaced with #if
* Merged to actual Canny version
* Merged common parallelized Canny with actual Canny implementation
* Remove 'Mutex *mutex' and pass 'Mutex mutex' from outside to parallelCanny
* Replaced extern Mutex with intern mutable Mutex.
2016-08-05 17:20:56 +03:00
Alexander Alekhin
b12286329f
imgproc: sepFilter: update OpenCL condition
...
Problem is observed with test_loop_times=100
in corner cases like 93x1 or similar
2016-08-05 12:27:24 +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
k-shinotsuka
065d631f0e
improve MomentsInTile_SIMD<uchar, int, int>()
2016-08-04 20:08:53 +09:00
Vadim Pisarevsky
b8d743bf50
Merge pull request #6970 from K-Shinotsuka:issue6
2016-08-03 18:50:00 +00:00
k-shinotsuka
5775ace5e0
improve thresh_8u()
2016-08-02 23:35:14 +09:00
Vadim Pisarevsky
3b1803f6b1
Merge pull request #6989 from mself:gftt-deterministic-sort
2016-07-28 15:27:39 +00:00
Vadim Pisarevsky
f96b5652ce
Merge pull request #6984 from K-Shinotsuka:issue9
2016-07-28 12:05:13 +00:00
k-shinotsuka
ecfd4ad11e
improve MomentsInTile_SIMD<ushort, int, int>()
2016-07-27 20:27:30 +09:00
Matthew Self
72672c293f
Make goodFeaturesToTrack() return deterministic results
...
When using OCL, the results of goodFeaturesToTrack() vary slightly from
run to run. This appears to be because the order of the results from
the findCorners kernel depends on thread execution and the sorting
function that is used at the end to rank the features only enforces are
partial sort order.
This does not materially impact the quality of the results, but it
makes it hard to build regression tests and generally introduces noise
into the system that should be avoided.
An easy fix is to change the sort function to enforce a total sort on
the features, even in cases where the match quality is exactly the same
for two features.
2016-07-25 21:17:54 -07:00
Vadim Pisarevsky
167a4e6592
Merge pull request #6942 from alalek:fix_android_pack
2016-07-21 07:30:15 +00:00
Tomoaki Teshima
57d1591957
imgproc: fix typo
...
* indent line
2016-07-21 06:42:11 +09:00
Alexander Alekhin
2ec63e4dd1
fix android pack build
2016-07-20 16:49:57 +03:00
Vadim Pisarevsky
cc5c5f7da9
Merge pull request #6795 from tomoaki0705:accelerateBilateralFilterNeon
2016-07-20 13:19:06 +00:00
Tomoaki Teshima
b436f4b995
accelerate bilateralFilter using NEON
...
* clean up some lines
2016-07-20 08:28:49 +09:00
Alexander Alekhin
e20a93f7d6
imgproc test: Canny with custom gradient
2016-07-19 17:15:36 +03:00
Alexander Alekhin
575de89ee2
imgproc: Canny: enable IPP & OpenCL optimization code path
2016-07-19 17:15:36 +03:00
Alexander Alekhin
460b1dc2fa
imgproc: Canny with custom gradient
2016-07-19 17:15:36 +03:00
Vadim Pisarevsky
34d68edd1a
Merge pull request #6924 from K-Shinotsuka:issue3
2016-07-18 18:16:02 +00:00
Alexander Alekhin
89c9e7c2e6
Merge pull request #6928 from K-Shinotsuka:issue4
2016-07-18 13:51:55 +00:00
arybnikov
2deda0e868
Added tests for issues ##4515, 6544
2016-07-18 10:01:13 +03:00
k-shinotsuka
a25dba001d
improve SymmRowSmallVec_8u32s().
2016-07-18 13:58:11 +09:00
k-shinotsuka
6f8695c178
improve RowVec_8u32s().
2016-07-17 18:35:34 +09:00
Maksim Shabunin
91d80d0309
Merge pull request #6798 from tomoaki0705:featureSSEvideoAcc
2016-07-15 12:31:18 +00:00
Maksim Shabunin
9e7124127f
Merge pull request #6906 from jet47:goodFeaturesToTrack-maxCorners-docs
2016-07-15 09:06:55 +00:00
Tomoaki Teshima
3c2f7ecc97
speed up accumulate, accumulateSquare, accumulateProduct and accumulateWeighted using SIMD
...
* use SSE and/or AVX based on configuration
* revise the test to verify the implementation
2016-07-15 08:09:24 +09:00
Vladislav Vinogradov
1c8b1b2d2b
add note about "maxCorners <= 0" case in goodFeaturesToTrack
2016-07-14 15:48:08 +03:00
Maksim Shabunin
79f8e516b8
Merge pull request #6891 from snosov1:fix-5311
2016-07-14 11:25:58 +00:00
Maksim Shabunin
4d053405cf
Merge pull request #6809 from K-Shinotsuka:master
2016-07-14 09:37:53 +00:00
Alexander Alekhin
9c92f65c0b
Merge pull request #6808 from sturkmen72:patch-14
2016-07-13 11:54:11 +00:00
Alexander Alekhin
6c4b634cfe
Merge pull request #6814 from tomoaki0705:featureThreshold64fSimd
2016-07-13 11:45:28 +00:00
Tomoaki Teshima
9fca953e62
check the CPU flag correctly
2016-07-13 07:34:49 +09:00
Sergei Nosov
dce310e03c
provide better error messages
2016-07-12 18:03:28 +03:00
Ilya Lavrenov
5bc10ef796
fixed empty image condition in resize
2016-07-12 13:23:19 +03:00
Alexander Alekhin
88da03722f
Merge pull request #6786 from terfendail:median_fix
2016-07-11 10:02:43 +00:00
Tomoaki Teshima
1095076d7f
imgproc: speed up threshold of 64F version using NEON and SSE
...
* use NEON under aarch64 only
* check 64F version correctly
2016-07-09 17:05:29 +09:00
Andrey Pavlenko
dcaac98569
Merge pull request #6775 from janstarzy:histo-ipp-fix
2016-07-08 15:15:17 +00:00
Vitaly Tuzov
c61f7e5334
Fix for median blur of 2-channel images
2016-07-08 12:03:28 +03:00
Jan Starzynski
7f896643e9
fix for buffer-overflow in IPPCalcHistInvoker::operator()
2016-07-06 09:54:28 +02:00
Alexander Alekhin
8b05a4bf93
cvtColor: fix inplace processing
2016-07-01 17:09:12 +03:00
Andrey Pavlenko
e4cd24537e
Merge pull request #6740 from tomoaki0705:fixNeonCheckSmooth
2016-06-30 15:47:45 +00:00
Tomoaki Teshima
78a5aacb22
make NEON more similart to SSE2
2016-06-29 12:11:10 +09:00
Alexander Alekhin
be38a524a8
Merge pull request #6705 from alalek:fix_hal_imgproc
2016-06-21 16:24:29 +00:00
Alexander Alekhin
2fb670cf09
hal: fix missing include "opencv2/imgproc/hal/interface.h"
2016-06-20 19:25:49 +03:00
k-shinotsuka
43d5988df6
improve to calculate norm
2016-06-05 16:55:02 +09:00
Suleyman TURKMEN
7c5b981c17
Update drawing.cpp
2016-06-05 01:06:55 +03:00
Vladislav Sovrasov
a2d0cc878c
Implement internal HAL for GEMM and matrix decompositions
2016-06-03 10:38:30 +03:00
Tomoaki Teshima
bbeac745ca
Update test case for 64F version
2016-05-26 08:38:29 +09:00
Vadim Pisarevsky
0cb1e96472
Merge pull request #6546 from atinfinity:pullreq/160517-threshold-64F
2016-05-25 13:19:50 +00:00
Suleyman TURKMEN
abab67b574
Update imgproc.hpp
...
update documentation of calcBackProject() calcHist() compareHist()
2016-05-21 14:08:14 +03:00
atinfinity
1f1464c925
remove unnecessary cast
2016-05-18 08:32:29 +09:00
atinfinity
ef0931be44
fixed compilation warning
2016-05-18 00:34:51 +09:00
atinfinity
6930325847
Added test case of cv::threshold(CV_64F)
2016-05-17 22:57:05 +09:00
atinfinity
e4f207c4b4
Changed cv::threshold() to support CV_64F
2016-05-17 22:56:03 +09:00
Alexander Alekhin
6e5e5d87df
Merge pull request #6448 from alalek:merge-2.4
2016-04-25 16:56:51 +00:00
Vadim Pisarevsky
681fd7f214
Merge pull request #6455 from belgraviton:bugfix_5953
2016-04-25 12:50:45 +00:00
Vadim Pisarevsky
f4e00bd60f
Merge pull request #6463 from ohnozzy:ocl-linearpolar-and-logpolar
2016-04-25 12:42:40 +00:00
Vadim Pisarevsky
904381c602
Merge pull request #6020 from mshabunin:hal_dxt
2016-04-25 11:37:18 +00:00
ohnozzy
db9f611767
Add OpenCL support to linearPolar & logPolar
...
Add OpenCL support to linearPolar & logPolar.
The OpenCL code use float instead of double, so that it does not require
cl_khr_fp64 extension, with slight precision lost.
Add explicit conversion
Add explicit conversion from double to float to eliminate warning during
compilation.
2016-04-24 08:37:56 +08:00
Vadzim Piatrou
43f854bc5f
fixing CLAHE crash with pixels value > 12 bit
2016-04-22 18:55:22 +03:00
Alexander Alekhin
67a734ce73
Merge branch '2.4' into master
...
Commits:
67fe57a
add fixed video
db0ae2c
Restore 2.4 source branch for bug fix 6317.
97ac59c
Fix a memory leak indirectly caused by cvDestroyWindow
eb40afa
Add a workaround for FFmpeg's color conversion accessing past the end of the buffer
421fcf9
Rearrange CvVideoWriter_FFMPEG::writeFrame for better readability
912592d
Remove "INSTALL_NAME_DIR lib" target property
bb1c2d7
fix bug on border at pyrUp
2016-04-21 20:15:08 +03:00
Thomas Schenker
76ced14b3b
fix typo
2016-04-19 15:09:27 +02:00
Maksim Shabunin
5e9192287d
Added HAL cvtColor interface
2016-04-18 16:34:25 +03:00
ohnozzy
9be6b4f2d1
Bug Fix for 6377
...
Rewrite linearPolar & logPolar so that they do not depend on the
deprecated API CvMat. Issue 6377 is resolved in this way because the two
routines do not convert UMat to CvMat anymore.
2016-04-14 19:39:02 +08:00
Maksim Shabunin
d8629b0fa4
Merge pull request #6335 from themightyoarfish:canny_kernel_sz_fix
2016-04-13 07:52:05 +00:00
Maksim Shabunin
233612efd7
Reworked HAL dft/dct interface, added replacement documentation
2016-04-08 16:03:51 +03:00
Maksim Shabunin
f40d701427
DFT: renamed HAL functions
2016-04-08 11:19:28 +03:00
Maksim Shabunin
15783cf668
Always use hal::dft in crossCorr function
2016-04-08 11:19:28 +03:00
Maksim Shabunin
008abd28fd
Extracted HAL interfaces for DFT/DCT, added new test
2016-04-08 11:19:28 +03:00
Maksim Shabunin
5877debb6f
HAL resize, warpAffine, warpPerspective interface
...
- added HAL documentation support
- added documentation to HAL replacement interface
- updated several HAL functions in imgproc module
2016-04-07 18:47:24 +03:00
Maksim Shabunin
a5af69de6a
Java wrapper for moments: do not truncate values in set method
2016-03-31 12:57:10 +03:00
themightyoarfish
68d97502fe
Error message for wrong kernel size was insufficient.
...
When setting a wrong kernel size, the error message only tells the user that it
must be odd, however the conditions for rejection include values > 7 which must
be communicated. Without that, the message would be incorrect and confusing if
the user is unaware that only values 3, 5, 7 are accepted.
2016-03-28 14:06:55 +02:00
Vadim Pisarevsky
e792ee89de
Merge pull request #6243 from mshabunin:hal_morph
2016-03-23 13:09:19 +00:00
Maksim Shabunin
3b6190dfad
Merge pull request #6150 from lvv:fix-6149-applColorMap
2016-03-21 09:20:52 +00:00
Maksim Shabunin
83379695a0
HAL interface for morphology operations
2016-03-21 09:32:06 +03:00
Leonid Volnitsky
bebab8d647
fix: 6149 (through CV_Error on wrong image type)
2016-03-19 19:57:05 +02:00
Zhigang Gong
0b08d2559e
fix potential race condition in canny.cl.
...
See the below code snippet:
while(l_counter != 0)
{
int mod = l_counter % LOCAL_TOTAL;
int pix_per_thr = l_counter / LOCAL_TOTAL + ((lid < mod) ? 1 : 0);
for (int i = 0; i < pix_per_thr; ++i)
{
int index = atomic_dec(&l_counter) - 1;
....
}
....
barrier(CLK_LOCAL_MEM_FENCE);
}
If we don't put a barrier before the for loop, then there is a possiblity
that some work item enter this loop but the others are not, the the l_counter
will be reduced in the for loop and may be changed to zero, and the other
work items may can't enter the while loop. If this happens, it breaks the
barrier's rule which requires all the work items reach the same barrier.
And it may hang the GPU depends on the implementation of opencl platform.
This issue is raised at:
https://github.com/Itseez/opencv/issues/5175
Signed-off-by: Zhigang Gong <zhigang.gong@linux.intel.com>
2016-03-15 19:11:15 +08:00
shruthikashyap
1fbc6ab05d
Adding the syntax and usage for cv2.undistortPoints().
2016-03-13 13:32:24 +01:00
Vadim Pisarevsky
c186f424c5
Merge pull request #6119 from mshabunin:hal_filter2d
2016-03-12 17:08:10 +00:00
Alexander Alekhin
ec66a3700f
logPolar/linearPolar: more accurate processing near zero angle slice
2016-03-03 19:08:08 +03:00
Maksim Shabunin
98fff4a601
Added separate hal::SepFilter2D class
2016-03-03 18:56:12 +03:00
Maksim Shabunin
17cd1dac06
HAL Filter2D interface: Updated according to comments
2016-03-03 18:56:12 +03:00
Maksim Shabunin
85b2c2ae58
Fixed build with older standalone IPP versions
2016-03-03 18:56:12 +03:00
Maksim Shabunin
8414c6518f
Fixed build with older ippicv
2016-03-03 18:56:12 +03:00
Maksim Shabunin
27abd4d3a3
Filter2D HAL interface
2016-03-03 18:56:12 +03:00
Alexander Alekhin
275bfcf99c
fix logPolar/linearPolar
2016-03-03 18:33:11 +03:00
Elad Joseph
238b47dfce
Added param documentation
...
Added param description to remove doxygen warning
2016-03-02 08:55:53 +02:00
Elad Joseph
2234016a22
Added Subdiv2D class documentation
...
Added documentation to the Subdiv2D documentation, based on the previous
C API.
2016-03-01 23:08:48 +02:00
Rahul Chhabra
232f564011
Update imgproc.hpp
...
In reference to Issue #6110 , the order of markerType and color is changed.
2016-02-14 10:18:14 +05:30
Elena Gvozdeva
bb1c2d71a8
fix bug on border at pyrUp
2016-01-20 13:07:07 +03:00
Vitaly Tuzov
4f5d585184
Update call to Tegra optimized morphology filtering
2016-01-15 11:48:29 +03:00
Alexander Alekhin
5a998335a6
Merge pull request #5943 from alalek:regression_5908
2016-01-12 17:15:15 +00:00
Alexander Alekhin
49d3e39bc4
test: added regression test for convexityDefects ( #5908 )
2016-01-11 19:47:36 +03:00
Alexander Alekhin
7a62a8213b
Merge pull request #5914 from LaurentBerger:I5908
2016-01-11 13:00:17 +00:00
LaurentBerger
8531e6d9fc
May be it can solve issue 5908
2016-01-02 21:06:51 +01:00
berak
2d1cb14e61
fix cv::MARKER_TRIANGLE_UP
2016-01-01 10:10:01 +01:00
Dikay900
a7d3e30404
fix probably copy paste like error in rgb2luv doc
...
fixes #5689
2015-12-22 22:45:51 +01:00
Maksim Shabunin
84f37d352f
HAL moved back to core
2015-12-17 12:33:23 +03:00
Maksim Shabunin
5ebc7f0b72
Simple Moments class for Java
2015-12-16 10:53:14 +03:00
Vadim Pisarevsky
f93a4dfbc9
Merge pull request #5799 from alalek:fix_5066
2015-12-15 10:24:39 +00:00
Alexander Alekhin
1305962af7
fixes #5066 : laplacian: "y" may contain negative values
2015-12-14 18:13:57 +03:00
Thomas Dunker
6882c10b45
Extension of the camera distortion model for tilted image sensors (Scheimpflug condition) including test
2015-12-14 15:20:34 +01:00
Vadim Pisarevsky
8e67f0ba84
Merge pull request #5774 from mshabunin:coverity_fixes
2015-12-09 13:32:44 +00:00
Vadim Pisarevsky
35d4f998fd
Merge pull request #5748 from songyuncen:fix#5745
2015-12-09 12:17:41 +00:00
Maksim Shabunin
a9607c8531
Coverity: fixed uninitialized fields in test_goodfeaturetotrack
2015-12-09 14:25:08 +03:00
Maksim Shabunin
715887fcd5
Coverity: fixed some negative argument issues
2015-12-09 14:25:08 +03:00
songyuncen
9d8118dee5
build failed, trailing whitespace.
2015-12-09 08:00:42 +08:00
songyuncen
e0b7389dc3
remove compile warnings in shapedescr.cpp
2015-12-08 22:23:23 +08:00
songyuncen
a69eeb6b1f
change the algorithm of minimum enclosing circle with EMO Welzl's method
2015-12-08 21:38:59 +08:00
Vadim Pisarevsky
f95203e93f
Merge pull request #5759 from grundman:patch-1
2015-12-08 10:33:54 +00:00
Maksim Shabunin
387935e94c
Merge pull request #5756 from mshabunin:smooth_neon_fix
2015-12-08 08:59:58 +00:00
Maksim Shabunin
878ec080c7
Merge pull request #3540 from AlexanderUsentsov:good_feature
2015-12-08 08:02:28 +00:00
Florent
056a111788
Fixed histogram substraction bug with NEON instructions (arguments in wrong order).
2015-12-08 09:48:17 +03:00
grundman
2f0a598ac8
Update imgwarp.cpp
...
github editor does not show white space and inserts one for you ... great combination
2015-12-07 11:48:45 -08:00
grundman
5772cb52e3
Update imgwarp.cpp
...
Check for identity resize => use copy instead (1.37 ms -> 0.07 ms on 720p)
2015-12-07 11:25:39 -08:00
ausentso
9abdf39c90
added test for goodFeaturesToTrack;
2015-12-07 15:24:38 +03:00
Vadim Pisarevsky
54c1637ba1
Merge pull request #5743 from mshabunin:hal_extend
2015-12-07 10:01:22 +00:00
Keita Kita
1621043bd2
Add documentation about detail of image type
...
connectedComponents and connectedComponentsWithStats in
imgproc accept 8-bit single channel image only for input.
2015-12-06 14:06:17 +09:00
songyuncen
b81598bc03
try to fix : enclosing circle always larger than 1.0
...
issue #5745
2015-12-05 10:57:29 +08:00
Maksim Shabunin
b4bcdd10a1
HAL: improvements
...
- added new functions from core module: split, merge, add, sub, mul, div, ...
- added function replacement mechanism
- added example of HAL replacement library
2015-12-03 14:43:37 +03:00
Pavel Vlasov
2b27f7dbb3
Fixed warnings for IPP9+ build;
2015-12-01 16:10:29 +03:00
Pavel Vlasov
7375383d26
Canny IPP Sobel getBufferSize wrong func fix;
2015-11-23 14:31:22 +03:00
Pavel Vlasov
9acf93b7c6
IPP Sobel getBufferSize wrong func fix;
2015-11-19 18:38:47 +03:00
Jan Starzynski
2799829bc9
fix potential buffer overflow as in 3.0
2015-11-11 16:19:20 +01:00
Lorena García
252feb4774
Hit and Miss morphological op
2015-11-03 19:42:22 +01:00
Vadim Pisarevsky
979f88f6db
Merge pull request #5518 from Bovaz:master
2015-11-02 15:58:58 +00:00
Vadim Pisarevsky
67ef84d883
Merge pull request #5386 from StevenPuttemans:add_markers
2015-11-02 15:45:38 +00:00
Vadim Pisarevsky
3c31d6add3
Merge pull request #5515 from LorenaGdL:hitAndMiss
2015-11-02 11:49:37 +00: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
Lorena García
7cff60f4f6
Changed src matrix complement computation
2015-10-24 00:33:36 +02:00
Lorena García
fb03330ea3
Fixed CV_Assert
2015-10-24 00:22:50 +02:00
Rodrigo Benenson
0ef7387298
mush -> must
...
fixed typo
2015-10-22 23:27:55 +02:00
Alexander Alekhin
debe99f1a4
Merge pull request #5531 from mshabunin:fix-vs2015
2015-10-22 16:28:42 +00:00
Maksim Shabunin
6e9d0d9a0c
Visual Studio 2015 warning and test fixes
2015-10-20 12:48:37 +03:00
Suleyman TURKMEN
51e687f7a9
Update imgproc.hpp
2015-10-18 15:53:15 +03:00
Bovaz
7be3d3ab2c
sqrtf to std::sqrt
2015-10-14 18:57:33 -07:00
Matteo Piovanelli
216baf5b11
Speedup of arcLength
...
By my tests, this version of cv::arcLength is almost 10% faster than the
one using a buffer it replaces.
2015-10-14 13:37:48 -07:00