7 #ifndef __DUALCAMCALIBMODULE__
8 #define __DUALCAMCALIBMODULE__
11 #include <opencv2/core/core_c.h>
14 #include <yarp/os/BufferedPort.h>
15 #include <yarp/os/RFModule.h>
16 #include <yarp/os/Time.h>
17 #include <yarp/os/Log.h>
18 #include <yarp/os/LogStream.h>
19 #include <yarp/sig/Image.h>
22 #include <iCub/PinholeCalibTool.h>
23 #include <iCub/SphericalCalibTool.h>
24 #include <iCub/CalibToolFactory.h>
25 #include <iCub/ICalibTool.h>
42 yarp::sig::ImageOf<yarp::sig::PixelRgb>* leftImage;
43 yarp::sig::ImageOf<yarp::sig::PixelRgb>* rightImage;
45 yarp::os::BufferedPort<yarp::sig::ImageOf<yarp::sig::PixelRgb> > imageInLeft;
46 yarp::os::BufferedPort<yarp::sig::ImageOf<yarp::sig::PixelRgb> > imageInRight;
47 yarp::os::BufferedPort<yarp::sig::ImageOf<yarp::sig::PixelRgb> > imageOut;
48 yarp::os::Port configPort;
55 yarp::sig::ImageOf<yarp::sig::PixelRgb> calibratedImgLeft;
56 yarp::sig::ImageOf<yarp::sig::PixelRgb> calibratedImgRight;
64 virtual bool configure(yarp::os::ResourceFinder &rf);
68 virtual bool respond(
const yarp::os::Bottle& command, yarp::os::Bottle& reply);
Camera Calibration Module class.
virtual bool interruptModule()
virtual double getPeriod()
virtual bool respond(const yarp::os::Bottle &command, yarp::os::Bottle &reply)
virtual bool updateModule()
virtual bool configure(yarp::os::ResourceFinder &rf)