Topological Structure in Visual Perception