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

FIS.FisFilter_ScanExactlyNEdges Method

Locates a specified number of the strongest transitions between dark and bright pixels along a given path.

Namespace:FilNet
Assembly:FIL.NET.dll

Syntax

public static void FisFilter_ScanExactlyNEdges
(
	FilNet.ScanMapState ioState,
	FilNet.Image inImage,
	FilNet.Path inScanPath,
	FilNet.CoordinateSystem2D? inScanPathAlignment,
	int inScanWidth,
	FilNet.InterpolationMethod inImageInterpolation,
	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,
	FilNet.Profile diagBrightnessProfile,
	FilNet.Profile diagResponseProfile,
	IList<FilNet.Path> diagSamplingPoints,
	out float diagSamplingStep
)

Parameters

Name Type Range Default Description
ioStateFilNet.ScanMapState
inImageFilNet.ImageInput image to be measured.
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.
inImageInterpolationFilNet.InterpolationMethodBilinearInterpolation method used in extraction of image pixel values. Default value: Bilinear.
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>Path along which the scan is performed; in the image coordinate system. Can be null to skip this parameter calculation.
diagBrightnessProfileFilNet.ProfileExtracted image profile.
diagResponseProfileFilNet.ProfileProfile of the edge (derivative) operator response.
diagSamplingPointsSystem.Collections.Generic.IList<FilNet.Path>Array of paths each one containing the sampling points that contributed to a single value of the extracted profile.
diagSamplingStepfloatUsed distance between consecutive sampling points on the scan path.

Function Overrides

See also