You are here: Start » AVL.NET » Function Reference » Image » Image Features » 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,
	NullableRef<AvlNet.Region> inRoi,
	AvlNet.Polarity inPolarity,
	float? inMinValue,
	float? inMaxValue,
	float inNoiseLevel,
	AvlNet.Region outRidges
)

Parameters

Name Type Range Default Description
inImageAvlNet.ImageInput image.
inRoiAvlNet.NullableRef<AvlNet.Region>Range of pixels to be processed. Default value: atl::NIL.
inPolarityAvlNet.PolaritySpecifies the type of ridges to be detected (Bright, Dark or Any).
inMinValuefloat?Minimal value of pixel to be considered. Default value: atl::NIL.
inMaxValuefloat?Maximal value of pixel to be considered. Default value: atl::NIL.
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.

Hardware Acceleration

This operation supports automatic parallelization for multicore and multiprocessor systems.

Hardware acceleration settings may be manipulated with Settings class.

Errors

List of possible exceptions:

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

Function Overrides

See also