Lower-power cellular-automaton circuit for image processing