diff --git a/Code/ChangeDetection/otbKullbackLeiblerProfileImageFilter.h b/Code/ChangeDetection/otbKullbackLeiblerProfileImageFilter.h index 7ac0adde6f2065afc077f071f1d2d5e89e36c284..9a121d3597a3f4f1b0bfef3534e2273420e87084 100644 --- a/Code/ChangeDetection/otbKullbackLeiblerProfileImageFilter.h +++ b/Code/ChangeDetection/otbKullbackLeiblerProfileImageFilter.h @@ -30,7 +30,11 @@ #include "otbBinaryFunctorNeighborhoodVectorImageFilter.h" namespace otb { - + + /** \class CumulantsForEdgeworthProfile + * \brief Helper class for KullbackLeiblerProfileImageFilter. Please refer to KullbackLeibleProfileImageFilter. + * + */ template <class TInput> class CumulantsForEdgeworthProfile { @@ -55,16 +59,16 @@ class CumulantsForEdgeworthProfile protected : - // Estimation des moments à partir de voisinnages emboités + // Estimation des moments � partir de voisinnages emboit�s int MakeSumAndMoments ( const TInput & input, std::vector< itk::Array2D<int> > & mask ); - // Estimation des moments à partir de la petite taille de fenetre + // Estimation des moments � partir de la petite taille de fenetre int InitSumAndMoments ( const TInput & input, itk::Array2D<int> & mask ); // int ReInitSumAndMoments ( const TInput & input, itk::Array2D<int> & mask, int level ); // transformation moment -> cumulants (pour Edgeworth) int MakeCumulants(); - // Attributs internes à la classe + // Attributs internes � la classe double fSum0, fSum1, fSum2, fSum3, fSum4; CumulantSet fMu; CumulantSet fCum; @@ -76,7 +80,10 @@ class CumulantsForEdgeworthProfile }; namespace Functor { - + /** \class KullbackLeiblerProfile + * \brief Functor for KullbackLeiblerProfileImageFilter. Please refer to KullbackLeiblerProfileImageFilter. + * + */ template< class TInput1, class TInput2, class TOutput > class KullbackLeiblerProfile {