The operator performs an arithmetic shift of the input data to the left. The number of bits to be shifted is defined using parameter Shift. Each bit at the input is left shifted by the parameterized number of bits. The newly inserted least significant bits will have value zero.
Bit shifting is usually used to scale a value by a power of two value. For example a left shift by one bit will double the value. A left shift by 2 bits will quadruple the input value.
Each color component is shifted separately.
|Range||[0, 64 - Input BitWidth]|
This parameter defines the number of bits by which the input is left shifted.
The use of operator ShiftLeft is shown in the following examples:
Tutorial - User ShiftLeft to change DMA bit width.
Examples - A high speed and robust laser line detection algorithm. The algorithm determines center of gravity coordinates to obtain sub-pixel resolution results.
Example - Calculates image moments orientation and eccentricity
Examples - The example shows the implementation of a 2D shading correction. Correction values are stored in frame grabber RAM. The applet performs a high precision offset and gain correction.
Examples - The example shows an 1D shading correction. The correction values are stored in block RAM memory.
Examples - The example shows an 1D shading correction. The correction values are stored in Frame Grabber RAM.