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


Deprecated, use SLARegistrationParameters_t.

typedef struct {
u16 maxTranslation;
u8 maxRotation;
u8 zoomRange;
u8 left;
u8 right;
u8 top;
u8 bottom;
u8 cameraIndex;

Set parameters used by registration module.

NOTE: Applied to the Command Camera.

Ignore Edge Pixels

Used for overlays or foreground objects that appear near the edge of the image. 0 is default. At least 1/4 of the smaller dimension of the image must be remaining. For NTSC, remaining non - ignored image must be at least 120x120. Use the `ignore edge pixel band' to indicate that the registration algorithm should not include these pixels when determining the registration match. This can be used to compensate for effects of the optics such as vignetting or when there is an obstruction along an edge of the image. See SLASetOverlayMode_t to enable onscreen graphics to better select ignore edge bands.

Message ID 0x0E

Byte Offset Name Description
4-5maxTranslationMaximum translation in pixels. Default of 0 is equivalent to 120 for a 480 high image (1/4 of the image height)
6maxRotationMaximum rotation range in degrees per frame: 0..10 (values larger than 10 clipped to 10). 5 is default.
7zoomRangeMaximum zoom range in percent zoom per frame: 0..10. 0 is default.
NOTE: This parameter should almost always be 0. Small values may help in limited cases to maintain registration and tracking while a camera is actively zooming. Enabling this parameter when a camera is not zooming will make registration run slower and be less accurate.
8leftLeft band of edge pixels to ignore. 0..255 (0 is default)
9rightRight band of edge pixels to ignore. 0..255 (0 is default)
10topTop band of edge pixels to ignore. 0..255 (0 is default)
11bottomBottom band of edge pixels to ignore. 0..255 (0 is default)
12cameraIndexCamera Index