Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I increase the capture rate, i have two ideas, help

Hi All

 

I've bought a Basler Camera, the frame rate is 210 (capture rate only)

 

However, if i capture-and-save the image, the maximum rate i can get is 70 around.

 

I think the time comsuming is the image saving part, which involves harddisk writing.

 

in order to achieve high capture-and-save rate, i have two ways, please give me some suggestions:

 

 

Way 1: store the image in the image array (Not convert image to array, that will consume too much memory)

 

If i capture a image, and save the image in an image array, then i can save the image array after all the captures.

 

The problem i face in this way is that i don't know how to create an image array (e.g. JPEG image array).

 

I try to convert the image to array, and stacks the array. however, this is not suitable becuase the memory consumption is two high if we convert an image to an array.

 

Matlab_34.jpg

Way 2: use double-buffering

 

One loop is captureing, the other one is writing to harddisk.

 

Any suggestion for this method?

 

 

Message 1 of 3
(3,588 Views)

If you acquire finite number of an image, you'd better acquire it with sequence mode instead of grab or snap.

Sequence mode will automatically put images in buffer (like an array).

Then, you can save them after acquisition is done.

There are couple of sequence examples found in Help>>Find Examples>>Hardware Input and Output>>IMAQddx.

Message 2 of 3
(3,570 Views)

Look at my VI to see how to create image array.

 

0 Kudos
Message 3 of 3
(3,558 Views)