Cellular automata and computer vision: some case studies