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

FIS.LocateSingleObject_Edges2 Method

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

Namespace:FilNet
Assembly:FIL.NET.dll

Syntax

public static void LocateSingleObject_Edges2
(
	FilNet.Image inImage,
	NullableRef<FilNet.ShapeRegion> inSearchRegion,
	FilNet.CoordinateSystem2D? inSearchRegionAlignment,
	FilNet.EdgeModel2 inEdgeModel,
	int inMinPyramidLevel,
	int? inMaxPyramidLevel,
	float inEdgeThreshold,
	FilNet.EdgePolarityMode inEdgePolarityMode,
	FilNet.EdgeNoiseLevel inEdgeNoiseLevel,
	bool inIgnoreBoundaryObjects,
	int inMaxDeformation,
	float inMinScore,
	INullable<FilNet.Object2D> outObject
)

Parameters

Name Type Range Default Description
inImageFilNet.ImageImage on which object occurrence will be searched.
inSearchRegionFilNet.NullableRef<FilNet.ShapeRegion>Region of possible object centers. Default value: ftl::NIL.
inSearchRegionAlignmentFilNet.CoordinateSystem2D?Adjusts the region of interest to the position of the inspected object. Default value: ftl::NIL.
inEdgeModelFilNet.EdgeModel2Model of objects to be searched.
inMinPyramidLevelint<0, 12>0Defines the lowest pyramid level at which object position is still refined. Default value: 0.
inMaxPyramidLevelint?<0, 12>3Defines the total number of reduced resolution levels that can be used to speed up computations. Default value: 3.
inEdgeThresholdfloat<0.01f, INF>10.0fMinimum strength of edges used for matching with the model. Default value: 10.0f.
inEdgePolarityModeFilNet.EdgePolarityModeMatchStrictlyDefines how edges with reversed polarity will contribute to the object score. Default value: MatchStrictly.
inEdgeNoiseLevelFilNet.EdgeNoiseLevelHighDefines how much noise the object edges have. Default value: High.
inIgnoreBoundaryObjectsboolFalseFlag indicating whether objects crossing image boundary should be ignored or not. Default value: False.
inMaxDeformationint<0, INF>0Maximal distance in pixels between model edge and an edge visible in the input image. Default value: 0.
inMinScorefloat<0.0f, 1.0f>0.7fMinimum score of object candidates accepted at each pyramid level. Default value: 0.7f.
outObjectFilNet.INullable<FilNet.Object2D>Found object. This parameter cannot be null.

Function Overrides

See also