JP4774616B2 - Image processing apparatus and image processing system - Google Patents

Image processing apparatus and image processing system Download PDF

Info

Publication number
JP4774616B2
JP4774616B2 JP2001105193A JP2001105193A JP4774616B2 JP 4774616 B2 JP4774616 B2 JP 4774616B2 JP 2001105193 A JP2001105193 A JP 2001105193A JP 2001105193 A JP2001105193 A JP 2001105193A JP 4774616 B2 JP4774616 B2 JP 4774616B2
Authority
JP
Japan
Prior art keywords
signal
circuit
selection
coefficient
generation circuit
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.)
Expired - Fee Related
Application number
JP2001105193A
Other languages
Japanese (ja)
Other versions
JP2002305754A (en
Inventor
厚志 箱守
博 田島
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.)
Sony Corp
Original Assignee
Sony 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 Sony Corp filed Critical Sony Corp
Priority to JP2001105193A priority Critical patent/JP4774616B2/en
Publication of JP2002305754A publication Critical patent/JP2002305754A/en
Application granted granted Critical
Publication of JP4774616B2 publication Critical patent/JP4774616B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Image Processing (AREA)
  • Processing Of Color Television Signals (AREA)
  • Facsimile Image Signal Circuits (AREA)
  • Color Image Communication Systems (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、R(赤),G(緑),B(青)信号を用いてY(輝度)、Cb,Cr,Pb,Pr(色差)信号を生成する回路に特徴を有する画像処理装置および画像処理システムに関する。
【0002】
【従来の技術】
画像処理回路では、レンダリング処理などで生成されたR,G,B信号をエンコードしてディスプレイ出力用のY(輝度)、Cb,Cr,Pb,Pr(色差)信号を生成する。
【0003】
図7は、従来の画像処理システム101の構成図である。
図7に示すように、画像処理システム101は、データバス120を介してCPU(Central Processing Unit) 110、ROM(Read Only Memory)/RAM(Random Access Memory)111、I/F回路112およびグラフィックLSI114が接続されている。
I/F回路112にはDVDドライブ113が接続されている。
また、グラフィックLSI114にはデジタルビデオエンコーダ115が接続されており、デジタルビデオエンコーダ115にはDAC116が接続されている。
【0004】
画像処理システム101では、例えば、DVDドライブ113においてDVDから再生されたそれぞれ8ビットのR,G,Bの画素信号、あるいはCPU110で生成されたそれぞれ8ビットのR,G,Bの画素信号が、グラフィックLSI114に出力される。
グラフィックLSI114では、入力したR,G,Bの画素信号を用いてレンダリング処理を行い、それによって生成したR,G,Bの画素信号をデジタルビデオエンコーダ115に出力する。
【0005】
デジタルビデオエンコーダ115では、R,G,Bの画素信号を用いて、下記式に基づいて、Y,U,V信号、Y,Cb,Cr信号、並びにY,Pb,Pr信号を生成する。
下記式において、RはR信号が示す値であり、GはG信号が示す値であり、BはB信号が示す値であり、YはY信号が示す値、UはU信号が示す値、VはV信号が示す値、CbはCb信号が示す値、CrはCr信号が示す値、PbはPb信号が示す値、PrはPr信号が示す値である。
【0006】
【数1】
〔RGB→YUV〕
Y=0.299R+0.587G+0.114B …(1)
U=0.493(B−Y) …(2)
V=0.877(R−Y) …(3)
【0007】
【数2】
〔RGB→YCbCr〕
Y=0.299R+0.587G+0.114B …(4)
=0.713(R−Y) …(5)
=0.564(B−Y) …(6)
【0008】
【数3】
〔RGB→YPbPr〕
Y=0.2126R+0.7152G+0.0722B …(7)
=0.635(R−Y) …(8)
=0.5389(B−Y) …(9)
【0009】
図8は、図7に示すデジタルビデオエンコーダ115の構成図である。
図8に示すように、デジタルビデオエンコーダ115は、信号生成回路200,201,203の3つの信号生成回路を有する。
信号生成回路200は、グラフィックLSI114から入力したR,G,Bの画素信号を入力し、上記式(1)〜(3)に基づいて演算を行って、Y,U,Vの3つの信号を生成し、これをDAC116に出力する。
信号生成回路201は、グラフィックLSI114から入力したR,G,Bの画素信号を入力し、上記式(4)〜(6)に基づいて演算を行って、Y,Cb,Crの3つの信号を生成し、これをDAC116に出力する。
信号生成回路202は、グラフィックLSI114から入力したR,G,Bの画素信号を入力し、上記式(7)〜(9)に基づいて演算を行って、Y,Pb,Prの3つの信号を生成し、これをDAC116に出力する。
【0010】
【発明が解決しようとする課題】
しかしながら、上述した図7に示す従来の画像処理システム101では、図8に示すようにデジタルビデオエンコーダ115が、Y,U,V信号、Y,Cb,Cr信号、並びにY,Pb,Pr信号を独立して生成するための3つの信号生成回路を用いるため、回路が大規模化してしまうという問題がある。
【0011】
本発明は上述した従来技術に鑑みてなされ、小規模化を図れる画像処理装置および画像処理システムを提供することを目的とする。
【0012】
【課題を解決するための手段】
第1の発明の画像処理装置は、入力されたR,G,Bの画素信号と選択信号とに応じて、前記選択信号が第1の論理値を示す場合に第1の輝度信号を生成し、前記選択信号が第2の論理値を示す場合に第2の輝度信号を生成する処理と、前記選択信号が前記第1の論理値を示す場合に、前記生成した第1の輝度信号と前記R,G,Bの画素信号のうちのB信号との差分に所定の係数を乗算して色差信号であるU信号を生成する処理と、前記選択信号が前記第2の論理値を示す場合に、前記生成した第2の輝度信号と前記B信号との差分に所定の係数を乗算して色差信号であるP信号を生成する処理と、前記選択信号が前記第1の論理値を示す場合に、前記生成した第1の輝度信号と前記R信号との差分に所定の係数を乗算して色差信号であるV信号を生成する処理と、前記選択信号が前記第2の論理値を示す場合に、前記生成した第2の輝度信号と前記R信号との差分に所定の係数を乗算して色差信号であるP信号を生成する処理と、を行う第1の信号生成回路と、前記第1の信号生成回路から入力された前記U信号に第1の係数を乗算して色差信号であるC信号を生成する処理と、前記選択信号が前記第1の論理値を示す場合に、前記生成したC信号を選択して出力し、当該選択信号が前記第2の論理値を示す場合に、前記第1の信号生成回路から入力された前記P信号を選択して出力する処理と、前記第1の信号生成回路から入力された前記V信号に第2の係数を乗算して色差信号であるC信号を生成する処理と、前記選択信号が前記第1の論理値を示す場合に、前記生成したC信号を選択して出力し、当該選択信号が前記第2の論理値を示す場合に、前記第1の信号生成回路から入力された前記P信号を選択して出力する処理と、を行う第2の信号生成回路と、前記第1の信号生成回路から入力された第1の輝度信号、前記U信号及び前記V信号によりコンポジット信号を生成する第3の信号生成回路と、を有する。
【0013】
第2の発明の画像処理システムは、データバスと、前記データバスに接続され、選択信号を生成する演算処理回路と、レンダリング処理を行い、R,G,Bの画素信号を出力する第1の画像処理回路と、前記演算処理回路および前記第1の画像処理回路の少なくとも一方が生成した画素信号を用いて表示用の輝度信号および色差信号を生成する第2の画像処理回路と、を有し、前記第2の画像処理回路は、前記R,G,Bの画素信号と前記選択信号とに応じて、前記選択信号が第1の論理値を示す場合に第1の輝度信号を生成し、前記選択信号が第2の論理値を示す場合に第2の輝度信号を生成する処理と、前記選択信号が前記第1の論理値を示す場合に、前記生成した第1の輝度信号と前記R,G,Bの画素信号のうちのB信号との差分に所定の係数を乗算して色差信号であるU信号を生成する処理と、前記選択信号が前記第2の論理値を示す場合に、前記生成した第2の輝度信号と前記B信号との差分に所定の係数を乗算して色差信号であるP信号を生成する処理と、前記選択信号が前記第1の論理値を示す場合に、前記生成した第1の輝度信号と前記R信号との差分に所定の係数を乗算して色差信号であるV信号を生成する処理と、前記選択信号が前記第2の論理値を示す場合に、前記生成した第2の輝度信号と前記R信号との差分に所定の係数を乗算して色差信号であるP信号を生成する処理と、を行う第1の信号生成回路と、前記第1の信号生成回路から入力された前記U信号に第1の係数を乗算して色差信号であるC信号を生成する処理と、前記選択信号が前記第1の論理値を示す場合に、前記生成したC信号を選択して出力し、当該選択信号が前記第2の論理値を示す場合に、前記第1の信号生成回路から入力された前記P信号を選択して出力する処理と、前記第1の信号生成回路から入力された前記V信号に第2の係数を乗算して色差信号であるC信号を生成する処理と、前記選択信号が前記第1の論理値を示す場合に、前記生成したC信号を選択して出力し、当該選択信号が前記第2の論理値を示す場合に、前記第1の信号生成回路から入力された前記P信号を選択して出力する処理と、を行う第2の信号生成回路と、前記第1の信号生成回路から入力された第1の輝度信号、前記U信号及び前記V信号によりコンポジット信号を生成する第3の信号生成回路と、を有する。
【0022】
【発明の実施の形態】
以下、本発明の実施の形態に係わる画像処理装置を、添付図面を参照して説明する。
図1は、本実施形態の画像処理システム1の構成図である。
図1に示すように、画像処理システム1は、データバス20を介してCPU(Central Processing Unit) 10、ROM(Read Only Memory)/RAM(Random Access Memory)11、I/F回路12およびグラフィックLSI14が接続されている。
また、I/F回路12には、DVDドライブ13が接続されている。
また、グラフィックLSI14は、デジタルビデオエンコーダ15に接続されている。
デジタルビデオエンコーダ15は、DAC(Digital Analog Converter)16に接続されている。
ここで、デジタルビデオエンコーダ15が本発明の画像処理装置および第2の画像処理回路に対応している。
まが、CPU10が本発明の演算処理回路に対応し、グラフィックLSI14が本発明の第1の画像処理回路に対応し、データバス20が本発明のデータバスに対応している。
【0023】
CPU10は、画像処理システム1の各構成要素の処理を統括して制御する。
CPU10は、デジタルビデオエンコーダ15においてY,Cr,Cb信号およびコンポジット信号Compを生成する場合に、第1の論理値を示す選択信号SELを生成し、これをデジタルビデオエンコーダ15に出力する。
また、CPU10は、デジタルビデオエンコーダ15においてY,Pr,Pb信号を生成する場合に、第2の論理値を示す選択信号SELを生成し、これをデジタルビデオエンコーダ15に出力する。
【0024】
ROM/RAM11は、画像処理システム1の処理に用いられるプログラムやデータを記憶する。
【0025】
I/F回路12は、データバス20とDVDドライブ13との間で画素信号などのデータおよび信号を入出力する。
【0026】
DVDドライブ13は、DVDの再生および記録を行う。
【0027】
グラフィックLSI14は、データバス20を介してDVDドライブ13あるいはCPU10から入力したR,G,Bの画素信号を用いてレンダリング処理を行い、その処理結果であるR,G,Bの画素信号をデジタルビデオエンコーダ15に出力する。
【0028】
デジタルビデオエンコーダ15は、CPU10およびグラフィックLSI14の少なくとも一方が生成したR,G,Bの画素信号を用いて、Y,Pb,Pr信号とY,Cb,Cr信号とを選択的に生成すると共に、コンポジット信号Compを生成する。
具体的には、デジタルビデオエンコーダ15は、下記式に基づいて、Y,U,V信号、Y,Cb,Cr信号およびY,Pb,Pr信号を生成する。
下記式において、RはR信号が示す値であり、GはG信号が示す値であり、BはB信号が示す値であり、YはY信号が示す値、UはU信号が示す値、VはV信号が示す値、CbはCb信号が示す値、CrはCr信号が示す値、PbはPb信号が示す値、PrはPr信号が示す値である。
ここで、Y信号が本発明の輝度信号に対応し、PbおよびV信号が本発明の第1の色差信号に対応し、Pr信号およびU信号が本発明の第2の色差信号に対応し、Cbが本発明の第3の色差信号に対応し、Crが本発明の第4の色差信号に対応している。
【0029】
【数4】
〔RGB→YUV〕
Y=0.299R+0.587G+0.114B …(1)
U=0.493(B−Y) …(2)
V=0.877(R−Y) …(3)
【0030】
【数5】
〔RGB→YCbCr〕
Y=0.299R+0.587G+0.114B …(4)
=0.713(R−Y) …(5)
=0.564(B−Y) …(6)
【0031】
【数6】
〔RGB→YPbPr〕
Y=0.2126R+0.7152G+0.0722B …(7)
=0.635(R−Y) …(8)
=0.5389(B−Y) …(9)
【0032】
図2は、デジタルビデオエンコーダ15の構成図である。
図2に示すように、デジタルビデオエンコーダ15は、信号生成回路30、信号生成回路31、信号生成回路32および係数設定回路33を有する。
ここで、信号生成回路30が本発明の第1の信号生成回路に対応し、信号生成回路31が本発明の第2の信号生成回路に対応し、信号生成回路32が本発明の第3の信号生成回路に対応している。
以下、各信号生成回路について詳細に説明する。
図3は、信号生成回路30の構成図である。
図3に示すように、信号生成回路30は、Y信号生成回路45、色差信号生成回路46および色差信号生成回路47を有する。
【0033】
図4は、Y信号生成回路45の構成図である。
図4に示すように、Y信号生成回路45は、選択回路40、乗算回路41、加算回路70および加算回路71を有する。
選択回路40は、図2に示す係数設定回路33から係数Ar1およびAr2を入力し、CPU10が生成した選択信号SELが第1の論理値(例えば、論理値「1」)を示す場合に係数Ar1を選択して係数S40として乗算回路41に出力し、選択信号SELが第2の論理値(例えば、論理値「0」)を示す場合に係数Ar2を選択して係数S40として乗算回路41に出力する。
ここで、係数Ar1は、上記式(1),(4)のRの係数0.299である。また、係数Ar2は、上記式(7)のRの係数0.2126である。
【0034】
乗算回路41は、R信号が示す値と係数S40とを乗算し、その乗算結果S41を加算回路70に出力する。
【0035】
選択回路50は、図2に示す係数設定回路33から係数Ag1およびAg2を入力し、CPU10が生成した選択信号SELが第1の論理値を示す場合に係数Ag1を選択して係数S50として乗算回路51に出力し、選択信号SELが第2の論理値を示す場合に係数Ag2を選択して係数S50として乗算回路51に出力する。
ここで、係数Ag1は、上記式(1),(4)のGの係数0.587である。また、係数Ag2は、上記式(7)のGの係数0.7152である。
【0036】
乗算回路51は、G信号が示す値と係数S50とを乗算し、その乗算結果S51を加算回路70に出力する。
【0037】
選択回路60は、図2に示す係数設定回路33から係数Ab1およびAb2を入力し、CPU10が生成した選択信号SELが第1の論理値を示す場合に係数Ab1を選択して係数S60として乗算回路61に出力し、選択信号SELが第2の論理値を示す場合に係数Ab2を選択して係数S60として乗算回路61に出力する。
ここで、係数Ab1は、上記式(1),(4)のBの係数0.114である。また、係数Ab2は、上記式(7)のBの係数0.0722である。
【0038】
乗算回路61は、B信号が示す値と係数S60とを乗算し、その乗算結果S61を加算回路71に出力する。
【0039】
加算回路70は、乗算回路41の乗算結果S41と乗算回路51の乗算結果S51とを加算し、その加算結果S70を加算回路71に出力する。
加算回路71は、加算結果S70と乗算回路61の乗算結果S61とを加算し、その加算結果をY信号として図1に示すDAC16および図3に示す色差信号生成回路46および47に出力する。
【0040】
図5(A)は、図3に示す色差信号生成回路46の構成図である。
図5(A)に示すように、色差信号生成回路46は、減算回路80、選択回路81および乗算回路82を有する。
減算回路80は、グラフィックLSI14から入力したB信号から、図3および図4に示すY信号生成回路45から入力したY信号を減算して(B−Y)信号を生成し、これを乗算回路82に出力する。
選択回路81は、係数設定回路33から係数AUおよびAPを入力し、CPU10が生成した選択信号SELが第1の論理値を示す場合に係数AUを係数S81として乗算回路82に出力し、選択信号SELが第2の論理値を示す場合に係数APを係数S81として乗算回路82に出力する。
乗算回路82は、減算回路80から入力した(B−Y)信号と、選択回路81から入力した係数S81とを乗算し、乗算結果を図2に示す信号生成回路31および信号生成回路32に出力する。
ここで、選択信号SELが第1の論理値を示す場合に乗算回路82の乗算結果はU信号となり、選択信号SELが第2の論理値を示す場合に乗算回路82の乗算結果はP信号となる。
【0041】
図5(B)は、図3に示す色差信号生成回路47の構成図である。
図5(B)に示すように、色差信号生成回路47は、減算回路90、選択回路91および乗算回路92を有する。
減算回路90は、グラフィックLSI14から入力したR信号から、図3および図4に示すY信号生成回路45から入力したY信号を減算して(R−Y)信号を生成し、これを乗算回路92に出力する。
選択回路91は、係数設定回路33から係数AVおよびAPを入力し、CPU10が生成した選択信号SELが第1の論理値を示す場合に係数AVを係数S91として乗算回路92に出力し、選択信号SELが第2の論理値を示す場合に係数APを係数S91として乗算回路92に出力する。
乗算回路92は、減算回路90から入力した(R−Y)信号と、選択回路91から入力した係数S91とを乗算し、乗算結果を図2に示す信号生成回路31および信号生成回路32に出力する。
ここで、選択信号SELが第1の論理値を示す場合に乗算回路92の乗算結果はV信号となり、選択信号SELが第2の論理値を示す場合に乗算回路92の乗算結果はP信号となる。
【0042】
図6は、図2に示す信号生成回路31の構成図である。
図6に示すように、信号生成回路31は、乗算回路300、選択回路301、乗算回路302および選択回路303を有する。
乗算回路300は、図2に示す信号生成回路30から入力したU信号またはP信号に、係数(AC/AU)を乗算し、その乗算結果を選択回路301に出力する。ここで、係数AUは、前述した式(2)の(B−Y)の係数0.493であり、係数ACは前述した式(6)の(B−Y)の係数0.564である。
乗算回路300は、前述した選択信号SELが第1の論理値を示す場合に信号生成回路30からU信号を入力し、選択信号SELが第2の論理値を示す場合に信号生成回路30からP信号を入力する。
このとき、選択信号SELが第1の論理値を示す場合に、乗算回路300の乗算結果がC信号になる。
選択回路301は、選択信号SELが第1の論理値を示す場合に、乗算回路300から入力したC信号を選択して出力する。
選択回路301は、選択信号SELが第2の論理値を示す場合に、信号生成回路30から入力したP信号を選択して出力する。
【0043】
乗算回路302は、図2に示す信号生成回路30から入力したV信号またはP信号に、係数(AC/AV)を乗算し、その乗算結果を選択回路303に出力する。ここで、係数AVは、前述した式(3)の(R−Y)の係数0.877であり、係数ACは前述した式(5)の(R−Y)の係数0.713である。
乗算回路302は、前述した選択信号SELが第1の論理値を示す場合に信号生成回路30からV信号を入力し、選択信号SELが第2の論理値を示す場合に信号生成回路30からP信号を入力する。
このとき、選択信号SELが第1の論理値を示す場合に、乗算回路300の乗算結果がC信号になる。
選択回路303は、選択信号SELが第1の論理値を示す場合に、乗算回路302から入力したC信号を選択して出力する。
選択回路303は、選択信号SELが第2の論理値を示す場合に、信号生成回路30から入力したP信号を選択して出力する。
【0044】
信号生成回路32は、信号生成回路30から入力したY信号、U信号およびV信号を周波数インタリーブによって多重化してコンポジット信号Compを生成し、これを出力する。
【0045】
また、図2に示す係数設定回路33は、信号生成回路30,31の処理に用いられる種々の係数を記憶している。
【0046】
以下、図2〜図6を参照してデジタルビデオエンコーダ15の動作例を説明する。
〔第1の動作例〕
以下、CPU10において、論理値「1」の選択信号SELが生成され、当該選択信号SELに基づいて、デジタルビデオエンコーダ15が、Y,Cr,Cb信号およびコンポジット信号Compを生成する場合の動作例を説明する。
【0047】
図1に示すグラフィックLSI14で生成されたR,G,B信号が図1および図2に示すデジタルビデオエンコーダ15の信号生成回路30に入力される。
当該R,G,B信号は、図3に示す信号生成回路30のY信号生成回路45、色差信号生成回路46および色差信号生成回路47に入力される。
そして、信号生成回路30に内蔵された図4に示すY信号生成回路45において、第1の論理値を示す選択信号SELに基づいて、選択回路40,50,60が係数Ar1,Ag1,Ab1をそれぞれ選択する。
そして、乗算回路41において、R信号と係数Ar1とが乗算され、その乗算結果S41が加算回路70に出力される。
また、乗算回路51において、G信号と係数Ag1とが乗算され、その乗算結果S51が加算回路70に出力される。
また、乗算回路61において、B信号と係数Ab1とが乗算され、その乗算結果S61が加算回路71に出力される。
【0048】
そして、加算回路70において、乗算結果S41とS51とが加算され、その加算結果S70が加算回路71に出力される。
そして、加算回路71において、加算結果S70と乗算結果S61とが加算され、その加算結果がY信号としてDAC16、図2に示す信号生成回路31、信号生成回路32、並びに図3に示す色差信号生成回路46,47に出力される。
【0049】
そして、図5(A)に示す色差信号生成回路46において以下の処理が行われる。
選択回路81において、選択信号SELに基づいて、係数AUが選択され、係数S81として乗算回路82に出力される。
減算回路80において、B信号からY信号が減算され、その減算結果(B−Y)が乗算回路82に出力される。
そして、乗算回路82において、減算結果(B−Y)と係数S81とが乗算され、その乗算結果であるU信号が図2に示す信号生成回路31に出力される。
【0050】
また、上述した色差信号生成回路46の処理と並行して図5(B)に示す色差信号生成回路47において以下の処理が行われる。
選択回路91において、選択信号SELに基づいて、係数AVが選択され、係数S91として乗算回路92に出力される。
減算回路90において、R信号からY信号が減算され、その減算結果(R−Y)が乗算回路92に出力される。
そして、乗算回路92において、減算結果(R−Y)と係数S91とが乗算され、その乗算結果であるV信号が図2に示す信号生成回路31に出力される。
【0051】
そして、信号生成回路32において、Y信号、U信号およびV信号を用いて多重化が行われてコンポジット信号Compが生成および出力される。
【0052】
また、信号生成回路32の処理と並行して図6に示す信号生成回路31において以下の処理が行われる。乗算回路300において、係数AC/AUとU信号とが乗算されてC信号が生成され、選択回路301に出力される。
そして、選択回路301において、選択信号SELに基づいて、C信号が選択および出力される。
【0053】
乗算回路302において、係数AC/AVとV信号と乗算されてC信号が生成され、選択回路303に出力される。
そして、選択回路303において、選択信号SELに基づいて、C信号が選択および出力される。
【0054】
上述したように、CPU10において第1の論理値を示す選択信号SELが生成された場合には、デジタルビデオエンコーダ15において、Y,Cr,Cb信号およびコンポジット信号Compが生成される。
【0055】
〔第2の動作例〕
以下、CPU10において、論理値「0」の選択信号SELが生成され、当該選択信号SELに基づいて、デジタルビデオエンコーダ15が、Y,Pr,Pb信号およびコンポジット信号Compを生成する場合の動作例を説明する。
【0056】
図1に示すグラフィックLSI14で生成されたR,G,B信号が図1および図2に示すデジタルビデオエンコーダ15の信号生成回路30に入力される。
当該R,G,B信号は、図3に示す信号生成回路30のY信号生成回路45、色差信号生成回路46および色差信号生成回路47に入力される。
そして、信号生成回路30に内蔵された図4に示すY信号生成回路45において、第2の論理値を示す選択信号SELに基づいて、選択回路40,50,60が係数Ar2,Ag2,Ab2をそれぞれ選択する。
そして、乗算回路41において、R信号と係数Ar2とが乗算され、その乗算結果S41が加算回路70に出力される。
また、乗算回路51において、G信号と係数Ag2とが乗算され、その乗算結果S51が加算回路70に出力される。
また、乗算回路61において、B信号と係数Ab2とが乗算され、その乗算結果S61が加算回路71に出力される。
【0057】
そして、加算回路70において、乗算結果S41とS51とが加算され、その加算結果S70が加算回路71に出力される。
そして、加算回路71において、加算結果S70と乗算結果S61とが加算され、その加算結果がY信号としてDAC16、図2に示す信号生成回路31、信号生成回路32、並びに図3に示す色差信号生成回路46,47に出力される。
【0058】
そして、図5(A)に示す色差信号生成回路46において以下の処理が行われる。
選択回路81において、選択信号SELに基づいて、係数APが選択され、係数S81として乗算回路82に出力される。
減算回路80において、B信号からY信号が減算され、その減算結果(B−Y)が乗算回路82に出力される。
そして、乗算回路82において、減算結果(B−Y)と係数S81とが乗算され、その乗算結果であるP信号が図2に示す信号生成回路31に出力される。
【0059】
また、上述した色差信号生成回路46の処理と並行して図5(B)に示す色差信号生成回路47において以下の処理が行われる。
選択回路91において、選択信号SELに基づいて、係数APが選択され、係数S91として乗算回路92に出力される。
減算回路90において、R信号からY信号が減算され、その減算結果(R−Y)が乗算回路92に出力される。
そして、乗算回路92において、減算結果(R−Y)と係数S91とが乗算され、その乗算結果であるP信号が図2に示す信号生成回路31に出力される。
【0060】
そして、図6に示す信号生成回路31の選択回路301,303において、第2の論理値を示す選択信号SELに基づいて、それぞれPr,Pb信号が選択および出力される。
【0061】
上述したように、CPU10において第2の論理値の選択信号SELが生成された場合には、デジタルビデオエンコーダ15において、Y,Pr,Pb信号が生成される。
【0062】
以下、図1に示す画像処理システム1の全体動作を説明する。
デジタルビデオエンコーダ15においてY,Cr,Cb信号またはコンポジット信号Compを生成する場合に、CPU10において第1の論理値を示す選択信号SELが生成され、これがデジタルビデオエンコーダ15に出力される。
そして、CPU10およびグラフィックLSI14の少なくとも一方でR,G,B信号が生成され、これがデジタルビデオエンコーダ15に出力される。
そして、デジタルビデオエンコーダ15において、前述したように、選択信号SELに基づいて、Y,Cr,Cb信号またはコンポジット信号Compが生成され、これらがDAC16に出力される。
そして、DAC16において、Y,Cr,Cb信号またはコンポジット信号Compがアナログ変換された後に、ディスプレイなどに出力される。
【0063】
一方、デジタルビデオエンコーダ15においてY,Pr,Pb信号を生成する場合に、CPU10において第2の論理値を示す選択信号SELが生成され、これがデジタルビデオエンコーダ15に出力される。
そして、CPU10およびグラフィックLSI14の少なくとも一方でR,G,B信号が生成され、これがデジタルビデオエンコーダ15に出力される。
そして、デジタルビデオエンコーダ15において、前述したように、第2の論理値を示す選択信号SELに基づいて、Y,Pr,Pb信号が生成され、これらがDAC16に出力される。
そして、DAC16において、Y,Pr,Pb信号がアナログ変換された後に、ディスプレイなどに出力される。
【0064】
以上説明したように、画像処理システム1によれば、デジタルビデオエンコーダ15において、図2〜図6を用いて説明したように、信号生成回路31において、U,V信号に所定の係数を乗算してCb,Cr信号を生成することから、図7および図8に示す従来の画像処理システム101に比べて、回路規模を縮小できる。
【0065】
本発明は上述した実施形態には限定されない。
例えば、上述した実施形態では、コンポジット信号Compを生成する信号生成回路32を設けた場合を例示したが、本発明では、信号生成回路32は必ずしも必要ない。
また、上述した式(1)〜(9)の係数は特に限定されない。
【0066】
【発明の効果】
以上説明したように、本発明によれば、小規模化を図れる画像処理装置および画像処理システムを提供することができる。
【図面の簡単な説明】
【図1】図1は、本発明の実施形態に係わる画像処理システムの構成図である。
【図2】図2は、図1に示すデジタルビデオエンコーダの構成図である。
【図3】図3は、図2に示す信号生成回路(RGB→YUV,RGB→YPbPr)の構成図である。
【図4】図4は、図3に示すY信号生成回路の構成図である。
【図5】 図5(A)は図3に示す色差信号生成回路(P,U生成)の構成図、図5(B)は図3に示す色差信号生成回路(P,V生成)の構成図である。
【図6】図6は、図2に示す信号生成回路(UV→CbCr)の構成図である。
【図7】図7は、従来の画像処理装置の構成図である。
【図8】図8は、図7に示すデジタルビデオエンコーダの構成図である。
【符号の説明】
1…画像処理システム、10…CPU、11…ROM/RAM、12…I/F回路、13…DVDドライブ、14…グラフィックLSI、15…デジタルビデオエンコーダ、16…DAC、20…データバス、30,31,32…信号生成回路、33…係数設定回路、45…Y信号生成回路、46,47…色差信号生成回路、40,50,60,81,91,301,303…選択回路、41,51,61,82,92,300,302…乗算回路、70,71…加算回路、80,90…減算回路
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to an image processing apparatus characterized by a circuit that generates Y (luminance), Cb, Cr, Pb, and Pr (color difference) signals using R (red), G (green), and B (blue) signals, and The present invention relates to an image processing system.
[0002]
[Prior art]
The image processing circuit encodes R, G, and B signals generated by rendering processing and generates Y (luminance), Cb, Cr, Pb, and Pr (color difference) signals for display output.
[0003]
FIG. 7 is a configuration diagram of a conventional image processing system 101.
As shown in FIG. 7, an image processing system 101 includes a CPU (Central Processing Unit) 110, a ROM (Read Only Memory) / RAM (Random Access Memory) 111, an I / F circuit 112, and a graphic LSI 114 via a data bus 120. Is connected.
A DVD drive 113 is connected to the I / F circuit 112.
In addition, a digital video encoder 115 is connected to the graphic LSI 114, and a DAC 116 is connected to the digital video encoder 115.
[0004]
In the image processing system 101, for example, 8-bit R, G, B pixel signals reproduced from a DVD in the DVD drive 113 or 8-bit R, G, B pixel signals generated by the CPU 110 are respectively It is output to the graphic LSI 114.
The graphic LSI 114 performs rendering processing using the input R, G, and B pixel signals, and outputs the generated R, G, and B pixel signals to the digital video encoder 115.
[0005]
The digital video encoder 115 uses the R, G, and B pixel signals to generate Y, U, V signals, Y, Cb, Cr signals, and Y, Pb, Pr signals based on the following equations.
In the following equation, R is a value indicated by the R signal, G is a value indicated by the G signal, B is a value indicated by the B signal, Y is a value indicated by the Y signal, U is a value indicated by the U signal, V is a value indicated by the V signal, Cb is a value indicated by the Cb signal, Cr is a value indicated by the Cr signal, Pb is a value indicated by the Pb signal, and Pr is a value indicated by the Pr signal.
[0006]
[Expression 1]
[RGB → YUV]
Y = 0.299R + 0.587G + 0.114B (1)
U = 0.493 (BY) (2)
V = 0.877 (R−Y) (3)
[0007]
[Expression 2]
[RGB → YCbCr]
Y = 0.299R + 0.587G + 0.114B (4)
C r = 0.713 (R−Y) (5)
C b = 0.564 (BY) (6)
[0008]
[Equation 3]
[RGB → YPbPr]
Y = 0.2126R + 0.7152G + 0.0722B (7)
P r = 0.635 (R−Y) (8)
P b = 0.5389 (BY) (9)
[0009]
FIG. 8 is a block diagram of the digital video encoder 115 shown in FIG.
As shown in FIG. 8, the digital video encoder 115 includes three signal generation circuits, signal generation circuits 200, 201, and 203.
The signal generation circuit 200 inputs R, G, and B pixel signals input from the graphic LSI 114, performs calculations based on the above formulas (1) to (3), and outputs three signals Y, U, and V. It is generated and output to the DAC 116.
The signal generation circuit 201 receives R, G, and B pixel signals input from the graphic LSI 114, performs calculations based on the above equations (4) to (6), and outputs three signals Y, Cb, and Cr. It is generated and output to the DAC 116.
The signal generation circuit 202 receives R, G, and B pixel signals input from the graphic LSI 114, performs calculations based on the above equations (7) to (9), and outputs three signals Y, Pb, and Pr. It is generated and output to the DAC 116.
[0010]
[Problems to be solved by the invention]
However, in the conventional image processing system 101 shown in FIG. 7 described above, the digital video encoder 115 receives Y, U, V signals, Y, Cb, Cr signals, and Y, Pb, Pr signals as shown in FIG. Since three signal generation circuits for independent generation are used, there is a problem that the circuit becomes large.
[0011]
The present invention has been made in view of the above-described conventional technology, and an object thereof is to provide an image processing apparatus and an image processing system that can be reduced in size.
[0012]
[Means for Solving the Problems]
The image processing apparatus of the first invention generates a first luminance signal when the selection signal indicates a first logical value according to the input R, G, B pixel signals and the selection signal. A process for generating a second luminance signal when the selection signal indicates a second logic value; and a process for generating the second luminance signal when the selection signal indicates the first logic value; A process of generating a U signal that is a color difference signal by multiplying a difference from the B signal among the R, G, and B pixel signals by a predetermined coefficient, and when the selection signal indicates the second logical value. P is a color difference signal by multiplying the difference between the generated second luminance signal and the B signal by a predetermined coefficient. b When a signal is generated and when the selection signal indicates the first logical value, a difference between the generated first luminance signal and the R signal is multiplied by a predetermined coefficient to obtain a color difference signal V When a signal is generated and when the selection signal indicates the second logical value, a difference between the generated second luminance signal and the R signal is multiplied by a predetermined coefficient, and P is a color difference signal. r A first signal generation circuit that performs a signal generation process, and the U signal input from the first signal generation circuit is multiplied by a first coefficient to obtain a color difference signal C b A process of generating a signal, and when the selection signal indicates the first logical value, the generated C b When the signal is selected and output, and the selection signal indicates the second logical value, the P input from the first signal generation circuit r A process of selecting and outputting a signal, and multiplying the V signal inputted from the first signal generation circuit by a second coefficient, C, which is a color difference signal r A process of generating a signal, and when the selection signal indicates the first logical value, the generated C r When the signal is selected and output, and the selection signal indicates the second logical value, the P input from the first signal generation circuit r A second signal generation circuit that performs a process of selecting and outputting a signal; and a composite signal is generated by the first luminance signal, the U signal, and the V signal input from the first signal generation circuit And a third signal generation circuit.
[0013]
An image processing system according to a second aspect of the present invention is a data bus, an arithmetic processing circuit that is connected to the data bus, generates a selection signal, performs rendering processing, and outputs R, G, and B pixel signals. An image processing circuit; and a second image processing circuit that generates a luminance signal and a color difference signal for display using a pixel signal generated by at least one of the arithmetic processing circuit and the first image processing circuit. The second image processing circuit generates a first luminance signal in response to the R, G, and B pixel signals and the selection signal when the selection signal indicates a first logical value; A process of generating a second luminance signal when the selection signal indicates a second logic value, and the generated first luminance signal and the R when the selection signal indicates the first logic value. , G, B pixel signal difference with B signal A process of generating a U signal that is a color difference signal by multiplying a constant coefficient and a difference between the generated second luminance signal and the B signal when the selection signal indicates the second logical value. P, which is a color difference signal, multiplied by a predetermined coefficient b When a signal is generated and when the selection signal indicates the first logical value, a difference between the generated first luminance signal and the R signal is multiplied by a predetermined coefficient to obtain a color difference signal V When a signal is generated and when the selection signal indicates the second logical value, a difference between the generated second luminance signal and the R signal is multiplied by a predetermined coefficient, and P is a color difference signal. r A first signal generation circuit that performs a signal generation process, and the U signal input from the first signal generation circuit is multiplied by a first coefficient to obtain a color difference signal C b A process of generating a signal, and when the selection signal indicates the first logical value, the generated C b When the signal is selected and output, and the selection signal indicates the second logical value, the P input from the first signal generation circuit b A process of selecting and outputting a signal, and multiplying the V signal inputted from the first signal generation circuit by a second coefficient, C, which is a color difference signal r A process of generating a signal, and when the selection signal indicates the first logical value, the generated C r When the signal is selected and output, and the selection signal indicates the second logical value, the P input from the first signal generation circuit r A second signal generation circuit that performs a process of selecting and outputting a signal; and a composite signal is generated by the first luminance signal, the U signal, and the V signal input from the first signal generation circuit And a third signal generation circuit.
[0022]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, an image processing apparatus according to an embodiment of the present invention will be described with reference to the accompanying drawings.
FIG. 1 is a configuration diagram of an image processing system 1 according to the present embodiment.
As shown in FIG. 1, an image processing system 1 includes a CPU (Central Processing Unit) 10, a ROM (Read Only Memory) / RAM (Random Access Memory) 11, an I / F circuit 12, and a graphic LSI 14 via a data bus 20. Is connected.
A DVD drive 13 is connected to the I / F circuit 12.
The graphic LSI 14 is connected to the digital video encoder 15.
The digital video encoder 15 is connected to a DAC (Digital Analog Converter) 16.
Here, the digital video encoder 15 corresponds to the image processing apparatus and the second image processing circuit of the present invention.
The CPU 10 corresponds to the arithmetic processing circuit of the present invention, the graphic LSI 14 corresponds to the first image processing circuit of the present invention, and the data bus 20 corresponds to the data bus of the present invention.
[0023]
The CPU 10 controls the overall processing of each component of the image processing system 1.
When the CPU 10 generates the Y, Cr, Cb signal and the composite signal Comp in the digital video encoder 15, the CPU 10 generates a selection signal SEL indicating the first logical value and outputs it to the digital video encoder 15.
In addition, when the Y, Pr, and Pb signals are generated in the digital video encoder 15, the CPU 10 generates a selection signal SEL indicating the second logical value and outputs this to the digital video encoder 15.
[0024]
The ROM / RAM 11 stores programs and data used for processing of the image processing system 1.
[0025]
The I / F circuit 12 inputs and outputs data and signals such as pixel signals between the data bus 20 and the DVD drive 13.
[0026]
The DVD drive 13 performs DVD playback and recording.
[0027]
The graphic LSI 14 performs rendering processing using the R, G, B pixel signals input from the DVD drive 13 or the CPU 10 via the data bus 20, and the R, G, B pixel signals, which are the processing results, are converted into digital video. Output to the encoder 15.
[0028]
The digital video encoder 15 selectively generates Y, Pb, Pr signals and Y, Cb, Cr signals using R, G, B pixel signals generated by at least one of the CPU 10 and the graphic LSI 14. A composite signal Comp is generated.
Specifically, the digital video encoder 15 generates Y, U, V signals, Y, Cb, Cr signals and Y, Pb, Pr signals based on the following formulas.
In the following equation, R is a value indicated by the R signal, G is a value indicated by the G signal, B is a value indicated by the B signal, Y is a value indicated by the Y signal, U is a value indicated by the U signal, V is a value indicated by the V signal, Cb is a value indicated by the Cb signal, Cr is a value indicated by the Cr signal, Pb is a value indicated by the Pb signal, and Pr is a value indicated by the Pr signal.
Here, the Y signal corresponds to the luminance signal of the present invention, the Pb and V signals correspond to the first color difference signal of the present invention, the Pr signal and the U signal correspond to the second color difference signal of the present invention, Cb corresponds to the third color difference signal of the present invention, and Cr corresponds to the fourth color difference signal of the present invention.
[0029]
[Expression 4]
[RGB → YUV]
Y = 0.299R + 0.587G + 0.114B (1)
U = 0.493 (BY) (2)
V = 0.877 (R−Y) (3)
[0030]
[Equation 5]
[RGB → YCbCr]
Y = 0.299R + 0.587G + 0.114B (4)
C r = 0.713 (R−Y) (5)
C b = 0.564 (BY) (6)
[0031]
[Formula 6]
[RGB → YPbPr]
Y = 0.2126R + 0.7152G + 0.0722B (7)
P r = 0.635 (R−Y) (8)
P b = 0.5389 (BY) (9)
[0032]
FIG. 2 is a configuration diagram of the digital video encoder 15.
As shown in FIG. 2, the digital video encoder 15 includes a signal generation circuit 30, a signal generation circuit 31, a signal generation circuit 32, and a coefficient setting circuit 33.
Here, the signal generation circuit 30 corresponds to the first signal generation circuit of the present invention, the signal generation circuit 31 corresponds to the second signal generation circuit of the present invention, and the signal generation circuit 32 corresponds to the third signal generation circuit of the present invention. It corresponds to the signal generation circuit.
Hereinafter, each signal generation circuit will be described in detail.
FIG. 3 is a configuration diagram of the signal generation circuit 30.
As illustrated in FIG. 3, the signal generation circuit 30 includes a Y signal generation circuit 45, a color difference signal generation circuit 46, and a color difference signal generation circuit 47.
[0033]
FIG. 4 is a configuration diagram of the Y signal generation circuit 45.
As shown in FIG. 4, the Y signal generation circuit 45 includes a selection circuit 40, a multiplication circuit 41, an addition circuit 70, and an addition circuit 71.
The selection circuit 40 inputs the coefficients Ar1 and Ar2 from the coefficient setting circuit 33 shown in FIG. 2, and the coefficient Ar1 when the selection signal SEL generated by the CPU 10 indicates the first logical value (for example, the logical value “1”). Is selected and output as a coefficient S40 to the multiplication circuit 41. When the selection signal SEL indicates a second logical value (for example, logical value “0”), the coefficient Ar2 is selected and output as the coefficient S40 to the multiplication circuit 41. To do.
Here, the coefficient Ar1 is the R coefficient of 0.299 in the above equations (1) and (4). The coefficient Ar2 is the R coefficient of 0.2126 in the above equation (7).
[0034]
The multiplication circuit 41 multiplies the value indicated by the R signal by the coefficient S40 and outputs the multiplication result S41 to the addition circuit 70.
[0035]
The selection circuit 50 receives the coefficients Ag1 and Ag2 from the coefficient setting circuit 33 shown in FIG. 2, selects the coefficient Ag1 when the selection signal SEL generated by the CPU 10 indicates the first logical value, and multiplies the coefficient Ag1 as the coefficient S50. When the selection signal SEL indicates the second logical value, the coefficient Ag2 is selected and output to the multiplication circuit 51 as the coefficient S50.
Here, the coefficient Ag1 is the coefficient 0.587 of G in the above equations (1) and (4). The coefficient Ag2 is the coefficient 0.7152 of G in the above formula (7).
[0036]
The multiplication circuit 51 multiplies the value indicated by the G signal by the coefficient S50 and outputs the multiplication result S51 to the addition circuit 70.
[0037]
The selection circuit 60 receives the coefficients Ab1 and Ab2 from the coefficient setting circuit 33 shown in FIG. 2, selects the coefficient Ab1 when the selection signal SEL generated by the CPU 10 indicates the first logical value, and multiplies the coefficient Ab1 as the coefficient S60. When the selection signal SEL indicates the second logical value, the coefficient Ab2 is selected and output to the multiplication circuit 61 as the coefficient S60.
Here, the coefficient Ab1 is the coefficient B of 0.114 in the above formulas (1) and (4). The coefficient Ab2 is the coefficient 0.0722 of B in the above formula (7).
[0038]
The multiplication circuit 61 multiplies the value indicated by the B signal by the coefficient S60 and outputs the multiplication result S61 to the addition circuit 71.
[0039]
The addition circuit 70 adds the multiplication result S41 of the multiplication circuit 41 and the multiplication result S51 of the multiplication circuit 51, and outputs the addition result S70 to the addition circuit 71.
The addition circuit 71 adds the addition result S70 and the multiplication result S61 of the multiplication circuit 61, and outputs the addition result as a Y signal to the DAC 16 shown in FIG. 1 and the color difference signal generation circuits 46 and 47 shown in FIG.
[0040]
FIG. 5A is a configuration diagram of the color difference signal generation circuit 46 shown in FIG.
As shown in FIG. 5A, the color difference signal generation circuit 46 includes a subtraction circuit 80, a selection circuit 81, and a multiplication circuit 82.
The subtraction circuit 80 subtracts the Y signal input from the Y signal generation circuit 45 shown in FIGS. 3 and 4 from the B signal input from the graphic LSI 14 to generate a (B−Y) signal, which is then multiplied by the multiplication circuit 82. Output to.
The selection circuit 81 receives the coefficients AU and AP from the coefficient setting circuit 33. b When the selection signal SEL generated by the CPU 10 indicates the first logic value, the coefficient AU is output as the coefficient S81 to the multiplication circuit 82, and when the selection signal SEL indicates the second logic value, the coefficient AP b Is output to the multiplication circuit 82 as a coefficient S81.
The multiplication circuit 82 multiplies the (BY) signal input from the subtraction circuit 80 and the coefficient S81 input from the selection circuit 81, and outputs the multiplication result to the signal generation circuit 31 and the signal generation circuit 32 shown in FIG. To do.
Here, when the selection signal SEL indicates the first logical value, the multiplication result of the multiplication circuit 82 is the U signal, and when the selection signal SEL indicates the second logical value, the multiplication result of the multiplication circuit 82 is P b Signal.
[0041]
FIG. 5B is a configuration diagram of the color difference signal generation circuit 47 shown in FIG.
As shown in FIG. 5B, the color difference signal generation circuit 47 includes a subtraction circuit 90, a selection circuit 91, and a multiplication circuit 92.
The subtraction circuit 90 subtracts the Y signal input from the Y signal generation circuit 45 shown in FIGS. 3 and 4 from the R signal input from the graphic LSI 14 to generate an (R−Y) signal, which is then multiplied by the multiplication circuit 92. Output to.
The selection circuit 91 receives the coefficients AV and AP from the coefficient setting circuit 33. r When the selection signal SEL generated by the CPU 10 indicates the first logic value, the coefficient AV is output to the multiplication circuit 92 as the coefficient S91, and when the selection signal SEL indicates the second logic value, the coefficient AP r Is output to the multiplier circuit 92 as a coefficient S91.
The multiplication circuit 92 multiplies the (R−Y) signal input from the subtraction circuit 90 and the coefficient S91 input from the selection circuit 91, and outputs the multiplication result to the signal generation circuit 31 and the signal generation circuit 32 shown in FIG. To do.
Here, when the selection signal SEL indicates the first logic value, the multiplication result of the multiplication circuit 92 is a V signal, and when the selection signal SEL indicates the second logic value, the multiplication result of the multiplication circuit 92 is P r Signal.
[0042]
FIG. 6 is a configuration diagram of the signal generation circuit 31 shown in FIG.
As illustrated in FIG. 6, the signal generation circuit 31 includes a multiplication circuit 300, a selection circuit 301, a multiplication circuit 302, and a selection circuit 303.
The multiplier circuit 300 receives the U signal or P input from the signal generation circuit 30 shown in FIG. b The signal has a coefficient (AC b / AU) and outputs the multiplication result to the selection circuit 301. Here, the coefficient AU is the coefficient 0.493 of (BY) in the above-described equation (2), and the coefficient AC b Is the coefficient 0.564 of (BY) in the above-described equation (6).
The multiplier circuit 300 receives the U signal from the signal generation circuit 30 when the above-described selection signal SEL indicates the first logic value, and outputs the P signal from the signal generation circuit 30 when the selection signal SEL indicates the second logic value. b Input the signal.
At this time, when the selection signal SEL indicates the first logical value, the multiplication result of the multiplication circuit 300 is C b Become a signal.
The selection circuit 301 receives the C input from the multiplication circuit 300 when the selection signal SEL indicates the first logical value. b Select and output the signal.
The selection circuit 301 receives the P input from the signal generation circuit 30 when the selection signal SEL indicates the second logical value. b Select and output the signal.
[0043]
The multiplication circuit 302 receives the V signal or P input from the signal generation circuit 30 shown in FIG. r The signal has a coefficient (AC r / AV) and outputs the multiplication result to the selection circuit 303. Here, the coefficient AV is the coefficient 0.877 of (R−Y) in the above-described equation (3), and the coefficient AC r Is a coefficient 0.713 of (R−Y) in the above-described equation (5).
The multiplier 302 receives the V signal from the signal generation circuit 30 when the above-described selection signal SEL indicates the first logic value, and outputs the P signal from the signal generation circuit 30 when the selection signal SEL indicates the second logic value. r Input the signal.
At this time, when the selection signal SEL indicates the first logical value, the multiplication result of the multiplication circuit 300 is C r Become a signal.
The selection circuit 303 receives the C input from the multiplication circuit 302 when the selection signal SEL indicates the first logical value. r Select and output the signal.
The selection circuit 303 receives the P input from the signal generation circuit 30 when the selection signal SEL indicates the second logical value. r Select and output the signal.
[0044]
The signal generation circuit 32 multiplexes the Y signal, U signal, and V signal input from the signal generation circuit 30 by frequency interleaving to generate a composite signal Comp, and outputs it.
[0045]
Further, the coefficient setting circuit 33 shown in FIG. 2 stores various coefficients used for the processing of the signal generation circuits 30 and 31.
[0046]
Hereinafter, an operation example of the digital video encoder 15 will be described with reference to FIGS.
[First operation example]
Hereinafter, in the CPU 10, a selection signal SEL having a logical value “1” is generated, and based on the selection signal SEL, the digital video encoder 15 generates an Y, Cr, Cb signal and a composite signal Comp. explain.
[0047]
The R, G, B signals generated by the graphic LSI 14 shown in FIG. 1 are input to the signal generation circuit 30 of the digital video encoder 15 shown in FIGS.
The R, G, and B signals are input to the Y signal generation circuit 45, the color difference signal generation circuit 46, and the color difference signal generation circuit 47 of the signal generation circuit 30 shown in FIG.
Then, in the Y signal generation circuit 45 shown in FIG. 4 incorporated in the signal generation circuit 30, the selection circuits 40, 50, 60 calculate the coefficients Ar1, Ag1, Ab1 based on the selection signal SEL indicating the first logical value. Select each one.
Then, the multiplication circuit 41 multiplies the R signal and the coefficient Ar 1 and outputs the multiplication result S 41 to the addition circuit 70.
In addition, the multiplication circuit 51 multiplies the G signal and the coefficient Ag 1 and outputs the multiplication result S 51 to the addition circuit 70.
In addition, the multiplication circuit 61 multiplies the B signal and the coefficient Ab 1 and outputs the multiplication result S 61 to the addition circuit 71.
[0048]
Then, in addition circuit 70, multiplication results S41 and S51 are added, and the addition result S70 is output to addition circuit 71.
In addition circuit 71, addition result S70 and multiplication result S61 are added, and the addition result is DAC 16 as signal Y, signal generation circuit 31 shown in FIG. 2, signal generation circuit 32, and color difference signal generation shown in FIG. It is output to the circuits 46 and 47.
[0049]
Then, the following processing is performed in the color difference signal generation circuit 46 shown in FIG.
In the selection circuit 81, the coefficient AU is selected based on the selection signal SEL, and is output to the multiplication circuit 82 as the coefficient S81.
In the subtraction circuit 80, the Y signal is subtracted from the B signal, and the subtraction result (B−Y) is output to the multiplication circuit 82.
Then, the multiplication circuit 82 multiplies the subtraction result (BY) by the coefficient S81, and outputs the U signal as the multiplication result to the signal generation circuit 31 shown in FIG.
[0050]
Further, the following processing is performed in the color difference signal generation circuit 47 shown in FIG. 5B in parallel with the processing of the color difference signal generation circuit 46 described above.
In the selection circuit 91, the coefficient AV is selected based on the selection signal SEL, and is output to the multiplication circuit 92 as the coefficient S91.
In the subtraction circuit 90, the Y signal is subtracted from the R signal, and the subtraction result (R−Y) is output to the multiplication circuit 92.
Then, the multiplication circuit 92 multiplies the subtraction result (R−Y) by the coefficient S91, and outputs the V signal as the multiplication result to the signal generation circuit 31 shown in FIG.
[0051]
Then, in the signal generation circuit 32, multiplexing is performed using the Y signal, U signal, and V signal, and a composite signal Comp is generated and output.
[0052]
In parallel with the processing of the signal generation circuit 32, the following processing is performed in the signal generation circuit 31 shown in FIG. In the multiplication circuit 300, the coefficient AC b / AU multiplied by U signal and C b A signal is generated and output to the selection circuit 301.
Then, in the selection circuit 301, based on the selection signal SEL, C b A signal is selected and output.
[0053]
In the multiplier circuit 302, the coefficient AC r / AV and V signal multiplied by C r A signal is generated and output to the selection circuit 303.
Then, in the selection circuit 303, based on the selection signal SEL, C r A signal is selected and output.
[0054]
As described above, when the selection signal SEL indicating the first logical value is generated in the CPU 10, the digital video encoder 15 generates the Y, Cr, Cb signal and the composite signal Comp.
[0055]
[Second operation example]
Hereinafter, in the CPU 10, a selection signal SEL having a logical value “0” is generated, and based on the selection signal SEL, the digital video encoder 15 generates an Y, Pr, Pb signal and a composite signal Comp. explain.
[0056]
The R, G, B signals generated by the graphic LSI 14 shown in FIG. 1 are input to the signal generation circuit 30 of the digital video encoder 15 shown in FIGS.
The R, G, and B signals are input to the Y signal generation circuit 45, the color difference signal generation circuit 46, and the color difference signal generation circuit 47 of the signal generation circuit 30 shown in FIG.
Then, in the Y signal generation circuit 45 shown in FIG. 4 incorporated in the signal generation circuit 30, the selection circuits 40, 50, 60 calculate the coefficients Ar2, Ag2, Ab2 based on the selection signal SEL indicating the second logical value. Select each one.
Then, the multiplication circuit 41 multiplies the R signal and the coefficient Ar 2, and outputs the multiplication result S 41 to the addition circuit 70.
In addition, the multiplication circuit 51 multiplies the G signal and the coefficient Ag 2, and outputs the multiplication result S 51 to the addition circuit 70.
In addition, the multiplication circuit 61 multiplies the B signal and the coefficient Ab 2 and outputs the multiplication result S 61 to the addition circuit 71.
[0057]
Then, in addition circuit 70, multiplication results S41 and S51 are added, and the addition result S70 is output to addition circuit 71.
In addition circuit 71, addition result S70 and multiplication result S61 are added, and the addition result is DAC 16 as signal Y, signal generation circuit 31 shown in FIG. 2, signal generation circuit 32, and color difference signal generation shown in FIG. It is output to the circuits 46 and 47.
[0058]
Then, the following processing is performed in the color difference signal generation circuit 46 shown in FIG.
In the selection circuit 81, based on the selection signal SEL, the coefficient AP b Is selected and output to the multiplier circuit 82 as the coefficient S81.
In the subtraction circuit 80, the Y signal is subtracted from the B signal, and the subtraction result (B−Y) is output to the multiplication circuit 82.
Then, the multiplication circuit 82 multiplies the subtraction result (B−Y) by the coefficient S81, and P is the multiplication result. b The signal is output to the signal generation circuit 31 shown in FIG.
[0059]
Further, the following processing is performed in the color difference signal generation circuit 47 shown in FIG. 5B in parallel with the processing of the color difference signal generation circuit 46 described above.
In the selection circuit 91, based on the selection signal SEL, the coefficient AP r Is selected and output to the multiplication circuit 92 as the coefficient S91.
In the subtraction circuit 90, the Y signal is subtracted from the R signal, and the subtraction result (R−Y) is output to the multiplication circuit 92.
Then, the multiplication circuit 92 multiplies the subtraction result (R−Y) by the coefficient S91, and the multiplication result P r The signal is output to the signal generation circuit 31 shown in FIG.
[0060]
Then, the selection circuits 301 and 303 of the signal generation circuit 31 shown in FIG. 6 select and output the Pr and Pb signals, respectively, based on the selection signal SEL indicating the second logical value.
[0061]
As described above, when the CPU 10 generates the second logical value selection signal SEL, the digital video encoder 15 generates Y, Pr, and Pb signals.
[0062]
Hereinafter, the overall operation of the image processing system 1 shown in FIG. 1 will be described.
When the digital video encoder 15 generates the Y, Cr, Cb signal or the composite signal Comp, the CPU 10 generates the selection signal SEL indicating the first logical value and outputs it to the digital video encoder 15.
Then, R, G, and B signals are generated at least one of the CPU 10 and the graphic LSI 14 and output to the digital video encoder 15.
Then, as described above, the digital video encoder 15 generates the Y, Cr, Cb signal or the composite signal Comp based on the selection signal SEL, and outputs these to the DAC 16.
In the DAC 16, the Y, Cr, Cb signal or composite signal Comp is converted into an analog signal and then output to a display or the like.
[0063]
On the other hand, when the Y, Pr, and Pb signals are generated in the digital video encoder 15, the selection signal SEL indicating the second logical value is generated in the CPU 10 and is output to the digital video encoder 15.
Then, R, G, and B signals are generated at least one of the CPU 10 and the graphic LSI 14 and output to the digital video encoder 15.
Then, as described above, the digital video encoder 15 generates Y, Pr, and Pb signals based on the selection signal SEL indicating the second logical value, and outputs these to the DAC 16.
In the DAC 16, the Y, Pr, and Pb signals are converted into analog signals and then output to a display or the like.
[0064]
As described above, according to the image processing system 1, in the digital video encoder 15, as described with reference to FIGS. 2 to 6, the signal generation circuit 31 multiplies U and V signals by predetermined coefficients. Since the Cb and Cr signals are generated, the circuit scale can be reduced as compared with the conventional image processing system 101 shown in FIGS.
[0065]
The present invention is not limited to the embodiment described above.
For example, in the above-described embodiment, the case where the signal generation circuit 32 that generates the composite signal Comp is provided is illustrated, but the signal generation circuit 32 is not necessarily required in the present invention.
Further, the coefficients of the above-described formulas (1) to (9) are not particularly limited.
[0066]
【The invention's effect】
As described above, according to the present invention, it is possible to provide an image processing apparatus and an image processing system that can be reduced in size.
[Brief description of the drawings]
FIG. 1 is a configuration diagram of an image processing system according to an embodiment of the present invention.
FIG. 2 is a configuration diagram of the digital video encoder shown in FIG. 1;
FIG. 3 is a configuration diagram of the signal generation circuit (RGB → YUV, RGB → YPbPr) shown in FIG. 2;
4 is a configuration diagram of a Y signal generation circuit shown in FIG. 3. FIG.
FIG. 5A is a color difference signal generation circuit (P b , U generation), and FIG. 5B is a color difference signal generation circuit (P r , V generation).
6 is a configuration diagram of the signal generation circuit (UV → CbCr) shown in FIG. 2; FIG.
FIG. 7 is a configuration diagram of a conventional image processing apparatus.
FIG. 8 is a configuration diagram of the digital video encoder shown in FIG. 7;
[Explanation of symbols]
DESCRIPTION OF SYMBOLS 1 ... Image processing system, 10 ... CPU, 11 ... ROM / RAM, 12 ... I / F circuit, 13 ... DVD drive, 14 ... Graphic LSI, 15 ... Digital video encoder, 16 ... DAC, 20 ... Data bus, 30, 31, 32 ... signal generation circuit, 33 ... coefficient setting circuit, 45 ... Y signal generation circuit, 46, 47 ... color difference signal generation circuit, 40, 50, 60, 81, 91, 301, 303 ... selection circuit, 41, 51 , 61, 82, 92, 300, 302... Multiplier circuit, 70, 71... Adder circuit, 80, 90.

Claims (7)

入力されたR,G,Bの画素信号と選択信号とに応じて、前記選択信号が第1の論理値を示す場合に第1の輝度信号を生成し、前記選択信号が第2の論理値を示す場合に第2の輝度信号を生成する処理と、
前記選択信号が前記第1の論理値を示す場合に、前記生成した第1の輝度信号と前記R,G,Bの画素信号のうちのB信号との差分に所定の係数を乗算して色差信号であるU信号を生成する処理と、
前記選択信号が前記第2の論理値を示す場合に、前記生成した第2の輝度信号と前記B信号との差分に所定の係数を乗算して色差信号であるP信号を生成する処理と、
前記選択信号が前記第1の論理値を示す場合に、前記生成した第1の輝度信号と前記R信号との差分に所定の係数を乗算して色差信号であるV信号を生成する処理と、
前記選択信号が前記第2の論理値を示す場合に、前記生成した第2の輝度信号と前記R信号との差分に所定の係数を乗算して色差信号であるP信号を生成する処理と、
を行う第1の信号生成回路と、
前記第1の信号生成回路から入力された前記U信号に第1の係数を乗算して色差信号であるC信号を生成する処理と、
前記選択信号が前記第1の論理値を示す場合に、前記生成したC信号を選択して出力し、当該選択信号が前記第2の論理値を示す場合に、前記第1の信号生成回路から入力された前記P信号を選択して出力する処理と、
前記第1の信号生成回路から入力された前記V信号に第2の係数を乗算して色差信号であるC信号を生成する処理と、
前記選択信号が前記第1の論理値を示す場合に、前記生成したC信号を選択して出力し、当該選択信号が前記第2の論理値を示す場合に、前記第1の信号生成回路から入力された前記P信号を選択して出力する処理と、
を行う第2の信号生成回路と、
前記第1の信号生成回路から入力された第1の輝度信号、前記U信号及び前記V信号によりコンポジット信号を生成する第3の信号生成回路と、
を有する画像処理装置。
In response to the input R, G, and B pixel signals and the selection signal, a first luminance signal is generated when the selection signal indicates a first logical value, and the selection signal is a second logical value. A process of generating a second luminance signal when
When the selection signal indicates the first logical value, a color difference is obtained by multiplying a difference between the generated first luminance signal and the B signal among the R, G, and B pixel signals by a predetermined coefficient. A process of generating a U signal which is a signal;
A process of generating a Pb signal, which is a color difference signal, by multiplying a difference between the generated second luminance signal and the B signal by a predetermined coefficient when the selection signal indicates the second logical value; ,
When the selection signal indicates the first logical value, a process of generating a V signal that is a color difference signal by multiplying a difference between the generated first luminance signal and the R signal by a predetermined coefficient;
A process of generating a Pr signal as a color difference signal by multiplying a difference between the generated second luminance signal and the R signal by a predetermined coefficient when the selection signal indicates the second logical value; ,
A first signal generation circuit for performing
A process of generating a Cb signal that is a color difference signal by multiplying the U signal input from the first signal generation circuit by a first coefficient;
When the selection signal indicates the first logic value, the generated Cb signal is selected and output, and when the selection signal indicates the second logic value, the first signal generation circuit A process of selecting and outputting the Pr signal input from
A process of generating a Cr signal which is a color difference signal by multiplying the V signal input from the first signal generation circuit by a second coefficient;
When the selection signal indicates the first logic value, the generated Cr signal is selected and output, and when the selection signal indicates the second logic value, the first signal generation circuit A process of selecting and outputting the Pr signal input from
A second signal generation circuit for performing
A third signal generation circuit that generates a composite signal from the first luminance signal, the U signal, and the V signal input from the first signal generation circuit;
An image processing apparatus.
前記第1の信号生成回路は、
前記選択信号に基づいて、複数の異なる係数を選択し、R,G,Bの画素信号の各々に当該選択した対応する係数を乗算し、各々の乗算結果を加算して前記第1の輝度信号あるいは第2の輝度信号を生成する輝度信号生成回路と、
前記選択信号に基づいて、複数の異なる係数を選択し、前記生成した第1の輝度信号と前記B信号との差分に当該選択した対応する係数を乗算し、各々の乗算結果を加算して前記U信号あるいはP信号を生成する第1の色差信号生成回路と、
前記選択信号に基づいて、複数の異なる係数を選択し、前記生成した第2の輝度信号と前記B信号との差分に当該選択した係数を乗算し、各々の乗算結果を加算して前記V信号あるいはP信号を生成する第2の色差信号生成回路と、
を有する請求項1に記載の信号生成回路。
The first signal generation circuit includes:
Based on the selection signal, a plurality of different coefficients are selected, each of the R, G, and B pixel signals is multiplied by the selected corresponding coefficient, and each multiplication result is added to the first luminance signal. Alternatively, a luminance signal generation circuit that generates a second luminance signal;
Based on the selection signal, a plurality of different coefficients are selected, the difference between the generated first luminance signal and the B signal is multiplied by the selected corresponding coefficient, and each multiplication result is added, A first color difference signal generation circuit for generating a U signal or a Pb signal;
Based on the selection signal, a plurality of different coefficients are selected, the difference between the generated second luminance signal and the B signal is multiplied by the selected coefficient, and each multiplication result is added to the V signal. Alternatively, a second color difference signal generation circuit that generates a Pr signal;
The signal generation circuit according to claim 1.
前記輝度信号生成回路は、
前記選択信号が第1の論理値を示す場合に第3の係数を選択し、第2の論理値を示す場合に第4の係数を選択する第1の選択回路と、
前記選択信号が第1の論理値を示す場合に第5の係数を選択し、第2の論理値を示す場合に第6の係数を選択する第2の選択回路と、
前記選択信号が第1の論理値を示す場合に第7の係数を選択し、第2の論理値を示す場合に第8の係数を選択する第3の選択回路と、
前記R,G,Bの画素信号のうち、R信号と前記第1の選択回路が選択した前記第3の係数あるいは前記第4の係数とを乗算する第1の乗算回路と、
前記R,G,Bの画素信号のうち、G信号と前記第2の選択回路が選択した前記第5の係数あるいは前記第6の係数とを乗算する第2の乗算回路と、
前記R,G,Bの画素信号のうち、B信号と前記第3の選択回路が選択した前記第7の係数あるいは前記第8の係数とを乗算する第3の乗算回路と、
前記第1の乗算回路が乗算した結果と、前記第2の乗算回路が乗算した結果とを加算する第1の加算回路と、
前記第1の加算回路が加算した結果と、前記第3の乗算回路が乗算した結果とを加算し、当該加算結果を第1の輝度信号あるいは第2の輝度信号として出力する第2の加算回路と、
を有する請求項2に記載の画像処理装置。
The luminance signal generation circuit includes:
A first selection circuit that selects a third coefficient when the selection signal indicates a first logic value and selects a fourth coefficient when the selection signal indicates a second logic value;
A second selection circuit that selects a fifth coefficient when the selection signal indicates a first logic value and selects a sixth coefficient when the selection signal indicates a second logic value;
A third selection circuit that selects a seventh coefficient when the selection signal indicates a first logic value and selects an eighth coefficient when the selection signal indicates a second logic value;
A first multiplication circuit that multiplies the R signal and the third coefficient or the fourth coefficient selected by the first selection circuit among the R, G, and B pixel signals;
A second multiplication circuit that multiplies the G signal and the fifth coefficient or the sixth coefficient selected by the second selection circuit among the R, G, and B pixel signals;
A third multiplication circuit that multiplies the B signal and the seventh coefficient or the eighth coefficient selected by the third selection circuit among the R, G, and B pixel signals;
A first addition circuit for adding the result of multiplication by the first multiplication circuit and the result of multiplication by the second multiplication circuit;
A second addition circuit that adds a result obtained by the addition by the first addition circuit and a result obtained by the multiplication by the third multiplication circuit and outputs the addition result as a first luminance signal or a second luminance signal. When,
The image processing apparatus according to claim 2, comprising:
前記第1の色差信号生成回路は、
前記B信号から、前記輝度信号生成回路から入力された前記第1の輝度信号あるいは第2の輝度信号を減算する第1の減算回路と、
前記選択信号が第1の論理値を示す場合に第9の係数を選択し、第2の論理値を示す場合に第10の係数を選択する第4の選択回路と、
前記第1の減算回路が減算した結果と、前記第4の選択回路が選択した前記第9の係数あるいは前記第10の係数とを乗算し、当該乗算結果を前記U信号あるいはP信号として出力する第4の乗算回路と、
を有する請求項3に記載の画像処理装置。
The first color difference signal generation circuit includes:
A first subtraction circuit that subtracts the first luminance signal or the second luminance signal input from the luminance signal generation circuit from the B signal;
A fourth selection circuit that selects a ninth coefficient when the selection signal indicates a first logic value and selects a tenth coefficient when the selection signal indicates a second logic value;
The result of subtraction by the first subtraction circuit is multiplied by the ninth coefficient or the tenth coefficient selected by the fourth selection circuit, and the multiplication result is output as the U signal or Pb signal. A fourth multiplication circuit that
The image processing apparatus according to claim 3.
前記第2の色差信号生成回路は、
前記R信号から、前記輝度信号生成回路から入力された前記第1の輝度信号あるいは第2の輝度信号を減算する第2の減算回路と、
前記選択信号が第1の論理値を示す場合に第11の係数を選択し、第2の論理値を示す場合に第12の係数を選択する第5の選択回路と、
前記第2の減算回路が減算した結果と、前記第5の選択回路が選択した前記第11の係数あるいは前記第12の係数とを乗算し、当該乗算結果を前記V信号あるいはP信号として出力する第5の乗算回路と、
を有する請求項4に記載の画像処理装置。
The second color difference signal generation circuit includes:
A second subtraction circuit that subtracts the first luminance signal or the second luminance signal input from the luminance signal generation circuit from the R signal;
A fifth selection circuit that selects an eleventh coefficient when the selection signal indicates a first logic value and selects a twelfth coefficient when the selection signal indicates a second logic value;
The result of subtraction by the second subtraction circuit is multiplied by the eleventh coefficient or the twelfth coefficient selected by the fifth selection circuit, and the multiplication result is output as the V signal or the Pr signal. A fifth multiplication circuit that
The image processing apparatus according to claim 4, comprising:
前記第2の信号生成回路は、
前記第1の信号生成回路から入力された前記U信号と、前記第1の係数とを乗算する第6の乗算回路と、
前記選択信号が第1の論理値を示す場合に前記第6の乗算回路の乗算結果を選択して前記C信号として出力し、第2の論理値を示す場合に前記第1の信号生成回路から入力された前記P信号を選択して出力する第6の選択回路と、
前記第1の信号生成回路から入力された前記V信号と、前記第2の係数とを乗算する第7の乗算回路と、
前記選択信号が第1の論理値を示す場合に前記第7の乗算回路の乗算結果を選択して前記C信号として出力し、第2の論理値を示す場合に前記第1の信号生成回路から入力された前記P信号を選択して出力する第7の選択回路と、
を有する請求項5に記載の画像処理装置。
The second signal generation circuit includes:
A sixth multiplication circuit that multiplies the U signal input from the first signal generation circuit by the first coefficient;
When the selection signal indicates the first logic value, the multiplication result of the sixth multiplication circuit is selected and output as the Cb signal, and when the selection signal indicates the second logic value, the first signal generation circuit A sixth selection circuit for selecting and outputting the Pb signal inputted from
A seventh multiplication circuit for multiplying the V signal input from the first signal generation circuit by the second coefficient;
When the selection signal indicates the first logic value, the multiplication result of the seventh multiplication circuit is selected and output as the Cr signal, and when the selection signal indicates the second logic value, the first signal generation circuit A seventh selection circuit for selecting and outputting the Pr signal input from
The image processing apparatus according to claim 5.
データバスと、
前記データバスに接続され、選択信号を生成する演算処理回路と、
レンダリング処理を行い、R,G,Bの画素信号を出力する第1の画像処理回路と、
前記演算処理回路および前記第1の画像処理回路の少なくとも一方が生成した画素信号を用いて表示用の輝度信号および色差信号を生成する第2の画像処理回路と、
を有し、
前記第2の画像処理回路は、
前記R,G,Bの画素信号と前記選択信号とに応じて、前記選択信号が第1の論理値を示す場合に第1の輝度信号を生成し、前記選択信号が第2の論理値を示す場合に第2の輝度信号を生成する処理と、
前記選択信号が前記第1の論理値を示す場合に、前記生成した第1の輝度信号と前記R,G,Bの画素信号のうちのB信号との差分に所定の係数を乗算して色差信号であるU信号を生成する処理と、
前記選択信号が前記第2の論理値を示す場合に、前記生成した第2の輝度信号と前記B信号との差分に所定の係数を乗算して色差信号であるP信号を生成する処理と、
前記選択信号が前記第1の論理値を示す場合に、前記生成した第1の輝度信号と前記R信号との差分に所定の係数を乗算して色差信号であるV信号を生成する処理と、
前記選択信号が前記第2の論理値を示す場合に、前記生成した第2の輝度信号と前記R信号との差分に所定の係数を乗算して色差信号であるP信号を生成する処理と、
を行う第1の信号生成回路と、
前記第1の信号生成回路から入力された前記U信号に第1の係数を乗算して色差信号であるC信号を生成する処理と、
前記選択信号が前記第1の論理値を示す場合に、前記生成したC信号を選択して出力し、当該選択信号が前記第2の論理値を示す場合に、前記第1の信号生成回路から入力された前記P信号を選択して出力する処理と、
前記第1の信号生成回路から入力された前記V信号に第2の係数を乗算して色差信号であるC信号を生成する処理と、
前記選択信号が前記第1の論理値を示す場合に、前記生成したC信号を選択して出力し、当該選択信号が前記第2の論理値を示す場合に、前記第1の信号生成回路から入力された前記P信号を選択して出力する処理と、
を行う第2の信号生成回路と、
前記第1の信号生成回路から入力された第1の輝度信号、前記U信号及び前記V信号によりコンポジット信号を生成する第3の信号生成回路と、
を有する画像処理システム。
A data bus,
An arithmetic processing circuit connected to the data bus for generating a selection signal;
A first image processing circuit that performs rendering processing and outputs R, G, and B pixel signals;
A second image processing circuit that generates a luminance signal and a color difference signal for display using a pixel signal generated by at least one of the arithmetic processing circuit and the first image processing circuit;
Have
The second image processing circuit includes:
In response to the R, G, B pixel signals and the selection signal, a first luminance signal is generated when the selection signal indicates a first logical value, and the selection signal has a second logical value. Processing to generate a second luminance signal when shown;
When the selection signal indicates the first logical value, a color difference is obtained by multiplying a difference between the generated first luminance signal and the B signal among the R, G, and B pixel signals by a predetermined coefficient. A process of generating a U signal which is a signal;
A process of generating a Pb signal, which is a color difference signal, by multiplying a difference between the generated second luminance signal and the B signal by a predetermined coefficient when the selection signal indicates the second logical value; ,
When the selection signal indicates the first logical value, a process of generating a V signal that is a color difference signal by multiplying a difference between the generated first luminance signal and the R signal by a predetermined coefficient;
A process of generating a Pr signal as a color difference signal by multiplying a difference between the generated second luminance signal and the R signal by a predetermined coefficient when the selection signal indicates the second logical value; ,
A first signal generation circuit for performing
A process of generating a Cb signal that is a color difference signal by multiplying the U signal input from the first signal generation circuit by a first coefficient;
When the selection signal indicates the first logic value, the generated Cb signal is selected and output, and when the selection signal indicates the second logic value, the first signal generation circuit A process of selecting and outputting the Pb signal input from
A process of generating a Cr signal which is a color difference signal by multiplying the V signal input from the first signal generation circuit by a second coefficient;
When the selection signal indicates the first logic value, the generated Cr signal is selected and output, and when the selection signal indicates the second logic value, the first signal generation circuit A process of selecting and outputting the Pr signal input from
A second signal generation circuit for performing
A third signal generation circuit that generates a composite signal from the first luminance signal, the U signal, and the V signal input from the first signal generation circuit;
An image processing system.
JP2001105193A 2001-04-03 2001-04-03 Image processing apparatus and image processing system Expired - Fee Related JP4774616B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001105193A JP4774616B2 (en) 2001-04-03 2001-04-03 Image processing apparatus and image processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001105193A JP4774616B2 (en) 2001-04-03 2001-04-03 Image processing apparatus and image processing system

Publications (2)

Publication Number Publication Date
JP2002305754A JP2002305754A (en) 2002-10-18
JP4774616B2 true JP4774616B2 (en) 2011-09-14

Family

ID=18957918

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001105193A Expired - Fee Related JP4774616B2 (en) 2001-04-03 2001-04-03 Image processing apparatus and image processing system

Country Status (1)

Country Link
JP (1) JP4774616B2 (en)

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07264636A (en) * 1994-03-16 1995-10-13 Sony Tektronix Corp Test signal generator for color television
JPH10214077A (en) * 1997-01-29 1998-08-11 Sony Corp Method for generating synthetic plotting data and synthetic plotting device
JPH11252582A (en) * 1998-02-27 1999-09-17 Matsushita Electric Ind Co Ltd Television receiver
JPH11262028A (en) * 1998-03-11 1999-09-24 Sony Corp Signal angle adjustment method and signal angle adjustment device thereof
JP2000069500A (en) * 1998-08-21 2000-03-03 Matsushita Electric Ind Co Ltd Automatic discriminant circuit for luminance equation of color television receiver
JP2001028761A (en) * 1999-07-13 2001-01-30 Rohm Co Ltd Pal system video signal generator

Also Published As

Publication number Publication date
JP2002305754A (en) 2002-10-18

Similar Documents

Publication Publication Date Title
JP3778517B2 (en) Method and apparatus for color space conversion using blend logic
JP2007293431A (en) Image processor
JP2001169303A (en) Image display device
JP2008107507A (en) Video data converter and video display apparatus
KR100331839B1 (en) apparatus and method for decoding using television video signal
JPH05207277A (en) Digital color matrix circuit
JP4774616B2 (en) Image processing apparatus and image processing system
KR100877497B1 (en) Image synthesizer and image synthesizing method for the same
EP1363267A2 (en) Image processing device
JPH09101771A (en) Picture processor
JP4826022B2 (en) Image processing circuit and image processing system
US6892214B2 (en) Digital filter and method for producing an output by multiplying an input data unit only once by a coefficient
JP2007139838A (en) Apparatus and method for processing image
US5831687A (en) Color video signal processing method and apparatus for converting digital color difference component signals into digital RGB component signals by a digital conversion
JP3721895B2 (en) Image conversion method
JP3576612B2 (en) Color conversion processor
JP3288108B2 (en) Digital camera
JP2763336B2 (en) Color information signal processing device
JPH01238937A (en) Color image processor
JPH07288707A (en) Color conversion processor
JP2766110B2 (en) Menu display method for full color display
JP2006019836A (en) Color gradation image generator, image display device using the same, color gradation image generating method, and program
JP2001275004A (en) Color converting processor and recording medium
JPS6173492A (en) Signal conversion circuit
JP2005020137A (en) Video signal processing apparatus

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20080125

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20101209

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20101221

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110217

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110308

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110428

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20110531

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20110613

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140708

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees