EasyManua.ls Logo

Basler acA2040-55 - Page 346

Basler acA2040-55
373 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Features AW00123409000
336 Basler ace USB 3.0
Minimum Required Line Pitch
To achieve the required padding, you must set the LinePitch parameter value. This value will
actually be the minimum required line pitch value that is calculated as shown below (employing the
floor function).
NPX = Current number of pixels per line (subject to the current ROI width)
BD [byte] = Current bit depth of pixel data (one or two bytes per pixel, subject to the current pixel
format; see above)
CLP [byte] = Current line pitch; see formula 1
RLP [byte] = Required minimum line pitch; see formula 2
ALIG [byte] = Data size to which the line pitch must be aligned (equivalent to cache line size)
Formula 1:
Formula 2:
1. Determine the current line pitch
by using formula 1 or
by reading the LinePitch parameter value or
by reading the Stride parameter value.
2. Calculate the required minimum line pitch using formula 2.
3. Enable the LinePitch feature.
4. Set the LinePitch parameter using the value calculated in step 2 to achieve the required
padding.
To calculate the required minimum line pitch:
When you enable the LinePitch feature, the feature will automatically provide
padding for 4-byte alignment, without the need for setting the LinePitch parameter
value.
CLP NPX BD×=
RLP
CLP ALIG 1()+
ALIG
-----------------------------------------------
ALIG×()=

Table of Contents

Related product manuals