QRCellFilterMode

NI Vision for LabWindows/CVI Function

QRCellFilterMode

Specifies the mode used to determine the pixel value for each cell.

Elements

Name

Value

Description

IMAQ_QR_CELL_FILTER_MODE_AUTO_DETECT -2 The function will try all filter modes and uses the one that decodes the QR code within the fewest iterations and utilizing the least amount of error correction.
IMAQ_QR_CELL_FILTER_MODE_AVERAGE 0 The function sets the pixel value for the cell to the average of the sampled pixels.
IMAQ_QR_CELL_FILTER_MODE_MEDIAN 1 The function sets the pixel value for the cell to the median of the sampled pixels.
IMAQ_QR_CELL_FILTER_MODE_CENTRAL_AVERAGE 2 The function sets the pixel value for the cell to the average of the pixels in the center of the cell sample.
IMAQ_QR_CELL_FILTER_MODE_HIGH_AVERAGE 3 The function sets the pixel value for the cell to the average value of the half of the sampled pixels with the highest pixel values.
IMAQ_QR_CELL_FILTER_MODE_LOW_AVERAGE 4 The function sets the pixel value for the cell to the average value of the half of the sampled pixels with the lowest pixel values.
IMAQ_QR_CELL_FILTER_MODE_VERY_HIGH_AVERAGE 5 The function sets the pixel value for the cell to the average value of the ninth of the sampled pixels with the highest pixel values.
IMAQ_QR_CELL_FILTER_MODE_VERY_LOW_AVERAGE 6 The function sets the pixel value for the cell to the average value of the ninth of the sampled pixels with the lowest pixel values.
IMAQ_QR_CELL_FILTER_MODE_ALL 8 The function tries each filter mode, starting with IMAQ_QR_CELL_FILTER_MODE_AVERAGE and ending with IMAQ_QR_CELL_FILTER_MODE_VERY_LOW_AVERAGE, stopping once a filter mode decodes correctly.
IMAQ_QR_CELL_FILTER_MODE_SIZE_GUARD 0xFFFFFFFF Reserved