US20060055707A1 - Graphical user interface for a keyer - Google Patents

Graphical user interface for a keyer Download PDF

Info

Publication number
US20060055707A1
US20060055707A1 US10/939,042 US93904204A US2006055707A1 US 20060055707 A1 US20060055707 A1 US 20060055707A1 US 93904204 A US93904204 A US 93904204A US 2006055707 A1 US2006055707 A1 US 2006055707A1
Authority
US
United States
Prior art keywords
image
swatch
key
alpha
input image
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Abandoned
Application number
US10/939,042
Inventor
Randy Fayan
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Avid Technology Inc
Original Assignee
Individual
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Individual filed Critical Individual
Priority to US10/939,042 priority Critical patent/US20060055707A1/en
Priority to US11/112,321 priority patent/US7280117B2/en
Assigned to AVID TECHNOLOGY, INC. reassignment AVID TECHNOLOGY, INC. ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: FAY, RANDY M.
Priority to CA002506637A priority patent/CA2506637A1/en
Priority to JP2005163621A priority patent/JP2006081151A/en
Priority to EP05254764A priority patent/EP1635294A1/en
Publication of US20060055707A1 publication Critical patent/US20060055707A1/en
Abandoned legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T15/003D [Three Dimensional] image rendering
    • G06T15/50Lighting effects
    • G06T15/503Blending, e.g. for anti-aliasing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/222Studio circuitry; Studio devices; Studio equipment
    • H04N5/262Studio circuits, e.g. for mixing, switching-over, change of character of image, other special effects ; Cameras specially adapted for the electronic generation of special effects
    • H04N5/272Means for inserting a foreground image in a background image, i.e. inlay, outlay
    • H04N5/275Generation of keying signals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N9/00Details of colour television systems
    • H04N9/64Circuits for processing colour signals
    • H04N9/74Circuits for processing colour signals for obtaining special effects
    • H04N9/75Chroma key

Definitions

  • a chroma keyer processes an image, or a sequence of images for motion video, to identify pixels in the image within a particular range of colors.
  • the range of colors is called the key.
  • the closeness of the color of each pixel defined either as chrominance or red, green and blue (RGB) values, determines an alpha value for that signal.
  • the set of all alpha values for all the pixels in the image defines what is called an alpha matte.
  • This alpha matte is then used to composite the image, usually a foreground image, with one or more other images, usually background images. Green screen and blue screen production techniques rely on such chroma key operations.
  • Luma keyers also may be used to extract an alpha matte based on luminance instead of chrominance.
  • a challenge in implementing any keyer is providing a way for an operator to understand how the key relates to the input image, and how changes to the key will change the resulting composited image.
  • a keyer is provided with a graphical user interface that helps a user visualize the relationship between the key and the image being processed. For example, the user may benefit from visualizing what colors are within the key and what colors are present in the image to be processed.
  • a color space swatch is processed by the key to be applied to the image.
  • the output of the keyer as applied to the color space swatch is displayed to the user. This output illustrates which colors match the defined key.
  • the alpha matte generated by applying the key to the color space swatch also may be displayed. These displays may be interactively updated as the user modifies the definition of the key to permit visualization of the key.
  • These displays also may be modified to indicate what colors are present in the input image. Because each pixel in the color swatch, or the alpha matte generated from it, corresponds to a color, each pixel in either the color swatch or the alpha matte may be modified to indicate whether its corresponding color is present in the input image. As the display is interactively updated as the user modifies the definition of the key, the display permits visualization of the relationship of the key to colors in the input image.
  • the keyer also may preprocess the image by modifying the saturation of each pixel according to its luminance. In particular, the saturation of pixels that have low luminance may be increased.
  • the display may be interactively updated as the user modifies the controls of the preprocessing operation to permit visualization of how the preprocessing operation affects the input image and how that result relates to the key.
  • Luminance processing also may be applied.
  • the alpha value for a pixel may be adjusted according to the luminance of the pixel according to a user-defined function.
  • the alpha matte displayed to the user may include the effects of such luminance processing.
  • the display may be interactively updated as the user modifies the specified function to permit visualization of how the luminance processing affects the alpha matte.
  • FIG. 1 is a data flow diagram that illustrates a chroma key operation.
  • FIG. 2 is a data flow diagram that illustrates how a graphical user interface may be generated.
  • FIG. 3 is an example key swatch display with input image information overlay, shown in gray scale.
  • FIG. 4 is an example alpha swatch display with input image information overlay, shown in gray scale.
  • FIG. 5 is an example alpha swatch display with preprocessed input image information overlay, shown in gray scale.
  • FIG. 1 is a data flow diagram that illustrates a keyer.
  • An input image 100 is the image to which a key is to be applied.
  • a preprocessor 102 may be used to modify the input image according to preprocessing controls 106 to produce a preprocessed input image 104 .
  • the preprocessing controls may be specified by a user through an appropriate graphical user interface.
  • the input image 100 may be preprocessed to improve the ability of the system to extract an alpha matte.
  • An example kind of preprocessing involves modifying the saturation of pixels in the input image, and is described in more detail below.
  • the input image 100 is input to matte generation 108 which processes the image according to key controls 110 to produce an alpha matte 112 .
  • key controls are used to produce the alpha matte 112 depending on the implementation, and a variety of techniques are known for matte generation.
  • the keyer is a chroma keyer.
  • the key controls may be specified by a user through an appropriate graphical user interface.
  • the alpha matte 112 may be subjected to matte post-processing 114 , such as blurring, eroding (blurring only the inside of the matte edge) or dilating (blurring only the outside of the matte edge), to produce a processed matte image 116 .
  • matte post-processing 114 such as blurring, eroding (blurring only the inside of the matte edge) or dilating (blurring only the outside of the matte edge), to produce a processed matte image 116 .
  • matte post-processing 114 such as blurring, eroding (blurring only the inside of the matte edge) or dilating (blurring only the outside of the matte edge)
  • a Gaussian blur may be applied to the alpha matte.
  • Eroding or dilating may be simulated by multiplying the blurred matte by the original matte, or by the inverse of the original matte.
  • Edges within the blending area of the matte (where alpha values are between 0 and 1, but neither
  • the original input image 100 also may be subjected to spill suppression 118 or other color correction operation.
  • Spill suppression involves removing a color tint from an object in the image which may appear on the object due to reflection from a background. For example, the edges of objects in front of a green screen may have a green tint due to reflection from the green screen.
  • Spill suppression involves identifying pixels of a color and replacing them with pixels of another color, using one of a variety of known techniques, based on spill controls 120 .
  • the spill controls may be specified by a user through an appropriate graphical user interface.
  • Spill suppression supplies a spill suppressed image 122 .
  • the original input image 100 is input to a compositor 124 .
  • the compositor 124 blends the image ( 100 or 122 ) with one or more other background images 126 according to either the alpha matte 112 or the processed matte image 116 if matte post-processing is used.
  • the compositor also may perform various transformation operations on the image and the matte, such as scaling, cropping, repositioning, etc.
  • the compositor provides the output image 128 .
  • the graphical user interface helps the user to visualize the relationship between the key and the image being processed. In particular an operator may benefit from visualizing what colors are within the key and what colors are present in the image to be processed.
  • a graphical user interface that displays images conveying this information.
  • a data flow diagram illustrating how these images are generated will now be described in connection with FIG. 2 .
  • a selector 204 provides an image to a display 206 to be viewed by the user. If enough display space is available, more than one of these images may be displayed at a time.
  • the user selection 202 may be provided through any appropriate user interface.
  • the inputs to the selector 204 may include, for example, a key swatch display 210 (described below), an alpha swatch display 214 (described below) or an alpha matte display 212 .
  • the alpha matte display may be provided by either the alpha matte 112 or the processed matte image 116 as shown in FIG. 1 as generated for the input image by the keyer.
  • Other images such as the output of the keyer as applied to the input image, also may be displayed.
  • These inputs to the selector may be updated interactively while the user modifies the various controls for the keyer.
  • the key swatch display 210 is generated by applying the defined key to a color space swatch.
  • a color space swatch is an image that represents the colors in a two-dimensional plane orthogonal to luminance in a color space. Each pixel in the color space swatch corresponds to a different color in that plane, according to the pixel's coordinates. For example, chrominance values (Cr and Cb in the YCrCb format or U and V values in a YUV format) may be represented by such a color plane.
  • the color space swatch may be a circle (also called a color wheel), a square or may have some other shape.
  • the color space swatch may have an origin at the center that represents no saturation, and in which a color is represented by an angle (hue) and a magnitude representing a distance from the origin (saturation).
  • An example color wheel or square has an angular gradient of varying hue, with red at 110 degrees, green at 230 degrees and blue at 350 degrees and has a radial gradient of varying saturation, with zero saturation in the center and full saturation at the edge.
  • an alpha matte is generated based on the defined key.
  • the color space swatch is composited with a background, such as a black image, using the generated alpha matte.
  • the output of the compositor is the key swatch 216 .
  • the alpha matte generated by applying the defined key to the color swatch image provides an alpha swatch 218 .
  • the color space swatch is not preprocessed.
  • the alpha matte may be post-processed and spill correction may be applied to the color space swatch.
  • the key swatch output by the compositor may be displayed and updated interactively as the user modifies the key controls ( 110 in FIG. 1 ), spill controls ( 120 in FIG. 1 ) and any control for the matte post-processing ( 114 in FIG. 1 ).
  • the key swatch display 210 and the alpha swatch display 214 may be based directly on the key swatch 216 or the alpha swatch 218 .
  • the key swatch 216 and/or alpha swatch 218 also may be modified to include a representation of the input image. In particular, this representation of the input image indicates what colors are present in the input image. Because each pixel in the color swatch, or the alpha matte generated from it, corresponds to a color, each pixel in either the color swatch or the alpha matte may be modified to indicate whether its corresponding color is present in the input image.
  • the key swatch and alpha swatch are input to a combiner 220 .
  • the combiner also receives either the input image or the preprocessed input image as indicated at 222 . For each pixel in the input image, the position of its corresponding color in the key swatch or alpha swatch is identified. The pixel at this position in the key swatch or alpha swatch is set to a value that, when displayed, indicates that the color is present in the input image. For example, on the alpha swatch display, because the alpha matte is a gray scale, each color that is present in the input image may be displayed using that color.
  • the combiner 220 outputs the key swatch display 210 or the alpha swatch display 214 .
  • a dark region 300 indicates the colors that are extracted by the key.
  • the scattergram-like object 302 indicates the colors that are present in the input image. Because each pixel in the key swatch is a color, the indication that the color is in the input image is provided by changing this color, for example by modifying its saturation.
  • the dark region 300 also indicates the colors that are extracted by the key.
  • the scattergram-like object 400 indicates the colors that are present in the input image. Each pixel of the scattergram-like object may be the color that is present in the input image.
  • the key swatch display 210 and the alpha swatch display 214 may be modified to include a representation of the preprocessed input image instead of the input image.
  • the effect of the preprocessing controls on the ability to apply the key may be visualized.
  • the key swatch display and the alpha swatch display as modified to include a representation of the preprocessed input image also may be interactively updated as the user changes the preprocessing controls. For example, as shown in FIG. 5 , if the saturation of low luminance pixels is increased, the result, as shown in the alpha swatch display, is an appearance of the pixels spreading out away from the origin.
  • the alpha matte may be modified according to the luminance of the pixels in the input image.
  • shadows may be suppressed by preprocessing the input image to modify each pixel according to the luminance of the pixel.
  • the alpha value corresponding to each pixel in the input image is modified according to the luminance of that pixel.
  • This optional modification may be used to increase or decrease the transparency level of pixels based on whether the pixel is dark or bright. For example, very bright pixels may be keyed out more than darker pixels.
  • This modification is applied only to pixels that are neither fully opaque nor fully transparent, i.e., for which the alpha value is greater than 0 but less than 1.
  • a user may specify a function, for example by using one or more function curves, that maps luminance values to alpha offsets.
  • the alpha offsets may range from ⁇ 1.0 to 1.0.
  • Such a function may be specified through a conventional graphical user interface, for example an interface for defining function curves. This function may be represented in a lookup table.
  • the luminance value for that pixel is applied to the lookup table to obtain the alpha offset.
  • the sum of the alpha value and the alpha offset value is computed, and the result is clipped if necessary to 0 or 1. If the alpha value is 0 or 1 it is unchanged.
  • the resulting alpha value for each pixel provides the processed matte image.
  • the matte image resulting from luminance processing may be provided as the alpha display 212 in the user interface.
  • Luminance processing whether or not enabled for processing the input image, is not used to generate the key swatch display or alpha swatch display, i.e., it is not applied to the alpha matte generated for the color swatch.
  • the alpha display 212 may be interactively updated to display the modified alpha matte as the user makes changes to the specified alpha offset function.
  • another form of luminance processing involves shadow suppression by preprocessing the input image.
  • chroma keying operations it is common for a foreground object to cast a shadow on a background that is to be keyed out, thus making some pixels darker in the background. These pixels tend to have lower luminance and lower saturation. As a result, it is more difficult to ensure that a key can capture these pixels.
  • an input image may be preprocessed by increasing the saturation of pixels that have low luminance.
  • the saturation may be increased by adding an offset to the saturation determined by a user-adjustable variable and the luminance of the pixel.
  • the resulting preprocessed image becomes the input to the matte generation function.
  • the original input image in contrast, is applied to the spill correction and/or the compositor.
  • the function of luminance used to increase the saturation may be user-adjustable through an appropriate graphical user interface, such as an input text box or slider representing the variable. Because the key swatch display, alpha swatch display and alpha display each may be generated using the preprocessed input image, these displays may be interactively updated as the user changes the preprocessing controls.
  • Such a computer system typically includes a main unit connected to both an output device that displays information to a user and an input device that receives input from a user.
  • the main unit generally includes a processor connected to a memory system via an interconnection mechanism.
  • the input device and output device also are connected to the processor and memory system via the interconnection mechanism.
  • Example output devices include, but are not limited to, a cathode ray tube (CRT) display, liquid crystal displays (LCD) and other video output devices, printers, communication devices such as a modem, and storage devices such as disk or tape.
  • One or more input devices may be connected to the computer system.
  • Example input devices include, but are not limited to, a keyboard, keypad, track ball, mouse, pen and tablet, communication device, and data input devices. The invention is not limited to the particular input or output devices used in combination with the computer system or to those described herein.
  • the computer system may be a general purpose computer system which is programmable using a computer programming language, a scripting language or even assembly language.
  • the computer system also may include specially programmed, special purpose hardware.
  • the processor is typically a commercially available processor.
  • the general-purpose computer also typically has an operating system, which controls the execution of other computer programs and provides scheduling, debugging, input/output control, accounting, compilation, storage assignment, data management and memory management, and communication control and related services.
  • a memory system typically includes a computer readable medium.
  • the medium may be volatile or nonvolatile, writeable or nonwriteable, and/or rewriteable or not rewriteable.
  • a memory system stores data typically in binary form. Such data may define an application program to be executed by the microprocessor, or information stored on the disk to be processed by the application program. The invention is not limited to a particular memory system.
  • a system such as described herein may be implemented in software or hardware or firmware, or a combination of the three.
  • the various elements of the system either individually or in combination may be implemented as one or more computer program products in which computer program instructions are stored on a computer readable medium for execution by a computer.
  • Various steps of a process may be performed by a computer executing such computer program instructions.
  • the computer system may be a multiprocessor computer system or may include multiple computers connected over a computer network.
  • the components shown in FIG. 1 may be separate modules of a computer program, or may be separate computer programs, which may be operable on separate computers.
  • the data produced by these components may be stored in a memory system or transmitted between computer systems.

Abstract

A keyer is provided with a graphical user interface that helps a user visualize the relationship between the key and the image to be processed using that key. A color space swatch is processed by the keyer using the defined key. The output of the keyer as applied to the color space swatch is displayed to the user to illustrate which colors match the defined key. The alpha matte generated by applying the key to the color space swatch also may be displayed. The keyer also may preprocess the image by modifying the saturation of each pixel according to its luminance. Each pixel in either the color space swatch or the alpha matte generated by applying the key to the color space swatch may be modified to indicate whether its corresponding color is present in the input image or in the preprocessed input image. Luminance processing also may be applied. In particular, the alpha value for a pixel may be adjusted according to the luminance of the pixel according to a user defined function. The alpha matte displayed to the user may include the effects of such luminance processing. These displays may be interactively updated as the user modifies the definition of the key or the controls for preprocessing or luma processing.

Description

    BACKGROUND
  • A chroma keyer processes an image, or a sequence of images for motion video, to identify pixels in the image within a particular range of colors. The range of colors is called the key. The closeness of the color of each pixel, defined either as chrominance or red, green and blue (RGB) values, determines an alpha value for that signal. The set of all alpha values for all the pixels in the image defines what is called an alpha matte. This alpha matte is then used to composite the image, usually a foreground image, with one or more other images, usually background images. Green screen and blue screen production techniques rely on such chroma key operations. Luma keyers also may be used to extract an alpha matte based on luminance instead of chrominance.
  • There are a variety of ways to define the key used by a chroma keyer or a luma keyer. A challenge in implementing any keyer is providing a way for an operator to understand how the key relates to the input image, and how changes to the key will change the resulting composited image.
  • SUMMARY
  • A keyer is provided with a graphical user interface that helps a user visualize the relationship between the key and the image being processed. For example, the user may benefit from visualizing what colors are within the key and what colors are present in the image to be processed.
  • In particular, a color space swatch is processed by the key to be applied to the image. The output of the keyer as applied to the color space swatch is displayed to the user. This output illustrates which colors match the defined key. The alpha matte generated by applying the key to the color space swatch also may be displayed. These displays may be interactively updated as the user modifies the definition of the key to permit visualization of the key.
  • These displays also may be modified to indicate what colors are present in the input image. Because each pixel in the color swatch, or the alpha matte generated from it, corresponds to a color, each pixel in either the color swatch or the alpha matte may be modified to indicate whether its corresponding color is present in the input image. As the display is interactively updated as the user modifies the definition of the key, the display permits visualization of the relationship of the key to colors in the input image.
  • The keyer also may preprocess the image by modifying the saturation of each pixel according to its luminance. In particular, the saturation of pixels that have low luminance may be increased. By generating the displays using the preprocessed image, the display may be interactively updated as the user modifies the controls of the preprocessing operation to permit visualization of how the preprocessing operation affects the input image and how that result relates to the key.
  • Luminance processing also may be applied. In particular, the alpha value for a pixel may be adjusted according to the luminance of the pixel according to a user-defined function. The alpha matte displayed to the user may include the effects of such luminance processing. The display may be interactively updated as the user modifies the specified function to permit visualization of how the luminance processing affects the alpha matte.
  • BRIEF DESCRIPTION OF THE DRAWINGS
  • FIG. 1 is a data flow diagram that illustrates a chroma key operation.
  • FIG. 2 is a data flow diagram that illustrates how a graphical user interface may be generated.
  • FIG. 3 is an example key swatch display with input image information overlay, shown in gray scale.
  • FIG. 4 is an example alpha swatch display with input image information overlay, shown in gray scale.
  • FIG. 5 is an example alpha swatch display with preprocessed input image information overlay, shown in gray scale.
  • DETAILED DESCRIPTION
  • FIG. 1 is a data flow diagram that illustrates a keyer. An input image 100 is the image to which a key is to be applied. A preprocessor 102 may be used to modify the input image according to preprocessing controls 106 to produce a preprocessed input image 104. The preprocessing controls may be specified by a user through an appropriate graphical user interface. The input image 100 may be preprocessed to improve the ability of the system to extract an alpha matte. An example kind of preprocessing involves modifying the saturation of pixels in the input image, and is described in more detail below.
  • The input image 100, or the preprocessed image 104 if preprocessing is used, is input to matte generation 108 which processes the image according to key controls 110 to produce an alpha matte 112. How the key controls are used to produce the alpha matte 112 depend on the implementation, and a variety of techniques are known for matte generation. In the example described herein the keyer is a chroma keyer. The key controls may be specified by a user through an appropriate graphical user interface.
  • The alpha matte 112 may be subjected to matte post-processing 114, such as blurring, eroding (blurring only the inside of the matte edge) or dilating (blurring only the outside of the matte edge), to produce a processed matte image 116. For example, a Gaussian blur may be applied to the alpha matte. Eroding or dilating may be simulated by multiplying the blurred matte by the original matte, or by the inverse of the original matte. Edges within the blending area of the matte (where alpha values are between 0 and 1, but neither 0 nor 1) also may be identified smoothed. The matte post-processing that may be performed depends on the implementation, and may have parameters that are specified by the user through an appropriate graphical user interface.
  • The original input image 100 also may be subjected to spill suppression 118 or other color correction operation. Spill suppression involves removing a color tint from an object in the image which may appear on the object due to reflection from a background. For example, the edges of objects in front of a green screen may have a green tint due to reflection from the green screen. Spill suppression involves identifying pixels of a color and replacing them with pixels of another color, using one of a variety of known techniques, based on spill controls 120. The spill controls may be specified by a user through an appropriate graphical user interface. Spill suppression supplies a spill suppressed image 122.
  • The original input image 100, or spill suppressed image 122 if spill suppression is used, is input to a compositor 124. The compositor 124 blends the image (100 or 122) with one or more other background images 126 according to either the alpha matte 112 or the processed matte image 116 if matte post-processing is used. The compositor also may perform various transformation operations on the image and the matte, such as scaling, cropping, repositioning, etc. The compositor provides the output image 128.
  • Having now described an example keyer, a graphical user interface for the keyer will now be described. The graphical user interface helps the user to visualize the relationship between the key and the image being processed. In particular an operator may benefit from visualizing what colors are within the key and what colors are present in the image to be processed.
  • To this end, a graphical user interface is provided that displays images conveying this information. A data flow diagram illustrating how these images are generated will now be described in connection with FIG. 2. In particular, based on a user selection 202, a selector 204 provides an image to a display 206 to be viewed by the user. If enough display space is available, more than one of these images may be displayed at a time. The user selection 202 may be provided through any appropriate user interface. The inputs to the selector 204 may include, for example, a key swatch display 210 (described below), an alpha swatch display 214 (described below) or an alpha matte display 212. The alpha matte display may be provided by either the alpha matte 112 or the processed matte image 116 as shown in FIG. 1 as generated for the input image by the keyer. Other images, such as the output of the keyer as applied to the input image, also may be displayed. These inputs to the selector may be updated interactively while the user modifies the various controls for the keyer.
  • The key swatch display 210 is generated by applying the defined key to a color space swatch. A color space swatch is an image that represents the colors in a two-dimensional plane orthogonal to luminance in a color space. Each pixel in the color space swatch corresponds to a different color in that plane, according to the pixel's coordinates. For example, chrominance values (Cr and Cb in the YCrCb format or U and V values in a YUV format) may be represented by such a color plane. The color space swatch may be a circle (also called a color wheel), a square or may have some other shape. For example, the color space swatch may have an origin at the center that represents no saturation, and in which a color is represented by an angle (hue) and a magnitude representing a distance from the origin (saturation). An example color wheel or square has an angular gradient of varying hue, with red at 110 degrees, green at 230 degrees and blue at 350 degrees and has a radial gradient of varying saturation, with zero saturation in the center and full saturation at the edge.
  • By inputting the color space swatch to the keyer, an alpha matte is generated based on the defined key. The color space swatch is composited with a background, such as a black image, using the generated alpha matte. The output of the compositor is the key swatch 216. The alpha matte generated by applying the defined key to the color swatch image provides an alpha swatch 218. To generate the key swatch, the color space swatch is not preprocessed. However, the alpha matte may be post-processed and spill correction may be applied to the color space swatch. The key swatch output by the compositor may be displayed and updated interactively as the user modifies the key controls (110 in FIG. 1), spill controls (120 in FIG. 1) and any control for the matte post-processing (114 in FIG. 1).
  • The key swatch display 210 and the alpha swatch display 214 may be based directly on the key swatch 216 or the alpha swatch 218. Alternatively, the key swatch 216 and/or alpha swatch 218 also may be modified to include a representation of the input image. In particular, this representation of the input image indicates what colors are present in the input image. Because each pixel in the color swatch, or the alpha matte generated from it, corresponds to a color, each pixel in either the color swatch or the alpha matte may be modified to indicate whether its corresponding color is present in the input image. To generate this view, the key swatch and alpha swatch are input to a combiner 220. The combiner also receives either the input image or the preprocessed input image as indicated at 222. For each pixel in the input image, the position of its corresponding color in the key swatch or alpha swatch is identified. The pixel at this position in the key swatch or alpha swatch is set to a value that, when displayed, indicates that the color is present in the input image. For example, on the alpha swatch display, because the alpha matte is a gray scale, each color that is present in the input image may be displayed using that color. The combiner 220 outputs the key swatch display 210 or the alpha swatch display 214.
  • Referring now to FIGS. 3 and 4, examples of such key swatch displays and alpha swatch displays are shown, in gray scale. In FIG. 3, a dark region 300 indicates the colors that are extracted by the key. The scattergram-like object 302 indicates the colors that are present in the input image. Because each pixel in the key swatch is a color, the indication that the color is in the input image is provided by changing this color, for example by modifying its saturation. In FIG. 4, the dark region 300 also indicates the colors that are extracted by the key. The scattergram-like object 400 indicates the colors that are present in the input image. Each pixel of the scattergram-like object may be the color that is present in the input image.
  • As noted above, the key swatch display 210 and the alpha swatch display 214 may be modified to include a representation of the preprocessed input image instead of the input image. By using the preprocessed input image, the effect of the preprocessing controls on the ability to apply the key may be visualized. The key swatch display and the alpha swatch display as modified to include a representation of the preprocessed input image also may be interactively updated as the user changes the preprocessing controls. For example, as shown in FIG. 5, if the saturation of low luminance pixels is increased, the result, as shown in the alpha swatch display, is an appearance of the pixels spreading out away from the origin.
  • Having now described the display images in the graphical user interface, additional optional luminance processing that may be applied to the chroma keying operation will now be described. First, the alpha matte may be modified according to the luminance of the pixels in the input image. Second, shadows may be suppressed by preprocessing the input image to modify each pixel according to the luminance of the pixel.
  • To modify the alpha matte, the alpha value corresponding to each pixel in the input image is modified according to the luminance of that pixel. This optional modification may be used to increase or decrease the transparency level of pixels based on whether the pixel is dark or bright. For example, very bright pixels may be keyed out more than darker pixels. This modification is applied only to pixels that are neither fully opaque nor fully transparent, i.e., for which the alpha value is greater than 0 but less than 1. In particular, a user may specify a function, for example by using one or more function curves, that maps luminance values to alpha offsets. The alpha offsets may range from −1.0 to 1.0. Such a function may be specified through a conventional graphical user interface, for example an interface for defining function curves. This function may be represented in a lookup table.
  • When such luminance processing is enabled, for each pixel, if the alpha value generated for the pixel is greater than 0 but less than 1, the luminance value for that pixel is applied to the lookup table to obtain the alpha offset. The sum of the alpha value and the alpha offset value is computed, and the result is clipped if necessary to 0 or 1. If the alpha value is 0 or 1 it is unchanged. The resulting alpha value for each pixel provides the processed matte image. The matte image resulting from luminance processing may be provided as the alpha display 212 in the user interface. Luminance processing, whether or not enabled for processing the input image, is not used to generate the key swatch display or alpha swatch display, i.e., it is not applied to the alpha matte generated for the color swatch. The alpha display 212 may be interactively updated to display the modified alpha matte as the user makes changes to the specified alpha offset function.
  • As noted above, another form of luminance processing involves shadow suppression by preprocessing the input image. In chroma keying operations it is common for a foreground object to cast a shadow on a background that is to be keyed out, thus making some pixels darker in the background. These pixels tend to have lower luminance and lower saturation. As a result, it is more difficult to ensure that a key can capture these pixels. To address this difficulty, an input image may be preprocessed by increasing the saturation of pixels that have low luminance.
  • For example, the saturation may be increased by adding an offset to the saturation determined by a user-adjustable variable and the luminance of the pixel. In particular, a user-adjustable value (V) may be between 0 and 1 and may be defined through any appropriate user interface, such as a slider or text box. This value is multiplied by a function of the luminance Y, for example f(Y)=255−Y or other function that is inversely proportional to the luminance, to provide the product V*f(Y). The chrominance values of the pixel Cb, Cr are converted to Pb, Pr space values, by Pb=Cb−128 and Pr=Cr−128. Another factor L is computed as L=1.0/(square root(Pb*Pb+Pr*Pr)). The new values for Cb and Cr for the pixel are Cb=Cb+V*f(Y)*Pb*L, and Cr=Cr+V*f(Y)*Pr*L, with the new Cb and Cr values are bounded within the minimum and maximum values of Cb and Cr.
  • The resulting preprocessed image becomes the input to the matte generation function. The original input image, in contrast, is applied to the spill correction and/or the compositor. The function of luminance used to increase the saturation may be user-adjustable through an appropriate graphical user interface, such as an input text box or slider representing the variable. Because the key swatch display, alpha swatch display and alpha display each may be generated using the preprocessed input image, these displays may be interactively updated as the user changes the preprocessing controls.
  • The various components of the system described herein may be implemented as a computer program using a general-purpose computer system. Such a computer system typically includes a main unit connected to both an output device that displays information to a user and an input device that receives input from a user. The main unit generally includes a processor connected to a memory system via an interconnection mechanism. The input device and output device also are connected to the processor and memory system via the interconnection mechanism.
  • One or more output devices may be connected to the computer system. Example output devices include, but are not limited to, a cathode ray tube (CRT) display, liquid crystal displays (LCD) and other video output devices, printers, communication devices such as a modem, and storage devices such as disk or tape. One or more input devices may be connected to the computer system. Example input devices include, but are not limited to, a keyboard, keypad, track ball, mouse, pen and tablet, communication device, and data input devices. The invention is not limited to the particular input or output devices used in combination with the computer system or to those described herein.
  • The computer system may be a general purpose computer system which is programmable using a computer programming language, a scripting language or even assembly language. The computer system also may include specially programmed, special purpose hardware. In a general-purpose computer system, the processor is typically a commercially available processor. The general-purpose computer also typically has an operating system, which controls the execution of other computer programs and provides scheduling, debugging, input/output control, accounting, compilation, storage assignment, data management and memory management, and communication control and related services.
  • A memory system typically includes a computer readable medium. The medium may be volatile or nonvolatile, writeable or nonwriteable, and/or rewriteable or not rewriteable. A memory system stores data typically in binary form. Such data may define an application program to be executed by the microprocessor, or information stored on the disk to be processed by the application program. The invention is not limited to a particular memory system.
  • A system such as described herein may be implemented in software or hardware or firmware, or a combination of the three. The various elements of the system, either individually or in combination may be implemented as one or more computer program products in which computer program instructions are stored on a computer readable medium for execution by a computer. Various steps of a process may be performed by a computer executing such computer program instructions. The computer system may be a multiprocessor computer system or may include multiple computers connected over a computer network. The components shown in FIG. 1 may be separate modules of a computer program, or may be separate computer programs, which may be operable on separate computers. The data produced by these components may be stored in a memory system or transmitted between computer systems.
  • Having now described an example embodiment, it should be apparent to those skilled in the art that the foregoing is merely illustrative and not limiting, having been presented by way of example only. Numerous modifications and other embodiments are within the scope of one of ordinary skill in the art and are contemplated as falling within the scope of the invention.

Claims (24)

1. A method for providing information to a user about a key applied by a keyer to an input image, comprising:
applying the key to a color space swatch to generate an alpha matte;
compositing the color space swatch as a foreground image with a black image as a background image using the alpha matte to generate a key swatch image; and
displaying the key swatch image to the user.
2. The method of claim 1, further comprising:
superimposing on the key swatch image an indication of the colors present in the input image.
3. The method of claim 1, further comprising:
preprocessing the input image; and
superimposing on the key swatch image an indication of the colors present in the preprocessed input image.
4. The method of claim 1, further comprising:
interactively updating the key swatch image as the user modifies the key.
5. The method of claim 3, further comprising:
interactively updating the key swatch image as the user modifies controls defining the preprocessing of the input image.
6. A computer program product comprising:
a computer readable medium;
computer program instructions stored on the computer readable medium that, when processed by a computer, instruct the computer to perform a method for providing information to a user about a key applied by a keyer to an input image, comprising:
applying the key to a color space swatch to generate an alpha matte;
compositing the color space swatch as a foreground image with a black image as a background image using the alpha matte to generate a key swatch image; and
displaying the key swatch image to the user.
7. The computer program product of claim 6, wherein the method further comprises:
superimposing on the key swatch image an indication of the colors present in the input image.
8. The computer program product of claim 6, wherein the method further comprises:
preprocessing the input image; and
superimposing on the key swatch image an indication of the colors present in the preprocessed input image.
9. The computer program product of claim 6, wherein the method further comprises:
interactively updating the key swatch image as the user modifies the key.
10. The computer program product of claim 8, wherein the method further comprises:
interactively updating the key swatch image as the user modifies controls defining the preprocessing of the input image.
11. A method for providing information to a user about a key applied by a keyer to an input image, comprising:
applying the key to a color space swatch to generate an alpha matte;
displaying an alpha swatch image based on the alpha matte to the user.
12. The method of claim 11, further comprising:
superimposing on the alpha swatch image an indication of the colors present in the input image.
13. The method of claim 11, further comprising:
preprocessing the input image; and
superimposing on the alpha swatch image an indication of the colors present in the preprocessed input image.
14. The method of claim 11, further comprising:
interactively updating the alpha swatch image as the user modifies the key.
15. The method of claim 13, further comprising:
interactively updating the alpha swatch image as the user modifies controls defining the preprocessing of the input image.
16. A computer program product comprising:
a computer readable medium;
computer program instructions stored on the computer readable medium that, when processed by a computer, instruct the computer to perform a method for providing information to a user about a key applied by a keyer to an input image, comprising:
applying the key to a color space swatch to generate an alpha matte;
displaying an alpha swatch image based on the alpha matte to the user.
17. The computer program product of claim 16, wherein the method further comprises:
superimposing on the alpha swatch image an indication of the colors present in the input image.
18. The computer program product of claim 16, wherein the method further comprises:
preprocessing the input image; and
superimposing on the alpha swatch image an indication of the colors present in the preprocessed input image.
19. The computer program product of claim 16, wherein the method further comprises:
interactively updating the alpha swatch image as the user modifies the key.
20. The computer program product of claim 18, wherein the method further comprises:
interactively updating the alpha swatch image as the user modifies controls defining the preprocessing of the input image.
21. A method for preprocessing an input image to a keyer, comprising:
for each pixel in the input image, modifying saturation of the pixel according to luminance of the pixel to generate a preprocessed input image;
generating an alpha matte using the preprocessed input image; and
compositing the input image and a background image using the alpha matte.
22. The method of claim 21, further comprising:
generating a display indicative of the colors present in the preprocessed input image; and
interactively updating the display as a user changes controls for the modifying of the saturation of the pixels in the input image.
23. A method for post-processing an alpha matte generated by applying a key to an image, comprising:
for each pixel in the image, determining an alpha offset value as a function of luminance of the pixel;
for each pixel in the image, modifying an alpha value for the pixel in the alpha matte according to the alpha offset value for the pixel to create a processed matte image; and
compositing the image and a background image using the processed matte image.
24. The method of claim 23, further comprising:
generating a display using the processed matte image; and
interactively updating the display as a user changes controls for the function defining the alpha offset values.
US10/939,042 2004-09-10 2004-09-10 Graphical user interface for a keyer Abandoned US20060055707A1 (en)

Priority Applications (5)

Application Number Priority Date Filing Date Title
US10/939,042 US20060055707A1 (en) 2004-09-10 2004-09-10 Graphical user interface for a keyer
US11/112,321 US7280117B2 (en) 2004-09-10 2005-04-22 Graphical user interface for a keyer
CA002506637A CA2506637A1 (en) 2004-09-10 2005-05-06 Graphical user interface for a keyer
JP2005163621A JP2006081151A (en) 2004-09-10 2005-06-03 Graphical user interface for keyer
EP05254764A EP1635294A1 (en) 2004-09-10 2005-07-29 Graphical user interface for a keyer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
US10/939,042 US20060055707A1 (en) 2004-09-10 2004-09-10 Graphical user interface for a keyer

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US11/112,321 Continuation US7280117B2 (en) 2004-09-10 2005-04-22 Graphical user interface for a keyer

Publications (1)

Publication Number Publication Date
US20060055707A1 true US20060055707A1 (en) 2006-03-16

Family

ID=36033407

Family Applications (1)

Application Number Title Priority Date Filing Date
US10/939,042 Abandoned US20060055707A1 (en) 2004-09-10 2004-09-10 Graphical user interface for a keyer

Country Status (1)

Country Link
US (1) US20060055707A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080117333A1 (en) * 2006-11-17 2008-05-22 Disney Enterprises, Inc. Method, System And Computer Program Product For Video Insertion
US9442646B2 (en) 2014-03-26 2016-09-13 Onshape Inc. Numeric input control through a non-linear slider

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4811084A (en) * 1984-04-09 1989-03-07 Corporate Communications Consultants, Inc. Video color detector and chroma key device and method
US20010028735A1 (en) * 2000-04-07 2001-10-11 Discreet Logic Inc. Processing image data
US20040218100A1 (en) * 2003-05-02 2004-11-04 Staker Allan Robert Interactive system and method for video compositing
US6927784B2 (en) * 2001-09-27 2005-08-09 Seiko Epson Corporation Image display system, projector, program, information storage medium, and image processing method
US20050219259A1 (en) * 2004-04-02 2005-10-06 Robert Gonsalves Color correction of images while maintaining constant luminance

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4811084A (en) * 1984-04-09 1989-03-07 Corporate Communications Consultants, Inc. Video color detector and chroma key device and method
US20010028735A1 (en) * 2000-04-07 2001-10-11 Discreet Logic Inc. Processing image data
US6927784B2 (en) * 2001-09-27 2005-08-09 Seiko Epson Corporation Image display system, projector, program, information storage medium, and image processing method
US20040218100A1 (en) * 2003-05-02 2004-11-04 Staker Allan Robert Interactive system and method for video compositing
US20050219259A1 (en) * 2004-04-02 2005-10-06 Robert Gonsalves Color correction of images while maintaining constant luminance

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080117333A1 (en) * 2006-11-17 2008-05-22 Disney Enterprises, Inc. Method, System And Computer Program Product For Video Insertion
EP2082577A2 (en) * 2006-11-17 2009-07-29 Disney Enterprises, Inc. Method, system and computer program product for video insertion
EP2082577A4 (en) * 2006-11-17 2010-12-15 Disney Entpr Inc Method, system and computer program product for video insertion
US9442646B2 (en) 2014-03-26 2016-09-13 Onshape Inc. Numeric input control through a non-linear slider

Similar Documents

Publication Publication Date Title
US7280117B2 (en) Graphical user interface for a keyer
US7970206B2 (en) Method and system for dynamic, luminance-based color contrasting in a region of interest in a graphic image
US7043058B2 (en) Correcting motion vector maps for image processing
US9934562B2 (en) Method for dynamic range editing
US8644638B2 (en) Automatic localized adjustment of image shadows and highlights
US7084879B2 (en) Image processing
US6972771B2 (en) Image display device, image display method, and image display program
AU727503B2 (en) Image filtering method and apparatus
US5715331A (en) System for generation of a composite raster-vector image
US5422986A (en) Method for generating soft-edge mattes for visual elements of images
CN110163832B (en) Face fusion method and device and terminal
US6262778B1 (en) Image processing system
WO2014170886A1 (en) System and method for online processing of video images in real time
JP2000134486A (en) Image processing unit, image processing method and storage medium
JP3529759B2 (en) Image processing program, computer-readable recording medium storing image processing program, program execution device, image processing device, and image processing method
CN113436284A (en) Image processing method and device, computer equipment and storage medium
US20060055707A1 (en) Graphical user interface for a keyer
US8086060B1 (en) Systems and methods for three-dimensional enhancement of two-dimensional images
Lecca Relighting Backlight and Spotlight Images using the von Kries Model.
CN112102219B (en) Method and device for picking image-text in image
JP2713677B2 (en) Color image color change processing method and color image synthesis processing method
JP7309132B1 (en) Image Synthesis Method in Chroma Key Processing
JPH07134769A (en) Anti-aliasing processing method for image synthesis
JP2013003990A (en) Image processing device, image processing method, and program
CN112634165A (en) Method and device for image adaptation VI environment

Legal Events

Date Code Title Description
AS Assignment

Owner name: AVID TECHNOLOGY, INC., MASSACHUSETTS

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNOR:FAY, RANDY M.;REEL/FRAME:016492/0942

Effective date: 20050422

STCB Information on status: application discontinuation

Free format text: ABANDONED -- FAILURE TO RESPOND TO AN OFFICE ACTION