Skip to content
Snippets Groups Projects
Commit abac2ee1 authored by Cédric Traizet's avatar Cédric Traizet
Browse files

master working again

parent c9051b54
No related branches found
No related tags found
1 merge request!4Dimensionality reduction algorithms
......@@ -28,6 +28,9 @@
#include "otbImageToVectorImageCastFilter.h"
#include "otbMachineLearningModelFactory.h"
//#include "DimensionalityReductionModelFactory.h" // new branch
namespace otb
{
namespace Functor
......@@ -202,7 +205,7 @@ private:
m_Model->Load(GetParameterString("model"));
m_Model->SetRegressionMode(true);
otbAppLogINFO("Model loaded");
// Classify
m_ClassificationFilter = ClassificationFilterType::New();
m_ClassificationFilter->SetModel(m_Model);
......@@ -265,7 +268,7 @@ private:
}
SetParameterOutputImage<FloatImageType>("out", outputImage);
}
ClassificationFilterType::Pointer m_ClassificationFilter;
......
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