Difference between revisions of "Request for Changes-90: Add vector classification application"

From OTBWiki
Jump to: navigation, search
(Implementation details)
Line 21: Line 21:
  
 
It's a classification application which use vector data and expose all machin learning models. <br />
 
It's a classification application which use vector data and expose all machin learning models. <br />
Limitation: Currently, only shapefiles are supported. The SQLite format is not supported.
+
Limitation: Shapefiles are supported. But the SQLite format is only supported in update mode.
  
 
==== Classes and files ====
 
==== Classes and files ====

Revision as of 10:33, 28 April 2017

[Request for Changes - 90] Add vector classification application

Status

  • Author: Marina Bertolino
  • Submitted on dd.mm.yyyy
  • Proposed target release 6.0
  • Vector classifier

Summary

Add a new classification application allowing to classify a vector data.
This application can take any model supported by OTB.

Rationale

Currently, the otbOGRLayerClassifier application allows to classify a vector data with a SVM model.
Following the ask from different users, who wanted to classify vector data with other models that SVM model and make object classification.

Implementation details

It's a classification application which use vector data and expose all machin learning models.
Limitation: Shapefiles are supported. But the SQLite format is only supported in update mode.

Classes and files

A       Modules/Applications/AppClassification/app/otbVectorClassifier.cxx

M       Modules/Applications/AppClassification/app/CMakeLists.txt
M       Modules/Applications/AppClassification/test/CMakeLists.txt


Applications

A       Modules/Applications/AppClassification/app/otbVectorClassifier.cxx
M       Modules/Applications/AppClassification/app/CMakeLists.txt

Tests

Test with SVM model:

M       Modules/Applications/AppClassification/test/CMakeLists.txt

Add new baseline:

A       Baseline/OTB-Applications/Files/apTvClSVMLabeledVector.dbf
A       Baseline/OTB-Applications/Files/apTvClSVMLabeledVector.prj
A       Baseline/OTB-Applications/Files/apTvClSVMLabeledVector.shp
A       Baseline/OTB-Applications/Files/apTvClSVMLabeledVector.shx

Documentation

The VectorClassifier documentation in cookbook and a receipe for the vector classification have been created.

Additional notes

OGRLayerClassifier deprecated.