You are here: Start » FIL.NET » Function Reference » Computer Vision » Template Matching » FIL.CreateEdgeModel2

FIL.CreateEdgeModel2

Creates a model for edge-based template matching.

Namespace:FilNet
Assembly:FIL.NET.dll

Syntax

C++
C#
 
public static void CreateEdgeModel2
(
	FilNet.Image inImage,
	NullableRef<FilNet.Region> inTemplateRegion,
	FilNet.Rectangle2D? inReferenceFrame,
	int inMinPyramidLevel,
	int? inMaxPyramidLevel,
	float inSmoothingStdDev,
	float inEdgeThreshold,
	float inEdgeHysteresis,
	float inMinAngle,
	float inMaxAngle,
	float inAnglePrecision,
	float inMinScale,
	float inMaxScale,
	float inScalePrecision,
	float inEdgeCompleteness,
	INullable<FilNet.EdgeModel2> outEdgeModel,
	NullableRef<NullableValue<FilNet.Point2D>> outEdgeModelPoint,
	NullableRef<NullableRef<SafeList<FilNet.Path>>> outEdges
)

Parameters

Name Type Range Default Description
inImageFilNet.ImageImage from which model will be extracted.
inTemplateRegionFilNet.NullableRef<FilNet.Region>Region of the image from which model will be extracted. Default value: ftl::NIL.
inReferenceFrameFilNet.Rectangle2D?Exact position of the model object in the image. Default value: ftl::NIL.
inMinPyramidLevelint<0, 12>1Defines the number of reduced resolution levels dynamically created during model creation. Default value: 1.
inMaxPyramidLevelint?<0, 12>Defines the number of reduced resolution levels used to speed up computations. Default value: ftl::NIL.
inSmoothingStdDevfloat<0.0f, INF>0.0fStandard deviation of the gaussian smoothing applied before edge extraction. Default value: 0.0f.
inEdgeThresholdfloat<0.0f, INF>35.0fHigher threshold for edge magnitude. Default value: 35.0f.
inEdgeHysteresisfloat<0.0f, INF>15.0fThreshold hysteresis value for edge magnitude. Default value: 15.0f.
inMinAnglefloat-180.0fStart of range of possible rotations. Default value: -180.0f.
inMaxAnglefloat180.0fEnd of range of possible rotations. Default value: 180.0f.
inAnglePrecisionfloat<0.001f, 10.0f>1.0fDefines angular resolution of the matching process. Default value: 1.0f.
inMinScalefloat<0.0f, INF>1.0fStart of range of possible scales. Default value: 1.0f.
inMaxScalefloat<0.0f, INF>1.0fEnd of range of possible scales. Default value: 1.0f.
inScalePrecisionfloat<0.001f, 10.0f>1.0fDefines scale resolution of the matching process. Default value: 1.0f.
inEdgeCompletenessfloat<0.01f, 1.0f>1.0fDetermines what fraction of the edges will be present in the created model. Default value: 1.0f.
outEdgeModelFilNet.INullable<FilNet.EdgeModel2>Created model that can be used by LocateMultipleObjects_Edges. This parameter cannot be null.
outEdgeModelPointFilNet.NullableRef<FilNet.NullableValue<FilNet.Point2D>>The middle point of the created model. Can be null to skip this parameter calculation.
outEdgesFilNet.NullableRef<FilNet.NullableRef<FilNet.SafeList<FilNet.Path>>>Visualization of the model edges found at the original resolution. Can be null to skip this parameter calculation.

Hardware Acceleration

This operation supports automatic parallelization for multicore and multiprocessor systems.

Hardware acceleration settings may be manipulated with Settings class.

Function Overrides

See also