Thread: Threshold error
View Single Post
  #1   Spotlight this post!  
Unread 26-01-2012, 14:17
Stonemotmot Stonemotmot is offline
Registered User
FRC #0486
 
Join Date: Sep 2011
Location: United States, Pa
Posts: 53
Stonemotmot is an unknown quantity at this point
Talking Threshold error

Hello, I have been trying to get vision working for my teams robot and have run into some trouble. The threshold command is not working(C++) it gives us an error eveytime we try to run it.
the code is.
BinaryImage *binaryimage = camera.GetImage()->ThresholdHSL(100,100,100,100,100,100)

the 100s are just random numbers for this example.
There camera was declared earlier using GetInstance() and it seems to connect and give us no errors.
Thanks for any help.
Reply With Quote