Back to Adaptive Vision Studio website

You are here: Start » Filter Reference » Image » Image Features » ImageRidges

ImageRidges


Module: FoundationBasic

Finds ridge pixels in an image.

Name Type Range Description
inImage Image Input image
inRoi Region* Range of pixels to be processed
inPolarity Polarity Specifies the type of ridges to be detected (Bright, Dark or Any)
inMinValue Real* Minimal value of pixel to be considered
inMaxValue Real* Maximal value of pixel to be considered
inNoiseLevel Real 0.0 - Defines how much stronger a pixel has to be than its neighbors to be deemed a ridge pixel
outRidges Region Region of ridges

Description

The operation finds region of pixels being local ridges on the image inImage within specific region inRoi. For a pixel to be deemed a ridge pixel it is necessary to be stronger than both its neighbor pixels in at least one from four main directions (horizontal, vertical and two diagonals) by at least inNoiseLevel. Furthermore, the pixel value must be between inMinValue and inMaxValue.

Errors

This filter can throw an exception to report error. Read how to deal with errors in Error Handling.

List of possible exceptions:

Error type Description
DomainError Region exceeds an input image in ImageRidges.

Complexity Level

This filter is available on Advanced Complexity Level.

See Also

  • ImageLocalMinima – Finds image locations characterized by locally minimal pixel values.
  • ImageLocalMaxima – Finds image locations characterized by locally maximal pixel values.