5#include "transformation.hpp"
6#include "slideio/base/slideio_enums.hpp"
11 class SLIDEIO_TRANSFORMER_EXPORTS SobelFilter :
public Transformation
16 m_type = TransformationType::SobelFilter;
19 DataType getDepth()
const
24 void setDepth(
const DataType& depth)
49 int getKernelSize()
const
54 void setKernelSize(
int ksize)
59 double getScale()
const
64 void setScale(
double scale)
69 double getDelta()
const
74 void setDelta(
double delta)
79 void applyTransformation(
const cv::Mat& block, cv::OutputArray transformedBlock)
const override;
80 int getInflationValue()
const override;
81 std::vector<DataType> computeChannelDataTypes(
const std::vector<DataType>& channels)
const override;
84 DataType m_depth = DataType::DT_Float32;
Definition: exceptions.hpp:12