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

AVS.SegmentImage_Gray_Linear Method

Segments an image into blobs examining differences between pixels values.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void SegmentImage_Gray_Linear
(
	AvlNet.Image inImage,
	NullableRef<AvlNet.Region> inRoi,
	AvlNet.BlobMergingMethod inMergingMethod,
	AvlNet.RegionConnectivity inConnectivity,
	int inMaxDifference,
	int inHysteresis,
	int inPassCount,
	bool inDirectional,
	int inMinArea,
	int? inMaxArea,
	IList<AvlNet.Region> outBlobs
)

Parameters

Name Type Range Default Description
inImageAvlNet.ImageInput image.
inRoiAvlNet.NullableRef<AvlNet.Region>Range of pixels to be processed. Default value: atl::NIL.
inMergingMethodAvlNet.BlobMergingMethodNeighborDefines a criterion by which two pixels can be merged into one blob. Default value: Neighbor.
inConnectivityAvlNet.RegionConnectivityDefines if pixels can be merged only horizontally and vertically, or also diagonally.
inMaxDifferenceint<0, INF>5Maximal tonal difference that allows two pixels to be merged into one blob. Default value: 5.
inHysteresisintTotal change of MaxDifference during all image passes.
inPassCountint<1, 5>Number of iterations in which the entire image is scanned for pixels that can be merged.
inDirectionalboolWhen 'True' the filter can segment results of GradientDirAndPresenceImage.
inMinAreaint<0, INF>20Minimal area of a blob that may be accepted. Default value: 20.
inMaxAreaint?Minimal area of a blob that may be accepted. Default value: atl::NIL.
outBlobsSystem.Collections.Generic.IList<AvlNet.Region>

Function Overrides

See also