All entries for November 2006
November 19, 2006
...shotgun bullets are bad for your health
Here is the first draft of the presentation… Any changes we make, i’m happy to go over in the meeting tomoro… but i’ll be cranky cos i’m gonna have to wake up before 8 :(
- original video
- the (median dilated) blob mask
- the full contour image
- the model
They’re both avi files compressed with DivX, and should be fine for presentation.
The code: Download
So far the code displays pictures that have been filtered by the blob and then the contourProcessor applied. WIth the model overlayed in red, which is what the model percieves to be the person.(Hoi correct if im wrong)
currently all it does it display this and does not use it in a useful way, some means of calculating what direction the person is heading in needs to be created. To give the robot as well as means of grabbing the images into CImg format.
but other than that we are getting there.
Also talking to Matt in CS, said that the lists in cpp are very inefficient and it might be worth converting them back to vectors if performance is too slow.
Hi I’ve split up all the slides into the follow descriptions. Could everyone who wants to talk in the presentation please let me know and also let me know if you’d want to talk about anything specific listed below.
Introduction and project overview
Visual Person Tracking Algorithms
- overview on types of algorithms etc.
Contour overview + Canny Operator
Comparison table – advantages/disadvantages
Our step-by-step implementation (pictorial step by step + explanation)
- Class Hierarchy and Flow Control Diagram
 gets image from webcam
- Normal image
-  sends image for processing
- choose processing type
[2a] blob-based mask
- blob picture
- when to use this feature
[2b] contour image
- contour picture
- when this feature is used
[2c] histogram-based mask
- histogram picture
- when to use this feature
 Contour processor (compares current and previous contour images)
-contour picture of two images in a film
- advantages of masking
-  Robot Moves
- Video of program running
Video of moving Robot
November 18, 2006
Almost there guys!!!
We’ve managed to start putting the classes together and neaten up some of the code. So far the colour blob, edge image, and filtering of these two work fine. The code is currently able to display this filtered image.
Histogram is broken at the moment, so Chris is going to try to fix it when he gets back from home after this weekend. The contour processor has been converted by Ant but is completely untested and isn’t implemented so that can be done tomorrow.
I’m getting some pictures done for Nick to use in the presentation and will also try to get a 4 way split movie going showing all the stages of the program. Nick’s writing the rest of the material at the moment and I’ve asked him to post the slides up when he gets half way through just so we can follow the progress.
November 17, 2006
RobotInterface is here
The idea is to create an instance of the RobotInterface class. When initialised it will open a dialog window showing live feed from the webcam – unfortunately the user has to select the right device (the webcam) from a combo box and click ‘initialise’ – tried all morning but couldnt find a way around this as the code given isnt abstracted away from the combo boxes etc…. My C++ skills arent up to seperating them i’m afraid!!!
Then we should be able to call RobotInterface.SaveImage(), which grabs an image and saves it to “camimage.bmp” in the app directory, which can then be loaded by the CImg stuff. Again, can’t find a way around this but as we are talking about pretty low level API calls hopefully it will be quick enough to do one or two grabs a second.
Not sure if the main file should really should be RobotInterface.h instead of .cpp – anyone help???
ps Tom – I have modified DXCapture.cpp and DXCapture.h so these files aren’t the same as the ones you will have been working on – just so you know!