11-13-2012 08:23 PM
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!
Solved! Go to Solution.
11-14-2012 05:57 AM
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
11-14-2012 09:26 AM
11-14-2012 08:03 PM
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!
11-14-2012 09:18 PM
I have handle the problems,thank you!
05-27-2020 08:10 AM
I have the same problem. How did you solve it? Any help is appreciated.
05-27-2020 12:00 PM
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.