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

ENH: handle missing confmap properly

parent e11658ca
No related branches found
No related tags found
No related merge requests found
......@@ -186,6 +186,11 @@ private:
{
SetParameterOutputImage<ConfidenceImageType>("confmap",m_ClassificationFilter->GetOutputConfidence());
}
else
{
otbAppLogWARNING("Confidence map requested but the classifier doesn't support it!");
this->DisableParameter("confmap");
}
}
}
......
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