Despeckle
Overview
If the Despeckle property is none zero then the ScanBarCode method will run an image through a despeckle filter before scanning for barcodes . The filter removes marks from an image that are unlikely to be part of a barcode. A larger value for Despeckle will remove larger marks from the image. This increases the chances of finding a barcode in a poor quality image but also increases the time taken to process an image. Note that the Despeckle filter also removes small white gaps in vertical bars. A typical value for NoiseReduction is 10.
Default value = 0
void STSetParameter(hBarcode, ST_DESPECKLE, uint16 *value) ;
void STGetParameter(hBarcode, ST_DESPECKLE, uint16 *value) ;
e.g
// Set a despeckle value of 10
#include "barcode.h"
uint16 value = 10 ;
STSetParameter(hBarcode, ST_DESPECKLE, &value) ;