class cv::cuda::LookUpTable

Overview

Base class for transform using lookup table. Moreā€¦

#include <cudaarithm.hpp>

class LookUpTable: public cv::Algorithm
{
public:
    // methods

    virtual
    void
    transform(
        InputArray src,
        OutputArray dst,
        Stream& stream = Stream::Null()
        ) = 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);

protected:
    // methods

    void
    writeFormat(FileStorage& fs) const;

Detailed Documentation

Base class for transform using lookup table.

Methods

virtual
void
transform(
    InputArray src,
    OutputArray dst,
    Stream& stream = Stream::Null()
    ) = 0

Transforms the source matrix into the destination matrix using the given look-up table: dst(I) = lut(src(I)) .

Parameters:

src Source matrix. CV_8UC1 and CV_8UC3 matrices are supported for now.
dst Destination matrix.
stream Stream for the asynchronous version.