Recognizing Structure from Image Data