Quote:
Originally Posted by Cody Trey
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(...)