2008. február 27., szerda

Leendő kinevezés

Egészen meglepő módon, ma elhívott beszélgetni a céges csoportvezetőm, és bejelentette, hogy őt valószínűleg át fogják helyezni, ezért kell egy utód, és engem ajánlott a posztra. A meglepő, hogy még csak a próbaidőm végét töltöm... :)

Optical flow, fixation points...

I did not commit too much things last days: I'm studying the optical flow algorithms provided by OpenCV and the best way to select good features to track on the image.

2008. február 25., hétfő

Rajzolgatások



A fenti képeken látható műalkotásokat a 13 éves Olívia követte el, az egyik féllányom. Az első kép tartalmához nem lehet sok hozzáfűznivaló. Engem ábrázol, bár nem hinném, hogy sok köze van a valósághoz, a második egy Totoró akar lenni, a harmadik pedig egy döglött Muumi, akiből éppen távozik el a lélek (épp viszik el a mushik).

2008. február 21., csütörtök

Windows is an secret animal...

The equation is very simple. Print a simple one page document from Word under Windows XP. After some seconds, the computer is frozen, the printer is halted. Then restart the computer, try to print the document again....no, stupid situation, the document is sticked in the printer queue and no chance to cancel it. Thus, printing is broken from this point.
Neither Linux is the best animal nor Windows.

Új mosogatógép+szanálás

Na, ma tönkrement a mosogatógépünk, volt is nagy szívbajom, mivel most ezen a héten itthon dolgozom, a múlt hétvégi incidens miatt, és még a gyerek által generált sima hátimunkák mellett még a kézi mosogatás is ránk esett a gépi helyett, hát eléggé szomorúan morcos lettem. El is kezdtük keresgélni egy finn csóka számát, akitől a kedvesem korábban beszerezte a háztartási gépeit használtan.
De akárhogy kerestük, nem találtuk...ez még jobban lelombozott, és próbáltuk a lakás felforgatása mellett az ismerősökön keresztül is megtudni az infót. És ez utóbbi sikerült is, felhívtuk, és már jött is rögtön az új. Kikaptuk gyorsan a régit, kiszanáltuk a mosogató alatti szekrényt, ami már régóta húzódott, és még ismerősök is voltak itt nálunk, akik időközben elvitték a csajokat korizni. Izgi volt mosogatógépet cserélni, miközben vendégeskedés is volt, de sikerült.
Úgyhogy egy csomó dolgot sikerült ma elintézni, és új mosogatógépünk is van, ami bár használt, teljesen újszerűen néz ki. Nagyon örülünk neki, éppen most járt le az első mosásunk, és sokkal jobban mos, mint a régi, amivel már voltak bajok. :)

2008. február 14., csütörtök

OpenCV+IPP 2.: Profiling hell

I would like to profile what is going on with this, because it would be very nice to use this, because it is uses both CPU core parallel, thus I should not take care about run two different process to take advantage from multiple cores in the future.
I spent some hours to profile my library, because sprof said after run FindShapes with profiling the library:

sprof: failed to load shared object `libmyLibrary.so.0': No such file or directory

I tried everything and it was very suspicious that google said nothing about it.... After reading some additional articles about shared library profiling I found that the libraries and the program being run should not be compiled with profiling feature, because it confuses the profiler:

"...For the same reason, these applications must not be compiled with the -xpg option of cc..."

Why do the man pages related to profiling not say anything about it?...Mysterious... Search futher...Found: gprof does not support multi-threaded applications and "gprof is useless in today" from Ulrich Drepper, its author in 2002. Hey!? What the fuck'n shit? Out-of-date and it man page misses important points of its usage, then throw it in the trash. Please.
Thus, after recompiling everything without profiling, trying to use gprof and sprof without success, the last chance: oprofile and I have luck, there is a nice UI made by OpenedHand and repository for feisty/gutsy. I installed and it works, great! :)
Thus what is the profiling result?...

2008. február 12., kedd

Optical flow gives random result...

I tried two kind of optical flow algorithm in OpenCV: cvCalcOpticalFlowHS and cvCalcOpticalFlowLK, but both give me random velocity matrices...something is bad....