descriptor->SetDescription("Replace labels of a classification map with user defined 8-bits RGB colors. Unknown label are mapped to black by default.");
descriptor->AddInputImage();
descriptor->AddOutputImage();
descriptor->AddOption("ColorTable",
"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.",
"ct",1,true,ApplicationDescriptor::FileName);
descriptor->AddOption("AvailableMemory",
"Set the maximum of available memory for the pipeline execution in mega bytes (optional, 256 by default)",
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.");
}
voidDoUpdateParameters()
{
// Nothing to do here : all parameters are independent