mirror of
https://github.com/opencv/opencv.git
synced 2024-11-27 12:40:05 +08:00
c6d9ce8fd3
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 |
||
---|---|---|
.. | ||
src | ||
gen_java.py |