[Diese Dokumentation ist noch nicht fertig und kann sich bis zur entgültigen Version noch ändern.]
Bildet den Mittelwert in einem durch einen Radius begrenzten Bereich.

Namespace: DynamicNode.Types.Base
Assembly: DataTypesAndTools (in DataTypesAndTools.dll) Version: 1.3.4679.19814 (1.3.0.0)

Syntax

C#
public static byte Mean(
	Matrix<byte> source,
	int radius,
	int px,
	int py
)
Visual Basic
Public Shared Function Mean ( _
	source As Matrix(Of Byte), _
	radius As Integer, _
	px As Integer, _
	py As Integer _
) As Byte
F#
static member Mean : 
        source:Matrix<byte> * 
        radius:int * 
        px:int * 
        py:int -> byte 

Parameters

source
Type: DynamicNode.Types.Base..::..Matrix<(Of <(<'Byte>)>)>
Die Matrix.
radius
Type: System..::..Int32
Der Radius des Bereichs, dessen Maximum bestimmt werden soll. (Der Radius bezieht sich nicht auf einen Kreis sondern auf die halbe Kantenlänge eines Quadrats.)
px
Type: System..::..Int32
Der horizontale Mittelpunkt des Bereichs.
py
Type: System..::..Int32
Der vertikale Mittelpunkt des Bereichs.

Return Value

Der Mittelwert des Bereichs.

See Also