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

AVL.DetectRidges_AsRegion

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

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
public static void DetectRidges_AsRegion
(
	AvlNet.Image inImage,
	NullableRef<AvlNet.Region> inRoi,
	float inStdDevX,
	float? inStdDevY,
	float inRidgeThreshold,
	float inRidgeHysteresis,
	AvlNet.Polarity inPolarity,
	int inMinBlobArea,
	AvlNet.Region outRidgeRegion
)

Parameters

Name Type Range Default Description
inImageAvlNet.ImageInput image.
inRoiAvlNet.NullableRef<AvlNet.Region>Region of interest. Default value: atl::NIL.
inStdDevXfloat<0.0f, INF>3.0fSmoothing standard deviation (horizontal). Default value: 3.0f.
inStdDevYfloat?<0.0f, INF>Smoothing standard deviation (vertical, or Auto = horizontal). Default value: atl::NIL.
inRidgeThresholdfloat<0.0f, INF>5.0fSufficient ridge strength; ridges of that strength will always be detected. Default value: 5.0f.
inRidgeHysteresisfloat<0.0f, INF>4.0fValue by which the ridge threshold is decreased for ridge points neighboring with sufficiently strong edges. Default value: 4.0f.
inPolarityAvlNet.Polarity
inMinBlobAreaint<0, INF>1Minimal area of a ridge blob. Default value: 1.
outRidgeRegionAvlNet.Region

Remarks

For more information about local coordinate systems please refer to the following article.

Hardware Acceleration

This operation supports automatic parallelization for multicore and multiprocessor systems.

Hardware acceleration settings may be manipulated with Settings class.

Function Overrides

See also