NI LabVIEW,CVI,数据采集等产品讨论区

cancel
Showing results for 
Search instead for 
Did you mean: 

图像转为数组然后求和

Solved!
Go to solution
Highlighted

该数组为640*512的图像,想要将该数组求和,请问怎么求?

The array is a 640*512 image. I want to sum the array. How do I find it?

0 Kudos
Message 1 of 2
(257 Views)
Highlighted
Solution
Accepted by topic author luopeng2019

Just use "add array elements". What is the datatype of the array? It it is integer with few bytes, Make sure to convert to so something (e.g. I32) that can hold the result first.

 

(We can typically help better looking at a VI instead of pictures.)


LabVIEW Champion. It all comes together in GCentral GCentral
What does "Engineering Redefined" mean??
0 Kudos
Message 2 of 2
(245 Views)