Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

What data type is "image src"

Hi,

We are tying to write an image processing C++ DLL and need to know the data type of standard Labview/vision image src

To illustrate.

NIVision.DLL’s LV_Convolute fuction prototype looks like this:

void LV_Convolute(void *src, void *mask, void *dest, Array2DFloat **kernel, float divider, void *err);

If we are to write our own algorithm in a bespoke DLL we need to find out the details of what ‘void *src’ is, what the data format is and how it is constructed.

Thanks in advance.
0 Kudos
Message 1 of 2
(3,389 Views)
Fuba,

The image data type is a proprietary data type this is done in part to guarantee that any canges we make to the datatype in the future continue to be compatible with existing application.

You should be able to extract any of the information you need from the image by usign functions such as imaqImageToArray.

Hope this helps,
Reagrds,
Amaury Rolin
NI Applications Engineer
0 Kudos
Message 2 of 2
(3,389 Views)