Loading [MathJax]/extensions/tex2jax.js

You are here: Start » FIL.NET » Invoke.CreateSegmentFittingMap

Invoke.CreateSegmentFittingMap

Precomputes a data object that is required for fast segment fitting on images.

Namespace:Fil
Assembly:FilNet.dll

Syntax

C++
C#
 
public static void CreateSegmentFittingMap
(
	Fil.ImageFormat inImageFormat,
	Fil.SegmentFittingField inFittingField,
	Optional<Fil.CoordinateSystem2D> inFittingFieldAlignment,
	int inScanCount,
	int inScanWidth,
	Fil.SamplingParams inSamplingParams,
	Fil.SegmentFittingMap outFittingMap,
	Diagnostic<List<Fil.Segment2D>> diagScanSegments,
	Diagnostic<List<Fil.Rectangle2D>> diagSamplingAreas
)

Parameters

Name Type Range Default Description
inImageFormatFil.ImageFormatDimensions, depth and pixel type of the images on which fitting will be performed.
inFittingFieldFil.SegmentFittingFieldDefines a rectangle in which scan segments will be created.
inFittingFieldAlignmentFtl.Optional<Fil.CoordinateSystem2D>Adjusts the fitting field to the position of the inspected object. Default value: ftl::NIL.
inScanCountint<3, INF>10The number of points that will be searched to estimate the position of the segment. Default value: 10.
inScanWidthint<1, INF>5The width of each scan field (in pixels). Default value: 5.
inSamplingParamsFil.SamplingParams.interpolation BilinearParameters controlling the sampling process. Default value: .interpolation Bilinear.
outFittingMapFil.SegmentFittingMapOptimized data required for segment fitting.
diagScanSegmentsFil.Diagnostic<System.Collections.Generic.List<Fil.Segment2D>>Segments along which the scans will be run.
diagSamplingAreasFil.Diagnostic<System.Collections.Generic.List<Fil.Rectangle2D>>Scan fields created for point detection.

See also