You are here: Start » FIL.NET » 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 | |
---|---|---|---|---|---|
![]() | inImage | Fil.Image | Input image. | ||
![]() | inScanPath | Fil.Path | Path along which the scan is performed. | ||
![]() | inScanPathAlignment | Ftl.Optional<Fil.CoordinateSystem2D> | Adjusts the scan path to the position of the inspected object. Default value: ftl::NIL. | ||
![]() | inScanWidth | int | <1, INF> | 5 | Width of the scan field in pixels. Default value: 5. |
![]() | inSamplingParams | Fil.SamplingParams | SamplingParams ( Interpolation: Bilinear SamplingStep: 1.0f SampleCount: Nil ) | Parameters controlling the sampling process. Default value: SamplingParams ( Interpolation: Bilinear SamplingStep: 1.0f SampleCount: Nil ). | |
![]() | inStripeScanParams | Fil.StripeScanParams | StripeScanParams ( 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 ). | |
![]() | inStripeCount | int | <0, INF> | 1 | Number of stripes to be found. Default value: 1. |
![]() | inStripeSelection | Fil.Selection | Selection mode of the resulting stripes. | ||
![]() | inMinGapWidth | float | <0.0f, INF> | 0.0f | Minimal distance between consecutive stripes. Default value: 0.0f. |
![]() | inMaxGapWidth | Ftl.Optional<float> | <0.0f, INF> | Maximal distance between consecutive stripes. Default value: ftl::NIL. | |
![]() | inLocalBlindness | Ftl.Optional<Fil.LocalBlindness> | Defines conditions in which weaker edges can be detected in the vicinity of stronger edges. Default value: ftl::NIL. | ||
![]() | outStripes | Ftl.Conditional<System.Collections.Generic.List<Fil.Stripe1D>> | Found stripes. | ||
![]() | outGaps | Ftl.Conditional<System.Collections.Generic.List<Fil.Gap1D>> | Distances between consecutive stripes. | ||
![]() | outAlignedScanPath | Ftl.Optional<Fil.Path> | Transformed input path. | ||
![]() | outBrightnessProfile | Ftl.Optional<Fil.Profile> | Extracted image profile. | ||
![]() | outResponseProfile | Ftl.Optional<Fil.Profile> | Profile of the edge (derivative) operator response. | ||
![]() | diagSamplingPoints | Fil.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. | ||
![]() | diagSamplingStep | Fil.Diagnostic<float> | Used distance between consecutive sampling points on the scan path. |