RSS
 

Archive for April, 2007

ETFE – material of the future.

30 Apr

Beijing water cube

ETFE (Ethylene Tetrafluoroethylene) is the building material of the future. This wonder polymer, a transparent plastic related to Teflon, is replacing glass and plastic in some of the most innovative buildings being designed and constructed today.

Great architecture works already use this material, it looks fascinating!

 

Usefull French phrases

29 Apr

General Chit-Chat

“Would you stop spitting on me while you’re talking!”
“Voulez-vous cesser de me cracher dessus pendant que vous parlez!”

“You’re a complete moron”
“Tu es completement debile”

Helping Others

“I’d help you, but I don’t like you.”
“Je vous aurais bien aide, mais je ne vous aime pas.”

“Do it yourself.”
“Faites-le vous-même”

“Stop bothering me!”
“Parle à mon cul, ma tête est malade”

The rest of useful phrases in French are here. A huge respect goes to the author! :D

 

Japan: reasons to live or not to live in the land of rising sun

29 Apr

More less 100 reasons not to live in Japan. The text is in French, so you can use Google Translator (translated results aren’t so awful!), or Google toolbar’s translation feature.

After you finished those lists, check out the post from the same blog concerning 1000 reasons of living in Japan!

 

News for gamers on Linux and OS X

29 Apr

The Alky Project began with the singular goal of providing users of desktop Linux and Mac OSX operating systems with high quality gaming titles usually offered only to the masses running Microsoft Windows. Many have attempted this feat before with varying levels of success using the Open Source software dubbed Wine. While Wine, at this point, is certainly a far more mature offering than Alky in certain regards, it falls well short in crucial areas including speed, overhead, and the inability to support the coming age of 64 bit computing

Falling Leaf Systems planning to move more then 5000 games to Mac and Linux platforms.

 

Tune of a day: Oomph – Augen Auf

28 Apr

German version of hide and seek! ;)

 

Asus vs iPhone User Interfaces

27 Apr

Maybe it’s just midnight and over-working, but these interfaces are too alike to be true!

Asus running linux

New Asus based on Linux

iPhone UI

 

Matlab offset values and histograms

26 Apr

The semester slowly moves to its logical ending – the summer, and the only question I have is, if I’m going to use Matlab after finishing Data Image Processing lectures or not.

But since, I’m still using it, here is going to be one of the last projects for DIP lesson – offset changes of an image, with later on processing of histograms.

Comparing Matlab erode and dilate functions – offset procedure doesn’t effect the neighbouring pixels – all the actions are performed on each pixel respectively.

For changing offset value of an image we need to:

  1. Create a matrix of an initial image;
  2. Create a colour array for mapping pixels of the same colours (will be used for histogram);
  3. Accept the offset value from the user;
  4. And, of course, recalculate it all!

Since we’re going to work with grey scale image, we have up to 255 colours from black to white. Later on, I’ll use the picture which was taken close to the institute.


%Reading the image
Ia = imread('a.jpg');
disp('..Image "A" is loaded')

%Initializing the colour array

arrA = zeros([1 255]);

Since the image has 683×1024 size, we’re going to use the nested loop to match all the colours and store its pixels into the array:

for m=1: 683
for n=1: 1024
%Storing repetetive color indexes in color array.
for i=1: 255
%Placing colors into color arrays for 3 images respectively.


if i == Ia(m,n)
arrA(1,i) = arrA(1,i) +1;
end
end
end
end

After eliminating the matrix picture, and entering the offset value, we can create an offset.m function file, where the rest of the calculations will take place. For it, we’ll need to initiate a new matrix, of the same size, and another colour array, which will hold transformed pixel colours, and their quantities, to show the difference in the histograms:


for i=1: 683
for j=1: 1024
for k=1: 255
if k == Mtrx(i,j)
newArr(1,k) = newArr(1,k) + 1;
end
end
end
end
%...


disp('Resulting images...')
figure,imshow(y); title('Initial Image');
figure,imshow(Mtrx); title('Result of Offset.jpg');
disp('Histograms...')
figure,plot(z);title('Initial Histogram');
figure,plot(newArr); title('Resulting Histogram');

I’ve mentioned the main states of the calculation, but if you need to get really into the sources, simply download the source files, where three images have been processed, and enhanced with scaling function source files. For more complicated offset functionality, you may be interested in the offset filter made in Boston University.

 

The best ’300′ movie episode

23 Apr

300 movie: Sparta kick