You are here: Start » FIL.NET » Invoke.DetectEdges_AsRegion_Mask
Extracts a pixel-precise region of continuous edges. Faster, yet less accurate version.
Namespace: | Fil |
---|---|
Assembly: | FilNet.dll |
Syntax
C++
C#
public static void DetectEdges_AsRegion_Mask ( Fil.Image inImage, Optional<Fil.Region> inRoi, Fil.EdgeMaskFilter inEdgeMaskFilter, float inEdgeThreshold, float inEdgeHysteresis, float inMaxJoiningDistance, int inMinBlobArea, Fil.Region outEdgeRegion, Diagnostic<Fil.Image> diagGradientMagnitudeImage )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inImage | Fil.Image | Image from which edges will be extracted. | ||
![]() | inRoi | Ftl.Optional<Fil.Region> | Region of the image from which edges will be extracted. Default value: ftl::NIL. | ||
![]() | inEdgeMaskFilter | Fil.EdgeMaskFilter | Type of edge filter used for computing gradients. | ||
![]() | inEdgeThreshold | float | <0.0f, INF> | 35.0f | Sufficient edge strength; edges of that strength will always be detected. Default value: 35.0f. |
![]() | inEdgeHysteresis | float | <0.0f, INF> | 15.0f | Value by which the edge threshold is decreased for edge points neighboring with sufficiently strong edges. Default value: 15.0f. |
![]() | inMaxJoiningDistance | float | <0.0f, INF> | 0.0f | Maximal distance between edges that can be joined. Default value: 0.0f. |
![]() | inMinBlobArea | int | <0, INF> | 1 | Minimal area of an edge blob. Default value: 1. |
![]() | outEdgeRegion | Fil.Region | Region of the found edges. | ||
![]() | diagGradientMagnitudeImage | Fil.Diagnostic<Fil.Image> | Visualization of the gradient magnitude. |