You are here: Start » AVL.NET » Invoke.SegmentImage_Gray

Invoke.SegmentImage_Gray

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

Namespace:Avl
Assembly:AvlNet.dll

Syntax

C++
C#
 
public static void SegmentImage_Gray
(
	Avl.Image inImage,
	Optional<Avl.Region> inRoi,
	float inMaxDifference,
	Avl.BlobsDifferenceMeasure inDifferenceMeasure,
	int inMinArea,
	Optional<int> inMaxArea,
	List<Avl.Region> outBlobs
)

Parameters

Name Type Range Default Description
inImageAvl.ImageImage from which blobs are extracted.
inRoiAtl.Optional<Avl.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.
inDifferenceMeasureAvl.BlobsDifferenceMeasureNeighbourMeasure of blobs difference. Default value: Neighbour.
inMinAreaint<0, INF>50Minimal area of a blob. Default value: 50.
inMaxAreaAtl.Optional<int><0, INF>Maximal area of a blob. Default value: atl::NIL.
outBlobsSystem.Collections.Generic.List<Avl.Region>Blobs extracted from the input image.

See also