You are here: Start » FIL.NET » Invoke.MeasureObjectWidth

Invoke.MeasureObjectWidth

Measures the width of an object using stripe detection.

Namespace:Fil
Assembly:FilNet.dll

Syntax

C++
C#
 
public static void MeasureObjectWidth
(
	Fil.Image inImage,
	List<Fil.ScanMap> inMeasurementMap,
	Fil.StripeScanParams inStripeScanParams,
	Fil.MeasureObjectMethod inMeasureMethod,
	Fil.Selection inStripeSelection,
	Optional<Fil.LocalBlindness> inLocalBlindness,
	Optional<Fil.MEstimator> inOutlierSuppression,
	int inOutlierCount,
	Conditional<float> outObjectWidth,
	Conditional<Fil.Segment2D> outSegment1,
	Conditional<Fil.Segment2D> outSegment2,
	Optional<List<Conditional<Fil.Stripe1D>>> outStripes,
	Optional<List<Fil.Profile>> outBrightnessProfiles,
	Optional<List<Fil.Profile>> outResponseProfiles
)

Parameters

Name Type Range Default Description
inImageFil.ImageInput image.
inMeasurementMapSystem.Collections.Generic.List<Fil.ScanMap>Input measurement map.
inStripeScanParamsFil.StripeScanParamsParameters controlling the object stripe extraction process.
inMeasureMethodFil.MeasureObjectMethodMethod used to measure the object.
inStripeSelectionFil.Selectionfil::Selection::BestSelection mode of edges of the object. Default value: fil::Selection::Best.
inLocalBlindnessFtl.Optional<Fil.LocalBlindness>Defines conditions in which weaker edges can be detected in the vicinity of stronger edges. Default value: ftl::NIL.
inOutlierSuppressionFtl.Optional<Fil.MEstimator>Selects a method for ignoring incorrectly detected points. Default value: ftl::NIL.
inOutlierCountintDetermines how many outlying points are rejected before the width is measured.
outObjectWidthFtl.Conditional<float>Width of the object.
outSegment1Ftl.Conditional<Fil.Segment2D>First edge of the object.
outSegment2Ftl.Conditional<Fil.Segment2D>Second edge of the object.
outStripesFtl.Optional<System.Collections.Generic.List<Ftl.Conditional<Fil.Stripe1D>>>Detected stripes.
outBrightnessProfilesFtl.Optional<System.Collections.Generic.List<Fil.Profile>>Extracted image profiles.
outResponseProfilesFtl.Optional<System.Collections.Generic.List<Fil.Profile>>Profiles of the edge (derivative) operator response.

See also