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

AVS.DetectSegments Method

Finds segments in an image using Hough Transform.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void DetectSegments
(
	AvlNet.Image inImage,
	NullableRef<AvlNet.Region> inRoi,
	float inAngleResolution,
	float inMinAngleDelta,
	float inMinDistance,
	float inMinLength,
	float inMinScore,
	float inEdgeThreshold,
	IList<AvlNet.Segment2D> outSegments,
	AvlNet.Image diagGradientMagnitudeImage,
	AvlNet.Image diagScoreImage
)

Parameters

Name Type Range Default Description
inImageAvlNet.ImageInput image.
inRoiAvlNet.NullableRef<AvlNet.Region>Input region of interest. Default value: atl::NIL.
inAngleResolutionfloat<0.1f, 180.0f>1.0fResolution of segments' orientation. Default value: 1.0f.
inMinAngleDeltafloat<0.0f, INF>20.0fMinimum angle between two segments. Default value: 20.0f.
inMinDistancefloat<0.0f, INF>20.0fMinimum distance between two segments. Default value: 20.0f.
inMinLengthfloat<0.0f, INF>20.0fMinimum segment length. Default value: 20.0f.
inMinScorefloat<0.0f, INF>20.0fMinimum matching score. Default value: 20.0f.
inEdgeThresholdfloat10.0fMinimum accepted edge magnitude. Default value: 10.0f.
outSegmentsSystem.Collections.Generic.IList<AvlNet.Segment2D>Output segments.
diagGradientMagnitudeImageAvlNet.ImageVisualized gradients magnitude of an input image.
diagScoreImageAvlNet.ImageCalculated score for each pixel of an input image.

Function Overrides

See also