21 #ifndef otbSarBrightnessFunction_h
22 #define otbSarBrightnessFunction_h
48 template <
class TInputImage,
class TCoordRep =
float>
50 :
public itk::ImageFunction<TInputImage, typename itk::NumericTraits<typename TInputImage::PixelType>::AbsType, TCoordRep>
55 typedef itk::ImageFunction<TInputImage, typename itk::NumericTraits<typename TInputImage::PixelType>::AbsType, TCoordRep>
Superclass;
73 itkStaticConstMacro(ImageDimension,
unsigned int, InputImageType::ImageDimension);
92 this->ConvertPointToNearestIndex(point, index);
93 return this->EvaluateAtIndex(index);
98 this->ConvertContinuousIndexToNearestIndex(cindex, index);
99 return this->EvaluateAtIndex(index);
107 void SetInputImage(
const InputImageType* ptr)
override;
111 itkSetMacro(Scale, FunctorRealType);
112 itkGetMacro(Scale, FunctorRealType);
116 itkSetObjectMacro(Noise, ParametricFunctionType);
117 itkGetConstObjectMacro(Noise, ParametricFunctionType);
118 itkGetObjectMacro(Noise, ParametricFunctionType);
122 itkSetMacro(EnableNoise,
bool);
123 itkGetMacro(EnableNoise,
bool);
127 itkSetObjectMacro(AntennaPatternNewGain, ParametricFunctionType);
128 itkGetConstObjectMacro(AntennaPatternNewGain, ParametricFunctionType);
129 itkGetObjectMacro(AntennaPatternNewGain, ParametricFunctionType);
133 itkSetObjectMacro(AntennaPatternOldGain, ParametricFunctionType);
134 itkGetObjectMacro(AntennaPatternOldGain, ParametricFunctionType);
135 itkGetConstObjectMacro(AntennaPatternOldGain, ParametricFunctionType);
139 itkSetObjectMacro(RangeSpreadLoss, ParametricFunctionType);
140 itkGetConstObjectMacro(RangeSpreadLoss, ParametricFunctionType);
141 itkGetObjectMacro(RangeSpreadLoss, ParametricFunctionType);
150 void PrintSelf(std::ostream& os, itk::Indent indent)
const override;
154 void operator=(
const Self&) =
delete;
166 #ifndef OTB_MANUAL_INSTANTIATION