18 #ifndef itkJensenHavrdaCharvatTsallisPointSetToPointSetMetricv4_h
19 #define itkJensenHavrdaCharvatTsallisPointSetToPointSetMetricv4_h
70 template<
typename TPo
intSet,
class TInternalComputationValueType =
double>
83 itkSimpleNewMacro(
Self );
92 itkStaticConstMacro( PointDimension,
unsigned int, TPointSet::PointDimension );
122 virtual void Initialize(
void ) ITK_OVERRIDE;
133 itkSetClampMacro( Alpha,
RealType, 1.0, 2.0 );
138 itkGetConstMacro( Alpha, RealType );
145 itkSetMacro( PointSetSigma, RealType );
148 itkGetConstMacro( PointSetSigma, RealType );
154 itkSetMacro( EvaluationKNeighborhood,
unsigned int );
160 itkGetConstMacro( EvaluationKNeighborhood,
unsigned int );
166 itkSetMacro( UseAnisotropicCovariances,
bool );
172 itkGetConstMacro( UseAnisotropicCovariances,
bool );
178 itkBooleanMacro( UseAnisotropicCovariances );
185 itkSetMacro( CovarianceKNeighborhood,
unsigned int );
192 itkGetConstMacro( CovarianceKNeighborhood,
unsigned int );
201 itkSetMacro( KernelSigma, RealType );
204 itkGetConstMacro( KernelSigma, RealType );
207 const
PixelType & pixel = 0 ) const ITK_OVERRIDE;
218 ~JensenHavrdaCharvatTsallisPointSetToPointSetMetricv4() ITK_OVERRIDE;
220 void ComputeValueAndDerivative( const PointType & samplePoint, MeasureType & value,
221 LocalDerivativeType &derivativeReturn,
bool calcValue,
bool calcDerivative ) const;
223 void PrintSelf( std::ostream& os,
Indent indent ) const ITK_OVERRIDE;
226 ITK_DISALLOW_COPY_AND_ASSIGN(JensenHavrdaCharvatTsallisPointSetToPointSetMetricv4);
231 bool m_UseAnisotropicCovariances;
233 RealType m_PointSetSigma;
234 RealType m_KernelSigma;
235 unsigned int m_CovarianceKNeighborhood;
236 unsigned int m_EvaluationKNeighborhood;
241 mutable RealType m_TotalNumberOfPoints;
242 mutable RealType m_Prefactor0;
243 mutable RealType m_Prefactor1;
249 #ifndef ITK_MANUAL_INSTANTIATION
250 #include "itkJensenHavrdaCharvatTsallisPointSetToPointSetMetricv4.hxx"
ManifoldParzenWindowsPointSetFunction< PointSetType, RealType > DensityFunctionType
Superclass::LocalDerivativeType LocalDerivativeType
Light weight base class for most itk classes.
Superclass::PointType PointType
Superclass::NeighborsIdentifierType NeighborsIdentifierType
Superclass::DerivativeValueType DerivativeValueType
SmartPointer< Self > Pointer
Computes similarity between two point sets.
Point set function based on n-dimensional parzen windowing.
SmartPointer< const Self > ConstPointer
Superclass::JacobianType JacobianType
Superclass::MeasureType MeasureType
PointSetType::PointsContainer PointsContainer
Superclass::CoordRepType CoordRepType
Superclass::PixelType PixelType
GaussianMembershipFunction models class membership through a multivariate Gaussian function...
ImageBaseType::PointType PointType
PointSetToPointSetMetricv4< TPointSet, TPointSet, TInternalComputationValueType > Superclass
Superclass::FixedTransformJacobianType FixedTransformJacobianType
DensityFunctionType::GaussianType GaussianType
Superclass::MovingTransformJacobianType MovingTransformJacobianType
Superclass::NumberOfParametersType NumberOfParametersType
Superclass::PointIdentifier PointIdentifier
Control indentation during Print() invocation.
Superclass::DerivativeType DerivativeType
JensenHavrdaCharvatTsallisPointSetToPointSetMetricv4 Self
PointsContainer::ConstIterator PointsContainerConstIterator
Implementation of the Jensen Havrda Charvat Tsallis Point Set metric.
DensityFunctionType::Pointer DensityFunctionPointer