Cellular Automata in Image Processing and Geometry