You are here: Start » AVL.NET » AVS.SegmentImage_Edges Method

AVS.SegmentImage_Edges Method

Segments an image into blobs using image edges as their borders.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void SegmentImage_Edges
(
	AvlNet.Image inImage,
	NullableRef<AvlNet.Region> inRoi,
	int inFrameSize,
	float inStdDev,
	float inEdgeThreshold,
	float inEdgeHysteresis,
	float inMaxJoiningDistance,
	int inMinArea,
	int? inMaxArea,
	bool inComputeNestingLevels,
	int inEdgeClosing,
	IList<AvlNet.Region> outBlobs
)

Parameters

Name Type Range Default Description
inImageAvlNet.ImageImage from which blobs are extracted.
inRoiAvlNet.NullableRef<AvlNet.Region>Range of pixels to be processed. Default value: atl::NIL.
inFrameSizeint<0, INF>1How many pixels from the region border are excluded from the results. Default value: 1.
inStdDevfloat<0.0f, INF>2.0fAmount of smoothing used by the edge filter. Default value: 2.0f.
inEdgeThresholdfloat<0.0f, INF>15.0fSufficient edge strength; edges of that strength will always be detected. Default value: 15.0f.
inEdgeHysteresisfloat<0.0f, INF>5.0fValue by which the edge threshold is decreased for edge points neighboring with sufficiently strong edges. Default value: 5.0f.
inMaxJoiningDistancefloat<0.0f, INF>0.0fMaximal distance between edges that can be joined. Default value: 0.0f.
inMinAreaint<0, INF>50Minimal area of a detected blob. Default value: 50.
inMaxAreaint?<0, INF>Maximal area of a detected blob. Default value: atl::NIL.
inComputeNestingLevelsboolFlag indicating whether nesting levels should be computed.
inEdgeClosingint<0, INF>1Radius of enclosing small holes in the detected blobs. Default value: 1.
outBlobsSystem.Collections.Generic.IList<AvlNet.Region>Blobs extracted from the input image.

Function Overrides

See also