View Single Post
  #10   Spotlight this post!  
Unread 21-01-2012, 17:26
Cody Trey's Avatar
Cody Trey Cody Trey is offline
Programing = hard + fun
FRC #2582 (Panther Bots)
Team Role: Programmer
 
Join Date: Jan 2011
Rookie Year: 2009
Location: US
Posts: 31
Cody Trey is an unknown quantity at this point
Send a message via Yahoo to Cody Trey
Re: Particle Analysis Report Problems

Quote:
Originally Posted by Bongle View Post
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.
the constructor is IMAQ_IMAGE_RGB but it works now thanks!
__________________
Love, Peace, and Robot Grease
Reply With Quote