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

FIS.LocateMultipleObjects_SAD Method

Finds multiple occurrences of a predefined template on an image by analysing the Square Average Difference between pixel values.

Namespace:FilNet
Assembly:FIL.NET.dll

Syntax

public static void LocateMultipleObjects_SAD
(
	FilNet.Image inImage,
	NullableRef<FilNet.ShapeRegion> inSearchRegion,
	FilNet.CoordinateSystem2D? inSearchRegionAlignment,
	FilNet.GrayModel inGrayModel,
	int inMinPyramidLevel,
	int? inMaxPyramidLevel,
	bool inIgnoreBoundaryObjects,
	float inMaxDifference,
	float inMinDistance,
	IList<FilNet.Object2D> outObjects,
	out int outPyramidHeight,
	FilNet.ShapeRegion outAlignedSearchRegion,
	IList<FilNet.Image> diagImagePyramid,
	IList<FilNet.Image> diagMatchPyramid,
	IList<List<float>> diagScores
)

Parameters

Name Type Range Default Description
inImageFilNet.ImageImage on which model occurrences will be searched.
inSearchRegionFilNet.NullableRef<FilNet.ShapeRegion>Possible centers of the object occurrences. Default value: ftl::NIL.
inSearchRegionAlignmentFilNet.CoordinateSystem2D?Adjusts the region of interest to the position of the inspected object. Default value: ftl::NIL.
inGrayModelFilNet.GrayModelModel which will be sought.
inMinPyramidLevelint<0, 12>0Defines the highest resolution level. Default value: 0.
inMaxPyramidLevelint?<0, 12>3Defines the number of reduced resolution levels that can be used to speed up computations. Default value: 3.
inIgnoreBoundaryObjectsboolFalseFlag indicating whether objects crossing image boundary should be ignored or not. Default value: False.
inMaxDifferencefloat<0.0f, INF>5.0fMaximum accepted average difference between pixel values. Default value: 5.0f.
inMinDistancefloat<0.0f, INF>10.0fMinimum distance between two matches. Default value: 10.0f.
outObjectsSystem.Collections.Generic.IList<FilNet.Object2D>Found objects.
outPyramidHeightintHighest pyramid level used to speed up computations.
outAlignedSearchRegionFilNet.ShapeRegionTransformed input shape region.
diagImagePyramidSystem.Collections.Generic.IList<FilNet.Image>Pyramid of iteratively downsampled input image.
diagMatchPyramidSystem.Collections.Generic.IList<FilNet.Image>Locations found on each pyramid level.
diagScoresSystem.Collections.Generic.IList<System.Collections.Generic.List<float>>Scores of found matches on each pyramid level.

Function Overrides

See also