Request for Changes-90: Add vector classification application
From OTBWiki
Contents
[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.