From beed2be4b933c85deffc6e874a897211520b3703 Mon Sep 17 00:00:00 2001
From: Julien Michel <julien.michel@orfeo-toolbox.org>
Date: Wed, 3 Nov 2010 08:23:10 +0100
Subject: [PATCH] ENH: Enhancing filter documentation

---
 Code/Learning/otbShiftScaleSampleListFilter.h | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/Code/Learning/otbShiftScaleSampleListFilter.h b/Code/Learning/otbShiftScaleSampleListFilter.h
index 17d9c32b9e..980a010a88 100644
--- a/Code/Learning/otbShiftScaleSampleListFilter.h
+++ b/Code/Learning/otbShiftScaleSampleListFilter.h
@@ -26,10 +26,19 @@ namespace otb {
 namespace Statistics {
 
 /** \class ShiftScaleSampleListFilter
- *  \brief This class generate a centered and reduced sample list from and input sample list.
+ *  \brief This class generate a shifted and scaled version of the input sample list
+ *
+ *  For each component of the sample, the following formula is applied :
+ *
+ *  \f[ output = \frac{input - shift}{scale} \f]
+ *
+ *	Standard casting is applied between input and output type.
  *
  *	Shifts and scales can be set via the SetShift() and SetScales() methods.
  *
+ *	This filter provide pipeline support for itk::Statistics::ListSample via itk::DataObjectDecorator for
+ *	both the input and the output sample list.
+ *
  * \sa ImageToListAdaptor
  */
 template < class TInputSampleList, class TOutputSampleList = TInputSampleList >
-- 
GitLab