You are here: Start » AVL.NET » AVL.ScanMultipleStripes(AvlNet.Image, AvlNet.ScanMap, AvlNet.StripeScanParams, float, float?, AvlNet.LocalBlindness, AvlNet.Stripe1D[], AvlNet.Gap1D[], AvlNet.Profile, AvlNet.Profile)
AVL.ScanMultipleStripes(AvlNet.Image, AvlNet.ScanMap, AvlNet.StripeScanParams, float, float?, AvlNet.LocalBlindness, AvlNet.Stripe1D[], AvlNet.Gap1D[], AvlNet.Profile, AvlNet.Profile)
Locates multiple pairs of edges across a given path.
| Namespace: | AvlNet |
|---|---|
| Assembly: | AVL.NET.dll |
Syntax
public static void ScanMultipleStripes( AvlNet.Image inImage, AvlNet.ScanMap inScanMap, AvlNet.StripeScanParams inStripeScanParams, float inMinGapWidth, float? inMaxGapWidth, AvlNet.LocalBlindness inLocalBlindness, out AvlNet.Stripe1D[] outStripes, out AvlNet.Gap1D[] outGaps, out AvlNet.Profile diagBrightnessProfile, out AvlNet.Profile diagResponseProfile )
Parameters
- inImage
- Type: AvlNet.Image
Input image - inScanMap
- Type: AvlNet.ScanMap
Data precomputed with CreateScanMap - inStripeScanParams
- Type: AvlNet.StripeScanParams
Parameters controlling the stripe extraction process - inMinGapWidth
- Type: System.Single
Minimal distance between consecutive stripes - inMaxGapWidth
- Type: System.Nullable<System.Single>
Maximal distance between consecutive stripes, or null. - inLocalBlindness
- Type: AvlNet.LocalBlindness
Defines conditions in which weaker edges can be detected in the vicinity of stronger edges, or null. - outStripes
- Type: AvlNet.Stripe1D
Found stripes - outGaps
- Type: AvlNet.Gap1D
Distances between consecutive stripes - diagBrightnessProfile
- Type: AvlNet.Profile
Extracted image profile - diagResponseProfile
- Type: AvlNet.Profile
Profile of the edge (derivative) operator response
Description
The operation scans the image using inScanMap previously generated from a scan path and detects consecutive stripes (i.e. pairs of opposite-polarity edges running across the path). Depending on the inStripeScanParams.stripePolarity parameter, dark or bright stripes will be taken into account.
When the number of edge pairs to be measured is known, one can use the ScanExactlyNStripes filter.
Note that in case of a scan path which is closed, the parameters controlling the distances between consecutive found objects do not control the distance between the first and the last of the found objects (counting from the beginning of the scan path).
Examples
ScanMultipleStripes locates the edge pairs using a scan map representing the scan path above (inStripeScanParams.stripePolarity = Dark, inStripeScanParams.minStripeWidth = 45).
Remarks
For more information about local coordinate systems please refer to the following article.
This filter is a part of the 1D Edge Detection toolset. For a comprehensive introduction to this technique please refer to 1D Edge Detection and 1D Edge Detection - Subpixel Precision chapters of our Machine Vision Guide.
