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.Mat; 10 import org.opencv.utils.Converters; 11 12 // C++: class MergeDebevec 13 //javadoc: MergeDebevec 14 public class MergeDebevec extends MergeExposures { 15 MergeDebevec(long addr)16 protected MergeDebevec(long addr) { super(addr); } 17 18 19 // 20 // C++: void process(vector_Mat src, Mat& dst, Mat times, Mat response) 21 // 22 23 //javadoc: MergeDebevec::process(src, dst, times, response) process(List<Mat> src, Mat dst, Mat times, Mat response)24 public void process(List<Mat> src, Mat dst, Mat times, Mat response) 25 { 26 Mat src_mat = Converters.vector_Mat_to_Mat(src); 27 process_0(nativeObj, src_mat.nativeObj, dst.nativeObj, times.nativeObj, response.nativeObj); 28 29 return; 30 } 31 32 33 // 34 // C++: void process(vector_Mat src, Mat& dst, Mat times) 35 // 36 37 //javadoc: MergeDebevec::process(src, dst, times) process(List<Mat> src, Mat dst, Mat times)38 public void process(List<Mat> src, Mat dst, Mat times) 39 { 40 Mat src_mat = Converters.vector_Mat_to_Mat(src); 41 process_1(nativeObj, src_mat.nativeObj, dst.nativeObj, times.nativeObj); 42 43 return; 44 } 45 46 47 @Override finalize()48 protected void finalize() throws Throwable { 49 delete(nativeObj); 50 } 51 52 53 54 // C++: void process(vector_Mat src, Mat& dst, Mat times, Mat response) process_0(long nativeObj, long src_mat_nativeObj, long dst_nativeObj, long times_nativeObj, long response_nativeObj)55 private static native void process_0(long nativeObj, long src_mat_nativeObj, long dst_nativeObj, long times_nativeObj, long response_nativeObj); 56 57 // C++: void process(vector_Mat src, Mat& dst, Mat times) process_1(long nativeObj, long src_mat_nativeObj, long dst_nativeObj, long times_nativeObj)58 private static native void process_1(long nativeObj, long src_mat_nativeObj, long dst_nativeObj, long times_nativeObj); 59 60 // native support for java finalize() delete(long nativeObj)61 private static native void delete(long nativeObj); 62 63 } 64