From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

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,180 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,169 Views)