@ -24,7 +24,10 @@ extern "C" {
JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1Mat__
( JNIEnv * env , jclass cls )
( JNIEnv * , jclass ) ;
JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1Mat__
( JNIEnv * , jclass )
{
LOGD ( " Mat::n_1Mat__() " ) ;
return ( jlong ) new cv : : Mat ( ) ;
@ -36,9 +39,11 @@ JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1Mat__
// Mat::Mat(int rows, int cols, int type)
//
JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1Mat__III
( JNIEnv * env , jclass , jint rows , jint cols , jint type ) ;
JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1Mat__III
( JNIEnv * env , jclass cls , jint rows , jint cols , jint type )
( JNIEnv * env , jclass , jint rows , jint cols , jint type )
{
try {
LOGD ( " Mat::n_1Mat__III() " ) ;
@ -66,9 +71,11 @@ JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1Mat__III
// Mat::Mat(Size size, int type)
//
JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1Mat__DDI
( JNIEnv * env , jclass , jdouble size_width , jdouble size_height , jint type ) ;
JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1Mat__DDI
( JNIEnv * env , jclass cls , jdouble size_width , jdouble size_height , jint type )
( JNIEnv * env , jclass , jdouble size_width , jdouble size_height , jint type )
{
try {
LOGD ( " Mat::n_1Mat__DDI() " ) ;
@ -96,9 +103,12 @@ JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1Mat__DDI
// Mat::Mat(int rows, int cols, int type, Scalar s)
//
JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1Mat__IIIDDDD
( JNIEnv * env , jclass , jint rows , jint cols , jint type , jdouble s_val0 , jdouble s_val1 , jdouble s_val2 , jdouble s_val3 ) ;
JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1Mat__IIIDDDD
( JNIEnv * env , jclass cls , jint rows , jint cols , jint type , jdouble s_val0 , jdouble s_val1 , jdouble s_val2 , jdouble s_val3 )
( JNIEnv * env , jclass , jint rows , jint cols , jint type , jdouble s_val0 , jdouble s_val1 , jdouble s_val2 , jdouble s_val3 )
{
try {
LOGD ( " Mat::n_1Mat__IIIDDDD() " ) ;
@ -126,9 +136,11 @@ JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1Mat__IIIDDDD
// Mat::Mat(Size size, int type, Scalar s)
//
JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1Mat__DDIDDDD
( JNIEnv * env , jclass , jdouble size_width , jdouble size_height , jint type , jdouble s_val0 , jdouble s_val1 , jdouble s_val2 , jdouble s_val3 ) ;
JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1Mat__DDIDDDD
( JNIEnv * env , jclass cls , jdouble size_width , jdouble size_height , jint type , jdouble s_val0 , jdouble s_val1 , jdouble s_val2 , jdouble s_val3 )
( JNIEnv * env , jclass , jdouble size_width , jdouble size_height , jint type , jdouble s_val0 , jdouble s_val1 , jdouble s_val2 , jdouble s_val3 )
{
try {
LOGD ( " Mat::n_1Mat__DDIDDDD() " ) ;
@ -157,9 +169,11 @@ JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1Mat__DDIDDDD
// Mat::Mat(Mat m, Range rowRange, Range colRange = Range::all())
//
JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1Mat__JIIII
( JNIEnv * env , jclass , jlong m_nativeObj , jint rowRange_start , jint rowRange_end , jint colRange_start , jint colRange_end ) ;
JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1Mat__JIIII
( JNIEnv * env , jclass cls , jlong m_nativeObj , jint rowRange_start , jint rowRange_end , jint colRange_start , jint colRange_end )
( JNIEnv * env , jclass , jlong m_nativeObj , jint rowRange_start , jint rowRange_end , jint colRange_start , jint colRange_end )
{
try {
LOGD ( " Mat::n_1Mat__JIIII() " ) ;
@ -183,10 +197,12 @@ JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1Mat__JIIII
}
JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1Mat__JII
( JNIEnv * env , jclass , jlong m_nativeObj , jint rowRange_start , jint rowRange_end ) ;
JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1Mat__JII
( JNIEnv * env , jclass cls , jlong m_nativeObj , jint rowRange_start , jint rowRange_end )
( JNIEnv * env , jclass , jlong m_nativeObj , jint rowRange_start , jint rowRange_end )
{
try {
LOGD ( " Mat::n_1Mat__JII() " ) ;
@ -213,9 +229,11 @@ JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1Mat__JII
// Mat Mat::adjustROI(int dtop, int dbottom, int dleft, int dright)
//
JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1adjustROI
( JNIEnv * env , jclass , jlong self , jint dtop , jint dbottom , jint dleft , jint dright ) ;
JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1adjustROI
( JNIEnv * env , jclass cls , jlong self , jint dtop , jint dbottom , jint dleft , jint dright )
( JNIEnv * env , jclass , jlong self , jint dtop , jint dbottom , jint dleft , jint dright )
{
try {
LOGD ( " Mat::n_1adjustROI() " ) ;
@ -243,9 +261,11 @@ JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1adjustROI
// void Mat::assignTo(Mat m, int type = -1)
//
JNIEXPORT void JNICALL Java_org_opencv_core_Mat_n_1assignTo__JJI
( JNIEnv * env , jclass , jlong self , jlong m_nativeObj , jint type ) ;
JNIEXPORT void JNICALL Java_org_opencv_core_Mat_n_1assignTo__JJI
( JNIEnv * env , jclass cls , jlong self , jlong m_nativeObj , jint type )
( JNIEnv * env , jclass , jlong self , jlong m_nativeObj , jint type )
{
try {
LOGD ( " Mat::n_1assignTo__JJI() " ) ;
@ -268,10 +288,11 @@ JNIEXPORT void JNICALL Java_org_opencv_core_Mat_n_1assignTo__JJI
}
JNIEXPORT void JNICALL Java_org_opencv_core_Mat_n_1assignTo__JJ
( JNIEnv * env , jclass , jlong self , jlong m_nativeObj ) ;
JNIEXPORT void JNICALL Java_org_opencv_core_Mat_n_1assignTo__JJ
( JNIEnv * env , jclass cls , jlong self , jlong m_nativeObj )
( JNIEnv * env , jclass , jlong self , jlong m_nativeObj )
{
try {
LOGD ( " Mat::n_1assignTo__JJ() " ) ;
@ -299,9 +320,11 @@ JNIEXPORT void JNICALL Java_org_opencv_core_Mat_n_1assignTo__JJ
// int Mat::channels()
//
JNIEXPORT jint JNICALL Java_org_opencv_core_Mat_n_1channels
( JNIEnv * env , jclass , jlong self ) ;
JNIEXPORT jint JNICALL Java_org_opencv_core_Mat_n_1channels
( JNIEnv * env , jclass cls , jlong self )
( JNIEnv * env , jclass , jlong self )
{
try {
LOGD ( " Mat::n_1channels() " ) ;
@ -329,9 +352,11 @@ JNIEXPORT jint JNICALL Java_org_opencv_core_Mat_n_1channels
// int Mat::checkVector(int elemChannels, int depth = -1, bool requireContinuous = true)
//
JNIEXPORT jint JNICALL Java_org_opencv_core_Mat_n_1checkVector__JIIZ
( JNIEnv * env , jclass , jlong self , jint elemChannels , jint depth , jboolean requireContinuous ) ;
JNIEXPORT jint JNICALL Java_org_opencv_core_Mat_n_1checkVector__JIIZ
( JNIEnv * env , jclass cls , jlong self , jint elemChannels , jint depth , jboolean requireContinuous )
( JNIEnv * env , jclass , jlong self , jint elemChannels , jint depth , jboolean requireContinuous )
{
try {
LOGD ( " Mat::n_1checkVector__JIIZ() " ) ;
@ -355,9 +380,11 @@ JNIEXPORT jint JNICALL Java_org_opencv_core_Mat_n_1checkVector__JIIZ
JNIEXPORT jint JNICALL Java_org_opencv_core_Mat_n_1checkVector__JII
( JNIEnv * env , jclass , jlong self , jint elemChannels , jint depth ) ;
JNIEXPORT jint JNICALL Java_org_opencv_core_Mat_n_1checkVector__JII
( JNIEnv * env , jclass cls , jlong self , jint elemChannels , jint depth )
( JNIEnv * env , jclass , jlong self , jint elemChannels , jint depth )
{
try {
LOGD ( " Mat::n_1checkVector__JII() " ) ;
@ -380,10 +407,12 @@ JNIEXPORT jint JNICALL Java_org_opencv_core_Mat_n_1checkVector__JII
}
JNIEXPORT jint JNICALL Java_org_opencv_core_Mat_n_1checkVector__JI
( JNIEnv * env , jclass , jlong self , jint elemChannels ) ;
JNIEXPORT jint JNICALL Java_org_opencv_core_Mat_n_1checkVector__JI
( JNIEnv * env , jclass cls , jlong self , jint elemChannels )
( JNIEnv * env , jclass , jlong self , jint elemChannels )
{
try {
LOGD ( " Mat::n_1checkVector__JI() " ) ;
@ -411,9 +440,12 @@ JNIEXPORT jint JNICALL Java_org_opencv_core_Mat_n_1checkVector__JI
// Mat Mat::clone()
//
JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1clone
( JNIEnv * env , jclass , jlong self ) ;
JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1clone
( JNIEnv * env , jclass cls , jlong self )
( JNIEnv * env , jclass , jlong self )
{
try {
LOGD ( " Mat::n_1clone() " ) ;
@ -441,9 +473,11 @@ JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1clone
// Mat Mat::col(int x)
//
JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1col
( JNIEnv * env , jclass , jlong self , jint x ) ;
JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1col
( JNIEnv * env , jclass cls , jlong self , jint x )
( JNIEnv * env , jclass , jlong self , jint x )
{
try {
LOGD ( " Mat::n_1col() " ) ;
@ -471,9 +505,11 @@ JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1col
// Mat Mat::colRange(int startcol, int endcol)
//
JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1colRange
( JNIEnv * env , jclass , jlong self , jint startcol , jint endcol ) ;
JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1colRange
( JNIEnv * env , jclass cls , jlong self , jint startcol , jint endcol )
( JNIEnv * env , jclass , jlong self , jint startcol , jint endcol )
{
try {
LOGD ( " Mat::n_1colRange() " ) ;
@ -501,9 +537,11 @@ JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1colRange
// int Mat::cols()
//
JNIEXPORT jint JNICALL Java_org_opencv_core_Mat_n_1cols
( JNIEnv * env , jclass , jlong self ) ;
JNIEXPORT jint JNICALL Java_org_opencv_core_Mat_n_1cols
( JNIEnv * env , jclass cls , jlong self )
( JNIEnv * env , jclass , jlong self )
{
try {
LOGD ( " Mat::n_1cols() " ) ;
@ -531,9 +569,11 @@ JNIEXPORT jint JNICALL Java_org_opencv_core_Mat_n_1cols
// void Mat::convertTo(Mat& m, int rtype, double alpha = 1, double beta = 0)
//
JNIEXPORT void JNICALL Java_org_opencv_core_Mat_n_1convertTo__JJIDD
( JNIEnv * env , jclass , jlong self , jlong m_nativeObj , jint rtype , jdouble alpha , jdouble beta ) ;
JNIEXPORT void JNICALL Java_org_opencv_core_Mat_n_1convertTo__JJIDD
( JNIEnv * env , jclass cls , jlong self , jlong m_nativeObj , jint rtype , jdouble alpha , jdouble beta )
( JNIEnv * env , jclass , jlong self , jlong m_nativeObj , jint rtype , jdouble alpha , jdouble beta )
{
try {
LOGD ( " Mat::n_1convertTo__JJIDD() " ) ;
@ -557,10 +597,11 @@ JNIEXPORT void JNICALL Java_org_opencv_core_Mat_n_1convertTo__JJIDD
}
JNIEXPORT void JNICALL Java_org_opencv_core_Mat_n_1convertTo__JJID
( JNIEnv * env , jclass , jlong self , jlong m_nativeObj , jint rtype , jdouble alpha ) ;
JNIEXPORT void JNICALL Java_org_opencv_core_Mat_n_1convertTo__JJID
( JNIEnv * env , jclass cls , jlong self , jlong m_nativeObj , jint rtype , jdouble alpha )
( JNIEnv * env , jclass , jlong self , jlong m_nativeObj , jint rtype , jdouble alpha )
{
try {
LOGD ( " Mat::n_1convertTo__JJID() " ) ;
@ -584,10 +625,11 @@ JNIEXPORT void JNICALL Java_org_opencv_core_Mat_n_1convertTo__JJID
}
JNIEXPORT void JNICALL Java_org_opencv_core_Mat_n_1convertTo__JJI
( JNIEnv * env , jclass , jlong self , jlong m_nativeObj , jint rtype ) ;
JNIEXPORT void JNICALL Java_org_opencv_core_Mat_n_1convertTo__JJI
( JNIEnv * env , jclass cls , jlong self , jlong m_nativeObj , jint rtype )
( JNIEnv * env , jclass , jlong self , jlong m_nativeObj , jint rtype )
{
try {
LOGD ( " Mat::n_1convertTo__JJI() " ) ;
@ -616,9 +658,11 @@ JNIEXPORT void JNICALL Java_org_opencv_core_Mat_n_1convertTo__JJI
// void Mat::copyTo(Mat& m)
//
JNIEXPORT void JNICALL Java_org_opencv_core_Mat_n_1copyTo__JJ
( JNIEnv * env , jclass , jlong self , jlong m_nativeObj ) ;
JNIEXPORT void JNICALL Java_org_opencv_core_Mat_n_1copyTo__JJ
( JNIEnv * env , jclass cls , jlong self , jlong m_nativeObj )
( JNIEnv * env , jclass , jlong self , jlong m_nativeObj )
{
try {
LOGD ( " Mat::n_1copyTo__JJ() " ) ;
@ -647,9 +691,11 @@ JNIEXPORT void JNICALL Java_org_opencv_core_Mat_n_1copyTo__JJ
// void Mat::copyTo(Mat& m, Mat mask)
//
JNIEXPORT void JNICALL Java_org_opencv_core_Mat_n_1copyTo__JJJ
( JNIEnv * env , jclass , jlong self , jlong m_nativeObj , jlong mask_nativeObj ) ;
JNIEXPORT void JNICALL Java_org_opencv_core_Mat_n_1copyTo__JJJ
( JNIEnv * env , jclass cls , jlong self , jlong m_nativeObj , jlong mask_nativeObj )
( JNIEnv * env , jclass , jlong self , jlong m_nativeObj , jlong mask_nativeObj )
{
try {
LOGD ( " Mat::n_1copyTo__JJJ() " ) ;
@ -679,9 +725,11 @@ JNIEXPORT void JNICALL Java_org_opencv_core_Mat_n_1copyTo__JJJ
// void Mat::create(int rows, int cols, int type)
//
JNIEXPORT void JNICALL Java_org_opencv_core_Mat_n_1create__JIII
( JNIEnv * env , jclass , jlong self , jint rows , jint cols , jint type ) ;
JNIEXPORT void JNICALL Java_org_opencv_core_Mat_n_1create__JIII
( JNIEnv * env , jclass cls , jlong self , jint rows , jint cols , jint type )
( JNIEnv * env , jclass , jlong self , jint rows , jint cols , jint type )
{
try {
LOGD ( " Mat::n_1create__JIII() " ) ;
@ -709,9 +757,11 @@ JNIEXPORT void JNICALL Java_org_opencv_core_Mat_n_1create__JIII
// void Mat::create(Size size, int type)
//
JNIEXPORT void JNICALL Java_org_opencv_core_Mat_n_1create__JDDI
( JNIEnv * env , jclass , jlong self , jdouble size_width , jdouble size_height , jint type ) ;
JNIEXPORT void JNICALL Java_org_opencv_core_Mat_n_1create__JDDI
( JNIEnv * env , jclass cls , jlong self , jdouble size_width , jdouble size_height , jint type )
( JNIEnv * env , jclass , jlong self , jdouble size_width , jdouble size_height , jint type )
{
try {
LOGD ( " Mat::n_1create__JDDI() " ) ;
@ -740,9 +790,11 @@ JNIEXPORT void JNICALL Java_org_opencv_core_Mat_n_1create__JDDI
// Mat Mat::cross(Mat m)
//
JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1cross
( JNIEnv * env , jclass , jlong self , jlong m_nativeObj ) ;
JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1cross
( JNIEnv * env , jclass cls , jlong self , jlong m_nativeObj )
( JNIEnv * env , jclass , jlong self , jlong m_nativeObj )
{
try {
LOGD ( " Mat::n_1cross() " ) ;
@ -771,9 +823,11 @@ JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1cross
// long Mat::dataAddr()
//
JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1dataAddr
( JNIEnv * , jclass , jlong self ) ;
JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1dataAddr
( JNIEnv * env , jclass cl s , jlong self )
( JNIEnv * , jclass , jlong self )
{
LOGD ( " Mat::n_1dataAddr() " ) ;
Mat * me = ( Mat * ) self ; //TODO: check for NULL
@ -786,9 +840,11 @@ JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1dataAddr
// int Mat::depth()
//
JNIEXPORT jint JNICALL Java_org_opencv_core_Mat_n_1depth
( JNIEnv * env , jclass , jlong self ) ;
JNIEXPORT jint JNICALL Java_org_opencv_core_Mat_n_1depth
( JNIEnv * env , jclass cls , jlong self )
( JNIEnv * env , jclass , jlong self )
{
try {
LOGD ( " Mat::n_1depth() " ) ;
@ -816,9 +872,11 @@ JNIEXPORT jint JNICALL Java_org_opencv_core_Mat_n_1depth
// Mat Mat::diag(int d = 0)
//
JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1diag__JI
( JNIEnv * env , jclass , jlong self , jint d ) ;
JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1diag__JI
( JNIEnv * env , jclass cls , jlong self , jint d )
( JNIEnv * env , jclass , jlong self , jint d )
{
try {
LOGD ( " Mat::n_1diag__JI() " ) ;
@ -847,9 +905,11 @@ JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1diag__JI
// static Mat Mat::diag(Mat d)
//
JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1diag__J
( JNIEnv * env , jclass , jlong d_nativeObj ) ;
JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1diag__J
( JNIEnv * env , jclass cls , jlong d_nativeObj )
( JNIEnv * env , jclass , jlong d_nativeObj )
{
try {
LOGD ( " Mat::n_1diag__J() " ) ;
@ -877,9 +937,11 @@ JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1diag__J
// double Mat::dot(Mat m)
//
JNIEXPORT jdouble JNICALL Java_org_opencv_core_Mat_n_1dot
( JNIEnv * env , jclass , jlong self , jlong m_nativeObj ) ;
JNIEXPORT jdouble JNICALL Java_org_opencv_core_Mat_n_1dot
( JNIEnv * env , jclass cls , jlong self , jlong m_nativeObj )
( JNIEnv * env , jclass , jlong self , jlong m_nativeObj )
{
try {
LOGD ( " Mat::n_1dot() " ) ;
@ -908,9 +970,11 @@ JNIEXPORT jdouble JNICALL Java_org_opencv_core_Mat_n_1dot
// size_t Mat::elemSize()
//
JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1elemSize
( JNIEnv * env , jclass , jlong self ) ;
JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1elemSize
( JNIEnv * env , jclass cls , jlong self )
( JNIEnv * env , jclass , jlong self )
{
try {
LOGD ( " Mat::n_1elemSize() " ) ;
@ -938,9 +1002,11 @@ JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1elemSize
// size_t Mat::elemSize1()
//
JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1elemSize1
( JNIEnv * env , jclass , jlong self ) ;
JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1elemSize1
( JNIEnv * env , jclass cls , jlong self )
( JNIEnv * env , jclass , jlong self )
{
try {
LOGD ( " Mat::n_1elemSize1() " ) ;
@ -968,9 +1034,11 @@ JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1elemSize1
// bool Mat::empty()
//
JNIEXPORT jboolean JNICALL Java_org_opencv_core_Mat_n_1empty
( JNIEnv * env , jclass , jlong self ) ;
JNIEXPORT jboolean JNICALL Java_org_opencv_core_Mat_n_1empty
( JNIEnv * env , jclass cls , jlong self )
( JNIEnv * env , jclass , jlong self )
{
try {
LOGD ( " Mat::n_1empty() " ) ;
@ -998,9 +1066,11 @@ JNIEXPORT jboolean JNICALL Java_org_opencv_core_Mat_n_1empty
// static Mat Mat::eye(int rows, int cols, int type)
//
JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1eye__III
( JNIEnv * env , jclass , jint rows , jint cols , jint type ) ;
JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1eye__III
( JNIEnv * env , jclass cls , jint rows , jint cols , jint type )
( JNIEnv * env , jclass , jint rows , jint cols , jint type )
{
try {
LOGD ( " Mat::n_1eye__III() " ) ;
@ -1028,9 +1098,11 @@ JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1eye__III
// static Mat Mat::eye(Size size, int type)
//
JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1eye__DDI
( JNIEnv * env , jclass , jdouble size_width , jdouble size_height , jint type ) ;
JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1eye__DDI
( JNIEnv * env , jclass cls , jdouble size_width , jdouble size_height , jint type )
( JNIEnv * env , jclass , jdouble size_width , jdouble size_height , jint type )
{
try {
LOGD ( " Mat::n_1eye__DDI() " ) ;
@ -1058,9 +1130,11 @@ JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1eye__DDI
// Mat Mat::inv(int method = DECOMP_LU)
//
JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1inv__JI
( JNIEnv * env , jclass , jlong self , jint method ) ;
JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1inv__JI
( JNIEnv * env , jclass cls , jlong self , jint method )
( JNIEnv * env , jclass , jlong self , jint method )
{
try {
LOGD ( " Mat::n_1inv__JI() " ) ;
@ -1083,10 +1157,11 @@ JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1inv__JI
}
JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1inv__J
( JNIEnv * env , jclass , jlong self ) ;
JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1inv__J
( JNIEnv * env , jclass cls , jlong self )
( JNIEnv * env , jclass , jlong self )
{
try {
LOGD ( " Mat::n_1inv__J() " ) ;
@ -1114,9 +1189,11 @@ JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1inv__J
// bool Mat::isContinuous()
//
JNIEXPORT jboolean JNICALL Java_org_opencv_core_Mat_n_1isContinuous
( JNIEnv * env , jclass , jlong self ) ;
JNIEXPORT jboolean JNICALL Java_org_opencv_core_Mat_n_1isContinuous
( JNIEnv * env , jclass cls , jlong self )
( JNIEnv * env , jclass , jlong self )
{
try {
LOGD ( " Mat::n_1isContinuous() " ) ;
@ -1144,9 +1221,11 @@ JNIEXPORT jboolean JNICALL Java_org_opencv_core_Mat_n_1isContinuous
// bool Mat::isSubmatrix()
//
JNIEXPORT jboolean JNICALL Java_org_opencv_core_Mat_n_1isSubmatrix
( JNIEnv * env , jclass , jlong self ) ;
JNIEXPORT jboolean JNICALL Java_org_opencv_core_Mat_n_1isSubmatrix
( JNIEnv * env , jclass cls , jlong self )
( JNIEnv * env , jclass , jlong self )
{
try {
LOGD ( " Mat::n_1isSubmatrix() " ) ;
@ -1174,9 +1253,11 @@ JNIEXPORT jboolean JNICALL Java_org_opencv_core_Mat_n_1isSubmatrix
// void Mat::locateROI(Size wholeSize, Point ofs)
//
JNIEXPORT void JNICALL Java_org_opencv_core_Mat_locateROI_10
( JNIEnv * env , jclass , jlong self , jdoubleArray wholeSize_out , jdoubleArray ofs_out ) ;
JNIEXPORT void JNICALL Java_org_opencv_core_Mat_locateROI_10
( JNIEnv * env , jclass cls , jlong self , jdoubleArray wholeSize_out , jdoubleArray ofs_out )
( JNIEnv * env , jclass , jlong self , jdoubleArray wholeSize_out , jdoubleArray ofs_out )
{
try {
LOGD ( " core::locateROI_10() " ) ;
@ -1206,9 +1287,11 @@ JNIEXPORT void JNICALL Java_org_opencv_core_Mat_locateROI_10
// Mat Mat::mul(Mat m, double scale = 1)
//
JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1mul__JJD
( JNIEnv * env , jclass , jlong self , jlong m_nativeObj , jdouble scale ) ;
JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1mul__JJD
( JNIEnv * env , jclass cls , jlong self , jlong m_nativeObj , jdouble scale )
( JNIEnv * env , jclass , jlong self , jlong m_nativeObj , jdouble scale )
{
try {
LOGD ( " Mat::n_1mul__JJD() " ) ;
@ -1233,9 +1316,11 @@ JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1mul__JJD
JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1mul__JJ
( JNIEnv * env , jclass , jlong self , jlong m_nativeObj ) ;
JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1mul__JJ
( JNIEnv * env , jclass cls , jlong self , jlong m_nativeObj )
( JNIEnv * env , jclass , jlong self , jlong m_nativeObj )
{
try {
LOGD ( " Mat::n_1mul__JJ() " ) ;
@ -1264,9 +1349,11 @@ JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1mul__JJ
// static Mat Mat::ones(int rows, int cols, int type)
//
JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1ones__III
( JNIEnv * env , jclass , jint rows , jint cols , jint type ) ;
JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1ones__III
( JNIEnv * env , jclass cls , jint rows , jint cols , jint type )
( JNIEnv * env , jclass , jint rows , jint cols , jint type )
{
try {
LOGD ( " Mat::n_1ones__III() " ) ;
@ -1294,9 +1381,11 @@ JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1ones__III
// static Mat Mat::ones(Size size, int type)
//
JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1ones__DDI
( JNIEnv * env , jclass , jdouble size_width , jdouble size_height , jint type ) ;
JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1ones__DDI
( JNIEnv * env , jclass cls , jdouble size_width , jdouble size_height , jint type )
( JNIEnv * env , jclass , jdouble size_width , jdouble size_height , jint type )
{
try {
LOGD ( " Mat::n_1ones__DDI() " ) ;
@ -1324,9 +1413,11 @@ JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1ones__DDI
// void Mat::push_back(Mat m)
//
JNIEXPORT void JNICALL Java_org_opencv_core_Mat_n_1push_1back
( JNIEnv * env , jclass , jlong self , jlong m_nativeObj ) ;
JNIEXPORT void JNICALL Java_org_opencv_core_Mat_n_1push_1back
( JNIEnv * env , jclass cls , jlong self , jlong m_nativeObj )
( JNIEnv * env , jclass , jlong self , jlong m_nativeObj )
{
try {
LOGD ( " Mat::n_1push_1back() " ) ;
@ -1354,9 +1445,11 @@ JNIEXPORT void JNICALL Java_org_opencv_core_Mat_n_1push_1back
// void Mat::release()
//
JNIEXPORT void JNICALL Java_org_opencv_core_Mat_n_1release
( JNIEnv * env , jclass , jlong self ) ;
JNIEXPORT void JNICALL Java_org_opencv_core_Mat_n_1release
( JNIEnv * env , jclass cls , jlong self )
( JNIEnv * env , jclass , jlong self )
{
try {
LOGD ( " Mat::n_1release() " ) ;
@ -1384,9 +1477,11 @@ JNIEXPORT void JNICALL Java_org_opencv_core_Mat_n_1release
// Mat Mat::reshape(int cn, int rows = 0)
//
JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1reshape__JII
( JNIEnv * env , jclass , jlong self , jint cn , jint rows ) ;
JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1reshape__JII
( JNIEnv * env , jclass cls , jlong self , jint cn , jint rows )
( JNIEnv * env , jclass , jlong self , jint cn , jint rows )
{
try {
LOGD ( " Mat::n_1reshape__JII() " ) ;
@ -1410,9 +1505,11 @@ JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1reshape__JII
JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1reshape__JI
( JNIEnv * env , jclass , jlong self , jint cn ) ;
JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1reshape__JI
( JNIEnv * env , jclass cls , jlong self , jint cn )
( JNIEnv * env , jclass , jlong self , jint cn )
{
try {
LOGD ( " Mat::n_1reshape__JI() " ) ;
@ -1440,9 +1537,11 @@ JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1reshape__JI
// Mat Mat::row(int y)
//
JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1row
( JNIEnv * env , jclass , jlong self , jint y ) ;
JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1row
( JNIEnv * env , jclass cls , jlong self , jint y )
( JNIEnv * env , jclass , jlong self , jint y )
{
try {
LOGD ( " Mat::n_1row() " ) ;
@ -1470,9 +1569,11 @@ JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1row
// Mat Mat::rowRange(int startrow, int endrow)
//
JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1rowRange
( JNIEnv * env , jclass , jlong self , jint startrow , jint endrow ) ;
JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1rowRange
( JNIEnv * env , jclass cls , jlong self , jint startrow , jint endrow )
( JNIEnv * env , jclass , jlong self , jint startrow , jint endrow )
{
try {
LOGD ( " Mat::n_1rowRange() " ) ;
@ -1500,9 +1601,11 @@ JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1rowRange
// int Mat::rows()
//
JNIEXPORT jint JNICALL Java_org_opencv_core_Mat_n_1rows
( JNIEnv * env , jclass , jlong self ) ;
JNIEXPORT jint JNICALL Java_org_opencv_core_Mat_n_1rows
( JNIEnv * env , jclass cls , jlong self )
( JNIEnv * env , jclass , jlong self )
{
try {
LOGD ( " Mat::n_1rows() " ) ;
@ -1530,9 +1633,11 @@ JNIEXPORT jint JNICALL Java_org_opencv_core_Mat_n_1rows
// Mat Mat::operator =(Scalar s)
//
JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1setTo__JDDDD
( JNIEnv * env , jclass , jlong self , jdouble s_val0 , jdouble s_val1 , jdouble s_val2 , jdouble s_val3 ) ;
JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1setTo__JDDDD
( JNIEnv * env , jclass cls , jlong self , jdouble s_val0 , jdouble s_val1 , jdouble s_val2 , jdouble s_val3 )
( JNIEnv * env , jclass , jlong self , jdouble s_val0 , jdouble s_val1 , jdouble s_val2 , jdouble s_val3 )
{
try {
LOGD ( " Mat::n_1setTo__JDDDD() " ) ;
@ -1561,9 +1666,11 @@ JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1setTo__JDDDD
// Mat Mat::setTo(Scalar value, Mat mask = Mat())
//
JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1setTo__JDDDDJ
( JNIEnv * env , jclass , jlong self , jdouble s_val0 , jdouble s_val1 , jdouble s_val2 , jdouble s_val3 , jlong mask_nativeObj ) ;
JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1setTo__JDDDDJ
( JNIEnv * env , jclass cls , jlong self , jdouble s_val0 , jdouble s_val1 , jdouble s_val2 , jdouble s_val3 , jlong mask_nativeObj )
( JNIEnv * env , jclass , jlong self , jdouble s_val0 , jdouble s_val1 , jdouble s_val2 , jdouble s_val3 , jlong mask_nativeObj )
{
try {
LOGD ( " Mat::n_1setTo__JDDDDJ() " ) ;
@ -1593,9 +1700,11 @@ JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1setTo__JDDDDJ
// Mat Mat::setTo(Mat value, Mat mask = Mat())
//
JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1setTo__JJJ
( JNIEnv * env , jclass , jlong self , jlong value_nativeObj , jlong mask_nativeObj ) ;
JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1setTo__JJJ
( JNIEnv * env , jclass cls , jlong self , jlong value_nativeObj , jlong mask_nativeObj )
( JNIEnv * env , jclass , jlong self , jlong value_nativeObj , jlong mask_nativeObj )
{
try {
LOGD ( " Mat::n_1setTo__JJJ() " ) ;
@ -1621,9 +1730,11 @@ JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1setTo__JJJ
JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1setTo__JJ
( JNIEnv * env , jclass , jlong self , jlong value_nativeObj ) ;
JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1setTo__JJ
( JNIEnv * env , jclass cls , jlong self , jlong value_nativeObj )
( JNIEnv * env , jclass , jlong self , jlong value_nativeObj )
{
try {
LOGD ( " Mat::n_1setTo__JJ() " ) ;
@ -1652,9 +1763,11 @@ JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1setTo__JJ
// Size Mat::size()
//
JNIEXPORT jdoubleArray JNICALL Java_org_opencv_core_Mat_n_1size
( JNIEnv * env , jclass , jlong self ) ;
JNIEXPORT jdoubleArray JNICALL Java_org_opencv_core_Mat_n_1size
( JNIEnv * env , jclass cls , jlong self )
( JNIEnv * env , jclass , jlong self )
{
try {
LOGD ( " Mat::n_1size() " ) ;
@ -1682,9 +1795,11 @@ JNIEXPORT jdoubleArray JNICALL Java_org_opencv_core_Mat_n_1size
// size_t Mat::step1(int i = 0)
//
JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1step1__JI
( JNIEnv * env , jclass , jlong self , jint i ) ;
JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1step1__JI
( JNIEnv * env , jclass cls , jlong self , jint i )
( JNIEnv * env , jclass , jlong self , jint i )
{
try {
LOGD ( " Mat::n_1step1__JI() " ) ;
@ -1708,9 +1823,11 @@ JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1step1__JI
JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1step1__J
( JNIEnv * env , jclass , jlong self ) ;
JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1step1__J
( JNIEnv * env , jclass cls , jlong self )
( JNIEnv * env , jclass , jlong self )
{
try {
LOGD ( " Mat::n_1step1__J() " ) ;
@ -1736,9 +1853,11 @@ JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1step1__J
// Mat Mat::operator()(Range rowRange, Range colRange)
//
JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1submat_1rr
( JNIEnv * env , jclass , jlong self , jint rowRange_start , jint rowRange_end , jint colRange_start , jint colRange_end ) ;
JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1submat_1rr
( JNIEnv * env , jclass cls , jlong self , jint rowRange_start , jint rowRange_end , jint colRange_start , jint colRange_end )
( JNIEnv * env , jclass , jlong self , jint rowRange_start , jint rowRange_end , jint colRange_start , jint colRange_end )
{
try {
LOGD ( " Mat::n_1submat_1rr() " ) ;
@ -1768,9 +1887,11 @@ JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1submat_1rr
// Mat Mat::operator()(Rect roi)
//
JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1submat
( JNIEnv * env , jclass , jlong self , jint roi_x , jint roi_y , jint roi_width , jint roi_height ) ;
JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1submat
( JNIEnv * env , jclass cls , jlong self , jint roi_x , jint roi_y , jint roi_width , jint roi_height )
( JNIEnv * env , jclass , jlong self , jint roi_x , jint roi_y , jint roi_width , jint roi_height )
{
try {
LOGD ( " Mat::n_1submat() " ) ;
@ -1799,9 +1920,11 @@ JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1submat
// Mat Mat::t()
//
JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1t
( JNIEnv * env , jclass , jlong self ) ;
JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1t
( JNIEnv * env , jclass cls , jlong self )
( JNIEnv * env , jclass , jlong self )
{
try {
LOGD ( " Mat::n_1t() " ) ;
@ -1829,9 +1952,11 @@ JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1t
// size_t Mat::total()
//
JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1total
( JNIEnv * env , jclass , jlong self ) ;
JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1total
( JNIEnv * env , jclass cls , jlong self )
( JNIEnv * env , jclass , jlong self )
{
try {
LOGD ( " Mat::n_1total() " ) ;
@ -1859,9 +1984,11 @@ JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1total
// int Mat::type()
//
JNIEXPORT jint JNICALL Java_org_opencv_core_Mat_n_1type
( JNIEnv * env , jclass , jlong self ) ;
JNIEXPORT jint JNICALL Java_org_opencv_core_Mat_n_1type
( JNIEnv * env , jclass cls , jlong self )
( JNIEnv * env , jclass , jlong self )
{
try {
LOGD ( " Mat::n_1type() " ) ;
@ -1889,9 +2016,11 @@ JNIEXPORT jint JNICALL Java_org_opencv_core_Mat_n_1type
// static Mat Mat::zeros(int rows, int cols, int type)
//
JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1zeros__III
( JNIEnv * env , jclass , jint rows , jint cols , jint type ) ;
JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1zeros__III
( JNIEnv * env , jclass cls , jint rows , jint cols , jint type )
( JNIEnv * env , jclass , jint rows , jint cols , jint type )
{
try {
LOGD ( " Mat::n_1zeros__III() " ) ;
@ -1919,9 +2048,11 @@ JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1zeros__III
// static Mat Mat::zeros(Size size, int type)
//
JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1zeros__DDI
( JNIEnv * env , jclass , jdouble size_width , jdouble size_height , jint type ) ;
JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1zeros__DDI
( JNIEnv * env , jclass cls , jdouble size_width , jdouble size_height , jint type )
( JNIEnv * env , jclass , jdouble size_width , jdouble size_height , jint type )
{
try {
LOGD ( " Mat::n_1zeros__DDI() " ) ;
@ -1951,7 +2082,10 @@ JNIEXPORT jlong JNICALL Java_org_opencv_core_Mat_n_1zeros__DDI
//
JNIEXPORT void JNICALL Java_org_opencv_core_Mat_n_1delete
( JNIEnv * env , jclass cls , jlong self )
( JNIEnv * , jclass , jlong self ) ;
JNIEXPORT void JNICALL Java_org_opencv_core_Mat_n_1delete
( JNIEnv * , jclass , jlong self )
{
delete ( Mat * ) self ;
}
@ -1960,7 +2094,10 @@ JNIEXPORT void JNICALL Java_org_opencv_core_Mat_n_1delete
# define PUT_ITEM(T, R, C) { T*dst = (T*)me->ptr(R, C); for(int ch=0; ch<me->channels() && count>0; count--,ch++,src++,dst++) *dst = cv::saturate_cast<T>(*src); }
JNIEXPORT jint JNICALL Java_org_opencv_core_Mat_nPutD
( JNIEnv * env , jclass cls , jlong self , jint row , jint col , jint count , jdoubleArray vals )
( JNIEnv * env , jclass , jlong self , jint row , jint col , jint count , jdoubleArray vals ) ;
JNIEXPORT jint JNICALL Java_org_opencv_core_Mat_nPutD
( JNIEnv * env , jclass , jlong self , jint row , jint col , jint count , jdoubleArray vals )
{
try {
LOGD ( " Mat::nPutD() " ) ;
@ -2054,7 +2191,10 @@ template<typename T> static int mat_put(cv::Mat* m, int row, int col, int count,
extern " C " {
JNIEXPORT jint JNICALL Java_org_opencv_core_Mat_nPutB
( JNIEnv * env , jclass cls , jlong self , jint row , jint col , jint count , jbyteArray vals )
( JNIEnv * env , jclass , jlong self , jint row , jint col , jint count , jbyteArray vals ) ;
JNIEXPORT jint JNICALL Java_org_opencv_core_Mat_nPutB
( JNIEnv * env , jclass , jlong self , jint row , jint col , jint count , jbyteArray vals )
{
try {
LOGD ( " Mat::nPutB() " ) ;
@ -2082,7 +2222,10 @@ JNIEXPORT jint JNICALL Java_org_opencv_core_Mat_nPutB
}
JNIEXPORT jint JNICALL Java_org_opencv_core_Mat_nPutS
( JNIEnv * env , jclass cls , jlong self , jint row , jint col , jint count , jshortArray vals )
( JNIEnv * env , jclass , jlong self , jint row , jint col , jint count , jshortArray vals ) ;
JNIEXPORT jint JNICALL Java_org_opencv_core_Mat_nPutS
( JNIEnv * env , jclass , jlong self , jint row , jint col , jint count , jshortArray vals )
{
try {
LOGD ( " Mat::nPutS() " ) ;
@ -2110,7 +2253,10 @@ JNIEXPORT jint JNICALL Java_org_opencv_core_Mat_nPutS
}
JNIEXPORT jint JNICALL Java_org_opencv_core_Mat_nPutI
( JNIEnv * env , jclass cls , jlong self , jint row , jint col , jint count , jintArray vals )
( JNIEnv * env , jclass , jlong self , jint row , jint col , jint count , jintArray vals ) ;
JNIEXPORT jint JNICALL Java_org_opencv_core_Mat_nPutI
( JNIEnv * env , jclass , jlong self , jint row , jint col , jint count , jintArray vals )
{
try {
LOGD ( " Mat::nPutI() " ) ;
@ -2138,7 +2284,10 @@ JNIEXPORT jint JNICALL Java_org_opencv_core_Mat_nPutI
}
JNIEXPORT jint JNICALL Java_org_opencv_core_Mat_nPutF
( JNIEnv * env , jclass cls , jlong self , jint row , jint col , jint count , jfloatArray vals )
( JNIEnv * env , jclass , jlong self , jint row , jint col , jint count , jfloatArray vals ) ;
JNIEXPORT jint JNICALL Java_org_opencv_core_Mat_nPutF
( JNIEnv * env , jclass , jlong self , jint row , jint col , jint count , jfloatArray vals )
{
try {
LOGD ( " Mat::nPutF() " ) ;
@ -2201,7 +2350,10 @@ template<typename T> int mat_get(cv::Mat* m, int row, int col, int count, char*
extern " C " {
JNIEXPORT jint JNICALL Java_org_opencv_core_Mat_nGetB
( JNIEnv * env , jclass cls , jlong self , jint row , jint col , jint count , jbyteArray vals )
( JNIEnv * env , jclass , jlong self , jint row , jint col , jint count , jbyteArray vals ) ;
JNIEXPORT jint JNICALL Java_org_opencv_core_Mat_nGetB
( JNIEnv * env , jclass , jlong self , jint row , jint col , jint count , jbyteArray vals )
{
try {
LOGD ( " Mat::nGetB() " ) ;
@ -2229,7 +2381,10 @@ JNIEXPORT jint JNICALL Java_org_opencv_core_Mat_nGetB
}
JNIEXPORT jint JNICALL Java_org_opencv_core_Mat_nGetS
( JNIEnv * env , jclass cls , jlong self , jint row , jint col , jint count , jshortArray vals )
( JNIEnv * env , jclass , jlong self , jint row , jint col , jint count , jshortArray vals ) ;
JNIEXPORT jint JNICALL Java_org_opencv_core_Mat_nGetS
( JNIEnv * env , jclass , jlong self , jint row , jint col , jint count , jshortArray vals )
{
try {
LOGD ( " Mat::nGetS() " ) ;
@ -2257,7 +2412,10 @@ JNIEXPORT jint JNICALL Java_org_opencv_core_Mat_nGetS
}
JNIEXPORT jint JNICALL Java_org_opencv_core_Mat_nGetI
( JNIEnv * env , jclass cls , jlong self , jint row , jint col , jint count , jintArray vals )
( JNIEnv * env , jclass , jlong self , jint row , jint col , jint count , jintArray vals ) ;
JNIEXPORT jint JNICALL Java_org_opencv_core_Mat_nGetI
( JNIEnv * env , jclass , jlong self , jint row , jint col , jint count , jintArray vals )
{
try {
LOGD ( " Mat::nGetI() " ) ;
@ -2285,7 +2443,10 @@ JNIEXPORT jint JNICALL Java_org_opencv_core_Mat_nGetI
}
JNIEXPORT jint JNICALL Java_org_opencv_core_Mat_nGetF
( JNIEnv * env , jclass cls , jlong self , jint row , jint col , jint count , jfloatArray vals )
( JNIEnv * env , jclass , jlong self , jint row , jint col , jint count , jfloatArray vals ) ;
JNIEXPORT jint JNICALL Java_org_opencv_core_Mat_nGetF
( JNIEnv * env , jclass , jlong self , jint row , jint col , jint count , jfloatArray vals )
{
try {
LOGD ( " Mat::nGetF() " ) ;
@ -2313,7 +2474,10 @@ JNIEXPORT jint JNICALL Java_org_opencv_core_Mat_nGetF
}
JNIEXPORT jint JNICALL Java_org_opencv_core_Mat_nGetD
( JNIEnv * env , jclass cls , jlong self , jint row , jint col , jint count , jdoubleArray vals )
( JNIEnv * env , jclass , jlong self , jint row , jint col , jint count , jdoubleArray vals ) ;
JNIEXPORT jint JNICALL Java_org_opencv_core_Mat_nGetD
( JNIEnv * env , jclass , jlong self , jint row , jint col , jint count , jdoubleArray vals )
{
try {
LOGD ( " Mat::nGetD() " ) ;
@ -2341,7 +2505,10 @@ JNIEXPORT jint JNICALL Java_org_opencv_core_Mat_nGetD
}
JNIEXPORT jdoubleArray JNICALL Java_org_opencv_core_Mat_nGet
( JNIEnv * env , jclass cls , jlong self , jint row , jint col , jint count )
( JNIEnv * env , jclass , jlong self , jint row , jint col , jint count ) ;
JNIEXPORT jdoubleArray JNICALL Java_org_opencv_core_Mat_nGet
( JNIEnv * env , jclass , jlong self , jint row , jint col , jint count )
{
try {
LOGD ( " Mat::nGet() " ) ;
@ -2380,7 +2547,10 @@ JNIEXPORT jdoubleArray JNICALL Java_org_opencv_core_Mat_nGet
}
JNIEXPORT jstring JNICALL Java_org_opencv_core_Mat_nDump
( JNIEnv * env , jclass cls , jlong self )
( JNIEnv * env , jclass , jlong self ) ;
JNIEXPORT jstring JNICALL Java_org_opencv_core_Mat_nDump
( JNIEnv * env , jclass , jlong self )
{
cv : : Mat * me = ( cv : : Mat * ) self ; //TODO: check for NULL
std : : stringstream s ;