Allied customers using or selling these products for use in such applications do so at their own risk and agree to fully indemnify Allied for any damages resulting from such improper use or sale. Trademarks Unless stated otherwise, all trademarks appearing in this document of Allied Vision Technologies are brands protected by law.
Contents Contacting Allied Vision Technologies ..........10 Introduction ......................11 Document history ......................11 Manual overview......................17 Conventions used in this manual..................18 Styles ........................18 Symbols ........................18 More information......................19 Before operation ......................19 PIKE cameras .......................21 Declarations of conformity ................23...
Page 4
PIKE F-032B/C (fiber)....................42 PIKE F-100B/C (fiber)....................44 PIKE F-145B/C (fiber) (-15fps*)..................46 PIKE F-210B/C (fiber)....................48 PIKE F-421B/C (fiber)....................50 PIKE F-505B/C (fiber)....................52 Spectral sensitivity ....................... 54 Camera dimensions ..................60 PIKE standard housing (2 x 1394b copper) ............... 60 PIKE (1394b: 1 x GOF, 1 x copper)...................
Page 5
Color cameras ......................95 Channel balance ......................96 Channel adjustment with SmartView (>1.5) ..............96 White balance ......................98 One-push automatic white balance ................99 Automatic white balance ..................101 Auto shutter ......................102 Auto gain ........................104 Manual gain....................... 107 Brightness (black level or offset) ..................
Page 6
Color interpolation (BAYER demosaicing) ............... 146 Sharpness........................147 Hue and saturation ..................... 148 Color correction......................149 Why color correction? ..................149 Color correction in AVT cameras ................149 Color correction: formula..................149 GretagMacbeth ColorChecker ................149 Changing color correction coefficients ..............150 Switch color correction on/off ................
Page 7
SIS: Definition ....................... 182 SIS: Scenarios......................182 Smear reduction ......................184 Smear reduction: definition ..................184 Smear reduction: how it works ................. 184 Smear reduction: switch on/off in register and SmartView ..........184 Video formats, modes and bandwidth ..........185 PIKE F-032B / PIKE F-032C...................
Page 8
Camera initialize register..................239 Inquiry register for video format................239 Inquiry register for video mode ................240 Inquiry register for video frame rate and base address ..........241 Inquiry register for basic function................250 Inquiry register for feature presence ................. 251 Inquiry register for feature elements .................
Page 9
Format_7 mode mapping ..................297 Example ......................298 Secure image signature (SIS) ................... 299 Advanced register: SIS..................299 Advanced register: frame counter ................. 301 Advanced register: trigger counter................ 302 Where to find time stamp, frame counter and trigger counter in the image....303 Where to find all SIS values in the image ..............
Introduction Introduction Document history Version Date Remarks V2.0.0 07.07.2006 New Manual - RELEASE status PRE_V3.0.0 22.09.2006 Minor corrections Added Pike F-145 Pike F-210 AOI frame rates corrected: Chapter PIKE F-210: AOI frame rates (no sub-sampling) on page 217 New advanced registers: Chapter Advanced features on page V3.0.1...
Page 12
Introduction Version Date Remarks continued from last page V3.2.0 22.08.2007 Minor corrections Added CE in Chapter Declarations of conformity on page 23. Added Value field in Table 36: CSR: Shutter on page 103. Added Chapter Cross section: CS-Mount (only PIKE F-032B/C) on page 71.
Page 13
Introduction Version Date Remarks continued from last page V4.0.0 15.01.2008 Added 15fps versions of PIKE F-145 at Table 123: Camera type ID list on page 267 Added VERSION_INFO1_EX, VERSION_INFO3_EX and description Table 122: Advanced register: Extended version information on page 266 Revised Chapter Secure image signature (SIS) on page 299...
Page 14
Introduction Version Date Remarks continued from last page V4.1.0 20.08.08 Added PIKE F-505 to Chapter Index on page 313 Revised formulas by adding some units in Chapter How does bandwidth affect the frame rate? on page 226 Corrected Table 143: Advanced register: Channel balance page 290 Added Max IsoSize Bit [1] to register 0xF1000048 ADV_INQ_3 Table 124: Advanced register: Advanced feature inquiry...
Page 15
Remarks continued from last page V4.1.0 20.08.08 Restructuring of Pike Technical Manual: [continued] [continued] Added Chapter Contacting Allied Vision Technologies on page Added Chapter Manual overview on page 17 Restructured Chapter Pike types and highlights to Chapter PIKE cameras on page 21.
Page 16
Introduction Version Date Remarks continued from last page V4.1.0 20.08.08 [continued: Restructuring of Pike Technical Manual:] [continued] [continued] Revised Chapter Configuration of the camera on page 230 Revised Chapter Firmware update on page 311 Added Chapter Sensor position accuracy of AVT cameras page 312 Revised Chapter Index...
Introduction Manual overview This manual overview describes each chapter of this manual shortly. • Chapter Contacting Allied Vision Technologies on page 10 lists AVT con- tact data for both: – technical information / ordering – commercial information • Chapter Introduction...
Introduction • Chapter How does bandwidth affect the frame rate? on page 226 gives some considerations on bandwidth details. • Chapter Configuration of the camera on page 230 lists standard and advanced register descriptions of all camera features. • Chapter Firmware update on page 311 explains where to get information on firmware updates and explains the extended version number scheme...
Introduction This symbol highlights URLs for further information. The URL itself is shown in blue. Example: http://www.alliedvisiontec.com More information For more information on hardware and software read the following: • Hardware Installation Guide describes the hardware installation proce- dures for all 1394 AVT cameras (Dolphin, Oscar, Marlin, Guppy, Pike, Stingray).
Page 20
To demonstrate the properties of the camera, all examples in this manual are based on the FirePackage OHCI API software and the SmartView application. These utilities can be obtained from Allied Vision Technologies (AVT). A free version of SmartView is available for download at: www.alliedvisiontec.com...
IEEE 1394b With the new Pike, Allied Vision Technologies presents the broadest range of cameras with IEEE 1394b interfaces. Moreover, with daisy chain as well as direct fiber technology they gain the highest level of acceptance for demand- ing areas of use in manufacturing industry.
Page 22
PIKE cameras Pike type Sensor Picture size (max.) Frame rates, Format_7 Mode_0 full resolution PIKE F-032B/C Type 1/3 KODAK KAI-340 640 (h) x 480 (v) Up to 208 fps PIKE F-032B/C fiber Progressive Scan CCD imager PIKE F-100B/C Type 2/3 KODAK KAI-1020 1000 (h) x 1000 (v) Up to 60 fps PIKE F-100B/C fiber Progressive Scan CCD imager...
Declarations of conformity Declarations of conformity Allied Vision Technologies declares under its sole responsibility that the fol- lowing products Category Name Model Name Digital Camera (IEEE 1394) PIKE F-032B PIKE F-032C PIKE F-032B fiber PIKE F-032C fiber PIKE F-100B PIKE F-100C...
FireWire FireWire Overview FireWire provides one of the most comprehensive, high-performance, cost- effective solutions platforms. FireWire offers very impressive throughput at very affordable prices. Definition FireWire (also known as i.Link or IEEE 1394) is a personal computer and digital video serial bus interface standard, offering high-speed communica- tions and isochronous real-time data services.
FireWire Why use FireWire? Digital cameras with on-board FireWire (IEEE 1394a or 1394b) communica- tions conforming to the IIDC standard (V1.3 or V1.31) have created cost- effective and powerful solutions options being used for thousands of differ- ent applications around the world. FireWire is currently the premier robust digital interface for industrial applications for many reasons, including: •...
Page 26
FireWire Figure 2: 1394a data transmission In case of 1394b no gaps are needed due to parallel arbitration, handled by bus owner supervisor selector (BOSS) (see the following diagram). Whereas 1394a works in half duplex transmission, 1394 does full duplex transmission. Cycle Sync: 1394b Parallel arbitration, handled by BOSS, can eliminate gaps Figure 3: 1394b data transmission...
FireWire Note How to extend the size of an isochronous packet up to 11.000 byte at S800: • see register 0xF1000048, ADV_INQ_3, Max IsoSize [1] Table 124: Advanced register: Advanced feature inquiry on page 269 • see Chapter Maximum ISO packet size on page 292 FireWire connection capabilities FireWire can connect together up to 63 peripherals in an acyclic network...
FireWire In addition to common standards shared across manufacturers, a special Format_7 mode also provided a means by which a manufacturer could offer special features (smart features), such as: • higher resolutions • higher frame rates • diverse color modes as extensions (advanced registers) to the prescribed common set.
FireWire Compatibility between 1394a and 1394b 1394b port 1394b camera 1394a camera 1394a port 1394a camera connected to 1394b bus 1394b camera connected to 1394a bus The cable explains dual compatibility: This cable The cable explains dual compatibility: In this case, serves to connect an IEEE 1394a camera with its the cable connects an IEEE 1394b camera with its six-pin connector to a bilingual port (a port which...
FireWire 1394b bandwidths According to the 1394b specification on isochronous transfer, the largest data payload size of 8192 bytes per 125 µs cycle is possible with a bandwidth of 800 Mbit/s. For further details read Chapter How does bandwidth affect the frame rate? on page 226.
Page 33
FireWire Figure 5: Block diagram of modern PC (X38 chipset by INTEL) Caution As mentioned earlier, it is very important not to exceed an inrush current of 18 mJoule in 3 ms. (This means that a device, when powered via 12 V bus power must never draw more than 1.5 A, even not in the first 3 ms.) Higher inrush current may damage the physical interface chip of the camera and/or the phy chip in your PC.
FireWire Requirements for laptop and 1394b As mentioned above, 1394b requires low latency for data transmission (small receive-FIFO). In order to get the most out of your camera-to-laptop config- uration, we recommend the following chipset for your laptop: • For Intel-based laptops, chipset 915 (or higher) •...
FireWire Figure 7: ExpressCard Logo, ExpressCard/54 (SIIG) Figure 8: ExpressCard technology ExpressCard is a new standard set by PCMCIA. For more information visit: http://www.expresscard.org/web/site/ Example1: 1394b bandwidth of PIKE cameras PIKE model Resolution Frame rate Bandwidth Pike F-032 B/C 208 fps 62.5 MByte/s Pike F-100 B/C megapixel...
FireWire PIKE model Resolution Frame rate Bandwidth Pike F-421 B/C megapixel 15 fps 62.5 MByte/s Pike F-505 B/C megapixel 13 fps 62.5 MByte/s Table 7: Bandwidth of Pike cameras Note All data are calculated using Raw8 / Mono8 color mode. Higher bit depths or color modes will double or triple band- width requirements.
FireWire FireWire Plug & play capabilities FireWire devices implement the ISO/IEC 13213 configuration ROM model for device configuration and identification, to provide plug & play capability. All FireWire devices are identified by an IEEE EUI-64 unique identifier (an exten- sion of the 48-bit Ethernet MAC address format) in addition to well-known codes indicating the type of device and protocols it supports.
FireWire Operating system support Operating system 1394a 1394b Linux Full support Full support Apple Mac OS X Full support Full support Windows XP With service pack 2 the default speed for 1394b is S100 (100 Mbit/s). A download and registry modification is available from Microsoft to restore performance to either S400 or S800.
Filter and lenses Filter and lenses IR cut filter: spectral transmission The following illustration shows the spectral transmission of the IR cut filter: Figure 9: Spectral transmission of Jenofilt 217 PIKE Technical Manual V4.1.0...
Filter and lenses Camera lenses AVT offers different lenses from a variety of manufacturers. The following table lists selected image formats depending on camera type, distance and the focal length of the lens. Focal length Distance = 0.5 m Distance = 1 m for type 1/3 sensors PIKE F-032 4.8 mm...
Page 41
Filter and lenses Focal length Distance = 0.5 m Distance = 1 m for type 1 sensors PIKE F-210 8 mm 0.6 m x 0.8 m 1.2 m x 1.6 m 12 mm 0.39 m x 0.52 m 0.78 m x 1.16 m 16 mm 0.29 m x 0.38 m 0.58 m x 0.76 m...
Camera dimensions Camera dimensions Note For information on sensor position accuracy: (sensor shift x/y, optical back focal length z and sensor rota- tion α) see Chapter Sensor position accuracy of AVT cameras on page 312. PIKE standard housing (2 x 1394b copper) Note: different from GOF version see next page Body size: 96.8 mm x 44 mm x 44 mm (L x W x H)
Page 43
Camera dimensions PIKE (1394b: 1 x GOF, 1 x copper) Note: different from 2 x copper version see previous page Body size: 96.8 mm x 44 mm x 44 mm (L x W x H) Mass: 250 g (without lens) Figure 23: Camera dimensions (1394b: 1 x GOF, 1 x copper) PIKE Technical Manual V4.1.0...
Page 44
Camera dimensions Tripod adapter This tripod adapter is only designed for standard housings, but not for the angled head versions. Note If you need a tripod adapter for angled head versions, please contact AVT support. Figure 24: Tripod dimensions PIKE Technical Manual V4.1.0...
Page 45
Camera dimensions Pike W90 (2 x 1394b copper) This version has the sensor tilted by 90 degrees clockwise, so that it views upwards. Figure 25: Pike W90 (2 x 1394b copper) PIKE Technical Manual V4.1.0...
Page 46
Camera dimensions Pike W90 (1394b: 1 x GOF, 1 x copper) This version has the sensor tilted by 90 degrees clockwise, so that it views upwards. Figure 26: Pike W90 (1394b: 1 x GOF, 1 x copper) PIKE Technical Manual V4.1.0...
Page 47
Camera dimensions Pike W90 S90 (2 x 1394b copper) This version has the sensor tilted by 90 degrees clockwise, so that it views upwards. The sensor is also rotated by 90 degrees clockwise. Figure 27: Pike W90 S90 (2 x 1394b copper) PIKE Technical Manual V4.1.0...
Page 48
Camera dimensions Pike W90 S90 (1394b: 1 x GOF, 1 x copper) This version has the sensor tilted by 90 degrees clockwise, so that it views upwards. The sensor is also rotated by 90 degrees clockwise. Figure 28: Pike W90 S90 (1394b: 1 x GOF, 1 x copper) PIKE Technical Manual V4.1.0...
Page 49
Camera dimensions Pike W270 (2 x 1394b copper) This version has the sensor tilted by 270 degrees clockwise, so that it views downwards. Figure 29: Pike W270 (2 x 1394b copper) PIKE Technical Manual V4.1.0...
Page 50
Camera dimensions Pike W270 (1394b: 1 x GOF, 1 x copper) This version has the sensor tilted by 270 degrees clockwise, so that it views downwards. Figure 30: Pike W270 (1394b: 1 x GOF, 1 x copper) PIKE Technical Manual V4.1.0...
Page 51
Camera dimensions Pike W270 S90 (2 x 1394b copper) This version has the sensor tilted by 270 degrees clockwise, so that it views downwards. The sensor is also rotated by 90 degrees clockwise. Figure 31: Pike W270 S90 (2 x 1394b copper) PIKE Technical Manual V4.1.0...
Page 52
Camera dimensions Pike W270 S90 (1394b: 1 x GOF, 1 x copper) This version has the sensor tilted by 270 degrees clockwise, so that it views downwards. The sensor is also rotated by 90 degrees clockwise. Figure 32: Pike W270 S90 (1394b: 1 x GOF, 1 x copper) PIKE Technical Manual V4.1.0...
Camera dimensions Cross section: C-Mount (VGA size filter) PIKE F-032 cameras are equipped with VGA size filter. Figure 34: Pike C-Mount dimensions (VGA size filter for Pike F-032) PIKE Technical Manual V4.1.0...
Page 55
Camera dimensions Cross section: C-Mount (large filter) PIKE F-100, PIKE F-145, PIKE F-210, PIKE F-421, PIKE F-505 are equipped with a large filter. Figure 35: Pike C-Mount dimensions (large filter for Pike F-100, F-145, F-210, F-421, F-505) PIKE Technical Manual V4.1.0...
Page 56
Camera dimensions Adjustment of C-Mount PIKE cameras allow the precise adjustment of the back focus of the C-Mount by means of a back focus ring which is threaded into the C-Mount and held by two screws on either side of the camera. The mechanical adjustment of the imaging device is important in order to achieve a perfect alignment with the focal point of the lens.
Page 57
Camera dimensions F-Mount, K-Mount, M39-Mount Note For other mounts (e.g. F-Mount, K-Mount) please contact your distributor. Note Pike F-210 and Pike F-421 can be equipped at factory site with M39-Mount instead of C-Mount. M39-Mount is ideally suited for Voigtländer (aka Voigtlander) short focal length optics.
Specifications Specifications PIKE F-032B/C (fiber) Feature Specification Image device Type 1/3 (diag. 5.92 mm) type progressive scan KODAK IT CCD KAI340A/C with HAD microlens Chip size 4.74 mm x 3.55 mm Cell size 7.4 µm x 7.4 µm Picture size (max.) 640 x 480 pixels (Format_7 Mode_0) Lens mount Adjustable C-Mount: 17.526 mm (in air);...
Page 59
Specifications Feature Specification Digital interface IEEE 1394b (IIDC V1.31), 2 x copper connectors (bilingual) (daisy chain) fiber: IEEE 1394b, 2 connectors: 1 x copper (bilingual), 1 x GOF connector (2 x optical fiber on LCLC), (daisy chain) Power requirements DC 8 V - 36 V via IEEE 1394 cable or 12-pin HIROSE Power consumption Typical 5 watt (@ 12 V DC);...
Specifications PIKE F-100B/C (fiber) Feature Specification Image device Type 2/3 (diag. 10.5 mm) type progressive scan KODAK IT CCD KAI1020A/C with HAD microlens Chip size 7.4 mm x 7.4 mm Cell size 7.4 µm x 7.4 µm Picture size (max.) 1000 x 1000 pixels (Format_7 Mode_0) Lens mount Adjustable C-Mount: 17.526 mm (in air);...
Specifications Feature Specification Mass 250 g (without lens) Operating temperature + 5 °C ... + 50 °C housing temperature (without condensation) Storage temperature - 10 °C ... + 60 °C ambient temperature (without condensation) Regulations CE, FCC Class B, RoHS (2002/95/EC) Standard accessories b/w: protection glass color: IR cut filter...
Specifications PIKE F-145B/C (fiber) (-15fps*) * Variant: F-145-15fps only This variant offers lower speed (only 15 fps), but better image quality. Feature Specification Image device Type 2/3 (diag. 11.2 mm) type progressive scan SONY ICX285AL/AQ with EXview HAD microlens Chip size 10.2 mm x 8.3 mm Cell size 6.45 µm x 6.45 µm...
Specifications Feature Specification Power consumption Typical 5 watt (@ 12 V DC); fiber: typical 5.75 watt (@ 12 V DC) Dimensions 96.8 mm x 44 mm x 44 mm (L x W x H); incl. connectors, without tripod and lens Mass 250 g (without lens) Operating temperature...
Specifications PIKE F-210B/C (fiber) Feature Specification Image device Type 1 (diag. 16.3 mm) type progressive scan KODAK IT CCD KAI2093A/C with HAD microlens Chip size 15.9 mm x 8.6 mm Cell size 7.4 µm x 7.4 µm Picture size (max.) 1920 x 1080 pixels (Format_7 Mode_0) Lens mount Adjustable C-Mount: 17.526 mm (in air);...
Specifications Feature Specification Mass 250 g (without lens) Operating temperature + 5 °C ... + 50 °C housing temperature (without condensation) Storage temperature - 10 °C ... + 60 °C ambient temperature (without condensation) Regulations CE, FCC Class B, RoHS (2002/95/EC) Standard accessories b/w: protection glass color: IR cut filter...
Specifications PIKE F-421B/C (fiber) Feature Specification Image device Type 1.2 (diag. 21.4 mm) type progressive scan KODAK IT CCD KAI4021A/C with HAD microlens Chip size 16.67 mm x 16.05 mm Cell size 7.4 µm x 7.4 µm Picture size (max.) 2048 x 2048 pixels (Format_7 Mode_0) Lens mount Adjustable C-Mount: 17.526 mm (in air);...
Specifications Feature Specification Mass 250 g (without lens) Operating temperature + 5 °C ... + 50 °C housing temperature (without condensation) Storage temperature - 10 °C ... + 60 °C ambient temperature (without condensation) Regulations CE, FCC Class B, RoHS (2002/95/EC) Standard accessories b/w: protection glass color: IR cut filter...
Specifications PIKE F-505B/C (fiber) Feature Specification Image device Type 2/3 (diag. 11.016 mm) progressive scan SONY ICX625AL/AQ with Super HAD microlens Chip size 9.93 mm × 8.70 mm Cell size 3.45 µm x 3.45 µm Picture size (max.) 2452 x 2054 pixels (Format_7 Mode_0) Lens mount Adjustable C-Mount: 17.526 mm (in air);...
Specifications Feature Specification Dimensions 96.8 mm x 44 mm x 44 mm (L x W x H); incl. connectors, without tripod and lens Mass 250 g (without lens) Operating temperature + 5 °C ... + 50 °C housing temperature (without condensation) Storage temperature - 10 °C ...
Camera interfaces Camera interfaces This chapter gives you detailed information on status LEDs, inputs and out- puts, trigger features and transmission of data packets. Note For a detailed description of the camera interfaces (FireWire, I/O connector), ordering numbers and operat- ing instructions see the Hardware Installation Guide, Chapter Camera interfaces.
Page 77
Camera interfaces Note • Both IEEE 1394b connectors with screw lock mecha- nism provide access to the IEEE 1394 bus and thus makes it possible to control the camera and output frames. Connect the camera by using either of the con- nectors.
Camera interfaces Camera I/O connector pin assignment Pin Signal Direction Level Description External GND GND for RS232 and External Ground for RS232 ext. power and external power External Power +8...+36 V DC Power supply Camera Out 4 Open emitter Camera Output 4 (GPOut4) default: - Camera In 1...
Camera interfaces Status LEDs Status LEDs Yellow Green (Trg/S2) (Com/S1) Figure 40: Position of status LEDs On LED (green) The green power LED indicates that the camera is being supplied with suffi- cient voltage and is ready for operation. Status LED The following states are displayed via the LED: State Description...
Page 80
Camera interfaces Blink codes are used to signal warnings or error states: Warning DCAM MISC FPGA Stack Class S1 1 blink 2 blinks 3 blinks 4 blinks 5 blinks Error code S2 FPGA boot error 1-5 blinks Stack setup 1 blink Stack start 2 blinks No FLASH object...
Camera interfaces Control and video data signals The inputs and outputs of the camera can be configured by software. The dif- ferent modes are described below. Inputs Note For a general description of the inputs and warnings see the Hardware Installation Guide, Chapter PIKE input descrip- tion.
Camera interfaces Input/output pin control All input and output signals running over the camera I/O connector are con- trolled by an advanced feature register. Register Name Field Description 0xF1000300 IO_INP_CTRL1 Presence_Inq Indicates presence of this feature (read only) [1..6] Reserved Polarity 0: Signal not inverted 1: Signal inverted...
Camera interfaces IO_INP_CTRL 1-2 The Polarity flag determines whether the input is low active (0) or high active (1). The input mode can be seen in the following table. The PinState flag is used to query the current status of the input. The PinState bit reads the inverting optocoupler status after an internal negation.
Camera interfaces Trigger delay Pike cameras feature various ways to delay image capture based on external trigger. With IIDC V1.31 there is a standard CSR at Register F0F00534/834h to control a delay up to FFFh x time base value. The following table explains the inquiry register and the meaning of the var- ious bits.
Page 85
Camera interfaces Register Name Field Description 0xF0F00834 TRIGGER_DELAY Presence_Inq Presence of this feature: 0:N/ 1: Available Abs_Control Absolute value control O: Control with value in the value field 1: Control with value in the absolute value CSR. If this bit=1 the value in the value field has to be ignored.
Camera interfaces Note • Switching trigger delay to ON also switches external Trigger_Mode_0 to ON. • This feature works with external Trigger_Mode_0 only. Outputs Note For a general description of the outputs and warnings see the Hardware Installation Guide, Chapter PIKE output description.
Camera interfaces IO_OUTP_CTRL 1-4 The outputs (Output mode, Polarity) are controlled via 4 advanced feature registers (see Table 28: Advanced register: Output control on page 87). The Polarity field determines whether the output is inverted or not. The out- put mode can be viewed in the table below. The current status of the output can be queried and set via the PinState.
Camera interfaces Output modes Mode Default / description 0x00 0x01 Output state follows PinState bit Using this mode, the Polarity bit has to be set to 0 (not inverted). This is necessary for an error free display of the output status. 0x02 Integration enable Output 1...
Page 89
Camera interfaces Figure 44: Output impulse diagram Note The signals can be inverted. Caution Firing a new trigger while IntEna is still active can result in missing image. PIKE Technical Manual V4.1.0...
Page 90
Camera interfaces Note • Note that trigger delay in fact delays the image cap- ture whereas the IntEna_Delay only delays the leading edge of the IntEna output signal but does not delay the image capture. • As mentioned before, it is possible to set the outputs by software.
Camera interfaces Pixel data Pixel data are transmitted as isochronous data packets in accordance with the 1394 interface described in IIDC V1.31. The first packet of a frame is identified by the 1 in the sync bit (sy) of the packet header. sync bit 8-15 16-23...
Page 92
Camera interfaces The following table provides a description of the video data format for the different modes. (Source: IIDC V1.31; packed 12-bit mode: AVT) Figure 45: YUV 4:2:2 and YUV 4:1:1 format: Source: IIDC V1.31 specification Figure 46: Y8 and Y16 format: Source: IIDC V1.31 specification <Y (Mono12) format>...
Page 93
Camera interfaces Figure 47: Data structure: Source: IIDC V1.31 specification <Y(Mono12)> Y component has 12-bit data. The data type is „unsigned“. Signal level (decimal) Data (hexadecimal) Highest 4095 0x0FFF 4094 0x0FFE 0x0001 Lowest 0x0000 Table 33: Data structure of Packed 12-Bit Mode (mono and raw) PIKE Technical Manual V4.1.0...
Description of the data path Description of the data path Block diagrams of the cameras The following diagrams illustrate the data flow and the bit resolution of image data after being read from the CCD sensor chip in the camera. The indi- vidual blocks are described in more detail in the following paragraphs.
Description of the data path Color cameras 14 bit Test-Pattern HIROSE I/O RS232 16 bit Figure 49: Block diagram color camera PIKE Technical Manual V4.1.0...
Description of the data path Channel balance All KODAK PIKE sensors are read out via two channels: the first channel for the left half of the image and the second channel for the right half of the image (divided by a central vertical line). All KODAK equipped cameras come with a sensor-specific pre-adjusted chan- nel balance.
Page 97
Description of the data path 2. To perform an automatic channel adjustment, click on Do one-push adjustment. 3. If the adjustment is not sufficient, repeat this step or adjust by clicking the arrow buttons. The two channels are automatically adjusted. For the channel adjustment a region from +/- 20 pixel around the middle vertical is taken into account.
Description of the data path White balance Pike color cameras have both manual and automatic white balance. White balance is applied so that non-colored image parts are displayed non-col- ored. From the user's point, the white balance settings are made in register 80Ch of IIDC V1.31.
Description of the data path The values in the U/B_Value field produce changes from green to blue; the V/R_Value field from green to red as illustrated below. Note While lowering both U/B and V/R registers from 284 towards 0, the lower one of the two effectively controls the green gain.
Page 100
Description of the data path This feature uses the assumption that the R-G-B component sums of the sam- ples shall be equal; i.e., it assumes that the average of the sampled grid pix- els is to be monochrome. Note The following ancillary conditions should be observed for suc- cessful white balance: •...
Description of the data path Finally, the calculated correction values can be read from the WHITE_BALANCE register 80Ch. Automatic white balance The auto white balance feature continuously optimizes the color characteris- tics of the image. For the white balance algorithm the whole image or a subset of it is used. Note Configuration To set position and size of the control area...
Description of the data path The algorithm is based on the assumption that the R-G-B component sums of the samples are equal, i.e., it assumes that the mean of the sampled grid pix- els is to be monochrome. Auto shutter In combination with auto white balance, PIKE cameras are equipped with auto-shutter feature.
Page 103
Description of the data path To configure this feature in control and status register (CSR): Register Name Field Description 0xF0F0081C SHUTTER Presence_Inq [0] Presence of this feature: 0: N/A 1: Available Abs_Control Absolute value control O: Control with value in the Value field 1: Control with value in the Absolute value CSR If this bit=1, the value in the Value field will be ignored.
Description of the data path Auto gain All Pike cameras are equipped with auto gain feature. Note Configuration To configure this feature in an advanced register: See Table 138: Advanced register: Auto gain control on page 286. When enabled auto gain adjusts the gain within the default gain limits or within the limits set in advanced register F1000370h in order to reach the brightness set in auto exposure register as reference.
Page 105
Description of the data path Register Name Field Description 0xF0F00820 GAIN Presence_Inq Presence of this feature: 0: N/A 1: Available Abs_Control Absolute value control O: Control with value in the value field 1: Control with value in the absolute value CSR If this bit=1 the value in the value field has to be ignored.
Page 106
Description of the data path Register Name Field Description 0xF0F00804 AUTO_EXPOSURE Presence_Inq Presence of this feature: 0: N/A 1: Available Abs_Control Absolute value control O: Control with value in the value field 1: Control with value in the absolute value CSR If this bit=1 the value in the value field has to be ignored.
Description of the data path Note • Values can only be changed within the limits of gain CSR. • Changes in auto exposure register only have an effect when auto gain is active. • Auto exposure limits are 50..205. (SmartView Ctrl1 tab: Target grey level) Manual gain PIKE cameras are equipped with a gain setting, allowing the gain to be man-...
Description of the data path Brightness (black level or offset) It is possible to set the black level in the camera within the following ranges: 0 ... +16 gray values (@ 8 bit) Increments are in 1/16 LSB (@ 8 bit) Note •...
Description of the data path Horizontal mirror function All Pike cameras are equipped with an electronic mirror function, which mir- rors pixels from the left side of the image to the right side and vice versa. The mirror is centered to the actual FOV center and can be combined with all image manipulation functions, like binning, shading and DSNU.
Page 110
Description of the data path Mirror OFF: R-G-G-B for Pike 145C Mirror ON: G-R-B-G Pike 145 C Mirror OFF: G-R-B-G for all other Pikes Mirror ON: R-G-G-B for all other Pikes Figure 55: Mirror and Bayer order Note During switchover one image may be temporarily corrupted. PIKE Technical Manual V4.1.0...
Description of the data path Shading correction Shading correction is used to compensate for non-homogeneities caused by lighting or optical characteristics within specified ranges. To correct a frame, a multiplier from 1...2 is calculated for each pixel in 1/256 steps: this allows for shading to be compensated by up to 50%. Besides generating shading data off-line and downloading it to the camera, the camera allows correction data to be generated automatically in the cam- era itself.
Description of the data path How to store shading image There are two storing possibilities: • After generating the shading image in the camera, it can be uploaded to the host computer for nonvolatile storage purposes. • The shading image can be stored in the camera itself. The following pictures describe the process of automatic generation of cor- rection data (PIKE F-032C).
Description of the data path Automatic generation of correction data Requirements Shading correction compensates for non-homogeneities by giving all pixels the same gray value as the brightest pixel. This means that only the back- ground must be visible and the brightest pixel has a gray value of less than 255 when automatic generation of shading data is started.
Page 114
Description of the data path Note Configuration To configure this feature in an advanced register: See Table 132: Advanced register: Shading on page 279. Note • The SHDG_CTRL register should not be queried at very short intervals. This is because each query delays the generation of the shading image.
Page 115
Description of the data path 255.0 surface plot histogram Count: 307200 Min: 139 Mean: 157.039 Max: 162 StdDev: 2.629 Mode: 158 (84449) Figure 58: Example of shaded image • On the left you see the image after shading correction. • The surface plot on the right clearly shows nearly no more gradient of the brightness (0: brightest 255: darkest pixels).
Description of the data path Loading a shading image out of the camera GPDATA_BUFFER is used to load a shading image out of the camera. Because the size of a shading image is larger than GPDATA_BUFFER, input must be handled in several steps: Query limits from register: SHDG_INFO and...
Description of the data path Loading a shading image into the camera GPDATA_BUFFER is used to load a shading image into the camera. Because the size of a shading image is larger than GPDATA_BUFFER, input must be handled in several steps (see also Chapter Reading or writing shading image from/into the camera on page 280):...
Description of the data path Look-up table (LUT) and gamma function The AVT Pike camera provides sixteen (0-15) user-defined look-up tables (LUT). The use of one LUT allows any function (in the form Output = F(Input)) to be stored in the camera's RAM and to be applied on the individual pixels of an image at run-time.
Page 119
Description of the data path Note • The input value is the 14-bit value from the digitizer. • The two gamma LUTs use LUT 14 and 15. • Gamma 1 (gamma=0.7) switches on LUT 14, gamma 2 (gamma=0.45) switches on LUT 15. After overriding LUT 14 and 15 with a user defined content, gamma functionality is no longer available until the next full initialization of the camera.
Description of the data path Loading an LUT into the camera Loading the LUT is carried out through the data exchange buffer called GPDATA_BUFFER. As this buffer can hold a maximum of 2 kB, and a complete LUT at 16384 x 14 bit is 28 kByte, programming can not take place in a one block write step because the size of an LUT is larger than GPDATA_BUFFER.
Description of the data path Binning (only Pike b/w models) 2 x / 4 x / 8 x binning Definition Binning is the process of combining neighboring pixels while being read out from the CCD chip. Note • Only Pike b/w cameras have this feature. •...
Description of the data path and the full binning modes: • 2 x full binning (a combination of 2 x H-binning and 2 x V-binning) • 4 x full binning (a combination of 4 x H-binning and 4 x V-binning) •...
Page 123
Description of the data path 8 x vertical binning Figure 64: 8 x vertical binning Note Vertical resolution is reduced, but signal-to noise ratio (SNR) is increased by about 3, 6 or 9 dB (2 x, 4 x or 8 x bin- ning).
Description of the data path Horizontal binning In horizontal binning adjacent horizontal pixels in a line are combined dig- itally in the FPGA of the camera without accumulating the black level: 2 x horizontal binning: 2 pixel signals from 2 horizontal neighboring pixels are combined.
Description of the data path Note The image appears horizontally compressed in this mode and does no longer show true aspect ratio. If horizontal binning is activated the image may appear to be over-exposed and must eventually be corrected. 2 x full binning/4 x full binning/8 x full binning If horizontal and vertical binning are combined, every 4 (16 or 64) pixels are consolidated into a single pixel.
Description of the data path Sub-sampling (PIKE b/w and color) What is sub-sampling? Definition Sub-sampling is the process of skipping neighboring pixels (with the same color) while being read out from the CCD chip. Which PIKE models have sub-sampling? All PIKE models, both color and b/w, have this feature. Description of sub-sampling Sub-sampling is used primarily for the following reason: •...
Page 127
Description of the data path 2 out of 4 2 out of 8 2 out of 16 Figure 70: Horizontal sub-sampling (color) Note The image appears horizontally compressed in this mode and no longer exhibits a true aspect ratio. PIKE Technical Manual V4.1.0...
Page 128
Description of the data path Format_7 Mode_5 By default and without further remapping use Format_7 Mode_5 for • b/w cameras: 2 out of 4 vertical sub-sampling • color cameras: 2 out of 4 vertical sub-sampling The different sub-sampling patterns are shown below. 2 out of 4 2 out of 8 2 out of 16...
Page 129
Description of the data path Note The image appears vertically compressed in this mode and no longer exhibits a true aspect ratio. Format_7 Mode_6 By default and without further remapping use Format_7 Mode_6 for 2 out of 4 H+V sub-sampling The different sub-sampling patterns are shown below.
Page 130
Description of the data path 2 out of 16 H+V sub-sampling Figure 75: 2 out of 16 H+V sub-sampling (b/w) PIKE Technical Manual V4.1.0...
Page 131
Description of the data path 2 out of 4 H+V sub-sampling Figure 76: 2 out of 4 H+V sub-sampling (color) 2 out of 8 H+V sub-sampling Figure 77: 2 out of 8 H+V sub-sampling (color) PIKE Technical Manual V4.1.0...
Page 132
Description of the data path 2 out of 16 H+V sub-sampling Figure 78: 2 out of 16 H+V sub-sampling (color) Note Changing sub-sampling modes involves the generation of new shading reference images due to a change in the image size. PIKE Technical Manual V4.1.0...
Description of the data path Binning and sub-sampling access The binning and sub-sampling modes described in the last two chapters are only available as pure binning or pure sub-sampling modes. A combination of both is not possible. As you can see there is a vast amount of possible combinations. But the num- ber of available Format_7 modes is limited and lower than the possible com- binations.
Page 134
Description of the data path Format_ID (see p297) AVT modes F7 modes according to IIDC 1394 0 x horizontal 2 x horizontal F7M0 (no change) 0 x vertical 4 x horizontal F7M1 8 x horizontal 0 x horizontal F7M2 2 x horizontal 2 x vertical 4 x horizontal F7M3...
Description of the data path Note Configuration To configure this feature in an advanced register: See Table 152: Advanced register: Format_7 mode mapping on page 297. Quick parameter change timing modes Why new timing modes? Former timing of the PIKE cameras showed the same behavior as MARLIN cameras: •...
Description of the data path • Standard Parameter Update Timing (slightly modified from previous PIKE cameras) • New: Quick Format Change Mode In the following you find a short description of both timing modes: Standard Parameter Update Timing The Standard Parameter Update Timing keeps the frame rate constant and does not create any gaps between two image transfers via bus (precondition: exposure (shutter) time must be smaller than transfer time).
Description of the data path How to transfer parameters to the camera The following 3 variants of transferring the parameters are available with the firmware 3.x: ☺ Transfer mode Advantage Disadvantage ☺ easy to use (standard quad Encapsulated Update (begin/ one write access per register end) writes in camera register is...
Description of the data path Camera timing behavior is like this: Fast Parameter Update Timing Quick Format Change Mode After the parameter update stop command all After the parameter update start command a cur- changed parameters are valid for the available rent transfer is interrupted.
Description of the data path The exact sequence is: Block-write (this needs to be a functionality of the underlying software stack (e.g. AVT FirePackage). It may not be available for third party IIDC software stacks.) of list to advanced feature address Camera timing behavior is like this: Fast Parameter Update Timing Quick Format Change Mode (QFCM)
Description of the data path Packed 12-Bit Mode All Pike cameras have the so-called Packed 12-Bit Mode. This means: two 12-bit pixel values are packed into 3 bytes instead of 4 bytes. B/w cameras Color cameras Packed 12-Bit MONO camera mode Packed 12-Bit RAW camera mode SmartView: MONO12 SmartView: RAW12...
Description of the data path High SNR mode (High Signal Noise Ratio) Note Configuration To configure this feature in an advanced register: See Table 145: Advanced register: High Signal Noise Ratio (HSNR) page 291. In this mode the camera grabs and averages a set number of images and out- puts one image with the same bit depth and the same brightness.
Description of the data path Frame memory and deferred image transport An image is normally captured and transported in consecutive steps. The image is taken, read out from the sensor, digitized and sent over the 1394 bus. Deferred image transport As all Pike cameras are equipped with built-in image memory, this order of events can be paused or delayed by using the deferred image transport fea- ture.
Description of the data path Note Configuration To configure this feature in an advanced register: See Table 134: Advanced register: Deferred image transport on page 282. HoldImg mode By setting the HoldImg flag, transport of the image over the 1394 bus is stopped completely.
Page 144
Description of the data path The following screenshot shows the sequence of commands needed to work with deferred mode. Figure 82: Example: Controlling deferred mode (SmartView - Direct Access; PIKE F-032C) For a description of the commands see the following table: rw Address Value Description...
Description of the data path FastCapture mode Note This mode can be activated only in Format_7. By setting FastCapture to false, the maximum frame rate both for image acquisition and read out is associated with the packet size set in the BYTE_PER_PACKET register.
Description of the data path Color interpolation (BAYER demosaicing) The color sensors capture the color information via so-called primary color (R-G-B) filters placed over the individual pixels in a BAYER mosaic layout. An effective BAYER RGB color interpolation already takes place in all Pike color version cameras.
Description of the data path Sharpness The Pike color models are equipped with a two step sharpness control, apply- ing a discreet horizontal high pass in the Y channel as shown in the next three line profiles. Sharpness 0, 1 and 2 is calculated with the following scheme: Sharpness value -0.25 +1.5...
Description of the data path Note Configuration To configure this feature in feature control register: See Table 118: Feature control register on page 257. Hue and saturation Pike CCD color models are equipped with hue and saturation registers. The hue register at offset 810h allows the color of objects to be changed without altering the white balance, by +/- 40 steps (+/- 10°) from the nom- inal perception.
Description of the data path Color correction Why color correction? The spectral response of a CCD is different of those of an output device or the human eye. This is the reason for the fact that perfect color reproduction is not possible. In each PIKE camera there is a factory setting for the color correction coefficients, see Chapter GretagMacbeth ColorChecker on page...
Description of the data path Changing color correction coefficients You can change the color-correction coefficients according to your own needs. Changes are stored in the user settings. Note • A number of 1000 equals a color correction coefficient of 1. •...
Description of the data path Color conversion (RGB YUV) The conversion from RGB to YUV is made using the following formulae: × × × 0.59 0.11 × × × – – 0.169 0.33 G 0.498 128 (@ 8 bit) × ×...
Description of the data path Serial interface All Pike cameras are equipped with the SIO (serial input/output) feature as described in IIDC V1.31. This means that the Pike’s serial interface can be used as a general RS232 interface. Data written to a specific address in the IEEE 1394 address range will be sent through the serial interface.
Page 153
Description of the data path To configure this feature in access control register (CSR): Offset Name Field Description 000h SERIAL_MODE_REG Baud_Rate [0..7] Baud rate setting WR: Set baud rate RD: Read baud rate 0: 300 bps 1: 600 bps 2: 1200 bps 3: 2400 bps 4: 4800 bps 5: 9600 bps...
Page 154
Description of the data path Offset Name Field Description 0004h SERIAL_CONTROL_REG RE Receive enable RD: Current status 0: Disable 1: Enable Transmit enable RD: Current status 0: disable 1: Enable [2..7] Reserved SERIAL_STATUS_REG TDRD Transmit data buffer ready Read only 0: not ready 1: ready Reserved...
Page 155
Description of the data path Offset Name Field Description 008h RECEIVE_BUFFER_ RBUF_ST [0..7] SIO receive buffer status STATUS_CONTRL RD: Number of bytes pending in receive buffer WR: Ignored RBUF_CNT [8..15] SIO receive buffer control RD: Number of bytes to be read from the receive FiFo WR: Number of bytes left for readout from the receive FiFo...
Page 156
Description of the data path To read data: 1. Query RDRD flag (buffer ready?) and write the number of bytes the host wants to read to RBUF_CNT. 2. Read the number of bytes pending in the receive buffer RBUF_ST (more data in the buffer than the host wanted to read?) and the number of bytes left for reading from the receive FiFo in RBUF_CNT (host wanted to read more data than were in the buffer?).
Controlling image capture Controlling image capture Shutter modes The cameras support the SHUTTER_MODES specified in IIDC V1.31. For all models this shutter is a global pipelined shutter; meaning that all pixels are exposed to the light at the same moment and for the same time span. Pipelined Pipelined means that the shutter for a new image can already happen, while the preceding image is transmitted.
Page 158
Controlling image capture External Trigger input, as applied at input pin External Trigger input, after inverting opto coupler Shutter register value External Trigger input, as applied at pin External Trigger input, after inv. Opto. Integration Time Figure 85: Trigger_Mode_0 and 1 PIKE Technical Manual V4.1.0...
Controlling image capture Bulk Trigger (Trigger_Mode_15) Trigger_Mode_15 is an extension to the IIDC trigger modes. One external trigger event can be used to trigger a multitude of internal image intakes. This is especially useful for: • Grabbing exactly one image based on the first external trigger. •...
Page 160
Controlling image capture The functionality is controlled via bit [6] and bitgroup [12-15] of the follow- ing register: Register Name Field Description 0xF0F00830 TRIGGER_MODE Presence_Inq Presence of this feature: 0: N/A 1: Available Abs_Control Absolute value control O: Control with value in the Value field 1: Control with value in the Absolute value If this bit = 1 the value in the Value field has to be ignored...
Page 161
Controlling image capture The screenshots below illustrate the use of Trigger_Mode_15 on a register level: • Line #1switches continuous mode off, leaving viewer in listen mode. • Line #2 prepares 830h register for external trigger and Mode_15. Left = continuous Middle = one-shot Right = multi-shot Line #3 switches camera back to...
Controlling image capture Trigger delay As already mentioned earlier the cameras feature various ways to delay image capture based on external trigger. With IIDC V1.31 there is a standard CSR at Register F0F00534/834h to control a delay up to FFFh x time base value. The following table explains the Inquiry register and the meaning of the var- ious bits.
Controlling image capture Register Name Field Description 0xF0F00834 TRIGGER_DELAY Presence_Inq Presence of this feature: 0: N/A 1: Available Abs_Control Absolute value control O: Control with value in the Value field 1: Control with value in the Absolute value CSR If this bit = 1, the value in the Value field has to be ignored [2..5] Reserved...
Controlling image capture The advanced register allows start of the integration to be delayed by max. µs, which is max. 2.1 s after a trigger edge was detected. Note • Switching trigger delay to ON also switches external Trigger_Mode_0 to ON. •...
Controlling image capture Minimum exposure time Camera model Minimum exposure time Effective min. exp. time = Min. exp. time + offset Pike F-032 1 µs 1 µs + 17 µs = 18 µs Pike F-100 1 µs 1 µs + 42 µs = 43 µs Pike F-145 1 µs 1 µs + 38 µs = 39 µs...
Page 166
Controlling image capture The lowest possible value of ExpTime is camera-specific (see Table 60: Cam- era-specific minimum exposure time on page 165). Note • Exposure times entered via the 81Ch register are mir- rored in the extended register, but not vice versa. •...
Controlling image capture One-shot The camera can record an image by setting the one-shot bit in the 61Ch reg- ister. This bit is automatically cleared after the image is captured. If the cam- era is placed in ISO_Enable mode (see Chapter ISO_Enable / free-run on page 170), this flag is ignored.
Controlling image capture One-shot command on the bus to start of exposure The following sections describe the time response of the camera using a sin- gle frame (one-shot) command. As set out in the IIDC specification, this is a software command that causes the camera to record and transmit a single frame.
Controlling image capture End of exposure to first packet on the bus After the exposure, the CCD sensor is read out; some data is written into the FRAME_BUFFER before being transmitted to the bus. The time from the end of exposure to the start of transport on the bus is: 710 µs ±...
Controlling image capture Multi-shot Setting multi-shot and entering a quantity of images in Count_Number in the 61Ch register enables the camera to record a specified number of images. The number is indicated in bits 16 to 31. If the camera is put into ISO_Enable mode (see Chapter ISO_Enable / free-run on page 170), this flag...
Controlling image capture The following screenshot shows an example of broadcast commands sent with the Firedemo example of FirePackage: Figure 90: Broadcast one-shot • Line 1 shows the broadcast command, which stops all cameras con- nected to the same IEEE 1394 bus. It is generated by holding the <shift>...
Page 172
Controlling image capture In this case the camera can resynchronize the horizontal clock to the new trigger event, leaving only a very short uncertainty time of the master clock period. Model Exposure start jitter Exposure start jitter (while FVal) (while camera idle) ±...
Controlling image capture Sequence mode Generally all AVT Pike cameras enable certain image settings to be modified on the fly, e.g. gain and shutter can be changed by the host computer by writing into the gain and shutter register even while the camera is running.
Controlling image capture Note Sequence mode requires not only firmware 3.x but also spe- cial care if changing image size, Color_Coding_ID and frame rate related parameters. This is because these changes not only affect settings in the camera but also require corre- sponding settings in the receiving software in the PC.
Controlling image capture Register Name Field Description 0xF1000228 SEQUENCE_STEP Presence_Inq Indicates presence of this feature (read only) [1..4] Reserved PerformStep Sequence is stepped one item for- ward PerformReset Sequence reset [7..23] Reserved SeqPosition [24..31] Get the current sequence position 0xF100022C SEQUENCE_RESET Presence_Inq Indicates presence of this feature...
Controlling image capture SeqMode description Sequence mode Description 0x80 This mode is the default sequence mode and stepping the sequence is compatible to e.g. the Marlin series. With each image integration start the sequence is stepped one item further and the new parameter set becomes active for the next image.
Page 177
Controlling image capture The following flow diagram shows how to set up a sequence. SEQUENCE_CTRL ON_OFF flag to true (1) SetupMode to true (1) Set SeqLength to desired length (<=MaxLength) Set ImageNo = 0 in SEQUENCE_PARAM Assign image parameters in the corresp.
Controlling image capture Which new sequence mode features are available? New features: • Repeat one step of a sequence n times where n can be set by the vari- able ImageRepeat in SEQUENCE_PARAM. • Define one or two hardware inputs in Input mode field of IO_INP_CTRL –...
Controlling image capture I/O controlled sequence pointer reset I/O controlled sequence pointer reset is always edge controlled. A rising edge on the input pin resets the pointer to the first entry. I/O controlled sequence pointer reset can be combined with Quick Format Change Modes.
Page 180
Controlling image capture Figure 92: Example of sequence mode settings Instead of Firetool you also can use SmartView (Version 1.7.0 or greater), but image and transfer formats have to be unchanged (height, width, ColorID). To open the Sequence editor in SmartView: 1.
Controlling image capture Changing the parameters within a sequence To change the parameter set for one image, it is not necessary to modify the settings for the entire sequence. The image can simply be selected via the ImageNo field and it is then possible to change the corresponding IIDC V1.31 registers.
Controlling image capture Secure image signature (SIS): definition and scenarios Note For all customers who know SIS from Marlin cameras: • Pike cameras have additional SIS features: AOI, exposure/gain, input/output state, index of sequence mode and serial number. • In contrary to Marlin cameras, in the Pike SIS feature the endianness cannot be changed.
Page 183
Controlling image capture • AOI can be inserted in the image if it was set as a variable e.g. in a sequence. • Exposure/gain scenario parameters can be inserted in the image if set as a variable in e.g. sequence mode to identify the imaging conditions. •...
Controlling image capture Smear reduction Smear reduction: definition Definition Smear is an undesirable CCD sensor artefact creating a vertical bright line that extends above and below a bright spot in an image. Definition Smear reduction is a new feature of Pike cameras: it is a function imple- mented in hardware in the camera itself to compensate for smear.
Video formats, modes and bandwidth Video formats, modes and bandwidth The different Pike models support different video formats, modes and frame rates. These formats and modes are standardized in the IIDC (formerly DCAM) spec- ification. Resolutions smaller than the generic sensor resolution are generated from the center of the sensor and without binning.
Video formats, modes and bandwidth PIKE F-032B / PIKE F-032C Format Mode Resolution Color mode 240 3.75 1.875 160 x 120 YUV444 320 x 240 YUV422 640 x 480 YUV411 640 x 480 YUV422 640 x 480 RGB8 640 x 480 Mono8 640 x 480 Mono16 Table 70: Video fixed formats PIKE F-032B / PIKE F-032C...
Page 187
Video formats, modes and bandwidth Format Mode Resolution Color mode Maximal S800 frame rates for Format_7 modes 640 x 480 Mono8 208 fps Mono12 139 fps Mono16 105 fps 640 x 480 YUV411 139 fps YUV422,Raw16 105 fps Mono8,Raw8 208 fps RGB8 70 fps 320 x 480 Mono8...
Video formats, modes and bandwidth PIKE F-100B / PIKE F-100C Format Mode Resolution Color mode 240 3.75 1.875 160 x 120 YUV444 320 x 240 YUV422 640 x 480 YUV411 640 x 480 YUV422 640 x 480 RGB8 640 x 480 Mono8 640 x 480 Mono16...
Page 189
Video formats, modes and bandwidth Format Mode Resolution Color mode Maximal S800 frame rates for Format_7 modes 1000 x 1000 Mono8 60 fps Mono12 43 fps Mono16 33 fps 1000 x 1000 YUV411 43 fps YUV422,Raw16 33 fps Mono8,Raw8 60 fps RGB8 22 fps 500 x 1000...
Video formats, modes and bandwidth PIKE F-145B / PIKE F-145C (-15 fps**) **Pike F-145-15fps cameras have frame rates up to 15 fps only (except color cameras Format_0 Mode_1: up to 30 fps). Format Mode Resolution Color mode 240 3.75 1.875 160 x 120 YUV444 320 x 240...
Page 191
Video formats, modes and bandwidth Format Mode Resolution Color mode Maximal S800 frame rates for Format_7 modes 1388 x 1038 Mono8 (16**) Mono12 (16**) Mono16 (16**) 1388 x 1038 YUV411 (16**) YUV422,Raw16 (16**) Mono8,Raw8 (16**) RGB8 (15**) 692 x 1038 Mono8 (16**) 2x H-binning...
Video formats, modes and bandwidth PIKE F-210B / PIKE F-210C Format Mode Resolution Color mode 240 3.75 1.875 160 x 120 YUV444 320 x 240 YUV422 640 x 480 YUV411 640 x 480 YUV422 640 x 480 RGB8 640 x 480 Mono 8 640 x 480 Mono 16...
Page 193
Video formats, modes and bandwidth Format Mode Resolution Color mode Maximal S800 frame rates for Format_7 modes 1920 x 1080 Mono8 31 fps Mono12 21 fps Mono16 16 fps 1920 x 1080 YUV411 21 fps YUV422,Raw16 16 fps Mono8,Raw8 31 fps RGB8 11 fps 960 x 1080...
Video formats, modes and bandwidth PIKE F-421B / PIKE F-421C Format Mode Resolution Color 3.75 1.875 Mode 160 x 120 YUV444 320 x 240 YUV422 640 x 480 YUV411 640 x 480 YUV422 640 x 480 RGB8 640 x 480 Mono8 640 x 480 Mono16...
Page 195
Video formats, modes and bandwidth Format Mode Resolution Color Mode Maximal S800 frame rates for Format_7 modes 2048 x 2048 Mono8 16 fps Mono12 10 fps Mono16 8 fps 2048 x 2048 YUV411 10 fps YUV422,Raw16 8 fps Mono8,Raw8 16 fps RGB8 5 fps 1024 x 2048 Mono8...
Video formats, modes and bandwidth PIKE F-505B / PIKE F-505C Format Mode Resolution Color mode 240 3.75 1.875 160 x 120 YUV444 320 x 240 YUV422 640 x 480 YUV411 640 x 480 YUV422 640 x 480 RGB8 640 x 480 Mono8 640 x 480 Mono16...
Page 197
Video formats, modes and bandwidth Format Mode Resolution Color mode Maximal S800 frame rates for Format_7 modes 2452 x 2054 Mono8 13 fps Mono12 09 fps Mono16 07 fps 2452 x 2054 YUV411 09 fps YUV422,Raw16 07 fps Mono8,Raw8 13 fps RGB8 04 fps Raw12...
Video formats, modes and bandwidth Area of interest (AOI) The camera’s image sensor has a defined resolution. This indicates the max- imum number of lines and pixels per line that the recorded image may have. However, often only a certain section of the entire image is of interest. The amount of data to be transferred can be decreased by limiting the image to a section when reading it out from the camera.
Page 199
Video formats, modes and bandwidth Figure 94: Area of interest (AOI) Note • The left position + width and the upper position + height may not exceed the maximum resolution of the sensor. • The coordinates for width and height must be divisible by 4.
Video formats, modes and bandwidth Autofunction AOI Use this feature to select the image area (work area) on which the following autofunctions work: • Auto shutter • Auto gain • Auto white balance In the following screenshot you can see an example of the autofunction AOI: Work area Figure 95: Example of autofunction AOI (Show work area is on) Note...
Video formats, modes and bandwidth Note Configuration To configure this feature in an advanced register see Chapter Autofunction AOI on page 287. Frame rates An IEEE 1394 camera requires bandwidth to transport images. The IEEE 1394b bus has very large bandwidth of at least 62.5 MByte/s for transferring (isochronously) image data.
Page 202
Video formats, modes and bandwidth Format Mode Resolution 3.75 160 x 120 YUV (4:4:4) 1/2H 1/4H 1/8H 640p 320p 160p 24 bit/pixel 480q 240q 120q 320 x 240 YUV (4:2:2) 1/2H 1/4H 1/8H 2560p 1280p 640p 320p 160p 16 bit/pixel 1280q 640q 320q...
Page 203
Video formats, modes and bandwidth Format Mode Resolution 3.75 1.875 800 x 600 YUV (4:2:2) 5/2H 5/4H 5/8H 6/16H 4000p 2000p 1000p 500p 250p 16 bit/pixel 2000q 1000q 500q 250q 125q 800 x 600 RGB 5/2H 5/4H 5/8H 2000p 1000p 500p 24 bit/pixel 1500q...
Page 204
Video formats, modes and bandwidth Format Mode Resolution 3.75 1.875 1280 x 960 YUV (4:2:2) 1/2H 1/4H 2560p 1280p 640p 320p 16 bit/pixel 1280q 640q 320q 160q 1280 x 960 RGB 1/2H 1/4H 2560p 1280p 640p 320p 24 bit/pixel 1920q 960q 480q 240q...
Video formats, modes and bandwidth Frame rates Format_7 In video Format_7 frame rates are no longer fixed. Note • Different values apply for the different sensors. • Frame rates may be further limited by longer shutter times and/or bandwidth limitation from the IEEE 1394 bus.
Page 207
Video formats, modes and bandwidth Note CCD = theoretical max. frame rate (in fps) of CCD according to given formula PIKE Technical Manual V4.1.0...
Video formats, modes and bandwidth PIKE F-100: AOI frame rates ---------------------------------------------------------------------------------------------------------------------------------------------------- max. frame rate of CCD × ) 3.4µs × – 174µs AOI height 16.40µs 1008 AOI height Formula 4: Pike F-100: theoretical max. frame rate of CCD Frame rate = f(AOI height) *PIKE F-100* Raw8 RAW12, YUV411 RAW16, YUV422...
Page 209
Video formats, modes and bandwidth AOI height RAW8 RAW12 RAW16 YUV411 YUV422 RGB8 228.25 250.55 268.01 Table 87: Frame rates (fps) of Pike F-100 as function of AOI height (pixel) [width=1000] Note CCD = theoretical max. frame rate (in fps) of CCD according to given formula PIKE Technical Manual V4.1.0...
Video formats, modes and bandwidth PIKE F-145: AOI frame rates (no sub-sampling) ------------------------------------------------------------------------------------------------------------------------------------------------------- max. frame rate of CCD × ) 5.85µs × – 242µs AOI height 31.80µs 1051 AOI height Formula 5: Pike F-145: theoretical max. frame rate of CCD (no sub-sampling) Frame rate = f(AOI height) *PIKE F-145* RAW8 RAW12, YUV411...
Page 211
Video formats, modes and bandwidth Note CCD = theoretical max. frame rate (in fps) of CCD according to given formula PIKE Technical Manual V4.1.0...
Page 213
Video formats, modes and bandwidth Note CCD = theoretical max. frame rate (in fps) of CCD according to given formula PIKE Technical Manual V4.1.0...
Video formats, modes and bandwidth PIKE F-145-15fps: AOI frame rates (no sub-sampl.) ---------------------------------------------------------------------------------------------------------------------------------------------------------- max. frame rate of CCD × × – 450µs AOI height 59.36µs 1051 AOI height 10.92µs Formula 7: Pike F-145-15fps: theoretical max. frame rate of CCD (no sub-sampling) Frame rate = f(AOI height) *PIKE F-145-15fps* RAW8 RAW12, YUV411...
Page 215
Video formats, modes and bandwidth Note CCD = theoretical max. frame rate (in fps) of CCD according to given formula PIKE Technical Manual V4.1.0...
Video formats, modes and bandwidth PIKE F-210: AOI frame rates (no sub-sampling) ---------------------------------------------------------------------------------------------------------------------------------------------------- max. frame rate of CCD × × – 107µs AOI height 28.6µs 1092 AOI height 6.75µs Formula 10: Pike F-210: theoretical max. frame rate of CCD (no sub-sampling) Frame rate = f(AOI height) *PIKE F-210* RAW8 RAW12, YUV411...
Page 218
Video formats, modes and bandwidth AOI height RAW8 RAW12 RAW16 YUV411 YUV422 RGB8 113.78 122.95 Table 93: Frame rates of Pike F-210 as function of AOI height [width=1000] (no sub-sampl.) Note CCD = theoretical max. frame rate (in fps) of CCD according to given formula Note In Format_7 Mode_5 and Mode_6 the Pike F-210 has a frame...
Page 220
Video formats, modes and bandwidth Note CCD = theoretical max. frame rate (in fps) of CCD according to given formula In Format_7 Mode_5 and Mode_6 the Pike F-210 has a frame rate of: frame rate ~ f(2 x AOI height) PIKE Technical Manual V4.1.0...
Page 222
Video formats, modes and bandwidth Note CCD = theoretical max. frame rate (in fps) of CCD according to given formula PIKE Technical Manual V4.1.0...
Page 224
Video formats, modes and bandwidth AOI height RAW8 RAW12 RAW16 YUV411 YUV422 RGB8 40.39 42.74 44.03 Table 98: Frame rates Pike F-505 as function of AOI height (pixel) [width=2452] (maxBPP=8192) Note CCD = theoretical max. frame rate (in fps) of CCD according to given formula maxBPP=8192 according to IIDC V1.31 PIKE Technical Manual V4.1.0...
How does bandwidth affect the frame rate? How does bandwidth affect the frame rate? In some modes the IEEE 1394b bus limits the attainable frame rate. Accord- ing to the 1394b specification on isochronous transfer, the largest data pay- load size of 8192 bytes per 125 µs cycle is possible with bandwidth of 800 Mbit/s.
How does bandwidth affect the frame rate? Example formula for the b/w camera Mono16, 1392 x 1040, 30 fps desired × × × × > BYTE_PER_PACKET 30 1/s 1392 1040 2 byte 125µs 10856 byte 8192 byte 8192 byte ⇒ ≈...
How does bandwidth affect the frame rate? Test images Loading test images FirePackage Direct FirePackage Fire4Linux 1. Start SmartView. 1. Start SmartView for WDM. 1. Start cc1394 viewer. 2. Click the Edit settings 2. In Camera menu click 2. In Adjustments menu click button.
How does bandwidth affect the frame rate? Test images for color cameras The color cameras have 1 test image: YUV4:2:2 mode Figure 104: Color test image Mono8 (raw data) Figure 105: Bayer-coded test image The color camera outputs Bayer-coded raw data in Mono8 instead of (as described in IIDC V1.31) a real Y signal.
Configuration of the camera Configuration of the camera All camera settings are made by writing specific values into the correspond- ing registers. This applies to: • values for general operating states such as video formats and modes, exposure times, etc. •...
Configuration of the camera Every register is 32 bit (big endian) and implemented as follows (MSB = Most Significant Bit; LSB = Least Significant Bit): Far left Table 102: 32-bit register Example This requires, for example, that to enable ISO_Enabled mode (see Chapter ISO_Enable / free-run on page 170), (bit 0 in register 614h), the value 80000000 h must be written in the corresponding register.
Page 232
Configuration of the camera Offset of Register: (0x0F00614) ISO_Enable Write 80000000 and click Write Content of register: 80000000 = 1000 0000 0000 0000 0000 0000 0000 0000 Figure 106: Enabling ISO_Enable PIKE Technical Manual V4.1.0...
Page 233
Configuration of the camera Offset of Register: (0x1000040) ADV_FNC_INQ Content of register: FAE3C401 = 1111 1010 1110 0011 1110 0100 0000 0001 Table 103: Configuring the camera (PIKE F-421C) Table 104: Configuring the camera: registers PIKE Technical Manual V4.1.0...
Configuration of the camera Sample program The following sample code in C/C++ shows how the register is set for video mode/format, trigger mode etc. using the FireGrab and FireStack API. Example FireGrab … // Set Videoformat if(Result==FCE_NOERROR) Result= Camera.SetParameter(FGP_IMAGEFORMAT,MAKEIMAGEFORMAT(RES_640_480, CM_Y8, FR_15)); // Set external Trigger if(Result==FCE_NOERROR) Result= Camera.SetParameter(FGP_TRIGGER,MAKETRIGGER(1,0,0,0,0));...
Configuration of the camera Example FireStack API … // Set framerate Result=WriteQuad(HIGHOFFSET,m_Props.CmdRegBase+CCR_FRAMERATE,(UINT32)m_Parms.F rameRate<<29); // Set mode if(Result) Result=WriteQuad(HIGHOFFSET,m_Props.CmdRegBase+CCR_VMODE,(UINT32)m_Parms.Video Mode<<29); // Set format if(Result) Result=WriteQuad(HIGHOFFSET,m_Props.CmdRegBase+CCR_VFORMAT,(UINT32)m_Parms.Vid eoFormat<<29); // Set trigger if(Result) Mode=0; if(m_Parms.TriggerMode==TM_EXTERN) Mode=0x82000000; if(m_Parms.TriggerMode==TM_MODE15) Mode=0x820F0000; WriteQuad(HIGHOFFSET,m_Props.CmdRegBase+CCR_TRGMODE,Mode); // Start continous ISO if not oneshot triggermode if(Result &&...
Configuration of the camera Configuration ROM The information in the Configuration ROM is needed to identify the node, its capabilities and which drivers are required. The base address for the configuration ROM for all registers is FFFF F0000000h. Note If you want to use the DirectControl program to read or write to a register, enter the following value in the Address field: F0F00000h + Offset The ConfigRom is divided into...
Page 237
Configuration of the camera To compute the effective start address of the node unique ID leaf currAddr = node unique ID leaf address destAddr = address of directory entry addrOffset = value of directory entry destAddr = currAddr + (4 * addrOffset) = 420h + (4 * 000002h) = 428h Table 106: Computing effective start address...
Page 238
Configuration of the camera Offset 8-15 16-23 24-31 444h ..unit_dep_info_length, CRC 448h ..command_regs_base Unit dependent info 44Ch ..vender_name_leaf 450h ..model_name_leaf 454h ..unit_sub_sw_version 458h ..Reserved 45Ch ..Reserved 460h ..Reserved 464h ..vendor_unique_info_0 468h ..vendor_unique_info_1 46Ch ..vendor_unique_info_2 470h ..vendor_unique_info_3 Table 109: Config ROM And finally, the entry with key 40 (448h in this case) provides the offset for the camera control register: FFFF F0000000h + 3C0000h * 4 = FFFF F0F00000h...
Configuration of the camera Implemented registers The following tables show how standard registers from IIDC V1.31 are imple- mented in the camera. Base address is F0F00000h. Differences and explana- tions can be found in the third column. Camera initialize register Offset Name Description...
Configuration of the camera Inquiry register for video mode Offset Name Field Description Color mode 180h V_MODE_INQ Mode_0 160 x 120 YUV 4:4:4 Mode_1 320 x 240 YUV 4:2:2 (Format_0) Mode_2 640 x 480 YUV 4:1:1 Mode_3 640 x 480 YUV 4:2:2 Mode_4 640 x 480...
Configuration of the camera Offset Name Field Description Color mode 19Ch V_MODE_INQ Mode_0 Format_7 Mode_0 Mode_1 Format_7 Mode_1 (Format_7) Mode_2 Format_7 Mode_2 Mode_3 Format_7 Mode_3 Mode_4 Format_7 Mode_4 Mode_5 Format_7 Mode_5 Mode_6 Format_7 Mode_6 Mode_7 Format_7 Mode_7 [8..31] Reserved (zero) Table 112: Video mode inquiry register Inquiry register for video frame rate and base address...
Page 242
Configuration of the camera Offset Name Field Description 208h V_RATE_INQ FrameRate_0 1.875 fps FrameRate_1 3.75 fps (Format_0, Mode_2) FrameRate_2 7.5 fps FrameRate_3 15 fps FrameRate_4 30 fps FrameRate_5 60 fps FrameRate_6 120 fps (V1.31) FrameRate_7 240 fps (V1.31) [8..31] Reserved (zero) 20Ch V_RATE_INQ FrameRate_0...
Page 243
Configuration of the camera Offset Name Field Description 214h V_RATE_INQ FrameRate_0 1.875 fps FrameRate_1 3.75 fps (Format_0, Mode_5) FrameRate_2 7.5 fps FrameRate_3 15 fps FrameRate_4 30 fps FrameRate_5 60 fps FrameRate_6 120 fps (V1.31) FrameRate_7 240 fps (V1.31) [8..31] Reserved (zero) 218h V_RATE_INQ (Format_0,...
Page 244
Configuration of the camera Offset Name Field Description 224h V_RATE_INQ FrameRate_0 Reserved FrameRate_1 Reserved (Format_1, Mode_1) FrameRate_2 7.5 fps FrameRate_3 15 fps FrameRate_4 30 fps FrameRate_5 60 fps FrameRate_6 120 fps (V1.31) FrameRate_7 240 fps (V1.31) [8..31] Reserved (zero) 228h V_RATE_INQ FrameRate_0 Reserved...
Page 245
Configuration of the camera Offset Name Field Description 230h V_RATE_INQ FrameRate_0 1.875 fps FrameRate_1 3.75 fps (Format_1, Mode_4) FrameRate_2 7.5 fps FrameRate_3 15 fps FrameRate_4 30 fps FrameRate_5 60 fps FrameRate_6 120 fps (V1.31) FrameRate_7 240 fps (V1.31) [8..31] Reserved (zero) 234h V_RATE_INQ FrameRate_0...
Page 246
Configuration of the camera Offset Name Field Description 23Ch V_RATE_INQ FrameRate_0 1.875 fps FrameRate_1 3.75 fps (Format_1, Mode_7) FrameRate_2 7.5 fps FrameRate_3 15 fps FrameRate_4 30 fps FrameRate_5 60 fps FrameRate_6 120 fps (V1.31) FrameRate_7 Reserved [8..31] Reserved (zero) 240h V_RATE_INQ FrameRate_0 1.875 fps...
Page 247
Configuration of the camera Offset Name Field Description 248h V_RATE_INQ FrameRate_0 1.875 fps FrameRate_1 3.75 fps (Format_2, Mode_2) FrameRate_2 7.5 fps FrameRate_3 15 fps FrameRate_4 30 fps FrameRate_5 60 fps FrameRate_6 120 fps (V1.31) FrameRate_7 Reserved [8..31] Reserved (zero) 24Ch V_RATE_INQ FrameRate_0 1.875 fps...
Page 248
Configuration of the camera Offset Name Field Description 254h V_RATE_INQ FrameRate_0 1.875 fps FrameRate_1 3.75 fps (Format_2, Mode_5) FrameRate_2 7.5 fps FrameRate_3 15 fps FrameRate_4 30 fps FrameRate_5 60 fps FrameRate_6 Reserved FrameRate_7 Reserved [8..31] Reserved (zero) 258h V_RATE_INQ FrameRate_0 1.875 fps FrameRate_1 3.75 fps...
Page 249
Configuration of the camera Offset Name Field Description 2E0h [0..31] CSR_quadlet offset for Format_7 V-CSR_INQ_7_0 Mode_0 2E4h [0..31] CSR_quadlet offset for Format_7 V-CSR_INQ_7_1 Mode_1 2E8h [0..31] CSR_quadlet offset for Format_7 V-CSR_INQ_7_2 Mode_2 2ECh [0..31] CSR_quadlet offset for Format_7 V-CSR_INQ_7_3 Mode_3 2F0h [0..31] CSR_quadlet offset for Format_7...
Configuration of the camera Inquiry register for basic function Offset Name Field Description 400h BASIC_FUNC_INQ Advanced_Feature_Inq Inquiry for advanced features (Vendor unique Features) Vmode_Error_Status_Inq Inquiry for existence of Vmode_Error_Status register Feature_Control_Error_Status_Inq [2] Inquiry for existence of Feature_Control_Error_Status Opt_Func_CSR_Inq Inquiry for Opt_Func_CSR [4..7] Reserved 1394b_mode_Capability...
Configuration of the camera Inquiry register for feature presence Offset Name Field Description 404h FEATURE_HI_INQ Brightness Brightness Control Auto_Exposure Auto_Exposure Control Sharpness Sharpness Control White_Balance White_Balance Control Hue Control Saturation Saturation Control Gamma Gamma Control Shutter Shutter Control Gain Gain Control Iris Iris Control Focus...
Page 252
Configuration of the camera Offset Name Field Description 410h Reserved Address error on access 47Fh 480h Advanced_Feature_Inq Advanced_Feature_Quadlet_Offset [0..31] Quadlet offset of the advanced feature CSR's from the base address of initial register space (vendor unique) This register is the offset for the Access_Control_Register and thus the base address for Advanced Features.
Configuration of the camera Inquiry register for feature elements Register Name Field Description 0xF0F00500 BRIGHTNESS_INQUIRY Presence_Inq Indicates presence of this feature (read only) Abs_Control_Inq Capability of control with absolute value Reserved One_Push_Inq One Push auto mode (Con- trolled automatically by the camera once) Readout_Inq Capability of reading out the...
Page 254
Configuration of the camera Register Name Field Description 530h TRIGGER_INQ Presence_Inq Indicates presence of this feature (read only) Abs_Control_Inq Capability of control with absolute value [2..3 Reserved Readout_Inq Capability of reading out the value of this feature ON_OFF Capability of switching this feature ON and OFF Polarity_Inq Capability of changing the...
Page 255
Configuration of the camera Register Name Field Description 580h ZOOM_INQ Always 0 584h PAN_INQ Always 0 588h TILT_INQ Always 0 58Ch OPTICAL_FILTER_INQ Always 0 Reserved for other Always 0 FEATURE_LO_INQ 5BCh 5C0h CAPTURE_SIZE_INQ Always 0 5C4h CAPTURE_QUALITY_INQ Always 0 5C8h Reserved for other Always 0 FEATURE_LO_INQ...
Configuration of the camera Status and control register for feature The OnePush feature, WHITE_BALANCE, is currently implemented. If this flag is set, the feature becomes immediately active, even if no images are being input (see Chapter One-push automatic white balance on page 99).
Page 258
Configuration of the camera Offset Name Field Description 804h AUTO-EXPOSURE See above Note: Target grey level parameter in SmartView corresponds to Auto_exposure register 0xF0F00804 (IIDC). 808h SHARPNESS See above Table 118: Feature control register PIKE Technical Manual V4.1.0...
Page 259
Configuration of the camera Offset Name Field Description 80Ch WHITE-BALANCE Presence_Inq Presence of this feature 0: N/A 1: Available Always 0 for Mono Abs_Control Absolute value control 0: Control with value in the Value field 1: Control with value in the Absolute value CSR If this bit = 1, value in the Value field is ignored.
Page 260
Configuration of the camera Offset Name Field Description 810h See above Always 0 for Mono 814h SATURATION See above Always 0 for Mono 818h GAMMA See above 81Ch SHUTTER see Advanced Feature time base Table 36: CSR: Shutter on page 103 820h GAIN See above...
Configuration of the camera Feature control error status register Offset Name Notes 640h Feature_Control_Error_Status_HI Always 0 644h Feature_Control_Error_Status_LO Always 0 Table 119: Feature control error register Video mode control and status registers for Format_7 Quadlet offset Format_7 Mode_0 The quadlet offset to the base address for Format_7 Mode_0, which can be read out at F0F002E0h (according to Table 113: Frame rate inquiry register on page 241) gives 003C2000h.
Page 262
Configuration of the camera Offset Name Notes 024h COLOR_CODING_INQ Vendor Unique Color_Coding 0-127 (ID=128-255) ID=132 ECCID_MONO12 033h ID=136 ECCID_RAW12 ID=133 Reserved ID=134 Reserved ID=135 Reserved See Chapter Packed 12-Bit Mode on page 140. 034h PIXEL_NUMER_INQ According to IIDC V1.31 038h TOTAL_BYTES_HI_INQ According to IIDC V1.31 03Ch...
Configuration of the camera Advanced features The camera has a variety of extended features going beyond the possibilities described in IIDC V1.31 The following chapter summarizes all available advanced features in ascending register order. Note This chapter is a reference guide for advanced registers and does not explain the advanced features itself.
Page 264
Configuration of the camera Register Register name Remarks 0XF1000250 SHDG_CTRL Table 132: Advanced register: Shading on page 0XF1000254 SHDG_MEM_CTRL 0XF1000258 SHDG_INFO 0XF1000260 DEFERRED_TRANS Table 134: Advanced register: Deferred image transport on page 282 0XF1000270 FRAMEINFO Table 135: Advanced register: Frame informa- tion on page 283 0XF1000274...
Page 265
Configuration of the camera Register Register name Remarks 0xF10003A4 COLOR_CORR_COEFFIC11 = Crr 0xF10003A8 COLOR_CORR_COEFFIC12 = Cgr 0xF10003AC COLOR_CORR_COEFFIC13 = Cbr 0xF10003B0 COLOR_CORR_COEFFIC21 = Crg Pike color camera only 0xF10003B4 COLOR_CORR_COEFFIC22 = Cgg Table 140: Advanced register: Color correction on page 288 0xF10003B8 COLOR_CORR_COEFFIC23 = Cbg 0xF10003BC...
Configuration of the camera Register Register name Remarks 0x1100000 PARRAMLIST_INFO see Chapter Parameter-List Update on page 296 0x1101000 PARAMLIST_BUFFER 0x1002000 AFEREFERENCES see Chapter User adjustable gain references page 310 Table 121: Advanced registers summary Note Advanced features should always be activated before access- ing them.
Page 267
Configuration of the camera The µC version and FPGA firmware version numbers are bcd-coded, which means that e.g. firmware version 0.85 is read as 0x0085 and version 1.10 is read as 0x0110. The newly added VERSION_INFOx_EX registers contain extended bcd-coded version information formatted as special.major.minor.patch.
Page 268
Configuration of the camera Camera type PIKE F-505B PIKE F-505C Table 123: Camera type ID list PIKE Technical Manual V4.1.0...
Configuration of the camera Advanced feature inquiry This register indicates with a named bit if a feature is present or not. If a feature is marked as not present the associated register space might not be available and read/write errors may occur. Note Ignore unnamed bits in the following table: these bits might be set or not.
Page 270
Configuration of the camera Register Name Field Description 0xF1000044 ADV_INQ_2 Input_1 Input_2 [2..7] Reserved Output_1 Output_2 Output_3 [10] Output_4 [11] [12..15] Reserved IntEnaDelay [16] [17..31] Reserved 0xF1000048 ADV_INQ_3 Camera Status Max IsoSize Paramupd_Timing F7 mode mapping Auto Shutter Auto Gain Auto FNC AOI [7..31] Reserved...
Configuration of the camera Camera status This register allows to determine the current status of the camera. The most important flag is the Idle flag. If the Idle flag is set the camera does not capture and does not send any images (but images might be present in the image FIFO).
Configuration of the camera Maximum resolution This register indicates the highest resolution for the sensor and is read-only. Note This register normally outputs the MAX_IMAGE_SIZE_INQ Format_7 Mode_0 value. This is the value given in the specifications tables under Picture size (max.) in Chapter Specifications on page 42ff.
Page 273
Configuration of the camera Note Time base can only be changed when the camera is in idle state and becomes active only after setting the shutter value. The ExpOffset field specifies the camera specific exposure time offset in microseconds (µs). This time (which should be equivalent to Table 59: Cam- era-specific exposure time offset on page 164) has to be added to the expo-...
Configuration of the camera Extended shutter The exposure time for long-term integration of up to 67 seconds can be entered with µs precision via the EXTENDED_SHUTTER register. Register Name Field Description 0xF100020C EXTD_SHUTTER Presence_Inq Indicates presence of this fea- ture (read only) [1..5] Reserved ExpTime...
Configuration of the camera Test images Bit [8] to [14] indicate which test images are saved. Setting bit [28] to [31] activates or deactivates existing test images. By activating any test image the following auto features are automatically disabled: • auto gain •...
Configuration of the camera Look-up tables (LUT) Load the look-up tables to be used into the camera and choose the look-up table number via the LutNo field. Now you can activate the chosen LUT via the LUT_CTRL register. The LUT_INFO register indicates how many LUTs the camera can store and shows the maximum size of the individual LUTs.
Configuration of the camera Note The BitsPerValue field indicates how many bits are read from the LUT for any gray-value read from the sensor. To determine the number of bytes occupied for each gray-value round-up the BitsPerValue field to the next byte boundary. Examples: •...
Configuration of the camera Shading correction Owing to technical circumstances, the interaction of recorded objects with one another, optical effects and lighting non-homogeneities may occur in the images. Because these effects are normally not desired, they should be eliminated as far as possible in subsequent image editing.
Page 279
Configuration of the camera Register Name Field Description 0xF1000250 SHDG_CTRL Presence_Inq Indicates presence of this feature (read only) BuildError Could not built shading image [2..3] Reserved ShowImage Show shading data as image BuildImage Build a new shading image ON_OFF Shading on/off Busy Build in progress MemChannelSave...
Configuration of the camera Reading or writing shading image from/into the camera Accessing the shading image inside the camera is done through the GPDATA_BUFFER. Because the size of the GPDATA_BUFFER is smaller than a whole shading image the data must be written in multiple steps. To read or write a shading image: 1.
Configuration of the camera To reload a shading image from non-volatile memory: 1. Set MemoryChannel to the desired memory channel and MemChannelLoad to true (1). 2. Read MemChannelError to check for errors. To clear already stored shading image data in non-volatile memory (shading image data won't be loaded on camera resets): 1.
Configuration of the camera Deferred image transport Using this register, the sequence of recording and the transfer of the images can be paused. Setting HoldImg prevents transfer of the image. The images are stored in ImageFIFO. The images indicated by NumOfImages are sent by setting the SendImage bit.
Configuration of the camera Frame information This register can be used to double-check the number of images received by the host computer against the number of images which were transmitted by the camera. The camera increments this counter with every FrameValid sig- nal.
Configuration of the camera Delayed Integration enable A delay time between initiating exposure on the sensor and the activation edge of the IntEna signal can be set using this register. The on/off flag acti- vates/deactivates integration delay. The time can be set in µs in DelayTime. Note •...
Configuration of the camera Auto shutter control The table below illustrates the advanced register for auto shutter control. The purpose of this register is to limit the range within which auto shutter operates. Register Name Field Description 0xF1000360 AUTOSHUTTER_CTRL Presence_Inq Indicates presence of this feature (read only) [1..31]...
Configuration of the camera If both auto gain and auto shutter are enabled and if the shutter is at its upper boundary and gain regulation is in progress, increasing the upper auto shutter boundary has no effect on auto gain/shutter regulation as long as auto gain regulation is active.
Configuration of the camera Autofunction AOI The table below illustrates the advanced register for autofunction AOI. Register Name Field Description 0xF1000390 AUTOFNC_AOI Presence_Inq Indicates presence of this feature (read only) [1..3] Reserved ShowWorkArea Show work area Reserved ON_OFF Enable/disable AOI (see note above) Reserved YUNITS...
Configuration of the camera Color correction To switch off color correction in YUV mode: see bit [6] Register Name Field Description 0xF10003A0 COLOR_CORR Presence_Inq Indicates presence of this feature (read only) [1..5] Reserved ON_OFF Color correction on/off default: on Write: 02000000h to switch color correction OFF Write: 00000000h to switch color correction ON...
Configuration of the camera Trigger delay Register Name Field Description 0xF1000400 TRIGGER_DELAY Presence_Inq Indicates presence of this feature (read only) [1..5] Reserved ON_OFF Trigger delay on/off [7..10] Reserved DelayTime [11..31] Delay time in µs Table 141: Advanced register: Trigger delay The advanced register allows start of the integration to be delayed via DelayTime by max.
Configuration of the camera AFE channel compensation (channel balance) All KODAK Pike sensors are read out via two channels: the first channel for the left half of the image and the second channel for the right half of the image. Channel gain adjustment (Pike color cameras only RAW8 and RAW16) can be done via the following two advanced registers: Register...
Configuration of the camera Note When SOFT_RESET has been defined, the camera will respond to further read or write requests but will not process them. High SNR mode (High Signal Noise Ratio) With High SNR mode enabled the camera internally grabs GrabCount images and outputs a single averaged image.
Configuration of the camera Maximum ISO packet size Use this feature to increase the MaxBytePerPacket value of Format_7 modes. This overrides the maximum allowed isochronous packet size specified by IIDC V1.31. Register Name Field Description 0xF1000560 ISOSIZE_S400 Presence_Inq Indicates presence of this feature (read only) [1..5] Reserved...
Page 293
Configuration of the camera Restrictions Note the restrictions in the following table. When using software with an Isochronous Resource Manager (IRM): deactivate it. Software Restrictions FireGrab Deactivate Isochronous Resource Manager: SetParameter (FGP_USEIRMFORBW, 0) FireStack/FireClass No restrictions SDKs using Microsoft driver (Active FirePackage, Direct FirePackage, ...) Linux: libdc1394_1.x...
Configuration of the camera Quick parameter change timing modes You can choose between the following update timing modes: • Standard Parameter Update Timing (slightly modified from previous PIKE cameras) • New: Quick Format Change Mode Note For a detailed description see Chapter Quick parameter change timing modes on page 135.
Configuration of the camera To switch on Quick Format Change Mode do the following: 1. Set UpdTiming to 2. 2. Set UpdActive to 1. 3. Be aware that all parameter values have to be set within 10 seconds. Automatic reset of the UpdActive flag With Quick Format Change Mode you normally have to clear the UpdActive flag after all desired parameters have been set.
Configuration of the camera Parameter-List Update The parameter list is an array of address/data pairs which can be sent to the camera in a single bus cycle. Register Name Field Description 0xF1100000 PARAMLIST_INFO Presence_Inq Indicates presence of this feature (read only) [1..15] Reserved BufferSize...
Configuration of the camera Format_7 mode mapping With Format_7 mode mapping it is possible to map special binning and sub- sampling modes to F7M1..F7M7 (see Figure 79: Mapping of possible Format_7 modes to F7M1...F7M7 on page 134). Register Name Field Description 0xF1000580 F7MODE_MAPPING...
Configuration of the camera Example To map the internal Format_7 Mode_19 to the visible Format_7 Mode_1, write the decimal number 19 to the above listed F7MODE_1 register. Note For available Format_7 modes see Figure 79: Mapping of pos- sible Format_7 modes to F7M1...F7M7 on page 134.
Configuration of the camera Secure image signature (SIS) Secure image signature (SIS) is the synonym for data, which is inserted into an image to improve or check image integrity. All Pike models can insert • Time stamp (1394 bus cycle time at the beginning of integration) •...
Page 300
Configuration of the camera Enter a • positive value from 0..HeightOfImage to specify a position relative to the top of the image. LinePos=0 specifies the very first image line. • negative value from -1..-HeightOfImage to specify a position relative to the bottom of the image. LinePos=-1 specifies the very last image line.
Configuration of the camera Cycle offset 12 bit Cycle count ..Cycle count 13 bit Second count 7 bit Table 155: Cycle timer layout Advanced register: frame counter Note Different to Marlin SIS: Register 610 is only to be used to reset the frame counter. The frame counter feature is controlled by the following advanced feature register: Register...
Configuration of the camera Advanced register: trigger counter The trigger counter feature is controlled by the following advanced feature register: Register Name Field Description 0xF1000620 TRIGGER_COUNTER Presence_Inq Indicates presence of this feature (read only) Reset Reset trigger counter [2..31] Reserved 0xF1000624 TRGCNT TriggerCounter [0..31]...
Configuration of the camera Where to find time stamp, frame counter and trigger counter in the image Time stamp (Cycle counter) Trigger counter Output line 5 6 7 10 11 12 ..of image Frame counter Bytes Figure 108: SIS in the image: time stamp, frame counter, trigger counter Where to find all SIS values in the image In the following table you find the position of all SIS values (byte for byte) including the endianness of SIS values.
Configuration of the camera Smear reduction To enable/disable smear reduction use the following register(s): Register Name Field Description 0xF1000440 LOW_SMEAR Presence_Inq Indicates presence of this feature (read only) [1..5] Reserved ON_OFF Smear reduction on/off [7..31] Reserved Table 159: Advanced register: Smear reduction PIKE Technical Manual V4.1.0...
Configuration of the camera User profiles Definition Within the IIDC specification user profiles are called memory channels. Often they are called user sets. In fact these are different expressions for the fol- lowing: storing camera settings into a non-volatile memory inside the cam- era.
Configuration of the camera Note • The default profile is the profile that is loaded on power-up or an INITIALIZE command. • A save or load operation delays the response of the camera until the operation is completed. At a time only one operation can be performed.
Configuration of the camera Stored settings The following table shows the settings stored inside a profile: Standard registers Standard registers Advanced registers (Format_7) Cur_V_Frm_Rate IMAGE_POSITION (AOI) TIMEBASE Cur_V_Mode IMAGE_SIZE (AOI) EXTD_SHUTTER Cur_V_Format COLOR_CODING_ID IO_INP_CTRL ISO_Channel BYTES_PER_PACKET IO_OUTP_CTRL ISO_Speed IO_INTENA_DELAY BRIGHTNESS AUTOSHUTTER_CTRL AUTO_EXPOSURE (Target grey level) AUTOSHUTTER_LO...
Page 308
Configuration of the camera Note • A profile save operation automatically disables captur- ing of images. • A profile save or restore operation is an uninterruptable (atomic) operation. The write response (of the asyn- chronous write cycle) will be sent after completion of the operation.
Configuration of the camera GPDATA_BUFFER GPDATA_BUFFER is a general purpose register that regulates the exchange of data between camera and host for: • writing look-up tables (LUTs) into the camera • uploading/downloading of the shading image GPDATA_INFO Buffer size query GPDATA_BUFFER indicates the actual storage range Register...
Configuration of the camera User adjustable gain references This register gives the user the possibility (via direct access) to modify the gain references. Modified values are stored automatically without further user action and are also stored on restart. To reload default gain references (which are programmed at personalization) within the camera: set flag m_bDefGainRef=1 Offset Name...
Firmware update Firmware update Firmware updates can be carried out via FireWire cable without opening the camera. Note For further information: • Read the application note: How to update Guppy/Pike/Stingray firmware at AVT website or • Contact your local dealer. Extended version number (FPGA/µC) The new extended version number (Pike firmware 3.x and later) for microcon- troller and FPGA firmware has the following format (4 parts separated by peri-...
Appendix Appendix Sensor position accuracy of AVT cameras Sensor position accuracy of AVT cameras camera body camera body camera body camera body pixel area pixel area pixel area pixel area sensor case sensor case sensor case sensor case AVT Guppy Series Method of Positioning: Automated mechanical alignment of sensor into camera front module.
Index Index Numbers 1394b data transmission ......26 2 out of 16 H+V sub-sampling (b/w) 0xF1000010 (version info) .......266 drawing ...........130 0xF1000040 (advanced feature inquiry)..269 2 out of 16 H+V sub-sampling (color) 0xF1000100 (camera status) .....271 drawing ...........132 0xF1000200 (max. resolution) ....272 2 out of 4 H+V sub-sampling (b/w) 0xF1000208 (time base) ......272 drawing ...........129...
Page 314
Index Advanced feature inquiry register ....269 limits ..........285 Advanced features........263 target grey level......107 activate ...........266 Auto Exposure (CSR register) ....106 base address ........252 auto gain........104 inquiry..........250 Auto gain control (advanced register) ..286 advanced register auto shutter......101 Auto gain control ......286 Auto shutter control (advanced register) ..285 Auto shutter control ......285 auto shutter control (advanced register) ..285...
Page 315
Index block diagram ........94 channel balance ........96 blink codes ..........80 Channel balance (advanced register)..290 block diagram color b/w camera ........94 correction ........146 color camera........95 color camera block diagrams block diagram ........95 cameras ..........94 color coding...........140 BRIGHTNESS........108 color codings .........140 Brightness...
Page 316
Index data path..........94 FireDemo..........274 data payload size .......32 FireView...........274 data_length ..........91 inactive ........166 DCAM ........20 register..........274 declaration of conformity ......23 Trigger mode ........157 default sequence mode ......176 Extended shutter (advanced register).. 165 deferred image transport....142 Extended version (advanced register)..266 ..
Page 317
Index frame counter (advanced register) .....301 flag ..........143 Frame information (advanced register) ..283 mode..........143 frame rates set ..........282 bandwidth........201 HoldImg (Field) ........282 bus speed.........185 horizontal binning ........124 Format_7 .........205 horizontal mirror function ......109 maximum .........185 horizontal sub-sampling (b/w) tables ..........201 drawing ...........126 video mode 0........204 horizontal sub-sampling (color)
Page 318
Index general ..........81 Trg ........... 79 in detail..........81 yellow ..........79 triggers..........81 Legal notice ..........2 input/output pin control......283 level mode (Trigger_Mode_1)....157 Inquiry register look-up table basic function........250 user-defined ........118 Integration Enable signal ......86 look-up table (LUT) ......118 IntEna..........
Page 319
Index NumOfLuts (Field) ........276 Packed 12-Bit MONO........140 Packed 12-Bit RAW........140 packet format.......... 91 parameter list OFFSET example ...........138 automatic white balance ..... 99 parameter list (example) ......296 offset............164 Parameter-List Update ....137 800h ..........108 Parameter-List Update (advanced register) .296 CCD ..........108 PI controller ..........104 configuration ROM......236 picture size ..........
Page 321
Index Soft reset (advanced register) ....290 setting ..........274 specifications .......... 42 trigger delay........84 spectral sensitivity Time base (advanced register) ....272 MF-033B ........... 54 time response.........168 spectral transmission Time stamp ..........299 IR cut filter ........39 time stamp ........182 Jenofilt 217........39 time stamp (advanced register)....299 Stack setup ..........
Page 322
Index Trigger delay (advanced register) ....289 video data format trigger function ........160 IIDC V1.31 ........92 Trigger modi ..........157 Video data payload ........91 trigger overrun ........182 video format triggers ..........81 available bandwidth......201 input ..........81 frame rate ........201 TRIGGER_DELAY .........85 MF-080 .......
Need help?
Do you have a question about the AVT Pike and is the answer not in the manual?
Questions and answers