Ilya Lavrenov
98915e06bc
added HSV -> RGB[A][FULL] conversion
11 years ago
Ilya Lavrenov
3bdd9626f3
added RGB[A] -> HLS[FULL] conversion
11 years ago
Ilya Lavrenov
af7c614438
added RGB[A] -> HSV[FULL] conversion
11 years ago
Alexander Alekhin
fb326a58fc
ocl: perf tests: skip tests if we fail check for maxMemoryAllocSize
11 years ago
Alexander Alekhin
f1873bbca1
perf tests: allow to skip performance tests
11 years ago
Ilya Lavrenov
6770c04073
refactored some functions from ocl arithm
11 years ago
Ilya Lavrenov
c38e4f9639
added eps to ocl::buildWarpPerspectiveMaps perf test
11 years ago
Michael Pratt
73f1940b03
Add missing limits include
...
Without limits included, several CUDA related files fail to compile with
GCC on Ubuntu:
modules/cudaimgproc/src/hough_lines.cpp:136:9: error: ‘numeric_limits’ is not a member of ‘std’
11 years ago
perping
185059959b
fix haar
11 years ago
perping
1e2fb6de30
fix match_template and haar
11 years ago
Ilya Lavrenov
0bf7350615
fixed compilation of ocl::minMaxLoc for Intel device
11 years ago
huangs
f02ce90559
minX1 should be max(-maxD,0) not max(maxD,0), avoid black band at left
11 years ago
Roman Donchenko
b8e3d3f791
In the image sequence capture, only search for the ordinal in the file name.
...
Searching in directory names can yield confusing results; e.g. if
the input is "jpeg2000/image1.jp2", it will infer the pattern
"jpeg%04d/image1.jp2", which is likely not what the user intended.
If the user really desires for the variable part to be in the
directory name, it can always use an explicit pattern.
11 years ago
Ilya Lavrenov
96121a66c5
kernel warnings on AMD
11 years ago
perping
d6e0ef2710
fix linux warning.
11 years ago
perping
dee584ee15
fix haar
11 years ago
perping
8af626d295
fix some bug about haar and match_template.
11 years ago
Ilya Lavrenov
eda6360fa3
added RGB5x5 <-> Gray
11 years ago
Philippe FOUBERT
93120775cd
Using four spaces for indentation.
11 years ago
Roman Donchenko
405227d531
Replaced the image used in the Highgui_Video.ffmpeg_image test.
...
Our prebuilt FFmpeg Windows binaries don't have PNG support enabled
(because that requires zlib), so that makes a PNG image a bad choice
for this test.
When FFmpeg doesn't support PNG, VideoCapture falls back to the
"image sequence" implementation, which doesn't work for single images.
11 years ago
Ilya Lavrenov
daedc6f454
removed 2000x2000, 4000x4000 from test sizes of ocl::adaptiveBilateralFilter
11 years ago
Roman Donchenko
eff53e95f9
Fixed the "image sequence" capture not failing when a pattern isn't found.
...
at can't be a null pointer, so the condition was always false, and
a nonsensical pattern like "image.png%00d" was being inferred.
11 years ago
Ilya Lavrenov
3727168b50
added a performance test for ocl::buildWarpPerspectiveMaps; moved warps to a separate file
11 years ago
Roman Donchenko
ccbd7f8da9
Added a citation which used to be in the gpu module in 2.4.
11 years ago
Roman Donchenko
bfa40e180f
Removed another usage of __func__, following #1763 .
11 years ago
Ilya Lavrenov
1f421fce01
added RGB5x5 <-> RGB conversion
11 years ago
Philippe FOUBERT
05d9375759
Trailing whitespace removal.
11 years ago
perping
73b34e3f85
fix warning.
11 years ago
perping
50579d2524
Make Integral sum support cv_32f, sqsum support cv_64f.
11 years ago
Ilya Lavrenov
5beb887247
replaced custom PI by OpenCL M_PI constant
11 years ago
Ilya Lavrenov
3cc9502c90
added RGB[A] <-> BGR[A] conversion to ocl::cvtColor
11 years ago
Philippe FOUBERT
8b0fc04d93
Fix the build of OpenCV with XIMEA on Windows 64 bits:
...
- crosses initializations in "cap_ximea.cpp" (which also contained some awfull "goto" instructions)
- the "CMAKE_CL_64" variable is not initialized when using mingw
PR#1039 modified to be able to merge on branch 2.4
11 years ago
Ilya Lavrenov
581a3e444d
added XYZ to RGB conversion to ocl::cvtColor
11 years ago
Ilya Lavrenov
5e02b20482
added RGB -> XYZ conversion to ocl::cvtColor
11 years ago
Ilya Lavrenov
33ae64201c
color.cpp refactoring: created generic interface for toRGB and fromRGB callers
11 years ago
Ilya Lavrenov
a57030a0cd
added YCrCb to RGB, BGR, RGBA, BGRA modes to ocl::cvtColor
11 years ago
Ilya Lavrenov
eba6754b06
fixed ocl::cvtColor for CV_YUV2BGRA and CV_YUV2RGBA
11 years ago
Ilya Lavrenov
8b57893e40
added an accuracy test for ocl::buildWarpPerspectiveMaps
11 years ago
Ilya Lavrenov
4248f82211
added ROI support to ocl::buildWarp*Maps functions
11 years ago
Kiran Pradeep
5852a913a8
CMake's get_filename_component with NAME_WE parameters, interprets first period as start of extension. For. e.g file name with out extension of 'this.is.a.text.file.txt' will be taken as 'this'. Hence using NAME with regex replacement to get 'this.is.a.text.file'
11 years ago
Michael Pratt
8aafd569c8
Support PyString_AsString() in Python 3 < 3.3
...
In Python 3, version 3.3+, PyUnicode_AsUTF8() provides similar
functionality to Python 2's PyString_AsString().
In older versions of Python 3, there is no public function to provide
the same functionality. However, the "internal" _PyUnicode_AsString()
does provide that functionality, so use it to replace
PyString_AsString().
With this patch, cv2 should compile for Python 3.[0-2].
11 years ago
Baichuan Su
9a0d06247a
Fix the whitespace warning.
11 years ago
Ilya Lavrenov
760b718981
added CV_16SC2 && CV_16UC1 map types support to ocl::remap (INTER_LINEAR mode)
11 years ago
Baichuan Su
99a00d3dd9
Fix merge conflicts
11 years ago
Baichuan Su
befcbf56fe
A minor fix.
11 years ago
Baichuan Su
f0de1a08b8
Fix ocl::calcHarris not support CV_32FC1 bug.
11 years ago
Roman Donchenko
2c38be079e
Enabled CV_Assert and such to print the function name with Visual C++.
...
Also, I made a separate macro for the current function name, which
helps simplify a lot of code that uses it.
11 years ago
Konstantin Matskevich
e9edfd1c54
update
11 years ago
Bo Hu
c88fa27b1d
Removed trailing whitespace in cap_qtkit.mm.
11 years ago
Bo Hu
114579c33b
Added proper testing of the end of quicktime video files.
...
CvCaptureFile::grabFrame() always returns 1 regardless, which causes
dead loop when relying on the return value of VideoCapture::read().
11 years ago