Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Transfer image from "Falcon" frame grabber to "Imaq Vision"

Hello, does anyone know how to transfer a pic. ,taken by a frame grabber card like Falcon or any other VFW Harware,to an imaq typ pic., so i can use the image library with it ?

I will use the _getimagemem methode or something but i don't know how to transfer the image to an imaq typ conform image ?

Or if i get the handle of an DIB (Device independet Bitmap) what opportunities do i have to transfer it to an imaq typ image ?

So if anyone has some suggestions for me it would be very fine

thanxs Mario
0 Kudos
Message 1 of 2
(3,058 Views)
Mario,

You will need to call a function that returns an array of image data. Once you have the array of data, you can use IMAQ ArraytoImage to convert the data to an IMAQ Image type.

You could also save your image to a file using some function of your hardware driver (BMP, JPG, TIFF, etc) and read the file into your vision program using IMAQ ReadFile.

The first method would be much faster since it avoids disk access.

Regards,

Brent R.
Applications Engineer
National Instruments
0 Kudos
Message 2 of 2
(3,057 Views)