You are here: Start » AVL.NET » AVL.FitSegmentToRidges(AvlNet.Image, AvlNet.SegmentFittingMap, AvlNet.RidgeScanParams, AvlNet.Selection, AvlNet.LocalBlindness, float, AvlNet.MEstimator?, AvlNet.Segment2D?, AvlNet.Profile[], AvlNet.Profile[])

AVL.FitSegmentToRidges(AvlNet.Image, AvlNet.SegmentFittingMap, AvlNet.RidgeScanParams, AvlNet.Selection, AvlNet.LocalBlindness, float, AvlNet.MEstimator?, AvlNet.Segment2D?, AvlNet.Profile[], AvlNet.Profile[])

Performs a series of 1D ridge detections and finds a segment that best matches the detected points.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax


public static void FitSegmentToRidges(
	AvlNet.Image inImage,
	AvlNet.SegmentFittingMap inFittingMap,
	AvlNet.RidgeScanParams inRidgeScanParams,
	AvlNet.Selection inRidgeSelection,
	AvlNet.LocalBlindness inLocalBlindness,
	float inMaxIncompleteness,
	AvlNet.MEstimator? inOutlierSuppression,
	out AvlNet.Segment2D? outSegment,
	out AvlNet.Profile[] diagBrightnessProfiles,
	out AvlNet.Profile[] diagResponseProfiles
)

Parameters

inImage
Type: AvlNet.Image
Image to fit segment to
inFittingMap
Type: AvlNet.SegmentFittingMap
Input fitting map
inRidgeScanParams
Type: AvlNet.RidgeScanParams
Parameters controlling the ridge extraction process
inRidgeSelection
Type: AvlNet.Selection
Selection mode of ridges
inLocalBlindness
Type: AvlNet.LocalBlindness
Defines conditions in which weaker ridges can be detected in the vicinity of stronger ridges, or null.
inMaxIncompleteness
Type: System.Single
Maximal fraction of ridge points not found
inOutlierSuppression
Type: System.Nullable<AvlNet.MEstimator>
Selects a method for ignoring incorrectly detected points, or null.
outSegment
Type: System.Nullable<AvlNet.Segment2D>
Fitted segment or nothing if the fitting fails
diagBrightnessProfiles
Type: AvlNet.Profile
Extracted image profiles
diagResponseProfiles
Type: AvlNet.Profile
Profiles of the ridge operator response

See also