Definitions of Binary Filters

The LBitmap::BinaryFilter function uses the following #define statements for constants: 

#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 20.0.2018.1.19
Products | Support | Contact Us | Copyright Notices
© 1991-2018 LEAD Technologies, Inc. All Rights Reserved.
LEADTOOLS Raster Imaging C++ Class Library Help