User guide

STINGRAY Technical Manual V4.4.4
5
Output modes.................................................................................................... 104
Pulse-width modulation (Stingray housing and Stingray board level models) ................... 106
PWM: minimal and maximal periods and frequencies ............................................... 107
PWM: Examples in practice .................................................................................. 108
Pixel data.................................................................................................................. 109
Description of the data path......................................................................115
Block diagrams of the cameras ..................................................................................... 115
Black and white cameras ......................................................................................... 115
Color cameras ........................................................................................................ 116
White balance ............................................................................................................ 117
One-push white balance .......................................................................................... 119
Auto white balance (AWB) ..................................................................................... 120
Auto shutter .............................................................................................................. 122
Auto gain.................................................................................................................. 124
Manual gain............................................................................................................... 127
Brightness (black level or offset) .................................................................................. 127
Horizontal mirror function ........................................................................................... 129
Shading correction...................................................................................................... 130
Building shading image in Format_7 modes ............................................................... 130
First example .................................................................................................... 130
Second example................................................................................................. 130
How to store shading image..................................................................................... 131
Automatic generation of correction data.................................................................... 132
Requirements .................................................................................................... 132
Algorithm ......................................................................................................... 132
Loading a shading image out of the camera ............................................................... 135
Loading a shading image into the camera .................................................................. 136
Look-up table (LUT) and gamma function....................................................................... 137
Loading an LUT into the camera ............................................................................... 139
Defect pixel correction ................................................................................................ 140
Building defect pixel correction image in Format_7 modes ........................................... 141
First example .................................................................................................... 141
Second example................................................................................................. 141
Flow diagram of defect pixel correction ..................................................................... 142
Building defect pixel data ....................................................................................... 143
Grab an image with defect pixel data.................................................................... 143
Calculate defect pixel coordinates ........................................................................ 143
Reset values (resolution, shutter, gain, brightness) ................................................ 144
Activate/deactivate defect pixel correction ................................................................ 144
Store defect pixel data non-volatile .......................................................................... 144
Load non-volatile stored defect pixel data ................................................................. 144
Send defect pixel data to the host ............................................................................ 145
Receive defect pixel data from the host..................................................................... 145
DPC data: storing mechanism ................................................................................... 145
Binning (only Stingray b/w and F-201C/504C) ................................................................ 146
2 x / 4 x / 8 x binning (F-201C only 2 x vertical binning) ............................................ 146
Vertical binning ..................................................................................................... 147