LocalThresholdMethod

NI Vision for LabWindows/CVI Function

LocalThresholdMethod

The method the function uses to perform the local threshold.

Elements

Name

Value

Description

IMAQ_NIBLACK 0 The function computes thresholds for each pixel based on its local statistics using the Niblack local thresholding algorithm.
IMAQ_BACKGROUND_CORRECTION 1 The function performs background correction first to eliminate non-uniform lighting effects, then performs thresholding using the Otsu thresholding algorithm.
IMAQ_LOCAL_THRESHOLD_METHOD_SIZE_GUARD 0xFFFFFFFF Reserved