Back to FabImage Library website
You are here: Start » Function Reference » Computer Vision » 1D Edge Detection 3D » ScanExactlyNStripes3D
ScanExactlyNStripes3D
Header: | FIL.h |
---|---|
Namespace: | fil |
Module: | Vision3DStandard |
Locates a specified number of multiple pairs of changes of surface height along a given path.
Syntax
C++
C#
void fil::ScanExactlyNStripes3D ( const fil::Surface& inSurface, const ScanMap& inScanMap, const StripeScanParams3D& inStripeScanParams, int inStripeCount, fil::Selection::Type inStripeSelection, float inMinGapWidth, ftl::Optional<float> inMaxGapWidth, ftl::Optional<const fil::LocalBlindness&> inLocalBlindness, ftl::Optional<int> inMaxProfileGapWidth, ftl::Conditional<ftl::Array<fil::SurfaceStripe1D> >& outStripes, ftl::Optional<fil::Profile&> outHeightProfile = ftl::NIL, ftl::Optional<fil::Profile&> outResponseProfile = ftl::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 ftl::NIL
to these parameters: outHeightProfile, outResponseProfile.
Read more about Optional Outputs.