You are here: Start » AVL.NET » AVS.ScanSingleStripe_Direct Method
AVS.ScanSingleStripe_Direct Method
Locates the strongest pair of edges across a given path (without a scan map).
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
public static void ScanSingleStripe_Direct ( AvlNet.Image inImage, AvlNet.Path inScanPath, AvlNet.CoordinateSystem2D? inScanPathAlignment, int inScanWidth, AvlNet.SamplingParams inSamplingParams, AvlNet.StripeScanParams inStripeScanParams, AvlNet.Selection inStripeSelection, AvlNet.LocalBlindness? inLocalBlindness, INullable<AvlNet.Stripe1D> outStripe, NullableRef<AvlNet.Path> outAlignedScanPath, NullableRef<AvlNet.Profile> outBrightnessProfile, NullableRef<AvlNet.Profile> outResponseProfile, IList<AvlNet.Path> diagSamplingPoints, out float diagSamplingStep )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inImage | AvlNet.Image | Input image. | |||
inScanPath | AvlNet.Path | Path along which the scan is performed. | |||
inScanPathAlignment | AvlNet.CoordinateSystem2D? | Adjusts the scan path to the position of the inspected object. Default value: atl::NIL. | |||
inScanWidth | int | <1, INF> | 5 | Width of the scan field in pixels. Default value: 5. | |
inSamplingParams | AvlNet.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 | AvlNet.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 ). | ||
inStripeSelection | AvlNet.Selection | Selection mode of the resulting stripe. | |||
inLocalBlindness | AvlNet.LocalBlindness? | Defines conditions in which weaker edges can be detected in the vicinity of stronger edges. Default value: atl::NIL. | |||
outStripe | AvlNet.INullable<AvlNet.Stripe1D> | Found stripe. This parameter cannot be null. | |||
outAlignedScanPath | AvlNet.NullableRef<AvlNet.Path> | Transformed input path. Can be null to skip this parameter calculation. | |||
outBrightnessProfile | AvlNet.NullableRef<AvlNet.Profile> | Extracted image profile. Can be null to skip this parameter calculation. | |||
outResponseProfile | AvlNet.NullableRef<AvlNet.Profile> | Profile of the edge (derivative) operator response. Can be null to skip this parameter calculation. | |||
diagSamplingPoints | System.Collections.Generic.IList<AvlNet.Path> | Array of paths each one containing the sampling points that contributes to a single value of the extracted profile. | |||
diagSamplingStep | float | Used distance between consecutive sampling points on the scan path. |
Function Overrides
- ScanSingleStripe_Direct(Image, Path, Int32, SamplingParams, StripeScanParams, Selection, INullable<Stripe1D>)
- ScanSingleStripe_Direct(Image, Path, Nullable<CoordinateSystem2D>, Int32, SamplingParams, StripeScanParams, Selection, Nullable<LocalBlindness>, INullable<Stripe1D>)
- ScanSingleStripe_Direct(Image, Path, Nullable<CoordinateSystem2D>, Int32, SamplingParams, StripeScanParams, Selection, Nullable<LocalBlindness>, INullable<Stripe1D>, NullableRef<Path>, NullableRef<Profile>, NullableRef<Profile>)
- ScanSingleStripe_Direct(Image, Path, Nullable<CoordinateSystem2D>, Int32, SamplingParams, StripeScanParams, Selection, Nullable<LocalBlindness>, INullable<Stripe1D>, Path, Profile, Profile, IList<Path>, Single)