ThresholdData

NI Vision for LabWindows/CVI Function

ThresholdData

Information about a threshold range.

Elements

Name

Type

Description

rangeMin float The lower boundary of the range to keep.
rangeMax float The upper boundary of the range to keep
newValue float If useNewValue is TRUE, newValue is the replacement value for pixels within the range. If useNewValue is FALSE, the function ignores this field.
useNewValue int If TRUE, the function sets pixel values within [rangeMin, rangeMax] to the value specified in newValue. If FALSE, the function leaves the pixel values unchanged.