SAUVOLABINARIZE

typedef struct SAUVOLABINARIZE 
{ 
   L_UINT uStructSize; 
   L_INT nWSize; 
   L_DOUBLE dKFactor; 
   L_INT nRFactor; 
} SAUVOLABINARIZE, * pSAUVOLABINARIZE; 

The SAUVOLABINARIZE structure provides Sauvola parameters for the L_SauvolaBinarize function.

Members

uStructSize

The size of the SAUVOLABINARIZE structure.

nWSize

The size of the Sauvola window for which the pixels' mean and variance are calculated from.

dKFactor

A double value that weights the effect of the standard deviation in calculating the Sauvola threshold. The default is 0.35 and the valid range is from 0.0 to 1.0.

nRFactor

Represents the dynamic range of standard deviation. The default value is 128 and the valid range is from 1 to 255.

Comments

This structure is required to set Sauvola binarization parameters.

See Also

Functions

Help Version 20.0.2019.12.5
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Raster Imaging C API Help