Loading...
Searching...
No Matches

Raster processing auxiliary functions. More...

Functions

bool TERPEXPORT te::rp::radar::LoadSamplesFile (const std::string &fileName, unsigned int &loadedNumberOfClasses, std::vector< unsigned int > loadedClassesID, std::vector< std::string > &loadedNameOfSamples, std::vector< int > &loadedNumberOfSamples, std::vector< std::vector< double > > &loadedSamples, std::vector< te::gm::Polygon > &loadedPolygons)
 Load a sample file (SHP or TXT). More...
 
bool TERPEXPORT te::rp::radar::SaveOutputAttFile (const MultiSourceClassifierInputParameters &inputParameters, const MultiSourceClassifierOutputParameters &outputParameters, const bool exportStatData, const bool exportPValuesData, const bool exportDistData, const std::string &attributesFileName)
 Save all output files. More...
 
bool TERPEXPORT te::rp::radar::SaveOutputReportFile (const MultiSourceClassifierInputParameters &inputParameters, const MultiSourceClassifierOutputParameters &outputParameters, const std::string &reportFileName)
 Save all output files. More...
 

Detailed Description

Raster processing auxiliary functions.

Function Documentation

◆ LoadSamplesFile()

bool TERPEXPORT te::rp::radar::LoadSamplesFile ( const std::string &  fileName,
unsigned int &  loadedNumberOfClasses,
std::vector< unsigned int >  loadedClassesID,
std::vector< std::string > &  loadedNameOfSamples,
std::vector< int > &  loadedNumberOfSamples,
std::vector< std::vector< double > > &  loadedSamples,
std::vector< te::gm::Polygon > &  loadedPolygons 
)

Load a sample file (SHP or TXT).

Parameters
loadedNumberOfClassesNumber of classes.
loadedClassesIDClasses IDs.
loadedNameOfSamplesSample names.
loadedNumberOfSamplesSamples namber.
loadedSamplesSamples.
loadedPolygonsLoaded Polygons.
Returns
true if OK, false on errors.

◆ SaveOutputAttFile()

bool TERPEXPORT te::rp::radar::SaveOutputAttFile ( const MultiSourceClassifierInputParameters inputParameters,
const MultiSourceClassifierOutputParameters outputParameters,
const bool  exportStatData,
const bool  exportPValuesData,
const bool  exportDistData,
const std::string &  attributesFileName 
)

Save all output files.

Parameters
inputParametersInput parameters used by the executed algorithm.
outputParametersOutput parameters generated by the executed algorithm.
reportFileNameReport file name (or an empty string) (confusion matrix and Kappa coefficient, i.e. ).
exportStatDataIf true Stats data will be generated.
exportPValuesDataIf true PValues data will be generated.
exportDistDataIf true Dist data will be generated.
Returns
true if OK, false on errors.

◆ SaveOutputReportFile()

bool TERPEXPORT te::rp::radar::SaveOutputReportFile ( const MultiSourceClassifierInputParameters inputParameters,
const MultiSourceClassifierOutputParameters outputParameters,
const std::string &  reportFileName 
)

Save all output files.

Parameters
inputParametersInput parameters used by the executed algorithm.
outputParametersOutput parameters generated by the executed algorithm.
reportFileNameReport file name (or an empty string) (confusion matrix and Kappa coefficient, i.e. ).
modelImage???
Returns
true if OK, false on errors.