"AFj's PhD" blog was created in 2004 to report on-line the PhD work of Alfredo Ferreira (Jr). After finishing his PhD in July 2009, the posting was suspended.
However, after several requests, the blog was reactivated in October 2010."AFj's PhD and after" blog will provide information on Alfredo Ferreira's work as a researcher in INESC-ID and his activities as a Assistant Professor at IST/TULisbon.
Wednesday, January 18, 2006
BareHandCALI
In the last couple of days, I have been, with Ricardo Jota, developing a prototype to test the behaviour of CALI library in hand pose detection. We had just finished the preliminary version of BareHandCALI. This version uses a standard web cam and simple computer vision algorithms to detect hand contour. This contour is analysed by CALI and extracted features are presented on screen.
Friday, January 13, 2006
Reading XML with TinyXml
The next version of EditION tool should support template-based entities. These templates would be specified in XML files. To implement this feature, I need to integrate a XML parser into my VC++ code. After comparing a few libraries, I chose TinyXml. This simple, small, C++ XML parser is powerfull enough for my need and very easy to learn. It took me only a couple of hours to learn how to use this parser and it was very easy to integrate in my code. I strongly recommend TinyXML to anyone who wants to manipulate XML data in C++.
C++ versus MatLab
After a discussion with the MultimodalPainter senior students regarding performance of RGB to HSV conversion algorithm in MatLab, I decided to compare the time needed in MatLab and C++ compiled files to run a very simple algorithm. To that end, I wrote the following pseudo-code in both programming languages:
Using as input an integer matrix M with size 350x350 , this simple algorithm proved to be a good choice to show the performance differences in MatLab and C++. Below are the results obtained in informal tests:

Based on these results I made no comments. I just want to point out that the test programs took less than five minutes to write and run from scratch in MatLab, but more than twenty minutes in C++ (including the matrix creation and time measuring routines incorporation).
Function SimpleCycle(Matrix M) {
ACC is a dummy variable
ACC = 0
for each line L in M
for each column C in M
ACC = ACC + value stored in M(L,C)
return ACC
}
Using as input an integer matrix M with size 350x350 , this simple algorithm proved to be a good choice to show the performance differences in MatLab and C++. Below are the results obtained in informal tests:
Based on these results I made no comments. I just want to point out that the test programs took less than five minutes to write and run from scratch in MatLab, but more than twenty minutes in C++ (including the matrix creation and time measuring routines incorporation).
Tuesday, January 10, 2006
Freeing space in server
I've spent a couple of hours "helping" our server administrator. To that end, I backed-up of my files in the group server and then I made a selective clean up. This way I freed more than 200MB from the "/home" volume. Unfortunately, I am not the major responsible for the lack of disk space and this 200MB means less than 1% of total volume size.
Thursday, January 05, 2006
BibTeX in resources page
I added a field for the BibTeX reference in my PhD resources page. Using JavaScript, XML and XSL I inserted a small button in each entry to open a pop-up window with the complete BibTeX reference, when it exists for that entry. One example of this new feature can be viewed in entries of "3D Models Retrieval" resources page.
Tuesday, January 03, 2006
Camera-ready version submitted to WSCG
The camera-ready version of our paper titled "A Calligraphic Interface for Managing Agents" was submitted to 14th. International Conferences in Central Europe on Computer Graphics, Visualization and Computer Vision (WSCG 2006).
Tuesday, December 27, 2005
My PhD resources page
To organize the resources I use in my PhD research, I created a web page to list relevant references. The first version of this page, xml-based, is now available here. I hope it will help me in the future.
Monday, December 26, 2005
New MSc webpage
I created a page for my MSc work at the CG&M website. Currently, it is a preliminary version, submitted for appreciation to my advisor, but the revised final version could be used to define the template for MsC's web pages. This page is available here. Any comments or suggestions will be appreciated.
Thursday, December 22, 2005
First phase of DecoSketch II user testing
Today, I've helped our students at the first phase of user testing within their "DecoSketch II" senior year project.

A testing session.
A testing session.
Monday, December 19, 2005
Released blog for my weekly reports
Finally I found a solution for the weekly reports publishing problem. This solution was a compromise between sending these reports by e-mail to my advisor and publishing them in this blog. I created a new blog just for my weekly reports (in Portuguese).
Sunday, December 18, 2005
Last weekend for Christmas shopping
... for lots of people. Not for me! I'd rather prefer to paddle in the Tagus river. A few photos of this trip are published in a fotos.sapo album.

Kayak trip on Tagus river, this weekend.
Kayak trip on Tagus river, this weekend.
Thursday, December 15, 2005
Second version of IR project proposal
A second version of the project proposal for the Information Retrieval course is ready. Now, it will be submitted for approval.
Wednesday, December 14, 2005
Correct abstract for WSCG 2006
Tuesday, December 13, 2005
Paper acepted at WSCG 2006
Our paper titled "A Calligraphic Interface for Managing Agents" was accepted to be presented as as short communication at the 14th International Conferences in Central Europe on Computer Graphics, Visualization and Computer Vision (WSCG 2006). Now, we need to correct the abstract, according to reviewer's comments, until December 16th. Then, we need to produce a camera-ready version of the paper by January 3rd.
Monday, December 12, 2005
Out of Office
For several reasons, last week I have been out of office. Thus, no real work were done in this period of time.
Friday, December 02, 2005
Converting editION to VC++7.1
After a couple of months on the hold I restarted my work in the editION prototype. However, during this period of time I had updated the C++ compiler from VC++6.0 to VC++7.1. Thus, I needed to make a few changes in the prototype. The more mind-boggling task was related with socket communication. I could not understand, but exactly the same code that before works well, now doesn't. It only started to work well when I forced the system to wait for connection, blocking the GUI. Before it could go on normally and if after a given timeout, the connection could not be established, a error message was displayed.
Short Survey on Tablet PC's
We need to buy a new Tablet PC for our research group. Therefore, I made a short survey in leading brands: Toshiba, Acer and HP. In my humble opinion I think the best offer is the Acer Travelmate C200, but the final decision is not mine...
PhD 2005 yearly report submitted
My PhD 2005 yearly report was submitted to the department server. Next monday I will deliver a printed version of it, signed by my advisor, in the department.
First draft of IR project proposal
The first draft of the project proposal for the Information Retrieval course is ready. Now it will be reviewed in order to produce a more elaborate version of it.
Subscribe to:
Posts (Atom)