SightLine Applications Command, Control, and Script API
v3.6
|
Blend an EO(visible) and an IR camera with video scaling and shifting to align frames.
When both cameras are standard definition with similar fields of view, set Absolute Zoom Mode off to scale the EO camera to match the IR. When the warp camera is HD, Absolute Zoom Mode can be turned on for larger zoom factors. For example, if a 1280x720 HD camera is blending with a 640x480 camera where the horizontal fields of view match, pass zoom = 128 and zoom absolute = 1 to get a zoom factor of 0.5 which will scale the HD image to 640x360 before blending.
Requires SLAVideoDisplay_t be used to set Display Modes to Blend. See also SLASetMultipleAlignment_t, SLAFourAlignPoints_t and SLACurrentBlendParameters_t.
NOTE: 3000/4000 Only
Message ID 0x2F
Byte Offset | Name | Description | |||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
4 | absOffZoom | Offset and zoom modes
| |||||||||||||||||||||||||||||||||||||||||||||
5 | vertical | Shift warp camera index video position vertically. | |||||||||||||||||||||||||||||||||||||||||||||
6 | horizontal | Shift warp camera index video position horizontally | |||||||||||||||||||||||||||||||||||||||||||||
7 | rotation | Rotate warp camera index video; (1..255) maps to (-5..5) degrees; 0 = no change | |||||||||||||||||||||||||||||||||||||||||||||
8 | zoom | Scale warp camera index video. (1..255) maps to (0.9..1.1) or (0.004..0.996) depending on absOffZoom | |||||||||||||||||||||||||||||||||||||||||||||
9 | mode |
| |||||||||||||||||||||||||||||||||||||||||||||
10 | amt | Amount of luminance information from the EO (visible) camera to include in the blended result. 0 = no change, (1..255) maps to (0..100%). Applies to Frame Blend, Night Blend, Color Blend, Thermal Blend and Color IR Blend modes | |||||||||||||||||||||||||||||||||||||||||||||
11 | hue | Night Blend mode - Amount of yellow hue to apply from bright areas of the EO camera. 0 = no change, 1 = no hue, 255 = full hue Color Blend and Color IR Blend modes - when flags bit 1 is 1 0 = no change, (1..255) maps to (0..100%) for the amount of color to show. | |||||||||||||||||||||||||||||||||||||||||||||
12 | flags |
| |||||||||||||||||||||||||||||||||||||||||||||
13 | reset | Calibration reset (0 or 1). Resets the image warp calibration (zoom, rotate, shift up / down / left / right) back to default | |||||||||||||||||||||||||||||||||||||||||||||
14 | reserved | Reserved | |||||||||||||||||||||||||||||||||||||||||||||
15 | warpIndex | Warp camera index – video from this camera is warped into the space of the other camera through the calibrations settings before blending | |||||||||||||||||||||||||||||||||||||||||||||
16 | fixedIndex | Fixed camera index – video from this camera is not warped before blending | |||||||||||||||||||||||||||||||||||||||||||||
17 | usePresetAlign | Image alignment parameter index. 0 Use the alignment parameters in this message. 1 Use a preset alignment (defined by SLASetMultipleAlignment_t or SLAFourAlignPoints_t) and set index of preset alignment parameters to value of presetAlignIndex | |||||||||||||||||||||||||||||||||||||||||||||
18 | presetAlignIndex | Indicate index of preset alignment parameters – ignored if usePresetAlign is 0. Indexes 0..4 are used for alignment sets defined by SLASetMultipleAlignment_t. Indexes 10..14 are used for alignment sets defined by SLAFourAlignPoints_t. | |||||||||||||||||||||||||||||||||||||||||||||
19 | hzoom | Horizontal zoom scale applied to EO camera (1..255, 0=no change) on top of zoom. maps to (0.9..1.1) Verical zoom = zoom Horizontal zoom = hzoom * zoom | |||||||||||||||||||||||||||||||||||||||||||||
20 | hotStart | Pixel value to start hot pallet of Thermal Blend. Only applies to Thermal blend mode (ignored otherwise). Should be more than coldEnd. | |||||||||||||||||||||||||||||||||||||||||||||
21 | coldEnd | Pixel value to end cold pallet of Thermal Blend. Only applies to Thermal blend mode (ignored otherwise). Should be less than hotStart. |