Definitions of Binary Filters

The following are the #define statements for the constants used with the L_BinaryFilterBitmap function:

#define SPATIALFLTSIZE(dim) (sizeof(SPATIALFLT) + (sizeof(L_INT) * (((L_INT) (dim) * (L_INT) (dim)) - 1)))  

#define MAKEINTFLT(i) ((LPSPATIALFLT)((L_UINT32)((L_UINT16) (i))))  

#define BFLT_EROSION_OMNI    MAKEINTBFLT(0)  
#define BFLT_EROSION_HORZ    MAKEINTBFLT(1)  
#define BFLT_EROSION_VERT    MAKEINTBFLT(2)  
#define BFLT_EROSION_DIAG    MAKEINTBFLT(3)  
#define BFLT_DILATION_OMNI    MAKEINTBFLT(4)  
#define BFLT_DILATION_HORZ    MAKEINTBFLT(5)  
#define BFLT_DILATION_VERT    MAKEINTBFLT(6)  
#define BFLT_DILATION_DIAG    MAKEINTBFLT(7)

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
LEADTOOLS Raster Imaging C API Help