class cv::GeneralizedHoughGuil

Overview

Guil, N., González-Linares, J.M. More…

#include <imgproc.hpp>

class GeneralizedHoughGuil: public cv::GeneralizedHough
{
public:
    // methods

    virtual
    double
    getAngleEpsilon() const = 0;

    virtual
    double
    getAngleStep() const = 0;

    virtual
    int
    getAngleThresh() const = 0;

    virtual
    int
    getLevels() const = 0;

    virtual
    double
    getMaxAngle() const = 0;

    virtual
    double
    getMaxScale() const = 0;

    virtual
    double
    getMinAngle() const = 0;

    virtual
    double
    getMinScale() const = 0;

    virtual
    int
    getPosThresh() const = 0;

    virtual
    double
    getScaleStep() const = 0;

    virtual
    int
    getScaleThresh() const = 0;

    virtual
    double
    getXi() const = 0;

    virtual
    void
    setAngleEpsilon(double angleEpsilon) = 0;

    virtual
    void
    setAngleStep(double angleStep) = 0;

    virtual
    void
    setAngleThresh(int angleThresh) = 0;

    virtual
    void
    setLevels(int levels) = 0;

    virtual
    void
    setMaxAngle(double maxAngle) = 0;

    virtual
    void
    setMaxScale(double maxScale) = 0;

    virtual
    void
    setMinAngle(double minAngle) = 0;

    virtual
    void
    setMinScale(double minScale) = 0;

    virtual
    void
    setPosThresh(int posThresh) = 0;

    virtual
    void
    setScaleStep(double scaleStep) = 0;

    virtual
    void
    setScaleThresh(int scaleThresh) = 0;

    virtual
    void
    setXi(double xi) = 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
    detect(
        InputArray image,
        OutputArray positions,
        OutputArray votes = noArray()
        ) = 0;

    virtual
    void
    detect(
        InputArray edges,
        InputArray dx,
        InputArray dy,
        OutputArray positions,
        OutputArray votes = noArray()
        ) = 0;

    virtual
    int
    getCannyHighThresh() const = 0;

    virtual
    int
    getCannyLowThresh() const = 0;

    virtual
    double
    getDp() const = 0;

    virtual
    int
    getMaxBufferSize() const = 0;

    virtual
    double
    getMinDist() const = 0;

    virtual
    void
    setCannyHighThresh(int cannyHighThresh) = 0;

    virtual
    void
    setCannyLowThresh(int cannyLowThresh) = 0;

    virtual
    void
    setDp(double dp) = 0;

    virtual
    void
    setMaxBufferSize(int maxBufferSize) = 0;

    virtual
    void
    setMinDist(double minDist) = 0;

    virtual
    void
    setTemplate(
        InputArray templ,
        Point templCenter = Point(-1, -1)
        ) = 0;

    virtual
    void
    setTemplate(
        InputArray edges,
        InputArray dx,
        InputArray dy,
        Point templCenter = Point(-1, -1)
        ) = 0;

protected:
    // methods

    void
    writeFormat(FileStorage& fs) const;

Detailed Documentation

Guil, N., González-Linares, J.M. and Zapata, E.L. (1999). Bidimensional shape detection using an invariant approach. Pattern Recognition 32 (6): 1025-1038. Detects position, translation and rotation

Methods

virtual
void
setAngleEpsilon(double angleEpsilon) = 0

Maximal difference between angles that treated as equal.

virtual
void
setAngleStep(double angleStep) = 0

Angle step in degrees.

virtual
void
setAngleThresh(int angleThresh) = 0

Angle votes threshold.

virtual
void
setLevels(int levels) = 0

Feature table levels.

virtual
void
setMaxAngle(double maxAngle) = 0

Maximal rotation angle to detect in degrees.

virtual
void
setMaxScale(double maxScale) = 0

Maximal scale to detect.

virtual
void
setMinAngle(double minAngle) = 0

Minimal rotation angle to detect in degrees.

virtual
void
setMinScale(double minScale) = 0

Minimal scale to detect.

virtual
void
setPosThresh(int posThresh) = 0

Position votes threshold.

virtual
void
setScaleStep(double scaleStep) = 0

Scale step.

virtual
void
setScaleThresh(int scaleThresh) = 0

Scale votes threshold.

virtual
void
setXi(double xi) = 0

Angle difference in degrees between two points in feature.