class cv::cuda::DisparityBilateralFilter

Overview

Class refining a disparity map using joint bilateral filtering. : Moreā€¦

#include <cudastereo.hpp>

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

    virtual
    void
    apply(
        InputArray disparity,
        InputArray image,
        OutputArray dst,
        Stream& stream = Stream::Null()
        ) = 0;

    virtual
    double
    getEdgeThreshold() const = 0;

    virtual
    double
    getMaxDiscThreshold() const = 0;

    virtual
    int
    getNumDisparities() const = 0;

    virtual
    int
    getNumIters() const = 0;

    virtual
    int
    getRadius() const = 0;

    virtual
    double
    getSigmaRange() const = 0;

    virtual
    void
    setEdgeThreshold(double edge_threshold) = 0;

    virtual
    void
    setMaxDiscThreshold(double max_disc_threshold) = 0;

    virtual
    void
    setNumDisparities(int numDisparities) = 0;

    virtual
    void
    setNumIters(int iters) = 0;

    virtual
    void
    setRadius(int radius) = 0;

    virtual
    void
    setSigmaRange(double sigma_range) = 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

Class refining a disparity map using joint bilateral filtering. :

The class implements [93] algorithm.

Methods

virtual
void
apply(
    InputArray disparity,
    InputArray image,
    OutputArray dst,
    Stream& stream = Stream::Null()
    ) = 0

Refines a disparity map using joint bilateral filtering.

Parameters:

disparity Input disparity map. CV_8UC1 and CV_16SC1 types are supported.
image Input image. CV_8UC1 and CV_8UC3 types are supported.
dst Destination disparity map. It has the same size and type as disparity .
stream Stream for the asynchronous version.
virtual
double
getEdgeThreshold() const = 0

truncation of data continuity

virtual
double
getMaxDiscThreshold() const = 0

truncation of disparity continuity

virtual
double
getSigmaRange() const = 0

filter range sigma