diff --git a/Modules/Applications/AppImageUtils/app/otbClampROI.cxx b/Modules/Applications/AppImageUtils/app/otbClampROI.cxx index 0d49ca2433bed2c474389524745f931bc4ae8997..2ff4cd2a158cb810c5a765ae91e65d8470f0b2d3 100644 --- a/Modules/Applications/AppImageUtils/app/otbClampROI.cxx +++ b/Modules/Applications/AppImageUtils/app/otbClampROI.cxx @@ -53,7 +53,7 @@ private: { SetName("ClampROI"); - SetDescription("This is the ClampROI application, version X.X.X"); + SetDescription("This is the ClampROI application"); SetDocLongDescription( "This application is similar to ExtractROI in the sense it extracts a Region of Interrest.\n" "However, the region outside of the ROI isn't trimmed, but set to 0.\n" @@ -64,7 +64,7 @@ private: SetDocLimitations("This application only works on scalar (and complex) images."); SetDocAuthors("Luc Hermitte (CS Group)"); SetDocSeeAlso("ManageNoData, ExtractROI"); - AddDocTag("otb::Wrapper::Tags::Manip"); + AddDocTag(Tags::Manip); AddParameter(ParameterType_InputImage, "in", "Input image"); SetParameterDescription("in", "Scalar Input image"); @@ -88,7 +88,18 @@ private: SetParameterDescription("threshold.y.end", "Bottom line index threshold"); SetDefaultParameterInt("threshold.y.end", 0); + SetMinimumParameterIntValue("threshold.x", 0); + SetMinimumParameterIntValue("threshold.y.start", 0); + SetMinimumParameterIntValue("threshold.y.end", 0); + AddRAMParameter(); + + SetDocExampleParameterValue("in", "ClampROIInput100x100.tiff"); + SetDocExampleParameterValue("threshold.x", "10"); + SetDocExampleParameterValue("threshold.y.start", "12"); + SetDocExampleParameterValue("threshold.y.end", "25"); + SetDocExampleParameterValue("out", "ClampROI.tiff"); + SetOfficialDocLink(); } void DoUpdateParameters() override diff --git a/Modules/Applications/AppImageUtils/app/otbSynthetize.cxx b/Modules/Applications/AppImageUtils/app/otbSynthetize.cxx index fa77fdcba818809d0fabc3c0554f97f02969b1e3..6862ed574b11144e29a6e1fa035fdc19b77aab48 100644 --- a/Modules/Applications/AppImageUtils/app/otbSynthetize.cxx +++ b/Modules/Applications/AppImageUtils/app/otbSynthetize.cxx @@ -60,14 +60,14 @@ private: { SetName("Synthetize"); - SetDescription("This is the Synthetize application, version X.X.X"); + SetDescription("This is the Synthetize application"); SetDocLongDescription("Concatenate a list of images of the same size into a single single-channel image.\n\ It keeps the first non-null pixel value found in the input list."); SetDocLimitations("This application will break incoming pipelines."); SetDocAuthors("Luc Hermitte (CS Group)"); SetDocSeeAlso(""); - AddDocTag("otb::Wrapper::Tags::Manip"); + AddDocTag(Tags::Manip); AddParameter(ParameterType_StringList, "il", "Input images list"); SetParameterDescription("il", "Input image list"); @@ -76,6 +76,10 @@ private: SetParameterDescription("out","Output image."); AddRAMParameter(); + + SetDocExampleParameterValue("il", "s1a_33NWB_vv_DES_007_20200108t044150.tif s1a_33NWB_vv_DES_007_20200108t044215.tif"); + SetDocExampleParameterValue("out", "s1a_33NWB_vv_DES_007_20200108txxxxxx.tif"); + SetOfficialDocLink(); } void DoUpdateParameters() override