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

Invoke.SegmentImage_Gray_Linear

Segments an image into blobs examining differences between pixels values.

Namespace:Avl
Assembly:AvlNet.dll

Syntax

C++
C#
 
public static void SegmentImage_Gray_Linear
(
	Avl.Image inImage,
	Optional<Avl.Region> inRoi,
	Avl.BlobMergingMethod inMergingMethod,
	Avl.RegionConnectivity inConnectivity,
	int inMaxDifference,
	int inHysteresis,
	int inPassCount,
	bool inDirectional,
	int inMinArea,
	Optional<int> inMaxArea,
	List<Avl.Region> outBlobs
)

Parameters

Name Type Range Default Description
inImageAvl.ImageInput image.
inRoiAtl.Optional<Avl.Region>Range of pixels to be processed. Default value: atl::NIL.
inMergingMethodAvl.BlobMergingMethodNeighborDefines a criterion by which two pixels can be merged into one blob. Default value: Neighbor.
inConnectivityAvl.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.
inMaxAreaAtl.Optional<int>Minimal area of a blob that may be accepted. Default value: atl::NIL.
outBlobsSystem.Collections.Generic.List<Avl.Region>

See also