List of Spatial Filters
The following is a list of the predefined spatial filters that can be applied using the L_SpatialFilterBitmap function:
Value |
Meaning |
FLT_EMBOSS_N |
[#define] Creates an image with an embossed appearance. (This is used for artistic effect, but is listed here because it is one of the predefined filters.) Choose the appropriate value for the direction of the effect. |
FLT_GRADIENT_N |
[#define] Detects edges using a Gradient directional filter. All pixels not on the detected edges are changed to black. Choose the appropriate value for the direction of the effect. |
FLT_LAPLACE_1 |
[#define] Applies Laplacian line detection. There are three omnidirectional filters and three bi-directional ones. All pixels not on the detected lines are changed to black. |
FLT_SOBEL_HORZ |
[#define] Applies Sobel edge detection. All pixels not on the detected edges are changed to black. (The usage is the same as Prewitt, but the algorithm is different.) Choose the appropriate value for horizontal or vertical detection. |
FLT_PREWITT_HORZ |
[#define] Applies Prewitt edge detection. All pixels not on the detected edges are changed to black. (The usage is the same as Sobel, but the algorithm is different.) Choose the appropriate value for horizontal or vertical detection. |
FLT_SHIFTDIFF_DIAG |
[#define] Applies shift-and-difference edge detection. All pixels not on the detected edges are changed to black. Choose the appropriate value for diagonal, horizontal, or vertical detection. |
FLT_LINESEG_HORZ |
[#define] Applies line segment line detection. You can use this filter to find line discontinuities in an image. All pixels not on the detected line segments are changed to black. Choose the appropriate value for horizontal, vertical, left-to-right diagonal, or right-to-left diagonal detection. |