Skip to content
Snippets Groups Projects
Commit 75d0414f authored by Cyrille Valladeau's avatar Cyrille Valladeau
Browse files

ENH: update docexample to the new framework for Hyperspectral appli

parent fd3fc54f
Branches
Tags
No related merge requests found
......@@ -108,7 +108,7 @@ private:
SetDocLimitations("None");
SetDocAuthors("OTB-Team");
SetDocSeeAlso(" ");
SetDocCLExample("otbApplicationLauncherCommandLine VertexComponentAnalysis ${OTB-BIN}/bin --in ${INPUTDATA}/Hyperspectral/synthetic/hsi_cube.tif --ie ${INPUTDATA}/Hyperspectral/synthetic/endmembers.tif --out ${TEMP}/apTvHyHyperspectralUnmixing_UCLS.tif double --ua ucls");
AddDocTag(Tags::Hyperspectral);
}
......@@ -144,6 +144,11 @@ private:
SetParameterString("ua", "ucls");
// Doc example parameter settings
SetDocExampleParameterValue("in", "hsi_cube.tif");
SetDocExampleParameterValue("ie", "endmembers.tif");
SetDocExampleParameterValue("out", "HyperspectralUnmixing.tif double");
SetDocExampleParameterValue("ua", "ucls");
}
void DoUpdateParameters()
......
......@@ -69,7 +69,7 @@ private:
SetDocLimitations("None");
SetDocAuthors("OTB-Team");
SetDocSeeAlso(" ");
SetDocCLExample("otbApplicationLauncherCommandLine VertexComponentAnalysis ${OTB-BIN}/bin --in ${OTB_DATA_ROOT}/Input/Hyperspectral/synthetic/hsi_cube.tif --ne 5 --outendm ${TEMP}/apTvHyHyperspectralUnmixing_VCA.tif double");
AddDocTag(Tags::Hyperspectral);
AddDocTag(Tags::DimensionReduction);
......@@ -92,6 +92,11 @@ private:
AddParameter(ParameterType_OutputImage, "outendm", "Output Endmembers");
SetParameterDescription("outendm","The endmebers, stored in a one-line multi-spectral image, each pixel representing an endmember");
MandatoryOn("outendm");
// Doc example parameter settings
SetDocExampleParameterValue("in", "hsi_cube.tif");
SetDocExampleParameterValue("ne", "5");
SetDocExampleParameterValue("outendm", "VertexComponentAnalysis.tif double");
}
void DoUpdateParameters()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment