ltmmCameraControlProperty Constants

Const ltmmCameraControl_Pan = 1
Const ltmmCameraControl_Tilt = 2
Const ltmmCameraControl_Roll = 3
Const ltmmCameraControl_Zoom = 4
Const ltmmCameraControl_Exposure = 5
Const ltmmCameraControl_Iris = 6
Const ltmmCameraControl_Focus = 7
 

The ltmmCameraControlProperty constants define individual settings in a camera.

Constant

Description

ltmmCameraControl_Pan

[1] Specifies the pan property. The pan property is measured in degrees. Possible values range from –180 to +180. The default value is zero. Positive values are clockwise from the origin (the camera rotates clockwise when viewed from above), and negative values are counterclockwise from the origin. 

ltmmCameraControl_Tilt

[2] Specifies the tilt property. The tilt property is measured in degrees. Possible values range from –180 to +180. The default value is zero. Positive values point the imaging plane up, and negative values point the imaging plane down.

ltmmCameraControl_Roll

[3] Specifies the roll property. The roll property is measured in degrees. Possible values range from –180 to +180. The default value is zero. Positive values cause a clockwise rotation of the camera along the image-viewing axis, and negative values cause a counterclockwise rotation of the camera.

ltmmCameraControl_Zoom

[4] Specifies the zoom property. The zoom property is measured in millimeters. Values range from 10 to 600 or as stated by the device documentation.

ltmmCameraControl_Exposure

[5] Specifies the exposure (shutter speed) property. The exposure property is measured in “log base 2” seconds. In other words, for values less than zero, the exposure time is 1/2n seconds, and for values zero or above, the exposure time is 2n seconds.

ltmmCameraControl_Iris

[6] Specifies the iris property. The iris property is measured in units of (f-stop * 10). F-stop is aterm used to indicate the amount of light passing through the lens. The smaller the f-number, the greater the amount of light passing through the lens.

Typical F-stops included on manual-iris lenses are 1.4, 2.0, 2.8, 4.0, 5.6, 8.0, 11, 16, and 22 (these are actual values, not multiplied by 10).

ltmmCameraControl_Focus

[7] Specifies the focus property, as the distance to the optimally focused target. The focus property is measured in millimeters. The range and default value are specific to the device.

Comments

The range and default values of the camera control properties might be specific to the camera (consult the device documentation).

To get the range of values for a certain property, call the ltmmCameraControl.GetRange method.

To get the current value for a specific property, call the ltmmCameraControl.Get method.

To set a specific property to a new value, call ltmmCameraControl.Set method.