Raster processing auxiliary functions.
More...
|
| 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).
|
| |
| 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.
|
| |
| bool TERPEXPORT | te::rp::radar::SaveOutputReportFile (const MultiSourceClassifierInputParameters &inputParameters, const MultiSourceClassifierOutputParameters &outputParameters, const std::string &reportFileName) |
| | Save all output files.
|
| |
Raster processing auxiliary functions.
◆ 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
-
| loadedNumberOfClasses | Number of classes. |
| loadedClassesID | Classes IDs. |
| loadedNameOfSamples | Sample names. |
| loadedNumberOfSamples | Samples namber. |
| loadedSamples | Samples. |
| loadedPolygons | Loaded Polygons. |
- Returns
- true if OK, false on errors.
◆ SaveOutputAttFile()
Save all output files.
- Parameters
-
| inputParameters | Input parameters used by the executed algorithm. |
| outputParameters | Output parameters generated by the executed algorithm. |
| reportFileName | Report file name (or an empty string) (confusion matrix and Kappa coefficient, i.e. ). |
| exportStatData | If true Stats data will be generated. |
| exportPValuesData | If true PValues data will be generated. |
| exportDistData | If true Dist data will be generated. |
- Returns
- true if OK, false on errors.
◆ SaveOutputReportFile()
Save all output files.
- Parameters
-
| inputParameters | Input parameters used by the executed algorithm. |
| outputParameters | Output parameters generated by the executed algorithm. |
| reportFileName | Report file name (or an empty string) (confusion matrix and Kappa coefficient, i.e. ). |
| modelImage | ??? |
- Returns
- true if OK, false on errors.