SetDescription("Perform SVM classification based on a previous computed SVM model");
SetDescription("Performs a SVM classification of the input image according to a SVM model file.");
// Documentation
SetDocName("Image SVM Classifier Application");
SetDocLongDescription("This application performs an image classification based on the SVM classifier."
"The image to classify and the SVM model are given in input, the application will generate the classified output image. "
" Optionally, the user can give an image statistics file (that contains min, max) to normalize the input image before the classification."
" Furthemore, the user can give a mask to define area of work (only pixels with values greater to 0 will be proceed), "
"these no classify pixels will appear in the output image with the value 0.");
SetDocLimitations("None");
SetDocName("Image SVM Classification");
SetDocLongDescription("This application performs a SVM image classification based on a SVM model file (*.svm extension) produced by the TrainSVMImagesClassifier application. Pixels of the output image will contain the class label decided by the SVM classifier. The input pixels can be optionnaly centered and reduced according to the statistics file produced by the ComputeImagesStatistics application. An optional input mask can be provided, in which case only input image pixels whose corresponding mask value is greater than 0 will be classified. The remaining of pixels will be given the label 0 in the output image."
SetDocLimitations("The input image must have the same type, order and number of bands than the images used to produce the statistics file and the SVM model file. If a statistics file was used during training by the TrainSVMImagesClassifier, it is mandatory to use the same statistics file for classification. If an input mask is used, its size must match the input image size.");
SetParameterDescription("mask","The mask allows to restrict classification of the input image to the area where mask pixel values are greater than 0.");