View Single Post
  #7   Spotlight this post!  
Unread 21-01-2012, 16:49
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
awesome, well I have one more error to fix then I can just wait until electrical and mechanical have there stuff finished...

BinaryImage* binImg = img.TresholdRGB(192, 256,156, 192, 256); //error: request for member 'ThresholdRGB' in 'image', which is of non-class type 'ColorImage*'

do I need to make img in to an RGB imag rather than just a Color Image?
You need to make it not a pointer.

The declaration for ColorImage should be:
ColorImage img;

From the compiler error, it sounds like you have
ColorImage* img;

That would be a pointer, which is why you can't do
img.ThresholdRGB(...)
Reply With Quote