Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Increase Speed of acquisition

Just need some advice on this matter

I am trying to do do some image acquisition on a IEE 1394 camera. Basically, I would need to capture a certain number of frames and do image analysis on all of them. I have done a program in visual C++ for it using the snap types of acquisition. All the frames are captured while looping through the snap function. However, the process is simply too slow... I have tried different ways of storage and processing of the frame buffer but the situation does not seem to improve....

I am just wondering whether trying other mode of acquisition might improve the situation for example use grabbing, sequencing or even ring buffering... Any other suggestion would be welcome....

Thanks for your help in advance
0 Kudos
Message 1 of 7
(3,895 Views)
You will want to try to use the Grab Acquire function. It should be much faster. There is also the Sequence function that sounds like it will do what you want, although I have never used it.
0 Kudos
Message 2 of 7
(3,884 Views)


@brian Beal wrote:
You will want to try to use the Grab Acquire function. It should be much faster. There is also the Sequence function that sounds like it will do what you want, although I have never used it.


Thanks for your help! Just another query.

I have tried to use the sequence.. so far so good... the acuqusition is pretty fast.

However, I would need to add in another hardware set which will print a number on the samples. I would like to know whether is there any examples on synchronization in the examples given or the code library? Or how can one control the acquisition timing in sequence. Previously I have used snap and synchronisation is not really a problem

Regards
0 Kudos
Message 3 of 7
(3,874 Views)
What are you trying to synchronize? A printer of some kind? I'm not sure how to synchronize during the sequence. If your camera has an input, then you can use a DAQ card to control both devices at the same time.
0 Kudos
Message 4 of 7
(3,868 Views)
I am trying to project some pattern onto a sample and then capture the pattern together with the sample image using a IEEE 1394 camera. As each pattern is unique, the pattern has to be projected onto the sample before image is taken. Naturally, I have tried to use snap in a loop but it happens to be too slow. I have try to narrow down the bottleneck of the cause for slow speed and found it to be the snapping by the IEEE 1394 camera. Sequence is then used but however, I believed it will create some synchronisation problem as I would need the pattern to be projected onto each frame image that I take

So I am wondering whether there will be any control for acquisition timing between each frame so that it will not cause problem for the image processing in the later stage
0 Kudos
Message 5 of 7
(3,866 Views)
From what information you have given, I would recommend using the Grab Acquire function.
0 Kudos
Message 6 of 7
(3,864 Views)
Thanks! Will try it out to see how it goes
0 Kudos
Message 7 of 7
(3,854 Views)