Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Main Repositories
otb
Commits
bd41873c
Commit
bd41873c
authored
Mar 19, 2015
by
Christophe Palmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ENH: typo
parent
735349bc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 deletions
+9
-9
Modules/Applications/AppClassification/app/otbTrainImagesClassifier.cxx
...ations/AppClassification/app/otbTrainImagesClassifier.cxx
+9
-9
No files found.
Modules/Applications/AppClassification/app/otbTrainImagesClassifier.cxx
View file @
bd41873c
...
...
@@ -402,7 +402,7 @@ void TrainImagesClassifier::DoExecute()
{
#ifdef OTB_USE_LIBSVM
TrainLibSVM
(
trainingListSample
,
trainingLabeledListSample
);
#else
if
#else
otbAppLogFATAL
(
"Module LIBSVM is not installed. You should consider turning OTB_USE_LIBSVM on during cmake configuration."
);
#endif
}
...
...
@@ -410,7 +410,7 @@ void TrainImagesClassifier::DoExecute()
{
#ifdef OTB_USE_OPENCV
TrainSVM
(
trainingListSample
,
trainingLabeledListSample
);
#else
if
#else
otbAppLogFATAL
(
"Module OPENCV is not installed. You should consider turning OTB_USE_OPENCV on during cmake configuration."
);
#endif
}
...
...
@@ -418,7 +418,7 @@ void TrainImagesClassifier::DoExecute()
{
#ifdef OTB_USE_OPENCV
TrainBoost
(
trainingListSample
,
trainingLabeledListSample
);
#else
if
#else
otbAppLogFATAL
(
"Module OPENCV is not installed. You should consider turning OTB_USE_OPENCV on during cmake configuration."
);
#endif
}
...
...
@@ -426,7 +426,7 @@ void TrainImagesClassifier::DoExecute()
{
#ifdef OTB_USE_OPENCV
TrainDecisionTree
(
trainingListSample
,
trainingLabeledListSample
);
#else
if
#else
otbAppLogFATAL
(
"Module OPENCV is not installed. You should consider turning OTB_USE_OPENCV on during cmake configuration."
);
#endif
}
...
...
@@ -434,7 +434,7 @@ void TrainImagesClassifier::DoExecute()
{
#ifdef OTB_USE_OPENCV
TrainGradientBoostedTree
(
trainingListSample
,
trainingLabeledListSample
);
#else
if
#else
otbAppLogFATAL
(
"Module OPENCV is not installed. You should consider turning OTB_USE_OPENCV on during cmake configuration."
);
#endif
}
...
...
@@ -442,7 +442,7 @@ void TrainImagesClassifier::DoExecute()
{
#ifdef OTB_USE_OPENCV
TrainNeuralNetwork
(
trainingListSample
,
trainingLabeledListSample
);
#else
if
#else
otbAppLogFATAL
(
"Module OPENCV is not installed. You should consider turning OTB_USE_OPENCV on during cmake configuration."
);
#endif
}
...
...
@@ -450,7 +450,7 @@ void TrainImagesClassifier::DoExecute()
{
#ifdef OTB_USE_OPENCV
TrainNormalBayes
(
trainingListSample
,
trainingLabeledListSample
);
#else
if
#else
otbAppLogFATAL
(
"Module OPENCV is not installed. You should consider turning OTB_USE_OPENCV on during cmake configuration."
);
#endif
}
...
...
@@ -458,7 +458,7 @@ void TrainImagesClassifier::DoExecute()
{
#ifdef OTB_USE_OPENCV
TrainRandomForests
(
trainingListSample
,
trainingLabeledListSample
);
#else
if
#else
otbAppLogFATAL
(
"Module OPENCV is not installed. You should consider turning OTB_USE_OPENCV on during cmake configuration."
);
#endif
}
...
...
@@ -466,7 +466,7 @@ void TrainImagesClassifier::DoExecute()
{
#ifdef OTB_USE_OPENCV
TrainKNN
(
trainingListSample
,
trainingLabeledListSample
);
#else
if
#else
otbAppLogFATAL
(
"Module OPENCV is not installed. You should consider turning OTB_USE_OPENCV on during cmake configuration."
);
#endif
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment