1. A computer-implemented method, comprising: determining a plurality of edges in an image; receiving user input comprising a scribble, wherein the scribble comprises a freeform line overlaid on the image; and automatically aligning the scribble to one or more of the edges in the image.