JP2011035854A - Conversion device and reproduction device - Google Patents

Conversion device and reproduction device Download PDF

Info

Publication number
JP2011035854A
JP2011035854A JP2009183001A JP2009183001A JP2011035854A JP 2011035854 A JP2011035854 A JP 2011035854A JP 2009183001 A JP2009183001 A JP 2009183001A JP 2009183001 A JP2009183001 A JP 2009183001A JP 2011035854 A JP2011035854 A JP 2011035854A
Authority
JP
Japan
Prior art keywords
color
format
signal
interpolation
color difference
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2009183001A
Other languages
Japanese (ja)
Inventor
Sadayoshi Kanazawa
貞善 金澤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Panasonic Corp
Original Assignee
Panasonic Corp
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 Panasonic Corp filed Critical Panasonic Corp
Priority to JP2009183001A priority Critical patent/JP2011035854A/en
Publication of JP2011035854A publication Critical patent/JP2011035854A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Picture Signal Circuits (AREA)
  • Color Television Systems (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To reduce color blurring when a video signal in a first format is converted to a second format. <P>SOLUTION: A conversion device includes an acquisition means of acquiring a video signal in a first format, an extraction means of sequentially extracting a plurality of color signals as one unit in the video signal in the first format, the color signals having the same color difference and being adjacent, a generation means of generating a color signal for interpolation using the plurality of color signals, and an output means of converting the video signal in the first format to the second format based upon the generated color signal for interpolation and outputting the resulting signal. The generation means includes an edge detection means of detecting whether an edge is present between adjacent color signals among the plurality of extracted color signals, a correction means of correcting some of the plurality of color signals based upon the position of the edge, and an interpolation signal generation means of generating the color signal for interpolation using the corrected color signals. <P>COPYRIGHT: (C)2011,JPO&INPIT

Description

本発明は、第1フォーマットのビデオ信号を、第1フォーマットよりも情報量の多い第2フォーマットに変換する変換装置に関する。より詳しくは、第1フォーマットの色信号に基づいて補間用色信号を生成し、補間用色信号を利用して第2フォーマットを生成する変換装置に関する。   The present invention relates to a conversion device that converts a video signal of a first format into a second format having a larger amount of information than the first format. More specifically, the present invention relates to a conversion device that generates an interpolation color signal based on a first format color signal and generates a second format using the interpolation color signal.

現在、放送波や光ディスク(Blu−ray Disc)に含まれるビデオ信号には、YCbCr信号が用いられている。また、ビデオ信号は、4:2:2フォーマットや4:4:4フォーマットでなく、4:2:0フォーマットの色差信号を削減したフォーマットが用いられている。これらは、ビデオ信号の情報量を考慮して用いられている。   Currently, YCbCr signals are used for video signals included in broadcast waves and optical discs (Blu-ray Discs). The video signal uses a format in which the color difference signal of 4: 2: 0 format is reduced, not the 4: 2: 2 format or the 4: 4: 4 format. These are used in consideration of the information amount of the video signal.

ここで、4:2:0フォーマットのようなビデオ信号を再生する再生装置では、ビデオ信号を再生するため、削減された色差信号を補間する必要がある。そのため、再生装置では、4:2:0フォーマットのビデオ信号を4:4:4フォーマットで再生する際、先ずは4:2:0から4:2:2フォーマットへ変化し、続いて4:2:2から4:4:4フォーマットへの変換を行う。その変換の際、輝度情報と色差情報の間に相関がある性質を利用して、補間処理方式を決定し、決定された補間方式で色差情報を補間するようにしている(特許文献1)。   Here, in a reproducing apparatus that reproduces a video signal such as the 4: 2: 0 format, it is necessary to interpolate the reduced color difference signal in order to reproduce the video signal. Therefore, in the playback device, when a 4: 2: 0 format video signal is played back in the 4: 4: 4 format, the 4: 2: 0 format is first changed to the 4: 2: 2 format, and then the 4: 2 format is used. : Converts from 2 to 4: 4: 4 format. At the time of the conversion, an interpolation processing method is determined using the property that there is a correlation between luminance information and color difference information, and the color difference information is interpolated by the determined interpolation method (Patent Document 1).

特開平4−358490号公報JP-A-4-358490

ところで、再生装置では、上記のように、4:2:2フォーマットのような第1フォーマットのビデオ信号を、4:4:4フォーマットのような第2フォーマットに変換する場合、図10に示すような課題が発生する。具体的に説明する。   By the way, in the playback apparatus, as described above, when the video signal of the first format such as 4: 2: 2 format is converted to the second format such as 4: 4: 4 format, as shown in FIG. Problems arise. This will be specifically described.

図10は、色差情報のCbを例にして、画素の位置がCb[n]の位置における8tap補間処理を説明したものである。図10は、横軸が画素の位置を示し、縦軸が色信号レベルを示す。図10では、Cb[n−7]〜Cb[n+1]の色信号レベルが低く、Cb[n+3]〜Cb[n+7]の色信号のレベルが高い。   FIG. 10 illustrates the 8 tap interpolation process at the pixel position Cb [n] with Cb of the color difference information as an example. In FIG. 10, the horizontal axis indicates the pixel position, and the vertical axis indicates the color signal level. In FIG. 10, the color signal levels of Cb [n-7] to Cb [n + 1] are low, and the color signal levels of Cb [n + 3] to Cb [n + 7] are high.

ここで再生装置は、上記8タップ(Cb[n−7]〜Cb[n+7])の色差信号の色信号レベルを用いて、色信号レベルの平均値を算出し、この算出した色信号レベルを補間用色差信号(Cb[n])としているものとする。この場合、補間用色差信号(Cb[n])の色信号レベルが、Cb[n+3]〜Cb[n+7]の影響を受けたものとなる。すなわち、生成された補間用色差信号(Cb[n])は、Cb[n−1]とCb[n+1]の間で色にじみの原因になる。   Here, the reproducing apparatus calculates the average value of the color signal levels using the color signal levels of the color difference signals of the above 8 taps (Cb [n-7] to Cb [n + 7]), and uses the calculated color signal level. It is assumed that the color difference signal for interpolation (Cb [n]) is used. In this case, the color signal level of the interpolation color difference signal (Cb [n]) is influenced by Cb [n + 3] to Cb [n + 7]. That is, the generated interpolating color difference signal (Cb [n]) causes color blur between Cb [n−1] and Cb [n + 1].

なお、図10に示すような、Cb[n+1]とCb[n+3]の間の色信号レベルの急激な変化は、元々の画像データ(4:2:2フォーマット)に、OSD(オン・スクリーン・ディスプレイ)(4:2:2フォーマット)などの他の画像を重ね合わせると発生しやすい。   Note that a rapid change in the color signal level between Cb [n + 1] and Cb [n + 3] as shown in FIG. 10 is caused by the OSD (on-screen display) in the original image data (4: 2: 2 format). This is likely to occur when other images such as (display) (4: 2: 2 format) are overlaid.

そこで本発明は、上記課題を解決するために、第1フォーマットのビデオ信号を第2フォーマットに変換する場合において、色にじみの発生を軽減できる変換装置を提供することを目的とする。   SUMMARY OF THE INVENTION In order to solve the above problems, an object of the present invention is to provide a conversion device that can reduce the occurrence of color blur when converting a video signal of a first format to a second format.

本発明の変換装置は、第1フォーマットのビデオ信号を、当該第1フォーマットよりも情報量の多い第2フォーマットに変換する。変換装置は、前記第1フォーマットのビデオ信号を取得する取得手段と、前記第1フォーマットのビデオ信号において、色差が同じで、かつ、隣り合う、複数個の色信号を1つの単位として順次抽出する抽出手段と、前記抽出された複数個の色信号を用いて、補間用色信号を生成する生成手段と、前記生成手段で生成された補間用色信号に基づいて、前記取得された第1フォーマットのビデオ信号を第2フォーマットに変換し、出力する出力手段と、を備える。そして前記生成手段は、前記抽出された複数個の色信号において、隣接する色信号間にエッジが存在するか否かを検出するエッジ検出手段と、当該検出したエッジの位置に基づいて、前記複数個の色信号の一部を補正する補正手段と、当該補正された色信号を用いて前記補間用色信号を生成する補間信号生成手段と、を有する。   The conversion device of the present invention converts a video signal in the first format into a second format having a larger amount of information than the first format. The conversion apparatus sequentially extracts a plurality of color signals that have the same color difference and are adjacent to each other in the acquisition unit that acquires the video signal of the first format and the video signal of the first format as one unit. Extraction means, generation means for generating an interpolation color signal using the plurality of extracted color signals, and the acquired first format based on the interpolation color signal generated by the generation means Output means for converting and outputting the video signal to a second format. The generating unit is configured to detect, in the plurality of extracted color signals, an edge detecting unit that detects whether an edge exists between adjacent color signals, and the plurality of color signals based on the detected edge positions. Correction means for correcting a part of the color signals, and interpolation signal generation means for generating the interpolation color signal using the corrected color signal.

このようにすれば、隣接する色信号間にエッジが存在する箇所を検出して、そのエッジに応じて、色信号の一部を補正できる。このため、色にじみの原因になる色差情報を使用せずに、補間用の色信号を生成できるようになる。   In this way, it is possible to detect a portion where an edge exists between adjacent color signals and correct a part of the color signal in accordance with the edge. Therefore, it is possible to generate a color signal for interpolation without using color difference information that causes color blurring.

本発明によれば、第1フォーマットのビデオ信号を第2フォーマットに変換する場合において、色にじみの発生を軽減できる。   According to the present invention, it is possible to reduce the occurrence of color blur when converting a video signal of the first format to the second format.

本実施の形態に係るプレーヤーの構成図Configuration diagram of player according to the present embodiment 本実施の形態に係るHDMI用LSIの機能ブロック図Functional block diagram of an HDMI LSI according to the present embodiment 本実施の形態に係るHDMI伝送用変換ブロック内の機能ブロック図Functional block diagram in the conversion block for HDMI transmission according to the present embodiment 本実施の形態に係るHDMI伝送用変換ブロック内の入力信号及び出力信号を説明するための図The figure for demonstrating the input signal and output signal in the conversion block for HDMI transmission which concerns on this Embodiment 本実施の形態に係る補間処理の動作例を示すフローチャートThe flowchart which shows the operation example of the interpolation process which concerns on this Embodiment 本実施の形態に係る2TAP処理を説明するための図The figure for demonstrating 2TAP processing which concerns on this Embodiment 本実施の形態に係る第1の8TAP処理を説明するための図The figure for demonstrating the 1st 8TAP process which concerns on this Embodiment. 本実施の形態に係る第2の8TAP処理を説明するための図The figure for demonstrating the 2nd 8TAP process which concerns on this Embodiment. 本実施の形態に係る第3の8TAP処理を説明するための図The figure for demonstrating the 3rd 8TAP process which concerns on this Embodiment. 課題を説明するための図Illustration for explaining the problem

(実施の形態1)
本実施の形態に係るプレーヤー100を説明する
<1.本実施の形態の概要>
プレーヤー100は、ドライブ装置110に載置された光ディスクから4:2:0フォーマットのビデオ信号を取得する。プレーヤー100は、受信した4:2:0フォーマットのビデオ信号を、4:2:2フォーマット、もしくは4:4:4フォーマットに変換して、TV200に出力する。
(Embodiment 1)
The player 100 according to the present embodiment will be described <1. Overview of the present embodiment>
The player 100 acquires a 4: 2: 0 format video signal from the optical disk placed on the drive device 110. The player 100 converts the received 4: 2: 0 format video signal into the 4: 2: 2 format or 4: 4: 4 format and outputs the converted signal to the TV 200.

プレーヤー100は、4:2:2フォーマットのビデオ信号を4:4:4フォーマットに変換する際、以下の補間処理を施す。まず、プレーヤー100は、4:2:2フォーマットのビデオ信号から、色差が同じで、かつ、隣り合う、複数個(8個)の色差信号を取得する。つまり、プレーヤー100は、4:2:2フォーマットのビデオ信号から、Cb又はCrで隣り合う8個の色差信号を取得する。そしてプレーヤー100は、8個の色差信号のうち、隣接する色差信号間にエッジ(色レベルの差が閾値以上ある箇所)が存在するか否かを検出する。プレーヤー100は、エッジが存在すると判断した場合、エッジの位置に基づいて、8個の色差信号の一部を補正する。そしてプレーヤー100は、補正された色差信号を含む8個の色差信号を利用して、補間用色差信号を生成する。プレーヤー100は、このような処理を、4:2:2フォーマットのビデオ信号全体に対して繰り返す。   The player 100 performs the following interpolation processing when converting a 4: 2: 2 format video signal into a 4: 4: 4 format. First, the player 100 acquires a plurality (eight) of color difference signals having the same color difference and adjacent to each other from the 4: 2: 2 format video signal. That is, the player 100 acquires eight color difference signals adjacent in Cb or Cr from the video signal in the 4: 2: 2 format. Then, the player 100 detects whether or not there is an edge (a portion where the color level difference is equal to or greater than the threshold) between adjacent color difference signals among the eight color difference signals. When the player 100 determines that an edge exists, the player 100 corrects some of the eight color difference signals based on the position of the edge. Then, the player 100 generates an interpolation color difference signal by using the eight color difference signals including the corrected color difference signal. The player 100 repeats such processing for the entire video signal in the 4: 2: 2 format.

このようにすれば、隣接する色差信号間にエッジが存在する箇所を検出して、そのエッジに応じて、色差信号の一部を補正できる。このため、色にじみの原因になる色差情報を使用せずに、補間用の色差信号を生成できるようになる。   In this way, it is possible to detect a portion where an edge exists between adjacent color difference signals and correct a part of the color difference signal in accordance with the edge. Therefore, it is possible to generate a color difference signal for interpolation without using color difference information that causes color blurring.

<2.構成>
<2.1 全体構成とプレーヤー100の構成の説明(図1)>
図1は、全体構成の説明である。以下、各々の構成を説明する。
<2. Configuration>
<2.1 Description of Overall Configuration and Configuration of Player 100 (FIG. 1)>
FIG. 1 is an illustration of the overall configuration. Each configuration will be described below.

プレーヤー100は、ドライブ装置110に挿入された光ディスクから映像及び音声信号を読み出す。そしてプレーヤー100は、読み出した映像及び音声信号を、HDMI端子140を介してTV200に出力する。TV200では、プレーヤー100から入力される映像及び音声信号を表示画面として表示するとともに、音声として出力する。   The player 100 reads video and audio signals from the optical disc inserted in the drive device 110. Then, the player 100 outputs the read video and audio signals to the TV 200 via the HDMI terminal 140. The TV 200 displays the video and audio signals input from the player 100 as a display screen and outputs them as audio.

プレーヤー100は、ドライブ装置110、LSI120、HDMI用LSI130及びHDMI端子140で構成されている。以下、具体的に説明する。   The player 100 includes a drive device 110, an LSI 120, an HDMI LSI 130, and an HDMI terminal 140. This will be specifically described below.

ドライブ装置110は、光ディスクの信号を読み取り、LSI120に信号を出力する。光ディスクは、BD(Blu−ray Disc)やDVD(Digital Versatile Disc)等が考えられる。なお、本実施の形態では、ビデオ信号(映像信号)とオーディオ信号(音声信号)とデータ信号を多重化した信号が、光ディスクに格納されているものとする。また、ビデオ信号とオーディオ信号は、圧縮符合化されているものとする。ビデオ信号は、4:2:0フォーマット(YCbCrフォーマット)であるとする。   The drive device 110 reads a signal from the optical disk and outputs a signal to the LSI 120. As the optical disc, a BD (Blu-ray Disc), a DVD (Digital Versatile Disc), or the like can be considered. In this embodiment, it is assumed that a signal obtained by multiplexing a video signal (video signal), an audio signal (audio signal), and a data signal is stored on the optical disc. In addition, it is assumed that the video signal and the audio signal are compression-coded. It is assumed that the video signal is in 4: 2: 0 format (YCbCr format).

LSI120は、ドライブ装置110からの信号を受けると、デコード処理を行い、4:2:2フォーマットに変換して、HDMI用LSI130へ信号を出力する。具体的にLSI120は、多重化された信号を、ビデオ信号と、オーディオ信号と、データ信号に分離する。そしてLSI120は、分離されたビデオ信号とオーディオ信号の各々を、デコードする。これによって、デコードされた4:2:0フォーマットのビデオ信号が生成される。さらに、ビデオ信号はHDMI用LSI130へ伝送する前に、4:2:0フォーマットから4:2:2フォーマットへ変換される。つまり、LSI120は、デコードされた4:2:0フォーマットのビデオ信号を、4:2:2フォーマットに変換する。LSI120は、4:2:2フォーマットのビデオ信号及びオーディオ信号をHDMI用LSI130に出力する。また、LSI120は、データ信号をHDMI用LSI130に出力する。LSI120は、半導体チップ(LSI)で実現可能である。   When receiving a signal from the drive device 110, the LSI 120 performs a decoding process, converts the signal into a 4: 2: 2 format, and outputs the signal to the HDMI LSI 130. Specifically, the LSI 120 separates the multiplexed signal into a video signal, an audio signal, and a data signal. Then, the LSI 120 decodes each of the separated video signal and audio signal. Thus, a decoded 4: 2: 0 format video signal is generated. Further, the video signal is converted from the 4: 2: 0 format to the 4: 2: 2 format before being transmitted to the HDMI LSI 130. That is, the LSI 120 converts the decoded 4: 2: 0 format video signal into the 4: 2: 2 format. The LSI 120 outputs a 4: 2: 2 format video signal and audio signal to the HDMI LSI 130. The LSI 120 outputs a data signal to the HDMI LSI 130. The LSI 120 can be realized by a semiconductor chip (LSI).

ここでLSI120は、取得したビデオ信号に、OSD(オン・スクリーン・ディスプレイ)を重ね合わせることが可能である。この処理をかんたんに説明する。LSI120は、ユーザの操作などによって、ビデオ信号にOSDを重ね合わせる指示を受け付けると、LSI120内に予め記録されているOSD情報を読み出す。そして、LSI120は、読み出したOSD情報を、ドライブ装置110から取得したビデオ信号に重ね合わせる。ここで、LSI120は、4:4:4フォーマットのOSD情報を保持している。そのためLSI120は、OSD情報を、輝度情報:色差情報=2:1の割合で拡大する。例えば、LSI120は、輝度情報のみを2倍に拡大する。これによって、LSI120は、4:2:2フォーマットのOSD情報を得る。LSI120は、この4:2:2フォーマットのOSD情報を、取得したビデオ信号に重ね合わせる。このようにして、LSI120は、取得したビデオ信号にOSD情報を重ね合わせることが可能になる。なお、LSI120は、ビデオ信号がBDフォーマットである場合、プライマリビデオにセカンダリビデオを重ね合わせることも可能である。   Here, the LSI 120 can superimpose an OSD (on-screen display) on the acquired video signal. This process will be briefly described. When the LSI 120 receives an instruction to superimpose an OSD on a video signal by a user operation or the like, the LSI 120 reads OSD information recorded in advance in the LSI 120. Then, the LSI 120 superimposes the read OSD information on the video signal acquired from the drive device 110. Here, the LSI 120 holds OSD information in 4: 4: 4 format. Therefore, the LSI 120 enlarges the OSD information at a ratio of luminance information: color difference information = 2: 1. For example, the LSI 120 enlarges only the luminance information twice. As a result, the LSI 120 obtains OSD information in 4: 2: 2 format. The LSI 120 superimposes this 4: 2: 2 format OSD information on the acquired video signal. In this way, the LSI 120 can superimpose OSD information on the acquired video signal. Note that the LSI 120 can also superimpose the secondary video on the primary video when the video signal is in the BD format.

HDMI用LSI130は、LSI120からの信号を受け、HDMI出力を行うための信号処理を行う。そしてHDMI用LSI130は、信号処理を行った信号を、HDMI端子140へ出力する。具体的に、HDMI用LSI130は、4:2:2フォーマットのビデオ信号を4:4:4フォーマットに変換して(4:2:2のまま出力する場合は処理不要)、この変換した信号をHDMI端子140に出力する。HDMI用LSI130は、半導体チップ(LSI)で実現可能である。HDMI用LSI130の詳細は後述する。   The HDMI LSI 130 receives a signal from the LSI 120 and performs signal processing for performing HDMI output. The HDMI LSI 130 then outputs the signal that has undergone signal processing to the HDMI terminal 140. Specifically, the HDMI LSI 130 converts a 4: 2: 2 format video signal into a 4: 4: 4 format (no processing is required when outputting 4: 2: 2 as it is), and converts the converted signal to Output to the HDMI terminal 140. The HDMI LSI 130 can be realized by a semiconductor chip (LSI). Details of the HDMI LSI 130 will be described later.

HDMI端子140は、HDMI用LSI130からの信号を受け、TV200へデータを出力する。HDMI端子140は、TV200との間で情報のやり取りを可能にするものである。つまり、HDMI端子140は、TV200と電気的に接続可能に構成されている。   The HDMI terminal 140 receives a signal from the HDMI LSI 130 and outputs data to the TV 200. The HDMI terminal 140 enables information exchange with the TV 200. That is, the HDMI terminal 140 is configured to be electrically connectable with the TV 200.

電源150は、家庭用電源から得られるAC電流をDC電流に変換して、プレーヤー100の各部(LSI120やHDMI用LSI130等)へ電力を供給する。   The power source 150 converts an AC current obtained from a household power source into a DC current, and supplies power to each unit (LSI 120, HDMI LSI 130, etc.) of the player 100.

<2.2 HDMI用LSI130の機能ブロックの説明(図2)>
次に、HDMI用LSI130の機能ブロックを説明する。図2は、HDMI用LSI130の機能ブロックを説明するための図である。
<2.2 Functional Block Description of HDMI LSI 130 (FIG. 2)>
Next, functional blocks of the HDMI LSI 130 will be described. FIG. 2 is a diagram for explaining functional blocks of the HDMI LSI 130.

HDMI用LSI130は、CUS131及びHDMI伝送用変換ブロック132を機能ブロックとして有している。HDMI用LSI130には、LSI120からビデオ信号(4:2:2フォーマットのデジタルビデオ信号)、オーディオ信号(デジタルオーディオ信号)、及び、データ信号(パケット情報)が入力されている。   The HDMI LSI 130 has a CUS 131 and an HDMI transmission conversion block 132 as functional blocks. The HDMI LSI 130 receives a video signal (4: 2: 2 format digital video signal), an audio signal (digital audio signal), and a data signal (packet information) from the LSI 120.

CUS131は、HDMI用LSI130に入力された4:2:2フォーマットのデジタルビデオ信号にクロマアップサンプル処理を施し、4:4:4フォーマットのデジタルビデオ信号に変換する。CUS131は、4:4:4フォーマットのデジタルビデオ信号を、HDMI伝送用変換ブロック132へ出力する。   The CUS 131 performs a chroma upsampling process on the 4: 2: 2 format digital video signal input to the HDMI LSI 130 and converts it to a 4: 4: 4 format digital video signal. The CUS 131 outputs a 4: 4: 4 format digital video signal to the HDMI transmission conversion block 132.

HDMI伝送用変換ブロック132は、CUS131からのデジタルビデオ信号、HDMI用LSI130へ入力されたデジタルオーディオ信号、HDMI用LSI130へ入力されたパケット情報を受けて、HDMI伝送用フォーマットへ変換し出力する。本実施の形態では、HDMI伝送フォーマットとは、ビデオ信号のブランク期間にオーディオ信号やデータ信号のパケットデータを載せて、その信号をTMDS変換した信号のことである。TMDS変換とは、映像信号のベースバンド伝送に用いられる方式で、ビデオ信号を、24bitから30bitに変換し、シリアル化するものである。   The HDMI transmission conversion block 132 receives the digital video signal from the CUS 131, the digital audio signal input to the HDMI LSI 130, and the packet information input to the HDMI LSI 130, converts them into an HDMI transmission format, and outputs them. In the present embodiment, the HDMI transmission format is a signal obtained by placing audio signal or data signal packet data in a blank period of a video signal and TMDS converting the signal. TMDS conversion is a method used for baseband transmission of video signals, and converts a video signal from 24 bits to 30 bits and serializes it.

<2.3 CUS131の機能ブロック説明(図3)>
次に、CUS131の機能ブロックを説明する。図3は、CUS131の機能ブロックを説明するための図である。CUS131は、遅延ブロック(輝度データ)301、遅延ブロック(色差データ)302、補間データ生成部303、パラレル変換部(オリジナルデータ)304、パラレル変換部(色差データ)305及び合成部306を、機能ブロックとして有している。
<2.3 Functional Block Description of CUS131 (FIG. 3)>
Next, functional blocks of the CUS 131 will be described. FIG. 3 is a diagram for explaining functional blocks of the CUS 131. The CUS 131 includes a delay block (luminance data) 301, a delay block (color difference data) 302, an interpolation data generation unit 303, a parallel conversion unit (original data) 304, a parallel conversion unit (color difference data) 305, and a synthesis unit 306. Have as.

CUS131には、4:2:2フォーマットのデジタルビデオ信号が入力される。本実施の形態では、HDMI用LSI130からCUS131に、図4のようなビデオ信号が入力される。つまり、CUS131には、輝度データと色差データ(Cb又はCr)が、1つの単位となって入力される。このように輝度データと色差データ(Cb又はCr)を1つの単位とする理由は、情報の伝送量を少なくするためである。   The CUS 131 receives a 4: 2: 2 format digital video signal. In the present embodiment, a video signal as shown in FIG. 4 is input from the HDMI LSI 130 to the CUS 131. That is, luminance data and color difference data (Cb or Cr) are input to CUS 131 as one unit. The reason why luminance data and color difference data (Cb or Cr) are used as one unit is to reduce the amount of information transmitted.

なお、CUS131は、図4に示すように、1つの単位の入力データ(輝度データ及び色差データ(Cb又はCr))が入力されると、1つの単位の出力データ(輝度データ及び色差データ(Cb)、色差データ(Cr))が出力されるようになっている。   As shown in FIG. 4, the CUS 131 receives one unit of input data (luminance data and color difference data (Cb or Cr)) and outputs one unit of output data (luminance data and color difference data (Cb). ), Color difference data (Cr)) is output.

以下、1つの単位の入力データが入力されたことに伴うCUS131の各部の処理を説明する。例えば、CUS131に、Y[n+8]及びCr[n+7]が入力データとして入力されたとする。   Hereinafter, processing of each unit of the CUS 131 when input data of one unit is input will be described. For example, it is assumed that Y [n + 8] and Cr [n + 7] are input to the CUS 131 as input data.

遅延ブロック(輝度データ)301は、入力データのうち、輝度(Y)データを取得する。遅延ブロック(輝度データ)301は、取得した輝度信号を保持する遅延ブロックである。すなわち、遅延ブロック(輝度データ)301は、輝度データの読み出し指示が行なわれるまで、入力された輝度データを保持する。   The delay block (luminance data) 301 acquires luminance (Y) data among the input data. The delay block (luminance data) 301 is a delay block that holds the acquired luminance signal. That is, the delay block (luminance data) 301 holds the inputted luminance data until an instruction to read the luminance data is issued.

例えば、遅延ブロック(輝度データ)301には、輝度データとして、Y[n−1]、Y[n]、Y[n+1]、Y[n+2]、Y[n+3]、Y[n+4]、Y[n+5]、Y[n+6]、Y[n+7]のような情報が保持されていたとする。この場合、遅延ブロック(輝度データ)301は、新たな輝度データ Y[n+8]を取得すると、Y[n+8]を保持する。   For example, the delay block (luminance data) 301 includes Y [n−1], Y [n], Y [n + 1], Y [n + 2], Y [n + 3], Y [n + 4], Y [ Assume that information such as n + 5], Y [n + 6], and Y [n + 7] is held. In this case, when the delay block (luminance data) 301 acquires new luminance data Y [n + 8], it holds Y [n + 8].

遅延ブロック(色差データ)302は、入力データのうち、色差(Cb又はCr)データを取得する。遅延ブロック(色差データ)302は、取得した色信号を保持する遅延ブロックである。すなわち、遅延ブロック(色差データ)302は、色差データの読み出し指示が行なわれるまで、入力された色差データを保持する。本実施の形態では、遅延ブロック(色差データ)302に、16個の色差データを保持する。なお、遅延ブロック(色差データ)302は、新たな色差データを取得すると、9個前に取得した色差データをパラレル変換部(オリジナルデータ)304に出力する。   The delay block (color difference data) 302 acquires color difference (Cb or Cr) data among the input data. The delay block (color difference data) 302 is a delay block that holds the acquired color signal. That is, the delay block (color difference data) 302 holds the input color difference data until an instruction to read the color difference data is issued. In this embodiment, 16 color difference data are held in the delay block (color difference data) 302. When the delay block (color difference data) 302 acquires new color difference data, the delay block (color difference data) 302 outputs the previously acquired color difference data to the parallel conversion unit (original data) 304.

例えば、遅延ブロック(色差データ)302には、色差データとして、Cr[n−9]、Cb[n−7]、Cr[n−7]、Cb[nー5]、Cr[n−5]、Cb[n−3]、Cr[n−3]、Cb[n−1]、Cr[n−1]、Cb[n+1]、Cr[n+1]、Cb[n+3]、Cr[n+3]、Cb[n+5]、Cr[n+5]、Cb[n+7]のような情報が保持されていたとする。この場合、遅延ブロック(色差データ)302は、新たな色差データ Cr[n+7]を取得すると、Cr[n−9]を破棄して、Cr[n+7]を保持する。また、遅延ブロック(色差データ)302は、Cr[n−1]を読み出して、パラレル変換部(オリジナルデータ)304に出力する。   For example, the delay block (color difference data) 302 includes Cr [n-9], Cb [n-7], Cr [n-7], Cb [n-5], Cr [n-5] as color difference data. , Cb [n-3], Cr [n-3], Cb [n-1], Cr [n-1], Cb [n + 1], Cr [n + 1], Cb [n + 3], Cr [n + 3], Cb Assume that information such as [n + 5], Cr [n + 5], and Cb [n + 7] is held. In this case, when the delay block (color difference data) 302 acquires new color difference data Cr [n + 7], the delay block (color difference data) 302 discards Cr [n-9] and holds Cr [n + 7]. The delay block (color difference data) 302 reads Cr [n−1] and outputs it to the parallel conversion unit (original data) 304.

補間データ生成部303は、遅延ブロック(色差データ)302に保持された色差データに基づいて、Cb及びCrの補間用色差データを交互に生成する。補間データ生成部303は、まず、遅延ブロック(色差データ)302に保持された色差データから、Cb又はCrの色差データを取得する。   The interpolation data generation unit 303 alternately generates Cb and Cr interpolation color difference data based on the color difference data held in the delay block (color difference data) 302. The interpolation data generation unit 303 first acquires Cb or Cr color difference data from the color difference data held in the delay block (color difference data) 302.

この場合、補間データ生成部303は、Cbに関する8つの色差データを取得する。このようにして取得したデータは、色差が同じで、隣り合う情報である。補間データ生成部303は、この情報を利用して、補間用色差データを生成する。この例の場合、補間データ生成部303は、Cb[n−7]、Cb[n−5]、Cb[n−3]、Cb[n−1]、Cb[n+1]、Cb[n+3]、Cb[n+5]、Cb[n+7]の情報に基づいて、Cb[n]の補間用色差データを生成する。補間データ生成部303は、生成した補間用色差データを、パラレル変換部(色差データ)305に入力する。なお、補間用色差データは、図5を用いて<3.補間処理>の欄で詳しく説明する。   In this case, the interpolation data generation unit 303 acquires eight color difference data related to Cb. The data acquired in this way is adjacent information with the same color difference. The interpolation data generation unit 303 uses this information to generate interpolation color difference data. In this example, the interpolation data generation unit 303 includes Cb [n-7], Cb [n-5], Cb [n-3], Cb [n−1], Cb [n + 1], Cb [n + 3], Based on the information of Cb [n + 5] and Cb [n + 7], the color difference data for interpolation of Cb [n] is generated. The interpolation data generation unit 303 inputs the generated interpolation color difference data to the parallel conversion unit (color difference data) 305. Note that the color difference data for interpolation is <3. This will be described in detail in the section “Interpolation processing>.

補間データ生成部303は、上記Cb[n]の生成が終わると、次の入力データが入力されることに伴って、Crに関する8つの色差データを取得する。そして補間データ生成部303は、取得した色差データに基づいて、Crの補間用色差データを生成する。このようにして、補間データ生成部303は、順次抽出した色差データから、補間用色差データを生成する。補間データ生成部303は、生成した補間用色差データを、パラレル変換部(色差データ)305に入力する。   When the generation of the Cb [n] is completed, the interpolation data generation unit 303 acquires eight color difference data related to Cr as the next input data is input. The interpolation data generation unit 303 generates Cr interpolation color difference data based on the acquired color difference data. In this way, the interpolation data generation unit 303 generates interpolation color difference data from the sequentially extracted color difference data. The interpolation data generation unit 303 inputs the generated interpolation color difference data to the parallel conversion unit (color difference data) 305.

パラレル変換部(オリジナルデータ)304は、入力される色差データ(Cb)と色差データ(Cr)を1つの単位で出力する。ここで、パラレル変換部(オリジナルデータ)304には、Cb及びCrが交互に入力される。したがって、パラレル変換部(オリジナルデータ)304は、Cbの色差データを取得した場合、Cbの色差データを保持する。一方で、パラレル変換部(オリジナルデータ)304は、Crの色差データを取得した場合、保持したCbの色差データと、取得したCrの色差データを合わせて出力する。例えば、パラレル変換部(オリジナルデータ)304にCr[n−1]が入力されたとする。この場合、パラレル変換部(オリジナルデータ)304は、1つ前に入力されるCb[n−1]を保持しているはずである。   The parallel conversion unit (original data) 304 outputs the input color difference data (Cb) and color difference data (Cr) in one unit. Here, Cb and Cr are alternately input to the parallel conversion unit (original data) 304. Accordingly, when the parallel conversion unit (original data) 304 acquires Cb color difference data, the parallel conversion unit (original data) 304 holds the Cb color difference data. On the other hand, when acquiring the Cr color difference data, the parallel conversion unit (original data) 304 outputs the retained Cb color difference data and the acquired Cr color difference data together. For example, it is assumed that Cr [n−1] is input to the parallel conversion unit (original data) 304. In this case, the parallel conversion unit (original data) 304 should hold Cb [n−1] input immediately before.

したがって、パラレル変換部(オリジナルデータ)304は、Cb[n−1]とCr[n−1]を合わせて、合成部306に出力する。要するに、パラレル変換部(オリジナルデータ)304は、順次取得されるCb及びCrの色差データを、合成部306へ2mクロック毎に出力する。   Therefore, the parallel conversion unit (original data) 304 combines Cb [n−1] and Cr [n−1] and outputs the combined result to the combining unit 306. In short, the parallel conversion unit (original data) 304 outputs the sequentially acquired Cb and Cr color difference data to the synthesis unit 306 every 2 m clock.

パラレル変換部(色差データ)305は、入力される補間用色差データ(Cb)と補間用色差データ(Cr)を1つの単位で出力する。ここでパラレル変換部(色差データ)305には、Cb及びCrが交互に入力される。   The parallel conversion unit (color difference data) 305 outputs the input interpolation color difference data (Cb) and the interpolation color difference data (Cr) in one unit. Here, Cb and Cr are alternately input to the parallel conversion unit (color difference data) 305.

したがって、パラレル変換部(色差データ)305は、Cbの補間用色差データを取得した場合、Cbの補間用色差データを保持する。一方で、パラレル変換部(色差データ)305は、Crの補間用色差データを取得した場合、保持したCbの補間用色差データと、取得したCrの補間用色差データを合わせて出力する。なお、例えば、パラレル変換部(色差データ)305は、Cb[n]を取得すると、Cb[n]を保持する。要するに、パラレル変換部(色差データ)305は、順次取得されるCb及びCrの補間用色差データを、合成部306へ2m+1クロック毎に出力する。   Therefore, the parallel conversion unit (color difference data) 305 holds the Cb interpolation color difference data when the Cb interpolation color difference data is acquired. On the other hand, when the parallel conversion unit (color difference data) 305 acquires Cr color difference data for interpolation, the parallel conversion unit (color difference data) 305 outputs the stored Cb interpolation color difference data and the acquired Cr color difference data for interpolation together. For example, when the parallel conversion unit (color difference data) 305 acquires Cb [n], it holds Cb [n]. In short, the parallel conversion unit (color difference data) 305 outputs the Cb and Cr interpolation color difference data sequentially acquired to the synthesis unit 306 every 2m + 1 clock.

合成部306は、遅延ブロック(輝度データ)301から取得される輝度データと、パラレル変換部(オリジナルデータ)304又はパラレル変換部(色差データ)305から入力される色差データと、を合わせて、出力する。例えば、合成部306は、Cb[n−1]、Cr[n−1]を取得すると、遅延ブロック(輝度データ)301からY[n−1]を取得して出力する。   The combining unit 306 outputs the luminance data acquired from the delay block (luminance data) 301 and the color difference data input from the parallel conversion unit (original data) 304 or the parallel conversion unit (color difference data) 305 and outputs To do. For example, when Cb [n−1] and Cr [n−1] are acquired, the synthesis unit 306 acquires Y [n−1] from the delay block (luminance data) 301 and outputs it.

このようにして、CUS131では、4:2:2フォーマットのビデオ信号を4:4:4フォーマットに変換できる。   In this way, the CUS 131 can convert a 4: 2: 2 format video signal into a 4: 4: 4 format.

<2.4 CUS131の入力データ及び出力データの説明>
上記説明したCUS131での入力データ及び出力データの説明を行なう。図4は、入力データと出力データの関係を示す図である。なお、入力データと出力データは、CUS131の内部処理遅延が存在するので、tのタイミングとsのタイミングが一致するわけではない。すなわち、tは、入力データの入力タイミングを示し、sは、出力データの出力タイミングを示すにすぎない。なお、Cb1とCr1は、Y1の位置に対応したデータであり、Cb3とCr3は、Y3の位置に対応したデータである。
<2.4 Explanation of Input Data and Output Data of CUS131>
The input data and output data in the CUS 131 described above will be described. FIG. 4 is a diagram illustrating the relationship between input data and output data. Note that the input data and the output data have an internal processing delay of the CUS 131, so the timing of t does not coincide with the timing of s. That is, t indicates the input timing of the input data, and s only indicates the output timing of the output data. Cb1 and Cr1 are data corresponding to the position of Y1, and Cb3 and Cr3 are data corresponding to the position of Y3.

CUS131は、tのタイミングで、Y1及びCb1が入力される。CUS131は、次のt+1のタイミングで、Y2及びCr1が入力される。このように、入力データが順次入力される。   CUS131 receives Y1 and Cb1 at the timing t. The CUS 131 receives Y2 and Cr1 at the next timing t + 1. In this way, input data is sequentially input.

一方、CUS131は、sのタイミングで、Y1及びCb1、Cr1が出力される。CUS131は、次のs+1のタイミングで、Y2及びCb2、Cr2が出力される。なお、Cb2及びCr2は、補間されたデータである。このように、出力データが順次出力される。   On the other hand, CUS131 outputs Y1, Cb1, and Cr1 at the timing of s. The CUS 131 outputs Y2, Cb2, and Cr2 at the next s + 1 timing. Cb2 and Cr2 are interpolated data. In this way, output data is sequentially output.

要するに、Cb1、Cr1、Cb3及びCr3は入力されたオリジナルデータであり、Cb2、Cr2、Cb4及びCr4は、クロマアップサンプル処理による補間データである。   In short, Cb1, Cr1, Cb3, and Cr3 are input original data, and Cb2, Cr2, Cb4, and Cr4 are interpolation data by chroma upsampling processing.

<3.補間処理の説明(図5)>
本実施の形態の補間処理を、補間データ生成部303の動作例で説明する。図5は、補間データ生成部303の補間処理の動作を説明するためのフローチャートである。
<3. Explanation of interpolation processing (FIG. 5)>
The interpolation processing of the present embodiment will be described with an example of the operation of the interpolation data generation unit 303. FIG. 5 is a flowchart for explaining the operation of the interpolation processing of the interpolation data generation unit 303.

まず、補間データ生成部303は、遅延ブロック(色差データ)302から、Cb又はCrの色差データを8個取得する(S1)。
補間データ生成部303は、上記実施の形態に示したように、Cbに関する色差データを8個取得した場合を例にして説明を行なう。したがって、補間データ生成部303は、Cb[n−7]、Cb[n−5]、Cb[n−3]、Cb[n−1]、Cb[n+1]、Cb[n+3]、Cb[n+5]、Cb[n+7]の色差データを取得する。なお、補間データ生成部303は、このデータを基に、Cb[n]の補間用色差データを生成する。
First, the interpolation data generation unit 303 acquires eight Cb or Cr color difference data from the delay block (color difference data) 302 (S1).
The interpolation data generation unit 303 will be described by taking as an example a case where eight pieces of color difference data relating to Cb have been acquired as described in the above embodiment. Therefore, the interpolation data generation unit 303 performs Cb [n-7], Cb [n-5], Cb [n-3], Cb [n−1], Cb [n + 1], Cb [n + 3], Cb [n + 5. ], Cb [n + 7] color difference data is acquired. The interpolation data generation unit 303 generates Cb [n] color difference data for interpolation based on this data.

次に、補間データ生成部303は、隣接する色差データ間の差分を検出する(S2)。例えば、補間データ生成部303は、Cb[n−7]とCb[n−5]の色レベルの差分を検出する。同様に、補間データ生成部303は、Cb[n−5]とCb[n−3]の色レベルの差分を検出する。このようにして、補間データ生成部303は、隣接する色差データ間の差分を検出する。本実施の形態では、差分値を絶対値に丸める。つまり、小数点以下を四捨五入する。   Next, the interpolation data generation unit 303 detects a difference between adjacent color difference data (S2). For example, the interpolation data generation unit 303 detects a difference in color level between Cb [n-7] and Cb [n-5]. Similarly, the interpolation data generation unit 303 detects the difference in color level between Cb [n-5] and Cb [n-3]. In this way, the interpolation data generation unit 303 detects a difference between adjacent color difference data. In the present embodiment, the difference value is rounded to an absolute value. In other words, it rounds off after the decimal point.

次に、補間データ生成部303は、検出した差分を参照し、条件1又は条件2を満たすか否かを判別する(S3)。   Next, the interpolation data generation unit 303 refers to the detected difference and determines whether or not the condition 1 or the condition 2 is satisfied (S3).

〔条件1〕補間用色差データが挿入される位置において、隣接する色差データの差分値が第1閾値以下であり、かつ、隣接する色差データの何れか一方の色レベルが「0」(黒)である。   [Condition 1] At the position where the color difference data for interpolation is inserted, the difference value between the adjacent color difference data is equal to or less than the first threshold value, and the color level of any one of the adjacent color difference data is “0” (black). It is.

〔条件2〕補間用色差データが挿入される位置において、隣接する色差データの差分値が第1閾値以下であり、かつ、補間用色差データが挿入される位置から1つ離れた色差データ間の差分値が第1閾値以下である。   [Condition 2] At the position where the color difference data for interpolation is inserted, the difference value between adjacent color difference data is equal to or less than the first threshold value, and between the color difference data one distance away from the position where the color difference data for interpolation is inserted. The difference value is less than or equal to the first threshold value.

ここで上記条件1と条件2の第1閾値には、「0」が用いられている。つまり、本実施の形態では、隣接する色差データの色信号レベルが一致する場合、上記条件の一部を満たすことになる。また、補間用色差データが挿入される位置から1つ離れた色差データ間とは、本実施の形態では、Cb[n−3]とCb[n−1](d[2])、及び、Cb[n+1]とCb[n+3](d[4])のことを示している。   Here, “0” is used as the first threshold value of the above condition 1 and condition 2. That is, in the present embodiment, when the color signal levels of adjacent color difference data match, a part of the above condition is satisfied. Further, in the present embodiment, between the color difference data one distance away from the position where the interpolation color difference data is inserted, Cb [n-3], Cb [n-1] (d [2]), and Cb [n + 1] and Cb [n + 3] (d [4]) are shown.

要するに、ステップS3では、補間用色差データが挿入される位置付近の色差データの差分が小さいか否かを判別している。すなわち、補間データ生成部303は、平坦部を検知していることになる。   In short, in step S3, it is determined whether or not the difference between the color difference data near the position where the interpolation color difference data is inserted is small. That is, the interpolation data generation unit 303 detects a flat part.

例えば、図6のAの場合、Cb[n−1]とCb[n+1](d[3])の差分値が「0」であり、色信号レベルが「0」である。したがって、上記条件1を満たし、ステップS4に移行する。また、図6のBの場合、Cb[n−1]とCb[n+1](d[3])の差分値が「0」であり、Cb[n+1]とCb[n+3](d[4])の差分値が「0」である。したがって、上記条件2を満たし、ステップS4に移行する。   For example, in the case of A in FIG. 6, the difference value between Cb [n−1] and Cb [n + 1] (d [3]) is “0”, and the color signal level is “0”. Therefore, the above condition 1 is satisfied, and the process proceeds to step S4. In the case of B in FIG. 6, the difference value between Cb [n−1] and Cb [n + 1] (d [3]) is “0”, and Cb [n + 1] and Cb [n + 3] (d [4] ) Is “0”. Therefore, the above condition 2 is satisfied, and the process proceeds to step S4.

ステップS3で条件を満たす場合、補間データ生成部303は、2TAP処理に移行する(S4)。2TAP処理を説明する。2TAP処理は、補間用色差データを、隣接する色差データのみに基づいて生成するものである。例えば、図6に示すように、補間データ生成部303は、Cb[n−1]の色信号レベル、及び、Cb[n+1]の色信号レベルに基づいて、Cb[n]を算出する。具体的に、補間データ生成部303は、Cb[n−1]とCb[n+1]の2つの平均値を算出して、Cb[n]の色信号レベルとする。   If the condition is satisfied in step S3, the interpolation data generation unit 303 proceeds to 2TAP processing (S4). The 2TAP process will be described. In the 2TAP processing, the color difference data for interpolation is generated based only on the adjacent color difference data. For example, as illustrated in FIG. 6, the interpolation data generation unit 303 calculates Cb [n] based on the color signal level of Cb [n−1] and the color signal level of Cb [n + 1]. Specifically, the interpolation data generation unit 303 calculates two average values of Cb [n−1] and Cb [n + 1] to obtain the color signal level of Cb [n].

一方、ステップS3を満たさない場合、補間データ生成部303は、補間用色差データが挿入される位置から1つ離れた位置に、エッジが存在するか否かを判断する(S5)。補間データ生成部303は、まず、補間用色差データが挿入される位置から1つ離れた位置である、Cb[n−3]とCb[n−1](d[2])がエッジに該当するか否かを判別する。そして補間データ生成部303は、補間用色差データが挿入される位置から1つ離れた位置である、Cb[n+1]とCb[n+3](d[4])がエッジに該当するか否かを判別する。つまり、補間用色差データが挿入される位置から1つ離れた位置とは、上記例では、Cb[n−3]とCb[n−1]、及び、Cb[n+1]とCb[n+3]のことを示している。以下、具体的動作を説明する。以下の説明は、Cb[n+1]とCb[n+3](d[4])がエッジに該当するか否かを判別する際の動作例である。   On the other hand, when step S3 is not satisfied, the interpolation data generation unit 303 determines whether an edge exists at a position one distance away from the position where the interpolation color difference data is inserted (S5). In the interpolation data generation unit 303, first, Cb [n-3] and Cb [n-1] (d [2]), which are positions one away from the position where the interpolation color difference data is inserted, correspond to edges. It is determined whether or not to do so. Then, the interpolation data generation unit 303 determines whether or not Cb [n + 1] and Cb [n + 3] (d [4]), which are one position away from the position where the interpolation color difference data is inserted, correspond to edges. Determine. That is, in the above example, Cb [n-3] and Cb [n-1], and Cb [n + 1] and Cb [n + 3] are separated from the position where the interpolation color difference data is inserted. It is shown that. A specific operation will be described below. The following explanation is an operation example when it is determined whether or not Cb [n + 1] and Cb [n + 3] (d [4]) correspond to edges.

〔S5−1の動作〕まず、補間データ生成部303は、補間用色差データが挿入される位置から1つ離れた位置(例えば、d[4])の差分値に基づいて、第2閾値を算出する。補間データ生成部303は、d[4]の差分値を所定の値(例えば、5)で割って、第2閾値を算出する。   [Operation of S5-1] First, the interpolation data generation unit 303 sets the second threshold value based on the difference value at a position (for example, d [4]) one position away from the position where the color difference data for interpolation is inserted. calculate. The interpolation data generation unit 303 calculates the second threshold value by dividing the difference value of d [4] by a predetermined value (for example, 5).

〔S5−2の動作〕次に、補間データ生成部303は、境界(d[4])で分断される2つのエリアにおいて、境界(d[4])付近の色差データ間の差分値が第2閾値よりも小さいか否かを判別する。ここで、本実施の形態において、境界付近の色差データ間には、境界から3つ離れた位置(境界から所定範囲離れた位置の一例)の色差データ間までを含む。つまり、境界がd[4]である場合、d[1]、d[2]、d[3]、d[5]、d[6]が境界付近の色差データ間になる。よって、補間データ生成部303は、d[1]、d[2]、d[3]、d[5]、d[6]の差分値が、第2閾値よりも小さいか否かを判別する。補間データ生成部303は、境界付近の色差データ間の差分値が、すべて第2閾値よりも小さい場合、境界をエッジと判断する。一方、補間データ生成部303は、境界付近の色差データ間の差分値の一部が、第2閾値以上である場合、エッジでないと判断する。   [Operation of S5-2] Next, the interpolation data generation unit 303 calculates the difference value between the color difference data near the boundary (d [4]) in the two areas divided by the boundary (d [4]). It is determined whether or not it is smaller than two threshold values. Here, in the present embodiment, the color difference data near the boundary includes the space between the color difference data at three positions away from the boundary (an example of a position away from the boundary by a predetermined range). That is, when the boundary is d [4], d [1], d [2], d [3], d [5], and d [6] are between the color difference data near the boundary. Therefore, the interpolation data generation unit 303 determines whether the difference value between d [1], d [2], d [3], d [5], and d [6] is smaller than the second threshold value. . The interpolation data generation unit 303 determines that the boundary is an edge when the difference values between the color difference data near the boundary are all smaller than the second threshold value. On the other hand, when a part of the difference value between the color difference data near the boundary is equal to or larger than the second threshold, the interpolation data generation unit 303 determines that the edge is not an edge.

〔S5−3の動作〕つまり、補間データ生成部303は、補間位置から1つ離れた位置にエッジが存在すると判断されれば、ステップS6に移行する。一方補間データ生成部303は、補間位置から1つ離れた位置にエッジが存在しないと判断されれば、ステップS7に移行する。   [Operation of S5-3] That is, if the interpolation data generation unit 303 determines that an edge exists at a position one distance away from the interpolation position, the process proceeds to step S6. On the other hand, if it is determined that no edge exists at a position one distance away from the interpolation position, the interpolation data generation unit 303 proceeds to step S7.

ステップS5で条件を満たす場合、補間データ生成部303は、第1の8TAP処理に移行する(S6)。第1の8TAP処理の説明を行う。   If the condition is satisfied in step S5, the interpolation data generation unit 303 proceeds to the first 8TAP process (S6). The first 8TAP process will be described.

まず、補間データ生成部303は、補間用色差データが挿入される位置(例えば、Cb[n−1]とCb[n+1]の間)を基準にして、検出したエッジ(例えば、Cb[n+1]とCb[n+3]の間)よりも遠い位置に存在する色差データを補正する。具体的には、図7のBに示すように、補間データ生成部303は、補間用色差データが挿入される位置(例えば、Cb[n−1]とCb[n+1]の間)を基準にして、検出したエッジ(例えば、Cb[n+1]とCb[n+3]の間)の近い側に存在する色差データ(例えば、Cb[n+1])を用い補正する。つまり、補間データ生成部303は、Cb[n+3]、Cb[n+5]、Cb[n+7]の色差データを、Cb[n+1]と同じ色信号レベルに置き換える。このようにして、補間データ生成部303は、検出したエッジ(例えば、Cb[n+1]とCb[n+3]の間)よりも遠い位置に存在する色差データを補正する(図7のB)。本実施の形態において、補正後の色差データは、Cb[n+3]´、Cb[n+5]´、Cb[n+7]´となる。   First, the interpolation data generation unit 303 uses the detected edge (for example, Cb [n + 1]) with reference to the position (for example, between Cb [n−1] and Cb [n + 1]) where the color difference data for interpolation is inserted. And Cb [n + 3]) are corrected. Specifically, as illustrated in B of FIG. 7, the interpolation data generation unit 303 uses the position (for example, between Cb [n−1] and Cb [n + 1]) where the color difference data for interpolation is inserted as a reference. Then, the color difference data (for example, Cb [n + 1]) existing near the detected edge (for example, between Cb [n + 1] and Cb [n + 3]) is used for correction. That is, the interpolation data generation unit 303 replaces the color difference data of Cb [n + 3], Cb [n + 5], and Cb [n + 7] with the same color signal level as Cb [n + 1]. In this way, the interpolation data generation unit 303 corrects the color difference data existing at a position farther than the detected edge (for example, between Cb [n + 1] and Cb [n + 3]) (B in FIG. 7). In the present embodiment, the corrected color difference data is Cb [n + 3] ′, Cb [n + 5] ′, and Cb [n + 7] ′.

そして、補間データ生成部303は、補正した色差データを用いて、補間用色差データを生成する。例えば、補間データ生成部303は、補正されたCb[n+3]´、Cb[n+5]´、Cb[n+7]´、及び、Cb[n−7]、Cb[n−5]、Cb[n−3]、Cb[n−1]、Cb[n+1]を用いて平均値を算出し、算出した情報をCb[n]の色信号レベルとする。   Then, the interpolation data generating unit 303 generates interpolation color difference data using the corrected color difference data. For example, the interpolation data generation unit 303 corrects the corrected Cb [n + 3] ′, Cb [n + 5] ′, Cb [n + 7] ′, Cb [n−7], Cb [n−5], and Cb [n−. 3], Cb [n−1], and Cb [n + 1] are used to calculate an average value, and the calculated information is used as the color signal level of Cb [n].

図5の説明に戻って、ステップS5を満たさない場合、補間データ生成部303は、補間位置から2つ離れた位置にエッジが存在するか否かを判断する(S7)。補間データ生成部303は、まず、補間用色差データが挿入される位置から2つ離れた位置である、Cb[n−5]とCb[n−3](d[1])がエッジに該当するか否かを判別する。そして補間データ生成部303は、補間用色差データが挿入される位置から2つ離れた位置である、Cb[n+3]とCb[n+5](d[5])がエッジに該当するか否かを判別する。つまり、補間用色差データが挿入される位置から2つ離れた位置とは、上記例では、Cb[n−5]とCb[n−3]、及び、Cb[n+3]とCb[n+5]のことを示している。以下、具体的動作を説明する。以下の説明は、Cb[n+3]とCb[n+5](d[5])がエッジに該当するか否かを判別する際の動作例である。   Returning to the description of FIG. 5, when the step S5 is not satisfied, the interpolation data generation unit 303 determines whether an edge exists at a position two away from the interpolation position (S7). In the interpolation data generation unit 303, first, Cb [n-5] and Cb [n-3] (d [1]), which are two positions away from the position where the interpolation color difference data is inserted, correspond to edges. It is determined whether or not to do so. Then, the interpolation data generation unit 303 determines whether or not Cb [n + 3] and Cb [n + 5] (d [5]), which are two positions away from the position where the interpolation color difference data is inserted, correspond to edges. Determine. That is, in the above example, Cb [n−5] and Cb [n−3] and Cb [n + 3] and Cb [n + 5] are separated from the position where the interpolation color difference data is inserted by two positions. It is shown that. A specific operation will be described below. The following description is an operation example when it is determined whether or not Cb [n + 3] and Cb [n + 5] (d [5]) correspond to edges.

〔S7−1の動作〕まず、補間データ生成部303は、補間用色差データが挿入される位置から2つ離れた位置(例えば、d[5])の差分値に基づいて、第2閾値を算出する。補間データ生成部303は、d[5]の差分値を所定の値(例えば、5)で割って、第2閾値を算出する。   [Operation of S7-1] First, the interpolation data generation unit 303 sets the second threshold value based on the difference value at a position (for example, d [5]) that is two distances from the position where the color difference data for interpolation is inserted. calculate. The interpolation data generation unit 303 calculates the second threshold value by dividing the difference value of d [5] by a predetermined value (for example, 5).

〔S7−2の動作〕次に、補間データ生成部303は、境界(d[5])で分断される2つのエリアにおいて、境界(d[5])付近の色差データ間の差分値が第2閾値よりも小さいか否かを判別する。ここで、本実施の形態において、境界付近の色差データ間には、境界から3つ離れた位置の色差データ間までを含む。つまり、境界がd[5]である場合、d[2]、d[3]、d[4]、d[6]が境界付近の色差データ間になる。よって、補間データ生成部303は、d[2]、d[3]、d[4]、d[6]の差分値が、第2閾値よりも小さいか否かを判別する。補間データ生成部303は、境界付近の色差データ間の差分値が、すべて第2閾値よりも小さい場合、境界をエッジと判断する。一方、補間データ生成部303は、境界付近の色差データ間の差分値の一部が、第2閾値以上である場合、エッジでないと判断する。   [Operation of S7-2] Next, the interpolation data generation unit 303 calculates the difference value between the color difference data near the boundary (d [5]) in the two areas divided by the boundary (d [5]). It is determined whether or not it is smaller than two threshold values. Here, in the present embodiment, the color difference data near the boundary includes the space between the color difference data at three positions away from the boundary. That is, when the boundary is d [5], d [2], d [3], d [4], and d [6] are between the color difference data near the boundary. Therefore, the interpolation data generation unit 303 determines whether the difference value between d [2], d [3], d [4], and d [6] is smaller than the second threshold value. The interpolation data generation unit 303 determines that the boundary is an edge when the difference values between the color difference data near the boundary are all smaller than the second threshold value. On the other hand, when a part of the difference value between the color difference data near the boundary is equal to or larger than the second threshold, the interpolation data generation unit 303 determines that the edge is not an edge.

〔S7−3の動作〕つまり、補間データ生成部303は、補間位置から2つ離れた位置にエッジが存在すると判断されれば、ステップS8に移行する。一方補間データ生成部303は、補間位置から2つ離れた位置にエッジが存在しないと判断されれば、ステップS9に移行する。   [Operation of S7-3] That is, if it is determined that an edge exists at a position two away from the interpolation position, the interpolation data generation unit 303 proceeds to step S8. On the other hand, if it is determined that no edge exists at a position two away from the interpolation position, the interpolation data generation unit 303 proceeds to step S9.

ステップS7で条件を満たす場合、補間データ生成部303は、第2の8TAP処理に移行する(S8)。第2の8TAP処理の説明を行う。   If the condition is satisfied in step S7, the interpolation data generation unit 303 proceeds to the second 8TAP process (S8). The second 8TAP process will be described.

まず、補間データ生成部303は、補間用色差データが挿入される位置(例えば、Cb[n−1]とCb[n+1]の間)を基準にして、検出したエッジ(例えば、Cb[n+3]とCb[n+5]の間)よりも遠い位置に存在する色差データを補正する。具体的には、図8のBに示すように、補間データ生成部303は、補間用色差データが挿入される位置(例えば、Cb[n−1]とCb[n+1]の間)を基準にして、検出したエッジ(例えば、Cb[n+3]とCb[n+5]の間)の近い側に存在する色差データ(例えば、Cb[n+3])を用い補正する。つまり、補間データ生成部303は、Cb[n+5]、Cb[n+7]の色差データを、Cb[n+3]と同じ色信号レベルに置き換える。このようにして、補間データ生成部303は、検出したエッジ(例えば、Cb[n+3]とCb[n+5]の間)よりも遠い位置に存在する色差データを補正する(図8のB)。本実施の形態において、補正後の色差データは、Cb[n+5]´、Cb[n+7]´となる。   First, the interpolation data generation unit 303 detects a detected edge (for example, Cb [n + 3]) with reference to a position (for example, between Cb [n−1] and Cb [n + 1]) at which interpolation color difference data is inserted. And Cb [n + 5]) are corrected. Specifically, as illustrated in B of FIG. 8, the interpolation data generation unit 303 uses the position (for example, between Cb [n−1] and Cb [n + 1]) where the color difference data for interpolation is inserted as a reference. Then, the color difference data (for example, Cb [n + 3]) existing near the detected edge (for example, between Cb [n + 3] and Cb [n + 5]) is used for correction. That is, the interpolation data generation unit 303 replaces the color difference data of Cb [n + 5] and Cb [n + 7] with the same color signal level as Cb [n + 3]. In this manner, the interpolation data generation unit 303 corrects the color difference data existing at a position farther than the detected edge (for example, between Cb [n + 3] and Cb [n + 5]) (B in FIG. 8). In the present embodiment, the corrected color difference data is Cb [n + 5] ′, Cb [n + 7] ′.

そして、補間データ生成部303は、補正した色差データを用いて、補間用色差データを生成する。例えば、補間データ生成部303は、補正されたCb[n+5]´、Cb[n+7]´、及び、Cb[n−7]、Cb[n−5]、Cb[n−3]、Cb[n−1]、Cb[n+1]、Cb[n+3]を用いて平均値を算出し、算出した情報をCb[n]の色信号レベルとする。   Then, the interpolation data generating unit 303 generates interpolation color difference data using the corrected color difference data. For example, the interpolation data generation unit 303 corrects Cb [n + 5] ′, Cb [n + 7] ′, Cb [n−7], Cb [n−5], Cb [n−3], and Cb [n]. −1], Cb [n + 1], and Cb [n + 3], the average value is calculated, and the calculated information is set as the color signal level of Cb [n].

図5の説明に戻って、ステップS7で条件を満たさない場合、第3の8TAP処理に移行する(S9)。第3の8TAP処理の説明を行う。補間データ生成部303は、取得した8個の色差データを用いて補間用色差データを生成する。具体的には、補間データ生成部303は、8個の色差データの色差データの平均値を算出し、この算出した平均値をCb[n]の色信号レベルとする。   Returning to the description of FIG. 5, when the condition is not satisfied in step S7, the process proceeds to the third 8TAP process (S9). The third 8TAP process will be described. The interpolation data generation unit 303 generates interpolation color difference data using the acquired eight color difference data. Specifically, the interpolation data generation unit 303 calculates an average value of the color difference data of the eight color difference data, and sets the calculated average value as the color signal level of Cb [n].

このようにして、補間データ生成部303は、補間処理を行っている。なお、この動作例では、Cbの補間処理を説明したが、Crに関しても同様の方法で実現できる。   In this way, the interpolation data generation unit 303 performs the interpolation process. In this example of operation, the Cb interpolation process has been described, but Cr can also be realized by the same method.

<4.まとめ>
本実施の形態は、プレーヤー100は、4:2:0フォーマットのビデオ信号を、4:2:2フォーマットに変換する。また、プレーヤー100は、4:2:2フォーマットのビデオ信号を、4:4:4フォーマットに変換する装置である。プレーヤー100は、4:2:2フォーマットのビデオ信号を、4:4:4フォーマットに変換するために、以下の制御ブロックを有する。
<4. Summary>
In the present embodiment, the player 100 converts the video signal in the 4: 2: 0 format into the 4: 2: 2 format. The player 100 is a device that converts a 4: 2: 2 format video signal into a 4: 4: 4 format. The player 100 includes the following control blocks in order to convert a 4: 2: 2 format video signal into a 4: 4: 4 format.

プレーヤー100は、4:2:2フォーマットのビデオ信号を取得する遅延ブロック(色差データ)302と、4:2:2フォーマットのビデオ信号において、色差が同じで、かつ、隣り合う、8個の色差信号を1つの単位として順次抽出する補間データ生成部303と、抽出された8個の色差信号を用いて、補間用色差信号を生成する補間データ生成部303と、補間データ生成部303で生成された補間用色差信号に基づいて、4:2:2フォーマットのビデオ信号を4:4:4フォーマットに変換し、出力する合成部306と、を備える。そして、補間データ生成部303は、抽出された8個の色差信号において、隣接する色差信号間にエッジが存在するか否かを検出するエッジ検出部と、検出したエッジの位置に基づいて、8個の色差信号の一部を補正する補正部と、補正された色差信号を用いて補間用色差信号を生成する補間信号生成部と、を有する。   The player 100 uses a delay block (color difference data) 302 for acquiring a 4: 2: 2 format video signal and eight color differences in the 4: 2: 2 format video signal that have the same color difference and are adjacent to each other. An interpolation data generation unit 303 that sequentially extracts signals as one unit, an interpolation data generation unit 303 that generates interpolation color difference signals using the extracted eight color difference signals, and an interpolation data generation unit 303 A synthesizing unit 306 that converts a 4: 2: 2 format video signal into a 4: 4: 4 format based on the interpolated color difference signal and outputs the converted video signal. Then, the interpolation data generation unit 303 determines whether or not there is an edge between adjacent color difference signals in the extracted eight color difference signals, and based on the detected edge position. A correction unit that corrects a part of the individual color difference signals; and an interpolation signal generation unit that generates an interpolation color difference signal using the corrected color difference signal.

このようにすれば、隣接する色差信号間にエッジが存在する箇所を検出して、そのエッジに応じて、色差信号の一部を補正できる。このため、色にじみの原因になる色差情報を使用せずに、補間用の色差信号を生成できるようになる。   In this way, it is possible to detect a portion where an edge exists between adjacent color difference signals and correct a part of the color difference signal in accordance with the edge. Therefore, it is possible to generate a color difference signal for interpolation without using color difference information that causes color blurring.

また、補間データ生成部303は、抽出された8個の色差信号において、補正用色差信号が補間される箇所で隣接する色差信号の色レベルの差が第1閾値以下であるか否かを判別する判別部と、判別部で第1閾値以下であると判別した場合、抽出した8個の色差信号のうち、一部の色差信号を用いて、補間用色差信号を生成する信号生成部と、を有する。   In addition, the interpolation data generation unit 303 determines whether or not the color level difference between adjacent color difference signals is equal to or less than the first threshold in the extracted eight color difference signals where the correction color difference signal is interpolated. And a signal generation unit that generates an interpolating color difference signal using a part of the extracted eight color difference signals when the determination unit determines that the value is equal to or less than the first threshold value; Have

このようにすれば、補間用色差データが挿入される位置において、隣接する色差データの差分値が小さいような場合において、挿入される位置付近の色差データのみを用いて、補間用色差データを生成できるようになる。このため、色にじみの原因になる色差情報を使用せずに、補間用の色差信号を生成できるようになる。   In this way, when the difference value between adjacent color difference data is small at the position where the interpolation color difference data is inserted, the color difference data for interpolation is generated using only the color difference data near the insertion position. become able to. Therefore, it is possible to generate a color difference signal for interpolation without using color difference information that causes color blurring.

また、補間データ生成部303は、ステップS3で、条件1「補間用色差データが挿入される位置において、隣接する色差データの差分値が第1閾値以下であり、かつ、隣接する色差データの何れか一方の色レベルが「0」(黒)である。」を満たすか否かを判別するようにした。すなわち、隣接する色差データの差分値が第1閾値以下であるだけでなく、色差データの何れか一方の色レベルが「0」(黒)であることを満たすか否かを判別するようにした。   In step S3, the interpolation data generation unit 303 determines whether the difference value of the adjacent color difference data is equal to or less than the first threshold at the position where the interpolated color difference data is inserted, and any of the adjacent color difference data One of the color levels is “0” (black). "Is satisfied or not. That is, it is determined whether not only the difference value of the adjacent color difference data is equal to or less than the first threshold value, but also satisfies whether the color level of any one of the color difference data is “0” (black). .

このようにすれば、補間用色差データが挿入される位置において、隣接する色差データが黒である場合、複数個の色差データの内、一部を用いて補間用色差データを生成できる。したがって、黒のように色差レベルの変化に敏感な位置において、つまり、色差レベルの変化が色にじみとして現れやすい位置において、補間用色差データの生成に用いる色差データの数を減らすことができる。このため、色信号レベルが存在する色差データの影響を受けて、映像で色にじみが発生することを軽減できる。   In this way, if the adjacent color difference data is black at the position where the interpolation color difference data is inserted, the color difference data for interpolation can be generated using a part of the plurality of color difference data. Therefore, the number of color difference data used for generating the color difference data for interpolation can be reduced at a position that is sensitive to a change in color difference level, such as black, that is, at a position where the change in color difference level is likely to appear as a color blur. For this reason, it is possible to reduce the occurrence of color blur in an image due to the influence of color difference data having a color signal level.

同様に、補間データ生成部303は、ステップS3で、条件2「補間用色差データが挿入される位置において、隣接する色差データの差分値が第1閾値以下であり、かつ、補間用色差データが挿入される位置から1つ離れた色差データ間の差分値が第1閾値以下である。」を満たすか否かを判別するようにした。すなわち、隣接する色差データの差分値が第1閾値以下であるだけでなく、1つ離れた位置の差分値が第1閾値以下であることを満たすか否かを判別するようにした。   Similarly, in step S3, the interpolation data generation unit 303 determines that the difference value between adjacent color difference data is equal to or less than the first threshold value and the interpolation color difference data is equal to or less than the first threshold value at the position where the color difference data for interpolation is inserted. It is determined whether or not the difference value between the color difference data one distance away from the insertion position is equal to or less than the first threshold value ”. That is, it is determined whether or not the difference value between the adjacent color difference data is not more than the first threshold value, and whether or not the difference value at a position one distance away satisfies the first threshold value or less.

このようにすれば、色信号レベルが平坦である可能性が高い位置において、色にじみが発生することがより軽減できる。   In this way, it is possible to further reduce the occurrence of color blur at a position where the color signal level is highly likely to be flat.

なお、本実施の形態では、ステップS5やS7にあるように、補間用色差データを挿入する位置から1つ又は二つ離れた位置にエッジが存在するか否かを判別した。しかし、これに限られず、三つ離れた位置にエッジが存在するか否かを判別するようにしてもかまわない。
(他の実施の形態)
本実施の形態として、実施の形態1を例示した。しかし、本発明はこれに限られない。そこで、本発明の他の実施の形態を以下まとめて説明する。なお、本発明は、これらには限定されず、適宜修正された実施の形態に対しても適用可能である。
In the present embodiment, as in steps S5 and S7, it is determined whether or not an edge exists at a position one or two away from the position where the interpolation color difference data is inserted. However, the present invention is not limited to this, and it may be determined whether or not an edge exists at three positions apart.
(Other embodiments)
The first embodiment has been exemplified as the present embodiment. However, the present invention is not limited to this. Therefore, other embodiments of the present invention will be described collectively below. In addition, this invention is not limited to these, It is applicable also to embodiment modified suitably.

実施の形態1では、第1フォーマットを4:2:2フォーマット、第2フォーマットを4:4:4フォーマットに変換する際の動作を例にして説明を行なった。しかし、これに限られず、第1フォーマットが4:2:0フォーマットで、第2フォーマットが4:2:2フォーマットでもよい。すなわち、第1フォーマットよりも第2フォーマットの方が、情報量が多ければ、どのようなものであってもよい。   In the first embodiment, the operation when converting the first format into the 4: 2: 2 format and the second format into the 4: 4: 4 format has been described as an example. However, the present invention is not limited to this, and the first format may be 4: 2: 0 format and the second format may be 4: 2: 2 format. In other words, the second format may be anything as long as the second format has more information than the first format.

実施の形態1では、補間データ生成部303は、8個の色差信号を遅延ブロック(色差データ)302から抽出するようにした。これは、例示であるため、抽出する色差信号は、複数個であれば、いくつであってもよい。   In the first embodiment, the interpolation data generation unit 303 extracts eight color difference signals from the delay block (color difference data) 302. Since this is an example, the number of color difference signals to be extracted may be any number as long as it is plural.

実施の形態1では、ステップS5やS7の方法でエッジを検出するようにした。しかし、これに限られず、以下の方法で実現してもかまわない。以下の例は、ステップS5の例である。   In the first embodiment, the edge is detected by the method of step S5 or S7. However, the present invention is not limited to this, and it may be realized by the following method. The following example is an example of step S5.

他の実施の形態では、ステップS3を満たさない場合、補間データ生成部303は、条件3、かつ、条件4を満たすか否かを判別する(S5)。   In another embodiment, when step S3 is not satisfied, the interpolation data generation unit 303 determines whether or not the condition 3 and the condition 4 are satisfied (S5).

〔条件3〕補間用色差データが挿入される位置から1つ離れた色差データ間の差分値が第2閾値以上である。   [Condition 3] The difference value between the color difference data one distance away from the position where the interpolation color difference data is inserted is greater than or equal to the second threshold value.

〔条件4〕条件3で差分値が第2閾値以上となった位置を境界として分断される2つのエリアにおいて、境界付近の色差データ間の差分が第3閾値以下である。   [Condition 4] In the two areas divided by the position where the difference value is equal to or greater than the second threshold value in Condition 3, the difference between the color difference data near the boundary is equal to or less than the third threshold value.

ここで第2閾値は、第3閾値と同じ、又は、第3閾値よりも大きい値であれば、どのような値であってもよい(例えば、4倍)。また、補間用色差データが挿入される位置から1つ離れた色差データ間とは、本実施の形態では、Cb[n−3]とCb[n−1]、及び、Cb[n+1]とCb[n+3]のことを示している。さらに、境界付近の色差データ間には、境界から3つ離れた位置の色差データ間までを含む。つまり、境界がd[4]である場合、d[1]、d[2]、d[3]、d[5]、d[6]が境界付近の色差データ間になる。一方、境界がd[2]である場合、d[0]、d[1]、d[3]、d[4]、d[5]が境界付近の色差データ間になる。   Here, the second threshold value may be any value as long as it is the same value as the third threshold value or larger than the third threshold value (for example, 4 times). Also, between the color difference data one distance away from the position where the interpolation color difference data is inserted, in this embodiment, Cb [n−3] and Cb [n−1], and Cb [n + 1] and Cb. [N + 3] is shown. Further, the color difference data near the boundary includes the color difference data at a position three away from the boundary. That is, when the boundary is d [4], d [1], d [2], d [3], d [5], and d [6] are between the color difference data near the boundary. On the other hand, when the boundary is d [2], d [0], d [1], d [3], d [4], and d [5] are between the color difference data near the boundary.

要するに、ステップS5では、補間用色差データが挿入される位置から1つ離れた色差データ間の差分が大きいかあるか否かを判別している。すなわち、補間データ生成部303は、エッジとなりうる位置を検知していることになる。また、補間データ生成部303は、色差データ間の差分が大きい場合、この差分が大きい部分で分断される2つのエリアにおいて、境界付近の色差データ間の差分が小さいか否かを判別している。すなわち、補間データ生成部303は、検出されたエッジとなりうる位置で分割される2つのエリアにおいて、エッジとなりうる付近が平坦であるか否かを検知している。   In short, in step S5, it is determined whether or not there is a large difference between the color difference data one distance away from the position where the interpolation color difference data is inserted. That is, the interpolation data generation unit 303 detects a position that can be an edge. In addition, when the difference between the color difference data is large, the interpolation data generation unit 303 determines whether or not the difference between the color difference data near the boundary is small in the two areas divided by the portion where the difference is large. . That is, the interpolation data generation unit 303 detects whether or not the vicinity that can be an edge is flat in the two areas divided at the position that can be the detected edge.

例えば、図7のAの場合、Cb[n+1]とCb[n+3]の差分がd[4](第2閾値以上であるとする)である。また、図7のAの場合、上記d[4]以外の部分の差分が、d[1],d[2]、d[3]、d[5]及びd[6](何れも第3閾値以下であるとする)である。したがって、上記条件3及び条件4を満たし、ステップS6に移行する。ここで、図7のAでは、Cb[n+1]とCb[n+3]の色差データ間が、エッジであると判断できる。これによって、エッジを検出することが可能になる。   For example, in the case of A in FIG. 7, the difference between Cb [n + 1] and Cb [n + 3] is d [4] (assumed to be greater than or equal to the second threshold). In the case of A in FIG. 7, the differences in the portions other than the above d [4] are d [1], d [2], d [3], d [5], and d [6] It is assumed that it is below the threshold. Therefore, the above conditions 3 and 4 are satisfied, and the process proceeds to step S6. Here, in A of FIG. 7, it can be determined that the color difference data of Cb [n + 1] and Cb [n + 3] is an edge. This makes it possible to detect an edge.

本実施の形態1では、色信号として色差信号を例にしたが、これに限られない。   In the first embodiment, the color difference signal is taken as an example of the color signal, but is not limited thereto.

本発明は、第1フォーマットのビデオ信号を第2フォーマットに変換する変換装置を有する、プレーヤー、レコーダー、テレビ受像機などに適用可能である。   The present invention can be applied to a player, a recorder, a television receiver, or the like having a conversion device that converts a video signal of the first format into the second format.

100 プレーヤー
110 ドライブ装置
120 LSI
130 HDMI用LSI
140 HDMI端子
150 電源
200 TV
131 CUS(Chroma Up Sampling)
132 HDMI伝送用変換ブロック
301 遅延ブロック(輝度データ)
302 遅延ブロック(色差データ)
303 補間データ生成部
304 パラレル変換部(オリジナルデータ)
305 パラレル変換部(補間データ)
306 合成部
100 player 110 drive device 120 LSI
130 HDMI LSI
140 HDMI terminal 150 Power supply 200 TV
131 CUS (Chroma Up Sampling)
132 Conversion block for HDMI transmission 301 Delay block (luminance data)
302 Delay block (color difference data)
303 Interpolation data generation unit 304 Parallel conversion unit (original data)
305 Parallel conversion unit (interpolation data)
306 Synthesis unit

Claims (10)

第1フォーマットのビデオ信号を、当該第1フォーマットよりも情報量の多い第2フォーマットに変換する変換装置であって、
前記第1フォーマットのビデオ信号を取得する取得手段と、
前記第1フォーマットのビデオ信号において、色差が同じで、かつ、隣り合う、複数個の色信号を1つの単位として順次抽出する抽出手段と、
前記抽出された複数個の色信号を用いて、補間用色信号を生成する生成手段と、
前記生成手段で生成された補間用色信号に基づいて、前記取得された第1フォーマットのビデオ信号を第2フォーマットに変換し、出力する出力手段と、
を備え、
前記生成手段は、
前記抽出された複数個の色信号において、隣接する色信号間にエッジが存在するか否かを検出するエッジ検出手段と、
当該検出したエッジの位置に基づいて、前記複数個の色信号の一部を補正する補正手段と、
当該補正された色信号を用いて前記補間用色信号を生成する補間信号生成手段と、
を有する、
変換装置。
A conversion device for converting a video signal of a first format into a second format having a larger amount of information than the first format,
Obtaining means for obtaining a video signal of the first format;
Extraction means for sequentially extracting a plurality of adjacent color signals having the same color difference in the first format video signal as one unit;
Generating means for generating an interpolating color signal using the extracted plurality of color signals;
Output means for converting the acquired video signal of the first format into a second format based on the interpolation color signal generated by the generating means, and outputting the second format video signal;
With
The generating means includes
Edge detection means for detecting whether or not an edge exists between adjacent color signals in the plurality of extracted color signals;
Correction means for correcting a part of the plurality of color signals based on the position of the detected edge;
Interpolation signal generation means for generating the interpolation color signal using the corrected color signal;
Having
Conversion device.
前記エッジ検出手段は、
前記抽出された複数個の色信号において、隣接する色信号の色レベルの差を検知し、当該検知した検知結果に応じて、隣接する色信号間にエッジが存在するか否かを検出する、
請求項1に記載の変換装置。
The edge detection means includes
In the extracted plurality of color signals, a difference in color level between adjacent color signals is detected, and whether or not an edge exists between adjacent color signals is detected according to the detected detection result.
The conversion device according to claim 1.
前記生成手段が第1色信号間に補間される補間用色信号を生成している場合、
前記検出手段は、当該第1色信号間と1つ離れた第2色信号間、又は、2つ離れた第3色信号間にエッジが存在するか否かを検出する、
請求項1に記載の変換装置。
When the generating means generates an interpolating color signal that is interpolated between the first color signals,
The detecting means detects whether or not an edge exists between the first color signals and between the second color signals separated by one, or between the third color signals separated by two;
The conversion device according to claim 1.
前記生成手段が第1色信号間に補間される補間用色信号を生成している場合において、前記検出手段が第4色信号間にエッジを検出した場合、
前記補正手段は、
前記第1色信号間を基準にして前記第4色信号間よりも離れている色信号を補正する、
請求項1に記載の変換装置。
In the case where the generating unit generates an interpolating color signal interpolated between the first color signals, and the detecting unit detects an edge between the fourth color signals,
The correction means includes
Correcting color signals that are further apart than between the fourth color signals with reference to the first color signals;
The conversion device according to claim 1.
前記補正手段は、補正しない色信号の色レベルを用いて、前記一部の色信号を補正する、
請求項1に記載の変換装置。
The correction unit corrects the partial color signal using a color level of a color signal that is not corrected.
The conversion device according to claim 1.
前記第1フォーマットは4:2:2フォーマットであり、前記第2フォーマットは4:4:4フォーマットであり、前記色信号は、Cb又はCrの信号である、
請求項1に記載の変換装置。
The first format is a 4: 2: 2 format, the second format is a 4: 4: 4 format, and the color signal is a Cb or Cr signal.
The conversion device according to claim 1.
前記エッジ検出手段は、
隣接する色信号間の色レベルの差分値に基づく第2閾値と比べて、当該隣接する色信号間から所定範囲内に含まれる色信号間の色レベルの差分値が全て小さい場合、当該隣接する色信号間をエッジと判断する、
請求項1に記載の変換装置。
The edge detection means includes
When all color level difference values between color signals included in a predetermined range from between adjacent color signals are smaller than the second threshold value based on the color level difference value between adjacent color signals, the adjacent color signals are adjacent to each other. Judge between the color signals as an edge,
The conversion device according to claim 1.
第1フォーマットのビデオ信号を、当該第1フォーマットよりも情報量の多い第2フォーマットに変換する変換装置であって、
前記第1フォーマットのビデオ信号を取得する取得手段と、
前記第1フォーマットのビデオ信号において、色差が同じで、かつ、隣り合う、複数個の色信号を1つの単位として順次抽出する抽出手段と、
前記抽出された複数個の色信号を用いて、補間用色信号を生成する生成手段と、
前記生成手段で生成された補間用色信号に基づいて、前記取得された第1フォーマットのビデオ信号を第2フォーマットに変換し、出力する出力手段と、
を備え、
前記生成手段は、
前記抽出された複数個の色信号において、補正用色信号が補間される箇所で隣接する色信号の色レベルの差が閾値以下であるか否かを判別する判別手段と、
前記判別手段で閾値以下であると判別した場合、前記抽出した複数個の色信号のうち、一部の色信号を用いて、前記補間用色信号を生成する信号生成手段と、
を有する、
変換装置。
A conversion device for converting a video signal of a first format into a second format having a larger amount of information than the first format,
Obtaining means for obtaining a video signal of the first format;
Extraction means for sequentially extracting a plurality of adjacent color signals having the same color difference in the first format video signal as one unit;
Generating means for generating an interpolating color signal using the extracted plurality of color signals;
Output means for converting the acquired video signal of the first format into a second format based on the interpolation color signal generated by the generating means, and outputting the second format video signal;
With
The generating means includes
A discriminating means for discriminating whether or not a difference in color level between adjacent color signals at a position where the correction color signal is interpolated in the plurality of extracted color signals is equal to or less than a threshold;
A signal generating unit configured to generate the interpolation color signal using a part of the extracted color signals when the determining unit determines that the value is equal to or less than a threshold;
Having
Conversion device.
前記判別手段は、補正用色信号が補間される箇所で隣接する第5色信号間の色レベルの差が閾値以下であり、かつ、当該第5色信号間から1つ離れた第6色信号間の色レベルの差が閾値以下であるか否かを判別し、
前記信号生成手段は、第5色信号間及び第6色信号間の色レベルの差が閾値以下であると判断した場合、前記抽出した複数個の色信号のうち、一部の色信号を用いて、前記補間用色信号を生成する、
請求項8に記載の変換装置。
The determination means includes a sixth color signal whose color level difference between adjacent fifth color signals is equal to or less than a threshold value at a position where the correction color signal is interpolated, and is one distance from the fifth color signal. Determine whether the difference in color level is below the threshold,
When the signal generation unit determines that the difference in color level between the fifth color signal and the sixth color signal is equal to or less than a threshold value, a part of the extracted color signals is used. Generating the interpolation color signal,
The conversion device according to claim 8.
第1フォーマットのビデオ信号を、当該第1フォーマットよりも情報量の多い第2フォーマットに変換する変換装置であって、
前記第1フォーマットのビデオ信号を取得する取得手段と、
前記第1フォーマットのビデオ信号において、色差が同じで、かつ、隣り合う、複数個の色信号を1つの単位として順次抽出する抽出手段と、
前記抽出された複数個の色信号を用いて、補間用色信号を生成する生成手段と、
前記生成手段で生成された補間用色信号に基づいて、前記取得された第1フォーマットのビデオ信号を第2フォーマットに変換し、出力する出力手段と、
を備え、
前記生成手段は、
前記抽出された複数個の色信号において、補正用色信号が補間される箇所で隣接する色信号の色レベルが両方とも黒を示すレベルである、
前記平坦部検出手段で閾値以下であると判別した場合、前記抽出した複数個の色信号のうち、一部の色信号を用いて、前記補間用色信号を生成する信号生成手段と、
を有する、
変換装置。
A conversion device for converting a video signal of a first format into a second format having a larger amount of information than the first format,
Obtaining means for obtaining a video signal of the first format;
Extraction means for sequentially extracting a plurality of adjacent color signals having the same color difference in the first format video signal as one unit;
Generating means for generating an interpolating color signal using the extracted plurality of color signals;
Output means for converting the acquired video signal of the first format into a second format based on the interpolation color signal generated by the generating means, and outputting the second format video signal;
With
The generating means includes
In the extracted plurality of color signals, the color levels of the adjacent color signals at the position where the correction color signal is interpolated are both levels indicating black.
A signal generating unit that generates the interpolation color signal using a part of the extracted color signals when the flat part detecting unit determines that the threshold value is equal to or less than a threshold;
Having
Conversion device.
JP2009183001A 2009-08-06 2009-08-06 Conversion device and reproduction device Pending JP2011035854A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009183001A JP2011035854A (en) 2009-08-06 2009-08-06 Conversion device and reproduction device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009183001A JP2011035854A (en) 2009-08-06 2009-08-06 Conversion device and reproduction device

Publications (1)

Publication Number Publication Date
JP2011035854A true JP2011035854A (en) 2011-02-17

Family

ID=43764427

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009183001A Pending JP2011035854A (en) 2009-08-06 2009-08-06 Conversion device and reproduction device

Country Status (1)

Country Link
JP (1) JP2011035854A (en)

Similar Documents

Publication Publication Date Title
JP7065376B2 (en) Display devices, converters, display methods, and computer programs
EP2211545B1 (en) Reproduction apparatus, display apparatus, reproduction method, and display method
US11032448B2 (en) Video display system and video display method
JP4996725B2 (en) Video processing device
JP2009130606A (en) Interface circuit
US10873684B2 (en) Video display apparatus and video display method
WO2013088589A1 (en) Video signal processing device, video signal output device, and video signal processing method
JP4966400B2 (en) Image output apparatus and image output method
JP5161935B2 (en) Video processing device
JP2011035854A (en) Conversion device and reproduction device
JP4596087B2 (en) Interface circuit
US10019967B2 (en) Image processing apparatus, source device, image processing system, image processing method, and program for combining images
JP2011078136A (en) Video image noise reduction processing unit and video processing device
JP2008061067A (en) Image display system, reproducing apparatus, and display apparatus
JP2004221627A (en) Ntsc signal transmission system
JP2011217361A (en) Device and method of reproducing stereoscopic image and integrated circuit
JP2012142961A (en) Image output device and image output method
JP2010098764A (en) Interface circuit