Catalano.Imaging.Filters
Class SobelCompassEdgeDetector
- java.lang.Object
-
- Catalano.Imaging.Filters.SobelCompassEdgeDetector
-
- All Implemented Interfaces:
- IApplyInPlace
public class SobelCompassEdgeDetector extends java.lang.Object implements IApplyInPlace
Sobel Compass Edge Detector. The operator takes a single kernel mask and rotates it in 45 degree increments through all 8 compass directions: N, NW, W, SW, S, SE, E, and NE. The edge magnitude of the Sobel operator is calculated as the maximum magnitude across all directions. The edge magnitude is found by convolving each mask with the image and selecting the largest value at each pxel location. The edge direction at each point is defined by the direction of the edge mask that provides the maximum magnitude.
-
-
Constructor Summary
Constructors Constructor and Description SobelCompassEdgeDetector()Initialize a new instance of the SobelCompassEdgeDetector class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description voidapplyInPlace(FastBitmap fastBitmap)Apply filter to an image.
-
-
-
Constructor Detail
-
SobelCompassEdgeDetector
public SobelCompassEdgeDetector()
Initialize a new instance of the SobelCompassEdgeDetector class.
-
-
Method Detail
-
applyInPlace
public void applyInPlace(FastBitmap fastBitmap)
Description copied from interface:IApplyInPlaceApply filter to an image.- Specified by:
applyInPlacein interfaceIApplyInPlace- Parameters:
fastBitmap- Image to be processed.
-
-
DataMelt 3.0 © DataMelt by jWork.ORG