Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Saving sequentially subtracted image

Hello all,

                   I have written a vi which acquires continously images from camera in ring acquisition. My aim is to subtract first image from second image, second from third and so on every immediate next frame subtracts the previous one and to display the resultant in a browser. At the moment i can do it but the problem is the vi is unable to save a subtracted which contains useful information for my application. 

 

I guess when i click on save button by the time image is unavailable, to trouble shoot i highlighted execution then it saved the subtrcted image continously. At the moment i am using 25frames/sec frame rate. (in Labview 8.2).

 

I guess to save the subtracted image we have to give more buffers, but i am confused how to do it. Any help would be greatly appreciated.

 

 

 

0 Kudos
Message 1 of 7
(4,221 Views)
Sorry forgot posting the code, here the code is
Message Edited by viswa on 11-13-2009 06:18 AM
0 Kudos
Message 2 of 7
(4,202 Views)

Hi,

 

This DevZone article has a library that performs all the functions you require: http://zone.ni.com/devzone/cda/epd/p/id/965 

 

All the best,

Applications Engineer
0 Kudos
Message 3 of 7
(4,199 Views)

Hi Rob,

                     We did not buy VBAI software, i was checking all our Labview DVD's. So could you  post a code for me in LV 8.2.

 

Thanks a lot.

 

0 Kudos
Message 4 of 7
(4,189 Views)
Message 5 of 7
(4,187 Views)

Hi Brad it looks like working, but i wll let you know after using to take some images in my experimental set up. Thanks for your help.

 

 

0 Kudos
Message 6 of 7
(4,163 Views)

Hi Brad,

                    Your vi does not save subtracted image files. I guess we should store each of the subtracted images in a separate buffer and save by specifying particular buffer number to get the stored image out or record an AVI file with subtracted images and save later depending on number of images that we want. 

 

If you have any solution please let me know.

 

Thanks a mil!!!!

0 Kudos
Message 7 of 7
(4,138 Views)