From 1bdf5b5f4654cf77a9b1c9c79a9a7840ec77f5d5 Mon Sep 17 00:00:00 2001
From: Cedric <cedric.traizet@c-s.fr>
Date: Thu, 10 Jan 2019 10:18:39 +0100
Subject: [PATCH] DOC: added documentation for EndmemberNumberEstimation
 application

---
 .../app/otbEndmemberNumberEstimation.cxx      | 25 +++++++++++++++++--
 1 file changed, 23 insertions(+), 2 deletions(-)

diff --git a/Modules/Applications/AppHyperspectral/app/otbEndmemberNumberEstimation.cxx b/Modules/Applications/AppHyperspectral/app/otbEndmemberNumberEstimation.cxx
index ef27cb2ba4..f1ec8acc1b 100644
--- a/Modules/Applications/AppHyperspectral/app/otbEndmemberNumberEstimation.cxx
+++ b/Modules/Applications/AppHyperspectral/app/otbEndmemberNumberEstimation.cxx
@@ -53,11 +53,32 @@ private:
   void DoInit() override
   {
     SetName("EndmemberNumberEstimation");
-    SetDescription(" ");
+    SetDescription("Estimates the number of endmembers in a hyperspectral image");
 
     // Documentation
     SetDocName("Endmember Number Estimation");
-    SetDocLongDescription(" ");
+    SetDocLongDescription("This application estimates the number of endmembers "
+    "in a hyperspectral image. It first computes statistics on the image and then "
+    "apply an endmember number estimation algorithm using these statistics. Two "
+    "algorithms are available: \n"
+    "1) Virtual Dimensionality (vd) [1][2] \n"
+    "2) Eigenvalue Likelihood Maximization (elm) [3][4] \n"
+    "The application then returns the estimated number of endmembers. \n"
+    "References : \n"
+    "[1] C.-I. Chang and Q. Du, Estimation of number of spectrally distinct signal "
+    "sources in hyperspectral imagery, IEEE Transactions on Geoscience and Remote "
+    "Sensing, vol. 43, no. 3, mar 2004. \n"
+    "[2] J. Wang and C.-I. Chang, Applications of independent component analysis "
+    "in endmember extraction and abundance quantification for hyperspectral imagery"
+    ", IEEE Transactions on Geoscience and Remote Sensing, vol. 44, no. 9, pp. "
+    "2601-1616, sep 2006. \n"
+    "[3] Unsupervised Endmember Extraction of Martian Hyperspectral Images, B.Luo, "
+    "J. Chanussot, S. Dout\'e and X. Ceamanos, IEEE Whispers 2009, Grenoble France, 2009 \n"
+    "[4] Unsupervised classification of hyperspectral images by using "
+    "linear unmixing algorithm Luo, B. and Chanussot, J., IEEE Int. Conf. On Image \n"
+    "Processing(ICIP) 2009, Cairo, Egypte, 2009"
+    );
+
     SetDocLimitations("None");
     SetDocAuthors("OTB-Team");
     SetDocSeeAlso("VertexComponentAnalysis, HyperspectralUnmixing");
-- 
GitLab