public class MarrHildreth extends Object implements Descriptor
Descriptor.Supports
DOES_ALL
Constructor and Description |
---|
MarrHildreth()
Creates Marr Hildreth edge detection with default parameters
|
MarrHildreth(double deviation,
int kernelSize,
int times)
Creates Marr Hildreth edge detection
|
Modifier and Type | Method and Description |
---|---|
void |
addPropertyChangeListener(PropertyChangeListener listener)
Adds a change listener to this descriptor.
|
double |
getDeviation() |
int |
getIterations() |
int |
getKernelSize() |
void |
process() |
void |
run(ij.process.ImageProcessor ip)
Starts the canny edge detection.
|
void |
setDeviation(double deviation)
Sets deviation
|
void |
setIterations(int times)
Sets number of iterations
|
void |
setKernelSize(int kernelSize)
Sets size of kernel
|
EnumSet<Descriptor.Supports> |
supports()
Defines the capability of the algorithm.
|
public MarrHildreth()
public MarrHildreth(double deviation, int kernelSize, int times)
deviation
- kernelSize
- times
- public void process()
public EnumSet<Descriptor.Supports> supports()
supports
in interface Descriptor
PlugInFilter
,
supports()
public void run(ij.process.ImageProcessor ip)
run
in interface Descriptor
ip
- ImageProcessor of the source imagepublic void addPropertyChangeListener(PropertyChangeListener listener)
Descriptor
addPropertyChangeListener
in interface Descriptor
public double getDeviation()
public void setDeviation(double deviation)
deviation
- public int getKernelSize()
public void setKernelSize(int kernelSize)
kernelSize
- public int getIterations()
public void setIterations(int times)
times
- Copyright © 2013. All Rights Reserved.