05-29-2008 02:31 PM - edited 05-29-2008 02:33 PM
05-30-2008 06:46 AM
Hi, Candice,
As far as I know, there is no direct way to calculate sum, so you can use Image To Array->Sum Array Elements.
May be it will be be faster to calculate Histogram first, and then calculate sum from histogram elements.
The fastest way is your own DLL, where you will calculate sum.
best regards,
Andrey.
05-30-2008 08:13 AM
05-30-2008 10:16 PM
Another route would be to use IMAQ Quantify to measure the average pixel intensity, then multiply by the number of pixels to get the sum. This may not be as accurate, but it depends on your application.
Bruce
05-31-2008 10:41 AM
12-22-2010 06:11 AM
hi candice;
I'm working about image processing but have some problems about arrays. as you see at the attachment; I can determine contaminated areas and want to calculate whole contaminated area as namerical. But I couldn't... could you help me about my problem?
I have attached my program and a sample...
thanks!