diff --git a/Code/ChangeDetection/otbCBAMIChangeDetector.h b/Code/ChangeDetection/otbCBAMIChangeDetector.h index 11a35903842f11016bae16564cb6752af332154f..afe95fbae66bf5412e83c2c24ae56da85813e89d 100644 --- a/Code/ChangeDetection/otbCBAMIChangeDetector.h +++ b/Code/ChangeDetection/otbCBAMIChangeDetector.h @@ -53,7 +53,7 @@ namespace otb * \ingroup IntensityImageFilters Multithreaded */ -#define epsilon 0.01 +// #define EPSILON_VALUE_CBAMI 0.01 namespace Functor { @@ -93,6 +93,8 @@ public: protected: + static const double epsilon = 0.01; + inline void normalizeInPlace(VectorType vx) {