Home | History | Annotate | Download | only in src
      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 MergeMertens
     13 //javadoc: MergeMertens
     14 public class MergeMertens extends MergeExposures {
     15 
     16     protected MergeMertens(long addr) { super(addr); }
     17 
     18 
     19     //
     20     // C++:  void process(vector_Mat src, Mat& dst, Mat times, Mat response)
     21     //
     22 
     23     //javadoc: MergeMertens::process(src, dst, times, 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)
     35     //
     36 
     37     //javadoc: MergeMertens::process(src, dst)
     38     public  void process(List<Mat> src, Mat dst)
     39     {
     40         Mat src_mat = Converters.vector_Mat_to_Mat(src);
     41         process_1(nativeObj, src_mat.nativeObj, dst.nativeObj);
     42 
     43         return;
     44     }
     45 
     46 
     47     //
     48     // C++:  float getContrastWeight()
     49     //
     50 
     51     //javadoc: MergeMertens::getContrastWeight()
     52     public  float getContrastWeight()
     53     {
     54 
     55         float retVal = getContrastWeight_0(nativeObj);
     56 
     57         return retVal;
     58     }
     59 
     60 
     61     //
     62     // C++:  void setContrastWeight(float contrast_weiht)
     63     //
     64 
     65     //javadoc: MergeMertens::setContrastWeight(contrast_weiht)
     66     public  void setContrastWeight(float contrast_weiht)
     67     {
     68 
     69         setContrastWeight_0(nativeObj, contrast_weiht);
     70 
     71         return;
     72     }
     73 
     74 
     75     //
     76     // C++:  float getSaturationWeight()
     77     //
     78 
     79     //javadoc: MergeMertens::getSaturationWeight()
     80     public  float getSaturationWeight()
     81     {
     82 
     83         float retVal = getSaturationWeight_0(nativeObj);
     84 
     85         return retVal;
     86     }
     87 
     88 
     89     //
     90     // C++:  void setSaturationWeight(float saturation_weight)
     91     //
     92 
     93     //javadoc: MergeMertens::setSaturationWeight(saturation_weight)
     94     public  void setSaturationWeight(float saturation_weight)
     95     {
     96 
     97         setSaturationWeight_0(nativeObj, saturation_weight);
     98 
     99         return;
    100     }
    101 
    102 
    103     //
    104     // C++:  float getExposureWeight()
    105     //
    106 
    107     //javadoc: MergeMertens::getExposureWeight()
    108     public  float getExposureWeight()
    109     {
    110 
    111         float retVal = getExposureWeight_0(nativeObj);
    112 
    113         return retVal;
    114     }
    115 
    116 
    117     //
    118     // C++:  void setExposureWeight(float exposure_weight)
    119     //
    120 
    121     //javadoc: MergeMertens::setExposureWeight(exposure_weight)
    122     public  void setExposureWeight(float exposure_weight)
    123     {
    124 
    125         setExposureWeight_0(nativeObj, exposure_weight);
    126 
    127         return;
    128     }
    129 
    130 
    131     @Override
    132     protected void finalize() throws Throwable {
    133         delete(nativeObj);
    134     }
    135 
    136 
    137 
    138     // C++:  void process(vector_Mat src, Mat& dst, Mat times, Mat response)
    139     private static native void process_0(long nativeObj, long src_mat_nativeObj, long dst_nativeObj, long times_nativeObj, long response_nativeObj);
    140 
    141     // C++:  void process(vector_Mat src, Mat& dst)
    142     private static native void process_1(long nativeObj, long src_mat_nativeObj, long dst_nativeObj);
    143 
    144     // C++:  float getContrastWeight()
    145     private static native float getContrastWeight_0(long nativeObj);
    146 
    147     // C++:  void setContrastWeight(float contrast_weiht)
    148     private static native void setContrastWeight_0(long nativeObj, float contrast_weiht);
    149 
    150     // C++:  float getSaturationWeight()
    151     private static native float getSaturationWeight_0(long nativeObj);
    152 
    153     // C++:  void setSaturationWeight(float saturation_weight)
    154     private static native void setSaturationWeight_0(long nativeObj, float saturation_weight);
    155 
    156     // C++:  float getExposureWeight()
    157     private static native float getExposureWeight_0(long nativeObj);
    158 
    159     // C++:  void setExposureWeight(float exposure_weight)
    160     private static native void setExposureWeight_0(long nativeObj, float exposure_weight);
    161 
    162     // native support for java finalize()
    163     private static native void delete(long nativeObj);
    164 
    165 }
    166