WO2004110072A1 - Apparatus and method for format converting and mixing video signal - Google Patents

Apparatus and method for format converting and mixing video signal Download PDF

Info

Publication number
WO2004110072A1
WO2004110072A1 PCT/CN2003/000446 CN0300446W WO2004110072A1 WO 2004110072 A1 WO2004110072 A1 WO 2004110072A1 CN 0300446 W CN0300446 W CN 0300446W WO 2004110072 A1 WO2004110072 A1 WO 2004110072A1
Authority
WO
WIPO (PCT)
Prior art keywords
format
image data
sampling
chroma
main
Prior art date
Application number
PCT/CN2003/000446
Other languages
French (fr)
Chinese (zh)
Inventor
Tzuping Lin
Original Assignee
Mediatek Inc.
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 Mediatek Inc. filed Critical Mediatek Inc.
Priority to DE10394246T priority Critical patent/DE10394246T5/en
Priority to AU2003246127A priority patent/AU2003246127A1/en
Priority to CN03826420.XA priority patent/CN1778118A/en
Priority to PCT/CN2003/000446 priority patent/WO2004110072A1/en
Publication of WO2004110072A1 publication Critical patent/WO2004110072A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N11/00Colour television systems
    • H04N11/06Transmission systems characterised by the manner in which the individual colour picture signal components are combined
    • H04N11/20Conversion of the manner in which the individual colour picture signal components are combined, e.g. conversion of colour television standards
    • H04N11/22Conversion of the manner in which the individual colour picture signal components are combined, e.g. conversion of colour television standards in which simultaneous signals are converted into sequential signals or vice versa

Definitions

  • the invention provides a device and method for format conversion and mixing of image data, in particular, a method for converting image data having a low sampling frequency chroma format into image data having a high sampling frequency chroma format, and then Another device and method for mixing image data with high sampling frequency and chroma format to avoid data loss.
  • Background technique
  • Motion picture compression standard MPEG-1 and the new motion picture compression standard MPEG-2 are mainly used to play video signal data stored in digital storage media such as CD-ROM or DVD-ROM, such as movies and animations, or applications In high-definition digital televisions, its main function is image-based image compression technology.
  • the MPEG-1 standard is the first standard developed by the MPEG organization. The main goal is to compress a resolution of 320 X 240 and about 20 frames per second to 1.2 Mbps, and to compress stereo music at about 250 kbps. Combined together into a movie of about 1.5Mbps, stored it in a CD-ROM, and played it at 2x CD-Player.
  • the MPEG-2 standard is greatly improved.
  • MPEG-1 not only have significant improvements in picture and sound quality, but also multi-language, multi-language subtitles, multi-angle viewing, movie rating, and so on.
  • MPEG-2 is partially compatible with MPEG-1's sound compression method, and has added AAC (Advanced Audio Coding sound compression technology) with high compression ratio.
  • AAC Advanced Audio Coding sound compression technology
  • picture quality MPEG-2's picture resolution is improved To 720 X 480, and add some new compression methods and video signal sampling formats, in order to improve the picture clarity and provide a more effective compression rate.
  • “Compression” basically refers to the process of reducing the information capacity occupied by the content of an image or group of images by eliminating the redundant components present in the video signal data, and one of the characteristics of the video signal data is the spatially redundant component high.
  • the compression which is the process of so-called spatial redundancy removal, it is necessary to identify the important elements in the video signal data and remove the duplicate and less influential elements.
  • the human eye is more sensitive to changes in brightness and relatively less detectable to changes in chrominance. Therefore, MPEG-2 uses the color representation format of Luminance and Chrominance, Y Indicates the luminance value, C indicates the chrominance value (C includes CB and CR, which represent the first and second chrominance values, respectively).
  • the three primary color component signals 1, G, and B are converted into luminance.
  • MPEG-2 uses reducing chroma sampling to reduce the amount of signal.
  • 4: 2: 0 means that four luminances Y take one chroma CR—one chroma CB.
  • FIG. 1 is a schematic diagram of the distribution of luminance Y and chrominance C in an image plane 10 in a 4: 2 : 0 sampling format.
  • the image plane 10 includes a plurality of image elements 11 (or sampling points).
  • Each picture element 11 may include only luminance Y, chrominance CB, CR, or both luminance Y and chrominance CB, CR after sampling.
  • represents the sampling point of luminance Y
  • X represents the sampling points of chrominance CB, CR
  • the entire image plane 10 can be visually composed of multiple lines (Line) 18 (to obtain a clear picture, the brightness Y sampling point ⁇ and chromaticity The sampling points X of CB and CR are shown separately in each picture element 11).
  • the # frequency of chroma C is only half of the luminance Y
  • the sampling frequency of chrominance C can be regarded as a quarter of the luminance Y.
  • FIG. 1 it can be more obvious in a block space 16 containing four luminance Y
  • the significance of the 4: 2: 0 sampling format is that four luminances Y correspond to one chromaticity C (one chromaticity CR—one chromaticity CB).
  • FIG. 2 is a schematic diagram of the distribution of luminance Y and chrominance C in another image plane 20 under a 4: 2: 2 sampling format.
  • the image plane 20 also includes a plurality of image elements 21 , and each image element 2 may include only luminance y, chroma CB, CR, or both luminance Y and chroma CB, CR after sampling, and the entire image plane 20
  • the view is composed of multiple lines (Eine) 28.
  • 0 represents a sampling point of luminance Y
  • X represents a sampling point of chroma CB, CR.
  • the brightness in the 4: 2: 2 sampling format The sampling frequency of Y is 13.5MHz, and the sampling frequencies of both chroma CR and CB are 6.75MHz.
  • FIG. 3 is a schematic diagram of the distribution of luminance Y and chrominance C in another image plane 30 in a 4: 4: 4 sampling format.
  • the image plane 30 ' is composed of multiple lines (Iine) 38 , and includes a plurality of image elements 31, each of which includes both luminance Y (sampling point 0) and chrominance CB, CR (sampling point X). Therefore, each image block space 36 includes four luminances Y, four chroma CRs, and four chroma CBs, that is, no chroma sampling reduction is performed.
  • the main-picture image data in a digital storage medium such as a CD-ROM or DVD-ROM adopts a 2: 0 sampling format
  • the sub-picture (SP-SP) in a DVD-ROM ) Image data and On-Screen Display (OSD) data are in 4: 4: 4 sampling format.
  • the MPEG-2 decoder pecodeir previously applied to DVD players uses an external video signal encoder (TV Encoder), and its interface must conform to the CCIR (now changed to the International Telecommunication Union (ITU) standard) specifications and be able to transmit 4: 2: 2 sampling format MPEG-2 image data, but the aforementioned sub-picture image data and screen image setting data with 4: 4: 4 sampling format cannot be transmitted, so the main picture must be transmitted to the video signal encoder before Interpolate into 4: 2: 2 format first. Therefore, when mixing the MPEG2 main screen image data in the 4: 2: 2 sampling format with the sub-picture image data in the 4: 4: 4 sampling format (Mix), the sub-picture having the 4: 4: 4 sampling format must first be mixed.
  • TV Encoder TV Encoder
  • the image data is first converted into the sub-picture image data in the 4: 2: 2 sampling format, and then mixed with the MPEG2 main picture image data in the 4: 2: 2 sampling format, and then the mixed image data can be transmitted from this interface channel.
  • image data processing methods and related structures to complete image data format conversion and mixing known technologies have appeared in some related literatures and patents.
  • US Patent No. 5,489,947 "On screen display arrangement for a digital video signal processing system", Cooper et al.
  • FIG. 4 is a functional block diagram of a known image data processing device 40.
  • the image data processing device 40 includes a main picture data receiving end 42, a pair of picture data receiving ends 44, a 4: 4: 4 to 4: 2: 2 format converter 46, a data mixing device 48, and an external video
  • the signal encoding module 50 (TV Encoding Module), the interface channel CI between the data mixing device 48 and the video signal encoding module 50 must comply with the CCIR (or ITU) specifications.
  • the main screen data receiving end 42 is used to receive a main screen image data with a 4: 2 : 2 sampling format, and as shown in FIG. 4, the main screen image data received with a 4: 2: 2 sampling format includes a main brightness Ym and a main chromaticity Cm.
  • FIG. 5 is a schematic diagram of the brightness and chromaticity of multiple image data in the transmitted data string in FIG. 4.
  • FIG. 5 shows the main brightness Ym and the main chroma Cm of the main screen image data with the 4: 2: 2 sampling format in FIG. 4 respectively.
  • the data strings are transmitted in time sequence in two different data channels.
  • the data string of Ym contains multiple main luminances YmO, Yml, Ym 2 obtained from different sampling points.
  • the data string of main chromaticity Cm contains multiple main luminances obtained from different sampling points.
  • Chroma CBmO, CRmO, CBm2, CRm2, ⁇ Since the basic concept of the 4: 2: 2 sampling format is that the sampling frequency of chroma C (CR, CB) is one-half of the luminance Y, it can be seen that the main The chrominances CBm0 and CRmO can be from the same sampling point, and correspond to the sampling points of the main luminance YmO, or the average of the main chroma of the surrounding sampling points.
  • the main chroma CBm2, CRm2, and main brightness Ym2 can be the average of the main chroma and main brightness from the same sampling point or the surrounding sampling points.
  • the sub-picture data receiving end 44 in FIG. 4 may be used to receive a sub-picture image data having a 4: 4: 4 sampling format, where the sub-picture image data having a 4: 4: 4 sampling format includes a pair of brightness Ys, a
  • the first sub-chroma CBs and a second sub-chroma CRs can be reconfirmed from FIG. 5 at the same time.
  • Each sampling point includes a sub-chroma Ys, a first sub-chroma CBs, and a second sub-chroma CRs.
  • a sub-chroma Ys a sub-chroma Ys
  • a first sub-chroma CBs a first sub-chroma CBs
  • a second sub-chroma CRs a second sub-chroma CRs.
  • the 4: 4: 4 to 4: 2: 2 format converter 46 is electrically connected to the sub-picture data receiving end 44, and the sub-picture image data with the 4: 4: 4 sampling format is deleted ( After down-sampling), it is converted into sub-picture image data in 4: 2: 2 sampling format.
  • This subtraction process is aimed at reducing the chroma sampling to achieve the effect of data reduction. Therefore, the sub-brightness Ys of the sub-picture image data that originally had the 4: 4: 4 sampling format is not affected at all, 4: 4: 4 to 4:
  • the 2: 2 format converter 46 mainly processes the first sub-chroma CBs and the second sub-chroma CRs.
  • the subtraction A method discards the first sub-chroma CBs or the second sub-chroma CRs sequentially at each sampling point.
  • the chroma CRsO, CBsl, CRs 2 , etc. are discarded to reduce Half the amount of data on chroma.
  • the rule of subtraction B is to completely discard the first sub-chroma CBs and second sub-chroma CRs of the sampling point every other sampling point, and then move the second sub-chroma CRs of the previous sampling point to the discarded sampling point. After consolidating into a complete continuous data string.
  • the sub-picture image data in the 4: 2: 2 sampling format generated after the reduction processing of the 4: 4: 4 to 4: 2: 2 format converter 46 can be regarded as including a (original) sub-luminance Ys, and A pair of chroma Cs, and the secondary chroma Cs can be regarded as a result obtained after the first sub-chroma CBs and the second sub-chroma CRs are processed by the foregoing subtraction A method or subtraction: B method.
  • a data mixing device 48 electrically connected to the 4: 4: 4 to 4: 2: 2 format converter 46 and the main screen data receiving end 42 can be used to combine the main screen image data with a 4: 2: 2 sampling format and have a 4: 2: 2 sampling format.
  • the mixed image data with a 4: 2: 2 sampling format includes a mixed luminance Yg and a mixed chrominance C g .
  • FIG. 5 also shows that the mixed luminance Yg and the mixed chrominance Cg are transmitted in time sequence in two different data channels, respectively. Situation.
  • the main screen data receiving end 42 of FIG. 4 may further include a 4: 2: 0 to 4: 2: 2 format converter 47, which is electrically connected to the main screen data receiving end 4 2 and may store one in a sampling format (in a Digital video discs, such as VCD or DVD, etc., convert the main screen digital image data into the aforementioned main screen image data with a 4: 2: 2 sampling format.
  • the connected video signal encoding module 50 includes a 4: 2: 2 to 4: 4: 4 format converter 49 and a video signal encoder 51CTV Encoder).
  • the video signal encoder 51 The image data must conform to the 4: 4: 4 sampling format, and the 4: 2: 2 to 4: 4: 4 format converter 49 can interpolate the transmitted mixed image data with the 4: 2: 2 sampling format ( After Up-sampling processing, mixed image data (including a mixed luminance Yg, a first mixed chrominance CBg, and a second mixed chrominance CR) having a 4: 4: 4 sampling format is generated, and finally encoded by a video signal the device 51 has a 4: 4: 4 sampling format mixing video data is converted into a television video signal Ts (TV video signal) 0
  • the format converter 49 performs interpolation processing, that is, in the process of reconstructing the first chroma CB and the second chroma CR of each sampling point, the chroma CRsO, CBsl, CRs2, etc. that were originally rounded will be The duplicated chroma CRsl, CBs2, CRs3,... etc. replace the backfill.
  • the main object of the present invention is to provide a device and method that can convert and mix multiple image data with different sampling formats (Sampling Foirmat :), so as to solve the problem.
  • an image data of a main screen with a 4: 2: 2 sampling format is interpolated.
  • Up-sampling becomes the main screen image data with 4: 4: 4 sampling format after processing, and then processes the main screen image data with 4: 4: 4 sampling format and a 4: 4: 4 sampling format.
  • the secondary screen image data is mixed to avoid the loss of some chromaticity information during the conversion of the 4: 4: 4 sampling format to the 4: 2: 2 sampling format by known technologies, resulting in color distortion, and thus can fully Taking advantage of a video signal encoder built into a DVD (or VCD) player chip system, it has a significant effect on improving the picture quality.
  • An object of the present invention is to provide a device for converting and mixing a plurality of video data, each of which has a plurality of sampling formats (Sampling Format :). Sampling frequency chrominance format and a low sampling frequency chrominance format.
  • the device includes a first data receiving end for receiving a first image data having the low sampling frequency chrominance format.
  • a second data receiving Terminal for receiving a second image data having the high sampling frequency chroma format; a format conversion module electrically connected to the first data receiving terminal for receiving the first image having the low sampling frequency chroma format After the data is processed by up-sampling, it becomes the first image data having the high sampling frequency chrominance format; and a data mixing device electrically connected to the format conversion module and the second data receiving end, for After mixing (Mix) the first image data having the high sampling frequency chroma format and the second image data having the high sampling frequency chroma format, a Mixing the high sampling frequency chrominance format video data.
  • Another object of the present invention is to provide an image data processing device, which includes a main frame data receiving end for receiving a main frame image data having a 4: 2 : 2 sampling format, wherein the main frame image data has a 4: 2: 2
  • the main screen image data in the sampling format includes a main luminance value (Luminance) and a main chrominance value (Chrominance);
  • a pair of screen data receiving ends is used to receive a sub screen image data with a 4: 4: 4 sampling format
  • the sub-picture image data with a 4: 4: 4 sampling format includes a pair of luminance values, a first pair of chrominance values, and a second pair of chrominance values;
  • a format conversion module electrically connected to the main screen data
  • the receiving end is used to process the main screen image data with a 4: 2: 2 sampling format into an main screen image data with a 4: 4: 4 sampling format after an Up-sampling process, where the The main screen image data in the 4: 4:
  • a data mixing device is electrically connected to the format conversion module and the auxiliary unit.
  • Another object of the present invention is to provide a method for converting and mixing a plurality of video data (Video Signal) to prevent data leakage.
  • the plurality of video data has multiple sampling formats, respectively. Format contains at least a high sampling frequency
  • the method includes receiving a first image data having the low sampling frequency chroma format and a second image data having the high sampling frequency chroma format;
  • the first image data having the low sampling frequency chroma format converts the first image data having the high sampling frequency chroma format; and the first image data having the high sampling frequency chroma format and the high sampling frequency color
  • a mixed image data having the high sampling frequency chrominance format is output.
  • the image data processing device includes a signal receiving module, a format conversion module, and a data mixing device.
  • the method includes using The signal receiving module receives a main screen image data with a 4: 2: 2 sampling format and a sub screen image data with a 4: 4: 4 sampling format; using the format conversion module to sample the data with 4: 2: 2 Format the main screen image data with the 4: 4: 4 sampling format; and use the data mixing device to convert the main screen image data with the 4: 4: 4 sampling format and the 4: 4 : 4 sub-picture image data After the mixing operation, a mixed image data with a 4: 4: 4 sampling format is output.
  • FIG. 1 is a schematic diagram showing the distribution of luminance and chrominance in an image plane under a 4: 2: 0 sampling format.
  • FIG. 2 is a schematic diagram showing the distribution of luminance and chrominance in an image plane in a 4: 2: 2 sampling format.
  • FIG. 3 is a schematic diagram showing the distribution of brightness and chrominance in an image plane in a 4 : 4: 4 sampling format.
  • FIG. 4 is a functional block diagram of a known image data processing.
  • FIG. 5 is a schematic diagram of brightness and chrominance of a plurality of image data in the transmitted data string in FIG. 4.
  • FIG. 6 is a functional block diagram of an embodiment of a device for converting and mixing multiple image data according to the present invention.
  • FIG. 7 is a functional block diagram of another embodiment of an apparatus for converting and mixing multiple image data according to the present invention.
  • FIG. 8 is a flowchart of a method embodiment of the present invention.
  • FIG. 9 is a flowchart of another method embodiment of the present invention.
  • FIG. 10 is a functional block diagram of an image data processing device according to an embodiment of the present invention during actual implementation.
  • FIG. 11 is a schematic diagram of brightness and chrominance of a plurality of image data in the transmission data string in FIG. 10.
  • FIG. 12 is a schematic diagram of an embodiment of the data mixing device in FIG. 10.
  • FIG. 13 is a functional block diagram of another embodiment of the image data processing apparatus in FIG. 10 when it is actually implemented.
  • FIG. 14 is a flowchart of another method embodiment of the present invention. DESCRIPTION OF SYMBOLS
  • FIG. 6 is a functional block diagram of an embodiment of a device 60 for converting and mixing a plurality of video data according to the present invention.
  • this embodiment includes two image data; a first image data IS1 and a second image data IS2, and the two image data may each have two sampling formats, including a high sampling frequency color. Chrominance format and a low sampling frequency chroma format.
  • the name of the two sampling formats shows that the sampling frequency of chroma for high sampling frequency chroma format is higher than that of low sampling frequency chroma format. For example, if Referring to the description of the basic concepts of chrominance sampling under the new motion image compression standards (MPEG-1, MPEG-2) in FIGS.
  • the device 60 includes a first data receiving end 62, a second data receiving end 64, a format conversion module 65, and a data mixing device 68.
  • the first data receiving end 62 is configured to receive a first image data IS1 having a low sampling frequency chroma format
  • the second data receiving end 64 is configured to receive a second image data IS2 having a high sampling frequency chroma format.
  • the format conversion module 65 is electrically connected to the first data receiving end 62, and is used to process the first image data IS1 with a low sampling frequency chroma format into an chroma format with a high sampling frequency after an up-sampling process.
  • the interpolation process of the first image data IS1 ′ is described in detail in the following description and embodiments.
  • the data mixing device 68 is electrically connected to the format After the conversion module 65 and the second data receiving end 64 are used to mix (Mk) the first image data ISr having a high sampling frequency chroma format and the second image data IS2 having a high sampling frequency chroma format, and output A mixed image data ISg with a high sampling frequency chroma format completes the conversion and mixing of image data with two different sampling frequency chroma formats.
  • Jason It is recommended to change IS1 in the high-sampling-frequency chroma format of Figure 6 to ISr to facilitate identification
  • the device 60 of the embodiment of FIG. 6 discloses one of the important technical features of the present invention, which is to convert an image data (first image data IS1) with a low sampling frequency chroma format into a high sampling frequency chroma Format image data (first image data isr), and then mix it with another image data (second image data IS2) with high sampling frequency chrominance format.
  • first image data IS1 first image data IS1
  • second image data IS2 second image data
  • the conversion process from "high sampling frequency chroma format to low sampling frequency chroma format" occurs, that is, there is no need to discard any chroma-related data, so there will be no loss of chroma data.
  • the number of image data does not need to be limited to two as in this embodiment.
  • FIG. 7 is a functional block diagram of another embodiment of a device 70 for converting and mixing multiple image data according to the present invention.
  • the device 70 of the embodiment of FIG. 7 is substantially similar to the device 60 of the embodiment of FIG.
  • the device 70 in FIG. 7 also includes a first data receiving end 72 , a first data receiving end 74 , a format conversion module 75, and a data mixing device "78.
  • the receiving end 72 receives a first image data IS1 having a low sampling frequency chroma format, and uses the first data receiving end 74 to receive a second image data IS2 having a high sampling frequency chroma format, and uses the format conversion module 75 to have a low
  • the first image data IS1 of the sampling frequency chroma format is converted into the first image data IS1 'of the high sampling frequency chroma format.
  • the data mixing device 78 is used to convert the first image number isr
  • the second image data IS2 having a high sampling frequency chroma format mixes and outputs a mixed image data ISgo having a high sampling frequency chroma format
  • the format conversion module 75 shown in FIG. 7 is constituted by a first intermediate format converter 73 and a second intermediate format converter 76, and this two image data (first image data and second IS1 Two image data IS2) not only have two sampling formats (high sampling frequency chroma format and low sampling Frequency chroma format), and also includes a sampling frequency chroma format, where the sampling frequency chroma format sampling frequency is between the high sampling frequency chroma format and the low sampling frequency chroma format
  • the high sampling frequency chroma format can correspond to 4: 4: 4
  • the sampling format, the medium sampling frequency chroma format may correspond to the 4: 2 : 2 sampling format, and the low sampling frequency chroma format may correspond to the 4: 2: 0 sampling format.
  • the setting of the first and second intermediate format converters "76" represents that the format conversion process of the first image data IS1 is a two-stage process. After a first post-interpolation process, to become the first video data IS1 "chroma format having the sampling frequency, and the second intermediate format converter 76 is electrically connected to the first intermediate format converter 73, is used to having the The first image data isi "of the sampling frequency chrominance format is processed by a second interpolation to become the first image data isr having a high sampling frequency chrominance format.
  • the principles of the first and second interpolation processing are the same as the aforementioned interpolation. The same processing is performed in the same way, which will be described in detail later. Please note that, as described in the embodiment of FIG.
  • the number of image data processed by the present invention is not limited, and the number of types of sampling formats is not limited. Before mixing multiple image data with different sampling frequency chrominance formats, all of them are converted to one of the highest sampling frequency chrominance formats to avoid conversion in high sampling frequency chrominance formats. The loss of chroma data during the low-sampling frequency chroma format is consistent with the technical features of the present invention.
  • the device 70 of this embodiment further includes a video signal encoder 71 (TV Encoder), which is electrically connected to the data mixing device 78 After that, it can be used to convert the mixed image data ISg with a high chroma sampling format into a TV Video Signal Ts.
  • TV Encoder TV Encoder
  • FIG. 8 is a method of the present invention.
  • Step 100 Receive a first image data IS1 having a low sampling frequency chroma format and a second image data IS2 having a high sampling frequency chroma format, respectively.
  • Step 101 Convert the first image data IS1 having a low sampling frequency chroma format into the first image data isr having a high sampling frequency chroma format.
  • Step 102 After mixing the first image data IS with a high sampling frequency chroma format and the second image data IS2 with a high sampling frequency chroma format, output a chroma grid with high sampling frequency Mixed image data ISg;
  • FIG. 9 is a flowchart of another method embodiment of the present invention.
  • Step 200 Receive a first image data IS1 having a low sampling frequency chroma format and a second image data IS2 having a high sampling frequency chroma format, respectively.
  • Step 201 Convert the first image data IS1 having a low sampling frequency chroma format into the first image data IS1 having a high sampling frequency chroma format.
  • Step 202 Convert the first image data IS1 having a low sampling frequency chroma format into the first image data isr having a high sampling frequency chroma format.
  • Step 203 After mixing the first image data ISr with a high sampling frequency chroma format and the second image data IS2 with a high sampling frequency chroma format, output a mixed image data ISg with a high sampling frequency chroma format;
  • the mixed image data ISg having a high chroma sampling format is converted into a television video signal signal.
  • the devices 60 and 70 shown in FIG. 6 and FIG. 7 are applied to a new type of moving image compression standard (MPEG-1, MPEG-2) and JPEG decoder (Decoder), so
  • the aforementioned first image data IS1, second image data IS2, mixed image data ISg, high sampling frequency chroma format, medium sampling frequency chroma format, and low sampling frequency chroma sampling all conform to MPEG-1 and MPEG-2 Specifications (of which three (low, medium, high) sampling frequency chroma formats can correspond to the 4: 2 : 0 sampling format, 4: 2 : 2 sampling format, and 4: 4 shown in Figures 1 to 3, respectively.
  • the first image data IS1 may correspond to a main-picture image data of a digital video disc (VCD and DVD) format
  • the second image data IS2 may correspond to a sub-image of a digital video disc format.
  • SP Picture-Picture
  • FIG. 10 is a functional block diagram of an embodiment of an image data processing device 80 in actual implementation of the present invention, and can be regarded as a detailed embodiment of the embodiment of FIG. 6.
  • the image data processing device 80 includes a main picture data receiving end 82, a pair of picture data receiving ends 84, a format conversion module 85, a data mixing device 88, and a video signal encoder 81.
  • the main picture data receiving end 82 may receive a main picture image data having a 4: 2: 2 sampling format, the same as
  • the sub-picture data receiving end 84 receives a sub-picture image data having a 4: 4: 4 sampling format.
  • the format conversion module 85 is electrically connected to the main screen data receiving end 82, and is used for converting the main screen image data having a 4: 2: 2 sampling format into the main screen image data having a 4: 4: 4 sampling format after interpolation processing. Therefore, the format conversion module 85 can be regarded as a 4: 2 : 2 to 4: 4: 4 format converter.
  • the main screen image data with a 4: 4: 4 sampling format will be transmitted to the data mixing device 88, and after a mixing operation (Mixing Opemtion) with the sub screen image data with a 4: 4: 4 sampling format, a 4: 4: 4 Mixed image data in sampling format.
  • the video signal encoder 81 electrically connected to the data mixing device 88 can convert the mixed image data with a 4: 4: 4 sampling format into a TV Video Signal.
  • the main screen image data with 4: 2: 2 sampling format includes a main brightness
  • the sub-picture image data having a 4: 4: 4 sampling format includes a pair of luminance Ys, a first pair of chroma Ysb, and a second pair of chroma Ysr
  • the main screen image data having a 4: 4: 4 sampling format includes a main luminance Ym, a first main chroma CBm, and a second main chroma CRm.
  • the first main chroma CBm and the second main chroma CRm are generated by the format conversion module 85 after the main chroma Cm is interpolated. Please refer to FIG. 11.
  • FIG. 11 FIG.
  • FIG. 11 is a schematic diagram of brightness and chrominance of a plurality of image data in the transmitted data string in FIG. 10.
  • the main luminance Ym data string contains multiple main luminances YmO, Yml, Ym2, ... obtained from different sampling points, and because the basic concept of the 4: 2: 2 sampling format is chrominance C (CR, CB)
  • the sampling frequency is one-half of the luminance Y. Therefore, it can be seen that among the plurality of main chromaticities CBmO, CRmO, CBm2, CRm2, ...
  • the main chromaticities CBm0, CRmO come from the same sampling point, And corresponding to the sampling point of the main luminance YmO, the main chroma CBm2, CRm2 and the main luminance Ym2 are from the same sampling point.
  • the aforementioned interpolation process is to use a mathematical combination to double the sampling frequency of the main chromaticity Cm. Please refer to FIG. 11.
  • the above numerical combination can be completed by a linear combination. Taking the newly added first main chromaticity CBma as an example, it can use the remaining first main chromaticities CBmO, CBm2, CBm4, ⁇ ⁇ ⁇ The components of.
  • CBma A-2 (nl) X CBm-2 (n- l) + '"+ A-2 X CBm- 2 + A0 X CBmO + A2 X CBm2 + ⁇ ' ⁇ + A2n X CBm2n, where A-2 (n-1), ⁇ A-2, AO, A2, ⁇
  • the A2n are all constants, which respectively represent their corresponding main colors
  • the proportion of the newly added first main chroma CBma is usually closer to the proportion of the newly added first main chroma CBma. For example, as shown in FIG.
  • other first primary chromaticities and second primary chromaticities (such as CRma, CBmb, Crmb, etc. shown in FIG. 11) that need to be added can be generated by a method similar to or the same as the above.
  • the mixed image data having a 4: 4: 4 sampling format generated by the data mixing device 88 has a mixed luminance Yg, a first mixed chrominance CBg, and a second mixed chrominance CRg.
  • the mixing operation performed by the data mixing device 88 is to combine the main luminance Ym, the first main chroma CBm, and the second main chroma CRm with the sub luminance Ys, the first sub chroma CBs, and the second sub chroma CRs respectively.
  • the mixed brightness Yg, the first mixed chromaticity CBg, and the second mixed chromaticity CRg are generated. Please refer to FIG. 12, FIG. 12, FIG.
  • FIG. 12 is a schematic diagram of an embodiment of the data mixing device 88 of FIG.
  • the main technical feature of the data mixing device 88 is that the sub-picture image data and the main-picture image data are mixed to become complete image data.
  • FIG. 13 is a functional block diagram of another embodiment of the image data processing apparatus 80 of FIG. 10 in actual implementation.
  • the 13 includes a 4: 2 ⁇ 0 to 4: 2: 2 format converter 87 and a 4: 2: 2 to 4: 4: 4 format converter 89, 4: 2:
  • the 0 to 4: 2: 2 format converter 87 can convert a main screen digital image data stored in a 4: 2: 0 sampling format (in a digital movie, such as a VCD or DVD, etc.) into the aforementioned 4: 2:
  • the main screen image data in the 2 sampling format is then interpolated by the 4: 2: 2 to 4: 4: 4 format converter 89 to the main screen image data in the 4: 4: 4 sampling format.
  • Step 300 Receive a main screen image data with a 4: 2: 2 sampling format and a
  • Step 301 Convert the main screen image data with a 4: 2: 2 sampling format into the main screen image data with a 4: 4: 4 sampling format;
  • Step 302 After mixing the main screen image data with a 4: 4: 4 sampling format and the sub screen image data with a 4: 4: 4 sampling format, output a mixed image data with a 4: 4: 4 sampling format;
  • Step 303 Convert the mixed image data having a 4: 4: 4 sampling format into a television video signal signal.
  • the image data entering this known video signal encoder must be It conforms to the 4: 2: 2 sampling format.
  • the image data processing device 80 in FIG. 10 and FIG. 13 can set a 4: 4: 4 to 4: 2: 2 format converter after the data mixing device 88, so that the user can switch between them. . It can be known from the above-mentioned embodiments that based on today's new dynamic image compression standards
  • the main technical feature of the present invention is the sub-picture image data Before mixing with the main screen image data, both of the two image data are guaranteed to have a 4: 4: 4 sampling format (the highest sampling frequency chroma format), instead of the two as shown in the known technology of the embodiment of FIG. 4
  • the image data is mixed in the 2: 2 sampling format to avoid the loss of some chrominance information during the conversion of the sub-picture image data from the 4: 4: 4 sampling format to the 4: 2 : 2 sampling format, resulting in Distortion of colors.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Color Television Systems (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

The invention provides a method for converting and mixing multiple video data in video data process apparatus. Said multiple video data have multiple sampling formats respectively, and said multiple formats include a high sampling frequency chrominance format and a low frequency chrominance format at least. Said method include: receive first video data having said low sampling frequency chrominance format and second video data having said high sampling frequency chrominance format respectively, up-sampling process the first video data having said low frequency chrominance format to make it become a first video data having high sampling frequency chrominance format; mix the first video data having high sampling frequency chrominance format and the second video data and output the mixed video data having high sampling frequency chrominance format.

Description

用于影像信号的格式转换及  Format conversion for video signals and
混合的装置与方法  Hybrid device and method
技术领域 Technical field
本发明提供一种用于影像数据的格式转换及混合的装置与方法,尤指一 种将一具有低取样频率色度格式的影像数据转换成为具有高取样频率色度 格式的影像数据, 再与另一具有高取样频率色度格式的影像敏据加以混合, 以避免数据漏失的装置与方法。 背景技术  The invention provides a device and method for format conversion and mixing of image data, in particular, a method for converting image data having a low sampling frequency chroma format into image data having a high sampling frequency chroma format, and then Another device and method for mixing image data with high sampling frequency and chroma format to avoid data loss. Background technique
动态影像压缩标准 MPEG- 1以及新型动态影像压缩标准 MPEG-2主要 的应用都是在播放储存在数字储存介质如 CD-ROM或 DVD- ROM中的视频 信号数据, 如电影及动画等, 或者应用于高画质数字电视中, 其最主要的功 能是以画面为主的影像压缩技术。 MPEG- 1标准是 MPEG組织第一个所制定 的标准, 主要的目标是把解析度 320 X 240, 每秒大约 20张的画面压缩在 1.2Mbps , 将立体声音乐压缩在 250kbps左右, 并把两者一起结合成大约 1.5Mbps的影片, 将其储存于一片 CD- ROM里, 并以 2倍速 CD-Player播放 。 MPEG- 2标准大大的改进 MPEG-1的缺点, 不但在画面以及音质上有显著 的改善, 还多了多国语言、 多国语言字幕、 多角度观看、 影片分级等等。 在 声音品质方面, MPEG-2部分相容于 MPEG-1的声音压缩方式, 并增添了高 压缩比的 AAC(Advanced Audio Coding声音压缩技术。 而在画面品质方面, MPEG-2的画面解析度提高到 720 X 480, 并增加一些新的压缩方式及影像信 号取样格式, 以期能提高画面清晰度以及提供更有效的压缩率。  Motion picture compression standard MPEG-1 and the new motion picture compression standard MPEG-2 are mainly used to play video signal data stored in digital storage media such as CD-ROM or DVD-ROM, such as movies and animations, or applications In high-definition digital televisions, its main function is image-based image compression technology. The MPEG-1 standard is the first standard developed by the MPEG organization. The main goal is to compress a resolution of 320 X 240 and about 20 frames per second to 1.2 Mbps, and to compress stereo music at about 250 kbps. Combined together into a movie of about 1.5Mbps, stored it in a CD-ROM, and played it at 2x CD-Player. The MPEG-2 standard is greatly improved. The shortcomings of MPEG-1 not only have significant improvements in picture and sound quality, but also multi-language, multi-language subtitles, multi-angle viewing, movie rating, and so on. In terms of sound quality, MPEG-2 is partially compatible with MPEG-1's sound compression method, and has added AAC (Advanced Audio Coding sound compression technology) with high compression ratio. In terms of picture quality, MPEG-2's picture resolution is improved To 720 X 480, and add some new compression methods and video signal sampling formats, in order to improve the picture clarity and provide a more effective compression rate.
"压缩"基本上是指通过消除存在于视频信号数据里的冗余成分, 来減 少图像或图像組内容所占信息容量的过程, 而同时视频信号数据的特性之一 即是空间冗余的成分高。 在压缩时, 也就是所谓空间冗余去除的过程中, 就 是要识别出视频信号数据中重要的元素, 并移除重复且较无影响的元素。 根 据实验, 人眼对于亮度变化较敏感, 而对于色度的变化相对的较不易查觉。 因此, MPEG-2采用亮度 (Luminance), 色度 (Chrominance)的色彩表示格式, Y 表示亮度值, C表示色度值 (C包含 CB及 CR, 分别表示第一及第二色度值), 在进行相关视频信号数据编码前, 三原色分量信号1、 G、 B会被转换为亮 度 Y和色度 CB、 CR的形式。 由于减少色度取样可以在尽量降低对视觉的影 响下达到较大的数据缩减效果, 因此 MPEG- 2采用从降低色度取样来减少 信号量。 MPEG- 2中定义了三种取样格式, 分別为 4:2:0取样格式、 4:2:2取样 格式、 及 4:4:4取样格式, 分别表示三种不同的色度取样频率。 4:2:0表示四 个亮度 Y取一个色度 CR—个色度 CB, 在数字储存介质如 CD-ROM或 DVD-EDM等中的主画面数字影像数据, 即是采取 4:2:0取样格式。 而 4:2:2 表示四个亮度 Y取两个色度 CR两个色度 CB。 同理 4:4:4表示四个亮度 Y取 四个色度 CR四个色度 CB, 即不做任何的色度取样減少。 请见图 1 , 图 1为 亮度 Y与色度 C在 4:2:0取样格式下在一影像平面 10中分布的示意图,影像 平面 10包含有多个图元 11(或称取样点), 每个图元 11在取样后可能只包含 亮度 Y、 色度 CB、 CR、 或者同时包含亮度 Y及色度 CB、 CR。 〇代表亮度 Y的取样点, X代表色度 CB、 CR的取样点, 整个影像平面 10可视由多行 (Line)18所构成 (为求画面清晰, 将亮度 Y的取样点〇与色度 CB、 CR的取样 点 X在每一图元 11内分开表示)。 在 4:2:0取样格式下, 无论在影像平面 10 中的垂直方向 (箭号 1 或水平方向 (箭号 14)上看来, 色度 C的取 #频率都只 是亮度 Y的二分之一, 整体而言, 色度 C的取样频率则可视为亮度 Y的四 分之一。 另外, 由图 1中所标示, 包含了四个亮度 Y的一像块空间 16内, 可更明显看出 4:2:0取样格式的意义取为四个亮度 Y对应一个色度 C (一个色 度 CR—个色度 CB)。 "Compression" basically refers to the process of reducing the information capacity occupied by the content of an image or group of images by eliminating the redundant components present in the video signal data, and one of the characteristics of the video signal data is the spatially redundant component high. During the compression, which is the process of so-called spatial redundancy removal, it is necessary to identify the important elements in the video signal data and remove the duplicate and less influential elements. According to experiments, the human eye is more sensitive to changes in brightness and relatively less detectable to changes in chrominance. Therefore, MPEG-2 uses the color representation format of Luminance and Chrominance, Y Indicates the luminance value, C indicates the chrominance value (C includes CB and CR, which represent the first and second chrominance values, respectively). Before the relevant video signal data is encoded, the three primary color component signals 1, G, and B are converted into luminance. Y and chroma CB, CR form. Since reducing chroma sampling can achieve a larger data reduction effect with the least impact on vision, MPEG-2 uses reducing chroma sampling to reduce the amount of signal. There are three sampling formats defined in MPEG-2: 4: 2: 0 sampling format, 4: 2: 2 sampling format, and 4: 4: 4 sampling format, respectively representing three different chrominance sampling frequencies. 4: 2: 0 means that four luminances Y take one chroma CR—one chroma CB. The digital image data of the main screen in digital storage media such as CD-ROM or DVD-EDM, etc., is taken as 4: 2: 0 Sampling format. And 4: 2: 2 means that four luminances Y take two chroma CR two chroma CB. Similarly, 4: 4: 4 means that four luminances Y take four chroma CR four chroma CB, that is, no chroma sampling is performed and reduced. Please refer to FIG. 1. FIG. 1 is a schematic diagram of the distribution of luminance Y and chrominance C in an image plane 10 in a 4: 2 : 0 sampling format. The image plane 10 includes a plurality of image elements 11 (or sampling points). Each picture element 11 may include only luminance Y, chrominance CB, CR, or both luminance Y and chrominance CB, CR after sampling. 〇 represents the sampling point of luminance Y, X represents the sampling points of chrominance CB, CR, and the entire image plane 10 can be visually composed of multiple lines (Line) 18 (to obtain a clear picture, the brightness Y sampling point 〇 and chromaticity The sampling points X of CB and CR are shown separately in each picture element 11). In the 4: 2: 0 sampling format, no matter in the vertical direction (arrow 1 or horizontal direction (arrow 14)) in the image plane 10, the # frequency of chroma C is only half of the luminance Y First, as a whole, the sampling frequency of chrominance C can be regarded as a quarter of the luminance Y. In addition, as shown in FIG. 1, it can be more obvious in a block space 16 containing four luminance Y It can be seen that the significance of the 4: 2: 0 sampling format is that four luminances Y correspond to one chromaticity C (one chromaticity CR—one chromaticity CB).
当传送及处理影像数据时, 在图 1所示的影像平面 10中, 所有的取样 点是依箭头 14的方向一行一行被扫描。 如此一来, 即曝露出 4:2:0取样格式 的缺点, 由图 1可知, 在 4:2:0取样格式下每隔一行即发现该行完全缺乏任 何色度 CB、 CR的取样点 (X) ,严重损失了色度的垂直解析度, 此时, 必须利 用一些色度取样的垂直内插法等去补足在扫描时缺失的色度< 。请参阅图 2, 图 2为亮度 Y与色度 C在 4:2:2取样格式下在另一影像平面 20中分布的示意 图。影像平面 20亦包含有多个图元 21, 每个图元 2 在取样后可能只包含亮 度丫、 色度 CB、 CR、 或者同时包含亮度 Y及色度 CB、 CR, 而整个影像平 面 20可视由多行 (Eine)28所构成。如同图 1的表示法, 〇代表亮度 Y的取样 点, X代表色度 CB、 CR的取样点。在现行的规格中, 4:2:2取样格式中亮度 Y的取样频率为 13.5MHz, 两个色度 CR、 CB的取样频率均为 6.75MHz。 在 补足缺失的部分色度 C之后, 在 4:2:2取样格式中的一像块空间 26内, 包含 了四个亮度 Y及两个色度 C (两个色度 CR与两个色度 CB)。 请参阅图 3, 图 3为亮度 Y与色度 C在 4:4:4取样格式下在又一影像平面 30中分布的示意图 。 影像平面 30 '由多行 (Iine)38所构成, 包含有多个图元 31, 每个图元 31皆 同时包含了亮度 Y (取样点〇)和色度 CB、 CR (取样点 X), 因此, 每一像块空 间 36内都包含四个亮度 Y、 四个色度 CR、 与四个色度 CB, 即不做任何的 色度取样减少。 When transmitting and processing image data, in the image plane 10 shown in FIG. 1, all sampling points are scanned line by line in the direction of the arrow 14. In this way, the shortcomings of the 4: 2: 0 sampling format are exposed. As can be seen from FIG. 1, in the 4: 2: 0 sampling format, every other line is found to completely lack any chroma CB, CR sampling points ( X), the vertical resolution of chroma is severely lost. At this time, vertical interpolation of some chroma samples must be used to make up for the chroma missing during scanning. Please refer to FIG. 2. FIG. 2 is a schematic diagram of the distribution of luminance Y and chrominance C in another image plane 20 under a 4: 2: 2 sampling format. The image plane 20 also includes a plurality of image elements 21 , and each image element 2 may include only luminance y, chroma CB, CR, or both luminance Y and chroma CB, CR after sampling, and the entire image plane 20 The view is composed of multiple lines (Eine) 28. As in the representation of FIG. 1, 0 represents a sampling point of luminance Y, and X represents a sampling point of chroma CB, CR. In current specifications, the brightness in the 4: 2: 2 sampling format The sampling frequency of Y is 13.5MHz, and the sampling frequencies of both chroma CR and CB are 6.75MHz. After making up the missing part of the chroma C, a block space 26 in the 4: 2: 2 sampling format contains four luminances Y and two chroma C (two chroma CR and two chroma CB). Please refer to FIG. 3. FIG. 3 is a schematic diagram of the distribution of luminance Y and chrominance C in another image plane 30 in a 4: 4: 4 sampling format. The image plane 30 'is composed of multiple lines (Iine) 38 , and includes a plurality of image elements 31, each of which includes both luminance Y (sampling point 0) and chrominance CB, CR (sampling point X). Therefore, each image block space 36 includes four luminances Y, four chroma CRs, and four chroma CBs, that is, no chroma sampling reduction is performed.
如同前述, 在数字储存介质如 CD- ROM或 DVD-ROM等中的主画面 (Main- Picture)影像数据是采取 :2:0取样格式, 而 DVD-ROM中的副画面 (Sub-Picture, SP)影像数据及屏幕影像设定 (On- screen Display, OSD)数据等是 采取 4:4:4取样格式。 先前应用于 DVD播放器的 MPEG-2解码器 pecodeir) 使用外接的一视频信号编码器 (TV Encoder) ,其介面须符合 CCIR (现已改为国 际电讯联盟 (ITU)标准)的规格,能够传送 4:2:2取样格式的 MPEG- 2影像数据, 但无法传送前述具有 4:4:4取样格式的副画面影像数据及屏幕影像设定数据, 所以主画面在传送至视频信号编码器前必须先插补成 4:2:2格式。 因此, 在 将 4:2:2取样格式的 MPEG2主画面影像数据与 4:4:4取样格式的副画面影像 数据混合 (Mix)时, 必须先将具有 4:4:4取样格式的副画面影像数据先转换为 4:2:2取样格式的副画面影像数据后,再和 4:2:2取样格式的 MPEG2主画面影 像数据混合, 然后方能从此介面通道中传送混合后的影像数据。 基于上述影 像数据处理方法及相关结构以完成影像数据格式转换及混合.的已知技术已 出现于一些相关文献及专利中。在 US Patent No. 5,489,947, "On screen display arrangement for a digital video signal processing system" 中, Cooper等人 p是4争 具有 4:4:4取样格式的副画面影像数据先转换为 4:2:2取样格式的副画面影像 数据后, 再和 4:2:2取样格式的 MPEG2主画面影像数据混合, 完成不同格式 的影像数据的混合。同样的, Htusecky等人在 US Patent No. 6,529,244, "Digital video decode system with OSD processor for converting graphics data in 4:4:4 format to 4:2:2 format by mathematically combining chrominance values"中, 亦将 具有 4:4:4取样格式的屏幕影像设定数据 OSD先转换为 4:2:2取样格式,再依 据 4:2:2取样格式作影像数据混合的运作。  As mentioned above, the main-picture image data in a digital storage medium such as a CD-ROM or DVD-ROM adopts a 2: 0 sampling format, while the sub-picture (SP-SP) in a DVD-ROM ) Image data and On-Screen Display (OSD) data are in 4: 4: 4 sampling format. The MPEG-2 decoder pecodeir previously applied to DVD players uses an external video signal encoder (TV Encoder), and its interface must conform to the CCIR (now changed to the International Telecommunication Union (ITU) standard) specifications and be able to transmit 4: 2: 2 sampling format MPEG-2 image data, but the aforementioned sub-picture image data and screen image setting data with 4: 4: 4 sampling format cannot be transmitted, so the main picture must be transmitted to the video signal encoder before Interpolate into 4: 2: 2 format first. Therefore, when mixing the MPEG2 main screen image data in the 4: 2: 2 sampling format with the sub-picture image data in the 4: 4: 4 sampling format (Mix), the sub-picture having the 4: 4: 4 sampling format must first be mixed. The image data is first converted into the sub-picture image data in the 4: 2: 2 sampling format, and then mixed with the MPEG2 main picture image data in the 4: 2: 2 sampling format, and then the mixed image data can be transmitted from this interface channel. Based on the above-mentioned image data processing methods and related structures to complete image data format conversion and mixing, known technologies have appeared in some related literatures and patents. In US Patent No. 5,489,947, "On screen display arrangement for a digital video signal processing system", Cooper et al. 4 are sub-picture image data with a 4: 4: 4 sampling format first converted to 4: 2: 2 After the sub-picture image data in the sampling format is mixed with the MPEG2 main picture image data in the 4: 2: 2 sampling format, the image data in different formats are mixed. Similarly, Htusecky et al. In US Patent No. 6,529,244, "Digital video decode system with OSD processor for converting graphics data in 4: 4: 4 format to 4: 2: 2 format by mathematically combining chrominance values" will also have The screen image setting data OSD of the 4: 4: 4 sampling format is first converted to the 4: 2: 2 sampling format, and then the image data is mixed according to the 4: 2: 2 sampling format.
相关于上述已知专利 (US Patent No. 6,529,244及 No. 5,489,947)所披露的 基本架构请参阅图 4, 图 4为一已知影像数据处理装置 40的功能方块图。影 像数据处理装置 40包含一主画面数据接收端 42、 一副画面数据接收端 44、 一 4:4:4至 4:2:2格式转换器 46、 一数据混合装置 48、 以及一外接的视频信号 编码模块 50(TV Encoding Module), 在数据混合装置 48及视频信号编码模块 50之间的介面通道 CI即须符合 CCIR (或 ITU)的规格。 主画面数据接收端 42 用来接收一具有 4:2:2取样格式的主画面影像数据, 而如图 4所示, 接收进 来具有 4:2:2取样格式的主画面影像数据包含一主亮度 Ym及一主色度 Cm, 此时请同时参阅图 5, 图 5为图 4中多个影像数据的亮度与色度于传送的数 据串中的示意图。图 5显示了图 4中具有 4:2:2取样格式的主画面影像数据的 主亮度 Ym及主色度 Cm分別在二个不同的数据通道 (Channel)中依时序传送 的数据串, 主亮度 Ym的数据串包含了由不同取样点所得到的多个主亮度 YmO,Yml,Ym2, · ' ·, 同理, 主色度 Cm的数据串包含了由不同取样点所得到 的多个主色度 CBmO, CRmO, CBm2, CRm2, · · · , 由于 4:2:2取样格式的基本概 念即色度 C(CR、 CB)的取样频率是亮度 Y的二分之一, 因此可知, 主色度 CBm0、 CRmO可为来自同一取样点, 且对应于主亮度 YmO的取样点、 或是 周围取样点的主色度的平均。 同理, 主色度 CBm2、 CRm2及主亮度 Ym2可 为来自同一取样点、 或是周围取样点的主色度、 主亮度的平均。 图 4中的副 画面数据接收端 44可用来接收一具有 4:4:4取样格式的副画面影像数据, 其 中此具有 4:4:4取样格式的副画面影像数据包含一副亮度 Ys、 一第一副色度 CBs、 以及一第二副色度 CRs, 同时由图 5可再度确认, 每一取样点都包含 一副亮度 Ys、 一第一副色度 CBs、 一第二副色度 CRs, 不做任何的色度取样 的缩減, 例如副亮度 Ys0、 第一副色度 CBs0、 及第二副色度 CRsO就对应同 一取样点。 Related to the above-mentioned known patents (US Patent No. 6,529,244 and No. 5,489,947) Please refer to FIG. 4 for the basic structure. FIG. 4 is a functional block diagram of a known image data processing device 40. The image data processing device 40 includes a main picture data receiving end 42, a pair of picture data receiving ends 44, a 4: 4: 4 to 4: 2: 2 format converter 46, a data mixing device 48, and an external video The signal encoding module 50 (TV Encoding Module), the interface channel CI between the data mixing device 48 and the video signal encoding module 50 must comply with the CCIR (or ITU) specifications. The main screen data receiving end 42 is used to receive a main screen image data with a 4: 2 : 2 sampling format, and as shown in FIG. 4, the main screen image data received with a 4: 2: 2 sampling format includes a main brightness Ym and a main chromaticity Cm. At this time, please refer to FIG. 5 at the same time. FIG. 5 is a schematic diagram of the brightness and chromaticity of multiple image data in the transmitted data string in FIG. 4. FIG. 5 shows the main brightness Ym and the main chroma Cm of the main screen image data with the 4: 2: 2 sampling format in FIG. 4 respectively. The data strings are transmitted in time sequence in two different data channels. The data string of Ym contains multiple main luminances YmO, Yml, Ym 2 obtained from different sampling points. Similarly, the data string of main chromaticity Cm contains multiple main luminances obtained from different sampling points. Chroma CBmO, CRmO, CBm2, CRm2, ···, Since the basic concept of the 4: 2: 2 sampling format is that the sampling frequency of chroma C (CR, CB) is one-half of the luminance Y, it can be seen that the main The chrominances CBm0 and CRmO can be from the same sampling point, and correspond to the sampling points of the main luminance YmO, or the average of the main chroma of the surrounding sampling points. Similarly, the main chroma CBm2, CRm2, and main brightness Ym2 can be the average of the main chroma and main brightness from the same sampling point or the surrounding sampling points. The sub-picture data receiving end 44 in FIG. 4 may be used to receive a sub-picture image data having a 4: 4: 4 sampling format, where the sub-picture image data having a 4: 4: 4 sampling format includes a pair of brightness Ys, a The first sub-chroma CBs and a second sub-chroma CRs can be reconfirmed from FIG. 5 at the same time. Each sampling point includes a sub-chroma Ys, a first sub-chroma CBs, and a second sub-chroma CRs. Without any reduction in chroma sampling, for example, the sub-luminance Ys0, the first sub-chroma CBs0, and the second sub-chroma CRsO correspond to the same sampling point.
请继续参阅图 4, 4:4:4至 4:2:2格式转换器 46电连接于副画面数据接收 端 44, 将具有 4:4:4取样格式的副画面影像数据经一删減 (Down- sampling)处 理后, 转换为 4:2:2取样格式的副画面影像数据。 此删减的处理是针对减少 色度取样以达到数据缩减的效果, 因此原本具有 4:4:4取样格式的副画面影 像数据的副亮度 Ys不受到任何影响, 4:4:4至 4:2:2格式转换器 46主要针对 第一副色度 CBs及第二副色度 CRs作处理。 请见图 5, 图 5中显示两种删减 的处理方法 A、 B。 删减 A法是依序于每一取样点交错舍弃第一副色度 CBs 或第二副色度 CRs, 在本例中, 色度 CRsO, CBsl, CRs2, …等被舍弃, 以減少 一半关于色度的数据量。删減 B法则是每隔一取样点完全舍弃该取样点的第 一副色度 CBs及第二副色度 CRs ,再将被舍弃的取样点的前一取样点的第二 副色度 CRs挪后汇整为完整连续的数据串。经过 4:4:4至 4:2:2格式转换器 46 的删减处理后所产生的 4:2:2取样格式的副画面影像数据可视为包含有一 (原 先的)副亮度 Ys、 及一副色度 Cs, 副色度 Cs可视为第一副色度 CBs及第二 副色度 CRs经前述删减 A法或删减: B法处理后所得的结果。 电连接于 4:4:4 至 4:2:2格式转换器 46及主画面数据接收端 42的数据混合装置 48可用来将 具有 4:2:2取样格式的主画面影像数据及具有 4:2:2取样格式的副画面影像数 据经一混合操作 (Mixing Operation)后, 输出一具有 4:2:2取样格式的混合影像 数据。 此具有 4:2:2取样格式的混合影像数据包含一混合亮度 Yg及一混合色 度 Cg, 图 5同样显示混合亮度 Yg及混合色度 Cg分別在二个不同的数据通 道中依时序传送的情形。 Please refer to FIG. 4. The 4: 4: 4 to 4: 2: 2 format converter 46 is electrically connected to the sub-picture data receiving end 44, and the sub-picture image data with the 4: 4: 4 sampling format is deleted ( After down-sampling), it is converted into sub-picture image data in 4: 2: 2 sampling format. This subtraction process is aimed at reducing the chroma sampling to achieve the effect of data reduction. Therefore, the sub-brightness Ys of the sub-picture image data that originally had the 4: 4: 4 sampling format is not affected at all, 4: 4: 4 to 4: The 2: 2 format converter 46 mainly processes the first sub-chroma CBs and the second sub-chroma CRs. Please refer to Figure 5, which shows two processing methods A and B. The subtraction A method discards the first sub-chroma CBs or the second sub-chroma CRs sequentially at each sampling point. In this example, the chroma CRsO, CBsl, CRs 2 , etc. are discarded to reduce Half the amount of data on chroma. The rule of subtraction B is to completely discard the first sub-chroma CBs and second sub-chroma CRs of the sampling point every other sampling point, and then move the second sub-chroma CRs of the previous sampling point to the discarded sampling point. After consolidating into a complete continuous data string. The sub-picture image data in the 4: 2: 2 sampling format generated after the reduction processing of the 4: 4: 4 to 4: 2: 2 format converter 46 can be regarded as including a (original) sub-luminance Ys, and A pair of chroma Cs, and the secondary chroma Cs can be regarded as a result obtained after the first sub-chroma CBs and the second sub-chroma CRs are processed by the foregoing subtraction A method or subtraction: B method. A data mixing device 48 electrically connected to the 4: 4: 4 to 4: 2: 2 format converter 46 and the main screen data receiving end 42 can be used to combine the main screen image data with a 4: 2: 2 sampling format and have a 4: 2: 2 sampling format. After the secondary screen image data in the 2: 2 sampling format is subjected to a mixing operation, a mixed image data having the 4: 2: 2 sampling format is output. The mixed image data with a 4: 2: 2 sampling format includes a mixed luminance Yg and a mixed chrominance C g . FIG. 5 also shows that the mixed luminance Yg and the mixed chrominance Cg are transmitted in time sequence in two different data channels, respectively. Situation.
图 4的主画面数据接收端 42可还包含一 4:2:0至 4:2:2格式转换器 47, 电连接于主画面数据接收端 42,可将一以 取样格式储存 (于一数字影碟, 如 VCD或 DVD等)的主画面数字影像数据转换为前述具有 4:2:2取样格式的 主画面影像数据。 另外, 此外接的视频信号编码模块 50包含一 4:2:2至 4:4:4 格式转换器 49及一视频信号编码器 51CTV Encoder) ,在本实施例中, 进入视 频信号编码器 51的影像数据须符合 4:4:4取样格式, 4:2:2至 4:4:4格式转换器 49则可将传送来的具有 4:2:2取样格式的混合影像数据经一插补 (Up- sampling) 处理后, 产生具有 4:4:4取样格式的混合影像数据 (包含一混合亮度 Yg、 一第 一混合色度 CBg、 以及一第二混合色度 CR , 最后再由视频信号编码器 51 将该具有 4:4:4取样格式的混合影像数据转换为一电视视频信号信号 Ts(TV Video Signal) 0 The main screen data receiving end 42 of FIG. 4 may further include a 4: 2: 0 to 4: 2: 2 format converter 47, which is electrically connected to the main screen data receiving end 4 2 and may store one in a sampling format (in a Digital video discs, such as VCD or DVD, etc., convert the main screen digital image data into the aforementioned main screen image data with a 4: 2: 2 sampling format. In addition, the connected video signal encoding module 50 includes a 4: 2: 2 to 4: 4: 4 format converter 49 and a video signal encoder 51CTV Encoder). In this embodiment, the video signal encoder 51 The image data must conform to the 4: 4: 4 sampling format, and the 4: 2: 2 to 4: 4: 4 format converter 49 can interpolate the transmitted mixed image data with the 4: 2: 2 sampling format ( After Up-sampling processing, mixed image data (including a mixed luminance Yg, a first mixed chrominance CBg, and a second mixed chrominance CR) having a 4: 4: 4 sampling format is generated, and finally encoded by a video signal the device 51 has a 4: 4: 4 sampling format mixing video data is converted into a television video signal Ts (TV video signal) 0
上述用来转换及混合不同取样格式的影像数据的方法及装置,对于解柝 度较高的副画面影像数据而言, 在 4:4:4取样格式删減至 4:2:2取样格式的过 程中即便只丟失了有限数量的色度信息, 仍最后会导致颜色的失真。 请再参 阅图 5,若采用删减 A法依序交错舍弃每一取样点的第一副色度 CBs或第二 副色度 CRs, 在之后图四 4:2:2至 4:4:4格式转换器 49作插补处理, 也就是重 建每一取样点的第一色度 CB及第二色度 CR的过程中, 原本被舍充的色度 CRsO,CBsl, CRs2, …等就会被复制的色度 CRsl, CBs2, CRs3, …等取代回填。 以对应于亮度 YsO的取样点为例, 由于色度 CRsO被丟失, 若以色度 CRsl 复制取代, 最后的颜色就会显示 CBsO与 CRsl混合的颜色, 并非原先正确的 CBsO与 CRsO的结合, 造成该取样点颜色的失真。 若采用删减: B法每隔一取 样点完全舍弃该取样点的第一副色度 CBs及第二副色度 CRs,则丟失的颜色 无法回复, 颜色失真的情形就更为严重, 这些颜色失真的现象在愈为细微的 字幕影像及边缘的影像愈明显。 即使现今的 DVD (或 VCD)播放器芯片多将 图 4的视频信号编码模块 50或视频信号编码器 51内建于同一芯片中, 无须 经由 CCIR规格 (或称 ITU标准)的介面, 但仍承袭前述习之技术的作法, 存 在着数据漏失以使颜色失真的缺点。 发明内容 For the above method and device for converting and mixing image data of different sampling formats, for the sub-picture image data with higher resolution, the 4: 4: 4 sampling format is reduced to the 4: 2: 2 sampling format. Even if only a limited amount of chrominance information is lost in the process, it will still eventually lead to color distortion. Please refer to FIG. 5 again, if the subtractive A method is used to sequentially discard the first sub-chroma CBs or the second sub-chroma CRs of each sampling point, after that, FIG. The format converter 49 performs interpolation processing, that is, in the process of reconstructing the first chroma CB and the second chroma CR of each sampling point, the chroma CRsO, CBsl, CRs2, etc. that were originally rounded will be The duplicated chroma CRsl, CBs2, CRs3,… etc. replace the backfill. Taking the sampling point corresponding to the luminance YsO as an example, since the chrominance CRsO is lost, if the chrominance CRsl Copy and replace, the final color will show the mixed color of CBsO and CRsl, which is not the original correct combination of CBsO and CRsO, which will cause the color of the sampling point to be distorted. If the subtraction: B method completely discards the first pair of chroma CBs and the second pair of chroma CRs at every sampling point, the lost colors cannot be recovered, and the color distortion is even more serious. These colors Distortion becomes more apparent with subtle subtitle images and edge images. Even if the current DVD (or VCD) player chip mostly incorporates the video signal encoding module 50 or the video signal encoder 51 of FIG. 4 in the same chip, it does not need to pass the interface of the CCIR specification (or ITU standard), but it is still inherited. The foregoing conventional technique has the disadvantage of data loss to distort colors. Summary of the invention
因此本发明的主要目的在于提供一种可转换及混合多个具有不同的取 样格式 (Sampling Foirmat:)的影像数据的装置及方法, 以解决上迷问题。  Therefore, the main object of the present invention is to provide a device and method that can convert and mix multiple image data with different sampling formats (Sampling Foirmat :), so as to solve the problem.
在本发明中, 我们以新型动态影像压缩标准 (MPEG- l, MPEG-2)所制定 的规格为基础, 将一具有 4:2:2取样格式的主画面影像数据经一插补  In the present invention, based on the specifications established by the new dynamic image compression standards (MPEG-1, MPEG-2), an image data of a main screen with a 4: 2: 2 sampling format is interpolated.
(Up- sampling)处理后成为具有 4:4:4取样格式的主画面影像数据, 再将处理后 具有 4:4:4取样格式的主画面影像数据与一具有 4:4:4取样格式的副画面影像 数据混合, 以避免已知技术在将 4:4:4取样格式转换至 4:2:2取样格式的过程 中丢失了部分的色度信息, 而导致颜色的失真, 并因此能充分利用将一视频 信号编码器内建于 DVD (或 VCD)播放器芯片系统中的好处, 在画面品质的 提升上有显著的效果。 (Up-sampling) becomes the main screen image data with 4: 4: 4 sampling format after processing, and then processes the main screen image data with 4: 4: 4 sampling format and a 4: 4: 4 sampling format. The secondary screen image data is mixed to avoid the loss of some chromaticity information during the conversion of the 4: 4: 4 sampling format to the 4: 2: 2 sampling format by known technologies, resulting in color distortion, and thus can fully Taking advantage of a video signal encoder built into a DVD (or VCD) player chip system, it has a significant effect on improving the picture quality.
本发明的目的为提供一种用来转换及混合多个影像数据 (Video Data)的 装置,该多个影像数据分别具有多种取样格式 (Sampling Format:),该多种取样 格式至少包含有一高取样频率色度 (Chrominance)格式以及一低取样频率色 度格式, 该装置包含有一第一数据接收端, 用来接收一具有该低取样频率色 度格式的第一影像数据; 一第二数据接收端, 用来接收一具有该高取样频率 色度格式的第二影像数据; 一格式转换模块, 电连接于该第一数据接收端, 用来将具有该低取样频率色度格式的第一影像数据经一插补 (Up- sampling)处 理后成为具有该高取样频率色度格式的第一影像数据; 以及一数据混合装 置, 电连接于该格式转换模块及该第二数据接收端, 用来将具有该高取样频 率色度格式的第一影像数据及具有该高取样频率色度格式的第二影像数据 混合 (Mix)后, 输出一具有该高取样频率色度格式的混合影像数据。 本发明的另一目的为提供一种影像数据处理装置,其包含有一主画面数 据接收端, 用来接收一具有 4:2:2取样格式的主画面影像数据, 其中该具有 4:2:2取样格式的主画面影像数据包含一主亮度值 (Luminance)及一主色度值 (Chrominance); 一副画面数据接收端, 用来接收一具有 4:4:4取样格式的副画 面影像数据, 其中该具有 4:4:4取样格式的副画面影像数据包含一副亮度值、 一第一副色度值、 以及一第二副色度值; 一格式转换模块, 电连接于该主画 面数据接收端, 用来将该具有 4:2:2取样格式的主画面影像数据经一插朴 (Up- sampling)处理后成为该具有 4:4:4取样格式的主画面影像数据, 其中该具 有 4:4:4取样格式的主画面影像数据包含一主亮度值、 一第一主色度值、 以 及一第二主色度值; 一数据混合装置, 电连接于该格式转换模块及该副画面 数据接收端, 用来将该具有 4:4:4取样格式的主画面影像数据及该具有 4:4:4 取样格式的副画面影像数据经一混合操作 (Mixing Operation)后, 输出一具有 4:4:4取样格式的混合影像数据; 以及一视频信号编码器 (TV Encoder) , 电连 接于该数据混合装置, 用来将该具有 4:4:4取样格式的混合影像数据转换为 一电视视频信号信号 (TV Video Signal)。 An object of the present invention is to provide a device for converting and mixing a plurality of video data, each of which has a plurality of sampling formats (Sampling Format :). Sampling frequency chrominance format and a low sampling frequency chrominance format. The device includes a first data receiving end for receiving a first image data having the low sampling frequency chrominance format. A second data receiving Terminal for receiving a second image data having the high sampling frequency chroma format; a format conversion module electrically connected to the first data receiving terminal for receiving the first image having the low sampling frequency chroma format After the data is processed by up-sampling, it becomes the first image data having the high sampling frequency chrominance format; and a data mixing device electrically connected to the format conversion module and the second data receiving end, for After mixing (Mix) the first image data having the high sampling frequency chroma format and the second image data having the high sampling frequency chroma format, a Mixing the high sampling frequency chrominance format video data. Another object of the present invention is to provide an image data processing device, which includes a main frame data receiving end for receiving a main frame image data having a 4: 2 : 2 sampling format, wherein the main frame image data has a 4: 2: 2 The main screen image data in the sampling format includes a main luminance value (Luminance) and a main chrominance value (Chrominance); a pair of screen data receiving ends is used to receive a sub screen image data with a 4: 4: 4 sampling format, The sub-picture image data with a 4: 4: 4 sampling format includes a pair of luminance values, a first pair of chrominance values, and a second pair of chrominance values; a format conversion module electrically connected to the main screen data The receiving end is used to process the main screen image data with a 4: 2: 2 sampling format into an main screen image data with a 4: 4: 4 sampling format after an Up-sampling process, where the The main screen image data in the 4: 4: 4 sampling format includes a main luminance value, a first main chrominance value, and a second main chrominance value. A data mixing device is electrically connected to the format conversion module and the auxiliary unit. Picture data receiving end 4: 4: the main screen 4 sampling format of image data and that has a 4: mixing 4 sampling format: 4: subpicture 4 sampling format of video data via a mixing operation (Mixing Operation), the output having a 4: 4 Image data; and a video signal encoder (TV Encoder) electrically connected to the data mixing device for converting the mixed image data having a 4: 4: 4 sampling format into a TV Video Signal .
本发明的又一目的为提供一种用来转换及混合多个影像数据 (Video Signal)以防止数据漏失的方法, 该多个影像数据分别具有多种取样格式 (Sampling Format) , 该多种取样格式至少包含有一高取样频率色度  Another object of the present invention is to provide a method for converting and mixing a plurality of video data (Video Signal) to prevent data leakage. The plurality of video data has multiple sampling formats, respectively. Format contains at least a high sampling frequency
(Chrominance)格式以及一低取样频率色度格式, 该方法包含有分别接收一具 有该低取样频率色度格式的第一影像数据以及一具有该高取样频率色度格 式的第二影像数据;将具有该低取样频率色度格式的第一影像数据转换具有 该高取样频率色度格式的第一影像数据; 以及将具有该高取样频率色度格式 的第一影像数据及具有该高取样频率色度格式的第二影像数据混合 (Mix)后, 输出一具有该高取样频率色度格式的混合影像数据。 (Chrominance) format and a low sampling frequency chroma format, the method includes receiving a first image data having the low sampling frequency chroma format and a second image data having the high sampling frequency chroma format; The first image data having the low sampling frequency chroma format converts the first image data having the high sampling frequency chroma format; and the first image data having the high sampling frequency chroma format and the high sampling frequency color After mixing (Mix) the second image data in the degree format, a mixed image data having the high sampling frequency chrominance format is output.
本发明的再一目的为提供一种于一影像数据处理装置中处理影像数据 的方法, 该影像数据处理装置包含有一信号接收模块、 一格式转换模块、 以 及一数据混合装置,该方法包含有使用该信号接收模块分别接收一具有 4:2:2 取样格式的主画面影像数据以及一具有 4:4:4取样格式的副画面影像数据; 使用该格式转换模块将该具有 4:2:2取样格式的主画面影像数据转换为该具 有 4:4:4取样格式的主画面影像数据;以及使用该数据混合装置将该具有 4:4:4 取样格式的主画面影像数据及该具有 4:4:4取样格式的副画面影像数据经一 混合操作 (Mixing Operation)后, 输出一具有 4:4:4取样格式的混合影像数据。 附图说明 Another object of the present invention is to provide a method for processing image data in an image data processing device. The image data processing device includes a signal receiving module, a format conversion module, and a data mixing device. The method includes using The signal receiving module receives a main screen image data with a 4: 2: 2 sampling format and a sub screen image data with a 4: 4: 4 sampling format; using the format conversion module to sample the data with 4: 2: 2 Format the main screen image data with the 4: 4: 4 sampling format; and use the data mixing device to convert the main screen image data with the 4: 4: 4 sampling format and the 4: 4 : 4 sub-picture image data After the mixing operation, a mixed image data with a 4: 4: 4 sampling format is output. BRIEF DESCRIPTION OF THE DRAWINGS
图 1为亮度与色度于 4:2:0取样格式下在一影像平面中分布的示意图。 图 2为亮度与色度于 4:2:2取样格式下在一影像平面中分布的示意图。 图 3为亮度与色度于 4:4:4取样格式下在一影像平面中分布的示意图。 图 4为已知一影像数据处理的功能方块图。 FIG. 1 is a schematic diagram showing the distribution of luminance and chrominance in an image plane under a 4: 2: 0 sampling format. FIG. 2 is a schematic diagram showing the distribution of luminance and chrominance in an image plane in a 4: 2: 2 sampling format. FIG. 3 is a schematic diagram showing the distribution of brightness and chrominance in an image plane in a 4 : 4: 4 sampling format. FIG. 4 is a functional block diagram of a known image data processing.
图 5为图 4中多个影像数据的亮度与色度于传送的数据串中的示意图。 图 6为本发明用来转换及混合多个影像数据的装置的一实施例的功能 方块图。  FIG. 5 is a schematic diagram of brightness and chrominance of a plurality of image data in the transmitted data string in FIG. 4. FIG. 6 is a functional block diagram of an embodiment of a device for converting and mixing multiple image data according to the present invention.
图 7为本发明用来转换及混合多个影像数据的装置的另一实施例的功 能方块图。  FIG. 7 is a functional block diagram of another embodiment of an apparatus for converting and mixing multiple image data according to the present invention.
图 8为本发明一方法实施例的流程图。  FIG. 8 is a flowchart of a method embodiment of the present invention.
图 9为本发明另一方法实施例的流程图。  FIG. 9 is a flowchart of another method embodiment of the present invention.
图 10为本发明的一影像数据处理装置于实际实施时的一实施例的功能 方块图。  FIG. 10 is a functional block diagram of an image data processing device according to an embodiment of the present invention during actual implementation.
图 11为图 10中多个影像数据的亮度与色度于传送数据串中的示意图。 图 12为图 10中的数据混合装置的一实施例的示意图。  FIG. 11 is a schematic diagram of brightness and chrominance of a plurality of image data in the transmission data string in FIG. 10. FIG. 12 is a schematic diagram of an embodiment of the data mixing device in FIG. 10.
图 13为图 10影像数据处理装置于实际实施时的另一实施例的功能方块 图。  FIG. 13 is a functional block diagram of another embodiment of the image data processing apparatus in FIG. 10 when it is actually implemented.
图 14为本发明又一方法实施例的流程图。 附图符号说明  FIG. 14 is a flowchart of another method embodiment of the present invention. DESCRIPTION OF SYMBOLS
10、 20、 30 影像平面  10, 20, 30 image plane
11、 21、 31 图元 (取样点)  11, 21, 31 primitives (sampling points)
12、 22、 32 (垂直方向)箭号  12, 22, 32 (vertical) arrows
14、 24、 34 (水平方向)箭号  14, 24, 34 (horizontal) arrows
16、 26、 36像块空间  16, 26, 36 block space
18、 28、 38 行  18, 28, 38 lines
40、 80 影像数据处理装置 '  40, 80 image data processing device ''
44、 82 主画面数据接收端 44、 84 副画面数据接收端 44, 82 Main screen data receiver 44, 84 secondary picture data receivers
46 4:4:4至 4:2:2格式转换器  46 4: 4: 4 to 4: 2: 2 Format Converter
48、 68、 88 数据混合装置  48, 68, 88 data mixing device
49、 89 4:2:2至 4:4:4格式转换器  49, 89 4: 2: 2 to 4: 4: 4 format converter
50 视频信号编码模块  50 video signal encoding module
51、 71、 81 视频信号编码器  51, 71, 81 video signal encoder
60、 70 装置  60, 70 devices
62、 72 第一数据接收端  62, 72 First data receiving end
64、 74 第二数据接收端  64, 74 Second data receiving end
65、 75、 85格式转换模块  65, 75, 85 format conversion module
73 第一中间格式转换器  73 first intermediate format converter
76 第一中间格式转换器  76 first intermediate format converter
87 4:2:2至 4:4:4格式转换器 具体实施方式  87 4: 2: 2 to 4: 4: 4 format converter
请参阅图 6, 图 6为本发明可用来转换及混合多个影像数据 (Video Data) 的装置 60的一实施例的功能方块图。 请注意, 本实施例中包含了二影像数 据; 一第一影像数据 IS1及一第二影像数据IS2, 而此二影像数据可分别具 有二种取样格式 (Sampling Format), 包含有一高取样频率色度 (Chrominance) 格式以及一低取样频率色度格式, 由此二取样格式的名字即可知, 高取样频 率色度格式对色度的取样频率高于低取样频率色度格式, 举例来说, 若对照 图 1至图 3在新型动态影像压缩标准 (MPEG-l,MPEG-2)下对于色度取样的基 本概念的描述, 若高取样频率色度格式可对应于 4:4:4取样格式, 则低取样 频率色度格试可对应于 4:2:2取样格式或 4:2:0取样格式。装置 60包含有一第 一数据接收端 62、 一第二数据接收端 64、 一格式转换模块 65、 以及一数据 混合装置 68。 第一数据接收端 62用来接收一具有低取样频率色度格式的第 一影像数据 IS1 , 第二数据接收端 64用来接收一具有高取样频率色度格式的 第二影像数据 IS2。格式转换模块 65则电连接于第一数据接收端 62, 用来将 具有低取样频率色度格式的第一影像数据 IS1经一插补 (Up- sampling)处理后 成为具有高取样频率色度格式的第一影像数据 IS1', 此插补的处理过程在接 下来的叙述及实施例中再加以详述。 最后, 数据混合装置 68电连接于格式 转换模块 65及第二数据接收端 64之后, 用来将具有高取样频率色度格式的 第一影像数据 ISr及具有高取样频率色度格式的第二影像数据 IS2加以混合 (Mk)后, 输出一具有高取样频率色度格式的混合影像数据 ISg, 完成具有二 种不同取样频率色度格式的影像数据的转换及混合。 (Jason : 建议将图 6的 高取样频率色度格式的 IS1改成 ISr , 以利辨别) Please refer to FIG. 6. FIG. 6 is a functional block diagram of an embodiment of a device 60 for converting and mixing a plurality of video data according to the present invention. Please note that this embodiment includes two image data; a first image data IS1 and a second image data IS2, and the two image data may each have two sampling formats, including a high sampling frequency color. Chrominance format and a low sampling frequency chroma format. The name of the two sampling formats shows that the sampling frequency of chroma for high sampling frequency chroma format is higher than that of low sampling frequency chroma format. For example, if Referring to the description of the basic concepts of chrominance sampling under the new motion image compression standards (MPEG-1, MPEG-2) in FIGS. 1 to 3, if the high-sampling-frequency chrominance format can correspond to the 4: 4: 4 sampling format, The low sampling frequency chroma grid test can correspond to the 4: 2: 2 sampling format or the 4: 2: 0 sampling format. The device 60 includes a first data receiving end 62, a second data receiving end 64, a format conversion module 65, and a data mixing device 68. The first data receiving end 62 is configured to receive a first image data IS1 having a low sampling frequency chroma format, and the second data receiving end 64 is configured to receive a second image data IS2 having a high sampling frequency chroma format. The format conversion module 65 is electrically connected to the first data receiving end 62, and is used to process the first image data IS1 with a low sampling frequency chroma format into an chroma format with a high sampling frequency after an up-sampling process. The interpolation process of the first image data IS1 ′ is described in detail in the following description and embodiments. Finally, the data mixing device 68 is electrically connected to the format After the conversion module 65 and the second data receiving end 64 are used to mix (Mk) the first image data ISr having a high sampling frequency chroma format and the second image data IS2 having a high sampling frequency chroma format, and output A mixed image data ISg with a high sampling frequency chroma format completes the conversion and mixing of image data with two different sampling frequency chroma formats. (Jason: It is recommended to change IS1 in the high-sampling-frequency chroma format of Figure 6 to ISr to facilitate identification)
概括而言, 图 6实施例的装置 60披露了本发明重要的技术特征之一, 就是将一具有低取样频率色度格式的影像数据 (第一影像数据 IS1)转换成为 具有高取样频率色度格式的影像数据 (第一影像数据 isr), 再与另一具有高 取样频率色度格式的影像数据 (第二影像数据 IS2)加以混合,在此影像数据的 转换及混合的过程中, 不会发生 "高取样频率色度格式至低取样频率色度格 式" 的转换过程, 也就是无须丢弃任何色度相关的数据, 如此一来也不会有 色度数据漏失的情形。 请注意, 影像数据的数量无须如本实施例中限定为二 个, 若将三个或三个以上具有不同取样频率色度格式的影像数据时, 仍适用 本发明的技术特征, 意即将此三个或三个以上的影像数据中具有低取样频率 色度格式的影像数据先转换为具有高取样频率色度格式的影像数据,再将此 三个或三个以上皆具有高取样频率色度格式的影像数据加以混合,避免色度 数据的丢失。 请参阅图 7, 图 7为本发明用来转换及混合多个影像数据的装 置 70的另一实施例的功能方块图。 图 7实施例的装置 70大致上与图 6实施 例的装置 60极为相似, 具有相同名称的元件亦具有相同的功能, 但此实施 例利用新增的一些元件以更仔细地描述本发明的技术特征。如同图 6中的装 置 70,图 7的装置 70亦包含有一第一数据接收端 72、一第一数据接收端 74、 一格式转换模块 75、 以及一数据混合装置 "78, 同样利用第一数据接收端 72 接收一具有低取样频率色度格式的第一影像数据 IS1 , 使用第一数据接收端 74接收一具有高取样频率色度格式的第二影像数据 IS2, 并使用格式转换模 块 75具有低取样频率色度格式的第一影像数据 IS1转换为具有高取样频率色 度格式的第一影像数据 IS1',最后再利用数据混合装置 78将具有高取样频率 色度格式的第一影像数 isr及具有高取样频率色度格式的第二影像数据 IS2混合并输出一具有高取样频率色度格式的混合影像数据 ISgo In summary, the device 60 of the embodiment of FIG. 6 discloses one of the important technical features of the present invention, which is to convert an image data (first image data IS1) with a low sampling frequency chroma format into a high sampling frequency chroma Format image data (first image data isr), and then mix it with another image data (second image data IS2) with high sampling frequency chrominance format. During the conversion and mixing of this image data, The conversion process from "high sampling frequency chroma format to low sampling frequency chroma format" occurs, that is, there is no need to discard any chroma-related data, so there will be no loss of chroma data. Please note that the number of image data does not need to be limited to two as in this embodiment. If three or more image data with different sampling frequency and chroma formats are used, the technical features of the present invention are still applicable. One or more of the image data having a low sampling frequency chroma format is first converted into image data having a high sampling frequency chroma format, and then three or more of the image data has a high sampling frequency chroma format The image data is mixed to avoid the loss of chrominance data. Please refer to FIG. 7. FIG. 7 is a functional block diagram of another embodiment of a device 70 for converting and mixing multiple image data according to the present invention. The device 70 of the embodiment of FIG. 7 is substantially similar to the device 60 of the embodiment of FIG. 6, and the components with the same name also have the same functions, but this embodiment uses some additional components to describe the technology of the present invention in more detail. feature. Like the device 70 in FIG. 6, the device 70 in FIG. 7 also includes a first data receiving end 72 , a first data receiving end 74 , a format conversion module 75, and a data mixing device "78. The receiving end 72 receives a first image data IS1 having a low sampling frequency chroma format, and uses the first data receiving end 74 to receive a second image data IS2 having a high sampling frequency chroma format, and uses the format conversion module 75 to have a low The first image data IS1 of the sampling frequency chroma format is converted into the first image data IS1 'of the high sampling frequency chroma format. Finally, the data mixing device 78 is used to convert the first image number isr The second image data IS2 having a high sampling frequency chroma format mixes and outputs a mixed image data ISgo having a high sampling frequency chroma format
不同于图 6 , 图 7所示的格式转换模块 75是由一第一中间格式转换器 73以及一第二中间格式转换器 76所构成,且此二影像数据 (第一影像数据 IS1 及第二影像数据 IS2)不只具有二种取样格式 (高取样频率色度格式及低取样 频率色度格式),还还包含一中取样频率色度格式,此中取样频率色度格式对 色度的取样频率是介于高取样频率色度格式及低取样频率色度格式之间,举 例来说,若对照图 1至图 3于新型动态影像压缩标准 (MPEG-l, MPEG-2)下对 于色度取样的基本概念的描述, 高取样频率色度格式可对应于 4:4:4取样格 式, 中取样频率色度格式可对应于 4:2:2取样格式, 而低取样频率色度格式 可对应于 4:2:0取样格式。 第一及第二中间格式转换器 "76的设置代表第一影 像数据 IS1的格式转换过程为两段式:第一中间格式转换器 73将具有低取样 频率色度格式的第一影像数据 IS1经一第一插补处理后, 成为具有中取样频 率色度格式的第一影像数据 IS1", 而第二中间格式转换器 76电连接于第一 中间格式转换器 73之后, 用来将具有中取样频率色度格式的第一影像数据 isi"经一第二插补处理后,成为具有高取样频率色度格式的第一影像数据 isr 。 其中第一及第二插朴处理的原理与前述插朴处理相同, 都将于后详述。 请 注意,如同在图 6实施例中所述,本发明所处理的影像数据的数量无须限定, 且取样格式种类的数量亦无须限定,只要在最后将具有不同取样频率色度格 式的多个影像数据加以混合前,全都转换至其中一最高取样频率色度格式之 下进行,则可避免在高取样频率色度格式转低取样频率色度格式的过程中有 色度数据的丟失, 符合本发明的技术特征。 此外, 本实施例的装置 70还包 含一视频信号编码器 71 (TV Encoder) , 电连接于数据混合装置 78之后, 可用 来将具有高色度取样格式的混合影像数据 ISg转换为一电视视频信号信号 (TV Video Signal)Ts , 如此亦说明了本实施例将视频信号编码器 71内建于系 统中的架构。 (Jason: 建议将图 7的高取样频率色度格式的 IS1改成 IS1'、 中 取样频率色度格式的 IS1改成 IS1", 以利辨别) Unlike FIG. 6, the format conversion module 75 shown in FIG. 7 is constituted by a first intermediate format converter 73 and a second intermediate format converter 76, and this two image data (first image data and second IS1 Two image data IS2) not only have two sampling formats (high sampling frequency chroma format and low sampling Frequency chroma format), and also includes a sampling frequency chroma format, where the sampling frequency chroma format sampling frequency is between the high sampling frequency chroma format and the low sampling frequency chroma format For example, if the basic concepts of chroma sampling are described under the new motion image compression standards (MPEG-1, MPEG-2) in Figures 1 to 3, the high sampling frequency chroma format can correspond to 4: 4: 4 The sampling format, the medium sampling frequency chroma format may correspond to the 4: 2 : 2 sampling format, and the low sampling frequency chroma format may correspond to the 4: 2: 0 sampling format. The setting of the first and second intermediate format converters "76" represents that the format conversion process of the first image data IS1 is a two-stage process. after a first post-interpolation process, to become the first video data IS1 "chroma format having the sampling frequency, and the second intermediate format converter 76 is electrically connected to the first intermediate format converter 73, is used to having the The first image data isi "of the sampling frequency chrominance format is processed by a second interpolation to become the first image data isr having a high sampling frequency chrominance format. The principles of the first and second interpolation processing are the same as the aforementioned interpolation. The same processing is performed in the same way, which will be described in detail later. Please note that, as described in the embodiment of FIG. 6, the number of image data processed by the present invention is not limited, and the number of types of sampling formats is not limited. Before mixing multiple image data with different sampling frequency chrominance formats, all of them are converted to one of the highest sampling frequency chrominance formats to avoid conversion in high sampling frequency chrominance formats. The loss of chroma data during the low-sampling frequency chroma format is consistent with the technical features of the present invention. In addition, the device 70 of this embodiment further includes a video signal encoder 71 (TV Encoder), which is electrically connected to the data mixing device 78 After that, it can be used to convert the mixed image data ISg with a high chroma sampling format into a TV Video Signal Ts. This also illustrates the architecture of the video signal encoder 71 built into the system in this embodiment. (Jason: It is recommended to change IS1 in the high sampling frequency chroma format to IS1 'in Figure 7, and change IS1 in the medium sampling frequency chroma format to IS1 "to facilitate identification)
依据上逑图 6实施例的装置 60,本发明用来转换及混合多个影像数据以 防止数据漏失的一方法实施例可归纳于下列步骤, 并请见图 8, 图 8为本发 明一方法实施例的流程图:  According to the device 60 of the embodiment shown in FIG. 6, a method for converting and mixing multiple image data to prevent data loss according to the present invention can be summarized in the following steps, and please refer to FIG. 8, which is a method of the present invention. Flowchart of the embodiment:
步骤 100: 分别接收一具有低取样频率色度格式的第一影像数据 IS1以 及一具有高取样频率色度格式的第二影像数据 IS2;  Step 100: Receive a first image data IS1 having a low sampling frequency chroma format and a second image data IS2 having a high sampling frequency chroma format, respectively.
步骤 101 : 将具有低取样频率色度格式的第一影像数据 IS1转换为具有 高取样频率色度格式的第一影像数据 isr;  Step 101: Convert the first image data IS1 having a low sampling frequency chroma format into the first image data isr having a high sampling frequency chroma format.
步骤 102: 将具有高取样频率色度格式的第一影像数据 IS 及具有高取 样频率色度格式的第二影像数据 IS2混合后, 输出一具有高取样频率色度格 式的混合影像数据 ISg; Step 102: After mixing the first image data IS with a high sampling frequency chroma format and the second image data IS2 with a high sampling frequency chroma format, output a chroma grid with high sampling frequency Mixed image data ISg;
同理, 基于上述图 7实施例的装置 79, 并以处理具有高、 中、 低三种不 同取样频率色度格式的第一及第二影像数据 IS2为依据, 本发明用来转换及 混合多个影像数据以防止数据漏失的另一方法实施例可归纳于下列步驟,并 请见图 9, 图 9为本发明的另一方法实施例的流程图; Similarly, based on the device 79 in the embodiment of FIG. 7 described above, and based on processing the first and second image data IS2 with three different sampling frequency chrominance formats of high, medium, and low, the present invention is used to convert and mix multiple An embodiment of another method for preventing image data from missing image data can be summarized in the following steps, and please refer to FIG. 9, which is a flowchart of another method embodiment of the present invention;
步骤 200: 分别接收一具有低取样频率色度格式的第一影像数据 IS1 以 及一具有高取样频率色度格式的第二影像数据 IS2;  Step 200: Receive a first image data IS1 having a low sampling frequency chroma format and a second image data IS2 having a high sampling frequency chroma format, respectively.
步驟 201 : 将具有低取样频率色度格式的第一影像数据 IS1转换为具有 高取样频率色度格式的第一影像数据 IS1";  Step 201: Convert the first image data IS1 having a low sampling frequency chroma format into the first image data IS1 having a high sampling frequency chroma format.
步驟 202: 将具有低取样频率色度格式的第一影像数据 IS1转换为具有 高取样频率色度格式的第一影像数据 isr;  Step 202: Convert the first image data IS1 having a low sampling frequency chroma format into the first image data isr having a high sampling frequency chroma format.
步驟 203: 将具有高取样频率色度格式的第一影像数据 ISr及具有高取 样频率色度格式的第二影像数据 IS2混合后, 输出一具有高取样频率色度格 式的混合影像数据 ISg;  Step 203: After mixing the first image data ISr with a high sampling frequency chroma format and the second image data IS2 with a high sampling frequency chroma format, output a mixed image data ISg with a high sampling frequency chroma format;
' 步骤 204: 将具有高色度取样格式的混合影像数据 ISg转换为一电视视 频信号信号。 'Step 204: The mixed image data ISg having a high chroma sampling format is converted into a television video signal signal.
事实上, 在实际实施时, 图 6及图 7所示的装置 60、 70皆是应用于一 新型动态影像压缩标准 (MPEG-1, MPEG-2)和 JPEG的解码器 (Decoder)中, 因 此前述的第一影像数据 IS1、 第二影像数据 IS2、 混合影像数据 ISg、 高取样 频率色度格式、 中取样频率色度格式、 以及低取样频率色度取样是皆符合 MPEG-1和 MPEG-2的规格 (其中三种 (低、 中、 高)取样频率色度格式可分别 对应至图 1至图 3所示的 4:2:0取样格式、 4:22取样格式、 以及 4:4:4取样格 式), 且第一影像数据 IS1可对应于一数字影碟 (VCD和 DVD)格式的主画面 (Main-Picture)影像数据, 同时第二影像数据 IS2可对应于一数字影碟格式的 副画面 (Sub-Picture, SP)影像数据或是一数字影碟格式的屏幕影像设定 In fact, in actual implementation, the devices 60 and 70 shown in FIG. 6 and FIG. 7 are applied to a new type of moving image compression standard (MPEG-1, MPEG-2) and JPEG decoder (Decoder), so The aforementioned first image data IS1, second image data IS2, mixed image data ISg, high sampling frequency chroma format, medium sampling frequency chroma format, and low sampling frequency chroma sampling all conform to MPEG-1 and MPEG-2 Specifications (of which three (low, medium, high) sampling frequency chroma formats can correspond to the 4: 2 : 0 sampling format, 4: 2 : 2 sampling format, and 4: 4 shown in Figures 1 to 3, respectively. : 4 sampling format), and the first image data IS1 may correspond to a main-picture image data of a digital video disc (VCD and DVD) format, and the second image data IS2 may correspond to a sub-image of a digital video disc format. Sub-Picture (SP) image data or screen image settings in a digital video disc format
(On-screen Display,〇SD)数据 (为便于说明, 本说明书中的副画面影像数据是 指这两种数据)。 请参阅图 10, 图 10为本发明的一影像数据处理装置 80在 实际实施时的一实施例的功能方块图, 并可视为图 6实施例的一详细实施例 。 影像数据处理装置 80包含有一主画面数据接收端 82、 一副画面数据接收 端 84、 一格式转换模块 85、 一数据混合装置 88、 以及一视频信号编码器 81 。 主画面数据接收端 82可接收一具有 4:2:2取样格式的主画面影像数据, 同 时副画面数据接收端 84接收一具有 4:4:4取样格式的副画面影像数据。 格式 转换模块 85电连接于主画面数据接收端 82, 用来将具有 4:2:2取样格式的主 画面影像数据经插补处理后成为具有 4:4:4取样格式的主画面影像数据, 因 此, 此格式转换模块 85可视为一 4:2:2至 4:4:4格式转换器。 此具有 4:4:4取 样格式的主画面影像数据会传送至数据混合装置 88 , 与具有 4:4:4取样格式 的副画面影像数据一同经一混合操作 (Mixing Opemtion)后, 输出一具有 4:4:4 取样格式的混合影像数据。 最后电连接于数据混合装置 88后的视频信号编 码器 81可将具有 4:4:4取样格式的混合影像数据转换为一电视视频信号信号 (TV Video Signal) 0 (On-screen Display, 0SD) data (for ease of explanation, the sub-screen image data in this manual refers to these two types of data). Please refer to FIG. 10. FIG. 10 is a functional block diagram of an embodiment of an image data processing device 80 in actual implementation of the present invention, and can be regarded as a detailed embodiment of the embodiment of FIG. 6. The image data processing device 80 includes a main picture data receiving end 82, a pair of picture data receiving ends 84, a format conversion module 85, a data mixing device 88, and a video signal encoder 81. The main picture data receiving end 82 may receive a main picture image data having a 4: 2: 2 sampling format, the same as The sub-picture data receiving end 84 receives a sub-picture image data having a 4: 4: 4 sampling format. The format conversion module 85 is electrically connected to the main screen data receiving end 82, and is used for converting the main screen image data having a 4: 2: 2 sampling format into the main screen image data having a 4: 4: 4 sampling format after interpolation processing. Therefore, the format conversion module 85 can be regarded as a 4: 2 : 2 to 4: 4: 4 format converter. The main screen image data with a 4: 4: 4 sampling format will be transmitted to the data mixing device 88, and after a mixing operation (Mixing Opemtion) with the sub screen image data with a 4: 4: 4 sampling format, a 4: 4: 4 Mixed image data in sampling format. Finally, the video signal encoder 81 electrically connected to the data mixing device 88 can convert the mixed image data with a 4: 4: 4 sampling format into a TV Video Signal. 0
请继续参阅图 10, 具有 4:2:2取样格式的主画面影像数据包含一主亮度 Please continue to refer to FIG. 10, the main screen image data with 4: 2: 2 sampling format includes a main brightness
(Luminance) Ym及一主色度 (Chrominance) Cm,具有 4:4:4取样格式的副画面影 像数据包含一副亮度 Ys、 一第一副色度 Ysb、 以及一第二副色度 Ysr, 而具 有 4:4:4取样格式的主画面影像数据包含一主亮度 Ym、 一第一主色度 CBm、 以及一第二主色度 CRm。 第一主色度 CBm及第二主色度 CRm是由格式转 换模块 85将主色度 Cm经插补处理后产生。 请参阅图 11 , 图 11为图 10中 多个影像数据的亮度与色度于传送的数据串中的示意图。 主亮度 Ym的数据 串包含了由不同取样点所得到的多个主亮度 YmO, Yml, Ym2, · · ·, 而由于 4:2:2取样格式的基本概念即色度 C(CR、 CB)的取样频率是亮度 Y的二分之一, 如此可知,于主亮度 Cm的数据串的多个主色度 CBmO, CRmO, CBm2, CRm2, …中, 主色度 CBm0、 CRmO来自同一取样点, 且对应于主亮度 YmO的取样 点, 而主色度 CBm2、 CRm2及主亮度 Ym2来自同一取样点。 前述的插补处 理即是利用一数性 (Mathematical)組合将主色度 Cm的取样频率加倍。 请见图 11,上述的数性組合可以一线性 (Linear)組合完成,以新增的第一主色度 CBma 为例,其可以利用其余第一主色度 CBmO, CBm2,CBm4, · · ·.的分量组合而成, 如下述的数学式所示: CBma=A-2(n-l) X CBm-2(n- l)+ ' "+A-2 X CBm- 2+A0 X CBmO+A2 X CBm2+ · ' · +A2n X CBm2n, 其中 A-2(n- 1) , · · · A-2, AO, A2, · · · .A2n 皆为常数 (Constant), 分别代表其所对应的主色度对于新增的第一主色度 CBma所占的比重, 通常愈邻近该新增第一主色度 CBma所占的比重愈大。 举例而言, 如图 11所示, 新增的第一主色度 CBma可以直接利用复制第一 主色度 CBmO或第一主色度 CBm2完成 (CBma=CBm0或 CBma=CBm2),或者 将相邻的二第一主色度 CBmO、 CBm2平均 (Average)以产生此新增的第一主色 度 CBma(CBma=0.5*CBmO+0.5*CBm2)。 同理, 其他所需新增的第一主色度及 第二主色度 (如图 11中所示的 CRma, CBmb, Crmb, …等)可利用与上述相似 或相同的方法产生。 (Luminance) Ym and a main chrominance (Cm), the sub-picture image data having a 4: 4: 4 sampling format includes a pair of luminance Ys, a first pair of chroma Ysb, and a second pair of chroma Ysr, The main screen image data having a 4: 4: 4 sampling format includes a main luminance Ym, a first main chroma CBm, and a second main chroma CRm. The first main chroma CBm and the second main chroma CRm are generated by the format conversion module 85 after the main chroma Cm is interpolated. Please refer to FIG. 11. FIG. 11 is a schematic diagram of brightness and chrominance of a plurality of image data in the transmitted data string in FIG. 10. The main luminance Ym data string contains multiple main luminances YmO, Yml, Ym2, ... obtained from different sampling points, and because the basic concept of the 4: 2: 2 sampling format is chrominance C (CR, CB) The sampling frequency is one-half of the luminance Y. Therefore, it can be seen that among the plurality of main chromaticities CBmO, CRmO, CBm2, CRm2, ... in the data string of the main luminance Cm, the main chromaticities CBm0, CRmO come from the same sampling point, And corresponding to the sampling point of the main luminance YmO, the main chroma CBm2, CRm2 and the main luminance Ym2 are from the same sampling point. The aforementioned interpolation process is to use a mathematical combination to double the sampling frequency of the main chromaticity Cm. Please refer to FIG. 11. The above numerical combination can be completed by a linear combination. Taking the newly added first main chromaticity CBma as an example, it can use the remaining first main chromaticities CBmO, CBm2, CBm4, · · · The components of. Are combined, as shown in the following mathematical formula: CBma = A-2 (nl) X CBm-2 (n- l) + '"+ A-2 X CBm- 2 + A0 X CBmO + A2 X CBm2 + · '· + A2n X CBm2n, where A-2 (n-1), ··· A-2, AO, A2, ········································· The The A2n are all constants, which respectively represent their corresponding main colors The proportion of the newly added first main chroma CBma is usually closer to the proportion of the newly added first main chroma CBma. For example, as shown in FIG. 11, the newly added first The main chroma CBma can be directly copied by copying the first main chroma CBmO or the first main chroma CBm2 (CBma = CBm0 or CBma = CBm2), or average the adjacent two first main chroma CBmO, CBm 2 (Average ) To produce this new first primary color Degree CBma (CBma = 0.5 * CBmO + 0.5 * CBm2). In the same way, other first primary chromaticities and second primary chromaticities (such as CRma, CBmb, Crmb, etc. shown in FIG. 11) that need to be added can be generated by a method similar to or the same as the above.
请继续参阅图 10及图 11。 由数据混合装置 88所产生的具有 4:4:4取样 格式的混合影像数据具有一混合亮度 Yg、一第一混合色度 CBg、 以及一第二 混合色度 CRg。 数据混合装置 88所执行的混合操作是将主亮度 Ym、 第一主 色度 CBm、 以及第二主色度 CRm分别与副亮度 Ys、 第一副色度 CBs、 以及 第二副色度 CRs经一数性合并 (Mathematical Combination)后,以产生此混合亮 度 Yg、 第一混合色度 CBg、 以及第二混合色度 CRg。 请参阅图 12, 图 12为 图 10数据混合装置 88的一实施例的示意图。 数据混合装置 88的主要技术 特征即是将副画面影像数据与主画面影像数据加以混合,成为完整的影像数 据,图中所标示的 A及 B分别代表副画面影像数据与主画面影像数据在混合 影像数据中所占的比重,在一般的情况下, A与 B的值的总和为 1 ,即 A= (1 -B), 如此一来, 混合亮度 Yg的值可用下列数学式表示: Yg=A*Ys+(l- A)*Ym; 第 一混合色度 CBg的值可用下列数学式表示: CBg=A*CBs+(l-A)*CBm; 第二 混合色度 CRg的值可用下列数学式表示: CRg=A*CRs+(l- A)*CRm。 请参阅 图 13, 图 13为图 10的影像数据处理装置 80在实际实施时的另一实施例的 功能方块图。 图 13实施例中的格式转换模块 85包含一 4:2··0至 4:2:2格式转 换器 87及一 4:2:2至 4:4:4格式转换器 89, 4:2:0至 4:2:2格式转换器 87可将一 以 4:2:0取样格式储存 (于一数字影磔,如 VCD或 DVD等)的主画面数字影像 数据转换为前述具有 4:2:2取样格式的主画面影像数据,再经 4:2:2至 4:4:4格 式转换器 89插补至具有 4:4:4取样格式的主画面影像数据。  Please continue to refer to Figure 10 and Figure 11. The mixed image data having a 4: 4: 4 sampling format generated by the data mixing device 88 has a mixed luminance Yg, a first mixed chrominance CBg, and a second mixed chrominance CRg. The mixing operation performed by the data mixing device 88 is to combine the main luminance Ym, the first main chroma CBm, and the second main chroma CRm with the sub luminance Ys, the first sub chroma CBs, and the second sub chroma CRs respectively. After a mathematical combination, the mixed brightness Yg, the first mixed chromaticity CBg, and the second mixed chromaticity CRg are generated. Please refer to FIG. 12, FIG. 12 is a schematic diagram of an embodiment of the data mixing device 88 of FIG. The main technical feature of the data mixing device 88 is that the sub-picture image data and the main-picture image data are mixed to become complete image data. The proportion of the image data, under normal circumstances, the sum of the values of A and B is 1, that is, A = (1-B). In this way, the value of the mixed brightness Yg can be expressed by the following mathematical formula: Yg = A * Ys + (l- A) * Ym; The value of the first mixed chromaticity CBg can be expressed by the following mathematical formula: CBg = A * CBs + (lA) * CBm; The value of the second mixed chromaticity CRg can be expressed by the following mathematical formula: CRg = A * CRs + (l- A) * CRm. Please refer to FIG. 13, FIG. 13 is a functional block diagram of another embodiment of the image data processing apparatus 80 of FIG. 10 in actual implementation. The format conversion module 85 in the embodiment of FIG. 13 includes a 4: 2 · 0 to 4: 2: 2 format converter 87 and a 4: 2: 2 to 4: 4: 4 format converter 89, 4: 2: The 0 to 4: 2: 2 format converter 87 can convert a main screen digital image data stored in a 4: 2: 0 sampling format (in a digital movie, such as a VCD or DVD, etc.) into the aforementioned 4: 2: The main screen image data in the 2 sampling format is then interpolated by the 4: 2: 2 to 4: 4: 4 format converter 89 to the main screen image data in the 4: 4: 4 sampling format.
依据上述图 10及图 13实施例的影像数据处理装置 80,本发明在实际实 施时的一方法实施例可归纳于图 14中的下列步骤:  According to the image data processing device 80 in the embodiments of FIG. 10 and FIG. 13, a method embodiment of the present invention in actual implementation can be summarized in the following steps in FIG. 14:
步骤 300 :分别接收一具有 4:2:2取样格式的主画面影像数据以及一具有 Step 300: Receive a main screen image data with a 4: 2: 2 sampling format and a
4:4:4取样格式的副画面影像数据; 4: 4: 4 sub-picture image data in sampling format;
步骤 301: 将具有 4:2:2取样格式的主画面影像数据转换为该具有 4:4:4 取样格式的主画面影像数据;  Step 301: Convert the main screen image data with a 4: 2: 2 sampling format into the main screen image data with a 4: 4: 4 sampling format;
步骤 302 : 将具有 4:4:4取样格式的主画面影像数据及具有 4:4:4取样格 式的副画面影像数据加以混合后, 输出一具有 4:4:4取样格式的混合影像数 据; 步骤 303 :将具有 4:4:4取样格式的混合影像数据转换为一电视视频信号 信号。 Step 302: After mixing the main screen image data with a 4: 4: 4 sampling format and the sub screen image data with a 4: 4: 4 sampling format, output a mixed image data with a 4: 4: 4 sampling format; Step 303: Convert the mixed image data having a 4: 4: 4 sampling format into a television video signal signal.
请注意, 在实际实施时, 若使用者另设置一已知视频信号编码器 (如早 先应用于动态影像压缩标准 MPEG- 1下的设备), 使得进入此已知视频信号 编码器的影像数据须符合 4:2:2取样格式,图 10及图 13的影像数据处理装置 80可在数据混合装置 88之后再设置一 4:4:4至 4:2:2格式转换器, 以便使用 者切换使用。 由上述的实施例可知, 基于现今新型动态影像压缩标准  Please note that in actual implementation, if the user sets up another known video signal encoder (such as the device previously applied to the moving image compression standard MPEG-1), the image data entering this known video signal encoder must be It conforms to the 4: 2: 2 sampling format. The image data processing device 80 in FIG. 10 and FIG. 13 can set a 4: 4: 4 to 4: 2: 2 format converter after the data mixing device 88, so that the user can switch between them. . It can be known from the above-mentioned embodiments that based on today's new dynamic image compression standards
(MPEG-1, MPEG-2)解码器的技术, 并为充分利用将视频信号编码器内建于 DVD (或 VCD)播放芯片系统中的好处,本发明主要的技术特征在于将副画面 影像数据与主画面影像数据加以混合之前,此二影像数据皆确保在具有 4:4:4 取样格式 (最高取样频率色度格式)的情形下, 而并非如图 4实施例的已知技 术将此二影像数据以 :2:2取样格式下进行混合, 以避免副画面影像数据在 由 4:4:4取样格式转换至 4:2:2取样格式的过程中丟失了部分的色度信息, 而 导致颜色的失真。 (MPEG-1, MPEG-2) decoder technology, and in order to make full use of the advantages of the video signal encoder built into the DVD (or VCD) playback chip system, the main technical feature of the present invention is the sub-picture image data Before mixing with the main screen image data, both of the two image data are guaranteed to have a 4: 4: 4 sampling format (the highest sampling frequency chroma format), instead of the two as shown in the known technology of the embodiment of FIG. 4 The image data is mixed in the 2: 2 sampling format to avoid the loss of some chrominance information during the conversion of the sub-picture image data from the 4: 4: 4 sampling format to the 4: 2 : 2 sampling format, resulting in Distortion of colors.
上面所述仅为本发明的较佳实施例,凡依本发明权利要求书所做的均等 变化与修饰, 皆应属本发明专利的涵盖范围。  The above is only a preferred embodiment of the present invention, and all equivalent changes and modifications made in accordance with the claims of the present invention shall fall within the scope of the patent of the present invention.

Claims

权 利 要 求 书 Claim
1. 一种用来转换及混合多个影像数据 (Video Data)的装置, 该多个影像 数据分别具有多种取样格式 (Sampling Format) ,该多种取样格式至少包含有一 高取样频率色度 (Chrominance)格式以及一低取样频率色度格式, 该装置包含 有: 1. A device for converting and mixing a plurality of video data, each of which has a plurality of sampling formats, and the plurality of sampling formats includes at least a high sampling frequency chroma ( Chrominance) format and a low sampling frequency chroma format. The device includes:
一第一数据接收端,用来接收一具有该低取样频率色度格式的第一影像 数据;  A first data receiving end for receiving a first image data having the low sampling frequency chroma format;
一第二数据接收端,用 接收一具有该高取样频率色度格式的第二影像 数据;  A second data receiving end for receiving a second image data having the high sampling frequency chroma format;
' 一格式转换模块, 电连接于该第一数据接收端, 用来将具有该低取样频 率色度格式的第一影像数据经一插补 (Up- sampling)处理后成为具有该高取样 频率色度格式的第一影像数据; 以及  'A format conversion module, electrically connected to the first data receiving end, for converting the first image data having the low sampling frequency chroma format into an image having the high sampling frequency after up-sampling processing. First image data in degree format; and
一数据混合装置, 电连接于该格式转换模块及该第二数据接收端, 用来 将具有该高取样频率色度格式的第一影像数据及具有该高取样频率色度格 式的第二影像数据混合 (Mk)后,输出一具有该高取样频率色度格式的混合影 像数据。  A data mixing device electrically connected to the format conversion module and the second data receiving end, and configured to convert the first image data having the high sampling frequency chroma format and the second image data having the high sampling frequency chroma format. After the mixing (Mk), a mixed image data having the high sampling frequency chroma format is output.
2. 如 利要求 1所述的装置,其还包含一视频信号编码器 (TV Encoder) , 电连接于该数据混合装置,用来将具有该高色度取样格式的混合影像数据转 换为一电视视频信号信号 (TV Video Signal)。  2. The device according to claim 1, further comprising a video signal encoder (TV Encoder) electrically connected to the data mixing device for converting the mixed image data having the high-chroma sampling format into a television. Video signal (TV Video Signal).
3. 如权利要求 1所述的装置, 其是应用于一新型动态影像压缩标准 (MPEG-1, MPEG-2)和 JPEG的解码器 (Decoder)中, 且该第一影像数据、 该第 二影像数据、 该混合影像数据、 该高取样频率色度格式、 以及该低取样频率 色度取样是皆符合 MPEG-1和 MPEG- 2的规格。  3. The device according to claim 1, which is applied to a new type of moving image compression standard (MPEG-1, MPEG-2) and JPEG decoder, and the first image data, the second The image data, the mixed image data, the high-sampling-frequency chroma format, and the low-sampling-frequency chroma sampling all conform to the MPEG-1 and MPEG-2 specifications.
4. 如权利要求 3所述的装置,其中该第一影像数据是对应于一数字影碟 4. The apparatus according to claim 3, wherein the first image data is corresponding to a digital video disc
(VCD和 DVD)格式的主画面 (Main- Pictmre)影像数据,且该第二影像数据是对 应于一数字影碟格式的副画面 (Sub-Picture, SP)影像数据或是一数字影; 5茱格式 的屏幕影像设定 (〇n-sci-een Display, OSD)数据。 (VCD and DVD) format main-picture (Main- Pictmre) image data, and the second image data is corresponding to a digital video disc format Sub-Picture (SP) image data or a digital video; Format screen image setting (On-sci-een Display, OSD) data.
5. 如权利要求 3所述的装置,其中该高取样频率色度格式的一亮度色度 取样比 (Luminance- Chrominance Ratio Format)为 4:4:4 , 而该低取样频率色度格 式的亮度色度取样比为 4:2:0。 5. The apparatus according to claim 3, wherein a Luminance-Chrominance Ratio Format (Luminance-Chrominance Ratio Format) of the high-sampling-frequency chrominance format is 4: 4: 4, and the luminance of the low-sampling-frequency chrominance format is 5. The chroma sampling ratio is 4: 2: 0.
6. 如权利要求 5所迷的装置,其中该多种取样格式还包含有一中取样频 率色度格式, 该中取样频率色度格式的亮度色度取样比是为 4:2:2, 该格式转 换模块还包含有: 6. The apparatus as claimed in claim 5, wherein the plurality of sampling formats further comprises a medium sampling frequency chrominance format, and a brightness chrominance sampling ratio of the medium sampling frequency chrominance format is 4: 2: 2, the format The conversion module also contains:
一第一中间格式转换器,用来将具有该低取样频率色度格式的第一影像 数据经一第一插补处理后,成为具有该中取样频率色度格式的第一影像数据 ; 以及  A first intermediate format converter for converting the first image data having the low sampling frequency chroma format into a first image data having the middle sampling frequency chroma format after a first interpolation process; and
一第二中间格式转换器, 电连接于该第一中间格式转换器, 用来将具有 该中取样频率色度格式的第一影像数据经一第二插补处理后,成为具有该高 取样频率色度格式的第一影像数据。  A second intermediate format converter, electrically connected to the first intermediate format converter, for converting the first image data having the chroma format of the intermediate sampling frequency into a second sample having the high sampling frequency after a second interpolation process First image data in chroma format.
7. 一种影像数据处理装置, 其包含有:  7. An image data processing device, comprising:
一主画面数据接收端, 用来接收一具有 4:2:2取样格式的主画面影像数 据,其中该具有 4:2:2取样格式的主画面影像数据包含一主亮度值 (Luminance) 及一主色度值 (Chrominance); A main screen data receiving end is used to receive a main screen image data having a 4: 2 : 2 sampling format, wherein the main screen image data having a 4: 2 : 2 sampling format includes a main brightness value (Luminance) and a Main chrominance value (Chrominance);
一副画面数据接收端, 用来接收一具有 4:4:4取样格式的副画面影像数 据, 其中该具有 4:4:4取样格式的副画面影像数据包含一副亮度值、 一第一 副色度值、 以及一第二副色度值;  A pair of picture data receiving end is used for receiving a sub picture image data having a 4: 4: 4 sampling format, wherein the sub picture image data having a 4: 4: 4 sampling format includes a pair of brightness values, a first pair A chroma value, and a second chroma value;
一格式转换模块, 电连接于该主画面数据接收端, 用来将该具有 4:2:2 取样格式的主画面影像数据经一插补 (Up- samplin 处理后成为该具有 4:4:4取 样格式的主画面影像数据, 其中该具有 4:4:4取样格式的主画面影像数据包 含一主亮度值、 一第一主色度值、 以及一第二主色度值; ·  A format conversion module is electrically connected to the main screen data receiving end, and is used to interpolate the main screen image data with a 4: 2: 2 sampling format into an image with 4: 4: 4 after Upsamplin processing. Main screen image data in a sampling format, wherein the main screen image data in a 4: 4: 4 sampling format includes a main luminance value, a first main chrominance value, and a second main chrominance value;
一数据混合装置, 电连接于该格式转採模块及该副画面数据接收端, 用 来将该具有 4:4:4取样格式的主画面影像数据及该具有 4:4:4取样格式的副画 面影像数据经一混合操作 (Mixing Operation)后, 输出一具有 4:4:4取样格式的 混合影像数据; 以及  A data mixing device is electrically connected to the format conversion and extraction module and the sub-picture data receiving end, and is used for the main screen image data having a 4: 4: 4 sampling format and the sub-picture having a 4: 4: 4 sampling format. After the frame image data is subjected to a Mixing Operation, a mixed image data having a 4: 4: 4 sampling format is output; and
一视频信号编码器 (TV Encoder) , 电连接于该数据混合装置, 用来将该 具有 4:4:4取样格式的混合影像数据转换为一电视视频信号信号 (TV Video Signal)。  A video signal encoder (TV Encoder) is electrically connected to the data mixing device, and is used for converting the mixed image data having a 4: 4: 4 sampling format into a TV Video Signal.
8. 如权利要求 7所述的影像数据处理装置,其中该混合操作是将该主亮 度值、 该第一主色度值、 以及该第二主色度值分别与该副亮度值、 该第一副 色度值、 以及该第二副色度值经一数性合并 (Mathematical Combination)后, 分 别产生一混合 (Mixed)亮度值、 一第一混合色度值、 以及一第二混合色度值。 8. The image data processing device according to claim 7, wherein the blending operation is to respectively set the main luminance value, the first main chrominance value, and the second main chrominance value with the sub-luminance value, the first After a pair of chromaticity values and the second pair of chromaticity values are mathematically combined, a mixed luminance value, a first mixed chrominance value, and a second mixed chrominance are generated respectively. value.
9. 如权利要求 8所述的影像数据处理装置, 其中该具有 4:4:4取样格式 的混合影像数据包含有该混合亮度值、 该第一混合色度值、 以及该第二混合 色度值。 9. The image data processing device according to claim 8, wherein the mixed image data having a 4: 4: 4 sampling format includes the mixed luminance value, the first mixed chrominance value, and the second mixed chrominance value.
10. 如权利要求 7所述的影像数据处理装置, 其还包含一信号格式转换 器, 电连接于该主画面数据接收端前, 用来将一以 4:2:0取样格式储存的主 画面数字影像数据转换为该具有 4:2:2取样格式的主画面影像数据。 10. The image data processing device according to claim 7, further comprising a signal format converter electrically connected to the main screen data receiving end, for storing a main screen stored in a 4: 2: 0 sampling format. The digital image data is converted into the main screen image data with a 4: 2 : 2 sampling format.
11. 如权利要求 7所述的影像数据处理装置, 其中该主画面影像数据是 对应于一数字影碟 (VCD和 DVD)格式的主画面影像数据, 且该副画面影像 数据是对应于一数字影碟格式的副画面 (Sub- Picture, SP)影像数据或是一数字 影碟格式的屏幕影像设定 (On- screen Display, OSD)数据。  11. The image data processing device according to claim 7, wherein the main screen image data is main screen image data corresponding to a digital video disc (VCD and DVD) format, and the sub screen image data is corresponding to a digital video disc Sub-picture (SP) image data in a format or on-screen display (OSD) data in a digital video disc format.
12. 如权利要求 7所述的影像数据处理装置, 其是符合一新型动态影像 压缩标准 MPEG-1, MPEG- 2)和 JPEG的规格。  12. The image data processing device according to claim 7, which is compliant with a new type of moving image compression standard (MPEG-1, MPEG-2) and JPEG.
13. 一种用来转换及混合多个影像数据 (Video Signal)以防止数据漏失的 方法,该多个影像数据分别具有多种取样格式 (Sampling Fotrmat;),该多种取样 格式至少包含有一高取样频率色度 (Chrominance)格式以及一低取样频率色 度格式, 该方法包含有:  13. A method for converting and mixing a plurality of image data (Video Signal) to prevent data loss, each of the plurality of image data has multiple sampling formats (Sampling Fotrmat;), the multiple sampling formats include at least one high Sampling frequency chrominance format and a low sampling frequency chrominance format. The method includes:
分别接收一具有该低取样频率色度格式的第一影像数据以及一具有该 高取样频率色度格式的第二影像数据;  Receiving a first image data having the low sampling frequency chroma format and a second image data having the high sampling frequency chroma format, respectively;
将具有该低取样频率色度格式的第一影像数据转换为具有该高取样频 率色度格式的第一影像数据; 以及  Converting the first image data having the low sampling frequency chroma format into the first image data having the high sampling frequency chroma format; and
将具有该高取样频率色度格式的第一影像数据及具有该高取样频率色 度格式的第二影像数据混合 (Mix)后,输出一具有该高取样频率色度格式的混 合影像数据。  After mixing (Mix) the first image data having the high sampling frequency chroma format and the second image data having the high sampling frequency chroma format, a mixed image data having the high sampling frequency chroma format is output.
14.如权利要求 13所述的方法, 其是应用于一新型动态影像压縮标准 (MPEG-1, MPEG- 2)的解码器 (Decodeir)中,且该第一影像数据、该第二影像数 据、 该混合影像数据、 该高取样频率色度格式、 以及该低取样频率色度取样 均符合 MPEG-1和 MPEG-2的规格。  14. The method according to claim 13, which is applied to a decoder (Decodeir) of a new type of moving image compression standard (MPEG-1, MPEG-2), and the first image data and the second image The data, the mixed image data, the high-sampling-frequency chroma format, and the low-sampling-frequency chroma sampling all conform to the specifications of MPEG-1 and MPEG-2.
15. 如权利要求 14所述的方法,其中该第一影像数据是对应于一数字影 碟 (VCD , DVD)格式的主画面 (Main-Picture)影像数据, 且该第二影像数据是 对应于一数字影碟格式的副画面 (Sub-Picture, SP)影像数据或是一数字影磔格 式的屏幕影像设定 (On-screen Display, OSD)数据。 15. The method according to claim 14, wherein the first image data is corresponding to a main-picture image data in a digital video disc (VCD, DVD) format, and the second image data is corresponding to a Sub-Picture (SP) image data in digital video disc format or On-screen Display (OSD) data in digital video format.
16. 如权利要求 14所述的方法,其中该多种取样格式还包含有一中取样 频率色度格式, 该方法还包含有: 16. The method according to claim 14, wherein the plurality of sampling formats further comprises a sampling frequency chroma format, and the method further comprises:
将具有该低取样频率色度格式的第一影像数据转换为具有该中取样频 率色度格式的第一影像数据; 以及  Converting the first image data having the low sampling frequency chroma format into the first image data having the middle sampling frequency chroma format; and
将具有该中取样频率色度格式的第一影像数据转换为具有该高取样频 率色度格式的第一影像数据;  Converting the first image data having the middle sampling frequency chroma format into the first image data having the high sampling frequency chroma format;
其中该中色度取样格式符合 MPEG- l, MPEG-2的规格。  The medium chroma sampling format conforms to the specifications of MPEG-1 and MPEG-2.
17. 如权利要求 16所述的方法,其中该高取样频率色度格式的一亮度色 度取样比 CLuminance-Cliirominance Ratio Format)为 4:4:4,该中取样频率色度格 式的亮度色度取样比为 4:2:2; 该低取样频率色度格式的亮度色度取样比为 4:2:0。  17. The method according to claim 16, wherein a luminance chrominance sampling ratio (CLuminance-Cliirominance Ratio Format) of the high sampling frequency chrominance format is 4: 4: 4, and the luminance chrominance of the medium sampling frequency chrominance format The sampling ratio is 4: 2: 2; the luminance and chrominance sampling ratio of the low sampling frequency chrominance format is 4: 2: 0.
18. 一种在一影像数据处理装置中处理影像数据的方法, 该影像数据处 理装置包含有一信号接收模块、 一格式转换模块、 以及一数据混合装置, 该 方法包含有:  18. A method for processing image data in an image data processing device, the image data processing device comprising a signal receiving module, a format conversion module, and a data mixing device, the method comprising:
使用该信号接收模块分別接收一具有 4:2:2取样格式的主画面影像数据 以及一具有 4:4:4取样格式的副画面影像数据;  Using the signal receiving module to receive a main screen image data with a 4: 2: 2 sampling format and a sub screen image data with a 4: 4: 4 sampling format;
使用该格式转换模块将该具有 4:2:2取样格式的主画面影像数据转换为 该具有 4:4:4取样格式的主画面影像数据; 以及  Using the format conversion module to convert the main screen image data with a 4: 2: 2 sampling format into the main screen image data with a 4: 4: 4 sampling format; and
使用该数据混合装置将该具有 4:4:4取样格式的主画面影像数据及该具 有 4:4:4取样格式的副画面影像数据经一混合操作 (Mixing Operation)后, 输出 一具有 4:4:4取样格式的混合影像数据。  After using the data mixing device, the main screen image data having a 4: 4: 4 sampling format and the sub screen image data having a 4: 4: 4 sampling format are subjected to a mixing operation, and a output having 4: Mixed image data in 4: 4 sampling format.
19.如权利要求 18所迷的方法,其中该影像数据处理装置还包含一视频 信号编码器 (TV Encoder) , 电连接于该数据混合装置, 该方法还包含:  19. The method of claim 18, wherein the image data processing device further comprises a video signal encoder (TV Encoder) electrically connected to the data mixing device, and the method further comprises:
使用该视频信号编码器将该具有 4:4:4取样格式的混合影像数据转换为 一电视视频信号信号 (TV Video Signal)。  The video signal encoder is used to convert the mixed image data with a 4: 4: 4 sampling format into a TV Video Signal.
20. 如权利要求 18所迷的方法,其中该影像数据处理装置其还包含一信 号格式转换器, 电连接于该信号接收模块前, 用来将一以 4:2:0取样格式储 存的主画面数字影像数据转换为该具有 4:2:2取样格式的主画面影像数据。  20. The method as claimed in claim 18, wherein the image data processing device further comprises a signal format converter, which is electrically connected to the signal receiving module and used for storing a master stored in a 4: 2: 0 sampling format. The picture digital image data is converted into the main picture image data having a 4: 2: 2 sampling format.
21. 如权利要求 18所述的方法, 其中该具有 4:2:2取样格式的主画面影 像数据包含一主亮度值 (Luminance)及一主色度值 (ChtOminance) ; 该具有 4:4:4 取样格式的副画面影像数据包含一副亮度值、 一第一副色度值、 以及一第二 副色度值; 该具有 4:4:4取样格式的主画面影像数据包含一主亮度值、 一第 一主色度值、 以及一第二主色度值; 该具有 4:4:4取样格式的混合影像数据 包含一混合 (Mixed)亮度值、 一第一混合色度值、 以及一第二混合色度值。 21. The method of claim 18, wherein the main screen image data having a 4: 2: 2 sampling format includes a main luminance value (Luminance) and a main chrominance value (ChtOminance); and the method has 4: 4: 4 The sub-picture image data in the sampling format includes a pair of luminance values, a first pair of chrominance values, and a second Sub-chrominance value; the main screen image data having a 4: 4: 4 sampling format includes a main luminance value, a first main chrominance value, and a second main chrominance value; the 4: 4: 4 sampling The formatted mixed image data includes a mixed luminance value, a first mixed chrominance value, and a second mixed chrominance value.
22. 如权利要求 21所迷的方法, 其还包含有:  22. The method of claim 21, further comprising:
使用该格式转换模块将该主色度值经一插补 (Up- samHn^)处理后产生该 第一主色度值及该第二主色度值; 以及  Using the format conversion module to generate the first main chroma value and the second main chroma value after processing the main chroma value by interpolation (Up-samHn ^); and
使用该数据混合装置将该主亮度值、该第一主色度值、 以及该第二主色 度值分别与该副色度值、 该第一副色度值、 以及该第二副色度值经一数性合 并 (Mathematical Combination)后,分别产生该混合亮度值、该第一混合色度值、 以及该第二混合色度值。  Using the data mixing device, the main luma value, the first main chroma value, and the second main chroma value with the sub chroma value, the first sub chroma value, and the second sub chroma, respectively After the values are mathematically combined, the mixed luminance value, the first mixed chrominance value, and the second mixed chrominance value are generated respectively.
23. 如权利要求 18所述的方法,其中该主画面影像数据是对应于一数字 影碟 (VCD, DVD)格式的主画面影像数据, 且该副画面影像数据是对应于一 数字影碟格式的副画面 (Sub- Picture, SP)影像数据及一数字影碟格式的屏幕影 像设定 (On-screen Display,〇SD)数据。  23. The method of claim 18, wherein the main frame image data is main frame image data corresponding to a digital video disc (VCD, DVD) format, and the sub frame image data is a sub frame corresponding to a digital video disc format. Sub-picture (SP) image data and on-screen display (OSD) data in a digital video disc format.
24.如权利要求 18所述的方法, 其应用于一新型动态影像压缩标准 24. The method according to claim 18, which is applied to a new moving image compression standard
(MPEG-1, MPEG- 2)的解码器 (Decoder)中。 (MPEG-1, MPEG-2) decoder.
PCT/CN2003/000446 2003-06-06 2003-06-06 Apparatus and method for format converting and mixing video signal WO2004110072A1 (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
DE10394246T DE10394246T5 (en) 2003-06-06 2003-06-06 Apparatus and method for signal processing of format conversion and combination of video signals
AU2003246127A AU2003246127A1 (en) 2003-06-06 2003-06-06 Apparatus and method for format converting and mixing video signal
CN03826420.XA CN1778118A (en) 2003-06-06 2003-06-06 Image signal format converting and mixing device and method
PCT/CN2003/000446 WO2004110072A1 (en) 2003-06-06 2003-06-06 Apparatus and method for format converting and mixing video signal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2003/000446 WO2004110072A1 (en) 2003-06-06 2003-06-06 Apparatus and method for format converting and mixing video signal

Publications (1)

Publication Number Publication Date
WO2004110072A1 true WO2004110072A1 (en) 2004-12-16

Family

ID=33494596

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2003/000446 WO2004110072A1 (en) 2003-06-06 2003-06-06 Apparatus and method for format converting and mixing video signal

Country Status (4)

Country Link
CN (1) CN1778118A (en)
AU (1) AU2003246127A1 (en)
DE (1) DE10394246T5 (en)
WO (1) WO2004110072A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2501535A (en) * 2012-04-26 2013-10-30 Sony Corp Chrominance Processing in High Efficiency Video Codecs

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1070739A (en) * 1996-05-29 1998-03-10 Sgs Thomson Microelectron Sa System for conversion of digital television signal accompanying insertion of bidirectional menu
WO2000002384A2 (en) * 1998-07-06 2000-01-13 Koninklijke Philips Electronics N.V. Image data compression

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1070739A (en) * 1996-05-29 1998-03-10 Sgs Thomson Microelectron Sa System for conversion of digital television signal accompanying insertion of bidirectional menu
WO2000002384A2 (en) * 1998-07-06 2000-01-13 Koninklijke Philips Electronics N.V. Image data compression

Also Published As

Publication number Publication date
DE10394246T5 (en) 2006-05-04
AU2003246127A1 (en) 2005-01-04
CN1778118A (en) 2006-05-24

Similar Documents

Publication Publication Date Title
JP4375837B2 (en) Digital audio / video system and method
EP0662770B1 (en) Apparatus and method for coding/decoding subtitles data
US7880808B2 (en) Video signal processing apparatus to generate both progressive and interlace video signals
JP4996725B2 (en) Video processing device
TWI229562B (en) Apparatus and method for signal processing of format conversion and combination of video signals
JPH10313445A (en) Image signal converter, television receiver using the same, and generating device and method for coefficient data used therefor
RU2507584C2 (en) Image processing device, image processing method and data transmission system
JPH0759058A (en) Transmission device of digital image signal
JP4543926B2 (en) Information processing apparatus and method
US8005338B2 (en) Recording and reproducing device
US20040136697A1 (en) Apparatus and method for recording multimedia data with high efficiency
US7480447B2 (en) Pause time recovery and playback speed-up without loss of picture information
WO2004110072A1 (en) Apparatus and method for format converting and mixing video signal
JP3703088B2 (en) Extended image encoding device and extended image decoding device
JPH07135635A (en) Video signal processing device
JP2011055485A (en) Video processing apparatus
JP2009038682A (en) Image processor, and image processing method
JP2000115581A (en) Video signal processor
US7450831B2 (en) Method for DVD-subpicture compositing in 420 chroma format
JP4960463B2 (en) Video signal processing apparatus and video signal processing method
JP4063158B2 (en) Image composition apparatus and method, and image reproduction apparatus
JP2001223989A (en) Image reproducing device
JP2000324488A (en) Still picture transmitting method and reproducing method
JP2000181418A (en) Device and method for picture processing and providing medium
JPH10112857A (en) Method and device for coding and decoding image signal

Legal Events

Date Code Title Description
AK Designated states

Kind code of ref document: A1

Designated state(s): AE AG AL AM AT AU AZ BA BB BG BR BY BZ CA CH CN CO CR CU CZ DE DK DM DZ EC EE ES FI GB GD GE GH GM HR HU ID IL IN IS JP KE KG KP KR KZ LC LK LR LS LT LU LV MA MD MG MK MN MW MX MZ NI NO NZ OM PH PL PT RO RU SC SD SE SG SK SL TJ TM TN TR TT TZ UA UG UZ VC VN YU ZA ZM ZW

AL Designated countries for regional patents

Kind code of ref document: A1

Designated state(s): GH GM KE LS MW MZ SD SL SZ TZ UG ZM ZW AM AZ BY KG KZ MD RU TJ TM AT BE BG CH CY CZ DE DK EE ES FI FR GB GR HU IE IT LU MC NL PT RO SE SI SK TR BF BJ CF CG CI CM GA GN GQ GW ML MR NE SN TD TG

121 Ep: the epo has been informed by wipo that ep was designated in this application
DFPE Request for preliminary examination filed prior to expiration of 19th month from priority date (pct application filed before 20040101)
WWE Wipo information: entry into national phase

Ref document number: 2003826420X

Country of ref document: CN

RET De translation (de og part 6b)

Ref document number: 10394246

Country of ref document: DE

Date of ref document: 20060504

Kind code of ref document: P

WWE Wipo information: entry into national phase

Ref document number: 10394246

Country of ref document: DE

122 Ep: pct application non-entry in european phase
NENP Non-entry into the national phase

Ref country code: JP

REG Reference to national code

Ref country code: DE

Ref legal event code: 8607