$search

cob_camera_calibration::calibrator::MonoCalibrator Class Reference

Inheritance diagram for cob_camera_calibration::calibrator::MonoCalibrator:
Inheritance graph
[legend]

List of all members.

Public Member Functions

def __init__
def calibrate_monocular_camera

Public Attributes

 calibration_object
 calibration_object_detector
 folder
 image_prefix

Detailed Description

Calibrates a monocular camera

Definition at line 139 of file calibrator.py.


Member Function Documentation

def cob_camera_calibration::calibrator::MonoCalibrator::__init__ (   self,
  calibration_object,
  calibration_object_detector,
  folder,
  image_prefix 
)
Initialize object

@param calibration_object: Calibration object to work with.
@type  calibration_object: must implement CalibrationObject interface

@param calibration_object_detector: Calibration object detector to work with. Must be compatible to CalibrationObject
@type  calibration_object_detector: must implement CalibrationObjectDetector interface

@param folder: Folder from where the images are located
@type  folder: string

@param image_file_prefix: Prefix the image files which are loaded must have
@type  image_file_prefix: string     

Definition at line 143 of file calibrator.py.

def cob_camera_calibration::calibrator::MonoCalibrator::calibrate_monocular_camera (   self,
  alpha = 0.0 
)
Run monocular calibration

Returns calibration rms error (float), image height, width 
and camera_matrix, dist_coeffs, projection_matrix, rvecs, tvecs (as np.ndarray() type)

@param alpha: Set zoom, alpha = 0.0 results in cropped image with all pixels valid in undistorted image, alpha = 1.0 preserves all pixels from original image
@type  alpha: float (0.0 < alpha < 1.0)

Definition at line 164 of file calibrator.py.


Member Data Documentation

Definition at line 159 of file calibrator.py.

Definition at line 160 of file calibrator.py.

Definition at line 161 of file calibrator.py.

Definition at line 162 of file calibrator.py.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Friends


cob_camera_calibration
Author(s): Sebastian Haug
autogenerated on Fri Mar 1 15:31:17 2013