The Thinking Eye, the Seeing Brain: Explorations in Visual Cognition