ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Acquired Image from Webcam and Convert into Binary Image

Hello guys!

 

I would like to post a question, but for some unknown reason there isn't any button for me to do that so I will post question in here instead. I tried follow the example code from: https://decibel.ni.com/content/docs/DOC-32584

to acquire image from webcam and convert into binary image. I download the code from that link and it work fine. However when I tried to replicate the code in another empty project it does not work: the binary image remain black all the time. Please give me some suggestion.

 

 

Download All
0 Kudos
Message 1 of 2
(3,963 Views)

Just right click on the image dsplay control and choose Palette>>Binary to see the binary image. When using the default palette (grayscale), pixels with values of 0 and 1 are both black, so you can't see the thresholded areas of the image.

 

I'll pass along the feedback about the normal support page not allowing you to post a question to see what is wrong with that.

 

Hope that helps,

Brad

0 Kudos
Message 2 of 2
(3,952 Views)