From a2aedd9aa97921f52f6488c974e34437d93463aa Mon Sep 17 00:00:00 2001
From: Cyrille Valladeau <cyrille.valladeau@c-s.fr>
Date: Mon, 24 Oct 2011 12:07:31 +0200
Subject: [PATCH] ENH: add doc

---
 Applications/Classification/otbImageSVMClassifier.cxx | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/Applications/Classification/otbImageSVMClassifier.cxx b/Applications/Classification/otbImageSVMClassifier.cxx
index 0bedfb30e0..c2b6bce969 100644
--- a/Applications/Classification/otbImageSVMClassifier.cxx
+++ b/Applications/Classification/otbImageSVMClassifier.cxx
@@ -60,6 +60,17 @@ private:
   {
     SetName("ImageSVMClassifier");
     SetDescription("Perform SVM classification based on a previous computed SVM model");
+    
+    // Documentation
+    SetDocName("Image SVM Classifier Application");
+    SetDocLongDescription("This application performs an image classification based on the SVM classifier. The image to classify and the SVM model are given in input, the application will generate the classified output image. Optionnally, the user can give an image statistics file (that contains min, max) to normalize the input image before the classification. Furthemore, the user can give a mask to define area of work (only pixel with value greater to 0 will be porceed), this no classify pixels will appear in the output image with the value 0.");
+    SetDocLimitations("None");
+    SetDocAuthors("OTB-Team");
+    SetDocSeeAlso("TrainSVMImagesClassifier application, ValidateSVMImagesClassifier");
+    SetDocCLExample("otbApplicationLauncherCommandLine ImageSVMClassifier ${OTB-BIN}/bin --in ${OTB-DATA}/Classification/QB_1_ortho.tif  --imstat ${OTB-DATA}/Baseline/OTB-Applications/Files/clImageStatisticsQB1.xml --svn ${OTB-DATA}/Baseline/OTB-Applications/Files/clsvmModelQB1.svm --out otbConcatenateImages.png uchar");
+    AddDocTag("Classification");
+    AddDocTag("SVM");
+
   }
 
   virtual ~ImageSVMClassifier()
-- 
GitLab