View Single Post
  #11   Spotlight this post!  
Unread 13-01-2009, 10:18
Bongle's Avatar
Bongle Bongle is offline
Registered User
FRC #2702 (REBotics)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2002
Location: Waterloo
Posts: 1,069
Bongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond repute
Send a message via MSN to Bongle
Re: Camera not working

Quote:
Originally Posted by foemill View Post
Yes, i realize that but, in a real-world situation, you're not going to get the full range of values. To say "everything" was an exaggeration to explain the concept. But on the side of practical application, in a low-contrast setting it would have included practically "everything".
You're right, it would very nearly select every pixel and if FindColor worked properly it should totally return a particle with size nearly equal to your camera's pixel count. But so long as there was a way for a single small selected particle to exist (the middle of a lighting array or something), then you'd potentially have bad FindColor results if it decided to return that small pixel rather than the big particle.