Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
O
opencv
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
opencv
Commits
e7b214b6
Commit
e7b214b6
authored
Feb 21, 2013
by
LeonidBeynenson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed urequired functions
parent
203849d5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
24 deletions
+1
-24
core.hpp
modules/core/include/opencv2/core/core.hpp
+0
-4
algorithm.cpp
modules/core/src/algorithm.cpp
+1
-20
No files found.
modules/core/include/opencv2/core/core.hpp
View file @
e7b214b6
...
...
@@ -4340,8 +4340,6 @@ public:
CV_WRAP
Mat
getMat
(
const
string
&
name
)
const
;
CV_WRAP
vector
<
Mat
>
getMatVector
(
const
string
&
name
)
const
;
CV_WRAP
Ptr
<
Algorithm
>
getAlgorithm
(
const
string
&
name
)
const
;
CV_WRAP
float
getFloat
(
const
string
&
name
)
const
;
CV_WRAP
uint64
getUInt64
(
const
string
&
name
)
const
;
void
set
(
const
string
&
name
,
int
value
);
void
set
(
const
string
&
name
,
double
value
);
...
...
@@ -4378,8 +4376,6 @@ public:
void
setMatVector
(
const
char
*
name
,
const
vector
<
Mat
>&
value
);
void
setAlgorithm
(
const
char
*
name
,
const
Ptr
<
Algorithm
>&
value
);
template
<
typename
_Tp
>
void
setAlgorithm
(
const
char
*
name
,
const
Ptr
<
_Tp
>&
value
);
void
setFloat
(
const
char
*
name
,
float
value
);
void
setUInt64
(
const
char
*
name
,
uint64
value
);
CV_WRAP
string
paramHelp
(
const
string
&
name
)
const
;
int
paramType
(
const
char
*
name
)
const
;
...
...
modules/core/src/algorithm.cpp
View file @
e7b214b6
...
...
@@ -322,16 +322,6 @@ void Algorithm::setAlgorithm(const char* parameter, const Ptr<Algorithm>& value)
info
()
->
set
(
this
,
parameter
,
ParamType
<
Algorithm
>::
type
,
&
value
);
}
void
Algorithm
::
setFloat
(
const
char
*
parameter
,
float
value
)
{
info
()
->
set
(
this
,
parameter
,
ParamType
<
float
>::
type
,
&
value
);
}
void
Algorithm
::
setUInt64
(
const
char
*
parameter
,
uint64
value
)
{
info
()
->
set
(
this
,
parameter
,
ParamType
<
uint64
>::
type
,
&
value
);
}
...
...
@@ -370,15 +360,6 @@ Ptr<Algorithm> Algorithm::getAlgorithm(const string& parameter) const
return
get
<
Algorithm
>
(
parameter
);
}
float
Algorithm
::
getFloat
(
const
string
&
parameter
)
const
{
return
get
<
float
>
(
parameter
);
}
uint64
Algorithm
::
getUInt64
(
const
string
&
parameter
)
const
{
return
get
<
uint64
>
(
parameter
);
}
string
Algorithm
::
paramHelp
(
const
string
&
parameter
)
const
{
return
info
()
->
paramHelp
(
parameter
.
c_str
());
...
...
@@ -452,7 +433,7 @@ void AlgorithmInfo::write(const Algorithm* algo, FileStorage& fs) const
nestedAlgo
->
write
(
fs
);
}
else
if
(
p
.
type
==
Param
::
FLOAT
)
cv
::
write
(
fs
,
pname
,
algo
->
get
Float
(
pname
));
cv
::
write
(
fs
,
pname
,
algo
->
get
Double
(
pname
));
else
if
(
p
.
type
==
Param
::
UNSIGNED_INT
)
cv
::
write
(
fs
,
pname
,
algo
->
getInt
(
pname
));
//TODO: implement cv::write(, , unsigned int)
else
if
(
p
.
type
==
Param
::
UINT64
)
...
...
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