Calculates and returns the Euclidean dot product of two arrays. src1 dot src2 = sumI(src1(I)*src2(I))

Namespace: Emgu.CV
Assembly: Emgu.CV (in Emgu.CV.dll) Version: 2.2.1.1150 (2.2.1.1150)

Syntax

         
 C#  Visual Basic  Visual C++ 
public double DotProduct(
	CvArray<TDepth> src2
)
Public Function DotProduct ( _
	src2 As CvArray(Of TDepth) _
) As Double
public:
double DotProduct(
	CvArray<TDepth>^ src2
)

Parameters

src2
CvArray<(Of <(<'TDepth>)>)>
The other Array to apply dot product with

Return Value

src1 dot src2

Remarks

In case of multiple channel arrays the results for all channels are accumulated. In particular, cvDotProduct(a,a), where a is a complex vector, will return ||a||^2. The function can process multi-dimensional arrays, row by row, layer by layer and so on.

See Also