The following is a list of the predefined spatial filters that can be applied "using the SpatialFilterCommand and the SpatialActivity activity:
Value | Meaning |
---|---|
EmbossNorth EmbossNorthEast EmbossEast EmbossSouthEast EmbossSouth EmbossSouthWest EmbossWest EmbossNorthWest | 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. |
GradientEdgeEnhancementNorth GradientEdgeEnhancementNorthEast GradientEdgeEnhancementEast GradientEdgeEnhancementSouthEast GradientEdgeEnhancementSouth GradientEdgeEnhancementSouthWest GradientEdgeEnhancementWest GradientEdgeEnhancementNorthWest | 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. |
LaplacianFilter1 LaplacianFilter2 LaplacianFilter3 LaplacianDiagonal LaplacianHorizontal LaplacianVertical | 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. |
SobelHorizontal SobelVertical | 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. |
PrewittHorizontal PrewittVertical | 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. |
ShiftAndDifferenceDiagonal ShiftAndDifferenceHorizontal ShiftAndDifferenceVertical | 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. |
LineSegmentHorizontal LineSegmentVertical LineSegmentLeftToRight LineSegmentRightToLeft | 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. |