descriptor->AddOption("ROIStartX","Start X of the ROI",
"x",1,false,ApplicationDescriptor::Integer);
descriptor->AddOption("ROIStartY","Start Y of the ROI",
"y",1,false,ApplicationDescriptor::Integer);
descriptor->AddOption("ROISizeX","Size X of the ROI",
"sx",1,false,ApplicationDescriptor::Integer);
descriptor->AddOption("ROISizeY","Size Y of the ROI",
"sy",1,false,ApplicationDescriptor::Integer);
descriptor->AddOption("AvailableMemory","Set the maximum of available memory for the pipeline execution in mega bytes (optional, 256 by default)","ram",1,false,otb::ApplicationDescriptor::Integer);
returnEXIT_SUCCESS;
}
...
...
@@ -85,14 +76,11 @@ int ImageSVMClassifier::Execute(otb::ApplicationOptionsResult* parseResult)