1. A method for detecting a curve structure in an image, comprising: detecting a plurality of curve segments in the image; generating a graph based on the curve segments, wherein the graph comprises a plurality of nodes corresponding to the plurality of curve segments and a plurality of edges connecting the plurality of nodes; and detecting a curve structure in the image by determining a path from a source node to a destination node in the graph.