You are here: Start » FIL.NET » FIS.FisFilter_MeasureObjectWidth Method

FIS.FisFilter_MeasureObjectWidth Method

Measures the width of an object using stripe detection.

Namespace:FilNet
Assembly:FIL.NET.dll

Syntax

public static void FisFilter_MeasureObjectWidth
(
	FilNet.ScanMapArrayState ioState,
	FilNet.Image inImage,
	FilNet.SegmentScanField inScanField,
	int inScanCount,
	int inScanWidth,
	FilNet.InterpolationMethod inImageInterpolation,
	FilNet.StripeScanParams inStripeScanParams,
	FilNet.MeasureObjectMethod inMeasureMethod,
	FilNet.Selection inStripeSelection,
	int inOutlierCount,
	out float? outObjectWidth,
	out FilNet.Segment2D? outSegment1,
	out FilNet.Segment2D? outSegment2,
	NullableValue<FilNet.SegmentScanField> outAlignedScanField,
	IList<FilNet.Segment2D> diagScanSegments,
	IList<FilNet.Point2D> diagPoints1,
	IList<FilNet.Point2D> diagPoints2
)

Parameters

Name Type Range Default Description
ioStateFilNet.ScanMapArrayState
inImageFilNet.ImageInput image.
inScanFieldFilNet.SegmentScanFieldField in which measurement scans are performed.
inScanCountint<2, INF>5Number of scans to be performed. Default value: 5.
inScanWidthint<1, INF>5Width of each single scan. Default value: 5.
inImageInterpolationFilNet.InterpolationMethodBilinearInterpolation method used in extraction of image pixel values. Default value: Bilinear.
inStripeScanParamsFilNet.StripeScanParamsStripeScanParams ( 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 ).
inMeasureMethodFilNet.MeasureObjectMethodMethod used to measure the object.
inStripeSelectionFilNet.SelectionSelection mode of edges of the object.
inOutlierCountint<0, INF>Determines how many points are not count when object width is measured.
outObjectWidthfloat?Width of the object.
outSegment1FilNet.Segment2D?First edge of the object.
outSegment2FilNet.Segment2D?Second edge of the object.
outAlignedScanFieldFilNet.NullableValue<FilNet.SegmentScanField>Field in which the scans are performed. Can be null to skip this parameter calculation.
diagScanSegmentsSystem.Collections.Generic.IList<FilNet.Segment2D>Segments along which the scans are performed.
diagPoints1System.Collections.Generic.IList<FilNet.Point2D>Detected edge points on the first side.
diagPoints2System.Collections.Generic.IList<FilNet.Point2D>Detected edge points on the second side.

Function Overrides

See also