08-30-2012 07:16 AM
hi all,
I am developing an algorithm to count intense particles in an image. For which I used IMAQ count objects vi. and got center information for my objects.
Now I want to extract rectangular images from these center information. I am using IMAQ extract inside a loop and displaying image on front panel with screenshot option. It shows image for first loop run but afterwards it doesn't show anything. Can Anyone help me or suggest any other method to count objects?
Thanks in advance.
09-12-2012 04:13 PM
Is it possible for you to post a snapshot of your code?
09-13-2012 05:39 AM - edited 09-13-2012 05:40 AM
Hi,
As always, be sure to pass a destination buffer to your IMAQ extract function (the name of the buffer is also important, never use twice the same name to be sure to allocate new memory and don't forget to deallocate with IMAQ Close).
Otherwise, you will modify your source image, that might be the reason you only see it on the first iteration.
Hope this helps