Available in LEADTOOLS Imaging Pro, Vector, Document, and Medical Imaging toolkits. |
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)