22 #ifndef otbFunctionToImageFilter_h
23 #define otbFunctionToImageFilter_h
25 #include "itkInPlaceImageFilter.h"
26 #include "itkImageFunction.h"
27 #include "itkImageRegionIterator.h"
29 #include "itkSpatialFunction.h"
54 template <
class TInputImage,
class TOutputImage,
class TFunction>
60 typedef itk::InPlaceImageFilter<TInputImage, TOutputImage>
Superclass;
91 m_PixelFunction = PixelFunction;
96 return m_PixelFunction;
100 return m_PixelFunction;
106 itkStaticConstMacro(InputImageDimension,
unsigned int, TInputImage::ImageDimension);
107 itkStaticConstMacro(OutputImageDimension,
unsigned int, TOutputImage::ImageDimension);
118 void BeforeThreadedGenerateData()
override;
130 void DynamicThreadedGenerateData(
const OutputImageRegionType& outputRegionForThread)
override;
142 #ifndef OTB_MANUAL_INSTANTIATION
Evaluates a ImageFunction onto a source image.
~FunctionToImageFilter() override
OutputImageType::RegionType OutputImageRegionType
FunctionType::Pointer FunctionPointer
itk::SmartPointer< Self > Pointer
TInputImage InputImageType
void SetFunction(FunctionType *PixelFunction)
FunctionType * GetFunction()
FunctionPointer m_PixelFunction
itk::InPlaceImageFilter< TInputImage, TOutputImage > Superclass
InputImageType::RegionType InputImageRegionType
FunctionType::InputType FunctionPositionType
void operator=(const Self &)=delete
InputImageType::PixelType InputImagePixelType
FunctionToImageFilter(const Self &)=delete
FunctionType const * GetFunction() const
InputImageType::ConstPointer InputImagePointer
OutputImageType::PixelType OutputImagePixelType
itk::SmartPointer< const Self > ConstPointer
TOutputImage OutputImageType
FunctionType::OutputType FunctionValueType
FunctionToImageFilter Self
OutputImageType::Pointer OutputImagePointer
The "otb" namespace contains all Orfeo Toolbox (OTB) classes.