LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How could I import a 16 bit-png image into an array on LabVIEW?

Solved!
Go to solution

Hello:

It seem that LabVIEW only support 1 ,4, 8 and 24 bit image, I want to import a 16 bit-png image into an array(value is between 0 and 65535),how can I??

Thank you very much!

0 Kudos
Message 1 of 7
(3,532 Views)
Solution
Accepted by topic author wanghh

Hi Wanghh

 

Have a look at this Image To Array Example which can be found by launching the NI Example Finder, selecting 'Toolkits and Modules' >> 'Vision' >> 'Functions' and opening the 'ImageToArray Example.vi'

If you look on the block diagram for this example the 'IMAQ Create' subVI has the option to be configured for 16-bit images.

 

Kind Regards

Chris | Applications Engineer NIUK
0 Kudos
Message 2 of 7
(3,509 Views)
Thank you,I will try.....
0 Kudos
Message 3 of 7
(3,488 Views)

With your help,I could import image, but I still could not get the pixel array,you can see from the attachment.

Would you do me a favor again,Thank you very much!

23.jpg

0 Kudos
Message 4 of 7
(3,471 Views)

I have handle the problems,thank you!

0 Kudos
Message 5 of 7
(3,455 Views)

I have the same problem. How did you solve it? Any help is appreciated.

0 Kudos
Message 6 of 7
(2,593 Views)

This thread is 8 years old and the user who posted it last posted on the forum 4 years ago.  I doubt you'll get much assistance here.  Since this thread is already marked as having a solution, many people will skip it.

 

Also, there are two different problems addressed in this thread, and your reply doesn't point towards one or the other specifically, so you'll want to be more specific as well.

 

I suggest you post a brand new thread so it isn't marked as solved, and also post your VI (the actual .vi file or files, NOT just a picture of the block diagram) and you'll get a better response.

0 Kudos
Message 7 of 7
(2,576 Views)