vartenkov
3fbe1f8d64
Fix multichannel warping with BORDER_CONSTANT
...
Warping a matrix with more than 4 channels using BORDER_CONSTANT and
INTER_NEAREST, INTER_CUBIC or INTER_LANCZOS4 interpolation led to
undefined behaviour. This commit changes the behavior of these methods
to be similar to that of INTER_LINEAR. Changed the scope of some of the
variables to more local. Modified some tests to be able to detect the
error described.
8 years ago
Alexander Alekhin
275bfcf99c
fix logPolar/linearPolar
9 years ago
Vitaly Tuzov
4a0152c731
Resize area result verification moved to the separate function
...
fix position of assert expected/actual parameter
9 years ago
Vitaly Tuzov
7d245e0f29
Added more resize_area tests to ensure right rounding behavior for half and quarter downscaling
9 years ago
Ilya Lavrenov
c16f465ff5
fixed "Conditional jump or move depends on uninitialised value" warning
...
(cherry picked from commit f100cdb6d4
)
9 years ago
Ilya Lavrenov
08e38e9ff9
fixed memory leaks in warpAffine tests
...
(cherry picked from commit b70e27e076
)
9 years ago
Ilya Lavrenov
e7ac52d17a
fixed "Conditional jump or move depends on uninitialised value" warning
9 years ago
Ilya Lavrenov
5547398786
fixed memory leaks in warpAffine tests
9 years ago
Ilya Lavrenov
f100cdb6d4
fixed "Conditional jump or move depends on uninitialised value" warning
9 years ago
Ilya Lavrenov
b70e27e076
fixed memory leaks in warpAffine tests
9 years ago
Vitaly Tuzov
a96a6bf149
Resize area result verification moved to the separate function
9 years ago
Vitaly Tuzov
b7c9aaa471
Added more resize_area tests to ensure right rounding behavior for half and quarter downscaling
9 years ago
Vadim Pisarevsky
ffabbfa778
added test to prove that remap does not leak memory ( http://code.opencv.org/issues/2502 ). disabled the test for now to save execution time.
10 years ago
Vadim Pisarevsky
ca90667723
fixed compile warnings on Linux and Windows
10 years ago
Vadim Pisarevsky
feb5b6aa93
increased singularity epsilon in LU decomposition. This solved singular case from http://code.opencv.org/issues/3305 . Added the respective test.
10 years ago
Vadim Pisarevsky
2e7e754032
added support for n-channel (n>4) images in warpAffine/warpPerspective/remap: http://code.opencv.org/issues/4190
10 years ago
Ilya Lavrenov
1ca35b7424
resize are fast
10 years ago
Ilya Lavrenov
1fe5441185
cv::convertMaps
10 years ago
Ilya Lavrenov
1b01e1fe68
cv::resize (INTER_AREA CV_16S, CV_32F)
10 years ago
Ilya Lavrenov
4dd6148646
cv::resize 16uc1
10 years ago
Ilya Lavrenov
c0b702a994
cv::resize area 2x
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
Adil Ibragimov
98d5731ad8
some formal changes (generally adding constness)
10 years ago
Ilya Lavrenov
aa5326c231
cv::norm -> cvtest::norm in tests
...
Conflicts:
modules/core/src/stat.cpp
11 years ago
Roman Donchenko
2de8487e58
Fixed a few tests that use uninitialized inputs.
11 years ago
OpenCV Buildbot
81f826db2b
Normalize line endings and whitespace
12 years ago
OpenCV Buildbot
04384a71e4
Normalize line endings and whitespace
12 years ago
Ilya Lavrenov
b7b32e74a5
some restructuring of resize algorithm code
12 years ago
Ilya Lavrenov
222303f24b
attempt
12 years ago
Anatoly Baksheev
3b075a50e9
fixed warnings under windows
12 years ago
Ilya Lavrenov
5ab3fe489f
changed resize_area test
12 years ago
Ilya Lavrenov
a65cb5d2de
added extra debug parameters in resize test
12 years ago
Andrey Kamaev
bd0e0b5800
Merged the trunk r8589:8653 - all changes related to build warnings
13 years ago
Andrey Kamaev
73c152abc4
Merged the trunk r8575:8583 (INTER_AREA interpolation for GPU resize)
13 years ago
Andrey Kamaev
f2d3b9b4a1
Warning fixes continued
13 years ago
Marina Kolpakova
83390ea4e1
performance test for INTER_AREA resize has been added.
13 years ago
Marina Kolpakova
8231d0d11d
fixed for resize with INTER AREA. Since now we divide by convolved area
13 years ago
Marina Kolpakova
eabd757def
fixed build
13 years ago
Marina Kolpakova
d192117e86
GPU resize with INTER_AREA
13 years ago
Marina Kolpakova
f5152500be
fixed #1373
13 years ago
Marina Kolpakova
dd01861de2
test case from ticket #1650
13 years ago
Vadim Pisarevsky
ff5e97c8e4
added COVAR_ and SORT_ enums to core.hpp; fixed many, many VS2005, VS2010 and MinGW (GCC 4.5.2) warnings
14 years ago
Vadim Pisarevsky
9a991a2e10
fixed build problems on Windows
14 years ago
Vadim Pisarevsky
abeeb40d46
a big patch; use special proxy types (Input/OutputArray, Input/OutputArrayOfArrays) for passing in vectors, matrices etc.
14 years ago
Vadim Pisarevsky
061b49e0b2
reworked nearly all of the OpenCV tests (except for opencv_gpu tests) - they now use the Google Test engine.
14 years ago