The homework for a course on machine vision in the Fall 2011 semester, implemented in haskell.