diff --git a/Modules/Applications/AppIndices/app/otbRadiometricIndices.cxx b/Modules/Applications/AppIndices/app/otbRadiometricIndices.cxx index 01cd53568d70f6403bc9c7d4ef5bba3f21609fa9..4c89da6e583a17af53c7494811f5aeb3126bafd7 100644 --- a/Modules/Applications/AppIndices/app/otbRadiometricIndices.cxx +++ b/Modules/Applications/AppIndices/app/otbRadiometricIndices.cxx @@ -214,7 +214,7 @@ private: } else { - indicesMap[band] = idx; + indicesMap[band] = idx-1; } } };