21 #ifndef otbCloudDetectionFilter_h
22 #define otbCloudDetectionFilter_h
25 #include "itkUnaryFunctorImageFilter.h"
34 template <
class TInputImage,
class TOutputImage,
35 class TFunction = Functor::CloudDetectionFunctor<typename TInputImage::PixelType, typename TOutputImage::PixelType>>
36 class ITK_EXPORT
CloudDetectionFilter :
public itk::UnaryFunctorImageFilter<TInputImage, TOutputImage, TFunction>
41 typedef typename itk::UnaryFunctorImageFilter<TInputImage, TOutputImage, TFunction>
Superclass;
62 void SetVariance(
double var);
63 void SetMinThreshold(
double threshold);
64 void SetMaxThreshold(
double threshold);
66 double GetMinThreshold();
67 double GetMaxThreshold();
78 void BeforeThreadedGenerateData()
override;
80 void PrintSelf(std::ostream& os, itk::Indent indent)
const override;
84 void operator=(
const Self&) =
delete;
89 #ifndef OTB_MANUAL_INSTANTIATION