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
dcbe8d5b
Commit
dcbe8d5b
authored
Nov 04, 2011
by
Jonathan Guinet
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ENH: Image SVM Classifier Application change.
parent
f9872179
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
Applications/Classification/otbImageSVMClassifier.cxx
Applications/Classification/otbImageSVMClassifier.cxx
+2
-2
No files found.
Applications/Classification/otbImageSVMClassifier.cxx
View file @
dcbe8d5b
...
...
@@ -134,7 +134,7 @@ private:
m_ClassificationFilter
->
SetModel
(
m_ModelSVM
);
// Normalize input image if asked
if
(
HasValue
(
"imstat"
)
)
if
(
IsParameterEnabled
(
"imstat"
)
)
{
otbAppLogINFO
(
"Input image normalization activated."
);
// Load input image statistics
...
...
@@ -157,7 +157,7 @@ private:
}
if
(
HasValue
(
"mask"
)
)
if
(
IsParameterEnabled
(
"mask"
))
{
otbAppLogINFO
(
"Using input mask"
);
// Load mask image and cast into LabeledImageType
...
...
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