Back to Adaptive Vision Library website
You are here: Start » Function Reference » Shape Fitting 3D » CreateSurfaceMeasurementMap
CreateSurfaceMeasurementMap
(Pre)computes surface sampling locations used by MeasureObjectWidth3D function.
Header: | AVL.h |
---|
Syntax
C++
C#
void avl::CreateSurfaceMeasurementMap ( const avl::SurfaceFormat& inSurfaceFormat, const avl::SegmentScanField& inScanField, atl::Optional<const avl::CoordinateSystem2D&> inScanFieldAlignment, int inScanCount, int inScanWidth, avl::InterpolationMethod::Type inSurfaceInterpolation, atl::Array<avl::ScanMap>& outMeasurementMap, atl::Optional<avl::SegmentScanField&> outAlignedScanField = atl::NIL, atl::Array<avl::Segment2D>& diagScanSegments )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() |
inSurfaceFormat | const SurfaceFormat& | Information about dimensions, depth and pixel type of the surface | ||
![]() |
inScanField | const SegmentScanField& | Field in which scans will be performed | ||
![]() |
inScanFieldAlignment | Optional<const CoordinateSystem2D&> | NIL | Adjusts the scan field to the position of the inspected object | |
![]() |
inScanCount | int | 2 - ![]() |
5 | Number of scans to be performed |
![]() |
inScanWidth | int | 1 - ![]() |
5 | Width of the scan area |
![]() |
inSurfaceInterpolation | InterpolationMethod::Type | Bilinear | Interpolation method used in extraction of image pixel values | |
![]() |
outMeasurementMap | Array<ScanMap>& | |||
![]() |
outAlignedScanField | Optional<SegmentScanField&> | NIL | Field in which the scans will be performed | |
![]() |
diagScanSegments | Array<Segment2D>& | Array of scan segments |