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

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

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,
	float inMaxIncompleteness,
	out AvlNet.Segment2D? outSegment,
	out AvlNet.Point2D[] outRidgePoints,
	out AvlNet.Profile outDeviationProfile,
	out float[] outRidgeMagnitudes
)

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
inMaxIncompleteness
Type: System.Single
Maximal fraction of ridge points not found
outSegment
Type: System.Nullable<AvlNet.Segment2D>
Fitted segment or nothing if the fitting fails
outRidgePoints
Type: AvlNet.Point2D
outDeviationProfile
Type: AvlNet.Profile
outRidgeMagnitudes
Type: System.Single

Remarks

See full override for more details.

See also