1. A method for segmenting a region of interest (ROI) from an image, comprising: performing an edge extracting operation on a captured image to obtain edges of the captured image; selecting edges meeting predetermined criteria from the obtained edges, the predetermined criteria being the similarity between the region surrounded by the selected edges and the pattern formed by a vehicle headlight in physical reality at a position of the selected edges; determining the region surrounded by the selected edges within the captured image as a vehicle headlight pattern; and segmenting the ROI potentially including the vehicle pattern from the captured image based on the determined vehicle headlight pattern.