Skip to content
Snippets Groups Projects
Commit 92e9e55e authored by Cyrille Valladeau's avatar Cyrille Valladeau
Browse files

Correction SVM.

parent e23abece
No related branches found
No related tags found
No related merge requests found
...@@ -46,7 +46,7 @@ int otbSVMImageModelEstimatorModelAccessor( int argc, char* argv[] ) ...@@ -46,7 +46,7 @@ int otbSVMImageModelEstimatorModelAccessor( int argc, char* argv[] )
typedef otb::VectorImage< InputPixelType, Dimension > InputImageType; typedef otb::VectorImage< InputPixelType, Dimension > InputImageType;
typedef otb::Image< InputPixelType, Dimension > TrainingImageType; typedef otb::Image< unsigned int, Dimension > TrainingImageType;
typedef otb::SVMImageModelEstimator< InputImageType, typedef otb::SVMImageModelEstimator< InputImageType,
TrainingImageType > EstimatorType; TrainingImageType > EstimatorType;
......
...@@ -45,7 +45,7 @@ int otbSVMImageModelEstimatorTrain( int argc, char* argv[] ) ...@@ -45,7 +45,7 @@ int otbSVMImageModelEstimatorTrain( int argc, char* argv[] )
typedef otb::VectorImage< InputPixelType, Dimension > InputImageType; typedef otb::VectorImage< InputPixelType, Dimension > InputImageType;
typedef otb::Image< InputPixelType, Dimension > TrainingImageType; typedef otb::Image< unsigned int, Dimension > TrainingImageType;
typedef std::vector<double> VectorType; typedef std::vector<double> VectorType;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment