Class SoCannyEdgeProcessing
- java.lang.Object
-
- com.openinventor.inventor.Inventor
-
- com.openinventor.inventor.misc.SoBase
-
- com.openinventor.inventor.fields.SoFieldContainer
-
- com.openinventor.inventor.engines.SoEngine
-
- com.openinventor.imageviz.engines.SoImageVizEngine
-
- com.openinventor.imageviz.engines.edgedetection.edgemarking.SoCannyEdgeProcessing
-
- All Implemented Interfaces:
SafeDisposable
public class SoCannyEdgeProcessing extends SoImageVizEngine
SoCannyEdgeProcessing
. This engine models the Canny edge detection workflow which is composed of the following steps: 1) Gaussian filtering
2) Gradient computation
3) Non maximum suppression in the gradient directionThe algorithm also provides estimated parameters for applying an hysteresis thresholding on the output image which represents the gradient local maxima.
- See Also:
SoGaussianBlurFilterProcessing
,SoGradientOperatorProcessing2d
,SoGradientOperatorProcessing3d
,SoGradientLocalMaximaProcessing2d
,SoGradientLocalMaximaProcessing3d
,SoHysteresisThresholdingProcessing File format/default: CannyEdgeProcessing { computeMode MODE_AUTO inImage NULL standardDeviation 1.0f 1.0f 1.0f } Library references:
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SoCannyEdgeProcessing.SbCannyEdgeDetectionDetail
Results details of canny edge detection workflow.-
Nested classes/interfaces inherited from class com.openinventor.imageviz.engines.SoImageVizEngine
SoImageVizEngine.ComputeModes, SoImageVizEngine.EventArg, SoImageVizEngine.Neighborhood3ds
-
Nested classes/interfaces inherited from class com.openinventor.inventor.Inventor
Inventor.ConstructorCommand
-
-
Field Summary
Fields Modifier and Type Field Description SoSFImageDataAdapter
inImage
The input graylevel image.SoImageVizEngineOutput<SoSFImageDataAdapter,SoImageDataAdapter>
outImage
Output edge image.SoImageVizEngineAnalysisOutput<SoCannyEdgeProcessing.SbCannyEdgeDetectionDetail>
outResult
The thresholding results.SoSFVec3f
standardDeviation
Input gaussian kernel size.-
Fields inherited from class com.openinventor.imageviz.engines.SoImageVizEngine
onBegin, onEnd, onProgress
-
Fields inherited from class com.openinventor.inventor.Inventor
VERBOSE_LEVEL, ZeroHandle
-
-
Constructor Summary
Constructors Constructor Description SoCannyEdgeProcessing()
Constructor.
-
Method Summary
-
Methods inherited from class com.openinventor.imageviz.engines.SoImageVizEngine
abortEvaluate, isEvaluating, startEvaluate, waitEvaluate
-
Methods inherited from class com.openinventor.inventor.engines.SoEngine
copy, getByName, getOutput, getOutputName
-
Methods inherited from class com.openinventor.inventor.fields.SoFieldContainer
copyFieldValues, copyFieldValues, enableNotify, fieldsAreEqual, get, getAllFields, getEventIn, getEventOut, getField, getFieldName, hasDefaultValues, isNotifyEnabled, set, setToDefaults
-
Methods inherited from class com.openinventor.inventor.misc.SoBase
dispose, getName, isDisposable, isSynchronizable, setName, setSynchronizable, touch
-
Methods inherited from class com.openinventor.inventor.Inventor
getNativeResourceHandle
-
-
-
-
Field Detail
-
inImage
public final SoSFImageDataAdapter inImage
The input graylevel image. Default value is null.
-
standardDeviation
public final SoSFVec3f standardDeviation
Input gaussian kernel size. Default value is (1.0,1.0,1.0).
-
outImage
public final SoImageVizEngineOutput<SoSFImageDataAdapter,SoImageDataAdapter> outImage
Output edge image. Output of the canny workflow.
-
outResult
public final SoImageVizEngineAnalysisOutput<SoCannyEdgeProcessing.SbCannyEdgeDetectionDetail> outResult
The thresholding results. Default value is NULL.
-
-