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

Invoke.ScanExactlyNStripes_Direct

Locates a specified number of multiple pairs of opposite edges across a given path (without a scan map).

Namespace:Fil
Assembly:FilNet.dll

Syntax

C++
C#
 
public static void ScanExactlyNStripes_Direct
(
	Fil.Image inImage,
	Fil.Path inScanPath,
	Optional<Fil.CoordinateSystem2D> inScanPathAlignment,
	int inScanWidth,
	Fil.SamplingParams inSamplingParams,
	Fil.StripeScanParams inStripeScanParams,
	int inStripeCount,
	Fil.Selection inStripeSelection,
	float inMinGapWidth,
	Optional<float> inMaxGapWidth,
	Optional<Fil.LocalBlindness> inLocalBlindness,
	Conditional<List<Fil.Stripe1D>> outStripes,
	Conditional<List<Fil.Gap1D>> outGaps,
	Optional<Fil.Path> outAlignedScanPath,
	Optional<Fil.Profile> outBrightnessProfile,
	Optional<Fil.Profile> outResponseProfile,
	Diagnostic<List<Fil.Path>> diagSamplingPoints,
	Diagnostic<float> diagSamplingStep
)

Parameters

Name Type Range Default Description
inImageFil.ImageInput image.
inScanPathFil.PathPath along which the scan is performed.
inScanPathAlignmentFtl.Optional<Fil.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.
inSamplingParamsFil.SamplingParamsSamplingParams ( Interpolation: Bilinear SamplingStep: 1.0f SampleCount: Nil )Parameters controlling the sampling process. Default value: SamplingParams ( Interpolation: Bilinear SamplingStep: 1.0f SampleCount: Nil ).
inStripeScanParamsFil.StripeScanParamsStripeScanParams ( ProfileInterpolation: Quadratic4 SmoothingStdDev: 0.6f MinMagnitude: 5.0f MaxInnerEdgeMagnitude: Nil StripePolarity: Dark MinStripeWidth: 0.0f MaxStripeWidth: Nil )Parameters controlling the stripe extraction process. Default value: StripeScanParams ( ProfileInterpolation: Quadratic4 SmoothingStdDev: 0.6f MinMagnitude: 5.0f MaxInnerEdgeMagnitude: Nil StripePolarity: Dark MinStripeWidth: 0.0f MaxStripeWidth: Nil ).
inStripeCountint<0, INF>1Number of stripes to be found. Default value: 1.
inStripeSelectionFil.SelectionSelection mode of the resulting stripes.
inMinGapWidthfloat<0.0f, INF>0.0fMinimal distance between consecutive stripes. Default value: 0.0f.
inMaxGapWidthFtl.Optional<float><0.0f, INF>Maximal distance between consecutive stripes. Default value: ftl::NIL.
inLocalBlindnessFtl.Optional<Fil.LocalBlindness>Defines conditions in which weaker edges can be detected in the vicinity of stronger edges. Default value: ftl::NIL.
outStripesFtl.Conditional<System.Collections.Generic.List<Fil.Stripe1D>>Found stripes.
outGapsFtl.Conditional<System.Collections.Generic.List<Fil.Gap1D>>Distances between consecutive stripes.
outAlignedScanPathFtl.Optional<Fil.Path>Transformed input path.
outBrightnessProfileFtl.Optional<Fil.Profile>Extracted image profile.
outResponseProfileFtl.Optional<Fil.Profile>Profile of the edge (derivative) operator response.
diagSamplingPointsFil.Diagnostic<System.Collections.Generic.List<Fil.Path>>Array of paths each one containing the sampling points that contributes to a single value of the extracted profile.
diagSamplingStepFil.Diagnostic<float>Used distance between consecutive sampling points on the scan path.

See also