Commit 8272fe90 authored by Cedric's avatar Cedric
Browse files

DOC: fixed documentation

No related merge requests found
Showing with 42 additions and 39 deletions
+42 -39
...@@ -60,22 +60,22 @@ private: ...@@ -60,22 +60,22 @@ private:
SetDocLongDescription("This application estimates the number of endmembers " SetDocLongDescription("This application estimates the number of endmembers "
"in a hyperspectral image. It first computes statistics on the image and then " "in a hyperspectral image. It first computes statistics on the image and then "
"apply an endmember number estimation algorithm using these statistics. Two " "apply an endmember number estimation algorithm using these statistics. Two "
"algorithms are available: \n" "algorithms are available: \n\n "
"1) Virtual Dimensionality (vd) [1][2] \n" " 1) Virtual Dimensionality (VD) [1] [2] \n "
"2) Eigenvalue Likelihood Maximization (elm) [3][4] \n" " 2) Eigenvalue Likelihood Maximization (ELM) [3][4] \n"
"The application then returns the estimated number of endmembers. \n" "The application then returns the estimated number of endmembers. \n\n "
"References : \n" "References : \n\n "
"[1] C.-I. Chang and Q. Du, Estimation of number of spectrally distinct signal " "[1] C.-I. Chang and Q. Du, Estimation of number of spectrally distinct signal "
"sources in hyperspectral imagery, IEEE Transactions on Geoscience and Remote " "sources in hyperspectral imagery, IEEE Transactions on Geoscience and Remote "
"Sensing, vol. 43, no. 3, mar 2004. \n" "Sensing, vol. 43, no. 3, mar 2004. \n "
"[2] J. Wang and C.-I. Chang, Applications of independent component analysis " "[2] J. Wang and C.-I. Chang, Applications of independent component analysis "
"in endmember extraction and abundance quantification for hyperspectral imagery" "in endmember extraction and abundance quantification for hyperspectral imagery"
", IEEE Transactions on Geoscience and Remote Sensing, vol. 44, no. 9, pp. " ", IEEE Transactions on Geoscience and Remote Sensing, vol. 44, no. 9, pp. "
"2601-1616, sep 2006. \n" "2601-1616, sep 2006. \n "
"[3] Unsupervised Endmember Extraction of Martian Hyperspectral Images, B.Luo, " "[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" "J. Chanussot, S. Dout\'e and X. Ceamanos, IEEE Whispers 2009, Grenoble France, 2009 \n "
"[4] Unsupervised classification of hyperspectral images by using " "[4] Unsupervised classification of hyperspectral images by using "
"linear unmixing algorithm Luo, B. and Chanussot, J., IEEE Int. Conf. On Image \n" "linear unmixing algorithm Luo, B. and Chanussot, J., IEEE Int. Conf. On Image"
"Processing(ICIP) 2009, Cairo, Egypte, 2009" "Processing(ICIP) 2009, Cairo, Egypte, 2009"
); );
...@@ -85,20 +85,19 @@ private: ...@@ -85,20 +85,19 @@ private:
AddDocTag(Tags::Hyperspectral); AddDocTag(Tags::Hyperspectral);
AddParameter(ParameterType_InputImage, "in", "Input Image Filename"); AddParameter(ParameterType_InputImage, "in", "Input Image Filename");
SetParameterDescription("in","The hyperspectral data cube input"); SetParameterDescription("in","The hyperspectral data cube input");
AddParameter(ParameterType_Choice, "algo", "Unmixing algorithm"); AddParameter(ParameterType_Choice, "algo", "Unmixing algorithm");
SetParameterDescription("algo", "The algorithm to use for the estimation"); SetParameterDescription("algo", "The algorithm to use for the estimation");
AddChoice("algo.elm", "elm"); AddChoice("algo.elm", "elm");
SetParameterDescription("algo.elm", "Eigenvalue Likelihood Maximization"); SetParameterDescription("algo.elm", "Eigenvalue Likelihood Maximization algorithm");
AddChoice("algo.vd", "vd"); AddChoice("algo.vd", "vd");
SetParameterDescription("algo.vd", "virtual dimensionality"); SetParameterDescription("algo.vd", "Virtual Dimensionality algorithm");
AddParameter( ParameterType_Float , "algo.vd.far" , "false alarm rate" AddParameter( ParameterType_Float , "algo.vd.far" , "False alarm rate");
"Maximum training predictors"); SetMinimumParameterFloatValue("algo.vd.far", 0);
SetMinimumParameterFloatValue("algo.vd.far",0); SetMaximumParameterFloatValue("algo.vd.far", 1);
SetMaximumParameterFloatValue("algo.vd.far",1);
SetDefaultParameterFloat( "algo.vd.far" , 1.0E-3 ); SetDefaultParameterFloat( "algo.vd.far" , 1.0E-3 );
SetParameterDescription( "algo.vd.far" , SetParameterDescription( "algo.vd.far" ,
"False alarm rate for the virtual dimensionality algorithm"); "False alarm rate for the virtual dimensionality algorithm");
......
...@@ -95,13 +95,13 @@ private: ...@@ -95,13 +95,13 @@ private:
// Documentation // Documentation
SetDocName("Hyperspectral data unmixing"); SetDocName("Hyperspectral data unmixing");
SetDocLongDescription("The application applies a linear unmixing algorithm" SetDocLongDescription("The application applies a linear unmixing algorithm "
"to an hyperspectral data cube. This method supposes that the mixture between" "to an hyperspectral data cube. This method supposes that the mixture between "
"aterials in the scene is macroscopic and simulates a linear mixing model of" "aterials in the scene is macroscopic and simulates a linear mixing model of "
"spectra.\n\n" "spectra.\n\n"
"The Linear Mixing Model (LMM) acknowledges that reflectance" "The Linear Mixing Model (LMM) acknowledges that reflectance "
"spectrum associated with each pixel is a linear combination of pure" "spectrum associated with each pixel is a linear combination of pure "
"materials in the recovery area, commonly known as endmembers. Endmembers can" "materials in the recovery area, commonly known as endmembers. Endmembers can "
"be estimated using the VertexComponentAnalysis application.\n\n" "be estimated using the VertexComponentAnalysis application.\n\n"
"The application allows estimating the abundance maps with several algorithms:\n\n" "The application allows estimating the abundance maps with several algorithms:\n\n"
"* Unconstrained Least Square (ucls)\n" "* Unconstrained Least Square (ucls)\n"
...@@ -121,10 +121,14 @@ private: ...@@ -121,10 +121,14 @@ private:
SetParameterDescription("in","The hyperspectral data cube input"); SetParameterDescription("in","The hyperspectral data cube input");
AddParameter(ParameterType_OutputImage, "out", "Output Image"); AddParameter(ParameterType_OutputImage, "out", "Output Image");
SetParameterDescription("out","The output abundance map. The abundance fraction are stored in a multispectral image where band N corresponds to the fraction of endmembers N in each pixel."); SetParameterDescription("out","The output abundance map. The abundance "
"fraction are stored in a multispectral image where band N corresponds "
"to the fraction of endmembers N in each pixel.");
AddParameter(ParameterType_InputImage, "ie", "Input endmembers"); AddParameter(ParameterType_InputImage, "ie", "Input endmembers");
SetParameterDescription("ie","The endmembers (estimated pure pixels) to use for unmixing. Must be stored as a multispectral image, where each pixel is interpreted as an endmember."); SetParameterDescription("ie","The endmembers (estimated pure pixels) to "
"use for unmixing. Must be stored as a multispectral image, where "
"each pixel is interpreted as an endmember.");
AddParameter(ParameterType_Choice, "ua", "Unmixing algorithm"); AddParameter(ParameterType_Choice, "ua", "Unmixing algorithm");
SetParameterDescription("ua", "The algorithm to use for unmixing"); SetParameterDescription("ua", "The algorithm to use for unmixing");
......
...@@ -50,25 +50,25 @@ private: ...@@ -50,25 +50,25 @@ private:
void DoInit() override void DoInit() override
{ {
SetName("VertexComponentAnalysis"); SetName("VertexComponentAnalysis");
SetDescription("Given a set of mixed spectral vectors, estimate" SetDescription("Given a set of mixed spectral vectors, estimate "
"reference substances also known as endmembers using the Vertex" "reference substances also known as endmembers using the Vertex "
"Component Analysis algorithm."); "Component Analysis algorithm.");
// Documentation // Documentation
SetDocName("Vertex Component Analysis"); SetDocName("Vertex Component Analysis");
SetDocLongDescription("Apply the Vertex Component Analysis [1] to" SetDocLongDescription("Apply the Vertex Component Analysis [1] to "
"an hyperspectral image to extract endmembers. Given a set of mixed" "an hyperspectral image to extract endmembers. Given a set of mixed "
"spectral vectors (multispectral or hyperspectral), the application" "spectral vectors (multispectral or hyperspectral), the application "
"estimates the spectral signature of reference substances also known" "estimates the spectral signature of reference substances also known "
"as endmembers."); "as endmembers.");
SetDocLimitations("None"); SetDocLimitations("None");
SetDocAuthors("OTB-Team"); SetDocAuthors("OTB-Team");
SetDocSeeAlso("[1] J. M. P. Nascimento and J. M. B. Dias, Vertex" SetDocSeeAlso("[1] J. M. P. Nascimento and J. M. B. Dias, Vertex "
"component analysis: a fast algorithm to unmix hyperspectral data," "component analysis: a fast algorithm to unmix hyperspectral data, "
"in IEEE Transactions on Geoscience and Remote Sensing, vol. 43," "in IEEE Transactions on Geoscience and Remote Sensing, vol. 43, "
"no. 4, pp. 898-910, April 2005.J. M. P. Nascimento and" "no. 4, pp. 898-910, April 2005.J. M. P. Nascimento and "
"J. M. B. Dias, Vertex component analysis: a fast algorithm to" "J. M. B. Dias, Vertex component analysis: a fast algorithm to "
"unmix hyperspectral data, in IEEE Transactions on Geoscience and" "unmix hyperspectral data, in IEEE Transactions on Geoscience and "
"Remote Sensing, vol. 43, no. 4, pp. 898-910, April 2005."); "Remote Sensing, vol. 43, no. 4, pp. 898-910, April 2005.");
AddDocTag(Tags::Hyperspectral); AddDocTag(Tags::Hyperspectral);
...@@ -78,9 +78,9 @@ private: ...@@ -78,9 +78,9 @@ private:
SetParameterDescription("in","Input hyperspectral data cube"); SetParameterDescription("in","Input hyperspectral data cube");
AddParameter(ParameterType_OutputImage, "outendm", "Output Endmembers"); AddParameter(ParameterType_OutputImage, "outendm", "Output Endmembers");
SetParameterDescription("outendm","Endmembers, stored in a" SetParameterDescription("outendm","Endmembers, stored in a "
"one-line multi-spectral image.Each pixel corresponds to one" "one-line multi-spectral image.Each pixel corresponds to one "
"endmembers and each band values corresponds to the spectral" "endmembers and each band values corresponds to the spectral "
"signature of the corresponding endmember."); "signature of the corresponding endmember.");
MandatoryOn("outendm"); MandatoryOn("outendm");
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment