21 #ifndef otbReduceSpectralResponseClassifierRAndNIR_hxx
22 #define otbReduceSpectralResponseClassifierRAndNIR_hxx
31 template <
class TReduceSpectralResponse,
class TFunction>
37 template <
class TReduceSpectralResponse,
class TFunction>
40 return (m_InputReduceSpectralResponse->Clear());
44 template <
class TReduceSpectralResponse,
class TFunction>
48 itk::VariableLengthVector<ValuePrecisionType> sr(2);
49 sr[0] = (*m_InputReduceSpectralResponse)(m_RBandNumber);
50 sr[1] = (*m_InputReduceSpectralResponse)(m_NIRBandNumber);
51 m_Functor.SetBandIndex(CommonBandNames::RED, 1);
52 m_Functor.SetBandIndex(CommonBandNames::NIR, 2);
58 template <
class TReduceSpectralResponse,
class TFunction>
61 Superclass::PrintSelf(os, indent);