21 #ifndef otbCloudEstimatorFilter_hxx
22 #define otbCloudEstimatorFilter_hxx
32 template <
class TInputImage,
class TOutputImage,
class TFunction>
40 template <
class TInputImage,
class TOutputImage,
class TFunction>
43 this->Superclass::PrintSelf(os, indent);
49 template <
class TInputImage,
class TOutputImage,
class TFunction>
52 unsigned int ReferencePixelNumberOfBands = 0;
53 ReferencePixelNumberOfBands = this->GetReferencePixel().GetSize();
56 if (ReferencePixelNumberOfBands != this->GetInput()->GetNumberOfComponentsPerPixel())
58 itkExceptionMacro(
"The number of bands of the reference pixel is different from the number of bands of the input image. ");
65 template <
class TInputImage,
class TOutputImage,
class TFunction>
68 this->GetFunctor().SetVariance(
var);
76 template <
class TInputImage,
class TOutputImage,
class TFunction>
79 return this->GetFunctor().GetVariance();
85 template <
class TInputImage,
class TOutputImage,
class TFunction>
88 this->GetFunctor().SetReferencePixel(ref);
96 template <
class TInputImage,
class TOutputImage,
class TFunction>
100 return this->GetFunctor().GetReferencePixel();