#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 | |
virtual::itk::LightObject::Pointer | CreateAnother () const |
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 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) |
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 | UseAnisotropicCovariancesOff () |
virtual void | UseAnisotropicCovariancesOn () |
![]() | |
const InputPointSetType * | GetInputPointSet () const |
const char * | GetNameOfClass () const override |
![]() | |
virtual OutputType | Evaluate (const InputType &input) const=0 |
![]() | |
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 |
![]() | |
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 bool | GetGlobalWarningDisplay () |
static void | GlobalWarningDisplayOff () |
static void | GlobalWarningDisplayOn () |
static Pointer | New () |
static void | SetGlobalWarningDisplay (bool val) |
![]() | |
static void | BreakOnError () |
static Pointer | New () |
Static Public Attributes | |
static constexpr unsigned int | PointDimension = TPointSet::PointDimension |
![]() | |
static constexpr unsigned int | Dimension |
Protected Member Functions | |
void | GenerateData () |
ManifoldParzenWindowsPointSetFunction () | |
void | PrintSelf (std::ostream &os, Indent indent) const override |
~ManifoldParzenWindowsPointSetFunction () override=default | |
![]() | |
PointSetFunction () | |
void | PrintSelf (std::ostream &os, Indent indent) const override |
~PointSetFunction () override=default | |
![]() | |
FunctionBase ()=default | |
~FunctionBase () override=default | |
![]() | |
Object () | |
bool | PrintObservers (std::ostream &os, Indent indent) const |
virtual void | SetTimeStamp (const TimeStamp &timeStamp) |
~Object () override | |
![]() | |
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 | |
![]() | |
InputPointSetConstPointer | m_PointSet |
![]() | |
std::atomic< int > | m_ReferenceCount {} |
using itk::ManifoldParzenWindowsPointSetFunction< TPointSet, TOutput, TCoordinate >::ConstPointer = SmartPointer<const Self> |
Definition at line 55 of file itkManifoldParzenWindowsPointSetFunction.h.
using itk::ManifoldParzenWindowsPointSetFunction< TPointSet, TOutput, TCoordinate >::CoordinateType = TCoordinate |
Definition at line 75 of file itkManifoldParzenWindowsPointSetFunction.h.
using itk::ManifoldParzenWindowsPointSetFunction< TPointSet, TOutput, TCoordinate >::CovarianceMatrixType = typename GaussianType::CovarianceMatrixType |
Definition at line 89 of file itkManifoldParzenWindowsPointSetFunction.h.
using itk::ManifoldParzenWindowsPointSetFunction< TPointSet, TOutput, TCoordinate >::GaussianConstPointer = typename GaussianType::ConstPointer |
Definition at line 87 of file itkManifoldParzenWindowsPointSetFunction.h.
using itk::ManifoldParzenWindowsPointSetFunction< TPointSet, TOutput, TCoordinate >::GaussianContainerType = std::vector<GaussianPointer> |
Definition at line 88 of file itkManifoldParzenWindowsPointSetFunction.h.
using itk::ManifoldParzenWindowsPointSetFunction< TPointSet, TOutput, TCoordinate >::GaussianPointer = typename GaussianType::Pointer |
Definition at line 86 of file itkManifoldParzenWindowsPointSetFunction.h.
using itk::ManifoldParzenWindowsPointSetFunction< TPointSet, TOutput, TCoordinate >::GaussianType = typename Statistics::GaussianMembershipFunction<PointType> |
Definition at line 85 of file itkManifoldParzenWindowsPointSetFunction.h.
using itk::PointSetFunction< TPointSet, TOutput, TCoordinate >::InputPointSetType |
InputPointSetType type alias support
Definition at line 74 of file itkPointSetFunction.h.
using itk::PointSetFunction< TPointSet, TOutput, TCoordinate >::InputPointType |
InputPixel type alias support
Definition at line 77 of file itkPointSetFunction.h.
using itk::ManifoldParzenWindowsPointSetFunction< TPointSet, TOutput, TCoordinate >::NeighborsIdentifierType = typename PointsLocatorType::NeighborsIdentifierType |
Definition at line 83 of file itkManifoldParzenWindowsPointSetFunction.h.
using itk::ManifoldParzenWindowsPointSetFunction< TPointSet, TOutput, TCoordinate >::OutputType = TOutput |
Definition at line 74 of file itkManifoldParzenWindowsPointSetFunction.h.
using itk::ManifoldParzenWindowsPointSetFunction< TPointSet, TOutput, TCoordinate >::Pointer = SmartPointer<Self> |
Definition at line 54 of file itkManifoldParzenWindowsPointSetFunction.h.
using itk::ManifoldParzenWindowsPointSetFunction< TPointSet, TOutput, TCoordinate >::PointIdentifier = typename PointsContainer::ElementIdentifier |
Definition at line 70 of file itkManifoldParzenWindowsPointSetFunction.h.
using itk::ManifoldParzenWindowsPointSetFunction< TPointSet, TOutput, TCoordinate >::PointsContainer = typename PointSetType::PointsContainer |
Definition at line 69 of file itkManifoldParzenWindowsPointSetFunction.h.
using itk::ManifoldParzenWindowsPointSetFunction< TPointSet, TOutput, TCoordinate >::PointSetType = TPointSet |
Point set type alias support
Definition at line 67 of file itkManifoldParzenWindowsPointSetFunction.h.
using itk::ManifoldParzenWindowsPointSetFunction< TPointSet, TOutput, TCoordinate >::PointsLocatorType = PointsLocator<PointsContainer> |
Typedef for points locator class to speed up finding neighboring points
Definition at line 82 of file itkManifoldParzenWindowsPointSetFunction.h.
using itk::ManifoldParzenWindowsPointSetFunction< TPointSet, TOutput, TCoordinate >::PointType = typename PointSetType::PointType |
Definition at line 68 of file itkManifoldParzenWindowsPointSetFunction.h.
using itk::ManifoldParzenWindowsPointSetFunction< TPointSet, TOutput, TCoordinate >::RealType = TOutput |
Other type alias
Definition at line 73 of file itkManifoldParzenWindowsPointSetFunction.h.
using itk::ManifoldParzenWindowsPointSetFunction< TPointSet, TOutput, TCoordinate >::Self = ManifoldParzenWindowsPointSetFunction |
Definition at line 52 of file itkManifoldParzenWindowsPointSetFunction.h.
using itk::ManifoldParzenWindowsPointSetFunction< TPointSet, TOutput, TCoordinate >::Superclass = PointSetFunction<TPointSet, TOutput, TCoordinate> |
Definition at line 53 of file itkManifoldParzenWindowsPointSetFunction.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::LightObject.
|
overridevirtual |
Evaluate function value at specified point
Implements itk::PointSetFunction< TPointSet, double, double >.
|
protected |
|
virtual |
Get the covariance k neighborhood size. Default = 5.
|
virtual |
Get the evaluation K neighborhood. Default = 50.
GaussianConstPointer itk::ManifoldParzenWindowsPointSetFunction< TPointSet, TOutput, TCoordinate >::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.
|
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::LightObject.
|
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, double, double >.
|
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 198 of file itkManifoldParzenWindowsPointSetFunction.h.
|
private |
Definition at line 199 of file itkManifoldParzenWindowsPointSetFunction.h.
|
private |
Definition at line 203 of file itkManifoldParzenWindowsPointSetFunction.h.
|
private |
Definition at line 201 of file itkManifoldParzenWindowsPointSetFunction.h.
|
private |
Definition at line 207 of file itkManifoldParzenWindowsPointSetFunction.h.
|
private |
Definition at line 204 of file itkManifoldParzenWindowsPointSetFunction.h.
|
private |
Definition at line 196 of file itkManifoldParzenWindowsPointSetFunction.h.
|
private |
Definition at line 200 of file itkManifoldParzenWindowsPointSetFunction.h.
|
private |
Definition at line 205 of file itkManifoldParzenWindowsPointSetFunction.h.
|
staticconstexpr |
Extract dimension from output image.
Definition at line 61 of file itkManifoldParzenWindowsPointSetFunction.h.