|
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
)
Protected MustOverride Function Average (
labels As Integer(),
shapes As T(),
<OutAttribute> ByRef neighborCounts As Integer()
) As T()
Request Example
View SourceParameters
- 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:
TThe averaged shapes found in the given parameters.
See Also