Code written for computer vision class at FAU Erlangen.