Skip to content

Commit

Permalink
Merge pull request opencv#13956 from komakai:java-mat-class-improvements
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
komakai authored and alalek committed Mar 9, 2019
1 parent 7e8cc58 commit 11dbd86
Show file tree
Hide file tree
Showing 5 changed files with 1,171 additions and 6 deletions.
Loading

0 comments on commit 11dbd86

Please sign in to comment.