Commit 4164dbe0 authored by Guillaume Pasero's avatar Guillaume Pasero
Browse files

ENH: display dimension of model

No related merge requests found
Showing with 2 additions and 2 deletions
+2 -2
......@@ -207,7 +207,7 @@ private:
}
m_Model->Load(GetParameterString("model"));
otbAppLogINFO("Model loaded");
otbAppLogINFO("Model loaded, dimension = "<< m_Model->GetDimension());
// Classify
m_ClassificationFilter = DimensionalityReductionFilterType::New();
......@@ -216,7 +216,7 @@ private:
FloatVectorImageType::Pointer outputImage = m_ClassificationFilter->GetOutput();
// Normalize input image if asked
if( IsParameterEnabled("imstat") )
if( IsParameterEnabled("imstat") && HasValue("imstat") )
{
otbAppLogINFO("Input image normalization activated.");
// Normalize input image (optional)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment