22 #ifndef otbTerraSarBrightnessImageFilter_h
23 #define otbTerraSarBrightnessImageFilter_h
25 #include "itkUnaryFunctorImageFilter.h"
26 #include "itkMetaDataDictionary.h"
66 template <
class TInputImage,
class TOutputImage>
68 :
public itk::UnaryFunctorImageFilter<TInputImage, TOutputImage, typename Functor::TerraSarBrightnessFunctor<
69 typename itk::NumericTraits<typename TInputImage::InternalPixelType>::ValueType,
70 typename itk::NumericTraits<typename TOutputImage::InternalPixelType>::ValueType>>
74 itkStaticConstMacro(InputImageDimension,
unsigned int, TInputImage::ImageDimension);
75 itkStaticConstMacro(OutputImageDimension,
unsigned int, TOutputImage::ImageDimension);
83 typedef typename itk::NumericTraits<InputInternalPixelType>::ValueType
InputValueType;
84 typedef typename itk::NumericTraits<OutputInternalPixelType>::ValueType
OutputValueType;
90 typedef itk::UnaryFunctorImageFilter<InputImageType, OutputImageType, FunctorType>
Superclass;
103 this->GetFunctor().SetCalibrationFactor(pCalibrationFactor);
111 return this->GetFunctor().GetCalibrationFactor();
117 this->GetFunctor().SetResultsInDecibels(db);
125 return this->GetFunctor().GetResultsInDecibels();
131 this->GetFunctor().SetResultsInDecibels(value);
138 return this->GetFunctor().SetResultsInDecibels();
151 void BeforeThreadedGenerateData()
override;
155 void operator=(
const Self&) =
delete;
160 #ifndef OTB_MANUAL_INSTANTIATION