WO1998037702A1 - Dispositif et procede de traitement de signaux video, dispositif synthetiseur d'images, et dispositif d'edition - Google Patents

Dispositif et procede de traitement de signaux video, dispositif synthetiseur d'images, et dispositif d'edition Download PDF

Info

Publication number
WO1998037702A1
WO1998037702A1 PCT/JP1998/000712 JP9800712W WO9837702A1 WO 1998037702 A1 WO1998037702 A1 WO 1998037702A1 JP 9800712 W JP9800712 W JP 9800712W WO 9837702 A1 WO9837702 A1 WO 9837702A1
Authority
WO
WIPO (PCT)
Prior art keywords
key signal
image
foreground image
color space
signal generation
Prior art date
Application number
PCT/JP1998/000712
Other languages
English (en)
French (fr)
Inventor
Katsuakira Moriwake
Tatsunobu Ando
Katsuro Matsuzaki
Atsushi Tsukahara
Original Assignee
Sony Corporation
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 Sony Corporation filed Critical Sony Corporation
Priority to JP53649598A priority Critical patent/JP3870422B2/ja
Priority to CA002252871A priority patent/CA2252871C/en
Priority to EP98904406A priority patent/EP0907293A4/en
Priority to US09/171,401 priority patent/US6201581B1/en
Priority to KR1019980708399A priority patent/KR20000064957A/ko
Priority to CNB988004429A priority patent/CN100373955C/zh
Publication of WO1998037702A1 publication Critical patent/WO1998037702A1/ja

Links

Classifications

    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B27/00Editing; Indexing; Addressing; Timing or synchronising; Monitoring; Measuring tape travel
    • G11B27/02Editing, e.g. varying the order of information signals recorded on, or reproduced from, record carriers
    • G11B27/031Electronic editing of digitised analogue information signals, e.g. audio or video signals
    • G11B27/034Electronic editing of digitised analogue information signals, e.g. audio or video signals on discs
    • 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
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B27/00Editing; Indexing; Addressing; Timing or synchronising; Monitoring; Measuring tape travel
    • G11B27/10Indexing; Addressing; Timing or synchronising; Measuring tape travel
    • G11B27/34Indicating arrangements 
    • 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
    • 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

  • the present invention relates to a video signal processing device and method, an image synthesizing device, and an editing device used for so-called chroma key image synthesis. It is. BACKGROUND ART Conventionally, in chroma-key processing using an editing device in a broadcasting station or the like, image synthesis is performed by fitting a background image to a foreground image.
  • a broadcast station or the like captures an announcer or the like in advance with, for example, a blue screen as a background (a so-called blue back), and thereby generates a video signal of a foreground image. Also, a desired subject to be assigned to the background of the foreground image is imaged, and thereby a video signal of the background image is generated.
  • a color to be extracted from the foreground image is set by setting a reference signal level for the color difference signal in advance in response to the operation of the operation.
  • the editing device sets upper and lower signal levels (that is, threshold values) based on the center color of the color to be extracted.
  • the editing device generates a key signal by sequentially comparing the threshold with the video signal of the foreground image. That is, the editing device sets the value of the foreground image generated with the blue screen as the background to a value of 0 at the background and the value of 1 to the color other than the blue background.
  • the upper and lower thresholds are set and a key signal is generated. For other bluish colors, a key signal is generated in a range from 1 to 0 corresponding to the upper and lower thresholds so that the bluish color has a value corresponding to the bluish degree.
  • the conventional editing apparatus sequentially determines the color of the foreground image based on the two-dimensional color space represented by the color difference signal (that is, the color space using the UV signal as a coordinate axis) and generates a key signal.
  • the foreground image and the background image are synthesized based on the key signal generated in this manner, and a synthesized image in which the background image is fitted to the background of the foreground image is generated.
  • the conventional editing apparatus has a drawback that it is difficult to discriminate between a portion having a high luminance level and a portion having a low luminance level even for the same color.
  • the synthesized image by the conventional editing device has a problem that the contour of the fitted background image is displayed unnaturally, and the quality is deteriorated as compared with a case where no chroma processing is performed.
  • the present invention has been made in view of the above-described problems, and can provide a high-quality composite image with a simple configuration, and can execute desired processing with a simple operation. It is an object of the present invention to provide a video signal processing device and method, an image synthesizing device, and an editing device capable of performing the above.
  • the video signal processing apparatus or method according to the present invention is configured to generate a key signal for combining a foreground image and a background image with a three-dimensional color whose origin is the center color of the color extracted from the foreground image.
  • a key signal for combining a foreground image and a background image with a three-dimensional color whose origin is the center color of the color extracted from the foreground image.
  • polar coordinates of each pixel of the foreground image are detected, and the key signal is generated according to a distance from the origin in the polar coordinates.
  • the value of the key signal is set according to the distance from a predetermined reference color in a three-dimensional color space to each pixel of the foreground image. Displaying an image of the processing result by the key signal and a screen for setting the characteristic of the key signal, changing the characteristic of the key signal with information obtained through the screen for setting the characteristic, It is characterized in that the image of the processing result is changed.
  • the value of the key signal is determined according to the distance of each pixel of the foreground image from the reference center color in the three-dimensional color space. Setting, and displaying position information of a pixel specified in the foreground image from a predetermined reference position in the three-dimensional color space. Further, when generating a key signal for synthesizing the foreground image and the background image, the pixels forming the foreground image are projected on a reference plane set on a three-dimensional color space, and the foreground image is generated. The position of the pixel forming the pixel in the three-dimensional color space is displayed.
  • the value of the key signal is set according to the distance from a predetermined reference color in the three-dimensional color space, and the key signal is set in the three-dimensional color space.
  • at least each pixel of the foreground image is arranged at a corresponding position, and an image viewed from a desired viewpoint is displayed.
  • the key signal generation device and method having such features can be applied to an image synthesis device for each frame and an editing device for editing a plurality of frames.
  • FIG. 1 is a block diagram showing a schematic configuration of an editing device to which an embodiment of the present invention is applied.
  • FIG. 2 is a block diagram illustrating an example of a key signal generation device according to an embodiment of the present invention.
  • FIG. 3A and 3B are diagrams showing the relationship between the foreground image and the center color.
  • FIG. 4 is a diagram provided to explain the condition setting of the mouth opening process.
  • FIG. 5A and FIG. 5B are diagrams showing the boundary in the three-dimensional color space and the Kumaguchi signal in the chromai processing.
  • FIG. 6 is a diagram showing a point cloud specifying a boundary in the three-dimensional color space in the chroma key processing.
  • FIGS. 7A and 7B are diagrams showing a boundary on a two-dimensional color space and a color cancel key signal in the color cancel process.
  • FIG. 8 is a diagram illustrating a point group specifying a boundary in a two-dimensional color space in the color canceling process.
  • FIG. 9 is a diagram for explaining the calculation of the distance from the point cloud of FIG. 6 to the boundary of the large diameter.
  • FIG. 10 is a diagram for explaining the calculation of the distance from the point group of FIG. 6 to the boundary of the small diameter.
  • FIGS. 11A and 11B are diagrams showing the relationship between the boundary in FIG. 5 and the characteristics of the Kuguchi Maki process.
  • FIG. 12 is a block diagram illustrating a chroma processing unit of the editing apparatus in FIG.
  • FIG. 13 is a diagram provided for describing processing of a foreground image.
  • FIG. 14 is a diagram for describing boundaries in the three-dimensional color space of the chroma key processing.
  • FIG. 15A and 15B are diagrams showing the relationship between the boundary in the two-dimensional color space of the color canceling process and the key signal for the color canceling, and Figs. 16A to 16F show atomics.
  • FIG. 3 is a diagram for explaining image synthesis involving synthesis.
  • FIG. 17 is a flowchart showing the procedure for setting the processing conditions for the mouth opening process.
  • FIG. 18 is a diagram showing a preview screen in the editing device according to the first embodiment of the present invention.
  • FIG. 19 is a diagram showing a specific example of the preview screen.
  • FIG. 20 is a diagram for explaining the key parameter overnight setting screen.
  • FIG. 21 is a diagram showing a specific example of a key parameter overnight setting screen.
  • FIG. 22 is a diagram showing the center color setting section of the key parameter overnight setting screen.
  • FIG. 23 is a flowchart for explaining the pixel processing in the foreground image.
  • FIG. 24 is a diagram illustrating a relationship between luminance, color difference, angle, and distance in the processing procedure of FIG.
  • FIG. 25 is a diagram showing a vector scope display unit.
  • FIG. 26 is a diagram provided for explanation of a first display unit in the vector scope display unit.
  • FIG. 27 is a diagram provided for explanation of a second display unit in the vector scope display unit.
  • FIG. 28 is a diagram provided for explanation of a third display unit in the vector scope display unit.
  • FIG. 29 is a diagram provided for explanation of a fourth display unit in the vector scope display unit.
  • FIG. 30 is a flowchart showing a display process on the first to third display units.
  • FIG. 31 is a diagram provided for describing the processing procedure in FIG. 30.
  • FIG. 32 is a diagram illustrating an example of the color space display unit.
  • FIG. 33 is a diagram provided for describing switching of viewpoints in the color space display unit.
  • FIG. 34 is a diagram for describing rotation of the color space in the color space display unit.
  • FIG. 35 shows the processing procedure of the central processing unit according to the second embodiment. It is a flowchart which shows.
  • FIG. 36 is a diagram for describing a process of changing a representative point according to another embodiment.
  • FIG. 1 is a block diagram showing a schematic configuration of an editing apparatus 1 for performing image synthesis by chroma-sing processing and color canceling processing.
  • the editing device 1 shown in FIG. 1 is configured by arranging a board for image processing on a computer, recording various video signals on a hard disk device (HDD) 2 in response to the operation of the operator, and The recorded video signal is edited and output to an external device.
  • the editing device 1 combines the video signals SV 1 and SV 2 of the foreground image and the background image recorded on the hard disk device 2 to generate a video signal SV 3 based on the composite image, and converts the video signal SV 3 to the hard disk device 2 To record.
  • the hard disk device 2 switches its operation in response to a control command input via the bus BUS, records a video signal required for editing by the editing device 1, and outputs the recorded video signal.
  • the operation of the frame buffers 3 and 4 is similarly switched by the control data input via the bus BUS, and the video signals SV 1 and SV 2 sequentially input, respectively, are accumulated and output at a predetermined timing. I do.
  • the chroma processing unit 5 combines the video signals SV 1 and SV 2 input from the frame buffers 3 and 4 by the technique of the chroma and outputs a video signal SV 3 constituting a composite image.
  • the key signal generating unit 6 generates a key signal from the video signal SV1 of the foreground image, and the image synthesizing unit 7 synthesizes the video signal SV3 with the key signal.
  • the key signal generation unit 6 in the chroma key processing unit 5 for example, the key signal generation unit 6 in FIG. 2 according to the embodiment of the present invention can be used. Will be described in detail later.
  • the frame buffer 8 accumulates the video signal SV 3 output from the chroma processing unit 5 and outputs the video signal SV 3 to the hard disk device 2 and the monitor 9 at a predetermined timing.
  • the video signal SV 3 that has been chroma-processed by the chroma key processing unit 5 is confirmed on the monitor 9 and recorded on the hard disk device 2.
  • the frame buffers 3, 4, and 8 and the chroma processing unit 5 are configured on a boat, and this board is connected to a bus BUS of a convenience store.
  • the central processing unit (CPU) 10 secures a work area in the random access memory (RAM) 11 and, in response to the operation of the keyboard 12 and the mouse 13, the read-only memory (ROM) 14 and the hard disk By executing a series of processing procedures stored in the hard disk drive, an editing list necessary for processing by the editing device is created, and the entire operation is controlled according to the created editing list. A series of editing processes are executed according to the operation of the operation.
  • RAM random access memory
  • ROM read-only memory
  • the central processing unit 10 When the user selects the editing by chromaki, the operation of the chromaki processing unit 5, the frame buffers 3, 4, and 8 is started, and the chromaki processing is executed. In this process, the central processing unit 10 receives the setting of the chroma processing condition, executes the parameter setting process of the mouth mask processing unit 5 according to the received condition, and executes the set parameter. Chroma key processing is started overnight.
  • the central processing unit 10 displays a still image of the foreground image on the monitor 9 in the processing of the condition setting, and when the operator moves the cursor on this monitor and clicks the mouse 13, Set the corresponding pixel as the center color pixel.
  • the center color is a reference color of a portion extracted from the foreground image.
  • the hue of the foreground image is determined based on a predetermined area in a three-dimensional color space formed around the center color. And a luminance are determined, and a key signal is generated based on a result of the determination.
  • the central processing unit 10 detects the luminance Y0 and the hue U0, V0 of this pixel, As shown in FIG. 3B, the color specified by the luminance Y 0 and the hue U 0, V 0 is set as the center color CO. Further, the central processing unit 10 has a double spherical shape K 1 and K having the center color C 0 as a center in a three-dimensional color space having the luminance Y, color difference U, and V as reference axes. Set 2. At this time, the central processing unit 10 forms these two spherical shapes K 1 and K 2 by setting a predetermined reference value as the radius.
  • the central processing unit 10 executes a process that is partially common to the chroma keying process described later, thereby obtaining a still image displayed on the monitor 9. , The color regions included inside these spherical shapes K l and ⁇ 2 are displayed. In this state, the central processing unit 10 partially changes the outer spherical shape K 2 by, for example, an operation indicated by an arrow ⁇ ⁇ ⁇ ⁇ in FIG. Deform to. This deformation is similarly performed for the inner spherical shape K 1 in response to the operation of the operation.
  • the central processing unit 10 is configured such that, for the two spherical shapes K 1 and K 2 thus set on the color space, the area inside the small-diameter spherical shape K 1 For colors included in the ARI, a key signal KEY with a value of 0 is generated to assign a background image. For the color located in the outer area A R 3 of the large-diameter sphere K 2, a key signal K EY having a value of 1 is generated so as to assign a foreground image.
  • a key signal KEY is generated between a value 1 and a value 0 according to a value corresponding to the position of the color.
  • FIG. 5B shows an example of the key signal KEY.
  • the central processing unit 10 sets boundaries K1 and K2 at which the characteristics of the key signal KEY are switched according to the substantially spherical shapes K1 and K2 set by the operator in this manner.
  • the central processing unit 10 sets the boundaries K1 and K2 set in this way at 26 points (hereinafter referred to as representative points) P0 to P25, respectively.
  • the central processing unit 10 determines these representative points P0 to P25 on the Y, U, and V space coordinates having the center color C ⁇ as the origin by using coordinate values represented by polar coordinates.
  • the central processing unit 10 is located in the polar coordinate space in the latitudinal direction (angle (Z, the direction from the center color C 0 defined from here).
  • the angle at which the representative point is expressed is not limited to 45 degrees, but may be 22.5 degrees, for example, and may be an arbitrary angle.
  • the central processing unit 10 cuts these spherical shapes K1 and K2 by, for example, a plane perpendicular to the Y axis that intersects the center color C0, and forms a double circular shape K as shown in FIG. 7A. 1 C ;, K 2 C are formed, and these circular shapes K 1 C, K 2 C are deformed in response to the operation of the operation overnight. Also, the centers C 0 C of the circular shapes K 1 C, K 2 C are formed. (U 0 C, V 0 C) is displaced. This allows the central processing unit 10 to set the range for color cancellation (color erasure) using these double circular shapes K 1 C and K 2 C, and also for the key signal CCK for color cancellation. , Switching characteristics Set two boundaries.
  • a color cancellation value between 1 and 0 is applied so that a color cancel cell is applied according to the position.
  • the central processing unit As shown in Fig. 8, from the coordinates (U0C, V0C) of the center C0C, which was changed by the operation of the operator, as the origin, Vectors are set, and each circular shape is expressed by a total of eight representative point groups P0C to P7C defined by the lengths of these vectors. This angle can also be set arbitrarily, for example, 22.5 degrees. Therefore, when setting the boundaries K 1 C and K 2 C of the range of color cancellation (color erasure) by the above-described man-machine interface, the central processing unit 10 operates in accordance with the operation of the operating system. Will have a variable length r C.
  • the color cancellation will be described. Basically, when a chroma key is combined, the edges of the subject in the foreground image, semi-transparent parts such as smoke, cups, etc. will have a background color (for example, blue when using a blue background). The function to prevent this is color cancellation. In this method, the same color as the background color in the foreground image is first changed to colorless and then combined.
  • achromatization can be performed by subtracting the same color as the background color from the foreground image, that is, adding a complementary color.
  • this process is applied to the entire foreground image, the color of the subject will change, so it is necessary to specify an area for color cancellation.
  • This is the color cancellation signal CCK.
  • the color cancel key signal CCK is similar to the inverted version of the chroma key key signal KEY, but the method of generating the original key signal is different. Not be.
  • the boundaries K 1 and K 2 for the chroma key and the boundaries ⁇ ⁇ ⁇ 1 C and ⁇ 2 C for the color canceller are set by the operation of the operation overnight.
  • the central processing unit 10 shifts to the parameter setting process, calculates the parameters to be set in the chroma key processing unit 5, and sets the parameters in the chroma key processing unit 5.
  • the central processing unit 10 calculates the parameters of the chroma processing based on the boundaries K1 and K2.
  • the central processing unit 10 has a latitude ( ⁇ ) in the Y, U, V color space based on the center color CO described above with reference to FIG. And the longitude 6 »are sequentially changed, and the lengths ri and ro to the points RI and R0 where the vector V extending from the origin at each latitude ⁇ and longitude 6> intersect the boundaries K1 and K2, respectively. Is calculated.
  • the central processing unit 10 sequentially calculates the length of each boundary K1 and K2 by the interpolation calculation processing of the equations (1) and (2) using the coordinate values of four adjacent representative points. Calculate ri and ro.
  • the central processing unit 10 has the points RI and 6 detected for each latitude ⁇ and longitude 6> in this way. Calculate the clip point CLI ⁇ and the gain GAI ⁇ ⁇ from the lengths ri and r ⁇ to R 0 and R 0.
  • the central processing unit 10 sets the length ri calculated from the boundary ⁇ 1 of the small diameter in the clip point CLIP. Further, the central processing unit 10 sets the clip point CLIP to the value 0, sets the position of the length ro calculated from the large-diameter boundary K2 to the value 1, and sets the clip point CLIP and the value. Set the slope of this straight line that connects the point 1 with a straight line to the gain GAIN.
  • the central processing unit 10 executes the following arithmetic processing to calculate the clip point CLIP and the gain GAIN for each latitude and longitude ⁇ .
  • the central processing unit 10 sets a characteristic curve of key signal generation by the clip point CLI and the gain GAI for each latitude ⁇ and longitude 0.
  • This characteristic curve has a value of 0 for each latitude ⁇ and longitude ⁇ up to the small-diameter boundary K 1 and a value of 1 outside the large-diameter boundary K 2 according to the distance r from the center color C 0.
  • the value 0 to the value 1 are represented by a straight line.
  • the central processing unit 10 obtains these clip points C
  • the LIP and the gain GAIN are set in the key signal generator 6, and the key signal generator 6 is used to look up the clip points CL IP and gain GA IN, which are the addresses of the latitude ⁇ and longitude 6>. Form a bull.
  • the central processing unit 10 calculates a clip point and a gain for each latitude in the range of color cancellation (achromatism). Further, the central processing unit 10 sets the calculated clip point and gain in the key signal generation unit 6, and sets the key signal generation unit 6 to a clip point and an address with each time 0 as an address. Form a gain look-up table.
  • FIG. 12 is a block diagram showing the image synthesizing unit 7.
  • the image synthesizing unit 7 includes a luminance signal Yl, a color difference signal Ul, VI, which constitutes the video signal SV1 by the digital signal, and a luminance signal Y2, a color difference signal U2, which constitutes the video signal SV2, respectively. Enter V2.
  • the color canceling (color erasing) circuits 20 Y, 20 U and 20 V receive the luminance signal Y l and the color difference signals U l and VI of the video signal composed of the foreground image, respectively, and these luminance signal Y l and the color difference signal U l and V1 are subjected to the above-described color canceling processing using the color canceling key signal CCK and output.
  • the color canceling key signal CCK is generated by the key signal generating unit 6 based on the above-described color canceling range.
  • the color cancellation circuits 20Y, 20U, and 20V perform chroma-processing so that the background is not effectively reflected in the foreground image.
  • the remaining contour portion is subjected to color cancellation processing.
  • Keyers 2 1 Y, 2 1 U and 2 IV output the luminance signal Y 1 and color difference signals U l and VI output from the color cancel circuit 20 Y, 20 U and 20 V, weighted by the key signal KEY. .
  • Keyers 21Y, 21U and 2IV receive the luminance signal Y2-color difference signals U2 and V2 of the video signal consisting of the background image, and key these luminance signals Y2 and color difference signals U2 and V2.
  • Signal 11 Weighted by KEY and output the key signals 1—K ⁇ ⁇ input to the keyers 2 1 Y, 21 U and 21 V are the keys input to the keys 21 ⁇ , 21 U and 21 V.
  • the signal is generated by the key signal generator 6 based on the key signal KEY so as to be added to the single signal K ⁇ ⁇ ⁇ to obtain a weighting value of value 1.
  • the mixers 23 Y, 23 U, and 23 V are the luminance signals Y 1, color difference signals U 1, and V 1 output from the keys 21 Y, 21 U, and 21 V, respectively, and the keyers 21 Y and 2
  • the luminance signal Y 2 and the color difference signals U 2 and V 2 output from 1 U and 21 V are added together, and the video signal SV 3 is output based on the luminance signal Y 3 and the color difference signals U 3 and V 3.
  • the image synthesizing unit 7 synthesizes the foreground image and the background image by the key signals KEY and 1-KEY, and at this time, reduces the reflection of the background into the foreground image by the key signal CC. .
  • FIG. 2 is a block diagram showing a key signal generation device according to the first embodiment of the present invention as an example of the key signal generation unit 6 in FIG.
  • the chroma signal generator 25 inputs the color difference signals 111 and VI to the over-sampling circuits 26U and 26, Here, the color difference signals U 1 and V 1 are oversampled at the same sampling frequency as the luminance signal Y.
  • the chroma signal generation unit 25 effectively avoids the generation of noise in the processing of the subsequent color difference signals Ul and V1.
  • the coordinate conversion circuit 27 receives the color difference signals U l and VI, and specifies each pixel of the video signal SV 1 based on the color difference signals U l and VI on a UV plane with the center color CO as the origin by polar coordinates. . That is, the coordinate conversion circuit 27 subtracts the color difference signal levels U 0 and V 0 of the center color C 0 from the signal levels U 1 and V I of the respective color difference signals. Further, the coordinate conversion circuit 27 calculates an angle 6> on the UV plane and a distance rm from the original point C0 from each subtraction result.
  • the coordinate conversion circuit 27 executes the following arithmetic processing to obtain the position and the origin of each pixel of the video signal SV 1 in the YUV space with the center color CO as the origin.
  • the length rm of the line segment formed by projecting the line segment L connecting C 0 on the UV plane and the longitude 0 of the line segment L in the YUV space are detected.
  • the following coordinate conversion circuit 28 calculates the following equation from the distance rm calculated by the coordinate conversion circuit 27 and the luminance signal level Y1.
  • the image signal in the YUV space with the center color C 0 as the origin For each pixel position of SV1, calculate the latitude rM to the latitude ⁇ and the origin C0.
  • the look-up table 29 stores in advance the clip points CLIP (X, y) and the gains GA IN (x, y) at each latitude x and longitude y calculated by the central processing unit 10. And outputs the corresponding clip point CLIP ( ⁇ , ⁇ ) and gain GAIN (, ⁇ ), using the longitude 6> calculated by the coordinate conversion circuits 27 and 28 as the address, and the latitude ⁇ as the address. .
  • the look-up table 29 obtains the characteristics corresponding to each pixel of the video signal SV 1 from the characteristics of each latitude ⁇ and longitude 0 calculated in advance by the central processing unit 10, that is, as shown in FIG. 11B. The characteristics will be selectively output.
  • the key process circuit 30 determines whether the pixel of the video signal SV1 is located between the small-diameter boundary K1 and the large-diameter boundary K2 (indicated by reference numeral B in FIG. 14), In the case where the key signal MXK is located outside the boundary K2 (indicated by reference numeral C in FIG. 14), the key signal MXK is generated by executing the arithmetic processing represented by the following equations.
  • the key process circuit 30 uses the lookup table 29 set in advance in the chroma signal generation unit 25 to generate the video signal SV 1 A chroma key signal MX K is generated based on the luminance signal Y 1, the color difference signal Ul, and the VI.
  • the key signal generator 6 generates a key signal AMK for the above-described color cancellation (color erasing), inverts (subtracts it from 1), obtains a color cancellation key signal CCK, and outputs a video signal. According to Thus, the signal level of the chroma key signal MXK is corrected by the key signal ⁇ to obtain the chroma signal ⁇ ⁇ ⁇ ⁇ .
  • the image synthesizing unit 7 performs color cancel processing using the color cancel signal CCK obtained by inverting (subtracting from 1) the key signal ⁇ , and uses the corrected chroma signal ⁇ ⁇ ⁇ ⁇ . By performing the same chroma processing, image synthesis is performed in which the background color at the outline of the subject is reduced.
  • the color cancel key unit 32 generates the color difference signals U1, V1 output from the over sampling circuits 26U, 26V. 3 Enter in 3.
  • the coordinate conversion circuit 33 generates the video signal SV on the UV plane with the origin at the center coordinates U 0 C and V 0 C used for generating the color cancellation (color erasure) parameters as described above.
  • the position of each pixel of 1 is detected.
  • the distance r C and the angle 0 C are calculated by executing the same arithmetic processing as the arithmetic processing described above with respect to the equations (5) and (6).
  • the following lookup table 34 is formed by previously storing the clip points CLIPC (X) and the gain GA INC (X) at each angle X calculated by the central processing unit 10. Using the angle SC calculated in step 3 as the address, output the corresponding clip point CLIPC (6> C) and gain GAINC ( ⁇ C). As a result, the look-up table 34 selectively selects the color cancellation characteristic corresponding to each pixel of the video signal SV 1 from the characteristic of each angle 0 C previously calculated by the central processing unit 10. Output.
  • FIGS. 15A and 15B are the duplicates shown in FIGS. 7A and 7B described above.
  • FIG. 7 is a diagram showing the relationship between the lengths riC, roC to the boundary K1C, K2C of the circular shape and the key signal AMK.
  • the length riC from the center C0C which is the reference color for color cancellation
  • the boundary K1C of the small diameter circular shape is the above-mentioned clip point CLIPC
  • each of the video signals in the UV space is represented by the following equations (12) to (14).
  • AMK (rMC-CLIPC) xGAINC (CLIPC ⁇ rMC ⁇ roC)
  • the key process circuit 35 is the same as the key process circuit 30, and the clip point CLIPC output from this look-up table 34 (CLIC)
  • the key signal AMK corresponding to the distance r C calculated by the coordinate conversion circuit 33 is generated based on the gain GA INC ( ⁇ C).
  • the inverting circuit 36 subtracts the signal key signal AMK from the value 1 and outputs a color cancel key signal CCK.
  • the color cancel key signal generation unit 32 generates a key signal AMK corresponding to the two-dimensional area set for color cancellation by the operation.
  • the subtraction circuit 37 subtracts the chroma key signal KEY output from the selection circuit 38 from the value 1.
  • the key signal 1—KEY for the background is output and the selection circuit 38 outputs the key signal MX K from the key process circuits 30 and 35, and the key signal for the chroma key ⁇ . Generate ⁇ ⁇ .
  • the selection circuit 38 switches its operation in conjunction with the color cancel key signal generation unit 32 in response to the operation of the operation overnight, thereby executing the desired chroma key processing of the user.
  • the video signal SV3 output from the mixers 23Y, 23U, and 23V shown in Fig. 12 is represented by the luminance signal Y and the color difference signals U and V.
  • the selection circuit 38 outputs the key signal M XK output from the key process circuit 30 as a key signal KEY for chroma keying, and generates the color canceling key signal.
  • the unit 32 outputs a key signal CCK having a value of 1 (this causes the chroma processing unit 5 to execute a close process represented by the following relational expression.
  • the chroma processing unit 5 becomes the following relational expression Performs the chroma processing represented by
  • U3 UU1 -CCK- U0C + (1--MXK) U2., VI V0C.
  • U0C and V0C are the reference colors for the color cancel set by the operator in advance.
  • the processing in the first operation mode is based on the color difference signal components U 1 and VI to prevent the translucent portions of the subject, smoke, cups, and the like from becoming blue (in the case of bull-back).
  • the color difference signal components U 0 C and V 0 C of the center of C 0 C are subtracted, that is, the complementary colors are added. ⁇ Thus, the same as the background color in the foreground image (blue in the case of blue background) The color has been changed to colorless.
  • this color cancel processing is applied to the entire foreground image, the color of the subject will change, so it is necessary to specify the area where the color cancel is performed, and the signal for performing this specification is the color cancel key signal CCK. .
  • the selection circuit 38 when the operator selects the color cancel processing in the second operation mode, the selection circuit 38 outputs the color cancel key signal AMK as the key signal KEY, and outputs the color cancel key signal.
  • the chroma processing unit 5 executes the chroma processing represented by the following relational expression.
  • Y OC is the luminance level of the reference color for color cancelling set in advance by the operating system.
  • switching of the operation of the color cancel key signal generation unit 32 is performed by switching the operation of the inversion circuit 36.
  • This second operation mode is also called an “add-mix” synthesis mode.
  • a process of applying a key to the foreground image is not performed.
  • the background image subjected to the keying process is added to perform synthesis. This is effective, for example, when it is desired to perform color cancellation while leaving all information such as the shadow of the subject and other noises occurring on the blue background of the foreground image.
  • FIG. 16A to FIG. 16F are diagrams for explaining processing in such a second operation mode (admix synthesis mode).
  • FIG. 16A shows an example in which a subject SB such as a person is arranged in front of a blue background BB serving as a background in a foreground image, and a bright portion BR and a shadow portion SH occur near the subject SB.
  • FIG. 16B shows a luminance signal Y1 of the video signal of the foreground image at a predetermined horizontal line g
  • FIG. 16C shows the key signal MXK.
  • the video signal keyed by this key signal MXK for example, the luminance signal is shown in Fig. 16C
  • all information including the shadow part SH and the bright part BR on the blue back BB is erased, and only the information on the subject SB remains. For example, as shown in FIG.
  • the color cancellation signal CCK has a narrower subject area than the signal obtained by inverting (subtracting from 1) the key signal MXK.
  • Fig. 16F shows the signal (luminance signal component of the video signal) obtained by calculating Y1-CCK'Y0C for the above-mentioned atomic mixing, and the same applies to the color difference signal component. It is. As shown in Fig. 16F, it can be seen that the noise ⁇ on the blue back BB and the bright part BR are synthesized with the BR remaining.
  • FIG. 17 is a flowchart showing the processing procedure of the central processing unit 10 at the time of setting the conditions of the chroma key processing executed as described above.
  • the central processing unit 10 displays a key parameter setting screen and a preview screen on the monitor 9 in a window, and responds to an operation performed by the operator through these screens. Accept the condition.
  • the key parameter overnight setting screen is a screen for setting the conditions of the chroma processing
  • the preview screen is a screen for confirming the chroma processing using a still image.
  • the central processing unit 10 executes the events registered in the key parameter setting screen and the preview screen itself in response to the operation of the operation, or is registered in the buttons or the like of these screens. Each event described below is executed by executing the event in response to the operation of the operator.
  • step 10 the process proceeds from step SP1 to step SP2, in which the entire operation is controlled and the key parameter overnight setting screen and the preview screen are displayed on the monitor 9.
  • step SP3 receives an input of the center color CO (FIG. 6), and in a succeeding step SP4, a representative point based on the default value based on the center color C0. Set P 0 to P 25 (Fig. 6). Subsequently, the central processing unit 10 proceeds to step SP5, updates the preview screen with the center color C0 and the representative points P0 to P25, and then sets the parameters in the following step SP6. When the operator is operated, the process moves to step SP7 and ends this processing procedure. As a result, the central processing unit 10 subsequently sets the look-up tables 29 and 34 as necessary.
  • step SP 6 the central processing unit 10 receives the update of the central color C0 and the representative points P0 to P25, adjusts the parameters of the chroma processing, returns to step SP5, and updates the preview screen. .
  • FIG. 18 is a schematic diagram showing the preview screen 102.
  • the preview screen 102 includes a foreground image (Foreground), a background image (background), a key signal image (key), first to third composite images (Mixl to Mix3), and the like.
  • the foreground image (Foreground) has an edit pair specified by the in point and the out point.
  • a still image of one frame selected by the operator is allocated from the elephant material.
  • the background image (background) a still image of one frame selected by the operator is assigned from the editing material assigned to the background.
  • the key signal image (key) is formed by displaying the key signal generated by the set center color C0 and the representative points P0 to P25.
  • the first to third composite images (Mixl to Mix3) are formed by the above-described key signals by the arithmetic processing of the above equations (15), (16), and (17), respectively. Is assigned.
  • the central processing unit 10 in FIG. 1 loads the corresponding foreground image and background image from the hard disk device 2 to the frame buffers 3 and 4, and executes the above-described processing in the key signal generation unit 6 and the image synthesis unit 7. These key signal images and the like are generated and displayed by being executed by arithmetic processing. This allows the central processing unit 10 to form a preview screen so that the proper processing result can be confirmed when the setting of the center color C 0 and the representative points P 0 to P 25 is changed, and to improve usability. Has been established. In addition, the central processing unit 10 forms a preview screen 102 so that the processing results can be compared and confirmed with respect to the three types of opening and closing processes assigned to the editing device 1, thereby improving the usability of the operation. It is made to rise.
  • a display indicating the name of each image is arranged at the upper left of each image. Furthermore, a button (full) B1 for enlarging and displaying each image on the entire display screen and a button (FB) B2 for displaying an image on a dedicated monitor are arranged at the upper right side of each image.
  • the central processing unit 10 uses these buttons Bl and B2 with the mouse 13 When clicked, the event registered to each button Bl, B2 is executed to enlarge each screen and display a still image on the dedicated monitor.
  • FIG. 19 is a diagram showing a specific example of the preview screen as described above.
  • FIG. 20 is a schematic diagram showing a key parameter overnight setting screen 101.
  • the key parameter setting screen 101 is composed of a center color setting unit 111, a color space display unit 112, and a vector scope display unit 120.
  • the color C0 and the representative points P0 to P25 can be set and changed.
  • FIG. 21 is a diagram showing a specific example of the key parameter overnight setting screen.
  • FIG. 22 is a center color setting section 1 1 1 in the key parameter overnight setting screen 101 of FIG. 20 above.
  • FIG. 4 is a schematic diagram showing a relationship between the process and the chromaki processing.
  • the center color setting unit 111 the same still image as the foreground image on the preview screen 102 is displayed as a foreground image (foreground).
  • a display area ARC of the center color C0 and a display area of the luminance level Y, hue U and V of the center color C0 are formed adjacent to the foreground image.
  • the central processing unit 10 in FIG. 1 executes the event registered in the display area of the foreground image when the short area ARC 1 is designated by operating the mouse 13 on the foreground image (foreground).
  • the image data of the rectangular area ARC 1 is read out from the frame buffer 3 to calculate the luminance level and the average value of the dye level, whereby the luminance level Y 0 and the hue U 0 and V 0 of the center color C 0 are calculated. .
  • the display area ARC of the center color C 0 is calculated based on the calculated brightness level Y 0 and hue U 0 and V 0.
  • the center color is displayed on the display, and the calculated level is displayed on the display area of the luminance level Y, hue U, and V.
  • the central processing unit 10 further sets representative points P0 to P25 by default values based on the center color C0, and sets two spherical shapes K1 and K2 serving as references for key signal generation. Is set in the three-dimensional color space. In this case, the central processing unit 10 sets a representative point at a fixed distance from the center color.
  • the central processing unit 10 After setting the center color C 0 in this way, as shown by the symbol X, when the mouse 13 clicks a predetermined position on the foreground image (foreground), the central processing unit 10 Similarly, by executing the event registered in the foreground image (foreground), the processing procedure shown in FIG. 23 is executed. That is, the central processing unit 10 moves from step SP11 to step SP12, obtains the coordinates clicked on the foreground image (foreground), and in the following step SP13, this click is performed. The image data at the clicked position is read from the frame buffer 3.
  • the central processing unit 10 calculates the luminance level y and the color difference levels u and V of the image data, and in the following step SP14, executes the following arithmetic processing.
  • the central processing unit 10 moves to step SP 15 and the following equation 24, the center color C is obtained as shown in FIG. Calculate the angles p and t in the 0 direction and the 0 direction with 0 as the origin. Note that the angles p and t in the 0 direction and the ( ⁇ direction) are expressed by setting the counterclockwise direction to the positive direction with respect to the U axis.
  • the central processing unit 10 calculates a vector B from the central color C0 to the clicked pixel by polar coordinates, and proceeds to step SP16.
  • the central processing unit 10 is a vector based on the luminance level, the hue u, v, and the central color C 0 of the pixel clicked in this manner, adjacent to the display of the central color. After displaying p, t, and d, the process moves to step SP17 and ends this processing procedure.
  • the central processing unit 10 sets the center color C0, and then appropriately clicks on a portion to be replaced with the background, etc., so that the relationship with the center color C0 can be easily grasped.
  • a paramete screen is formed to improve usability.
  • the central processing unit 10 when the mouse is clicked on the foreground image in this way, the central processing unit 10 operates as follows: Markers are displayed at the corresponding locations on the display unit, thereby improving usability.
  • the vector scope display section described later In this operation, it is possible to judge whether any part can be operated and the corresponding part can be replaced with the background without affecting other color parts. Also, from the distance information d, it is possible to judge the relative relationship with the position of the key at which the change of the key signal switches, and to change the size of the outer sphere K1 and / or the inner sphere K2 to change the position. This can be useful for adjusting the processing of the mask.
  • an acknowledge button (OK) corresponding to the determination processing in step SP 6 (FIG. 17) described above is displayed above the display area ARC of the center color C 0.
  • the button B (3K) is clicked by the mouse 13 on the central processing unit 10 ends the processing for setting the conditions of the chroma processing.
  • change mode switching buttons (outer) B 4 and (inner) B 5 for the outer sphere ⁇ 1 and the inner sphere ⁇ 2 are arranged.
  • the change mode switching buttons B 4 and B 5 are configured by a toggle switch for switching on / off operation.
  • the central processing unit 10 displays the outer sphere K1 or the inner sphere K2 with the mouse 1 in the color space display section.
  • the representative spheres P0 to P25 based on the center point C0 are adjusted so that the size of the outer sphere K1 scales uniformly in response to this operation. Change the coordinates.
  • the change mode switching button B5 for the inner sphere K2 is turned on, the outer sphere K1 or the inner sphere K2 is grabbed with the mouse 13 in the color space display section 112.
  • the coordinates of the representative points ⁇ 0 to ⁇ 25 are changed based on the center point C 0 so that the size of the inner sphere K 1 is uniformly enlarged or reduced in response to this operation.
  • the central processing unit 10 obtains a desired processing result by a simple operation together with the information display y, u, v, p, t, d of the position clicked by the mouse 13.
  • the center color setting section 111 is formed so as to be able to.
  • a selection button B6 for chroma processing is arranged below a change mode switching button (inner) B5.
  • the button B 6 is constituted by a toggle switch, and the chroma key processing by the editing device 1 can be selected from the processing corresponding to the above-mentioned equations (15) to (17).
  • a reset button (r st) B7 is arranged in the center color setting section 111. If the reset button B7 is clicked with the mouse 13 here, the central processing unit 10 resets the coordinates of the representative points P0 to P25 to the initial default values. .
  • the central processing unit 10 controls the entire operation so that the initial state can be easily restored even if the conditions are variously changed.
  • FIG. 25 is a schematic diagram showing the vector scope display section 120.
  • the vector scope display section 120 includes first to fourth display sections 121 to 124 and adjustment buttons and the like assigned to each display section.
  • the first to third display sections 121 to 123 cross representative points on the UY plane arranged at an angle of —45 degrees, 0 degrees, and 45 degrees with respect to the U axis, respectively.
  • a reference plane perpendicular to the Y axis is set, and this reference plane is formed by displaying a line segment crossing the inner sphere Kl and the outer sphere ⁇ 2 and a projected image of a pixel of the adjacent foreground image, respectively.
  • Along the axis Regarding the direction, the first to third display sections 121 to 123 allow the sensor to grasp the distribution of pixels of the foreground image in a sensory manner.
  • the reference plane H is set so as to cross a representative point on the UY plane arranged at an angle of -45 degrees with respect to the U axis. 1 L and H 2 L are set, and a line segment in which the reference planes H 1 L and H 2 L cross the inner sphere K 1 and the outer sphere K 2 is displayed. Further, an image in which pixels having a predetermined brightness level or less set on the basis of the planes H I L and H 2 L are projected on the reference plane is displayed. At this time, each pixel is set to a predetermined luminance level corresponding to the reference planes H1L and H2L, and is displayed by the hue of each pixel.
  • a reference plane HC that crosses the representative points arranged on the U axis is set, and this reference plane HC is defined by the inner sphere K 1.
  • a line segment crossing the outer sphere K2 is displayed.
  • an image in which pixels of a predetermined luminance level set on the basis of the reference plane H are projected on the reference plane is displayed.
  • each pixel is set to a predetermined luminance level corresponding to the reference plane HC, and is displayed by the hue of each pixel.
  • reference planes H 1 H and H 1 H crossing a representative point on the UY plane arranged at an angle of 45 degrees with respect to the U axis. 2H is set, and a line segment in which the reference planes H1H and H2H cross the inner sphere Kl and the outer sphere ⁇ 2 is displayed. Further, an image in which pixels having a predetermined luminance level or higher set on the basis of the reference planes ⁇ 1 ⁇ and ⁇ 2 ⁇ are projected on the reference plane is displayed. At this time, each pixel is set to a predetermined luminance level corresponding to the reference plane ⁇ 1 ⁇ and ⁇ 2 ⁇ , and is displayed by the hue of each pixel.
  • the line segment crossing the inner sphere Kl and the outer sphere ⁇ 2 can be used to easily grasp the correspondence with the representative point. It is displayed in an octagonal shape so that the position can be easily changed.
  • buttons ⁇ 7 ⁇ and ⁇ 7 ⁇ ⁇ for adjusting the distance from the center color C 0 to the representative point are provided below the first to third display sections 1 2 1 to 1 2 3.
  • a scroll bar 8 for adjusting and displaying is arranged. Further, the distance from the center color C0 to the representative point is displayed as a number above the scroll bar # 8.
  • the central processing unit 10 can easily adjust the chroma key characteristics by operating these buttons and the like by comparing with the distance d from the center color C 0 displayed in the center color setting section. It has been made like that.
  • buttons B 9 A and B 9 B for selecting the inner sphere K 1 and the outer sphere K 2 are arranged below the first to third display sections 1 2 1 to 1 2 3, and the lower side thereof.
  • buttons B1OA to: B10H are arranged corresponding to the representative points of the inner sphere K1 or the outer sphere K2 in each display unit.
  • the central processing unit 10 forms a red display on each of the selection buttons B9A and B9B in response to the selection operation of the selection buttons B9A and B9B, and also displays the inner sphere K1 or For the outer sphere K2, by operating the buttons located below the selection buttons B9A and B9B, and by operating the buttons B7A, B7B and the scroll bar B8, Switch to a state where changes can be accepted.
  • buttons B10A to B10H are turned on.
  • this button B 1 0 A to B 10 0 The center color of the representative point of the outer sphere K 2 corresponding to H in response to the operation of the buttons B 7 A and B 7 B or in response to the operation of the buttons in the scroll bar B 8 Change the distance from C0 to the representative point.
  • the position of the representative point constituting the outer sphere K 2 changes, and the outer sphere K 2 is adjusted.
  • the central processing unit 10 changes the position of the representative point similarly in response to this operation when the display location corresponding to each representative point is grasped and operated by the mouse 13 on each display unit. Switch the display on each display. Similarly, when the representative point of the inner sphere K1 or the outer sphere K2 is changed by an operation on the color space display unit, the display of the inner sphere 1 and the outer sphere K2 on each display unit is changed.
  • the fourth display section 124 sets a reference plane H3 parallel to the UY plane passing through the center color C0, and this reference plane H3 is an inner sphere. Kl, outer sphere ⁇ A line segment across 2 is displayed. Further, pixels in a three-dimensional color space are projected and displayed on the reference plane # 3. At this time, each pixel is set to a predetermined luminance level and displayed in white. Further, a pair of buttons ⁇ 7 ⁇ and ⁇ ⁇ 7 B for adjusting the distance from the center color C 0 to the representative point, and a scroll bar for adjusting and displaying this distance are provided below the fourth display section 124. B8 is placed.
  • buttons B 9 A and B 9 B for selecting the inner sphere K 1 and the outer sphere K 2 are arranged below the fourth display section 124, and below the inner sphere 1 or the outer sphere K 2.
  • Two buttons B10AB10B corresponding to the representative points on the Y-axis of the sphere K2 are arranged.
  • the central processing unit 10 forms a red display on each of the selection buttons B9A and B9B in response to the selection operation of the selection buttons B9A and B9B, and the inner sphere 1 or the outer sphere.
  • K2 by operating buttons B10A and 10B located below the selection buttons B9A and B9B, buttons B7A, B7B, scroll bar B By the operation of 8, the change of the representative point is received.
  • the central processing unit 10 also responds to this operation by operating the mouse 13 when the display location corresponding to each representative point is grasped and operated by the mouse 13 in the fourth display section 124 as well. Change the position of the representative point and switch the display on the display. Similarly, when the representative point of the inner sphere K1 or the outer sphere K2 is changed by the operation on the color space display section 112, the display of the inner sphere K1 and the outer sphere K2 on the display section is changed.
  • FIG. 30 is a flowchart showing a processing procedure of projection processing of foreground pixels in the central processing unit 10 when displaying the inner sphere K1 and the outer sphere K2 in this manner.
  • the central processing unit 10 sets the representative point by operating the color space display unit 112 and the vector scope display unit 120.
  • this process is executed by successively executing the events registered in the vector scope display section 120. Perform the steps. That is, the central processing unit 10 starts the process from step SP21. Move to step SP22 to set the brightness (luminance level) category.
  • FIG. 30 is a flowchart showing a processing procedure of projection processing of foreground pixels in the central processing unit 10 when displaying the inner sphere K1 and the outer sphere K2 in this manner.
  • the central processing unit 10 includes reference planes H 1 L, H 2 L, HC; HIH, which are set in the first to third display sections 121 to 123. Based on the luminance levels Y 1 L, Y 2 L, YC, Y 1 H, and Y 2 H of the H 2 H, the luminance level thresholds L 1 L and LYH are set, thereby setting the first to The three loudness level divisions lo, mid, and high corresponding to the third display section 121-123 are set.
  • the central processing unit 10 proceeds to step SP23, and sets reference values YH, YC, and YL of brightness (luminance level) for each of the segments high, mid, and lo.
  • the reference value YL corresponding to the first display unit 121 is the luminance level Y 1 L of the reference plane H 1 L, H 2 L set for the first display unit 121.
  • the reference value YH corresponding to the third display unit 123 is set so that the average value of L and Y2L is obtained.
  • the reference planes H1H and H2H set for the third display unit 123 are used.
  • the luminance levels Y 1 H and Y 2 H are set to be the average value.
  • the threshold values LYL and LYH are set to be the average values of the reference values YL and YC and the reference values YC and YH, respectively.
  • step SP24 the central processing unit 10 moves to step SP24, and fills the first to third display sections with black so as to display the first to third display sections 121 to 123.
  • step SP25 the central processing unit 10 loads the image data from the flame sofa 3 for one pixel of the foreground image.
  • the central processing unit 10 judges which of the high, mid, and lo the image data belongs to, based on the luminance level of the data of the loaded image. Further, the central processing unit 10 sorts the image data into any of the high, mid, and lo categories based on the determination result, and sets the brightness level of the image data as the reference value of the sorted category. I do.
  • the central processing unit 10 proceeds to step SP27, and displays this image data on the display section corresponding to the sorted division.
  • the central processing unit 10 sets the horizontal and vertical directions of each display unit to the U-axis and the V-axis, selects a position corresponding to the hue of this image data, and displays the image data at this position. Show evening light. Further, at this time, a point is displayed based on the luminance level based on the reference value set in step SP23 and on the hue of the image data.
  • step SP28 determines whether or not the point display has been completed for all the pixels of the foreground image. If a negative result is obtained in step, the process returns to step SP25. As a result, the central processing unit 10 repeats the processing steps of steps SP25—SP26—SP27—SP28—SP25, and for each pixel forming the foreground image, the display unit corresponding to the brightness level. When all the pixels are displayed, and the display is completed for all the pixels, the process proceeds to step SP29.
  • the central processing unit 10 acquires information on the key range.
  • the information on this key range is the coordinate data of the line where the above-mentioned reference planes HIL, H2L, HC, H1H, and H2H cross the inner sphere K1 and the outer sphere K2.
  • the processing unit 10 proceeds to step SP30 and displays this line segment on each display unit.
  • step SP31 it is determined whether or not the key range (ie, the position of the representative point) has been changed. If a positive result is obtained here, the process returns to step SP22. As a result, when the representative point is changed, the central processing unit 10 switches the display of the display unit again, and thereby each pixel with respect to the inner sphere K 1 and the outer sphere K 2 formed by the representative point is changed. Make distribution easy to judge.
  • the key range ie, the position of the representative point
  • step SP31 the central processing unit 10 proceeds from step SP31 to step SP32 and determines whether or not the center color C0 has been changed. If a positive result is obtained here, the central processing unit 10 returns to step SP22 and switches the display of each display unit again.
  • the central processing unit 10 can easily determine the distribution of each pixel with respect to the inner sphere K 1 and the outer sphere K 2 which changes with the change. .
  • step SP32 if a negative result is obtained in step SP32, the central processing unit 10 moves from step SP32 to step SP33 and ends this processing procedure.
  • the central processing unit 110 displays the angles p, t, and the like in the center color setting unit 111. Accordingly, the markers 1 are displayed at the corresponding positions in the first to fourth display sections 121 to 124 as well. This also allows the editing apparatus 1 to easily grasp the relationship between each pixel of the foreground image and the inner sphere K1 and outer sphere K2, thereby improving usability.
  • FIG. 32 is a schematic diagram showing the color space display unit 112.
  • This color space display section 1 1 2 is used to display the inner sphere, outer sphere, and foreground image arranged in a three-dimensional color space.
  • the image display unit 115 includes an image display unit 115 that displays an image of a pixel or the like viewed from a predetermined direction, a button that changes the content of the image, a viewpoint, and the like. That is, a button (uv) for designating the UV plane, a button (yu) for designating the YU plane, and a button (yV) for designating the YV plane are arranged at the upper left of the color space display section 112. . As shown in FIG.
  • the central processing unit 10 displays, on the image display section 115, an image obtained by viewing the color space from a viewpoint set in a predetermined direction ((A) in FIG. 33).
  • the event registered in each button is executed to display an image of the UV plane, YU plane, and YV plane viewed from the vertical direction. (B) to (D) in Fig. 33).
  • a rotation operation button (rot) is arranged adjacent to a button (uv) for specifying a UV plane.
  • the central processing unit 10 displays the image formed by viewing the color space from a predetermined direction on the image display unit 115 (FIG. 34 (A)).
  • the Y-axis, U-axis, and V-axis specified by operating the mouse 13 in this display state are set as the rotation center axes.
  • the central processing unit 10 displays the image by rotating the color space in response to the operation of the mouse 13 with the rotation center axis as the center as shown by the arrow ((B) of FIG. 34). (D)).
  • a button (in) for designating the inner sphere ⁇ 1 and a button (out) for designating the outer sphere K2 are subsequently arranged in the color space display section 112.
  • the central processing unit 10 displays the inner sphere K 1 and the outer sphere K 2 on the image display section 115.
  • a button (mix) for switching the display mode of the inner sphere K1 and the outer sphere K2 is arranged in the color space display section 112.
  • this button (mix) is operated by the mouse 13, the central processing unit 10 switches between the inner sphere K 1 and the outer sphere between the opaque surface display and the translucent surface display. Switches the display of K2.
  • the central processing unit 10 switches the display of the inner sphere K1 and the outer sphere K2 as necessary, and also switches the display mode, so that each pixel of the foreground image and the inner sphere and the outer sphere are connected.
  • the color space display section 112 is formed so that the relationship can be easily confirmed.
  • a button (Wire) for switching the display mode of the inner sphere K1 and the outer sphere K2 is arranged on the color space display section 112.
  • this button (Wire) is turned off, the central processing unit 10 displays the inner sphere K1 and the outer sphere K2 in a plane.
  • the button (Wire) is turned on, the inner sphere K1 and the outer sphere K2 are displayed by a wire frame model in which adjacent representative points are connected by line segments.
  • the central processing unit 10 can easily confirm the relationship between each pixel of the foreground image and the inner sphere and the outer sphere by switching the display mode of the inner sphere K1 and the outer sphere K2 as necessary.
  • the color space display section 1 1 2 is formed.
  • a button (mov) for sequentially changing the display of the color space by a small angle is arranged on the color space display section 112.
  • the central processing unit 10 sets the virtual rotation axis corresponding to the vertical method of the image display section 115 to the color space, and sets this rotation axis.
  • the color space is sequentially displaced by a predetermined angle around the center to indicate.
  • the central processing unit 10 forms the color space display section 112 so that the viewpoints are sequentially changed and the relationship between each pixel of the foreground image and the inner sphere and the outer sphere can be easily confirmed.
  • a button (1ine) for switching the display mode of each pixel of the foreground image is arranged on the color space display section 112.
  • the central processing unit 10 maps each pixel of the foreground image to a color space by a point image and displays it.
  • this button (line) is turned on, a point image of each pixel is displayed on the foreground screen connected by a bright line in the order of the last and last operation. In this way, the central processing unit 10 switches the display mode of each pixel as necessary, and enables the color space display unit 11 to easily confirm the relationship between each pixel of the foreground image and the inner sphere and outer sphere.
  • a button (prV) for switching display / non-display of a pixel whose image is in the foreground is arranged adjacent to the button (yu) for specifying the YU plane in the color space display section 112.
  • this button (rv) is turned off, the central processing unit 10 stops displaying the pixels of the foreground image.
  • the display of these pixels is indicated by the hue and luminance level corresponding to each pixel, so that the relationship between the inner sphere and the like and each pixel can be easily grasped even if the viewpoint is changed and the color space is viewed. I have.
  • a button (cur) for switching display / non-display of the UV axis is arranged in the color space display section 112.
  • the central processing unit 10 switches the display of the U axis and the V axis in response to the on / off operation of this button (cur).
  • a button (ring) for switching display or non-display of the hue ring R is arranged in the color space display section 112.
  • the central processing unit 10 is placed on the UV plane
  • a hue ring R indicating the hue of the position is represented by a color
  • the display of the ring R is switched in response to the on / off operation of this button (cur).
  • This allows the central processing unit 10 to visually grasp the relationship between the inner and outer spheres and the foreground image in the three-dimensional color space, even if the viewpoint is changed and the color space is viewed.
  • the color space display section is formed.
  • a button (col) for switching display or non-display of a marker is arranged on the color space display section 112.
  • this button (co 1) is turned on, the central processing unit 10 displays a box-shaped marker M at each color represented by a color bar.
  • the space display section 1 1 2 is formed.
  • a button (Y) for switching display / non-display of the Y axis is arranged in the color space display section 112.
  • the central processing unit 10 switches the display of the Y axis in response to the on / off operation of this button (Y).
  • the color space display section enlarges or reduces the display of the image display section 115.
  • the unit (10) scales the display of the color space in response to the subsequent operation of the mouse (13).
  • a button (rud) for switching to a display mode in consideration of the number of pixels for displaying the pixels of the foreground image is arranged.
  • this button (rud) is turned off, the central processing unit 10 forms a point image of each pixel in the color space according to the luminance level and hue of each pixel.
  • the central processing unit 10 In this case, for a plurality of pixels with the same hue and luminance level, a point image is formed so as to overlap the same location.
  • the button (rud) is turned on, the brightness level and hue of each pixel are corrected and displayed using a predetermined random number.
  • the central processing unit 10 displays the point image so as to have an area corresponding to the number of pixels by slightly shifting the display position of the point image with respect to a plurality of pixels having the same hue and luminance level.
  • the color space display unit 112 is formed so that the concentration of the number of pixels can be easily perceived.
  • the color space display section 112 has a scroll bar on the left side thereof that excessively biases the degree of display.
  • the central processing unit 10 changes the overall brightness of the image display unit 115, and the subsequent scroll bar (rud) operates. Then, the maximum value of the random number when the button (rud) is operated is changed.
  • the scroll bar (hnd 1) is operated, the central processing unit 10 enlarges or reduces the display of the representative points arranged on the inner sphere K 1 and the outer sphere K 2 and the display of the center color. .
  • the central processing unit 10 grasps with the mouse 13 the display of the representative point and the center color display whose size can be changed by operating the scroll bar (hnd 1) in the image display section 115 as described above. And moved
  • the central processing unit 10 responds to this change by using the inner sphere K 1 and the outer sphere K 2 in the color space display 112. Change the display. Also, when the center color is changed by the center color setting section 111, the display of the inner sphere K1 and the outer sphere K2 is turned off in the same manner as when the center color is changed in the image display section 115. Change. Furthermore, when any pixel is selected by clicking the mouse 13 in the center color setting section 111, a marker is displayed on this image display section 115 corresponding to the display of the radius d etc. I do.
  • the editing device 1 of FIG. 1 After the video signals SV 1, SV 2 to be edited are recorded on the hard disk device 2, the editing device 1 of FIG. 1 records these video signals SV 1, SV 2 on the hard disk device 2, An edit list is created by the video signals SV 1 and SV 2, and the video signals SV 1 and SV 2 are edited according to the edit list and recorded on the hard disk device 2.
  • the editing apparatus 1 displays the key parameter setting screen and the preview screen on the monitor 9 (see FIG. 25 and Fig. 18), the corresponding image data from the hard disk device 2 is input to the frame buffers 3 and 4, and the key parameter setting screen and the preview screen select the foreground image and background image selected by the operator. Is displayed as a still image.
  • the editing device 1 designates a part of the area assigned to the background image by the operating device 13 as a rectangular shape by operating the mouse 13.
  • the image data corresponding to this area is read from the frame buffer 3 and averaged, and the center color C 0, (Y 0, U 0, V 0) of the chroma processing is determined.
  • the editing device 1 effectively avoids the influence of noise and the like, and sets the desired color of the operation center as the center color by a simple operation.
  • the editing apparatus 1 sets the boundaries K1 and K2 for switching the characteristics of the key signal KEY under standard conditions.
  • the editing apparatus 1 displays, on the preview screen, an image of the chroma signal under the standard conditions, and three types of processing results obtained by performing the chroma processing using the chroma signal. indicate. As a result, the processing result under the standard conditions can be confirmed.
  • the positions of the inner sphere K 1 and the outer sphere K 2 according to the standard conditions in the color space, each pixel of the foreground image, and the like are displayed on the color space display unit (FIG. 32).
  • a line segment crossing the inner sphere K1 and the outer sphere K2 and an image obtained by projecting and displaying each pixel of the foreground image with respect to a plane in the color space set based on each representative point are represented by a vector. It is displayed on the toroscope display.
  • a key signal can be set via a key signal characteristic setting screen formed by the vector scope display unit, the color space display unit, and the center color setting unit.
  • the signal characteristics can be changed in various ways, and the processing results can be checked on the preview screen.Even if a key signal is generated by expressing each pixel of the foreground image in a three-dimensional color space, Thereby, a desired processing result can be obtained by grasping the processing result intuitively.
  • the editing device 1 corresponds to the line segments crossing the inner sphere K 1 and the outer sphere K 2 and the foreground image with respect to three types of reference planes perpendicular to the Y axis.
  • the operator who operates the editing apparatus 1 can visually grasp the color distribution of the foreground image, and can map each pixel of the foreground image on the three-dimensional color space. Even if the chroma processing is performed by expressing with, the desired chroma processing can be performed by a simple operation.
  • the boundaries K1 and K2 that switch the characteristics of the key signal KEY are displayed together, so that the area that can be replaced with the background by the mouth opening process (pixels that are generally distributed inside the inner sphere K1) ), The area that is not replaced with the background by the chroma key processing (consisting of pixels that are generally distributed outside the outer sphere K2) can be visually confirmed. Therefore, in operation, even if each pixel of the foreground image is represented in a three-dimensional color space and subjected to chroma processing, the conditions can be set while imagining the processing result, improving usability. You.
  • the representative point is also changed by operating the buttons B7A, B7B, B10A to B10H, and the scroll bar B8 arranged below the first to fourth display sections.
  • the condition of chromaki treatment is changed (Fig. 26 to Fig. 29) o
  • each pixel is displayed with the hue of each pixel and the standard brightness on the first to third display units of the vector scope display unit, and Since the fourth display section related to the brightness level is formed in black and white display, the display of the line segments of the inner sphere K1 and the outer sphere K2 is performed for any part of the operet. It is possible to easily and surely judge whether it is sufficient to grab and move in step 13 and change the conditions for chromaki processing.
  • the angle and direction of the clicked pixel as viewed from the center color are displayed and replaced with the background image near the center color.
  • the relationship with the area is displayed numerically. This relationship is displayed by the position information P, t, d in the form of pole coordinates corresponding to the display on the vector scope display section and the setting of the representative point (Fig. 22).
  • the vector scope display section simply and reliably determine which of the inner sphere K1 and the outer sphere K2 should be grasped with the mouse 13 and move it, and change the conditions of chroma processing. be able to.
  • buttons B7A, B7B, B10A to B10H, and scroll bar B8 are arranged below the first to third display sections in a format corresponding to the display of the position information. These buttons B7A, B7B, B10A ...: B10H, and the scroll bar B8 accept the representative point setting, which is the information for setting the key signal, so that these buttons B7A , B7B, B10A to B10H, or scroll bar B8 can be used to easily and surely change the conditions of the chromaki processing.
  • the color space display unit displays an image in which the three-dimensional color space in which the pixels of the foreground image, the inner sphere Kl, and the outer sphere ⁇ 2 are arranged is viewed from a desired direction.
  • the inner sphere ⁇ 1, the outer sphere ⁇ 2, and each pixel of the foreground image can be changed through the color space display as necessary.
  • the relationship can be grasped, and the condition of the chroma key processing can be changed by confirming with the color space display section and operating the vector scope display section.
  • the display of each pixel, inner sphere Kl, outer sphere ⁇ 2 is switched in response to the operation of the button, and a ring R indicating the hue, a YUV axis, etc. are displayed,
  • a marker is displayed corresponding to the designation of the pixel in the foreground image in the center color setting section, and visually, the relationship between each pixel of the inner sphere Kl, the outer sphere ⁇ 2, and the foreground image is easily visualized. Accurate grasp is possible, and the adjustment work of chroma key processing is simplified.
  • the representative point arranged on the surface of the inner sphere Kl and the outer sphere ⁇ 2 and the display of the center color are grabbed and moved by the mouse 13, the representative point is associated with this movement.
  • the center color has been changed, The conditions for the maximum processing are changed.
  • the editing apparatus 1 selects the chroma processing in the center color setting unit and completes the condition setting operation. , The subsequent processing is executed.
  • the arithmetic processing of the central processing unit 10 causes the latitude ⁇ and the longitude (to be sequentially displaced to obtain the distances ri and the distances from the origin C0 to the boundaries K1 and K2 in the YUV space.
  • ro is calculated (Fig. 9)
  • the editing device calculates the distances ri and ro by interpolation processing (formulas (1) and (2) above) with the latitude and longitude 0 as a parameter.
  • a clip point CLIP and a gain GAIN that define the characteristics of the chroma key signal KEY are calculated (FIGS. 11A and 11B).
  • the calculated clip point CLIP and gain GAIN are output to the key signal generation unit 6, and a lookup table 29, which uses the latitude ⁇ and the longitude 0 as addresses by simple arithmetic processing, is used (see FIG. 2) is formed.
  • the editing device 1 When the operating device selects the color cancel processing, the editing device 1 similarly sets the characteristic of the color cancel key signal for each longitude 0 from the double boundary set for the color cancel.
  • the clip point CLIPC and the gain GAINC that define the parameters are calculated, and the calculated clip point CLIPC and the gain GAINC form the look-up table for color cancel cell processing 3 4 in the key signal generator 6. Is done.
  • the editing device 1 inputs the foreground image video signal SV 1 and the background image video signal SV 2 from the hard disk device 2 to the chroma processing unit 5 (see FIG. 1).
  • the video signal SV 1 of the foreground image is over-sampled by the over-sampling circuits 26 U and 26 V of the key signal generation unit 6 (FIG. 2), and the luminance signal U 1 and V 1 is thereby over- It is converted to a digitized signal with the same sampling frequency as the signal.
  • the video signal SV1 processed in this manner is converted into a distance rm from the origin C0 on a UV coordinate plane with the center color CO as the origin, An angle 0 from the reference axis is detected.
  • the video signal SV 1 has a length rm obtained by projecting a line segment L connecting the position of each pixel in the YUV space having the center color CO as the origin and the origin C 0 onto the UV plane. Then, the longitude 6 ⁇ of the line segment L in the YUV space is detected.
  • the video signal SVI is converted into a YUV space with the center color C0 as the origin, based on the distance rm detected by the coordinate conversion circuit 27 and the luminance signal level Y. For each pixel position, the latitude ⁇ and the distance rM to the origin C0 are calculated.
  • the video signal SV 1 is accessed using the lookup table 29 with the latitude ⁇ and longitude 6> as an address, and the clip point CLI ⁇ and the gain GAI ⁇ corresponding to the latitude ⁇ and longitude ⁇ . Is set to the key process circuit 30.
  • the video signal SV1 is converted into a key signal MX having a value ranging from 0 to 1 according to the distance rM from the center color C0. Generated.
  • the video signal SV 1 is input to the coordinate conversion circuit 33 of the color cancel key signal generation unit 32, where the color difference signals U 1 and VI output from the over sampling circuits 26 U and 26 V are input.
  • the color is detected by the angle 6> C and the distance r C on the UV plane with the origin being the reference color C 0 C (U 0 C, V 0 C) for color cancellation ⁇ Furthermore
  • the video signal SV 1 is The look-up table 34 is accessed using the angle 0 C as an address, and a clip point CLIPC and a gain GAINC corresponding to the angle 0 C are set in the key process circuit 35.
  • the video signal SV 1 is converted into a key signal AM K ranging from 0 to 1 according to the distance r C from the reference color C 0 C based on the clip point CL IPC and the gain GAINC. Is generated.
  • the key signal MXK of the video signal SV1 is calculated based on the distance rm and the latitude ⁇ in the UV space with the center color CO set at the origin, and the key signal MXK is generated by a simple arithmetic processing.
  • the key signal AMK is generated in a short processing time by accessing the look-up table 34 set in advance with the angle as an address and setting the clip point CLIPC and the gain GAINC. Further, by defining the characteristics of the key signal A MK by the clip point C L I P C and the gain G A I N C, the key signal A MK can be generated without performing the division process, and the processing time is shortened accordingly.
  • the editing device 1 If the operator does not select the color cancel processing, the editing device 1 outputs a key signal C CK having a value of 1 from the color cancel key signal generation unit 32.
  • a key signal C CK having a value of 1 from the color cancel key signal generation unit 32.
  • the video signal SV 1 is weighted by the key signal KEY (MXK) output from the chroma signal generator 25, and then the following mixers — 23 Y, 23 U, 23 V, and the keyer 22 Y, 22 U , 22 V and the video signal SV 2 output from the inverter.
  • the keys 22Y, 22U, and 22V are weighted by the key signal 1-KEY (1-MXK), which is expressed by the above equation (15).
  • the chroma-processed video signal SV3 is output from the mixers 23Y, 23U, and 23V.
  • the editing apparatus 1 outputs a key signal CCK (1-AMK) for the color difference signal from the color cancel key signal generation unit 32.
  • the video signal SV 1 is weighted by the color canceling circuits 20 Y, 20 U, and 20 V with the color difference signals Ul and V 1 using the key signal C CK, and the subsequent keyer 2 1 Y , 21 U 2 IV.
  • the video signal SV 1 is weighted by the key signal KEY (MXK) output from the chroma key signal generation unit 25, and in the following mixers 23Y, 23U, and 23V, the key signal l—KEY (1—MXK ) Is added to the weighted video signal SV2, whereby the chroma-processed video signal SV3 represented by the above equation (16) is output from the mixers 23Y, 23U, and 23V.
  • the video signal SVI is weighted by the key signal C CK (1-AMK) in the color cancel circuits 20 Y, 20 U, and 20 V,
  • the following keyers 21 Y, 21 U and 21 V are weighted by the key signal KEY (A MK).
  • the video signal SV 1 is added to the video signal SV 2 weighted by the key signal 1—KEY (1-AMK) in the following mixers 23Y, 23U, and 23V.
  • the chroma-processed video signal SV3 represented by the equation is output from the mixers 23Y, 23U, and 23V.
  • the key signal MXK is generated based on the luminance signal level and the color difference signal level of the video signal SV1, For example, a key signal MXK is generated by discriminating between bright blue and dark blue, whereby a high-quality composite image without a sense of incongruity can be obtained.
  • the position of each pixel of the foreground image is represented by polar coordinates in the three-dimensional YUV color space whose origin is the center color of the color extracted from the foreground image.
  • the boundaries K 1 and K 2 are set so as to surround the origin CO, and a key signal KEY is generated according to the position of each pixel with respect to the boundaries K 1 and K 2, whereby the boundaries K 1 and K 2 With various changes The characteristics of the chromaki can be freely changed and the usability can be improved accordingly.
  • the key signal K is determined based on the detected characteristics.
  • key signal K E Y By generating E Y, key signal K E Y can be generated easily and in a short time.
  • the position of each pixel in the YUV color space can be represented by polar coordinates, and the time required to generate a key signal can be reduced accordingly.
  • the boundaries ⁇ 1 and ⁇ 2 are represented by 26 points each, and the coordinate values of these point groups are interpolated to form a lookup table.
  • ⁇ 2 can be modified in various ways to change the conditions of the chroma processing, and a look-up table can be formed by simple arithmetic processing.
  • a video signal in a digital signal format (for example, a so-called D1 format) processed by this type of editing device can be obtained.
  • a key signal can be generated by simple processing.
  • a key for achromatic By generating the signal, a high-quality composite image can be generated easily and in a short time.
  • the processing result by the key signal and the characteristic setting screen of the key signal are displayed, so that the processing result can be confirmed in real time and the key signal can be interactively displayed. Characteristics can be changed.
  • a screen for setting characteristics is composed of a color space display unit that looks at the three-dimensional color space from a desired viewpoint and a vector scope display unit that projects the three-dimensional space onto a predetermined reference plane. If necessary, the characteristics of the key signal can be changed via any of the screens, so that even if it is expressed in a three-dimensional color space and subjected to chroma key processing, it is easy to use. Can be improved.
  • the key point characteristics can be changed by changing the representative point using a scroll bar or other control element, so that the pixel to be processed can be grasped numerically to change the key signal characteristics. You can also.
  • the editing device includes a central processing unit.
  • the configuration is the same as that of the first embodiment except that the processing procedure is different.
  • an automatic setting button for chroma processing conditions is arranged in the center color setting section of the key parameter setting screen according to the first embodiment.
  • the automatic setting button is arranged for the representative point of the inner sphere K1 and the representative point of the outer sphere K2.
  • the central processing unit executes the same processing procedure as the central processing unit 10 of the editing device 1 according to the first embodiment, except for the processing regarding the automatic setting button.
  • the automatic setting button for the representative point of the inner sphere 1 or the outer sphere K2 is operated with the mouse 13 and the foreground image is clicked with the mouse 13 in FIG.
  • the processing procedure shown in 35 the position of the representative point is changed so that each clicked pixel is replaced with a background image or is not replaced with a background image.
  • the central processing unit moves from step SP40 to step SP41, acquires the clicked coordinates, and reads out the image data at the clicked position from the frame buffer 3. Subsequently, the central processing unit 10 detects the luminance level y and the color difference levels u and V of the image data, and executes the arithmetic processing of the above equations (18) to (20) based on the detection results. Then, the distance d from the center color C0 (Y0, U0, V0) and the angles p and t in the 0 direction and the ⁇ direction with the center color C0 as the origin are calculated.
  • step SP42 determines whether or not the representative point exists within a predetermined angle range based on the detected angle P.
  • the central processing unit proceeds to step SP43 and If there is a representative point in this neighborhood, the central processing unit
  • the coordinate values of the representative points in the vicinity are changed. That is, when the operation unit operates the automatic setting button for the representative point of the inner sphere K1, the central processing unit calculates the central color CO (Y0, U0, V0) calculated in step SP41. The distance of the corresponding representative point is changed so that the distance from the center color CO (Y0, U0, V0) becomes larger by a predetermined value with respect to the distance d. When the operator operates the automatic setting button for the representative point of the outer sphere K2, the distance d from the center color CO (Y0, U0, V0) calculated in step SP41 is determined. Change the distance of the corresponding representative point so that the distance from the center color CO (Y 0, U 0, V 0) becomes smaller by the fixed value.
  • step SP44 determines again whether or not the foreground image has been clicked, and if a positive result is obtained here, returns to step SP41.
  • step SP46 the central processing unit proceeds to step SP46, where four neighboring points having angles 0 and ⁇ close to the angles p and t are set.
  • the distance r ( ⁇ , ⁇ ) from the center color CO (Y 0, U 0, V 0) expressed by the following equation is determined so as to correspond to the condition set in step S ⁇ 43.
  • step S ⁇ 43 the coordinates of the four representative points in the vicinity are changed.
  • Step S (roa + ⁇ ) 02+ (rob + ⁇ ) 6> 1 02 + (roc + ⁇ ) 02 021 + ( ⁇ + ⁇ ) ⁇ ⁇ ⁇ 1
  • the central processing unit operates when the operator operates the automatic setting button for the representative point of the inner sphere ⁇ 1.
  • the central processing unit changes the four representative points in the vicinity by the same distance X, and then proceeds to step SP44.
  • the central processing unit sequentially changes the coordinates of the representative points in response to the operation of the operation, and when the operation of the operation is completed, the process proceeds from step SP44 to step SP47, and the processing procedure is performed. To end.
  • the processing result is displayed and the characteristic setting screen is displayed.
  • the processing results can be checked in real time and fine adjustments can be made as necessary, so that each pixel of each image of the foreground image is represented in a three-dimensional color space and Even if processing is performed, desired processing can be executed with a simple operation.
  • the boundary for chroma processing is represented by 26 points.
  • points may be represented by 30 degree equiangular intervals.
  • the boundary can be represented by various numbers of points as needed, such as when setting, or when setting points at unequal angular intervals.
  • the boundary for the mouth opening is set by a double substantially spherical shape.
  • the present invention is not limited to this, and for example, the boundary is set in triple, and The present invention can also be applied to a case where the characteristics of chroma processing are set more finely based on the middle boundary.
  • the distance to the boundary is calculated in advance by changing the latitude and longitude, and a lookup signal is formed from the calculation result to generate a key signal.
  • the present invention is not limited to this, and the key signal may be created by sequentially calculating the distance to the boundary corresponding to each pixel of the foreground image.
  • the same luminance signal level and color difference signal level are often continuous between adjacent pixels, so when calculating the distance to the boundary in this way, the latitude and longitude once calculated For, the calculation result may be used.
  • the key signal level is sequentially set for all the pixels of the foreground image according to the distance from the center color.
  • the present invention is not limited to this, and only for some pixels sampled from the foreground image, The present invention can be widely applied to a case where a key signal level is detected by access or arithmetic processing, and a key signal level for another pixel is set from these key signal levels by, for example, interpolation arithmetic processing.
  • each pixel of the foreground image may be represented by a color space based on, for example, red, blue, and green color signal levels.
  • a key signal can be generated with a simple configuration by connecting to various devices that process video signals using these color signals.
  • a case has been described in which a key signal for achromatization processing is generated in addition to a key signal for a black key.
  • the present invention is not limited to this, and a key signal for a black key is used. This method can be widely applied to the case where only the key is generated, and the case where other key signals for editing are also generated.
  • a case has been described in which a key signal is generated and an image is synthesized using the generated key signal.
  • the present invention is not limited to this, and the generated key signal is output to a switcher or the like. It can also be widely applied when
  • the present invention is not limited to this, and is widely applied to the case where the still image is subjected to the chroma processing. be able to.
  • the four representative points are As for the case of automatically setting the condition of chroma processing by correcting with equal distance, the present invention is not limited to this, but the distance is corrected by weighting according to the angle from the pixel clicked by the user You may do it. That is, as shown in FIG. 36, when the pixel clicked by the user internally divides the four representative points adjacent to each other by angles 0 1, ⁇ 2, and ⁇ I 2, the above-described step SP 4 1 The values xa, xb, xc, and xd are calculated and the distance of each representative point is corrected accordingly so that the distance r (, ⁇ ) corresponds to the distance d detected in By doing so, the representative point can be changed by performing weighting processing. This makes it possible to automatically set the conditions of the chromatographic processing in more detail.
  • the present invention is not limited to this, and can be widely applied to display in various forms, such as when the first to third display portions are formed by a reference plane based on the origin of the UVY axis. Can be.
  • the present invention is not limited to this.
  • the area inside the inner sphere, the area outside the outer sphere, and the area between the inner sphere and the outer sphere may be displayed by displaying the area where the inner sphere is formed.
  • the vector scope display unit may omit the updating process by roughly understanding the relationship between the inner sphere, the outer sphere, and the foreground image.
  • the key space characteristic setting screen is formed by the color space display unit and the vector scope display unit.
  • the present invention is not limited to this.
  • the characteristic screen of the present invention can be widely applied to the case where it is formed in various forms as needed.
  • the boundary for the chroma processing is represented by 26 points, but the present invention is not limited to this.
  • the boundary can be represented by various numbers of points as needed, for example, when setting points at equal angular intervals of 30 degrees, or even setting points at unequal angular intervals.
  • a boundary for chroma key is set by a double substantially spherical shape.
  • the present invention is not limited to this, and for example, a triple boundary is set, and an intermediate The present invention can also be applied to the case where the characteristics of the chroma processing are set more finely based on the boundary.
  • each pixel of the foreground image is represented by a color space based on red, blue, and green color signal levels. Can be widely applied to the case where the foreground image is expressed and processed by the conventional UV two-dimensional plane.

Description

明 細 書 映像信号処理装置及び方法、 画像合成装置、 並びに編集装置 技 術 分 野 本発明は、 いわゆるクロマキ一による画像合成に用いられる映像 信号処理装置及び方法、 画像合成装置、 並びに編集装置に関するも のである。 背 景 技 術 従来、 放送局等での編集装置を用いたクロマキ一処理等において は、 前景画像に背景画像を嵌め込んで画像合成するようなことがな されている。
すなわち放送局等では、 事前に、 例えば青色のスク リーンを背景 (いわゆるブル一バック) としてアナウンサー等を撮像し、 これに より前景画像の映像信号を生成する。 またこの前景画像の背景に割 り当てる所望の被写体を撮像し、 これにより背景画像の映像信号を 生成する。
編集装置等においては、 ォペレ一夕の操作に応動して、 事前に、 色差信号について基準の信号レベルを設定することにより前景画像 から抜きたい色が設定される。 このときソフ トク口マキ一による画 像合成する場合、 編集装置は、 抜きたい色の中心色を基準にして、 上限及び下限の信号レベル (すなわちしきい値) が設定される。 編集装置は、 このしきい値と前景画像の映像信号とを順次比較す ることにより、 キー信号を生成する。 すなわち編集装置は、 青色の スクリーンを背景にして生成された前景画像については、 この背景 の部分で値 0になるように、 またこの青色の背景以外の色彩につい ては値 1になるように、 上限及び下限のしきい値が設定されてキ一 信号が生成される。 さらに青みがかった他の色彩については、 青み がかった程度に応じた値になるように、 上限及び下限のしきい値に 対応した値 1から値 0の範囲で、 キー信号が生成される。
これにより従来の編集装置は、 色差信号で表される 2次元の色空 間 (すなわち U V信号を座標軸にしてなる色空間) により順次前景 画像の色彩を判定してキー信号を生成するようになされ、 このよう にして生成したキ一信号を基準にして前景画像及び背景画像を合成 し、 前景画像の背景に背景画像を嵌め込んでなる合成画像を生成す るようになされている。
ところで、 従来の編集装置においては、 同一の色彩であっても、 輝度レベルの高い部分と輝度レベルの低い部分とを判別することが 困難な欠点がある。 これにより従来の編集装置による合成画像は、 嵌め込んだ背景画像の輪郭が不自然に表示され、 何らクロマキ一処 理しない場合に比して品位が低下する問題があつた。
この問題を解決する方法の一つとして、 前景画像の各画素を 3次 元色空間上で表現して処理する方法が考えられるが、 このようにす ると、 従来の 2次元の色空間に代えて 3次元色空間上でキー信号設 定の範囲等を調整することが必要になることにより、 クロマキ—処 理の調整作業が煩雑になる恐れがある。 発 明 の 開 示 本発明は、 上述した問題点に鑑みてなされたものであり、 簡易な 構成で高品位の合成画像を得ることができ、 さらに、 簡単な操作で 所望の処理を実行することができるような映像信号処理装置及び方 法、 画像合成装置、 並びに編集装置を提供することを目的とするも のである。
すなわち、 本発明に係る映像信号処理装置又は方法は、 前景画像 と背景画像とを合成するキ一信号を生成する際に、 上記前景画像よ り抜き出す色の中心色を原点とした 3次元の色空間において、 上記 前景画像の各画素の極座標を検出し、 上記極座標における上記原点 からの距離に応じて上記キー信号を生成することを特徴とするもの である。
また、 前景画像と背景画像とを合成するキー信号を生成する際に、 3次元色空間における所定の基準色から上記前景画像の各画素まで の距離に応じて、 上記キ一信号の値を設定し、 上記キ一信号による 処理結果の画像と、 上記キー信号の特性設定用画面とを表示し、 上 記特性設定用画面を介して得られる情報により上記キー信号の特性 を変更すると共に、 上記処理結果の画像を変更することを特徴とす るものである。
さらに、 前景画像と背景画像とを合成するキ一信号を生成する際 に、 上記前景画像の各画素の、 3次元色空間における基準の中心色 からの距離に応じて上記キ一信号の値を設定し、 上記前景画像で指 定された画素の、 上記 3次元色空間における所定の基準位置からの 位置情報を表示することを特徴とするものである。 またさらに、 前景画像と背景画像とを合成するキ一信号を生成す る際に、 3次元色空間上に設定した基準平面に、 上記前景画像を形 成する画素を投影して、 上記前景画像を形成する画素の、 上記 3次 元色空間上における位置を表示したことを特徴とするものである。 さらに、 前景画像と背景画像とを合成するキー信号を生成する際 に、 3次元色空間における所定の基準色からの距離に応じて上記キ 一信号の値を設定し、 上記 3次元色空間上に、 少なく とも上記前景 画像の各画素を対応する位置に配置して、 所望の視点より眺めた画 像を表示することを特徴とするものである。
このような特徴を有するキー信号生成装置及び方法は、 フレーム を単位とする画像合成装置や、 複数フレームの編集を行う編集装置 に適用することができる。 図面の簡単な説明
図 1は、 本発明の実施の形態が適用される編集装置の概略構成を 示すブロック図である。
図 2は、 本発明の実施の形態となるキー信号生成装置の一例を示 すブロック図である。
図 3 A, 図 3 Bは、 前景画像と中心色の関係を示す図である。 図 4は、 ク口マキ一処理の条件設定の説明に供する図である。 図 5 A , 図 5 Bは、 クロマキ一処理の 3次元色空間上での境界及 びク口マキ一信号を示す図である。
図 6は、 クロマキ一処理の 3次元色空間上での境界を特定する点 群を示す図である。 図 7 A , 図 7 Bは、 カラーキャンセル処理の 2次元色空間上での 境界及びカラ一キャンセルキー信号を示す図である。
図 8は、 カラーキヤンセル処理の 2次元色空間上での境界を特定 する点群を示す図である。
図 9は、 図 6の点群より大径の境界までの距離計算の説明に供す る図である。
図 1 0は、 図 6の点群より小径の境界までの距離計算の説明に供 する図である。
図 1 1 A , 図 1 1 Bは、 図 5の境界とク口マキ一処理の特性との 関係を示す図である。
図 1 2は、 図 1の編集装置のクロマキ一処理部を示すプロック図 である。
図 1 3は、 前景画像の処理の説明に供する図である。
図 1 4は、 クロマキー処理の 3次元色空間上での境界の説明に供 する図である。
図 1 5 A , 図 1 5 Bは、 カラーキヤンセル処理の 2次元色空間上 での境界とカラーキヤンセル用のキー信号との関係を示す図である, 図 1 6 A〜Fは、 アツ ドミ ックス合成を伴う画像合成を説明する ための図である。
図 1 7は、 ク口マキ一処理条件の設定処理手順を示すフローチヤ —卜である。
図 1 8は、 本発明の第 1の実施の形態に係る編集装置におけるプ レビュー画面を示す図である。
図 1 9は、 プレビュー画面の具体例を示す図である。
図 2 0は、 キーパラメ一夕設定画面を説明するための図である。 図 2 1は、 キーパラメ一夕設定画面の具体例を示す図である。 図 2 2は、 キーパラメ一夕設定画面の中心色設定部を示す図であ る。
図 2 3は、 前景画像における画素の処理の説明に供するフローチ ャ一トである。
図 2 4は、 図 2 3の処理手順における輝度、 色差と角度、 距離の 関係を示す図である。
図 2 5は、 ベク トルスコープ表示部を示す図である。
図 2 6は、 べク トルスコープ表示部における第 1の表示部の説明 に供する図である。
図 2 7は、 べク トルスコープ表示部における第 2の表示部の説明 に供する図である。
図 2 8は、 べク トルスコープ表示部における第 3の表示部の説明 に供する図である。
図 2 9は、 べク トルスコープ表示部における第 4の表示部の説明 に供する図である。
図 3 0は、 第 1〜第 3の表示部における表示の処理を示すフロー チヤ一トである。
図 3 1は、 図 3 0の処理手順の説明に供する図である。
図 3 2は、 色空間表示部の一例を示す図である。
図 3 3は、 色空間表示部における視点の切り換えの説明に供する 図である。
図 3 4は、 色空間表示部における色空間の回転の説明に供する図 である。
図 3 5は、 第 2の実施の形態に係る中央処理ュニッ 卜の処理手順 を示すフローチャートである。
図 3 6は、 他の実施の形態に係る代表点の変更処理の説明に供す る図である。 発明を実施するための最良の形態 以下本発明の好ましい実施の形態について、 図面を参照しながら 説明する。
先ず、 本発明に係るキー信号生成装置の実施の形態が適用される 編集装置の一例について、 図 1 を参照しながら説明する。
図 1は、 クロマキ一処理やカラーキャンセル処理により画像合成 を行うための編集装置 1の概略構成を示すプロック図である。
この図 1に示す編集装置 1は、 コンピュー夕に画像処理用のボー ドを配置して構成され、 オペレー夕の操作に応動してハードデイス ク装置 (H D D ) 2に種々の映像信号を記録し、 またこの記録した 映像信号を編集して外部機器に出力する。 このとき編集装置 1は、 ハードディスク装置 2に記録した前景画像及び背景画像の映像信号 S V 1及び S V 2を合成して合成画像による映像信号 S V 3を生成 し、 この映像信号 S V 3をハードディスク装置 2に記録する。
すなわちハードディスク装置 2は、 バス B U Sを介して入力され る制御コマン ドに応動して動作を切り換え、 この編集装置 1の編集 に必要な映像信号を記録し、 また記録した映像信号を出力する。 フ レームバッファ 3及び 4は、 同様にバス B U Sを介して入力される 制御デ一夕により動作を切り換え、 それぞれ順次入力される映像信 号 S V 1及び S V 2を蓄積して所定のタイ ミングで出力する。 クロマキ一処理部 5は、 クロマキ一の手法により、 フレームバヅ ファ 3及び 4より入力される映像信号 S V 1及び S V 2を合成し、 合成画像を構成する映像信号 S V 3を出力する。 このためクロマキ 一処理部 5において、 キー信号生成部 6は、 前景画像の映像信号 S V 1よりキー信号を生成し、 画像合成部 7は、 このキー信号により 映像信号 S V 3を合成する。
ここで、 クロマキ一処理部 5内のキ一信号生成部 6は、 本発明の 実施の形態となる例えば図 2に示すような構成のものが使用できる, この図 2のキー信号生成部 6については、 後に詳細に説明する。 図 1に戻って、 フレームバッファ 8は、 このクロマキ一処理部 5 より出力される映像信号 S V 3を蓄積すると共に、 所定のタイ ミ ン グでハードディスク装置 2、 モニタ 9に出力する。 これにより編集 装置 1では、 クロマキー処理部 5によりクロマキ一処理した映像信 号 S V 3をモニタ 9により確認し、 またハードディスク装置 2に記 録するようになされている。 また編集装置 1は、 これらフレームバ ヅファ 3、 4、 8、 クロマキ一処理部 5がボート上に構成され、 こ のボードがコンビユー夕のバス B U Sに接続される。
中央処理ユニッ ト ( C P U ) 1 0は、 ランダムアクセスメモリ ( R A M ) 1 1にワークエリァを確保して、 キーボード 1 2、 マウ ス 1 3の操作に応動してリードオンリメモリ (R O M ) 1 4、 ハー ドディスク装置に格納された一連の処理手順を実行することによ り、 この編集装置の処理に必要な編集リス トを作成し、 また作成した編 集リス 卜に従って全体の動作を制御し、 これによりォペレ一夕の操 作に従って一連の編集処理を実行する。
この一連の処理において、 中央処理ユニッ ト 1 0は、 ォペレ一夕 がクロマキ一による編集を選択すると、 クロマキ一処理部 5、 フレ —ムバッファ 3、 4、 8の動作を立ち上げ、 クロマキ一の処理を実 行する。 この処理において、 中央処理ユニッ ト 1 0は、 クロマキ一 処理の条件設定を受け付けた後、 この受け付けた条件に従ってク口 マキ一処理部 5のパラメ一夕設定処理を実行し、 この設定したパラ メ一夕によりクロマキーの処理を開始する。
すなわち中央処理ュニッ ト 1 0は、 条件設定の処理において、 前 景画像の静止画をモニタ 9に表示し、 このモニタ上でオペレ一夕が カーソルを動かしてマウス 1 3をク リ ックすると、 対応する画素を 中心色の画素に設定する。 ここで中心色は、 前景画像より抜き出す 部分の基準色であり、 この編集装置 1では、 この中心色を中心にし て形成される 3次元色空間上における所定領域を基準にして、 前景 画像の色相、 輝度を判定し、 この判定結果に基づいてキ一信号を生 成する。
すなわち中央処理ュニッ ト 1 0は、 図 3 Aに示すように、 前景画 像 M F上でオペレー夕が画素 G 0を指定すると、 この画素の輝度 Y 0、 色相 U 0、 V 0を検出し、 図 3 Bに示すように、 この輝度 Y 0、 色相 U 0、 V 0により特定される色を中心色 C Oに設定する。 さら に中央処理ュニッ ト 1 0は、 輝度 Y、 色差 U、 Vを基準軸にしてな る 3次元色空間上で、 この中心色 C 0を中心にしてなる二重の球形 形状 K 1及び K 2を設定する。 このとき中央処理ュニッ ト 1 0は、 予め設定された基準値を半径に設定してこれら 2つの球形形状 K 1 及び K 2を形成する。
さらに中央処理ュニッ ト 1 0は、 後述するクロマキ一処理と一部 が共通する処理を実行することにより、 モニタ 9に表示した静止画 について、 これら球形 K l、 Κ 2の内側に含まれる色彩の領域を表 示する。 中央処理ユニッ ト 1 0は、 この状態で、 モニタ 9の表示を 介して入力されるォペレ一夕の操作により、 例えば図 4において矢 印 Αにより示すように、 外側の球形形状 K 2を部分的に変形する。 なおこの変形は、 ォペレ一夕の操作に応動して内側の球形形状 K 1 についても同様に実施される。
ここで図 5 Aに示すように、 中央処理ユニッ ト 1 0は、 このよう にして色空間上に設定された 2つの球形形状 K 1、 K 2について、 小径の球形形状 K 1の内側の領域 A R Iに含まれる色については、 背景画像を割り当てるように値 0のキ一信号 K E Yを生成する。 ま た大径の球形 K 2の外側領域 A R 3に位置する色については、 前景 画像を割り当てるように値 1のキ一信号 K E Yを生成する。 さらに 球形 1及び K 1間の領域 A R 2に含まれる色については、 値 1か ら値 0の間で、 その色の位置に応じた値によ りキ一信号 K E Yを生 成する。 このキ一信号 K E Yの一例を図 5 Bに示す。 これにより中 央処理ュニッ ト 1 0は、 このようにしてオペレ一夕の設定した略球 形形状 K 1及び K 2によりキー信号 K E Yの特性を切り換える境界 K 1及び K 2を設定する。
図 6に示すように、 中央処理ユニッ ト 1 0は、 このようにして設 定する境界 K 1及び K 2を、 それぞれ 2 6個の点 (以下代表点と呼 ぶ) P 0〜P 2 5により表現する。 さらにこのとき中央処理ュニッ ト 1 0は、 中心色 C〇を原点にしてなる Y、 U、 V空間座標上にお いて、 極座標で表される座標値によりこれら代表点 P 0〜P 2 5を 表現する。 すなわち中央処理ユニッ ト 1 0は、 この極座標空間にお いて、 緯度方向 (角度(Z こより規程される中心色 C 0からの方向で なる) 及び経度方向 (角度 0により規程される中心色 C Oからの方 向でなる) に 4 5度の等角度で複数のべク トルを生成し、 このべク トルの長さ rにより各代表点 P 0〜P 2 5を表現する。 従って上述 したマンマシンイン夕一フェースにより境界 K 1及び K 2を設定す る場合、 中央処理ュニッ ト 1 0は、 ォペレ一夕の操作に従って、 対 応するベク トルの長さ rを可変することになる。 なお、 上記代表点 を表現するときの角度は、 上記 4 5度に限定されず、 例えば 2 2. 5度でもよく、 この他、 任意の角度とすることができる。
さらに中央処理ュニッ ト 1 0は、 例えば中心色 C 0を横切る Y軸 に垂直な平面により、 これら球形形状 K 1及び K 2を切断して、 図 7 Aに示すような二重の円形形状 K 1 C;, K 2 Cを形成し、 ォペレ 一夕の操作に応動してこの円形形状 K 1 C, K 2 Cを変形し、 また この円形形状 K 1 C, K 2 Cの中心 C 0 C ( U 0 C , V 0 C ) を変 位させる。 これにより中央処理ユニッ ト 1 0は、 この二重の円形形 状 K 1 C, K 2 Cによりカラ一キャンセル (色消し) 用の範囲を設 定し、 カラーキャンセル用のキ一信号 C C Kについても、 特性を切 り換える 2つの境界を設定する。 すなわち、 図 7 Bに示すように、 小径の円形形状 K 1 Cの内側の領域 A R 1 Cについてはカラ一キヤ ンセル (色消し) を施すように C C K = 1 とし、 大径の円形形状 K 2 Cの外側の領域 A R 3 Cについてはカラ一キャンセルを施さない ように C C K= 0とする。 また、 これらの円形形状 K 1 Cと K 2 C との間の領域 A R 2 Cについては、 その位置に応じたカラ一キヤン セルを施すように、 値が 1から 0の間のカラ一キャンセル用のキー 信号 C CKを生成する。
このようなカラーキャンセル用の範囲について、 中央処理ュニヅ ト 1 0は、 オペレー夕の操作により変更された上記中心 C 0 Cの座 標 (U 0 C, V 0 C ) を原点にして、 図 8に示すように、 4 5度の 等角間隔によりべク トルを設定し、 これらべク トルの長さにより規 程される計 8個の代表点群 P 0 C〜P 7 Cにより各円形形状を表現 する。 この角度も、 例えば 2 2 . 5度のように任意に設定すること ができる。 従って中央処理ュニッ ト 1 0は、 上述したマンマシンィ ンターフェ一スによりカラ一キャンセル (色消し) の範囲の境界 K 1 C及び K 2 Cを設定する場合、 オペレー夕の操作に従って、 対応 するべク トルの長さ r Cを可変することになる。
ここで、 カラーキャンセルについて説明する。 基本的には、 クロ マキ一合成した際に、 前景画像の被写体の縁や煙、 コップ等の半透 明部分が、 背景色 (例えばブルーバック使用時には青) の色味がか かるが、 これを防ぐ機能がカラーキャンセル (色消し) である。 こ れは、 先に前景 (foreground) 画像における背景色 (back- color) と同じ色を無色に変えた後、 合成する手法である。
原理としては、 背景色と同じ色を前景画像から引く、 すなわち補 色を加えることで、 色消しを行うことができる。 ただ、 前景画像全 面にこの処理を施すと被写体の色まで変わってしまうので、 カラー キャンセルを行う領域の指定が必要になる。 これがカラ一キャンセ ルキ一信号 C C Kである。 このカラ一キャンセルキー信号 C C Kは、 上記クロマキー用のキー信号 K E Yを反転したものに近いものにな るが、 元になるキ一信号の生成の仕方が違うので、 反転しても全く 同じものにはならない。
このようにしてオペレ一夕の操作によりクロマキー用の境界 K 1 及び K 2、 カラーキヤンセルの境界 Κ 1 C及び Κ 2 Cが設定される と、 中央処理ユニッ ト 1 0は、 パラメ一夕設定処理に移り、 クロマ キー処理部 5に設定するパラメ一夕を計算した後、 このパラメ一夕 をクロマキ一処理部 5に設定する。
このパラメ一夕の計算において、 中央処理ユニッ ト 1 0は、 境界 K 1及び K 2によりクロマキ一処理のパラメ一夕を計算する。 すな わち中央処理ユニッ ト 1 0は、 図 9及び図 1 0に示すように、 図 6 について上述した中心色 C Oを基準にした Y、 U、 V色空間上にお いて、 緯度 (^及び経度 6»を順次変化させ、 各緯度 ø及び経度 6>にお いて原点より延長するべク トル Vがそれぞれ境界 K 1及び K 2と交 わる点 R I及び R 0までの長さ r i及び r oを計算する。
このとき中央処理ュニッ ト 1 0は、 各境界 K 1及び K 2について、 隣接する 4つの代表点の座標値を用いた ( 1 ) 式及び ( 2 ) 式の補 間演算処理により、 順次長さ r i及び r oを計算する。
S 0
νο{ , θ ( 1 ) θ\+ Θ2)·( ί+ 2)
S 0 = roa- 02· 02 + rob - 01· ^2 + roc - 6>2· l + rod - 6>1· ø 1
S I
Π( , θ ) = …… ( 2 )
(Θ1+ Θ2)·( φ1+ 2)
S I =ria- Θ2· 02 + rib- Θ1· 2 + ric · 02· ø 1 + rid- θ 1 · ø 1
さらに中央処理ュニッ ト 1 0は、 図 1 1 Α, 図 1 1 Βに示すよう に、 このようにして各緯度 ø及び経度 6>について検出した点 R I及 び R 0までの長さ r i及び r οより、 クリ ツプポィ ン ト C L I Ρ及 び利得 G A I Νを計算する。 ここで中央処理ュニッ ト 1 0は、 小径 の境界 Κ 1 より計算された長さ r iをクリ ツプポィ ン ト C L I Pに 設定する。 さらに中央処理ュニヅ ト 1 0は、 このク リ ツプポィン ト C L I Pを値 0に、 大径の境界 K 2より計算された長さ r oの位置 を値 1に設定し、 これらクリ ップポィ ン ト C L I P及び値 1の点を 直線で結んでなるこの直線の傾きを利得 G A I Nに設定する。
すなわち中央処理ユニッ ト 1 0は、 次式の演算処理を実行し、 各 緯度 ø及び経度 Θ毎にクリ ップポイン ト C L I P及び利得 G A I N を計算する。
Figure imgf000016_0001
1 . 0
Figure imgf000016_0002
これにより中央処理ュニッ ト 1 0は、 各緯度 ø及び経度 0毎にク リ ヅプボイン ト C L I Ρ及び利得 G A I Νによるキー信号生成の特 性曲線を設定する。 この特性曲線は、 各緯度 ø及び経度 Θについて、 中心色 C 0からの距離 rに応じて、 小径の境界 K 1 までは値 0に保 持され、 大径の境界 K 2の外側では値 1に保持され、 これら小径の 境界 1 より大径の境界 K 2まで間は値 0から値 1 を直線で結んで なるように表現されることになる。
このようにしてクリ ップポイン ト C L I P及び利得 G A I Nを計 算すると、 中央処理ユニッ ト 1 0は、 これらのク リ ップポイン ト C L I P及び利得 G A I Nをキー信号生成部 6に設定し、 このキー信 号生成部 6に各緯度 ø及び経度 6>をァドレスにしてなるク リ ップポ イン ト CL I P及び利得 GA I Nのルックアップテ一ブルを形成す る。
同様にして中央処理ュニヅ ト 10は、 カラ一キャンセル (色消し) の範囲について、 各緯度毎にクリ ップポィ ン ト及び利得を計算する。 さらに中央処理ュニヅ ト 1 0は、 この計算したクリ ップポィン ト及 び利得をキ一信号生成部 6に設定し、 このキー信号生成部 6に各経 度 0をアドレスにしてなるク リ ップポイン ト及び利得のルヅクアツ プテーブルを形成する。
中央処理ュニッ ト 1 0は、 このようにしてキ一信号生成部 6にル ックアツプテ一ブルを形成すると、 パラメ一夕の設定処理を完了す る。
図 1 2は、 画像合成部 7を示すブロック図である。 画像合成部 7 は、 それぞれディ ジ夕ル信号により映像信号 S V 1を構成する輝度 信号 Y l、 色差信号 U l、 V I、 映像信号 S V 2を構成する輝度信 号 Y 2、 色差信号 U 2、 V2を入力する。 カラ一キャンセル (色消 し) 回路 20 Y、 20 U、 20 Vは、 それぞれ前景画像でなる映像 信号の輝度信号 Y l、 色差信号 U l、 V Iを受け、 これら輝度信号 Y l、 色差信号 U l、 V 1をカラ一キャンセル用キ一信号 C CKに より上述したようなカラーキャンセル処理を施して出力する。
ここでこのカラ一キヤンセル用キ一信号 C C Kは、 上述のカラー キャンセル範囲を基準にしてキー信号生成部 6により生成される。 これによりカラーキャンセル回路 20 Y、 20U、 20Vは、 前景 画像への背景の写り込みを有効に回避するように、 クロマキ一処理 して残る輪郭部分をカラーキャンセル処理する。
キーャ一 2 1 Y、 2 1 U、 2 I Vは、 カラーキャンセル回路 20 Y、 20 U 20 Vより出力される輝度信号 Y 1、 色差信号 U l、 V Iを、 キー信号 KEYにより重み付けして出力する。 キーャ一 2 1 Y、 2 1 U、 2 I Vは、 背景画像でなる映像信号の輝度信号 Y 2- 色差信号 U 2、 V2を受け、 これら輝度信号 Y2、 色差信号 U 2、 V 2をキ一信号 1一 KEYにより重み付けして出力する。 ここでこ れらキーヤー 2 1 Y、 2 1 U、 2 1 Vに入力されるキ一信号 1— K Ε Υは、 キ一ヤー 2 1 Υ、 2 1 U、 2 1 Vに入力されるキ一信号 K ΕΥと加算して、 値 1の重み付け値になるように、 キ一信号 KEY を基準にしてキー信号生成部 6により生成される。
ミクサ一 23 Y、 23U、 23Vは、 それぞれキ一ヤー 2 1 Y、 2 1 U、 2 1 Vより出力される輝度信号 Y 1、 色差信号 U 1、 V 1 と、 キーャ一 2 1 Y、 2 1 U、 2 1 Vより出力される輝度信号 Y 2、 色差信号 U 2、 V2とを加算して、 輝度信号 Y3、 色差信号 U 3、 V 3により映像信号 S V 3を出力する。
これにより画像合成部 7は、 キー信号 KEY、 1— KEYにより 前景画像と背景画像を画像合成し、 またこのときキー信号 C C に より前景画像への背景の写り込みを低減するようになされている。
ここで、 図 2を参照しながら、 本発明の第 1の実施の形態となる キ一信号生成装置について説明する。
図 2は、 上記図 1のキ一信号生成部 6の一例としての本発明の第 1の実施の形態となるキ一信号生成装置を示すプロック図である。 キー信号生成部 6において、 クロマキ一信号生成部 25は、 オーバ —サンプリング回路 26 U、 26 に色差信号111、 V Iを入力し、 ここで輝度信号 Yと同一のサンプリング周波数により色差信号 U 1、 V 1をオーバーサンプリングする。 これによりクロマキ一信号生成 部 25は、 続く色差信号 U l、 V 1の処理においてノイズの発生を 有効に回避する。
座標変換回路 27は、 色差信号 U l、 V Iを受け、 中心色 COを 原点にしてなる UV平面上において、 この色差信号 U l、 V Iによ る映像信号 S V 1の各画素を極座標により特定する。 すなわち座標 変換回路 27は、 各色差信号の信号レベル U 1、 V Iより、 それぞ れ中心色 C 0の色差信号レベル U 0、 V0を減算する。 さらに座標 変換回路 27は、 各減算結果より、 U V平面上における角度 6>、 原 点 C 0からの距離 r mを計算する。
この座標変換回路 27は、 次式の演算処理を実行することにより、 図 1 3に示すように、 中心色 COを原点としたときの YUV空間上 における映像信号 SV 1の各画素の位置と原点 C 0とを結ぶ線分 L を、 UV平面上に投影してなる線分の長さ rmと、 YUV空間上に おける線分 Lの経度 0を検出することになる。
V 1 - V 0
Θ = arctan ( 5)
U U 0
rm = ((Ul— U0)2 + (V1— VO)2) ( 6) 続く座標変換回路 28は、 座標変換回路 27により計算された距 離 rmと輝度信号レベル Y 1より、 次式の演算処理を実行し、 これ により中心色 C 0を原点にしてなる YUV空間上における映像信号 S V 1の各画素の位置について、 緯度 ø及び原点 C 0までの距離 rMを計算する。
Υ 1 - Υ 0
φ = arctan 7 ) r m
rM = (( Yl- Y0)2+ rm2) 1/2 …… ( 8 )
ルックアップテーブル 2 9は、 事前に、 中央処理ユニッ ト 1 0に より計算された各緯度 x、 経度 yにおけるク リ ップポイン ト C L I P (X , y ) 、 利得 GA I N (x, y ) を蓄積して形成され、 座標 変換回路 2 7、 2 8により計算された経度 6>、 緯度 øをア ドレスに して対応するク リ ップポイン ト C L I P ( ø、 θ) , 利得 G A I N ( , Θ ) を出力する。 これによりルックアップテーブル 2 9は、 中央処理ュニッ ト 1 0により事前に計算された各緯度 ø及び経度 0 の特性より、 映像信号 SV 1の各画素に対応する特性、 すなわち図 1 1 Bに示す特性を選択的に出力することになる。
キ一プロセス回路 3 0は、 このルヅクアツプテ一ブル 2 9より出 力されるクリ ップポイ ン ト C L I P、 利得 GA I Nに基づいて、 座 標変換回路 2 8で計算された距離 rMに対応するキー信号 MX Kを 生成する。 すなわちキープロセス回路 3 0は、 次式により示すよう に、 ク リ ップポイン ト C L I Pより距離 r Mが短い場合、 すなわち 図 1 4において符号 Aにより示すように、 小径の境界 K 1の内側に、 映像信号 S V 1の画素が位置する場合、 値 0のキー信号 MX Kを出 力する。 MXK = 0 ( r Mく CLIP) ( 9 ) これに対してク リ ップボイン ト CL I Pより距離 rMが長い場合、 キープロセス回路 30は、 次の ( 1 0) 式の演算処理を実行し、 こ の演算処理結果を値 1にクリ ップして出力する。
これによりキ一プロセス回路 30は、 映像信号 S V 1の画素が小 径の境界 K 1と大径の境界 K 2の間に位置する場合 (図 14におい て符号 Bにより示す) と、 大径の境界 K 2の外側に位置する場合 (図 14において符号 Cにより示す) とで、 それぞれ次式により表 される演算処理を実行してキー信号 MX Kを生成する。
MXK = ( rM-CLIP)xGAIN (CLIP< r M< r o) (10)
MXK = 1 ( r o< rM) ······ (11) これによりキープロセス回路 30は、 クロマキ一信号生成部 2 5 においては、 事前に設定したルックアップテーブル 29により、 映 像信号 SV 1の輝度信号 Y 1、 色差信号 U l、 V Iを基準にしてク ロマキーのキー信号 MX Kを生成するようになされている。
次に、 上述したカラーキャンセル (色消し) のためのキー信号生 成について説明する。
キー信号生成部 6においては、 上述したカラ一キャンセル (色消 し) のためのキー信号 AMKを生成し、 これを反転 ( 1より減算) してカラ一キヤンセル用キー信号 C C Kを得ると共に、 映像に応じ て上記クロマキ一用のキー信号 MX Kの信号レベルを上記キー信号 ΑΜΚにより補正してクロマキ一信号 Κ Ε Υを得ている。 上記画像 合成部 7においては、 上記キー信号 ΑΜΚを反転 ( 1より減算) し て得られるカラーキヤンセル信号 C C Kを用いてカラ一キャンセル 処理を施すと共に、 上記補正されたクロマキ一信号 Κ Ε Υを用いた クロマキ一の処理を実行することにより、 上述した被写体の輪郭部 分等での背景色の写り込みを低減した画像合成を行っている。
すなわちキー信号生成部 6において、 カラ一キャンセル (色消し) キー信号生成部 3 2は、 オーバ一サンプリ ング回路 2 6 U、 2 6 V より出力される色差信号 U 1、 V 1を座標変換回路 3 3に入力する。 座標変換回路 3 3は、 上述したようなカラ一キャンセル (色消し) 用のパラメ一夕生成に使用された中心座標 U 0 C、 V 0 Cを原点に した UV平面上にて、 映像信号 S V 1の各画素の位置を検出する。 なおこの検出処理は、 上記 ( 5 ) 式及び ( 6 ) 式について上述した 演算処理と同一の演算処理を実行して距離 r C及び角度 0 Cを計算 する。
続くルックアップテーブル 34は、 事前に、 中央処理ユニッ ト 1 0により計算された各角度 Xにおけるクリ ップボイ ン ト C L I P C ( X ) 、 利得 GA I N C ( X ) を蓄積して形成され、 座標変換回路 3 3で計算された角度 S Cをアドレスにして対応するク リ ヅプボイ ン ト C L I P C (6> C) 、 利得 G A I N C ( Θ C) を出力する。 こ れによりルックアップテーブル 34は、 中央処理ュニヅ ト 1 0によ り事前に計算された各角度 0 Cの特性より、 映像信号 S V 1の各画 素に対応するカラーキャンセルの特性を選択的に出力する。
図 1 5 A及び図 1 5 Bは、 上述した図 7 A及び図 7 Bに示す二重 の円形形状の境界 K 1 C, K 2 Cまでの長さ riC, roCと上記キー 信号 AM Kとの関係を示す図である。 ここで、 カラ一キャンセルの 基準色となる中心の C 0 Cから小径の円形形状の境界 K 1 Cまでの 長さ riCを上記ク リ ップポイン ト C L I P Cとするとき、 U V空間 上における映像信号の各画素の位置についての上記中心 C◦ Cまで の距離 rMC に対応する上記キー信号 AMKは、 次の ( 1 2 ) 式〜 ( 1 4 ) 式のようになる。
AMK = 0 ( rMC<CLIPC) …… (12)
AMK = ( rMC-CLIPC)xGAINC (CLIPC< rMC< r oC)
…… (13)
AMK = 1 ( r oC< r MC) (14) キ一プロセス回路 3 5は、 キ一プロセス回路 3 0 と同様にして、 このルックアツプテーブル 3 4より出力されるクリ ップポイン ト C L I P C ( Θ C) 、 利得 GA I N C (Θ C) に基づいて、 座標変換 回路 3 3で計算された距離 r Cに対応するキー信号 AM Kを生成す る。 反転回路 3 6は、 この信号キー信号 AM Kを値 1 より減算して、 カラーキヤンセル用キ一信号 C C Kを出力する。 これによりカラ一 キャンセルキー信号生成部 3 2は、 オペ一夕によりカラ一キャンセ ル用に設定した 2次元の領域に対応するキ一信号 AM Kを生成する。
クロマキ一信号生成部 2 5において、 減算回路 3 7は、 選択回路 3 8より出力されるクロマキー用のキー信号 K E Yを値 1 より減算 して背景用のキー信号 1—K E Yを出力し、 選択回路 3 8は、 キ一 プロセス回路 3 0、 3 5より出力されるキ一信号 MX K、 ΑΜΚよ りこのクロマキ一用のキー信号 Κ Ε Υを生成する。 このとき選択回 路 3 8は、 ォペレ一夕の操作に応動してカラーキャンセルキー信号 生成部 3 2と連動して動作を切り換え、 これによりユーザ一の所望 のクロマキ一処理を実行する。
次に、 図 1 2のミクサ一 2 3 Y、 2 3 U、 2 3 Vより出力される 映像信号 SV 3について、 これを輝度信号 Y、 色差信号 U、 Vによ り表して、 ォペレ一夕がカラ一キヤンセルの処理を選択しない場合、 選択回路 3 8は、 キープロセス回路 3 0より出力されるキー信号 M XKをクロマキ一用のキー信号 K E Yとして出力し、 またカラ一キ ャンセルキ一信号生成部 3 2は、 値 1のキー信号 C C Kを出力する ( これによりクロマキ一処理部 5は、 次式の関係式により表されるク 口マキ一処理を実行する。
Figure imgf000024_0001
またオペレータが第 1の動作モ一ドによるカラーキヤンセル処理 を選択した場合、 選択回路 3 8は、 キ一プロセス回路 3 0より出力 されるキー信号 MX Κをクロマキ一用のキー信号 Κ Ε Yとして出力 し、 またカラ一キャンセルキ一信号生成部 3 2は、 上述の演算処理 により生成したキー信号 1— AMK (= C C K) を色差信号につい てのみ出力する。 これによりクロマキ一処理部 5は、 次式の関係式 により表されるクロマキ一処理を実行する
' Y3' Y1 ' Y2'
U3 = ΜΧΚ· U1 -CCK- U0C + ( 1 - -MXK) · U2 . 、 VI V0C .
(16)
なおここで、 U0C、 V0Cは、 オペレー夕が事前に設定したカラー キヤンセル用の基準色である。
この第 1の動作モードによる処理は、 被写体の縁や、 煙、 コップ 等の半透明部分が青くなる (ブル一バックの場合) のを防ぐために、 色差信号成分 U 1 , V Iから、 カラ一キャンセルの中心 C 0 Cの色 差信号成分 U 0 C, V 0 Cを減算する、 すなわち補色を加えている < これによつて、 前景画像の内の背景色 (ブルーバックの場合は青) と同じ色を無色に変えている。 ただし、 前景画像全体にこのカラー キヤンセル処理を施すと被写体の色まで変わってしまうので、 カラ 一キヤンセルを行う領域の指定が必要であり、 この指定を行うため の信号がカラーキヤンセルキー信号 C C Kである。
さらにオペレー夕が第 2の動作モ一ドによるカラ一キャンセル処 理を選択した場合、 選択回路 38は、 カラ一キャンセル用のキー信 号 AMKをキー信号 K E Yとして出力し、 カラ一キャンセルキー信 号生成部 32は、 上述の演算処理により生成したキー信号 1一 AM K (=CCK) を出力する。 これによりクロマキ一処理部 5は、 次 式の関係式によ り表されるクロマキ一処理を実行する。
Figure imgf000026_0001
( 17) なおここで Y OCは、 ォペレ一夕が事前に設定したカラ一キヤンセ ル用の基準色の輝度レベルである。 またこのようなカラ一キャンセ ルキー信号生成部 3 2の動作の切り換えは、 反転回路 3 6の動作を 切り換えて実行される。
この第 2の動作モードは、 アツ ドミ ックス (Add-mix) 合成モ一 ドとも称され、 この合成においては、 前景画像に対してキーを掛け る処理 (キーイ ング処理) を行わない。 すなわち、 前景画像に対し ては、 色を消したい部分のカラーキャンセルだけを行い、 キーイ ン グ処理された背景画像を加算することで合成を行っている。 これは、 前景画像のブル一バック等の上に生じている被写体の影やその他の ノィズ等の情報も全て残しながらカラ一キヤンセルも行いたい場合 等に効果がある。
図 1 6 A〜図 1 6 Fは、 このような第 2の動作モード (アツ ドミ ヅクス合成モード) の処理を説明するための図である。
図 1 6 Aは、 前景画像において、 背景となるブルーバック B Bの 前に人物等の被写体 S Bが配され、 この被写体 S Bの近傍に明るい 部分 B Rや、 影の部分 S Hが生じている例を示している。 この前景 画像の映像信号の所定の水平ライン gにおける輝度信号 Y 1を図 1 6 Bに示し、 上記キー信号 M X Kを図 1 6 Cに示す。 このキ一信号 M X Kでキ一イ ングされた映像信号、 例えば輝度信号は、 図 1 6 C に示すように、 ブルーバック B B上の影の部分 S Hや明るい部分 B Rも含めた全ての情報が消されて、 被写体 S Bの情報のみが残って いる。 上記カラーキヤンセルキ一信号 C C Kは、 例えば図 1 6 Eに 示すように、 上記キ一信号 M X Kを反転 ( 1 より減算) したものよ りも被写体領域側が狭い信号となっている。 図 1 6 Fは、 上記アツ ドミ ックス合成のための Y 1一 CCK ' Y 0Cの計算を行って得られる信 号 (映像信号の輝度信号成分) を示しており、 色差信号成分につい ても同様である。 この図 1 6 Fに示すように、 ブルーバック B B上 のノィズゃ、 明るい部分 B Rが残ったままで合成されることが分か る。
次に、 クロマキ一処理の条件設定について説明する。
図 1 7は、 このようにして実行されるクロマキー処理の条件設定 時における中央処理ュニッ ト 1 0の処理手順を示すフロ一チヤ一ト である。 中央処理ュニヅ ト 1 0は、 モニタ 9にキ一パラメ一夕設定 画面及びプレビュー画面をウイン ドウにより表示し、 これら画面を 介して実行されるオペレー夕の操作に応動してク口マキ一処理の条 件を受け付ける。 なおキーパラメ一夕設定画面は、 クロマキ一処理 の条件設定用の画面であり、 プレビュー画面は、 静止画を使用した クロマキ一処理の確認用画面である。 中央処理ユニッ ト 1 0は、 こ れらキーパラメ一夕設定画面及びプレビュー画面自体に登録された イベン トをオペレー夕の操作に応動して実行することにより、 又は これらの画面のボタン等に登録されたィベン 卜をオペレー夕の操作 に応動して実行することにより、 以下に説明する各処理を実行する。 すなわち所定のメニュー画面において、 ォペレ一夕が編集対象の 素材を指定してクロマキ一の処理を選択すると、 中央処理ュニッ ト 10は、 ステップ S P 1からステップ S P 2に移り、 全体の動作を 制御してキーパラメ一夕設定画面及びプレビュー画面をモニタ 9に 表示する。
続いて中央処理ュニッ ト 1 0は、 ステップ S P 3に移り、 中心色 C O (図 6) の入力を受け付け、 続くステップ S P 4において、 こ の中心色 C 0を基準にしてディ フオルト値による代表点 P 0 ~P 2 5 (図 6) を設定する。 続いて中央処理ュニヅ ト 1 0は、 ステップ S P 5に移り、 これら中心色 C 0、 代表点 P 0〜P 25によりプレ ビュー画面を更新した後、 続くステップ S P 6においてオペレータ がパラメ一夕設定完了の操作子を操作すると、 ステップ S P 7に移 つてこの処理手順を終了する。 これにより中央処理ュニッ ト 1 0は、 必要に応じて続いてルックアツプテ一ブル 29、 34を設定する。
これに対してプレビュ一画面を確認したオペレー夕がキ一パラメ 一夕設定画面を操作した場合、 この場合ォペレ一夕の所望するクロ マキ一処理結果が得られていないことにより、 中央処理ュニッ ト 1 0は、 ステップ S P 6からステップ S P 8に移り、 このキ一パラメ 一夕設定画面を介してオペレー夕の操作を受け付ける。 これにより 中央処理ュニッ ト 1 0は、 中心色 C 0、 代表点 P 0〜P 25の更新 を受け付けてクロマキ一処理のパラメ一夕を調整した後、 ステップ SP 5に戻り、 プレビュー画面を更新する。
図 1 8は、 このプレビュー画面 1 02を示す略線図である。
このプレビュー画面 1 02は、 前景画像 (Foreground) 、 背景画 像 (background) 、 キ一信号画像 (ke y) 、 第 1〜第 3の合成画 像 (M i x l〜Mi x 3) 等により構成される。 ここで、 前景画像 (Foreground) には、 イン点及びアウ ト点により指定される編集対 象の素材より、 オペレー夕の選択した 1フレームの静止画が割り当 てられる。 また背景画像 (background) は、 同様に、 背景に割り当 てる編集素材より、 オペレー夕の選択した 1フレームの静止画が割 り当てられる。 これに対してキ一信号画像 (k e y) は、 設定され た中心色 C 0、 代表点 P 0〜P 25により生成したキー信号を表示 して形成される。 また第 1〜第 3の合成画像 (Mi x l~Mi x 3) は、 この生成したキー信号によりそれぞれ上記 ( 1 5 ) 式、 ( 1 6) 式、 ( 1 7) 式の演算処理により形成される静止画が割り当てられ る。
上記図 1の中央処理ュニヅ ト 1 0は、 ハードディスク装置 2より 対応する前景画像及び背景画像をフレームバッファ 3、 4にロー ド し、 上述したキ一信号生成部 6、 画像合成部 7における処理を演算 処理により実行することにより、 これらキー信号画像等を生成して 表示する。 これにより中央処理ュニッ ト 1 0は、 中心色 C 0、 代表 点 P 0~P 25を設定変更する際に、 適宣処理結果を確認できるよ うにプレビュー画面を形成し、 使い勝手を向上するように成されて いる。 また中央処理ュニヅ ト 1 0は、 この編集装置 1に割り当てら れた 3種類のク口マキ一処理について、 処理結果を比較確認できる ようにプレビュー画面 102を形成し、 ォペレ一夕の使い勝手を向 上するようになされている。
さらにプレビュー画面 1 02は、 各画像の左側上部に、 各画像の 名称を示す表示が配置される。 さらに各画像の右側上部に、 各画像 を表示画面全体に拡大表示するボタン (f u l l) B 1、 専用モニ 夕装置に画像を表示するボタン (FB) B 2が配置される。 中央処 理ユニッ ト 1 0は、 これらのボタン B l、 B 2がマウス 1 3により クリ ックされると、 各ボタン B l、 B 2に登録されたイベン トを実 行することにより、 各画面を拡大表示し、 また静止画を専用モニタ に表示する。
図 1 9は、 上述したようなプレビュー画面の具体例を示す図であ る。
次に、 図 2 0は、 キーパラメ一夕設定画面 1 0 1 を示す略線図で ある。 このキ一パラメ一夕設定画面 1 0 1は、 中心色設定部 1 1 1、 色空間表示部 1 1 2、 べク トルスコープ表示部 1 2 0により構成さ れ、 各表示部の操作により中心色 C 0、 代表点 P 0〜P 2 5を設定 変更できるようになされている。
図 2 1は、 上記キーパラメ一夕設定画面の具体例を示す図である < 次に、 図 2 2は、 上記図 2 0のキーパラメ一夕設定画面 1 0 1に おける中心色設定部 1 1 1 とクロマキ一処理との関係を示す略線図 である。 この中心色設定部 1 1 1においては、 上記プレビュー画面 1 0 2における前景画像と同一の静止画が前景画像 (foreground) として表示される。 この前景画像に隣接して中心色 C 0の表示領域 A R Cと、 中心色 C 0の輝度レベル Y、 色相 U、 Vの表示領域が形 成される。
上記図 1の中央処理ュニヅ ト 1 0は、 前景画像 (foreground) 上 においてマウス 1 3の操作により短形領域 A R C 1が指定されると、 この前景画像の表示領域に登録されたィベン 卜の実行により、 この 短形領域 A R C 1の画像データをフレームバッファ 3より読み出し て輝度レベル、 色素レベルノ平均値を算出し、 これにより中心色 C 0の輝度レベル Y 0、 色相 U 0、 V 0を算出する。 更に算出した輝 度レベル Y 0、 色相 U 0、 V 0により中心色 C 0の表示領域 A R C に中心色を表示し、 また輝度レベル Y、 色相 U、 Vの表示領域に算 出したレベルを表示する。
中央処理ュニヅ ト 1 0は、 さらにこの中心色 C 0を基準にしてデ ィフォルト値により代表点 P 0〜P 2 5を設定し、 キー信号生成の 基準となる 2つの球形形状 K 1及び K 2を 3次元色空間上に設定す る。 なおこの場合中央処理ユニッ ト 1 0は、 中心色よりそれぞれ一 定の距離により代表点を設定する。
このようにして中心色 C 0を設定した後、 記号 Xで示すように、 マウス 1 3により前景画像 (foreground) 上の所定位置がク リ ック されると、 中央処理ュニッ ト 1 0は、 同様に前景画像 (foreground) に登録されたィベン トの実行により、 図 2 3に示す処理手順を実行 する。 すなわち中央処理ュニヅ ト 1 0は、 ステップ S P 1 1からス テツプ S P 1 2に移り、 前景画像 (foreground) 上でクリ ックされ た座標を取得し、 続くステップ S P 1 3において、 このク リ ックさ れた位置の画像デ一夕をフレームバッファ 3より読み出す。
続いて中央処理ュニッ ト 1 0は、 この画像デ一夕の輝度レベル y、 色差レベル u、 Vを計算し、 続くステップ S P 1 4において、 次式 の演算処理を実行する。 これにより中央処理ュニッ ト 1 0は、 ク リ ックされた位置の画素について、 中心色 C O (Y 0、 U 0、 V 0 ) からの距離 dを算出する。 d = ((y -Y0)2 + (u -U0)2 + (v-V0)2) 1/2 … (18) 続いて中央処理ユニッ ト 1 0は、 ステップ S P 1 5に移り、 次式 の演算処理を実行することにより、 図 24に示すように、 中心色 C 0を原点にしてなる 0方向及び 0方向の角度 p及び tを算出する。 なおこの 0方向及び (^方向の角度 p及び tは、 U軸を基準にして半 時計回りを正方向に設定して表現する。
V - V 0
p = arctan ( 19) u - U 0
y - Y 0
t = arcsin ( 20) d
この一連の演算処理により、 中央処理ユニッ ト 1 0は、 中心色 C 0からクリ ックされた画素までのべク トル Bを極座標により算出し、 ステップ S P 1 6に移る。 ここで中央処理ュニヅ ト 1 0は、 中心色 の表示に隣接して、 このようにしてクリ ックした画素の、 輝度レべ ル 、 色相 u、 v、 中心色 C 0を基準にしたベク トル p、 t、 dを 表示した後、 ステップ S P 1 7に移ってこの処理手順を終了する。
これにより中央処理ュニッ ト 1 0は、 中心色 C 0を設定した後、 背景と置き換えたい部分等を適宣ク リ ックして中心色 C 0 との関係 を簡易に把握できるようにキ一パラメ一夕画面を形成し、 使い勝手 を向上するようになされている。 なお、 この第 1の実施の形態にお いて、 中央処理ユニッ ト 1 0は、 このようにして前景画像上でマウ スがク リ ックされると、 後述するベク トルスコープ表示部、 色空間 表示部において、 対応する箇所にマーカーを表示し、 これによつて も使い勝手を向上できるようになされている。
ここで角度 0及び øからは、 後述するべク トルスコープ表示部に おける操作において、 何れの箇所を操作すれば、 他の色合いの部分 には影響を与えずに、 対応する箇所だけ背景と置き換えることが可 能か否か等を判断することができる。 また距離情報 dからは、 キー 信号の変化が切り換わるキ一エツジの位置に対する相対的な関係を 判断することができ、 外球 K 1及び又は内球 K 2の大きさを可変し てク口マキ一処理の調整に役立てることができる。
さらに中心色設定部 1 1 1においては (図 2 2 ) 、 中心色 C 0の 表示領域 A R Cの上側に、 上述のステップ S P 6 (図 1 7 ) の判断 処理に対応する了承のボタン (O K ) B 3が配置され、 中央処理ュ ニッ ト 1 0は、 このボタン (〇 K ) がマウス 1 3によりク リ ックさ れると、 クロマキ一処理の条件設定処理を終了する。
これに対して右下側には、 外球 Κ 1及び内球 Κ 2についての変更 モードの切り換えボタン (outer) B 4、 ( inner) B 5が配置され る。 ここでこの変更モードの切り換えボタン B 4、 B 5は、 オンォ フ動作を切り換える トルグスィ ッチにより構成され、 このボタン B 4、 B 5がマウス 1 3によりクリ ックされてオン操作されると、 赤 色の表示が各ボタン B 4、 B 5に形成されるようになされている。
中央処理ュニッ ト 1 0は、 外球 K 1についての変更モ一ドの切り 換えボタン B 4がオン操作されている場合、 色空間表示部において、 外球 K 1又は内球 K 2がマウス 1 3で掴まれて ドローイングされる と、 この操作に対応して外球 K 1の大きさが一様に拡大縮小するよ うに、 中心点 C 0を基準にして代表点 P 0〜P 2 5の座標を変更す る。 また同様に、 内球 K 2についての変更モードの切り換えボタン B 5がオン操作されている場合、 色空間表示部 1 1 2において、 外 球 K 1又は内球 K 2がマウス 1 3で掴まれて ドロ一イ ングされると、 この操作に対応して内球 K 1の大きさが一様に拡大縮小するように、 中心点 C 0を基準にして代表点 Ρ 0〜Ρ 2 5の座標を変更する。 これにより中央処理ュニッ ト 1 0は、 マウス 1 3によりク リ ック された位置の情報表示 y、 u、 v、 p、 t、 dと併せて、 簡易な操 作により所望の処理結果を得ることができるように中心色設定部 1 1 1を形成するようになされている。
さらに中心色設定部 1 1 1においては、 変更モードの切り換えボ タン (inner) B 5の下に、 クロマキ一処理の選択ボタン B 6が配 置される。 ここで、 このボタン B 6は、 トルグスイ ッチにより構成 され、 この編集装置 1によるクロマキ一処理を、 上述の ( 1 5 ) 〜 ( 1 7 ) 式に対応する処理より選択できるようになされている。 これらのボタンに隣接して、 中心色設定部 1 1 1は、 リセッ トの ボタン ( r s t ) B 7が配置される。 ここでこのリセッ トのボタン B 7がマウス 1 3によりク リ ックされると、 中央処理ュニッ ト 1 0 は、 代表点 P 0〜 P 2 5の座標を当初のディ フォルト値にリセヅ ト する。 これにより中央処理ュニッ ト 1 0は、 条件を種々に変更して も簡易に初期状態に復帰できるように全体の動作を制御する。
図 2 5は、 べク トルスコープ表示部 1 2 0を示す略線図である。 このべク トルスコープ表示部 1 2 0は、 第 1〜第 4の表示部 1 2 1 〜 1 2 4と、 各表示部に割り当てられた調整用ボタン等とから構成 される。 ここで第 1〜第 3の表示部 1 2 1〜 1 2 3は、 U軸に対し てそれぞれ— 4 5度、 0度、 4 5度の角度で配置された U Y平面上 の代表点を横切るように、 Y軸に垂直な基準平面が設定され、 この 基準平面が内球 K l、 外球 Κ 2を横切る線分と、 近接する前景画像 の画素の投影画像とをそれぞれ表示して形成され、 Υ軸に沿った方 向について、 これら第 1〜第 3の表示部 1 2 1〜 1 2 3により前景 画像の画素の分布を感覚的に把握できるようになされている。
すなわち図 2 6に示すように、 第 1の表示部 1 2 1においては、 U軸に対して— 4 5度の角度で配置された U Y平面上の代表点を横 切るように、 基準平面 H 1 L及び H 2 Lを設定し、 この基準平面 H 1 L及び H 2 Lが内球 K 1、 外球 K 2を横切る線分が表示される。 さらにこの平面 H I L及び H 2 Lを基準にして設定された所定の輝 度レベル以下の画素を基準平面に投影した画像が表示される。 この とき各画素は、 基準平面 H 1 L及び H 2 Lに対応した所定の輝度レ ベルに設定されて、 各画素の色相により表示される。
これに対して図 2 7に示すように、 第 2の表示部 1 2 2において は、 U軸上に配置された代表点を横切る基準平面 H Cを設定し、 こ の基準平面 H Cが内球 K 1、 外球 K 2を横切る線分が表示される。 さらにこの基準平面 Hを基準にして設定された所定輝度レベルの画 素を基準平面に投影した画像が表示される。 このとき各画素は、 基 準平面 H Cに対応した所定の輝度レベルに設定されて、 各画素の色 相によ り表示される。
また図 2 8に示すように、 第 3の表示部 1 2 3においては、 U軸 に対して 4 5度の角度で配置された U Y平面上の代表点を横切る基 準平面 H 1 H及び H 2 Hを設定し、 この基準平面 H 1 H及び H 2 H が内球 K l、 外球 Κ 2を横切る線分が表示される。 さらにこの基準 平面 Η 1 Η及び Η 2 Ηを基準にして設定された所定の輝度レベル以 上の画素を基準平面に投影した画像が表示される。 このとき各画素 は、 基準平面 Η 1 Η及び Η 2 Ηに対応した所定の輝度レベルに設定 されて、 各画素の色相により表示される。 なおこれら内球 K l、 外球 Κ 2を横切る線分は、 それぞれ代表点 との対応関係を容易に把握できるように、 また代表点に対応する箇 所をマウス 1 3により掴んで代表点の位置を容易に変更可能なよう に、 8角形形状に表示される。
さらに第 1から第 3の表示部 1 2 1〜 1 2 3の下側には、 中心色 C 0から代表点までの距離を調整する 1対のボタン Β 7 Α及び Β 7 Βと、 この距離を調整表示するスクロ一ルバ一 Β 8が配置される。 さらにスクロールバー Β 8の上部には、 中心色 C 0から代表点まで の距離が数字により表示される。 これにより中央処理ュニッ ト 1 0 は、 中心色設定部に表示される中心色 C 0からの距離 d等との対比 により、 これらのボタン等を操作して簡易にクロマキ一の特性を調 整できるようになされている。
さらに第 1から第 3の表示部 1 2 1〜 1 2 3の下側には、 内球 K 1及び外球 K 2を選択する選択ボタン B 9 A及び B 9 Bが配置され、 その下側に、 各表示部における内球 K 1又は外球 K 2の代表点に対 応して 8個のボタン B 1 O A〜: B 1 0 Hが配置される。 中央処理ュ ニッ ト 1 0は、 この選択ボタン B 9 A及び B 9 Bの選択操作に応動 して各選択ボタン B 9 A及び B 9 Bに赤色の表示を形成すると共に、 内球 K 1又は外球 K 2について、 この選択ボタン B 9 A及び B 9 B の下側に配置されたボタンの操作により、 またボタン B 7 A、 B 7 B、 スクロールバ一 B 8の操作により、 代表点の変更を受け付け可 能な状態に切り換える。
すなわち中央処理ュニッ ト 1 0は、 例えば外球 K 2側のボタン B 9 Bがマウス 1 3によりクリ ックされた後、 ボタン B 1 0 A〜B 1 0 Hの何れかがオン操作されると、 このオン操作されたボタン B 1 0 A ~ B 1 0 Hに対応する外球 K 2の代表点について、 ボタン B 7 A、 B 7 Bの操作に応動して、 又はスクロールバー B 8内のボタン の操作に応動して中心色 C 0から代表点までの距離を変化させる。 これにより例えば図 2 8において破線により示すように、 外球 K 2 を構成する代表点の位置が変化し、 外球 K 2が調整されることにな る。
さらに中央処理ユニッ ト 1 0は、 各表示部において、 各代表点に 対応する表示箇所がマウス 1 3により掴まれて操作されると、 この 操作に応動して、 同様に代表点の位置を変化させ、 各表示部の表示 を切り換える。 また同様に、 色空間表示部における操作により内球 K 1 または外球 K 2の代表点が変更されると、 各表示部における内 球 1及び外球 K 2の表示を変更する。
これに対して図 2 9に示すように、 第 4の表示部 1 2 4は、 中心 色 C 0を通る U Y平面に平行な基準平面 H 3を設定し、 この基準平 面 H 3が内球 K l、 外球 Κ 2を横切る線分が表示される。 さらにこ の基準平面 Η 3に 3次元色空間の画素が投影表示される。 この時各 画素は、 所定の輝度レベルに設定されて、 白色によ り表示される。 さらに第 4の表示部 1 2 4の下側には、 中心色 C 0から代表点ま での距離を調整する 1対のボタン Β 7 Α及び Β 7 Bと、 この距離を 調整表示するスクロールバー B 8が配置される。 さらにスクロール バー B 8の上部には、 中心色 C 0から代表点までの距離が数字によ り表示される。 これにより中央処理ユニッ ト 1 0は、 中心色設定部 に表示される中心色 C 0からの距離 d等との対比により、 これらの ボタン等を操作して簡易にクロマキ一の特性を調整できるようにな されている。 さらに第 4の表示部 1 2 4の下側には、 内球 K 1及び外球 K 2を 選択する選択ボタン B 9 A及び B 9 Bが配置され、 その下側に、 内 球 1又は外球 K 2の Y軸上の代表点に対応する 2個のボタン B 1 0 A B 1 0 Bが配置されるようになされている。 中央処理ュニヅ ト 1 0は、 この選択ボタン B 9 A及び B 9 Bの選択操作に応動して 各選択ボタン B 9 A及び B 9 Bに赤色の表示を形成すると共に、 内 球 1又は外球 K 2について、 この選択ボタン B 9 A及び B 9 Bの 下側に配置されたボタン B 1 0 A、 1 0 Bの操作により、 またボタ ン B 7 A、 B 7 B、 スクロ一ルバ一 B 8の操作により、 代表点の変 更を受け付けるようになされている。
なお中央処理ュニッ ト 1 0は、 第 4の表示部 1 2 4においても、 各代表点に対応する表示箇所がマウス 1 3により掴まれて操作され ると、 この操作に応動して、 同様に代表点の位置を変化させ、 表示 部の表示を切り換える。 また同様に、 色空間表示部 1 1 2における 操作により内球 K 1又は外球 K 2の代表点が変更されると、 表示部 における内球 K 1及び外球 K 2の表示を変更する。
図 3 0は、 このようにして内球 K 1及び外球 K 2を表示する際に、 中央処理ュニッ ト 1 0における前景画素の投影処理の処理手順を示 すフローチャートである。 中央処理ュニッ ト 1 0は、 内球 K 1、 外 球 K 2がディ フォルト値により設定されると、 また色空間表示部 1 1 2、 べク トルスコープ表示部 1 2 0における操作により代表点の 位置が変更されると、 さらには改めて中心色設定部において中心色 が選択された場合、 このべク トルスコープ表示部 1 2 0に登録され たィペン トを遂次実行することにより、 この処理手順を実行する。 すなわち中央処理ュニッ ト 1 0は、 ステップ S P 2 1からステツ プ S P 22に移り、 明度 (輝度レベル) の区分を設定する。 ここで 図 3 1に示すように、 中央処理ュニッ ト 1 0は、 第 1〜第 3の表示 部 1 2 1〜 1 23に設定した基準平面 H 1 L、 H 2 L、 HC;、 H I H、 H 2 Hの各輝度レベル Y 1 L、 Y 2 L、 YC、 Y 1 H、 Y 2 H を基準にして、 輝度レベルのしきい値 L 1 L、 LYHを設定し、 こ れにより第 1〜第 3の表示部 1 2 1〜 1 23に対応する 3つの輝度 レベルの区分 l o、 m i d、 h i ghを設定する。
続いて中央処理ュニッ ト 1 0は、 ステップ S P 23に移り、 各区 分 h i gh、 mi d、 l oについて明度 (輝度レベル) の基準値 Y H、 YC、 YLを設定する。 なおこの実施の形態では、 第 1の表示 部 1 2 1に対応する基準値 Y Lは、 この第 1の表示部 1 2 1につい て設定した基準平面 H 1 L、 H 2 Lの輝度レベル Y 1 L、 Y 2 Lの 平均値になるように、 また第 3の表示部 1 2 3に対応する基準値 Y Hは、 この第 3の表示部 1 23について設定した基準平面 H 1 H、 H 2 Hの輝度レベル Y 1 H、 Y 2 Hの平均値になるように設定され る。 さらにしきい値 LYL、 LYHは、 それぞれ基準値 YL、 YC 及び基準値 YC、 YHの平均値になるように設定される。
続いて中央処理ュニヅ ト 1 0は、 ステップ S P 24に移り、 第 1 〜第 3の表示部の表示を黒色により塗り潰すことにより、 これら第 1〜第 3の表示部 1 2 1〜 1 23を初期化した後、 ステップ S P 2 5に移る。 ここで中央処理ュニッ ト 1 0は、 前景画像の 1画素につ いて、 フレームノ ソファ 3よ り画像デ一夕をロードする。
さらに中央処理ュニッ ト 1 0は、 続くステップ S P 26において、 このロードした画像のデータの輝度レベルを基準にして、 この画像 データが何れの区分 h i g h、 mi d、 l oに属するか判断する。 さらに中央処理ユニッ ト 1 0は、 この判断結果より、 この画像デ一 夕を何れかの区分 h i g h、 mi d、 l oに振り分け、 この画像デ 一夕の輝度レベルを振り分けた区分の基準値に設定する。
続いて中央処理ュニッ ト 1 0は、 ステップ S P 27に移り、 振り 分けた区分に対応する表示部に、 この画像デ一夕を表示する。 この とき中央処理ュニッ ト 10は、 各表示部の水平方向及び垂直方向を U軸及び V軸に設定して、 この画像デ一夕の色相に対応する位置を 選択し、 この位置に画像デ一夕を点表示する。 さらにこのときステ ヅプ S P 23で設定した基準値による輝度レベルにより、 またこの 画像データの色相により点表示する。
このようにして 1の画素について、 点表示を完了すると、 中央処 理ュニヅ ト 1 0は、 ステップ SP 28に移り、 前景画像の全画素に ついて、 点表示を完了したか否か判断し、 ここで否定結果が得られ ると、 ステップ S P 2 5に戻る。 これにより中央処理ユニッ ト 1 0 は、 ステップ S P 25— S P 26— SP 27— S P 28— S P 25 の処理手順を繰り返し、 前景画像を形成する各画素についてその輝 度レベルに応じて対応する表示部に各画素を表示し、 全ての画素に ついて表示を完了すると、 ステップ SP 29に移る。
ここで中央処理ュニッ ト 1 0は、 キー範囲に関する情報を取得す る。 ここでこのキー範囲に関する情報は、 上述の各基準平面 H I L、 H 2 L、 HC、 H 1 H、 H 2 Hが内球 K 1及び外球 K 2を横切る線 分の座標データであり、 中央処理ユニッ ト 1 0は、 この情報を取得 すると、 ステップ S P 30に移って、 この線分を各表示部に表示す る。
続いて中央処理ュニヅ ト 1 0は、 ステップ S P 3 1に移り、 ここ でキー範囲 (すなわち代表点の位置) が変更されたか否か判断し、 ここで肯定結果が得られると、 ステップ S P 2 2に戻る。 これによ り中央処理ュニッ ト 1 0は、 代表点が変更されると、 改めて表示部 の表示を切り換え、 これにより代表点により形成される内球 K 1及 び外球 K 2に対する各画素の分布を容易に判断できるようにする。
これに対してステップ S P 3 1において否定結果が得られると、 中央処理ュニッ ト 1 0は、 ステップ S P 3 1からステップ S P 3 2 に移り、 中心色 C 0が変更されたか否か判断する。 ここで肯定結果 が得られると、 中央処理ュニッ ト 1 0は、 ステップ S P 2 2に戻り、 改めて各表示部の表示を切り換える。 これにより中央処理ュニッ ト 1 0は、 中心色 C 0を変更した場合でも、 この変更に伴って変化す る内球 K 1及び外球 K 2に対する各画素の分布を容易に判断できる ようにする。
これに対してステップ S P 3 2において否定結果が得られると、 中央処理ュニッ ト 1 0は、 ステップ S P 3 2からステップ S P 3 3 に移ってこの処理手順を終了する。
なお中央処理ュニッ ト 1 0は、 中心色設定部 1 1 1において、 前 景画像がマウス 1 3によりク リ ックされると、 中心色設定部 1 1 1 における角度 p、 t等の表示に伴い、 これら第 1〜第 4の表示部 1 2 1〜 1 2 4においても、 対応する位置にマーカ一を表示する。 こ れによっても編集装置 1では、 前景画像の各画素と、 内球 K 1及び 外球 K 2の関係を容易に把握できるようになされ、 その分使い勝手 を向上できるようになされている。
図 3 2は、 色空間表示部 1 1 2を示す略線図である。 この色空間 表示部 1 1 2は、 3次元色空間に配置した内球、 外球、 前景画像の 画素等を所定の方向から見た画像を表示する画像表示部 1 1 5と、 この画像の内容、 視点等を変更するボタン等により構成される。 すなわちこの色空間表示部 1 1 2の左上部には、 U V平面を指定 するボタン (uv) 、 YU平面を指定するボタン (yu) 、 YV平 面を指定するボタン ( y V) が配置される。 中央処理ュニッ ト 1 0 は、 図 33に示すように、 所定の方向に設定された視点より色空間 を見てなる画像を画像表示部 1 1 5に表示し (図 33の (A) ) 、 各ボタン (uv) 、 (yu) 、 (y v) が操作されると、 各ボタン に登録されたイベン トの実行によりそれぞれ UV平面、 YU平面、 YV平面を垂直方向より見た画像を表示する (図 33の (B) 〜 (D) ) 。
また色空間表示部 1 12には、 UV平面を指定するボタン (uv) に隣接して回転操作のボタン (r o t ) が配置される。 中央処理ュ ニッ ト 10は、 図 34に示すように、 所定の方向より色空間を見て なる画像を画像表示部 1 1 5に表示した状態で (図 34の (A) ) 、 このボタン (r o t ) がオン操作されると、 この表示の状態で続く マウス 1 3の操作により指定される Y軸、 U軸、 V軸を回転中心軸 に設定する。 さらに中央処理ュニッ ト 1 0は、 この回転中心軸を中 心にして、 矢印により示すように、 マウス 1 3の操作に応動して色 空間を回転させて表示する (図 34の (B) 〜 (D) ) 。 これによ り中央処理ュニッ ト 1 0は、 必要に応じて種々の方向より色空間を 眺めて、 内球 K l、 外球 Κ 2と前景画像の各画素との関係を容易に 把握できるように、 色空間表示部 1 1 2を形成する。
また色空間表示部 1 1 2には、 続いて内球 Κ 1を指定するボタン ( i n) , 外球 K 2を指定するボタン (ou t ) が配置される。 中 央処理ュニッ ト 10は、 このボタン ( i n) 又は (o u t ) がマゥ ス 1 3によりオン操作されると、 画像表示部 1 1 5にそれぞれ内球 K 1、 外球 K 2を表示する。 続いて色空間表示部 1 1 2には、 内球 K 1及び外球 K 2の表示態様を切り換えるボタン (mi x) が配置 される。 中央処理ュニッ ト 1 0は、 このボタン (mi x) がマウス 1 3により操作されると、 不透明の面による表示と半透明の面によ る表示との間で、 内球 K 1及び外球 K 2の表示を切り換える。 これ により中央処理ュニ ヅ ト 10は、 必要に応じて内球 K 1、 外球 K 2 の表示を切り換えて、 またこの表示態様を切り換えて、 前景画像の 各画素と内球、 外球との関係を容易に確認できるように色空間表示 部 1 1 2を形成する。
続いて色空間表示部 1 12には、 内球 K 1及び外球 K 2の表示形 態を切り換えるボタン (Wi r e) が配置される。 中央処理ュニ ヅ ト 1 0は、 このボタン (Wi r e) がオフ操作されると、 内球 K 1 及び外球 K 2を面により表示する。 またボタン (Wi r e) がオン 操作されると、 隣接する代表点を線分により結んだワイヤーフレー ムモデルにより内球 K 1及び外球 K 2を表示する。 これにより中央 処理ュニッ ト 1 0は、 必要に応じて内球 K 1及び外球 K 2の表示形 態を切り換えて、 前景画像の各画素と内球、 外球との関係を容易に 確認できるように色空間表示部 1 1 2を形成する。
さらに色空間表示部 1 1 2には、 続いて色空間の表示を微少角度 ずつ順次変化させるボタン (mov) が配置される。 中央処理ュニ ヅ ト 1 0は、 このボタン (mo v) が操作されると、 画像表示部 1 1 5の垂直方法に対応する仮想の回転軸を色空間に設定して、 この 回転軸を中心にして色空間を順次所定角度づっ変位させて色空間を 表示する。 これにより中央処理ユニッ ト 1 0は、 順次視点を変えて、 前景画像の各画素と内球、 外球との関係を容易に確認できるように 色空間表示部 1 1 2を形成する。
続いて色空間表示部 1 1 2には、 前景画像の各画素の表示形態を 切り換えるボタン ( 1 i n e ) が配置される。 中央処理ュニッ ト 1 0は、 このボタン ( l i n e ) がオフ操作されると、 前景画像の各 画素を点像により色空間にマツビングして表示する。 これに対して このボタン ( l i n e ) がオン操作されると、 前景画面上にて各画 素の点像を、 ラス夕操作順に明るい線により結んで表示する。 これ により中央処理ュニッ ト 1 0は、 必要に応じて各画素の表示形態を 切り換えて、 前景画像の各画素と内球、 外球との関係を容易に確認 できるように色空間表示部 1 1 2を形成する。
色空間表示部 1 1 2には、 YU平面を指定するボタン ( yu) に 隣接して、 前景が像の画素について、 表示非表示を切り換えるボタ ン (p r V) が配置される。 中央処理ュニヅ ト 1 0は、 このボタン ( r v) がオフ操作されると、 前景が像の画素の表示を中止する。 なおこの画素の表示は、 各画素の対応する色相、 輝度レベルにより 表示され、 これにより視点を変えて色空間を眺めても、 内球等と各 画素の関係を容易に把握できるようになされている。
さらに色空間表示部 1 1 2には、 続いて UV軸の表示、 非表示を 切り換えるボタン ( c u r) が配置される。 中央処理ュニヅ ト 1 0 は、 このボタン ( c u r) のオンオフ操作に応動して U軸及び V軸 の表示を切り換える。 また色空間表示部 1 1 2には、 続いて色相の リング Rについて、 表示、 非表示を切り換えるボタン ( r i n g) が配置される。 ここで中央処理ユニッ ト 1 0は、 UV平面上に、 各 位置の色相を色彩により示す色相のリング Rを配置するようになさ れ、 このボタン ( c u r) のオンオフ操作に応動してこのリング R の表示を切り換える。 これにより中央処理ユニッ ト 1 0は、 また視 点を変化されて色空間を眺めても、 視覚的に、 3次元色空間上にお ける内球、 外球と前景画像との関係を把握できるように、 色空間表 示部を形成 1 1 2する。
さらに色空間表示部 1 1 2には、 続いてマ一カーの表示、 非表示 を切り換えるボタン ( c o l ) が配置される。 中央処理ュニッ ト 1 0は、 このボタン ( c o 1 ) がオン操作されると、 カラ一バ一で表 される各色の箇所に箱型のマ一カー Mを表示する。 これにより中央 処理ュニッ ト 1 0は、 通常の映像機器の使用に馴染んだオペレータ についても、 3次元色空間上における内球、 外球と前景画像との関 係を容易に把握できるように、 色空間表示部 1 1 2を形成する。
さらに色空間表示部 1 1 2には、 続いて Y軸の表示、 非表示を切 り換えるボタン (Y) が配置される。 中央処理ュニッ ト 1 0は、 こ のボタン (Y) のオンオフ操作に応動して Y軸の表示を切り換える ( また色空間表示部には、 続いて画像表示部 1 1 5の表示を拡大縮小 するボタン ( s c o p e ) が配置される。 中央処理にュニッ ト 1 0 は、 このボタン ( s c o p e ) が操作されると、 続くマウス 1 3の 操作に応動して、 色空間の表示を拡大縮小する。
また色空間表示部 1 1 2には、 続いて前景画像の画素の表示につ いて、 画素数を配慮した表示モードに切り換えるボタン ( r u d) が配置される。 中央処理ュニヅ ト 1 0は、 このボタン ( r u d ) が オフ操作されている場合、 各画素の輝度レベル及び色相に応じて色 空間に各画素の点像を形成する。 これにより中央処理ュニッ ト 1 0 は、 この場合、 同一の色相及び輝度レベルによる複数画素について は、 同一の箇所に重ねて点像を形成する。 これに対してボタン ( r u d ) がオン操作されると、 所定の乱数により、 各画素の輝度レべ ル、 色相を補正して表示する。 これにより中央処理ュニッ ト 1 0は、 同一の色相及び輝度レベルによる複数画素については、 点像の表示 位置を微妙にずらして、 画素数に応じた面積を有するように点像を 表示し、 視覚的に、 このような画素数の集中を容易に知覚できるよ うに色空間表示部 1 1 2を形成する。
このようにして表示するにつき、 色空間表示部 1 1 2は、 左側に、 表示の程度を過偏するスクロールバーが配置される。 このうち最下 段のスクロールバー ( a ) が操作されると、 中央処理ュニッ ト 1 0 は、 画像表示部 1 1 5における全体の明るさを可変し、 続くスクロ —ルバ一 ( r u d ) が操作されると、 ボタン ( r u d ) が操作され た際における乱数の最大値を可変する。 また中央処理ュニッ ト 1 0 は、 続くスクロ一ルバ一 (h n d 1 ) が操作されると、 内球 K 1及 び外球 K 2に配置した代表点の表示、 中心色の表示を拡大縮小する。 中央処理ュニッ ト 1 0は、 画像表示部 1 1 5において、 このよう にスクロ一ルバ一 (h n d 1 ) の操作により大きさを可変する代表 点の表示、 中心色の表示がマウス 1 3により掴まれて移動されると
(図 4 ) 、 この移動に伴い、 代表点、 中心色を変更する。 このとき 中心色設定部において、 変更モードの切り換えボタン (outer) B 4 ,
( inner) B 5がオン操作されている場合、 何れか 1箇所の代表点の 変更による半径の変化に対応するように、 内球 K 1又は外球 K 2の 各代表点の半径を可変し、 これにより内球 K 1又は外球 K 2全体の 大きさを可変する。 なお中心色が変更された場合は、 この中心色に 対する各代表点の関係が維持されるように、 各代表点についても変 更する。
またべク トルスコープ表示部において代表点が変更されると、 中 央処理ュニッ ト 1 0は、 この変更に対応して色空間表示部 1 1 2に おける内球 K 1及び外球 K 2の表示を変更する。 また中心色設定部 1 1 1により中心色が変更されると、 画像表示部 1 1 5において中 心色が変更された場合と同様に、 内球 K 1及び外球 K 2の表示を切 り換える。 さらに中心色設定部 1 1 1において、 何れかの画素がマ ウス 1 3のク リ ックにより選択されると半径 d等の表示に対応して、 この画像表示部 1 1 5にマーカーを表示する。
次に、 再び上記図 1 を参照しながら、 本発明に係る第 1の実施の 形態の動作について説明する。
図 1の編集装置 1は、 編集処理対象の映像信号 S V 1 、 S V 2が ハードディスク装置 2に記録された後、 これらの映像信号 S V 1 、 S V 2がハードディスク装置 2に記録された後、 これらの映像信号 S V 1 、 S V 2により編集リス トが作成され、 さらにこの編集リス トに従って映像信号 S V 1 、 S V 2が編集処理されてハードデイス ク装置 2に記録される。
このような編集リス トの作成時等において、 編集装置 1は、 オペ レ一夕がク口マキ一の処理を選択すると、 モニタ 9にキ一パラメ一 夕設定画面及びプレビュー画面が表示され (図 2 5及び図 1 8 ) 、 ハ一ドディスク装置 2より対応する画像データがフレ一ムバッファ 3及び 4に入力されてこのキーパラメ一夕設定画面及びプレビュー 画面にオペレー夕の選択した前景画像、 背景画像が静止画により表 示される。 さらに編集装置 1は、 このキ一パラメ一夕設定画面の前景画像に おいて (図 2 5 ) 、 マウス 1 3の操作によりォペレ一夕が背景画像 に割り当てる領域の一部を短形形状に指定すると、 この領域に対応 する画像データがフレームバッファ 3より読み出されて平均値化さ れ、 クロマキ一処理の中心色 C 0 , ( Y 0、 U 0、 V 0 ) が決定さ れる。 この平均値化の処理により、 編集装置 1は、 ノイズ等の影響 を有効に回避して、 また簡易な操作により、 オペレー夕の所望する 色を中心色に設定する。
さらに Y U V空間上において、 この中心色 C 0を中心にした 4 5 度の等角間隔で、 この中心色 C 0から所定の距離だけ離間してなる 2種類の代表点が設定され、 この 2種類の代表点により、 中心色 C 0を中心にした二重の球形形状 K 1、 K 2がディフォルト値により 設定される。 これにより編集装置 1は、 キー信号 K E Yの特性を切 り換える境界 K 1及び K 2を標準の条件により設定する。
編集装置 1は、 このようにして中心色 C 0及び代表点を設定する と、 この標準の条件によるクロマキ一信号の画像、 このクロマキ一 信号によりクロマキ一処理した 3種類の処理結果をプレビュー画面 に表示する。 これにより標準条件による処理結果を確認することが できる。 また色空間上におけるこの標準条件による内球 K 1、 外球 K 2の位置、 前景画像の各画素等が色空間表示部に表示される (図 3 2 ) 。 さらに各代表点を基準にして設定された色空間上の平面に 対して、 内球 K 1及び外球 K 2を横切る線分、 前景画像の各画素を 投影表示してなる画像が、 べク トルスコープ表示部に表示される。
これによりこれらベク トルスコープ表示部、 色空間表示部、 中心 色設定部により形成されるキー信号の特性設定用画面を介してキ一 信号の特性を種々に変更して、 その処理結果をプレビュー画面によ り確認することができ、 3次元色空間により前景画像の各画素を表 現してキ一信号を生成する場合でも、 対話形式により、 また感覚的 に処理結果を把握して所望の処理結果を得ることができる。
すなわちこのべク トルスコープ表示部における表示において、 編 集装置 1では、 Y軸に垂直な 3種類の基準平面に対して、 内球 K 1 及び外球 K 2を横切る線分、 前景画像の対応する画素を投影表示す ることにより、 この編集装置 1を操作するオペレー夕においては、 視覚的に、 前景画像の色の分布を把握することができ、 前景画像の 各画素を 3次元色空間上で表現してクロマキ一処理するようにして も、 簡易な操作により所望のクロマキ一処理を実施することができ る。
また、 キ一信号 K E Yの特性を切り換える境界 K 1及び K 2が併 せて表示されることにより、 ク口マキ一処理により背景と置き換え られる範囲 (内球 K 1の内側に概ね分布する画素でなる) 、 クロマ キー処理により背景と置き換えられない範囲 (外球 K 2の外側に概 ね分布する画素でなる) を目視確認することができる。 従ってオペ レー夕においては、 前景画像の各画素を 3次元色空間上で表現して クロマキ一処理するようにしても、 処理結果をイメージしながら条 件を設定することができ、 使い勝手が向上される。
すなわちこのように設定した状態で、 プレビュー画面を確認して 所望の色がィメージ通りに背景画像と置き換えられていない場合、 オペレー夕においては、 このべク トルスコープ表示部における内球 K 1及び外球 K 2の線分の表示をマウス 1 3を掴んで移動させるこ とにより、 代表点が変更されてクロマキ一処理の条件が変更される (図 2 8 ) 。
また第 1〜第 4の表示部の下に配置されたボタン B 7 A、 B 7 B、 B 1 0 A〜B 1 0 H、 スクロールバ一 B 8の操作によっても、 代表 点が変更されてクロマキ一処理の条件が変更される (図 2 6〜図 2 9 ) o
このとき、 このオペレー夕の所望する色については、 ベク トルス コープ表示部における第 1〜第 3の表示部において、 各画素が、 各 画素の色相、 基準の明度により表示されていることにより、 また輝 度レベルに関する第 4の表示部については、 白黒表示により形成さ れていることにより、 ォペレ一夕においては、 何れの部分について、 内球 K 1及び外球 K 2の線分の表示をマウス 1 3で掴んで移動させ れば良いかを簡易かつ確実に判断してクロマキ一処理の条件を変更 することができる。
このとき中心色設定部において前景画像をマウス 1 3によりク リ ックすると、 このク リ ックした画素について、 中心色より見た角度 及び方向が表示され、 中心色近傍の背景画像と置き換えられる領域 との関係が数値により表示される。 この関係は、 ベク トルスコープ 表示部の表示に対応するように、 また代表点の設定に対応する極座 標形式の位置情報 P、 t、 dにより表示され (図 2 2 ) 、 これによ りべク トルスコープ表示部において、 内球 K 1及び外球 K 2の何れ の箇所をマウス 1 3で掴んで移動させれば良いかを簡易かつ確実に 判断してクロマキ一処理の条件を変更することができる。
このとき単に内球 K 1及び外球 K 2の線分の表示をマウス 1 3で 掴んで移動させればクロマキ一処理の条件を変更できることにより、 使い勝手が向上される。 また第 1〜第 3の表示部の下に、 この位置情報の表示に対応する 形式によりボタン B 7 A、 B 7 B、 B 1 0A〜B 1 0 H、 スクロ一 ルバ一 B 8が配置され、 これらのボタン B 7A、 B 7 B、 B 1 0 A 〜: B 1 0 H、 スクロールバ一 B 8によりキー信号設定用の情報でな る代表点設定を受け付けることにより、 これらのボタン B 7A、 B 7 B、 B 1 0A〜B 1 0 H、 スクロ一ルバ一 B 8の何れかを操作し て簡易かつ確実にクロマキ一処理の条件を変更することができる。
これらの場合に、 色空間表示部において、 前景画像の各画素、 内 球 K l、 外球 Κ 2を配置してなる 3次元色空間を、 所望の方向より 眺めてなる画像が表示され、 マウス 1 3の操作により視点を種々に 変更してこの表示が変更されることにより、 必要に応じてこの色空 間表示部を介して内球 Κ 1、 外球 Κ 2、 前景画像の各画素の関係を 把握することもでき、 この色空間表示部により確認してベク トルス コープ表示部の操作によりクロマキ一処理の条件を変更することも できる。
このとき色空間表示部において、 ボタンの操作に応動して、 各画 素、 内球 K l、 外球 Κ 2の表示が切り換えられ、 また色相を示すリ ング R、 YUV軸等が表示され、 さらには中心色設定部の前景画像 における画素の指定に対応してマーカ一が表示され、 これらにより 視覚的に、 内球 K l、 外球 Κ 2、 前景画像の各画素の関係を容易か つ正確に把握することができ、 クロマキー処理の調整作業が簡略化 される。
また色空間表示部においても、 内球 K l、 外球 Κ 2の表面に配置 された代表点、 中心色の表示がマウス 1 3により掴まれて移動され ると、 この移動に伴い代表点、 中心色が変更され、 これによりクロ マキ一処理の条件が変更される。
かく してこのようにして代表点等を設定してプレビュー画面より 所望のクロマキ一処理結果が確認されると、 編集装置 1では、 中心 色設定部におけるクロマキ一処理の選択、 条件設定完了の操作によ り、 続く処理が実行される。
すなわち編集装置 1では、 中央処理ュニッ ト 1 0の演算処理によ り、 緯度 ø及び経度 ( を順次変位させて、 Y U V空間上における原 点 C 0から境界 K 1及び K 2までの距離 r i及び r oが計算される (図 9 ) 。 このとき編集装置では、 緯度 及び経度 0をパラメ一夕 にした内挿補間演算処理により (上記 ( 1 ) 式及び ( 2 ) 式) 、 距 離 r i及び r oが計算される。 さらにこれら計算結果より、 クロマ キー信号 K E Yの特性を規定するク リ ップポィ ン ト C L I P、 利得 G A I Nが計算される (図 1 1 A , 図 1 1 B ) 。 さらに編集装置 1 では、 この計算したク リ ップポィ ン ト C L I P、 利得 G A I Nがキ 一信号生成部 6に出力され、 これにより簡易な演算処理により緯度 φ及び経度 0をアドレスにしてなるルックアップテ一ブル 2 9 (図 2 ) が形成される。
編集装置 1は、 オペレー夕がカラ一キャンセルの処理を選択した 場合、 カラ一キャンセル用に設定した 2重の境界より、 同様にして、 各経度 0毎に、 カラ一キヤンセル用キ一信号の特性を規程するク リ ップポイン ト C L I P C、 利得 G A I N Cが計算され、 この計算し たクリ ップポイ ン ト C L I P C、 利得 G A I N Cによりキ一信号生 成部 6にカラ一キヤンセル処理用のルックアツプテ一ブル 3 4が形 成される。
このようにしてルックァヅプテーブル 2 9、 3 4が形成された後、 ォペレ一夕がプレビュー、 編集開始を指示すると、 編集装置 1では、 ハードディスク装置 2より、 前景画像の映像信号 S V 1 と背景画像 の映像信号 S V 2とがクロマキ一処理部 5に入力される (図 1 ) 。 このうち前景画像の映像信号 SV 1は、 キー信号生成部 6のオーバ 一サンプリング回路 2 6 U、 2 6 Vにおいて (図 2 ) 、 色差信号 U 1、 V 1がオーバ一サンプリングされ、 これにより輝度信号と同一 のサンプリング周波数によるディジ夕ル信号に変換される。
このように処理された映像信号 S V 1は、 クロマキ一信号生成部 2 5の座標変換回路 2 7において、 中心色 C Oを原点にした UV座 標平面上において、 原点 C 0からの距離 rmと、 基準軸からの角度 0が検出される。 これにより映像信号 SV 1は、 中心色 C Oを原点 にしてなる YUV空間上における各画素の位置と原点 C 0とを結ぶ 線分 Lを、 UV平面上に投影してなる線分の長さ r mと、 YUV空 間上における線分 Lの経度 6·が検出される。
さらに映像信号 S V Iは、 続く座標変換回路 2 8において、 座標 変換回路 2 7において検出された距離 r mと、 輝度信号レベル Yと を基準にして、 中心色 C 0を原点にしてなる YUV空間上における 各画素の位置について、 緯度 ø及び原点 C 0までの距離 rMが計算 される。
これにより映像信号 S V 1は、 これら緯度 ø及び経度 6>をァドレ スにしてルックアップテ一ブル 2 9がアクセスされ、 これら緯度 ø 及び経度 Θに対応するク リ ップポイ ント C L I Ρ、 利得 G A I Νが キープロセス回路 3 0に設定される。 これにより映像信号 S V 1は、 このク リ ップポイン ト C L I P、 利得 GA I Nに基づいて、 中心色 C 0から距離 r Mに応じて値 0から値 1の範囲のキ一信号 MX が 生成される。
また映像信号 SV 1は、 オーバ一サンプリ ング回路 26 U及び 2 6 Vより出力される色差信号 U 1及び V Iがカラーキャンセルキー 信号生成部 32の座標変換回路 33に入力され、 ここで各画素の色 が、 カラ一キャンセル用の基準色 C 0 C (U 0 C、 V 0 C ) を原点 にした UV平面上における角度 6> C及び距離 r Cにより検出される < さらに映像信号 S V 1は、 この角度 0 Cをアドレスにしてルックァ ヅプテーブル 34がアクセスされ、 この角度 0 Cに対応するク リ ッ プポィ ン ト C L I P C、 利得 G A I N Cがキ一プロセス回路 35に 設定される。 これにより映像信号 S V 1は、 このク リ ップポイン ト CL I P C、 利得 G A I N Cに基づいて、 カラ一キャンセルの基準 色 C 0 Cから距離 r Cに応じて値 0から値 1の範囲のキー信号 AM Kが生成される。
これにより映像信号 S V 1は、 中心色 COを原点に設定した UV 空間の距離 r m及び緯度 Θを基準にしてキー信号 MX Kが計算され、 簡易な演算処理でキ一信号 MX Kが生成される。 また角度 をァ ドレスにして事前に設定したルックアップテーブル 34をアクセス してク リ ップポイン ト C L I P C、 利得 G A I N Cを設定すること により、 短い処理時間によりキー信号 AMKが生成される。 さらに クリ ップポイ ン ト C L I P C、 利得 G A I N Cによりキ一信号 A M Kの特性を規程することにより、 割り算処理することなくキー信号 A MKを生成することができ、 その分処理時間が短縮される。
オペレー夕がカラ一キヤンセルの処理を選択しない場合、 編集装 置 1では、 カラ一キヤンセルキー信号生成部 32より値 1のキ一信 号 C CKが出力され、 これにより映像信号 S V 1は、 カラ一キャン セル回路 20Y、 20 U、 20V (図 1 2) において何ら処理を受 けることなく、 続くキーャ一 2 1 Y、 2 1 U、 2 I Vに入力される。 ここで映像信号 S V 1は、 クロマキ一信号生成部 2 5より出力され るキー信号 KEY (MXK) により重み付けされた後、 続く ミクサ — 23 Y、 23 U、 23Vにおいて、 キーャ一 22 Y、 22 U、 2 2 Vより出力される映像信号 S V 2と加算される。 このとき映像信 号 SV 2においては、 キ一ヤー 22 Y、 22 U、 2 2Vは、 キー信 号 1— KEY ( 1 -MXK) により重み付けされ、 これにより上記 ( 1 5 ) 式により表されるクロマキ一処理した映像信号 S V 3がミ クサ一 23 Y、 23 U、 23 Vより出力される。
これに対してオペレー夕が第 1のカラ一キャンセル処理を選択し た場合、 編集装置 1では、 カラ一キャンセルキー信号生成部 32よ り色差信号についてキ一信号 C C K ( 1 - AMK) が出力され、 こ れにより映像信号 SV 1は、 カラ一キャンセル回路 20 Y、 20 U、 20Vにおいて、 色差信号 U l、 V 1がこのキ一信号 C CKによ り 重み付けされた後、 続くキーヤー 2 1 Y、 2 1 U 2 I Vに入力さ れる。 ここで映像信号 SV 1は、 クロマキ一信号生成部 25より出 力されるキ一信号 KEY (MXK) により重み付けされ、 続く ミク サー 23Y、 23 U、 23Vにおいて、 キー信号 l—KEY ( 1— MXK) により重み付けされた映像信号 SV 2と加算され、 これに より上記 ( 1 6 ) 式により表されるクロマキ一処理した映像信号 S V3がミクサ一 23Y、 23 U、 23Vより出力される。
またオペレ一夕が第 2のカラ一キャンセル処理を選択した場合、 映像信号 S V Iは、 カラ一キャンセル回路 20Y、 20 U、 20V においてキー信号 C CK ( 1 - AMK) により重み付けされた後、 続くキーャ一 2 1 Y、 2 1 U、 2 1 Vにおいてキー信号 K E Y (A MK) により重み付けされる。 さらに映像信号 SV 1は、 続く ミク サ一 23 Y、 23U、 23Vにおいて、 キ一信号 1— KEY ( 1 - AMK) により重み付けされた映像信号 SV 2と加算され、 これに より上記 ( 1 7) 式により表されるクロマキ一処理した映像信号 S V3がミクサ一 23 Y、 23 U、 23Vより出力される。
このようにして前景画像と背景画像とを合成してなる映像信号 S V3においては、 映像信号 SV 1の輝度信号レベル、 色差信号レべ ルを基準にしてキ一信号 MXKを生成したことにより、 例えば明る い青色と暗い青色とを判別してキー信号 MX Kが生成されることに なり、 これにより違和感の無い、 高品位の合成画像を得ることがで きる。
以上説明したような本発明に係る第 1の実施の形態の効果を説明 する。
以上の構成を有するキー信号生成装置によれば、 前景画像より抜 き出す色の中心色を原点とした三次元の YUV色空間において、 前 景画像の各画素の位置を極座標により表現し、 この極座標における 原点からの距離 RMに応じてキー信号 K E Y (MXK) を生成する ことにより、 簡易な構成で、 前景画像の輝度をも基準にしてキー信 号 KEY (MXK) を生成することができる。 これにより例えば明 るい青色と暗い青色とを判別してキー信号 MX Kを生成するとがで き、 違和感の無い、 高品位の合成画像を得ることができる。
さらにこのとき原点 C Oを囲むように境界 K 1及び K 2を設定し、 この境界 K 1及び K 2に対する各画素の位置に応じてキー信号 K E Yを生成することにより、 この境界 K 1及び K 2を種々に変更して、 クロマキ一の特性を自由に設定変更することができ、 その分使い勝 手を向上することができる。
またルックアップテーブルにより各緯度及び経度におけるクロマ キーの特性を検出した後、 この検出した特性に基づいてキ一信号 K
E Yを生成したことにより、 簡易かつ短時間でキー信号 K E Yを生 成することができる。
さらにこの特性をク リ ップボイ ン ト及び利得により設定したこと により、 その分キ一信号 K E Y生成に要する演算処理を簡略化する ことができる。
また U V平面に、 中心色 C 0と各画素とを結ぶ線分を投影してな る距離 r m及び角度 ( を検出した後、 緯度 、 経度 6>、 距離 r Mを 検出したことにより、 簡易な演算処理により、 Y U V色空間上にお ける各画素の位置を極座標により表現することができ、 その分キー 信号生成に要する時間を短縮することができる。
さらにこのとき境界 Κ 1及び Κ 2を各 2 6個の点により表現し、 これらの点群の座標値を補間演算処理してルツクアツプテーブルを 形成したことにより、 簡易な演算処理により境界 Κ 1及び Κ 2を種 々に変形してクロマキ一処理の条件を種々に変更することができ、 さらには簡易な演算処理によりルックアップテーブルを形成するこ とができる。
また輝度信号レベル、 色差信号レベルを基準にして三次元の色空 間を形成したことにより、 この種の編集装置で処理するディ ジ夕ル 信号形式の映像信号 (例えばいわゆる D 1フォーマツ ト) を簡易に 処理してキー信号を生成することができる。
さらにこれらの構成に加えて、 同様の処理により色消し用のキ一 信号を生成したことにより、 簡易かつ短時間で、 高品位の合成画像 を生成することができる。
また、 上述の構成を有する編集装置によれば、 キー信号による処 理結果と、 キー信号の特性設定用画面とを表示することにより、 処 理結果をリアルタイムで確認して対話形式によりキ一信号の特性を 変更することができる。 また感覚的に処理結果を把握して必要に応 じて細かくな調整作業を実行でき、 これらにより前景画像の各画素 を 3次元色空間上で表現してクロマキ一処理するようにしても、 簡 易な操作で所望の処理を実行することができる。
このとき処理結果を、 前景画像、 背景画像、 キー信号画像と共に 表示したことにより、 これらの画像間の比較により処理の内容を視 覚的に把握することができ、 その分調整制度を向上することができ る。
また 3次元色空間を所望の視点より眺めた色空間表示部と、 3次 元空間を所定の基準平面に投影してなるべク トルスコープ表示部と により特性設定用の画面を構成したことにより、 必要に応じて何れ かの画面を介してキ一信号の特性を変更することができ、 これによ り 3次元色空間上で表現してクロマキ一処理するようにしても、 使 い勝手を向上することができる。
またこれらに加えて、 スクロ一ルバ一による操作子等によっても 代表点を変更してキー信号の特性を変更できることにより、 数値に より処理対象の画素を把握してキー信号の特性を変更することもで きる。
次に、 本発明に係る第 2の実施の形態について説明する。
この第 2の実施の形態に係る編集装置は、 中央処理ュニッ トにお ける処理手順が異なる以外、 第 1の実施の形態と同一に構成される。 ここでこの実施の形態においては、 第 1の実施の形態に係るキ一パ ラメ一夕設定画面の中心色設定部に、 クロマキ一処理条件の自動設 定ボタンが配置される。 ここでこの自動設定ボタンは、 内球 K 1の 代表点と、 外球 K 2の代表点とについて配置される。
中央処理ュニッ トは、 この自動設定ボタンに関する処理が異なる 以外、 第 1の実施の形態に係る編集装置 1の中央処理ュニッ ト 1 0 と同一の処理手順を実行する。 ここで中央処理ユニッ トは、 この内 球 1又は外球 K 2の代表点についての自動設定ボタンがマウス 1 3により操作された後、 前景画像がマウス 1 3によりクリ ックされ ると、 図 3 5に示す処理手順を実行することにより、 各クリ ックさ れた画素を背景画像と置き換えるように、 又は背景画像と置き換え ないように、 代表点の位置を変更する。
すなわち中央処理ュニッ トは、 ステップ S P 4 0からステップ S P 4 1に移り、 クリ ックされた座標を取得し、 このク リ ックされた 位置の画像デ一夕をフレームバッファ 3より読み出す。 続いて中央 処理ュニッ ト 1 0は、 この画像デ一夕の輝度レベル y、 色差レベル u、 Vを検出し、 この検出結果より上記 ( 1 8 ) 式〜 ( 2 0 ) 式の 演算処理の実行して中心色 C 0 ( Y 0、 U 0、 V 0 ) からの距離 d、 中心色 C 0を原点にしてなる 0方向及び ø方向の角度 p及び tを算 出する。
続いて中央処理ユニッ トは、 ステップ S P 4 2に移り、 この検出 した角度 P及び より、 所定の角度範囲内に代表点が存在するか否 か判断する。 ここで角度 p及び tに近い角度 6>及び 0でなる代表点 が存在する場合、 中央処理ユニッ トは、 ステップ S P 4 3に移り、 この近傍の代表点が存在する場合、 中央処理ユニッ トは、 ステップ
S P 4 3に移り、 この近傍の代表点の座標値を変更する。 すなわち 中央処理ュニッ トは、 ォペレ一夕が内球 K 1の代表点についての自 動設定ボタンを操作した場合、 ステップ S P 4 1で計算した中心色 C O (Y 0、 U 0、 V 0 ) からの距離 dに対して、 所定値だけ中心 色 C O (Y 0、 U 0、 V 0 ) からの距離が大きくなるように、 対応 する代表点の距離を変更する。 またオペレータが外球 K 2の代表点 についての自動設定ボタンを操作した場合、 ステップ S P 4 1で計 算した中心色 C O (Y 0、 U 0、 V 0 ) からの距離 dに対して、 所 定値だけ中心色 C O (Y 0、 U 0、 V 0 ) からの距離が小さくなる ように、 対応する代表点の距離を変更する。
このようにして代表点を変更すると、 中央処理ユニッ トは、 ステ ップ S P 44に移り、 再度前景画像がク リ ヅクされたか否か判断し、 ここで肯定結果が得られるとステップ S P 4 1に戻る。 これに対し てステップ S P 4 2において否定結果が得られると、 中央処理ュニ ッ トは、 ステップ S P 4 6に移り、 角度 p及び tに近い角度 0及び øを有してなる近傍 4点の代表点について、 次式の演算処理により 表される中心色 C O (Y 0、 U 0、 V 0 ) からの距離 r ( φ , θ ) が、 ステップ S Ρ 4 3において設定した条件に対応するように、 こ れら近傍 4点の代表点の座標を変更する。
S
r (φ,θ ) 二 (21)
(Θ 1+ Θ2)·( φ1+ φ2)
S = (roa+χ)· 02· 2+ (rob+χ)· 6> 1· 02 + (roc+χ)· 02· φ1 + (Γθά+χ)· θ \· 1 すなわちこの場合中央処理ュニッ トは、 オペレー夕が内球 Κ 1の 代表点についての自動設定ボタンを操作した場合、 ステップ S Ρ 4
1で計算した中心色 C O (Y 0、 U 0、 V 0 ) からの距離 dに対し て、 中心色 C O (Y 0、 U 0、 V 0 ) からの距離が大きくなるよう に値 Xを設定して、 これら近傍 4点の代表点の距離を変更する。 ま たォペレ一夕が外球 K 2の代表点についての自動設定ボタンを操作 した場合、 ステップ S P 4 1で計算した中心色 C 0 ( Y 0、 U 0、
V 0 ) からの距離 dに対して、 所定値だけ中心色 C O (Y 0、 U 0、
V 0 ) からの距離が小さくなるように、 値 Xを設定してこれら近傍 4点の代表点の距離を変更する。
これにより中央処理ュニッ トは、 近傍する 4点の代表点を等しい 距離 Xだけ変更した後、 ステップ S P 44に移る。 これにより中央 処理ュニッ トは、 ォペレ一夕の操作に応動して順次代表点の座標を 変更し、 ォペレ一夕の操作が完了すると、 ステップ S P 44からス テツプ S P 4 7に移ってこの処理手順を終了する。
以上説明した第 2の実施の形態の効果を説明する。
図 3 5に示すように、 ユーザ一の操作に応動して代表点を変更す ることによりキー信号の特性を自動的に設定する場合でも、 処理結 果を表示し、 また特性設定用画面を表示することにより、 処理結果 をリアルタイムで確認して必要に応じて細かな調整作業を実行でき ることにより、 前景画像の各画像の各画素を 3次元色空間上で表現 してク口マキ一処理するようにしても、 簡易な操作で所望の処理を 実行することができる。 次に、 他の実施の形態について説明する。
上述の実施の形態においては、 クロマキ一処理用の境界を 2 6個 の点により表現する場合について述べたが、 本発明はこれに限らず、 例えば 3 0度の等角間隔によ り点を設定する場合、 さらには不等角 間隔により点を設定する場合等、 必要に応じて種々の個数の点によ り境界を表現することができる。
さらに上述の実施の形態においては、 二重の略球形形状によりク 口マキ一用の境界を設定する場合について述べたが、 本発明はこれ に限らず、 例えば 3重に境界を設定して、 中間の境界を基準にして クロマキ一処理の特性を一段と細かく設定する場合等にも適用する ことができる。
また上述の実施の形態においては、 事前に、 緯度及び経度を変化 させて境界までの距離を計算し、 この計算結果よりルックアップテ —プルを形成してキー信号を生成する場合について述べたが、 本発 明はこれに限らず、 前景画像の各画素に対応して境界までの距離を 順次計算し、 これによりキー信号を作成してもよい。 また映像信号 においては、 隣接する画素間で同一の輝度信号レベル、 色差信号レ ベルが連続する場合が多いことにより、 このように逐次境界までの 距離を計算する場合に、 一度計算した緯度及び経度については、 こ の計算結果を利用するようにしてもよい。
さらに上述の実施の形態においては、 緯度及び経度を基準にして ルックァヅプテーブルをアクセスすることにより、 前景画像の全画 素について、 中心色からの距離に応じて逐次キー信号レベルを設定 する場合について述べたが、 本発明はこれに限らず、 前景画像より サンプリングした一部画素についてのみ、 ルックアップテーブルの アクセスにより、 又は演算処理によりキー信号レベルを検出し、 例 えば補間演算処理等により、 これらのキー信号レベルより他の画素 についてのキー信号レベルを設定する場合にも広く適用することが できる。
また上述の実施の形態においては、 抜き出す色の中心色を原点に した Y U V色空間により前景画像の各画素を表現してキ一信号を生 成する場合について述べたが、 本発明はこれに限らず、 Y U V色空 間に代えて、 例えば赤色、 青色、 緑色の色信号レベルを基準にした 色空間により前景画像の各画素を表現してもよい。 このようにすれ ば、 これらの色信号により映像信号を処理する種々の機器に接続し て、 簡易な構成によりキ一信号を生成することができる。
さらに上述の実施の形態においては、 ク口マキ一用のキー信号に 加えて色消し処理用のキー信号を生成する場合について述べたが、 本発明はこれに限らず、 クロマキ一用のキー信号だけを生成する場 合、 さらには他の編集用のキー信号を併せて生成する場合にも広く 適用することができる。
また上述の実施の形態においては、 キ一信号を生成すると共に、 生成したキー信号により画像合成する場合について述べたが、 本発 明はこれに限らず、 生成したキー信号をスィ ツチヤー等に出力する 場合にも広く適用することができる。
さらに上述の実施の形態においては、 映像信号により構成される 連続する画像をクロマキ一処理する場合について述べたが、 本発明 はこれに限らず、 静止画像をクロマキ一処理する場合にも広く適用 することができる。
また、 上述の第 2の実施の形態においては、 近傍 4点の代表点に ついては、 等しい距離により補正してクロマキ一処理の条件を自動 設定する場合について述べたが、 本発明はこれに限らず、 ユーザー のクリ ックした画素からの角度に応じて重み付けして距離を補正し てもよい。 すなわち図 3 6に示すように、 ユーザーのクリ ックした 画素が、 隣接する 4点の代表点を角度 0 1、 Θ 2、 φ I 2によ り内分する場合、 上述のステップ S P 4 1において検出した距離 d に、 次式の演算処理により距離 r ( , Θ) が対応するように、 そ れぞれ値 x a、 x b、 x c、 x dを計算して各代表点の距離をそれ それ補正することにより、 重み付け処理して代表点を変更すること ができる。 このようにすればさらに詳細にクロマキ一処理の条件を 自動設定することができる。
S
τ ( , θ ) = …… (22)
(Θ 1+ Θ2)·(φ1+ Φ2)
S = (roa+χ)· Θ2· 02 + (rob+χ)· θ 1·
+ (roc+χ)· Θ2· φ1 + (νοά^χ)· θ 1· φ 1
xa : xb = ΘΖ : Θ1
xa : xc = φ 1 : Ζ
xc : xd = Θ2 Θ1
また上述の第 2の実施の形態においては、 背景画像に置き換える 部分と、 置き換えない部分についてユーザーの指定を受け付ける場 合について述べたが、 本発明はこれに限らず、 何れか 1つについて だけ受け付けるようにしてもよく、 またキ一信号を値 0から値 1の 間の値に設定する範囲について受け付けるようにしてもよい。
また上述の実施の形態においては、 べク トルスコープ表示部にお いて、 中心色を基準にして Y軸に垂直な基準平面を設定して第 1〜 第 3の表示部を形成する場合について述べたが、 本発明はこれに限 らず、 U V Y軸の原点を基準にした基準平面により第 1〜第 3の表 示部を形成する場合等、 種々の形態により表示する場合に広く適用 することができる。
さらに上述の実施の形態においては、 べク トルスコープ表示部に おいて、 線分により内球及び外球を表示する場合について述べたが、 本発明はこれに限らず、 キー信号の値に対応する領域の表示等によ り内球内の領域、 外球外の領域、 内球及び外球間の領域を表示して もよい。
さらに上述の実施の形態においては、 べク トルスコープ表示部に おいて、 代表点、 中心色が変更される毎に表示を更新する場合につ いて述べたが、 本発明はこれに限らず、 このベク トルスコープ表示 部においては、 おおまかに内球、 外球、 前景画像の関係を把握でき るようにすることにより、 更新の処理を省略してもよい。
また上述の実施の形態においては、 色空間表示部及びべク トルス コープ表示部によりキ一信号の特性設定用画面を形成する場合につ いて述べたが、 本発明はこれに限らず、 キー信号の特性用画面につ いては、 必要に応じて種々の形態により形成する場合に広く適用す ることができる。
また上述の実施の形態においては、 クロマキ一処理用の境界を 2 6個の点により表現する場合について述べたが、 本発明はこれに限 らず、 例えば 3 0度の等角間隔により点を設定する場合、 さらには 不等角間隔により点を設定する場合等、 必要に応じて種々の個数の 点により境界を表現することができる。
さらに上述の実施の形態においては、 二重の略球形形状によりク ロマキー用の境界を設定する場合について述べたが、 本発明はこれ に限らず、 例えば 3重に境界を設定して、 中間の境界を基準にして クロマキ一処理の特性を一段と細かく設定する場合等にも適用する ことができる。
また上述の実施の形態においては、 抜き出す色の中心色を原点に した Y U V色空間により前景画像の各画素を表現してキ一信号を生 成する場合に、 前景画像の画素の分布をべク トルスコープ表示部で 表示する場合について述べたが、 本発明はこれに限らず、 Y U V色 空間に代えて、 例えば赤色、 青色、 緑色の色信号レベルを基準にし た色空間により前景画像の各画素を表現する場合、 さらには従来と 同様の U V 2次元平面により前景画像を表現して処理する場合にも 広く適用することができる。

Claims

請 求 の 範 囲
1 . 前景画像と背景画像とを合成するキー信号を生成するキー信号 生成装置において、
上記前景画像より抜き出す色の中心色を原点とした 3次元の色空 間において、 上記前景画像の各画素の極座標を検出する極座標生成 手段と、
上記極座標における上記原点からの距離に応じて上記キ一信号を 生成するキー信号生成手段と
を備えることを特徴とするキー信号生成装置。
2 . 上記キー信号生成手段は、
上記色空間に、 上記原点を囲むように境界を設定し、 上記距離よ り、 上記境界に対する上記各画素の位置に応じて上記キー信号を生 成する
ことを特徴とする特許請求の範囲第 1項記載のキー信号生成装置 (
3 . 上記キー信号生成手段は、
上記色空間に所定間隔で設定した点群により上記境界を規程し、 隣接する上記点群の極座標値を補間演算処理して、 上記画素の極 座標値に対応する上記原点から上記境界の距離を検出し、
上記境界の距離を基準にして、 上記キー信号を生成する
ことを特徴とする特許請求の範囲第 2項記載のキー信号生成装置 (
4 . 上記キー信号生成手段は、
上記境界を二重に形成し、
上記画素が内側の境界より内側に位置する場合、 上記背景画像を 割り当てるように、 上記キー信号を設定し、
上記画素が外側の境界より外側に位置する場合、 上記前景画像を 割り当てるように、 上記キー信号を設定し、
上記画素が上記内側の境界と上記外側の境界との間に位置する場 合、 該位置に応じて上記前景画像及び上記背景画像を重み付け加算 して割り当てるように、 上記キー信号を設定する
ことを特徴とする特許請求の範囲第 2項記載のキー信号生成装置,
5 . 上記キー信号生成手段は、
上記色空間における所定角度毎に、 上記境界までの距離を記録し たルックアップテーブルが形成され、
上記各画素の上記色空間における角度をァ ドレスにして上記ルツ クアップテーブルをアクセスすることにより、 上記キー信号を生成 する
ことを特徴とする特許請求の範囲第 2項記載のキー信号生成装置 <
6 . 上記キー信号生成手段は、
上記色空間における所定角度毎に、 上記境界までの距離を記録し たルックアップテ一ブルを有し、
上記各画素の上記色空間における角度をァ ドレスにして上記ルツ クアツプテーブルをアクセスすることにより、 上記キ一信号を生成 し、
上記ルックァップテ一ブルは、
上記内側又は上記外側の境界までの距離情報と、 上記内側の境界 と上記外側の境界との間において、 単位距離当たりの上記キー信号 の値の変化を示す利得情報とにより形成される
ことを特徴とする請求項 4に記載のキー信号生成装置。
7 . 上記キー信号生成手段は、
上記色空間上の所定平面に、 上記原点と各画素とを結ぶ線分を投 影してなる 2次元空間における距離及び角度を検出した後、
上記 2次元空間における距離及び角度に基づいて、 上記色空間に おける距離に応じたキー信号を生成する
ことを特徴とする特許請求の範囲第 1項記載のキー信号生成装置 (
8 . 上記色空間は、
輝度信号レベル、 色差信号レベルを基準軸にしてなる色空間でな る
ことを特徴とする特許請求の範囲第 1項記載のキー信号生成装置 (
9 . 上記前景画像の信号レベルを抑圧するカラーキャンセル処理用 のキ一信号を生成するカラ一キャンセルキー信号生成手段を有し、 上記カラ一キャンセルキ一信号生成手段は、
上記カラーキヤンセル処理する中心色を原点として、 差色信号レ ベルを基準にした 2次元の色平面において、 上記前景画像の各画素 の極座標を検出し、
上記極座標における上記原点からの距離に応じて上記カラ一キヤ ンセル用のキ一信号を生成する
ことを特徴とする特許請求の範囲第 1項記載のキー信号生成装置 (
1 0 . 前景画像と背景画像とを合成するキー信号を生成するキ一信 号生成装置において、
3次元色空間における所定の基準色から上記前景画像の各画素ま での距離に応じて、 上記キー信号の値を設定し、
上記キ一信号による処理結果の画像と、 上記キー信号の特性設定 用画面とを表示し、 上記特性設定用画面を介して得られる情報により上記キー信号の 特性を変更すると共に、 上記処理結果の画像を変更する
ことを特徴とするキ一信号生成装置。
1 1 . 上記処理結果の画像と共に、 上記前景画像、 上記背景画像及 び上記キ一信号の画像を表示する
ことを特徴とする請求の範囲第 1 0項記載のキ一信号生成装置。
1 2 . 上記特性設定用画面は、
上記前景画像の画素及び/又は上記キー信号の特性を示す図形を 配置した 3次元色空間を、 所望の視点より眺めた画像よりなる ことを特徴とする請求の範囲第 1 0項記載のキー信号生成装置。
1 3 . 上記特性設定用画面は、
上記前景画像の画素及び/又は上記キー信号の特性を示す図形を 配置した 3次元色空間を、 所定の基準平面に投影した画像よりなる ことを特徴とする請求の範囲第 1 0項記載のキー信号生成装置。
1 4 . 前景画像と背景画像とを合成するキ一信号を生成するキー信 号生成装置において、
上記前景画像の各画素の、 3次元色空間における基準の中心色か らの距離に応じて上記キー信号の値を設定し、
上記前景画像で指定された画素の、 上記 3次元色空間における所 定の基準位置からの位置情報を表示する
ことを特徴とするキ一信号生成装置。
1 5 . 上記基準位置は、 上記中心色の位置よりなり、
上記位置情報は、 上記中心色からの距離及び方向よりなる ことを特徴とする請求の範囲第 1 4項記載のキ一信号生成装置。
1 6 . 上記位置情報に対応する形式によりキ一信号設定用の情報を 受け付け、 該受け付けた情報により上記キー信号生成の条件を設定 する
ことを特徴とする請求の範囲第 1 5項記載のキー信号生成装置。
1 7 . 上記 3次元色空間に設定した点群により上記中心色を囲む境 界を表現し、 上記境界を基準にして、 上記前景画像の各画素に対応 して上記キー信号の値を設定し、
上記位置情報に応じて、 上記点群の少なく とも 1点の座標値を補 正することにより、 上記位置情報に応じて、 上記キー信号生成の条 件を設定する
ことを特徴とする請求の範囲第 1 5項記載のキー信号生成装置。
1 8 . 上記位置情報に対応する形式によりキー信号設定用の情報を 受け付け、 該受け付けた情報により上記キー信号生成の条件を設定 する
ことを特徴とする請求の範囲第 1 4項記載のキ一信号生成装置。
1 9 . 前景画像と背景画像とを合成するキー信号を生成するキ一信 号生成装置において、
3次元色空間上に設定した基準平面に、 上記前景画像を形成する 画素を投影して、 上記前景画像を形成する画素の、 上記 3次元色空 間上における位置を表示した
ことを特徴とするキ一信号生成装置。
2 0 . 上記基準平面は、 上記 3次元色空間の輝度レベルの基準軸を 垂直に横切る平面よりなり、 所定の輝度レベル毎に設定され、 上記キー信号生成装置は、 上記前景画像の画素を、 上記各基準平 面の輝度レベルを基準にして区分して、 各区分の画素を対応する上 記基準平面に選択的に投影する とを特徴とする特許請求の範囲第 1 9項記載のキー信号生成装
2 1 . 上記各画素を、 各画素の色相と、 対応する基準平面の輝度レ ベルにより、 上記基準平面に投影して表示する
ことを特徴とする特許請求の範囲第 2 0項記載のキ一信号生成装 置。
2 2 . 上記 3次元色空間上における所定の基準色からの距離に応じ て上記キー信号の値を設定する
ことを特徴とする特許請求の範囲第 2 0項記載のキー信号生成装
2 3 . 上記キー信号に対応する領域を、 上記基準平面上に表示した ことを特徴とする特許請求の範囲第 2 2項記載のキ一信号生成装
2 4 . ポインティ ングデバイスの操作により、 上記基準平面上の上 記キー信号の値に対応する領域の変更を受け付け、
該変更に応動して上記基準色からの距離に対する上記キー信号の 値を変更する
ことを特徴とする特許請求の範囲第 2 3項記載のキー信号生成装 置。
2 5 . 上記 3次元色空間上における所定の基準色からの距離に応じ て上記キー信号の値を設定する
ことを特徴とする特許請求の範囲第 1 9項記載のキー信号生成装
2 6 . 上記キ一信号の値に対応する領域を、 上記基準平面上に表示 した ことを特徴とする特許請求の範囲第 2 5項記載のキー信号生成装 置。
2 7 . ポインティ ングデバイスの操作により、 上記基準平面上の上 記キー信号の値に対応する領域の変更を受け付け、
該変更に応動して上記基準色からの距離に対する上記キー信号の 値を変更する
ことを特徴とする特許請求の範囲第 2 6項記載のキ一信号生成装 置。
2 8 . 上記各画素を、 各画素の色相と、 対応する基準平面の輝度レ ベルにより、 上記基準平面に投影して表示する
ことを特徴とする特許請求の範囲第 1 9項記載のキー信号生成装
2 9 . 前景画像と背景画像とを合成するキ一信号を生成するキー信 号生成装置において、
3次元色空間における所定の基準色からの距離に応じて上記キー 信号の値を設定し、
上記 3次元色空間上に、 少なく とも上記前景画像の各画素を対応 する位置に配置して、 所望の視点より眺めた画像を表示する ことを特徴とするキー信号生成装置。
3 0 . 操作子の操作に応動して、 上記視点の位置を変化させる ことを特徴とする請求の範囲第 2 9項記載のキー信号生成装置。
3 1 . 上記画像に、 上記キー信号の値に対応する領域を表示する ことを特徴とする請求の範囲第 3 0項記載のキー信号生成装置。
3 2 . 上記上記画像上にて、 上記領域の変更を受け付ける
ことを特徴とする請求の範囲第 3 1項記載のキ一信号生成装置。
3 3 . 上記画像に、 上記 3次元色空間における色相を表す基準色を 表示した
ことを特徴とする請求の範囲第 2 9項記載のキー信号生成装置。
3 4 . 上記画像に、 上記 3次元色空間における基準軸を表示した ことを特徴とする請求の範囲第 2 9項記載のキー信号生成装置。
3 5 . 前景画像と背景画像とを合成するキ一信号を生成するキー信 号生成方法において、
上記前景画像より抜き出す色の中心色を原点とした 3次元の色空 間において、 上記前景画像の各画素の極座標を検出する工程と、 上記極座標における上記原点からの距離に応じて上記キ一信号を 生成する工程と
を備えることを特徴とするキー信号生成方法。
3 6 . 前景画像と背景画像とを合成するキ一信号を生成するキー信 号生成方法において、
3次元色空間における所定の基準色から上記前景画像の各画素ま での距離に応じて、 上記キー信号の値を設定し、
上記キー信号による処理結果の画像と、 上記キー信号の特性設定 用画面とを表示し、
上記特性設定用画面を介して得られる情報により上記キー信号の 特性を変更すると共に、 上記処理結果の画像を変更する
ことを特徴とするキー信号生成方法。
3 7 . 前景画像と背景画像とを合成するキー信号を生成するキー信 号生成方法において、
上記前景画像の各画素の、 3次元色空間における基準の中心色か らの距離に応じて上記キー信号の値を設定し、 上記前景画像で指定された画素の、 上記 3次元色空間における所 定の基準位置からの位置情報を表示する
ことを特徴とするキー信号生成方法。
3 8 . 前景画像と背景画像とを合成するキー信号を生成するキ一信 号生成方法において、
3次元色空間上に設定した基準平面に、 上記前景画像を形成する 画 を投影して、 上記前景画像を形成する画素の、 上記 3次元色空 間上における位置を表示した
ことを特徴とするキー信号生成方法。
3 9 . 前景画像と背景画像とを合成するキー信号を生成するキー信 号生成方法において、
3次元色空間における所定の基準色からの距離に応じて上記キー 信号の値を設定し、
上記 3次元色空間上に、 少なく とも上記前景画像の各画素を対応 する位置に配置して、 所望の視点より眺めた画像を表示する
ことを特徴とするキー信号生成方法。
4 0 . 前景画像と背景画像とをキー信号に応じて合成する画像合成 装置において、
上記キー信号の生成を、
上記前景画像より抜き出す色の中心色を原点とした 3次元の色空 間において、 上記前景画像の各画素の極座標を検出する極座標生成 手段と、
上記極座標における上記原点からの距離に応じて上記キー信号を 生成するキ一信号生成手段と
を用いて行うことを特徴とする画像合成装置。
4 1 . 前景画像と背景画像とをキー信号生成部からのキー信号に応 じて合成する画像合成装置において、
上記キー信号生成部は、
3次元色空間における所定の基準色から上記前景画像の各画素ま での距離に応じて、 上記キ一信号の値を設定し、
上記キ一信号による処理結果の画像と、 上記キー信号の特性設定 用画面とを表示し、
上記特性設定用画面を介して得られる情報により上記キー信号の 特性を変更すると共に、 上記処理結果の画像を変更する
ことを特徴とする画像合成装置。
4 2 . 前景画像と背景画像とをキー信号生成部からのキー信号に応 じて合成する画像合成装置において、
上記キー信号生成部は、
上記前景画像の各画素の、 3次元色空間における基準の中心色か らの距離に応じて上記キー信号の値を設定し、
上記前景画像で指定された画素の、 上記 3次元色空間における所 定の基準位置からの位置情報を表示する
ことを特徴とする画像合成装置。
4 3 . 前景画像と背景画像とをキー信号生成部からのキー信号に応 じて合成する画像合成装置において、
上記キー信号生成部は、
3次元色空間上に設定した基準平面に、 上記前景画像を形成する 画素を投影して、 上記前景画像を形成する画素の、 上記 3次元色空 間上における位置を表示した
ことを特徴とする画像合成装置。
4 4 . 前景画像と背景画像とをキー信号生成部からのキー信号に応 じて合成する画像合成装置において、
上記キー信号生成部は、
3次元色空間における所定の基準色からの距離に応じて上記キー 信号の値を設定し、
上記 3次元色空間上に、 少なく とも上記前景画像の各画素を対応 する位置に配置して、 所望の視点より眺めた画像を表示する ことを特徴とする画像合成装置。
4 5 . 前景画像と背景画像とをキー信号生成部からのキー信号に応 じて画像合成し、 画像合成されたフレームを含む複数のフレームを 編集して出力する編集装置において、
上記キ一信号生成部は、
上記前景画像より抜き出す色の中心色を原点とした 3次元の色空 間において、 上記前景画像の各画素の極座標を検出する極座標生成 手段と、
上記極座標における上記原点からの距離に応じて上記キー信号を 生成するキー信号生成手段と
を備えることを特徴とする編集装置。
4 6 . 前景画像と背景画像とをキー信号生成部からのキー信号に応 じて画像合成し、 画像合成されたフレームを含む複数のフレームを 編集して出力する編集装置において、
上記キー信号生成部は、
3次元色空間における所定の基準色から上記前景画像の各画素ま での距離に応じて、 上記キー信号の値を設定し、
上記キー信号による処理結果の画像と、 上記キー信号の特性設定 用画面とを表示し、
上記特性設定用画面を介して得られる情報により上記キー信号の 特性を変更すると共に、 上記処理結果の画像を変更する
ことを特徴とする編集装置。
4 7 . 前景画像と背景画像とをキー信号生成部からのキー信号に応 じて画像合成し、 画像合成されたフレームを含む複数のフレームを 編集して出力する編集装置において、
上記キー信号生成部は、
上記前景画像の各画素の、 3次元色空間における基準の中心色か らの距離に応じて上記キー信号の値を設定し、
上記前景画像で指定された画素の、 上記 3次元色空間における所 定の基準位置からの位置情報を表示する
ことを特徴とする編集装置。
4 8 . 前景画像と背景画像とをキー信号生成部からのキー信号に応 じて画像合成し、 画像合成されたフレームを含む複数のフレームを 編集して出力する編集装置において、
上記キ一信号生成部は、
3次元色空間上に設定した基準平面に、 上記前景画像を形成する 画素を投影して、 上記前景画像を形成する画素の、 上記 3次元色空 間上における位置を表示した
ことを特徴とする編集装置。
4 9 . 前景画像と背景画像とをキー信号生成部からのキー信号に応 じて画像合成し、 画像合成されたフレームを含む複数のフレームを 編集して出力する編集装置において、
上記キー信号生成部は、 3次元色空間における所定の基準色からの距離に応じて上記キー 信号の値を設定し、
上記 3次元色空間上に、 少なく とも上記前景画像の各画素を対応 する位置に配置して、 所望の視点より眺めた画像を表示する ことを特徴とする編集装置。
PCT/JP1998/000712 1997-02-20 1998-02-20 Dispositif et procede de traitement de signaux video, dispositif synthetiseur d'images, et dispositif d'edition WO1998037702A1 (fr)

Priority Applications (6)

Application Number Priority Date Filing Date Title
JP53649598A JP3870422B2 (ja) 1997-02-20 1998-02-20 映像信号処理装置及び方法、画像合成装置、並びに編集装置
CA002252871A CA2252871C (en) 1997-02-20 1998-02-20 Video signal processing device and method, image synthesizing device, and editing device
EP98904406A EP0907293A4 (en) 1997-02-20 1998-02-20 IMAGE PROCESSING AND DEVICE AND IMAGE SYNTHESIS AND CUTTING DEVICE
US09/171,401 US6201581B1 (en) 1997-02-20 1998-02-20 Video signal processing device and method, image synthesizing device, and editing device
KR1019980708399A KR20000064957A (ko) 1997-02-20 1998-02-20 영상 신호 처리 장치 및 방법, 화상 합성 장치 및 편집 장치
CNB988004429A CN100373955C (zh) 1997-02-20 1998-02-20 图像信号处理装置和方法、画面合成装置、以及编辑装置

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
JP9/35406 1997-02-20
JP3540697 1997-02-20
JP19320197 1997-07-03
JP9/193201 1997-07-03

Publications (1)

Publication Number Publication Date
WO1998037702A1 true WO1998037702A1 (fr) 1998-08-27

Family

ID=26374394

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP1998/000712 WO1998037702A1 (fr) 1997-02-20 1998-02-20 Dispositif et procede de traitement de signaux video, dispositif synthetiseur d'images, et dispositif d'edition

Country Status (7)

Country Link
US (1) US6201581B1 (ja)
EP (1) EP0907293A4 (ja)
JP (1) JP3870422B2 (ja)
KR (1) KR20000064957A (ja)
CN (1) CN100373955C (ja)
CA (1) CA2252871C (ja)
WO (1) WO1998037702A1 (ja)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007097517A1 (en) * 2006-02-27 2007-08-30 Upnon Co., Ltd. Adjustive chroma key composition apparatus and method

Families Citing this family (37)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000184278A (ja) * 1998-12-16 2000-06-30 Sony Corp 画像混合装置及び画像処理装置
JP2003507827A (ja) * 1999-08-19 2003-02-25 ディープ ヴィデオ イメイジング リミテッド 多層スクリーンの表示方法
JP3642258B2 (ja) * 2000-05-08 2005-04-27 松下電器産業株式会社 映像合成装置
US6795068B1 (en) * 2000-07-21 2004-09-21 Sony Computer Entertainment Inc. Prop input device and method for mapping an object from a two-dimensional camera image to a three-dimensional space for controlling action in a game program
US6646688B1 (en) * 2000-11-10 2003-11-11 Koninklijke Philips Electronics N.V. High quality video and graphics pipeline
DE10140713B4 (de) * 2001-08-24 2004-03-04 Ps Miro Holdings Inc. & Co. Kg Verfahren und Vorrichtung zur Darstellung von Pixeln eines Bildes
US7215813B2 (en) * 2001-12-03 2007-05-08 Apple Computer, Inc. Method and apparatus for color correction
US6970595B1 (en) 2002-03-12 2005-11-29 Sonic Solutions, Inc. Method and system for chroma key masking
AU2002952382A0 (en) * 2002-10-30 2002-11-14 Canon Kabushiki Kaisha Method of Background Colour Removal for Porter and Duff Compositing
GB2402567B (en) * 2003-04-05 2006-07-19 Autodesk Canada Inc Image processing
US8133115B2 (en) * 2003-10-22 2012-03-13 Sony Computer Entertainment America Llc System and method for recording and displaying a graphical path in a video game
US20060071933A1 (en) 2004-10-06 2006-04-06 Sony Computer Entertainment Inc. Application binary interface for multi-pass shaders
JP2006107329A (ja) * 2004-10-08 2006-04-20 Noritsu Koki Co Ltd 撮影画像処理装置
US7636126B2 (en) * 2005-06-22 2009-12-22 Sony Computer Entertainment Inc. Delay matching in audio/video systems
CN100534202C (zh) * 2005-09-07 2009-08-26 逐点半导体(上海)有限公司 图像色彩的增强处理装置和处理方法
US7965859B2 (en) 2006-05-04 2011-06-21 Sony Computer Entertainment Inc. Lighting control of a user environment via a display device
US7880746B2 (en) * 2006-05-04 2011-02-01 Sony Computer Entertainment Inc. Bandwidth management through lighting control of a user environment via a display device
JP4747970B2 (ja) * 2006-07-04 2011-08-17 オムロン株式会社 画像処理装置
TWI376930B (en) * 2006-09-04 2012-11-11 Via Tech Inc Scenario simulation system and method for a multimedia device
US20090148127A1 (en) * 2007-12-07 2009-06-11 Digital All-Star, Llc System and method for generating a media product
WO2010037512A1 (en) 2008-10-02 2010-04-08 Fraunhofer-Gesellschaft zur Förderung der angewandten Forschung e.V. Intermediate view synthesis and multi-view data signal extraction
CN102118576B (zh) * 2009-12-30 2015-02-18 新奥特(北京)视频技术有限公司 一种虚拟体育系统中的色键合成方法及装置
US10786736B2 (en) 2010-05-11 2020-09-29 Sony Interactive Entertainment LLC Placement of user information in a game space
CN101890409A (zh) * 2010-07-16 2010-11-24 合肥安晶龙电子有限公司 一种基于彩色空间转换对实物颗粒进行分选的方法
US8675009B2 (en) 2010-07-20 2014-03-18 Apple Inc. Keying an image in three dimensions
US8619093B2 (en) 2010-07-20 2013-12-31 Apple Inc. Keying an image
US8743139B2 (en) 2010-07-20 2014-06-03 Apple Inc. Automatically keying an image
JP5484310B2 (ja) * 2010-12-24 2014-05-07 キヤノン株式会社 画像処理装置及び画像処理装置の制御方法
US8891864B2 (en) 2011-02-16 2014-11-18 Apple Inc. User-aided image segmentation
US9342817B2 (en) 2011-07-07 2016-05-17 Sony Interactive Entertainment LLC Auto-creating groups for sharing photos
CN102739984A (zh) * 2011-08-29 2012-10-17 新奥特(北京)视频技术有限公司 一种高清虚拟布景的实现方法及系统
CN102752612B (zh) * 2011-11-21 2016-06-15 新奥特(北京)视频技术有限公司 一种基于色键选区进行图像校色的方法
CN102761757B (zh) * 2011-12-19 2016-06-15 新奥特(北京)视频技术有限公司 一种hsl控制的色键校色方法
CN102750123B (zh) * 2012-06-29 2016-01-20 广东威创视讯科技股份有限公司 基于超高分辨率数字显示拼接墙的拼接缝消除方法和装置
JP6260809B2 (ja) * 2013-07-10 2018-01-17 ソニー株式会社 ディスプレイ装置、情報処理方法、及び、プログラム
KR101733125B1 (ko) * 2015-11-18 2017-05-08 (주)케이아이에스 배경스크린이 필요 없는 크로마키 영상 합성 방법
CN112235520B (zh) * 2020-12-07 2021-05-04 腾讯科技(深圳)有限公司 一种图像处理方法、装置、电子设备及存储介质

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4630101A (en) 1982-10-18 1986-12-16 Nec Corporation Chromakey signal producing apparatus
JPH0470292A (ja) * 1990-07-11 1992-03-05 Sony Corp クロマキー装置
JPH04150396A (ja) * 1990-10-11 1992-05-22 Toshiba Corp 映像合成回路
JPH06225329A (ja) * 1993-01-22 1994-08-12 Imagica:Kk クロマキー処理方法及び装置
JPH0715743A (ja) * 1993-02-05 1995-01-17 Philips Electron Nv 合成画像信号から前景画像信号を分離する方法
JPH0865705A (ja) * 1994-08-25 1996-03-08 Imagica:Kk ソフトクロマキー処理方法
JPH08102961A (ja) * 1994-09-10 1996-04-16 Philips Electron Nv クロマキー方法およびキーイング関数を求める回路装置
JPH08153201A (ja) * 1994-11-29 1996-06-11 Sony Corp 画像領域抽出方法
JPH08275196A (ja) * 1995-03-30 1996-10-18 Toshiba Corp 画像データ処理装置

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0340671A (ja) * 1989-07-07 1991-02-21 Matsushita Electric Ind Co Ltd ディジタル映像効果装置
FR2652972B1 (fr) * 1989-10-06 1996-11-29 Thomson Video Equip Procede et dispositif d'incrustation d'images video couleur auto-adaptatif.
DE69217319T2 (de) * 1991-10-07 1997-07-17 Xerox Corp Bildeditiersystem und Methode mit verbesserter Farbpaletteneditierung
IL109487A (en) * 1994-04-29 1996-09-12 Orad Hi Tec Systems Ltd Chromakeying system
FR2741770B1 (fr) * 1995-11-23 1998-01-02 Thomson Broadcast Systems Procede de calcul d'une cle de decoupe d'un sujet evoluant devant un fond colore et dispositif mettant en oeuvre ce procede
FR2741769B1 (fr) * 1995-11-23 1997-12-19 Thomson Broadcast Systems Procede de traitement du signal constitue par un sujet evoluant devant un fond colore et dispositif mettant en oeuvre ce procede

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4630101A (en) 1982-10-18 1986-12-16 Nec Corporation Chromakey signal producing apparatus
JPH0470292A (ja) * 1990-07-11 1992-03-05 Sony Corp クロマキー装置
JPH04150396A (ja) * 1990-10-11 1992-05-22 Toshiba Corp 映像合成回路
JPH06225329A (ja) * 1993-01-22 1994-08-12 Imagica:Kk クロマキー処理方法及び装置
US5355174A (en) 1993-01-22 1994-10-11 Imagica Corp. Soft edge chroma-key generation based upon hexoctahedral color space
JPH0715743A (ja) * 1993-02-05 1995-01-17 Philips Electron Nv 合成画像信号から前景画像信号を分離する方法
JPH0865705A (ja) * 1994-08-25 1996-03-08 Imagica:Kk ソフトクロマキー処理方法
JPH08102961A (ja) * 1994-09-10 1996-04-16 Philips Electron Nv クロマキー方法およびキーイング関数を求める回路装置
JPH08153201A (ja) * 1994-11-29 1996-06-11 Sony Corp 画像領域抽出方法
JPH08275196A (ja) * 1995-03-30 1996-10-18 Toshiba Corp 画像データ処理装置

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP0907293A4

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007097517A1 (en) * 2006-02-27 2007-08-30 Upnon Co., Ltd. Adjustive chroma key composition apparatus and method

Also Published As

Publication number Publication date
CA2252871A1 (en) 1998-08-27
CA2252871C (en) 2008-04-29
CN1223058A (zh) 1999-07-14
US6201581B1 (en) 2001-03-13
CN100373955C (zh) 2008-03-05
EP0907293A1 (en) 1999-04-07
KR20000064957A (ko) 2000-11-06
EP0907293A4 (en) 2008-06-18
JP3870422B2 (ja) 2007-01-17

Similar Documents

Publication Publication Date Title
WO1998037702A1 (fr) Dispositif et procede de traitement de signaux video, dispositif synthetiseur d&#39;images, et dispositif d&#39;edition
US6097853A (en) User definable windows for selecting image processing regions
JP3154155B2 (ja) 電子グラフィックシステム
JPH11306375A (ja) 画像合成処理装置およびその方法
US20020149600A1 (en) Method of blending digital pictures
US6469747B1 (en) Parabolic mixer for video signals
US20070146392A1 (en) System and method for magnifying and editing objects
JP4917346B2 (ja) ゲーム画像処理プログラムおよびゲーム画像処理装置
US8736765B2 (en) Method and apparatus for displaying an image with a production switcher
US20110012912A1 (en) Image processing device and image processing method
JPH10145674A (ja) ビデオ信号処理装置及びビデオ信号処理方法
JPH1127693A (ja) クロマキー装置
JP4165585B2 (ja) キー信号生成装置
JPH1127692A (ja) クロマキー装置
JPH1127691A (ja) クロマキー装置
JPH04127279A (ja) 物体の運動経路生成装置および方法
JP4139990B2 (ja) 画像処理装置、画像処理方法、画像処理プログラム及び画像処理プログラム格納媒体
JP4707867B2 (ja) 映像合成装置
JP5003038B2 (ja) 画像切り替え装置及びその制御方法
JP2713677B2 (ja) カラー画像色変更処理方式とカラー画像合成処理方式
JP2008234681A (ja) ビデオゲーム装置、画像表示装置及び方法、動画表示装置及び方法並びに記録媒体
JP2002095007A (ja) クロマキー装置
CN107924295A (zh) 宽视图图像显示系统、信息处理装置和图像显示方法
JP2522192B2 (ja) クロマキ―合成装置
JPS6224833B2 (ja)

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: 98800442.9

Country of ref document: CN

AK Designated states

Kind code of ref document: A1

Designated state(s): CA CN JP KR US

AL Designated countries for regional patents

Kind code of ref document: A1

Designated state(s): AT BE CH DE DK ES FI FR GB GR IE IT LU MC NL PT SE

ENP Entry into the national phase

Ref document number: 2252871

Country of ref document: CA

Ref document number: 2252871

Country of ref document: CA

Kind code of ref document: A

WWE Wipo information: entry into national phase

Ref document number: 1019980708399

Country of ref document: KR

WWE Wipo information: entry into national phase

Ref document number: 1998904406

Country of ref document: EP

121 Ep: the epo has been informed by wipo that ep was designated in this application
WWE Wipo information: entry into national phase

Ref document number: 09171401

Country of ref document: US

WWP Wipo information: published in national office

Ref document number: 1998904406

Country of ref document: EP

WWP Wipo information: published in national office

Ref document number: 1019980708399

Country of ref document: KR

WWR Wipo information: refused in national office

Ref document number: 1019980708399

Country of ref document: KR