18 #ifndef __itkJensenHavrdaCharvatTsallisPointSetToPointSetMetricv4_h
19 #define __itkJensenHavrdaCharvatTsallisPointSetToPointSetMetricv4_h
70 template<
class TPo
intSet>
91 itkStaticConstMacro( PointDimension,
unsigned int, TPointSet::PointDimension );
131 itkSetClampMacro( Alpha,
RealType, 1.0, 2.0 );
136 itkGetConstMacro( Alpha, RealType );
143 itkSetMacro( PointSetSigma, RealType );
146 itkGetConstMacro( PointSetSigma, RealType );
152 itkSetMacro( EvaluationKNeighborhood,
unsigned int );
158 itkGetConstMacro( EvaluationKNeighborhood,
unsigned int );
164 itkSetMacro( UseAnisotropicCovariances,
bool );
170 itkGetConstMacro( UseAnisotropicCovariances,
bool );
176 itkBooleanMacro( UseAnisotropicCovariances );
183 itkSetMacro( CovarianceKNeighborhood,
unsigned int );
190 itkGetConstMacro( CovarianceKNeighborhood,
unsigned int );
199 itkSetMacro( KernelSigma, RealType );
202 itkGetConstMacro( KernelSigma, RealType );
210 ~JensenHavrdaCharvatTsallisPointSetToPointSetMetricv4();
212 virtual
void InitializeForIteration(
void ) const;
214 void ComputeValueAndDerivative( const PointType & samplePoint, MeasureType &value,
LocalDerivativeType &derivativeReturn,
bool calcValue,
bool calcDerivative ) const;
216 void PrintSelf( std::ostream& os,
Indent indent ) const;
220 JensenHavrdaCharvatTsallisPointSetToPointSetMetricv4( const
Self& );
221 void operator=( const Self& );
226 bool m_UseAnisotropicCovariances;
228 RealType m_PointSetSigma;
229 RealType m_KernelSigma;
230 unsigned int m_CovarianceKNeighborhood;
231 unsigned int m_EvaluationKNeighborhood;
236 mutable RealType m_TotalNumberOfPoints;
237 mutable RealType m_Prefactor0;
238 mutable RealType m_Prefactor1;
244 #ifndef ITK_MANUAL_INSTANTIATION
245 #include "itkJensenHavrdaCharvatTsallisPointSetToPointSetMetricv4.hxx"