Giles Payne
5cf08b0722
Fix/optimize Android put/get functions
4 years ago
Alexander Alekhin
80c4cedd25
android: use .getRowStride() in JavaCamera2View
6 years ago
Jan Starzynski
e9ed7eb68d
make -fvisibility=hidden work with java 1.7
6 years ago
Giles Payne
11dbd86aa3
Merge pull request #13956 from komakai:java-mat-class-improvements
...
* Expose more C++ functionality in the Java wrapper of the Mat class
In particular expose methods for handling Mat with more than 2 dimensions
* add constructors taking an array of dimension sizes
* add constructor taking an existing Mat and an array of Ranges
* add override of the create method taking an array of dimension sizes
* add overrides of the ones and zeros methods taking an array of dimension sizes
* add override of the submat method taking an array of ranges
* add overrides of put and get taking arrays of indices
* add wrapper for copySize method
* fix crash in the JNI wrapper of the reshape(int cn, int[] newshape) method
* add test for each method added to Mat.java
* Fix broken test
6 years ago
berak
0cd14e3fb4
java: add support for MatOfRotatedRect
7 years ago
Dmitry Kurtaev
92f754c675
Add methods to reshape Mat in Java by array of shapes and retreive sizes of each dimension.
7 years ago
Hamdi Sahloul
a39e0daacf
Utilize CV_UNUSED macro
7 years ago
berak
72f422c7dc
java: fix LIST_GET macro
7 years ago
luz.paz
d05714995c
Misc. modules/ cont. pt2
...
Found via `codespell`
7 years ago
Alexander Alekhin
8533b45ce9
cmake: Java/Android SDK refactoring
7 years ago
Alexander Alekhin
0cad2d2a83
java: files rename
...
intermediate commit (to simplify code review)
7 years ago
SarenT
c6d9ce8fd3
Merge pull request #10489 from SarenT:offset-mat_put
...
Adding capability to parse subsections of a byte array in Java bindings (#10489 )
* Adding capability to parse subsections of a byte array in Java bindings. (Because Java lacks pointers. Therefore, reading images within a subsection of a byte array is impossible by Java's nature and limitations. Because of this, many IO functions in Java require additional parameters offset and length to define, which section of an array to be read.)
* Corrected according to the review. Previous interfaces were restored, instead internal interfaces were modified to provide subsampling of java byte arrays.
* Adding tests and test related files.
* Adding missing files for the test.
* Simplified the test
* Check was corrected according to discussion. An OutOfRangeException will be thrown instead of returning.
* java: update MatOfByte implementation checks / tests
7 years ago
Florian Echtler
2e772510ea
Merge pull request #10050 from floe/android-studio-3.3.1
...
Add Android Mat constructor with support for native buffer (#10050 )
8 years ago
Alexander Alekhin
01519313d7
dnn: invalid bindings
8 years ago
Aleksandr Rybnikov
8b1146deb2
Added function to get timings for layers
8 years ago
abratchik
037d8fbdcd
Refactor OpenCV Java Wrapping
8 years ago
utibenkei
579ffbf97e
Added Java wrapping for tracking module
8 years ago
Jan Starzynski
479f933970
get/put: more type-safety and code unification using templates
9 years ago
Maksim Shabunin
f49936a849
Fixed cmake and build issues when using Visual Studio 2015
10 years ago
Maksim Shabunin
6e9d0d9a0c
Visual Studio 2015 warning and test fixes
10 years ago
Maksim Shabunin
457123027e
Modified java wrapping mechanism
10 years ago
Vadim Pisarevsky
d2b9dc5530
quickly corrected the previous refactoring of features2d: moved from set(SOME_PROP, val) to setSomeProp(val)
11 years ago
Vadim Pisarevsky
1176d4ef84
fixed some more compile errors and test failures
11 years ago
Vadim Pisarevsky
9c9ecc22e2
fixed opencv_java build
11 years ago
Vadim Pisarevsky
c422bdc3f8
fixed some more compile errors and test failures
11 years ago
Vadim Pisarevsky
61cddd8b63
fixed opencv_java build
11 years ago
Vadim Pisarevsky
27d2d3cbac
fixed doc builder complains and the test failures
11 years ago
Vadim Pisarevsky
31df47b6ea
moved nonfree and a part of features2d to opencv_contrib/xfeatures2d
11 years ago
Vadim Pisarevsky
8e9d1d9fe6
temporarily disabled java bindings for ml; hopefully fixed warnings etc.
11 years ago
Muto Masayuki
518d0df201
Add AKAZE support for the Java wrapper
11 years ago
Vladislav Vinogradov
5f88e2b496
fix #3477 :
...
CV_CAP_PROP_SUPPORTED_PREVIEW_SIZES_STRING property is not supported
by all VideoCapture backends. Some backends can return 0.0 or -1.0.(cherry picked from commit c41e8006c7
)
11 years ago
Alexander Alekhin
5474935a81
fixes for defects from code coverity
11 years ago
Vladislav Vinogradov
c41e8006c7
fix #3477 :
...
CV_CAP_PROP_SUPPORTED_PREVIEW_SIZES_STRING property is not supported
by all VideoCapture backends. Some backends can return 0.0 or -1.0.
11 years ago
Alexander Smorkalov
e79c875fe2
Java wrappers for functions from cv::gpu namespace in core module added.
12 years ago
Roman Donchenko
65389e41db
Revert commit 994e07db0
(PR #1715 ), because it's irrelevant for master.
...
Conflicts:
modules/java/generator/src/cpp/VideoCapture.cpp
12 years ago
Andrey Pavlenko
a88360bea6
minor refactoring of Android VideoCapture jni code to make it similar to generated one
12 years ago
Alexander Smorkalov
994e07db07
Bug #3276 Java bindings binary compatibility is broken in branch 2.4 fixed.
...
New version of Java wrappers' generator uses different wrappers for VideoCapture
on Android and desktop to prevent binary compatibility issues.
12 years ago
Vladislav Vinogradov
0c7663eb3b
Merge branch 'master' into gpu-cuda-rename
...
Conflicts:
modules/core/include/opencv2/core/cuda.hpp
modules/cudacodec/src/thread.cpp
modules/cudacodec/src/thread.hpp
modules/superres/perf/perf_superres.cpp
modules/superres/src/btv_l1_cuda.cpp
modules/superres/src/optical_flow.cpp
modules/videostab/src/global_motion.cpp
modules/videostab/src/inpainting.cpp
samples/cpp/stitching_detailed.cpp
samples/cpp/videostab.cpp
samples/gpu/stereo_multi.cpp
12 years ago
Roman Donchenko
2f942efdf7
Java: removed usages of Ptr<T>::addref().
...
Now the features2d class wrappers use composition instead of inheritance.
12 years ago
Roman Donchenko
e9a28f66ee
Normalized file endings.
12 years ago
Roman Donchenko
f55740da70
Deleted all trailing whitespace.
12 years ago
Andrey Pavlenko
5a9bd3f080
restoring binary compatibility
12 years ago
Andrey Pavlenko
d4e098f401
enabling of VideoCapture(String) [fixing issue #3207 ]
...
- enable auto-wrap of VideoCapture;
- minor refactoring of generated code templates.
12 years ago
Roman Donchenko
48a6edbdfe
Fixed compilation errors.
12 years ago
Andrey Pavlenko
a06891851d
fixing compilation with `-Werror=format-security` enabled
12 years ago
Jan Starzynski
d6b86d43c9
removed declaration of throwJavaException
12 years ago
Jan Starzynski
70930a30a1
refactored throwJavaException() and removed useless returns
12 years ago
Jan Starzynski
925e4eec98
removed multiplied code for exception handling
12 years ago
Jan Starzynski
ee42b65063
corrected some spelling errors
12 years ago
Jan Starzynski
12c42ac145
fixed strings in n1_dims(): n1_dcols() -> n1_dims()
12 years ago