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

L_UINT uStructSize

The size of the SAUVOLABINARIZE structure.

L_INT nWSize

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

L_DOUBLE dKFactor

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

L_INT nRFactor

Represents the dynamic range of the 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 21.0.2023.2.15
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Raster Imaging C API Help

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.