CVBpy 15.0
SensorSettings Class Reference

Class to store camera sensor settings. More...

Inherits object.

Properties

 pixel_position = property
 int: Gets pixel position in y on sensor (see cvb.SensorPixelPosition).
 
 pixels_mirrored = property
 int: Gets information if sensor pixels are mirrored (see cvb.SensorPixelsMirrored).
 
 range_scale = property
 float: Gets range scale (z factor).
 
 resolution_reduction = property
 cvb.Point2D: Gets horizontal (X) and vertical (Y) resolution reduction factors (due to binning).
 
 sensor_roi = property
 cvb.Rect: Gets sensor region of interest (ROI).
 

Detailed Description

Class to store camera sensor settings.

Creating a calibrated point cloud, the camera settings applied during the acquisition of the range map have to be known.

Default settings are read from the calibrator loaded from a calibration file. If the actual settings differ from the default ones, the user has to set them and create a calibrated point cloud via function cvb.PointCloudFactory.create_with_settings instead of cvb.PointCloudFactory.create(). You can get and check the default settings from the LaserPlaneCalibrator3D object.

For a detailed description of the sensor setting for specific cameras seethe CVB online help chapter "Theory of Operation->Image Manager -> CVB Technology -> 3D Functionality -> Create Point Cloud from Range Map -> Create calibrated point cloud with modified sensor settings".

Parameters

range_scale : float The range map values will be scaled by this factor. It can be calculated from 1 / 2 ^ NumSubPixel, where NumSubPixel is the number of subpixels.

pixel_position : int The pixel position on the sensor in Y may be absolute or relative. If it is relative, the sensor coordinates relative to top offset of sensor_roi are used for the range map creation.If this parameter is set to absolute, top offset is 0 (see cvb.SensorPixelPosition).

pixels_mirrored : int If this parameter is set, the x and/or y sensor coordinates of the profile are mirrored (see cvb.SensorPixelsMirrored).

sensor_roi : cvb.Rect Sensor region of interest (ROI); note that each parameter is internally cast to an integer.

resolution_reduction : cvb.Point2D Horizontal and vertical resolution reduction factor due to sensor binning.