Click here to Skip to main content
15,917,176 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
XML
please tell me can sum as in Emgu.CV.GPU.GpuMat  ?


This example does not work me :

GpuMat<int> a = 3;
GpuMat<int> b = 7;

GpuMat<int> sum = new GpuMat<int>(a.Size);
GpuInvoke.Add(a, b, sum, null, null);

Please can you tell me how it's done?


Thanks for your attention
Posted
Updated 27-Mar-14 5:28am
v2
Comments
[no name] 27-Mar-14 0:50am    
Can you write your question in a way that someone else can read it and know what you are asking?
caoc7 27-Mar-14 11:29am    
please tell me can sum as in Emgu.CV.GPU.GpuMat ?


This example does not work me :

GpuMat<int> a = 3;
GpuMat<int> b = 7;

GpuMat<int> sum = new GpuMat<int>(a.Size);
GpuInvoke.Add(a, b, sum, null, null);

Please can you tell me how it's done?


Thanks for your attention
ZurdoDev 27-Mar-14 11:20am    
What?
caoc7 27-Mar-14 11:29am    
please tell me can sum as in Emgu.CV.GPU.GpuMat ?


This example does not work me :

GpuMat<int> a = 3;
GpuMat<int> b = 7;

GpuMat<int> sum = new GpuMat<int>(a.Size);
GpuInvoke.Add(a, b, sum, null, null);

Please can you tell me how it's done?


Thanks for your attention

1 solution

Here is the user guide, http://www.dms.umontreal.ca/~math/GPU/documents/GPUmat_User_Guide_0.25.pdf[^]

Page 166 has the SUM function
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900