001//
002// This file is auto-generated. Please don't modify it!
003//
004package org.opencv.photo;
005
006import org.opencv.core.Mat;
007import org.opencv.photo.CalibrateCRF;
008
009// C++: class CalibrateRobertson
010/**
011 * Inverse camera response function is extracted for each brightness value by minimizing an objective
012 * function as linear system. This algorithm uses all image pixels.
013 *
014 * For more information see CITE: RB99 .
015 */
016public class CalibrateRobertson extends CalibrateCRF {
017
018    protected CalibrateRobertson(long addr) { super(addr); }
019
020    // internal usage only
021    public static CalibrateRobertson __fromPtr__(long addr) { return new CalibrateRobertson(addr); }
022
023    //
024    // C++:  int cv::CalibrateRobertson::getMaxIter()
025    //
026
027    public int getMaxIter() {
028        return getMaxIter_0(nativeObj);
029    }
030
031
032    //
033    // C++:  void cv::CalibrateRobertson::setMaxIter(int max_iter)
034    //
035
036    public void setMaxIter(int max_iter) {
037        setMaxIter_0(nativeObj, max_iter);
038    }
039
040
041    //
042    // C++:  float cv::CalibrateRobertson::getThreshold()
043    //
044
045    public float getThreshold() {
046        return getThreshold_0(nativeObj);
047    }
048
049
050    //
051    // C++:  void cv::CalibrateRobertson::setThreshold(float threshold)
052    //
053
054    public void setThreshold(float threshold) {
055        setThreshold_0(nativeObj, threshold);
056    }
057
058
059    //
060    // C++:  Mat cv::CalibrateRobertson::getRadiance()
061    //
062
063    public Mat getRadiance() {
064        return new Mat(getRadiance_0(nativeObj));
065    }
066
067
068    @Override
069    protected void finalize() throws Throwable {
070        delete(nativeObj);
071    }
072
073
074
075    // C++:  int cv::CalibrateRobertson::getMaxIter()
076    private static native int getMaxIter_0(long nativeObj);
077
078    // C++:  void cv::CalibrateRobertson::setMaxIter(int max_iter)
079    private static native void setMaxIter_0(long nativeObj, int max_iter);
080
081    // C++:  float cv::CalibrateRobertson::getThreshold()
082    private static native float getThreshold_0(long nativeObj);
083
084    // C++:  void cv::CalibrateRobertson::setThreshold(float threshold)
085    private static native void setThreshold_0(long nativeObj, float threshold);
086
087    // C++:  Mat cv::CalibrateRobertson::getRadiance()
088    private static native long getRadiance_0(long nativeObj);
089
090    // native support for java finalize()
091    private static native void delete(long nativeObj);
092
093}