OTB  9.0.0
Orfeo Toolbox
Public Member Functions | Public Attributes | List of all members
otb::Wrapper::TrainVectorBase< TInputValue, TOutputValue >::FeaturesInfo Class Reference

#include <otbTrainVectorBase.h>

+ Collaboration diagram for otb::Wrapper::TrainVectorBase< TInputValue, TOutputValue >::FeaturesInfo:

Public Member Functions

void SetClassFieldNames (std::vector< std::string > cFieldNames, std::vector< int > selectedCFieldIdx)
 
void SetFieldNames (std::vector< std::string > fieldNames, std::vector< int > selectedIdx)
 

Public Attributes

unsigned int m_NbFeatures
 
std::vector< int > m_SelectedCFieldIdx
 
std::string m_SelectedCFieldName
 
std::vector< int > m_SelectedIdx
 
std::vector< std::string > m_SelectedNames
 

Detailed Description

template<class TInputValue, class TOutputValue>
class otb::Wrapper::TrainVectorBase< TInputValue, TOutputValue >::FeaturesInfo

Features information class used to store information about the field and class name/id of an input vector

Definition at line 97 of file otbTrainVectorBase.h.

Member Function Documentation

◆ SetClassFieldNames()

template<class TInputValue , class TOutputValue >
void otb::Wrapper::TrainVectorBase< TInputValue, TOutputValue >::FeaturesInfo::SetClassFieldNames ( std::vector< std::string >  cFieldNames,
std::vector< int >  selectedCFieldIdx 
)
inline

◆ SetFieldNames()

template<class TInputValue , class TOutputValue >
void otb::Wrapper::TrainVectorBase< TInputValue, TOutputValue >::FeaturesInfo::SetFieldNames ( std::vector< std::string >  fieldNames,
std::vector< int >  selectedIdx 
)
inline

Member Data Documentation

◆ m_NbFeatures

template<class TInputValue , class TOutputValue >
unsigned int otb::Wrapper::TrainVectorBase< TInputValue, TOutputValue >::FeaturesInfo::m_NbFeatures

◆ m_SelectedCFieldIdx

template<class TInputValue , class TOutputValue >
std::vector<int> otb::Wrapper::TrainVectorBase< TInputValue, TOutputValue >::FeaturesInfo::m_SelectedCFieldIdx

◆ m_SelectedCFieldName

template<class TInputValue , class TOutputValue >
std::string otb::Wrapper::TrainVectorBase< TInputValue, TOutputValue >::FeaturesInfo::m_SelectedCFieldName

◆ m_SelectedIdx

template<class TInputValue , class TOutputValue >
std::vector<int> otb::Wrapper::TrainVectorBase< TInputValue, TOutputValue >::FeaturesInfo::m_SelectedIdx

◆ m_SelectedNames

template<class TInputValue , class TOutputValue >
std::vector<std::string> otb::Wrapper::TrainVectorBase< TInputValue, TOutputValue >::FeaturesInfo::m_SelectedNames

The documentation for this class was generated from the following file: