Nicu Știurcă
8722faa167
fix whitespace
10 years ago
Nicu Știurcă
7a3ca99894
fix _OutputArray::assign() for _OutputArrays of type MATX when data types differ
10 years ago
Ilya Lavrenov
3a78a22733
convertScaleAbs for s8, f64
10 years ago
Vladislav Vinogradov
b33f3bb2cc
refactor CV_CUDA_TEST_MAIN, use CV_TEST_MAIN for it
...
use CV_CUDA_TEST_MAIN for opencv_test_core to initialize CUDA
device information
10 years ago
Vladislav Vinogradov
f054d6316a
add cuda::HostMem::getAllocator method
...
it allows to use cudaHostAlloc methods for cv::Mat objects
10 years ago
Vladislav Vinogradov
1be1a28920
move CUDA core tests to core module
10 years ago
Vadim Pisarevsky
7c8789dc12
fixed my_umat(roi).clone() test by disabling poorly aligned ROI's. Real fix of the problem will require a separate branch in UMat::copyTo().
10 years ago
Alexander Karsakov
237cb93143
Added extra checks to ocl::Image2D
10 years ago
Alexander Karsakov
3a263c6326
Added tests for Image2D
10 years ago
Alexander Karsakov
a8169f08fc
Used checking norm of results for LPSolver accuracy tests
10 years ago
Alexander Karsakov
ec827bed8e
Changed check to NORM_RELATIVE for OCL.Mat_Scalar_Scale tests
10 years ago
Alexander Karsakov
a89ff402fc
Refactoring of OCL_FftPlan class
10 years ago
Vadim Pisarevsky
9a5aa4b23c
trying to solve compile problems; temporarily disabled some tests for just added optimization algo's
10 years ago
Vadim Pisarevsky
257463719b
removed optim module; moved its functionality to core and photo modules; moved drawing functions from core to imgproc. Removed FilterEngine etc. from public API
10 years ago
VBystricky
c5632d412e
Change epsilon for NORM_INF_2args accuracy tests
10 years ago
vbystricky
1fe403f461
Enable OpenCL version of norm and convertScaleAbs or 32F data
...
Fix error in minmaxloc.cl
Change test for convertScaleAbs
Fix minMaxIdx for _src2 align
Change epsilon on the tests
10 years ago
Vadim Pisarevsky
d97f9fc477
now the tests pass with loop_times==30
10 years ago
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
10 years ago
Alexander Karsakov
c3100eeb19
Fixed buffer initialization in reduce kernel. Enabled OCL version of reduce for SUM, MAX, MIN modes.
10 years ago
Alexander Karsakov
713ddb89bd
Set minimum matrix size for AmdBlas::gemm to 20 since it works incorrect for small sizes
10 years ago
Alexander Karsakov
10b3d00fd1
Increased epsilon for passing test with IPPICV
10 years ago
Alexander Karsakov
6ad4521b78
Fixed typos
11 years ago
Alexander Karsakov
00221e96fd
Fixed issue: Mat::copyTo(UMat) if device copy is obsolete. Added test.
11 years ago
Alexander Alekhin
55188fe991
world fix
11 years ago
vbystricky
2637b18b67
Fix epsilon for OpenCL function ConverTo, for convertation from float to integer types
11 years ago
vbystricky
2d587ad691
Prevent generating test case with mask filled 0 only
11 years ago
VBystricky
2026094691
Increase epsilon for OpenCL version UMatDot and ReduceAvg accurency tests
11 years ago
vbystricky
aad4104297
Fix accurency test for OpenCL matrix operations
11 years ago
vbystricky
184c5917bf
Fix accurency test of OpenCL merge function.
11 years ago
Vadim Pisarevsky
5267ed46c7
1. disabled OpenCL acceleration for cv::multiply() (CV_32F), cv::divide (CV_32F), cv::convertScaleAbs (CV_32F) and cv::reduce (SUM, CV_32F), cv::reduce (MIN & MAX), cv::flip (3-channel case).
...
2. changed the number of test loops from 1 to 30 (except for cv::pow() test, which fails for yet unknown reason)
3. disabled IPP acceleration for 3-channel norms.
4. modified relativeNorm test function to handle very small values
11 years ago
Alexander Karsakov
e51c0810b6
Added accuracy and performance tests for DFT all modes.
11 years ago
Alexander Karsakov
66ac46214d
Final refactoring, fixes
11 years ago
Alexander Karsakov
1d2cf0e20e
Added nonzero_rows support
11 years ago
Alexander Karsakov
52f76a3283
Added rest Elena's changes
11 years ago
Alexander Karsakov
7791264525
Added multi-block scheme
11 years ago
Alexander Karsakov
2b9e556055
Added Elena's changes with implemented DFT_INVERSE C2C mode.
11 years ago
Alexander Karsakov
b17bf031f6
Added DFT_SCALE for forward transforms
11 years ago
Alexander Karsakov
6c8b6bd0c7
Added packing to CCS format
11 years ago
Alexander Karsakov
ed07241f89
Completed all forward transforms.
11 years ago
Alexander Karsakov
e5a3ab3cb9
Added fftplan cache
11 years ago
Alexander Karsakov
0318d27720
Enabled precalculated wave
11 years ago
Alexander Karsakov
5dd9263848
Multi-radix with kernel generation
11 years ago
Ilya Lavrenov
5403bdd228
optimized cv::norm with NORM_RELATIVE
11 years ago
Roman Donchenko
7ea1bf3cf0
Fixed several problems found by PVS-Studio.
...
This fixes all problems from the article "Checking OpenCV with PVS-Studio"
<http://www.viva64.com/en/b/0191/ > that are not already fixed and are
not in 3rdparty or the legacy module.
The problems fixed are two instances of useless code and one instance
of unspecified behavior (right-shifting a negative number).
11 years ago
Kazuki Matsuda
fa292c3d8d
Implimentation "cv::Mat::forEach"
...
I propose forEach method for cv::Mat and cv::Mat_.
This is solution for the overhead of MatIterator_<_Tp>.
I runs a test that micro opecode runs all over the pixel of cv::Mat_<cv::Point3_<uint8_t>>.
And this implementation 40% faster than the simple pointer, 80% faster than iterator.
With OpenMP, 70% faster than simple pointer, 95% faster than iterator (Core i7 920).
Above all, code is more readable.
My test code is here.
https://gist.github.com/kazuki-ma/8285876
Thanks.
11 years ago
Vladislav Vinogradov
746185652a
add additional tests for different input cases
11 years ago
Vladislav Vinogradov
77275031ab
finally fix cv::subtract
11 years ago
Vladislav Vinogradov
629461c836
fix output matrix allocation in cv::subtract
11 years ago
Vladislav Vinogradov
4c66614e07
fix cv::subtract function:
...
call dst.create(...) before using it
11 years ago
Ilya Lavrenov
c80faff42f
added cn>1 support to cv::norm (NORM_INF)
11 years ago