Operator Library: Base
The operator MergePixel merges pixels of multiple input links of the same parallelism into one pixel of larger bit width. The bits of the inputs are concatenated. The bits of input I0 will be mapped to the lower bits at the output. All inputs may have varying bit widths. The output is always unsigned. If signed pixels are merged, the bits are simply reinterpreted and concatenated.
Each color component is merged separately.
The following figure shows the merge of three input links into one link.
Property | Value |
---|---|
Operator Type | O |
Input Links | I0, data input I[n], n > 0, data input |
Output Link | O, data output |
The use of operator MergePixel is shown in the following examples:
-
Tutorial - Basic Acquisition
-
'Grayscale Camera Link Full Area'
Tutorial - Basic Acquisition
-
Examples - A high speed and robust laser line detection algorithm. The algorithm determines center of gravity coordinates to obtain sub-pixel resolution results.
-
'Simple Threshold Binarization'
Simple thresholding for binarization.
-
Examples - Shows the usage of operator Blob_Analysis_1D in line scan applications.
-
Examples - Shows the usage of operator Blob_Analysis_2D. The applet binarizes the input data and determines the blob analysis results. The results as well as the original image are output using two DMA channels.
-
Examples - Calculates the differences between two successive images. The differences are thresholded and output via DMA channel.
-
Examples - A binary eroded image is compared with the original. An edge is detected if both differ.