Click here to Skip to main content
15,887,175 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Deleting a single point from a quadtree Pin
Richard MacCutchan22-Mar-10 11:07
mveRichard MacCutchan22-Mar-10 11:07 
QuestionRe: Deleting a single point from a quadtree Pin
Chidori-chan23-Mar-10 8:52
Chidori-chan23-Mar-10 8:52 
QuestionRST Template Matching Pin
cherrymotion22-Mar-10 6:20
cherrymotion22-Mar-10 6:20 
AnswerRe: RST Template Matching Pin
Tim Craig22-Mar-10 9:45
Tim Craig22-Mar-10 9:45 
GeneralRe: RST Template Matching Pin
cherrymotion22-Mar-10 11:05
cherrymotion22-Mar-10 11:05 
GeneralRe: RST Template Matching Pin
Tim Craig22-Mar-10 13:48
Tim Craig22-Mar-10 13:48 
GeneralRe: RST Template Matching Pin
cherrymotion23-Mar-10 11:18
cherrymotion23-Mar-10 11:18 
GeneralRe: RST Template Matching Pin
Tim Craig23-Mar-10 12:53
Tim Craig23-Mar-10 12:53 
I was looking for the traffic cone as an experiment in seeing how difficult the vision system for a RoboMagellan robot would have to be, also to get some practical exerience in color matching and alternative color schemes, HSV, HSL, etc. I didn't really care about the orientation or size, only position relative to the camera since one way or another the robot has to turn and drive straight to the cone. If I wanted the orientation, I'd use the higher moments of the cone in the image to get its principal axes.

To find the cone, I simply ran through the image tagging pixels as cone or not cone until I had a binary image. I fed that to the blob library and kept the largest blob assuming it was the cone. Since RoboMagellan is run outdoors, finding international orange in your image is a pretty good predictor of it being a cone. You would also have the GPS coordinates of the cone so you have a fair idea where to look, although last year Camp hid one behind a tree. Turns out that any color scheme which separates color information from luminance works way better than native RGB (or BGR as OpenCV insists on Dead | X| ). If you're not familiar with RoboMagellan, the rules are here[^]. Some pictures of an actual even at RoboGames 2009[^] that I took. Shucks | :-\
You measure democracy by the freedom it gives its dissidents, not the freedom it gives its assimilated conformists.

GeneralRe: RST Template Matching Pin
cherrymotion25-Mar-10 6:46
cherrymotion25-Mar-10 6:46 
QuestionModeless dialog frame sizing in MFC MDI Pin
Vaclav_22-Mar-10 3:38
Vaclav_22-Mar-10 3:38 
AnswerRe: Modeless dialog frame sizing in MFC MDI Pin
KarstenK22-Mar-10 5:00
mveKarstenK22-Mar-10 5:00 
GeneralRe: Modeless dialog frame sizing in MFC MDI Pin
Vaclav_22-Mar-10 6:02
Vaclav_22-Mar-10 6:02 
Questionlarger toolbar images Pin
josip cagalj22-Mar-10 1:12
josip cagalj22-Mar-10 1:12 
AnswerRe: larger toolbar images Pin
mesajflaviu22-Mar-10 8:55
mesajflaviu22-Mar-10 8:55 
GeneralRe: larger toolbar images Pin
josip cagalj22-Mar-10 23:27
josip cagalj22-Mar-10 23:27 
AnswerRe: larger toolbar images Pin
josip cagalj24-Mar-10 3:05
josip cagalj24-Mar-10 3:05 
Questionmaking a modelessdialog box as modal Pin
narayanagvs22-Mar-10 1:06
narayanagvs22-Mar-10 1:06 
AnswerRe: making a modelessdialog box as modal Pin
KingsGambit22-Mar-10 1:11
KingsGambit22-Mar-10 1:11 
GeneralRe: making a modelessdialog box as modal Pin
narayanagvs22-Mar-10 1:33
narayanagvs22-Mar-10 1:33 
GeneralRe: making a modelessdialog box as modal Pin
LittleYellowBird22-Mar-10 1:45
LittleYellowBird22-Mar-10 1:45 
GeneralRe: making a modelessdialog box as modal Pin
narayanagvs22-Mar-10 2:11
narayanagvs22-Mar-10 2:11 
GeneralRe: making a modelessdialog box as modal Pin
LittleYellowBird22-Mar-10 2:20
LittleYellowBird22-Mar-10 2:20 
AnswerRe: making a modelessdialog box as modal Pin
LittleYellowBird22-Mar-10 1:12
LittleYellowBird22-Mar-10 1:12 
AnswerRe: making a modelessdialog box as modal Pin
Mohan Ramachandra22-Mar-10 1:20
Mohan Ramachandra22-Mar-10 1:20 
AnswerRe: making a modelessdialog box as modal Pin
KarstenK22-Mar-10 4:53
mveKarstenK22-Mar-10 4:53 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.