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

FIS.LocateSingleObject_SAD Method

Finds a single occurrence 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 LocateSingleObject_SAD
(
	FilNet.Image inImage,
	NullableRef<FilNet.ShapeRegion> inSearchRegion,
	FilNet.CoordinateSystem2D? inSearchRegionAlignment,
	FilNet.GrayModel inGrayModel,
	int inMinPyramidLevel,
	int? inMaxPyramidLevel,
	bool inIgnoreBoundaryObjects,
	float inMaxDifference,
	INullable<FilNet.Object2D> outObject,
	NullableValue<int> outPyramidHeight,
	NullableRef<FilNet.ShapeRegion> outAlignedSearchRegion,
	IList<FilNet.Image> diagImagePyramid,
	IList<FilNet.Image> diagMatchPyramid,
	INullable<List<float>> diagScores
)

Parameters

Name Type Range Default Description
inImageFilNet.ImageImage on which model occurrence will be searched.
inSearchRegionFilNet.NullableRef<FilNet.ShapeRegion>Possible centers of the object occurrence. 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>0.0fMaximum accepted average difference between pixel values. Default value: 0.0f.
outObjectFilNet.INullable<FilNet.Object2D>Found object. This parameter cannot be null.
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.
diagImagePyramidSystem.Collections.Generic.IList<FilNet.Image>Pyramid of iteratively downsampled input image.
diagMatchPyramidSystem.Collections.Generic.IList<FilNet.Image>Locations found on each pyramid level.
diagScoresFilNet.INullable<System.Collections.Generic.List<float>>Scores of found match on each pyramid level. This parameter cannot be null.

Function Overrides

See also