Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

image_struct

When i complie and execute the example " easy acquire  "  (c:\program files\National instruments\Vision\Example\Msvc\Easy acquire)

I want to know the image structure defined in <nivision.h

typedef struct Image_struct Image

but there is no way to get the definition or declaration about image struct from camera.

I want to use OpenCV with pci-1410 board in c++

Is there solutions to get the image information, definition, definition ???

 

Please let me know~!!      T.T

thanks for reading

0 Kudos
Message 1 of 2
(3,412 Views)
prince -

The easiest way to get a representation of the image you can use with external toolkits is to call imaqImageToArray() to get the pixel data.  Be sure to call imaqDispose() on the result after you're done with it to avoid memory leaks.  You can call imaqGetImageInfo() to get information about the image.  More information about these function calls are available in the  Function Reference Help.

Greg Stoll
Vision R&D
National Instruments
Greg Stoll
LabVIEW R&D
0 Kudos
Message 2 of 2
(3,386 Views)