Maksim Shabunin
ce50df564c
Fixed cvtColor OCL compilation issue (BGRA2mBGRA)
8 years ago
Tomoaki Teshima
6ab10fc3ac
suppress warnings on GCC 4.9 series
...
- check boundary strictly
- initialize the variable before using it
8 years ago
Hamdi Sahloul
6a856d677c
Wraps cv::EMD for Python and Java
8 years ago
Artem Lukoyanov
c4ae5c0ee5
Added assertios to remap and warpAffine functions
...
Remap and warpAffine functions do not support more than 4 channels in
Bicubic and Lanczos4 interpolation modes. Assertions were added.
resolve #8272
8 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
berak
11f3c0741e
imgproc: move ShapeMatchModes enum from c to c++ header
8 years ago
berak
0b31eca9c2
remove unnessecary print statement
...
#resolves: 7881
remove printf statement and associated variables from invMapPointSpherical() in undistort.cpp
8 years ago
Woody Chow
9eecb5a9fe
Optimize RowVec_32f and SymmColumnVec_32f with AVX2
8 years ago
Woody Chow
05476d6604
Optimize initUndistortRectifyMap with AVX2
8 years ago
Woody Chow
9a29fc2ce1
Optimize WarpAffine using AVX2
8 years ago
Fangjun KUANG
246d3761ce
Merge pull request #8383 from csukuangfj/patch-10
...
* Improve documentation.
* Update imgproc.hpp
8 years ago
Fangjun KUANG
2a30d8c9f9
Update documentation for cv::accumulate.
...
Make it more clear for the type of input argument.
8 years ago
chacha21
8c7d29e526
more minor changes to fix -Wunused-function warning on Apple platforms
8 years ago
chacha21
94c58e7347
minor changes to fix -Wunused-function warning on Apple platforms
8 years ago
Alexander Alekhin
ba8a6e3533
ocl: don't use vload4 for 3 channel images
8 years ago
chacha21
27cfe31b64
more ICV_HLINE specific cases
...
added ICV_HLINE custom implementations for element sizes up to 32
but timings show that it is not very relevant for sizes >= 12
8 years ago
chacha21
92a3dbe18f
more ICV_HLINE optimization
...
added 64b optimization for 3 channels case
not added 64b optimization for 4 channels case since timings did not
show any improvement
split ICV_HLINE cases into inline functions instead of macro for code
size reduction, without significand speed drawback at first sight
8 years ago
Fangjun KUANG
34c70e7a1c
Fix typos.
8 years ago
Jejos
5169c79978
fix medianBlur accessviolation
...
medianBlur called with "empty" source and ksize >= 7 crashes application with accessviolation. With this extra assert this is avoided and the application may normally catch the thrown exception.
8 years ago
Maksim Shabunin
c4c1c4c9bb
Replaced several hal:: classes with functions, marked old variants deprecated
8 years ago
Tomoaki Teshima
822c67fdee
remove non ASCII character from comment
8 years ago
PkLab.net
e03c81d90a
Change image e small fix to cv::ellipse() Doc
8 years ago
Tomoaki Teshima
aec59aba34
suppress warnings
...
- brush up the implementation
8 years ago
Vitaly Tuzov
9a4b5a4545
OpenVX calls updated to use single common OpenVX context per thread
8 years ago
chacha21
91a0270432
try to fix Android compilation
8 years ago
Tomoaki Teshima
64cf206fb5
optimize blend using universal intrinsic
...
- add more channels/depth performance test for blend
8 years ago
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)
8 years ago
Alexander Alekhin
e16227b53c
cmake: support multiple CPU targets
8 years ago
chacha21
16a9407fbf
new try to adapt to iOS build bot
8 years ago
chacha21
e19000a56f
adaptation for iOS buildbot
8 years ago
chacha21
7521bcc32c
comment unused function
...
On MacOS and iOS, the unused opencvBigToHost32 is a warning for buildbot
8 years ago
chacha21
d3a15c625a
do not use GCC_VERSION
8 years ago
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.
8 years ago
Tomoaki Teshima
37be9ddeec
add enum Bayer**2BGRA
...
- let it possible to reach Bayer2BGRA conversion
8 years ago
LaurentBerger
b3c1bd788a
Add note about OTSU and TRIANGLE (comment sovrasov)
8 years ago
LaurentBerger
fa4d32f7dd
Solve issue 8136 opencv doc of threshold
8 years ago
Alexander Alekhin
ec47a0a6de
build: workaround for missing _mm256_setr_m128 in GCC
8 years ago
Tomoaki Teshima
07979b02c3
optimize corner detection series using AVX instructions
...
- make sure SSE version will be still available for backward compatibility
8 years ago
Tomoaki Teshima
ddca982c09
remove pure SSE part
8 years ago
Tomoaki Teshima
062d2179eb
use universal intrinsic in corner detection series
8 years ago
mshabunin
8c66531c42
imgproc/CLAHE/ocl: Removed unnecessary __local variable
8 years ago
LaurentBerger
587e9a554e
remove new operator
8 years ago
Tetragramm
7cc0b0f93e
Add case including both moments empty.
8 years ago
LaurentBerger
e6f27240d5
dd a note in findcontours doc
8 years ago
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.
8 years ago
Alexander Alekhin
fa36b9d345
imgproc: fix using of uninitialized edge[] members in FillConvexPoly
8 years ago
Lorena García
3650ec02be
HitMiss tutorial
8 years ago
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
8 years ago
Pavel Rojtberg
40686b5e87
initUndistortRectifyMap: CV_32FC2 is also supported as m1type
8 years ago
Alexander Alekhin
0e4dde1781
Merge pull request #7872 from alalek:merge-2.4
8 years ago