JP4774616B2 - Image processing apparatus and image processing system - Google Patents
Image processing apparatus and image processing system Download PDFInfo
- 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
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)
Cr=0.713(R−Y) …(5)
Cb=0.564(B−Y) …(6)
【0008】
【数3】
〔RGB→YPbPr〕
Y=0.2126R+0.7152G+0.0722B …(7)
Pr=0.635(R−Y) …(8)
Pb=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信号との差分に所定の係数を乗算して色差信号であるPb信号を生成する処理と、前記選択信号が前記第1の論理値を示す場合に、前記生成した第1の輝度信号と前記R信号との差分に所定の係数を乗算して色差信号であるV信号を生成する処理と、前記選択信号が前記第2の論理値を示す場合に、前記生成した第2の輝度信号と前記R信号との差分に所定の係数を乗算して色差信号であるPr信号を生成する処理と、を行う第1の信号生成回路と、前記第1の信号生成回路から入力された前記U信号に第1の係数を乗算して色差信号であるCb信号を生成する処理と、前記選択信号が前記第1の論理値を示す場合に、前記生成したCb信号を選択して出力し、当該選択信号が前記第2の論理値を示す場合に、前記第1の信号生成回路から入力された前記Pr信号を選択して出力する処理と、前記第1の信号生成回路から入力された前記V信号に第2の係数を乗算して色差信号であるCr信号を生成する処理と、前記選択信号が前記第1の論理値を示す場合に、前記生成したCr信号を選択して出力し、当該選択信号が前記第2の論理値を示す場合に、前記第1の信号生成回路から入力された前記Pr信号を選択して出力する処理と、を行う第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信号との差分に所定の係数を乗算して色差信号であるPb信号を生成する処理と、前記選択信号が前記第1の論理値を示す場合に、前記生成した第1の輝度信号と前記R信号との差分に所定の係数を乗算して色差信号であるV信号を生成する処理と、前記選択信号が前記第2の論理値を示す場合に、前記生成した第2の輝度信号と前記R信号との差分に所定の係数を乗算して色差信号であるPr信号を生成する処理と、を行う第1の信号生成回路と、前記第1の信号生成回路から入力された前記U信号に第1の係数を乗算して色差信号であるCb信号を生成する処理と、前記選択信号が前記第1の論理値を示す場合に、前記生成したCb信号を選択して出力し、当該選択信号が前記第2の論理値を示す場合に、前記第1の信号生成回路から入力された前記Pb信号を選択して出力する処理と、前記第1の信号生成回路から入力された前記V信号に第2の係数を乗算して色差信号であるCr信号を生成する処理と、前記選択信号が前記第1の論理値を示す場合に、前記生成したCr信号を選択して出力し、当該選択信号が前記第2の論理値を示す場合に、前記第1の信号生成回路から入力された前記Pr信号を選択して出力する処理と、を行う第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)
Cr=0.713(R−Y) …(5)
Cb=0.564(B−Y) …(6)
【0031】
【数6】
〔RGB→YPbPr〕
Y=0.2126R+0.7152G+0.0722B …(7)
Pr=0.635(R−Y) …(8)
Pb=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およびAPbを入力し、CPU10が生成した選択信号SELが第1の論理値を示す場合に係数AUを係数S81として乗算回路82に出力し、選択信号SELが第2の論理値を示す場合に係数APbを係数S81として乗算回路82に出力する。
乗算回路82は、減算回路80から入力した(B−Y)信号と、選択回路81から入力した係数S81とを乗算し、乗算結果を図2に示す信号生成回路31および信号生成回路32に出力する。
ここで、選択信号SELが第1の論理値を示す場合に乗算回路82の乗算結果はU信号となり、選択信号SELが第2の論理値を示す場合に乗算回路82の乗算結果はPb信号となる。
【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およびAPrを入力し、CPU10が生成した選択信号SELが第1の論理値を示す場合に係数AVを係数S91として乗算回路92に出力し、選択信号SELが第2の論理値を示す場合に係数APrを係数S91として乗算回路92に出力する。
乗算回路92は、減算回路90から入力した(R−Y)信号と、選択回路91から入力した係数S91とを乗算し、乗算結果を図2に示す信号生成回路31および信号生成回路32に出力する。
ここで、選択信号SELが第1の論理値を示す場合に乗算回路92の乗算結果はV信号となり、選択信号SELが第2の論理値を示す場合に乗算回路92の乗算結果はPr信号となる。
【0042】
図6は、図2に示す信号生成回路31の構成図である。
図6に示すように、信号生成回路31は、乗算回路300、選択回路301、乗算回路302および選択回路303を有する。
乗算回路300は、図2に示す信号生成回路30から入力したU信号またはPb信号に、係数(ACb/AU)を乗算し、その乗算結果を選択回路301に出力する。ここで、係数AUは、前述した式(2)の(B−Y)の係数0.493であり、係数ACbは前述した式(6)の(B−Y)の係数0.564である。
乗算回路300は、前述した選択信号SELが第1の論理値を示す場合に信号生成回路30からU信号を入力し、選択信号SELが第2の論理値を示す場合に信号生成回路30からPb信号を入力する。
このとき、選択信号SELが第1の論理値を示す場合に、乗算回路300の乗算結果がCb信号になる。
選択回路301は、選択信号SELが第1の論理値を示す場合に、乗算回路300から入力したCb信号を選択して出力する。
選択回路301は、選択信号SELが第2の論理値を示す場合に、信号生成回路30から入力したPb信号を選択して出力する。
【0043】
乗算回路302は、図2に示す信号生成回路30から入力したV信号またはPr信号に、係数(ACr/AV)を乗算し、その乗算結果を選択回路303に出力する。ここで、係数AVは、前述した式(3)の(R−Y)の係数0.877であり、係数ACrは前述した式(5)の(R−Y)の係数0.713である。
乗算回路302は、前述した選択信号SELが第1の論理値を示す場合に信号生成回路30からV信号を入力し、選択信号SELが第2の論理値を示す場合に信号生成回路30からPr信号を入力する。
このとき、選択信号SELが第1の論理値を示す場合に、乗算回路300の乗算結果がCr信号になる。
選択回路303は、選択信号SELが第1の論理値を示す場合に、乗算回路302から入力したCr信号を選択して出力する。
選択回路303は、選択信号SELが第2の論理値を示す場合に、信号生成回路30から入力したPr信号を選択して出力する。
【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において、係数ACb/AUとU信号とが乗算されてCb信号が生成され、選択回路301に出力される。
そして、選択回路301において、選択信号SELに基づいて、Cb信号が選択および出力される。
【0053】
乗算回路302において、係数ACr/AVとV信号と乗算されてCr信号が生成され、選択回路303に出力される。
そして、選択回路303において、選択信号SELに基づいて、Cr信号が選択および出力される。
【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に基づいて、係数APbが選択され、係数S81として乗算回路82に出力される。
減算回路80において、B信号からY信号が減算され、その減算結果(B−Y)が乗算回路82に出力される。
そして、乗算回路82において、減算結果(B−Y)と係数S81とが乗算され、その乗算結果であるPb信号が図2に示す信号生成回路31に出力される。
【0059】
また、上述した色差信号生成回路46の処理と並行して図5(B)に示す色差信号生成回路47において以下の処理が行われる。
選択回路91において、選択信号SELに基づいて、係数APrが選択され、係数S91として乗算回路92に出力される。
減算回路90において、R信号からY信号が減算され、その減算結果(R−Y)が乗算回路92に出力される。
そして、乗算回路92において、減算結果(R−Y)と係数S91とが乗算され、その乗算結果であるPr信号が図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に示す色差信号生成回路(Pb,U生成)の構成図、図5(B)は図3に示す色差信号生成回路(Pr,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
As shown in FIG. 7, an
A DVD drive 113 is connected to the I / F circuit 112.
In addition, a
[0004]
In the
The
[0005]
The
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
As shown in FIG. 8, the
The
The
The
[0010]
[Problems to be solved by the invention]
However, in the conventional
[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
As shown in FIG. 1, an
A DVD drive 13 is connected to the I / F circuit 12.
The
The
Here, the
The
[0023]
The
When the
In addition, when the Y, Pr, and Pb signals are generated in the
[0024]
The ROM / RAM 11 stores programs and data used for processing of the
[0025]
The I / F circuit 12 inputs and outputs data and signals such as pixel signals between the
[0026]
The DVD drive 13 performs DVD playback and recording.
[0027]
The
[0028]
The
Specifically, the
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
As shown in FIG. 2, the
Here, the
Hereinafter, each signal generation circuit will be described in detail.
FIG. 3 is a configuration diagram of the
As illustrated in FIG. 3, the
[0033]
FIG. 4 is a configuration diagram of the Y
As shown in FIG. 4, the Y
The
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
[0035]
The
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
[0037]
The
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
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
[0040]
FIG. 5A is a configuration diagram of the color difference
As shown in FIG. 5A, the color difference
The subtraction circuit 80 subtracts the Y signal input from the Y
The
The
Here, when the selection signal SEL indicates the first logical value, the multiplication result of the
[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
The
The
The
Here, when the selection signal SEL indicates the first logic value, the multiplication result of the
[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
The
The
At this time, when the selection signal SEL indicates the first logical value, the multiplication result of the
The
The
[0043]
The
The
At this time, when the selection signal SEL indicates the first logical value, the multiplication result of the
The
The
[0044]
The signal generation circuit 32 multiplexes the Y signal, U signal, and V signal input from the
[0045]
Further, the coefficient setting circuit 33 shown in FIG. 2 stores various coefficients used for the processing of the
[0046]
Hereinafter, an operation example of the
[First operation example]
Hereinafter, in the
[0047]
The R, G, B signals generated by the
The R, G, and B signals are input to the Y
Then, in the Y
Then, the multiplication circuit 41 multiplies the R signal and the
In addition, the
In addition, the multiplication circuit 61 multiplies the B signal and the
[0048]
Then, in
In addition circuit 71, addition result S70 and multiplication result S61 are added, and the addition result is
[0049]
Then, the following processing is performed in the color difference
In the
In the subtraction circuit 80, the Y signal is subtracted from the B signal, and the subtraction result (B−Y) is output to the
Then, the
[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
In the
In the
Then, the
[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
Then, in the
[0053]
In the
Then, in the
[0054]
As described above, when the selection signal SEL indicating the first logical value is generated in the
[0055]
[Second operation example]
Hereinafter, in the
[0056]
The R, G, B signals generated by the
The R, G, and B signals are input to the Y
Then, in the Y
Then, the multiplication circuit 41 multiplies the R signal and the
In addition, the
In addition, the multiplication circuit 61 multiplies the B signal and the
[0057]
Then, in
In addition circuit 71, addition result S70 and multiplication result S61 are added, and the addition result is
[0058]
Then, the following processing is performed in the color difference
In the
In the subtraction circuit 80, the Y signal is subtracted from the B signal, and the subtraction result (B−Y) is output to the
Then, the
[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
In the
In the
Then, the
[0060]
Then, the
[0061]
As described above, when the
[0062]
Hereinafter, the overall operation of the
When the
Then, R, G, and B signals are generated at least one of the
Then, as described above, the
In the
[0063]
On the other hand, when the Y, Pr, and Pb signals are generated in the
Then, R, G, and B signals are generated at least one of the
Then, as described above, the
In the
[0064]
As described above, according to the
[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
Claims (7)
前記選択信号が前記第1の論理値を示す場合に、前記生成した第1の輝度信号と前記R,G,Bの画素信号のうちのB信号との差分に所定の係数を乗算して色差信号であるU信号を生成する処理と、
前記選択信号が前記第2の論理値を示す場合に、前記生成した第2の輝度信号と前記B信号との差分に所定の係数を乗算して色差信号であるPb信号を生成する処理と、
前記選択信号が前記第1の論理値を示す場合に、前記生成した第1の輝度信号と前記R信号との差分に所定の係数を乗算して色差信号であるV信号を生成する処理と、
前記選択信号が前記第2の論理値を示す場合に、前記生成した第2の輝度信号と前記R信号との差分に所定の係数を乗算して色差信号であるPr信号を生成する処理と、
を行う第1の信号生成回路と、
前記第1の信号生成回路から入力された前記U信号に第1の係数を乗算して色差信号であるCb信号を生成する処理と、
前記選択信号が前記第1の論理値を示す場合に、前記生成したCb信号を選択して出力し、当該選択信号が前記第2の論理値を示す場合に、前記第1の信号生成回路から入力された前記Pr信号を選択して出力する処理と、
前記第1の信号生成回路から入力された前記V信号に第2の係数を乗算して色差信号であるCr信号を生成する処理と、
前記選択信号が前記第1の論理値を示す場合に、前記生成したCr信号を選択して出力し、当該選択信号が前記第2の論理値を示す場合に、前記第1の信号生成回路から入力された前記Pr信号を選択して出力する処理と、
を行う第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.
前記選択信号に基づいて、複数の異なる係数を選択し、R,G,Bの画素信号の各々に当該選択した対応する係数を乗算し、各々の乗算結果を加算して前記第1の輝度信号あるいは第2の輝度信号を生成する輝度信号生成回路と、
前記選択信号に基づいて、複数の異なる係数を選択し、前記生成した第1の輝度信号と前記B信号との差分に当該選択した対応する係数を乗算し、各々の乗算結果を加算して前記U信号あるいはPb信号を生成する第1の色差信号生成回路と、
前記選択信号に基づいて、複数の異なる係数を選択し、前記生成した第2の輝度信号と前記B信号との差分に当該選択した係数を乗算し、各々の乗算結果を加算して前記V信号あるいはPr信号を生成する第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:
前記B信号から、前記輝度信号生成回路から入力された前記第1の輝度信号あるいは第2の輝度信号を減算する第1の減算回路と、
前記選択信号が第1の論理値を示す場合に第9の係数を選択し、第2の論理値を示す場合に第10の係数を選択する第4の選択回路と、
前記第1の減算回路が減算した結果と、前記第4の選択回路が選択した前記第9の係数あるいは前記第10の係数とを乗算し、当該乗算結果を前記U信号あるいはPb信号として出力する第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.
前記R信号から、前記輝度信号生成回路から入力された前記第1の輝度信号あるいは第2の輝度信号を減算する第2の減算回路と、
前記選択信号が第1の論理値を示す場合に第11の係数を選択し、第2の論理値を示す場合に第12の係数を選択する第5の選択回路と、
前記第2の減算回路が減算した結果と、前記第5の選択回路が選択した前記第11の係数あるいは前記第12の係数とを乗算し、当該乗算結果を前記V信号あるいはPr信号として出力する第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:
前記第1の信号生成回路から入力された前記U信号と、前記第1の係数とを乗算する第6の乗算回路と、
前記選択信号が第1の論理値を示す場合に前記第6の乗算回路の乗算結果を選択して前記Cb信号として出力し、第2の論理値を示す場合に前記第1の信号生成回路から入力された前記Pb信号を選択して出力する第6の選択回路と、
前記第1の信号生成回路から入力された前記V信号と、前記第2の係数とを乗算する第7の乗算回路と、
前記選択信号が第1の論理値を示す場合に前記第7の乗算回路の乗算結果を選択して前記Cr信号として出力し、第2の論理値を示す場合に前記第1の信号生成回路から入力された前記Pr信号を選択して出力する第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信号との差分に所定の係数を乗算して色差信号であるPb信号を生成する処理と、
前記選択信号が前記第1の論理値を示す場合に、前記生成した第1の輝度信号と前記R信号との差分に所定の係数を乗算して色差信号であるV信号を生成する処理と、
前記選択信号が前記第2の論理値を示す場合に、前記生成した第2の輝度信号と前記R信号との差分に所定の係数を乗算して色差信号であるPr信号を生成する処理と、
を行う第1の信号生成回路と、
前記第1の信号生成回路から入力された前記U信号に第1の係数を乗算して色差信号であるCb信号を生成する処理と、
前記選択信号が前記第1の論理値を示す場合に、前記生成したCb信号を選択して出力し、当該選択信号が前記第2の論理値を示す場合に、前記第1の信号生成回路から入力された前記Pb信号を選択して出力する処理と、
前記第1の信号生成回路から入力された前記V信号に第2の係数を乗算して色差信号であるCr信号を生成する処理と、
前記選択信号が前記第1の論理値を示す場合に、前記生成したCr信号を選択して出力し、当該選択信号が前記第2の論理値を示す場合に、前記第1の信号生成回路から入力された前記Pr信号を選択して出力する処理と、
を行う第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.
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)
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 |
-
2001
- 2001-04-03 JP JP2001105193A patent/JP4774616B2/en not_active Expired - Fee Related
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 |