29 "If it is non-positive, it is computed from sigmaSpace",
34 "means that farther colors within the pixel neighborhood (see sigmaSpace) will be mixed "
35 "together, resulting in larger areas of semi-equal color. ",
40 "means that farther pixels will influence each other as long as their colors are close "
41 "enough (see sigmaColor). When d>0, it specifies the neighborhood size regardless of "
42 "sigmaSpace. Otherwise, d is proportional to sigmaSpace.",
49 public jevois::Parameter<bilateralfilter::d, bilateralfilter::sigmaColor,
50 bilateralfilter::sigmaSpace>
60 virtual std::string
process(cv::Mat
const & src, cv::Mat & dst)
override;
JEVOIS_DECLARE_PARAMETER(sigmaSpace, double, "Filter sigma in the coordinate space. A larger value of the parameter " "means that farther pixels will influence each other as long as their colors are close " "enough (see sigmaColor). When d>0, it specifies the neighborhood size regardless of " "sigmaSpace. Otherwise, d is proportional to sigmaSpace.", 2.0, ParamCateg)
Parameter.
JEVOIS_DECLARE_PARAMETER(sigmaColor, double, "Filter sigma in the color space. A larger value of the parameter " "means that farther colors within the pixel neighborhood (see sigmaSpace) will be mixed " "together, resulting in larger areas of semi-equal color. ", 2.0, ParamCateg)
Parameter.
virtual ~BilateralFilter()
Virtual destructor for safe inheritance.
virtual std::string process(cv::Mat const &src, cv::Mat &dst) override
Processing function: filters the image src and puts the results into dst.
JEVOIS_DECLARE_PARAMETER(d, int, "Diameter of each pixel neighborhood that is used during filtering. " "If it is non-positive, it is computed from sigmaSpace", 0, ParamCateg)
Parameter.
Base class for an image filter.