public class DroG extends Object implements Descriptor
Descriptor.Supports
DOES_ALL
Constructor and Description |
---|
DroG() |
DroG(int edgeXY,
short gaussianKernelSize,
float gaussianSigma,
int threshold) |
Modifier and Type | Method and Description |
---|---|
void |
addPropertyChangeListener(PropertyChangeListener listener)
Adds a change listener to this descriptor.
|
void |
run(ij.process.ImageProcessor ip)
Start processing of this algorithm on the given image processor.
|
EnumSet<Descriptor.Supports> |
supports()
Determine the capabilities of this algorithm.
|
public DroG()
public DroG(int edgeXY, short gaussianKernelSize, float gaussianSigma, int threshold)
edgeXY
- Choose 0 if you want to detect vertical edges or 1 if you want to detect horizontal edges, default = 0 (X-Edge)gaussianKernelSize
- the size of the gaussian kernel, has to be an odd number, default 3gaussianSigma
- Gaussian Sigma, has to be greater than 0 and positive, default 0.5threshold
- Threshold number from 0-255, default 20public EnumSet<Descriptor.Supports> supports()
Descriptor
supports
in interface Descriptor
public void run(ij.process.ImageProcessor ip)
Descriptor
run
in interface Descriptor
public void addPropertyChangeListener(PropertyChangeListener listener)
Descriptor
addPropertyChangeListener
in interface Descriptor
Copyright © 2013. All Rights Reserved.