class cv::cuda::CornersDetector

Overview

Base class for Corners Detector. : Moreā€¦

#include <cudaimgproc.hpp>

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

    virtual
    void
    detect(
        InputArray image,
        OutputArray corners,
        InputArray mask = noArray(),
        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 Corners Detector. :

Methods

virtual
void
detect(
    InputArray image,
    OutputArray corners,
    InputArray mask = noArray(),
    Stream& stream = Stream::Null()
    ) = 0

Determines strong corners on an image.

Parameters:

image Input 8-bit or floating-point 32-bit, single-channel image.
corners Output vector of detected corners (1-row matrix with CV_32FC2 type with corners positions).
mask Optional region of interest. If the image is not empty (it needs to have the type CV_8UC1 and the same size as image ), it specifies the region in which the corners are detected.
stream Stream for the asynchronous version.