class cv::MergeRobertson

Overview

The resulting HDR image is calculated as weighted average of the exposures considering exposure values and camera response. Moreā€¦

#include <photo.hpp>

class MergeRobertson: public cv::MergeExposures
{
public:
    // methods

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

    virtual
    void
    process(
        InputArrayOfArrays src,
        OutputArray dst,
        InputArray times
        ) = 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
    void
    process(
        InputArrayOfArrays src,
        OutputArray dst,
        InputArray times,
        InputArray response
        ) = 0;

protected:
    // methods

    void
    writeFormat(FileStorage& fs) const;

Detailed Documentation

The resulting HDR image is calculated as weighted average of the exposures considering exposure values and camera response.

For more information see [70].

Methods

virtual
void
process(
    InputArrayOfArrays src,
    OutputArray dst,
    InputArray times,
    InputArray response
    ) = 0

Merges images.

Parameters:

src vector of input images
dst result image
times vector of exposure time values for each image
response 256x1 matrix with inverse camera response function for each pixel value, it should have the same number of channels as images.