diff --git a/Modules/Filtering/ImageManipulation/include/otbShiftScaleVectorImageFilter.h b/Modules/Filtering/ImageManipulation/include/otbShiftScaleVectorImageFilter.h index 26422e340c0538841ed32fb43599e91d54a85c47..431bd73669855d003eac211273c4166e93e8176f 100644 --- a/Modules/Filtering/ImageManipulation/include/otbShiftScaleVectorImageFilter.h +++ b/Modules/Filtering/ImageManipulation/include/otbShiftScaleVectorImageFilter.h @@ -142,6 +142,14 @@ private: /** \class ShiftScaleVectorImageFilter * \brief This filter performs a shift and scaling of a vector image on a per band basis. * + * For each band, the following formula is applied : + * + * \f[ output = \frac{input - shift}{scale} \f] + * + * Beware that the behaviour differs from itk::ShiftScaleImageFilter + * (which add shift instead of subtracting it). + * + * \sa VectorShiftScale * \ingroup IntensityImageFilters * \ingroup MultiThreaded * diff --git a/Modules/Filtering/Statistics/include/otbShiftScaleSampleListFilter.h b/Modules/Filtering/Statistics/include/otbShiftScaleSampleListFilter.h index 86449478a6012ee44ae83220e9e8c13fadd88b8e..2a5b07a391c47866b6c70a0f31c11cf9f9a3703e 100644 --- a/Modules/Filtering/Statistics/include/otbShiftScaleSampleListFilter.h +++ b/Modules/Filtering/Statistics/include/otbShiftScaleSampleListFilter.h @@ -31,6 +31,9 @@ namespace Statistics { * * \f[ output = \frac{input - shift}{scale} \f] * + * Beware that the behaviour differs from itk::ShiftScaleImageFilter + * (which add shift instead of subtracting it). + * * Standard casting is applied between input and output type. * * Shifts and scales can be set via the SetShift() and SetScales() methods.