public class EdgeFinder extends Object implements ImageAnalyser<FImage>
Modifier and Type | Field and Description |
---|---|
FImage |
angle
The direction of each edge as worked out by the angle between the triangle formed by the dx and dy of a pixel
|
protected float[][] |
kx |
protected float[][] |
ky |
FImage |
magnitude
The magnitudes of each edge as worked out by the hypotenuse of the triangle formed by the dx and dy of a pixel
|
Constructor and Description |
---|
EdgeFinder()
Find the edges in an image using default, sobel like 5x5 derivative kernels
|
EdgeFinder(float[][] kx,
float[][] ky)
Find edges in an image using the following edge kernels
|
protected float[][] kx
protected float[][] ky
public FImage magnitude
public EdgeFinder(float[][] kx, float[][] ky)
kx
- ky
- public EdgeFinder()
public void analyseImage(FImage image)
ImageAnalyser
analyseImage
in interface ImageAnalyser<FImage>
image
- The image to process in place.