View Single Post
  #9   Spotlight this post!  
Unread 21-01-2012, 17:12
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: Particle Analysis Report Problems

Quote:
Originally Posted by Cody Trey View Post
ok, when I do that i get

ColorImage img; //error: no matching function for call to 'ColorImgae::ColorImage()'
camera.GetImage(&img);

if you want I'll post the whole code as it stands now if you think it'll help
Whoops, I forgot that ColorImage doesn't have a default constructor.

I believe it is:
ColorImage img(IMAQ_RGB_IMAGE);

You'll have to take a look at the constructor for ColorImage. Click on it, hit f3, and see what enumeration it requires. Hit f3 of the enumeration type, and it should take you to a list of options. You want the RGB one. Unfortunately, I'm once again at home, so I don't have our code in front of me.
Reply With Quote