User`s manual

Spatial Correction on Color Cameras AW00049313000
136 Basler runner
Setting the Spatial Correction Parameter
You can set the Spatial Correction parameter value from within your application software by using
the pylon API. The following code snippet illustrates using the parameter value to set spatial
correction for a red starting line with a delay of +8:
//Set the Spatial Correction
Camera.SpatialCorrection.SetValue( 8 );
For detailed information about using the pylon API, refer to the Basler pylon Programmer’s Guide
and API Reference.
You can also use the Basler pylon Viewer application to easily set the parameter.
For more information about the pylon Viewer, see Section 3.1 on page 17.
For more information about the frame start trigger mode, see Section 8.2.3 on page 82.
Note
If you are using a color camera, you have spatial correction enabled, and you
have the frame start trigger mode set to off, you must discard the first n x 2 lines
from the first frame transmitted by the camera after an acquisition start
command is issued (where n is the absolute value of the current spatial
correction parameter setting).
If you have spatial correction enabled and you have the frame start trigger
mode set to on, you must discard the first n x 2 lines from each frame
transmitted by the camera.