calibration Class Reference

Calibration. More...

#include <calibration.hh>

Inheritance diagram for calibration:

Inheritance graph
[legend]
Collaboration diagram for calibration:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 calibration (const mimas::mm_xml_reference< XalanElement > &calibration_node) throw (mimas::mm_exception)
 Constructor.
int get_width (void) const
 Get width of camera-images.
int get_height (void) const
 Get height of camera-images.
void set_width (int _width)
 Sets the width of the camera images.
void set_height (int _height)
 Sets the height of the camera images.
int get_middle_x (void) const
 X-coordinate of middle of image.
int get_middle_y (void) const
 Y-coordinate of middle of image.
double get_pixel_size (void) const
 Get width or height of projected pixel.
double get_focus_distance (void) const
 Distance between optical center and focussed plane.
void setSteps (int _steps)
 Update position of camera drive.
int getSteps (void) const
 Get last stored position of camera drive.
double get_scale (void) const
 Scaling introduced by offset of focus drive.

Protected Attributes

int steps
 Current position of focus-drive.
int width
 Width of camera-images.
int height
 Height of camera-images.
double pixel_size
 Width and height of projected pixel.
double focus_distance
 Default-distance between focussed plane and optical center of camera.
double focus_shift
 Focus-shift per step of focus-drive's motor.
double scale_change
 Scale change per step of focus-drive's motor.

Detailed Description

Calibration.

Object holding calibration data.

Author:
Jan Wedekind (j.wedekind@shu.ac.uk)


Constructor & Destructor Documentation

calibration::calibration const mimas::mm_xml_reference< XalanElement > &  calibration_node  )  throw (mimas::mm_exception)
 

Constructor.

Read calibration data from XML-document.

Parameters:
calibration_node Node with calibration-data.


Member Function Documentation

double calibration::get_pixel_size void   )  const [inline]
 

Get width or height of projected pixel.

Parameters:
steps Offset in steps.


The documentation for this class was generated from the following file:
doxygen-1.4.5 documentation for micron-vision - Tue Jan 17 15:29:15 2006