Difference between revisions of "Function:Dot"

From CUVI Wiki
(Created page with "__NOTOC__ Computes the dot product of two 2D images and stores into a 1D scalar. ====Function==== {| |style="font-size:100%;"| <syntaxhighlight lang="cpp"> CuviStatus cuvi::arithmeticLogical::dot(CuviImage& src1, CuviImage& src2, CuviScalar& result, const CuviStream& stream = CuviStream()); </syntaxhighlight> |} ====Parameters==== {| |style="font-size...")
 
(No difference)

Latest revision as of 19:26, 31 October 2022

Computes the dot product of two 2D images and stores into a 1D scalar.

Function

CuviStatus cuvi::arithmeticLogical::dot(CuviImage& src1, 
                                        CuviImage& src2,
                                        CuviScalar& result,
                                        const CuviStream& stream = CuviStream());

Parameters

Name Type Description
src1 CuviImage& image 1
src2 CuviImage& image 2
result CuviScalar& result of dot product
stream const CuviStream& GPU stream ID for execution

Image Type Support

Type
32FC1
32FC3