You are here: Start » AVL.NET » AVS.AvsFilter_MeasureObjectWidth Method
AVS.AvsFilter_MeasureObjectWidth Method
Measures the width of an object using stripe detection.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
public static void AvsFilter_MeasureObjectWidth ( AvlNet.ScanMapArrayState ioState, AvlNet.Image inImage, AvlNet.SegmentScanField inScanField, int inScanCount, int inScanWidth, AvlNet.InterpolationMethod inImageInterpolation, AvlNet.StripeScanParams inStripeScanParams, AvlNet.MeasureObjectMethod inMeasureMethod, AvlNet.Selection inStripeSelection, int inOutlierCount, out float? outObjectWidth, out AvlNet.Segment2D? outSegment1, out AvlNet.Segment2D? outSegment2 )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
ioState | AvlNet.ScanMapArrayState | ||||
inImage | AvlNet.Image | Input image. | |||
inScanField | AvlNet.SegmentScanField | Field in which measurement scans are performed. | |||
inScanCount | int | <2, INF> | 5 | Number of scans to be performed. Default value: 5. | |
inScanWidth | int | <1, INF> | 5 | Width of each single scan. Default value: 5. | |
inImageInterpolation | AvlNet.InterpolationMethod | Bilinear | Interpolation method used in extraction of image pixel values. Default value: Bilinear. | ||
inStripeScanParams | AvlNet.StripeScanParams | StripeScanParams ( ProfileInterpolation: Quadratic4 SmoothingStdDev: 0.6f MinMagnitude: 5.0f MaxInnerEdgeMagnitude: Nil StripePolarity: Dark MinStripeWidth: 0.0f MaxStripeWidth: Nil ) | Parameters controlling the object stripe extraction process. Default value: StripeScanParams ( ProfileInterpolation: Quadratic4 SmoothingStdDev: 0.6f MinMagnitude: 5.0f MaxInnerEdgeMagnitude: Nil StripePolarity: Dark MinStripeWidth: 0.0f MaxStripeWidth: Nil ). | ||
inMeasureMethod | AvlNet.MeasureObjectMethod | Method used to measure the object. | |||
inStripeSelection | AvlNet.Selection | Selection mode of edges of the object. | |||
inOutlierCount | int | <0, INF> | Determines how many points are not count when object width is measured. | ||
outObjectWidth | float? | Width of the object. | |||
outSegment1 | AvlNet.Segment2D? | First edge of the object. | |||
outSegment2 | AvlNet.Segment2D? | Second edge of the object. |
Function Overrides
- AvsFilter_MeasureObjectWidth(ScanMapArrayState, Image, SegmentScanField, Nullable<CoordinateSystem2D>, Int32, Int32, InterpolationMethod, StripeScanParams, MeasureObjectMethod, Selection, Nullable<LocalBlindness>, Nullable<MEstimator>, Int32, Nullable<Single>, Nullable<Segment2D>, Nullable<Segment2D>)
- AvsFilter_MeasureObjectWidth(ScanMapArrayState, Image, SegmentScanField, Nullable<CoordinateSystem2D>, Int32, Int32, InterpolationMethod, StripeScanParams, MeasureObjectMethod, Selection, Nullable<LocalBlindness>, Nullable<MEstimator>, Int32, Nullable<Single>, Nullable<Segment2D>, Nullable<Segment2D>, NullableValue<SegmentScanField>, NullableRef<List<NullableRef<Stripe1D>>>, NullableRef<SafeList<Profile>>, NullableRef<SafeList<Profile>>)
- AvsFilter_MeasureObjectWidth(ScanMapArrayState, Image, SegmentScanField, Nullable<CoordinateSystem2D>, Int32, Int32, InterpolationMethod, StripeScanParams, MeasureObjectMethod, Selection, Nullable<LocalBlindness>, Nullable<MEstimator>, Int32, Nullable<Single>, Nullable<Segment2D>, Nullable<Segment2D>, SegmentScanField, IList<NullableRef<Stripe1D>>, IList<Profile>, IList<Profile>, IList<Segment2D>)
- AvsFilter_MeasureObjectWidth(ScanMapArrayState, Image, SegmentScanField, Nullable<CoordinateSystem2D>, Int32, Int32, InterpolationMethod, StripeScanParams, MeasureObjectMethod, Selection, Nullable<LocalBlindness>, Nullable<MEstimator>, Int32, Nullable<Single>, Nullable<Segment2D>, Nullable<Segment2D>, NullableValue<SegmentScanField>, NullableRef<List<NullableRef<Stripe1D>>>, NullableRef<SafeList<Profile>>, NullableRef<SafeList<Profile>>, IList<Segment2D>)