Device and method for determining a key for clipping a subject moving against a colored background
First Claim
1. A method for determining a clipping key, KD, for clipping a subject from a first colored background and overlay the subject on a new colored background, comprising the steps of:
- identifying a color space in which said subject and said first colored background are represented, said color space having an achromic and zero-luminance point;
defining a first volume as a first region in said color space corresponding to the first colored background, comprising the step of forming a cone having an aperture angle α
with an axis of symmetry /W/ that passes through the achromic and zero-luminance point of the color space and a point representing a color of the first colored background;
defining a second volume in said color space that is separate from said first volume, said second volume including a second region representing said subject; and
determining said clipping key based on at least one of said first volume and said second volume.
1 Assignment
0 Petitions
Accused Products
Abstract
The invention relates to a method for determining a key KD for clipping a subject moving against a colored background, the said key making it possible to separate the color space into three regions, a first region defining a volume representing the colored background, a second region defining a volume representing the subject and a third region defining a transition region between the colored background and the subject, where the device and method defines the volume representing the colored background in the form of a cone of aperture angle α whose axis of symmetry (W) passes through the achromic and zero-luminance point of the color space and a point representing the color of the colored background. The invention also relates to any type of electronic apparatus implementing the abovementioned device and method, such as video mixers or autonomous devices for clipping and overlaying video images.
-
Citations
25 Claims
-
1. A method for determining a clipping key, KD, for clipping a subject from a first colored background and overlay the subject on a new colored background, comprising the steps of:
-
identifying a color space in which said subject and said first colored background are represented, said color space having an achromic and zero-luminance point; defining a first volume as a first region in said color space corresponding to the first colored background, comprising the step of forming a cone having an aperture angle α
with an axis of symmetry /W/ that passes through the achromic and zero-luminance point of the color space and a point representing a color of the first colored background;defining a second volume in said color space that is separate from said first volume, said second volume including a second region representing said subject; and determining said clipping key based on at least one of said first volume and said second volume. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16)
-
9. The method according to claim 1, wherein said step of identifying a color space comprises converting into arithmetic zeros an origin of a frame of reference for the color space which corresponds to respective achromic levels of chrominance components of the color space and a zero level for a luminance component of the color space.
-
10. The method according to claim 1, further comprising the step of:
transposing a red color difference chrominance component and a blue difference chrominance component of the pixel into a common video format as a luminance component of the pixel, comprising the step of interpolating the red color difference component and the blue color difference component.
-
11. The method according to claim 10, further comprising the step of:
coding the red color difference chrominance component with N bits, the blue color difference chrominance component with N bits, and the luminance component of the pixel with bits N, where N is an integer greater than a number of bits of video bits for respective of said red color difference chrominance component, blue color difference chrominance component, and the luminance component.
-
12. The method according to claim 11, wherein said step of coding comprises coding with N equal to 16 bits among, said 16 bits comprising 10 video bits, 4 splitting bits intended to define the accuracy of the video, 1 sign bit and 1 overflow bit.
-
13. The method according to claim 5, further comprising the steps of:
-
detecting into which region of the first region, the second region, and the third region the pixel is located; and producing a signal DZ indicative of the respective region in which the pixel is located.
-
-
14. The method according to claim 13, wherein said detecting into which region step comprises detecting if the pixel is located in a shadow region.
-
15. The method according to claim 14, wherein said detecting into which region step comprises:
-
comparing a luminance value y corresponding to the pixel with a threshold value ya, if the clipping key, KD, is between 0 and 1; assigning a first value to a signal DZ signifying that the pixel is located in the transition region, if the luminance value y is greater than the threshold value ya; assigning a second value to the signal DZ signifying that the pixel is located in the shadow region if the luminance value y is less than threshold value ya and if a polar coordinate angle θ
(i) corresponding to the pixel is between two values θ
min and θ
max whose difference θ
max-θ
min defines an angular aperture within which the angle θ
(i) must lie in order for a hue of the pixel associated with θ
(i) to be likened to a hue of the colored background; andassigning a third value to the signal DZ signifying the pixel is located in the transition region if the luminance value y is less than the threshold value ya and if the angle θ
(i) is not between the said values θ
min and θ
max.
-
-
16. The method according to claim 1, wherein said step of determining said clipping key comprises masking and filtering the clipping key so as to provide a final clipping key /KDF/.
-
-
17. A device that forms a clipping key, KD, used to clip a subject moving against a first colored background and overlay the subject on a new colored background, comprising:
-
means for identifying a color space in which said subject and said first colored background are represented, said color space having an achromic and zero-luminance point; means for defining a first volume comprising a first region corresponding to the first colored background, comprising means for forming a cone having an aperture angle α
with an axis of symmetry /W/ that passes through the achromic and zero-luminance point of the color space and a point representing a color of the first colored background;means for defining a second volume in said color space that is separate from said first volume, said second volume including a second region representing said subject; and means for determining said clipping key based on at least one of said first volume and said second volume. - View Dependent Claims (18, 19, 20, 21, 22, 23)
-
-
24. A video mixer configured to form a clipping key, KD, and use the clipping key, KD, to clip a subject from a first colored background and overlay the subject on a new colored background, comprising:
-
input means for inputting the source video image; means for identifying a color space in which said subject and said first colored background are represented, said color space having an achromic and zero-luminance point; means for defining a first volume in said color space comprising a first region corresponding to the first colored background, comprising means for forming a cone having an aperture angle α
with an axis of symmetry /W/ that passes through the achromic and zero-luminance point of the color space and a point representing a color of the first colored background;means for defining a second volume in said color space that is separate from said first volume, said second volume including a second region representing said subject; means for determining said clipping key based on at least one of said first volume and said second volume; and mixing means for mixing the clipping key with the video source image.
-
-
25. An autonomous video image clipping and overlaying device, configured to form a clipping key, KD, and use the clipping key, KD, to clip a subject from a first colored background and overlay the subject on a new colored background, comprising:
-
input means for inputting the source video image; means for identifying a color space in which said subject and said first colored background are represented, said color space having an achromic and zero-luminance point; means for defining a first volume in said color space representing a first region corresponding to the first colored background, comprising means for forming a cone having an aperture angle α
with an axis of symmetry /W/ that passes through the achromic and zero-luminance point of the color space and a point representing a color of the first colored background;means for defining a second volume in said color space that is separate from said first volume, said second volume including a second region representing said subject; means for determining said clipping key based on at least one of said first volume and said second volume; means for extracting the subject from the source video image based on the clipping key, KD; and means for overlaying the subject on the new colored background.
-
Specification