SelectParticleCriteria

NI Vision for LabWindows/CVI Function

SelectParticleCriteria

The criteria for a particle filter.

Elements

Name

Type

Description

parameter MeasurementValue The morphological measurement that the function uses for filtering. If you set the mode of imaqGetParticleInfo() to IMAQ_BASIC_INFO, parameter can only be the following values: IMAQ_AREA, IMAQ_AREA_CALIBRATED, IMAQ_LEFT_COLUMN, IMAQ_TOP_ROW, IMAQ_RIGHT_COLUMN, or IMAQ_BOTTOM_ROW. If you set the mode of imaqGetParticleInfo() to IMAQ_ALL_INFO, parameter can be any one of the values listed above or one the following values: IMAQ_NUM_HOLES, IMAQ_AREA_OF_HOLES, IMAQ_MAX_SEGMENT_LENGTH, IMAQ_MAX_SEGMENT_LEFT_COLUMN, IMAQ_MAX_SEGMENT_TOP_ROW, IMAQ_PERIMETER, IMAQ_PERIMETER_OF_HOLES, IMAQ_SIGMA_X, IMAQ_SIGMA_Y, IMAQ_SIGMA_XX, IMAQ_SIGMA_YY, IMAQ_SIGMA_XY, IMAQ_PROJ_X, or IMAQ_PROJ_Y.
lower float The lower boundary of the criteria range.
upper float The upper boundary of the criteria range.