public class DroG extends Object implements Descriptor
Descriptor.SupportsDOES_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()
Descriptorsupports in interface Descriptorpublic void run(ij.process.ImageProcessor ip)
Descriptorrun in interface Descriptorpublic void addPropertyChangeListener(PropertyChangeListener listener)
DescriptoraddPropertyChangeListener in interface DescriptorCopyright © 2013. All Rights Reserved.