Andrey Kamaev
e75df56317
Unified handling of InputOutputArrays in Python wrapper generator
...
This makes arguments of type InputOutputArray required in python unless they
have a default value in C++.
As result following python functions changes signatures in non-trivial way:
* calcOpticalFlowFarneback
* calcOpticalFlowPyrLK
* calibrateCamera
* findContours
* findTransformECC
* floodFill
* kmeans
* PCACompute
* stereoCalibrate
And the following functions become return their modified inputs as a return
value:
* accumulate
* accumulateProduct
* accumulateSquare
* accumulateWeighted
* circle
* completeSymm
* cornerSubPix
* drawChessboardCorners
* drawContours
* drawDataMatrixCodes
* ellipse
* fillConvexPoly
* fillPoly
* filterSpeckles
* grabCut
* insertChannel
* line
* patchNaNs
* polylines
* randn
* randShuffle
* randu
* rectangle
* setIdentity
* updateMotionHistory
* validateDisparity
* watershed
12 years ago
Andrey Kamaev
a1c456b7c3
Extract common base header for C and C++ APIs
12 years ago
Andrey Kamaev
ad5cddc007
Main module headers are moved 1 level up
...
e.g. <opencv2/core/core.hpp> become <opencv2/core.hpp>
Also renamed <opencv2/core/opengl_interop.hpp> to <opencv2/core/opengl.hpp>
12 years ago
Andrey Kamaev
980fc93b4d
Fix clang + ccache build warnings
12 years ago
Andrey Kamaev
2a6fb2867e
Remove all using directives for STL namespace and members
...
Made all STL usages explicit to be able automatically find all usages of
particular class or function.
12 years ago
Vadim Pisarevsky
43d61d961e
fixed problem with Nx2 numpy arrays in geometrical functions ( #2783 )
12 years ago
marina.kolpakova
cc538ddfa6
changes related with code review
12 years ago
marina.kolpakova
f7ac73998a
code review fixes
12 years ago
marina.kolpakova
1613aa45bc
fix python bindings
12 years ago
marina.kolpakova
f3227c3f1a
merged ICFPreprocessor and Channels -> ChannelFeatureBuilder
12 years ago
Vadim Pisarevsky
79e278c008
applied patch #2587
12 years ago
Vadim Pisarevsky
82b6419d12
added tests for fast (ticket #2613 ) and estimateAffine3D ( #2375 )
12 years ago
Vadim Pisarevsky
abd9675a99
fixed bugs #1718 , #2375 ; attached the new tests to test.py.
12 years ago
Vadim Pisarevsky
4044fbcb33
hopefully fixed handling of 'long' Python type in OpenCV bindings (bug #2193 ). added the corresponding test
12 years ago
Vadim Pisarevsky
2320ec76b4
Extended python bindings to support scalar values and tuples in place of InputArray (i.e. Mat) - ticket #2658 . Added tests for #2611 , #2505 , #2658
12 years ago
Vadim Pisarevsky
a519bbc617
Extended python bindings to support scalar values and tuples in place of InputArray (i.e. Mat) - ticket #2658 . Added tests for #2611 , #2505 , #2658
12 years ago
Vadim Pisarevsky
cd46a674d1
applied patch #2611 that also likely fixes #2505
12 years ago
Andrey Kamaev
46c4390a2e
Hardly refactored CMake script for Java wrappers
12 years ago
Vadim Pisarevsky
f14b7af5ac
changed diagnostic from "warning" to "note" in the python wrapper generator, to suppress some noise in opencv utilities
12 years ago
Andrey Kamaev
b401c6a0c3
Fix discrepancies between function signatures in headers and documentation
12 years ago
Andrey Kamaev
aabbe11e64
Improve function arguments parsing and checking
...
* always use "argN" names for unnamed arguments
* honor space symbol between typename and "*", "&" symbols
* fix indent errors
12 years ago
Jason Newton
00bdca7684
A few changes to comply with upstream requirements for merge.
...
-Change input/output order from (out Labeled, in Image) -> (in Image, Out Labeled) and convert
to Input/OutputArrays in the process.
-Adopt OutputArray for statistics export so that the algorithm is "wrapper friendly" and not requiring a new struct in
language bindings at the expense of using doubles for everything and slowing statistics computation down..
12 years ago
marina.kolpakova
285d6320be
add #/usr/bin/env python to all python files
12 years ago
Jason Newton
85880397c4
connectedcomponents: use opencv integral types, add to docs, fix up things for a python export
12 years ago
Vadim Pisarevsky
ae10ecd264
fixed 2 test failures (test_DrawChessboardCorners & Core_Array.expressions)
12 years ago
Andrey Kamaev
d0ec65e80c
Fix linux build warning
12 years ago
Vadim Pisarevsky
40a30b6f30
fixed type "compatible -> incompatible" in the error message
12 years ago
Vadim Pisarevsky
d652cc72f2
fixed bugs #2100 (kind of) and #1393
...
[edit: cleaned whitespace]
12 years ago
OpenCV Buildbot
81f826db2b
Normalize line endings and whitespace
12 years ago
OpenCV Buildbot
04384a71e4
Normalize line endings and whitespace
12 years ago
Andrey Kamaev
0e9405e591
Honor resently added functionality in hdr_parser and rst_parser; minor fixes in documentation
12 years ago
Vadim Pisarevsky
52ede9c84d
fixed just introduced bug in Python wrapper generator
12 years ago
Vadim Pisarevsky
84087a8566
fixed crash in Python's SURF wrapper (bug #2325 )
12 years ago
Andrey Kamaev
bcd0aefbca
Fix gcc build errors and warnings
12 years ago
Vadim Pisarevsky
ff90c3eba6
possibly fixes #2242 and #2257
12 years ago
Evgeny Talanin
19313923cc
Use github pat to get data for in python tests (files from code.opencv.org are received truncated sometimes)
12 years ago
Alexander Mordvintesv
0adf68ae62
work on #2100 : pyopencv_to functions now can receive argument information through ArgInfo structure. Non-contiguous input numpy arrays are copied. In case of non-contiguous output array the TypeError is thrown.
13 years ago
Evgeny Talanin
064d022a4b
Set correct path to repo in python tests (changed after migration to git)
13 years ago
Andrey Kamaev
620d122fc2
Contrib module is added to java wrappers; fixed algorithm initialisation for python bindings
13 years ago
Vadim Pisarevsky
acf356b080
added contrib module support in Python wrappers (thanks to Eric Christiansen)
13 years ago
Marina Kolpakova
162f9fd7ea
merged the trunk r8735:8766, r8769, r8777:8780, r8790 and r8800:8811
13 years ago
Marina Kolpakova
680a44189c
merged the trunk r8704:8716
13 years ago
Andrey Kamaev
d9c74f63e1
All tests writing temporary files are updated to use cv::tempfile() function
13 years ago
Andrey Kamaev
e94e5866a1
Fixed mingw build warnings
13 years ago
Andrey Kamaev
f666bd221f
Merged the trunk r8595:8668 (except iOS and new gpu functionality)
13 years ago
Andrey Kamaev
bd0e0b5800
Merged the trunk r8589:8653 - all changes related to build warnings
13 years ago
Andrey Kamaev
5349fa0302
Fixed target_link_libraries for python bindings
13 years ago
Andrey Kamaev
c5aba337e9
Fixed number of warnings. Fixed mingw64 build.
13 years ago
Andrey Kamaev
49a1ba6038
Set stricter warning rules for gcc
13 years ago
Andrey Kamaev
ca0962c738
Megred fix for pyrhon API generator regression r8528
13 years ago