SAUVOLABINARIZE

Summary

The SAUVOLABINARIZE structure provides Sauvola parameters for the L_SauvolaBinarize function.

Syntax

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

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.

Usage

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

LEADTOOLS Raster Imaging C API Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.