A composition model is developed based on the image segmentation and the vanishing point of the scene. By integrating both photometric and geometric cues, better segmentation is provided. These cues are directly used to detect the dominant vanishing point in an image without extracting any line segments. Based on the composition model, a novel image retrieval system is developed which can retrieve images with similar compositions as the query image from a collection of images and provide feedback to photographers.