ITK
5.0.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 () const |
TOutput | Evaluate (const PointType &point) const override |
TOutput | EvaluateAtContinuousIndex (const ContinuousIndexType &index) const override |
TOutput | EvaluateAtIndex (const IndexType &index) const override |
virtual const char * | GetNameOfClass () const |
virtual const SigmaArrayType & | GetSigma () const |
void | SetExtent (const double extent) |
void | SetInputImage (const InputImageType *ptr) override |
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 () const |
void | SetExtent (const double *extent) |
virtual void | SetMaximumError (ErrorArrayType _arg) |
virtual const ErrorArrayType & | GetMaximumError () const |
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 |
TOutput | Evaluate (const PointType &point) const override=0 |
virtual TOutput | EvaluateAtContinuousIndex (const ContinuousIndexType &index) const =0 |
virtual TOutput | EvaluateAtIndex (const IndexType &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::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 |
void | Register () const override |
void | RemoveAllObservers () |
void | RemoveObserver (unsigned long tag) |
void | SetDebug (bool debugFlag) const |
void | SetReferenceCount (int) override |
void | UnRegister () const noexceptoverride |
void | SetMetaDataDictionary (const MetaDataDictionary &rhs) |
void | SetMetaDataDictionary (MetaDataDictionary &&rrhs) |
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 constexpr unsigned int | ImageDimension = InputImageType::ImageDimension |
Static Public Attributes inherited from itk::ImageFunction< TInputImage, TOutput > | |
static constexpr unsigned int | ImageDimension |
Protected Member Functions | |
GaussianBlurImageFunction () | |
void | PrintSelf (std::ostream &os, Indent indent) const override |
void | RecomputeContinuousGaussianKernel (const double *offset) const |
void | RecomputeGaussianKernel () |
~GaussianBlurImageFunction () override=default | |
Protected Member Functions inherited from itk::ImageFunction< TInputImage, TOutput > | |
ImageFunction () | |
void | PrintSelf (std::ostream &os, Indent indent) const override |
~ImageFunction () override=default | |
Protected Member Functions inherited from itk::FunctionBase< Point< float, TInputImage::ImageDimension >, TOutput > | |
FunctionBase ()=default | |
~FunctionBase () override=default | |
Protected Member Functions inherited from itk::Object | |
Object () | |
bool | PrintObservers (std::ostream &os, Indent indent) const |
virtual void | SetTimeStamp (const TimeStamp &time) |
~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 () |
Private Member Functions | |
virtual TOutput | EvaluateAtIndex (const IndexType &index, const OperatorArrayType &operatorArray) const |
Additional Inherited Members | |
Protected Attributes inherited from itk::ImageFunction< TInputImage, TOutput > | |
ContinuousIndexType | m_EndContinuousIndex |
IndexType | m_EndIndex |
InputImageConstPointer | m_Image |
ContinuousIndexType | m_StartContinuousIndex |
IndexType | m_StartIndex |
Protected Attributes inherited from itk::LightObject | |
std::atomic< int > | m_ReferenceCount |
using itk::GaussianBlurImageFunction< TInputImage, TOutput >::ConstPointer = SmartPointer< const Self > |
Definition at line 57 of file itkGaussianBlurImageFunction.h.
using itk::GaussianBlurImageFunction< TInputImage, TOutput >::ContinuousIndexType = typename Superclass::ContinuousIndexType |
Definition at line 69 of file itkGaussianBlurImageFunction.h.
using itk::GaussianBlurImageFunction< TInputImage, TOutput >::ErrorArrayType = itk::FixedArray< double, Self::ImageDimension > |
Definition at line 92 of file itkGaussianBlurImageFunction.h.
using itk::GaussianBlurImageFunction< TInputImage, TOutput >::ExtentArrayType = itk::FixedArray< double, Self::ImageDimension > |
Definition at line 93 of file itkGaussianBlurImageFunction.h.
using itk::GaussianBlurImageFunction< TInputImage, TOutput >::GaussianFunctionPointer = typename GaussianFunctionType::Pointer |
Definition at line 80 of file itkGaussianBlurImageFunction.h.
using itk::GaussianBlurImageFunction< TInputImage, TOutput >::GaussianFunctionType = GaussianSpatialFunction< TOutput, 1 > |
Definition at line 79 of file itkGaussianBlurImageFunction.h.
using itk::GaussianBlurImageFunction< TInputImage, TOutput >::GaussianOperatorType = GaussianOperator< TOutput, Self::ImageDimension > |
Definition at line 75 of file itkGaussianBlurImageFunction.h.
using itk::GaussianBlurImageFunction< TInputImage, TOutput >::IndexType = typename Superclass::IndexType |
Definition at line 68 of file itkGaussianBlurImageFunction.h.
using itk::GaussianBlurImageFunction< TInputImage, TOutput >::InputImageType = TInputImage |
InputImageType type alias support
Definition at line 66 of file itkGaussianBlurImageFunction.h.
using itk::GaussianBlurImageFunction< TInputImage, TOutput >::InputPixelRealType = typename NumericTraits< InputPixelType >::RealType |
Definition at line 81 of file itkGaussianBlurImageFunction.h.
using itk::GaussianBlurImageFunction< TInputImage, TOutput >::InputPixelType = typename InputImageType::PixelType |
Definition at line 67 of file itkGaussianBlurImageFunction.h.
using itk::GaussianBlurImageFunction< TInputImage, TOutput >::InternalImagePointer = typename InternalImageType::Pointer |
Definition at line 84 of file itkGaussianBlurImageFunction.h.
using itk::GaussianBlurImageFunction< TInputImage, TOutput >::InternalImageType = itk::Image< InputPixelRealType, Self::ImageDimension > |
Definition at line 83 of file itkGaussianBlurImageFunction.h.
using itk::GaussianBlurImageFunction< TInputImage, TOutput >::NeighborhoodType = Neighborhood< TOutput, Self::ImageDimension > |
Definition at line 76 of file itkGaussianBlurImageFunction.h.
using itk::GaussianBlurImageFunction< TInputImage, TOutput >::OperatorArrayType = FixedArray< NeighborhoodType, Self::ImageDimension > |
Definition at line 77 of file itkGaussianBlurImageFunction.h.
using itk::GaussianBlurImageFunction< TInputImage, TOutput >::OperatorImageFunctionPointer = typename OperatorImageFunctionType::Pointer |
Definition at line 87 of file itkGaussianBlurImageFunction.h.
using itk::GaussianBlurImageFunction< TInputImage, TOutput >::OperatorImageFunctionType = NeighborhoodOperatorImageFunction< InputImageType, TOutput > |
Definition at line 86 of file itkGaussianBlurImageFunction.h.
using itk::GaussianBlurImageFunction< TInputImage, TOutput >::OperatorInternalImageFunctionPointer = typename OperatorInternalImageFunctionType::Pointer |
Definition at line 90 of file itkGaussianBlurImageFunction.h.
using itk::GaussianBlurImageFunction< TInputImage, TOutput >::OperatorInternalImageFunctionType = NeighborhoodOperatorImageFunction< InternalImageType, TOutput > |
Definition at line 89 of file itkGaussianBlurImageFunction.h.
using itk::GaussianBlurImageFunction< TInputImage, TOutput >::Pointer = SmartPointer< Self > |
Smart pointer type alias support
Definition at line 56 of file itkGaussianBlurImageFunction.h.
using itk::GaussianBlurImageFunction< TInputImage, TOutput >::PointType = typename Superclass::PointType |
Point type alias support
Definition at line 97 of file itkGaussianBlurImageFunction.h.
using itk::GaussianBlurImageFunction< TInputImage, TOutput >::Self = GaussianBlurImageFunction |
Standard "Self" type alias
Definition at line 50 of file itkGaussianBlurImageFunction.h.
using itk::GaussianBlurImageFunction< TInputImage, TOutput >::SigmaArrayType = itk::FixedArray< double, Self::ImageDimension > |
Definition at line 94 of file itkGaussianBlurImageFunction.h.
using itk::GaussianBlurImageFunction< TInputImage, TOutput >::Superclass = ImageFunction< TInputImage, TOutput > |
Standard "Superclass" type alias
Definition at line 53 of file itkGaussianBlurImageFunction.h.
|
protected |
|
overrideprotecteddefault |
|
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.
|
override |
Evalutate the in the given dimension at specified point
|
override |
Evaluate the function at specified ContinuousIndex position.
|
override |
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.
|
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 |
|
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 | ) |
|
overridevirtual |
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 72 of file itkGaussianBlurImageFunction.h.
|
mutableprivate |
Definition at line 184 of file itkGaussianBlurImageFunction.h.
|
private |
Definition at line 191 of file itkGaussianBlurImageFunction.h.
|
private |
Number of dimensions to process. Default is all dimensions
Definition at line 198 of file itkGaussianBlurImageFunction.h.
|
private |
Definition at line 204 of file itkGaussianBlurImageFunction.h.
|
private |
Definition at line 185 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 190 of file itkGaussianBlurImageFunction.h.
|
private |
Maximum allowed kernel width for any dimension of the discrete Gaussian approximation
Definition at line 195 of file itkGaussianBlurImageFunction.h.
|
mutableprivate |
Definition at line 183 of file itkGaussianBlurImageFunction.h.
|
private |
Definition at line 181 of file itkGaussianBlurImageFunction.h.
|
private |
Definition at line 182 of file itkGaussianBlurImageFunction.h.
|
private |
Definition at line 180 of file itkGaussianBlurImageFunction.h.
|
private |
Flag to indicate whether to use image spacing
Definition at line 201 of file itkGaussianBlurImageFunction.h.