Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Main Repositories
otb
Commits
baeacc1b
Commit
baeacc1b
authored
Feb 23, 2017
by
Guillaume Pasero
Browse files
BUG: missing wrapping of write()
parent
d0a1ab0d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
0 deletions
+7
-0
Modules/Learning/Supervised/include/otbCvRTreesWrapper.h
Modules/Learning/Supervised/include/otbCvRTreesWrapper.h
+2
-0
Modules/Learning/Supervised/src/otbCvRTreesWrapper.cxx
Modules/Learning/Supervised/src/otbCvRTreesWrapper.cxx
+5
-0
No files found.
Modules/Learning/Supervised/include/otbCvRTreesWrapper.h
View file @
baeacc1b
...
...
@@ -107,6 +107,8 @@ public:
virtual
void
read
(
const
cv
::
FileNode
&
fn
);
virtual
void
write
(
cv
::
FileStorage
&
fs
)
const
;
virtual
void
save
(
const
cv
::
String
&
filename
)
const
;
virtual
bool
train
(
cv
::
InputArray
samples
,
int
layout
,
cv
::
InputArray
responses
);
...
...
Modules/Learning/Supervised/src/otbCvRTreesWrapper.cxx
View file @
baeacc1b
...
...
@@ -163,6 +163,11 @@ void CvRTreesWrapper::read (const cv::FileNode &fn)
m_Impl
->
read
(
fn
);
}
void
CvRTreesWrapper
::
write
(
cv
::
FileStorage
&
fs
)
const
{
m_Impl
->
write
(
fs
);
}
void
CvRTreesWrapper
::
save
(
const
cv
::
String
&
filename
)
const
{
m_Impl
->
save
(
filename
);
...
...
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