21 #ifndef otbAdhesionCorrectionFilter_h
22 #define otbAdhesionCorrectionFilter_h
24 #include "itkImageToImageFilter.h"
26 #include "itkConstNeighborhoodIterator.h"
27 #include "itkImageRegionConstIterator.h"
28 #include "itkImageLinearConstIteratorWithIndex.h"
69 template <
class TImage,
class TMask>
75 typedef itk::ImageToImageFilter<TImage, TImage>
Superclass;
105 void SetMedianDisparityInput(
const TImage* medianmap);
106 void SetMedianMaskInput(
const TMask* medianmask);
107 void SetEdgesDisparityInput(
const TImage* cannymedianmap);
108 void SetSubPixelMaskInput(
const TMask* subpixelmask);
112 const TImage* GetMedianDisparityInput();
113 const TMask* GetMedianMaskInput();
114 const TImage* GetEdgesDisparityInput();
115 const TMask* GetSubPixelMaskInput();
119 TMask* GetOutputMask();
122 TImage* GetOutputRiskEdges();
132 m_Radius.Fill(radius);
136 itkSetMacro(Tolerance,
double);
137 itkGetMacro(Tolerance,
double);
141 itkSetMacro(DiscontinuityThreshold,
double);
142 itkGetMacro(DiscontinuityThreshold,
double);
146 itkSetMacro(DiscontinuityHighThreshold,
double);
147 itkGetMacro(DiscontinuityHighThreshold,
double);
151 itkSetMacro(MaxEdgeGap,
double);
152 itkGetMacro(MaxEdgeGap,
double);
156 itkSetMacro(EdgeThreshold,
double);
157 itkGetMacro(EdgeThreshold,
double);
168 void GenerateData()
override;
171 void GenerateInputRequestedRegion(
void)
override;
174 void GenerateOutputInformation(
void)
override;
178 void operator=(
const Self&) =
delete;
196 #ifndef OTB_MANUAL_INSTANTIATION