001//
002// This file is auto-generated. Please don't modify it!
003//
004package org.opencv.photo;
005
006import org.opencv.photo.CalibrateCRF;
007
008// C++: class CalibrateDebevec
009/**
010 * Inverse camera response function is extracted for each brightness value by minimizing an objective
011 * function as linear system. Objective function is constructed using pixel values on the same position
012 * in all images, extra term is added to make the result smoother.
013 *
014 * For more information see CITE: DM97 .
015 */
016public class CalibrateDebevec extends CalibrateCRF {
017
018    protected CalibrateDebevec(long addr) { super(addr); }
019
020    // internal usage only
021    public static CalibrateDebevec __fromPtr__(long addr) { return new CalibrateDebevec(addr); }
022
023    //
024    // C++:  float cv::CalibrateDebevec::getLambda()
025    //
026
027    public float getLambda() {
028        return getLambda_0(nativeObj);
029    }
030
031
032    //
033    // C++:  void cv::CalibrateDebevec::setLambda(float lambda)
034    //
035
036    public void setLambda(float lambda) {
037        setLambda_0(nativeObj, lambda);
038    }
039
040
041    //
042    // C++:  int cv::CalibrateDebevec::getSamples()
043    //
044
045    public int getSamples() {
046        return getSamples_0(nativeObj);
047    }
048
049
050    //
051    // C++:  void cv::CalibrateDebevec::setSamples(int samples)
052    //
053
054    public void setSamples(int samples) {
055        setSamples_0(nativeObj, samples);
056    }
057
058
059    //
060    // C++:  bool cv::CalibrateDebevec::getRandom()
061    //
062
063    public boolean getRandom() {
064        return getRandom_0(nativeObj);
065    }
066
067
068    //
069    // C++:  void cv::CalibrateDebevec::setRandom(bool random)
070    //
071
072    public void setRandom(boolean random) {
073        setRandom_0(nativeObj, random);
074    }
075
076
077    @Override
078    protected void finalize() throws Throwable {
079        delete(nativeObj);
080    }
081
082
083
084    // C++:  float cv::CalibrateDebevec::getLambda()
085    private static native float getLambda_0(long nativeObj);
086
087    // C++:  void cv::CalibrateDebevec::setLambda(float lambda)
088    private static native void setLambda_0(long nativeObj, float lambda);
089
090    // C++:  int cv::CalibrateDebevec::getSamples()
091    private static native int getSamples_0(long nativeObj);
092
093    // C++:  void cv::CalibrateDebevec::setSamples(int samples)
094    private static native void setSamples_0(long nativeObj, int samples);
095
096    // C++:  bool cv::CalibrateDebevec::getRandom()
097    private static native boolean getRandom_0(long nativeObj);
098
099    // C++:  void cv::CalibrateDebevec::setRandom(bool random)
100    private static native void setRandom_0(long nativeObj, boolean random);
101
102    // native support for java finalize()
103    private static native void delete(long nativeObj);
104
105}