Filter

Function

Generic filtering for any array-like variant. It takes a Boolean array of True/False as criteria and outputs the values corresponding to True values in the Boolean array as a new array.

../../../../../_images/filter.png

Sample Scenario

This Step filters a data array based on a Boolean list. This Step usually follows Steps that output Boolean lists, including Dichotomize Values by Threshold, Validate Labels and Output Flags, Validate Poses by Included Angle to Reference Direction, Validate Point Clouds, etc.

Input and Output

../../../../../_images/input_output_13.png

Parameters

Ports Settings

Port Number
Default Value: 1
Value Range: 1 ~ 15
Instruction: This parameter indicates the number of the input and output ports.
Operation Layer
Default Value: 0
Value Range: 0 ~ 14
Instruction: If the operation layer is 0 , the operation will perform on every elements in the lists.
Reverse Bool List
Default Value: False
List of Values: True, False
Instruction: When checked as False , the items with False in input BoolList will be filtered, and return items with True; When checked as True , the items with True in input BoolList will be filtered, and returen items with False.