SightLine Applications Command, Control, and Script API
v3.6
|
Deprecated, use SLARegistrationParameters_t
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-5 | maxTranslation | Maximum translation in pixels. Default of 0 is equivalent to 120 for a 480 high image (1/4 of the image height) |
6 | maxRotation | Maximum rotation range in degrees per frame: 0..10 (values larger than 10 clipped to 10). 5 is default. |
7 | zoomRange | Maximum 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. |
8 | left | Left band of edge pixels to ignore. 0..255 (0 is default) |
9 | right | Right band of edge pixels to ignore. 0..255 (0 is default) |
10 | top | Top band of edge pixels to ignore. 0..255 (0 is default) |
11 | bottom | Bottom band of edge pixels to ignore. 0..255 (0 is default) |
12 | cameraIndex | Camera Index |