Loading [MathJax]/extensions/tex2jax.js
iCub-main
Toggle main menu visibility
Main Page
Related Pages
Topics
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
y
z
Functions
a
c
d
e
f
g
i
l
m
n
o
p
q
r
s
t
u
v
w
y
Variables
a
b
c
d
e
h
i
j
l
m
n
p
r
s
t
w
z
Typedefs
Enumerations
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
p
q
r
s
t
u
v
w
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
Enumerations
a
b
c
e
g
i
l
n
p
r
s
t
u
Enumerator
a
b
c
d
e
f
g
i
l
m
p
r
s
t
u
Properties
Related Symbols
a
b
c
g
i
l
o
q
r
s
t
w
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
v
w
x
y
z
Typedefs
Enumerations
Enumerator
_
a
c
d
e
g
j
m
n
p
s
Macros
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
Loading...
Searching...
No Matches
icub-main
src
modules
camCalibWithPose
src
main.cpp
Go to the documentation of this file.
1
// -*- mode:C++; tab-width:4; c-basic-offset:4; indent-tabs-mode:nil -*-
2
3
/*
4
* Copyright (C) 2007 Jonas Ruesch
5
* CopyPolicy: Released under the terms of the GNU GPL v2.0.
6
*
7
*/
8
126
// yarp
127
#include <yarp/os/Network.h>
128
129
// iCub
130
#include <iCub/CalibToolFactory.h>
131
#include <iCub/PinholeCalibTool.h>
132
#include <iCub/SphericalCalibTool.h>
133
#include <iCub/CamCalibModule.h>
134
135
// OpenCV
136
#include <opencv2/core/core_c.h>
137
138
using namespace
std;
139
using namespace
yarp::os;
140
using namespace
yarp::sig;
141
142
143
int
main
(
int
argc,
char
*argv[]) {
144
145
CalibToolFactories
& pool =
CalibToolFactories::getPool
();
146
pool.
add
(
new
CalibToolFactoryOf<PinholeCalibTool>
(
"pinhole"
));
147
pool.
add
(
new
CalibToolFactoryOf<SphericalCalibTool>
(
"spherical"
));
148
149
Network
yarp
;
150
ResourceFinder rf;
151
rf.setDefaultConfigFile(
"camCalib.ini"
);
//overridden by --from parameter
152
rf.setDefaultContext(
"cameraCalibration"
);
//overridden by --context parameter
153
rf.configure(argc, argv);
154
CamCalibModule
module
;
155
return
module
.runModule(rf);
156
}
143
int
main
(
int
argc,
char
*argv[]) {
…
}
CalibToolFactories
Definition
CalibToolFactory.h:44
CalibToolFactories::getPool
static CalibToolFactories & getPool()
Definition
CalibToolFactory.h:54
CalibToolFactories::add
void add(CalibToolFactory *factory)
Definition
CalibToolFactory.h:50
CalibToolFactoryOf
Definition
CalibToolFactory.h:27
CamCalibModule
Camera Calibration Module class.
Definition
CamCalibModule.h:61
main
int main()
Definition
main.cpp:67
yarp
Copyright (C) 2008 RobotCub Consortium.
Definition
DebugInterfaces.h:51
Generated on Wed Apr 9 2025 08:53:53 for iCub-main by
1.9.8