You are here: Start » AVL.NET » Invoke.ScanExactlyNStripes
Locates a specified number of multiple pairs of opposite edges across a given path.
Namespace: | Avl |
---|---|
Assembly: | AvlNet.dll |
Syntax
C++
C#
public static void ScanExactlyNStripes ( Avl.Image inImage, Avl.ScanMap inScanMap, Avl.StripeScanParams inStripeScanParams, int inStripeCount, Avl.Selection inStripeSelection, float inMinGapWidth, Optional<float> inMaxGapWidth, Optional<Avl.LocalBlindness> inLocalBlindness, Conditional<List<Avl.Stripe1D>> outStripes, Conditional<List<Avl.Gap1D>> outGaps, Optional<Avl.Profile> outBrightnessProfile, Optional<Avl.Profile> outResponseProfile )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inImage | Avl.Image | Input image. | ||
![]() | inScanMap | Avl.ScanMap | Data precomputed with CreateScanMap. | ||
![]() | inStripeScanParams | Avl.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 | Avl.Selection | avl::Selection::Best | Selection mode of the resulting stripes. Default value: avl::Selection::Best. | |
![]() | inMinGapWidth | float | <0.0f, INF> | 0.0f | Minimal distance between consecutive stripes. Default value: 0.0f. |
![]() | inMaxGapWidth | Atl.Optional<float> | <0.0f, INF> | Maximal distance between consecutive stripes. Default value: atl::NIL. | |
![]() | inLocalBlindness | Atl.Optional<Avl.LocalBlindness> | Defines conditions in which weaker edges can be detected in the vicinity of stronger edges. Default value: atl::NIL. | ||
![]() | outStripes | Atl.Conditional<System.Collections.Generic.List<Avl.Stripe1D>> | Found stripes. | ||
![]() | outGaps | Atl.Conditional<System.Collections.Generic.List<Avl.Gap1D>> | Distances between consecutive stripes. | ||
![]() | outBrightnessProfile | Atl.Optional<Avl.Profile> | Extracted image profile. | ||
![]() | outResponseProfile | Atl.Optional<Avl.Profile> | Profile of the edge (derivative) operator response. |