You are here: Start » AVL.NET » AVS.AvsFilter_MeasureObjectWidth3D Method

AVS.AvsFilter_MeasureObjectWidth3D Method

Measures the width of an object using stripe detection.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void AvsFilter_MeasureObjectWidth3D
(
	AvlNet.ScanMapArrayState ioState,
	AvlNet.Surface inSurface,
	AvlNet.SegmentScanField inScanField,
	AvlNet.CoordinateSystem2D? inScanFieldAlignment,
	int inScanCount,
	float? inSamplingStep,
	int inScanWidth,
	AvlNet.InterpolationMethod inSurfaceInterpolation,
	AvlNet.StripeScanParams3D inStripeScanParams,
	AvlNet.MeasureObjectMethod inMeasureMethod,
	AvlNet.Selection inStripeSelection,
	AvlNet.LocalBlindness? inLocalBlindness,
	int? inMaxProfileGapWidth,
	AvlNet.MEstimator? inOutlierSuppression,
	int inOutlierCount,
	out float? outObjectWidth,
	out AvlNet.Segment2D? outSegment1,
	out AvlNet.Segment2D? outSegment2
)

Parameters

Name Type Range Default Description
ioStateAvlNet.ScanMapArrayState
inSurfaceAvlNet.SurfaceInput surface.
inScanFieldAvlNet.SegmentScanFieldField in which measurement scans are performed.
inScanFieldAlignmentAvlNet.CoordinateSystem2D?Adjusts the scan field to the position of the inspected object. Default value: atl::NIL.
inScanCountint<2, INF>5Number of scans to be performed. Default value: 5.
inSamplingStepfloat?Desired distance between consecutive sampling points on the scan segments; if Nil, the bigger of surface X and Y scales is chosen. Default value: atl::NIL.
inScanWidthint<1, INF>5Width of each single scan. Default value: 5.
inSurfaceInterpolationAvlNet.InterpolationMethodBilinearInterpolation method used for extraction of surface points. Default value: Bilinear.
inStripeScanParamsAvlNet.StripeScanParams3DStripeScanParams3D ( ProfileInterpolation: Quadratic4 SmoothingStdDev: 1.0f MinMagnitude: 5.0f MaxInnerEdgeMagnitude: Nil MinStripeWidth: 0.0f MaxStripeWidth: Nil StripePolarity: High )Parameters controlling the object stripe extraction process. Default value: StripeScanParams3D ( ProfileInterpolation: Quadratic4 SmoothingStdDev: 1.0f MinMagnitude: 5.0f MaxInnerEdgeMagnitude: Nil MinStripeWidth: 0.0f MaxStripeWidth: Nil StripePolarity: High ).
inMeasureMethodAvlNet.MeasureObjectMethodMethod used to measure the object.
inStripeSelectionAvlNet.SelectionSelection mode of edges of the object.
inLocalBlindnessAvlNet.LocalBlindness?Defines conditions in which weaker edges can be detected in the vicinity of stronger edges. Default value: atl::NIL.
inMaxProfileGapWidthint?<0, INF>1Maximal number of consecutive not existing profile points. Default value: 1.
inOutlierSuppressionAvlNet.MEstimator?Selects a method for ignoring incorrectly detected points. Default value: atl::NIL.
inOutlierCountint<0, INF>Determines how many points are not count when object width is measured.
outObjectWidthfloat?Width of the object.
outSegment1AvlNet.Segment2D?First edge of the object.
outSegment2AvlNet.Segment2D?Second edge of the object.

Function Overrides

See also