Skip to content
Snippets Groups Projects
Commit dcbe8d5b authored by Jonathan Guinet's avatar Jonathan Guinet
Browse files

ENH: Image SVM Classifier Application change.

parent f9872179
No related branches found
No related tags found
No related merge requests found
......@@ -134,7 +134,7 @@ private:
m_ClassificationFilter->SetModel(m_ModelSVM);
// Normalize input image if asked
if( HasValue("imstat") )
if(IsParameterEnabled("imstat") )
{
otbAppLogINFO("Input image normalization activated.");
// Load input image statistics
......@@ -157,7 +157,7 @@ private:
}
if( HasValue("mask") )
if(IsParameterEnabled("mask"))
{
otbAppLogINFO("Using input mask");
// Load mask image and cast into LabeledImageType
......
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