ITK
4.3.0
Insight Segmentation and Registration Toolkit
|
#include <itkGaussianBlurImageFunction.h>
Compute the convolution of a neighborhood operator with 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 43 of file itkGaussianBlurImageFunction.h.
Public Member Functions | |
virtual ::itk::LightObject::Pointer | CreateAnother (void) const |
virtual TOutput | Evaluate (const PointType &point) const |
virtual TOutput | EvaluateAtContinuousIndex (const ContinuousIndexType &index) const |
virtual TOutput | EvaluateAtIndex (const IndexType &index) const |
virtual const char * | GetNameOfClass () const |
virtual const SigmaArrayType & | GetSigma () |
void | SetExtent (const double extent) |
virtual void | SetInputImage (const InputImageType *ptr) |
void | SetSigma (const double *sigma) |
void | SetSigma (const float *sigma) |
void | SetSigma (const double sigma) |
virtual void | SetSigma (SigmaArrayType _arg) |
virtual void | SetExtent (ExtentArrayType _arg) |
virtual const ExtentArrayType & | GetExtent () |
void | SetExtent (const double *extent) |
virtual void | SetMaximumError (ErrorArrayType _arg) |
virtual const ErrorArrayType & | GetMaximumError () |
virtual void | SetMaximumKernelWidth (int _arg) |
virtual int | GetMaximumKernelWidth () const |
virtual void | SetUseImageSpacing (bool _arg) |
virtual bool | GetUseImageSpacing () const |
virtual void | UseImageSpacingOn () |
virtual void | UseImageSpacingOff () |
Public Member Functions inherited from itk::ImageFunction< TInputImage, 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 TOutput | Evaluate (const PointType &point) const =0 |
virtual TOutput | EvaluateAtContinuousIndex (const ContinuousIndexType &index) const =0 |
virtual TOutput | EvaluateAtIndex (const IndexType &index) const =0 |
virtual const ContinuousIndexType & | GetEndContinuousIndex () |
virtual const IndexType & | GetEndIndex () |
const InputImageType * | GetInputImage () const |
virtual const ContinuousIndexType & | GetStartContinuousIndex () |
virtual const IndexType & | GetStartIndex () |
virtual bool | IsInsideBuffer (const IndexType &index) const |
virtual bool | IsInsideBuffer (const ContinuousIndexType &index) const |
virtual bool | IsInsideBuffer (const PointType &point) const |
Static Public Member Functions | |
static Pointer | New () |
Static Public Attributes | |
static const unsigned int | ImageDimension = InputImageType::ImageDimension |
Static Public Attributes inherited from itk::ImageFunction< TInputImage, TOutput > | |
static const unsigned int | ImageDimension |
Protected Member Functions | |
GaussianBlurImageFunction () | |
GaussianBlurImageFunction (const Self &) | |
void | operator= (const Self &) |
void | PrintSelf (std::ostream &os, Indent indent) const |
void | RecomputeContinuousGaussianKernel (const double *offset) const |
void | RecomputeGaussianKernel () |
~GaussianBlurImageFunction () | |
Protected Member Functions inherited from itk::ImageFunction< TInputImage, TOutput > | |
ImageFunction () | |
void | PrintSelf (std::ostream &os, Indent indent) const |
~ImageFunction () | |
Protected Member Functions inherited from itk::FunctionBase< Point< float, TInputImage::ImageDimension >, TOutput > | |
FunctionBase () | |
~FunctionBase () | |
Protected Member Functions inherited from itk::Object | |
Object () | |
bool | PrintObservers (std::ostream &os, Indent indent) const |
virtual void | SetTimeStamp (const TimeStamp &time) |
virtual | ~Object () |
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 () |
Private Member Functions | |
virtual TOutput | EvaluateAtIndex (const IndexType &index, const OperatorArrayType &operatorArray) const |
Additional Inherited Members | |
Protected Types inherited from itk::LightObject | |
typedef int | InternalReferenceCountType |
Protected Attributes inherited from itk::ImageFunction< TInputImage, TOutput > | |
ContinuousIndexType | m_EndContinuousIndex |
IndexType | m_EndIndex |
InputImageConstPointer | m_Image |
ContinuousIndexType | m_StartContinuousIndex |
IndexType | m_StartIndex |
typedef SmartPointer< const Self > itk::GaussianBlurImageFunction< TInputImage, TOutput >::ConstPointer |
Definition at line 56 of file itkGaussianBlurImageFunction.h.
typedef Superclass::ContinuousIndexType itk::GaussianBlurImageFunction< TInputImage, TOutput >::ContinuousIndexType |
Definition at line 68 of file itkGaussianBlurImageFunction.h.
typedef itk::FixedArray< double, itkGetStaticConstMacro(ImageDimension) > itk::GaussianBlurImageFunction< TInputImage, TOutput >::ErrorArrayType |
Definition at line 91 of file itkGaussianBlurImageFunction.h.
typedef itk::FixedArray< double, itkGetStaticConstMacro(ImageDimension) > itk::GaussianBlurImageFunction< TInputImage, TOutput >::ExtentArrayType |
Definition at line 92 of file itkGaussianBlurImageFunction.h.
typedef GaussianFunctionType::Pointer itk::GaussianBlurImageFunction< TInputImage, TOutput >::GaussianFunctionPointer |
Definition at line 79 of file itkGaussianBlurImageFunction.h.
typedef GaussianSpatialFunction< TOutput, 1 > itk::GaussianBlurImageFunction< TInputImage, TOutput >::GaussianFunctionType |
Definition at line 78 of file itkGaussianBlurImageFunction.h.
typedef GaussianOperator< TOutput, itkGetStaticConstMacro(ImageDimension) > itk::GaussianBlurImageFunction< TInputImage, TOutput >::GaussianOperatorType |
Definition at line 74 of file itkGaussianBlurImageFunction.h.
typedef Superclass::IndexType itk::GaussianBlurImageFunction< TInputImage, TOutput >::IndexType |
Definition at line 67 of file itkGaussianBlurImageFunction.h.
typedef TInputImage itk::GaussianBlurImageFunction< TInputImage, TOutput >::InputImageType |
InputImageType typedef support.
Definition at line 62 of file itkGaussianBlurImageFunction.h.
typedef NumericTraits< InputPixelType >::RealType itk::GaussianBlurImageFunction< TInputImage, TOutput >::InputPixelRealType |
Definition at line 80 of file itkGaussianBlurImageFunction.h.
typedef InputImageType::PixelType itk::GaussianBlurImageFunction< TInputImage, TOutput >::InputPixelType |
Definition at line 66 of file itkGaussianBlurImageFunction.h.
typedef InternalImageType::Pointer itk::GaussianBlurImageFunction< TInputImage, TOutput >::InternalImagePointer |
Definition at line 83 of file itkGaussianBlurImageFunction.h.
typedef itk::Image< InputPixelRealType, itkGetStaticConstMacro(ImageDimension) > itk::GaussianBlurImageFunction< TInputImage, TOutput >::InternalImageType |
Definition at line 82 of file itkGaussianBlurImageFunction.h.
typedef Neighborhood< TOutput, itkGetStaticConstMacro(ImageDimension) > itk::GaussianBlurImageFunction< TInputImage, TOutput >::NeighborhoodType |
Definition at line 75 of file itkGaussianBlurImageFunction.h.
typedef FixedArray< NeighborhoodType, itkGetStaticConstMacro(ImageDimension) > itk::GaussianBlurImageFunction< TInputImage, TOutput >::OperatorArrayType |
Definition at line 76 of file itkGaussianBlurImageFunction.h.
typedef OperatorImageFunctionType::Pointer itk::GaussianBlurImageFunction< TInputImage, TOutput >::OperatorImageFunctionPointer |
Definition at line 86 of file itkGaussianBlurImageFunction.h.
typedef NeighborhoodOperatorImageFunction< InputImageType, TOutput > itk::GaussianBlurImageFunction< TInputImage, TOutput >::OperatorImageFunctionType |
Definition at line 85 of file itkGaussianBlurImageFunction.h.
typedef OperatorInternalImageFunctionType::Pointer itk::GaussianBlurImageFunction< TInputImage, TOutput >::OperatorInternalImageFunctionPointer |
Definition at line 89 of file itkGaussianBlurImageFunction.h.
typedef NeighborhoodOperatorImageFunction< InternalImageType, TOutput > itk::GaussianBlurImageFunction< TInputImage, TOutput >::OperatorInternalImageFunctionType |
Definition at line 88 of file itkGaussianBlurImageFunction.h.
typedef SmartPointer< Self > itk::GaussianBlurImageFunction< TInputImage, TOutput >::Pointer |
Smart pointer typedef support.
Definition at line 55 of file itkGaussianBlurImageFunction.h.
typedef Superclass::PointType itk::GaussianBlurImageFunction< TInputImage, TOutput >::PointType |
Point typedef support.
Definition at line 96 of file itkGaussianBlurImageFunction.h.
typedef GaussianBlurImageFunction itk::GaussianBlurImageFunction< TInputImage, TOutput >::Self |
Standard "Self" typedef
Definition at line 49 of file itkGaussianBlurImageFunction.h.
typedef itk::FixedArray< double, itkGetStaticConstMacro(ImageDimension) > itk::GaussianBlurImageFunction< TInputImage, TOutput >::SigmaArrayType |
Definition at line 93 of file itkGaussianBlurImageFunction.h.
typedef ImageFunction< TInputImage, TOutput > itk::GaussianBlurImageFunction< TInputImage, TOutput >::Superclass |
Standard "Superclass" typedef
Definition at line 52 of file itkGaussianBlurImageFunction.h.
|
protected |
|
protected |
|
inlineprotected |
Definition at line 168 of file itkGaussianBlurImageFunction.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.
|
virtual |
Evalutate the in the given dimension at specified point
|
virtual |
Evaluate the function at specified ContinousIndex position.
|
virtual |
Evaluate the function at specified Index position
|
privatevirtual |
|
virtual |
Set/Get the Extent of the array holding the coefficients of the Gaussian kernel computed by the GaussianOperator.
|
virtual |
Set/Get the maximum error acceptable for the approximation of the Gaussian kernel with the GaussianOperator.
|
virtual |
Set/GetMaximumKernelWidth() This value is used by the underling GaussianOperator for computing the number of coefficients to be used in the Gaussian kernel
|
virtual |
Run-time type information (and related methods).
Reimplemented from itk::ImageFunction< TInputImage, TOutput >.
|
virtual |
|
virtual |
Set/GetUseImageSpacing() This flag is used by the underling GaussianOperator to decide if the image spacing should be used to scale the value of sigma or not. The methods UseImageSpacingOn() and UseImageSpacingOff() provide a similar functionality.
|
static |
Method for creation through the object factory.
|
protected |
|
protectedvirtual |
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 |
|
protected |
|
virtual |
Set/Get the Extent of the array holding the coefficients of the Gaussian kernel computed by the GaussianOperator.
void itk::GaussianBlurImageFunction< TInputImage, TOutput >::SetExtent | ( | const double * | extent | ) |
Set/Get the Extent of the array holding the coefficients of the Gaussian kernel computed by the GaussianOperator.
void itk::GaussianBlurImageFunction< TInputImage, TOutput >::SetExtent | ( | const double | extent | ) |
|
virtual |
Set the input image.
Reimplemented from itk::ImageFunction< TInputImage, TOutput >.
|
virtual |
Set/Get the maximum error acceptable for the approximation of the Gaussian kernel with the GaussianOperator.
|
virtual |
Set/GetMaximumKernelWidth() This value is used by the underling GaussianOperator for computing the number of coefficients to be used in the Gaussian kernel
void itk::GaussianBlurImageFunction< TInputImage, TOutput >::SetSigma | ( | const double * | sigma | ) |
The standard deviation for the discrete Gaussian kernel. Sets the standard deviation independently for each dimension. The default is 1.0 in each dimension. If UseImageSpacing is true (default), the units are the physical units of your image. If UseImageSpacing is false then the units are pixels.
void itk::GaussianBlurImageFunction< TInputImage, TOutput >::SetSigma | ( | const float * | sigma | ) |
void itk::GaussianBlurImageFunction< TInputImage, TOutput >::SetSigma | ( | const double | sigma | ) |
|
virtual |
|
virtual |
Set/GetUseImageSpacing() This flag is used by the underling GaussianOperator to decide if the image spacing should be used to scale the value of sigma or not. The methods UseImageSpacingOn() and UseImageSpacingOff() provide a similar functionality.
|
virtual |
Set/GetUseImageSpacing() This flag is used by the underling GaussianOperator to decide if the image spacing should be used to scale the value of sigma or not. The methods UseImageSpacingOn() and UseImageSpacingOff() provide a similar functionality.
|
virtual |
Set/GetUseImageSpacing() This flag is used by the underling GaussianOperator to decide if the image spacing should be used to scale the value of sigma or not. The methods UseImageSpacingOn() and UseImageSpacingOff() provide a similar functionality.
|
static |
Dimension of the underlying image.
Definition at line 71 of file itkGaussianBlurImageFunction.h.
|
mutableprivate |
Definition at line 187 of file itkGaussianBlurImageFunction.h.
|
private |
Definition at line 194 of file itkGaussianBlurImageFunction.h.
|
private |
Number of dimensions to process. Default is all dimensions
Definition at line 201 of file itkGaussianBlurImageFunction.h.
|
private |
Definition at line 207 of file itkGaussianBlurImageFunction.h.
|
private |
Definition at line 188 of file itkGaussianBlurImageFunction.h.
|
private |
The maximum error of the gaussian blurring kernel in each dimensional direction. For definition of maximum error, see GaussianOperator.
Definition at line 193 of file itkGaussianBlurImageFunction.h.
|
private |
Maximum allowed kernel width for any dimension of the discrete Gaussian approximation
Definition at line 198 of file itkGaussianBlurImageFunction.h.
|
mutableprivate |
Definition at line 186 of file itkGaussianBlurImageFunction.h.
|
private |
Definition at line 184 of file itkGaussianBlurImageFunction.h.
|
private |
Definition at line 185 of file itkGaussianBlurImageFunction.h.
|
private |
Definition at line 183 of file itkGaussianBlurImageFunction.h.
|
private |
Flag to indicate whether to use image spacing
Definition at line 204 of file itkGaussianBlurImageFunction.h.