You are here: Start » AVL.NET » AVL.LocateSingleObject_Edges(AvlNet.Image, AvlNet.EdgeModel, int, int?, float, bool, bool, float, AvlNet.Object2D?, AvlNet.Path[], AvlNet.Image[], AvlNet.Image[], float[])

AVL.LocateSingleObject_Edges(AvlNet.Image, AvlNet.EdgeModel, int, int?, float, bool, bool, float, AvlNet.Object2D?, AvlNet.Path[], AvlNet.Image[], AvlNet.Image[], float[])

Finds a single occurrence of a predefined template on an image by comparing object edges.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax


public static void LocateSingleObject_Edges(
	AvlNet.Image inImage,
	AvlNet.EdgeModel inEdgeModel,
	int inMinPyramidLevel,
	int? inMaxPyramidLevel,
	float inEdgeThreshold,
	bool inIgnoreEdgePolarity,
	bool inIgnoreBoundaryObjects,
	float inMinScore,
	out AvlNet.Object2D? outObject,
	out AvlNet.Path[] diagObjectEdges,
	out AvlNet.Image[] diagEdgePyramid,
	out AvlNet.Image[] diagMatchPyramid,
	out float[] diagScores
)

Parameters

inImage
Type: AvlNet.Image
Image on which object occurrence will be searched
inEdgeModel
Type: AvlNet.EdgeModel
Model of objects to be searched
inMinPyramidLevel
Type: System.Int32
Defines the lowest pyramid level at which object position is still refined
inMaxPyramidLevel
Type: System.Nullable<System.Int32>
Defines the total number of reduced resolution levels that can be used to speed up computations, or null.
inEdgeThreshold
Type: System.Single
Minimum strength of edges used for matching with the model
inIgnoreEdgePolarity
Type: System.Boolean
Flag indicating whether edges of negated polarity should be ignored or not
inIgnoreBoundaryObjects
Type: System.Boolean
Flag indicating whether objects crossing image boundary should be ignored or not
inMinScore
Type: System.Single
Minimum score of object candidates accepted at each pyramid level
outObject
Type: System.Nullable<AvlNet.Object2D>
Found object
diagObjectEdges
Type: AvlNet.Path
Model edges of the found object
diagEdgePyramid
Type: AvlNet.Image
Image edges used for matching at each pyramid level
diagMatchPyramid
Type: AvlNet.Image
Candidate object locations found at each pyramid level
diagScores
Type: System.Single
Scores of the found object at each pyramid level

See also