public class FSobel extends Object implements ImageAnalyser<FImage>
ImageAnalyser
that computes the X and Y image gradients using
Sobel filters. Optionally, the input image can be blurred first using a
Gaussian.Modifier and Type | Field and Description |
---|---|
FImage |
dx
The X gradients
|
FImage |
dy
The Y gradients
|
public FSobel()
public FSobel(float sigma)
sigma
- the standard deviation of the Gaussian blurpublic void analyseImage(FImage image)
ImageAnalyser
analyseImage
in interface ImageAnalyser<FImage>
image
- The image to process in place.