Request for Changes-90: Add vector classification application

From OTBWiki
Jump to: navigation, search

[Request for Changes - 90] Add vector classification application

Status

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.