You are here: Start » AVL.NET » AVL.CheckPresence_EdgeAmount(AvlNet.Image, AvlNet.ShapeRegion, AvlNet.CoordinateSystem2D?, AvlNet.GradientMaskOperator, AvlNet.MagnitudeMeasure, int, int, float, float, bool)
AVL.CheckPresence_EdgeAmount(AvlNet.Image, AvlNet.ShapeRegion, AvlNet.CoordinateSystem2D?, AvlNet.GradientMaskOperator, AvlNet.MagnitudeMeasure, int, int, float, float, bool)
Verifies object presence by analysing the amount of edges in the specified region.
| Namespace: | AvlNet |
|---|---|
| Assembly: | AVL.NET.dll |
Syntax
public static void CheckPresence_EdgeAmount( AvlNet.Image inImage, AvlNet.ShapeRegion inRoi, AvlNet.CoordinateSystem2D? inRoiAlignment, AvlNet.GradientMaskOperator inEdgeOperator, AvlNet.MagnitudeMeasure inEdgeMeasure, int inEdgeScale, int inMinStrength, float inMinAmount, float inMaxAmount, out bool outIsPresent )
Parameters
- inImage
- Type: AvlNet.Image
Input image - inRoi
- Type: AvlNet.ShapeRegion
Location at which object presence is being checked - inRoiAlignment
- Type: System.Nullable<AvlNet.CoordinateSystem2D>
Adjusts the region of interest to the position of the inspected object, or null. - inEdgeOperator
- Type: AvlNet.GradientMaskOperator
Selected gradient operator - inEdgeMeasure
- Type: AvlNet.MagnitudeMeasure
Selected method of gradient magnitude computation - inEdgeScale
- Type: System.Int32
Scales the resulting gradient magnitudes - inMinStrength
- Type: System.Int32
Lowest acceptable edge magnitude - inMinAmount
- Type: System.Single
Lowest acceptable fraction of pixels meeting the criteria - inMaxAmount
- Type: System.Single
Highest acceptable fraction of pixels meeting the criteria - outIsPresent
- Type: System.Boolean
Flag indicating whether the object is present or not
