Operator PARALLELdn

Library: Base

The operator PARALLELdn decreases the parallelism between the input link and the output link.

Following figure shows a parallel down conversion from parallelism 6 at the input down to parallelism 3 at the output.

In VisualApplets, the width of an image line has to be a multiple of the parallelism. As the PARALLELdn operator allows any parallelism at its output it is possible that the width of a image line at the output is not a multiple of the output parallelism. In this case the operator will add dummy pixels to fill up the image line. The value of this dummy pixel is undefined. In VA simulation dummy pixels will be set to zero for better visibility.

The following figure shows in illustration of this dummy pixel insertion. As can be seen, the output parallelism of three cannot map the input line width of eight. Here, one extra dummy pixel is added so that the line width becomes nine.

Note that a parallelism decrease will result in a lower bandwidth of the output link compared to the input link. As the operator cannot buffer data, the reduced output bandwidth is also present at the input and might influence the precedent operators in the image pipeline. Technically, the input of the operator is closed/blocked for some clock cycles at a parallel down conversion. The following figure illustrates the timing of the operator.

The operator requires fewest resources if the input parallelism is an integer multiple of the output parallelism.

I/O Properties

Property Value
Operator Type M
Input Link I, data input
Output Link O, data output

Supported Link Format

Link Parameter Input Link I Output Link O
Bit Width [1, 64]1 as I
Arithmetic {unsigned, signed} as I
Parallelism any <= input parallelism
Kernel Columns any as I
Kernel Rows any as I
Img Protocol {VALT_IMAGE2D, VALT_LINE1D, VALT_PIXEL0D} as I
Color Format any as I
Color Flavor any as I
Max. Img Width any auto2
Max. Img Height any as I

1

The range of the input bit width is [1, 64] for unsigned values. For signed inputs, the range is [2, 64]. For unsigned color inputs [3, 63] and for signed color inputs [6, 63].

2

The output image width must not exceed 2^31 - 1.

Parameters

None

Examples of Use

The use of operator PARALLELdn is shown in the following examples:

  • 'Bandwidth Bottlenecks'

    Bandwidth Bottlenecks - Reducing the parallelism after the removal of pixels.

  • 'Laser Triangulation'

    Examples - A high speed and robust laser line detection algorithm. The algorithm determines center of gravity coordinates to obtain sub-pixel resolution results.

  • 'Blob 1D'

    Examples - Shows the usage of operator Blob_Analysis_1D in line scan applications.

  • 'Color Plane Separation Option 5 - Sequential Output with Advances Processing'

    Example on separation of color planes. The RGB input is split into its component and sequentially output via one DMA channel. The splitting if performed by collecting same components in parallel words and reading with FrameBufferRandomRead.