18#ifndef itkManifoldParzenWindowsPointSetFunction_h
19#define itkManifoldParzenWindowsPointSetFunction_h
45template <
typename TPo
intSet,
typename TOutput =
double,
typename TCoordinate =
double>
61 static constexpr unsigned int PointDimension = TPointSet::PointDimension;
63 using typename Superclass::InputPointSetType;
64 using typename Superclass::InputPointType;
76#ifndef ITK_FUTURE_LEGACY_REMOVE
77 using CoordRepType ITK_FUTURE_DEPRECATED(
78 "ITK 6 discourages using `CoordRepType`. Please use `CoordinateType` instead!") =
CoordinateType;
98 itkSetMacro(CovarianceKNeighborhood,
unsigned int);
101 itkGetConstMacro(CovarianceKNeighborhood,
unsigned int);
109 itkSetMacro(EvaluationKNeighborhood,
unsigned int);
112 itkGetConstMacro(EvaluationKNeighborhood,
unsigned int);
137 itkSetMacro(Normalize,
bool);
143 itkGetConstMacro(Normalize,
bool);
149 itkBooleanMacro(Normalize);
156 itkSetMacro(UseAnisotropicCovariances,
bool);
163 itkGetConstMacro(UseAnisotropicCovariances,
bool);
170 itkBooleanMacro(UseAnisotropicCovariances);
198 unsigned int m_CovarianceKNeighborhood{ 5 };
199 unsigned int m_EvaluationKNeighborhood{ 50 };
204 bool m_Normalize{
true };
205 bool m_UseAnisotropicCovariances{
true };
212#ifndef ITK_MANUAL_INSTANTIATION
213# include "itkManifoldParzenWindowsPointSetFunction.hxx"
Control indentation during Print() invocation.
Light weight base class for most itk classes.
Point set function based on n-dimensional parzen windowing.
~ManifoldParzenWindowsPointSetFunction() override=default
typename Statistics::GaussianMembershipFunction< PointType > GaussianType
typename PointSetType::PointsContainer PointsContainer
TCoordinate CoordinateType
typename GaussianType::CovarianceMatrixType CovarianceMatrixType
typename PointSetType::PointType PointType
ManifoldParzenWindowsPointSetFunction()
std::vector< GaussianPointer > GaussianContainerType
void SetInputPointSet(const InputPointSetType *) override
TOutput Evaluate(const InputPointType &) const override
typename GaussianType::ConstPointer GaussianConstPointer
GaussianConstPointer GetGaussian(PointIdentifier) const
void PrintSelf(std::ostream &os, Indent indent) const override
typename GaussianType::Pointer GaussianPointer
typename PointsLocatorType::NeighborsIdentifierType NeighborsIdentifierType
typename PointsContainer::ElementIdentifier PointIdentifier
Evaluates a function of an image at specified position.
typename InputPointSetType::PointType InputPointType
TPointSet InputPointSetType
Accelerate geometric searches for points.
typename TreeType::InstanceIdentifierVectorType NeighborsIdentifierType
GaussianMembershipFunction models class membership through a multivariate Gaussian function.
SmartPointer< const Self > ConstPointer
SmartPointer< Self > Pointer
ImageBaseType::PointType PointType
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....