You are here: Start » AVL.NET » AVL.FitSegmentToEdges(AvlNet.Image, AvlNet.SegmentFittingMap, AvlNet.EdgeScanParams, AvlNet.Selection, float, AvlNet.Segment2D?, AvlNet.Profile[], AvlNet.Profile[])
AVL.FitSegmentToEdges(AvlNet.Image, AvlNet.SegmentFittingMap, AvlNet.EdgeScanParams, AvlNet.Selection, float, AvlNet.Segment2D?, AvlNet.Profile[], AvlNet.Profile[])
Performs a series of 1D edge detections and finds a segment that best matches the detected points.
| Namespace: | AvlNet |
|---|---|
| Assembly: | AVL.NET.dll |
Syntax
public static void FitSegmentToEdges( AvlNet.Image inImage, AvlNet.SegmentFittingMap inFittingMap, AvlNet.EdgeScanParams inEdgeScanParams, AvlNet.Selection inEdgeSelection, float inMaxIncompleteness, 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 - inEdgeScanParams
- Type: AvlNet.EdgeScanParams
Parameters controlling the edge extraction process - inEdgeSelection
- Type: AvlNet.Selection
Selection mode of edges - inMaxIncompleteness
- Type: System.Single
Maximal fraction of edge points not found - 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 edge (derivative) operator response
