001//
002// This file is auto-generated. Please don't modify it!
003//
004package org.opencv.photo;
005
006import org.opencv.photo.Tonemap;
007
008// C++: class TonemapReinhard
009/**
010 * This is a global tonemapping operator that models human visual system.
011 *
012 * Mapping function is controlled by adaptation parameter, that is computed using light adaptation and
013 * color adaptation.
014 *
015 * For more information see CITE: RD05 .
016 */
017public class TonemapReinhard extends Tonemap {
018
019    protected TonemapReinhard(long addr) { super(addr); }
020
021    // internal usage only
022    public static TonemapReinhard __fromPtr__(long addr) { return new TonemapReinhard(addr); }
023
024    //
025    // C++:  float cv::TonemapReinhard::getIntensity()
026    //
027
028    public float getIntensity() {
029        return getIntensity_0(nativeObj);
030    }
031
032
033    //
034    // C++:  void cv::TonemapReinhard::setIntensity(float intensity)
035    //
036
037    public void setIntensity(float intensity) {
038        setIntensity_0(nativeObj, intensity);
039    }
040
041
042    //
043    // C++:  float cv::TonemapReinhard::getLightAdaptation()
044    //
045
046    public float getLightAdaptation() {
047        return getLightAdaptation_0(nativeObj);
048    }
049
050
051    //
052    // C++:  void cv::TonemapReinhard::setLightAdaptation(float light_adapt)
053    //
054
055    public void setLightAdaptation(float light_adapt) {
056        setLightAdaptation_0(nativeObj, light_adapt);
057    }
058
059
060    //
061    // C++:  float cv::TonemapReinhard::getColorAdaptation()
062    //
063
064    public float getColorAdaptation() {
065        return getColorAdaptation_0(nativeObj);
066    }
067
068
069    //
070    // C++:  void cv::TonemapReinhard::setColorAdaptation(float color_adapt)
071    //
072
073    public void setColorAdaptation(float color_adapt) {
074        setColorAdaptation_0(nativeObj, color_adapt);
075    }
076
077
078    @Override
079    protected void finalize() throws Throwable {
080        delete(nativeObj);
081    }
082
083
084
085    // C++:  float cv::TonemapReinhard::getIntensity()
086    private static native float getIntensity_0(long nativeObj);
087
088    // C++:  void cv::TonemapReinhard::setIntensity(float intensity)
089    private static native void setIntensity_0(long nativeObj, float intensity);
090
091    // C++:  float cv::TonemapReinhard::getLightAdaptation()
092    private static native float getLightAdaptation_0(long nativeObj);
093
094    // C++:  void cv::TonemapReinhard::setLightAdaptation(float light_adapt)
095    private static native void setLightAdaptation_0(long nativeObj, float light_adapt);
096
097    // C++:  float cv::TonemapReinhard::getColorAdaptation()
098    private static native float getColorAdaptation_0(long nativeObj);
099
100    // C++:  void cv::TonemapReinhard::setColorAdaptation(float color_adapt)
101    private static native void setColorAdaptation_0(long nativeObj, float color_adapt);
102
103    // native support for java finalize()
104    private static native void delete(long nativeObj);
105
106}