Commit 92e9e55e authored by Cyrille Valladeau's avatar Cyrille Valladeau

Correction SVM.

parent e23abece
......@@ -46,7 +46,7 @@ int otbSVMImageModelEstimatorModelAccessor( int argc, char* argv[] )
typedef otb::VectorImage< InputPixelType, Dimension > InputImageType;
typedef otb::Image< InputPixelType, Dimension > TrainingImageType;
typedef otb::Image< unsigned int, Dimension > TrainingImageType;
typedef otb::SVMImageModelEstimator< InputImageType,
TrainingImageType > EstimatorType;
......
......@@ -45,7 +45,7 @@ int otbSVMImageModelEstimatorTrain( int argc, char* argv[] )
typedef otb::VectorImage< InputPixelType, Dimension > InputImageType;
typedef otb::Image< InputPixelType, Dimension > TrainingImageType;
typedef otb::Image< unsigned int, Dimension > TrainingImageType;
typedef std::vector<double> VectorType;
......
Markdown is supported
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