18 #ifndef __otbSarBrightnessFunction_h
19 #define __otbSarBrightnessFunction_h
21 #include "itkNumericTraits.h"
45 template <
class TInputImage,
class TCoordRep =
float>
47 public itk::ImageFunction<TInputImage, typename itk::NumericTraits<typename TInputImage::PixelType>::AbsType,
72 itkStaticConstMacro(ImageDimension,
unsigned int, InputImageType::ImageDimension);
91 this->ConvertPointToNearestIndex(point, index);
92 return this->EvaluateAtIndex(index);
98 this->ConvertContinuousIndexToNearestIndex(cindex, index);
99 return this->EvaluateAtIndex(index);
106 virtual void SetInputImage(
const InputImageType * ptr );
110 itkSetMacro(Scale, FunctorRealType);
111 itkGetMacro(Scale, FunctorRealType);
114 itkSetObjectMacro(Noise, ParametricFunctionType);
115 itkGetConstObjectMacro(Noise, ParametricFunctionType);
116 itkGetObjectMacro(Noise, ParametricFunctionType);
119 itkSetMacro(EnableNoise,
bool);
120 itkGetMacro(EnableNoise,
bool);
123 itkSetObjectMacro(AntennaPatternNewGain, ParametricFunctionType);
124 itkGetConstObjectMacro(AntennaPatternNewGain, ParametricFunctionType);
125 itkGetObjectMacro(AntennaPatternNewGain, ParametricFunctionType);
128 itkSetObjectMacro(AntennaPatternOldGain, ParametricFunctionType);
129 itkGetObjectMacro(AntennaPatternOldGain, ParametricFunctionType);
130 itkGetConstObjectMacro(AntennaPatternOldGain, ParametricFunctionType);
133 itkSetObjectMacro(RangeSpreadLoss, ParametricFunctionType);
134 itkGetConstObjectMacro(RangeSpreadLoss, ParametricFunctionType);
135 itkGetObjectMacro(RangeSpreadLoss, ParametricFunctionType);
141 void PrintSelf(std::ostream& os,
itk::Indent indent)
const;
145 void operator =(
const Self&);
157 #ifndef OTB_MANUAL_INSTANTIATION