5#include "transformation.hpp"
10 class SLIDEIO_TRANSFORMER_EXPORTS BilateralFilter :
public Transformation
15 m_type = TransformationType::BilateralFilter;
18 int getDiameter()
const
23 void setDiameter(
int diameter)
25 m_diameter = diameter;
28 double getSigmaColor()
const
33 void setSigmaColor(
double sigmaColor)
35 m_sigmaColor = sigmaColor;
38 double getSigmaSpace()
const
43 void setSigmaSpace(
double sigmaSpace)
45 m_sigmaSpace = sigmaSpace;
48 void applyTransformation(
const cv::Mat& block, cv::OutputArray transformedBlock)
const override;
49 std::vector<DataType> computeChannelDataTypes(
const std::vector<DataType>& channels)
const override;
50 int getInflationValue()
const override;
54 double m_sigmaColor = 1.;
55 double m_sigmaSpace = 1.;
Definition: exceptions.hpp:12