JPS5947912B2 - Color image encoding processing method - Google Patents
Color image encoding processing methodInfo
- Publication number
- JPS5947912B2 JPS5947912B2 JP54017072A JP1707279A JPS5947912B2 JP S5947912 B2 JPS5947912 B2 JP S5947912B2 JP 54017072 A JP54017072 A JP 54017072A JP 1707279 A JP1707279 A JP 1707279A JP S5947912 B2 JPS5947912 B2 JP S5947912B2
- Authority
- JP
- Japan
- Prior art keywords
- block
- component
- components
- encoding
- value
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired
Links
Landscapes
- Image Processing (AREA)
- Color Television Systems (AREA)
Description
【発明の詳細な説明】
本発明はカラー画像符号化処理方式、特にガラ一画像の
効率的な符号化にもとづいて、画面当りの符号量を削減
するカラー画像符号化処理方式に関するものである。DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a color image encoding processing method, and particularly to a color image encoding processing method that reduces the amount of code per screen based on efficient encoding of a single image.
従来のカラー画像の符号化法には主としてテレビジヨン
信号の高能率伝送を目的としたDPCM方式等の予測符
号化方式が知られている。As a conventional color image encoding method, a predictive encoding method such as a DPCM method is mainly known for the purpose of highly efficient transmission of television signals.
DPCM方式は、符号化すべき標本値より前の標本値を
利用して予測信号を作り符号化すべき標本値と予測信号
の差である予測誤差信号を量子化し伝送するものである
。画像信号の性質により予測誤差信号の振幅は狭い範囲
に集中して発生するため通常のPCMと比較して量子化
ビツト数を減らしても画質劣化はそれ程大きくはならな
い。しかしこれらの方式は、1標本点ごとにかならず予
測誤差信号を送る必要があり、また、予測誤差信号の量
子化に要するビツト数を、過負荷勾配雑音、粒状雑音、
偽輪郭等の画質劣化要因から極端にさげることができず
、さらに一般の動画像に適用するため、一画面分の符号
化を33ms内に行う必要があり、処理は単純なものに
限られるなどの欠点があつた。In the DPCM method, a prediction signal is created using a sample value before the sample value to be encoded, and a prediction error signal, which is the difference between the sample value to be encoded and the prediction signal, is quantized and transmitted. Because the amplitude of the prediction error signal is concentrated in a narrow range due to the nature of the image signal, even if the number of quantization bits is reduced compared to normal PCM, the deterioration in image quality will not be so great. However, in these methods, it is necessary to send a prediction error signal for each sample point, and the number of bits required for quantizing the prediction error signal is limited by overload gradient noise, granular noise,
It cannot be reduced to an extreme level due to image quality deterioration factors such as false contours, and furthermore, since it is applied to general moving images, it is necessary to encode one screen within 33 ms, and the processing is limited to simple ones. There were some shortcomings.
本発明は画像の符号化時間に関する制約を緩和し画像の
2次元的な局所的性質を利用してカラー画像を符号化す
ることを特徴とし、その目的は一画面当りの符号量を削
減することにある。The present invention is characterized by relaxing constraints on image encoding time and encoding color images by utilizing the two-dimensional local properties of images, and its purpose is to reduce the amount of code per screen. It is in.
第1図は本発明による符号化法の適用概念を説明する説
明図で、図中100は対象とするカラー画像、P,,は
画面上にとられた第i行第j列の画素、101−Y,l
Ol−I,lOl−Qはカラー信号をY,I,Qの3成
分に分離した場合のカラー画像100に対.応した各成
分の画像プレーンである。FIG. 1 is an explanatory diagram for explaining the application concept of the encoding method according to the present invention, in which 100 is a target color image, P,, is a pixel in the i-th row and j-th column taken on the screen, and 101 -Y,l
Ol-I and lOl-Q correspond to the color image 100 when the color signal is separated into three components, Y, I, and Q. These are the image planes of each component corresponding to each component.
画素P,,の値を〔P,,〕で示すことにすると一般に
画像は〔P,,〕の2次元分布によつて表現される。If the value of a pixel P, , is denoted by [P,,], an image is generally expressed by a two-dimensional distribution of [P,,].
そこで画像を符号化することは各画素の値〔P,,〕を
符号化することになる。カラー画像の表現法にζは上述
したYIQ分離法以外に赤緑青(R,G,B)の3原色
に分離する方法も知られている。ここでは、一般的RG
B分離に比べ符号量が少なくできると言われているY,
I,Q分離を行つた各画像プレーン101−Y,lOl
−I,lOl−Qを対象に,符号化するものとして説明
する。第2図は本発明の基本原理を説明する図であり、
第2図(a)における200はY,I,Qに分離された
カラー画像の対応する1プレーン(第1図図示例えば1
01−Yに相当する)を示し、Bkは1枚のプレーン2
00を例えば4×4画素を単位として区切つて切り出さ
れたプロツクを示し、第2図(b)の201は切り出さ
れたプロツクBkの拡大図である。Therefore, encoding an image means encoding the value [P,,] of each pixel. In addition to the above-mentioned YIQ separation method, a method of separating ζ into the three primary colors of red, green, and blue (R, G, and B) is also known as a method of expressing a color image. Here, general RG
Y, which is said to be able to reduce the amount of code compared to B separation,
Each image plane 101-Y, lOl after I and Q separation
-I, lOl-Q will be described as encoding. FIG. 2 is a diagram explaining the basic principle of the present invention,
200 in FIG. 2(a) corresponds to one plane (for example, 1 in FIG. 1) of a color image separated into Y, I, and Q.
01-Y), and Bk is one plane 2
201 in FIG. 2(b) is an enlarged view of the extracted block Bk.
本発明による符号化法では、Y、I,Qの各プレーンに
対して、プロツク201を単位として符号化を行う。す
なわち、1つのプレーンの符号化は、多数のプロツクに
分割して1つのプロツクBkの中に含まれる所のたとえ
ば16個の画素、P,,−P,f3,,f。の信号値〔
P,,〕〜〔P,,f。,,f。〕を次に示す階調成分
AkO,aklおよび分解能成分子,,〜R,l3,,
f3を用いて符号化する。ここでBk。In the encoding method according to the present invention, each plane of Y, I, and Q is encoded in units of blocks 201. That is, one plane is encoded by dividing it into a large number of blocks and including, for example, 16 pixels P, -P, f3, f, which are included in one block Bk. The signal value of [
P,,]~[P,,f. ,,f. ] are the following tone components AkO, akl and resolution component elements, , ~R, l3,,
Encode using f3. Bk here.
はBk内画素のうち信号値〔P,,〕が閾値Tkより小
さい画素P,,よりなるBkの部分集合、Bk,は閾値
Tk以上の画素P,,よりなるBkの部分集合である。
Mk。,mk,はそれぞれ部分集合Bk。,Bk,に含
まれる画素数を示す。この時Ak。,ak,をプロツク
Bkの階調成分と呼ぶ。このようにした場合Bkの画素
は互いに排他的な2つの部分集合Bk。,Bk,の2種
類に分類できる。そこでBk内の画素の内Bk。に属す
画素に符号゜“0’’を与え、Bk,に属す画素に符号
“’1’’を割り当てる時各画素P,,に対し、この符
号を式(1)の関係を用いてR,,〜R,f3,,f,
には上記の符号“’0’’,’“l’’を各々次のよう
に与える。これを分解能成分と呼ぶ。このようにしてプ
ロツクBk内の任意の画素の輝度を(1)式で得られる
AkO,aklのどちらかの信号で近似することが本符
号化の基本であり、符号化出力としては基本的に階調成
分Ak。is a subset of Bk consisting of pixels P, , whose signal value [P, ,] is smaller than the threshold Tk among the pixels in Bk, and Bk is a subset of Bk consisting of the pixels P, , whose signal value [P, ,] is smaller than the threshold Tk.
Mk. , mk, are each a subset Bk. , Bk, represents the number of pixels included in ,Bk. At this time Ak. , ak, are called tone components of block Bk. In this case, the pixels of Bk are two mutually exclusive subsets Bk. , Bk, can be classified into two types. Therefore, Bk of pixels within Bk. When assigning the code ゜0'' to the pixels belonging to Bk, and the code ``1'' to the pixels belonging to Bk, for each pixel P, use this code to R, ,~R,f3,,f,
The above codes ``0'' and ``l'' are respectively given as follows. This is called the resolution component. The basis of this encoding is to approximate the brightness of any pixel in block Bk with either the AkO or akl signal obtained by equation (1) in this way, and the encoded output is basically Gradation component Ak.
,ak,と分解能成分子.,〜 R,f3,,f3(
1プロツクが4×4画素の場合)が与えられる。また、
このうち階調成分AkO,aklはプロツクBk内の画
素の輝度のみから与えられているが、これらの値は隣接
するプロツクBk−1,B11の階調成分とも強い相関
を有すると考えられる。そこで階調成分Ak。,ak,
にかえて、その和成分Akm、差成分Akdおよびさら
にAkmのプロツク間の差Dk.nを定義しとすると、
Akd,dkmによつてプロツクBkの状態を表わすこ
とができる。, ak, and the resolution component element. ,~R,f3,,f3(
(If one block has 4×4 pixels) is given. Also,
Of these, the gradation components AkO and akl are given only from the luminance of pixels in block Bk, but these values are considered to have a strong correlation with the gradation components of adjacent blocks Bk-1 and B11. Therefore, the tone component Ak. ,ak,
Instead, the sum component Akm, the difference component Akd, and the difference Dk. Let us define n,
The state of block Bk can be expressed by Akd and dkm.
このようにするとAkd及びDk.nはAkO,akl
に比べその振巾分布がO近傍に集中し、AkO,akl
をそのまま符号化するより少ないビツト数で符号化する
ことが可能である。以上述べた処理をY−1−Qの各成
分に対し行うことにより符号化出力として階調成分の分
解能成分を得る。本発明は以上述べた原理に基づくもの
で、さらにプロツクの大きさを画像の局所性質に応じて
可変化する手段を持つものである。In this way, Akd and Dk. n is AkO, akl
Compared to , the amplitude distribution is concentrated near O, and AkO, akl
It is possible to encode with a smaller number of bits than to encode it as is. By performing the above-described processing on each component of Y-1-Q, resolution components of tone components are obtained as encoded outputs. The present invention is based on the principle described above, and further includes means for varying the size of the block in accordance with the local characteristics of the image.
すなわち画像においで輝度変化の大きな領域ではプロツ
クを小さくすることにより符号化による劣化をおさえ、
また輝度変化の小さな領域ではプロツクを大きくしで符
号化を行うことにより符号量の削減をはかる。ここでは
第3図を用いてプロツクの大きさを可変とするためのl
方法であるプロツクを順次分割する場合の原理について
説明する。第3図は本発明を実現する原理を示したもの
で、図中301は8×8画素を有しているプロツク、3
02〜305は4×4画素を有しているプロツク、30
6〜309は2×2画素を有しているプロツクを示し、
3通りのプロツクを得る場合を例として示す。In other words, in areas with large brightness changes in the image, the deterioration caused by encoding is suppressed by reducing the block size.
Furthermore, in areas where brightness changes are small, the amount of code is reduced by performing encoding with a larger block. Here, using Figure 3, we will explain how to make the block size variable.
The principle of sequentially dividing a block, which is a method, will be explained. FIG. 3 shows the principle for realizing the present invention. In the figure, 301 is a block having 8×8 pixels;
02 to 305 are blocks with 4 x 4 pixels, 30
6 to 309 indicate blocks having 2×2 pixels;
An example of obtaining three types of blocks is shown below.
まず原画のY成分プレーンを8×8画素を有しているプ
ロツクに分割する。その1つのプロツク301に着目し
、このプロツクに対し、先に述べた符号化処理、すなわ
ち階調成分と分解能成分に分離して符号化する符号化処
理を行う。符号化処理.による変換後の画素のY成分と
変換前の画素のY成分の差ε,jをプロツク301内の
全画素について求める。次にプロツク内全画素について
のε,3の自乗ε20の総和ε21を求める。すなわち
である。First, the Y component plane of the original image is divided into blocks each having 8×8 pixels. Focusing on one of the blocks 301, this block is subjected to the aforementioned encoding process, that is, the encoding process of separating and encoding the gradation component and the resolution component. Encoding process. The difference ε,j between the Y component of the pixel after conversion and the Y component of the pixel before conversion is calculated for all pixels in the block 301. Next, the sum ε21 of ε and 3 squared ε20 for all pixels in the block is determined. In other words.
次にあらかじめ設定されているプロツクサイズ可変のた
めの閾値ε21ェとε21とを比較して分割の変数D1
を定める。D1=0の時には符号化処理による変換誤差
ε21はプロツクサイズ可変のための閾値ε210より
小さいので、フ狛ツク301をこのままの状態で符号化
する。Next, a preset threshold value ε21 for varying the block size is compared with ε21, and the dividing variable D1 is determined.
Establish. When D1=0, the conversion error ε21 due to the encoding process is smaller than the threshold value ε210 for varying the block size, so the block 301 is encoded as is.
しかしD1=1の時には画素プロツク301では変換誤
差ε21が大きすぎるとし、第3図に示すように、プロ
ツク301を4×4画素を有しているプロツク302〜
305に4分割する。この4分割された各プロツク30
2〜305に対しても上記と同様変換誤差を求める操作
を行い誤差の総和ε22を求める。However, when D1=1, it is assumed that the conversion error ε21 in the pixel block 301 is too large, and as shown in FIG.
Divide into 4 parts into 305 parts. Each of these four divided blocks 30
2 to 305 as well, the same operation as above is performed to obtain the conversion errors, and the total error ε22 is obtained.
同様にしてあらかじめ定められているプロツク可変のた
めの閾値ε22Tとの大小比較により分割の変数D2を
定める。すなわち、
である。Similarly, the division variable D2 is determined by comparison with a predetermined threshold value ε22T for varying the program. That is, .
D2=Oの時にはこのままのプロツクで符号化し、D2
=1の時には、再度分割を繰り返し、たとえば2×2画
素を有するプロツクに4分割し、このようにしで4分割
されたプロツク306〜309の各々のプロツクに対し
て符号化処理を行い、符号化出力を得る。以上述べたよ
うにプロツクを分割することにより変換誤差が一定値以
下で符号化を行うことができ、また時割のための変数D
l,D2を各プロツク毎に情報として保存すればY成分
プレーンの情報を容易に復元できる。ここでY成分につ
いて上記の操作を行う理由は、連常のテレビジヨン信号
の性質として良く知られているように、3成分Y,I,
Q中最も振幅変化が大きく、かつ解像度に強い影響を与
える成分がY成分であるからで、また、Y成分とI,Q
成分に用いられるプロツクの大きさは、Y成分のブカツ
クに対してI,Q成分のそれを等しいかもしくは大きく
とることが可能であり、I,Q成分のブロツクをY成分
のプロツクに比べ大きくとることでさらに高能率伝送が
可能となる。When D2=O, encode with the same block and D2
When = 1, the division is repeated again, for example, the block is divided into four blocks each having 2×2 pixels, and the encoding process is performed on each of the blocks 306 to 309 divided into four in this way. get the output. As mentioned above, by dividing the block, encoding can be performed with the conversion error below a certain value, and the variable D for the timetable can be encoded.
If l and D2 are stored as information for each block, the information of the Y component plane can be easily restored. The reason for performing the above operation for the Y component is that, as is well known as the property of continuous television signals, the three components Y, I,
This is because the Y component has the largest amplitude change in Q and has the strongest effect on resolution, and the Y component and I, Q
The size of the block used for the component can be set equal to or larger than that of the I and Q components compared to the block of the Y component, and the block of the I and Q components can be set larger than the block of the Y component. This enables even more efficient transmission.
より大きくプロツクサイズを選ぶことができるのは、I
Qが通常のテレビジヨン伝送では帯域制限されていても
それほどの問題にならないように、一般的に輝度変化の
度合がY成分ほど大きくないからである。以上述べたよ
うに本発明では、Y−1−Q成分ごとに先に述べた階調
成分、分解能成分およびY成分については、分割のため
の変数Dl,D2を符号化出力として伝送もしくはフア
イル化することになる。第4図は本発明を利用した符号
化処理装置の構成図で400は対象とするカラー画像、
401は画像入力部、402はY,I、Q分離部、40
3Y,403,,403QはそれぞれY,I,Q分離さ
れた信号をサンプリングしデイジタル信号に変換するA
/D変換部、404Y,404,,404Qは各信号の
それぞれ最低lプロツク分の画素情報を蓄えることので
きるバツフアメモリ、405Y,405,,405Qは
それぞれY,I,Qの各信号に対して符号化を行う符号
化部、406は前述したプロツクの分割制御を行うため
の符号化制御部、407は符号蓄積フアイル部である。I can choose a larger block size.
This is because the degree of luminance change is generally not as large as that of the Y component, just as Q does not pose much of a problem even if it is band limited in normal television transmission. As described above, in the present invention, for each of the Y-1-Q components, the aforementioned gradation component, resolution component, and Y component, the variables Dl and D2 for division are transmitted as encoded outputs or converted into files. I will do it. FIG. 4 is a block diagram of an encoding processing device using the present invention, in which 400 is a target color image;
401 is an image input section; 402 is a Y, I, Q separation section; 40
3Y, 403, and 403Q are A for sampling the Y, I, and Q separated signals and converting them into digital signals.
/D converter, 404Y, 404, 404Q are buffer memories that can store pixel information for at least l blocks of each signal, 405Y, 405, 405Q are code codes for each signal of Y, I, Q, respectively. 406 is an encoding control unit for performing the above-mentioned block division control, and 407 is a code storage file unit.
次に第4図を用いて本符号化処理装置の動作について説
明する。まずカラー画像400は画像入力部401によ
つて走査されYIQ分離部402に送出される。この場
合画像入力部401は通常のカラーTVカメラ等を用い
ることができる。また、YIQ分離部402は3原色信
号R,G,Bが入力されるような場合に通常のRGB−
YIQ交換を行うものである。次にYIQ成分に分離さ
れた信号は各プレーン毎にA/D変換部403Y,40
3,,403Qにより、サンプリングされデイジタル信
号に変換されてバツフアメモリ404Y,404,,4
04Qへ画素輝度情報として書き込まれる。Next, the operation of the present encoding processing device will be explained using FIG. First, a color image 400 is scanned by an image input section 401 and sent to a YIQ separation section 402 . In this case, an ordinary color TV camera or the like can be used as the image input unit 401. In addition, when the three primary color signals R, G, and B are input, the YIQ separator 402 uses normal RGB-
This is for YIQ exchange. Next, the signals separated into YIQ components are sent to A/D converters 403Y and 40 for each plane.
3, 403Q, it is sampled and converted into a digital signal, and then sent to the buffer memory 404Y, 404, 404Y.
It is written to 04Q as pixel brightness information.
バッフアメモリ404Y〜404Qの役割は、画像入力
部が通常のテレビカメラのようなラスタ走査方式の場合
に、次の符号化処理のマツチングをはかるためにプロツ
ク単位の画素輝度情報を蓄えるもので、通常、プロツク
の大きさに対応した複数走査線分のバツフア容量をもつ
。今例えば、前述したようにプロツクの大きさがY,I
,Q各プレーンとも8×8画素が最大となるような場合
、8走査線分のメモリを持てばよいことになる。バッフ
アメモリ404Y〜404Qに蓄えられた画素輝度情報
は符号化部405Y〜405。The role of the buffer memories 404Y to 404Q is to store pixel luminance information for each block in order to match the next encoding process when the image input unit is of a raster scanning type like a normal television camera. It has a buffer capacity for multiple scanning lines corresponding to the size of the block. For example, as mentioned above, the block sizes are Y, I.
, Q If each plane has a maximum of 8×8 pixels, it is sufficient to have memory for 8 scanning lines. The pixel luminance information stored in buffer memories 404Y to 404Q is sent to encoding units 405Y to 405.
及び符号化制御部406にプロツク単位で送出され、前
述したプロツクサイズを可変とする符号化原理に従い、
階調成分と分解能成分に変換される。この時符号化部4
05Y〜405。and is sent to the encoding control unit 406 in units of blocks, and according to the aforementioned encoding principle of making the block size variable,
Converted into gradation components and resolution components. At this time, the encoding unit 4
05Y~405.
は、符号化制御部40}で出力される分割の変数Dl,
D2により、8×8画素、4×4画素、2×2画素等の
プロツクを単位として処理を行うが、これらの処理動作
は(1)式の操作を行うだけで基本的にはプロツクの大
きさは関係なく既存の回路技術で容易に実現できる。ま
た符号化制御部406も式(3)にある誤差を検出し、
式(4),(5)に示される分割の変数D,,D2を求
めることが主たる機能であり、既存の乗算器、加算器、
比較器等を用いて容易に実現できる。このようにして符
号化された情報は、分割の変数Dl,D2とともに符号
蓄積フアイル部407へ蓄えられる。is the division variable Dl output from the encoding control unit 40},
D2 processes blocks of 8 x 8 pixels, 4 x 4 pixels, 2 x 2 pixels, etc., but these processing operations basically change the size of the blocks by simply performing the operation of equation (1). Regardless of the size, it can be easily realized using existing circuit technology. The encoding control unit 406 also detects the error in equation (3),
The main function is to obtain the division variables D, D2 shown in equations (4) and (5), and the existing multipliers, adders,
This can be easily realized using a comparator or the like. The information encoded in this manner is stored in the code storage file section 407 together with the division variables Dl and D2.
なお、この符号化装置の構成(第4図)において、バツ
フアメモリ404Y〜404Q)符号化部405Y〜4
05QはY,I,Qの各成分に対してそれぞれ独立に構
成した形で示してあるが、メモリ容量及び各部の処理能
力に応じ必らずしも独立に用意することはなく、1つの
処理系を時分割で用いることも可能であるし、またマイ
クロプロセツサ等でソフトウエア的に上記処理機能を実
現できることも明らかであろう。第5図は、上記の符号
化装置で符号蓄積フアイル407に蓄えられている符号
を復号し表示画像信号を得る復号装置の構成を説明する
プロツク図を示す。In the configuration of this encoding device (FIG. 4), buffer memories 404Y to 404Q) encoding units 405Y to 4
05Q is shown in a form where each component of Y, I, and Q is configured independently, but depending on the memory capacity and processing capacity of each part, it is not necessarily necessary to prepare them independently, and only one processing It is also possible to use the system in a time-division manner, and it is also obvious that the above processing functions can be realized by software using a microprocessor or the like. FIG. 5 shows a block diagram illustrating the configuration of the decoding apparatus described above to decode the codes stored in the code storage file 407 and obtain a display image signal.
図中501Y〜501QはY,I,Q各成分のプレーン
に対応したバツフアメモリ、502Y〜502Qは復号
部、503は復号制御部、504はカラー信号合成部、
505はカラー画像表示部である。第5図を用いで復号
処理装置の動作について説明する。In the figure, 501Y to 501Q are buffer memories corresponding to planes of Y, I, and Q components, 502Y to 502Q are decoding units, 503 is a decoding control unit, 504 is a color signal synthesis unit,
505 is a color image display section. The operation of the decoding processing device will be explained using FIG.
符号蓄積フアイル407に蓄えられている情報を各プレ
ーン毎にバツフアメモリ501Y〜501Qのそれぞれ
に一旦蓄える。この時のバツフアメモリの容量は最小1
プロツク分の情報を蓄えることができればよい。またY
成分用バッフアメモリ501Yには、符号化時に得られ
た分割の変数D,,D2も同時に蓄えられている。この
分割の変数Dl,D2は、復号制御部503に送出され
、また実際の階調成分、分解能成分に相当する信号は復
号部502Y〜502Qに送出される。復号制御部50
3でプロツクの大きさを検出し、この情報を復号部50
2Y〜502。The information stored in the code storage file 407 is temporarily stored in each of the buffer memories 501Y to 501Q for each plane. At this time, the buffer memory capacity is at least 1
It is only necessary to be able to store information for a block. Also Y
The component buffer memory 501Y also stores division variables D, D2 obtained during encoding. Variables Dl and D2 for this division are sent to the decoding control section 503, and signals corresponding to the actual gradation components and resolution components are sent to the decoding sections 502Y to 502Q. Decoding control unit 50
3, the block size is detected and this information is sent to the decoder 50.
2Y~502.
に送出し、復号部502でプロツクの大きさにより階調
成分と分解能成分を抽出し、プロツク内各画素の輝度情
報を復号する。各プレーン毎に復号されたプロツク内各
画素の情報はカラー信号合成部504に入力される。カ
ラー信号合成部は、バツフアメモリを含み、入力された
輝度情報を一旦バツフアメモリに蓄える。次にバツフア
メモリ内にある輝度情報を画像表示部505の走査速度
や走査形式等に合わせて順次読み出し、画像信号を合成
して画像表示部505で復元し所望の画像を得る。なお
この復号処理装置においても、各プレーン毎に独立に復
号部を構成する形式について説明したが、1つの処理系
を時分割で利用することも可能である。The decoding unit 502 extracts gradation components and resolution components according to the size of the block, and decodes the luminance information of each pixel within the block. Information on each pixel in the block decoded for each plane is input to a color signal synthesis section 504. The color signal synthesis section includes a buffer memory, and temporarily stores the input luminance information in the buffer memory. Next, the brightness information in the buffer memory is sequentially read out in accordance with the scanning speed and scanning format of the image display unit 505, and the image signals are combined and restored by the image display unit 505 to obtain a desired image. In this decoding processing device as well, although a format in which the decoding section is configured independently for each plane has been described, it is also possible to use one processing system in a time-sharing manner.
以上本発明についで述べたが、本文中では、プロツクの
可変方法として、プロツクを順次分割していく方法につ
いて説明したが、プロツクを拡張していく方法も考えら
れ、またプロツクの形状についても正方形に限らず、長
方形のプロツクでも何んらさしつかえない。The present invention has been described above, and in the main text, a method of sequentially dividing the block was explained as a method of varying the block, but a method of expanding the block is also considered, and the shape of the block can also be changed to a square. Not only rectangular blocks, but also rectangular blocks are acceptable.
またプロツクサイズを可変にするためのパラメータとし
て変換誤差ε2を用いたが、何れもこれに限ることはな
く、例え゛ば、変換による誤差の絶対値和でもよく、ま
た輝度変化の大小によりプロツクの大きさを切り換える
ことを考えれば階調成分AkO,aklの差分値、例え
ば式(2)で述べたAkdの値によりプロツクの大きさ
を変更しでも良い。さらに輝度変化の少ない領域では8
×8画素プロツクのような大きなプロツクを使つて符号
化を行うかわりに4つの4×4画素プロツクで、それぞ
れのプロツクを1つの輝度信号のみで表示しても良く、
この場合には分解能成分も不要となり、(2)式で述べ
たAk.nのみを輝度情報とすることが可能である。な
お上記説明において、符号化した信号をフアイルするこ
とを示したが、符号化した信号を直接伝送路を介して伝
送する伝送システムに適用できることは言うまでもない
。In addition, although the conversion error ε2 is used as a parameter for making the program size variable, it is not limited to this. For example, it may be the sum of the absolute values of errors caused by conversion, or the program size can be changed depending on the magnitude of the luminance change. Considering switching the size of the block, the size of the block may be changed based on the difference value between the tone components AkO and akl, for example, the value of Akd described in equation (2). Furthermore, in areas with little brightness change, 8
Instead of encoding using a large block such as a x8 pixel block, it is also possible to use four 4 x 4 pixel blocks and each block may be displayed using only one luminance signal.
In this case, the resolution component is also unnecessary, and Ak. It is possible to use only n as luminance information. In the above description, it has been shown that the encoded signal is filed, but it goes without saying that the present invention can be applied to a transmission system that directly transmits the encoded signal via a transmission path.
以上説明したように本発明(こよれば、画像の局所性質
に応じてプロツクの大きさが可変されるため、符号化方
式として高能率かつ高品位の画質を得ることが可能とな
り、本文で説明したような画像フアイルシステムに用い
ればフアイル量を削減でき、また通信システムに用いた
場合伝送時間を短縮できる利点がある。As explained above, according to the present invention (according to which the size of the block is varied according to the local characteristics of the image), it is possible to obtain high efficiency and high quality image as an encoding method. When used in an image file system such as the one described above, the amount of files can be reduced, and when used in a communication system, it has the advantage of shortening transmission time.
第1図は、本発明による符号化法の適用概念を説明する
説明図、第2図は本発明による符号化法の基本原理を説
明する説明図、第3図は本発明の符号化処理方式の主原
理を説明する説明図、第4図は本発明の符号化処理方式
を利用した符号化処理装置の構成を示すプロツク図、第
5図は本発明の符号化処理方式を利用した復号処理装置
の構成を示すプロツク図である。
100・・・・・・対象とするカラー画像、101Y〜
101,・・・・・・カラー信号をY,I,Qの3成分
に分離した場合のカラー画像100に対する各成分の画
像プレーン、200・・・・・・各成分の画像プレーン
中の1枚、201・・・・・・画像の処理単位であるプ
ロツク、301・・・・・・8×8画素を有するプロツ
ク、302〜305・・・・・・4×4画素を有するプ
ロツク、306〜309・・・・・・2×2画素を有す
るプロツク、400・・・・・・対象とするカラー画像
、401・・・・・・画像入力部、402・・・・・・
YIQ分離部、403,〜403,・・・・・・A/D
変換部、404Y〜404c・・・・・バツフアメモI
八405,〜405Q・・・・・・符号化部、406・
・・・・・符号化制御部、407・・・・・・蓄積フア
イル部、501Y〜501,・・・・・・バツフアメモ
リ、502Y〜502,・・・・・・復号部、503・
・・・・・復号制御部、504・・・・・・カラー信号
合成部、505・・・・・・画像表示部。FIG. 1 is an explanatory diagram for explaining the application concept of the encoding method according to the present invention, FIG. 2 is an explanatory diagram for explaining the basic principle of the encoding method according to the present invention, and FIG. 3 is an explanatory diagram for explaining the encoding method according to the present invention. 4 is a block diagram showing the configuration of an encoding processing device using the encoding processing method of the present invention, and FIG. 5 is a diagram showing the decoding processing using the encoding processing method of the present invention. FIG. 2 is a block diagram showing the configuration of the device. 100...Target color image, 101Y~
101,... Image plane of each component for color image 100 when the color signal is separated into three components Y, I, Q, 200... One of the image planes of each component , 201...Procs that are image processing units, 301...Procs having 8x8 pixels, 302-305...Procs having 4x4 pixels, 306-- 309...Prok having 2×2 pixels, 400...Target color image, 401...Image input section, 402...
YIQ separation section, 403,~403,...A/D
Conversion section, 404Y to 404c...Buffer memo I
8405, to 405Q... Encoding section, 406.
...Encoding control section, 407...Storage file section, 501Y to 501, ...Buffer memory, 502Y to 502, ...Decoding section, 503.
...Decoding control unit, 504...Color signal synthesis unit, 505...Image display unit.
Claims (1)
IQ分離部、各成分毎に信号をサンプリングしてディジ
タル信号によつて変換するA/D変換部、該A/D変換
部によつて得られた各成分対応のディジタル画信号を一
時蓄積するバッファメモリ部、バッファメモリに蓄積さ
れた2次元的分布をする各成分の画像信号をそれぞれ2
次元的な小ブロックに分割して各ブロック毎に該ブロッ
ク内に属する各画素の輝度の輝度平均値を求め、該輝度
平均値を閾値とし前記ブロック内の各画素にについて前
記閾値より大きい輝度値をもつ画素の集合と前記閾値よ
り小さい輝度値をもつ画素の集合とに分け、前記2つの
集合の各々の平均輝度値に該当する階調成分を求め、前
記ブロックに含まれる各画素の輝度値と上記閾値との大
小関係により各画素の輝度値を前記階調成分の値におき
かえ変換輝度値とする手段と前記各画素が上記2つの集
合のいずれに属するかを示す情報に該当する分解能成分
を得る手段と上記階調成分の和および差の値を求める手
段とさらに該ブロックに近接するブロックについての上
記階調成分を求める場合と同様の手段で求められる値の
和と該ブロックの上記階調成分の和との差を求める手段
とによつて構成され、前記階調成分の和の値の前記小ブ
ロック間での前記差情報ならびに前記階調成分の前記差
情報および前記分解能成分を符号化出力とする符号化部
およびY成分に対し該ブロックの原輝度値と前記符号化
処理部で得られた前記変換輝度値との差を求め誤差の自
乗値の当該ブロック内での総和とあらかじめ定めたブロ
ックの大きさを可変とするための閾値とを比較し、前記
総和が前記ブロックの大きさを可変とするための閾値よ
り大ならば前記ブロックの大きさを小さくし、小ならば
前記ブロックの大きさをそのままもしくは大きくして前
記Y、I、Q各成分の符号化処理を行わせるための制御
信号を前記Y、I、Q各成分の符号化部に出力し、前記
符号化に当つてのブロックサイズを可変制御する機能お
よび前記制御信号を前記符号化出力とともに出力する機
能を有する符号化制御部をそなえることを特徴とするカ
ラー画像符号化処理方式。1 Y that decomposes the color image signal into three components: Y, I, and Q
an IQ separation section, an A/D conversion section that samples signals for each component and converts them into digital signals, and a buffer that temporarily stores digital image signals corresponding to each component obtained by the A/D conversion section. The image signals of each component having a two-dimensional distribution stored in the memory section and buffer memory are
Divide into dimensional small blocks, calculate the average brightness value of the brightness of each pixel belonging to each block for each block, use the average brightness value as a threshold, and set a brightness value greater than the threshold value for each pixel in the block. A set of pixels having a luminance value smaller than the threshold value is divided into a set of pixels having a luminance value smaller than the threshold value, and a gradation component corresponding to the average luminance value of each of the two sets is determined, and the luminance value of each pixel included in the block is calculated. means for replacing the luminance value of each pixel with the value of the gradation component to obtain a converted luminance value based on the magnitude relationship between the pixel and the threshold; and a resolution component corresponding to the information indicating which of the two sets each pixel belongs to. means for obtaining the sum and difference values of the gradation components, furthermore, the sum of the values obtained by the same means as in the case of obtaining the gradation components for blocks adjacent to the block, and the above-mentioned gradation of the block. means for calculating the difference between the sum of the tone components, and encodes the difference information between the small blocks of the value of the sum of the tone components, the difference information of the tone components, and the resolution component. The difference between the original luminance value of the block and the transformed luminance value obtained by the encoding processing unit is calculated for the encoding unit and the Y component to be outputted, and the sum of the squared error values within the block is calculated in advance. The total sum is compared with a predetermined threshold value for making the block size variable, and if the sum is larger than the threshold value for making the block size variable, the block size is made smaller; A control signal for performing encoding processing on each of the Y, I, and Q components with the size of the block unchanged or increased is output to the encoding section for each of the Y, I, and Q components; 1. A color image encoding processing method, comprising: an encoding control unit having a function of variably controlling a block size and a function of outputting the control signal together with the encoded output.
Priority Applications (6)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP54017072A JPS5947912B2 (en) | 1979-02-16 | 1979-02-16 | Color image encoding processing method |
| US06/116,713 US4319267A (en) | 1979-02-16 | 1980-01-30 | Picture coding and/or decoding equipment |
| CA000344783A CA1146473A (en) | 1979-02-16 | 1980-01-31 | Picture coding and/or decoding equipment |
| GB8004235A GB2042852B (en) | 1979-02-16 | 1980-02-08 | Picture coding and/or decoding equipment |
| FR8003358A FR2449383A1 (en) | 1979-02-16 | 1980-02-15 | EQUIPMENT FOR CODING AND / OR DECODING COLOR STILL IMAGES |
| DE3005775A DE3005775C2 (en) | 1979-02-16 | 1980-02-15 | Coding method for a color image |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP54017072A JPS5947912B2 (en) | 1979-02-16 | 1979-02-16 | Color image encoding processing method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS55109086A JPS55109086A (en) | 1980-08-21 |
| JPS5947912B2 true JPS5947912B2 (en) | 1984-11-22 |
Family
ID=11933772
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP54017072A Expired JPS5947912B2 (en) | 1979-02-16 | 1979-02-16 | Color image encoding processing method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS5947912B2 (en) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH0634523B2 (en) * | 1987-04-16 | 1994-05-02 | 日本ビクター株式会社 | Color image high efficiency coding method |
| JP2674059B2 (en) * | 1988-02-09 | 1997-11-05 | キヤノン株式会社 | Color image data transmission method |
-
1979
- 1979-02-16 JP JP54017072A patent/JPS5947912B2/en not_active Expired
Also Published As
| Publication number | Publication date |
|---|---|
| JPS55109086A (en) | 1980-08-21 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN119946252B (en) | Decoding method, encoding method, decoder, encoder | |
| KR100518100B1 (en) | Image processing apparatus and method, and Image encoding apparatus and method | |
| JPWO2009087783A1 (en) | Encoding data generation apparatus, encoding data generation method, decoding apparatus, and decoding method | |
| JP2011015347A (en) | Apparatus and method for processing image, program and recording medium | |
| JP2000244935A (en) | Image data compression method | |
| EP1324618A2 (en) | Encoding method and arrangement | |
| US20090304073A1 (en) | Systems and Methods for the Bandwidth Efficient Processing of Data | |
| JPH11164152A (en) | Color image data compression device | |
| JPS5947912B2 (en) | Color image encoding processing method | |
| JPS5947915B2 (en) | Color image signal processing device | |
| JPS5947916B2 (en) | Color image encoding processing method | |
| JP2810363B2 (en) | Color image coding device | |
| JPS5947913B2 (en) | Color image processing device | |
| JP2698641B2 (en) | Color image data encoding method and decoding method | |
| JPH03291059A (en) | Color picture encoding device | |
| JP2940913B2 (en) | Color image data encoding device | |
| JPS639282A (en) | Image information encoding device | |
| JPH0797829B2 (en) | Color image input / output device | |
| JPH01141495A (en) | Color image encoding method | |
| JPS6055790A (en) | Inter-frame coding device of vector quantization type | |
| JPS63304770A (en) | Color image data compression method | |
| JPH01205670A (en) | Picture signal encoding system | |
| JPS63227271A (en) | Hierarchical transmission system for still picture | |
| JPH06178121A (en) | Compression method | |
| JPH06152973A (en) | Method and device for compressing color picture |