Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
O
opencv
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
opencv
Commits
1b38d1e6
Commit
1b38d1e6
authored
Jul 19, 2013
by
Roman Donchenko
Committed by
OpenCV Buildbot
Jul 19, 2013
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1150 from janstarzy:spelling
parents
28f27554
9bf21674
Show whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
180 additions
and
180 deletions
+180
-180
Mat.cpp
modules/java/generator/src/cpp/Mat.cpp
+152
-152
core+MatOfByte.java
modules/java/generator/src/java/core+MatOfByte.java
+2
-2
core+MatOfDMatch.java
modules/java/generator/src/java/core+MatOfDMatch.java
+2
-2
core+MatOfDouble.java
modules/java/generator/src/java/core+MatOfDouble.java
+2
-2
core+MatOfFloat.java
modules/java/generator/src/java/core+MatOfFloat.java
+2
-2
core+MatOfFloat4.java
modules/java/generator/src/java/core+MatOfFloat4.java
+2
-2
core+MatOfFloat6.java
modules/java/generator/src/java/core+MatOfFloat6.java
+2
-2
core+MatOfInt.java
modules/java/generator/src/java/core+MatOfInt.java
+2
-2
core+MatOfInt4.java
modules/java/generator/src/java/core+MatOfInt4.java
+2
-2
core+MatOfKeyPoint.java
modules/java/generator/src/java/core+MatOfKeyPoint.java
+2
-2
core+MatOfPoint.java
modules/java/generator/src/java/core+MatOfPoint.java
+2
-2
core+MatOfPoint2f.java
modules/java/generator/src/java/core+MatOfPoint2f.java
+2
-2
core+MatOfPoint3.java
modules/java/generator/src/java/core+MatOfPoint3.java
+2
-2
core+MatOfPoint3f.java
modules/java/generator/src/java/core+MatOfPoint3f.java
+2
-2
core+MatOfRect.java
modules/java/generator/src/java/core+MatOfRect.java
+2
-2
No files found.
modules/java/generator/src/cpp/Mat.cpp
View file @
1b38d1e6
...
@@ -42,13 +42,13 @@ JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1Mat__III
...
@@ -42,13 +42,13 @@ JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1Mat__III
return
(
jlong
)
_retval_
;
return
(
jlong
)
_retval_
;
}
catch
(
cv
::
Exception
e
)
{
}
catch
(
cv
::
Exception
e
)
{
LOGD
(
"Mat::n_1Mat__III() ca
tched
cv::Exception: %s"
,
e
.
what
());
LOGD
(
"Mat::n_1Mat__III() ca
ught
cv::Exception: %s"
,
e
.
what
());
jclass
je
=
env
->
FindClass
(
"org/opencv/core/CvException"
);
jclass
je
=
env
->
FindClass
(
"org/opencv/core/CvException"
);
if
(
!
je
)
je
=
env
->
FindClass
(
"java/lang/Exception"
);
if
(
!
je
)
je
=
env
->
FindClass
(
"java/lang/Exception"
);
env
->
ThrowNew
(
je
,
e
.
what
());
env
->
ThrowNew
(
je
,
e
.
what
());
return
0
;
return
0
;
}
catch
(...)
{
}
catch
(...)
{
LOGD
(
"Mat::n_1Mat__III() ca
tched
unknown exception (...)"
);
LOGD
(
"Mat::n_1Mat__III() ca
ught
unknown exception (...)"
);
jclass
je
=
env
->
FindClass
(
"java/lang/Exception"
);
jclass
je
=
env
->
FindClass
(
"java/lang/Exception"
);
env
->
ThrowNew
(
je
,
"Unknown exception in JNI code {Mat::n_1Mat__III()}"
);
env
->
ThrowNew
(
je
,
"Unknown exception in JNI code {Mat::n_1Mat__III()}"
);
return
0
;
return
0
;
...
@@ -74,13 +74,13 @@ JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1Mat__DDI
...
@@ -74,13 +74,13 @@ JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1Mat__DDI
return
(
jlong
)
_retval_
;
return
(
jlong
)
_retval_
;
}
catch
(
cv
::
Exception
e
)
{
}
catch
(
cv
::
Exception
e
)
{
LOGD
(
"Mat::n_1Mat__DDI() ca
tched
cv::Exception: %s"
,
e
.
what
());
LOGD
(
"Mat::n_1Mat__DDI() ca
ught
cv::Exception: %s"
,
e
.
what
());
jclass
je
=
env
->
FindClass
(
"org/opencv/core/CvException"
);
jclass
je
=
env
->
FindClass
(
"org/opencv/core/CvException"
);
if
(
!
je
)
je
=
env
->
FindClass
(
"java/lang/Exception"
);
if
(
!
je
)
je
=
env
->
FindClass
(
"java/lang/Exception"
);
env
->
ThrowNew
(
je
,
e
.
what
());
env
->
ThrowNew
(
je
,
e
.
what
());
return
0
;
return
0
;
}
catch
(...)
{
}
catch
(...)
{
LOGD
(
"Mat::n_1Mat__DDI() ca
tched
unknown exception (...)"
);
LOGD
(
"Mat::n_1Mat__DDI() ca
ught
unknown exception (...)"
);
jclass
je
=
env
->
FindClass
(
"java/lang/Exception"
);
jclass
je
=
env
->
FindClass
(
"java/lang/Exception"
);
env
->
ThrowNew
(
je
,
"Unknown exception in JNI code {Mat::n_1Mat__DDI()}"
);
env
->
ThrowNew
(
je
,
"Unknown exception in JNI code {Mat::n_1Mat__DDI()}"
);
return
0
;
return
0
;
...
@@ -107,13 +107,13 @@ JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1Mat__IIIDDDD
...
@@ -107,13 +107,13 @@ JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1Mat__IIIDDDD
return
(
jlong
)
_retval_
;
return
(
jlong
)
_retval_
;
}
catch
(
cv
::
Exception
e
)
{
}
catch
(
cv
::
Exception
e
)
{
LOGD
(
"Mat::n_1Mat__IIIDDDD() ca
tched
cv::Exception: %s"
,
e
.
what
());
LOGD
(
"Mat::n_1Mat__IIIDDDD() ca
ught
cv::Exception: %s"
,
e
.
what
());
jclass
je
=
env
->
FindClass
(
"org/opencv/core/CvException"
);
jclass
je
=
env
->
FindClass
(
"org/opencv/core/CvException"
);
if
(
!
je
)
je
=
env
->
FindClass
(
"java/lang/Exception"
);
if
(
!
je
)
je
=
env
->
FindClass
(
"java/lang/Exception"
);
env
->
ThrowNew
(
je
,
e
.
what
());
env
->
ThrowNew
(
je
,
e
.
what
());
return
0
;
return
0
;
}
catch
(...)
{
}
catch
(...)
{
LOGD
(
"Mat::n_1Mat__IIIDDDD() ca
tched
unknown exception (...)"
);
LOGD
(
"Mat::n_1Mat__IIIDDDD() ca
ught
unknown exception (...)"
);
jclass
je
=
env
->
FindClass
(
"java/lang/Exception"
);
jclass
je
=
env
->
FindClass
(
"java/lang/Exception"
);
env
->
ThrowNew
(
je
,
"Unknown exception in JNI code {Mat::n_1Mat__IIIDDDD()}"
);
env
->
ThrowNew
(
je
,
"Unknown exception in JNI code {Mat::n_1Mat__IIIDDDD()}"
);
return
0
;
return
0
;
...
@@ -140,13 +140,13 @@ JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1Mat__DDIDDDD
...
@@ -140,13 +140,13 @@ JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1Mat__DDIDDDD
return
(
jlong
)
_retval_
;
return
(
jlong
)
_retval_
;
}
catch
(
cv
::
Exception
e
)
{
}
catch
(
cv
::
Exception
e
)
{
LOGD
(
"Mat::n_1Mat__DDIDDDD() ca
tched
cv::Exception: %s"
,
e
.
what
());
LOGD
(
"Mat::n_1Mat__DDIDDDD() ca
ught
cv::Exception: %s"
,
e
.
what
());
jclass
je
=
env
->
FindClass
(
"org/opencv/core/CvException"
);
jclass
je
=
env
->
FindClass
(
"org/opencv/core/CvException"
);
if
(
!
je
)
je
=
env
->
FindClass
(
"java/lang/Exception"
);
if
(
!
je
)
je
=
env
->
FindClass
(
"java/lang/Exception"
);
env
->
ThrowNew
(
je
,
e
.
what
());
env
->
ThrowNew
(
je
,
e
.
what
());
return
0
;
return
0
;
}
catch
(...)
{
}
catch
(...)
{
LOGD
(
"Mat::n_1Mat__DDIDDDD() ca
tched
unknown exception (...)"
);
LOGD
(
"Mat::n_1Mat__DDIDDDD() ca
ught
unknown exception (...)"
);
jclass
je
=
env
->
FindClass
(
"java/lang/Exception"
);
jclass
je
=
env
->
FindClass
(
"java/lang/Exception"
);
env
->
ThrowNew
(
je
,
"Unknown exception in JNI code {Mat::n_1Mat__DDIDDDD()}"
);
env
->
ThrowNew
(
je
,
"Unknown exception in JNI code {Mat::n_1Mat__DDIDDDD()}"
);
return
0
;
return
0
;
...
@@ -173,13 +173,13 @@ JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1Mat__JIIII
...
@@ -173,13 +173,13 @@ JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1Mat__JIIII
return
(
jlong
)
_retval_
;
return
(
jlong
)
_retval_
;
}
catch
(
cv
::
Exception
e
)
{
}
catch
(
cv
::
Exception
e
)
{
LOGD
(
"Mat::n_1Mat__JIIII() ca
tched
cv::Exception: %s"
,
e
.
what
());
LOGD
(
"Mat::n_1Mat__JIIII() ca
ught
cv::Exception: %s"
,
e
.
what
());
jclass
je
=
env
->
FindClass
(
"org/opencv/core/CvException"
);
jclass
je
=
env
->
FindClass
(
"org/opencv/core/CvException"
);
if
(
!
je
)
je
=
env
->
FindClass
(
"java/lang/Exception"
);
if
(
!
je
)
je
=
env
->
FindClass
(
"java/lang/Exception"
);
env
->
ThrowNew
(
je
,
e
.
what
());
env
->
ThrowNew
(
je
,
e
.
what
());
return
0
;
return
0
;
}
catch
(...)
{
}
catch
(...)
{
LOGD
(
"Mat::n_1Mat__JIIII() ca
tched
unknown exception (...)"
);
LOGD
(
"Mat::n_1Mat__JIIII() ca
ught
unknown exception (...)"
);
jclass
je
=
env
->
FindClass
(
"java/lang/Exception"
);
jclass
je
=
env
->
FindClass
(
"java/lang/Exception"
);
env
->
ThrowNew
(
je
,
"Unknown exception in JNI code {Mat::n_1Mat__JIIII()}"
);
env
->
ThrowNew
(
je
,
"Unknown exception in JNI code {Mat::n_1Mat__JIIII()}"
);
return
0
;
return
0
;
...
@@ -201,13 +201,13 @@ JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1Mat__JII
...
@@ -201,13 +201,13 @@ JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1Mat__JII
return
(
jlong
)
_retval_
;
return
(
jlong
)
_retval_
;
}
catch
(
cv
::
Exception
e
)
{
}
catch
(
cv
::
Exception
e
)
{
LOGD
(
"Mat::n_1Mat__JII() ca
tched
cv::Exception: %s"
,
e
.
what
());
LOGD
(
"Mat::n_1Mat__JII() ca
ught
cv::Exception: %s"
,
e
.
what
());
jclass
je
=
env
->
FindClass
(
"org/opencv/core/CvException"
);
jclass
je
=
env
->
FindClass
(
"org/opencv/core/CvException"
);
if
(
!
je
)
je
=
env
->
FindClass
(
"java/lang/Exception"
);
if
(
!
je
)
je
=
env
->
FindClass
(
"java/lang/Exception"
);
env
->
ThrowNew
(
je
,
e
.
what
());
env
->
ThrowNew
(
je
,
e
.
what
());
return
0
;
return
0
;
}
catch
(...)
{
}
catch
(...)
{
LOGD
(
"Mat::n_1Mat__JII() ca
tched
unknown exception (...)"
);
LOGD
(
"Mat::n_1Mat__JII() ca
ught
unknown exception (...)"
);
jclass
je
=
env
->
FindClass
(
"java/lang/Exception"
);
jclass
je
=
env
->
FindClass
(
"java/lang/Exception"
);
env
->
ThrowNew
(
je
,
"Unknown exception in JNI code {Mat::n_1Mat__JII()}"
);
env
->
ThrowNew
(
je
,
"Unknown exception in JNI code {Mat::n_1Mat__JII()}"
);
return
0
;
return
0
;
...
@@ -232,13 +232,13 @@ JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1adjustROI
...
@@ -232,13 +232,13 @@ JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1adjustROI
return
(
jlong
)
new
Mat
(
_retval_
);
return
(
jlong
)
new
Mat
(
_retval_
);
}
catch
(
cv
::
Exception
e
)
{
}
catch
(
cv
::
Exception
e
)
{
LOGD
(
"Mat::n_1adjustROI() ca
tched
cv::Exception: %s"
,
e
.
what
());
LOGD
(
"Mat::n_1adjustROI() ca
ught
cv::Exception: %s"
,
e
.
what
());
jclass
je
=
env
->
FindClass
(
"org/opencv/core/CvException"
);
jclass
je
=
env
->
FindClass
(
"org/opencv/core/CvException"
);
if
(
!
je
)
je
=
env
->
FindClass
(
"java/lang/Exception"
);
if
(
!
je
)
je
=
env
->
FindClass
(
"java/lang/Exception"
);
env
->
ThrowNew
(
je
,
e
.
what
());
env
->
ThrowNew
(
je
,
e
.
what
());
return
0
;
return
0
;
}
catch
(...)
{
}
catch
(...)
{
LOGD
(
"Mat::n_1adjustROI() ca
tched
unknown exception (...)"
);
LOGD
(
"Mat::n_1adjustROI() ca
ught
unknown exception (...)"
);
jclass
je
=
env
->
FindClass
(
"java/lang/Exception"
);
jclass
je
=
env
->
FindClass
(
"java/lang/Exception"
);
env
->
ThrowNew
(
je
,
"Unknown exception in JNI code {Mat::n_1adjustROI()}"
);
env
->
ThrowNew
(
je
,
"Unknown exception in JNI code {Mat::n_1adjustROI()}"
);
return
0
;
return
0
;
...
@@ -264,13 +264,13 @@ JNIEXPORT void JNICALL Java_org_opencv_core_Mat_n_1assignTo__JJI
...
@@ -264,13 +264,13 @@ JNIEXPORT void JNICALL Java_org_opencv_core_Mat_n_1assignTo__JJI
return
;
return
;
}
catch
(
cv
::
Exception
e
)
{
}
catch
(
cv
::
Exception
e
)
{
LOGD
(
"Mat::n_1assignTo__JJI() ca
tched
cv::Exception: %s"
,
e
.
what
());
LOGD
(
"Mat::n_1assignTo__JJI() ca
ught
cv::Exception: %s"
,
e
.
what
());
jclass
je
=
env
->
FindClass
(
"org/opencv/core/CvException"
);
jclass
je
=
env
->
FindClass
(
"org/opencv/core/CvException"
);
if
(
!
je
)
je
=
env
->
FindClass
(
"java/lang/Exception"
);
if
(
!
je
)
je
=
env
->
FindClass
(
"java/lang/Exception"
);
env
->
ThrowNew
(
je
,
e
.
what
());
env
->
ThrowNew
(
je
,
e
.
what
());
return
;
return
;
}
catch
(...)
{
}
catch
(...)
{
LOGD
(
"Mat::n_1assignTo__JJI() ca
tched
unknown exception (...)"
);
LOGD
(
"Mat::n_1assignTo__JJI() ca
ught
unknown exception (...)"
);
jclass
je
=
env
->
FindClass
(
"java/lang/Exception"
);
jclass
je
=
env
->
FindClass
(
"java/lang/Exception"
);
env
->
ThrowNew
(
je
,
"Unknown exception in JNI code {Mat::n_1assignTo__JJI()}"
);
env
->
ThrowNew
(
je
,
"Unknown exception in JNI code {Mat::n_1assignTo__JJI()}"
);
return
;
return
;
...
@@ -291,13 +291,13 @@ JNIEXPORT void JNICALL Java_org_opencv_core_Mat_n_1assignTo__JJ
...
@@ -291,13 +291,13 @@ JNIEXPORT void JNICALL Java_org_opencv_core_Mat_n_1assignTo__JJ
return
;
return
;
}
catch
(
cv
::
Exception
e
)
{
}
catch
(
cv
::
Exception
e
)
{
LOGD
(
"Mat::n_1assignTo__JJ() ca
tched
cv::Exception: %s"
,
e
.
what
());
LOGD
(
"Mat::n_1assignTo__JJ() ca
ught
cv::Exception: %s"
,
e
.
what
());
jclass
je
=
env
->
FindClass
(
"org/opencv/core/CvException"
);
jclass
je
=
env
->
FindClass
(
"org/opencv/core/CvException"
);
if
(
!
je
)
je
=
env
->
FindClass
(
"java/lang/Exception"
);
if
(
!
je
)
je
=
env
->
FindClass
(
"java/lang/Exception"
);
env
->
ThrowNew
(
je
,
e
.
what
());
env
->
ThrowNew
(
je
,
e
.
what
());
return
;
return
;
}
catch
(...)
{
}
catch
(...)
{
LOGD
(
"Mat::n_1assignTo__JJ() ca
tched
unknown exception (...)"
);
LOGD
(
"Mat::n_1assignTo__JJ() ca
ught
unknown exception (...)"
);
jclass
je
=
env
->
FindClass
(
"java/lang/Exception"
);
jclass
je
=
env
->
FindClass
(
"java/lang/Exception"
);
env
->
ThrowNew
(
je
,
"Unknown exception in JNI code {Mat::n_1assignTo__JJ()}"
);
env
->
ThrowNew
(
je
,
"Unknown exception in JNI code {Mat::n_1assignTo__JJ()}"
);
return
;
return
;
...
@@ -323,13 +323,13 @@ JNIEXPORT jint JNICALL Java_org_opencv_core_Mat_n_1channels
...
@@ -323,13 +323,13 @@ JNIEXPORT jint JNICALL Java_org_opencv_core_Mat_n_1channels
return
_retval_
;
return
_retval_
;
}
catch
(
cv
::
Exception
e
)
{
}
catch
(
cv
::
Exception
e
)
{
LOGD
(
"Mat::n_1channels() ca
tched
cv::Exception: %s"
,
e
.
what
());
LOGD
(
"Mat::n_1channels() ca
ught
cv::Exception: %s"
,
e
.
what
());
jclass
je
=
env
->
FindClass
(
"org/opencv/core/CvException"
);
jclass
je
=
env
->
FindClass
(
"org/opencv/core/CvException"
);
if
(
!
je
)
je
=
env
->
FindClass
(
"java/lang/Exception"
);
if
(
!
je
)
je
=
env
->
FindClass
(
"java/lang/Exception"
);
env
->
ThrowNew
(
je
,
e
.
what
());
env
->
ThrowNew
(
je
,
e
.
what
());
return
0
;
return
0
;
}
catch
(...)
{
}
catch
(...)
{
LOGD
(
"Mat::n_1channels() ca
tched
unknown exception (...)"
);
LOGD
(
"Mat::n_1channels() ca
ught
unknown exception (...)"
);
jclass
je
=
env
->
FindClass
(
"java/lang/Exception"
);
jclass
je
=
env
->
FindClass
(
"java/lang/Exception"
);
env
->
ThrowNew
(
je
,
"Unknown exception in JNI code {Mat::n_1channels()}"
);
env
->
ThrowNew
(
je
,
"Unknown exception in JNI code {Mat::n_1channels()}"
);
return
0
;
return
0
;
...
@@ -355,13 +355,13 @@ JNIEXPORT jint JNICALL Java_org_opencv_core_Mat_n_1checkVector__JIIZ
...
@@ -355,13 +355,13 @@ JNIEXPORT jint JNICALL Java_org_opencv_core_Mat_n_1checkVector__JIIZ
return
_retval_
;
return
_retval_
;
}
catch
(
cv
::
Exception
e
)
{
}
catch
(
cv
::
Exception
e
)
{
LOGD
(
"Mat::n_1checkVector__JIIZ() ca
tched
cv::Exception: %s"
,
e
.
what
());
LOGD
(
"Mat::n_1checkVector__JIIZ() ca
ught
cv::Exception: %s"
,
e
.
what
());
jclass
je
=
env
->
FindClass
(
"org/opencv/core/CvException"
);
jclass
je
=
env
->
FindClass
(
"org/opencv/core/CvException"
);
if
(
!
je
)
je
=
env
->
FindClass
(
"java/lang/Exception"
);
if
(
!
je
)
je
=
env
->
FindClass
(
"java/lang/Exception"
);
env
->
ThrowNew
(
je
,
e
.
what
());
env
->
ThrowNew
(
je
,
e
.
what
());
return
0
;
return
0
;
}
catch
(...)
{
}
catch
(...)
{
LOGD
(
"Mat::n_1checkVector__JIIZ() ca
tched
unknown exception (...)"
);
LOGD
(
"Mat::n_1checkVector__JIIZ() ca
ught
unknown exception (...)"
);
jclass
je
=
env
->
FindClass
(
"java/lang/Exception"
);
jclass
je
=
env
->
FindClass
(
"java/lang/Exception"
);
env
->
ThrowNew
(
je
,
"Unknown exception in JNI code {Mat::n_1checkVector__JIIZ()}"
);
env
->
ThrowNew
(
je
,
"Unknown exception in JNI code {Mat::n_1checkVector__JIIZ()}"
);
return
0
;
return
0
;
...
@@ -383,13 +383,13 @@ JNIEXPORT jint JNICALL Java_org_opencv_core_Mat_n_1checkVector__JII
...
@@ -383,13 +383,13 @@ JNIEXPORT jint JNICALL Java_org_opencv_core_Mat_n_1checkVector__JII
return
_retval_
;
return
_retval_
;
}
catch
(
cv
::
Exception
e
)
{
}
catch
(
cv
::
Exception
e
)
{
LOGD
(
"Mat::n_1checkVector__JII() ca
tched
cv::Exception: %s"
,
e
.
what
());
LOGD
(
"Mat::n_1checkVector__JII() ca
ught
cv::Exception: %s"
,
e
.
what
());
jclass
je
=
env
->
FindClass
(
"org/opencv/core/CvException"
);
jclass
je
=
env
->
FindClass
(
"org/opencv/core/CvException"
);
if
(
!
je
)
je
=
env
->
FindClass
(
"java/lang/Exception"
);
if
(
!
je
)
je
=
env
->
FindClass
(
"java/lang/Exception"
);
env
->
ThrowNew
(
je
,
e
.
what
());
env
->
ThrowNew
(
je
,
e
.
what
());
return
0
;
return
0
;
}
catch
(...)
{
}
catch
(...)
{
LOGD
(
"Mat::n_1checkVector__JII() ca
tched
unknown exception (...)"
);
LOGD
(
"Mat::n_1checkVector__JII() ca
ught
unknown exception (...)"
);
jclass
je
=
env
->
FindClass
(
"java/lang/Exception"
);
jclass
je
=
env
->
FindClass
(
"java/lang/Exception"
);
env
->
ThrowNew
(
je
,
"Unknown exception in JNI code {Mat::n_1checkVector__JII()}"
);
env
->
ThrowNew
(
je
,
"Unknown exception in JNI code {Mat::n_1checkVector__JII()}"
);
return
0
;
return
0
;
...
@@ -411,13 +411,13 @@ JNIEXPORT jint JNICALL Java_org_opencv_core_Mat_n_1checkVector__JI
...
@@ -411,13 +411,13 @@ JNIEXPORT jint JNICALL Java_org_opencv_core_Mat_n_1checkVector__JI
return
_retval_
;
return
_retval_
;
}
catch
(
cv
::
Exception
e
)
{
}
catch
(
cv
::
Exception
e
)
{
LOGD
(
"Mat::n_1checkVector__JI() ca
tched
cv::Exception: %s"
,
e
.
what
());
LOGD
(
"Mat::n_1checkVector__JI() ca
ught
cv::Exception: %s"
,
e
.
what
());
jclass
je
=
env
->
FindClass
(
"org/opencv/core/CvException"
);
jclass
je
=
env
->
FindClass
(
"org/opencv/core/CvException"
);
if
(
!
je
)
je
=
env
->
FindClass
(
"java/lang/Exception"
);
if
(
!
je
)
je
=
env
->
FindClass
(
"java/lang/Exception"
);
env
->
ThrowNew
(
je
,
e
.
what
());
env
->
ThrowNew
(
je
,
e
.
what
());
return
0
;
return
0
;
}
catch
(...)
{
}
catch
(...)
{
LOGD
(
"Mat::n_1checkVector__JI() ca
tched
unknown exception (...)"
);
LOGD
(
"Mat::n_1checkVector__JI() ca
ught
unknown exception (...)"
);
jclass
je
=
env
->
FindClass
(
"java/lang/Exception"
);
jclass
je
=
env
->
FindClass
(
"java/lang/Exception"
);
env
->
ThrowNew
(
je
,
"Unknown exception in JNI code {Mat::n_1checkVector__JI()}"
);
env
->
ThrowNew
(
je
,
"Unknown exception in JNI code {Mat::n_1checkVector__JI()}"
);
return
0
;
return
0
;
...
@@ -444,13 +444,13 @@ JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1clone
...
@@ -444,13 +444,13 @@ JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1clone
return
(
jlong
)
new
Mat
(
_retval_
);
return
(
jlong
)
new
Mat
(
_retval_
);
}
catch
(
cv
::
Exception
e
)
{
}
catch
(
cv
::
Exception
e
)
{
LOGD
(
"Mat::n_1clone() ca
tched
cv::Exception: %s"
,
e
.
what
());
LOGD
(
"Mat::n_1clone() ca
ught
cv::Exception: %s"
,
e
.
what
());
jclass
je
=
env
->
FindClass
(
"org/opencv/core/CvException"
);
jclass
je
=
env
->
FindClass
(
"org/opencv/core/CvException"
);
if
(
!
je
)
je
=
env
->
FindClass
(
"java/lang/Exception"
);
if
(
!
je
)
je
=
env
->
FindClass
(
"java/lang/Exception"
);
env
->
ThrowNew
(
je
,
e
.
what
());
env
->
ThrowNew
(
je
,
e
.
what
());
return
0
;
return
0
;
}
catch
(...)
{
}
catch
(...)
{
LOGD
(
"Mat::n_1clone() ca
tched
unknown exception (...)"
);
LOGD
(
"Mat::n_1clone() ca
ught
unknown exception (...)"
);
jclass
je
=
env
->
FindClass
(
"java/lang/Exception"
);
jclass
je
=
env
->
FindClass
(
"java/lang/Exception"
);
env
->
ThrowNew
(
je
,
"Unknown exception in JNI code {Mat::n_1clone()}"
);
env
->
ThrowNew
(
je
,
"Unknown exception in JNI code {Mat::n_1clone()}"
);
return
0
;
return
0
;
...
@@ -476,13 +476,13 @@ JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1col
...
@@ -476,13 +476,13 @@ JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1col
return
(
jlong
)
new
Mat
(
_retval_
);
return
(
jlong
)
new
Mat
(
_retval_
);
}
catch
(
cv
::
Exception
e
)
{
}
catch
(
cv
::
Exception
e
)
{
LOGD
(
"Mat::n_1col() ca
tched
cv::Exception: %s"
,
e
.
what
());
LOGD
(
"Mat::n_1col() ca
ught
cv::Exception: %s"
,
e
.
what
());
jclass
je
=
env
->
FindClass
(
"org/opencv/core/CvException"
);
jclass
je
=
env
->
FindClass
(
"org/opencv/core/CvException"
);
if
(
!
je
)
je
=
env
->
FindClass
(
"java/lang/Exception"
);
if
(
!
je
)
je
=
env
->
FindClass
(
"java/lang/Exception"
);
env
->
ThrowNew
(
je
,
e
.
what
());
env
->
ThrowNew
(
je
,
e
.
what
());
return
0
;
return
0
;
}
catch
(...)
{
}
catch
(...)
{
LOGD
(
"Mat::n_1col() ca
tched
unknown exception (...)"
);
LOGD
(
"Mat::n_1col() ca
ught
unknown exception (...)"
);
jclass
je
=
env
->
FindClass
(
"java/lang/Exception"
);
jclass
je
=
env
->
FindClass
(
"java/lang/Exception"
);
env
->
ThrowNew
(
je
,
"Unknown exception in JNI code {Mat::n_1col()}"
);
env
->
ThrowNew
(
je
,
"Unknown exception in JNI code {Mat::n_1col()}"
);
return
0
;
return
0
;
...
@@ -508,13 +508,13 @@ JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1colRange
...
@@ -508,13 +508,13 @@ JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1colRange
return
(
jlong
)
new
Mat
(
_retval_
);
return
(
jlong
)
new
Mat
(
_retval_
);
}
catch
(
cv
::
Exception
e
)
{
}
catch
(
cv
::
Exception
e
)
{
LOGD
(
"Mat::n_1colRange() ca
tched
cv::Exception: %s"
,
e
.
what
());
LOGD
(
"Mat::n_1colRange() ca
ught
cv::Exception: %s"
,
e
.
what
());
jclass
je
=
env
->
FindClass
(
"org/opencv/core/CvException"
);
jclass
je
=
env
->
FindClass
(
"org/opencv/core/CvException"
);
if
(
!
je
)
je
=
env
->
FindClass
(
"java/lang/Exception"
);
if
(
!
je
)
je
=
env
->
FindClass
(
"java/lang/Exception"
);
env
->
ThrowNew
(
je
,
e
.
what
());
env
->
ThrowNew
(
je
,
e
.
what
());
return
0
;
return
0
;
}
catch
(...)
{
}
catch
(...)
{
LOGD
(
"Mat::n_1colRange() ca
tched
unknown exception (...)"
);
LOGD
(
"Mat::n_1colRange() ca
ught
unknown exception (...)"
);
jclass
je
=
env
->
FindClass
(
"java/lang/Exception"
);
jclass
je
=
env
->
FindClass
(
"java/lang/Exception"
);
env
->
ThrowNew
(
je
,
"Unknown exception in JNI code {Mat::n_1colRange()}"
);
env
->
ThrowNew
(
je
,
"Unknown exception in JNI code {Mat::n_1colRange()}"
);
return
0
;
return
0
;
...
@@ -571,13 +571,13 @@ JNIEXPORT jint JNICALL Java_org_opencv_core_Mat_n_1cols
...
@@ -571,13 +571,13 @@ JNIEXPORT jint JNICALL Java_org_opencv_core_Mat_n_1cols
return
_retval_
;
return
_retval_
;
}
catch
(
cv
::
Exception
e
)
{
}
catch
(
cv
::
Exception
e
)
{
LOGD
(
"Mat::n_1cols() ca
tched
cv::Exception: %s"
,
e
.
what
());
LOGD
(
"Mat::n_1cols() ca
ught
cv::Exception: %s"
,
e
.
what
());
jclass
je
=
env
->
FindClass
(
"org/opencv/core/CvException"
);
jclass
je
=
env
->
FindClass
(
"org/opencv/core/CvException"
);
if
(
!
je
)
je
=
env
->
FindClass
(
"java/lang/Exception"
);
if
(
!
je
)
je
=
env
->
FindClass
(
"java/lang/Exception"
);
env
->
ThrowNew
(
je
,
e
.
what
());
env
->
ThrowNew
(
je
,
e
.
what
());
return
0
;
return
0
;
}
catch
(...)
{
}
catch
(...)
{
LOGD
(
"Mat::n_1cols() ca
tched
unknown exception (...)"
);
LOGD
(
"Mat::n_1cols() ca
ught
unknown exception (...)"
);
jclass
je
=
env
->
FindClass
(
"java/lang/Exception"
);
jclass
je
=
env
->
FindClass
(
"java/lang/Exception"
);
env
->
ThrowNew
(
je
,
"Unknown exception in JNI code {Mat::n_1cols()}"
);
env
->
ThrowNew
(
je
,
"Unknown exception in JNI code {Mat::n_1cols()}"
);
return
0
;
return
0
;
...
@@ -604,13 +604,13 @@ JNIEXPORT void JNICALL Java_org_opencv_core_Mat_n_1convertTo__JJIDD
...
@@ -604,13 +604,13 @@ JNIEXPORT void JNICALL Java_org_opencv_core_Mat_n_1convertTo__JJIDD
return
;
return
;
}
catch
(
cv
::
Exception
e
)
{
}
catch
(
cv
::
Exception
e
)
{
LOGD
(
"Mat::n_1convertTo__JJIDD() ca
tched
cv::Exception: %s"
,
e
.
what
());
LOGD
(
"Mat::n_1convertTo__JJIDD() ca
ught
cv::Exception: %s"
,
e
.
what
());
jclass
je
=
env
->
FindClass
(
"org/opencv/core/CvException"
);
jclass
je
=
env
->
FindClass
(
"org/opencv/core/CvException"
);
if
(
!
je
)
je
=
env
->
FindClass
(
"java/lang/Exception"
);
if
(
!
je
)
je
=
env
->
FindClass
(
"java/lang/Exception"
);
env
->
ThrowNew
(
je
,
e
.
what
());
env
->
ThrowNew
(
je
,
e
.
what
());
return
;
return
;
}
catch
(...)
{
}
catch
(...)
{
LOGD
(
"Mat::n_1convertTo__JJIDD() ca
tched
unknown exception (...)"
);
LOGD
(
"Mat::n_1convertTo__JJIDD() ca
ught
unknown exception (...)"
);
jclass
je
=
env
->
FindClass
(
"java/lang/Exception"
);
jclass
je
=
env
->
FindClass
(
"java/lang/Exception"
);
env
->
ThrowNew
(
je
,
"Unknown exception in JNI code {Mat::n_1convertTo__JJIDD()}"
);
env
->
ThrowNew
(
je
,
"Unknown exception in JNI code {Mat::n_1convertTo__JJIDD()}"
);
return
;
return
;
...
@@ -632,13 +632,13 @@ JNIEXPORT void JNICALL Java_org_opencv_core_Mat_n_1convertTo__JJID
...
@@ -632,13 +632,13 @@ JNIEXPORT void JNICALL Java_org_opencv_core_Mat_n_1convertTo__JJID
return
;
return
;
}
catch
(
cv
::
Exception
e
)
{
}
catch
(
cv
::
Exception
e
)
{
LOGD
(
"Mat::n_1convertTo__JJID() ca
tched
cv::Exception: %s"
,
e
.
what
());
LOGD
(
"Mat::n_1convertTo__JJID() ca
ught
cv::Exception: %s"
,
e
.
what
());
jclass
je
=
env
->
FindClass
(
"org/opencv/core/CvException"
);
jclass
je
=
env
->
FindClass
(
"org/opencv/core/CvException"
);
if
(
!
je
)
je
=
env
->
FindClass
(
"java/lang/Exception"
);
if
(
!
je
)
je
=
env
->
FindClass
(
"java/lang/Exception"
);
env
->
ThrowNew
(
je
,
e
.
what
());
env
->
ThrowNew
(
je
,
e
.
what
());
return
;
return
;
}
catch
(...)
{
}
catch
(...)
{
LOGD
(
"Mat::n_1convertTo__JJID() ca
tched
unknown exception (...)"
);
LOGD
(
"Mat::n_1convertTo__JJID() ca
ught
unknown exception (...)"
);
jclass
je
=
env
->
FindClass
(
"java/lang/Exception"
);
jclass
je
=
env
->
FindClass
(
"java/lang/Exception"
);
env
->
ThrowNew
(
je
,
"Unknown exception in JNI code {Mat::n_1convertTo__JJID()}"
);
env
->
ThrowNew
(
je
,
"Unknown exception in JNI code {Mat::n_1convertTo__JJID()}"
);
return
;
return
;
...
@@ -660,13 +660,13 @@ JNIEXPORT void JNICALL Java_org_opencv_core_Mat_n_1convertTo__JJI
...
@@ -660,13 +660,13 @@ JNIEXPORT void JNICALL Java_org_opencv_core_Mat_n_1convertTo__JJI
return
;
return
;
}
catch
(
cv
::
Exception
e
)
{
}
catch
(
cv
::
Exception
e
)
{
LOGD
(
"Mat::n_1convertTo__JJI() ca
tched
cv::Exception: %s"
,
e
.
what
());
LOGD
(
"Mat::n_1convertTo__JJI() ca
ught
cv::Exception: %s"
,
e
.
what
());
jclass
je
=
env
->
FindClass
(
"org/opencv/core/CvException"
);
jclass
je
=
env
->
FindClass
(
"org/opencv/core/CvException"
);
if
(
!
je
)
je
=
env
->
FindClass
(
"java/lang/Exception"
);
if
(
!
je
)
je
=
env
->
FindClass
(
"java/lang/Exception"
);
env
->
ThrowNew
(
je
,
e
.
what
());
env
->
ThrowNew
(
je
,
e
.
what
());
return
;
return
;
}
catch
(...)
{
}
catch
(...)
{
LOGD
(
"Mat::n_1convertTo__JJI() ca
tched
unknown exception (...)"
);
LOGD
(
"Mat::n_1convertTo__JJI() ca
ught
unknown exception (...)"
);
jclass
je
=
env
->
FindClass
(
"java/lang/Exception"
);
jclass
je
=
env
->
FindClass
(
"java/lang/Exception"
);
env
->
ThrowNew
(
je
,
"Unknown exception in JNI code {Mat::n_1convertTo__JJI()}"
);
env
->
ThrowNew
(
je
,
"Unknown exception in JNI code {Mat::n_1convertTo__JJI()}"
);
return
;
return
;
...
@@ -693,13 +693,13 @@ JNIEXPORT void JNICALL Java_org_opencv_core_Mat_n_1copyTo__JJ
...
@@ -693,13 +693,13 @@ JNIEXPORT void JNICALL Java_org_opencv_core_Mat_n_1copyTo__JJ
return
;
return
;
}
catch
(
cv
::
Exception
e
)
{
}
catch
(
cv
::
Exception
e
)
{
LOGD
(
"Mat::n_1copyTo__JJ() ca
tched
cv::Exception: %s"
,
e
.
what
());
LOGD
(
"Mat::n_1copyTo__JJ() ca
ught
cv::Exception: %s"
,
e
.
what
());
jclass
je
=
env
->
FindClass
(
"org/opencv/core/CvException"
);
jclass
je
=
env
->
FindClass
(
"org/opencv/core/CvException"
);
if
(
!
je
)
je
=
env
->
FindClass
(
"java/lang/Exception"
);
if
(
!
je
)
je
=
env
->
FindClass
(
"java/lang/Exception"
);
env
->
ThrowNew
(
je
,
e
.
what
());
env
->
ThrowNew
(
je
,
e
.
what
());
return
;
return
;
}
catch
(...)
{
}
catch
(...)
{
LOGD
(
"Mat::n_1copyTo__JJ() ca
tched
unknown exception (...)"
);
LOGD
(
"Mat::n_1copyTo__JJ() ca
ught
unknown exception (...)"
);
jclass
je
=
env
->
FindClass
(
"java/lang/Exception"
);
jclass
je
=
env
->
FindClass
(
"java/lang/Exception"
);
env
->
ThrowNew
(
je
,
"Unknown exception in JNI code {Mat::n_1copyTo__JJ()}"
);
env
->
ThrowNew
(
je
,
"Unknown exception in JNI code {Mat::n_1copyTo__JJ()}"
);
return
;
return
;
...
@@ -727,13 +727,13 @@ JNIEXPORT void JNICALL Java_org_opencv_core_Mat_n_1copyTo__JJJ
...
@@ -727,13 +727,13 @@ JNIEXPORT void JNICALL Java_org_opencv_core_Mat_n_1copyTo__JJJ
return
;
return
;
}
catch
(
cv
::
Exception
e
)
{
}
catch
(
cv
::
Exception
e
)
{
LOGD
(
"Mat::n_1copyTo__JJJ() ca
tched
cv::Exception: %s"
,
e
.
what
());
LOGD
(
"Mat::n_1copyTo__JJJ() ca
ught
cv::Exception: %s"
,
e
.
what
());
jclass
je
=
env
->
FindClass
(
"org/opencv/core/CvException"
);
jclass
je
=
env
->
FindClass
(
"org/opencv/core/CvException"
);
if
(
!
je
)
je
=
env
->
FindClass
(
"java/lang/Exception"
);
if
(
!
je
)
je
=
env
->
FindClass
(
"java/lang/Exception"
);
env
->
ThrowNew
(
je
,
e
.
what
());
env
->
ThrowNew
(
je
,
e
.
what
());
return
;
return
;
}
catch
(...)
{
}
catch
(...)
{
LOGD
(
"Mat::n_1copyTo__JJJ() ca
tched
unknown exception (...)"
);
LOGD
(
"Mat::n_1copyTo__JJJ() ca
ught
unknown exception (...)"
);
jclass
je
=
env
->
FindClass
(
"java/lang/Exception"
);
jclass
je
=
env
->
FindClass
(
"java/lang/Exception"
);
env
->
ThrowNew
(
je
,
"Unknown exception in JNI code {Mat::n_1copyTo__JJJ()}"
);
env
->
ThrowNew
(
je
,
"Unknown exception in JNI code {Mat::n_1copyTo__JJJ()}"
);
return
;
return
;
...
@@ -759,13 +759,13 @@ JNIEXPORT void JNICALL Java_org_opencv_core_Mat_n_1create__JIII
...
@@ -759,13 +759,13 @@ JNIEXPORT void JNICALL Java_org_opencv_core_Mat_n_1create__JIII
return
;
return
;
}
catch
(
cv
::
Exception
e
)
{
}
catch
(
cv
::
Exception
e
)
{
LOGD
(
"Mat::n_1create__JIII() ca
tched
cv::Exception: %s"
,
e
.
what
());
LOGD
(
"Mat::n_1create__JIII() ca
ught
cv::Exception: %s"
,
e
.
what
());
jclass
je
=
env
->
FindClass
(
"org/opencv/core/CvException"
);
jclass
je
=
env
->
FindClass
(
"org/opencv/core/CvException"
);
if
(
!
je
)
je
=
env
->
FindClass
(
"java/lang/Exception"
);
if
(
!
je
)
je
=
env
->
FindClass
(
"java/lang/Exception"
);
env
->
ThrowNew
(
je
,
e
.
what
());
env
->
ThrowNew
(
je
,
e
.
what
());
return
;
return
;
}
catch
(...)
{
}
catch
(...)
{
LOGD
(
"Mat::n_1create__JIII() ca
tched
unknown exception (...)"
);
LOGD
(
"Mat::n_1create__JIII() ca
ught
unknown exception (...)"
);
jclass
je
=
env
->
FindClass
(
"java/lang/Exception"
);
jclass
je
=
env
->
FindClass
(
"java/lang/Exception"
);
env
->
ThrowNew
(
je
,
"Unknown exception in JNI code {Mat::n_1create__JIII()}"
);
env
->
ThrowNew
(
je
,
"Unknown exception in JNI code {Mat::n_1create__JIII()}"
);
return
;
return
;
...
@@ -792,13 +792,13 @@ JNIEXPORT void JNICALL Java_org_opencv_core_Mat_n_1create__JDDI
...
@@ -792,13 +792,13 @@ JNIEXPORT void JNICALL Java_org_opencv_core_Mat_n_1create__JDDI
return
;
return
;
}
catch
(
cv
::
Exception
e
)
{
}
catch
(
cv
::
Exception
e
)
{
LOGD
(
"Mat::n_1create__JDDI() ca
tched
cv::Exception: %s"
,
e
.
what
());
LOGD
(
"Mat::n_1create__JDDI() ca
ught
cv::Exception: %s"
,
e
.
what
());
jclass
je
=
env
->
FindClass
(
"org/opencv/core/CvException"
);
jclass
je
=
env
->
FindClass
(
"org/opencv/core/CvException"
);
if
(
!
je
)
je
=
env
->
FindClass
(
"java/lang/Exception"
);
if
(
!
je
)
je
=
env
->
FindClass
(
"java/lang/Exception"
);
env
->
ThrowNew
(
je
,
e
.
what
());
env
->
ThrowNew
(
je
,
e
.
what
());
return
;
return
;
}
catch
(...)
{
}
catch
(...)
{
LOGD
(
"Mat::n_1create__JDDI() ca
tched
unknown exception (...)"
);
LOGD
(
"Mat::n_1create__JDDI() ca
ught
unknown exception (...)"
);
jclass
je
=
env
->
FindClass
(
"java/lang/Exception"
);
jclass
je
=
env
->
FindClass
(
"java/lang/Exception"
);
env
->
ThrowNew
(
je
,
"Unknown exception in JNI code {Mat::n_1create__JDDI()}"
);
env
->
ThrowNew
(
je
,
"Unknown exception in JNI code {Mat::n_1create__JDDI()}"
);
return
;
return
;
...
@@ -825,13 +825,13 @@ JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1cross
...
@@ -825,13 +825,13 @@ JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1cross
return
(
jlong
)
new
Mat
(
_retval_
);
return
(
jlong
)
new
Mat
(
_retval_
);
}
catch
(
cv
::
Exception
e
)
{
}
catch
(
cv
::
Exception
e
)
{
LOGD
(
"Mat::n_1cross() ca
tched
cv::Exception: %s"
,
e
.
what
());
LOGD
(
"Mat::n_1cross() ca
ught
cv::Exception: %s"
,
e
.
what
());
jclass
je
=
env
->
FindClass
(
"org/opencv/core/CvException"
);
jclass
je
=
env
->
FindClass
(
"org/opencv/core/CvException"
);
if
(
!
je
)
je
=
env
->
FindClass
(
"java/lang/Exception"
);
if
(
!
je
)
je
=
env
->
FindClass
(
"java/lang/Exception"
);
env
->
ThrowNew
(
je
,
e
.
what
());
env
->
ThrowNew
(
je
,
e
.
what
());
return
0
;
return
0
;
}
catch
(...)
{
}
catch
(...)
{
LOGD
(
"Mat::n_1cross() ca
tched
unknown exception (...)"
);
LOGD
(
"Mat::n_1cross() ca
ught
unknown exception (...)"
);
jclass
je
=
env
->
FindClass
(
"java/lang/Exception"
);
jclass
je
=
env
->
FindClass
(
"java/lang/Exception"
);
env
->
ThrowNew
(
je
,
"Unknown exception in JNI code {Mat::n_1cross()}"
);
env
->
ThrowNew
(
je
,
"Unknown exception in JNI code {Mat::n_1cross()}"
);
return
0
;
return
0
;
...
@@ -874,13 +874,13 @@ JNIEXPORT jint JNICALL Java_org_opencv_core_Mat_n_1depth
...
@@ -874,13 +874,13 @@ JNIEXPORT jint JNICALL Java_org_opencv_core_Mat_n_1depth
return
_retval_
;
return
_retval_
;
}
catch
(
cv
::
Exception
e
)
{
}
catch
(
cv
::
Exception
e
)
{
LOGD
(
"Mat::n_1depth() ca
tched
cv::Exception: %s"
,
e
.
what
());
LOGD
(
"Mat::n_1depth() ca
ught
cv::Exception: %s"
,
e
.
what
());
jclass
je
=
env
->
FindClass
(
"org/opencv/core/CvException"
);
jclass
je
=
env
->
FindClass
(
"org/opencv/core/CvException"
);
if
(
!
je
)
je
=
env
->
FindClass
(
"java/lang/Exception"
);
if
(
!
je
)
je
=
env
->
FindClass
(
"java/lang/Exception"
);
env
->
ThrowNew
(
je
,
e
.
what
());
env
->
ThrowNew
(
je
,
e
.
what
());
return
0
;
return
0
;
}
catch
(...)
{
}
catch
(...)
{
LOGD
(
"Mat::n_1depth() ca
tched
unknown exception (...)"
);
LOGD
(
"Mat::n_1depth() ca
ught
unknown exception (...)"
);
jclass
je
=
env
->
FindClass
(
"java/lang/Exception"
);
jclass
je
=
env
->
FindClass
(
"java/lang/Exception"
);
env
->
ThrowNew
(
je
,
"Unknown exception in JNI code {Mat::n_1depth()}"
);
env
->
ThrowNew
(
je
,
"Unknown exception in JNI code {Mat::n_1depth()}"
);
return
0
;
return
0
;
...
@@ -906,13 +906,13 @@ JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1diag__JI
...
@@ -906,13 +906,13 @@ JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1diag__JI
return
(
jlong
)
new
Mat
(
_retval_
);
return
(
jlong
)
new
Mat
(
_retval_
);
}
catch
(
cv
::
Exception
e
)
{
}
catch
(
cv
::
Exception
e
)
{
LOGD
(
"Mat::n_1diag__JI() ca
tched
cv::Exception: %s"
,
e
.
what
());
LOGD
(
"Mat::n_1diag__JI() ca
ught
cv::Exception: %s"
,
e
.
what
());
jclass
je
=
env
->
FindClass
(
"org/opencv/core/CvException"
);
jclass
je
=
env
->
FindClass
(
"org/opencv/core/CvException"
);
if
(
!
je
)
je
=
env
->
FindClass
(
"java/lang/Exception"
);
if
(
!
je
)
je
=
env
->
FindClass
(
"java/lang/Exception"
);
env
->
ThrowNew
(
je
,
e
.
what
());
env
->
ThrowNew
(
je
,
e
.
what
());
return
0
;
return
0
;
}
catch
(...)
{
}
catch
(...)
{
LOGD
(
"Mat::n_1diag__JI() ca
tched
unknown exception (...)"
);
LOGD
(
"Mat::n_1diag__JI() ca
ught
unknown exception (...)"
);
jclass
je
=
env
->
FindClass
(
"java/lang/Exception"
);
jclass
je
=
env
->
FindClass
(
"java/lang/Exception"
);
env
->
ThrowNew
(
je
,
"Unknown exception in JNI code {Mat::n_1diag__JI()}"
);
env
->
ThrowNew
(
je
,
"Unknown exception in JNI code {Mat::n_1diag__JI()}"
);
return
0
;
return
0
;
...
@@ -939,13 +939,13 @@ JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1diag__J
...
@@ -939,13 +939,13 @@ JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1diag__J
return
(
jlong
)
new
Mat
(
_retval_
);
return
(
jlong
)
new
Mat
(
_retval_
);
}
catch
(
cv
::
Exception
e
)
{
}
catch
(
cv
::
Exception
e
)
{
LOGD
(
"Mat::n_1diag__J() ca
tched
cv::Exception: %s"
,
e
.
what
());
LOGD
(
"Mat::n_1diag__J() ca
ught
cv::Exception: %s"
,
e
.
what
());
jclass
je
=
env
->
FindClass
(
"org/opencv/core/CvException"
);
jclass
je
=
env
->
FindClass
(
"org/opencv/core/CvException"
);
if
(
!
je
)
je
=
env
->
FindClass
(
"java/lang/Exception"
);
if
(
!
je
)
je
=
env
->
FindClass
(
"java/lang/Exception"
);
env
->
ThrowNew
(
je
,
e
.
what
());
env
->
ThrowNew
(
je
,
e
.
what
());
return
0
;
return
0
;
}
catch
(...)
{
}
catch
(...)
{
LOGD
(
"Mat::n_1diag__J() ca
tched
unknown exception (...)"
);
LOGD
(
"Mat::n_1diag__J() ca
ught
unknown exception (...)"
);
jclass
je
=
env
->
FindClass
(
"java/lang/Exception"
);
jclass
je
=
env
->
FindClass
(
"java/lang/Exception"
);
env
->
ThrowNew
(
je
,
"Unknown exception in JNI code {Mat::n_1diag__J()}"
);
env
->
ThrowNew
(
je
,
"Unknown exception in JNI code {Mat::n_1diag__J()}"
);
return
0
;
return
0
;
...
@@ -972,13 +972,13 @@ JNIEXPORT jdouble JNICALL Java_org_opencv_core_Mat_n_1dot
...
@@ -972,13 +972,13 @@ JNIEXPORT jdouble JNICALL Java_org_opencv_core_Mat_n_1dot
return
_retval_
;
return
_retval_
;
}
catch
(
cv
::
Exception
e
)
{
}
catch
(
cv
::
Exception
e
)
{
LOGD
(
"Mat::n_1dot() ca
tched
cv::Exception: %s"
,
e
.
what
());
LOGD
(
"Mat::n_1dot() ca
ught
cv::Exception: %s"
,
e
.
what
());
jclass
je
=
env
->
FindClass
(
"org/opencv/core/CvException"
);
jclass
je
=
env
->
FindClass
(
"org/opencv/core/CvException"
);
if
(
!
je
)
je
=
env
->
FindClass
(
"java/lang/Exception"
);
if
(
!
je
)
je
=
env
->
FindClass
(
"java/lang/Exception"
);
env
->
ThrowNew
(
je
,
e
.
what
());
env
->
ThrowNew
(
je
,
e
.
what
());
return
0
;
return
0
;
}
catch
(...)
{
}
catch
(...)
{
LOGD
(
"Mat::n_1dot() ca
tched
unknown exception (...)"
);
LOGD
(
"Mat::n_1dot() ca
ught
unknown exception (...)"
);
jclass
je
=
env
->
FindClass
(
"java/lang/Exception"
);
jclass
je
=
env
->
FindClass
(
"java/lang/Exception"
);
env
->
ThrowNew
(
je
,
"Unknown exception in JNI code {Mat::n_1dot()}"
);
env
->
ThrowNew
(
je
,
"Unknown exception in JNI code {Mat::n_1dot()}"
);
return
0
;
return
0
;
...
@@ -1004,13 +1004,13 @@ JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1elemSize
...
@@ -1004,13 +1004,13 @@ JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1elemSize
return
_retval_
;
return
_retval_
;
}
catch
(
cv
::
Exception
e
)
{
}
catch
(
cv
::
Exception
e
)
{
LOGD
(
"Mat::n_1elemSize() ca
tched
cv::Exception: %s"
,
e
.
what
());
LOGD
(
"Mat::n_1elemSize() ca
ught
cv::Exception: %s"
,
e
.
what
());
jclass
je
=
env
->
FindClass
(
"org/opencv/core/CvException"
);
jclass
je
=
env
->
FindClass
(
"org/opencv/core/CvException"
);
if
(
!
je
)
je
=
env
->
FindClass
(
"java/lang/Exception"
);
if
(
!
je
)
je
=
env
->
FindClass
(
"java/lang/Exception"
);
env
->
ThrowNew
(
je
,
e
.
what
());
env
->
ThrowNew
(
je
,
e
.
what
());
return
0
;
return
0
;
}
catch
(...)
{
}
catch
(...)
{
LOGD
(
"Mat::n_1elemSize() ca
tched
unknown exception (...)"
);
LOGD
(
"Mat::n_1elemSize() ca
ught
unknown exception (...)"
);
jclass
je
=
env
->
FindClass
(
"java/lang/Exception"
);
jclass
je
=
env
->
FindClass
(
"java/lang/Exception"
);
env
->
ThrowNew
(
je
,
"Unknown exception in JNI code {Mat::n_1elemSize()}"
);
env
->
ThrowNew
(
je
,
"Unknown exception in JNI code {Mat::n_1elemSize()}"
);
return
0
;
return
0
;
...
@@ -1036,13 +1036,13 @@ JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1elemSize1
...
@@ -1036,13 +1036,13 @@ JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1elemSize1
return
_retval_
;
return
_retval_
;
}
catch
(
cv
::
Exception
e
)
{
}
catch
(
cv
::
Exception
e
)
{
LOGD
(
"Mat::n_1elemSize1() ca
tched
cv::Exception: %s"
,
e
.
what
());
LOGD
(
"Mat::n_1elemSize1() ca
ught
cv::Exception: %s"
,
e
.
what
());
jclass
je
=
env
->
FindClass
(
"org/opencv/core/CvException"
);
jclass
je
=
env
->
FindClass
(
"org/opencv/core/CvException"
);
if
(
!
je
)
je
=
env
->
FindClass
(
"java/lang/Exception"
);
if
(
!
je
)
je
=
env
->
FindClass
(
"java/lang/Exception"
);
env
->
ThrowNew
(
je
,
e
.
what
());
env
->
ThrowNew
(
je
,
e
.
what
());
return
0
;
return
0
;
}
catch
(...)
{
}
catch
(...)
{
LOGD
(
"Mat::n_1elemSize1() ca
tched
unknown exception (...)"
);
LOGD
(
"Mat::n_1elemSize1() ca
ught
unknown exception (...)"
);
jclass
je
=
env
->
FindClass
(
"java/lang/Exception"
);
jclass
je
=
env
->
FindClass
(
"java/lang/Exception"
);
env
->
ThrowNew
(
je
,
"Unknown exception in JNI code {Mat::n_1elemSize1()}"
);
env
->
ThrowNew
(
je
,
"Unknown exception in JNI code {Mat::n_1elemSize1()}"
);
return
0
;
return
0
;
...
@@ -1068,13 +1068,13 @@ JNIEXPORT jboolean JNICALL Java_org_opencv_core_Mat_n_1empty
...
@@ -1068,13 +1068,13 @@ JNIEXPORT jboolean JNICALL Java_org_opencv_core_Mat_n_1empty
return
_retval_
;
return
_retval_
;
}
catch
(
cv
::
Exception
e
)
{
}
catch
(
cv
::
Exception
e
)
{
LOGD
(
"Mat::n_1empty() ca
tched
cv::Exception: %s"
,
e
.
what
());
LOGD
(
"Mat::n_1empty() ca
ught
cv::Exception: %s"
,
e
.
what
());
jclass
je
=
env
->
FindClass
(
"org/opencv/core/CvException"
);
jclass
je
=
env
->
FindClass
(
"org/opencv/core/CvException"
);
if
(
!
je
)
je
=
env
->
FindClass
(
"java/lang/Exception"
);
if
(
!
je
)
je
=
env
->
FindClass
(
"java/lang/Exception"
);
env
->
ThrowNew
(
je
,
e
.
what
());
env
->
ThrowNew
(
je
,
e
.
what
());
return
0
;
return
0
;
}
catch
(...)
{
}
catch
(...)
{
LOGD
(
"Mat::n_1empty() ca
tched
unknown exception (...)"
);
LOGD
(
"Mat::n_1empty() ca
ught
unknown exception (...)"
);
jclass
je
=
env
->
FindClass
(
"java/lang/Exception"
);
jclass
je
=
env
->
FindClass
(
"java/lang/Exception"
);
env
->
ThrowNew
(
je
,
"Unknown exception in JNI code {Mat::n_1empty()}"
);
env
->
ThrowNew
(
je
,
"Unknown exception in JNI code {Mat::n_1empty()}"
);
return
0
;
return
0
;
...
@@ -1100,13 +1100,13 @@ JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1eye__III
...
@@ -1100,13 +1100,13 @@ JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1eye__III
return
(
jlong
)
new
Mat
(
_retval_
);
return
(
jlong
)
new
Mat
(
_retval_
);
}
catch
(
cv
::
Exception
e
)
{
}
catch
(
cv
::
Exception
e
)
{
LOGD
(
"Mat::n_1eye__III() ca
tched
cv::Exception: %s"
,
e
.
what
());
LOGD
(
"Mat::n_1eye__III() ca
ught
cv::Exception: %s"
,
e
.
what
());
jclass
je
=
env
->
FindClass
(
"org/opencv/core/CvException"
);
jclass
je
=
env
->
FindClass
(
"org/opencv/core/CvException"
);
if
(
!
je
)
je
=
env
->
FindClass
(
"java/lang/Exception"
);
if
(
!
je
)
je
=
env
->
FindClass
(
"java/lang/Exception"
);
env
->
ThrowNew
(
je
,
e
.
what
());
env
->
ThrowNew
(
je
,
e
.
what
());
return
0
;
return
0
;
}
catch
(...)
{
}
catch
(...)
{
LOGD
(
"Mat::n_1eye__III() ca
tched
unknown exception (...)"
);
LOGD
(
"Mat::n_1eye__III() ca
ught
unknown exception (...)"
);
jclass
je
=
env
->
FindClass
(
"java/lang/Exception"
);
jclass
je
=
env
->
FindClass
(
"java/lang/Exception"
);
env
->
ThrowNew
(
je
,
"Unknown exception in JNI code {Mat::n_1eye__III()}"
);
env
->
ThrowNew
(
je
,
"Unknown exception in JNI code {Mat::n_1eye__III()}"
);
return
0
;
return
0
;
...
@@ -1132,13 +1132,13 @@ JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1eye__DDI
...
@@ -1132,13 +1132,13 @@ JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1eye__DDI
return
(
jlong
)
new
Mat
(
_retval_
);
return
(
jlong
)
new
Mat
(
_retval_
);
}
catch
(
cv
::
Exception
e
)
{
}
catch
(
cv
::
Exception
e
)
{
LOGD
(
"Mat::n_1eye__DDI() ca
tched
cv::Exception: %s"
,
e
.
what
());
LOGD
(
"Mat::n_1eye__DDI() ca
ught
cv::Exception: %s"
,
e
.
what
());
jclass
je
=
env
->
FindClass
(
"org/opencv/core/CvException"
);
jclass
je
=
env
->
FindClass
(
"org/opencv/core/CvException"
);
if
(
!
je
)
je
=
env
->
FindClass
(
"java/lang/Exception"
);
if
(
!
je
)
je
=
env
->
FindClass
(
"java/lang/Exception"
);
env
->
ThrowNew
(
je
,
e
.
what
());
env
->
ThrowNew
(
je
,
e
.
what
());
return
0
;
return
0
;
}
catch
(...)
{
}
catch
(...)
{
LOGD
(
"Mat::n_1eye__DDI() ca
tched
unknown exception (...)"
);
LOGD
(
"Mat::n_1eye__DDI() ca
ught
unknown exception (...)"
);
jclass
je
=
env
->
FindClass
(
"java/lang/Exception"
);
jclass
je
=
env
->
FindClass
(
"java/lang/Exception"
);
env
->
ThrowNew
(
je
,
"Unknown exception in JNI code {Mat::n_1eye__DDI()}"
);
env
->
ThrowNew
(
je
,
"Unknown exception in JNI code {Mat::n_1eye__DDI()}"
);
return
0
;
return
0
;
...
@@ -1164,13 +1164,13 @@ JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1inv__JI
...
@@ -1164,13 +1164,13 @@ JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1inv__JI
return
(
jlong
)
new
Mat
(
_retval_
);
return
(
jlong
)
new
Mat
(
_retval_
);
}
catch
(
cv
::
Exception
e
)
{
}
catch
(
cv
::
Exception
e
)
{
LOGD
(
"Mat::n_1inv__JI() ca
tched
cv::Exception: %s"
,
e
.
what
());
LOGD
(
"Mat::n_1inv__JI() ca
ught
cv::Exception: %s"
,
e
.
what
());
jclass
je
=
env
->
FindClass
(
"org/opencv/core/CvException"
);
jclass
je
=
env
->
FindClass
(
"org/opencv/core/CvException"
);
if
(
!
je
)
je
=
env
->
FindClass
(
"java/lang/Exception"
);
if
(
!
je
)
je
=
env
->
FindClass
(
"java/lang/Exception"
);
env
->
ThrowNew
(
je
,
e
.
what
());
env
->
ThrowNew
(
je
,
e
.
what
());
return
0
;
return
0
;
}
catch
(...)
{
}
catch
(...)
{
LOGD
(
"Mat::n_1inv__JI() ca
tched
unknown exception (...)"
);
LOGD
(
"Mat::n_1inv__JI() ca
ught
unknown exception (...)"
);
jclass
je
=
env
->
FindClass
(
"java/lang/Exception"
);
jclass
je
=
env
->
FindClass
(
"java/lang/Exception"
);
env
->
ThrowNew
(
je
,
"Unknown exception in JNI code {Mat::n_1inv__JI()}"
);
env
->
ThrowNew
(
je
,
"Unknown exception in JNI code {Mat::n_1inv__JI()}"
);
return
0
;
return
0
;
...
@@ -1191,13 +1191,13 @@ JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1inv__J
...
@@ -1191,13 +1191,13 @@ JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1inv__J
return
(
jlong
)
new
Mat
(
_retval_
);
return
(
jlong
)
new
Mat
(
_retval_
);
}
catch
(
cv
::
Exception
e
)
{
}
catch
(
cv
::
Exception
e
)
{
LOGD
(
"Mat::n_1inv__J() ca
tched
cv::Exception: %s"
,
e
.
what
());
LOGD
(
"Mat::n_1inv__J() ca
ught
cv::Exception: %s"
,
e
.
what
());
jclass
je
=
env
->
FindClass
(
"org/opencv/core/CvException"
);
jclass
je
=
env
->
FindClass
(
"org/opencv/core/CvException"
);
if
(
!
je
)
je
=
env
->
FindClass
(
"java/lang/Exception"
);
if
(
!
je
)
je
=
env
->
FindClass
(
"java/lang/Exception"
);
env
->
ThrowNew
(
je
,
e
.
what
());
env
->
ThrowNew
(
je
,
e
.
what
());
return
0
;
return
0
;
}
catch
(...)
{
}
catch
(...)
{
LOGD
(
"Mat::n_1inv__J() ca
tched
unknown exception (...)"
);
LOGD
(
"Mat::n_1inv__J() ca
ught
unknown exception (...)"
);
jclass
je
=
env
->
FindClass
(
"java/lang/Exception"
);
jclass
je
=
env
->
FindClass
(
"java/lang/Exception"
);
env
->
ThrowNew
(
je
,
"Unknown exception in JNI code {Mat::n_1inv__J()}"
);
env
->
ThrowNew
(
je
,
"Unknown exception in JNI code {Mat::n_1inv__J()}"
);
return
0
;
return
0
;
...
@@ -1223,13 +1223,13 @@ JNIEXPORT jboolean JNICALL Java_org_opencv_core_Mat_n_1isContinuous
...
@@ -1223,13 +1223,13 @@ JNIEXPORT jboolean JNICALL Java_org_opencv_core_Mat_n_1isContinuous
return
_retval_
;
return
_retval_
;
}
catch
(
cv
::
Exception
e
)
{
}
catch
(
cv
::
Exception
e
)
{
LOGD
(
"Mat::n_1isContinuous() ca
tched
cv::Exception: %s"
,
e
.
what
());
LOGD
(
"Mat::n_1isContinuous() ca
ught
cv::Exception: %s"
,
e
.
what
());
jclass
je
=
env
->
FindClass
(
"org/opencv/core/CvException"
);
jclass
je
=
env
->
FindClass
(
"org/opencv/core/CvException"
);
if
(
!
je
)
je
=
env
->
FindClass
(
"java/lang/Exception"
);
if
(
!
je
)
je
=
env
->
FindClass
(
"java/lang/Exception"
);
env
->
ThrowNew
(
je
,
e
.
what
());
env
->
ThrowNew
(
je
,
e
.
what
());
return
0
;
return
0
;
}
catch
(...)
{
}
catch
(...)
{
LOGD
(
"Mat::n_1isContinuous() ca
tched
unknown exception (...)"
);
LOGD
(
"Mat::n_1isContinuous() ca
ught
unknown exception (...)"
);
jclass
je
=
env
->
FindClass
(
"java/lang/Exception"
);
jclass
je
=
env
->
FindClass
(
"java/lang/Exception"
);
env
->
ThrowNew
(
je
,
"Unknown exception in JNI code {Mat::n_1isContinuous()}"
);
env
->
ThrowNew
(
je
,
"Unknown exception in JNI code {Mat::n_1isContinuous()}"
);
return
0
;
return
0
;
...
@@ -1255,13 +1255,13 @@ JNIEXPORT jboolean JNICALL Java_org_opencv_core_Mat_n_1isSubmatrix
...
@@ -1255,13 +1255,13 @@ JNIEXPORT jboolean JNICALL Java_org_opencv_core_Mat_n_1isSubmatrix
return
_retval_
;
return
_retval_
;
}
catch
(
cv
::
Exception
e
)
{
}
catch
(
cv
::
Exception
e
)
{
LOGD
(
"Mat::n_1isSubmatrix() ca
tched
cv::Exception: %s"
,
e
.
what
());
LOGD
(
"Mat::n_1isSubmatrix() ca
ught
cv::Exception: %s"
,
e
.
what
());
jclass
je
=
env
->
FindClass
(
"org/opencv/core/CvException"
);
jclass
je
=
env
->
FindClass
(
"org/opencv/core/CvException"
);
if
(
!
je
)
je
=
env
->
FindClass
(
"java/lang/Exception"
);
if
(
!
je
)
je
=
env
->
FindClass
(
"java/lang/Exception"
);
env
->
ThrowNew
(
je
,
e
.
what
());
env
->
ThrowNew
(
je
,
e
.
what
());
return
0
;
return
0
;
}
catch
(...)
{
}
catch
(...)
{
LOGD
(
"Mat::n_1isSubmatrix() ca
tched
unknown exception (...)"
);
LOGD
(
"Mat::n_1isSubmatrix() ca
ught
unknown exception (...)"
);
jclass
je
=
env
->
FindClass
(
"java/lang/Exception"
);
jclass
je
=
env
->
FindClass
(
"java/lang/Exception"
);
env
->
ThrowNew
(
je
,
"Unknown exception in JNI code {Mat::n_1isSubmatrix()}"
);
env
->
ThrowNew
(
je
,
"Unknown exception in JNI code {Mat::n_1isSubmatrix()}"
);
return
0
;
return
0
;
...
@@ -1289,13 +1289,13 @@ JNIEXPORT void JNICALL Java_org_opencv_core_Mat_locateROI_10
...
@@ -1289,13 +1289,13 @@ JNIEXPORT void JNICALL Java_org_opencv_core_Mat_locateROI_10
jdouble
tmp_wholeSize
[
2
]
=
{
wholeSize
.
width
,
wholeSize
.
height
};
env
->
SetDoubleArrayRegion
(
wholeSize_out
,
0
,
2
,
tmp_wholeSize
);
jdouble
tmp_ofs
[
2
]
=
{
ofs
.
x
,
ofs
.
y
};
env
->
SetDoubleArrayRegion
(
ofs_out
,
0
,
2
,
tmp_ofs
);
jdouble
tmp_wholeSize
[
2
]
=
{
wholeSize
.
width
,
wholeSize
.
height
};
env
->
SetDoubleArrayRegion
(
wholeSize_out
,
0
,
2
,
tmp_wholeSize
);
jdouble
tmp_ofs
[
2
]
=
{
ofs
.
x
,
ofs
.
y
};
env
->
SetDoubleArrayRegion
(
ofs_out
,
0
,
2
,
tmp_ofs
);
return
;
return
;
}
catch
(
cv
::
Exception
e
)
{
}
catch
(
cv
::
Exception
e
)
{
LOGD
(
"Mat::locateROI_10() ca
tched
cv::Exception: %s"
,
e
.
what
());
LOGD
(
"Mat::locateROI_10() ca
ught
cv::Exception: %s"
,
e
.
what
());
jclass
je
=
env
->
FindClass
(
"org/opencv/core/CvException"
);
jclass
je
=
env
->
FindClass
(
"org/opencv/core/CvException"
);
if
(
!
je
)
je
=
env
->
FindClass
(
"java/lang/Exception"
);
if
(
!
je
)
je
=
env
->
FindClass
(
"java/lang/Exception"
);
env
->
ThrowNew
(
je
,
e
.
what
());
env
->
ThrowNew
(
je
,
e
.
what
());
return
;
return
;
}
catch
(...)
{
}
catch
(...)
{
LOGD
(
"Mat::locateROI_10() ca
tched
unknown exception (...)"
);
LOGD
(
"Mat::locateROI_10() ca
ught
unknown exception (...)"
);
jclass
je
=
env
->
FindClass
(
"java/lang/Exception"
);
jclass
je
=
env
->
FindClass
(
"java/lang/Exception"
);
env
->
ThrowNew
(
je
,
"Unknown exception in JNI code {Mat::locateROI_10()}"
);
env
->
ThrowNew
(
je
,
"Unknown exception in JNI code {Mat::locateROI_10()}"
);
return
;
return
;
...
@@ -1322,13 +1322,13 @@ JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1mul__JJD
...
@@ -1322,13 +1322,13 @@ JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1mul__JJD
return
(
jlong
)
new
Mat
(
_retval_
);
return
(
jlong
)
new
Mat
(
_retval_
);
}
catch
(
cv
::
Exception
e
)
{
}
catch
(
cv
::
Exception
e
)
{
LOGD
(
"Mat::n_1mul__JJD() ca
tched
cv::Exception: %s"
,
e
.
what
());
LOGD
(
"Mat::n_1mul__JJD() ca
ught
cv::Exception: %s"
,
e
.
what
());
jclass
je
=
env
->
FindClass
(
"org/opencv/core/CvException"
);
jclass
je
=
env
->
FindClass
(
"org/opencv/core/CvException"
);
if
(
!
je
)
je
=
env
->
FindClass
(
"java/lang/Exception"
);
if
(
!
je
)
je
=
env
->
FindClass
(
"java/lang/Exception"
);
env
->
ThrowNew
(
je
,
e
.
what
());
env
->
ThrowNew
(
je
,
e
.
what
());
return
0
;
return
0
;
}
catch
(...)
{
}
catch
(...)
{
LOGD
(
"Mat::n_1mul__JJD() ca
tched
unknown exception (...)"
);
LOGD
(
"Mat::n_1mul__JJD() ca
ught
unknown exception (...)"
);
jclass
je
=
env
->
FindClass
(
"java/lang/Exception"
);
jclass
je
=
env
->
FindClass
(
"java/lang/Exception"
);
env
->
ThrowNew
(
je
,
"Unknown exception in JNI code {Mat::n_1mul__JJD()}"
);
env
->
ThrowNew
(
je
,
"Unknown exception in JNI code {Mat::n_1mul__JJD()}"
);
return
0
;
return
0
;
...
@@ -1351,13 +1351,13 @@ JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1mul__JJ
...
@@ -1351,13 +1351,13 @@ JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1mul__JJ
return
(
jlong
)
new
Mat
(
_retval_
);
return
(
jlong
)
new
Mat
(
_retval_
);
}
catch
(
cv
::
Exception
e
)
{
}
catch
(
cv
::
Exception
e
)
{
LOGD
(
"Mat::n_1mul__JJ() ca
tched
cv::Exception: %s"
,
e
.
what
());
LOGD
(
"Mat::n_1mul__JJ() ca
ught
cv::Exception: %s"
,
e
.
what
());
jclass
je
=
env
->
FindClass
(
"org/opencv/core/CvException"
);
jclass
je
=
env
->
FindClass
(
"org/opencv/core/CvException"
);
if
(
!
je
)
je
=
env
->
FindClass
(
"java/lang/Exception"
);
if
(
!
je
)
je
=
env
->
FindClass
(
"java/lang/Exception"
);
env
->
ThrowNew
(
je
,
e
.
what
());
env
->
ThrowNew
(
je
,
e
.
what
());
return
0
;
return
0
;
}
catch
(...)
{
}
catch
(...)
{
LOGD
(
"Mat::n_1mul__JJ() ca
tched
unknown exception (...)"
);
LOGD
(
"Mat::n_1mul__JJ() ca
ught
unknown exception (...)"
);
jclass
je
=
env
->
FindClass
(
"java/lang/Exception"
);
jclass
je
=
env
->
FindClass
(
"java/lang/Exception"
);
env
->
ThrowNew
(
je
,
"Unknown exception in JNI code {Mat::n_1mul__JJ()}"
);
env
->
ThrowNew
(
je
,
"Unknown exception in JNI code {Mat::n_1mul__JJ()}"
);
return
0
;
return
0
;
...
@@ -1383,13 +1383,13 @@ JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1ones__III
...
@@ -1383,13 +1383,13 @@ JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1ones__III
return
(
jlong
)
new
Mat
(
_retval_
);
return
(
jlong
)
new
Mat
(
_retval_
);
}
catch
(
cv
::
Exception
e
)
{
}
catch
(
cv
::
Exception
e
)
{
LOGD
(
"Mat::n_1ones__III() ca
tched
cv::Exception: %s"
,
e
.
what
());
LOGD
(
"Mat::n_1ones__III() ca
ught
cv::Exception: %s"
,
e
.
what
());
jclass
je
=
env
->
FindClass
(
"org/opencv/core/CvException"
);
jclass
je
=
env
->
FindClass
(
"org/opencv/core/CvException"
);
if
(
!
je
)
je
=
env
->
FindClass
(
"java/lang/Exception"
);
if
(
!
je
)
je
=
env
->
FindClass
(
"java/lang/Exception"
);
env
->
ThrowNew
(
je
,
e
.
what
());
env
->
ThrowNew
(
je
,
e
.
what
());
return
0
;
return
0
;
}
catch
(...)
{
}
catch
(...)
{
LOGD
(
"Mat::n_1ones__III() ca
tched
unknown exception (...)"
);
LOGD
(
"Mat::n_1ones__III() ca
ught
unknown exception (...)"
);
jclass
je
=
env
->
FindClass
(
"java/lang/Exception"
);
jclass
je
=
env
->
FindClass
(
"java/lang/Exception"
);
env
->
ThrowNew
(
je
,
"Unknown exception in JNI code {Mat::n_1ones__III()}"
);
env
->
ThrowNew
(
je
,
"Unknown exception in JNI code {Mat::n_1ones__III()}"
);
return
0
;
return
0
;
...
@@ -1415,13 +1415,13 @@ JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1ones__DDI
...
@@ -1415,13 +1415,13 @@ JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1ones__DDI
return
(
jlong
)
new
Mat
(
_retval_
);
return
(
jlong
)
new
Mat
(
_retval_
);
}
catch
(
cv
::
Exception
e
)
{
}
catch
(
cv
::
Exception
e
)
{
LOGD
(
"Mat::n_1ones__DDI() ca
tched
cv::Exception: %s"
,
e
.
what
());
LOGD
(
"Mat::n_1ones__DDI() ca
ught
cv::Exception: %s"
,
e
.
what
());
jclass
je
=
env
->
FindClass
(
"org/opencv/core/CvException"
);
jclass
je
=
env
->
FindClass
(
"org/opencv/core/CvException"
);
if
(
!
je
)
je
=
env
->
FindClass
(
"java/lang/Exception"
);
if
(
!
je
)
je
=
env
->
FindClass
(
"java/lang/Exception"
);
env
->
ThrowNew
(
je
,
e
.
what
());
env
->
ThrowNew
(
je
,
e
.
what
());
return
0
;
return
0
;
}
catch
(...)
{
}
catch
(...)
{
LOGD
(
"Mat::n_1ones__DDI() ca
tched
unknown exception (...)"
);
LOGD
(
"Mat::n_1ones__DDI() ca
ught
unknown exception (...)"
);
jclass
je
=
env
->
FindClass
(
"java/lang/Exception"
);
jclass
je
=
env
->
FindClass
(
"java/lang/Exception"
);
env
->
ThrowNew
(
je
,
"Unknown exception in JNI code {Mat::n_1ones__DDI()}"
);
env
->
ThrowNew
(
je
,
"Unknown exception in JNI code {Mat::n_1ones__DDI()}"
);
return
0
;
return
0
;
...
@@ -1447,13 +1447,13 @@ JNIEXPORT void JNICALL Java_org_opencv_core_Mat_n_1push_1back
...
@@ -1447,13 +1447,13 @@ JNIEXPORT void JNICALL Java_org_opencv_core_Mat_n_1push_1back
return
;
return
;
}
catch
(
cv
::
Exception
e
)
{
}
catch
(
cv
::
Exception
e
)
{
LOGD
(
"Mat::n_1push_1back() ca
tched
cv::Exception: %s"
,
e
.
what
());
LOGD
(
"Mat::n_1push_1back() ca
ught
cv::Exception: %s"
,
e
.
what
());
jclass
je
=
env
->
FindClass
(
"org/opencv/core/CvException"
);
jclass
je
=
env
->
FindClass
(
"org/opencv/core/CvException"
);
if
(
!
je
)
je
=
env
->
FindClass
(
"java/lang/Exception"
);
if
(
!
je
)
je
=
env
->
FindClass
(
"java/lang/Exception"
);
env
->
ThrowNew
(
je
,
e
.
what
());
env
->
ThrowNew
(
je
,
e
.
what
());
return
;
return
;
}
catch
(...)
{
}
catch
(...)
{
LOGD
(
"Mat::n_1push_1back() ca
tched
unknown exception (...)"
);
LOGD
(
"Mat::n_1push_1back() ca
ught
unknown exception (...)"
);
jclass
je
=
env
->
FindClass
(
"java/lang/Exception"
);
jclass
je
=
env
->
FindClass
(
"java/lang/Exception"
);
env
->
ThrowNew
(
je
,
"Unknown exception in JNI code {Mat::n_1push_1back()}"
);
env
->
ThrowNew
(
je
,
"Unknown exception in JNI code {Mat::n_1push_1back()}"
);
return
;
return
;
...
@@ -1479,13 +1479,13 @@ JNIEXPORT void JNICALL Java_org_opencv_core_Mat_n_1release
...
@@ -1479,13 +1479,13 @@ JNIEXPORT void JNICALL Java_org_opencv_core_Mat_n_1release
return
;
return
;
}
catch
(
cv
::
Exception
e
)
{
}
catch
(
cv
::
Exception
e
)
{
LOGD
(
"Mat::n_1release() ca
tched
cv::Exception: %s"
,
e
.
what
());
LOGD
(
"Mat::n_1release() ca
ught
cv::Exception: %s"
,
e
.
what
());
jclass
je
=
env
->
FindClass
(
"org/opencv/core/CvException"
);
jclass
je
=
env
->
FindClass
(
"org/opencv/core/CvException"
);
if
(
!
je
)
je
=
env
->
FindClass
(
"java/lang/Exception"
);
if
(
!
je
)
je
=
env
->
FindClass
(
"java/lang/Exception"
);
env
->
ThrowNew
(
je
,
e
.
what
());
env
->
ThrowNew
(
je
,
e
.
what
());
return
;
return
;
}
catch
(...)
{
}
catch
(...)
{
LOGD
(
"Mat::n_1release() ca
tched
unknown exception (...)"
);
LOGD
(
"Mat::n_1release() ca
ught
unknown exception (...)"
);
jclass
je
=
env
->
FindClass
(
"java/lang/Exception"
);
jclass
je
=
env
->
FindClass
(
"java/lang/Exception"
);
env
->
ThrowNew
(
je
,
"Unknown exception in JNI code {Mat::n_1release()}"
);
env
->
ThrowNew
(
je
,
"Unknown exception in JNI code {Mat::n_1release()}"
);
return
;
return
;
...
@@ -1511,13 +1511,13 @@ JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1reshape__JII
...
@@ -1511,13 +1511,13 @@ JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1reshape__JII
return
(
jlong
)
new
Mat
(
_retval_
);
return
(
jlong
)
new
Mat
(
_retval_
);
}
catch
(
cv
::
Exception
e
)
{
}
catch
(
cv
::
Exception
e
)
{
LOGD
(
"Mat::n_1reshape__JII() ca
tched
cv::Exception: %s"
,
e
.
what
());
LOGD
(
"Mat::n_1reshape__JII() ca
ught
cv::Exception: %s"
,
e
.
what
());
jclass
je
=
env
->
FindClass
(
"org/opencv/core/CvException"
);
jclass
je
=
env
->
FindClass
(
"org/opencv/core/CvException"
);
if
(
!
je
)
je
=
env
->
FindClass
(
"java/lang/Exception"
);
if
(
!
je
)
je
=
env
->
FindClass
(
"java/lang/Exception"
);
env
->
ThrowNew
(
je
,
e
.
what
());
env
->
ThrowNew
(
je
,
e
.
what
());
return
0
;
return
0
;
}
catch
(...)
{
}
catch
(...)
{
LOGD
(
"Mat::n_1reshape__JII() ca
tched
unknown exception (...)"
);
LOGD
(
"Mat::n_1reshape__JII() ca
ught
unknown exception (...)"
);
jclass
je
=
env
->
FindClass
(
"java/lang/Exception"
);
jclass
je
=
env
->
FindClass
(
"java/lang/Exception"
);
env
->
ThrowNew
(
je
,
"Unknown exception in JNI code {Mat::n_1reshape__JII()}"
);
env
->
ThrowNew
(
je
,
"Unknown exception in JNI code {Mat::n_1reshape__JII()}"
);
return
0
;
return
0
;
...
@@ -1539,13 +1539,13 @@ JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1reshape__JI
...
@@ -1539,13 +1539,13 @@ JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1reshape__JI
return
(
jlong
)
new
Mat
(
_retval_
);
return
(
jlong
)
new
Mat
(
_retval_
);
}
catch
(
cv
::
Exception
e
)
{
}
catch
(
cv
::
Exception
e
)
{
LOGD
(
"Mat::n_1reshape__JI() ca
tched
cv::Exception: %s"
,
e
.
what
());
LOGD
(
"Mat::n_1reshape__JI() ca
ught
cv::Exception: %s"
,
e
.
what
());
jclass
je
=
env
->
FindClass
(
"org/opencv/core/CvException"
);
jclass
je
=
env
->
FindClass
(
"org/opencv/core/CvException"
);
if
(
!
je
)
je
=
env
->
FindClass
(
"java/lang/Exception"
);
if
(
!
je
)
je
=
env
->
FindClass
(
"java/lang/Exception"
);
env
->
ThrowNew
(
je
,
e
.
what
());
env
->
ThrowNew
(
je
,
e
.
what
());
return
0
;
return
0
;
}
catch
(...)
{
}
catch
(...)
{
LOGD
(
"Mat::n_1reshape__JI() ca
tched
unknown exception (...)"
);
LOGD
(
"Mat::n_1reshape__JI() ca
ught
unknown exception (...)"
);
jclass
je
=
env
->
FindClass
(
"java/lang/Exception"
);
jclass
je
=
env
->
FindClass
(
"java/lang/Exception"
);
env
->
ThrowNew
(
je
,
"Unknown exception in JNI code {Mat::n_1reshape__JI()}"
);
env
->
ThrowNew
(
je
,
"Unknown exception in JNI code {Mat::n_1reshape__JI()}"
);
return
0
;
return
0
;
...
@@ -1571,13 +1571,13 @@ JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1row
...
@@ -1571,13 +1571,13 @@ JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1row
return
(
jlong
)
new
Mat
(
_retval_
);
return
(
jlong
)
new
Mat
(
_retval_
);
}
catch
(
cv
::
Exception
e
)
{
}
catch
(
cv
::
Exception
e
)
{
LOGD
(
"Mat::n_1row() ca
tched
cv::Exception: %s"
,
e
.
what
());
LOGD
(
"Mat::n_1row() ca
ught
cv::Exception: %s"
,
e
.
what
());
jclass
je
=
env
->
FindClass
(
"org/opencv/core/CvException"
);
jclass
je
=
env
->
FindClass
(
"org/opencv/core/CvException"
);
if
(
!
je
)
je
=
env
->
FindClass
(
"java/lang/Exception"
);
if
(
!
je
)
je
=
env
->
FindClass
(
"java/lang/Exception"
);
env
->
ThrowNew
(
je
,
e
.
what
());
env
->
ThrowNew
(
je
,
e
.
what
());
return
0
;
return
0
;
}
catch
(...)
{
}
catch
(...)
{
LOGD
(
"Mat::n_1row() ca
tched
unknown exception (...)"
);
LOGD
(
"Mat::n_1row() ca
ught
unknown exception (...)"
);
jclass
je
=
env
->
FindClass
(
"java/lang/Exception"
);
jclass
je
=
env
->
FindClass
(
"java/lang/Exception"
);
env
->
ThrowNew
(
je
,
"Unknown exception in JNI code {Mat::n_1row()}"
);
env
->
ThrowNew
(
je
,
"Unknown exception in JNI code {Mat::n_1row()}"
);
return
0
;
return
0
;
...
@@ -1603,13 +1603,13 @@ JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1rowRange
...
@@ -1603,13 +1603,13 @@ JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1rowRange
return
(
jlong
)
new
Mat
(
_retval_
);
return
(
jlong
)
new
Mat
(
_retval_
);
}
catch
(
cv
::
Exception
e
)
{
}
catch
(
cv
::
Exception
e
)
{
LOGD
(
"Mat::n_1rowRange() ca
tched
cv::Exception: %s"
,
e
.
what
());
LOGD
(
"Mat::n_1rowRange() ca
ught
cv::Exception: %s"
,
e
.
what
());
jclass
je
=
env
->
FindClass
(
"org/opencv/core/CvException"
);
jclass
je
=
env
->
FindClass
(
"org/opencv/core/CvException"
);
if
(
!
je
)
je
=
env
->
FindClass
(
"java/lang/Exception"
);
if
(
!
je
)
je
=
env
->
FindClass
(
"java/lang/Exception"
);
env
->
ThrowNew
(
je
,
e
.
what
());
env
->
ThrowNew
(
je
,
e
.
what
());
return
0
;
return
0
;
}
catch
(...)
{
}
catch
(...)
{
LOGD
(
"Mat::n_1rowRange() ca
tched
unknown exception (...)"
);
LOGD
(
"Mat::n_1rowRange() ca
ught
unknown exception (...)"
);
jclass
je
=
env
->
FindClass
(
"java/lang/Exception"
);
jclass
je
=
env
->
FindClass
(
"java/lang/Exception"
);
env
->
ThrowNew
(
je
,
"Unknown exception in JNI code {Mat::n_1rowRange()}"
);
env
->
ThrowNew
(
je
,
"Unknown exception in JNI code {Mat::n_1rowRange()}"
);
return
0
;
return
0
;
...
@@ -1635,13 +1635,13 @@ JNIEXPORT jint JNICALL Java_org_opencv_core_Mat_n_1rows
...
@@ -1635,13 +1635,13 @@ JNIEXPORT jint JNICALL Java_org_opencv_core_Mat_n_1rows
return
_retval_
;
return
_retval_
;
}
catch
(
cv
::
Exception
e
)
{
}
catch
(
cv
::
Exception
e
)
{
LOGD
(
"Mat::n_1rows() ca
tched
cv::Exception: %s"
,
e
.
what
());
LOGD
(
"Mat::n_1rows() ca
ught
cv::Exception: %s"
,
e
.
what
());
jclass
je
=
env
->
FindClass
(
"org/opencv/core/CvException"
);
jclass
je
=
env
->
FindClass
(
"org/opencv/core/CvException"
);
if
(
!
je
)
je
=
env
->
FindClass
(
"java/lang/Exception"
);
if
(
!
je
)
je
=
env
->
FindClass
(
"java/lang/Exception"
);
env
->
ThrowNew
(
je
,
e
.
what
());
env
->
ThrowNew
(
je
,
e
.
what
());
return
0
;
return
0
;
}
catch
(...)
{
}
catch
(...)
{
LOGD
(
"Mat::n_1rows() ca
tched
unknown exception (...)"
);
LOGD
(
"Mat::n_1rows() ca
ught
unknown exception (...)"
);
jclass
je
=
env
->
FindClass
(
"java/lang/Exception"
);
jclass
je
=
env
->
FindClass
(
"java/lang/Exception"
);
env
->
ThrowNew
(
je
,
"Unknown exception in JNI code {Mat::n_1rows()}"
);
env
->
ThrowNew
(
je
,
"Unknown exception in JNI code {Mat::n_1rows()}"
);
return
0
;
return
0
;
...
@@ -1668,13 +1668,13 @@ JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1setTo__JDDDD
...
@@ -1668,13 +1668,13 @@ JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1setTo__JDDDD
return
(
jlong
)
new
Mat
(
_retval_
);
return
(
jlong
)
new
Mat
(
_retval_
);
}
catch
(
cv
::
Exception
e
)
{
}
catch
(
cv
::
Exception
e
)
{
LOGD
(
"Mat::n_1setTo__JDDDD() ca
tched
cv::Exception: %s"
,
e
.
what
());
LOGD
(
"Mat::n_1setTo__JDDDD() ca
ught
cv::Exception: %s"
,
e
.
what
());
jclass
je
=
env
->
FindClass
(
"org/opencv/core/CvException"
);
jclass
je
=
env
->
FindClass
(
"org/opencv/core/CvException"
);
if
(
!
je
)
je
=
env
->
FindClass
(
"java/lang/Exception"
);
if
(
!
je
)
je
=
env
->
FindClass
(
"java/lang/Exception"
);
env
->
ThrowNew
(
je
,
e
.
what
());
env
->
ThrowNew
(
je
,
e
.
what
());
return
0
;
return
0
;
}
catch
(...)
{
}
catch
(...)
{
LOGD
(
"Mat::n_1setTo__JDDDD() ca
tched
unknown exception (...)"
);
LOGD
(
"Mat::n_1setTo__JDDDD() ca
ught
unknown exception (...)"
);
jclass
je
=
env
->
FindClass
(
"java/lang/Exception"
);
jclass
je
=
env
->
FindClass
(
"java/lang/Exception"
);
env
->
ThrowNew
(
je
,
"Unknown exception in JNI code {Mat::n_1setTo__JDDDD()}"
);
env
->
ThrowNew
(
je
,
"Unknown exception in JNI code {Mat::n_1setTo__JDDDD()}"
);
return
0
;
return
0
;
...
@@ -1702,13 +1702,13 @@ JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1setTo__JDDDDJ
...
@@ -1702,13 +1702,13 @@ JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1setTo__JDDDDJ
return
(
jlong
)
new
Mat
(
_retval_
);
return
(
jlong
)
new
Mat
(
_retval_
);
}
catch
(
cv
::
Exception
e
)
{
}
catch
(
cv
::
Exception
e
)
{
LOGD
(
"Mat::n_1setTo__JDDDDJ() ca
tched
cv::Exception: %s"
,
e
.
what
());
LOGD
(
"Mat::n_1setTo__JDDDDJ() ca
ught
cv::Exception: %s"
,
e
.
what
());
jclass
je
=
env
->
FindClass
(
"org/opencv/core/CvException"
);
jclass
je
=
env
->
FindClass
(
"org/opencv/core/CvException"
);
if
(
!
je
)
je
=
env
->
FindClass
(
"java/lang/Exception"
);
if
(
!
je
)
je
=
env
->
FindClass
(
"java/lang/Exception"
);
env
->
ThrowNew
(
je
,
e
.
what
());
env
->
ThrowNew
(
je
,
e
.
what
());
return
0
;
return
0
;
}
catch
(...)
{
}
catch
(...)
{
LOGD
(
"Mat::n_1setTo__JDDDDJ() ca
tched
unknown exception (...)"
);
LOGD
(
"Mat::n_1setTo__JDDDDJ() ca
ught
unknown exception (...)"
);
jclass
je
=
env
->
FindClass
(
"java/lang/Exception"
);
jclass
je
=
env
->
FindClass
(
"java/lang/Exception"
);
env
->
ThrowNew
(
je
,
"Unknown exception in JNI code {Mat::n_1setTo__JDDDDJ()}"
);
env
->
ThrowNew
(
je
,
"Unknown exception in JNI code {Mat::n_1setTo__JDDDDJ()}"
);
return
0
;
return
0
;
...
@@ -1736,13 +1736,13 @@ JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1setTo__JJJ
...
@@ -1736,13 +1736,13 @@ JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1setTo__JJJ
return
(
jlong
)
new
Mat
(
_retval_
);
return
(
jlong
)
new
Mat
(
_retval_
);
}
catch
(
cv
::
Exception
e
)
{
}
catch
(
cv
::
Exception
e
)
{
LOGD
(
"Mat::n_1setTo__JJJ() ca
tched
cv::Exception: %s"
,
e
.
what
());
LOGD
(
"Mat::n_1setTo__JJJ() ca
ught
cv::Exception: %s"
,
e
.
what
());
jclass
je
=
env
->
FindClass
(
"org/opencv/core/CvException"
);
jclass
je
=
env
->
FindClass
(
"org/opencv/core/CvException"
);
if
(
!
je
)
je
=
env
->
FindClass
(
"java/lang/Exception"
);
if
(
!
je
)
je
=
env
->
FindClass
(
"java/lang/Exception"
);
env
->
ThrowNew
(
je
,
e
.
what
());
env
->
ThrowNew
(
je
,
e
.
what
());
return
0
;
return
0
;
}
catch
(...)
{
}
catch
(...)
{
LOGD
(
"Mat::n_1setTo__JJJ() ca
tched
unknown exception (...)"
);
LOGD
(
"Mat::n_1setTo__JJJ() ca
ught
unknown exception (...)"
);
jclass
je
=
env
->
FindClass
(
"java/lang/Exception"
);
jclass
je
=
env
->
FindClass
(
"java/lang/Exception"
);
env
->
ThrowNew
(
je
,
"Unknown exception in JNI code {Mat::n_1setTo__JJJ()}"
);
env
->
ThrowNew
(
je
,
"Unknown exception in JNI code {Mat::n_1setTo__JJJ()}"
);
return
0
;
return
0
;
...
@@ -1765,13 +1765,13 @@ JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1setTo__JJ
...
@@ -1765,13 +1765,13 @@ JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1setTo__JJ
return
(
jlong
)
new
Mat
(
_retval_
);
return
(
jlong
)
new
Mat
(
_retval_
);
}
catch
(
cv
::
Exception
e
)
{
}
catch
(
cv
::
Exception
e
)
{
LOGD
(
"Mat::n_1setTo__JJ() ca
tched
cv::Exception: %s"
,
e
.
what
());
LOGD
(
"Mat::n_1setTo__JJ() ca
ught
cv::Exception: %s"
,
e
.
what
());
jclass
je
=
env
->
FindClass
(
"org/opencv/core/CvException"
);
jclass
je
=
env
->
FindClass
(
"org/opencv/core/CvException"
);
if
(
!
je
)
je
=
env
->
FindClass
(
"java/lang/Exception"
);
if
(
!
je
)
je
=
env
->
FindClass
(
"java/lang/Exception"
);
env
->
ThrowNew
(
je
,
e
.
what
());
env
->
ThrowNew
(
je
,
e
.
what
());
return
0
;
return
0
;
}
catch
(...)
{
}
catch
(...)
{
LOGD
(
"Mat::n_1setTo__JJ() ca
tched
unknown exception (...)"
);
LOGD
(
"Mat::n_1setTo__JJ() ca
ught
unknown exception (...)"
);
jclass
je
=
env
->
FindClass
(
"java/lang/Exception"
);
jclass
je
=
env
->
FindClass
(
"java/lang/Exception"
);
env
->
ThrowNew
(
je
,
"Unknown exception in JNI code {Mat::n_1setTo__JJ()}"
);
env
->
ThrowNew
(
je
,
"Unknown exception in JNI code {Mat::n_1setTo__JJ()}"
);
return
0
;
return
0
;
...
@@ -1797,13 +1797,13 @@ JNIEXPORT jdoubleArray JNICALL Java_org_opencv_core_Mat_n_1size
...
@@ -1797,13 +1797,13 @@ JNIEXPORT jdoubleArray JNICALL Java_org_opencv_core_Mat_n_1size
jdoubleArray
_da_retval_
=
env
->
NewDoubleArray
(
2
);
jdouble
_tmp_retval_
[
2
]
=
{
_retval_
.
width
,
_retval_
.
height
};
env
->
SetDoubleArrayRegion
(
_da_retval_
,
0
,
2
,
_tmp_retval_
);
jdoubleArray
_da_retval_
=
env
->
NewDoubleArray
(
2
);
jdouble
_tmp_retval_
[
2
]
=
{
_retval_
.
width
,
_retval_
.
height
};
env
->
SetDoubleArrayRegion
(
_da_retval_
,
0
,
2
,
_tmp_retval_
);
return
_da_retval_
;
return
_da_retval_
;
}
catch
(
cv
::
Exception
e
)
{
}
catch
(
cv
::
Exception
e
)
{
LOGD
(
"Mat::n_1size() ca
tched
cv::Exception: %s"
,
e
.
what
());
LOGD
(
"Mat::n_1size() ca
ught
cv::Exception: %s"
,
e
.
what
());
jclass
je
=
env
->
FindClass
(
"org/opencv/core/CvException"
);
jclass
je
=
env
->
FindClass
(
"org/opencv/core/CvException"
);
if
(
!
je
)
je
=
env
->
FindClass
(
"java/lang/Exception"
);
if
(
!
je
)
je
=
env
->
FindClass
(
"java/lang/Exception"
);
env
->
ThrowNew
(
je
,
e
.
what
());
env
->
ThrowNew
(
je
,
e
.
what
());
return
0
;
return
0
;
}
catch
(...)
{
}
catch
(...)
{
LOGD
(
"Mat::n_1size() ca
tched
unknown exception (...)"
);
LOGD
(
"Mat::n_1size() ca
ught
unknown exception (...)"
);
jclass
je
=
env
->
FindClass
(
"java/lang/Exception"
);
jclass
je
=
env
->
FindClass
(
"java/lang/Exception"
);
env
->
ThrowNew
(
je
,
"Unknown exception in JNI code {Mat::n_1size()}"
);
env
->
ThrowNew
(
je
,
"Unknown exception in JNI code {Mat::n_1size()}"
);
return
0
;
return
0
;
...
@@ -1829,13 +1829,13 @@ JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1step1__JI
...
@@ -1829,13 +1829,13 @@ JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1step1__JI
return
_retval_
;
return
_retval_
;
}
catch
(
cv
::
Exception
e
)
{
}
catch
(
cv
::
Exception
e
)
{
LOGD
(
"Mat::n_1step1__JI() ca
tched
cv::Exception: %s"
,
e
.
what
());
LOGD
(
"Mat::n_1step1__JI() ca
ught
cv::Exception: %s"
,
e
.
what
());
jclass
je
=
env
->
FindClass
(
"org/opencv/core/CvException"
);
jclass
je
=
env
->
FindClass
(
"org/opencv/core/CvException"
);
if
(
!
je
)
je
=
env
->
FindClass
(
"java/lang/Exception"
);
if
(
!
je
)
je
=
env
->
FindClass
(
"java/lang/Exception"
);
env
->
ThrowNew
(
je
,
e
.
what
());
env
->
ThrowNew
(
je
,
e
.
what
());
return
0
;
return
0
;
}
catch
(...)
{
}
catch
(...)
{
LOGD
(
"Mat::n_1step1__JI() ca
tched
unknown exception (...)"
);
LOGD
(
"Mat::n_1step1__JI() ca
ught
unknown exception (...)"
);
jclass
je
=
env
->
FindClass
(
"java/lang/Exception"
);
jclass
je
=
env
->
FindClass
(
"java/lang/Exception"
);
env
->
ThrowNew
(
je
,
"Unknown exception in JNI code {Mat::n_1step1__JI()}"
);
env
->
ThrowNew
(
je
,
"Unknown exception in JNI code {Mat::n_1step1__JI()}"
);
return
0
;
return
0
;
...
@@ -1857,13 +1857,13 @@ JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1step1__J
...
@@ -1857,13 +1857,13 @@ JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1step1__J
return
_retval_
;
return
_retval_
;
}
catch
(
cv
::
Exception
e
)
{
}
catch
(
cv
::
Exception
e
)
{
LOGD
(
"Mat::n_1step1__J() ca
tched
cv::Exception: %s"
,
e
.
what
());
LOGD
(
"Mat::n_1step1__J() ca
ught
cv::Exception: %s"
,
e
.
what
());
jclass
je
=
env
->
FindClass
(
"org/opencv/core/CvException"
);
jclass
je
=
env
->
FindClass
(
"org/opencv/core/CvException"
);
if
(
!
je
)
je
=
env
->
FindClass
(
"java/lang/Exception"
);
if
(
!
je
)
je
=
env
->
FindClass
(
"java/lang/Exception"
);
env
->
ThrowNew
(
je
,
e
.
what
());
env
->
ThrowNew
(
je
,
e
.
what
());
return
0
;
return
0
;
}
catch
(...)
{
}
catch
(...)
{
LOGD
(
"Mat::n_1step1__J() ca
tched
unknown exception (...)"
);
LOGD
(
"Mat::n_1step1__J() ca
ught
unknown exception (...)"
);
jclass
je
=
env
->
FindClass
(
"java/lang/Exception"
);
jclass
je
=
env
->
FindClass
(
"java/lang/Exception"
);
env
->
ThrowNew
(
je
,
"Unknown exception in JNI code {Mat::n_1step1__J()}"
);
env
->
ThrowNew
(
je
,
"Unknown exception in JNI code {Mat::n_1step1__J()}"
);
return
0
;
return
0
;
...
@@ -1889,13 +1889,13 @@ JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1submat_1rr
...
@@ -1889,13 +1889,13 @@ JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1submat_1rr
return
(
jlong
)
new
Mat
(
_retval_
);
return
(
jlong
)
new
Mat
(
_retval_
);
}
catch
(
cv
::
Exception
e
)
{
}
catch
(
cv
::
Exception
e
)
{
LOGD
(
"Mat::n_1submat_1rr() ca
tched
cv::Exception: %s"
,
e
.
what
());
LOGD
(
"Mat::n_1submat_1rr() ca
ught
cv::Exception: %s"
,
e
.
what
());
jclass
je
=
env
->
FindClass
(
"org/opencv/core/CvException"
);
jclass
je
=
env
->
FindClass
(
"org/opencv/core/CvException"
);
if
(
!
je
)
je
=
env
->
FindClass
(
"java/lang/Exception"
);
if
(
!
je
)
je
=
env
->
FindClass
(
"java/lang/Exception"
);
env
->
ThrowNew
(
je
,
e
.
what
());
env
->
ThrowNew
(
je
,
e
.
what
());
return
0
;
return
0
;
}
catch
(...)
{
}
catch
(...)
{
LOGD
(
"Mat::n_1submat_1rr() ca
tched
unknown exception (...)"
);
LOGD
(
"Mat::n_1submat_1rr() ca
ught
unknown exception (...)"
);
jclass
je
=
env
->
FindClass
(
"java/lang/Exception"
);
jclass
je
=
env
->
FindClass
(
"java/lang/Exception"
);
env
->
ThrowNew
(
je
,
"Unknown exception in JNI code {Mat::n_1submat_1rr()}"
);
env
->
ThrowNew
(
je
,
"Unknown exception in JNI code {Mat::n_1submat_1rr()}"
);
return
0
;
return
0
;
...
@@ -1922,13 +1922,13 @@ JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1submat
...
@@ -1922,13 +1922,13 @@ JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1submat
return
(
jlong
)
new
Mat
(
_retval_
);
return
(
jlong
)
new
Mat
(
_retval_
);
}
catch
(
cv
::
Exception
e
)
{
}
catch
(
cv
::
Exception
e
)
{
LOGD
(
"Mat::n_1submat() ca
tched
cv::Exception: %s"
,
e
.
what
());
LOGD
(
"Mat::n_1submat() ca
ught
cv::Exception: %s"
,
e
.
what
());
jclass
je
=
env
->
FindClass
(
"org/opencv/core/CvException"
);
jclass
je
=
env
->
FindClass
(
"org/opencv/core/CvException"
);
if
(
!
je
)
je
=
env
->
FindClass
(
"java/lang/Exception"
);
if
(
!
je
)
je
=
env
->
FindClass
(
"java/lang/Exception"
);
env
->
ThrowNew
(
je
,
e
.
what
());
env
->
ThrowNew
(
je
,
e
.
what
());
return
0
;
return
0
;
}
catch
(...)
{
}
catch
(...)
{
LOGD
(
"Mat::n_1submat() ca
tched
unknown exception (...)"
);
LOGD
(
"Mat::n_1submat() ca
ught
unknown exception (...)"
);
jclass
je
=
env
->
FindClass
(
"java/lang/Exception"
);
jclass
je
=
env
->
FindClass
(
"java/lang/Exception"
);
env
->
ThrowNew
(
je
,
"Unknown exception in JNI code {Mat::n_1submat()}"
);
env
->
ThrowNew
(
je
,
"Unknown exception in JNI code {Mat::n_1submat()}"
);
return
0
;
return
0
;
...
@@ -1954,13 +1954,13 @@ JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1t
...
@@ -1954,13 +1954,13 @@ JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1t
return
(
jlong
)
new
Mat
(
_retval_
);
return
(
jlong
)
new
Mat
(
_retval_
);
}
catch
(
cv
::
Exception
e
)
{
}
catch
(
cv
::
Exception
e
)
{
LOGD
(
"Mat::n_1t() ca
tched
cv::Exception: %s"
,
e
.
what
());
LOGD
(
"Mat::n_1t() ca
ught
cv::Exception: %s"
,
e
.
what
());
jclass
je
=
env
->
FindClass
(
"org/opencv/core/CvException"
);
jclass
je
=
env
->
FindClass
(
"org/opencv/core/CvException"
);
if
(
!
je
)
je
=
env
->
FindClass
(
"java/lang/Exception"
);
if
(
!
je
)
je
=
env
->
FindClass
(
"java/lang/Exception"
);
env
->
ThrowNew
(
je
,
e
.
what
());
env
->
ThrowNew
(
je
,
e
.
what
());
return
0
;
return
0
;
}
catch
(...)
{
}
catch
(...)
{
LOGD
(
"Mat::n_1t() ca
tched
unknown exception (...)"
);
LOGD
(
"Mat::n_1t() ca
ught
unknown exception (...)"
);
jclass
je
=
env
->
FindClass
(
"java/lang/Exception"
);
jclass
je
=
env
->
FindClass
(
"java/lang/Exception"
);
env
->
ThrowNew
(
je
,
"Unknown exception in JNI code {Mat::n_1t()}"
);
env
->
ThrowNew
(
je
,
"Unknown exception in JNI code {Mat::n_1t()}"
);
return
0
;
return
0
;
...
@@ -1986,13 +1986,13 @@ JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1total
...
@@ -1986,13 +1986,13 @@ JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1total
return
_retval_
;
return
_retval_
;
}
catch
(
cv
::
Exception
e
)
{
}
catch
(
cv
::
Exception
e
)
{
LOGD
(
"Mat::n_1total() ca
tched
cv::Exception: %s"
,
e
.
what
());
LOGD
(
"Mat::n_1total() ca
ught
cv::Exception: %s"
,
e
.
what
());
jclass
je
=
env
->
FindClass
(
"org/opencv/core/CvException"
);
jclass
je
=
env
->
FindClass
(
"org/opencv/core/CvException"
);
if
(
!
je
)
je
=
env
->
FindClass
(
"java/lang/Exception"
);
if
(
!
je
)
je
=
env
->
FindClass
(
"java/lang/Exception"
);
env
->
ThrowNew
(
je
,
e
.
what
());
env
->
ThrowNew
(
je
,
e
.
what
());
return
0
;
return
0
;
}
catch
(...)
{
}
catch
(...)
{
LOGD
(
"Mat::n_1total() ca
tched
unknown exception (...)"
);
LOGD
(
"Mat::n_1total() ca
ught
unknown exception (...)"
);
jclass
je
=
env
->
FindClass
(
"java/lang/Exception"
);
jclass
je
=
env
->
FindClass
(
"java/lang/Exception"
);
env
->
ThrowNew
(
je
,
"Unknown exception in JNI code {Mat::n_1total()}"
);
env
->
ThrowNew
(
je
,
"Unknown exception in JNI code {Mat::n_1total()}"
);
return
0
;
return
0
;
...
@@ -2018,13 +2018,13 @@ JNIEXPORT jint JNICALL Java_org_opencv_core_Mat_n_1type
...
@@ -2018,13 +2018,13 @@ JNIEXPORT jint JNICALL Java_org_opencv_core_Mat_n_1type
return
_retval_
;
return
_retval_
;
}
catch
(
cv
::
Exception
e
)
{
}
catch
(
cv
::
Exception
e
)
{
LOGD
(
"Mat::n_1type() ca
tched
cv::Exception: %s"
,
e
.
what
());
LOGD
(
"Mat::n_1type() ca
ught
cv::Exception: %s"
,
e
.
what
());
jclass
je
=
env
->
FindClass
(
"org/opencv/core/CvException"
);
jclass
je
=
env
->
FindClass
(
"org/opencv/core/CvException"
);
if
(
!
je
)
je
=
env
->
FindClass
(
"java/lang/Exception"
);
if
(
!
je
)
je
=
env
->
FindClass
(
"java/lang/Exception"
);
env
->
ThrowNew
(
je
,
e
.
what
());
env
->
ThrowNew
(
je
,
e
.
what
());
return
0
;
return
0
;
}
catch
(...)
{
}
catch
(...)
{
LOGD
(
"Mat::n_1type() ca
tched
unknown exception (...)"
);
LOGD
(
"Mat::n_1type() ca
ught
unknown exception (...)"
);
jclass
je
=
env
->
FindClass
(
"java/lang/Exception"
);
jclass
je
=
env
->
FindClass
(
"java/lang/Exception"
);
env
->
ThrowNew
(
je
,
"Unknown exception in JNI code {Mat::n_1type()}"
);
env
->
ThrowNew
(
je
,
"Unknown exception in JNI code {Mat::n_1type()}"
);
return
0
;
return
0
;
...
@@ -2050,13 +2050,13 @@ JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1zeros__III
...
@@ -2050,13 +2050,13 @@ JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1zeros__III
return
(
jlong
)
new
Mat
(
_retval_
);
return
(
jlong
)
new
Mat
(
_retval_
);
}
catch
(
cv
::
Exception
e
)
{
}
catch
(
cv
::
Exception
e
)
{
LOGD
(
"Mat::n_1zeros__III() ca
tched
cv::Exception: %s"
,
e
.
what
());
LOGD
(
"Mat::n_1zeros__III() ca
ught
cv::Exception: %s"
,
e
.
what
());
jclass
je
=
env
->
FindClass
(
"org/opencv/core/CvException"
);
jclass
je
=
env
->
FindClass
(
"org/opencv/core/CvException"
);
if
(
!
je
)
je
=
env
->
FindClass
(
"java/lang/Exception"
);
if
(
!
je
)
je
=
env
->
FindClass
(
"java/lang/Exception"
);
env
->
ThrowNew
(
je
,
e
.
what
());
env
->
ThrowNew
(
je
,
e
.
what
());
return
0
;
return
0
;
}
catch
(...)
{
}
catch
(...)
{
LOGD
(
"Mat::n_1zeros__III() ca
tched
unknown exception (...)"
);
LOGD
(
"Mat::n_1zeros__III() ca
ught
unknown exception (...)"
);
jclass
je
=
env
->
FindClass
(
"java/lang/Exception"
);
jclass
je
=
env
->
FindClass
(
"java/lang/Exception"
);
env
->
ThrowNew
(
je
,
"Unknown exception in JNI code {Mat::n_1zeros__III()}"
);
env
->
ThrowNew
(
je
,
"Unknown exception in JNI code {Mat::n_1zeros__III()}"
);
return
0
;
return
0
;
...
@@ -2082,13 +2082,13 @@ JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1zeros__DDI
...
@@ -2082,13 +2082,13 @@ JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1zeros__DDI
return
(
jlong
)
new
Mat
(
_retval_
);
return
(
jlong
)
new
Mat
(
_retval_
);
}
catch
(
cv
::
Exception
e
)
{
}
catch
(
cv
::
Exception
e
)
{
LOGD
(
"Mat::n_1zeros__DDI() ca
tched
cv::Exception: %s"
,
e
.
what
());
LOGD
(
"Mat::n_1zeros__DDI() ca
ught
cv::Exception: %s"
,
e
.
what
());
jclass
je
=
env
->
FindClass
(
"org/opencv/core/CvException"
);
jclass
je
=
env
->
FindClass
(
"org/opencv/core/CvException"
);
if
(
!
je
)
je
=
env
->
FindClass
(
"java/lang/Exception"
);
if
(
!
je
)
je
=
env
->
FindClass
(
"java/lang/Exception"
);
env
->
ThrowNew
(
je
,
e
.
what
());
env
->
ThrowNew
(
je
,
e
.
what
());
return
0
;
return
0
;
}
catch
(...)
{
}
catch
(...)
{
LOGD
(
"Mat::n_1zeros__DDI() ca
tched
unknown exception (...)"
);
LOGD
(
"Mat::n_1zeros__DDI() ca
ught
unknown exception (...)"
);
jclass
je
=
env
->
FindClass
(
"java/lang/Exception"
);
jclass
je
=
env
->
FindClass
(
"java/lang/Exception"
);
env
->
ThrowNew
(
je
,
"Unknown exception in JNI code {Mat::n_1zeros__DDI()}"
);
env
->
ThrowNew
(
je
,
"Unknown exception in JNI code {Mat::n_1zeros__DDI()}"
);
return
0
;
return
0
;
...
@@ -2162,13 +2162,13 @@ JNIEXPORT jint JNICALL Java_org_opencv_core_Mat_nPutD
...
@@ -2162,13 +2162,13 @@ JNIEXPORT jint JNICALL Java_org_opencv_core_Mat_nPutD
env
->
ReleasePrimitiveArrayCritical
(
vals
,
values
,
0
);
env
->
ReleasePrimitiveArrayCritical
(
vals
,
values
,
0
);
return
res
;
return
res
;
}
catch
(
cv
::
Exception
e
)
{
}
catch
(
cv
::
Exception
e
)
{
LOGD
(
"Mat::nPutD() ca
tched
cv::Exception: %s"
,
e
.
what
());
LOGD
(
"Mat::nPutD() ca
ught
cv::Exception: %s"
,
e
.
what
());
jclass
je
=
env
->
FindClass
(
"org/opencv/core/CvException"
);
jclass
je
=
env
->
FindClass
(
"org/opencv/core/CvException"
);
if
(
!
je
)
je
=
env
->
FindClass
(
"java/lang/Exception"
);
if
(
!
je
)
je
=
env
->
FindClass
(
"java/lang/Exception"
);
env
->
ThrowNew
(
je
,
e
.
what
());
env
->
ThrowNew
(
je
,
e
.
what
());
return
0
;
return
0
;
}
catch
(...)
{
}
catch
(...)
{
LOGD
(
"Mat::nPutD() ca
tched
unknown exception (...)"
);
LOGD
(
"Mat::nPutD() ca
ught
unknown exception (...)"
);
jclass
je
=
env
->
FindClass
(
"java/lang/Exception"
);
jclass
je
=
env
->
FindClass
(
"java/lang/Exception"
);
env
->
ThrowNew
(
je
,
"Unknown exception in JNI code {Mat::nPutD()}"
);
env
->
ThrowNew
(
je
,
"Unknown exception in JNI code {Mat::nPutD()}"
);
return
0
;
return
0
;
...
@@ -2229,13 +2229,13 @@ JNIEXPORT jint JNICALL Java_org_opencv_core_Mat_nPutB
...
@@ -2229,13 +2229,13 @@ JNIEXPORT jint JNICALL Java_org_opencv_core_Mat_nPutB
env
->
ReleasePrimitiveArrayCritical
(
vals
,
values
,
0
);
env
->
ReleasePrimitiveArrayCritical
(
vals
,
values
,
0
);
return
res
;
return
res
;
}
catch
(
cv
::
Exception
e
)
{
}
catch
(
cv
::
Exception
e
)
{
LOGD
(
"Mat::nPutB() ca
tched
cv::Exception: %s"
,
e
.
what
());
LOGD
(
"Mat::nPutB() ca
ught
cv::Exception: %s"
,
e
.
what
());
jclass
je
=
env
->
FindClass
(
"org/opencv/core/CvException"
);
jclass
je
=
env
->
FindClass
(
"org/opencv/core/CvException"
);
if
(
!
je
)
je
=
env
->
FindClass
(
"java/lang/Exception"
);
if
(
!
je
)
je
=
env
->
FindClass
(
"java/lang/Exception"
);
env
->
ThrowNew
(
je
,
e
.
what
());
env
->
ThrowNew
(
je
,
e
.
what
());
return
0
;
return
0
;
}
catch
(...)
{
}
catch
(...)
{
LOGD
(
"Mat::nPutB() ca
tched
unknown exception (...)"
);
LOGD
(
"Mat::nPutB() ca
ught
unknown exception (...)"
);
jclass
je
=
env
->
FindClass
(
"java/lang/Exception"
);
jclass
je
=
env
->
FindClass
(
"java/lang/Exception"
);
env
->
ThrowNew
(
je
,
"Unknown exception in JNI code {Mat::nPutB()}"
);
env
->
ThrowNew
(
je
,
"Unknown exception in JNI code {Mat::nPutB()}"
);
return
0
;
return
0
;
...
@@ -2260,13 +2260,13 @@ JNIEXPORT jint JNICALL Java_org_opencv_core_Mat_nPutS
...
@@ -2260,13 +2260,13 @@ JNIEXPORT jint JNICALL Java_org_opencv_core_Mat_nPutS
env
->
ReleasePrimitiveArrayCritical
(
vals
,
values
,
0
);
env
->
ReleasePrimitiveArrayCritical
(
vals
,
values
,
0
);
return
res
;
return
res
;
}
catch
(
cv
::
Exception
e
)
{
}
catch
(
cv
::
Exception
e
)
{
LOGD
(
"Mat::nPutS() ca
tched
cv::Exception: %s"
,
e
.
what
());
LOGD
(
"Mat::nPutS() ca
ught
cv::Exception: %s"
,
e
.
what
());
jclass
je
=
env
->
FindClass
(
"org/opencv/core/CvException"
);
jclass
je
=
env
->
FindClass
(
"org/opencv/core/CvException"
);
if
(
!
je
)
je
=
env
->
FindClass
(
"java/lang/Exception"
);
if
(
!
je
)
je
=
env
->
FindClass
(
"java/lang/Exception"
);
env
->
ThrowNew
(
je
,
e
.
what
());
env
->
ThrowNew
(
je
,
e
.
what
());
return
0
;
return
0
;
}
catch
(...)
{
}
catch
(...)
{
LOGD
(
"Mat::nPutS() ca
tched
unknown exception (...)"
);
LOGD
(
"Mat::nPutS() ca
ught
unknown exception (...)"
);
jclass
je
=
env
->
FindClass
(
"java/lang/Exception"
);
jclass
je
=
env
->
FindClass
(
"java/lang/Exception"
);
env
->
ThrowNew
(
je
,
"Unknown exception in JNI code {Mat::nPutS()}"
);
env
->
ThrowNew
(
je
,
"Unknown exception in JNI code {Mat::nPutS()}"
);
return
0
;
return
0
;
...
@@ -2291,13 +2291,13 @@ JNIEXPORT jint JNICALL Java_org_opencv_core_Mat_nPutI
...
@@ -2291,13 +2291,13 @@ JNIEXPORT jint JNICALL Java_org_opencv_core_Mat_nPutI
env
->
ReleasePrimitiveArrayCritical
(
vals
,
values
,
0
);
env
->
ReleasePrimitiveArrayCritical
(
vals
,
values
,
0
);
return
res
;
return
res
;
}
catch
(
cv
::
Exception
e
)
{
}
catch
(
cv
::
Exception
e
)
{
LOGD
(
"Mat::nPutI() ca
tched
cv::Exception: %s"
,
e
.
what
());
LOGD
(
"Mat::nPutI() ca
ught
cv::Exception: %s"
,
e
.
what
());
jclass
je
=
env
->
FindClass
(
"org/opencv/core/CvException"
);
jclass
je
=
env
->
FindClass
(
"org/opencv/core/CvException"
);
if
(
!
je
)
je
=
env
->
FindClass
(
"java/lang/Exception"
);
if
(
!
je
)
je
=
env
->
FindClass
(
"java/lang/Exception"
);
env
->
ThrowNew
(
je
,
e
.
what
());
env
->
ThrowNew
(
je
,
e
.
what
());
return
0
;
return
0
;
}
catch
(...)
{
}
catch
(...)
{
LOGD
(
"Mat::nPutI() ca
tched
unknown exception (...)"
);
LOGD
(
"Mat::nPutI() ca
ught
unknown exception (...)"
);
jclass
je
=
env
->
FindClass
(
"java/lang/Exception"
);
jclass
je
=
env
->
FindClass
(
"java/lang/Exception"
);
env
->
ThrowNew
(
je
,
"Unknown exception in JNI code {Mat::nPutI()}"
);
env
->
ThrowNew
(
je
,
"Unknown exception in JNI code {Mat::nPutI()}"
);
return
0
;
return
0
;
...
@@ -2322,13 +2322,13 @@ JNIEXPORT jint JNICALL Java_org_opencv_core_Mat_nPutF
...
@@ -2322,13 +2322,13 @@ JNIEXPORT jint JNICALL Java_org_opencv_core_Mat_nPutF
env
->
ReleasePrimitiveArrayCritical
(
vals
,
values
,
0
);
env
->
ReleasePrimitiveArrayCritical
(
vals
,
values
,
0
);
return
res
;
return
res
;
}
catch
(
cv
::
Exception
e
)
{
}
catch
(
cv
::
Exception
e
)
{
LOGD
(
"Mat::nPutF() ca
tched
cv::Exception: %s"
,
e
.
what
());
LOGD
(
"Mat::nPutF() ca
ught
cv::Exception: %s"
,
e
.
what
());
jclass
je
=
env
->
FindClass
(
"org/opencv/core/CvException"
);
jclass
je
=
env
->
FindClass
(
"org/opencv/core/CvException"
);
if
(
!
je
)
je
=
env
->
FindClass
(
"java/lang/Exception"
);
if
(
!
je
)
je
=
env
->
FindClass
(
"java/lang/Exception"
);
env
->
ThrowNew
(
je
,
e
.
what
());
env
->
ThrowNew
(
je
,
e
.
what
());
return
0
;
return
0
;
}
catch
(...)
{
}
catch
(...)
{
LOGD
(
"Mat::nPutF() ca
tched
unknown exception (...)"
);
LOGD
(
"Mat::nPutF() ca
ught
unknown exception (...)"
);
jclass
je
=
env
->
FindClass
(
"java/lang/Exception"
);
jclass
je
=
env
->
FindClass
(
"java/lang/Exception"
);
env
->
ThrowNew
(
je
,
"Unknown exception in JNI code {Mat::nPutF()}"
);
env
->
ThrowNew
(
je
,
"Unknown exception in JNI code {Mat::nPutF()}"
);
return
0
;
return
0
;
...
@@ -2388,13 +2388,13 @@ JNIEXPORT jint JNICALL Java_org_opencv_core_Mat_nGetB
...
@@ -2388,13 +2388,13 @@ JNIEXPORT jint JNICALL Java_org_opencv_core_Mat_nGetB
env
->
ReleasePrimitiveArrayCritical
(
vals
,
values
,
0
);
env
->
ReleasePrimitiveArrayCritical
(
vals
,
values
,
0
);
return
res
;
return
res
;
}
catch
(
cv
::
Exception
e
)
{
}
catch
(
cv
::
Exception
e
)
{
LOGD
(
"Mat::nGetB() ca
tched
cv::Exception: %s"
,
e
.
what
());
LOGD
(
"Mat::nGetB() ca
ught
cv::Exception: %s"
,
e
.
what
());
jclass
je
=
env
->
FindClass
(
"org/opencv/core/CvException"
);
jclass
je
=
env
->
FindClass
(
"org/opencv/core/CvException"
);
if
(
!
je
)
je
=
env
->
FindClass
(
"java/lang/Exception"
);
if
(
!
je
)
je
=
env
->
FindClass
(
"java/lang/Exception"
);
env
->
ThrowNew
(
je
,
e
.
what
());
env
->
ThrowNew
(
je
,
e
.
what
());
return
0
;
return
0
;
}
catch
(...)
{
}
catch
(...)
{
LOGD
(
"Mat::nGetB() ca
tched
unknown exception (...)"
);
LOGD
(
"Mat::nGetB() ca
ught
unknown exception (...)"
);
jclass
je
=
env
->
FindClass
(
"java/lang/Exception"
);
jclass
je
=
env
->
FindClass
(
"java/lang/Exception"
);
env
->
ThrowNew
(
je
,
"Unknown exception in JNI code {Mat::nGetB()}"
);
env
->
ThrowNew
(
je
,
"Unknown exception in JNI code {Mat::nGetB()}"
);
return
0
;
return
0
;
...
@@ -2419,13 +2419,13 @@ JNIEXPORT jint JNICALL Java_org_opencv_core_Mat_nGetS
...
@@ -2419,13 +2419,13 @@ JNIEXPORT jint JNICALL Java_org_opencv_core_Mat_nGetS
env
->
ReleasePrimitiveArrayCritical
(
vals
,
values
,
0
);
env
->
ReleasePrimitiveArrayCritical
(
vals
,
values
,
0
);
return
res
;
return
res
;
}
catch
(
cv
::
Exception
e
)
{
}
catch
(
cv
::
Exception
e
)
{
LOGD
(
"Mat::nGetS() ca
tched
cv::Exception: %s"
,
e
.
what
());
LOGD
(
"Mat::nGetS() ca
ught
cv::Exception: %s"
,
e
.
what
());
jclass
je
=
env
->
FindClass
(
"org/opencv/core/CvException"
);
jclass
je
=
env
->
FindClass
(
"org/opencv/core/CvException"
);
if
(
!
je
)
je
=
env
->
FindClass
(
"java/lang/Exception"
);
if
(
!
je
)
je
=
env
->
FindClass
(
"java/lang/Exception"
);
env
->
ThrowNew
(
je
,
e
.
what
());
env
->
ThrowNew
(
je
,
e
.
what
());
return
0
;
return
0
;
}
catch
(...)
{
}
catch
(...)
{
LOGD
(
"Mat::nGetS() ca
tched
unknown exception (...)"
);
LOGD
(
"Mat::nGetS() ca
ught
unknown exception (...)"
);
jclass
je
=
env
->
FindClass
(
"java/lang/Exception"
);
jclass
je
=
env
->
FindClass
(
"java/lang/Exception"
);
env
->
ThrowNew
(
je
,
"Unknown exception in JNI code {Mat::nGetS()}"
);
env
->
ThrowNew
(
je
,
"Unknown exception in JNI code {Mat::nGetS()}"
);
return
0
;
return
0
;
...
@@ -2450,13 +2450,13 @@ JNIEXPORT jint JNICALL Java_org_opencv_core_Mat_nGetI
...
@@ -2450,13 +2450,13 @@ JNIEXPORT jint JNICALL Java_org_opencv_core_Mat_nGetI
env
->
ReleasePrimitiveArrayCritical
(
vals
,
values
,
0
);
env
->
ReleasePrimitiveArrayCritical
(
vals
,
values
,
0
);
return
res
;
return
res
;
}
catch
(
cv
::
Exception
e
)
{
}
catch
(
cv
::
Exception
e
)
{
LOGD
(
"Mat::nGetI() ca
tched
cv::Exception: %s"
,
e
.
what
());
LOGD
(
"Mat::nGetI() ca
ught
cv::Exception: %s"
,
e
.
what
());
jclass
je
=
env
->
FindClass
(
"org/opencv/core/CvException"
);
jclass
je
=
env
->
FindClass
(
"org/opencv/core/CvException"
);
if
(
!
je
)
je
=
env
->
FindClass
(
"java/lang/Exception"
);
if
(
!
je
)
je
=
env
->
FindClass
(
"java/lang/Exception"
);
env
->
ThrowNew
(
je
,
e
.
what
());
env
->
ThrowNew
(
je
,
e
.
what
());
return
0
;
return
0
;
}
catch
(...)
{
}
catch
(...)
{
LOGD
(
"Mat::nGetI() ca
tched
unknown exception (...)"
);
LOGD
(
"Mat::nGetI() ca
ught
unknown exception (...)"
);
jclass
je
=
env
->
FindClass
(
"java/lang/Exception"
);
jclass
je
=
env
->
FindClass
(
"java/lang/Exception"
);
env
->
ThrowNew
(
je
,
"Unknown exception in JNI code {Mat::nGetI()}"
);
env
->
ThrowNew
(
je
,
"Unknown exception in JNI code {Mat::nGetI()}"
);
return
0
;
return
0
;
...
@@ -2481,13 +2481,13 @@ JNIEXPORT jint JNICALL Java_org_opencv_core_Mat_nGetF
...
@@ -2481,13 +2481,13 @@ JNIEXPORT jint JNICALL Java_org_opencv_core_Mat_nGetF
env
->
ReleasePrimitiveArrayCritical
(
vals
,
values
,
0
);
env
->
ReleasePrimitiveArrayCritical
(
vals
,
values
,
0
);
return
res
;
return
res
;
}
catch
(
cv
::
Exception
e
)
{
}
catch
(
cv
::
Exception
e
)
{
LOGD
(
"Mat::nGetF() ca
tched
cv::Exception: %s"
,
e
.
what
());
LOGD
(
"Mat::nGetF() ca
ught
cv::Exception: %s"
,
e
.
what
());
jclass
je
=
env
->
FindClass
(
"org/opencv/core/CvException"
);
jclass
je
=
env
->
FindClass
(
"org/opencv/core/CvException"
);
if
(
!
je
)
je
=
env
->
FindClass
(
"java/lang/Exception"
);
if
(
!
je
)
je
=
env
->
FindClass
(
"java/lang/Exception"
);
env
->
ThrowNew
(
je
,
e
.
what
());
env
->
ThrowNew
(
je
,
e
.
what
());
return
0
;
return
0
;
}
catch
(...)
{
}
catch
(...)
{
LOGD
(
"Mat::nGetF() ca
tched
unknown exception (...)"
);
LOGD
(
"Mat::nGetF() ca
ught
unknown exception (...)"
);
jclass
je
=
env
->
FindClass
(
"java/lang/Exception"
);
jclass
je
=
env
->
FindClass
(
"java/lang/Exception"
);
env
->
ThrowNew
(
je
,
"Unknown exception in JNI code {Mat::nGetF()}"
);
env
->
ThrowNew
(
je
,
"Unknown exception in JNI code {Mat::nGetF()}"
);
return
0
;
return
0
;
...
@@ -2512,13 +2512,13 @@ JNIEXPORT jint JNICALL Java_org_opencv_core_Mat_nGetD
...
@@ -2512,13 +2512,13 @@ JNIEXPORT jint JNICALL Java_org_opencv_core_Mat_nGetD
env
->
ReleasePrimitiveArrayCritical
(
vals
,
values
,
0
);
env
->
ReleasePrimitiveArrayCritical
(
vals
,
values
,
0
);
return
res
;
return
res
;
}
catch
(
cv
::
Exception
e
)
{
}
catch
(
cv
::
Exception
e
)
{
LOGD
(
"Mat::nGetD() ca
tched
cv::Exception: %s"
,
e
.
what
());
LOGD
(
"Mat::nGetD() ca
ught
cv::Exception: %s"
,
e
.
what
());
jclass
je
=
env
->
FindClass
(
"org/opencv/core/CvException"
);
jclass
je
=
env
->
FindClass
(
"org/opencv/core/CvException"
);
if
(
!
je
)
je
=
env
->
FindClass
(
"java/lang/Exception"
);
if
(
!
je
)
je
=
env
->
FindClass
(
"java/lang/Exception"
);
env
->
ThrowNew
(
je
,
e
.
what
());
env
->
ThrowNew
(
je
,
e
.
what
());
return
0
;
return
0
;
}
catch
(...)
{
}
catch
(...)
{
LOGD
(
"Mat::nGetD() ca
tched
unknown exception (...)"
);
LOGD
(
"Mat::nGetD() ca
ught
unknown exception (...)"
);
jclass
je
=
env
->
FindClass
(
"java/lang/Exception"
);
jclass
je
=
env
->
FindClass
(
"java/lang/Exception"
);
env
->
ThrowNew
(
je
,
"Unknown exception in JNI code {Mat::nGetD()}"
);
env
->
ThrowNew
(
je
,
"Unknown exception in JNI code {Mat::nGetD()}"
);
return
0
;
return
0
;
...
@@ -2554,13 +2554,13 @@ JNIEXPORT jdoubleArray JNICALL Java_org_opencv_core_Mat_nGet
...
@@ -2554,13 +2554,13 @@ JNIEXPORT jdoubleArray JNICALL Java_org_opencv_core_Mat_nGet
}
}
return
res
;
return
res
;
}
catch
(
cv
::
Exception
e
)
{
}
catch
(
cv
::
Exception
e
)
{
LOGD
(
"Mat::nGet() ca
tched
cv::Exception: %s"
,
e
.
what
());
LOGD
(
"Mat::nGet() ca
ught
cv::Exception: %s"
,
e
.
what
());
jclass
je
=
env
->
FindClass
(
"org/opencv/core/CvException"
);
jclass
je
=
env
->
FindClass
(
"org/opencv/core/CvException"
);
if
(
!
je
)
je
=
env
->
FindClass
(
"java/lang/Exception"
);
if
(
!
je
)
je
=
env
->
FindClass
(
"java/lang/Exception"
);
env
->
ThrowNew
(
je
,
e
.
what
());
env
->
ThrowNew
(
je
,
e
.
what
());
return
0
;
return
0
;
}
catch
(...)
{
}
catch
(...)
{
LOGD
(
"Mat::nGet() ca
tched
unknown exception (...)"
);
LOGD
(
"Mat::nGet() ca
ught
unknown exception (...)"
);
jclass
je
=
env
->
FindClass
(
"java/lang/Exception"
);
jclass
je
=
env
->
FindClass
(
"java/lang/Exception"
);
env
->
ThrowNew
(
je
,
"Unknown exception in JNI code {Mat::nGet()}"
);
env
->
ThrowNew
(
je
,
"Unknown exception in JNI code {Mat::nGet()}"
);
return
0
;
return
0
;
...
@@ -2581,13 +2581,13 @@ JNIEXPORT jstring JNICALL Java_org_opencv_core_Mat_nDump
...
@@ -2581,13 +2581,13 @@ JNIEXPORT jstring JNICALL Java_org_opencv_core_Mat_nDump
s
<<
*
me
;
s
<<
*
me
;
return
env
->
NewStringUTF
(
s
.
str
().
c_str
());
return
env
->
NewStringUTF
(
s
.
str
().
c_str
());
}
catch
(
cv
::
Exception
e
)
{
}
catch
(
cv
::
Exception
e
)
{
LOGE
(
"Mat::nDump() ca
tched
cv::Exception: %s"
,
e
.
what
());
LOGE
(
"Mat::nDump() ca
ught
cv::Exception: %s"
,
e
.
what
());
jclass
je
=
env
->
FindClass
(
"org/opencv/core/CvException"
);
jclass
je
=
env
->
FindClass
(
"org/opencv/core/CvException"
);
if
(
!
je
)
je
=
env
->
FindClass
(
"java/lang/Exception"
);
if
(
!
je
)
je
=
env
->
FindClass
(
"java/lang/Exception"
);
env
->
ThrowNew
(
je
,
e
.
what
());
env
->
ThrowNew
(
je
,
e
.
what
());
return
env
->
NewStringUTF
(
"ERROR"
);
return
env
->
NewStringUTF
(
"ERROR"
);
}
catch
(...)
{
}
catch
(...)
{
LOGE
(
"Mat::nDump() ca
tched
unknown exception (...)"
);
LOGE
(
"Mat::nDump() ca
ught
unknown exception (...)"
);
jclass
je
=
env
->
FindClass
(
"java/lang/Exception"
);
jclass
je
=
env
->
FindClass
(
"java/lang/Exception"
);
env
->
ThrowNew
(
je
,
"Unknown exception in JNI code {Mat::nDump()}"
);
env
->
ThrowNew
(
je
,
"Unknown exception in JNI code {Mat::nDump()}"
);
return
env
->
NewStringUTF
(
"ERROR"
);
return
env
->
NewStringUTF
(
"ERROR"
);
...
...
modules/java/generator/src/java/core+MatOfByte.java
View file @
1b38d1e6
...
@@ -15,7 +15,7 @@ public class MatOfByte extends Mat {
...
@@ -15,7 +15,7 @@ public class MatOfByte extends Mat {
protected
MatOfByte
(
long
addr
)
{
protected
MatOfByte
(
long
addr
)
{
super
(
addr
);
super
(
addr
);
if
(
!
empty
()
&&
checkVector
(
_channels
,
_depth
)
<
0
)
if
(
!
empty
()
&&
checkVector
(
_channels
,
_depth
)
<
0
)
throw
new
IllegalArgumentException
(
"Incomatible Mat"
);
throw
new
IllegalArgumentException
(
"Incom
p
atible Mat"
);
//FIXME: do we need release() here?
//FIXME: do we need release() here?
}
}
...
@@ -26,7 +26,7 @@ public class MatOfByte extends Mat {
...
@@ -26,7 +26,7 @@ public class MatOfByte extends Mat {
public
MatOfByte
(
Mat
m
)
{
public
MatOfByte
(
Mat
m
)
{
super
(
m
,
Range
.
all
());
super
(
m
,
Range
.
all
());
if
(
!
empty
()
&&
checkVector
(
_channels
,
_depth
)
<
0
)
if
(
!
empty
()
&&
checkVector
(
_channels
,
_depth
)
<
0
)
throw
new
IllegalArgumentException
(
"Incomatible Mat"
);
throw
new
IllegalArgumentException
(
"Incom
p
atible Mat"
);
//FIXME: do we need release() here?
//FIXME: do we need release() here?
}
}
...
...
modules/java/generator/src/java/core+MatOfDMatch.java
View file @
1b38d1e6
...
@@ -17,7 +17,7 @@ public class MatOfDMatch extends Mat {
...
@@ -17,7 +17,7 @@ public class MatOfDMatch extends Mat {
protected
MatOfDMatch
(
long
addr
)
{
protected
MatOfDMatch
(
long
addr
)
{
super
(
addr
);
super
(
addr
);
if
(
!
empty
()
&&
checkVector
(
_channels
,
_depth
)
<
0
)
if
(
!
empty
()
&&
checkVector
(
_channels
,
_depth
)
<
0
)
throw
new
IllegalArgumentException
(
"Incomatible Mat: "
+
toString
());
throw
new
IllegalArgumentException
(
"Incom
p
atible Mat: "
+
toString
());
//FIXME: do we need release() here?
//FIXME: do we need release() here?
}
}
...
@@ -28,7 +28,7 @@ public class MatOfDMatch extends Mat {
...
@@ -28,7 +28,7 @@ public class MatOfDMatch extends Mat {
public
MatOfDMatch
(
Mat
m
)
{
public
MatOfDMatch
(
Mat
m
)
{
super
(
m
,
Range
.
all
());
super
(
m
,
Range
.
all
());
if
(
!
empty
()
&&
checkVector
(
_channels
,
_depth
)
<
0
)
if
(
!
empty
()
&&
checkVector
(
_channels
,
_depth
)
<
0
)
throw
new
IllegalArgumentException
(
"Incomatible Mat: "
+
toString
());
throw
new
IllegalArgumentException
(
"Incom
p
atible Mat: "
+
toString
());
//FIXME: do we need release() here?
//FIXME: do we need release() here?
}
}
...
...
modules/java/generator/src/java/core+MatOfDouble.java
View file @
1b38d1e6
...
@@ -15,7 +15,7 @@ public class MatOfDouble extends Mat {
...
@@ -15,7 +15,7 @@ public class MatOfDouble extends Mat {
protected
MatOfDouble
(
long
addr
)
{
protected
MatOfDouble
(
long
addr
)
{
super
(
addr
);
super
(
addr
);
if
(
!
empty
()
&&
checkVector
(
_channels
,
_depth
)
<
0
)
if
(
!
empty
()
&&
checkVector
(
_channels
,
_depth
)
<
0
)
throw
new
IllegalArgumentException
(
"Incomatible Mat"
);
throw
new
IllegalArgumentException
(
"Incom
p
atible Mat"
);
//FIXME: do we need release() here?
//FIXME: do we need release() here?
}
}
...
@@ -26,7 +26,7 @@ public class MatOfDouble extends Mat {
...
@@ -26,7 +26,7 @@ public class MatOfDouble extends Mat {
public
MatOfDouble
(
Mat
m
)
{
public
MatOfDouble
(
Mat
m
)
{
super
(
m
,
Range
.
all
());
super
(
m
,
Range
.
all
());
if
(
!
empty
()
&&
checkVector
(
_channels
,
_depth
)
<
0
)
if
(
!
empty
()
&&
checkVector
(
_channels
,
_depth
)
<
0
)
throw
new
IllegalArgumentException
(
"Incomatible Mat"
);
throw
new
IllegalArgumentException
(
"Incom
p
atible Mat"
);
//FIXME: do we need release() here?
//FIXME: do we need release() here?
}
}
...
...
modules/java/generator/src/java/core+MatOfFloat.java
View file @
1b38d1e6
...
@@ -15,7 +15,7 @@ public class MatOfFloat extends Mat {
...
@@ -15,7 +15,7 @@ public class MatOfFloat extends Mat {
protected
MatOfFloat
(
long
addr
)
{
protected
MatOfFloat
(
long
addr
)
{
super
(
addr
);
super
(
addr
);
if
(
!
empty
()
&&
checkVector
(
_channels
,
_depth
)
<
0
)
if
(
!
empty
()
&&
checkVector
(
_channels
,
_depth
)
<
0
)
throw
new
IllegalArgumentException
(
"Incomatible Mat"
);
throw
new
IllegalArgumentException
(
"Incom
p
atible Mat"
);
//FIXME: do we need release() here?
//FIXME: do we need release() here?
}
}
...
@@ -26,7 +26,7 @@ public class MatOfFloat extends Mat {
...
@@ -26,7 +26,7 @@ public class MatOfFloat extends Mat {
public
MatOfFloat
(
Mat
m
)
{
public
MatOfFloat
(
Mat
m
)
{
super
(
m
,
Range
.
all
());
super
(
m
,
Range
.
all
());
if
(
!
empty
()
&&
checkVector
(
_channels
,
_depth
)
<
0
)
if
(
!
empty
()
&&
checkVector
(
_channels
,
_depth
)
<
0
)
throw
new
IllegalArgumentException
(
"Incomatible Mat"
);
throw
new
IllegalArgumentException
(
"Incom
p
atible Mat"
);
//FIXME: do we need release() here?
//FIXME: do we need release() here?
}
}
...
...
modules/java/generator/src/java/core+MatOfFloat4.java
View file @
1b38d1e6
...
@@ -15,7 +15,7 @@ public class MatOfFloat4 extends Mat {
...
@@ -15,7 +15,7 @@ public class MatOfFloat4 extends Mat {
protected
MatOfFloat4
(
long
addr
)
{
protected
MatOfFloat4
(
long
addr
)
{
super
(
addr
);
super
(
addr
);
if
(
!
empty
()
&&
checkVector
(
_channels
,
_depth
)
<
0
)
if
(
!
empty
()
&&
checkVector
(
_channels
,
_depth
)
<
0
)
throw
new
IllegalArgumentException
(
"Incomatible Mat"
);
throw
new
IllegalArgumentException
(
"Incom
p
atible Mat"
);
//FIXME: do we need release() here?
//FIXME: do we need release() here?
}
}
...
@@ -26,7 +26,7 @@ public class MatOfFloat4 extends Mat {
...
@@ -26,7 +26,7 @@ public class MatOfFloat4 extends Mat {
public
MatOfFloat4
(
Mat
m
)
{
public
MatOfFloat4
(
Mat
m
)
{
super
(
m
,
Range
.
all
());
super
(
m
,
Range
.
all
());
if
(
!
empty
()
&&
checkVector
(
_channels
,
_depth
)
<
0
)
if
(
!
empty
()
&&
checkVector
(
_channels
,
_depth
)
<
0
)
throw
new
IllegalArgumentException
(
"Incomatible Mat"
);
throw
new
IllegalArgumentException
(
"Incom
p
atible Mat"
);
//FIXME: do we need release() here?
//FIXME: do we need release() here?
}
}
...
...
modules/java/generator/src/java/core+MatOfFloat6.java
View file @
1b38d1e6
...
@@ -15,7 +15,7 @@ public class MatOfFloat6 extends Mat {
...
@@ -15,7 +15,7 @@ public class MatOfFloat6 extends Mat {
protected
MatOfFloat6
(
long
addr
)
{
protected
MatOfFloat6
(
long
addr
)
{
super
(
addr
);
super
(
addr
);
if
(
!
empty
()
&&
checkVector
(
_channels
,
_depth
)
<
0
)
if
(
!
empty
()
&&
checkVector
(
_channels
,
_depth
)
<
0
)
throw
new
IllegalArgumentException
(
"Incomatible Mat"
);
throw
new
IllegalArgumentException
(
"Incom
p
atible Mat"
);
//FIXME: do we need release() here?
//FIXME: do we need release() here?
}
}
...
@@ -26,7 +26,7 @@ public class MatOfFloat6 extends Mat {
...
@@ -26,7 +26,7 @@ public class MatOfFloat6 extends Mat {
public
MatOfFloat6
(
Mat
m
)
{
public
MatOfFloat6
(
Mat
m
)
{
super
(
m
,
Range
.
all
());
super
(
m
,
Range
.
all
());
if
(
!
empty
()
&&
checkVector
(
_channels
,
_depth
)
<
0
)
if
(
!
empty
()
&&
checkVector
(
_channels
,
_depth
)
<
0
)
throw
new
IllegalArgumentException
(
"Incomatible Mat"
);
throw
new
IllegalArgumentException
(
"Incom
p
atible Mat"
);
//FIXME: do we need release() here?
//FIXME: do we need release() here?
}
}
...
...
modules/java/generator/src/java/core+MatOfInt.java
View file @
1b38d1e6
...
@@ -16,7 +16,7 @@ public class MatOfInt extends Mat {
...
@@ -16,7 +16,7 @@ public class MatOfInt extends Mat {
protected
MatOfInt
(
long
addr
)
{
protected
MatOfInt
(
long
addr
)
{
super
(
addr
);
super
(
addr
);
if
(
!
empty
()
&&
checkVector
(
_channels
,
_depth
)
<
0
)
if
(
!
empty
()
&&
checkVector
(
_channels
,
_depth
)
<
0
)
throw
new
IllegalArgumentException
(
"Incomatible Mat"
);
throw
new
IllegalArgumentException
(
"Incom
p
atible Mat"
);
//FIXME: do we need release() here?
//FIXME: do we need release() here?
}
}
...
@@ -27,7 +27,7 @@ public class MatOfInt extends Mat {
...
@@ -27,7 +27,7 @@ public class MatOfInt extends Mat {
public
MatOfInt
(
Mat
m
)
{
public
MatOfInt
(
Mat
m
)
{
super
(
m
,
Range
.
all
());
super
(
m
,
Range
.
all
());
if
(
!
empty
()
&&
checkVector
(
_channels
,
_depth
)
<
0
)
if
(
!
empty
()
&&
checkVector
(
_channels
,
_depth
)
<
0
)
throw
new
IllegalArgumentException
(
"Incomatible Mat"
);
throw
new
IllegalArgumentException
(
"Incom
p
atible Mat"
);
//FIXME: do we need release() here?
//FIXME: do we need release() here?
}
}
...
...
modules/java/generator/src/java/core+MatOfInt4.java
View file @
1b38d1e6
...
@@ -16,7 +16,7 @@ public class MatOfInt4 extends Mat {
...
@@ -16,7 +16,7 @@ public class MatOfInt4 extends Mat {
protected
MatOfInt4
(
long
addr
)
{
protected
MatOfInt4
(
long
addr
)
{
super
(
addr
);
super
(
addr
);
if
(
!
empty
()
&&
checkVector
(
_channels
,
_depth
)
<
0
)
if
(
!
empty
()
&&
checkVector
(
_channels
,
_depth
)
<
0
)
throw
new
IllegalArgumentException
(
"Incomatible Mat"
);
throw
new
IllegalArgumentException
(
"Incom
p
atible Mat"
);
//FIXME: do we need release() here?
//FIXME: do we need release() here?
}
}
...
@@ -27,7 +27,7 @@ public class MatOfInt4 extends Mat {
...
@@ -27,7 +27,7 @@ public class MatOfInt4 extends Mat {
public
MatOfInt4
(
Mat
m
)
{
public
MatOfInt4
(
Mat
m
)
{
super
(
m
,
Range
.
all
());
super
(
m
,
Range
.
all
());
if
(
!
empty
()
&&
checkVector
(
_channels
,
_depth
)
<
0
)
if
(
!
empty
()
&&
checkVector
(
_channels
,
_depth
)
<
0
)
throw
new
IllegalArgumentException
(
"Incomatible Mat"
);
throw
new
IllegalArgumentException
(
"Incom
p
atible Mat"
);
//FIXME: do we need release() here?
//FIXME: do we need release() here?
}
}
...
...
modules/java/generator/src/java/core+MatOfKeyPoint.java
View file @
1b38d1e6
...
@@ -17,7 +17,7 @@ public class MatOfKeyPoint extends Mat {
...
@@ -17,7 +17,7 @@ public class MatOfKeyPoint extends Mat {
protected
MatOfKeyPoint
(
long
addr
)
{
protected
MatOfKeyPoint
(
long
addr
)
{
super
(
addr
);
super
(
addr
);
if
(
!
empty
()
&&
checkVector
(
_channels
,
_depth
)
<
0
)
if
(
!
empty
()
&&
checkVector
(
_channels
,
_depth
)
<
0
)
throw
new
IllegalArgumentException
(
"Incomatible Mat"
);
throw
new
IllegalArgumentException
(
"Incom
p
atible Mat"
);
//FIXME: do we need release() here?
//FIXME: do we need release() here?
}
}
...
@@ -28,7 +28,7 @@ public class MatOfKeyPoint extends Mat {
...
@@ -28,7 +28,7 @@ public class MatOfKeyPoint extends Mat {
public
MatOfKeyPoint
(
Mat
m
)
{
public
MatOfKeyPoint
(
Mat
m
)
{
super
(
m
,
Range
.
all
());
super
(
m
,
Range
.
all
());
if
(
!
empty
()
&&
checkVector
(
_channels
,
_depth
)
<
0
)
if
(
!
empty
()
&&
checkVector
(
_channels
,
_depth
)
<
0
)
throw
new
IllegalArgumentException
(
"Incomatible Mat"
);
throw
new
IllegalArgumentException
(
"Incom
p
atible Mat"
);
//FIXME: do we need release() here?
//FIXME: do we need release() here?
}
}
...
...
modules/java/generator/src/java/core+MatOfPoint.java
View file @
1b38d1e6
...
@@ -15,7 +15,7 @@ public class MatOfPoint extends Mat {
...
@@ -15,7 +15,7 @@ public class MatOfPoint extends Mat {
protected
MatOfPoint
(
long
addr
)
{
protected
MatOfPoint
(
long
addr
)
{
super
(
addr
);
super
(
addr
);
if
(
!
empty
()
&&
checkVector
(
_channels
,
_depth
)
<
0
)
if
(
!
empty
()
&&
checkVector
(
_channels
,
_depth
)
<
0
)
throw
new
IllegalArgumentException
(
"Incomatible Mat"
);
throw
new
IllegalArgumentException
(
"Incom
p
atible Mat"
);
//FIXME: do we need release() here?
//FIXME: do we need release() here?
}
}
...
@@ -26,7 +26,7 @@ public class MatOfPoint extends Mat {
...
@@ -26,7 +26,7 @@ public class MatOfPoint extends Mat {
public
MatOfPoint
(
Mat
m
)
{
public
MatOfPoint
(
Mat
m
)
{
super
(
m
,
Range
.
all
());
super
(
m
,
Range
.
all
());
if
(
!
empty
()
&&
checkVector
(
_channels
,
_depth
)
<
0
)
if
(
!
empty
()
&&
checkVector
(
_channels
,
_depth
)
<
0
)
throw
new
IllegalArgumentException
(
"Incomatible Mat"
);
throw
new
IllegalArgumentException
(
"Incom
p
atible Mat"
);
//FIXME: do we need release() here?
//FIXME: do we need release() here?
}
}
...
...
modules/java/generator/src/java/core+MatOfPoint2f.java
View file @
1b38d1e6
...
@@ -15,7 +15,7 @@ public class MatOfPoint2f extends Mat {
...
@@ -15,7 +15,7 @@ public class MatOfPoint2f extends Mat {
protected
MatOfPoint2f
(
long
addr
)
{
protected
MatOfPoint2f
(
long
addr
)
{
super
(
addr
);
super
(
addr
);
if
(
!
empty
()
&&
checkVector
(
_channels
,
_depth
)
<
0
)
if
(
!
empty
()
&&
checkVector
(
_channels
,
_depth
)
<
0
)
throw
new
IllegalArgumentException
(
"Incomatible Mat"
);
throw
new
IllegalArgumentException
(
"Incom
p
atible Mat"
);
//FIXME: do we need release() here?
//FIXME: do we need release() here?
}
}
...
@@ -26,7 +26,7 @@ public class MatOfPoint2f extends Mat {
...
@@ -26,7 +26,7 @@ public class MatOfPoint2f extends Mat {
public
MatOfPoint2f
(
Mat
m
)
{
public
MatOfPoint2f
(
Mat
m
)
{
super
(
m
,
Range
.
all
());
super
(
m
,
Range
.
all
());
if
(
!
empty
()
&&
checkVector
(
_channels
,
_depth
)
<
0
)
if
(
!
empty
()
&&
checkVector
(
_channels
,
_depth
)
<
0
)
throw
new
IllegalArgumentException
(
"Incomatible Mat"
);
throw
new
IllegalArgumentException
(
"Incom
p
atible Mat"
);
//FIXME: do we need release() here?
//FIXME: do we need release() here?
}
}
...
...
modules/java/generator/src/java/core+MatOfPoint3.java
View file @
1b38d1e6
...
@@ -15,7 +15,7 @@ public class MatOfPoint3 extends Mat {
...
@@ -15,7 +15,7 @@ public class MatOfPoint3 extends Mat {
protected
MatOfPoint3
(
long
addr
)
{
protected
MatOfPoint3
(
long
addr
)
{
super
(
addr
);
super
(
addr
);
if
(
!
empty
()
&&
checkVector
(
_channels
,
_depth
)
<
0
)
if
(
!
empty
()
&&
checkVector
(
_channels
,
_depth
)
<
0
)
throw
new
IllegalArgumentException
(
"Incomatible Mat"
);
throw
new
IllegalArgumentException
(
"Incom
p
atible Mat"
);
//FIXME: do we need release() here?
//FIXME: do we need release() here?
}
}
...
@@ -26,7 +26,7 @@ public class MatOfPoint3 extends Mat {
...
@@ -26,7 +26,7 @@ public class MatOfPoint3 extends Mat {
public
MatOfPoint3
(
Mat
m
)
{
public
MatOfPoint3
(
Mat
m
)
{
super
(
m
,
Range
.
all
());
super
(
m
,
Range
.
all
());
if
(
!
empty
()
&&
checkVector
(
_channels
,
_depth
)
<
0
)
if
(
!
empty
()
&&
checkVector
(
_channels
,
_depth
)
<
0
)
throw
new
IllegalArgumentException
(
"Incomatible Mat"
);
throw
new
IllegalArgumentException
(
"Incom
p
atible Mat"
);
//FIXME: do we need release() here?
//FIXME: do we need release() here?
}
}
...
...
modules/java/generator/src/java/core+MatOfPoint3f.java
View file @
1b38d1e6
...
@@ -15,7 +15,7 @@ public class MatOfPoint3f extends Mat {
...
@@ -15,7 +15,7 @@ public class MatOfPoint3f extends Mat {
protected
MatOfPoint3f
(
long
addr
)
{
protected
MatOfPoint3f
(
long
addr
)
{
super
(
addr
);
super
(
addr
);
if
(
!
empty
()
&&
checkVector
(
_channels
,
_depth
)
<
0
)
if
(
!
empty
()
&&
checkVector
(
_channels
,
_depth
)
<
0
)
throw
new
IllegalArgumentException
(
"Incomatible Mat"
);
throw
new
IllegalArgumentException
(
"Incom
p
atible Mat"
);
//FIXME: do we need release() here?
//FIXME: do we need release() here?
}
}
...
@@ -26,7 +26,7 @@ public class MatOfPoint3f extends Mat {
...
@@ -26,7 +26,7 @@ public class MatOfPoint3f extends Mat {
public
MatOfPoint3f
(
Mat
m
)
{
public
MatOfPoint3f
(
Mat
m
)
{
super
(
m
,
Range
.
all
());
super
(
m
,
Range
.
all
());
if
(
!
empty
()
&&
checkVector
(
_channels
,
_depth
)
<
0
)
if
(
!
empty
()
&&
checkVector
(
_channels
,
_depth
)
<
0
)
throw
new
IllegalArgumentException
(
"Incomatible Mat"
);
throw
new
IllegalArgumentException
(
"Incom
p
atible Mat"
);
//FIXME: do we need release() here?
//FIXME: do we need release() here?
}
}
...
...
modules/java/generator/src/java/core+MatOfRect.java
View file @
1b38d1e6
...
@@ -16,7 +16,7 @@ public class MatOfRect extends Mat {
...
@@ -16,7 +16,7 @@ public class MatOfRect extends Mat {
protected
MatOfRect
(
long
addr
)
{
protected
MatOfRect
(
long
addr
)
{
super
(
addr
);
super
(
addr
);
if
(
!
empty
()
&&
checkVector
(
_channels
,
_depth
)
<
0
)
if
(
!
empty
()
&&
checkVector
(
_channels
,
_depth
)
<
0
)
throw
new
IllegalArgumentException
(
"Incomatible Mat"
);
throw
new
IllegalArgumentException
(
"Incom
p
atible Mat"
);
//FIXME: do we need release() here?
//FIXME: do we need release() here?
}
}
...
@@ -27,7 +27,7 @@ public class MatOfRect extends Mat {
...
@@ -27,7 +27,7 @@ public class MatOfRect extends Mat {
public
MatOfRect
(
Mat
m
)
{
public
MatOfRect
(
Mat
m
)
{
super
(
m
,
Range
.
all
());
super
(
m
,
Range
.
all
());
if
(
!
empty
()
&&
checkVector
(
_channels
,
_depth
)
<
0
)
if
(
!
empty
()
&&
checkVector
(
_channels
,
_depth
)
<
0
)
throw
new
IllegalArgumentException
(
"Incomatible Mat"
);
throw
new
IllegalArgumentException
(
"Incom
p
atible Mat"
);
//FIXME: do we need release() here?
//FIXME: do we need release() here?
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment