5#include "transformation.hpp"
6#include "slideio/base/slideio_enums.hpp"
11 class SLIDEIO_TRANSFORMER_EXPORTS LaplacianFilter :
public Transformation
16 m_type = TransformationType::LaplacianFilter;
19 DataType getDepth()
const
24 void setDepth(
const DataType& depth)
29 int getKernelSize()
const
34 void setKernelSize(
int kernelSize)
36 m_kernelSize = kernelSize;
39 double getScale()
const
44 void setScale(
double scale)
49 double getDelta()
const
54 void setDelta(
double delta)
59 void applyTransformation(
const cv::Mat& block, cv::OutputArray transformedBlock)
const override;
60 int getInflationValue()
const override;
61 std::vector<DataType> computeChannelDataTypes(
const std::vector<DataType>& channels)
const override;
64 DataType m_depth = DataType::DT_Float32;
Definition: exceptions.hpp:12