ITK
4.13.0
Insight Segmentation and Registration Toolkit
|
#include <itkGaussianDerivativeImageFunction.h>
Compute the gaussian derivatives of an the image at a specific location in space, i.e. point, index or continuous index. This class is templated over the input image type.
Definition at line 38 of file itkGaussianDerivativeImageFunction.h.
Public Member Functions | |
virtual ::itk::LightObject::Pointer | CreateAnother () const |
virtual OutputType | Evaluate (const PointType &point) const override |
virtual OutputType | EvaluateAtContinuousIndex (const ContinuousIndexType &index) const override |
virtual OutputType | EvaluateAtIndex (const IndexType &index) const override |
const double * | GetExtent () const |
virtual const char * | GetNameOfClass () const |
const double * | GetSigma () const |
void | SetExtent (const double *extent) |
void | SetExtent (const double extent) |
virtual void | SetInputImage (const InputImageType *ptr) override |
void | SetSigma (const double *sigma) |
void | SetSigma (const double sigma) |
Public Member Functions inherited from itk::ImageFunction< TInputImage, Vector< TOutput, TInputImage::ImageDimension >, TOutput > | |
void | ConvertContinuousIndexToNearestIndex (const ContinuousIndexType &cindex, IndexType &index) const |
void | ConvertPointToContinuousIndex (const PointType &point, ContinuousIndexType &cindex) const |
void | ConvertPointToNearestIndex (const PointType &point, IndexType &index) const |
virtual Vector< TOutput, TInputImage::ImageDimension > | Evaluate (const PointType &point) const override=0 |
virtual Vector< TOutput, TInputImage::ImageDimension > | EvaluateAtContinuousIndex (const ContinuousIndexType &index) const =0 |
virtual const ContinuousIndexType & | GetEndContinuousIndex () const |
virtual const IndexType & | GetEndIndex () const |
const InputImageType * | GetInputImage () const |
virtual const ContinuousIndexType & | GetStartContinuousIndex () const |
virtual const IndexType & | GetStartIndex () const |
virtual bool | IsInsideBuffer (const IndexType &index) const |
virtual bool | IsInsideBuffer (const ContinuousIndexType &index) const |
virtual bool | IsInsideBuffer (const PointType &point) const |
Public Member Functions inherited from itk::FunctionBase< Point< TOutput, TInputImage::ImageDimension >, Vector< TOutput, TInputImage::ImageDimension > > | |
virtual OutputType | Evaluate (const InputType &input) const =0 |
Public Member Functions inherited from itk::Object | |
unsigned long | AddObserver (const EventObject &event, Command *) |
unsigned long | AddObserver (const EventObject &event, Command *) const |
virtual void | DebugOff () const |
virtual void | DebugOn () const |
Command * | GetCommand (unsigned long tag) |
bool | GetDebug () const |
MetaDataDictionary & | GetMetaDataDictionary () |
const MetaDataDictionary & | GetMetaDataDictionary () const |
virtual ModifiedTimeType | GetMTime () const |
virtual const TimeStamp & | GetTimeStamp () const |
bool | HasObserver (const EventObject &event) const |
void | InvokeEvent (const EventObject &) |
void | InvokeEvent (const EventObject &) const |
virtual void | Modified () const |
virtual void | Register () const override |
void | RemoveAllObservers () |
void | RemoveObserver (unsigned long tag) |
void | SetDebug (bool debugFlag) const |
void | SetMetaDataDictionary (const MetaDataDictionary &rhs) |
virtual void | SetReferenceCount (int) override |
virtual void | UnRegister () const noexceptoverride |
virtual void | SetObjectName (std::string _arg) |
virtual const std::string & | GetObjectName () const |
Public Member Functions inherited from itk::LightObject | |
virtual void | Delete () |
virtual int | GetReferenceCount () const |
itkCloneMacro (Self) | |
void | Print (std::ostream &os, Indent indent=0) const |
Static Public Member Functions | |
static Pointer | New () |
Static Public Member Functions inherited from itk::Object | |
static bool | GetGlobalWarningDisplay () |
static void | GlobalWarningDisplayOff () |
static void | GlobalWarningDisplayOn () |
static Pointer | New () |
static void | SetGlobalWarningDisplay (bool flag) |
Static Public Member Functions inherited from itk::LightObject | |
static void | BreakOnError () |
static Pointer | New () |
Static Public Attributes | |
static const unsigned int | ImageDimension2 = InputImageType::ImageDimension |
Static Public Attributes inherited from itk::ImageFunction< TInputImage, Vector< TOutput, TInputImage::ImageDimension >, TOutput > | |
static const unsigned int | ImageDimension |
Protected Member Functions | |
GaussianDerivativeImageFunction () | |
GaussianDerivativeImageFunction (const Self &) | |
void | operator= (const Self &) |
void | PrintSelf (std::ostream &os, Indent indent) const override |
void | RecomputeContinuousGaussianKernel (const double *offset) const |
void | RecomputeGaussianKernel () |
~GaussianDerivativeImageFunction () override | |
Protected Member Functions inherited from itk::ImageFunction< TInputImage, Vector< TOutput, TInputImage::ImageDimension >, TOutput > | |
ImageFunction () | |
void | PrintSelf (std::ostream &os, Indent indent) const override |
~ImageFunction () override | |
Protected Member Functions inherited from itk::FunctionBase< Point< TOutput, TInputImage::ImageDimension >, Vector< TOutput, TInputImage::ImageDimension > > | |
FunctionBase () | |
~FunctionBase () override | |
Protected Member Functions inherited from itk::Object | |
Object () | |
bool | PrintObservers (std::ostream &os, Indent indent) const |
virtual void | SetTimeStamp (const TimeStamp &time) |
virtual | ~Object () override |
Protected Member Functions inherited from itk::LightObject | |
virtual LightObject::Pointer | InternalClone () const |
LightObject () | |
virtual void | PrintHeader (std::ostream &os, Indent indent) const |
virtual void | PrintTrailer (std::ostream &os, Indent indent) const |
virtual | ~LightObject () |
Additional Inherited Members | |
Protected Attributes inherited from itk::ImageFunction< TInputImage, Vector< TOutput, TInputImage::ImageDimension >, TOutput > | |
ContinuousIndexType | m_EndContinuousIndex |
IndexType | m_EndIndex |
InputImageConstPointer | m_Image |
ContinuousIndexType | m_StartContinuousIndex |
IndexType | m_StartIndex |
Protected Attributes inherited from itk::LightObject | |
AtomicInt< int > | m_ReferenceCount |
typedef SmartPointer< const Self > itk::GaussianDerivativeImageFunction< TInputImage, TOutput >::ConstPointer |
Definition at line 51 of file itkGaussianDerivativeImageFunction.h.
typedef ContinuousIndex< SpacePrecisionType, itkGetStaticConstMacro(ImageDimension2) > itk::GaussianDerivativeImageFunction< TInputImage, TOutput >::ContinuousIndexType |
Definition at line 69 of file itkGaussianDerivativeImageFunction.h.
typedef GaussianDerivativeFunctionType::Pointer itk::GaussianDerivativeImageFunction< TInputImage, TOutput >::GaussianDerivativeFunctionPointer |
Definition at line 82 of file itkGaussianDerivativeImageFunction.h.
typedef GaussianDerivativeSpatialFunction< TOutput, 1 > itk::GaussianDerivativeImageFunction< TInputImage, TOutput >::GaussianDerivativeFunctionType |
Definition at line 81 of file itkGaussianDerivativeImageFunction.h.
typedef GaussianFunctionType::Pointer itk::GaussianDerivativeImageFunction< TInputImage, TOutput >::GaussianFunctionPointer |
Definition at line 85 of file itkGaussianDerivativeImageFunction.h.
typedef GaussianSpatialFunction< TOutput, 1 > itk::GaussianDerivativeImageFunction< TInputImage, TOutput >::GaussianFunctionType |
Definition at line 84 of file itkGaussianDerivativeImageFunction.h.
typedef InputImageType::IndexType itk::GaussianDerivativeImageFunction< TInputImage, TOutput >::IndexType |
Definition at line 62 of file itkGaussianDerivativeImageFunction.h.
typedef TInputImage itk::GaussianDerivativeImageFunction< TInputImage, TOutput >::InputImageType |
InputImageType typedef support.
Definition at line 57 of file itkGaussianDerivativeImageFunction.h.
typedef InputImageType::PixelType itk::GaussianDerivativeImageFunction< TInputImage, TOutput >::InputPixelType |
Definition at line 61 of file itkGaussianDerivativeImageFunction.h.
typedef Neighborhood< InputPixelType, itkGetStaticConstMacro(ImageDimension2) > itk::GaussianDerivativeImageFunction< TInputImage, TOutput >::NeighborhoodType |
Definition at line 71 of file itkGaussianDerivativeImageFunction.h.
typedef FixedArray< OperatorNeighborhoodType, 2 * itkGetStaticConstMacro(ImageDimension2) > itk::GaussianDerivativeImageFunction< TInputImage, TOutput >::OperatorArrayType |
Definition at line 76 of file itkGaussianDerivativeImageFunction.h.
typedef OperatorImageFunctionType::Pointer itk::GaussianDerivativeImageFunction< TInputImage, TOutput >::OperatorImageFunctionPointer |
Definition at line 79 of file itkGaussianDerivativeImageFunction.h.
typedef NeighborhoodOperatorImageFunction< InputImageType, TOutput > itk::GaussianDerivativeImageFunction< TInputImage, TOutput >::OperatorImageFunctionType |
Definition at line 78 of file itkGaussianDerivativeImageFunction.h.
typedef Neighborhood< TOutput, itkGetStaticConstMacro(ImageDimension2) > itk::GaussianDerivativeImageFunction< TInputImage, TOutput >::OperatorNeighborhoodType |
Definition at line 72 of file itkGaussianDerivativeImageFunction.h.
typedef Superclass::OutputType itk::GaussianDerivativeImageFunction< TInputImage, TOutput >::OutputType |
Definition at line 75 of file itkGaussianDerivativeImageFunction.h.
typedef SmartPointer< Self > itk::GaussianDerivativeImageFunction< TInputImage, TOutput >::Pointer |
Definition at line 50 of file itkGaussianDerivativeImageFunction.h.
typedef InputImageType::PointType itk::GaussianDerivativeImageFunction< TInputImage, TOutput >::PointType |
Point typedef support.
Definition at line 89 of file itkGaussianDerivativeImageFunction.h.
typedef GaussianDerivativeImageFunction itk::GaussianDerivativeImageFunction< TInputImage, TOutput >::Self |
Standard class typedefs.
Definition at line 46 of file itkGaussianDerivativeImageFunction.h.
typedef ImageFunction< TInputImage, Vector< TOutput, TInputImage::ImageDimension >, TOutput > itk::GaussianDerivativeImageFunction< TInputImage, TOutput >::Superclass |
Definition at line 49 of file itkGaussianDerivativeImageFunction.h.
typedef Vector< TOutput, itkGetStaticConstMacro(ImageDimension2) > itk::GaussianDerivativeImageFunction< TInputImage, TOutput >::VectorType |
Definition at line 74 of file itkGaussianDerivativeImageFunction.h.
|
protected |
|
protected |
|
inlineoverrideprotected |
Definition at line 129 of file itkGaussianDerivativeImageFunction.h.
|
virtual |
Create an object from an instance, potentially deferring to a factory. This method allows you to create an instance of an object that is exactly the same type as the referring object. This is useful in cases where an object has been cast back to a base class.
Reimplemented from itk::Object.
|
overridevirtual |
Evaluate the function at the specifed point.
|
overridevirtual |
Evaluate the function at specified ContinuousIndex position.
|
overridevirtual |
Evaluate the function at specified Index position.
Implements itk::ImageFunction< TInputImage, Vector< TOutput, TInputImage::ImageDimension >, TOutput >.
|
inline |
Definition at line 117 of file itkGaussianDerivativeImageFunction.h.
|
virtual |
Run-time type information (and related methods).
Reimplemented from itk::ImageFunction< TInputImage, Vector< TOutput, TInputImage::ImageDimension >, TOutput >.
|
inline |
Definition at line 110 of file itkGaussianDerivativeImageFunction.h.
|
static |
Method for creation through the object factory.
|
protected |
|
overrideprotectedvirtual |
Methods invoked by Print() to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.
Reimplemented from itk::Object.
|
protected |
Recompute the Gaussian kernel used to evaluate indexes. The variance should be uniform.
|
protected |
Recompute the Gaussian kernel used to evaluate indexes. This should use a fastest Derivative Gaussian operator.
void itk::GaussianDerivativeImageFunction< TInputImage, TOutput >::SetExtent | ( | const double * | extent | ) |
Set the extent of the discrete Gaussian kernel.
void itk::GaussianDerivativeImageFunction< TInputImage, TOutput >::SetExtent | ( | const double | extent | ) |
|
overridevirtual |
Set the input image.
Reimplemented from itk::ImageFunction< TInputImage, Vector< TOutput, TInputImage::ImageDimension >, TOutput >.
void itk::GaussianDerivativeImageFunction< TInputImage, TOutput >::SetSigma | ( | const double * | sigma | ) |
The variance for the discrete Gaussian kernel. Sets the variance independently for each dimension, but see also SetVariance(const double v). The default is 0.0 in each dimension. If UseImageSpacing is true, the units are the physical units of the image. If UseImageSpacing is false then the units are pixels.
void itk::GaussianDerivativeImageFunction< TInputImage, TOutput >::SetSigma | ( | const double | sigma | ) |
|
static |
Dimension of the underlying image.
Definition at line 66 of file itkGaussianDerivativeImageFunction.h.
|
mutableprivate |
Definition at line 151 of file itkGaussianDerivativeImageFunction.h.
|
private |
Definition at line 155 of file itkGaussianDerivativeImageFunction.h.
|
private |
Definition at line 161 of file itkGaussianDerivativeImageFunction.h.
|
private |
Definition at line 162 of file itkGaussianDerivativeImageFunction.h.
|
mutableprivate |
Array of 1D operators. Contains a derivative kernel and a gaussian kernel for each dimension.
Definition at line 150 of file itkGaussianDerivativeImageFunction.h.
|
private |
OperatorImageFunction
Definition at line 154 of file itkGaussianDerivativeImageFunction.h.
|
private |
Definition at line 146 of file itkGaussianDerivativeImageFunction.h.
|
private |
Flag to indicate whether to use image spacing.
Definition at line 158 of file itkGaussianDerivativeImageFunction.h.