04-11-2013 04:39 PM
I'm trying to write my own image subtraction script and am only getting half of the framerate that I do with imaqSubtract function and I was wondering if NI was doing something tricky to get the higher frame rate.
I am using imgSessionCopyBuffer to copy the image data from the ring I set up to an array already stored in memory. Then I subtract another array that already has an image stored in it and display the differenced image.
I can get 30 Hz using imaqSubtract but can only get 15 Hz using my function.
The camera's bit depth is 12 bits and the array the images are stored in are shorts (16 bit).
Thanks!
04-11-2013 04:43 PM
Sorry, wrong board. How can I delete this thread?