Catalano.Imaging.Concurrent.Filters
Class DifferenceEdgeDetector
- java.lang.Object
-
- Catalano.Imaging.Concurrent.Filters.DifferenceEdgeDetector
-
- All Implemented Interfaces:
- IApplyInPlace
public class DifferenceEdgeDetector extends java.lang.Object implements IApplyInPlace
Difference edge detector.The filter finds objects' edges by calculating maximum difference between pixels in 4 directions around the processing pixel. Suppose 3x3 square element of the source image (x - is currently processed pixel): P1 P2 P3 P8 x P4 P7 P6 P5The corresponding pixel of the result image equals to:max( |P1-P5|, |P2-P6|, |P3-P7|, |P4-P8| )
-
-
Constructor Summary
Constructors Constructor and Description DifferenceEdgeDetector()Initialize a new instance of the SobelEdgeDetector class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description voidapplyInPlace(FastBitmap fb)Apply filter to an image.
-
-
-
Constructor Detail
-
DifferenceEdgeDetector
public DifferenceEdgeDetector()
Initialize a new instance of the SobelEdgeDetector class.
-
-
Method Detail
-
applyInPlace
public void applyInPlace(FastBitmap fb)
Description copied from interface:IApplyInPlaceApply filter to an image.- Specified by:
applyInPlacein interfaceIApplyInPlace- Parameters:
fb- Image to be processed.
-
-
DataMelt 3.0 © DataMelt by jWork.ORG