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

FIS.LocateMultipleObjects_NCC2 Method

Finds all occurrences of a predefined template on an image by analysing the normalized correlation between pixel values.

Namespace:FilNet
Assembly:FIL.NET.dll

Syntax

public static void LocateMultipleObjects_NCC2
(
	FilNet.Image inImage,
	NullableRef<FilNet.ShapeRegion> inSearchRegion,
	FilNet.CoordinateSystem2D? inSearchRegionAlignment,
	FilNet.GrayModel2 inGrayModel,
	int inMinPyramidLevel,
	int? inMaxPyramidLevel,
	bool inIgnoreBoundaryObjects,
	float inMinScore,
	float inMinDistance,
	float? inMaxBrightnessRatio,
	float? inMaxContrastRatio,
	IList<FilNet.Object2D> outObjects,
	NullableValue<int> outPyramidHeight,
	NullableRef<FilNet.ShapeRegion> outAlignedSearchRegion
)

Parameters

Name Type Range Default Description
inImageFilNet.ImageImage on which model occurrences will be searched.
inSearchRegionFilNet.NullableRef<FilNet.ShapeRegion>Range 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.
inGrayModelFilNet.GrayModel2Model 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.
inIgnoreBoundaryObjectsboolFalseFlag indicating whether objects crossing image boundary should be ignored or not. Default value: False.
inMinScorefloat<-1.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.
inMaxBrightnessRatiofloat?<1.0f, INF>Defines the maximal deviation of the mean brightness of the model object and the object present in the image. Default value: ftl::NIL.
inMaxContrastRatiofloat?<1.0f, INF>Defines the maximal deviation of the brightness standard deviation of the model object and the object present in the image. Default value: ftl::NIL.
outObjectsSystem.Collections.Generic.IList<FilNet.Object2D>Found objects.
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