SightLine Applications Command, Control, and Script API  v3.5
List of all members
SLAFourAlignPoints_t Struct Reference

Description

Used to assist in the alignment of two cameras for blending purposes.

typedef struct {
u8 index;
s16 LeftCameraPointACol;
s16 LeftCameraPointARow;
s16 RightCameraPointACol;
s16 RightCameraPointARow;
s16 LeftCameraPointBCol;
s16 LeftCameraPointBRow;
s16 RightCameraPointBCol;
s16 RightCameraPointBRow;
s16 LeftCameraPointCCol;
s16 LeftCameraPointCRow;
s16 RightCameraPointCCol;
s16 RightCameraPointCRow;
s16 LeftCameraPointDCol;
s16 LeftCameraPointDRow;
s16 RightCameraPointDCol;
s16 RightCameraPointDRow;

Sets a group of 4 points on a video frame of one camera with the corresponding 4 points on the video frame of another camera. Used when the two cameras are in the 2-Up mode (2-Up mode supported on 3000 only). The point A in the left camera points at the same object as point A in the right camera, and so forth. Users should select 4 points close to the corner of the image for best results. The indexes do not interfere with the [0...4] indexes of the multiple alignment (SetMultipleAlignment_t) command.
See also SLASetBlendParameters_t and SLASetMultipleAlignment_t.

Message ID 0x95

Byte Offset Name Description
4indexindex into table of alignment points [0..4]
5-6LeftCameraPointAColColumn (x) coordinate of point A in the camera on the left of the 2-Up image.
7-8LeftCameraPointARowRow (y) coordinate of point A in the camera on the left of the 2-Up image.
9-10RightCameraPointAColColumn (x) coordinate of point A in the camera on the right of the 2-Up image.
11-12RightCameraPointARowRow (y) coordinate of point A in the camera on the right of the 2-Up image.
13-14LeftCameraPointBColColumn (x) coordinate of point B in the camera on the left of the 2-Up image.
15-16LeftCameraPointBRowRow (y) coordinate of point B in the camera on the left of the 2-Up image.
17-18RightCameraPointBColColumn (x) coordinate of point B in the camera on the right of the 2-Up image.
19-20RightCameraPointBRowRow (y) coordinate of point B in the camera on the right of the 2-Up image.
21-22LeftCameraPointCColColumn (x) coordinate of point C in the camera on the left of the 2-Up image.
23-24LeftCameraPointCRowRow (y) coordinate of point C in the camera on the left of the 2-Up image.
25-26RightCameraPointCColColumn (x) coordinate of point C in the camera on the right of the 2-Up image.
27-28RightCameraPointCRowRow (y) coordinate of point C in the camera on the right of the 2-Up image.
29-30LeftCameraPointDColColumn (x) coordinate of point D in the camera on the left of the 2-Up image.
31-32LeftCameraPointDRowRow (y) coordinate of point D in the camera on the left of the 2-Up image.
33-34RightCameraPointDColColumn (x) coordinate of point D in the camera on the right of the 2-Up image.
35-36RightCameraPointDRowRow (y) coordinate of point D in the camera on the right of the 2-Up image.