Operator IS_LessEqual

Operator Library: Logic

The operator IS_LessEqual sets the output to a logical "1" if the value at the input link I is less or equal than the value of parameter Number, otherwise the output is "0".

To compare the values of two input links use operator CMP_AleB instead.

I/O Properties

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

Supported Link Format

Link Parameter Input Link I Output Link O
Bit Width [1, 63] unsigned, [2, 64] signed 1
Arithmetic {unsigned, signed} unsigned
Parallelism any as I
Kernel Columns any as I
Kernel Rows any as I
Img Protocol {VALT_IMAGE2D, VALT_LINE1D, VALT_PIXEL0D} as I
Color Format VAF_GRAY as I
Color Flavor FL_NONE as I
Max. Img Width any as I
Max. Img Height any as I

Parameters

Number
Type static/dynamic read/write parameter
Default 0
Range same as range of input link I

Value to compare the input link value with.

ImplementationType
Type static write parameter
Default AUTO
Range (AUTO, EmbeddedALU, LUT)

Parameter ImplementationType allows you to influence the implementation of the operator, i.e., to define which logic elements are used for implementing the operator.

You can select one of the following values:

AUTO: When the operator is instantiated, the optimal implementation strategy for the given FPGA architecture is selected automatically, based on the parametrization of the operator.

EmbeddedALU: The operator uses the embedded ALU elements of the FPGA.

LUT: The operator uses the LUT elements of the FPGA.

[Note] Use AUTO in General

Normally, the parameter should be set to AUTO. In special cases, i.e., if one kind of FPGA ressource runs short in a design, you can manually influence the FPGA resource management using the values EmbeddedALU and/or LUT.

Examples of Use

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

  • 'Combine Image Data From Two Camera Sources - Building an Overlay Blend'

    Tutorial - From equation to implementation. Explanation on how to implement the overlay blend.

  • '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.

  • 'Blob 2D'

    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.

  • 'Blob2D ROI Selection'

    Examples - The blob analysis operator is applied to an input camera image. The applet shows the usage of the blob data in the applet. In this case, the object with the maximum are is localized and the coordinates are used to cut out the object from the original image.

  • 'HSL Color Classification'

    Examples - Color Classification is very simple on HSL images. The applet converts the RGB image into an HSL image and performs a color classification. The hue is filtered using a lookup table. Moreover, the saturation and lightness is thresholded using custom threshold values.