18 #ifndef __itkJensenHavrdaCharvatTsallisPointSetToPointSetMetricv4_h
19 #define __itkJensenHavrdaCharvatTsallisPointSetToPointSetMetricv4_h
70 template<
class TPo
intSet>
82 itkSimpleNewMacro(
Self );
91 itkStaticConstMacro( PointDimension,
unsigned int, TPointSet::PointDimension );
132 itkSetClampMacro( Alpha,
RealType, 1.0, 2.0 );
137 itkGetConstMacro( Alpha, RealType );
144 itkSetMacro( PointSetSigma, RealType );
147 itkGetConstMacro( PointSetSigma, RealType );
153 itkSetMacro( EvaluationKNeighborhood,
unsigned int );
159 itkGetConstMacro( EvaluationKNeighborhood,
unsigned int );
165 itkSetMacro( UseAnisotropicCovariances,
bool );
171 itkGetConstMacro( UseAnisotropicCovariances,
bool );
177 itkBooleanMacro( UseAnisotropicCovariances );
184 itkSetMacro( CovarianceKNeighborhood,
unsigned int );
191 itkGetConstMacro( CovarianceKNeighborhood,
unsigned int );
200 itkSetMacro( KernelSigma, RealType );
203 itkGetConstMacro( KernelSigma, RealType );
215 ~JensenHavrdaCharvatTsallisPointSetToPointSetMetricv4();
217 virtual
void InitializeForIteration(
void ) const;
219 void ComputeValueAndDerivative( const PointType & samplePoint, MeasureType &value, LocalDerivativeType &derivativeReturn,
bool calcValue,
bool calcDerivative ) const;
221 void PrintSelf( std::ostream& os,
Indent indent ) const;
225 JensenHavrdaCharvatTsallisPointSetToPointSetMetricv4( const
Self& );
226 void operator=( const Self& );
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"