I had an external hard drive lying around which I hadn't used for a couple of years. The drive was encrypted and I had no idea what my passphrase was anymore so the data was lost. I decided to avoid this in the future and had a look at how I can access my data if I forget my passphrase or the LUKS header gets corrupted.

When you know the master key it is possible to access your encrypted data even if you forgot your passphrase or the LUKS header is corrupted. In the remainder of the post I will show you how this is done. First of all a 10 MiB image is created for doing the experiments.

Read More

I wanted to create a polaroid effect using ImageMagick and discovered there is a -polaroid transformation operator to do this. Though the result looks nice, it was not polaroidish enough for me. A real polaroid picture has to have a larger border at the bottom to my opinion. I found the original work which led to the polaroid transformation operator. I used this and tweaked it a little to get a larger border at the bottom.

Custom polaroid effect Out-of-the-box effect
Custom polaroid effect on the left and out-of-the-box polaroid effect on the right.

The parameters used to create the images shown above is given below.


# Custom polaroid effect
convert -size 334x406 canvas:"#f0f0ff" -background none \
lena.png -geometry 300x300+17+17 \
-composite -interpolate nearest \
-rotate 90 -wave 5x812 -rotate -90 \
\( +clone -flop -background grey75 -shadow 70x5+15+15 \) \
+swap -background none \
-layers merge -resize 144 -rotate 5 polaroid1.png

# Out-of-the-box polaroid effect
convert lena.png -thumbnail 130x130 \
-bordercolor white -background grey75  -polaroid 5 polaroid2.png

For my final masters thesis I am currently working on finger vein authentication. Vein authentication is an upcoming type of biometrics which uses the vascular pattern of a certain body part as an unique unique property. As with all biometrics the idea is that no two person will exhibit the same vascular pattern. Currently the vascular patterns of the palm and finger are used for biometrics. Advantages of using vascular patterns for biometrics is that they are difficult to forge. For example a vascular pattern is not left behind after touching a surface as is the case with fingerprints. Another advantage the (probable) higher accuracy rate in terms of false rejections and false acceptances.

Vascular pattern of the finger
Vascular pattern of the finger
Read More

A fresh year, a good reason for a fresh new look for my blog. I have created a new theme using fancy new web techniques, such as HTML5, CSS3 and semantic mark-up according to schema.org.

Some of the new HTML5 element that have been used include: section, nav, article, figure, figcaption. Also the new form elements for e-mail and url have been used.

Some of the CSS3 techniques used are rounded corners, the custom font for headings, a gradient background and shadows. The font used is Dancing Script by Pablo Impallari.

For nostalgic reasons the old layout can be seen below.

Old layout
Old layout

Zo, om de verontrusting weg te nemen kan ik melden dat ik weer terug ben in het andere oosten. Na vier maand in Indonesiƫ geweest te zijn leek het leuk om een kort overzicht te maken met de verschillen.

Mensen. De mensen in Indonesiƫ zijn altijd goedlachs en behulpzaam. Bijvoorbeeld de man die altijd de vaat deed in de dormitory was altijd vrolijk, hoe groot de bult ook was. Ik heb ook het idee dat men minder formeel met elkaar omgaat. Op de werkvloer wordt er een stuk meer lol gemaakt en is het fysieke tussen mannen ook hoger. Ook het respect voor ouderen is hoger.

2011-08-26.jpg
Indonesiƫ associaties
Read More