Mar 18, 2012

disparity


for computer vision: disparity
for computer graphic: light map

Oct 25, 2011

Me

Easily frustrated, easily inspired, that`s me.

4x4


4x4 in App Store


沒什麼人下載,從下載量跟分數看來,有七分之六的人下載後連第一關都沒過,可能是介面太難操作,也可能是二位數加減法太難了。寫到這裡忽然想起小學老師總說:「米國人買東西結帳一定要用計算機才算得清楚。」難道……這就是這個App 最致命的缺點嗎? XD

Oct 10, 2011

單車:北海岸

20111005
下午一點半出門,晚上八點五十到家,基隆出,淡水回,超累!

May 22, 2011

Glow and glow!

上個月想不開,從家裡走到士林夜市去,在承德橋上用iPhone 拍的:

隨便處理之後:

我對寫程式把圖修好的興趣可比直接拍出正常的相片高多了。

May 6, 2011

九份

今天早上七點半開始騎,準備上九份去買草仔粿!感覺騎了好久才到八堵火車站啊!


好不容易看到九份的門牌,也到了全程最最最難的路段了!


不過鐵頭我還是騎上來了!邊吃御飯團邊拍照!


然後去買草仔粿……老闆,我要打十個……我要五十個 XD

下山後瑞芳站總算沒什麼人了,停下來隨便拍了一張!

然後開始宅配草仔粿,先送十個到汐止,送二十個去公司,再拿十個去前公司,最後回家剩十個(聽說我媽很愛吃這個,就當作傳說中的母親節禮物 XD)

May 1, 2011

碧山巖

早上帶著iPhone就往故宮出發了,這還是第一次騎車到碧山巖,上次拜訪碧山巖已是國二的事了。坡度比到風櫃嘴陡很多,應該可以不落地的龜速到頂,不過中間用這條小徑當作休息的藉口,停車拍了張照:


有許多暴陡的路段,上半身幾乎要貼到龍頭上才不致翻車……到開漳聖王廟前看到了這吊橋,不知道對面有什麼風景,有機會再過去看看吧,把單車弄過去應該是不受歡迎的,而且感覺有些累啦!

碧山巖:


從這裡可以看到一〇一,在右邊的霧裡:

下午照例到伯朗咖啡報到,因為怕騎完車太累會打瞌睡,這次改喝美式!


Feb 1, 2011

對弈帕多瓦


很久沒下棋了,在帕多瓦用小黃的iPad下了兩盤,完全不知道自己在下什麼。 XD

Jan 15, 2011

2011新春特輯之一

今年的斯配科明明就沒有銀票,卻莫名其妙的有銀票的單……果然斯配科是沒人看的!




p.s. 手超酸的!
p.s.s. 本來想寫「大清咸豐十二年」的 XD

Jan 13, 2011

篆刻:平安

XD

Dec 19, 2010

首爾二、三事

因為不知道怎麼問「這是幾人份?」,所以最後指著綜合口味的pizza並豎起右手食指!比pizza hut的大pizza小一點,應該可以吃完,不過吃掉3/4後因為還想繼續探險,所以打包了剩下的1/4!可樂也剩下半瓶。因為路上很冷,所以回到旅館時已經是冰pizza跟冰可樂了!(加可樂7000₩)


每天轉電視都有人下棋!看過一局等級似乎不高的棋,所以應該不全是職業棋士在下。如果是以前我一定會很羨慕韓國人!


另外每次轉電視都有一台在播星海一的對戰!

SIGGRAPH ASIA 2010

第一次參加 conference,


paper 好多!


動畫好棒!


韓國好冷!

Oct 9, 2010

kMean-2

Iteration = 2

Iteration = 3

Iteration = 4

Iteration = 5

Iteration = 6

Iteration = 7

Iteration = 8

All with k = 6.

Oct 8, 2010

kMean

k = 16

k = 8

k = 4

k = 2

All in 2 iterations.

Aug 28, 2010

Lua + Image

I usually works with images, and have to write many code even only for a simple testing. Now I try to implement toolkits with Lua, hope that I can do more things by the help of script. With the script below:


function Main()

local img0 = Urd.CImage32F();
local img1 = Urd.CImage32F();

img0:Load("D:/img/NTU/106009.JPG", Urd.ChannelL);


CImageProcessor.GaussianSmooth(img1, img0, 7, 7, 2.0, 2.0);
CImageProcessor.OperateImgNImg(img1, img0, img1, Urd.OperatorSub);
CImageProcessor.OperateImgNScalar(img1, img1, 10.0, Urd.OperatorMul);

img1:Save("D:/img/ttt.jpg", Urd.ChannelL);

end


I got this result :


They are "C like" since I implement them in C with the same function and class name. Hope this will become useful in a few days.

Aug 8, 2010

Blur (Image) - Image


Nothing special, I just wanna update my blog.

Jul 18, 2010

G1S was down !

Now I have 2 choices: buy a new PC, or repair G1S. G1S was down, but ASUS never let me down. I won`t buy their notebook again.

Jul 14, 2010

塗鴨集









新玩具!

Jul 2, 2010

Simple Extension for wxFileDropTarget of wxWidgets


//--------------------------------------------------------------------------
class CWxDnDSink
{
public:
CWxDnDSink();
virtual ~CWxDnDSink() = 0;

virtual Result OnDropFiles(wxCoord x, wxCoord y, const wxArrayString& rFile);
};

//--------------------------------------------------------------------------
class CWxFileDropTarget : public wxFileDropTarget
{
CWxDnDSink* pDnDSink;

public:
CWxFileDropTarget(CWxDnDSink* pSink);
virtual ~CWxFileDropTarget();

virtual bool OnDropFiles(wxCoord x, wxCoord y, const wxArrayString& rFile);
};


Then every wxWindow can inherit CWxDnDSink, and SetDropTarget with a CWxFileDropTarget object. Quite simple and useful for me since I don`t want to write new drop target every time (like the dnd sample).

Jun 14, 2010

HDR - 8

FINALLY !!!