diff --git a/Modules/Applications/AppHyperspectral/app/otbEndmemberNumberEstimation.cxx b/Modules/Applications/AppHyperspectral/app/otbEndmemberNumberEstimation.cxx index d5cff2bc74dcbeb475ca74b38d5b9000c8665967..cdfc36799d0b27c35d62efd367e83d34b1e3effc 100644 --- a/Modules/Applications/AppHyperspectral/app/otbEndmemberNumberEstimation.cxx +++ b/Modules/Applications/AppHyperspectral/app/otbEndmemberNumberEstimation.cxx @@ -92,6 +92,10 @@ private: AddParameter(ParameterType_InputImage, "in", "Input Image Filename"); SetParameterDescription("in","The hyperspectral data cube input"); + AddParameter(ParameterType_Int,"number","Number of endmembers"); + SetParameterDescription("number", "The output estimated number of endmembers"); + SetParameterRole("number", Role_Output); + AddParameter(ParameterType_Choice, "algo", "Unmixing algorithm"); SetParameterDescription("algo", "The algorithm to use for the estimation"); AddChoice("algo.elm", "Eigenvalue Likelihood Maximization"); @@ -106,10 +110,6 @@ private: SetParameterDescription( "algo.vd.far" , "False alarm rate for the virtual dimensionality algorithm"); - AddParameter(ParameterType_Int,"number","Number of endmembers"); - SetParameterDescription("number", "The output estimated number of endmembers"); - SetParameterRole("number", Role_Output); - AddRAMParameter(); // Doc example parameter settings