Skip to content
Snippets Groups Projects
Commit dd56f8b7 authored by Antoine Regimbeau's avatar Antoine Regimbeau
Browse files

Merge branch 'develop' of https://git.orfeo-toolbox.org/git/otb into dynamic_convert

parents 4cb5e4ad 26e6b813
No related branches found
No related tags found
No related merge requests found
...@@ -53,10 +53,12 @@ otb_create_application( ...@@ -53,10 +53,12 @@ otb_create_application(
SOURCES otbComputePolylineFeatureFromImage.cxx SOURCES otbComputePolylineFeatureFromImage.cxx
LINK_LIBRARIES ${${otb-module}_LIBRARIES}) LINK_LIBRARIES ${${otb-module}_LIBRARIES})
otb_create_application( if(OTB_USE_SHARK)
NAME KMeansClassification otb_create_application(
SOURCES otbKMeansClassification.cxx NAME KMeansClassification
LINK_LIBRARIES ${${otb-module}_LIBRARIES}) SOURCES otbKMeansClassification.cxx
LINK_LIBRARIES ${${otb-module}_LIBRARIES})
endif()
otb_create_application( otb_create_application(
NAME TrainImagesClassifier NAME TrainImagesClassifier
......
...@@ -405,6 +405,8 @@ private: ...@@ -405,6 +405,8 @@ private:
"KMeansClassification is a composite application, " "KMeansClassification is a composite application, "
"using an existing training and classification application." "using an existing training and classification application."
"The SharkKMeans model is used.\n" "The SharkKMeans model is used.\n"
"KMeansClassification application is only available if OTB is compiled with Shark support"
"(CMake option OTB_USE_SHARK=ON)\n"
"The steps of this composite application :\n" "The steps of this composite application :\n"
"1) ImageEnveloppe : create a shapefile (1 polygon),\n" "1) ImageEnveloppe : create a shapefile (1 polygon),\n"
"2) PolygonClassStatistics : compute the statistics,\n" "2) PolygonClassStatistics : compute the statistics,\n"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment