Alexander Karsakov
967a88759f
Don't process empty src image in GFTT
11 years ago
ElenaGvozdeva
d88fdd0378
use LOCAL_SIZE+1
11 years ago
Alexander Karsakov
643c906f3d
Added optimized loading to YUV2RGB_422 kernel
11 years ago
Alexander Alekhin
fae2eb8a1a
Merge pull request #3353 from Chuanbo-Weng:master
11 years ago
Alexander Alekhin
30222c7be8
Merge pull request #3359 from akarsakov:ocl_buildMaps
11 years ago
Jose-Luis Blanco-Claraco
539acaf348
OpenCVConfig.cmake: Fix CMake CMP0012 warning
...
"TRUE"/"FALSE" should not be used as literals, as CMake has to decide
whether they are literals or variable names (sigh).
This patch should make it work with any version of CMake and with any
user-side decision on old vs. new policy behavior.
11 years ago
Alexander Karsakov
1466621f99
Added loading 4 pixels in line instead of 2 to RGB[A] -> YUV(420) kernel
11 years ago
Alexander Karsakov
ebfaf4c5d8
Added checking that z is non zero to buildWarpPlaneMaps kernel
11 years ago
Alexander Karsakov
0aab779532
Overload PlaneWarper::buildMaps method from base class
11 years ago
ElenaGvozdeva
65b8a1cb37
Some small fixes
11 years ago
Elena Gvozdeva
c5a2879ce0
use vectors
11 years ago
Elena Gvozdeva
2d89df1804
use local memory
11 years ago
Elena Gvozdeva
d78bc3c321
naive implementation
11 years ago
Alexander Alekhin
dee56598e9
Merge pull request #3369 from vbystricky:fix_scaleAdd
11 years ago
Pat O'Keefe
83ccdabe7e
Add test for calib3d function decomposeProjectionMatrix(...)
11 years ago
Alexander Alekhin
1f08d8cb6f
Merge pull request #3367 from akarsakov:ocl_image2d
11 years ago
Alexander Alekhin
1fbad26fe3
Merge pull request #3342 from alalek:perf_stability_check
11 years ago
vbystricky
8466911ad0
Move _dst.create() to the begining of scaleAdd function
11 years ago
Alexander Alekhin
caba92f2b8
Merge pull request #3284 from vbystricky:oclopt_stereoBM
11 years ago
Alexander Alekhin
63383ef1d8
Merge pull request #3368 from alalek:amd_clfinish
11 years ago
Alexander Karsakov
237cb93143
Added extra checks to ocl::Image2D
11 years ago
Alexander Alekhin
579a7fff6d
ocl: restore clFinish() in unmap() for AMD devices
...
This reverts commit 7d91b8efcd
.
11 years ago
Maksim Shabunin
071e78d02e
Disabled videoio_video_prop_fps test
...
This test does not return correct values with some software configurations.
Possible problem with ffmpeg on buildbot's linux-slave.
11 years ago
vbystricky
21ad8e92d4
Optimize OpenCL version of StereoBM function
...
Fix problems on NVidia devices.
11 years ago
Alexander Karsakov
3a263c6326
Added tests for Image2D
11 years ago
Maksim Shabunin
e85ae5f2f0
Fixed imgcodecs tests
...
- Imgcodecs_Image, write_imageseq - assuming JPEG images have losses
- Imgcodecs_Drawing, c_regression - replaced assert calls
- Imgcodecs_Drawing - exact comparison with reference image
11 years ago
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.
11 years ago
Alexander Karsakov
62d4393883
Small optimization for buildMaps kernels in case rowsPerWI > 1
11 years ago
Maksim Shabunin
ba5f343c38
Basic doxygen documentation support
...
- updated existing Doxyfile.in
- added corresponding cmake instructions
- added some specific files (layout, icon)
- clean existing doxygen warnings
11 years ago
Brian Park
f83a76cdeb
add input paramter checking that verifies the existance of the input files to stero_match example
11 years ago
Vadim Pisarevsky
e40567eaee
Merge pull request #3352 from alucarded:BackgroundSubtractorMOG2_optimization
11 years ago
vbystricky
a8aa6381d9
Optimize OpenCL version of conversScaleAbs function
11 years ago
Alexander Karsakov
60367907fe
Used direct float calculations
11 years ago
Alexander Karsakov
5aa9ac9a77
Added OCL code for YUV422 -> RGB[A]|BGR[A] color conversion
11 years ago
Alexander Karsakov
c8707b891b
Added OCL code for RGB[A]|BGR[A] -> YUV_[YV12|IYUV] color conversion
11 years ago
Alexander Karsakov
8c91604f5a
Added OCL code for YUV2GRAY_420 color conversion
11 years ago
Alexander Karsakov
1cc17a7186
Added OCL code for YUV2BGR_YV12 and YUV2BGR_IYUV color conversions
11 years ago
Alexander Karsakov
85b60ee3cb
Added support for YUV2RGB[A]_NV21 and YUV2BGR[A]_NV21 conversion
11 years ago
Alexander Alekhin
8ab6852927
added performance validation check
11 years ago
Alexander Alekhin
54b59c3cfb
Merge pull request #3355 from ElenaGvozdeva:predictOptimalVectorWidth
11 years ago
ElenaGvozdeva
070e5ec042
Changed predictOptimalVectorWidth function, now it is possible to choose vector size.
11 years ago
Alexander Alekhin
322593e89f
Merge pull request #3256 from vbystricky:oclopt_BFMatcher
11 years ago
Tomasz Posłuszny
8dd213c829
BackgroundSubtractorMOG2, learningRate=0 optimization
11 years ago
Chuanbo Weng
2b52bb092a
Update hog.cpp
...
Update according to vbystricky's comments
11 years ago
Vadim Pisarevsky
4de9605b7b
Merge pull request #3344 from mshabunin:java_automation
11 years ago
Vadim Pisarevsky
d767c9df58
Merge pull request #3349 from a-wi:DShow_Strsafe_header_v3
11 years ago
Vadim Pisarevsky
926b64fff7
Merge pull request #3292 from mshabunin:fix-ios-warnings
11 years ago
Chuanbo Weng
7452eef6e9
Correctly enable OpenCL mode in tapi's hog example.
...
For current OpenCV-CL architecture, if the data buffer
allocated in UMat are cpu buffer(not ocl buffer) under
cpu mode, and then pass this UMat to an OpenCL kernel
as an argument, the OpenCL path will fail and fallback
to cpu mode. Take HOGDescriptor::oclSvmDetector as an example:
ocl::setUseOpenCL(false);
//data allocated in hog.oclSvmDetector will be cpu buffer
hog.setSVMDetector(HOGDescriptor::getDaimlerPeopleDetector());
ocl::setUseOpenCL(true);
//We enabled OpenCL, but hog.oclSvmDetector are cpu buffer,
//so it will fail in the function ocl_classify_hists
//when reach to this line
//idx = k.set(idx, ocl::KernelArg::PtrReadOnly(detector));
hog.detectMultiScale(img, found, hit_threshold, win_stride,
Size(0, 0), scale, gr_threshold);
Similar problems heppen on img_aux and img. So we should re-define
or re-set these UMat when do mode switch (CPU -> OpenCL) in order
to make their data be allocated by ocl and then OpenCL path will
succeed.
Signed-off-by: Chuanbo Weng <chuanbo.weng@intel.com>
11 years ago
Vadim Pisarevsky
55f490485b
Merge pull request #3348 from vpisarev:refactor_algorithms2
11 years ago
Artur Wieczorek
dcbe797980
Include strsafe.h to compile successfully under MinGW in Debug mode.
11 years ago