21 #ifndef otbEdgeDetectorImageFilter_h
22 #define otbEdgeDetectorImageFilter_h
24 #include "itkUnaryFunctorImageFilter.h"
25 #include "itkImageToImageFilter.h"
26 #include "itkBinaryThresholdImageFilter.h"
40 template <
class TInputImage,
class TOutputImage,
class TEdgeDetection>
47 typedef itk::ImageToImageFilter<TInputImage, TOutputImage>
Superclass;
72 typedef itk::BinaryThresholdImageFilter<InputImageType, InputImageType>
BinaryFilterType;
89 m_BinaryFilter->SetLowerThreshold(val);
96 m_BinaryFilter->SetUpperThreshold(val);
103 m_BinaryFilter->SetInsideValue(val);
110 m_BinaryFilter->SetOutsideValue(val);
118 void PrintSelf(std::ostream& os, itk::Indent indent)
const override;
119 void GenerateData()
override;
123 void operator=(
const Self&) =
delete;
129 #ifndef OTB_MANUAL_INSTANTIATION