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

Invoke.CreateEdgeModel_Elastic

Creates a model for edge-based template matching.

Namespace:Avl
Assembly:AvlNet.dll

Syntax

C++
C#
 
public static void CreateEdgeModel_Elastic
(
	Avl.Image inImage,
	Optional<Avl.Region> inTemplateRegion,
	Optional<Avl.Rectangle2D> inReferenceFrame,
	Avl.AngleDifferenceTolerance inGradientDifferenceTolerance,
	float inSmoothingStdDev,
	float inEdgeThreshold,
	float inEdgeHysteresis,
	float inMinAngle,
	float inMaxAngle,
	float inMinScale,
	float inMaxScale,
	Conditional<Avl.EdgeModel_Elastic> outEdgeModel,
	Optional<Conditional<Avl.Point2D>> outEdgeModelPoint,
	Optional<Conditional<List<Avl.Path>>> outEdges
)

Parameters

Name Type Range Default Description
inImageAvl.ImageImage from which model will be extracted.
inTemplateRegionAtl.Optional<Avl.Region>Region of the image from which model will be extracted. Default value: atl::NIL.
inReferenceFrameAtl.Optional<Avl.Rectangle2D>Exact position of the model object in the image. Default value: atl::NIL.
inGradientDifferenceToleranceAvl.AngleDifferenceToleranceStandardDetermines what gradient angles are considered to be similar. Default value: Standard.
inSmoothingStdDevfloat<0.0f, INF>0.0fStandard deviation of the gaussian smoothing applied before edge extraction. Default value: 0.0f.
inEdgeThresholdfloat<0.0f, INF>35.0fHigher threshold for edge magnitude. Default value: 35.0f.
inEdgeHysteresisfloat<0.0f, INF>15.0fThreshold hysteresis value for edge magnitude. Default value: 15.0f.
inMinAnglefloat-180.0fStart of range of possible rotations. Default value: -180.0f.
inMaxAnglefloat180.0fEnd of range of possible rotations. Default value: 180.0f.
inMinScalefloat<0.0f, INF>1.0fStart of range of possible scales. Default value: 1.0f.
inMaxScalefloat<0.0f, INF>1.0fEnd of range of possible scales. Default value: 1.0f.
outEdgeModelAtl.Conditional<Avl.EdgeModel_Elastic>Created model that can be used by Locate filter.
outEdgeModelPointAtl.Optional<Atl.Conditional<Avl.Point2D>>The middle point of the created model.
outEdgesAtl.Optional<Atl.Conditional<System.Collections.Generic.List<Avl.Path>>>Visualization of the model edges found at the original resolution.

See also