09-01-2015 04:32 AM
Hi,
I have developed a LabVIEW application where Matlab script is running.
My camera gives U16 image.
I want to pass an image acquired through IMAQ to the Matlab script but the input variable does not have supporting data type (types allowed are real,complex, 1D array, 2D array etc.) but no image data type is available. How to pass it ?
Regards,
Sri
09-01-2015 06:21 AM
IMAQ Image to Array
09-01-2015 06:35 AM
hi,
Since my camera gives U16 image, IMAQ Image to array gives U16 pixels in 2 D array format. But my problem is the input variable of MATLAB Script node VI supports only below data type
real
complex
1D array of real or complex
2D array of real or complex
And i need to handle 2D array of U16 Pixels.
So let me know any solution
Regards,
Sri
09-01-2015 10:23 AM
Cast the 2D array of U16 to real