JPH03154980A - Chrominance signal covnerting circuit - Google Patents
Chrominance signal covnerting circuitInfo
- Publication number
- JPH03154980A JPH03154980A JP29248989A JP29248989A JPH03154980A JP H03154980 A JPH03154980 A JP H03154980A JP 29248989 A JP29248989 A JP 29248989A JP 29248989 A JP29248989 A JP 29248989A JP H03154980 A JPH03154980 A JP H03154980A
- Authority
- JP
- Japan
- Prior art keywords
- signal
- data
- signals
- component
- rom
- 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.)
- Granted
Links
- 238000006243 chemical reaction Methods 0.000 claims abstract description 32
- 230000001186 cumulative effect Effects 0.000 claims abstract description 14
- 230000002457 bidirectional effect Effects 0.000 description 18
- 101100524645 Toxoplasma gondii ROM5 gene Proteins 0.000 description 3
- 239000003086 colorant Substances 0.000 description 3
- 238000010586 diagram Methods 0.000 description 2
- 230000006835 compression Effects 0.000 description 1
- 238000007906 compression Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
Landscapes
- Image Processing (AREA)
- Processing Of Color Television Signals (AREA)
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明は画像処理装置の色信号変換回路に係わり、特に
画像圧縮前あるいは画像伸張後の色信号変換回路に関す
る。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a color signal conversion circuit for an image processing device, and particularly to a color signal conversion circuit before image compression or after image expansion.
従来、この種の色信号変換回路は、人力した三原色(R
,G、B)信号の各成分にそれぞれ一定の変換係数を掛
けて加算することにより輝度(Y)・色差(C,、C,
)信号に変換して出力し、あるいは人力した輝度(Y)
・色差(C,、C。Conventionally, this type of color signal conversion circuit has been constructed using human-powered three primary colors (R
, G, B) signal is multiplied by a fixed conversion coefficient and added to calculate luminance (Y) and color difference (C, , C,
) Luminance (Y) converted into a signal and output, or manually generated
・Color difference (C,,C.
)信号の各成分に一定の変換係数を掛けて加算すること
により三原色(R,G、B)信号に変換して出力する装
置として提案されている。) has been proposed as a device that multiplies each component of a signal by a fixed conversion coefficient and adds the signals to convert them into three primary color (R, G, B) signals and output the signals.
上述した装置において、三原色(R,G、B)信号から
輝度(Y) ・色差(C,、Cr)信号に変換する場
合、三原色信号の各成分(R,G。In the above-described apparatus, when converting three primary color (R, G, B) signals into luminance (Y) and color difference (C, Cr) signals, each component (R, G, Cr) of the three primary color signals is converted.
B)に対して次の(1)式のようにしている。For B), the following equation (1) is used.
ここで、Yは輝度信号、C,、C,は色差信号であり、
また、R,G、Bは入力三原色信号の各成分であり、さ
らに、Ry 、 GY 、 BY 、 Rcb。Here, Y is a luminance signal, C,, C, is a color difference signal,
Further, R, G, and B are each component of the input three primary color signals, and further, Ry, GY, BY, and Rcb.
G cb+ ”Lb+ Rr=、 G’rb+ Br
bは各成分に対応した変換係数である。G cb+ "Lb+ Rr=, G'rb+ Br
b is a conversion coefficient corresponding to each component.
また、上述した装置において、輝度(Y) ・色差(
Cb 、 C,”)信号から三原色(R,G、B)信号
に変換する場合、輝度(Y) ・色差(cbCr)信
号に対して次の(2)式のようにしている。In addition, in the above-mentioned device, luminance (Y), color difference (
When converting a Cb, C,'') signal into a three primary color (R, G, B) signal, the following equation (2) is used for the luminance (Y) and color difference (cbCr) signals.
・・・・・・ (2)
ここで、Y、l、 Yc 、 YB 、 Cci、
CcG、 CcB。...... (2) Here, Y, l, Yc, YB, Cci,
CcG, CcB.
Crl+ CrG、 CrBは各成分に対応した変換係
数である。Crl+CrG and CrB are conversion coefficients corresponding to each component.
(1)式、(2)式から理解できるように、この装置で
は、(1)式あるいは(2)式を、人力された信号と各
成分の変換係数とを乗算し、かつその演算結果を記憶す
る手段3個で演算し、ついでこの手段からの出力を2段
の加算器で加算することにより実現している。そして、
この装置により三原色信号から輝度・色差信号へ、ある
いは輝度・色差信号から三原色信号に変換して出力して
いる。As can be understood from equations (1) and (2), this device multiplies equations (1) or (2) by the human input signal and the conversion coefficient of each component, and then calculates the result of the calculation. This is realized by calculating with three storage means and then adding the outputs from these means with a two-stage adder. and,
This device converts the three primary color signals into luminance and color difference signals, or converts the brightness and color difference signals into three primary color signals and outputs them.
上述した従来の色信号変換回路によれば、三原色信号か
ら輝度・色差信号へ、あるいは輝度・色差信号から三原
色信号に変換するためには、乗算をしてその結果を記憶
する手段が3個必要であり、しかも加算器が2段必要で
あり、回路全体の規模を縮小するにあたって非常に不利
であった。According to the conventional color signal conversion circuit described above, in order to convert the three primary color signals to luminance/chrominance signals or from the luminance/chrominance signals to the three primary color signals, three means for performing multiplication and storing the results are required. Moreover, two stages of adders are required, which is very disadvantageous in reducing the scale of the entire circuit.
本発明は、上述した従来技術の不都合な点を解消し、回
路規模を小さくした色信号変換回路を提供することを目
的とする。SUMMARY OF THE INVENTION An object of the present invention is to provide a color signal conversion circuit that eliminates the disadvantages of the prior art described above and has a reduced circuit scale.
本発明の色信号変換回路は、入力する三原色信号の各成
分にそれぞれ一定の変換係数を掛けて加算することによ
り輝度・色差信号に変換して出力し、あるいは人力する
輝度・色差信号の各成分に一定の変換係数を掛けて加算
することにより三原色信号に変換して出力する色信号変
換回路において、人力信号の各成分についての変換係数
を有しており、この各成分の入力信号に各成分の変換係
数を乗算し、この乗算の結果を一時保持しておく第1の
手段と、この第1の手段からのデータを所定回数累積加
算する累積加算手段と、この累積加算手段からの出力結
果が所定の上限値、下限値を超えた際にリミッタをかけ
て変換完了信号として出力する第2の手段とを備えたこ
とを特徴とするものである。The color signal conversion circuit of the present invention multiplies each component of the input three primary color signals by a fixed conversion coefficient and adds them to convert them into luminance/color difference signals and outputs them, or each component of the luminance/color difference signals is manually input. The color signal conversion circuit that multiplies and adds a certain conversion coefficient to convert into three primary color signals and outputs the signal has a conversion coefficient for each component of the human input signal, and the input signal of each component has a conversion coefficient for each component. a first means for multiplying by a conversion coefficient and temporarily holding the result of this multiplication; a cumulative addition means for cumulatively adding the data from the first means a predetermined number of times; and an output result from the cumulative addition means. The present invention is characterized by comprising second means for applying a limiter and outputting a conversion completion signal when the value exceeds a predetermined upper limit value or lower limit value.
本発明は、第1の手段と、その累積加算手段と、第2の
手段とからなり、各信号の変換をシリアルで実行するよ
うにしたので、回路規模が全体として小さくできる。The present invention consists of a first means, an accumulative addition means thereof, and a second means, and the conversion of each signal is executed serially, so that the overall circuit scale can be reduced.
次に、本発明の一実施例について説明する。 Next, one embodiment of the present invention will be described.
第1図は本発明の一実施例を示すブロック図である。FIG. 1 is a block diagram showing one embodiment of the present invention.
第1図において、色信号変換回路は、三原色(R,G、
B)信号用双方向パスレジスタ1〜4と、第1の手段と
してのROM5と、累積加算器6と、第2の手段として
のROM7と、制御部8と、輝度(Y) ・色差(C
,、Cl用双方向パスレジスタ9〜11と、クロック発
生部12とを備えている。双方向パスレジスタ1〜4と
、双方向パスレジスタ9〜11とは、8ビツトの信号を
伝送できるパスライン13で接続されている。RO,M
5の入力はパスライン13に接続されており、パスライ
ン13からのデータがROM5に入力されるようになっ
ている。ROM5012ビツトの出力は、累積加算器6
に人力されている。累積加算器6の10ビツトの出力は
、ROM7に人力されている。ROM7からの8ビツト
の出力はパスライン13に出力されるようになっている
。また、制御部8からの制御信号出力C1は、双方向パ
スレジスタ1〜4、ROM5、および双方向パスレジス
タ9〜11の入力端子C1に接続されている。In FIG. 1, the color signal conversion circuit includes three primary colors (R, G,
B) Bidirectional signal path registers 1 to 4, ROM 5 as a first means, cumulative adder 6, ROM 7 as a second means, control section 8, luminance (Y), color difference (C)
, , Cl bidirectional path registers 9 to 11, and a clock generator 12. Bidirectional path registers 1-4 and bidirectional path registers 9-11 are connected by a path line 13 capable of transmitting 8-bit signals. R.O.M.
The input of 5 is connected to the pass line 13, and data from the pass line 13 is input to the ROM 5. The output of 5012 bits of ROM is sent to cumulative adder 6.
is man-powered. The 10-bit output of the cumulative adder 6 is stored in the ROM 7. The 8-bit output from the ROM 7 is output to the pass line 13. Further, the control signal output C1 from the control section 8 is connected to the input terminals C1 of the bidirectional path registers 1 to 4, the ROM 5, and the bidirectional path registers 9 to 11.
制御部8の制御信号出力C2、C3、C4、Csは、双
方向パスレジスタ1.2,3.4の入力端子C2、C3
、Ca 、Cs にそれぞれ接続されている。制御部8
の制御信号出力06〜C9は、ROM5に接続されてい
る。制御部80制御出力COは、累積加算器6の入力端
子CIOに接続されている。制御部8の制御信号出力C
+ + 、 CI 2 、 CI 3は、双方向パス
レジスタ9,10.11の各入力端子C+ + + C
l 2 、 C+ 3に各々接続されている。クロッ
ク発生部12の出力s、 、 s2. Sj は、
各構成要素の入力端子S+ 、 S2 、 S3
に接続されている。Control signal outputs C2, C3, C4, Cs of the control unit 8 are input terminals C2, C3 of the bidirectional path registers 1.2, 3.4.
, Ca, and Cs, respectively. Control unit 8
Control signal outputs 06 to C9 are connected to the ROM5. The control output CO of the control section 80 is connected to the input terminal CIO of the cumulative adder 6. Control signal output C of control unit 8
+ + , CI 2 , CI 3 are respective input terminals C + + C of bidirectional path registers 9, 10.11.
l 2 and C+ 3, respectively. Outputs s, , s2 . of the clock generator 12 . Sj is
Input terminals of each component S+, S2, S3
It is connected to the.
次に、このように構成した実施例の作用を説明する。Next, the operation of the embodiment configured as described above will be explained.
第2図および第3図は本発明の実施例の動作を説明する
ために示すタイミング図であり、横軸に時間が、縦軸に
各部の信号状態がそれぞれ示されている。また、第2図
が三原色信号から輝度・色差信号に変換する動作を、第
3図が輝度・色差信号から三原色信号に変換する動作を
、それぞれ示したものである。FIGS. 2 and 3 are timing charts shown to explain the operation of the embodiment of the present invention, in which the horizontal axis shows time and the vertical axis shows the signal state of each part, respectively. Further, FIG. 2 shows the operation of converting the three primary color signals into luminance/color difference signals, and FIG. 3 shows the operation of converting the luminance/color difference signals into the three primary color signals.
まず、三原色(RGB)信号を輝度・色差(YCb 、
Cr)信号に変換する動作について第1図および第2
図を参照して説明する。First, the three primary color (RGB) signals are converted into luminance/color difference (YCb,
Cr) Regarding the operation of converting to a signal, Figures 1 and 2
This will be explained with reference to the figures.
8ビツトのRGB信号は、双方向パスレジスタ1〜4の
うちの1つに入力される。この入力されたRGB信号は
、例えば双方向パスレジスタ1に保持されて、第2図(
a)に示すにように、RlG、Hの順番でパスライン1
3に出力される。この信号は、ROM5に入力される。The 8-bit RGB signal is input to one of bidirectional pass registers 1-4. This input RGB signal is held in the bidirectional path register 1, for example, and is shown in FIG.
As shown in a), pass line 1 in the order of RlG and H.
3 is output. This signal is input to ROM5.
ROM5では、制御信号06〜C9により、データ(a
)と、各成分の変換係数とを乗算し、その乗算結果をデ
ータ(b)として出力する。データ(b)が入力された
累積加算器6は、第2図のデータ(C)に示すように、
RSG、Bの順番にデータ(b)を累積加算し、データ
(C)を出力する。データ(C)が入力されたROM7
は、データ(C)が−定の上限値、下限値を超える値に
対してリミッタをかけ、y、 Cb 、 c、信号の値
を出力する。この出力は、データ(d)としてパスライ
ン13に出力されて制御部8からの制御信号のタイミン
グで双方向パスレジスタ9〜11に保持されることにな
る。そして、双方向パスレジスタ9〜11から外部に出
力される。In the ROM5, data (a
) by the conversion coefficient of each component, and output the multiplication result as data (b). The cumulative adder 6 to which the data (b) is input, as shown in data (C) in FIG.
Data (b) is cumulatively added in the order of RSG and B, and data (C) is output. ROM7 into which data (C) is input
applies a limiter to the value in which the data (C) exceeds the upper and lower limits of -, and outputs the values of y, Cb, c, and signals. This output is output to the path line 13 as data (d) and held in the bidirectional path registers 9 to 11 at the timing of the control signal from the control section 8. The signals are then output from the bidirectional path registers 9 to 11 to the outside.
(Y、cb 、Cr−R,G、Bへの変換動作)次に、
輝度・色差(Y、 cb 、 C,”)信号を三原色(
RGB)信号に変換する動作について第1図および第3
図を参照して説明する。(Conversion operation to Y, cb, Cr-R, G, B) Next,
Luminance/color difference (Y, cb, C,”) signals are converted into three primary colors (
Figures 1 and 3 regarding the operation of converting to RGB) signals.
This will be explained with reference to the figures.
Y、C,、C,信号は、双方向パスレジスタ9〜11に
保持される。この双方向パスレジスタ9〜11からy、
Cb 、c、信号は、それぞれ第3図のデータ (a)
に示すように、Y、 C,、Crの順番で出力される
。データ(a)が入力されたROM5は、第3図に示す
制御信号C6〜C9によってデータ(a)と、各成分の
変換係数とを乗算し、その乗算結果をデータ(b)とし
て出力する。データ(b)は、累積加算器6において、
データ(C)に示すようにy、 Cb 、 cr の順
番でデータ(b)を累積加算し、データ(C)を出力す
る。このデータ(C)は、ROM7において一定の上限
値、下限値を超える値に対してリミッタをかけ、RGB
信号としてデータ(d)として出力する。このRGB信
号は、パスライン13を介して例えば双方向パスレジス
タ1に制御部8からの制御信号02〜C5によって選択
されて保持される。これにより、例えば双方向パスレジ
スタ1からRGB信号として出力される。The Y, C, ,C, signals are held in bidirectional path registers 9-11. From these bidirectional path registers 9 to 11, y,
Cb, c, and signals are the data in Figure 3 (a), respectively.
As shown in the figure, the signals are output in the order of Y, C, and Cr. The ROM 5 to which the data (a) has been input multiplies the data (a) by the conversion coefficient of each component using the control signals C6 to C9 shown in FIG. 3, and outputs the multiplication result as data (b). Data (b) is stored in the cumulative adder 6 as
As shown in data (C), data (b) is cumulatively added in the order of y, Cb, cr, and data (C) is output. This data (C) is subjected to a limiter in ROM7 for values exceeding a certain upper limit value and lower limit value, and RGB
It is output as data (d) as a signal. The RGB signals are selected and held in, for example, the bidirectional pass register 1 via the pass line 13 by control signals 02 to C5 from the control unit 8. As a result, the signals are output from the bidirectional path register 1 as RGB signals, for example.
このように本実施例は、上述のように動作してRGB信
号からy、 Cb 、 c、信号へ、あるいはy、Cb
、c、信号からRGB信号への変換をすることとなる
。In this way, this embodiment operates as described above to convert RGB signals to y, Cb, c signals, or y, Cb signals.
, c, signals are converted into RGB signals.
以上説明したように本実施例は、ROM5と累積加算器
6を用いて人力した信号をシリアルに変換処理すること
を可能にしたので、ROM5を従来の1/3にすること
ができ、回路規模が著しく小さくできることになる。As explained above, in this embodiment, it is possible to serially convert signals manually generated using the ROM 5 and the cumulative adder 6. Therefore, the ROM 5 can be reduced to 1/3 of the conventional one, and the circuit size can be reduced to 1/3. can be made significantly smaller.
以上説明したように本発明は、第1の手段と累積加算器
を用いることにより入力した信号をシリアルで変換処理
できるようにしたので、回路全体の規模を著しく小さく
することができるという効0
果がある。As explained above, the present invention enables serial conversion processing of input signals by using the first means and an accumulative adder, and therefore has the advantage that the scale of the entire circuit can be significantly reduced. There is.
第1図は本発明の実施例を示すブロック図、第2図およ
び第3図は同実施例の作用を説明するためのタイミング
図である。
1〜4・・・・・・双方向パスレジスタ、5・・・・・
・ROM (第1の手段)、6・・・・・・累積加算器
、
7・・・・・・ROM (第2の手段)、8・・・・・
・制御部、9〜11・・・・・・双方向パスレジスタ、
I2・・・・・・クロック発生部。FIG. 1 is a block diagram showing an embodiment of the present invention, and FIGS. 2 and 3 are timing charts for explaining the operation of the embodiment. 1 to 4... Bidirectional path register, 5...
・ROM (first means), 6...cumulative adder, 7...ROM (second means), 8...
・Control unit, 9 to 11... Bidirectional path register,
I2...Clock generation section.
Claims (1)
を掛けて加算することにより輝度・色差信号に変換して
出力し、あるいは入力する輝度・色差信号の各成分に一
定の変換係数を掛けて加算することにより三原色信号に
変換して出力する色信号変換回路において、入力信号の
各成分についての変換係数を有しており、この各成分の
入力信号に各成分の前記変換係数を乗算し、この乗算の
結果を一時保持しておく第1の手段と、この第1の手段
からのデータを所定回数累積加算する累積加算手段と、
この累積加算手段からの出力結果が所定の上限値、下限
値を超えた際にリミッタをかけて変換完了信号として出
力する第2の手段とを備えたことを特徴とする色信号変
換回路。Each component of the input three primary color signals is multiplied by a fixed conversion coefficient and added to convert it into a luminance/chrominance signal and output, or each component of the input luminance/chrominance signal is multiplied by a fixed conversion coefficient and added. The color signal conversion circuit that converts the signal into three primary color signals and outputs the signal has a conversion coefficient for each component of the input signal, and multiplies the input signal of each component by the conversion coefficient of each component, a first means for temporarily holding the result of the multiplication; a cumulative addition means for cumulatively adding the data from the first means a predetermined number of times;
and second means for applying a limiter and outputting a conversion completion signal when the output result from the cumulative addition means exceeds a predetermined upper limit value or lower limit value.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP1292489A JP2626093B2 (en) | 1989-11-13 | 1989-11-13 | Color signal conversion circuit |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP1292489A JP2626093B2 (en) | 1989-11-13 | 1989-11-13 | Color signal conversion circuit |
Publications (2)
Publication Number | Publication Date |
---|---|
JPH03154980A true JPH03154980A (en) | 1991-07-02 |
JP2626093B2 JP2626093B2 (en) | 1997-07-02 |
Family
ID=17782484
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP1292489A Expired - Lifetime JP2626093B2 (en) | 1989-11-13 | 1989-11-13 | Color signal conversion circuit |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2626093B2 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0564223A (en) * | 1991-08-30 | 1993-03-12 | Fuji Photo Film Co Ltd | Picture data conversion device |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS58178355A (en) * | 1982-04-14 | 1983-10-19 | Fuji Photo Film Co Ltd | Method and device for digital color correction |
JPH0194793A (en) * | 1987-10-07 | 1989-04-13 | Nec Corp | Time-division processing filter circuit |
-
1989
- 1989-11-13 JP JP1292489A patent/JP2626093B2/en not_active Expired - Lifetime
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS58178355A (en) * | 1982-04-14 | 1983-10-19 | Fuji Photo Film Co Ltd | Method and device for digital color correction |
JPH0194793A (en) * | 1987-10-07 | 1989-04-13 | Nec Corp | Time-division processing filter circuit |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0564223A (en) * | 1991-08-30 | 1993-03-12 | Fuji Photo Film Co Ltd | Picture data conversion device |
Also Published As
Publication number | Publication date |
---|---|
JP2626093B2 (en) | 1997-07-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JPS59111492A (en) | Digital signal processing circuit | |
JPH03154980A (en) | Chrominance signal covnerting circuit | |
JP2938115B2 (en) | Color signal conversion circuit | |
JPS60263153A (en) | Simulation device for printing color | |
JP3387509B2 (en) | Image processing method and image processing apparatus | |
JPH0651734A (en) | Method and apparatus for adjusting luminance of chrominance signal | |
JPS60143023A (en) | Digital signal processing device | |
JP2003198860A (en) | Color conversion method, color conversion apparatus, color conversion matrix generation method, and color conversion matrix generation program | |
JPS58137381A (en) | Digital color encoder | |
KR0114433Y1 (en) | Video signal converting circuit | |
JP3952804B2 (en) | Data processing method and data processing apparatus | |
JPS60240282A (en) | Video signal synthesizer | |
JPH07288707A (en) | Color conversion processor | |
JPH02140064A (en) | Color signal processor | |
JPS62283776A (en) | Color picture input/output device | |
JP4425484B2 (en) | Video signal processing device | |
JPS63207292A (en) | Chrominance signal converter | |
JPS5820094A (en) | Video processing circuit | |
JP2592796B2 (en) | Color image processing equipment | |
JPH0378094A (en) | Picture gradient converting device | |
JPS5928788A (en) | Encoder of chrominance signal | |
JPH066822A (en) | Color conversion device | |
JPS63147643A (en) | Color image processing apparatus | |
JPH05128223A (en) | Color converter | |
JPS61224673A (en) | Picture signal synthesis circuit |