Manages a complete context for the Canny edge detector. More...


Public Member Functions | |
| ECannyEdgeDetector () | |
| Constructs a ECannyEdgeDetector object initialized to its default values. | |
| void | ResetSmoothingScale () |
| Prevents the smoothing of the source image by a Gaussian filter. | |
| void | Apply (eVision.EROIBW8 source, eVision.EROIBW8 result) |
| Apply the Canny edge detector on an image/ROI. | |
| void | Apply (eVision.EROIBW8 source, eVision.ERegion region, eVision.EROIBW8 result) |
| Apply the Canny edge detector on an image/ROI. | |
| void | Apply (eVision.EROIBW8 source, eVision.ERegion region, eVision.EFrame frame, eVision.EROIBW8 result) |
| Apply the Canny edge detector on an image/ROI. | |
Properties | |
| float | SmoothingScale [get, set] |
| The scale of the features of interest. | |
| eVision.ECannyThresholdingMode | ThresholdingMode [get, set] |
| Returns the mode of the hysteresis thresholding. | |
| float | LowThreshold [get, set] |
| Returns the low hysteresis threshold for a pixel to be considered as an edge. | |
| float | HighThreshold [get, set] |
| Returns the high hysteresis threshold for a pixel to be considered as an edge. | |
Manages a complete context for the Canny edge detector.
The Canny edge detector operates on a grayscale BW8 image and delivers a black-and-white BW8 image where pixels have only 2 possible values: 0 and 255. Pixels corresponding to edges in the source image are set to value 255 in the output image; The other pixels are set to value 0.
License(s): EasyImage
| eVision.ECannyEdgeDetector.ECannyEdgeDetector | ( | ) |
Constructs a ECannyEdgeDetector object initialized to its default values.
| void eVision.ECannyEdgeDetector.Apply | ( | eVision.EROIBW8 | source, |
| eVision.ERegion | region, | ||
| eVision.EFrame | frame, | ||
| eVision.EROIBW8 | result ) |
Apply the Canny edge detector on an image/ROI.
| source | The source image/ROI. |
| region | The region on which to apply the method. |
| frame | The reference frame of the region. |
| result | The output image/ROI. |
The output ROI must have the same size than the input ROI.
| void eVision.ECannyEdgeDetector.Apply | ( | eVision.EROIBW8 | source, |
| eVision.ERegion | region, | ||
| eVision.EROIBW8 | result ) |
Apply the Canny edge detector on an image/ROI.
| source | The source image/ROI. |
| region | The region on which to apply the method. |
| result | The output image/ROI. |
The output ROI must have the same size than the input ROI.
| void eVision.ECannyEdgeDetector.Apply | ( | eVision.EROIBW8 | source, |
| eVision.EROIBW8 | result ) |
Apply the Canny edge detector on an image/ROI.
| source | The source image/ROI. |
| result | The output image/ROI. |
The output ROI must have the same size than the input ROI.
| void eVision.ECannyEdgeDetector.ResetSmoothingScale | ( | ) |
Prevents the smoothing of the source image by a Gaussian filter.
Calling this method is equivalent to set ECannyEdgeDetector.SmoothingScale to zero. It disables the use of the Gaussian filter.
|
getset |
Returns the high hysteresis threshold for a pixel to be considered as an edge.
|
getset |
Returns the low hysteresis threshold for a pixel to be considered as an edge.
|
getset |
The scale of the features of interest.
This scale corresponds to the standard deviation of the Gaussian filter that is used to smooth the source image before the computation of the gradient, hereby selecting the scale of the features of interest.
If this scale is set to zero, no smoothing is achieved: The gradient is computed directly on the raw source image, speeding up the detector, but making the process much less reliable.
|
getset |
Returns the mode of the hysteresis thresholding.