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
Input value inSurface const Surface& Input surface
Input value inScanMap const ScanMap& Data precomputed with CreateSurfaceScanMap
Input value inStripeScanParams const StripeScanParams3D& Parameters controlling the surface stripe extraction process
Input value inStripeCount int 0 - 1 Number of surface stripes to be found
Input value inStripeSelection Selection::Type Selection::​Best Selection mode of the resulting stripes
Input value inMinGapWidth float 0.0 - Minimal distance between consecutive surface stripes
Input value inMaxGapWidth Optional<float> 0.0 - NIL Maximal distance between consecutive surface stripes
Input value inLocalBlindness Optional<const LocalBlindness&> NIL Defines conditions in which weaker edges can be detected in the vicinity of stronger edges
Input value inMaxProfileGapWidth Optional<int> 0 - 1 Maximal number of consecutive not existing profile points
Output value outStripes Conditional<Array<SurfaceStripe1D> >& Found surface stripes
Output value outHeightProfile Optional<Profile&> NIL Extracted surface height profile
Output value 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.