Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

some questions about imagetoarray.vi

hello  everyone! I use NI1433accquire board and linear CCD.Now  i want to convert the image to intensity graph,but something wrong is appeared !  I wish someone could offer an example with imagetoarray.vi . PS:I can't find the example in my computer .Hope your answer!

 

0 Kudos
Message 1 of 3
(4,456 Views)

Hello,

 

You need to specify "Grayscale (SGL)" datatype as input in the IMAQ Create function since you are processing the data as float.

Leaving the input blank, I think the default is "Grayscale (U8)", so if you use the U8 output in the image to array function, you should see the output...

 

Why do you need such a large border size -> 1680 pixels?

 

Best regards,

K


https://decibel.ni.com/content/blogs/kl3m3n



"Kudos: Users may give one another Kudos on the forums for posts that they found particularly helpful or insightful."
0 Kudos
Message 2 of 3
(4,450 Views)

hello!At  the first time,i thought the boader size is the image size .Now i solved thid problem ,Thank you !

0 Kudos
Message 3 of 3
(4,427 Views)