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

FIS.ScanExactlyNEdges_Direct Method

Locates a specified number of the strongest transitions between dark and bright pixels along a given path (without a scan map).

Namespace:FilNet
Assembly:FIL.NET.dll

Syntax

public static void ScanExactlyNEdges_Direct
(
	FilNet.Image inImage,
	FilNet.Path inScanPath,
	FilNet.CoordinateSystem2D? inScanPathAlignment,
	int inScanWidth,
	FilNet.SamplingParams inSamplingParams,
	FilNet.EdgeScanParams inEdgeScanParams,
	int inEdgeCount,
	FilNet.Selection inEdgeSelection,
	float inMinDistance,
	float? inMaxDistance,
	FilNet.LocalBlindness? inLocalBlindness,
	INullable<List<FilNet.Edge1D>> outEdges,
	INullable<List<FilNet.Gap1D>> outGaps,
	NullableRef<FilNet.Path> outAlignedScanPath,
	NullableRef<FilNet.Profile> outBrightnessProfile,
	NullableRef<FilNet.Profile> outResponseProfile
)

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 ).
inEdgeCountint<0, INF>1Number of edges to be found. Default value: 1.
inEdgeSelectionFilNet.SelectionSelection mode of the resulting edges.
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.
outEdgesFilNet.INullable<System.Collections.Generic.List<FilNet.Edge1D>>Found edges. This parameter cannot be null.
outGapsFilNet.INullable<System.Collections.Generic.List<FilNet.Gap1D>>Gaps between consecutive edges. This parameter cannot be null.
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.

Function Overrides

See also