Indexing 3D arrays

You sometimes have to work in 3D space and you have to address a 3D array. Here is the way how to index such a 3D array:

For an array of [ A ][ B ][ C ], we can index it thus:

(a * B * C) + (b * C) + (c * 1)

Notice the pattern: for each dimension, its index is multiplied by the product of the cardinality of all dimensions minor to it.

To help digest that, here’s another example. Given array[ A ][ B ][ C ][ D ]:

(a * B * C * D) + (b * C * D) + (c * D) + (d * 1)

Lecker Wurst

image

Grazer Spezialitäten

image

Eine ganz besondere Spezialität aus der Steiermark sind halbfertige Gerichte

Wohin bringt mich dieser Zug

image Die Bahn hat nicht nur Probleme mit dem Wetter… (aufgenommen am 18.12 Berlin nach Hannover)

Master’s Thesis finished

Recently, I finished my master’s thesis with the titel “Large-Scale Robotic SLAM through Visual Mapping”. I developed a stereo camera-based SLAM system that is based on the software developed by Georg Klein (PTAM). You can download the final thesis here
There is also a small demo video on youtube available. It shows a reconstructed trajectory of a 70m loop:

Welcome to my new blog

After finishing my master thesis, I think it is a nice idea to install a blog about the stuff I have done and I’m doing right now concerning work. I’m going to update this blog whenever new and interesting things happen!