Back to Adaptive Vision Library website

You are here: Start » Function Reference » 1D Edge Detection 3D » CreateSurfaceScanMap

CreateSurfaceScanMap


Precomputes a data object that is required for fast 1D edge detection in 3D.

Syntax

C++
C#
 
void avl::CreateSurfaceScanMap
(
	const avl::SurfaceFormat& inSurfaceFormat,
	const avl::Path& inScanPath,
	atl::Optional<const avl::CoordinateSystem2D&> inScanPathAlignment,
	int inScanWidth,
	avl::InterpolationMethod::Type inImageInterpolation,
	avl::ScanMap& outScanMap,
	atl::Optional<avl::Path&> outAlignedScanPath = atl::NIL
)

Parameters

Name Type Range Default Description
inSurfaceFormat const SurfaceFormat& Dimensions, depth image pixel type, coordinate offsets and scales of a surface on which edge detection will be performed
inScanPath const Path& Path along which the scan is performed
inScanPathAlignment Optional<const CoordinateSystem2D&> NIL Adjusts the scan path to the position of the inspected object
inScanWidth int 1 - 5 Width of the scan field in pixels of the surface depth image
inImageInterpolation InterpolationMethod::Type Bilinear Interpolation method used for extraction of depth image pixel values
outScanMap ScanMap& Optimized data object required for 1D edge detection in 3D
outAlignedScanPath Optional<Path&> NIL Transformed input path

Description

The operation creates a scan map from a given inScanPath. The scan map can be later used by other 1D Edge Detection 3D filters.

The optional parameter inScanPathAlignment defines a transform to be performed on the inScanPath so that the actual scan path (outAlignedScanPath) is adjusted to the position of the object.

Remarks

For more information about local coordinate systems please refer to the following article.

See Also