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

Invoke.DetectRidges_AsRegion

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

Namespace:Avl
Assembly:AvlNet.dll

Syntax

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

Parameters

Name Type Range Default Description
inImageAvl.ImageInput image.
inRoiAtl.Optional<Avl.Region>Region of interest. Default value: atl::NIL.
inStdDevXfloat<0.0f, INF>3.0fSmoothing standard deviation (horizontal). Default value: 3.0f.
inStdDevYAtl.Optional<float><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.
inPolarityAvl.Polarity
inMinBlobAreaint<0, INF>1Minimal area of a ridge blob. Default value: 1.
outRidgeRegionAvl.Region

See also