Sponsors

Thursday, May 29, 2008

I waited in front of the computer like a fool.

****

Sunday, May 25, 2008

Hahaha

Common Test coming. May this amuse you a bit.

http://player.youku.com/player.php/Type/Folder/Fid/243426/Ob/9/Pt/4/sid/XMzkxNTk0OA==/v.swf" quality="high" width="480" height="400" align="middle" allowScriptAccess="allways" mode="transparent" type="application/x-shockwave-flash">

Friday, May 23, 2008

congratulations singapore

congratulations to Singapore for winning Pedra Branca

Tuesday, May 20, 2008

Sh*****************************t

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!! !!!!!!!!!!!!!
!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!! !!!!!!!!!!!!!!!
!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Monday, May 19, 2008

got it

Let me translate this short poem to English:

for once that was rich in emrald green,

now has become golden and vermeil.

At that moment, you will realize

everything we loved and hated

are of no difference in the end


I have got what it means.

Friday, May 16, 2008

No news

Now I really know what is the meaning of 'no news is good news'. Natural and man-made disasters, what else.

有人怨天尤人,有人付诸行动。

怨天尤人,因为第一时间绝望占了上风。

如果一切都是神的旨意,我们只能绝望了。

如果只是地理原因,我就想得通了。

到底什么原因,没有reach a conclusion.

我很少捐款,拿家人的钱做所谓“善事”很没道理。

这次情况比较特殊,也没必要“禀报”父母了。

希望一切都会好起来。

无愧于人,面对上天就无所畏惧。

Tuesday, May 06, 2008

[MATLAB] How to Change the specified pixel value?

Here are 2 images. Original and Processed.



Original Image



Processed Image

















I want to check the white pixels on the Processed Image with the original. If they are white on the original, make it black. If not keep them white.

The code I tried is like this:

>> [row, col] = find(Processed == 1); %Obtain the coordinates of the white pixels
>> if Original(r,c) == 1 %If on the original the they are white
Processed(r,c) = 0; %Make it black
end

Somehow the program doesn't work. It fails to remove any pixel on the Processed Image.

Search

Google