Go to Post Your GPA in High School and College is a reflection of your cooperation with educational processes, nothing more. It is NOT a measurement of how much you know or how much you can learn. - Mike Martus [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 18-01-2010, 22:39
Teh1337Bix's Avatar
Teh1337Bix Teh1337Bix is offline
Registered User
None #3132
 
Join Date: Jan 2010
Location: Australia
Posts: 13
Teh1337Bix is an unknown quantity at this point
Problem using the camera.

I've been trying out the camera in the vision assistant and it works great. Now I wanna put ellipse detection into our robot. The code below is the code straight from the documentation but it isn't working though because it doesn't know where any of the mentioned classes are (mono image, color image). I've been looking around in WPI LIB and stuff trying to find where the classes are so I can reference them properly, but to know avail. Anyone got any working code that they'd be happy to show me? Or at least tell me where the classes are?

Code:
ColorImage *image; 

MonoImage *luminancePlane = image->getLuminancePlane();
vector<EllipseMatch> *results = luminancePlane->DetectEllipses(&ellipseDescriptor, &curveOptions, NULL, NULL);
printf("Found %d ellipses\n", results->size()); 
delete luminancePlane;
__________________
Yes I'm Aussie, and yes I ride a kangaroo to school.
Yeah bruduz!!!
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Is anyone using the Camera? GillSt.Bernards General Forum 19 05-03-2009 21:52
Getting the Image from the Camera Using Windriver (C++) computerish C/C++ 0 17-01-2009 16:03
Where do I begin to get the robot to move using the camera? Ianuser Programming 10 16-02-2007 17:55
Using Easy C to program the camera. Tazlikesrobots Programming 5 19-02-2006 21:33
How many teams are using the Camera? Matt Goulart Electrical 3 30-01-2005 09:29


All times are GMT -5. The time now is 02:00.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi