Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

displaying line by line using acquired area scan image

Hi, all

 

I use PCIe-1433 camera link board.

I acquire area scan image at about 1fps.

(1000x1000 pixel image at 1000hz line rate -> then, frame rate is 1frame per sec)

 

Because the 1fps is slow display rate, I want to display line by line.

So the displaying image is updated at every line.

 

how can I do this?

 

Fah.

 

 

 

0 Kudos
Message 1 of 3
(3,033 Views)

One line per frame creates a lot of overhead for image handling.  I would recommend acquiring 5 or 10 lines per frame.  Operators will never notice they are being displayed in 10 msec intervals.

 

Either way, create a blank image and resize it large enough to hold your final image.  Color the image black or whatever background color you like.  After you acquire each image, use IMAQ Image To Image to paste the strip into the correct place in the destination image.  Adjust the Y offset each time to put them in the correct place.

 

Alternately, use IMAQ Shift to move the destination image down N lines, then paste the new strip at the top of the image.  Once again, if you do this a line at a time it will be computationally expensive.

 

Bruce

Bruce Ammons
Ammons Engineering
0 Kudos
Message 2 of 3
(3,029 Views)

Hi Bruce

 

Thank you for your comment.

I have to re-explain what I want.

 

When I acquire image using 'HL Grab.vi' , the displaying image is updating frame by frame.

The MAX also displaying in same manner.

 

But, just now, I find what I want exactly at 'camera file generator'.

When I test by same camera and camera file, "camera file generator' is updating line by line.

Could you explain Grab function and code in CFG?

 

Fah.

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