ITK
4.4.0
Insight Segmentation and Registration Toolkit
|
#include <itkManifoldParzenWindowsPointSetFunction.h>
Point set function based on n-dimensional parzen windowing.
This class allows evaluating a function derived from a point set by creating a continuous distribution using manifold parzen windowing. Each point is associated with a Gaussian and local shape can be encoded in the covariance matrix.
Definition at line 45 of file itkManifoldParzenWindowsPointSetFunction.h.
Public Member Functions | |
virtual ::itk::LightObject::Pointer | CreateAnother (void) const |
virtual TOutput | Evaluate (const InputPointType &) const |
virtual unsigned int | GetCovarianceKNeighborhood () const |
virtual unsigned int | GetEvaluationKNeighborhood () const |
GaussianConstPointer | GetGaussian (PointIdentifier) const |
virtual RealType | GetKernelSigma () const |
virtual PointsLocatorType * | GetModifiablePointsLocator () |
virtual bool | GetNormalize () const |
virtual const PointsLocatorType * | GetPointsLocator () const |
virtual RealType | GetRegularizationSigma () const |
virtual bool | GetUseAnisotropicCovariances () const |
virtual void | NormalizeOff () |
virtual void | NormalizeOn () |
virtual void | SetCovarianceKNeighborhood (unsigned int _arg) |
virtual void | SetEvaluationKNeighborhood (unsigned int _arg) |
virtual void | SetInputPointSet (const InputPointSetType *) |
virtual void | SetKernelSigma (RealType _arg) |
virtual void | SetNormalize (bool _arg) |
virtual void | SetRegularizationSigma (RealType _arg) |
virtual void | SetUseAnisotropicCovariances (bool _arg) |
virtual void | UseAnisotropicCovariancesOff () |
virtual void | UseAnisotropicCovariancesOn () |
Public Member Functions inherited from itk::PointSetFunction< TPointSet, TOutput, TCoordRep > | |
virtual TOutput | Evaluate (const InputPointType &point) const =0 |
const InputPointSetType * | GetInputPointSet () const |
virtual const char * | GetNameOfClass () const |
virtual void | SetInputPointSet (const InputPointSetType *ptr) |
Public Member Functions inherited from itk::FunctionBase< TPointSet::PointType, TOutput > | |
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 (void) |
const MetaDataDictionary & | GetMetaDataDictionary (void) 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 |
void | RemoveAllObservers () |
void | RemoveObserver (unsigned long tag) |
void | SetDebug (bool debugFlag) const |
void | SetMetaDataDictionary (const MetaDataDictionary &rhs) |
virtual void | SetReferenceCount (int) |
virtual void | UnRegister () 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 Attributes | |
static const unsigned int | PointDimension = TPointSet::PointDimension |
Static Public Attributes inherited from itk::PointSetFunction< TPointSet, TOutput, TCoordRep > | |
static const unsigned int | Dimension |
Protected Member Functions | |
void | GenerateData () |
ManifoldParzenWindowsPointSetFunction () | |
void | PrintSelf (std::ostream &os, Indent indent) const |
virtual | ~ManifoldParzenWindowsPointSetFunction () |
Protected Member Functions inherited from itk::PointSetFunction< TPointSet, TOutput, TCoordRep > | |
PointSetFunction () | |
void | PrintSelf (std::ostream &os, Indent indent) const |
virtual | ~PointSetFunction () |
Protected Member Functions inherited from itk::FunctionBase< TPointSet::PointType, 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 | |
ManifoldParzenWindowsPointSetFunction (const Self &) | |
void | operator= (const Self &) |
Private Attributes | |
unsigned int | m_CovarianceKNeighborhood |
unsigned int | m_EvaluationKNeighborhood |
GaussianContainerType | m_Gaussians |
RealType | m_KernelSigma |
bool | m_Normalize |
PointsLocatorType::Pointer | m_PointsLocator |
RealType | m_RegularizationSigma |
bool | m_UseAnisotropicCovariances |
Additional Inherited Members | |
Protected Types inherited from itk::LightObject | |
typedef int | InternalReferenceCountType |
Protected Attributes inherited from itk::PointSetFunction< TPointSet, TOutput, TCoordRep > | |
InputPointSetConstPointer | m_PointSet |
typedef SmartPointer<const Self> itk::ManifoldParzenWindowsPointSetFunction< TPointSet, TOutput, TCoordRep >::ConstPointer |
Definition at line 52 of file itkManifoldParzenWindowsPointSetFunction.h.
typedef TCoordRep itk::ManifoldParzenWindowsPointSetFunction< TPointSet, TOutput, TCoordRep >::CoordRepType |
Definition at line 72 of file itkManifoldParzenWindowsPointSetFunction.h.
typedef GaussianType::CovarianceMatrixType itk::ManifoldParzenWindowsPointSetFunction< TPointSet, TOutput, TCoordRep >::CovarianceMatrixType |
Definition at line 83 of file itkManifoldParzenWindowsPointSetFunction.h.
typedef GaussianType::ConstPointer itk::ManifoldParzenWindowsPointSetFunction< TPointSet, TOutput, TCoordRep >::GaussianConstPointer |
Definition at line 81 of file itkManifoldParzenWindowsPointSetFunction.h.
typedef std::vector<GaussianPointer> itk::ManifoldParzenWindowsPointSetFunction< TPointSet, TOutput, TCoordRep >::GaussianContainerType |
Definition at line 82 of file itkManifoldParzenWindowsPointSetFunction.h.
typedef GaussianType::Pointer itk::ManifoldParzenWindowsPointSetFunction< TPointSet, TOutput, TCoordRep >::GaussianPointer |
Definition at line 80 of file itkManifoldParzenWindowsPointSetFunction.h.
typedef Statistics:: GaussianMembershipFunction<PointType> itk::ManifoldParzenWindowsPointSetFunction< TPointSet, TOutput, TCoordRep >::GaussianType |
Definition at line 79 of file itkManifoldParzenWindowsPointSetFunction.h.
typedef Superclass::InputPointSetType itk::ManifoldParzenWindowsPointSetFunction< TPointSet, TOutput, TCoordRep >::InputPointSetType |
Definition at line 60 of file itkManifoldParzenWindowsPointSetFunction.h.
typedef Superclass::InputPointType itk::ManifoldParzenWindowsPointSetFunction< TPointSet, TOutput, TCoordRep >::InputPointType |
Definition at line 61 of file itkManifoldParzenWindowsPointSetFunction.h.
typedef PointsLocatorType::NeighborsIdentifierType itk::ManifoldParzenWindowsPointSetFunction< TPointSet, TOutput, TCoordRep >::NeighborsIdentifierType |
Definition at line 76 of file itkManifoldParzenWindowsPointSetFunction.h.
typedef TOutput itk::ManifoldParzenWindowsPointSetFunction< TPointSet, TOutput, TCoordRep >::OutputType |
Definition at line 71 of file itkManifoldParzenWindowsPointSetFunction.h.
typedef SmartPointer<Self> itk::ManifoldParzenWindowsPointSetFunction< TPointSet, TOutput, TCoordRep >::Pointer |
Definition at line 51 of file itkManifoldParzenWindowsPointSetFunction.h.
typedef PointsContainer::ElementIdentifier itk::ManifoldParzenWindowsPointSetFunction< TPointSet, TOutput, TCoordRep >::PointIdentifier |
Definition at line 67 of file itkManifoldParzenWindowsPointSetFunction.h.
typedef PointSetType::PointsContainer itk::ManifoldParzenWindowsPointSetFunction< TPointSet, TOutput, TCoordRep >::PointsContainer |
Definition at line 66 of file itkManifoldParzenWindowsPointSetFunction.h.
typedef TPointSet itk::ManifoldParzenWindowsPointSetFunction< TPointSet, TOutput, TCoordRep >::PointSetType |
Point set typedef support.
Definition at line 64 of file itkManifoldParzenWindowsPointSetFunction.h.
typedef PointsLocator< PointsContainer> itk::ManifoldParzenWindowsPointSetFunction< TPointSet, TOutput, TCoordRep >::PointsLocatorType |
Typedef for points locator class to speed up finding neighboring points
Definition at line 75 of file itkManifoldParzenWindowsPointSetFunction.h.
typedef PointSetType::PointType itk::ManifoldParzenWindowsPointSetFunction< TPointSet, TOutput, TCoordRep >::PointType |
Definition at line 65 of file itkManifoldParzenWindowsPointSetFunction.h.
typedef TOutput itk::ManifoldParzenWindowsPointSetFunction< TPointSet, TOutput, TCoordRep >::RealType |
Other typedef
Definition at line 70 of file itkManifoldParzenWindowsPointSetFunction.h.
typedef ManifoldParzenWindowsPointSetFunction itk::ManifoldParzenWindowsPointSetFunction< TPointSet, TOutput, TCoordRep >::Self |
Definition at line 49 of file itkManifoldParzenWindowsPointSetFunction.h.
typedef PointSetFunction<TPointSet, TOutput, TCoordRep> itk::ManifoldParzenWindowsPointSetFunction< TPointSet, TOutput, TCoordRep >::Superclass |
Definition at line 50 of file itkManifoldParzenWindowsPointSetFunction.h.
|
protected |
|
protectedvirtual |
|
private |
|
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 |
Evaluate function value at specified point
|
protected |
|
virtual |
Get the covariance k neighborhood size. Default = 5.
|
virtual |
Get the evaluation K neighborhood. Default = 50.
GaussianConstPointer itk::ManifoldParzenWindowsPointSetFunction< TPointSet, TOutput, TCoordRep >::GetGaussian | ( | PointIdentifier | ) | const |
Get Gaussian corresponding to a specific point
|
virtual |
Get the kernel sigma. Default = 1.0.
|
virtual |
Get the points locator describing the point set neighborhood
|
virtual |
Normalize covariance by the sum of the weights of the nearest neighbors. Default = true.
|
virtual |
|
virtual |
Get the regularization sigma. Default = 1.0.
|
virtual |
Construct covariances using the local neighborhood point set structure. Otherwise, the Gaussian for each point is characterized by the value of m_RegularizationSigma. Default = true.
|
static |
Method for creation through the object factory.
|
virtual |
|
virtual |
Normalize covariance by the sum of the weights of the nearest neighbors. Default = true.
|
private |
|
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.
|
virtual |
Helper functions Set the covariance K neighborhood. For a given point the closest K points are used to construct the corresponding covariance reflecting the local point set structure. Default = 5.
|
virtual |
Set the evaluation K neighborhood. To evaluate the the manifold parzen windows function, one could sum the value contributed by each Gaussian or to speed calculation, we could sum the value contributed by the nearest K Gaussians. Default = 50.
|
virtual |
Set the input point set
|
virtual |
Set the kernel sigma. In constructing the covariance from k neighbors, a Gaussian is used to weight more strongly the closest neighbors. This defines that weighting Gaussian. Default = 1.0.
|
virtual |
Normalize covariance by the sum of the weights of the nearest neighbors. Default = true.
|
virtual |
Set the regularization sigma. To avoid singular covariance matrices, a regularization sigma value is added to the diagonal. Default = 1.0.
|
virtual |
Construct covariances using the local neighborhood point set structure. Otherwise, the Gaussian for each point is characterized by the value of m_RegularizationSigma. Default = true.
|
virtual |
|
virtual |
Construct covariances using the local neighborhood point set structure. Otherwise, the Gaussian for each point is characterized by the value of m_RegularizationSigma. Default = true.
|
private |
Definition at line 192 of file itkManifoldParzenWindowsPointSetFunction.h.
|
private |
Definition at line 193 of file itkManifoldParzenWindowsPointSetFunction.h.
|
private |
Definition at line 197 of file itkManifoldParzenWindowsPointSetFunction.h.
|
private |
Definition at line 195 of file itkManifoldParzenWindowsPointSetFunction.h.
|
private |
Definition at line 198 of file itkManifoldParzenWindowsPointSetFunction.h.
|
private |
Definition at line 190 of file itkManifoldParzenWindowsPointSetFunction.h.
|
private |
Definition at line 194 of file itkManifoldParzenWindowsPointSetFunction.h.
|
private |
Definition at line 199 of file itkManifoldParzenWindowsPointSetFunction.h.
|
static |
Extract dimension from output image.
Definition at line 58 of file itkManifoldParzenWindowsPointSetFunction.h.