You are here: Start » FIL.NET » FIS.ScanMultipleEdges_Direct Method

FIS.ScanMultipleEdges_Direct Method

Locates multiple transitions between dark and bright pixels along a given path (without a scan map).

Namespace:FilNet
Assembly:FIL.NET.dll

Syntax

public static void ScanMultipleEdges_Direct
(
	FilNet.Image inImage,
	FilNet.Path inScanPath,
	FilNet.CoordinateSystem2D? inScanPathAlignment,
	int inScanWidth,
	FilNet.SamplingParams inSamplingParams,
	FilNet.EdgeScanParams inEdgeScanParams,
	float inMinDistance,
	float? inMaxDistance,
	FilNet.LocalBlindness? inLocalBlindness,
	IList<FilNet.Edge1D> outEdges,
	IList<FilNet.Gap1D> outGaps,
	NullableRef<FilNet.Path> outAlignedScanPath,
	NullableRef<FilNet.Profile> outBrightnessProfile,
	NullableRef<FilNet.Profile> outResponseProfile,
	IList<FilNet.Path> diagSamplingPoints,
	out float diagSamplingStep
)

Parameters

Name Type Range Default Description
inImageFilNet.ImageInput image.
inScanPathFilNet.PathPath along which the scan is performed.
inScanPathAlignmentFilNet.CoordinateSystem2D?Adjusts the scan path to the position of the inspected object. Default value: ftl::NIL.
inScanWidthint<1, INF>5Width of the scan field in pixels. Default value: 5.
inSamplingParamsFilNet.SamplingParamsSamplingParams ( Interpolation: Bilinear SamplingStep: 1.0f SampleCount: Nil )Parameters controlling the sampling process. Default value: SamplingParams ( Interpolation: Bilinear SamplingStep: 1.0f SampleCount: Nil ).
inEdgeScanParamsFilNet.EdgeScanParamsEdgeScanParams ( ProfileInterpolation: Quadratic4 SmoothingStdDev: 0.6f MinMagnitude: 5.0f EdgeTransition: BrightToDark )Parameters controlling the edge extraction process. Default value: EdgeScanParams ( ProfileInterpolation: Quadratic4 SmoothingStdDev: 0.6f MinMagnitude: 5.0f EdgeTransition: BrightToDark ).
inMinDistancefloat<0.0f, INF>0.0fMinimal distance between consecutive edges. Default value: 0.0f.
inMaxDistancefloat?<0.0f, INF>Maximal distance between consecutive edges. Default value: ftl::NIL.
inLocalBlindnessFilNet.LocalBlindness?Defines conditions in which weaker edges can be detected in the vicinity of stronger edges. Default value: ftl::NIL.
outEdgesSystem.Collections.Generic.IList<FilNet.Edge1D>Found edges.
outGapsSystem.Collections.Generic.IList<FilNet.Gap1D>Gaps between consecutive edges.
outAlignedScanPathFilNet.NullableRef<FilNet.Path>Transformed input path. Can be null to skip this parameter calculation.
outBrightnessProfileFilNet.NullableRef<FilNet.Profile>Extracted image profile. Can be null to skip this parameter calculation.
outResponseProfileFilNet.NullableRef<FilNet.Profile>Profile of the edge (derivative) operator response. Can be null to skip this parameter calculation.
diagSamplingPointsSystem.Collections.Generic.IList<FilNet.Path>Array of paths each one containing the sampling points that contributes to a single value of the extracted profile.
diagSamplingStepfloatUsed distance between consecutive sampling points on the scan path.

Function Overrides

See also