18 #ifndef itkCentralDifferenceImageFunction_h 19 #define itkCentralDifferenceImageFunction_h 75 typename TCoordRep = float,
76 typename TOutputType = CovariantVector<double, TInputImage::ImageDimension >
87 TInputImage::ImageDimension);
141 virtual void SetInputImage(
const TInputImage *inputData) ITK_OVERRIDE;
148 itkGetModifiableObjectMacro(Interpolator, InterpolatorType );
160 virtual OutputType
EvaluateAtIndex(
const IndexType & index)
const ITK_OVERRIDE;
175 virtual OutputType
Evaluate(
const PointType & point)
const ITK_OVERRIDE;
204 itkSetMacro(UseImageDirection,
bool);
205 itkGetConstMacro(UseImageDirection,
bool);
206 itkBooleanMacro(UseImageDirection);
216 void operator=(
const Self &) ITK_DELETE_FUNCTION;
227 template<
typename Type >
229 template<
typename Type >
234 template<
typename Type >
236 template<
typename Type >
242 template<
typename Type >
244 template<
typename Type >
257 #ifndef ITK_MANUAL_INSTANTIATION 258 #include "itkCentralDifferenceImageFunction.hxx" TInputImage InputImageType
Point< TCoordRep, itkGetStaticConstMacro(ImageDimension) > PointType
CovariantVector< OutputValueType, itkGetStaticConstMacro(ImageDimension) > ScalarDerivativeType
InterpolateImageFunction< TInputImage, TCoordRep > InterpolatorType
static const unsigned int ImageDimension
~CentralDifferenceImageFunction()
SmartPointer< const Self > ConstPointer
void EvaluateAtIndexSpecialized(const IndexType &index, OutputType &derivative, OutputTypeSpecializationStructType< OutputType >) const
Superclass::ContinuousIndexType ContinuousIndexType
virtual OutputType EvaluateAtContinuousIndex(const ContinuousIndexType &cindex) const override
OutputConvertType::ComponentType OutputValueType
InterpolatorType::Pointer InterpolatorPointer
Traits class used to by ConvertPixels to convert blocks of pixels.
PixelType::ComponentType ComponentType
virtual OutputType EvaluateAtIndex(const IndexType &index) const override
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes...
SmartPointer< Self > Pointer
Calculate the derivative by central differencing.
CentralDifferenceImageFunction Self
ImageFunction< TInputImage, TOutputType, TCoordRep > Superclass
CentralDifferenceImageFunction()
InputImageType::PixelType InputPixelType
InterpolatorPointer m_Interpolator
Superclass::PointType PointType
void PrintSelf(std::ostream &os, Indent indent) const override
InputImageType::IndexType IndexType
virtual void SetInputImage(const TInputImage *inputData) override
DefaultConvertPixelTraits< InputPixelType > InputPixelConvertType
ContinuousIndex< TCoordRep, itkGetStaticConstMacro(ImageDimension) > ContinuousIndexType
virtual void SetInterpolator(InterpolatorType *interpolator)
Base class for all image interpolaters.
void EvaluateAtContinuousIndexSpecialized(const ContinuousIndexType &index, OutputType &derivative, OutputTypeSpecializationStructType< OutputType >) const
virtual OutputType Evaluate(const PointType &point) const override
Superclass::IndexType IndexType
void operator=(const Self &) ITK_DELETE_FUNCTION
Control indentation during Print() invocation.
TInputImage::SpacingType SpacingType
void EvaluateSpecialized(const PointType &point, OutputType &derivative, OutputTypeSpecializationStructType< OutputType >) const
A templated class holding a n-Dimensional covariant vector.
Evaluates a function of an image at specified position.
Superclass::OutputType OutputType
DefaultConvertPixelTraits< OutputType > OutputConvertType