Automatic sketch generation
First Claim
1. A computer-implemented process for generating a sketch of a person'"'"'s face from an image of the person'"'"'s face, comprising:
- a training step comprising,an inputting step for inputting a set of training images each of which depicts a person'"'"'s face,a drawing step for drawing a set of training sketches each representing a respective face depicted in the training images,an identifying step for identifying a prescribed set of points in each training image, said points marking the contours of a prescribed set of facial features,a teaching step for teaching an active shape model module using the identified feature points to automatically locate said prescribed set of points in an arbitrary image of a person'"'"'s face,a computing step for computing a meanshape vector by forming a separate shape vector for each training image from the identified feature points of that image and averaging the corresponding elements of each shape vector, wherein each shape vector has identically ordered elements,a defining step for defining a geometric transform function for each training image which warps that image so that the identified feature points in vectorized form equals the meanshape vector,a warping step for warping each training image and its corresponding sketch using the geometric transform function associated with the training image to create transformed versions thereof, anda second defining step for defining a sketch model comprising a set of lines representative of the lines found in the transformed training sketches; and
a sketch generating step comprising,a second inputting step for inputting an image of a person'"'"'s face,an employing step for employing the active shape model to locate said prescribed set of facial feature points in the input image,a third defining step for defining a geometric transform function for the input image which warps the input image so the located feature points thereof in vectorized form equals the meanshape vector,a second warping step for warping the input image using the geometric transform function associated with the input image to create a transformed input image,a creating step for employing a non-parametric sampling module to create an expected sketch image from the transformed input image as well as the transformed training images and sketches,a fitting step for fitting the lines defined in the sketch model to the expected sketch image to create a transformed input image sketch comprising those lines of the sketch model that correspond to facial features found in the expected sketch image, andan applying step for applying an inverse of the input image geometric transform function to the transformed input image sketch to unwarp the sketch such that the shape and location of the lines making up the sketch match the shape and location of corresponding facial features in the input image.
1 Assignment
0 Petitions
Accused Products
Abstract
An example-based facial sketch system and process that automatically generates a sketch from an input image depicting a person'"'"'s face. Sketch generation is accomplished by first training the system using example facial images and sketches of the depicted faces drawn with a particular style by a sketch artist. The trained system is then used to automatically generate a facial sketch that simulates the artist'"'"'s style from an input image depicting a person'"'"'s face. Nonparametric sampling and a flexible sketch model are employed to capture the complex statistical characteristics between an image and its sketch.
44 Citations
6 Claims
-
1. A computer-implemented process for generating a sketch of a person'"'"'s face from an image of the person'"'"'s face, comprising:
-
a training step comprising, an inputting step for inputting a set of training images each of which depicts a person'"'"'s face, a drawing step for drawing a set of training sketches each representing a respective face depicted in the training images, an identifying step for identifying a prescribed set of points in each training image, said points marking the contours of a prescribed set of facial features, a teaching step for teaching an active shape model module using the identified feature points to automatically locate said prescribed set of points in an arbitrary image of a person'"'"'s face, a computing step for computing a meanshape vector by forming a separate shape vector for each training image from the identified feature points of that image and averaging the corresponding elements of each shape vector, wherein each shape vector has identically ordered elements, a defining step for defining a geometric transform function for each training image which warps that image so that the identified feature points in vectorized form equals the meanshape vector, a warping step for warping each training image and its corresponding sketch using the geometric transform function associated with the training image to create transformed versions thereof, and a second defining step for defining a sketch model comprising a set of lines representative of the lines found in the transformed training sketches; and a sketch generating step comprising, a second inputting step for inputting an image of a person'"'"'s face, an employing step for employing the active shape model to locate said prescribed set of facial feature points in the input image, a third defining step for defining a geometric transform function for the input image which warps the input image so the located feature points thereof in vectorized form equals the meanshape vector, a second warping step for warping the input image using the geometric transform function associated with the input image to create a transformed input image, a creating step for employing a non-parametric sampling module to create an expected sketch image from the transformed input image as well as the transformed training images and sketches, a fitting step for fitting the lines defined in the sketch model to the expected sketch image to create a transformed input image sketch comprising those lines of the sketch model that correspond to facial features found in the expected sketch image, and an applying step for applying an inverse of the input image geometric transform function to the transformed input image sketch to unwarp the sketch such that the shape and location of the lines making up the sketch match the shape and location of corresponding facial features in the input image. - View Dependent Claims (2, 3)
-
-
4. A computer-implemented process for training a computer using a set of training images each of which depicts a person'"'"'s face to generate a sketch of a person'"'"'s face from an image of that person'"'"'s face, said computer-executable instructions comprising:
-
a drawing step for drawing a training sketch of the face of each person depicted in a training image, each of said training sketches comprising a plurality of lines that represent and correspond in location to facial features of the person depicted in the associated training image; a defining step for defining an average face shape which represents the average shape and location of a prescribed set of facial features depicted in the training images; a warping step for warping each training image and its corresponding sketch so as to conform them to the average face shape, thereby creating a set of transformed training images and a corresponding set of transformed training sketches; a training step for training an active shape model using the training images to automatically identify the shape and location of said prescribed set of facial features in an arbitrary image depicting a person'"'"'s face; and a second defining step for defining a sketch model comprising a set of lines representative of the lines found in the transformed training sketches. - View Dependent Claims (5, 6)
-
Specification