Skip to content

Threshold Objects 2

Group (Subgroup)

Processing (Threshold)

Description

This Filter allows the user to input single or multiple criteria for thresholding Attribute Arrays in an Attribute Matrix. Internally, the algorithm creates the output boolean arrays for each comparison that the user creates. Comparisons can be either a value and boolean operator (Less Than, Greater Than, Equal To, Not Equal To) or a collective set of comparisons. Then all the output arrays are compared with their given comparison operator ( And / Or ) with the value of a set being the result of its own comparisons calculated from top to bottom.

An example of this Filter's use would be after EBSD data is read into DREAM.3D and the user wants to have DREAM.3D consider Cells that the user considers good. The user would insert this Filter and select the criteria that makes a Cell good. All arrays must come from the same Attribute Matrix in order for the Filter to execute.

For example, an integer array contains the values 1, 2, 3, 4, 5. For a comparison value of 3 and the comparison operator greater than, the boolean threshold array produced will contain false, false, false, true, true. For the comparison set { Greater Than 2 AND Less Than 5} OR Equals 1, the boolean threshold array produced will contain true, false, true, true, false.

Parameters

Name Type Description
Data Arrays to Threshold Comparison List This is the set of criteria applied to the objects the selected arrays correspond to when doing the thresholding

Required Geometry

Not Applicable

Required Objects

Kind Default Name Type Component Dimensions Description
Any Attribute Array None Any (1) Array(s) selected in criteria set

Created Objects

Kind Default Name Type Component Dimensions Description
Any Attribute Array Mask bool (1) Specifies whether the objects passed the set of criteria applied during thresholding

Example Pipelines

Please see the description file distributed with this Plugin

DREAM.3D Mailing Lists

If you need more help with a Filter, please consider asking your question on the DREAM.3D Users Google group!