From f62a935e071e55b0709f57313624dd378a164240 Mon Sep 17 00:00:00 2001 From: Julien Malik <julien.malik@c-s.fr> Date: Sat, 22 Oct 2011 17:51:44 +0200 Subject: [PATCH] DOC: fix doc of LabeledImageColorMapping --- .../Classification/otbLabeledImageColorMapping.cxx | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Applications/Classification/otbLabeledImageColorMapping.cxx b/Applications/Classification/otbLabeledImageColorMapping.cxx index a18b2050d3..5584655714 100644 --- a/Applications/Classification/otbLabeledImageColorMapping.cxx +++ b/Applications/Classification/otbLabeledImageColorMapping.cxx @@ -68,8 +68,11 @@ private: { AddParameter(ParameterType_InputImage, "in", "Input Image."); AddParameter(ParameterType_OutputImage, "out", "Output Image."); - AddParameter(ParameterType_Filename, "ct", "An ASCII file containing the color table with one color per line (for instance line 1 255 0 0 means that all pixel with label 1 will be replaced by RGB color 255 0 0). Lines begining with a # are ignored."); - + AddParameter(ParameterType_Filename, "ct", "Color table"); + SetParameterDescription("ct", "An ASCII file containing the color table\n" + "with one color per line\n" + "(for instance the line '1 255 0 0' means that all pixels with label 1 will be replaced by RGB color 255 0 0)\n" + "Lines beginning with a # are ignored") } void DoUpdateParameters() -- GitLab