Morning was spent dedicated to adding methods to our class diagram for the Lightdraw controller and DisplayManager. The libraries were left alone for the time being as they are the easiest to do (as the Lightdraw controller would just pass on calls to it).
Another thing that was discussed was how to allow a developer to make use of the plug-in architecture to write his/her own menu and add it to the Lightdraw package.
In the afternoon, focused on improving vertex detection by enforcing the light to be within a certain range from the initial point instead of just any where in the square (think resize range + draw implementation) and helped JL to improve the original Lightdraw code to implement the similar feature in it.
Tuesday, 29 January 2008
Mucked around with creating a custom structuring element in an attempt to apply a structuring element to the morphological thinning. Learnt quite a few new things like how structuring elements work, how its grid size works, etc.
I also found something new today: 509 Error is a "bandwidth exceeded" error returned from the server.
Anyway, just side track a bit, I found this very interesting post on the yahoo group. Please note that this is not posted by me, and the author is at the bottom of the post.
You can use "cvGetSeqElem" function..
This is my simple example of finding center point of contour.
------------------------
CvPoint pt[CLENGTH_MAX],center={0,0},ptk={0,0};
cont_no = cvFindContours( segbw, storage, &contour, sizeof
(CvContour),CV_RETR_EXTERNAL, CV_CHAIN_APPROX_NONE);
for( ; contour != 0; contour = contour->h_next )
{
CvSeq* result = contour;
for(i=0; itotal; i++)
{
pt[i] = *(CvPoint*)cvGetSeqElem( result, i );
//printf("%d %d : %d\n", pt[i].x, pt[i].y, result->total);
center.x += pt[i].x;
center.y += pt[i].y;
}
center.x /= result->total;
center.y /= result->total;
:
:
}
------------------------
Good Luck!
Tommy Kim.
Wednesday, 30 January 2008
The learning point for today is to spend some time to write proper reports. Why do I say so?
It was something that Kevin said that made me thinking back to my mid semester presentation on Lightdraw and a lecture in school (I think it was SSM) ponder about it.
There are already many developers out in the industry working for years now and given their technical skills, they make excellent developers for various projects. However, why do some of them get stuck in the development sector, being unable to move on to more important jobs like a project manager or a sales engineer?
Well, I believe that the answer has got to do with reports and presentations. Someone once said - "A good software system is nothing if no one wants to use it". Which is pretty true - if the sales and marketing team or project manager is unable to convince (potential) stakeholders on investing or using the software system, it will just be another white elephant (no pun intended) shelved away.
Reports and presentations are important to bring across the messages and ideas which one might have. It also has the power to convince the listener on why he should invest his time and money into the project or system. I guess we cannot run away from the fact that our IT systems will be used by business and thus need a solid business plan to accompany it.
Kind of reminds me on Imagine Cup last year, where although the software system may be the best there may be, without being able to articulate our advantages across will mean nothing to the judges.
And now, its back to my report.
Thursday, 31 January 2008
Nothing much to talk about for today for no actual development work took place. It is more about the report and OO design of Lightdraw. For the OO Design, we contemplated of having signals and slots structures managed by an event handler, and the discussion of whether we needed it or not.
Friday, 1 February 2008
Today is spent in school at the career fair.
Oh well.
Reflection of the Week:
I was at career fair on Friday and took a look around at the various booths of potential employers as well as the booths of universities. I also attended various talks about potential job applications from employers, such as PA, CAAS and Thatz, and University talks by NUS, SMU and NTU.
I also met one of my previous math tuition friends, Charlene. And we recalled the last time that we were back at our tutor's place being referenced by the format (school name) (secondary level) (boy or girl) (any other info e.g. tall). The arriving in our school uniforms every afternoon with our other barang2 at 2.30pm or 4pm and doing our questions through the afternoon silently, only asking our tutor when we needed help.
Later that day over dinner, I was amazed with how fast time flies. I can still remember myself at orientation back in 2005, the first time meeting my care person, my Alice project (first project in polytechnic) and JPetWorld. In fact, all the way back to my maths tuition teacher's house (even before polytechnic days) - pouring over the questions and working out the answers absentmindedly.
3 years later, I'm now at the end of my polytechnic education, thinking of which university to apply for. What happened during these 3 years? Well, the answer to that would include the juggling of my various commitments, projects, events, getting to know more people over time and making new friends across TP's 5 faculties, and many others. It is very shocking, daunting yet exciting that in May, we would graduate from a place we called school (or for some, home) for the last 3 years and move out into a broader playing field full of opportunities and new experiences.
Time waits for no man. It is what we make out of it.
Once again, we put another chapter behind us and move on to the next, bringing with us the progress of the storyline and its characters. At the end of each chapter, we are just a fraction closer to the end of the book.