A Perception-Based Model of Complementary Afterimages