1 2 // 3 // This file is auto-generated. Please don't modify it! 4 // 5 package org.opencv.photo; 6 7 import java.util.ArrayList; 8 import java.util.List; 9 import org.opencv.core.Algorithm; 10 import org.opencv.core.Mat; 11 import org.opencv.utils.Converters; 12 13 // C++: class CalibrateCRF 14 //javadoc: CalibrateCRF 15 public class CalibrateCRF extends Algorithm { 16 CalibrateCRF(long addr)17 protected CalibrateCRF(long addr) { super(addr); } 18 19 20 // 21 // C++: void process(vector_Mat src, Mat& dst, Mat times) 22 // 23 24 //javadoc: CalibrateCRF::process(src, dst, times) process(List<Mat> src, Mat dst, Mat times)25 public void process(List<Mat> src, Mat dst, Mat times) 26 { 27 Mat src_mat = Converters.vector_Mat_to_Mat(src); 28 process_0(nativeObj, src_mat.nativeObj, dst.nativeObj, times.nativeObj); 29 30 return; 31 } 32 33 34 @Override finalize()35 protected void finalize() throws Throwable { 36 delete(nativeObj); 37 } 38 39 40 41 // C++: void process(vector_Mat src, Mat& dst, Mat times) process_0(long nativeObj, long src_mat_nativeObj, long dst_nativeObj, long times_nativeObj)42 private static native void process_0(long nativeObj, long src_mat_nativeObj, long dst_nativeObj, long times_nativeObj); 43 44 // native support for java finalize() delete(long nativeObj)45 private static native void delete(long nativeObj); 46 47 } 48