1. A method comprising: representing an image as a graph of nodes connected together by edges; adding, to the graph, nodes adjacent to nodes along first and second sides of the graph, wherein the added nodes have edge weights less than the nodes along the first and second sides of the graph; assigning start and end points to any of the added nodes along the first and second sides, respectively; and graph cutting between the start and end points for identifying a feature in the image.