Back to Adaptive Vision Studio website

You are here: Start » Filter Reference » 2D Edge Detection » DetectRidges_AsRegion

DetectRidges_AsRegion


Extracts a pixel-precise region of bright or dark thin lines.

Name Type Range Description
inImage Image Input image
inRoi Region* Region of interest
inStdDevX Real 0.0 - Smoothing standard deviation (horizontal)
inStdDevY Real* 0.0 - Smoothing standard deviation (vertical, or Auto = horizontal)
inRidgeThreshold Real 0.0 - Sufficient ridge strength; ridges of that strength will always be detected
inRidgeHysteresis Real 0.0 - Value by which the ridge threshold is decreased for ridge points neighboring with sufficiently strong edges
inPolarity Polarity
inMinBlobArea Integer 0 - Minimal area of a ridge blob
outRidgeRegion Region

Applications

Consistent detection of thin structures like scratches, cracks or lines.

Hints

  • Connect an input image to the inImage input.
  • Set inPolarity in accordance to which type of thin lines you want to detect.
  • Start with inRidgeHysteresis = 0 and set inRidgeThreshold so that each important edge is at least partially detected. Then keep increasing inRidgeHysteresis until the edges are detected completely.
  • If the edges are rugged or there are too many false edges, then try increasing inStdDevX.

Hardware Acceleration

This operation supports automatic parallelization for multicore and multiprocessor systems.

Complexity Level

This filter is available on Basic Complexity Level.

Filter Group

This filter is member of DetectRidges filter group.