FIRST Robotics Competition Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

Threshold image not displaying

I am using the 2011 LabVIEW robotics "Vision.vi" and I am trying to detect a basketball backboard. The original image display works fine, but my threshold image just becomes black and never recognizes any of the colors when I play with the color values. I tried covering up the camera to create a black image and generate a white threshold image, and I also tried a white sheet of paper with some shapes on it. The threshold image remains black. Here is my block diagram
Vision.PNG

Any answers on what I'm doing wrong?

Thanks.

0 Kudos
Message 1 of 3
(5,140 Views)

So its black even if you set all three ranges to 0-255 (this is their default)?  What if you change the mode to RGB for the Color Threshold VI?

Kevin Fort
Principal Software Engineer
NI
0 Kudos
Message 2 of 3
(3,394 Views)

I'm getting a blank image when using imaq color threshold.http://i.imgur.com/0YRl7m0.png

0 Kudos
Message 3 of 3
(3,394 Views)