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

AVS.SegmentImage_Gray Method

Segments an image into blobs examining differences between neighbouring pixels values.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void SegmentImage_Gray
(
	AvlNet.Image inImage,
	NullableRef<AvlNet.Region> inRoi,
	float inMaxDifference,
	AvlNet.BlobsDifferenceMeasure inDifferenceMeasure,
	int inMinArea,
	int? inMaxArea,
	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.
inMaxDifferencefloat<0.0f, INF>5.0fMaximal difference between two neighbouring blobs to be merged. Default value: 5.0f.
inDifferenceMeasureAvlNet.BlobsDifferenceMeasureNeighbourMeasure of blobs difference. Default value: Neighbour.
inMinAreaint<0, INF>50Minimal area of a blob. Default value: 50.
inMaxAreaint?<0, INF>Maximal area of a blob. Default value: atl::NIL.
outBlobsSystem.Collections.Generic.IList<AvlNet.Region>Blobs extracted from the input image.

Function Overrides

See also