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

FIS.LocateMultipleObjects_Edges2 Method

Finds all occurrences of a predefined template on an image by comparing object edges.

Namespace:FilNet
Assembly:FIL.NET.dll

Syntax

public static void LocateMultipleObjects_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,
	float inMinDistance,
	IList<FilNet.Object2D> outObjects,
	NullableRef<SafeList<SafeList<FilNet.Path>>> outObjectEdges,
	NullableValue<int> outPyramidHeight,
	NullableRef<FilNet.ShapeRegion> outAlignedSearchRegion
)

Parameters

Name Type Range Default Description
inImageFilNet.ImageImage on which object occurrences 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 objects 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.
inMinDistancefloat<0.0f, INF>10.0fMinimum distance between two found objects. Default value: 10.0f.
outObjectsSystem.Collections.Generic.IList<FilNet.Object2D>Found objects.
outObjectEdgesFilNet.NullableRef<FilNet.SafeList<FilNet.SafeList<FilNet.Path>>>Model edges of the found objects. Can be null to skip this parameter calculation.
outPyramidHeightFilNet.NullableValue<int>Highest pyramid level used to speed up computations. Can be null to skip this parameter calculation.
outAlignedSearchRegionFilNet.NullableRef<FilNet.ShapeRegion>Transformed input shape region. Can be null to skip this parameter calculation.

Function Overrides

See also