
12 Pixel Data Processing
12.10
Double Rate (DR cameras only)
The Photonfocus DR cameras use a proprietary coding algorithm to cut the data rate by almost
a factor of two. This enables the transmission of high frame rates over just one Gigabit
Ethernet connection, avoiding the complexity and stability issues of Ethernet link aggregation.
The algorithm is lossy but no image artefacts are introduced, unlike for example the JPEG
compression. It is therefore very well suited for most machine vision applications except for
measuring tasks where sub-pixel precision is required.
The encoded image is transmitted in mono 8 bit data resolution only.
The encoding is run in real-time in the camera’s FPGA. A DLL for the demodulation of the
image for SDK applications is included in the PFInstaller software package that can be
downloaded from Photonfocus.
The compression factor is independent of the image content. The encoded image has the same
number of rows as the raw image. The required image width (number of bytes in a row) for
the modulated image can be calculated as follows (value can also be read from a camera
property) (oh=2 for monochrome cameras, oh=3 for color cameras):
w
mod
= ceil(w/64) + w/2 + oh [w = width of image in pixels]
12.11
Frame Combine
Very high frame rates that are well over 1000 fps can be achieved for small ROIs. Every frame
(image) activates an interrupt in the GigE software which will issue a high CPU load or the
frame rate can not be handled at all by an overload of interrupts.
To solve this issue, the FrameCombine mode has been implemented in this camera. In this
mode, the data of n images are bundled into one frame. In the example shown in Fig. 12.18 4
frames are combined into one frame (
FrameCombineNrFrames
=4). In this case there are 4 times
less software interrupts that indicate a new frame than without FrameCombine and the CPU
load is significantly reduced. Instead of receiving 4 images with 5 rows, only one image with 20
rows is received which reduces the frame rate on the computer side. Without FrameCombine,
the CPU load on the computer might be too high to receive all images and images might be
dropped. The value n (=
FrameCombineNrFrames
) can be set by the user. This value should be set so
that the resulting frame rate is well below 1000 fps (e.g. at 100 fps). E.g. if the camera shows a
maximal frame rate of 4000 (property
AcquisitionFrameRateMax
), then
FrameCombineNrFrames
could be set to 40 to have a resulting frame rate of 100 fps.
The
FrameCombineNrFrames
value should be set so that the resulting frame rate is
well below 1000 fps.
12.11.1
Frame Combine Timeout
There exist possibilities to transmit the combined frame even if there is not enough data to fill
it. E.g. It can be desirable to get the data immediately after an item on a conveyor belt has
passed.
FrameCombine_Timeout
A timeout can be specified after which the combined frame will be
transmitted, regardless if there was enough data to fill it. The timeout counter is reset
after each frame and counts until a new trigger has been detected or until the timeout is
reached.
92 of 151
MAN085 04/2021 V1.3
Summary of Contents for Luxima DR4-D1280-L01-FB
Page 8: ...CONTENTS 8 of 151 MAN085 04 2021 V1 3...
Page 12: ...1 Preface 12 of 151 MAN085 04 2021 V1 3...
Page 42: ...4 Image Acquisition 42 of 151 MAN085 04 2021 V1 3...
Page 52: ...5 Counter Timer 52 of 151 MAN085 04 2021 V1 3...
Page 84: ...12 Pixel Data Processing 84 of 151 MAN085 04 2021 V1 3...
Page 94: ...12 Pixel Data Processing 94 of 151 MAN085 04 2021 V1 3...
Page 98: ...13 Precautions 98 of 151 MAN085 04 2021 V1 3...
Page 128: ...16 Troubleshooting 128 of 151 MAN085 04 2021 V1 3...
Page 134: ...19 Support and Repair 134 of 151 MAN085 04 2021 V1 3...
Page 136: ...20 References 136 of 151 MAN085 04 2021 V1 3...
Page 140: ...A Pinouts 140 of 151 MAN085 04 2021 V1 3...