UseOverSampling 

Overview

When UseOverSampling is TRUE the barcode reader samples 3 lines at a time (skipping 2 lines between each sample) and takes the average pixel value. This is useful for images containing both black and white speckles.   

Default value =     FALSE

void STSetParameter(hBarcode, ST_USE_OVERSAMPLING, uint16 *value) ;

void STGetParameter(hBarcode, ST_USE_OVERSAMPLING, uint16 *value) ;

e.g

// Use over-sampling.
#include "barcode.h"
uint16 value = 1 ;
STSetParameter(hBarcode, ST_USE_OVERSAMPLING, &value) ;