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;
122 itkSetMacro(EnableNoise,
bool);
123 itkGetMacro(EnableNoise,
bool);
150 void PrintSelf(std::ostream& os, itk::Indent indent)
const override;
166 #ifndef OTB_MANUAL_INSTANTIATION
Compute the brightness value. .
itk::NumericTraits< InputType >::AbsType RealType
Calculate the backscatter for the given pixel.
itk::ImageFunction< TInputImage, typename itk::NumericTraits< typename TInputImage::PixelType >::AbsType, TCoordRep > Superclass
itkGetObjectMacro(Noise, ParametricFunctionType)
ParametricFunctionType::Pointer ParametricFunctionPointer
FunctorType::RealType FunctorRealType
Superclass::OutputType OutputType
Superclass::IndexType IndexType
ParametricFunctionPointer m_RangeSpreadLoss
~SarBrightnessFunction() override
OutputType Evaluate(const PointType &point) const override
ParametricFunctionPointer m_AntennaPatternOldGain
itkGetObjectMacro(AntennaPatternOldGain, ParametricFunctionType)
itk::SmartPointer< Self > Pointer
TInputImage InputImageType
itkGetObjectMacro(AntennaPatternNewGain, ParametricFunctionType)
Superclass::ContinuousIndexType ContinuousIndexType
itk::SmartPointer< const Self > ConstPointer
OutputType EvaluateAtContinuousIndex(const ContinuousIndexType &cindex) const override
SarBrightnessFunction(const Self &)=delete
void operator=(const Self &)=delete
ParametricFunctionPointer m_AntennaPatternNewGain
otb::SarParametricMapFunction< InputImageType > ParametricFunctionType
SarBrightnessFunction Self
itkGetObjectMacro(RangeSpreadLoss, ParametricFunctionType)
Superclass::PointType PointType
InputImageType::PixelType InputPixelType
ParametricFunctionPointer m_Noise
ParametricFunctionType::ConstPointer ParametricFunctionConstPointer
otb::Functor::SarBrightnessFunctor< RealType, RealType > FunctorType
Evaluates a parametric bidimensionnal polynomial model from a PointSet.
itk::SmartPointer< const Self > ConstPointer
itk::SmartPointer< Self > Pointer
The "otb" namespace contains all Orfeo Toolbox (OTB) classes.