Maven module :un.api : api-image :
Class :
un.impl.image.process.detection.CannyOperator
Extends/Implements :
un.api.task.AbstractTask
Subclasses : -
Variables :
INPUT_LOWER_THRESHOLD,
INPUT_HIGHER_THRESHOLD,
INPUT_GAUSSIAN_KERNEL_RADIUS,
INPUT_GAUSSIAN_KERNEL_WIDTH,
INPUT_CONTRAST_NORMALIZED,
DESCRIPTOR
Functions :
CannyOperator,
getSourceImage,
setSourceImage,
getEdgesImage,
setEdgesImage,
getLowThreshold,
setLowThreshold,
getHighThreshold,
setHighThreshold,
getGaussianKernelWidth,
setGaussianKernelWidth,
getGaussianKernelRadius,
setGaussianKernelRadius,
isContrastNormalized,
setContrastNormalized,
execute
public ParameterValueType
INPUT_LOWER_THRESHOLD
public ParameterValueType
INPUT_HIGHER_THRESHOLD
public ParameterValueType
INPUT_GAUSSIAN_KERNEL_RADIUS
public ParameterValueType
INPUT_GAUSSIAN_KERNEL_WIDTH
public ParameterValueType
INPUT_CONTRAST_NORMALIZED
public DefaultImageTaskDescriptor
DESCRIPTOR
public void
CannyOperator ()
public Image
getSourceImage ()
public void
setSourceImage (Image image)
public Image
getEdgesImage ()
public void
setEdgesImage (Image edgesImage)
public float
getLowThreshold ()
public void
setLowThreshold (float threshold)
public float
getHighThreshold ()
public void
setHighThreshold (float threshold)
public int
getGaussianKernelWidth ()
public void
setGaussianKernelWidth (int gaussianKernelWidth)
public float
getGaussianKernelRadius ()
public void
setGaussianKernelRadius (float gaussianKernelRadius)
public boolean
isContrastNormalized ()
public void
setContrastNormalized (boolean contrastNormalized)
public Parameters
execute ()
This software has been released into the public domain.
Please read the notes in this source file for additional information.
This class provides a configurable implementation of the Canny edge detection
algorithm. This classic algorithm has a number of shortcomings, but remains
an effective tool in many scenarios. This class is designed for single
threaded use only.
For a more complete understanding of this edge detector's parameters consult
an explanation of the algorithm.
TODO : resuse gaussian operator
Origin :
http://www.tomgibara.com/computer-vision/CannyEdgeDetector.java
@author Tom Gibara (Original author)
@author Johann Sorel (Adapted to Unlicense-Lib)