SMS versenden: Dynamic programming and graph algorithms in computer vision