Tuesday, November 30, 2010

Stereovision - Cam Whore *winks*

As this project progresses... I came out with many difference names and this is the best one..
 " Da Cam Whore "

Sorry for not blogging, I am very busy with my schedules till I am very darn lazy to update my blog.
Now what I have to say here is that I had finally completed the first phase of this project and now what is left is documentation and some minor tweaks and optimization.


The hardest thing about this project is the calibration and rectification.
 You have to make the cameras row aligned.
When it does, everything will go well. 
I spent days on adjusting the BMSTATE parameters and it turned out to be calibration failure....
So... tons of calibrations have to be done...

This is the disparity map.
When an object is near to the camera, it is brighter than those which is further.
Strangely enough, what I got here is opposite... heck care... 
as long as I have a correct output...
*bad engineering attitude ~.~*


Eventhough the disparity map is inverse, all I have to do is to change red to blue and vice versa..
simple right? 
As you can see in the picture, the 3 cat dolls have different colour value which 
indicates how far they.
Not too shabby for a beginner right?

The effective depth is 30cm to 250cm anything nearer or further is not that clear.. This is where phase 2 comes into action...





Above are some pictures of the rack which ma team has produced.
I stucked the cams with super glue after manually row align it.
 This is very important in order to get a good depth map..

So... please take a good look at it, we are going to dismantle it and move on to phase 2

A little briefing on phase 2, it is called "multiple baseline awesome stereovision"
 (for now)
Well, I will not update more on this topic due to some....
some.... ... ...
Dude... I need privacy and secrecy.... 
Everything from now onwards are my team's secret. 
Ma manager has a strict policy on this =x

Before I end, I need to thank my supervisor mr.T and dr.T for giving us guidance and support...

Take care~



Wednesday, November 17, 2010

Status Report

What a semester... It has been... how long izzit? gosh I Can't even tell which week is this... cause I don't care XD

I am only taking two subjects this semester and it is smooth sailing right? WRONG !!! Busy Busy Busy semester... haha

Just taken Project Management Mid term... It is nothing but a memorizing game... *yawn* but who to blame? Actually it is not bad... When I ask you what you know about ... for example, functional matrix... I know you know what is it, but can you elaborate more? What about it's advantage and disadvantage? Can you answer it instantly without giving you a day to think of the answer? This is what I realize... It is to improve your ... soft skill and knowledge? Well, I don't know... Just do what the subject wants us to do and try not to think much... Regarding the exam... it is swell.. .got a feeling this sub is damn hard to fail but easy to score sub... haha

Remember the video I post? If you missed it, here's the link :
http://mr-awesomer.blogspot.com/2010/11/dice-design-outside-box.html

I am soooo going to rock the project management presentation with my teammate Heng. We are damn motivated by the presenter in the video <3

I am busy with the Student Conference 2010 which is going to be rocking @ 20 and 21 November (this sat and sun). It must be awesome or else I would not be in it... My role? well, cleaning.. and chair session, nothing much. I've been told to read from a paper *laugh* Let's hope my nervousness would not get me this time... Imma be rocking @ Project Management awesome presentation... so this should be my time to practice... Appreciate it ---

We are doing vigorous preparation @ PJ campus.. I heard my boss that we may even camp out there... Hope there aren't any "good friends" there -_-

Another thing I wanna mention... Smart car competition... wow... the due date is nearing, the car? It is not finishing -_- I am also being invited to join the second phase of this project.. Hell now... I am not going to be dragged into such a project...

Gosh... I sure hope I could tell you how frustrated I am now... Desire kills... This is what I will have to say... But with no desire, there is no motivation... Right now, I have no more directions... I screwed my life and finding ways to straighten it... maybe a bent life is better?

Btw, just watched Bolt from Disney Channel <3 This little character really resembles me XD

Rhino The Hamster !!

Dude, he is AWEsome XD

This is all I have to say for the being, check in regularly for more updates =D

Friday, November 12, 2010

DICE: Design Outside the Box

What a beautiful day ~



Pictures really speak for themselves don't they? Woke up, attacked some boobies @ backyard monster bla bla bla same daily routine.... The moment I start ma car engine and hit on reverse... HOLLY !!! How come my car won't move? Then I switched to Drive... and again... WTF !!! Then I knew something was wrong.... well... I had this little experience last few weeks... something stucked on my engine or something like that and I can's start ma engine and I got down and checked.... 

But this time, I am really shocked.... Getting your tyres flatten @TBR is common scene.. but this is really holy shit.... Two of my cute tyres went missing.... Immediately the first person I call... is John, ma manager <3 after that is my mum to fix my car XD

I ain't a big fan to the term "karma" I mean... As long as I am awesome, no matter what I do, I will be forgiven right? Well, now I have no way to argue back.... Ma friend kept say this year for my zodiac is "犯太岁" year... Which means whatever you do, it won't go smoothly... hmm.. maybe attacked too much backyards and they curse me .... haha...

Here is a brief list of what happened to me this year:
Broke up with someone that I do not want to mention ( a good thing)
tyres flatten 2 times (common)
A column come and bang my car in someone's holy shit condo
Clammed by that holy shit condo... 
Piano became chibi (sustain pedal not installed properly)... and the tuner do not want to fix it....
bla bla bla... (forgot... )
and this shit.....

Gosh I really had a busy year, by analyzing the trend of stuff happened to me chronologically, it all started after she left me... maybe she is my lucky star or something? I mean, it is smooth sailing when I was with her... I even nailed the stupid piano grade 8 exam which is impossible for me... Or... maybe... I am not allowed to stay single for too long ?

Academically... I am not doing that well, as you know, I got myself involves in too many projects... The student conference is next week, woots.. dunid to be a driver, call me MC Effing AWESOME... *cough*

Smart car... I have no idea what's going on... personally I feel that the circuit ain't robust enough.. let's left it to mr kock to settle. Seriously I have no kick in participating this anymore... Wonder whies....

Stereovision is doing fine... but.. variabe baseline? It only exist in fairy tale (for me)... 

Project Management is doing swell, thanks to my imba teammate and my pro manager <3 Will be having a small exam next week which I may neglect =x

Critical thinking... wow.. this subject is really something... for the first time I am not very clear who is in my team... maybe course or generation gap.... well... as long as they work... then that's fine... I will try my best to give them my fullest support or... aid... if they ever seek me for any.... ~.~

Heck cares... As long as I stay awesome, I can breeze through any difficulties just like that =D
I mean... It will only be aweso without me right?...

*chills......*

Stereovision - Ma Legend lives on

 Had a little meeting with ma supervisor, he said that our progress ain't bad, thanks to my incredible skills + awesome looks <3
We fixed the baseline (distance between 2 cams) and hopefully the calibration and the output will be better...
Below is an image of the tempo prototype fixed baseline stereovision hardware setup.

***I didn't build this... credits go to my teammates which are incredible =D


Ignore the messy background please.... too busy (lazy ;P) to tidy up... 
I am totally hooked up wif ma lappy and my butt sticked to the chair ~.~


 
The rectified image... I can't tell if the images are really rectified... What I heard from ma supervisor is that they are rectified.... 
Seeign the image far far far away... It seems that they aren't aligned, however when I place a chessboard in front, it is clearly rectified... well... If anyone can tell what am I doing, do tell me.... 
I just applied the formulas blindly XD


Ignore the menu name... It is actually the disparity map, It is not very clear and noisy... I am actually able to craete a 3D image however it is in gray image... What ma supervisor wants is to have a temperature/heat map.....
*I am lazy to print screen the 3d map... maybe I will directly put in the heat map when it is done? =p
I go through almost all of the sources and can't find a function in OpenCV that could map out a depth based heatmap... I will be truthfully appreciative if anyone can provide me with such a function... 

Genius old me came out with a plan... Theoretically, stuff that is nearer to the cams tends to be brighter ( in gray scale) I could extract pixel by pixel on the gray scale level, then by using super imba colour threshold histogram thingy, I can convert it to RGB or something which is near to a heat map.... Well.. This involves a little dedication and time... which I am lack of (lazy).....

Another thing... The 3d map seems to be a little... noisy... Some OpenCV such as pyramid thingy and image filtering can be used to smoothen out the 3d image..... 

Well... what I can say is.... stay tuned and do comment if you have any ideas  =D


Monday, November 8, 2010

Stereovision - Rack Completed

yea, finally the rack done... I know it is structurally poor, but as long as it serves our purpose, heck care... this is to save cost XD....



Meanwhile back home, I am still struggling to complete the stereovision program...
The stupid cvRemap() got problem... it can't process the data I sent in... Still working on it >< 

Friday, November 5, 2010

Stereovision - Calibration

Well.. try to go through the guide... but got bored and planned to go straight to the point... the sample code was a bogus... well mainly it's my problem for not going through all the details... luckily I found some other codes online =x 


It's like a one stop station XD and of course... 
Spent nearly 2 hours doing calibration... luckily,
it worked....


Above picture is the calibration of the camera... well... CV provides the functions and I have no balls on what is going on.... Maybe engineers do not need to know so details and just apply? LOL digest the codes later 
-_- now effing bored....

Before calibration

After calibration (undistorted image)

A comparism of before and after calibration... well... the undistorted image seems pretty distorted to me.... but... need more studies... doncha agree ?

Thursday, November 4, 2010

Stereovision - Shopping Spree

Bought 2 Logitech Webcam cost about RM200.

Can't say it is a good purchase yet... haven't tried them, still in my teammate's house. What I got from him is that it is working fine and can work 2 cams using a single pc... provided he used some freeware... However the freeware can't fully unlock the cams' full potential... Let's hope that this purchase was wise.. ~.~


Logitech C300

Gosh they really creep me out... like peeking me all the time ~.~ hate cams.... 
Moreover, we bought material for the frame frame. After some discussion and quarrel bla bla bla, we came out with a frame model... Will start work next week... 


See this? XD you do not need any software to operate 2 same brand webcams simultaneously... All you need is some good lookin' and a functioning brain... DAM I am hawt ~.~

Looking at this I smell trouble.... the cam head can rotate 360 degree... the light intensity is a bit off... and the clippers... well... no idea... mechanical team really need to work hard to solve these problems... 

Let's be a bit more optimistic shall we? What I can see here is that we may do not need to calibrate... I think... coz the image does not curve... maybe they had already been auto-calibrated.... less work for mee ^^

Will start work tomorrow... that's all for today.. I am effing exhausted... Just celebrated my friend's bday... Had you ever seen a zombie go bowling? That's me!! *Proud* so tired that I almost go wrong lane and help ppl "longkang".... 

Stay tuned for more updates on this field ^^ due date is end of November, hope I am able to make it =(