This script supports initialization of the LWIR16 camera (16 LWIR 640x512 sensors and 4 2592x1936 color ones)
// or number (T_NUM_STRING) in /www/pages/capture_range.php on line 143
and capturing of short image sequences (100 frames fit into 64MB per-channel image buffer) for (relatively)
echo<<<EOT
slow recording with camogm. Untill videocompression for 16-bit TIFFs is not implemented, recording is not fast
<pre>
enough for continupous recording. This script should be launched in the 'master' subcamera only, it will
This script supports initialization of the LWIR16 camera (16 LWIR 640x512 sensors and 4 2592x1936 color ones)
communidate with the other ones.
and capturing of short image sequences (100 frames fit into 64MB per-channel image buffer) for (relatively)
slow recording with camogm. Untill videocompression for 16-bit TIFFs is not implemented, recording is not fast
URL parameters:
enough for continupous recording. This script should be launched in the 'master' subcamera only, it will
<b>lwir16=init</b> - syncronize all 5 cameras, set acquisition parameters
communidate with the other ones.
<b>lwir16=capture</b> - wait specified time, synchronously turn on compressors in each channel of each subcamera,
acquire specified number of frames in each channel (reduced, and turn compressors off.
URL parameters:
<b>lwir16=init</b> - syncronize all 5 cameras, set acquisition parameters
</pre>
<b>lwir16=capture</b> - wait specified time, synchronously turn on compressors in each channel of each subcamera,
acquire specified number of frames in each channel (reduced, and turn compressors off.
</pre>
EOT;
EOT;
// Watch EOT w/o any spaces!
// Watch EOT w/o any spaces!
}
}
...
@@ -415,16 +453,18 @@ EOT;
...
@@ -415,16 +453,18 @@ EOT;
}
}
// print_r($urls); print("<br/>");
// print_r($urls); print("<br/>");
// exit(0);
// exit(0);
$trig_period=100000000/$GLOBALS[LWIR_FPS];
for($i=0;$i<count($lwir_ips);$i++){
for($i=0;$i<count($lwir_ips);$i++){
$urls[$i].='&TRIG_DELAY='.$lwir_trig_dly.'&*TRIG_DELAY=15'.// apply to all ports
$urls[$i].='&TRIG_DELAY='.$lwir_trig_dly.'&*TRIG_DELAY=15'.// apply to all ports
'&BITS=16&*BITS=15'.'&COLOR='.$COLOR_RAW.'&*COLOR=15'.'&WOI_HEIGHT='.($LWIR_HEIGHT+($LWIR_TELEMETRY?$LWIR_TELEMETRY_LINES:0)).'&*WOI_HEIGHT=15'.'&'.$REG_FFC_FRAMES.'='.$FFC_FRAMES.'&*'.$REG_FFC_FRAMES.'=15';// apply to all channels
'&TRIG_PERIOD='.$trig_period.'&*TRIG_PERIOD=15'.
'&BITS=16&*BITS=15'.'&COLOR='.$COLOR_RAW.'&*COLOR=15'.'&WOI_HEIGHT='.($LWIR_HEIGHT+($LWIR_TELEMETRY?$LWIR_TELEMETRY_LINES:0)).'&*WOI_HEIGHT=15'.'&'.$REG_FFC_FRAMES.'='.$FFC_FRAMES.'&*'.$REG_FFC_FRAMES.'=15';// apply to all channels