摘要 |
Some embodiments provide a method for selecting a portion of an image. The method identifies edges in the image. The method defines a border about the portion of the image by using the identified edges. The method represents the border as a deformable curve. In some embodiments, defining the border includes detecting a cursor moving over the image and defining the border along identified edges in the vicinity of the cursor. In some embodiments, the method searches for edges in the vicinity of the cursor and snaps the border to the edges. Identifying the edges of the image includes performing an edge detection algorithm in some embodiments. Identifying the edges further includes performing a de-noise algorithm in some embodiments. In some embodiments, the parametrizable curve is a bezier spline. |