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 AlignExposures 14 //javadoc: AlignExposures 15 public class AlignExposures extends Algorithm { 16 AlignExposures(long addr)17 protected AlignExposures(long addr) { super(addr); } 18 19 20 // 21 // C++: void process(vector_Mat src, vector_Mat dst, Mat times, Mat response) 22 // 23 24 //javadoc: AlignExposures::process(src, dst, times, response) process(List<Mat> src, List<Mat> dst, Mat times, Mat response)25 public void process(List<Mat> src, List<Mat> dst, Mat times, Mat response) 26 { 27 Mat src_mat = Converters.vector_Mat_to_Mat(src); 28 Mat dst_mat = Converters.vector_Mat_to_Mat(dst); 29 process_0(nativeObj, src_mat.nativeObj, dst_mat.nativeObj, times.nativeObj, response.nativeObj); 30 31 return; 32 } 33 34 35 @Override finalize()36 protected void finalize() throws Throwable { 37 delete(nativeObj); 38 } 39 40 41 42 // C++: void process(vector_Mat src, vector_Mat dst, Mat times, Mat response) process_0(long nativeObj, long src_mat_nativeObj, long dst_mat_nativeObj, long times_nativeObj, long response_nativeObj)43 private static native void process_0(long nativeObj, long src_mat_nativeObj, long dst_mat_nativeObj, long times_nativeObj, long response_nativeObj); 44 45 // native support for java finalize() delete(long nativeObj)46 private static native void delete(long nativeObj); 47 48 } 49