$search
Public Member Functions | |
def | __init__ |
Private Member Functions | |
def | _detect_points |
def | _list_folder |
def | _load_images |
Base class for specific camera calibrators
Definition at line 63 of file calibrator.py.
def cob_camera_calibration::calibrator::Calibrator::__init__ | ( | self | ) |
Definition at line 67 of file calibrator.py.
def cob_camera_calibration::calibrator::Calibrator::_detect_points | ( | self, | ||
images, | ||||
is_grayscale = True | ||||
) | [private] |
Detect image and object points in set of images Returns list of image points and list of object points @param is_grayscale: If true images are assumend grayscale @type is_grayscale: bool @param images: list of images stored as cv2 compatible numpy image @type images: bool
Definition at line 112 of file calibrator.py.
def cob_camera_calibration::calibrator::Calibrator::_list_folder | ( | self, | ||
folder | ||||
) | [private] |
Return list with all files/folders in 'folder' @param folder: List files of this folder @type folder: string
Definition at line 70 of file calibrator.py.
def cob_camera_calibration::calibrator::Calibrator::_load_images | ( | self, | ||
folder, | ||||
image_file_prefix, | ||||
grayscale = False | ||||
) | [private] |
Load set of images (jpg or png) Returns list of images stored as cv2 compatible numpy image. @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 @param grayscale: If true load images as grayscale @type grayscale: bool
Definition at line 80 of file calibrator.py.