Click or drag to resize
Accord.NET (logo)

GroupMatchingTAverage Method

When overridden in a child class, should compute an average of the shapes given as parameters.

Namespace:  Accord.Vision
Assembly:  Accord.Vision (in Accord.Vision.dll) Version: 3.8.0
Syntax
protected abstract T[] Average(
	int[] labels,
	T[] shapes,
	out int[] neighborCounts
)
Request Example View Source

Parameters

labels
Type: SystemInt32
The label of each shape.
shapes
Type: T
The shapes themselves.
neighborCounts
Type: SystemInt32
Should return how many neighbors each shape had.

Return Value

Type: T
The averaged shapes found in the given parameters.
See Also