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

Invoke.MeasureObjectWidth

Measures the width of an object using stripe detection.

Namespace:Avl
Assembly:AvlNet.dll

Syntax

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

Parameters

Name Type Range Default Description
inImageAvl.ImageInput image.
inMeasurementMapSystem.Collections.Generic.List<Avl.ScanMap>Input measurement map.
inStripeScanParamsAvl.StripeScanParamsParameters controlling the object stripe extraction process.
inMeasureMethodAvl.MeasureObjectMethodMethod used to measure the object.
inStripeSelectionAvl.Selectionavl::Selection::BestSelection mode of edges of the object. Default value: avl::Selection::Best.
inLocalBlindnessAtl.Optional<Avl.LocalBlindness>Defines conditions in which weaker edges can be detected in the vicinity of stronger edges. Default value: atl::NIL.
inOutlierSuppressionAtl.Optional<Avl.MEstimator>Selects a method for ignoring incorrectly detected points. Default value: atl::NIL.
inOutlierCountintDetermines how many outlying points are rejected before the width is measured.
outObjectWidthAtl.Conditional<float>Width of the object.
outSegment1Atl.Conditional<Avl.Segment2D>First edge of the object.
outSegment2Atl.Conditional<Avl.Segment2D>Second edge of the object.
outStripesAtl.Optional<System.Collections.Generic.List<Atl.Conditional<Avl.Stripe1D>>>Detected stripes.
outBrightnessProfilesAtl.Optional<System.Collections.Generic.List<Avl.Profile>>Extracted image profiles.
outResponseProfilesAtl.Optional<System.Collections.Generic.List<Avl.Profile>>Profiles of the edge (derivative) operator response.

See also