ITK
6.0.0
Insight 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 46 of file itkManifoldParzenWindowsPointSetFunction.h.
Public Member Functions | |
TOutput | Evaluate (const InputPointType &) const override |
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 RealType | GetRegularizationSigma () const |
virtual bool | GetUseAnisotropicCovariances () const |
virtual void | NormalizeOn () |
virtual void | SetCovarianceKNeighborhood (unsigned int _arg) |
virtual void | SetEvaluationKNeighborhood (unsigned int _arg) |
void | SetInputPointSet (const InputPointSetType *) override |
virtual void | SetKernelSigma (RealType _arg) |
virtual void | SetNormalize (bool _arg) |
virtual void | SetRegularizationSigma (RealType _arg) |
virtual void | SetUseAnisotropicCovariances (bool _arg) |
virtual void | UseAnisotropicCovariancesOn () |
Public Member Functions inherited from itk::PointSetFunction< TPointSet, TOutput, TCoordRep > | |
const InputPointSetType * | GetInputPointSet () const |
const char * | GetNameOfClass () const override |
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 *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 |
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 void | Delete () |
virtual int | GetReferenceCount () const |
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 val) |
Static Public Member Functions inherited from itk::LightObject | |
static void | BreakOnError () |
static Pointer | New () |
Static Public Attributes | |
static constexpr unsigned int | PointDimension = TPointSet::PointDimension |
Static Public Attributes inherited from itk::PointSetFunction< TPointSet, TOutput, TCoordRep > | |
static constexpr unsigned int | Dimension |
Protected Member Functions | |
void | GenerateData () |
ManifoldParzenWindowsPointSetFunction () | |
void | PrintSelf (std::ostream &os, Indent indent) const override |
~ManifoldParzenWindowsPointSetFunction () override=default | |
Protected Member Functions inherited from itk::PointSetFunction< TPointSet, TOutput, TCoordRep > | |
PointSetFunction () | |
void | PrintSelf (std::ostream &os, Indent indent) const override |
~PointSetFunction () override=default | |
Protected Member Functions inherited from itk::FunctionBase< TPointSet ::PointType, 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 &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 | PrintTrailer (std::ostream &os, Indent indent) const |
virtual | ~LightObject () |
Private Attributes | |
unsigned int | m_CovarianceKNeighborhood { 5 } |
unsigned int | m_EvaluationKNeighborhood { 50 } |
GaussianContainerType | m_Gaussians {} |
RealType | m_KernelSigma {} |
MultiThreaderBase::Pointer | m_MultiThreader {} |
bool | m_Normalize { true } |
PointsLocatorType::Pointer | m_PointsLocator {} |
RealType | m_RegularizationSigma {} |
bool | m_UseAnisotropicCovariances { true } |
Additional Inherited Members | |
Protected Attributes inherited from itk::PointSetFunction< TPointSet, TOutput, TCoordRep > | |
InputPointSetConstPointer | m_PointSet |
Protected Attributes inherited from itk::LightObject | |
std::atomic< int > | m_ReferenceCount {} |
using itk::ManifoldParzenWindowsPointSetFunction< TPointSet, TOutput, TCoordRep >::ConstPointer = SmartPointer<const Self> |
Definition at line 54 of file itkManifoldParzenWindowsPointSetFunction.h.
using itk::ManifoldParzenWindowsPointSetFunction< TPointSet, TOutput, TCoordRep >::CoordRepType = TCoordRep |
Definition at line 74 of file itkManifoldParzenWindowsPointSetFunction.h.
using itk::ManifoldParzenWindowsPointSetFunction< TPointSet, TOutput, TCoordRep >::CovarianceMatrixType = typename GaussianType::CovarianceMatrixType |
Definition at line 84 of file itkManifoldParzenWindowsPointSetFunction.h.
using itk::ManifoldParzenWindowsPointSetFunction< TPointSet, TOutput, TCoordRep >::GaussianConstPointer = typename GaussianType::ConstPointer |
Definition at line 82 of file itkManifoldParzenWindowsPointSetFunction.h.
using itk::ManifoldParzenWindowsPointSetFunction< TPointSet, TOutput, TCoordRep >::GaussianContainerType = std::vector<GaussianPointer> |
Definition at line 83 of file itkManifoldParzenWindowsPointSetFunction.h.
using itk::ManifoldParzenWindowsPointSetFunction< TPointSet, TOutput, TCoordRep >::GaussianPointer = typename GaussianType::Pointer |
Definition at line 81 of file itkManifoldParzenWindowsPointSetFunction.h.
using itk::ManifoldParzenWindowsPointSetFunction< TPointSet, TOutput, TCoordRep >::GaussianType = typename Statistics::GaussianMembershipFunction<PointType> |
Definition at line 80 of file itkManifoldParzenWindowsPointSetFunction.h.
using itk::ManifoldParzenWindowsPointSetFunction< TPointSet, TOutput, TCoordRep >::NeighborsIdentifierType = typename PointsLocatorType::NeighborsIdentifierType |
Definition at line 78 of file itkManifoldParzenWindowsPointSetFunction.h.
using itk::ManifoldParzenWindowsPointSetFunction< TPointSet, TOutput, TCoordRep >::OutputType = TOutput |
Definition at line 73 of file itkManifoldParzenWindowsPointSetFunction.h.
using itk::ManifoldParzenWindowsPointSetFunction< TPointSet, TOutput, TCoordRep >::Pointer = SmartPointer<Self> |
Definition at line 53 of file itkManifoldParzenWindowsPointSetFunction.h.
using itk::ManifoldParzenWindowsPointSetFunction< TPointSet, TOutput, TCoordRep >::PointIdentifier = typename PointsContainer::ElementIdentifier |
Definition at line 69 of file itkManifoldParzenWindowsPointSetFunction.h.
using itk::ManifoldParzenWindowsPointSetFunction< TPointSet, TOutput, TCoordRep >::PointsContainer = typename PointSetType::PointsContainer |
Definition at line 68 of file itkManifoldParzenWindowsPointSetFunction.h.
using itk::ManifoldParzenWindowsPointSetFunction< TPointSet, TOutput, TCoordRep >::PointSetType = TPointSet |
Point set type alias support
Definition at line 66 of file itkManifoldParzenWindowsPointSetFunction.h.
using itk::ManifoldParzenWindowsPointSetFunction< TPointSet, TOutput, TCoordRep >::PointsLocatorType = PointsLocator<PointsContainer> |
Typedef for points locator class to speed up finding neighboring points
Definition at line 77 of file itkManifoldParzenWindowsPointSetFunction.h.
using itk::ManifoldParzenWindowsPointSetFunction< TPointSet, TOutput, TCoordRep >::PointType = typename PointSetType::PointType |
Definition at line 67 of file itkManifoldParzenWindowsPointSetFunction.h.
using itk::ManifoldParzenWindowsPointSetFunction< TPointSet, TOutput, TCoordRep >::RealType = TOutput |
Other type alias
Definition at line 72 of file itkManifoldParzenWindowsPointSetFunction.h.
using itk::ManifoldParzenWindowsPointSetFunction< TPointSet, TOutput, TCoordRep >::Self = ManifoldParzenWindowsPointSetFunction |
Definition at line 51 of file itkManifoldParzenWindowsPointSetFunction.h.
using itk::ManifoldParzenWindowsPointSetFunction< TPointSet, TOutput, TCoordRep >::Superclass = PointSetFunction<TPointSet, TOutput, TCoordRep> |
Definition at line 52 of file itkManifoldParzenWindowsPointSetFunction.h.
|
protected |
|
overrideprotecteddefault |
|
overridevirtual |
Evaluate function value at specified point
Implements itk::PointSetFunction< TPointSet, TOutput, TCoordRep >.
|
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 |
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 |
Normalize covariance by the sum of the weights of the nearest neighbors. Default = true.
|
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.
|
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 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.
|
overridevirtual |
Set the input point set
Reimplemented from itk::PointSetFunction< TPointSet, TOutput, TCoordRep >.
|
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 |
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 193 of file itkManifoldParzenWindowsPointSetFunction.h.
|
private |
Definition at line 194 of file itkManifoldParzenWindowsPointSetFunction.h.
|
private |
Definition at line 198 of file itkManifoldParzenWindowsPointSetFunction.h.
|
private |
Definition at line 196 of file itkManifoldParzenWindowsPointSetFunction.h.
|
private |
Definition at line 202 of file itkManifoldParzenWindowsPointSetFunction.h.
|
private |
Definition at line 199 of file itkManifoldParzenWindowsPointSetFunction.h.
|
private |
Definition at line 191 of file itkManifoldParzenWindowsPointSetFunction.h.
|
private |
Definition at line 195 of file itkManifoldParzenWindowsPointSetFunction.h.
|
private |
Definition at line 200 of file itkManifoldParzenWindowsPointSetFunction.h.
|
staticconstexpr |
Extract dimension from output image.
Definition at line 60 of file itkManifoldParzenWindowsPointSetFunction.h.