12-21-2012 06:54 AM
Hello!
Is there a utility in IMAQ to transform an IMAQ image.ctl from a video stream to a RGB matrix (480x640x8)?
Thanks in advance.
Solved! Go to Solution.
12-21-2012 07:45 AM
I tried with IMAQ ImageToArray but it doesn't work 😞
12-21-2012 10:01 AM
12-21-2012 10:32 AM - edited 12-21-2012 10:34 AM
The function called IMAQ Color Image to Array should do the trick. I don't know why you are having problems. Do you have the Vision Development module activated? Otherwise, you may not have access to this vi.
12-21-2012 01:04 PM
Hello.
I'm gonna check it out
thanks.
12-22-2012 03:12 PM
Hello,
I have the NI Vision Development module activated. The error I receive is the "1074396080 Invalid image type". I checked on the forum and I found this:
http://forums.ni.com/t5/Machine-Vision/error-1074396080-Invalid-image-type/td-p/303505
But I don't know if its the same problem.
12-26-2012 01:28 PM
Away from a PC that has LabVIEW. Will look at it when I get back at the office, but I would guess that your error message is an indication of the root cause.
12-30-2012 03:36 PM
Ok,
thanks and happy holidays.
01-14-2013 02:49 AM
I know it is 14th January but... Happy new year everybody 🙂
I'm still stuck at the same point and I've found some threads talking about an "ImageToArray.vi" example, probably this one:
http://zone.ni.com/devzone/cda/epd/p/id/5679
I cannot find it in my Labview examples, anyone could share it or suggest any other way to solve this?
Thanks in advance.
01-14-2013 03:32 AM - edited 01-14-2013 03:34 AM
Is this the sort of thing you are after?
(obviously this isnt from a video stream, this is just a nice easy way to mock up the idea)
Your 'invalid image type' error can be solved by defining the image type as RGB, rather than the default Grayscale (see bottom left of above snippet)