JPH07322298A - Coder - Google Patents

Coder

Info

Publication number
JPH07322298A
JPH07322298A JP14076294A JP14076294A JPH07322298A JP H07322298 A JPH07322298 A JP H07322298A JP 14076294 A JP14076294 A JP 14076294A JP 14076294 A JP14076294 A JP 14076294A JP H07322298 A JPH07322298 A JP H07322298A
Authority
JP
Japan
Prior art keywords
signal
color difference
block
compression
determination
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP14076294A
Other languages
Japanese (ja)
Inventor
Yuji Fujiwara
裕士 藤原
Shigeru Awamoto
繁 粟本
Shoichi Nishino
正一 西野
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP14076294A priority Critical patent/JPH07322298A/en
Publication of JPH07322298A publication Critical patent/JPH07322298A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)
  • Color Television Systems (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

PURPOSE:To improve the image quality as an entire pattern by decreasing a compression rate of a block whose image quality deterioration is remarkable visually so as to enhance the compression rate of a block whose image quality deterioration is not remarkable. CONSTITUTION:An input digital image signal including a signal Y and signals R-Y and B-Y respectively is block-processed. Then a signal Y discrimination device 307, an signal R discrimination device 308 and a signal B discrimination device 309 check respectively a level of a luminance signal and color difference signals as to the signal Y and signals R-Y and B-Y and Y discrimination information, discrimination information R and discrimination information B are given to a compression controller 310. The compression controller 310 provides an output of a compression control signal to a quantizer 304 based on the three sets of discrimination information. The quantizer 304 controls a compression rate of color difference signals of each block subject to orthogonal transformation adaptively corresponding to each hue and luminance.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、映像信号を記録および
伝送する際に、視覚的な画質劣化を軽減させて高能率符
号化を行う符号化装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a coding apparatus for reducing visual image quality deterioration and performing high efficiency coding when recording and transmitting a video signal.

【0002】[0002]

【従来の技術】一般に映像信号(画像信号)は情報量が
非常に大きいため、記録もしくは伝送を行うにあたっ
て、高能率符号化によって画質劣化が視覚的に目立たな
いように情報量を削減する方法が用いられている。この
方法として一般的に用いられているのが直交変換符号化
を用いた直交変換符号化装置である。
2. Description of the Related Art Generally, a video signal (image signal) has a very large amount of information. Therefore, when recording or transmitting, there is a method of reducing the amount of information so that the deterioration of the image quality is not noticeable by high efficiency coding. It is used. An orthogonal transform coding device using orthogonal transform coding is generally used as this method.

【0003】図7は従来の直交変換符号化装置の構成を
示すブロック図である。以下、その動作について図7、
図8を参照しながら説明する。図7において、デジタル
変換された画像信号は入力端子1から入力され、図示し
ない回路で1画面(1フレーム)の画像は複数のブロッ
クに分割される。そしてブロック化された画像信号は直
交変換器2に与えられる。直交変換器2では画像信号が
DCT等により直交変換され、符号化器3に入力され
る。
FIG. 7 is a block diagram showing the structure of a conventional orthogonal transform coding device. The operation will be described below with reference to FIG.
This will be described with reference to FIG. In FIG. 7, a digitally converted image signal is input from an input terminal 1, and a circuit (not shown) divides an image of one screen (one frame) into a plurality of blocks. The blocked image signal is provided to the orthogonal transformer 2. In the orthogonal transformer 2, the image signal is orthogonally transformed by DCT or the like and input to the encoder 3.

【0004】符号化器3は、並び換え回路5、量子化器
6、量子化選択回路7、及び符号化回路8から構成され
る。夫々の直交変換係数を有するブロックの信号が直交
変換器2から出力されると、この信号は並び換え回路5
に与えられ、直交変換係数の並び換えが2次元的に行わ
れる。そしてこの信号は量子化器6に入力され、直交変
換係数が予め決められたステップ幅で量子化される。こ
のとき量子化選択回路7は量子化器6の出力である量子
化後のデータ量を所望のデータ量に納めるために、最適
のステップ幅を持つ量子化係数を選択する。次に符号化
回路8は、量子化した符号に対し、発生頻度の高い符号
ほど短い符号語を割り当て、符号化データを出力端子4
から出力する。
The encoder 3 comprises a rearrangement circuit 5, a quantizer 6, a quantization selection circuit 7, and an encoding circuit 8. When the signals of the blocks having the respective orthogonal transform coefficients are output from the orthogonal transformer 2, the signals are rearranged by the rearrangement circuit 5
And the orthogonal transform coefficients are rearranged two-dimensionally. Then, this signal is input to the quantizer 6, and the orthogonal transform coefficient is quantized with a predetermined step width. At this time, the quantization selection circuit 7 selects a quantization coefficient having an optimum step width in order to fit the quantized data amount output from the quantizer 6 into a desired data amount. Next, the encoding circuit 8 assigns shorter code words to the quantized codes, the more frequently occurring codes, and outputs the encoded data to the output terminal 4
Output from.

【0005】図8は、直交変換係数及び並び換え回路5
の動作を示す説明図である。本図において(a)は直交
変換器2の出力Aを示し、(b)は並び換え回路5の出
力Bを示す図で、夫々1ブロック内の係数の並びを示し
ている。図8に示す係数並びは、直交変換器2の2次元
直交変換の手法とし、水平4画素、垂直4画素のブロッ
クサイズを持つものとする。従って図7に示す信号A
は、水平4係数、垂直4係数の計16係数で1ブロック
を構成する。
FIG. 8 shows an orthogonal transform coefficient and rearrangement circuit 5.
It is explanatory drawing which shows the operation | movement. In the figure, (a) shows the output A of the orthogonal transformer 2 and (b) shows the output B of the rearrangement circuit 5, each showing the arrangement of the coefficients in one block. The coefficient array shown in FIG. 8 is a two-dimensional orthogonal transform method of the orthogonal transformer 2 and has a block size of 4 horizontal pixels and 4 vertical pixels. Therefore, the signal A shown in FIG.
In this case, a total of 16 coefficients including 4 horizontal coefficients and 4 vertical coefficients constitute one block.

【0006】図8のブロックにおいて、各係数が表す周
波数成分の左側は水平方向の低域成分を表し、上方は垂
直方向の低域成分を表している。並び換え回路5では、
2次元直交変換に対する符号化のために、図8(b)の
信号Bの係数並びで示すように、ジグザクスキャンと呼
ばれる2次元の周波数空間に、低域から高域の順に信号
を並び換える。このような並び換えをするのは、一般に
直流成分を含む低域成分ほど視覚に対する影響が大きい
ので、この成分を重要な要素として扱うためである。そ
のため、量子化器6のステップ幅(量子化係数)は直交
変換係数の低域の方から順に大きくなるようにしてい
る。
In the block of FIG. 8, the left side of the frequency component represented by each coefficient represents the horizontal low band component, and the upper portion represents the vertical low band component. In the rearrangement circuit 5,
For the coding for the two-dimensional orthogonal transform, as shown by the coefficient arrangement of the signal B in FIG. 8B, the signals are rearranged in a two-dimensional frequency space called a zigzag scan in the order of low to high frequencies. The reason why such rearrangement is performed is that the lower-frequency component including the direct-current component generally has a greater effect on the visual sense, and therefore this component is treated as an important element. Therefore, the step width (quantization coefficient) of the quantizer 6 is set to increase in order from the lower band of the orthogonal transform coefficient.

【0007】[0007]

【発明が解決しようとする課題】しかしながら、上記の
従来の構成では次のような問題があった。即ち従来例の
直交変換符号化装置では、符号化したデータ量を、数ブ
ロックを一つの単位として所定の量に納まるように量子
化を行う。従って、平均的に周波数成分を重要な情報と
して保護することになり、直交変換係数の分布が低域か
ら高域まで広がるものや、データ量の大きいブロックや
赤色の彩度の高いブロック等、視覚的に重要なブロック
にデータ量を十分に割り当てることができなかった。従
って視覚的に重要なブロックに対しても同じ圧縮符号化
を行うため、画質が劣化するという欠点があった。
However, the above conventional structure has the following problems. That is, in the orthogonal transform coding apparatus of the conventional example, the coded data amount is quantized so that it is within a predetermined amount with several blocks as one unit. Therefore, the frequency components are protected as important information on average, and the distribution of the orthogonal transform coefficient spreads from low to high frequencies, blocks with a large amount of data, blocks with high red saturation, etc. It was not possible to allocate a sufficient amount of data to the blocks that were important to the user. Therefore, since the same compression coding is performed on a visually important block, there is a drawback that the image quality is deteriorated.

【0008】本発明はこのような従来の問題点に鑑みて
なされたものであって、画質劣化が視覚的に目立ち易い
ブロックに対し圧縮率を低くし、逆に画質劣化が視覚的
に分かりにくいブロックに対しては圧縮率を高めて、そ
の分の削減されたデータ量を他の重要なブロックに割り
当てることで、画面全体としての画質を改善することの
できる符号化装置を提供することを目的とする。
The present invention has been made in view of the above-mentioned problems of the prior art, and lowers the compression ratio for a block in which image deterioration is visually noticeable, and conversely makes it difficult to visually recognize image deterioration. An object of the present invention is to provide an encoding device capable of improving the image quality of the entire screen by increasing the compression rate for blocks and allocating the reduced amount of data to the other important blocks. And

【0009】[0009]

【課題を解決するための手段】本願の請求項1の発明
は、入力デジタル画像信号の輝度信号(Y信号)と2つ
の色差信号(R−Y信号,B−Y信号)を所定の大きさ
のブロックに分割するブロック化器と、ブロック化器か
ら得られる輝度信号のブロックの各画素の輝度レベルに
基づいてY判定情報を出力するY信号判定器と、Y判定
情報を用いて、各ブロックの圧縮率を制御するための圧
縮制御信号を出力する圧縮制御器と、圧縮制御器の圧縮
制御信号に基づいて、ブロック化器の出力信号を圧縮符
号化する高能率符号化器と、を具備し、圧縮制御器は、
Y信号判定器で高輝度と判定されたY信号のブロックと
画面上で同位置にある色差信号のブロックに対して、圧
縮率を高くすることを特徴とするものである。
According to a first aspect of the present invention, a luminance signal (Y signal) of an input digital image signal and two color difference signals (RY signal, BY signal) of a predetermined size are set. A blocker that divides the block into blocks, a Y signal determiner that outputs Y determination information based on the brightness level of each pixel of the block of the brightness signal obtained from the blocker, and each block using the Y determination information A compression controller that outputs a compression control signal for controlling the compression ratio of the block, and a high-efficiency encoder that compresses and encodes the output signal of the blocker based on the compression control signal of the compression controller. The compression controller
It is characterized in that the compression rate is increased for the Y signal block judged to be high in brightness by the Y signal judging device and the color difference signal block located at the same position on the screen.

【0010】本願の請求項2の発明では、Y信号判定器
は、輝度判定すべきブロック内で、所定レベル以上の輝
度を有する画素が規定の個数以上ある場合に、高輝度の
ブロックと判定することを特徴とするものである。
According to the invention of claim 2 of the present application, the Y signal judging device judges that the block having the luminance higher than a predetermined level has a predetermined number or more of pixels in the block to be subjected to the luminance judgment, which is a high luminance block. It is characterized by that.

【0011】本願の請求項3の発明では、Y信号判定器
は、輝度判定すべきY信号のブロック内で、全画素の輝
度レベルの平均値が規定値以上である場合に、高輝度の
ブロックと判定することを特徴とするものである。
According to the invention of claim 3 of the present application, the Y signal determiner determines that the high brightness block is used when the average value of the brightness levels of all pixels in the Y signal block to be brightness determined is equal to or greater than a specified value. It is characterized by determining that.

【0012】本願の請求項4の発明では、高能率符号化
器は、ブロック化器の信号が入力され、画像信号の直交
変換を行う直交変換器と、直交変換器で直交変換された
ブロックの符号量が、規定の符号量以下になるように圧
縮制御器の圧縮制御信号に基づき量子化ステップ幅を選
択して量子化を行う量子化器と、量子化器の出力データ
を符号化する符号化器と、を有することを特徴とするも
のである。
According to the invention of claim 4 of the present application, the high-efficiency encoder includes an orthogonal transformer which receives the signal of the blocker and performs orthogonal transformation of the image signal, and a block which is orthogonally transformed by the orthogonal transformer. A quantizer that performs quantization by selecting the quantization step width based on the compression control signal of the compression controller so that the code amount is equal to or less than the specified code amount, and a code that encodes the output data of the quantizer. And a rectifier.

【0013】本願の請求項5の発明は、入力デジタル画
像信号の輝度信号(Y信号)と2つの色差信号(R−Y
信号,B−Y信号)を所定の大きさのブロックに分割す
るブロック化器と、ブロック化器から得られるR−Y色
差信号のブロックの色差信号に基づいてR判定情報を出
力するR信号判定器と、ブロック化器から得られるB−
Y色差信号のブロックの色差信号に基づいてB判定情報
を出力するB信号判定器と、R判定情報とB判定情報と
を用いて、各ブロックの圧縮率を制御するための圧縮制
御信号を出力する圧縮制御器と、圧縮制御器の圧縮制御
信号に基づいて、ブロック化器の出力を圧縮符号化する
高能率符号化器と、を具備し、圧縮制御器は、画面上で
同位置にある2つの色差信号のブロックの判定情報であ
るR判定情報とB判定情報の組合せで、2つの色差信号
のブロックに対して一意の色差判定情報を決定し、色差
判定情報を用いて2つの色差信号のブロックの圧縮制御
信号を決定することにより、色相に対応して適応的に圧
縮率を制御することを特徴とするものである。
According to a fifth aspect of the present invention, the luminance signal (Y signal) of the input digital image signal and the two color difference signals (RY) are used.
Signal, BY signal) is divided into blocks of a predetermined size, and R signal determination for outputting R determination information based on the color difference signal of the block of the RY color difference signal obtained from the blocker And the B-obtained from the blocker
Using a B signal determiner that outputs B determination information based on the color difference signal of the Y color difference signal block, and a compression control signal for controlling the compression ratio of each block using the R determination information and the B determination information And a high efficiency encoder that compresses and encodes the output of the blocker based on the compression control signal of the compression controller. The compression controller is at the same position on the screen. A combination of R determination information and B determination information, which is determination information of two color difference signal blocks, determines unique color difference determination information for two color difference signal blocks, and the two color difference signals are determined using the color difference determination information. By determining the compression control signal of the block, the compression ratio is adaptively controlled in accordance with the hue.

【0014】本願の請求項6の発明では、R信号判定器
及びB信号判定器は、R判定及びB判定すべきブロック
内で、所定レベル以上の色差を有する画素が規定の個数
以上あることを判定基準とすることを特徴とするもので
ある。
In the invention of claim 6 of the present application, the R signal judging device and the B signal judging device confirm that the number of pixels having a color difference of a predetermined level or more is equal to or more than a prescribed number in the block to be subjected to the R judgment and the B judgment. It is characterized in that it is used as a criterion.

【0015】本願の請求項7の発明では、R信号判定器
及びB信号判定器は、R判定及びB判定すべきブロック
内で、全画素の色差の平均値が規定値以上であることを
判定基準とすることを特徴とするものである。
According to the invention of claim 7 of the present application, the R signal judging device and the B signal judging device judge that the average value of the color differences of all the pixels is equal to or more than a prescribed value in the block to be subjected to the R judgment and the B judgment. It is characterized by making it a standard.

【0016】本願の請求項8の発明では、R信号判定器
及びB信号判定器は、色差レベルの判定基準値が複数組
み設定されたことを特徴とするものである。
In the invention of claim 8 of the present application, the R signal judging device and the B signal judging device are characterized in that a plurality of sets of judgment reference values of color difference levels are set.

【0017】本願の請求項9の発明では、R信号判定器
及びB信号判定器は、色差レベルの判定基準値が複数組
み設定されており、R−Y信号とB−Y信号とでその基
準値が異なることを特徴とするものである。
In the invention of claim 9 of the present application, a plurality of sets of judgment reference values of the color difference level are set in the R signal judgment device and the B signal judgment device, and the reference is made for the RY signal and the BY signal. It is characterized by different values.

【0018】本願の請求項10の発明では、高能率符号
化器は、ブロック化器の信号が入力され、画像信号の直
交変換を行う直交変換器と、直交変換器で直交変換され
たブロックの符号量が、規定の符号量以下になるように
圧縮制御器の圧縮制御信号に基づき量子化ステップ幅を
選択して量子化を行う量子化器と、量子化器の出力デー
タを符号化する符号化器と、を有することを特徴とする
ものである。
According to the invention of claim 10 of the present application, the high-efficiency encoder includes an orthogonal transformer for inputting the signal of the blocker and performing orthogonal transformation of the image signal, and a block orthogonally transformed by the orthogonal transformer. A quantizer that performs quantization by selecting the quantization step width based on the compression control signal of the compression controller so that the code amount is equal to or less than the specified code amount, and a code that encodes the output data of the quantizer. And a rectifier.

【0019】本願の請求項11の発明では、圧縮制御器
は、低圧縮率に設定された色差信号と画面上で同位置に
あるブロックの輝度信号に対しても、低圧縮率に設定す
る圧縮制御信号を出力することを特徴とするものであ
る。
According to the eleventh aspect of the present invention, the compression controller sets the compression signal to the low compression rate even for the color difference signal set to the low compression rate and the luminance signal of the block located at the same position on the screen. It is characterized by outputting a control signal.

【0020】本願の請求項12の発明では、入力デジタ
ル画像信号の輝度信号(Y信号)と2つの色差信号(R
−Y信号,B−Y信号)を所定の大きさのブロックに分
割するブロック化器と、ブロック化器から得られるR−
Y色差信号のブロックの色差信号に基づいてR判定情報
を出力するR信号判定器と、ブロック化器から得られる
B−Y色差信号のブロックの色差信号に基づいてB判定
情報を出力するB信号判定器と、R判定情報とB判定情
報とを用いて、各ブロックの圧縮率を制御するための圧
縮制御信号を出力する圧縮制御器と、圧縮制御器の圧縮
制御信号に基づいて、ブロック化器の出力を圧縮符号化
する高能率符号化器と、を具備し、圧縮制御器は、画面
上で同位置にある2つの色差信号のブロックの判定情報
であるR判定情報とB判定情報の組合せで、R−Y信号
のブロックの圧縮制御信号を決定することにより、適応
的に赤色の圧縮率を制御することを特徴とするものであ
る。
According to a twelfth aspect of the present invention, a luminance signal (Y signal) of the input digital image signal and two color difference signals (R
-Y signal, BY signal) is divided into blocks of a predetermined size, and R-obtained from the blocker
An R signal determiner that outputs R determination information based on the color difference signal of the Y color difference signal block, and a B signal that outputs B determination information based on the color difference signal of the BY color difference signal block obtained from the blocker Blocking is performed based on the compression controller, which outputs a compression control signal for controlling the compression ratio of each block using the R determination information and the B determination information, and the compression control signal of the compression controller. And a high-efficiency encoder that compresses and encodes the output of the output device. The compression controller includes R determination information and B determination information which are determination information of blocks of two color difference signals located at the same position on the screen. It is characterized by adaptively controlling the red compression ratio by determining the compression control signal of the block of the RY signal in combination.

【0021】本願の請求項13の発明では、R信号判定
器及びB信号判定器は、R判定及びB判定すべきブロッ
ク内で、所定レベル以上の色差を有する画素が規定の個
数以上あることを判定基準とすることを特徴とするもの
である。
In the thirteenth aspect of the invention of the present application, the R signal judging device and the B signal judging device confirm that the number of pixels having a color difference of a predetermined level or more is equal to or more than a prescribed number in the block to be subjected to the R judgment and the B judgment. It is characterized in that it is used as a criterion.

【0022】本願の請求項14の発明では、R信号判定
器及びB信号判定器は、R判定及びB判定すべきブロッ
ク内で、全画素の色差レベルの平均値が規定値以上であ
ることを判定基準とすることを特徴とするものである。
In the fourteenth aspect of the invention of the present application, the R signal judging device and the B signal judging device determine that the average value of the color difference levels of all pixels is equal to or more than a specified value in the block to be subjected to the R judgment and the B judgment. It is characterized in that it is used as a criterion.

【0023】本願の請求項15の発明では、R信号判定
器及びB信号判定器は、色差レベルの判定基準値が複数
組み設定されたことを特徴とするものである。
According to a fifteenth aspect of the present invention, the R signal judging device and the B signal judging device are characterized in that a plurality of sets of judgment reference values of color difference levels are set.

【0024】本願の請求項16の発明では、R信号判定
器及びB信号判定器は、色差レベルの判定基準値が複数
組み設定されており、R−Y信号とB−Y信号とでその
基準値が異なることを特徴とするものである。
In the sixteenth aspect of the invention of the present application, the R signal judging device and the B signal judging device are set with a plurality of sets of judgment reference values of the color difference level, and the reference is made for the RY signal and the BY signal. It is characterized by different values.

【0025】本願の請求項17の発明では、高能率符号
化器は、ブロック化器の信号が入力され、画像信号の直
交変換を行う直交変換器と、直交変換器で直交変換され
たブロックの符号量が、規定の符号量以下になるように
圧縮制御器の圧縮制御信号に基づき量子化ステップ幅を
選択して量子化を行う量子化器と、量子化器の出力デー
タを符号化する符号化器と、を有することを特徴とする
ものである。
In the seventeenth aspect of the present invention, the high-efficiency encoder includes an orthogonal transformer for inputting the signal of the blocker and performing orthogonal transformation of the image signal, and a block orthogonally transformed by the orthogonal transformer. A quantizer that performs quantization by selecting the quantization step width based on the compression control signal of the compression controller so that the code amount is equal to or less than the specified code amount, and a code that encodes the output data of the quantizer. And a rectifier.

【0026】本願の請求項18の発明では、圧縮制御器
は、低圧縮率に設定された赤の色差信号と画面上で同位
置にあるブロックの輝度信号に対しても、低圧縮率に設
定する圧縮制御信号を出力することを特徴とするもので
ある。
According to the eighteenth aspect of the present invention, the compression controller sets the red compression difference signal set to a low compression rate and the luminance signal of the block located at the same position on the screen to a low compression rate. And outputting a compression control signal for

【0027】本願の請求項19の発明は、入力デジタル
画像信号の輝度信号(Y信号)と2つの色差信号(R−
Y信号,B−Y信号)を所定の大きさのブロックに分割
するブロック化器と、ブロック化器から得られる輝度信
号のブロックの各画素について輝度レベルに基づいて、
Y判定情報を出力するY信号判定器と、ブロック化器か
ら得られるR−Y色差信号のブロックの色差信号に基づ
いてR判定情報を出力するR信号判定器と、ブロック化
器から得られるB−Y色差信号のブロックの色差信号に
基づいてB判定情報を出力するB信号判定器と、Y判定
情報、R判定情報、及びB判定情報を用いて、各ブロッ
クの圧縮率を制御するための圧縮制御信号を出力する圧
縮制御器と、圧縮制御器の圧縮制御信号に基づいて、ブ
ロック化器の出力を圧縮符号化する高能率符号化器と、
を具備し、圧縮制御器は、画面上で同位置にある輝度信
号と2つの色差信号のブロックの判定情報であるY判定
情報とR判定情報とB判定情報の組合せにより、2つの
色差信号のブロックに対して一意の色差判定情報を決定
し、色差判定情報を用いて2つの色差信号のブロックの
圧縮制御信号を決定することにより、色相に対応して適
応的に圧縮率を制御することを特徴とするものである。
According to a nineteenth aspect of the present invention, a luminance signal (Y signal) of an input digital image signal and two color difference signals (R-
(Y signal, BY signal) is divided into blocks of a predetermined size, and a luminance level is obtained for each pixel of a block of luminance signals obtained from the blocker.
A Y signal determiner that outputs Y determination information, an R signal determiner that outputs R determination information based on a color difference signal of a block of an RY color difference signal obtained from a blocker, and a B signal obtained from the blocker. -A B signal determiner that outputs B determination information based on a color difference signal of a block of a Y color difference signal, and a Y determination information, an R determination information, and a B determination information, for controlling the compression ratio of each block. A compression controller that outputs a compression control signal, and a high efficiency encoder that compression-encodes the output of the blocker based on the compression control signal of the compression controller,
The compression controller is provided with a combination of the Y determination information, the R determination information, and the B determination information, which are the determination information of the blocks of the luminance signal and the two color difference signals located at the same position on the screen, of the two color difference signals. By determining unique color difference determination information for each block and determining the compression control signal of the block of two color difference signals using the color difference determination information, it is possible to adaptively control the compression ratio corresponding to the hue. It is a feature.

【0028】本願の請求項20の発明では、Y信号判定
器、R信号判定器、及びB信号判定器は、Y判定、R判
定、及びB判定すべきブロック内で、所定レベル以上の
画素が規定の個数以上あることを判定基準とすることを
特徴とするものである。
According to the twentieth aspect of the invention of the present application, the Y signal judging device, the R signal judging device and the B signal judging device have pixels of a predetermined level or higher in the blocks to be subjected to the Y judgment, the R judgment and the B judgment. It is characterized in that the criterion is that the number is equal to or more than a prescribed number.

【0029】本願の請求項21の発明では、Y信号判定
器、R信号判定器、及びB信号判定器は、Y判定、R判
定、及びB判定すべきブロック内で、全画素のレベルの
平均値が規定値以上であることを判定基準とすることを
特徴とするものである。
In the twenty-first aspect of the invention of the present application, the Y signal judging device, the R signal judging device, and the B signal judging device are the averages of the levels of all pixels in the blocks to be subjected to the Y judgment, the R judgment, and the B judgment. It is characterized in that the criterion is that the value is greater than or equal to the specified value.

【0030】本願の請求項22の発明では、R信号判定
器及びB信号判定器は、色差レベルの判定基準値が複数
組み設定されたことを特徴とするものである。
According to a twenty-second aspect of the present invention, the R signal judging device and the B signal judging device are characterized in that a plurality of sets of judgment reference values of color difference levels are set.

【0031】本願の請求項23の発明では、R信号判定
器及びB信号判定器は、色差レベルの判定基準値が複数
組み設定されており、R−Y信号とB−Y信号とでその
基準値が異なることを特徴とするものである。
In the invention of claim 23 of the present application, the R signal judging device and the B signal judging device are set with plural sets of judgment reference values of the color difference level, and the reference is made for the RY signal and the BY signal. It is characterized by different values.

【0032】本願の請求項24の発明では、高能率符号
化器は、ブロック化器の信号が入力され、画像信号の直
交変換を行う直交変換器と、直交変換器で直交変換され
たブロックの符号量が、規定の符号量以下になるように
圧縮制御器の圧縮制御信号に基づき量子化ステップ幅を
選択して量子化を行う量子化器と、量子化器の出力デー
タを符号化する符号化器と、を有することを特徴とする
ものである。
According to the twenty-fourth aspect of the present invention, the high-efficiency encoder includes an orthogonal transformer for inputting the signal of the blocker and performing orthogonal transformation of the image signal, and a block orthogonally transformed by the orthogonal transformer. A quantizer that performs quantization by selecting the quantization step width based on the compression control signal of the compression controller so that the code amount is equal to or less than the specified code amount, and a code that encodes the output data of the quantizer. And a rectifier.

【0033】本願の請求項25の発明では、圧縮制御器
は、低圧縮率に設定された色差信号と画面上で同位置に
あるブロックの輝度信号に対しても、低圧縮率に設定す
る圧縮制御信号を出力することを特徴とするものであ
る。
According to the twenty-fifth aspect of the present invention, the compression controller sets the compression signal to the low compression rate even for the color difference signal set to the low compression rate and the luminance signal of the block located at the same position on the screen. It is characterized by outputting a control signal.

【0034】本願の請求項26の発明は、入力デジタル
画像信号の輝度信号(Y信号)と2つの色差信号(R−
Y信号,B−Y信号)を所定の大きさのブロックに分割
するブロック化器と、ブロック化器から得られる輝度信
号のブロックの各画素について輝度レベルを調べ、Y判
定情報を出力するY信号判定器と、ブロック化器から得
られるR−Y色差信号のブロックの色差信号に基づいて
R判定情報を出力するR信号判定器と、ブロック化器か
ら得られるB−Y色差信号のブロックの色差信号に基づ
いてB判定情報を出力するB信号判定器と、Y判定情
報、R判定情報、及びB判定情報を用いて、各ブロック
の圧縮率を制御するための圧縮制御信号を出力する圧縮
制御器と、圧縮制御器の圧縮制御信号に基づいて、ブロ
ック化器の出力信号を圧縮符号化する高能率符号化器
と、を具備し、圧縮制御器は、画面上で同位置にある輝
度信号と2つの色差信号のブロックの判定情報であるY
判定情報とR判定情報とB判定情報の組合せにより、R
−Y信号のブロックの量子化制御信号を決定することに
より、適応的に赤色の圧縮率を制御することを特徴とす
るものである。
According to a twenty-sixth aspect of the present invention, a luminance signal (Y signal) of an input digital image signal and two color difference signals (R-
(Y signal, BY signal) is divided into blocks of a predetermined size, and a Y signal for outputting Y determination information by checking the luminance level of each pixel of the block of the luminance signal obtained from the blocker Judgment device, R signal judgment device which outputs R judgment information based on the color difference signal of the block of the RY color difference signal obtained from the blocker, and color difference between blocks of the BY color difference signal obtained from the blocker Compression control for outputting a compression control signal for controlling the compression ratio of each block using a B signal determiner that outputs B determination information based on a signal and Y determination information, R determination information, and B determination information And a high-efficiency encoder that compresses and encodes the output signal of the blocker based on the compression control signal of the compression controller, and the compression controller is a luminance signal at the same position on the screen. And two color difference Y is a determination information blocks
By combining the judgment information, the R judgment information, and the B judgment information, R
A feature is that the red compression rate is adaptively controlled by determining the quantization control signal of the -Y signal block.

【0035】本願の請求項27の発明では、Y信号判定
器、R信号判定器、及びB信号判定器は、Y判定、R判
定、及びB判定すべきブロック内で、所定レベル以上の
画素が規定の個数以上あることを判定基準とすることを
特徴とするものである。
According to the twenty-seventh aspect of the present invention, the Y signal judging device, the R signal judging device, and the B signal judging device have pixels of a predetermined level or higher in the blocks to be subjected to the Y judgment, the R judgment, and the B judgment. It is characterized in that the criterion is that the number is equal to or more than a prescribed number.

【0036】本願の請求項28の発明では、Y信号判定
器、R信号判定器、及びB信号判定器は、Y判定、R判
定、及びB判定すべきブロック内で、全画素のレベルの
平均値が規定値以上であることを判定基準とすることを
特徴とするものである。
In the twenty-eighth aspect of the invention of the present application, the Y signal determiner, the R signal determiner, and the B signal determiner are the averages of the levels of all pixels in the blocks to be subjected to the Y determination, the R determination, and the B determination. It is characterized in that the criterion is that the value is greater than or equal to the specified value.

【0037】本願の請求項29の発明では、R信号判定
器及びB信号判定器は、色差レベルの判定基準値が複数
組み設定されたことを特徴とするものである。
In the invention of claim 29 of the present application, the R signal judging device and the B signal judging device are characterized in that a plurality of sets of judgment reference values of color difference levels are set.

【0038】本願の請求項30の発明では、R信号判定
器及びB信号判定器は、色差レベルの判定基準値が複数
組み設定されており、R−Y信号とB−Y信号とでその
基準値が異なることを特徴とするものである。
In the invention of claim 30 of the present application, the R signal judging device and the B signal judging device are set with a plurality of sets of judgment reference values of the color difference level, and the reference is made for the RY signal and the BY signal. It is characterized by different values.

【0039】本願の請求項31の発明では、高能率符号
化器は、ブロック化器の信号が入力され、画像信号の直
交変換を行う直交変換器と、直交変換器で直交変換され
たブロックの符号量が、規定の符号量以下になるように
圧縮制御器の圧縮制御信号に基づき量子化ステップ幅を
選択して量子化を行う量子化器と、量子化器の出力デー
タを符号化する符号化器と、を有することを特徴とする
ものである。
In the thirty-first aspect of the invention of the present application, the high-efficiency encoder includes an orthogonal transformer for inputting the signal of the blocker and performing orthogonal transformation of the image signal, and a block orthogonally transformed by the orthogonal transformer. A quantizer that performs quantization by selecting the quantization step width based on the compression control signal of the compression controller so that the code amount is equal to or less than the specified code amount, and a code that encodes the output data of the quantizer. And a rectifier.

【0040】本願の請求項32の発明では、圧縮制御器
は、低圧縮率に設定されたR−Y色差信号と画面上で同
位置にあるブロックの輝度信号に対しても、低圧縮率に
設定する圧縮制御信号を出力することを特徴とするもの
である。
According to the thirty-second aspect of the present invention, the compression controller sets the RY color difference signal set to the low compression rate and the luminance signal of the block at the same position on the screen to the low compression rate. It is characterized by outputting a compression control signal to be set.

【0041】[0041]

【作用】このような特徴を有する本願の請求項1〜4の
発明によれば、入力デジタル画像信号がブロック化器に
入力されると、輝度信号と2つの色差信号は夫々所定の
大きさのブロックに分割される。輝度信号判定器はブロ
ック内の各画素の輝度レベルを調べてY判定情報を出力
する。圧縮制御器はこのY判定情報を用いて、ブロック
の圧縮率を制御する圧縮制御信号を出力する。輝度信号
判定器で高輝度と判定されたブロックと同位置にある色
差信号のブロックに対しては、圧縮制御器は圧縮率を高
くする圧縮制御信号を高能率符号化器に与える。こうす
ると視覚的に目立ちにくい色相の符号量は削減され、重
要な画素情報に対する割り当て情報量が増加される。
According to the inventions of claims 1 to 4 having the above characteristics, when the input digital image signal is inputted to the blocker, the luminance signal and the two color difference signals respectively have predetermined magnitudes. Divided into blocks. The luminance signal determiner checks the luminance level of each pixel in the block and outputs Y determination information. The compression controller uses this Y determination information to output a compression control signal that controls the compression ratio of the block. For the block of the color difference signal located at the same position as the block determined to be high in luminance by the luminance signal determiner, the compression controller gives the high efficiency encoder a compression control signal for increasing the compression rate. In this way, the code amount of the hue that is visually inconspicuous is reduced, and the amount of assigned information for important pixel information is increased.

【0042】又本願の請求項5〜18の発明によれば、
入力デジタル画像信号がブロック化器に入力されると、
輝度信号と2つの色差信号は夫々所定の大きさのブロッ
クに分割される。R信号判定器は、赤の色差信号のブロ
ックの内容を調べて判定を行い、R判定情報を出力す
る。またB信号判定器は、青の色差信号のブロックの内
容を調べて判定を行い、B判定情報を出力する。圧縮制
御器はR判定情報とB判定情報とを用いて、圧縮制御信
号を高能率符号化器に与える。こうすると画面上で同位
置にある2つの色差信号の判定情報の組み合わせで、一
意の色差判定情報が決定され、この情報を用いて2つの
色差信号のブロックの圧縮率が制御される。そして赤又
は青の色相の符号量は削減される。
Further, according to the inventions of claims 5 to 18 of the present application,
When the input digital image signal is input to the blocker,
The luminance signal and the two color difference signals are each divided into blocks of a predetermined size. The R signal determiner checks the contents of the block of the red color difference signal to make a determination, and outputs R determination information. Further, the B signal determiner checks the contents of the block of the blue color difference signal to make a determination, and outputs B determination information. The compression controller uses the R judgment information and the B judgment information to give a compression control signal to the high efficiency encoder. In this way, unique color difference determination information is determined by the combination of the determination information of the two color difference signals located at the same position on the screen, and this information is used to control the compression ratio of the blocks of the two color difference signals. Then, the code amount of the red or blue hue is reduced.

【0043】更に本願の請求項19〜32の発明によれ
ば、請求項5〜18の発明に加えてY信号判定器も設け
ている。圧縮制御器はY判定情報、R判定情報、及びB
判定情報を用いて、圧縮制御信号を高能率符号化器に与
える。圧縮制御器は画面上で同位置にある2つの色差信
号のブロック対して、赤色の圧縮率を中心に高能率符号
化器の動作を適応的に制御する。こうすると伝送すべき
画面全体の画像情報量を増加させないで画質が改善され
る。
Further, according to the inventions of claims 19 to 32 of the present application, in addition to the inventions of claims 5 to 18, a Y signal judging device is also provided. The compression controller uses Y judgment information, R judgment information, and B judgment information.
The compression control signal is provided to the high efficiency encoder using the decision information. The compression controller adaptively controls the operation of the high-efficiency encoder centering on the compression ratio of red for two blocks of color difference signals located at the same position on the screen. In this way, the image quality is improved without increasing the amount of image information of the entire screen to be transmitted.

【0044】[0044]

【実施例】以下、本発明の各実施例における符号化装置
について図面を用いて説明する。図1は本発明の第1実
施例における符号化装置の全体構成を示すブロック図で
ある。本図においてブロック化器102は入力端子10
1から入力された1フレームのデジタル化された画像信
号の輝度信号(Y信号),2つの色差信号(R−Y信
号,B−Y信号)の夫々に対して複数のブロックに分割
する回路である。ブロック化器102でブロック化され
た信号は直交変換器103及びY信号判定器107に与
えられる。直交変換器103は入力された各ブロックの
画像信号を例えばDCT等により直交変換する回路であ
り、各周波数成分に対応する直交変換係数(以下、単に
変換係数という)が出力される。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT An encoding apparatus in each embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing the overall configuration of an encoding device according to the first embodiment of the present invention. In the figure, the blocker 102 is an input terminal 10
A circuit that divides each of the luminance signal (Y signal) and the two color difference signals (RY signal, BY signal) of the 1-frame digitized image signal input from 1 into a plurality of blocks. is there. The signal blocked by the blocker 102 is provided to the orthogonal transformer 103 and the Y signal determiner 107. The orthogonal transformer 103 is a circuit that orthogonally transforms the input image signal of each block by, for example, DCT, and outputs an orthogonal transform coefficient (hereinafter, simply referred to as transform coefficient) corresponding to each frequency component.

【0045】直交変換器103の変換係数は量子化器1
04及び圧縮制御器108に与えられる。量子化器10
4は入力信号を所定のステップ幅で量子化する回路であ
り、その量子化特性は複数組み用意されており、圧縮制
御器108から圧縮制御信号として量子化係数が指示さ
れるものとする。符号化器105は量子化器104の符
号を入力し、発生頻度の高い符号ほど短い符号語を割り
当て、符号化データとして出力端子109から出力す
る。ここで直交変換器103、量子化器104、符号化
器105は、入力画像信号の総符号量又は情報量を圧縮
して、帯域圧縮された画像信号を生成する高能率符号化
器106を構成している。
The transform coefficient of the orthogonal transformer 103 is the quantizer 1
04 and the compression controller 108. Quantizer 10
Reference numeral 4 denotes a circuit for quantizing the input signal with a predetermined step width, and a plurality of sets of its quantization characteristics are prepared, and the compression controller 108 indicates a quantization coefficient as a compression control signal. The encoder 105 inputs the code of the quantizer 104, assigns a shorter codeword to a code having a higher occurrence frequency, and outputs the coded data from the output terminal 109. Here, the orthogonal transformer 103, the quantizer 104, and the encoder 105 configure a high-efficiency encoder 106 that compresses the total code amount or information amount of the input image signal to generate a band-compressed image signal. is doing.

【0046】さてY信号判定器107は各ブロックにお
ける画像の輝度(Y)レベルを判定する回路である。輝
度レベルの判定方法は例えば2種類あり、1つの方法は
1ブロックに含まれる各画素の輝度値から所定値以上の
輝度値を有する画素数を計数する。そしてこの数が規定
値以上であれば、高輝度ブロックとして判定するもので
ある。また他の方法は、全画素の輝度の平均値を算出
し、その平均値が規定値以上であれは、高輝度ブロック
として判定する。圧縮制御器108はY信号判定器10
7の判定結果に基づき、夫々のブロックに対する圧縮率
を決定する回路である。圧縮制御器108は圧縮制御信
号を量子化器104に出力し、特定の量子化特性を選択
する。
The Y signal judging device 107 is a circuit for judging the luminance (Y) level of the image in each block. There are, for example, two types of brightness level determination methods, and one method is to count the number of pixels having a brightness value of a predetermined value or more from the brightness values of the pixels included in one block. If this number is greater than or equal to the specified value, it is determined as a high-luminance block. In another method, the average value of the brightness of all pixels is calculated, and if the average value is equal to or more than a specified value, it is determined as a high brightness block. The compression controller 108 is the Y signal judging device 10.
It is a circuit that determines the compression ratio for each block based on the determination result of 7. The compression controller 108 outputs the compression control signal to the quantizer 104 to select a particular quantization characteristic.

【0047】このように構成された第1実施例の符号化
装置の動作を説明する。入力端子101より入力された
デジタル画像信号はブロック化器102に与えられ、符
号化単位のブロックに変換される。そしてブロック化さ
れた画像信号は高能率符号化器106とY信号判定器1
07に出力される。高能率符号化器106において、直
交変換器103は入力画像信号を直交変換し、その変換
係数の並び変えを行う。そしてその信号を量子化器10
4と圧縮制御器108に出力する。
The operation of the coding apparatus of the first embodiment constructed as above will be described. The digital image signal input from the input terminal 101 is given to the blocker 102 and converted into a block of a coding unit. Then, the blocked image signal is processed by the high-efficiency encoder 106 and the Y signal determiner 1.
It is output to 07. In the high-efficiency encoder 106, the orthogonal transformer 103 orthogonally transforms the input image signal and rearranges the transform coefficients. Then, the signal is quantized by the quantizer 10
4 and the compression controller 108.

【0048】一方、Y信号判定器107は、入力された
画像の輝度信号であるY信号のブロックに対して、例え
ばしきい値以上のレベルの画素が所定の個数以上あるか
否かによって高輝度のブロックであるか否かを判定す
る。ここでの判定結果は圧縮制御器108に与えられ
る。圧縮制御器108は、Y信号判定器107の判定結
果と直交変換器103の出力スペクトラムとを用いて圧
縮率を決定し、量子化器104に圧縮制御信号を出力す
る。
On the other hand, the Y signal judging device 107 has a high luminance depending on whether or not there are a predetermined number or more of pixels having a level equal to or higher than a threshold value for the block of the Y signal which is the luminance signal of the input image. It is determined whether the block is a block of. The determination result here is given to the compression controller 108. The compression controller 108 determines the compression rate using the determination result of the Y signal determination unit 107 and the output spectrum of the orthogonal transformer 103, and outputs the compression control signal to the quantizer 104.

【0049】この圧縮率を決定する際には、Y信号判定
器107で高輝度のブロックであると判定されたブロッ
クと画面上で同位置にある色差信号のブロックの圧縮率
を、通常よりも高く設定する。量子化器104は、圧縮
制御器108から入力された圧縮制御信号に従って、符
号化データが所定の符号量に収まるように量子化のステ
ップ幅を選択して量子化を行う。そして符号化器105
は入力されたデータを符号化して、出力端子109から
入力画像の内容に係わらずデータ転送速度が一定に制御
された符号化信号を出力する。
When determining this compression rate, the compression rate of the block of the color difference signal located at the same position on the screen as the block determined to be a high-luminance block by the Y signal determination unit 107 is set to a value higher than usual. Set higher. The quantizer 104 performs quantization according to the compression control signal input from the compression controller 108 so as to select the quantization step width so that the encoded data fits within a predetermined code amount. And the encoder 105
Encodes the input data and outputs an encoded signal from the output terminal 109 in which the data transfer rate is controlled to be constant regardless of the content of the input image.

【0050】以上のように第1実施例では、Y信号判定
器107で高輝度のY信号のブロックを決定し、圧縮制
御器108で画面上で同位置にある色差信号の圧縮率を
高くする。これにより、視覚的に認知しにくい高輝度の
Y信号のブロックに対応する色差信号のブロックの符号
量を削減することが可能となる。こうするとその分のデ
ータ量を他のブロックに割り当てて、画面全体としての
画質をより一層改善することができる。
As described above, in the first embodiment, the Y signal determination unit 107 determines the block of the high-luminance Y signal, and the compression controller 108 increases the compression rate of the color difference signals at the same position on the screen. . As a result, it is possible to reduce the code amount of the block of the color difference signal corresponding to the block of the high-luminance Y signal that is difficult to visually recognize. By doing so, the amount of data corresponding to that can be allocated to other blocks, and the image quality of the entire screen can be further improved.

【0051】なお本実施例において、Y信号判定器10
7の判定方法として、Y信号のブロック内の画素のレベ
ルの平均値が所定のレベル以上であれば、高輝度のブロ
ックとすることも可能であるし、直交変換後のデータを
利用して判定することも可能である。また、輝度信号と
色差信号のサンプリング周波数の関係により、色差信号
と同位置の輝度信号のブロックが複数個存在する場合が
あるが、そのような場合については、高輝度となるブロ
ックが複数個のブロックのうち所定の個数以上あるとき
に高い圧縮率を設定すればよい。
In this embodiment, the Y signal judging device 10
As the determination method of 7, if the average value of the levels of the pixels in the Y signal block is equal to or higher than a predetermined level, it is possible to use a high-luminance block, and the determination is performed using the data after orthogonal transformation. It is also possible to do so. Further, there may be a plurality of blocks of the luminance signal at the same position as the color difference signal due to the relationship between the sampling frequencies of the luminance signal and the color difference signal. In such a case, a plurality of blocks having high luminance may be included. A high compression rate may be set when there are a predetermined number or more of blocks.

【0052】次に本発明の第2及び第3実施例における
符号化装置について図面を参照しつつ説明する。図2は
第2及び第3実施例の符号化装置の全体構成を示すブロ
ック図である。第1実施例と同様に、入力端子201、
ブロック化器202、直交変換器203、量子化器20
4、符号化器205、出力端子210が設けられてお
り、それらの機能は同一であるので説明は省略する。
Next, the encoding devices in the second and third embodiments of the present invention will be described with reference to the drawings. FIG. 2 is a block diagram showing the overall configuration of the encoding devices of the second and third embodiments. Similar to the first embodiment, the input terminals 201,
Blocker 202, orthogonal transformer 203, quantizer 20
4, an encoder 205, and an output terminal 210 are provided, and their functions are the same, so description thereof will be omitted.

【0053】第1実施例と異なり、R信号判定器20
7、B信号判定器208及びこれらの判定器の判定結果
を入力する圧縮制御器209が夫々設けられている。R
信号判定器207は、ブロック化器202から出力され
た各ブロックの画像信号に対し、色差信号であるR−Y
信号のレベルを判定する回路である。同様にB信号判定
器208も、ブロック化器202から出力された各ブロ
ックの画像信号に対してB−Y信号のレベルを判定する
回路である。
Unlike the first embodiment, the R signal determiner 20
7, a B signal determiner 208 and a compression controller 209 for inputting the determination results of these determiners are provided respectively. R
The signal determiner 207 is a color difference signal RY for the image signal of each block output from the blocker 202.
This is a circuit that determines the level of a signal. Similarly, the B signal determiner 208 is also a circuit that determines the level of the BY signal with respect to the image signal of each block output from the blocker 202.

【0054】図3はR信号判定器207、B信号判定器
208の判定方法を示す説明図である。各色相のしきい
値をTha、Thb(Tha>Thb)とし、R(赤)
に関してTha以上の画素数がa個以上であれば、R判
定情報として判定結果Raを出力する。またThb以下
の画素数がb個以上であれば、R判定情報として判定結
果Rcを出力する。そしてこれ以外の場合、判定結果R
bを出力する。B(青)に関しても同様であり、しきい
値Tha以上、Thb以下、その他の場合について、夫
々判定結果Ba,Bc,Bbが出力される。
FIG. 3 is an explanatory diagram showing the determination methods of the R signal determiner 207 and the B signal determiner 208. Let Tha and Thb (Tha> Thb) be the threshold values of each hue, and R (red)
If the number of pixels equal to or greater than Tha is equal to or greater than a, the determination result Ra is output as R determination information. If the number of pixels of Thb or less is b or more, the determination result Rc is output as the R determination information. And in other cases, the judgment result R
Output b. The same applies to B (blue), and the determination results Ba, Bc, and Bb are output for threshold values Tha or more, Thb or less, and other cases, respectively.

【0055】圧縮制御器209は、R信号判定器207
及びB信号判定器208から判定結果が入力されると、
両色差(RとB)ブロックに対して一意のRB判定情報
を決定し、このRB判定情報と直交変換器203の変換
係数のデータを用いて、色差信号に対する圧縮率を決定
して、圧縮制御信号を量子化器204に出力する回路で
ある。
The compression controller 209 has an R signal judging unit 207.
And when the determination result is input from the B signal determiner 208,
Unique RB determination information is determined for both color difference (R and B) blocks, and the compression ratio for the color difference signal is determined using this RB determination information and the data of the transform coefficient of the orthogonal transformer 203 to perform compression control. It is a circuit that outputs a signal to the quantizer 204.

【0056】このように構成された第2実施例の符号化
装置の動作について説明する。入力端子201より入力
されたデジタル画像信号は、ブロック化器202に与え
られると、符号化単位のブロックに分割される。そして
ブロック化された画像信号は、高能率符号化器206並
びにR信号判定器207及びB信号判定器208に出力
される。高能率符号化器206において、直交変換器2
03はブロック単位の画像信号の直交変換を行い、変換
係数の並び変えをする。そしてこの信号を量子化器20
4と圧縮制御器209に与える。
The operation of the coding apparatus of the second embodiment having such a configuration will be described. When the digital image signal input from the input terminal 201 is supplied to the blocker 202, it is divided into blocks of coding units. The blocked image signal is output to the high-efficiency encoder 206, the R signal determiner 207, and the B signal determiner 208. In the high efficiency encoder 206, the orthogonal transformer 2
Reference numeral 03 performs orthogonal transformation of image signals in block units and rearranges transformation coefficients. The quantizer 20
4 and the compression controller 209.

【0057】R信号判定器207とB信号判定器208
は、色差信号であるR−Y信号とB−Y信号の夫々のブ
ロックに対して、例えば図3に示されるような判定をす
る。即ち、夫々のブロック内の画素で、あるしきい値以
上のレベルの画素が所定の個数以上あることを条件とし
て、色差信号のレベルの度数分布を調べる。そしてその
結果を夫々R判定情報、B判定情報として圧縮制御器2
09に出力する。圧縮制御器209では、例えば図4に
示されるように、入力されたR判定情報とB判定情報を
用いて、両色差ブロックに対して9個の組み合わせから
一意のRB判定情報を決定する。そして圧縮制御器20
9は、RB判定情報と直交変換器203の出力を用い
て、夫々の色差信号の圧縮率を決定して圧縮制御信号を
量子化器204に与える。なお以降の信号処理は第1実
施例と同じである。
R signal determiner 207 and B signal determiner 208
Makes a determination as shown in FIG. 3, for example, for each block of the RY signal and the BY signal that are color difference signals. That is, the frequency distribution of the levels of the color difference signals is examined under the condition that a predetermined number or more of pixels having a level equal to or higher than a certain threshold value are included in the pixels in each block. Then, the results are used as R determination information and B determination information, respectively, in the compression controller 2
It outputs to 09. For example, as shown in FIG. 4, the compression controller 209 uses the input R determination information and B determination information to determine unique RB determination information from 9 combinations for both color difference blocks. And the compression controller 20
9 uses the RB determination information and the output of the orthogonal transformer 203 to determine the compression ratio of each color difference signal and supplies the compression control signal to the quantizer 204. The subsequent signal processing is the same as in the first embodiment.

【0058】このように第2実施例では、R信号判定器
207とB信号判定器208で得られた判定情報を用い
て、各色差信号に一意の判定情報を決めて、その判定情
報に基づいて各色差信号の圧縮率を決定する。これによ
り、色相に対応して適応的に圧縮率を制御することが可
能になり、画質劣化の視覚的な認知度に対応して圧縮率
を変化させることができる。従って、一定の符号量内で
符号化を行うときに、割り当てられた符号量を効果的に
使用することができるので、画面全体としての画質を改
善することができる。
As described above, in the second embodiment, the judgment information obtained by the R signal judgment unit 207 and the B signal judgment unit 208 is used to determine the judgment information unique to each color difference signal, and based on the judgment information. To determine the compression rate of each color difference signal. As a result, the compression rate can be adaptively controlled according to the hue, and the compression rate can be changed according to the visual recognition degree of image quality deterioration. Therefore, when encoding is performed within a fixed code amount, the assigned code amount can be effectively used, so that the image quality of the entire screen can be improved.

【0059】次に第3実施例における符号化装置の動作
を説明する。図2において、入力端子201より入力さ
れたデジタル画像信号は、圧縮制御器209Aまでの過
程においては、第2実施例と全く同じように信号処理さ
れる。圧縮制御器209Aでは、第2実施例と同様に例
えば図4に示されるように、入力されたR判定情報とB
判定情報を用いて、RB判定情報RBa〜RBiを決定
する。そして圧縮制御器209AはRB判定情報と直交
変換器203の出力を用いて、R−Y信号の圧縮率を決
定して圧縮制御信号を量子化器204に出力する。以降
の信号処理は第2実施例と同じである。
Next, the operation of the coding apparatus in the third embodiment will be described. In FIG. 2, the digital image signal input from the input terminal 201 is processed in exactly the same way as in the second embodiment in the process up to the compression controller 209A. In the compression controller 209A, as in the second embodiment, for example, as shown in FIG.
The RB determination information RBa to RBi is determined using the determination information. Then, the compression controller 209A determines the compression rate of the RY signal using the RB determination information and the output of the orthogonal transformer 203, and outputs the compression control signal to the quantizer 204. The subsequent signal processing is the same as in the second embodiment.

【0060】このように第3実施例では、R信号判定器
207とB信号判定器208で得られた判定情報を用い
て、一意の判定情報を決めてから、R−Y信号の圧縮率
を決定する。画像劣化の視覚的認知の点から考えると、
R−Y信号が支配的な色差信号である。赤色は人間の認
知度が高いので、赤色だけを保護するだけでも第2実施
例と同様の効果が得られ、回路規模も第2実施例の場合
より減少するという効果が得られる。
As described above, in the third embodiment, the determination information obtained by the R signal determination unit 207 and the B signal determination unit 208 is used to determine the unique determination information, and then the compression rate of the RY signal is calculated. decide. From the viewpoint of visual recognition of image deterioration,
The RY signal is the dominant color difference signal. Since red is highly recognized by humans, even if only red is protected, the same effect as in the second embodiment can be obtained, and the circuit scale can be reduced as compared with the case of the second embodiment.

【0061】なお第2及び第3実施例において、R信号
判定器207とB信号判定器208の判定方法として、
各信号のブロック内の画素のレベルの平均値が、所定の
レベル以上となる場合、高輝度のブロックとすることも
可能であるし、直交変換後のデータを利用して判定する
ことも可能である。またR信号判定器207とB信号判
定器208におけるしきい値の数及びそのレベルは任意
であり、R−Y信号とB−Y信号とでしきい値が違って
もよい。また圧縮率を低く設定した色差信号のブロック
と、画面上で同位置にある輝度信号のブロックを、共に
低圧縮率にすることにより、さらに効果的な符号化を行
うこともできる。
In the second and third embodiments, the determination methods of the R signal determiner 207 and the B signal determiner 208 are:
When the average value of the pixel level in each signal block is equal to or higher than a predetermined level, it can be determined as a high-luminance block or can be determined by using the data after orthogonal transformation. is there. The number of thresholds and their levels in the R signal determiner 207 and the B signal determiner 208 are arbitrary, and the thresholds may differ between the RY signal and the BY signal. Further, by further reducing the compression rate of both the color difference signal block for which the compression rate is set low and the luminance signal block at the same position on the screen, it is possible to perform more effective encoding.

【0062】次に本発明の第4及び第5実施例における
符号化装置について図面を参照しつつ説明する。図5は
第4及び第5実施例の符号化装置の全体構成を示すブロ
ックである。第2,3実施例と同様に、入力端子30
1、ブロック化器302、直交変換器303、量子化器
304、符号化器305、R信号判定器307、B信号
判定器309、出力端子310が設けられており、それ
らの機能は同一であるので説明は省略する。
Next, the encoding devices in the fourth and fifth embodiments of the present invention will be described with reference to the drawings. FIG. 5 is a block diagram showing the overall configuration of the encoding devices of the fourth and fifth embodiments. Similar to the second and third embodiments, the input terminal 30
1, the blocker 302, the orthogonal transformer 303, the quantizer 304, the encoder 305, the R signal determiner 307, the B signal determiner 309, and the output terminal 310 are provided, and their functions are the same. Therefore, the description is omitted.

【0063】Y信号判定器307は入力された映像信号
の輝度信号であるY信号のブロックに対して、R信号判
定器308とB信号判定309は入力された映像信号の
色差信号であるR−Y信号とB−Y信号の夫々のブロッ
クに対して、夫々例えば図3及び図6に示されるよう
に、夫々のブロック内の画素であるしきい値以上のレベ
ルの画素が所定の個数以上であることを条件として判定
を行い、その結果を夫々Y判定情報,R判定情報,B判
定情報として圧縮制御器310に出力する。
The Y signal determining unit 307 is for the Y signal block which is the luminance signal of the input video signal, while the R signal determining unit 308 and the B signal determination 309 are R- which are the color difference signals of the input video signal. For each block of the Y signal and the BY signal, for example, as shown in FIGS. 3 and 6, respectively, if the number of pixels having a level equal to or higher than the threshold value, which is the pixel in each block, is equal to or more than a predetermined number. The determination is performed under the condition that there is, and the results are output to the compression controller 310 as Y determination information, R determination information, and B determination information, respectively.

【0064】第2,3実施例と異なり、ブロック化器3
02の出力端には第1実施例と同様のY信号判定器30
7が設けられている。圧縮制御器310は、Y信号判定
器307、R信号判定器308、B信号判定器309の
判定結果を夫々入力し、これらの3つの判定結果に基づ
き、両色差ブロックに対して一意のRB判定情報を決定
する回路である。このRB判定情報は圧縮制御信号とし
て量子化器304に与えられる。
Different from the second and third embodiments, the blocker 3
A Y signal judging device 30 similar to that of the first embodiment is provided at the output terminal of 02.
7 is provided. The compression controller 310 inputs the determination results of the Y signal determiner 307, the R signal determiner 308, and the B signal determiner 309, respectively, and based on these three determination results, unique RB determination for both color difference blocks. It is a circuit that determines information. This RB determination information is given to the quantizer 304 as a compression control signal.

【0065】このように構成された符号化装置の第4実
施例における動作を説明する。入力端子301より入力
されたデジタル画像信号は、ブロック化器302に入力
されると、符号化単位のブロックに分割される。そして
ブロック化された画像信号は高能率符号化器306と、
Y信号判定器307、R信号判定器308、及びB信号
判定器309に出力される。高能率符号化器306にお
いて、直交変換器303はブロック化された画像信号を
直交変換し、変換係数の並び変えを行う。そしてこの信
号を量子化器304と圧縮制御器310に与える。
The operation of the thus-configured coding apparatus according to the fourth embodiment will be described. When the digital image signal input from the input terminal 301 is input to the blocker 302, it is divided into blocks of coding units. The blocked image signal is output to the high efficiency encoder 306,
The signal is output to the Y signal determiner 307, the R signal determiner 308, and the B signal determiner 309. In the high-efficiency encoder 306, the orthogonal transformer 303 orthogonally transforms the blocked image signal and rearranges the transform coefficients. Then, this signal is given to the quantizer 304 and the compression controller 310.

【0066】Y信号判定器307は、入力されたY信号
のブロックに対して、図6に示すような判定を行う。即
ち各画素の輝度レベルのしきい値をThx、Thx,T
hz(Thx>Thy>Thz)に設定し、Thx以上
の画素数がx個以上であれば、Y判定情報として判定結
果Yxを出力する。またThy以上の画素数がy個以上
であれば、Y判定情報として判定結果Yyを出力し、T
hz以上の画素数がz個以上であれば、Y判定情報とし
て判定結果Yzを出力する。そしてこれ以外の場合、判
定結果Yoを出力する。
The Y signal judging device 307 judges the inputted Y signal block as shown in FIG. That is, the threshold of the brightness level of each pixel is set to Thx, Thx, T
When hz (Thx>Thy> Thz) is set and the number of pixels Thx or more is x or more, the determination result Yx is output as Y determination information. If the number of pixels of Thy or more is y or more, the determination result Yy is output as Y determination information, and T
If the number of pixels of hz or more is z or more, the determination result Yz is output as Y determination information. In other cases, the determination result Yo is output.

【0067】R信号判定器308とB信号判定器309
は、入力された色差信号であるR−Y信号とB−Y信号
の夫々のブロックに対して、図3に示されるように、あ
るしきい値以上のレベルの画素が所定の個数以上である
ことを条件として判定を行い、その結果をR判定情報、
B判定情報として圧縮制御器310に出力する。圧縮制
御器310は、入力された3個の判定情報に基づき、両
色差ブロックに対して図45に示す一意のRB判定情報
を決定する。そして圧縮制御器310は、RB判定情報
と直交変換器303の出力から、夫々の色差信号の圧縮
率を決定して圧縮制御信号を量子化器304に出力す
る。以降の処理は第1および第2実施例と同じである。
R signal determiner 308 and B signal determiner 309
Is a predetermined number or more of pixels having a level equal to or higher than a certain threshold value as shown in FIG. 3 for each block of the RY signal and the BY signal which are input color difference signals. Determination is made on the condition that the result is R determination information,
It outputs to the compression controller 310 as B determination information. The compression controller 310 determines the unique RB determination information shown in FIG. 45 for both color difference blocks based on the input three determination information. Then, the compression controller 310 determines the compression rate of each color difference signal from the RB determination information and the output of the orthogonal transformer 303, and outputs the compression control signal to the quantizer 304. The subsequent processing is the same as in the first and second embodiments.

【0068】以上のように第4実施例では、Y信号判定
器307、R信号判定器308、B信号判定器309で
夫々得られた判定情報を用いて、各色差信号に一意の判
定情報を決めて、その判定情報に基づいて各色差信号の
圧縮率を決定する。これにより、輝度信号のレベルにも
対応することが可能になり、第2実施例よりもさらに細
かい制御を行うことが可能になる。このため画質劣化の
視覚的な認知度に対応して、より適応的に圧縮率を変化
させることができる。従って、第2実施例の場合より改
善効果は大きい。
As described above, in the fourth embodiment, the judgment information obtained by the Y signal judgment unit 307, the R signal judgment unit 308, and the B signal judgment unit 309 is used to determine unique judgment information for each color difference signal. Then, the compression rate of each color difference signal is determined based on the determination information. As a result, it is possible to deal with the level of the luminance signal, and it is possible to perform finer control than in the second embodiment. For this reason, the compression rate can be changed more adaptively in accordance with the degree of visual recognition of image quality deterioration. Therefore, the improvement effect is greater than in the case of the second embodiment.

【0069】次に第5実施例における符号化装置の動作
を説明する。図5において入力端子301より入力され
たデジタル画像信号は、圧縮制御器310までの過程に
おいては、第4実施例と全く同じように信号処理をされ
る。圧縮制御器310では、第4実施例と同様な方法で
RB判定情報を決定し、RB判定情報と直交変換器30
3の出力を用いて、R−Y信号の圧縮率を決定して圧縮
制御信号を量子化器304に出力する。以降の処理は第
4実施例と同じである。
Next, the operation of the coding apparatus in the fifth embodiment will be described. In FIG. 5, the digital image signal input from the input terminal 301 is processed in exactly the same way as in the fourth embodiment in the process up to the compression controller 310. The compression controller 310 determines RB determination information by the same method as in the fourth embodiment, and determines the RB determination information and the orthogonal transformer 30.
The output of No. 3 is used to determine the compression ratio of the RY signal and the compression control signal is output to the quantizer 304. The subsequent processing is the same as in the fourth embodiment.

【0070】このように第5実施例では、Y信号判定器
307、R信号判定器308、B信号判定器309で夫
々得られた判定情報を用いて、R−Y信号に一意の判定
情報を決めてからR−Y信号のブロックの圧縮率を決定
する。これにより、第3実施例の場合と同様の理由か
ら、赤色だけを保護するだけでも第4実施例と同様の効
果が得られ、回路規模も第4実施例の場合より減少す
る。
As described above, in the fifth embodiment, by using the determination information obtained by the Y signal determination unit 307, the R signal determination unit 308, and the B signal determination unit 309, the determination information unique to the RY signal is given. After determining, the compression rate of the block of the RY signal is determined. Thus, for the same reason as in the case of the third embodiment, even if only the red color is protected, the same effect as that of the fourth embodiment can be obtained, and the circuit scale is reduced as compared with the case of the fourth embodiment.

【0071】なお第4及び第5実施例において、Y信号
判定器307、R信号判定器308、B信号判定器30
9の判定方法として、各信号のブロック内の画素のレベ
ルの平均値が所定のレベル以上のブロックを、高輝度の
ブロックとすることも可能であるし、直交変換後のデー
タを利用して判定することも可能である。またR信号判
定器308とB信号判定器309におけるしきい値の数
及びそのレベルは任意であり、R−Y信号とB−Y信号
でしきい値が違ってもよい。また圧縮率を低く設定した
色差信号のブロックと、画面上で同位置にある輝度信号
のブロックを低圧縮率にすることにより、さらに効果的
な符号化を行うことができる。なお本実施例において、
高能率符号化器として直交変換器を用いない符号化器を
使用することも可能であり、圧縮制御器で直交変換器の
出力を用いずに圧縮率を設定することも可能である。
In the fourth and fifth embodiments, the Y signal judging device 307, the R signal judging device 308, and the B signal judging device 30.
As the determination method of No. 9, it is possible to set a block in which the average value of the pixel levels in each signal block is equal to or higher than a predetermined level as a high-luminance block, and use the data after orthogonal transformation to make the determination. It is also possible to do so. Further, the number and level of thresholds in the R signal determiner 308 and the B signal determiner 309 are arbitrary, and the thresholds may be different between the RY signal and the BY signal. Further, by further reducing the compression rate of the block of the color difference signal for which the compression rate is set low and the block of the luminance signal at the same position on the screen, it is possible to perform more effective encoding. In this example,
An encoder that does not use an orthogonal transformer can be used as the high-efficiency encoder, and the compression rate can be set by the compression controller without using the output of the orthogonal transformer.

【0072】[0072]

【発明の効果】以上のように本発明の符号化装置は、視
覚的に画質劣化が分かりにくい部分を選択して圧縮率を
高くし、逆に視覚的劣化を認知しやすい部分の圧縮率を
低くすることができ、画像の情報量を増加させないで画
面全体としての画質を向上することができる。しかも、
従来の符号化装置に簡単な回路を追加するだけで画質改
善の大きな効果が得られ、その実用的効果は大きい。
As described above, the coding apparatus of the present invention selects a portion whose image quality deterioration is hard to be visually recognized to increase the compression rate, and conversely sets the compression rate of the portion where visual deterioration is easily recognized. The image quality of the entire screen can be improved without increasing the information amount of the image. Moreover,
Only by adding a simple circuit to the conventional coding device, a great effect of improving the image quality can be obtained, and the practical effect thereof is great.

【図面の簡単な説明】[Brief description of drawings]

【図1】本発明の第1実施例における符号化装置の構成
を示すブロック図である。
FIG. 1 is a block diagram showing a configuration of an encoding device according to a first embodiment of the present invention.

【図2】本発明の第2及び第3実施例における符号化装
置の構成を示すブロック図である。
FIG. 2 is a block diagram showing a configuration of an encoding device according to second and third embodiments of the present invention.

【図3】各実施例のR信号判定器及びB信号判定器の動
作を示す説明図である。
FIG. 3 is an explanatory diagram showing operations of an R signal determiner and a B signal determiner of each embodiment.

【図4】本発明の第2〜第5実施例における圧縮制御器
の動作を示す説明図である。
FIG. 4 is an explanatory diagram showing the operation of the compression controller in the second to fifth embodiments of the present invention.

【図5】本発明の第4及び第5実施例における符号化装
置の構成を示すブロック図である。
FIG. 5 is a block diagram showing a configuration of an encoding device according to fourth and fifth embodiments of the present invention.

【図6】第4及第5実施例におけるY信号判定器の動作
を示す説明図である。
FIG. 6 is an explanatory diagram showing the operation of the Y signal judging device in the fourth and fifth embodiments.

【図7】従来の符号化装置の構成例を示すブロック図で
ある。
FIG. 7 is a block diagram showing a configuration example of a conventional encoding device.

【図8】符号化装置内の並び換え回路の動作を示す説明
図である。
FIG. 8 is an explanatory diagram showing an operation of a rearrangement circuit in the encoding device.

【符号の説明】[Explanation of symbols]

101,201,301 入力端子 102,202,302 ブロック化器 103,203,303 直交変換器 104,204,304 量子化器 105,205,305 符号化器 106,206,306 高能率符号化器 107,307 Y信号判定器 207,308 R信号判定器 208,309 B信号判定器 108,209,310 圧縮制御器 109,210,310 出力端子 101, 201, 301 Input terminal 102, 202, 302 Blocker 103, 203, 303 Orthogonal transformer 104, 204, 304 Quantizer 105, 205, 305 Encoder 106, 206, 306 High efficiency encoder 107 , 307 Y signal determiner 207, 308 R signal determiner 208, 309 B signal determiner 108, 209, 310 Compression controller 109, 210, 310 Output terminal

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.6 識別記号 庁内整理番号 FI 技術表示箇所 H04N 7/30 ─────────────────────────────────────────────────── ─── Continuation of the front page (51) Int.Cl. 6 Identification code Office reference number FI technical display location H04N 7/30

Claims (32)

【特許請求の範囲】[Claims] 【請求項1】 入力デジタル画像信号の輝度信号(Y信
号)と2つの色差信号(R−Y信号,B−Y信号)を所
定の大きさのブロックに分割するブロック化器と、 前記ブロック化器から得られる輝度信号のブロックの各
画素の輝度レベルに基づいてY判定情報を出力するY信
号判定器と、 前記Y判定情報を用いて、各ブロックの圧縮率を制御す
るための圧縮制御信号を出力する圧縮制御器と、 前記圧縮制御器の圧縮制御信号に基づいて、前記ブロッ
ク化器の出力信号を圧縮符号化する高能率符号化器と、
を具備し、 前記圧縮制御器は、 前記Y信号判定器で高輝度と判定されたY信号のブロッ
クと画面上で同位置にある色差信号のブロックに対し
て、圧縮率を高くするものであることを特徴とする符号
化装置。
1. A blocker for dividing a luminance signal (Y signal) and two color difference signals (RY signal, BY signal) of an input digital image signal into blocks of a predetermined size, and the blocker. A Y signal determiner that outputs Y determination information based on the luminance level of each pixel of the block of the luminance signal obtained from the device, and a compression control signal for controlling the compression ratio of each block using the Y determination information. A compression controller that outputs, based on a compression control signal of the compression controller, a high efficiency encoder that compression-encodes the output signal of the blocker,
The compression controller increases a compression rate for a block of a color difference signal located at the same position on the screen as a block of the Y signal determined to have high brightness by the Y signal determiner. An encoding device characterized by the above.
【請求項2】 前記Y信号判定器は、 輝度判定すべきブロック内で、所定レベル以上の輝度を
有する画素が規定の個数以上ある場合に、高輝度のブロ
ックと判定することを特徴とする請求項1記載の符号化
装置。
2. The Y signal judging device judges as a high-luminance block when there are a prescribed number or more of pixels having a luminance of a predetermined level or higher in the block to be subjected to luminance judgment. The encoding device according to item 1.
【請求項3】 前記Y信号判定器は、 輝度判定すべきY信号のブロック内で、全画素の輝度レ
ベルの平均値が規定値以上である場合に、高輝度のブロ
ックと判定することを特徴とする請求項1記載の符号化
装置。
3. The Y signal judging device judges as a high-luminance block when the average value of the luminance levels of all pixels in the Y-signal block to be subjected to luminance judgment is equal to or more than a specified value. The encoding device according to claim 1.
【請求項4】 前記高能率符号化器は、 前記ブロック化器の信号が入力され、画像信号の直交変
換を行う直交変換器と、 前記直交変換器で直交変換されたブロックの符号量が、
規定の符号量以下になるように前記圧縮制御器の圧縮制
御信号に基づき量子化ステップ幅を選択して量子化を行
う量子化器と、 前記量子化器の出力データを符号化する符号化器と、を
有するものであることを特徴とする請求項1記載の符号
化装置。
4. The high-efficiency encoder is configured such that a signal from the blocker is input, an orthogonal transformer that performs orthogonal transformation of an image signal, and a code amount of a block that has been orthogonally transformed by the orthogonal transformer,
A quantizer that performs quantization by selecting a quantization step width based on a compression control signal of the compression controller so as to be equal to or less than a specified code amount, and an encoder that encodes output data of the quantizer The encoding device according to claim 1, wherein the encoding device comprises:
【請求項5】 入力デジタル画像信号の輝度信号(Y信
号)と2つの色差信号(R−Y信号,B−Y信号)を所
定の大きさのブロックに分割するブロック化器と、 前記ブロック化器から得られるR−Y色差信号のブロッ
クの色差信号に基づいてR判定情報を出力するR信号判
定器と、 前記ブロック化器から得られるB−Y色差信号のブロッ
クの色差信号に基づいてB判定情報を出力するB信号判
定器と、 前記R判定情報とB判定情報とを用いて、各ブロックの
圧縮率を制御するための圧縮制御信号を出力する圧縮制
御器と、 前記圧縮制御器の圧縮制御信号に基づいて、前記ブロッ
ク化器の出力を圧縮符号化する高能率符号化器と、を具
備し、 前記圧縮制御器は、 画面上で同位置にある2つの色差信号のブロックの判定
情報である前記R判定情報と前記B判定情報の組合せ
で、前記2つの色差信号のブロックに対して一意の色差
判定情報を決定し、前記色差判定情報を用いて前記2つ
の色差信号のブロックの圧縮制御信号を決定することに
より、色相に対応して適応的に圧縮率を制御することを
特徴とする符号化装置。
5. A blocker for dividing a luminance signal (Y signal) and two color difference signals (RY signal, BY signal) of an input digital image signal into blocks of a predetermined size, and the blocker. R signal determiner that outputs R determination information based on the color difference signal of the block of the RY color difference signal obtained from the block, and B based on the color difference signal of the block of the BY color difference signal obtained from the blocker. A B signal determiner that outputs determination information; a compression controller that outputs a compression control signal for controlling the compression ratio of each block using the R determination information and B determination information; A high-efficiency encoder that compresses and encodes the output of the blocker based on a compression control signal, the compression controller determining blocks of two color difference signals located at the same position on the screen. R judgment that is information The combination of the information and the B determination information determines unique color difference determination information for the two color difference signal blocks, and the color difference determination information is used to determine the compression control signal for the two color difference signal blocks. Accordingly, the encoding device is characterized in that the compression rate is adaptively controlled according to the hue.
【請求項6】 前記R信号判定器及びB信号判定器は、 R判定及びB判定すべきブロック内で、所定レベル以上
の色差を有する画素が規定の個数以上あることを判定基
準とするものであることを特徴とする請求項5記載の符
号化装置。
6. The R signal determiner and the B signal determiner are based on a criterion that the number of pixels having a color difference of a predetermined level or more is equal to or more than a prescribed number in a block to be subjected to the R determination and the B determination. The coding apparatus according to claim 5, wherein the coding apparatus is present.
【請求項7】 前記R信号判定器及びB信号判定器は、 R判定及びB判定すべきブロック内で、全画素の色差の
平均値が規定値以上であることを判定基準とするもので
あることを特徴とする請求項5記載の符号化装置。
7. The R signal judging device and the B signal judging device use a judgment criterion that an average value of color differences of all pixels in a block to be subjected to the R judgment and the B judgment is a specified value or more. The encoding device according to claim 5, wherein
【請求項8】 前記R信号判定器及びB信号判定器は、 色差レベルの判定基準値が複数組み設定されたものであ
ることを特徴とする請求項5〜7のいずれか1項記載の
符号化装置。
8. The code according to claim 5, wherein the R signal determiner and the B signal determiner are set with a plurality of sets of determination reference values of color difference levels. Device.
【請求項9】 前記R信号判定器及びB信号判定器は、 色差レベルの判定基準値が複数組み設定されており、R
−Y信号とB−Y信号とでその基準値が異なることを特
徴とする請求項5〜8のいずれか1項記載の符号化装
置。
9. The R signal judging device and the B signal judging device are set with a plurality of sets of judgment reference values of color difference levels.
9. The encoding device according to claim 5, wherein the −Y signal and the BY signal have different reference values.
【請求項10】 前記高能率符号化器は、 前記ブロック化器の信号が入力され、画像信号の直交変
換を行う直交変換器と、 前記直交変換器で直交変換されたブロックの符号量が、
規定の符号量以下になるように前記圧縮制御器の圧縮制
御信号に基づき量子化ステップ幅を選択して量子化を行
う量子化器と、 前記量子化器の出力データを符号化する符号化器と、を
有するものであることを特徴とする請求項5記載の符号
化装置。
10. The high-efficiency encoder is configured such that a signal from the blocker is input, an orthogonal transformer that performs orthogonal transformation of an image signal, and a code amount of a block that has been orthogonally transformed by the orthogonal transformer,
A quantizer that performs quantization by selecting a quantization step width based on a compression control signal of the compression controller so as to be equal to or less than a specified code amount, and an encoder that encodes output data of the quantizer The encoding device according to claim 5, further comprising:
【請求項11】 前記圧縮制御器は、 低圧縮率に設定された色差信号と画面上で同位置にある
ブロックの輝度信号に対しても、低圧縮率に設定する圧
縮制御信号を出力することを特徴とする請求項5記載の
符号化装置。
11. The compression controller outputs a compression control signal for setting a low compression rate to a luminance signal of a block located at the same position on the screen as a color difference signal set to a low compression rate. The encoding device according to claim 5, characterized in that:
【請求項12】 入力デジタル画像信号の輝度信号(Y
信号)と2つの色差信号(R−Y信号,B−Y信号)を
所定の大きさのブロックに分割するブロック化器と、 前記ブロック化器から得られるR−Y色差信号のブロッ
クの色差信号に基づいてR判定情報を出力するR信号判
定器と、 前記ブロック化器から得られるB−Y色差信号のブロッ
クの色差信号に基づいてB判定情報を出力するB信号判
定器と、 前記R判定情報とB判定情報とを用いて、各ブロックの
圧縮率を制御するための圧縮制御信号を出力する圧縮制
御器と、 前記圧縮制御器の圧縮制御信号に基づいて、前記ブロッ
ク化器の出力を圧縮符号化する高能率符号化器と、を具
備し、 前記圧縮制御器は、 画面上で同位置にある2つの色差信号のブロックの判定
情報である前記R判定情報と前記B判定情報の組合せ
で、R−Y信号のブロックの圧縮制御信号を決定するこ
とにより、適応的に赤色の圧縮率を制御することを特徴
とする符号化装置。
12. A luminance signal (Y
Signal) and two color difference signals (RY signal, BY signal) into blocks of a predetermined size, and a color difference signal of the block of RY color difference signals obtained from the blocker. An R signal determiner that outputs R determination information based on the above, a B signal determiner that outputs B determination information based on the color difference signal of the block of the BY color difference signal obtained from the blocker, and the R determination A compression controller that outputs a compression control signal for controlling the compression ratio of each block using the information and the B determination information, and an output of the blocker based on the compression control signal of the compression controller. A high-efficiency encoder for compression-encoding, wherein the compression controller is a combination of the R determination information and the B determination information, which is determination information of blocks of two color difference signals located at the same position on the screen. The RY signal By determining the compression control signal click, the encoding apparatus characterized by adaptively controlling the red compressibility.
【請求項13】 前記R信号判定器及びB信号判定器
は、 R判定及びB判定すべきブロック内で、所定レベル以上
の色差を有する画素が規定の個数以上あることを判定基
準とするものであることを特徴とする請求項12記載の
符号化装置。
13. The R signal determiner and the B signal determiner use, as a criterion, the number of pixels having a color difference of a predetermined level or more in a predetermined number or more in a block to be subjected to the R determination and the B determination. The coding device according to claim 12, wherein the coding device is present.
【請求項14】 前記R信号判定器及びB信号判定器
は、 R判定及びB判定すべきブロック内で、全画素の色差レ
ベルの平均値が規定値以上であることを判定基準とする
ものであることを特徴とする請求項12記載の符号化装
置。
14. The R signal determiner and the B signal determiner use, as a criterion for determination, an average value of color difference levels of all pixels in a block to be subjected to R and B determinations is a specified value or more. The coding device according to claim 12, wherein the coding device is present.
【請求項15】 前記R信号判定器及びB信号判定器
は、 色差レベルの判定基準値が複数組み設定されたものであ
ることを特徴とする請求項12〜14のいずれか1項記
載の符号化装置。
15. The code according to claim 12, wherein the R signal determiner and the B signal determiner have a plurality of sets of determination reference values of color difference levels. Device.
【請求項16】 前記R信号判定器及びB信号判定器
は、 色差レベルの判定基準値が複数組み設定されており、R
−Y信号とB−Y信号とでその基準値が異なることを特
徴とする請求項12〜14のいずれか1項記載の符号化
装置。
16. The R signal determiner and the B signal determiner are provided with a plurality of sets of color difference level determination reference values.
The encoding device according to any one of claims 12 to 14, wherein the −Y signal and the BY signal have different reference values.
【請求項17】 前記高能率符号化器は、 前記ブロック化器の信号が入力され、画像信号の直交変
換を行う直交変換器と、 前記直交変換器で直交変換されたブロックの符号量が、
規定の符号量以下になるように前記圧縮制御器の圧縮制
御信号に基づき量子化ステップ幅を選択して量子化を行
う量子化器と、 前記量子化器の出力データを符号化する符号化器と、を
有するものであることを特徴とする請求項12記載の符
号化装置。
17. The high-efficiency encoder receives a signal from the blocker as an orthogonal transformer for orthogonally transforming an image signal, and a code amount of a block orthogonally transformed by the orthogonal transformer,
A quantizer that performs quantization by selecting a quantization step width based on a compression control signal of the compression controller so as to be equal to or less than a specified code amount, and an encoder that encodes output data of the quantizer The encoding device according to claim 12, further comprising:
【請求項18】 前記圧縮制御器は、 低圧縮率に設定された赤の色差信号と画面上で同位置に
あるブロックの輝度信号に対しても、低圧縮率に設定す
る圧縮制御信号を出力することを特徴とする請求項12
記載の符号化装置。
18. The compression controller outputs a compression control signal for setting a low compression ratio even for a luminance signal of a block located at the same position on the screen as a red color difference signal set for a low compression ratio. 13. The method according to claim 12, wherein
Encoding device described.
【請求項19】 入力デジタル画像信号の輝度信号(Y
信号)と2つの色差信号(R−Y信号,B−Y信号)を
所定の大きさのブロックに分割するブロック化器と、 前記ブロック化器から得られる輝度信号のブロックの各
画素について輝度レベルに基づいて、Y判定情報を出力
するY信号判定器と、 前記ブロック化器から得られるR−Y色差信号のブロッ
クの色差信号に基づいてR判定情報を出力するR信号判
定器と、 前記ブロック化器から得られるB−Y色差信号のブロッ
クの色差信号に基づいてB判定情報を出力するB信号判
定器と、 前記Y判定情報、R判定情報、及びB判定情報を用い
て、各ブロックの圧縮率を制御するための圧縮制御信号
を出力する圧縮制御器と、 前記圧縮制御器の圧縮制御信号に基づいて、前記ブロッ
ク化器の出力を圧縮符号化する高能率符号化器と、を具
備し、 前記圧縮制御器は、 画面上で同位置にある輝度信号と2つの色差信号のブロ
ックの判定情報である前記Y判定情報とR判定情報とB
判定情報の組合せにより、前記2つの色差信号のブロッ
クに対して一意の色差判定情報を決定し、前記色差判定
情報を用いて前記2つの色差信号のブロックの圧縮制御
信号を決定することにより、色相に対応して適応的に圧
縮率を制御することを特徴とする符号化装置。
19. A luminance signal (Y
Signal) and two color difference signals (RY signal, BY signal) into blocks of a predetermined size, and a luminance level for each pixel of the block of luminance signals obtained from the blocker. A Y signal determiner that outputs Y determination information based on the above, and an R signal determiner that outputs R determination information based on the color difference signal of the block of the RY color difference signal obtained from the blocker; Of the B-Y color difference signal obtained from the B / Y color difference signal of the block based on the color difference signal of the block, and the Y determination information, the R determination information, and the B determination information. A compression controller that outputs a compression control signal for controlling the compression rate, and a high efficiency encoder that compression-encodes the output of the blocker based on the compression control signal of the compression controller. Then Serial compressor controller, the Y determination information and R judgment information and B on the screen is a luminance signal and determination information of the blocks of the two color difference signals in the same position
The combination of the determination information determines the unique color difference determination information for the two color difference signal blocks, and the color difference determination information is used to determine the compression control signal for the two color difference signal blocks to obtain the hue. An encoding device characterized by adaptively controlling the compression rate in accordance with the above.
【請求項20】 前記Y信号判定器、R信号判定器、及
びB信号判定器は、 Y判定、R判定、及びB判定すべきブロック内で、所定
レベル以上の画素が規定の個数以上あることを判定基準
とするものであることを特徴とする請求項19記載の符
号化装置。
20. The Y signal determiner, the R signal determiner, and the B signal determiner each have a predetermined number or more of pixels of a predetermined level or higher in a block to be subjected to Y determination, R determination, and B determination. 20. The encoding device according to claim 19, characterized in that
【請求項21】 前記Y信号判定器、R信号判定器、及
びB信号判定器は、 Y判定、R判定、及びB判定すべきブロック内で、全画
素のレベルの平均値が規定値以上であることを判定基準
とするものであることを特徴とする請求項19記載の符
号化装置。
21. The Y signal determiner, the R signal determiner, and the B signal determiner are such that the average value of the levels of all pixels is equal to or more than a specified value in a block to be subjected to Y determination, R determination, and B determination. 20. The encoding apparatus according to claim 19, wherein the determination criterion is that there is.
【請求項22】 前記R信号判定器及びB信号判定器
は、 色差レベルの判定基準値が複数組み設定されたものであ
ることを特徴とする請求項19〜21のいずれか1項記
載の符号化装置。
22. The code according to claim 19, wherein the R signal determiner and the B signal determiner are set with a plurality of sets of color difference level determination reference values. Device.
【請求項23】 前記R信号判定器及びB信号判定器
は、 色差レベルの判定基準値が複数組み設定されており、R
−Y信号とB−Y信号とでその基準値が異なることを特
徴とする請求項19〜22のいずれか1項記載の符号化
装置。
23. In the R signal judging device and the B signal judging device, a plurality of sets of judgment reference values of color difference levels are set, and
The encoding device according to any one of claims 19 to 22, wherein the reference values of the -Y signal and the BY signal are different.
【請求項24】 前記高能率符号化器は、 前記ブロック化器の信号が入力され、画像信号の直交変
換を行う直交変換器と、 前記直交変換器で直交変換されたブロックの符号量が、
規定の符号量以下になるように前記圧縮制御器の圧縮制
御信号に基づき量子化ステップ幅を選択して量子化を行
う量子化器と、 前記量子化器の出力データを符号化する符号化器と、を
有するものであることを特徴とする請求項19記載の符
号化装置。
24. The high-efficiency encoder, wherein the signal of the blocker is input, an orthogonal transformer that performs orthogonal transformation of an image signal, and a code amount of a block that is orthogonally transformed by the orthogonal transformer,
A quantizer that performs quantization by selecting a quantization step width based on a compression control signal of the compression controller so as to be equal to or less than a specified code amount, and an encoder that encodes output data of the quantizer 20. The encoding apparatus according to claim 19, further comprising:
【請求項25】 前記圧縮制御器は、 低圧縮率に設定された色差信号と画面上で同位置にある
ブロックの輝度信号に対しても、低圧縮率に設定する圧
縮制御信号を出力することを特徴とする請求項19記載
の符号化装置。
25. The compression controller outputs a compression control signal for setting a low compression rate to a luminance signal of a block located at the same position on the screen as a color difference signal set to a low compression rate. 20. The encoding device according to claim 19, wherein:
【請求項26】 入力デジタル画像信号の輝度信号(Y
信号)と2つの色差信号(R−Y信号,B−Y信号)を
所定の大きさのブロックに分割するブロック化器と、 前記ブロック化器から得られる輝度信号のブロックの各
画素について輝度レベルを調べ、Y判定情報を出力する
Y信号判定器と、 前記ブロック化器から得られるR−Y色差信号のブロッ
クの色差信号に基づいてR判定情報を出力するR信号判
定器と、 前記ブロック化器から得られるB−Y色差信号のブロッ
クの色差信号に基づいてB判定情報を出力するB信号判
定器と、 前記Y判定情報、R判定情報、及びB判定情報を用い
て、各ブロックの圧縮率を制御するための圧縮制御信号
を出力する圧縮制御器と、 前記圧縮制御器の圧縮制御信号に基づいて、前記ブロッ
ク化器の出力信号を圧縮符号化する高能率符号化器と、
を具備し、 前記圧縮制御器は、 画面上で同位置にある輝度信号と2つの色差信号のブロ
ックの判定情報である前記Y判定情報とR判定情報とB
判定情報の組合せにより、R−Y信号のブロックの量子
化制御信号を決定することにより、適応的に赤色の圧縮
率を制御することを特徴とする符号化装置。
26. A luminance signal (Y
Signal) and two color difference signals (RY signal, BY signal) into blocks of a predetermined size, and a luminance level for each pixel of a block of luminance signals obtained from the blocker. And a Y signal determiner that outputs Y determination information, an R signal determiner that outputs R determination information based on the color difference signal of the block of the RY color difference signal obtained from the blocker, and the blocking Compressing each block using a B signal determiner that outputs B determination information based on the color difference signal of the block of BY color difference signal obtained from the device, and the Y determination information, R determination information, and B determination information. A compression controller that outputs a compression control signal for controlling the rate, based on the compression control signal of the compression controller, a high-efficiency encoder that compression-encodes the output signal of the blocker,
The compression controller includes the Y determination information, the R determination information, and the B determination information, which are determination information of blocks of a luminance signal and two color difference signals located at the same position on the screen.
An encoding device which adaptively controls the compression ratio of red color by determining a quantization control signal of a block of an RY signal based on a combination of determination information.
【請求項27】 前記Y信号判定器、R信号判定器、及
びB信号判定器は、 Y判定、R判定、及びB判定すべきブロック内で、所定
レベル以上の画素が規定の個数以上あることを判定基準
とするものであることを特徴とする請求項26記載の符
号化装置。
27. The Y signal determiner, the R signal determiner, and the B signal determiner each have a predetermined number or more of pixels of a predetermined level or higher in a block to be subjected to Y determination, R determination, and B determination. 27. The encoding device according to claim 26, characterized in that
【請求項28】 前記Y信号判定器、R信号判定器、及
びB信号判定器は、 Y判定、R判定、及びB判定すべきブロック内で、全画
素のレベルの平均値が規定値以上であることを判定基準
とするものであることを特徴とする請求項26記載の符
号化装置。
28. The Y signal determiner, the R signal determiner, and the B signal determiner are such that the average value of the levels of all pixels is equal to or more than a specified value in a block to be subjected to Y determination, R determination, and B determination. 27. The encoding device according to claim 26, wherein the determination criterion is that there is.
【請求項29】 前記R信号判定器及びB信号判定器
は、 色差レベルの判定基準値が複数組み設定されたものであ
ることを特徴とする請求項26〜28のいずれか1項記
載の符号化装置。
29. The code according to claim 26, wherein the R signal determiner and the B signal determiner are set with a plurality of sets of color difference level determination reference values. Device.
【請求項30】 前記R信号判定器及びB信号判定器
は、 色差レベルの判定基準値が複数組み設定されており、R
−Y信号とB−Y信号とでその基準値が異なることを特
徴とする請求項26〜29のいずれか1項記載の符号化
装置。
30. A plurality of sets of color difference level judgment reference values are set in the R signal judging device and the B signal judging device.
30. The encoding apparatus according to claim 26, wherein the −Y signal and the BY signal have different reference values.
【請求項31】 前記高能率符号化器は、 前記ブロック化器の信号が入力され、画像信号の直交変
換を行う直交変換器と、 前記直交変換器で直交変換されたブロックの符号量が、
規定の符号量以下になるように前記圧縮制御器の圧縮制
御信号に基づき量子化ステップ幅を選択して量子化を行
う量子化器と、 前記量子化器の出力データを符号化する符号化器と、を
有するものであることを特徴とする請求項26記載の符
号化装置。
31. The high-efficiency encoder is configured such that a signal from the blocker is input, an orthogonal transformer that performs orthogonal transformation of an image signal, and a code amount of a block that is orthogonally transformed by the orthogonal transformer,
A quantizer that performs quantization by selecting a quantization step width based on a compression control signal of the compression controller so as to be equal to or less than a specified code amount, and an encoder that encodes output data of the quantizer 27. The encoding apparatus according to claim 26, further comprising:
【請求項32】 前記圧縮制御器は、 低圧縮率に設定されたR−Y色差信号と画面上で同位置
にあるブロックの輝度信号に対しても、低圧縮率に設定
する圧縮制御信号を出力することを特徴とする請求項2
6記載の符号化装置。
32. The compression controller sets a compression control signal to be set to a low compression rate even for a luminance signal of a block located at the same position on the screen as the RY color difference signal set to a low compression rate. It outputs, It is characterized by the above-mentioned.
6. The encoding device according to item 6.
JP14076294A 1994-05-30 1994-05-30 Coder Pending JPH07322298A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP14076294A JPH07322298A (en) 1994-05-30 1994-05-30 Coder

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP14076294A JPH07322298A (en) 1994-05-30 1994-05-30 Coder

Publications (1)

Publication Number Publication Date
JPH07322298A true JPH07322298A (en) 1995-12-08

Family

ID=15276156

Family Applications (1)

Application Number Title Priority Date Filing Date
JP14076294A Pending JPH07322298A (en) 1994-05-30 1994-05-30 Coder

Country Status (1)

Country Link
JP (1) JPH07322298A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100853931B1 (en) * 2006-03-15 2008-08-25 후지쯔 가부시끼가이샤 Video coding apparatus and recording medium
JP2018050256A (en) * 2016-09-23 2018-03-29 日本電信電話株式会社 Video encoding method, video encoding apparatus, and video encoding program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100853931B1 (en) * 2006-03-15 2008-08-25 후지쯔 가부시끼가이샤 Video coding apparatus and recording medium
JP2018050256A (en) * 2016-09-23 2018-03-29 日本電信電話株式会社 Video encoding method, video encoding apparatus, and video encoding program

Similar Documents

Publication Publication Date Title
EP0535963B1 (en) Orthogonal transformation encoder
EP0296608B1 (en) Encoding of a picture signal in consideration of contrast in each picture and decoding corresponding to the encoding
EP0510933B1 (en) Image processing apparatus and method
JP5107495B2 (en) Quality-based image compression
US5323187A (en) Image compression system by setting fixed bit rates
JP3106749B2 (en) Adaptive dynamic range coding device
KR20030036129A (en) Variance based adaptive block size dct image compression
US7149350B2 (en) Image compression apparatus, image depression apparatus and method thereof
US7046387B1 (en) Efficient coding of color images including monochrome images
JPH07322298A (en) Coder
EP1691560B1 (en) Video coder providing implicit coefficient prediction for image coding and intra coding of video
JPH04368088A (en) Adaptive coding system for ac component in moving picture orthogonal transformation system
JP2006304198A (en) Image compressing device
JP3409421B2 (en) High efficiency coding device
JPH03283989A (en) Color picture coding system
EP0339938B1 (en) Method and system for compressing colour video encoded data
JP3517455B2 (en) Image coding method and apparatus
JP2872149B2 (en) Image coding device
JPH07255054A (en) Image encoding device
JP2913950B2 (en) Orthogonal transform coding device
JP3517454B2 (en) Image encoding apparatus and image encoding method
CA2227487C (en) Video coder providing implicit or explicit prediction for image coding and intra coding of video
JPH09322164A (en) Image signal compressor and image signal expander
Prangnell et al. Spatiotemporal Adaptive Quantization for the Perceptual Video Coding of RGB 4: 4: 4 Data
JPH07135671A (en) Orthogonal transformation coder