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

FIS.CheckPresence_EdgeAmount Method

Verifies object presence by analysing the amount of edges in the specified region.

Namespace:FilNet
Assembly:FIL.NET.dll

Syntax

public static void CheckPresence_EdgeAmount
(
	FilNet.Image inImage,
	FilNet.ShapeRegion inRoi,
	FilNet.CoordinateSystem2D? inRoiAlignment,
	FilNet.GradientMaskOperator inEdgeOperator,
	FilNet.MagnitudeMeasure inEdgeMeasure,
	int inEdgeScale,
	int inMinStrength,
	float inMinAmount,
	float inMaxAmount,
	out bool outIsPresent,
	NullableValue<float> outAmount,
	NullableRef<FilNet.Region> outForeground,
	NullableRef<FilNet.ShapeRegion> outAlignedRoi
)

Parameters

Name Type Range Default Description
inImageFilNet.ImageInput image.
inRoiFilNet.ShapeRegionLocation at which object presence is being checked.
inRoiAlignmentFilNet.CoordinateSystem2D?Adjusts the region of interest to the position of the inspected object. Default value: ftl::NIL.
inEdgeOperatorFilNet.GradientMaskOperatorSelected gradient operator.
inEdgeMeasureFilNet.MagnitudeMeasureSumSelected method of gradient magnitude computation. Default value: Sum.
inEdgeScaleint<1, 16>1Scales the resulting gradient magnitudes. Default value: 1.
inMinStrengthint<0, 255>15Lowest acceptable edge magnitude. Default value: 15.
inMinAmountfloat<0.0f, 1.0f>0.2fLowest acceptable fraction of pixels meeting the criteria. Default value: 0.2f.
inMaxAmountfloat<0.0f, 1.0f>1.0fHighest acceptable fraction of pixels meeting the criteria. Default value: 1.0f.
outIsPresentboolFlag indicating whether the object is present or not.
outAmountFilNet.NullableValue<float>Fraction of pixels from meeting the criteria. Can be null to skip this parameter calculation.
outForegroundFilNet.NullableRef<FilNet.Region>Region of pixels meeting the criteria. Can be null to skip this parameter calculation.
outAlignedRoiFilNet.NullableRef<FilNet.ShapeRegion>Input ROI after transformation (in the image coordinates). Can be null to skip this parameter calculation.

Function Overrides

See also