EP2395480A2

Comprehensive method for removing from an image the background surrounding a selected subject

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.

EP2395480A2, drawing sheet 1
Sheet 1 of 17

Term

Term ended

Projected expiry passed 23 August 2019, 7.1 years ago.

  1. Priority and filed
  2. Published
  3. Projected expiry
  4. Today

7 claims: 1 independent, 6 dependent

  1. 1
    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