You are here: Start » AVL.NET » AVL.ImageRidges

AVL.ImageRidges

Finds ridge pixels in an image.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
public static void ImageRidges
(
	AvlNet.Image inImage,
	AvlNet.Polarity inPolarity,
	float inNoiseLevel,
	AvlNet.Region outRidges
)

Parameters

Name Type Range Default Description
inImageAvlNet.ImageInput image.
inPolarityAvlNet.PolaritySpecifies the type of ridges to be detected (Bright, Dark or Any).
inNoiseLevelfloat<0.0f, INF>Defines how much stronger a pixel has to be than its neighbors to be deemed a ridge pixel.
outRidgesAvlNet.RegionRegion 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.

Function Overrides

See also