Alexander Alekhin
be17f532e1
imgproc(resize): fix resizeNNInvoker handling of generic pixel size
5 years ago
Alexander Alekhin
3a546aa380
imgproc: revert resize changes from PR 16497
5 years ago
keeper121
d84360e7f3
Merge pull request #16497 from keeper121:master
...
* Fix NN resize with dimentions > 4
* add test check for nn resize with channels > 4
* Change types from float to double
* Del unnecessary test file. Move nn test to test_imgwarp. Add 5 channels test only.
5 years ago
Alexander Alekhin
4733a19bab
Merge pull request #16194 from alalek:fix_16192
...
* imgproc(test): resize(LANCZOS4) reproducer 16192
* imgproc: fix resize LANCZOS4 coefficients generation
5 years ago
Alexander Alekhin
8a3c394d6a
don't use constructors for C API structures
6 years ago
Vadim Pisarevsky
b8b7ca7302
Rewite polar transforms ( #11323 )
...
* Rewrite polar transformations
- A new wrapPolar function encapsulate both linear and semi-log remap
- Destination size is a parameter or calculated automatically to keep objects size between remapping
- linearPolar and logPolar has been deprecated
* Fix build warning and error in accuracy test
* Fix function name to warpPolar
* Explicitly specify the mapping mode, so we retain all the parameters as non-optional.
Introduces WarpPolarMode enum to specify the mapping mode in flags
* resolves performance warning on windows build
* removed duplicated logPolar and linearPolar implementations
7 years ago
Alexander Alekhin
4a297a2443
ts: refactor OpenCV tests
...
- removed tr1 usage (dropped in C++17)
- moved includes of vector/map/iostream/limits into ts.hpp
- require opencv_test + anonymous namespace (added compile check)
- fixed norm() usage (must be from cvtest::norm for checks) and other conflict functions
- added missing license headers
7 years ago
Vitaly Tuzov
51cb56ef2c
Implementation of bit-exact resize. Internal calls to linear resize updated to use bit-exact version. ( #9468 )
7 years ago
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