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

AVS.SegmentImage_Gray_Tiled Method

Segments an image into blobs examining differences between pixels values, first pass is tiled.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void SegmentImage_Gray_Tiled
(
	AvlNet.Image inImage,
	NullableRef<AvlNet.Region> inRoi,
	AvlNet.BlobMergingMethod inMergingMethod,
	AvlNet.RegionConnectivity inConnectivity,
	int inMaxDifference,
	int inHysteresis,
	bool inTonalDrift,
	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.RegionConnectivity
inMaxDifferenceint<0, INF>5Maximal tonal difference that allows two pixels to be merged into one blob. Default value: 5.
inHysteresisintChange of MaxDifference between first and second iteration.
inTonalDriftboolTrueWhen 'True' blobs can be merged even if the illumination is not even. Default value: True.
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