|
|
@ -678,7 +678,7 @@ JNIEXPORT jdoubleArray JNICALL Java_org_opencv_core_n_1minMaxLocManual |
|
|
|
j_prologue.append( "Mat %s_mat = new Mat();" % a.name ) |
|
|
|
j_prologue.append( "Mat %s_mat = new Mat();" % a.name ) |
|
|
|
if "O" in a.out: |
|
|
|
if "O" in a.out: |
|
|
|
j_epilogue.append("utils.Mat_to_%(t)s(%(n)s_mat, %(n)s);" % {"t" : a.ctype, "n" : a.name}) |
|
|
|
j_epilogue.append("utils.Mat_to_%(t)s(%(n)s_mat, %(n)s);" % {"t" : a.ctype, "n" : a.name}) |
|
|
|
c_prologue.append( "%(t)s_to_Mat( %(n)s, %(n)s_mat );" % {"n" : a.name, "t" : a.ctype} ) |
|
|
|
c_epilogue.append( "%(t)s_to_Mat( %(n)s, %(n)s_mat );" % {"n" : a.name, "t" : a.ctype} ) |
|
|
|
else: |
|
|
|
else: |
|
|
|
|
|
|
|
|
|
|
|
fields = type_dict[a.ctype].get("jn_args") |
|
|
|
fields = type_dict[a.ctype].get("jn_args") |
|
|
|