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 22.0.2023.7.11
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 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.