Comprehensive method for removing from an image the background surrounding a selected subject
First Claim
1. A method to enable adjustment of estimates of subject and background colors used to compute the contribution of a background color to pixels in semitransparent and translucent subject areas, said method comprising the steps of:
- a) receiving visually identified semitransparent and translucent subject areas where a first estimated background color contribution, when subtracted from an image, does not fully remove the background, or removes all of the background and some of the subject,b) receiving a color selected from said subject or background based on a judgment by an operator as to whether at least one of;
i) a poor estimate of the background color, andii) a poor estimate of the subject color, is primarily responsible for generating an inaccurate matte in said identified semitransparent and translucent subject areas and storing said selected color in memory,c) injecting said stored selected color, based on an input from the operator, into at least one point in at least one ofi) said judged subject, andii) said judged background, which when interpolated/extrapolated, provides an improved estimate of the selected subject or background color contributing to the color in a transition pixel.
2 Assignments
0 Petitions
Accused Products
Abstract
In most cases, the estimated subject color and/or the estimated background color for a given pixel will have a certain amount of error, which could result in either not enough background removal, or removal of all of the background and some of the foreground. By manually or automatically altering the estimated subject color and/or background color, the errors in matte calculation and subsequent removal of the background, can be minimized or eliminated. Manual alteration of a subject or background color is achieved by using a cursor to select a true color from the background, for example, and inserting it in one or more areas in the background area being partially obscured by the subject. Automatic alteration of one of the estimated subject or background colors involves its computation as a projection in color space of the observed transition pixel color, onto a plane defined by the subject and background reference colors or other defined planes. By treating the shadow as a semitransparent subject, a matte (alpha channel) may be generated to represent the shadow'"'"'s transition densities, thus permitting the shadow to be regenerated over the new background.
-
Citations
25 Claims
-
1. A method to enable adjustment of estimates of subject and background colors used to compute the contribution of a background color to pixels in semitransparent and translucent subject areas, said method comprising the steps of:
-
a) receiving visually identified semitransparent and translucent subject areas where a first estimated background color contribution, when subtracted from an image, does not fully remove the background, or removes all of the background and some of the subject, b) receiving a color selected from said subject or background based on a judgment by an operator as to whether at least one of; i) a poor estimate of the background color, and ii) a poor estimate of the subject color, is primarily responsible for generating an inaccurate matte in said identified semitransparent and translucent subject areas and storing said selected color in memory, c) injecting said stored selected color, based on an input from the operator, into at least one point in at least one of i) said judged subject, and ii) said judged background, which when interpolated/extrapolated, provides an improved estimate of the selected subject or background color contributing to the color in a transition pixel. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
- 9. A method for adjusting a reference color R of specified proportions of background and subject colors by enabling selection of, as the adjusted reference color of the same specified proportions, the projection of an observed color point on to a plane in color space which passes through the initial reference color point R and is perpendicular to the vector connecting that reference color point R with a reference color point S of other specified proportions.
- 14. A method for adjusting a reference color R of specified proportions by selecting, as the adjusted reference color of the same specified proportions, a point on the ray emanating from a reference color point S of other specified proportions, and passing through the observed color point, and is further than the observed color point from the reference color point S.
-
19. A method for extracting a shadow from an image, said method comprising the steps of:
-
a. receiving as an input a region of the image designated by an operator as the interior of the shadow, the fully shaded or shadowed region; b. receiving as an input a region of the image designated by an operator as being clear of shadow, and being a pure background region; c. estimating an interior of shadow color for each point in the image by interpolating/extrapolating colors from the designated interior of shadow region into the rest of the image area, optionally excluding the clear of shadow area; d. estimating a clear of shadow color for each point in the image by interpolating/extrapolating colors from the designated clear of shadow region into the rest of the image area, and selectively excluding the interior of shadow area; e. for each point or pixel position in the image, estimating a matte, or percentage of background color present in the pixel, by using an original observed color v, the designated or estimated interior of shadow color vs, and the designated or estimated clear of shadow color vc, by selecting from or combining matte estimates of the form h(v-vs)/h(vc-vs) where h is a linear function. - View Dependent Claims (20, 21, 22, 23, 24, 25)
-
Specification