Gain and Offset adjustment tool (contrast/brightness)
Â
This windows tool, available for download from the link below, attaches to a stream of 16-bit radar output, and downsamples the power values back to the more commonly used 8-bit range.
By applying configurable values of gain and offset as part of the downsampling, the tool has the effect of enabling brightness and contrast adjustments, whilst still maintaining the whole dynamic range that 8-bit resolution of power values supports.
‘video_adjuster.exe’ is a windows command line tool that sits between a radar and a client to provide the capability of adjusting the gain (contrast) and offset (brightness) of the radar’s image.Â
The radar providing data must be configured to output high precision (16-bit) data. Instruction to configure this is available here.
The output from the tool is 8-bit FFT data in Colossus format, which can be consumed as a network stream, in the same way that native 8-bit output from a physical radar can. At the point of a client application connecting to the output from the video_adjuster tool, a radar configuration message is sent, which mirrors the behaviour of a physical radar.
Â
Â
Usage:
 The tool has two groups of settings - IP address and Port for the source radar, and address and port defining where the output should be produced.
A typical call on the application is shown below:
Â
 Argument | (short form argument) | Description | Default value |
radar | Â | Â | Â |
--ipaddress | -i | IP address of radar | 192.168.0.1 |
--port | -p | FFT data port of radar | 6317 |
server | Â | Â | Â |
--ipaddress | -i | Local IP address to bind to | Any (0.0.0.0) – Let the OS decide |
--port | -p | Port for server to listen on | 56317 |
Â
Â
When running
Through the command line interface, the tool allows simple user adjustment of the gain and offset parameters:Â
Commands are as follows:Â
long instruction | short instruction | details | allowable range |
gain | g | Adjust the gain (contrast) | 0.0 < gain < 10.0 |
offset | o | Adjust the offset (brightness) | -100 < offset < 100 |
quit | q | Shutdown the proxy | - |
Â
Â