08-13-2008 01:07 PM - edited 08-13-2008 01:10 PM
HI
I change a image to array in labview.
I want to this array to image.
Why dose not this change?
Can you help me please?
08-13-2008 04:20 PM
Your code seems to work just fine for me. Could you include a screen shot of what you are seeing and/or perhaps the image you are using?
Kyle V
08-14-2008 07:34 AM - edited 08-14-2008 07:36 AM
Hi Naser,
It might have to do with the type of image that you input from the file. The IMAQ Create VI creates a buffer for an 8-bit image unless otherwise specified. You could try either setting the IMAQ Create VI to something other than 8-bit, or you could try including an IMAQ Cast Image VI at the front of the code to make sure that the image type is correct. When I ran the code with an 8-bit image, it worked fine, but when I ran it with a color image, I began to see problems. Could this perhaps be what is going on here?
08-18-2008 07:14 AM
It might have to do with the type of image that you input from the file. The IMAQ Create VI creates a buffer for an 8-bit image unless otherwise specified. You could try either setting the IMAQ Create VI to something other than 8-bit, or you could try including an IMAQ Cast Image VI at the front of the code to make sure that the image type is correct. When I ran the code with an 8-bit image, it worked fine, but when I ran it with a color image, I began to see problems. Could this perhaps be what is going on here?