ITK
5.2.0
Insight Toolkit
|
#include <itkManifoldParzenWindowsPointSetFunction.h>
Public Types | |
using | ConstPointer = SmartPointer< const Self > |
using | CoordRepType = TCoordRep |
using | CovarianceMatrixType = typename GaussianType::CovarianceMatrixType |
using | GaussianConstPointer = typename GaussianType::ConstPointer |
using | GaussianContainerType = std::vector< GaussianPointer > |
using | GaussianPointer = typename GaussianType::Pointer |
using | GaussianType = typename Statistics::GaussianMembershipFunction< PointType > |
using | InputPointSetType = typename Superclass::InputPointSetType |
using | InputPointType = typename Superclass::InputPointType |
using | NeighborsIdentifierType = typename PointsLocatorType::NeighborsIdentifierType |
using | OutputType = TOutput |
using | Pointer = SmartPointer< Self > |
using | PointIdentifier = typename PointsContainer::ElementIdentifier |
using | PointsContainer = typename PointSetType::PointsContainer |
using | PointSetType = TPointSet |
using | PointsLocatorType = PointsLocator< PointsContainer > |
using | PointType = typename PointSetType::PointType |
using | RealType = TOutput |
using | Self = ManifoldParzenWindowsPointSetFunction |
using | Superclass = PointSetFunction< TPointSet, TOutput, TCoordRep > |
Public Types inherited from itk::PointSetFunction< TPointSet, TOutput, TCoordRep > | |
using | ConstPointer = SmartPointer< const Self > |
using | CoordRepType = TCoordRep |
using | InputPixelType = typename InputPointSetType::PixelType |
using | InputPointSetConstPointer = typename InputPointSetType::ConstPointer |
using | InputPointSetType = TPointSet |
using | InputPointType = typename InputPointSetType::PointType |
using | OutputType = TOutput |
using | Pointer = SmartPointer< Self > |
using | Self = PointSetFunction |
using | Superclass = FunctionBase< typename TPointSet ::PointType, TOutput > |
Public Types inherited from itk::FunctionBase< TPointSet ::PointType, TOutput > | |
using | ConstPointer = SmartPointer< const Self > |
using | InputType = TPointSet ::PointType |
using | OutputType = TOutput |
using | Pointer = SmartPointer< Self > |
using | Self = FunctionBase |
using | Superclass = Object |
Public Types inherited from itk::Object | |
using | ConstPointer = SmartPointer< const Self > |
using | Pointer = SmartPointer< Self > |
using | Self = Object |
using | Superclass = LightObject |
Public Types inherited from itk::LightObject | |
using | ConstPointer = SmartPointer< const Self > |
using | Pointer = SmartPointer< Self > |
using | Self = LightObject |
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 () |
Public Member Functions inherited from itk::PointSetFunction< TPointSet, TOutput, TCoordRep > | |
TOutput | Evaluate (const InputPointType &point) const override=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 |
unsigned long | AddObserver (const EventObject &event, std::function< void(const EventObject &)> function) 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 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 () | |
~Object () override | |
bool | PrintObservers (std::ostream &os, Indent indent) const |
virtual void | SetTimeStamp (const TimeStamp &timeStamp) |
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 |
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.
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 >::InputPointSetType = typename Superclass::InputPointSetType |
Definition at line 62 of file itkManifoldParzenWindowsPointSetFunction.h.
using itk::ManifoldParzenWindowsPointSetFunction< TPointSet, TOutput, TCoordRep >::InputPointType = typename Superclass::InputPointType |
Definition at line 63 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 |
|
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 |
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.
|
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 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.
|
override |
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 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.