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;
129 #ifndef OTB_MANUAL_INSTANTIATION
This composite filter binaries a edge detection image output. The used edge detection filter is given...
OutputImageType::Pointer OutputImagePointerType
OutputImageType::PixelType OutputImagePixelType
void SetUpperThreshold(InputImagePixelType val)
InputImageType::SizeType InputImageSizeType
~EdgeDetectorImageFilter() override
TInputImage InputImageType
itkGetObjectMacro(Detector, DetectionType)
TEdgeDetection DetectionType
DetectionType::Pointer DetectionPointerType
void operator=(const Self &)=delete
itk::BinaryThresholdImageFilter< InputImageType, InputImageType > BinaryFilterType
itk::SmartPointer< const Self > ConstPointer
InputImageType::Pointer InputImagePointerType
void GenerateData() override
EdgeDetectorImageFilter Self
EdgeDetectorImageFilter(const Self &)=delete
void SetOutsideValue(InputImagePixelType val)
BinaryFilterType::Pointer BinaryFilterPointerType
EdgeDetectorImageFilter()
itk::ImageToImageFilter< TInputImage, TOutputImage > Superclass
BinaryFilterPointerType m_BinaryFilter
void PrintSelf(std::ostream &os, itk::Indent indent) const override
itk::SmartPointer< Self > Pointer
OutputImageType::RegionType OutputImageRegionType
DetectionPointerType m_Detector
itkGetObjectMacro(BinaryFilter, BinaryFilterType)
void SetInsideValue(InputImagePixelType val)
InputImageType::PixelType InputImagePixelType
TOutputImage OutputImageType
void SetLowerThreshold(InputImagePixelType val)
The "otb" namespace contains all Orfeo Toolbox (OTB) classes.