ITK
6.0.0
Insight 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 39 of file itkGaussianBlurImageFunction.h.
Public Member Functions | |
TOutput | Evaluate (const PointType &point) const override |
TOutput | EvaluateAtContinuousIndex (const ContinuousIndexType &cindex) const override |
TOutput | EvaluateAtIndex (const IndexType &index) const override |
const char * | GetNameOfClass () const override |
virtual const SigmaArrayType & | GetSigma () const |
void | SetExtent (const double extent) |
void | SetInputImage (const InputImageType *ptr) override |
void | SetSigma (const double *sigma) |
void | SetSigma (const double sigma) |
void | SetSigma (const float *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 () |
Public Member Functions inherited from itk::ImageFunction< TInputImage, double > | |
void | ConvertContinuousIndexToNearestIndex (const ContinuousIndexType &cindex, IndexType &index) const |
void | ConvertPointToContinuousIndex (const PointType &point, ContinuousIndexType &cindex) const |
OutputType | Evaluate (const PointType &point) const override=0 |
virtual double | EvaluateAtContinuousIndex (const ContinuousIndexType &index) const=0 |
virtual double | EvaluateAtIndex (const IndexType &index) const=0 |
virtual const ContinuousIndexType & | GetEndContinuousIndex () const |
virtual const IndexType & | GetEndIndex () const |
const InputImageType * | GetInputImage () const |
const char * | GetNameOfClass () const override |
virtual const ContinuousIndexType & | GetStartContinuousIndex () const |
virtual const IndexType & | GetStartIndex () const |
virtual void | SetInputImage (const InputImageType *ptr) |
virtual bool | IsInsideBuffer (const IndexType &index) const |
virtual bool | IsInsideBuffer (const ContinuousIndexType &index) const |
virtual bool | IsInsideBuffer (const PointType &point) const |
void | ConvertPointToNearestIndex (const PointType &point, IndexType &index) const |
virtual OutputType | Evaluate (const InputType &input) const=0 |
const char * | GetNameOfClass () const override |
Public Member Functions inherited from itk::Object | |
unsigned long | AddObserver (const EventObject &event, Command *cmd) const |
unsigned long | AddObserver (const EventObject &event, std::function< void(const EventObject &)> function) const |
LightObject::Pointer | CreateAnother () const override |
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 |
const char * | GetNameOfClass () const override |
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) const |
void | SetDebug (bool debugFlag) const |
void | SetReferenceCount (int) override |
void | UnRegister () const noexcept override |
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 | |
Pointer | Clone () const |
virtual Pointer | CreateAnother () const |
virtual void | Delete () |
virtual const char * | GetNameOfClass () const |
virtual int | GetReferenceCount () const |
void | Print (std::ostream &os, Indent indent=0) const |
virtual void | Register () const |
virtual void | SetReferenceCount (int) |
virtual void | UnRegister () const noexcept |
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 val) |
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, double > | |
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, double > | |
ImageFunction () | |
void | PrintSelf (std::ostream &os, Indent indent) const override |
~ImageFunction () override=default | |
Protected Member Functions inherited from itk::FunctionBase< Point< float, TInputImage::ImageDimension >, double > | |
FunctionBase ()=default | |
~FunctionBase () override=default | |
Protected Member Functions inherited from itk::Object | |
Object () | |
bool | PrintObservers (std::ostream &os, Indent indent) const |
void | PrintSelf (std::ostream &os, Indent indent) const override |
virtual void | SetTimeStamp (const TimeStamp &timeStamp) |
~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 | PrintSelf (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 |
Private Attributes | |
OperatorArrayType | m_ContinuousOperatorArray {} |
ExtentArrayType | m_Extent {} |
unsigned int | m_FilterDimensionality {} |
GaussianFunctionPointer | m_GaussianFunction {} |
InternalImagePointer | m_InternalImage {} |
ErrorArrayType | m_MaximumError {} |
int | m_MaximumKernelWidth {} |
OperatorArrayType | m_OperatorArray {} |
OperatorImageFunctionPointer | m_OperatorImageFunction {} |
OperatorInternalImageFunctionPointer | m_OperatorInternalImageFunction {} |
SigmaArrayType | m_Sigma {} |
bool | m_UseImageSpacing { true } |
Additional Inherited Members | |
Protected Attributes inherited from itk::ImageFunction< TInputImage, double > | |
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 52 of file itkGaussianBlurImageFunction.h.
using itk::GaussianBlurImageFunction< TInputImage, TOutput >::ErrorArrayType = itk::FixedArray<double, Self::ImageDimension> |
Definition at line 85 of file itkGaussianBlurImageFunction.h.
using itk::GaussianBlurImageFunction< TInputImage, TOutput >::ExtentArrayType = itk::FixedArray<double, Self::ImageDimension> |
Definition at line 86 of file itkGaussianBlurImageFunction.h.
using itk::GaussianBlurImageFunction< TInputImage, TOutput >::GaussianFunctionPointer = typename GaussianFunctionType::Pointer |
Definition at line 74 of file itkGaussianBlurImageFunction.h.
using itk::GaussianBlurImageFunction< TInputImage, TOutput >::GaussianFunctionType = GaussianSpatialFunction<TOutput, 1> |
Definition at line 73 of file itkGaussianBlurImageFunction.h.
using itk::GaussianBlurImageFunction< TInputImage, TOutput >::GaussianOperatorType = GaussianOperator<TOutput, Self::ImageDimension> |
Definition at line 69 of file itkGaussianBlurImageFunction.h.
using itk::GaussianBlurImageFunction< TInputImage, TOutput >::InputImageType = TInputImage |
InputImageType type alias support
Definition at line 61 of file itkGaussianBlurImageFunction.h.
using itk::GaussianBlurImageFunction< TInputImage, TOutput >::InputPixelRealType = typename NumericTraits<InputPixelType>::RealType |
Definition at line 75 of file itkGaussianBlurImageFunction.h.
using itk::GaussianBlurImageFunction< TInputImage, TOutput >::InputPixelType = typename InputImageType::PixelType |
Definition at line 62 of file itkGaussianBlurImageFunction.h.
using itk::GaussianBlurImageFunction< TInputImage, TOutput >::InternalImagePointer = typename InternalImageType::Pointer |
Definition at line 77 of file itkGaussianBlurImageFunction.h.
using itk::GaussianBlurImageFunction< TInputImage, TOutput >::InternalImageType = itk::Image<InputPixelRealType, Self::ImageDimension> |
Definition at line 76 of file itkGaussianBlurImageFunction.h.
using itk::GaussianBlurImageFunction< TInputImage, TOutput >::NeighborhoodType = Neighborhood<TOutput, Self::ImageDimension> |
Definition at line 70 of file itkGaussianBlurImageFunction.h.
using itk::GaussianBlurImageFunction< TInputImage, TOutput >::OperatorArrayType = FixedArray<NeighborhoodType, Self::ImageDimension> |
Definition at line 71 of file itkGaussianBlurImageFunction.h.
using itk::GaussianBlurImageFunction< TInputImage, TOutput >::OperatorImageFunctionPointer = typename OperatorImageFunctionType::Pointer |
Definition at line 80 of file itkGaussianBlurImageFunction.h.
using itk::GaussianBlurImageFunction< TInputImage, TOutput >::OperatorImageFunctionType = NeighborhoodOperatorImageFunction<InputImageType, TOutput> |
Definition at line 79 of file itkGaussianBlurImageFunction.h.
using itk::GaussianBlurImageFunction< TInputImage, TOutput >::OperatorInternalImageFunctionPointer = typename OperatorInternalImageFunctionType::Pointer |
Definition at line 83 of file itkGaussianBlurImageFunction.h.
using itk::GaussianBlurImageFunction< TInputImage, TOutput >::OperatorInternalImageFunctionType = NeighborhoodOperatorImageFunction<InternalImageType, TOutput> |
Definition at line 82 of file itkGaussianBlurImageFunction.h.
using itk::GaussianBlurImageFunction< TInputImage, TOutput >::Pointer = SmartPointer<Self> |
Smart pointer type alias support
Definition at line 51 of file itkGaussianBlurImageFunction.h.
using itk::GaussianBlurImageFunction< TInputImage, TOutput >::Self = GaussianBlurImageFunction |
Standard "Self" type alias
Definition at line 45 of file itkGaussianBlurImageFunction.h.
using itk::GaussianBlurImageFunction< TInputImage, TOutput >::SigmaArrayType = itk::FixedArray<double, Self::ImageDimension> |
Definition at line 87 of file itkGaussianBlurImageFunction.h.
using itk::GaussianBlurImageFunction< TInputImage, TOutput >::Superclass = ImageFunction<TInputImage, TOutput> |
Standard "Superclass" type alias
Definition at line 48 of file itkGaussianBlurImageFunction.h.
|
protected |
|
overrideprotecteddefault |
|
overridevirtual |
Evaluate the function in the given dimension at specified point
Implements itk::ImageFunction< TInputImage, double >.
|
overridevirtual |
Evaluate the function at specified ContinuousIndex position.
Implements itk::ImageFunction< TInputImage, double >.
|
overridevirtual |
Evaluate the function at specified Index position
Implements itk::ImageFunction< TInputImage, double >.
|
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
|
overridevirtual |
Reimplemented from itk::Object.
|
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 |
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/Get the Extent of the array holding the coefficients of the Gaussian kernel computed by the GaussianOperator.
|
overridevirtual |
Set the input image.
Reimplemented from itk::ImageFunction< TInputImage, double >.
|
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 double | sigma | ) |
void itk::GaussianBlurImageFunction< TInputImage, TOutput >::SetSigma | ( | const float * | 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.
|
staticconstexpr |
Dimension of the underlying image.
Definition at line 67 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.