Dalsa Piranha4 User Manual page 77

8k color camera
Hide thumbs Also See for Piranha4:
Table of Contents

Advertisement

However, in order to correctly format the image for processing and display purposes, frame
grabbers need to support RGB 9.1 mode natively. Until then, here are some workarounds
using Sapera LT.
Note: to support this pixel format in memory, the buffer must be set to RGB 24-
bit packed.
All Sapera demo and example programs extract the create acquisition buffer type from the
associated camera configuration files. Until there is native support for RGB 9.1 mode, frame
grabbers must be configured as monochrome, the CCF files pixel format can't be used by
the programs to process the image correctly.
A simple workaround accomplishes this:
1) Acquire as if the P4 camera was a 8-bit mono, 24,576 (8192 x 3) pixel linescan
camera
2) Treat acquired buffer as SapFormatRGBR888 (24bit/pixel). Sapera LT provides a
feature to share buffer components between two SapBuffer objects. Buffer type may
be different between the two SapBuffer objects. This can be a trick to convert buffer
format without buffer copy.
Acquiring the above data as you would an 8-bit mono camera in 10-tap mode creates the
acquisition buffer shown below.
Adr+0
Adr+1
Adr+2
Red1
Green1
Blue1
On the other hand, the SapFormatRGBR888 format is shown below.
Pixe1 (3byte)
Red1
Green1
Blue1
As demonstrated above, the two buffers' content and their order are exactly same. Thus,
acquiring the buffer as if the camera were a mono 8-bit, 10-tap results in the same buffer
contents as the SapFormatRGBR888.
Piranha4 8K Color Camera User's Manual Appendix D: Color Deca and Full Mode Acquisition
• 77
Adr+3
Adr+4
Adr+5
Red2
Green2
Blue2
First CLK
Pixel2
Red2
Green2
Blue2
Adr+6
Adr+7
Adr+8
Red3
Green3
Blue3
Pixel3
Red3
Green3
Blue3
Adr+9
Adr+10
Adr+11
Red4
Green4
Blue4
Second CLK
Pixel4
Red4
Green4
Blue4

Advertisement

Table of Contents
loading

This manual is also suitable for:

P4-cc-08k03t-01-rPiranha4 p4-cc-08k03t-01-r

Table of Contents