MedianFilter 

Overview

When True the toolkit will apply a median filter to the image before checking for barcodes. This is a useful option for high resolution images that contain speckles of black and white. It is not recommended for images where the black bars or white spaces are less than 2 pixels wide.

Default Value: 0

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

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

e.g

// Enable the median filter
#include "barcode.h"
uint16 value = 1 ;
STSetParameter(hBarcode, ST_MEDIAN_FILTER, &value) ;