×

Virtual masking using rigid parametric modeling

  • US 8,194,097 B2
  • Filed: 12/12/2008
  • Issued: 06/05/2012
  • Est. Priority Date: 12/12/2008
  • Status: Active Grant
First Claim
Patent Images

1. A method for masking a target item by a processing device within an image, the method comprising the steps of:

  • (a) defining a target image encompassing said target item within an input image;

    (b) defining a mask image with which to mask said target item;

    (c) scaling the size of a three-dimensional rigid parametric model to the size of the target image within said input image;

    (d) determining the projection of said target image to the scaled rigid parametric model to establish a pixel correlation between image pixel locations in said target image and corresponding projected pixel locations on said scaled rigid parametric model;

    (e) constructing a pixel mapping between said mask image and the target image to obtain a mapped mask image with a one-to-one pixel correspondence between image pixels in said target image and image pixels in said mapped mask image;

    (f) determining the projection of said mapped mask image to the scaled rigid parametric model in accordance with said pixel correspondence between said target image and said mapped mask image and said pixel correlation between image pixel locations in said target image and corresponding projected pixel locations on said scaled rigid parametric model;

    (g) replacing said target item within said input image with a composite of said target image and the mapped mask image in accordance with said pixel correspondence between said target image and said mapped mask image and said pixel correlation between image pixel locations in said target image and corresponding projected pixel locations on said scaled rigid parametric model, said, composite image being a weighted sum of the target image and the mapped mask imagewherein the weighted sum of the target image and the mapped mask image is defined as Ib=W*Ic+(1−

    w)*Im, where Ic is a given pixel in the target image, Im is its corresponding pixel in the mapped mask image, and Ib is the resultant pixel in the composite image; and

    w is the weight defined as

View all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×