Back to Aurora Vision Library website
You are here: Start » Function Reference » Computer Vision » 1D Edge Detection 3D » ScanExactlyNStripes3D
ScanExactlyNStripes3D
Header: | AVL.h |
---|---|
Namespace: | avl |
Module: | Vision3DStandard |
Locates a specified number of multiple pairs of changes of surface height along a given path.
Syntax
C++
C#
void avl::ScanExactlyNStripes3D ( const avl::Surface& inSurface, const ScanMap& inScanMap, const StripeScanParams3D& inStripeScanParams, int inStripeCount, avl::Selection::Type inStripeSelection, float inMinGapWidth, atl::Optional<float> inMaxGapWidth, atl::Optional<const avl::LocalBlindness&> inLocalBlindness, atl::Optional<int> inMaxProfileGapWidth, atl::Conditional<atl::Array<avl::SurfaceStripe1D> >& outStripes, atl::Optional<avl::Profile&> outHeightProfile = atl::NIL, atl::Optional<avl::Profile&> outResponseProfile = atl::NIL )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inSurface | const Surface& | Input surface | |||
inScanMap | const ScanMap& | Data precomputed with CreateSurfaceScanMap | |||
inStripeScanParams | const StripeScanParams3D& | Parameters controlling the surface stripe extraction process | |||
inStripeCount | int | 0 - | 1 | Number of surface stripes to be found | |
inStripeSelection | Selection::Type | Selection::Best | Selection mode of the resulting stripes | ||
inMinGapWidth | float | 0.0 - | Minimal distance between consecutive surface stripes | ||
inMaxGapWidth | Optional<float> | 0.0 - | NIL | Maximal distance between consecutive surface stripes | |
inLocalBlindness | Optional<const LocalBlindness&> | NIL | Defines conditions in which weaker edges can be detected in the vicinity of stronger edges | ||
inMaxProfileGapWidth | Optional<int> | 0 - | 1 | Maximal number of consecutive not existing profile points | |
outStripes | Conditional<Array<SurfaceStripe1D> >& | Found surface stripes | |||
outHeightProfile | Optional<Profile&> | NIL | Extracted surface height profile | ||
outResponseProfile | Optional<Profile&> | NIL | Profile of the edge (derivative) operator response |
Optional Outputs
The computation of following outputs can be switched off by passing value atl::NIL
to these parameters: outHeightProfile, outResponseProfile.
Read more about Optional Outputs.