Skip to content
Snippets Groups Projects
Commit 43313c08 authored by Guillaume Pasero's avatar Guillaume Pasero
Browse files

ENH: use default pixel type in applications

parent 5023f0d8
No related branches found
No related tags found
No related merge requests found
......@@ -78,7 +78,7 @@ private:
AddParameter(ParameterType_OutputImage, "io.out", "Output regularized image");
SetParameterDescription( "io.out", "The output regularized labeled image.");
SetParameterOutputImagePixelType( "io.out", ImagePixelType_uint8);
SetDefaultOutputPixelType( "io.out", ImagePixelType_uint8);
AddParameter(ParameterType_Group,"ip","Regularization parameters");
......
......@@ -93,7 +93,7 @@ private:
AddParameter(ParameterType_OutputImage, "out", "Output Image");
SetParameterDescription( "out", "Output image containing class labels");
SetParameterOutputImagePixelType( "out", ImagePixelType_uint8);
SetDefaultOutputPixelType( "out", ImagePixelType_uint8);
AddParameter(ParameterType_OutputImage, "confmap", "Confidence map");
SetParameterDescription( "confmap", "Confidence map of the produced classification. The confidence index depends on the model : \n"
......@@ -107,7 +107,7 @@ private:
" * NormalBayes : (not supported)\n"
" * RandomForest : proportion of decision trees that classified the sample to the second class (only works for 2-class models)\n"
" * SVM : distance to margin (only works for 2-class models)\n");
SetParameterOutputImagePixelType( "confmap", ImagePixelType_double);
SetDefaultOutputPixelType( "confmap", ImagePixelType_double);
MandatoryOff("confmap");
AddRAMParameter();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment