iCub-main
ICalibTool.h
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 
9 #ifndef __UZH_ICALIBTOOL__
10 #define __UZH_ICALIBTOOL__
11 
12 // yarp
13 #include <yarp/sig/Image.h>
14 
18 class ICalibTool
19 {
20 
21 public:
22  virtual bool open (yarp::os::Searchable &config) = 0;
23  virtual bool close () = 0;
24  virtual bool configure (yarp::os::Searchable &config) = 0;
25 
26  virtual void apply(const yarp::sig::ImageOf<yarp::sig::PixelRgb> & in,
27  yarp::sig::ImageOf<yarp::sig::PixelRgb> & out) = 0;
28 };
29 
30 
31 #endif
32 
33 
34 
35 
Interface to calibrate and project input image based on camera's internal parameters and projection m...
Definition: ICalibTool.h:19
virtual bool close()=0
virtual bool open(yarp::os::Searchable &config)=0
virtual bool configure(yarp::os::Searchable &config)=0
virtual void apply(const yarp::sig::ImageOf< yarp::sig::PixelRgb > &in, yarp::sig::ImageOf< yarp::sig::PixelRgb > &out)=0
out
Definition: sine.m:8