Essential algorithms for scene understanding