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;
89 #ifndef OTB_MANUAL_INSTANTIATION
Applies cloud detection functor to an image.
OutputImageType::Pointer OutputImagePointer
OutputImageType::RegionType OutputImageRegionType
TOutputImage OutputImageType
~CloudDetectionFilter() override
InputImageType::PixelType InputPixelType
CloudDetectionFilter(const Self &)=delete
void operator=(const Self &)=delete
OutputImageType::PixelType OutputPixelType
itk::SmartPointer< Self > Pointer
InputImageType::Pointer InputImagePointer
itk::SmartPointer< const Self > ConstPointer
CloudDetectionFilter Self
TInputImage InputImageType
itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, TFunction > Superclass
The "otb" namespace contains all Orfeo Toolbox (OTB) classes.