Class GaussianEdgeDetector
- java.lang.Object
-
- edu.gsu.cs.dmlab.imageproc.edgedetection.detectors.GaussianEdgeDetector
-
- Direct Known Subclasses:
PrewittEdgeDetector
,RobertsCrossEdgeDetector
,SobelEdgeDetector
public abstract class GaussianEdgeDetector extends Object
This is the parent class for the following edge detector classes:- Author:
- Jason Altschuler, modified by Azim Ahmadzadeh and Dustin Kempton of Data Mining Lab, Georgia State Universit
-
-
Constructor Summary
Constructors Constructor Description GaussianEdgeDetector()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected void
findEdges(double[][] image, boolean L1norm)
Find beautiful edges.boolean[][]
getEdges()
boolean
getL1norm()
double
getThreshold()
protected abstract double[][]
getXkernel()
Abstract methods to implementprotected abstract double[][]
getYkernel()
-
-
-
Method Detail
-
getXkernel
protected abstract double[][] getXkernel()
Abstract methods to implement
-
getYkernel
protected abstract double[][] getYkernel()
-
findEdges
protected void findEdges(double[][] image, boolean L1norm)
Find beautiful edges.- Parameters:
image
-
-
getEdges
public boolean[][] getEdges()
- Returns:
- detected edges
-
getThreshold
public double getThreshold()
- Returns:
- threshold compared with sgradient magnitudes to find edges
-
getL1norm
public boolean getL1norm()
- Returns:
- whether used L1 or L2 distance norm
-
-