Visual Perception of Objects and Boundaries: A Four-Dimensional Approach