Commit 736dd2f7ce49196836c21394eed8542873bd298c

Authored by Jordi Inglada
1 parent f85180df
Exists in nomalised_features

BUG: reomove duplicate only if relative reflectances

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
include/iota2FeatureExtraction.h
... ... @@ -249,7 +249,7 @@ protected:
249 249 size_t date_counter)
250 250 {
251 251 auto result = featureOffset;
252   - if(!(m_RemoveDuplicates && m_ReferenceIndex == refindex))
  252 + if(!(m_RelativeReflectances && m_RemoveDuplicates && m_ReferenceIndex == refindex))
253 253 {
254 254 outVec[copyOffset+m_NumberOfDates*featureOffset+date_counter] =
255 255 normalized_index(refl, refrefl) * m_NormalizedIndexFactor;
... ...