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

Invoke.CreateSurfaceMeasurementMap

(Pre)computes surface sampling locations used by MeasureObjectWidth3D function.

Namespace:Fil
Assembly:FilNet.dll

Syntax

C++
C#
 
public static void CreateSurfaceMeasurementMap
(
	Fil.SurfaceFormat inSurfaceFormat,
	Fil.SegmentScanField inScanField,
	Optional<Fil.CoordinateSystem2D> inScanFieldAlignment,
	int inScanCount,
	Optional<float> inSamplingStep,
	int inScanWidth,
	Fil.InterpolationMethod inSurfaceInterpolation,
	List<Fil.ScanMap> outMeasurementMap,
	Optional<Fil.SegmentScanField> outAlignedScanField,
	Diagnostic<List<Fil.Segment2D>> diagScanSegments
)

Parameters

Name Type Range Default Description
inSurfaceFormatFil.SurfaceFormatInformation about dimensions, depth and pixel type of the surface.
inScanFieldFil.SegmentScanFieldField in which scans will be performed.
inScanFieldAlignmentFtl.Optional<Fil.CoordinateSystem2D>Adjusts the scan field to the position of the inspected object. Default value: ftl::NIL.
inScanCountint<2, INF>5Number of scans to be performed. Default value: 5.
inSamplingStepFtl.Optional<float>Desired distance between consecutive sampling points on the scan segments; if Nil, the bigger of surface X and Y scales is chosen. Default value: ftl::NIL.
inScanWidthint<1, INF>5Width of the scan area. Default value: 5.
inSurfaceInterpolationFil.InterpolationMethodBilinearInterpolation method used in extraction of image pixel values. Default value: Bilinear.
outMeasurementMapSystem.Collections.Generic.List<Fil.ScanMap>
outAlignedScanFieldFtl.Optional<Fil.SegmentScanField>Field in which the scans will be performed.
diagScanSegmentsFil.Diagnostic<System.Collections.Generic.List<Fil.Segment2D>>Array of scan segments.

See also