class cv::TonemapReinhard

Overview

This is a global tonemapping operator that models human visual system. Moreā€¦

#include <photo.hpp>

class TonemapReinhard: public cv::Tonemap
{
public:
    // methods

    virtual
    float
    getColorAdaptation() const = 0;

    virtual
    float
    getIntensity() const = 0;

    virtual
    float
    getLightAdaptation() const = 0;

    virtual
    void
    setColorAdaptation(float color_adapt) = 0;

    virtual
    void
    setIntensity(float intensity) = 0;

    virtual
    void
    setLightAdaptation(float light_adapt) = 0;
};

Inherited Members

public:
    // methods

    virtual
    void
    clear();

    virtual
    bool
    empty() const;

    virtual
    String
    getDefaultName() const;

    virtual
    void
    read(const FileNode& fn);

    virtual
    void
    save(const String& filename) const;

    virtual
    void
    write(FileStorage& fs) const;

    template <typename _Tp>
    static
    Ptr<_Tp>
    load(
        const String& filename,
        const String& objname = String()
        );

    template <typename _Tp>
    static
    Ptr<_Tp>
    loadFromString(
        const String& strModel,
        const String& objname = String()
        );

    template <typename _Tp>
    static
    Ptr<_Tp>
    read(const FileNode& fn);

    virtual
    float
    getGamma() const = 0;

    virtual
    void
    process(
        InputArray src,
        OutputArray dst
        ) = 0;

    virtual
    void
    setGamma(float gamma) = 0;

protected:
    // methods

    void
    writeFormat(FileStorage& fs) const;

Detailed Documentation

This is a global tonemapping operator that models human visual system.

Mapping function is controlled by adaptation parameter, that is computed using light adaptation and color adaptation.

For more information see [68].