JP2802629B2 - Image data compression device and image processing device - Google Patents

Image data compression device and image processing device

Info

Publication number
JP2802629B2
JP2802629B2 JP26055788A JP26055788A JP2802629B2 JP 2802629 B2 JP2802629 B2 JP 2802629B2 JP 26055788 A JP26055788 A JP 26055788A JP 26055788 A JP26055788 A JP 26055788A JP 2802629 B2 JP2802629 B2 JP 2802629B2
Authority
JP
Japan
Prior art keywords
value
gradation
block
calculating
difference
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 - Lifetime
Application number
JP26055788A
Other languages
Japanese (ja)
Other versions
JPH02108372A (en
Inventor
隆 森原
嗣男 野田
昌弘 福田
茂 吉田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP26055788A priority Critical patent/JP2802629B2/en
Publication of JPH02108372A publication Critical patent/JPH02108372A/en
Application granted granted Critical
Publication of JP2802629B2 publication Critical patent/JP2802629B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Compression Of Band Width Or Redundancy In Fax (AREA)
  • Image Processing (AREA)
  • Color Television Systems (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)

Description

【発明の詳細な説明】 〔概要〕 多階調適応形ブロック符号化方式(CBTC)を採用し、
複数成分に分解したカラー画像の符号化を行なう画像デ
ータの圧縮装置、及び画像処理装置に関し、 画像を特定の符号量に符号化するに際して、その符号
量の大小を決定する闘値の決定を迅速に行うことができ
るようにすることを目的とし、 上述のような画像データの圧縮装置において、ブロッ
ク内の最大階調値と最小階調値との差分を求める階調変
化量検出手段と、前記階調変化量検出手段により求めた
階調変化量の多値画像全体における出現頻度を求める出
現頻度算出手段と、前記出現頻度算出手段で求めた各々
の階調変化量に対する出現頻度の統計値を求める統計値
算出手段と、上記統計値算出手段で求めた統計値に基づ
いて前記闘値を決定する闘値決定手段とを設けて構成す
る。
DETAILED DESCRIPTION OF THE INVENTION [Overview] Adopting multi-tone adaptive block coding (CBTC),
Regarding an image data compression device and an image processing device for encoding a color image decomposed into a plurality of components, when encoding an image to a specific code amount, a threshold value for determining the magnitude of the code amount can be quickly determined. In the image data compression apparatus as described above, a gradation change amount detecting means for calculating a difference between a maximum gradation value and a minimum gradation value in a block; An appearance frequency calculating means for calculating an appearance frequency of the gradation change amount obtained by the gradation change amount detection means in the entire multi-valued image; and a statistical value of an appearance frequency for each gradation change amount obtained by the appearance frequency calculation means. A statistical value calculating means to be obtained and a threshold value determining means for determining the threshold value based on the statistical value obtained by the statistical value calculating means are provided.

〔産業上の利用分野〕[Industrial applications]

本発明は画像データの圧縮装置、及び画像処理装置に
係り、特に複数成分に分解したカラー画像の多値画像を
隣接する複数の画素からなるブロックに分割し、各ブロ
ック毎にブロック内の最大階調値と最小階調値との差を
闘値と比較してこのブロックの画像を表示する1または
複数の代表階調を求め、代表階調を各ブロックにおける
基準値と、この基準値と代表階調との差分値とで表示
し、各ブロックにおける代表階調の分布を示す分解能成
分を算出し、上記基準値と差分値と分解能成分とを符号
化する多階調適応形ブロック符号化方式を採用する画像
データの圧縮装置、及び画像処理装置に関する。
The present invention relates to an image data compression apparatus and an image processing apparatus, and in particular, divides a multi-valued image of a color image decomposed into a plurality of components into blocks each including a plurality of adjacent pixels, and for each block, a maximum level in the block. The difference between the tonal value and the minimum tone value is compared with the threshold value to determine one or a plurality of representative tones for displaying the image of this block. A multi-gradation adaptive block coding system for displaying a resolution value indicating the distribution of the representative gradation in each block by displaying the difference value with the gradation value, and coding the reference value, the difference value and the resolution component. The present invention relates to an image data compression device and an image processing device that employ the above.

〔従来の技術〕[Conventional technology]

画像データの高能率を圧縮方式として、例えば多階調
適応形ブロック符号化方式(昭和62年画像電子学会全国
大会予稿6)がある。
As a compression method using the high efficiency of image data, for example, there is a multi-tone adaptive block coding method (preprint 6 of the 1987 National Meeting of the Institute of Image Electronics Engineers of Japan).

この多階調適応形ブロック符号化方式(Generalized
Block Truncation Coding以下,略してGBTCと称す
る)は、カラー画像を符号化するに際しては、カラー画
像を例えば輝度(Y)成分画像データ、色差(U)成分
画像データ及び色差(V)成分画像データからなる複数
成分の画像データに分解し、これらを原画像として、こ
の原画像をN×N画素からなるブロックに分割し、各画
素(Xji)をブロック内の最大・最小階調値内の2n(n
=0,1,2,…)レベルで量子化すると共に、各画素の量子
化レベルをビットプレーン形式で表現し、階調情報とビ
ットプレーン情報とを符号化するものである。
This multi-tone adaptive block coding method (Generalized
Block Truncation Coding (hereinafter abbreviated to GBTC) is a technique for encoding a color image by converting, for example, luminance (Y) component image data, color difference (U) component image data, and color difference (V) component image data. The original image is divided into blocks of N × N pixels, and each pixel (X ji ) is divided into the maximum / minimum gradation values within the block. n (n
= 0, 1, 2,...) Level, the quantization level of each pixel is expressed in a bit plane format, and gradation information and bit plane information are encoded.

これを、N=4,n=2とした場合について、詳細に述
べる。第3図はGBTCのアルゴリズムを示すものである。
各ブロックは、ブロック内の最大階調値(LMAX)と最小
階調値(LMIN)の差と符号化パラメータT1,T2(T1
T2)により、第4図に示すように、以下の3つの符号化
モード(モードA,モードB,モードC)に分類される。
The case where N = 4 and n = 2 will be described in detail. FIG. 3 shows the GBTC algorithm.
Each block has a difference between a maximum gradation value (L MAX ) and a minimum gradation value (L MIN ) in the block and encoding parameters T 1 , T 2 (T 1 <
T 2 ), as shown in FIG. 4, the coding mode is classified into the following three coding modes (mode A, mode B, and mode C).

モードA:LMAX−LMIN≦T1の場合、 ブロック内の画素は1レベル(Po)に量子
化される。
Mode A: When L MAX −L MIN ≦ T 1 , the pixels in the block are quantized to one level (P o ).

モードB:T1<LMAX−LMIN≦T2の場合、 ブロック内の画素は2レベル(P1,P2)に
量子化される。
Mode B: If T 1 <L MAX −L MIN ≦ T 2 , the pixels in the block are quantized to two levels (P 1 , P 2 ).

モードC:T2<LMAX−LMINの場合、 ブロック内の画素は等間隔な4レベル(Q1
〜Q4)に量子化される。
In the mode C: T 2 <L MAX −L MIN , the pixels in the block have four levels (Q 1
~ Q 4 ).

量子化レベルは、ブロックの基準レベルLa、レベル間
隔Ld及び画素毎のレベル指定信号(φij(φij
で記述される。平均値処理をAVE( )とすると、第4
図に示すように、符号化に必要な各値が算出される。
The quantization levels are the reference level La of the block, the level interval Ld, and the level designation signal (φ 1 ) ij2 ) ij for each pixel.
Is described. If the average processing is AVE (),
As shown in the figure, each value required for encoding is calculated.

モードA:Po=AVE(Xij)=La (φij=0,(φij=0 (全てのi,jに対して) モードB:P1=AVE(Xij≧(LMAX+LMIN)/2) P2=AVE(Xij<(LMAX+LMIN)/2) La=(P1+P2)/2 Ld=P1−P2 (φij=0: (ただし、Xij≧(LMAX+LMIN)/2
の場合) (φij=1: (ただし、Xij<(LMAX+LMIN)/2
の場合) (φij=0: (全てのi,jに対して) モードC:Q1=AVE(Xij≧(3LMAX+LMIN)/4) Q4=AVE(Xij<(LMAX+3LMIN)/4) La=(Q1+Q4)/2 Ld=2(Q1−Q4)/3 (φij=0,(φij=0: (ただし、Xij≧La+Ld/2の場合) (φij=0,(φij=1: (ただし、La+Ld/2>Xij≧Laの場
合) (φij=1,(φij=0: (ただし、La>Xij>=La−Ld/2の
場合) (φij=1,(φij=1: (ただし、La−Ld/2>Xijの場合) 分解能成分(φ1)は、第5図に示すように、ブ
ロック間で接続して2つのビットマップに変換し、それ
ぞれ2値画像の標準符号化方式であるMMR符号化方式で
符号化する。Ldは、非線形量子化後、可変長符号化し、
Laは、DPCM符号化を用いて前置差分(ΔLa)を非線形量
子化後、可変長符号化する。
Mode A: P o = AVE (X ij ) = La (φ 1 ) ij = 0, (φ 2 ) ij = 0 (for all i, j) Mode B: P 1 = AVE (X ij ≧ ( L MAX + L MIN ) / 2) P 2 = AVE (X ij <(L MAX + L MIN ) / 2) La = (P 1 + P 2 ) / 2 Ld = P 1 −P 21 ) ij = 0: (However, X ij ≧ (L MAX + L MIN ) / 2
In the case of) (φ 1) ij = 1 : ( However, X ij <(L MAX + L MIN) / 2
2 ) ij = 0: (for all i, j) Mode C: Q 1 = AVE (X ij ≧ (3L MAX + L MIN ) / 4) Q 4 = AVE (X ij <( L MAX + 3L MIN) / 4 ) La = (Q 1 + Q 4) / 2 Ld = 2 (Q 1 -Q 4) / 3 (φ 1) ij = 0, (φ 2) ij = 0: ( However, X ij ≧ La + Ld / 2) (φ 1 ) ij = 0, (φ 2 ) ij = 1: (However, when La + Ld / 2> X ij ≧ La) (φ 1 ) ij = 1, (φ 2 ) ij = 0: (when La> X ij > = La−Ld / 2) (φ 1 ) ij = 1, (φ 2 ) ij = 1: (However, when La−Ld / 2> X ij ) As shown in FIG. 5, the resolution components (φ 1 , φ 2 ) are connected between blocks and converted into two bitmaps, and each bitmap is converted into an MMR coding method which is a standard coding method for a binary image. Encode. Ld is variable-length coded after nonlinear quantization,
La nonlinearly quantizes the pre-difference (ΔLa) using DPCM coding and then performs variable-length coding.

GBTCにおいては、ある画像を符号化したときには符号
化パラメータT1,T2の値により3つの符号化モード(モ
ードA,モードB,モードC)の割合が決定され、又全体と
しての符号量も決定される。従って1つの画像データに
ついての総符号量は符号化パラメータT1,T2の値を変え
ることによって変化させることができる。即ち、モード
Aの割合を増せば符号量は減少し、モードCの割合を増
加させると符号量は増加するものとなる。
In GBTC, when a certain image is encoded, the ratio of three encoding modes (mode A, mode B, and mode C) is determined by the values of the encoding parameters T 1 and T 2 , and the code amount as a whole is also determined. It is determined. Therefore, the total code amount for one image data can be changed by changing the values of the encoding parameters T 1 and T 2 . That is, if the ratio of mode A is increased, the code amount is reduced, and if the ratio of mode C is increased, the code amount is increased.

上述した処理は、輝度(Y)成分画像データ、色素
(U)成分画像データ及び色差(V)成分画像データの
全ての画像データについてなされ、全ての画像データに
ついての符号量の合計が一のカラー画像についての符号
量となる。
The above-described processing is performed on all the image data of the luminance (Y) component image data, the dye (U) component image data, and the color difference (V) component image data, and the sum of the code amounts of all the image data is one color. This is the code amount for the image.

〔発明が解決しようとする課題〕[Problems to be solved by the invention]

ところで従来の画像データの圧縮装置、及び画像処理
装置において、総符号量を所定の値以下に調整する必要
があるときには、符号化すべき画像の見掛けの複雑さに
より各画像データを符号化するための符号化パラメータ
の値を変化させ、これを総符号量が所定の値になるまで
行うようにしている。ところが、全ての符号に対する各
画像データの割合、即ち輝度(Y)成分画像データ、色
差(U)成分画像データ及び色差(V)成分画像データ
にどれだけの符号量を割振るかによって、再生される画
像の品質は大きな影響を受けることとなる。このこと
は、特に輝度(Y)成分と、色差(U,V)成分との符号
配分量を変化させることで顕著なものとなる。
By the way, in the conventional image data compression apparatus and image processing apparatus, when it is necessary to adjust the total code amount to a predetermined value or less, it is necessary to encode each image data according to the apparent complexity of the image to be encoded. The value of the encoding parameter is changed until the total code amount reaches a predetermined value. However, reproduction is performed according to the ratio of each image data to all codes, that is, how much code amount is allocated to luminance (Y) component image data, color difference (U) component image data, and color difference (V) component image data. Image quality will be greatly affected. This is particularly noticeable when the amount of code distribution between the luminance (Y) component and the color difference (U, V) component is changed.

従って、適正な総符号量で符号化され、且つ再生画像
が良好な品質を有する適正な符号化パラメータの選択に
いたるまで試行錯誤的に選択を行うほかなく、時間がか
かってしまうという問題がある。
Therefore, there is a problem that it takes time to select an appropriate encoding parameter which is encoded with an appropriate total code amount and has a good quality of a reproduced image by trial and error, and it takes time. .

そこで、本発明は画像を特定の符号量に符号化するに
際して、特定の符号量内において良好な画像品質を得る
ことができる闘値を迅速に決定することができる画像デ
ータの圧縮装置及び画像処理装置を提供することを目的
とする。
Therefore, the present invention provides an image data compression apparatus and an image processing apparatus capable of quickly determining a threshold value for obtaining good image quality within a specific code amount when encoding an image to a specific code amount. It is intended to provide a device.

〔課題を解決するための手段〕[Means for solving the problem]

本発明にあって、上記の課題を解決するための手段
は、カラー画像の多値画像を隣接する複数の画素からな
るブロックに分割し、各ブロック毎にブロック内の最大
階調値と最小階調値との差とを闘値とを比較する手段
と、前記比較手段による比較結果に基づいてブロックの
画像を表示する代表階調数を求める手段と、前記代表階
調数に基づいて算出される代表階調値を、各ブロックに
おける基準値と、代表階調値間の差に基づいて算出され
る差分値とで表す手段と、各ブロックにおける代表階調
値の分布を示す分解能成分を算出する手段と、上記基準
値と差分値と分解能成分とを符号化する手段とを備える
画像データ圧縮装置において、カラー画像を構成する複
数成分のそれぞれについて、ブロック中の最大階調値と
最小階調値との差分を求める階調変化量検出手段と、前
記階調変化量検出手段により求めた階調変化量から、カ
ラー画像を構成する各成分毎の階調変化量の出現頻度を
求める出現頻度算出手段と、前記出現頻度算出手段で求
めた各成分毎の階調変化量の統計量を算出する統計量算
出手段と、上記統計量算出手段で算出した各成分の統計
量に予め定められた演算を行なうことで算出される値を
予め定められた値と比較し、前記各成分毎にブロック内
の階調数を決定するための闘値を決定する闘値決定手段
とを設けたことを特徴とする画像データ圧縮装置であ
る。
In the present invention, a means for solving the above problem is to divide a multi-valued image of a color image into blocks composed of a plurality of adjacent pixels, and for each block, a maximum gradation value and a minimum gradation value in the block. Means for comparing the difference with the tonal value with the threshold value, means for calculating the number of representative tones for displaying the image of the block based on the comparison result by the comparing means, and means for calculating based on the number of representative tones Means for representing a representative gradation value of each block by a reference value in each block and a difference value calculated based on a difference between the representative gradation values, and calculating a resolution component indicating a distribution of the representative gradation value in each block. And a means for encoding the reference value, the difference value, and the resolution component, wherein the maximum gradation value and the minimum gradation value in the block are provided for each of a plurality of components constituting the color image. Find difference with value A gradation change amount detecting means, an appearance frequency calculating means for calculating an appearance frequency of a gradation change amount for each component constituting a color image from the gradation change amount obtained by the gradation change amount detecting means, A statistic calculating means for calculating a statistic of the gradation change amount for each component obtained by the appearance frequency calculating means; and a predetermined calculation performed on the statistic of each component calculated by the statistic calculating means. Image data, comprising: a threshold value determining unit that compares a calculated value with a predetermined value and determines a threshold value for determining the number of gradations in a block for each of the components. It is a compression device.

また本発明の手段は、カラー画像の多値画像を隣接す
る複数の画素からなるブロックに分割し、各ブロックご
とにブロック内の最大階調値と最小階調値との差と闘値
とを比較する手段と、前記比較手段による比較結果に基
づいてブロックの画像を表示する代表階調数を求める手
段と、前記代表階調値に基づいて算出される代表階調値
を、各ブロックにおける基準値と、代表階調値間の差に
基づいて算出される差分値であらわす手段と、各ブロッ
クにおける代表階調値の分布を示す分布分解能成分を算
出する手段と、上記基準値と差分値と分解能成分とを符
号化する手段とを備える画像データ処理装置において、
カラー画像を構成する複数成分のそれぞれについて、ブ
ロック内の最大階調値と最小階調値との差分を求める階
調変化量検出手段と、前記階調変化量検出手段により求
めた階調変化量から、カラー画像を構成する各成分毎の
階調変化量の出現頻度を求める出現頻度算出手段と、前
記出現頻度算出手段で求めた各成分毎の階調変化量の統
計量を算出する統計量算出手段と、上記統計量算出手段
で算出した各成分の統計量から予め定められた演算によ
って算出される値を予め定めた値と比較し、前記各成分
毎にブロック内の階調数を決定するための闘値を決定す
る闘値決定手段とを設けたことを特徴とする画像処理装
置である。
Further, the means of the present invention divides a multi-valued image of a color image into blocks composed of a plurality of adjacent pixels, and calculates a difference between a maximum gradation value and a minimum gradation value and a threshold value in each block for each block. Means for comparing, means for calculating the number of representative tones for displaying the image of the block based on the result of comparison by the comparing means, and a representative tone value calculated based on the representative tone value, Value, means for representing a difference value calculated based on a difference between the representative gradation values, means for calculating a distribution resolution component indicating the distribution of the representative gradation values in each block, And a means for encoding a resolution component.
For each of a plurality of components constituting a color image, a gradation change amount detecting means for obtaining a difference between a maximum gradation value and a minimum gradation value in a block, and a gradation change amount obtained by the gradation change amount detecting means An appearance frequency calculating means for calculating an appearance frequency of a gradation change amount for each component constituting the color image; and a statistic for calculating a statistic of the gradation change amount for each component obtained by the appearance frequency calculation means. A calculating unit that compares a value calculated by a predetermined calculation from the statistic of each component calculated by the statistic calculating unit with a predetermined value, and determines the number of tones in a block for each of the components. And a threshold value determining means for determining a threshold value for performing the processing.

〔作用〕[Action]

本願出願人の調査によれば、各ブロック内の階調変化
量を算出して求めた成分内毎の平均値、標準偏差及び分
散等の統計値により各成分の複雑さを判定することがで
きる。
According to the investigation by the present applicant, the complexity of each component can be determined from statistical values such as the average value, standard deviation, and variance for each component obtained by calculating the gradation change amount in each block. .

よって、本発明によれば、ブロック内の階調変化量多
値画像全体の出現頻度を求め、更にこの階調変化量に関
する統計量を算出し、符号化に際して特定の符号量内に
おいて良好な画像品質を得ることができる闘値を決定す
るから、試行錯誤的ではなく迅速に闘値を決定すること
ができる。
Therefore, according to the present invention, the appearance frequency of the entire gradation change amount multi-valued image in a block is obtained, and further, a statistic related to the gradation change amount is calculated. Since the threshold value at which the quality can be obtained is determined, the threshold value can be quickly determined without trial and error.

また、本願の第2の発明にあっては、例えば多階調提
供型ブロック符号化方式を採用した画像データ圧縮装置
に採用できるものであり、このような装置において符号
化を行なう際の闘値と階調数を迅速に決定することがで
きるものとなる。
Further, in the second invention of the present application, the invention can be applied to, for example, an image data compression apparatus employing a multi-tone provision type block encoding method. And the number of gradations can be determined quickly.

〔実施例〕〔Example〕

以下本発明に係る画像データの圧縮装置の実施例を図
面に基づいて説明する。
An embodiment of an image data compression apparatus according to the present invention will be described below with reference to the drawings.

第2図は本発明に係る画像データ圧縮装置の実施例を
示すものである。同図において1は画像データの入力端
子、2は入力された画像データを複数の画像データ、即
ち、輝度(Y)成分画像データ、色差(U)成分画像デ
ータ及び色差(V)成分画像データに分離して出力する
デマルチプレクサ、3,4,5は入力された各画像データ格
納するバッファメモリ、6は各バッファメモリからの画
像出力を選択して出力するマルチプレクサ、7は画像デ
ータの最大階調値(LMAX)と最小階調値(LMIN)とを検
出する階調変化量検出部、18は後述する闘値算出部16か
らの闘値に基づいて階調数を決定する階調数決定部を示
している。又同図において19は最大階調値(LMAX)と最
小階調値(LMIN)と階調数とから1又は複数の代表階調
値と基準階調値(La)と差分値(Ld)とを発生する代表
階調値決定部、20はこの決定された基準階調値を符号化
する基準階調値符号発生部、21はこの値を一時格納する
代表階調値バッファメモリ、また、22は差分値を符号化
する差分値符号発生部、23はこの符号化された差分値を
格納する差分値バッファメモリを示している。更に、24
は代表階調値を格納する階調値格納部、28は画像データ
と代表階調値とを比較する比較部、25,29は二つの分解
能成分φ1に対応する格納バッファ、26,30は分解
能成分を符号化する分解能成分符号化部、27,31は符号
化された分解能成分を格納する分解能成分符号バッフ
ァ、32は基準階調値、差分値、分解能成分の符号を送出
するマルチプレクサ、33は上記のデマルチプレクサ2、
マルチプレクサ6及びマルチプレクサ32の入出力制御を
実行する制御部を示している。これらの部分は通常の画
像データの圧縮部分である。
FIG. 2 shows an embodiment of the image data compression apparatus according to the present invention. In FIG. 1, reference numeral 1 denotes an input terminal of image data, and 2 denotes input image data as a plurality of image data, that is, luminance (Y) component image data, color difference (U) component image data, and color difference (V) component image data. A demultiplexer for separating and outputting, buffer memories for storing input image data 3, 4, and 5; a multiplexer 6 for selecting and outputting an image output from each buffer memory; 7 a maximum gradation of image data A gradation change amount detection unit 18 for detecting the value (L MAX ) and the minimum gradation value (L MIN ). A gradation number 18 determines the gradation number based on a threshold value from a threshold value calculation unit 16 described later. 4 shows a decision unit. In the same figure, reference numeral 19 denotes one or more representative gradation values, a reference gradation value (La), and a difference value (Ld) based on the maximum gradation value (L MAX ), the minimum gradation value (L MIN ), and the number of gradations. ), A reference tone value code generator 20 for encoding the determined reference tone value, a representative tone value buffer memory 21 for temporarily storing this value, and , 22 denotes a difference value code generator for coding the difference value, and 23 denotes a difference value buffer memory for storing the coded difference value. In addition, 24
Is a gradation value storage unit that stores the representative gradation value, 28 is a comparison unit that compares the image data with the representative gradation value, 25 and 29 are storage buffers corresponding to the two resolution components φ 1 and φ 2 , 26 , 30 is a resolution component encoding unit that encodes the resolution component, 27 and 31 are resolution component code buffers that store the encoded resolution component, and 32 is a reference tone value, a difference value, and a code of the resolution component. A multiplexer 33 is the demultiplexer 2 described above,
3 shows a control unit that executes input / output control of the multiplexer 6 and the multiplexer 32. These parts are compression parts of normal image data.

そして本実施例において、所定の符号量に対応する闘
値を決定する部分として、上記の階調変化量検出部8に
は階調変化量の多値画像全体における出現頻度を求める
出現頻度算出手段である出現頻度算出部8を設け、続い
て、出現頻度を格納する出現頻度テーブル9、この出現
頻度テーブルの内容から出現頻度の統計量、即ち平均
値、標準偏差、分散を求める統計量算出手段である統計
量算出部10と、この統計量算出部10で算出した各成分の
統計量を格納する統計量メモリ12,13,14と、この統計量
メモリに格納した統計量を比較する統計量比較部15とを
設けている。本実施例において、上述した出現頻度テー
ブル9には出現頻度の累積頻度を算出する累積頻度算出
部11と、各画像データの統計量の関係に基づいて予め定
めた符号化パラメータの組合せを格納した符号化パラメ
ータメモリ17と、上記の統計量比較部15と累積頻度算出
部11と、符号化パラメータメモリ17との出力に基づき符
号化パラメータの値を算出する闘値算出部16とを設けて
いる。ここでこの統計量算出部10、統計量メモリ12,13,
14、統計量比較部15、符号化パラメータメモリ17及び闘
値算出部16について詳細に説明する。
In this embodiment, as a part for determining a threshold value corresponding to a predetermined code amount, the above-mentioned gradation change amount detection unit 8 includes an appearance frequency calculation means for calculating the appearance frequency of the gradation change amount in the entire multi-valued image. , An appearance frequency table 9 for storing the appearance frequency, and a statistic calculation means for calculating the statistic of the appearance frequency, that is, the average value, the standard deviation, and the variance from the contents of the appearance frequency table. , A statistic memory for storing the statistic of each component calculated by the statistic calculation unit, and a statistic for comparing the statistic stored in the statistic memory A comparison unit 15 is provided. In the present embodiment, the above-described appearance frequency table 9 stores a combination of a cumulative frequency calculation unit 11 that calculates the cumulative frequency of appearance frequencies and a predetermined encoding parameter based on the relationship between the statistics of each image data. An encoding parameter memory 17, a statistic comparing unit 15, an accumulated frequency calculating unit 11, and a threshold calculating unit 16 for calculating a value of an encoding parameter based on an output of the encoding parameter memory 17 are provided. . Here, the statistic calculation unit 10, the statistic memories 12, 13,
14, the statistic comparison unit 15, the encoding parameter memory 17, and the threshold calculation unit 16 will be described in detail.

本実施例においては統計量は各画像データの階調変化
量の標準偏差σを求めるものとし、算出された標準偏差
σYUの値を各成分の統計量メモリ12,13,14に格
納する。統計量比較部15では2つの色差成分の標準偏差
の平均値σUV=(σ+σ)/2を求め、この値と輝度
(Y)成分の標準偏差σとの比σYUVを求める。
In this embodiment, the statistic is to obtain the standard deviation σ of the gradation change amount of each image data, and the calculated standard deviations σ Y , σ U , and σ V are used as the statistic memories 12 and 13 of the respective components. , 14. The statistic comparison unit 15 calculates the average value σ UV = (σ U + σ V ) / 2 of the standard deviations of the two color difference components, and calculates the ratio σ Y / σ between this value and the standard deviation σ Y of the luminance (Y) component. Ask for UV .

一方、符号化パラメータメモリ17には、上述したσY/
σUVの値に対応した輝度成分及び色差成分に適用する符
号化パラメータ(闘値)T1YT2Y,T1UVT2UVの値のセット
が格納されている。この符号化パラメータは各成分の累
積頻度中の闘値の位置を全体のデータの何パーセントの
値とするかを示す値で、σYUVの値が大きいほど輝度
成分の符号量の配分を大きいものとしている。例えばこ
の実施例ではσYUVの値を3を境とする第1表のよう
な2組の符号化パラメータセットを持つものとしてい
る。即ち闘値算出部16においてσYUV≧3のときパラ
メータセット1が選択され、σYUV<3のときパラメ
ータセット2が選択される。
On the other hand, the encoding parameter memory 17 stores the above-described σ Y /
coding parameters (闘値) T 1Y T 2Y applied to the luminance components and chrominance components corresponding to the value of sigma UV, set of values of T 1UV T 2UV is stored. This coding parameter is a value indicating the percentage of the total data where the position of the threshold value in the cumulative frequency of each component is set, and the larger the value of σ Y / σ UV , the more the amount of code of the luminance component is distributed. Is large. For example, in this embodiment, there are two encoding parameter sets as shown in Table 1 where the value of σ Y / σ UV is 3 as a boundary. That is, the parameter set 1 is selected when σ Y / σ UV ≧ 3, and the parameter set 2 is selected when σ Y / σ UV <3.

そして具体的には第2表に示すような標準偏差σY
Uを有する画像Aに対してはパラメータセット1
を、また、画像Bに対してはパラメータセット2を用い
るようにしている。
Specifically, the standard deviations σ Y , σ as shown in Table 2
U, parameter set 1 is the image A having a sigma V
, And the parameter set 2 is used for the image B.

このような値により累積頻度算出部より算出された累
積頻度により、所定のパーセンテージとなるようにその
画像における闘値の値を出力する。
Based on the cumulative frequency calculated by the cumulative frequency calculating unit based on such values, the threshold value in the image is output so as to be a predetermined percentage.

次に本実施例に係る画像データ圧縮装置の実施例の作
動を説明する。
Next, the operation of the embodiment of the image data compression apparatus according to the present embodiment will be described.

本実施例では、画像データの階調レベルを0〜255と
して説明する。
In the present embodiment, a description will be given on the assumption that the gradation level of image data is 0 to 255.

まず、端子1から入力された多値画像データは、デマ
ルチプレクサ2で各画像データ毎にバッファメモリ3,4,
5に蓄積され原画像とされる。そして、原画像を4×4
画素で構成されるブロックに分割し、このうちの1ブロ
ックの画像データXijがバッファメモリより順々に読み
出される。階調変化量検出部7は、入力された多値画像
データXijから最大階調値LMAXと最小階調値LMINを検出
して出力する。
First, the multi-valued image data input from the terminal 1 is demultiplexed by the demultiplexer 2 into buffer memories 3, 4,.
5 is stored as an original image. And the original image is 4 × 4
The image data is divided into blocks each composed of pixels, and image data X ij of one block is sequentially read from the buffer memory. Gradation change amount detector 7, from the inputted multi-valued image data X ij detects the maximum gradation value L MAX and the minimum gradation value L MIN output.

出現頻度算出部8では、階調変化量検出部7からのブ
ロック内最大階調値LMAXと最小階調値LMINに基づいて、
差分値LMAX−LMINを求め、差分値LMAX−LMINの出現頻度
を計数する。
In the appearance frequency calculation unit 8, based on the maximum gradation value L MAX and the minimum gradation value L MIN in the block from the gradation change amount detection unit 7,
The difference value L MAX -L MIN is obtained, and the frequency of occurrence of the difference value L MAX -L MIN is counted.

ここで、画像データの階調レベルが0〜255であるの
で、差分値LMAX−LMINも0〜255の範囲で分布する。
Here, since the gradation level of the image data is 0 to 255, the difference value L MAX -L MIN is also distributed in the range of 0 to 255.

これらの処理を、1画面に対して繰り返し、1画面内
での256種類の差分値の出現頻度を算出し、出現頻度テ
ーブル9に格納する。
These processes are repeated for one screen, and the appearance frequencies of 256 types of difference values in one screen are calculated and stored in the appearance frequency table 9.

出現頻度を算出した後、前記出現頻度テーブル9内の
出現頻度データをもとに、統計量算出部10は多値画像デ
ータの差分値の標準偏差を算出する。算出した標準偏差
は、制御部33の指示により、Y成分統計量メモリ12、U
成分統計量メモリ13または、V成分統計量メモリ14のい
ずれかに格納される。
After calculating the appearance frequency, the statistic calculation unit 10 calculates the standard deviation of the difference value of the multi-valued image data based on the appearance frequency data in the appearance frequency table 9. The calculated standard deviation is stored in the Y component statistics memory 12, U
It is stored in either the component statistics memory 13 or the V component statistics memory 14.

以上の処理を3成分(Y成分、U成分、V成分)につ
いて行い、各成分の処理が終了した後、Y成分統計量メ
モリ12、U成分統計量メモリ13、V成分統計量メモリ14
内のデータを上述したように統計量比較部15で比較す
る。各統計量の値により、符号化パラメータメモリ17中
の各成分の符号化パラメータ(累積頻度に対するパーセ
ンテージ)を選択する。
The above processing is performed for the three components (Y component, U component, and V component). After the processing of each component is completed, the Y component statistics memory 12, the U component statistics memory 13, and the V component statistics memory 14
Are compared by the statistic comparison unit 15 as described above. According to the value of each statistic, the coding parameter (percentage to the cumulative frequency) of each component in the coding parameter memory 17 is selected.

上記処理後、制御部33の指示により、再度、原画像
(各成分画像の内の1つの画像)を選択して、第3図に
示すように4×4画素で構成されるブロックに分割し、
このうちの1ブロックの画像データXijが制御装置33の
指示により各成分のバッファメモリ3,4,5のいずれかが
選択され、順次読み出される。
After the above processing, the original image (one of the component images) is selected again according to the instruction of the control unit 33, and divided into blocks composed of 4 × 4 pixels as shown in FIG. ,
One of the blocks of image data X ij is selected from the buffer memories 3, 4, and 5 of each component in accordance with an instruction from the control device 33, and is sequentially read.

階調変化量検出部7は、画像データXijから最大値L
MAXと最小値LMINとを検出し、出力する。
The gradation change amount detection unit 7 calculates the maximum value L from the image data Xij.
MAX and the minimum value L MIN are detected and output.

出現頻度算出部8は、階調変化量検出部7からのブロ
ック内最大階調値LMAXと最小階調値LMINとに基づいて、
差分値LMAX−LMINを算出し、差分値LMAX−LMINの出現頻
度を計数する。
The appearance frequency calculation unit 8 calculates the maximum gradation value L MAX and the minimum gradation value L MIN in the block from the gradation change amount detection unit 7,
The difference value L MAX -L MIN is calculated, and the appearance frequency of the difference value L MAX -L MIN is counted.

上記の処理を1成分の多値画像データに対して繰り返
し、各成分内での出現頻度を算出し、出現頻度テーブル
9に格納する。
The above processing is repeated for one-component multivalued image data, and the appearance frequency in each component is calculated and stored in the appearance frequency table 9.

出現頻度を算出した後、前記出現頻度テーブル9内の
出現頻度データをもとに累積頻度算出部11は累積頻度を
算出する。さらに、闘値算出部16では、前記累積頻度算
出部11の出力と前記統計量比較部15の出力および符号化
パラメータメモリ17の内容とから、上述したように闘値
を算出する。
After calculating the appearance frequency, the cumulative frequency calculation unit 11 calculates the cumulative frequency based on the appearance frequency data in the appearance frequency table 9. Further, the threshold calculation unit 16 calculates the threshold from the output of the cumulative frequency calculation unit 11, the output of the statistic comparison unit 15, and the contents of the encoding parameter memory 17 as described above.

階調数決定部18は、前記差分値と前記闘値算出部16の
出力である代表階調数判定用の闘値T1(Y成分ならT1Y,
UV成分ならT1UV)とを比較し、代表階調数を1とする
か、2以上とするかを決定する。代表階調数が2以上と
判定した場合には、前記差分値を代表階調数判定の第二
の闘値T2と比較し、代表階調数2とするか4とするかを
決定する。
The number-of-tones determination unit 18 determines the difference value and the threshold value T 1 (the Y component, T 1Y ,
If the UV component is T1UV ), it is determined whether the representative gradation number is 1 or 2 or more. If the number of representative gradations is determined to be 2 or more, the difference value is compared with a second threshold value T2 for determining the number of representative gradations, and it is determined whether the number of representative gradations is 2 or 4. .

前記階調数決定部18で決定した代表階調数に応じて、
代表階調値決定部19は、ブロック内の階調を線形または
非線形量子化により求める。
According to the representative number of gradations determined by the number-of-gradations determining unit 18,
The representative tone value determination unit 19 obtains the tone in the block by linear or non-linear quantization.

代表階調数が1の場合、第4図(1)に示すようにブ
ロック内の平均値を代表階調値とし、基準値Laとする。
さらに分解能成分φ1として、第5図(1)に示す
ように全画素に0を割り当てる。
When the number of representative gradations is 1, the average value in the block is set as the representative gradation value and the reference value La as shown in FIG.
Further, 0 is assigned to all pixels as the resolution components φ 1 and φ 2 as shown in FIG.

代表階調数が2の場合、第4図(2)に示すようにブ
ロック内の最大階調値LMAXと最小階調値LMINの中間値を
算出し、該中間値以上の階調値の平均値P1と該中間値未
満の階調値の平均値P2を求める。さらに、基準値Laとし
てP1とP2の平均値(P1+P2)/2を算出する。分解能成分
φとして、代表階調値P1の画素には0を割り当て、代表
階調値がP2の画素には1を割り当てる。φは全画素に
0を割り当てる(第5図(2))。また、前記P1とP2
差P1−P2を差分値Ldとする。
When the representative number of gradations is 2, an intermediate value between the maximum gradation value L MAX and the minimum gradation value L MIN in the block is calculated as shown in FIG. determination of the mean value P 1 and the average P 2 of the gradation values of less than between values intermediate. Further, an average value (P 1 + P 2 ) / 2 of P 1 and P 2 is calculated as the reference value La. As resolution component phi, assign a 0 for the pixels of the representative gradation value P 1, the representative gradation value is assigned a 1 to the pixels of P 2. phi 2 assigns a 0 to all the pixels (FIG. 5 (2)). Further, the difference between P 1 -P 2 of the P 1 and P 2 is the difference value Ld.

代表階調数が4の場合、第4図(3)に示すように、
ブロック内の最大階調値LMAXと最小階調値LMINを4等分
して、上位1/4の範囲(境界線を含む)となる階調値の
平均値Q1と下位1/4の範囲(境界線を含まず)となる階
調値の平均値Q4を求める。基準値Laは、前記Q1とQ2の平
均値(Q1+Q4)/2を算出する。また、前記Q1とQ2から2
(Q1−Q4)/3を差分値Ldとする。さらに、Q1,Q4間を3
等分する階調値を算出する。前記Q1,Q4と3等分する階
調値をブロックの代表階調値とする。これをQ1,Q2,Q3,Q
4とし、第4図(3)のように定める。分解能成分は、
代表階調値に応じて、次のように割り当てる。
When the number of representative gradations is 4, as shown in FIG.
The maximum gradation value L MAX and the minimum gradation value L MIN in the block are divided into four equal parts, and the average value Q 1 and the lower 1/4 of the gradation values in the upper 1/4 range (including the boundary line) Request range average Q 4 of the gradation values become (not including the border). Reference value La calculates the Q 1, average value of Q 2 (Q 1 + Q 4 ) / 2. Further, above for Q 1 in, Q 2 from 2
Let (Q 1 −Q 4 ) / 3 be the difference value Ld. Furthermore, the distance between Q 1 and Q 4 is 3
Calculate gradation values to be equally divided. The gradation value equally divided into Q 1 and Q 4 is set as a representative gradation value of the block. This is called Q 1 , Q 2 , Q 3 , Q
4 and set as shown in Fig. 4 (3). The resolution component is
Assignment is performed as follows according to the representative gradation value.

代表階調値がQ1の画素では、φ=0, φ=0とし、 代表階調値がQ2の画素では、φ=0, φ=1, 代表階調値がQ3の画素では、φ=1, φ=0, 代表階調値がQ4の画素では、φ=1, φ=1とする。In the pixel representative gradation values Q 1, φ 1 = 0, and phi 2 = 0, in the pixel representative gradation value Q 2, φ 1 = 0, φ 2 = 1, the representative gradation value Q 3 In the pixel of, φ 1 = 1, φ 2 = 0, and in the pixel whose representative gradation value is Q 4 , φ 1 = 1, φ 2 = 1.

上記のようにして、代表階調値決定部19で、ブロック
内の代表階調値、基準値、差分値を、決定後、階調値格
納部24に代表階調値を格納する。
As described above, after the representative gradation value, the reference value, and the difference value in the block are determined by the representative gradation value determination unit 19, the representative gradation value is stored in the gradation value storage unit 24.

比較部28は、1ブロックの多値画像データXijを1画
素ずつ読み出して前記階調値格納部24の代表階調値と比
較する。これにより、いずれの代表階調値で近似するか
を決定し、代表階調値に対応する分解能成分φ1
出力し、出力された分解能成分は、各々、分解能成分格
納バッファ25,29に格納される。前記分解能成分格納バ
ッファ25,29の内容は、符号化部26,30に読み出され、公
知のMMR符号化により符号化され、分解能成分格納部27,
31に格納される。
The comparison unit 28 reads out one block of multi-valued image data X ij one pixel at a time and compares it with the representative gradation value in the gradation value storage unit 24. With this, it is determined which of the representative gradation values is approximated, and the resolution components φ 1 and φ 2 corresponding to the representative gradation values are output. Stored in 29. The contents of the resolution component storage buffers 25 and 29 are read out by the encoding units 26 and 30 and encoded by a known MMR encoding, and the resolution component storage units 27 and 30 are read.
Stored in 31.

代表階調決定部19で算出された基準値Laと、差分値Ld
とは、符号発生部20,22で可変長符号化されて各々バッ
ファメモリ21,23に格納される。
The reference value La calculated by the representative gradation determination unit 19 and the difference value Ld
Are variable-length coded by the code generators 20 and 22 and stored in the buffer memories 21 and 23, respectively.

以上のようにして、1成分の多階調画像の処理終了
後、La,Ld,φ1,φの符号化データはマルチプレクサ
(MPX)32を介して順次読み出され、送出される。
As described above, after the completion of processing multi-tone image of 1 component, La, Ld, .phi.1, phi 2 of the encoded data sequentially read via the multiplexer (MPX) 32, is sent.

従って、本実施例によれば、各画像データの符号量を
階調変化量の統計量に基づいて定めるようにしたため、
カラー画像データを定められた符号量内に符号化するに
際して、良好な画像を得ることができ、各画像データの
符号量の配分を短時間に行なうことができる。
Therefore, according to the present embodiment, the code amount of each image data is determined based on the statistic of the gradation change amount.
When encoding color image data within a predetermined code amount, a good image can be obtained, and the code amount of each image data can be distributed in a short time.

尚、本実施例において、符号量の配分に用いる統計量
として、標準偏差を用いた例を示したが、統計量とし
て、分散、平均を用いても同様の判別ができる。また、
本実施例では、符号化パラメータは所定の値のものを2
セット設けるようにしたがこれは他の値を採用すること
もできるし、また、3セット以上のものを設けるように
してもよい。
In the present embodiment, an example in which the standard deviation is used as the statistic used for the distribution of the code amount has been described. However, the same determination can be made by using the variance and the average as the statistic. Also,
In the present embodiment, the encoding parameter has a predetermined value of 2
Although a set is provided, other values may be employed, or three or more sets may be provided.

更に、本実施例では、出現頻度テーブル11を各成分共
通としたが、出現頻度テーブルを各成分ごとに用意する
ことにより、出現頻度の算出回数を削減し、高速化が可
能となる。
Further, in this embodiment, the appearance frequency table 11 is common to each component. However, by preparing an appearance frequency table for each component, the number of times of calculation of the appearance frequency can be reduced and the speed can be increased.

〔発明の効果〕〔The invention's effect〕

以上説明したように、本発明によれば、画像データの
圧縮装置において、カラー画像を符号化するに際し、カ
ラー画像の各画像成分毎にブロック内階調値の階調変化
量の出現頻度を算出し、この変化量の統計量を算出し、
該統計量に基づいて、各成分への符号量の配分を行なう
ようにしたため、定められた符号量内において最適な符
号量の配分を短時間で行なうことができるという効果を
奏する。
As described above, according to the present invention, the image data compression apparatus calculates the appearance frequency of the gradation change amount of the gradation value in the block for each image component of the color image when encoding the color image. Calculate the statistic of this change,
Since the code amount is distributed to each component based on the statistic, there is an effect that the optimal code amount can be distributed within a predetermined code amount in a short time.

また、本願の第2の発明に係る画像処理装置にあって
は、多階調提供型ブロック符号化方式を採用した画像デ
ータ圧縮装置に採用できるものであり、このような装置
において符号化を行なう際の闘値と階調数を迅速に決定
することができるものとなる。
Further, the image processing apparatus according to the second aspect of the present invention can be applied to an image data compression apparatus employing a multi-tone provision type block encoding method, and performs encoding in such an apparatus. In this case, the threshold value and the number of gradations can be quickly determined.

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

第1図は本発明の原理図、第2図は本発明に係る画像デ
ータ圧縮装置の実施例のブロック図、第3図はGBTCアル
ゴリズムの説明図、第4図は代表階調値の算出方法の説
明図、第5図は分解能成分の説明図である。 41……階調変化量検出手段 42……出現頻度算出手段 43……統計量算出手段 44……闘値決定手段
FIG. 1 is a principle diagram of the present invention, FIG. 2 is a block diagram of an embodiment of an image data compression apparatus according to the present invention, FIG. 3 is an explanatory diagram of a GBTC algorithm, and FIG. FIG. 5 is an explanatory diagram of a resolution component. 41: gradation change amount detecting means 42: appearance frequency calculating means 43: statistical amount calculating means 44: threshold value determining means

フロントページの続き (72)発明者 吉田 茂 神奈川県川崎市中原区上小田中1015番地 富士通株式会社内 (58)調査した分野(Int.Cl.6,DB名) H04N 1/41 - 1/419 H04N 7/24 - 7/68 H04N 11/04The continuation of the front page (72) Inventor Shigeru Yoshida 1015 Uedanaka, Nakahara-ku, Kawasaki-shi, Kanagawa Prefecture Within Fujitsu Limited (58) Fields investigated (Int.Cl. 6 , DB name) H04N 1/41-1/419 H04N 7/24-7/68 H04N 11/04

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】カラー画像の多値画像を隣接する複数の画
素からなるブロックに分割し、各ブロック毎にブロック
内の最大階調値と最小階調値との差とを闘値とを比較す
る手段と、 前記比較手段による比較結果に基づいてブロックの画像
を表示する代表階調数を求める手段と、 前記代表階調数に基づいて算出される代表階調値を、各
ブロックにおける基準値と、代表階調値間の差に基づい
て算出される差分値とで表す手段と、 各ブロックにおける代表階調値の分布を示す分解能成分
を算出する手段と、 上記基準値と差分値と分解能成分とを符号化する手段と
を備える画像データ圧縮装置において、 カラー画像を構成する複数成分のそれぞれについて、ブ
ロック内の最大階調値と最小階調値との差分を求める階
調変化量検出手段と、 前記階調変化量検出手段により求めた階調変化量から、
カラー画像を構成する各成分毎の階調変化量の出現頻度
を求める出現頻度算出手段と、 前記出現頻度算出手段で求めた各成分毎の階調変化量の
統計量を算出する統計量算出手段と、 上記統計量算出手段で算出した各成分の統計量に予め定
められた演算を行なうことで算出される値を予め定めら
れた値と比較し、前記各成分毎にブロック内の階調数を
決定するための闘値を決定する闘値決定手段とを設けた
ことを特徴とする画像データ圧縮装置。
1. A multi-valued image of a color image is divided into blocks each including a plurality of adjacent pixels, and a difference between a maximum gradation value and a minimum gradation value in each block is compared with a threshold value for each block. Means for calculating the number of representative gradations for displaying the image of the block based on the result of comparison by the comparing means; and a reference gradation value calculated based on the number of representative gradations as a reference value for each block. Means for expressing a difference value calculated based on the difference between the representative gradation values, means for calculating a resolution component indicating the distribution of the representative gradation values in each block, and the above-mentioned reference value, difference value and resolution An image data compression apparatus comprising: means for encoding components; and a gradation change amount detecting means for calculating a difference between a maximum gradation value and a minimum gradation value in a block for each of a plurality of components constituting a color image. And the gradation From the gradation change amount obtained by reduction amount detection means,
An appearance frequency calculating means for calculating an appearance frequency of a gradation change amount for each component constituting the color image; and a statistic calculation means for calculating a statistic of the gradation change amount for each component obtained by the appearance frequency calculation means. And comparing a value calculated by performing a predetermined operation on the statistic of each component calculated by the statistic calculation means with a predetermined value, and for each of the components, the number of gradations in a block. And a threshold value determining means for determining a threshold value for determining the threshold value.
【請求項2】カラー画像の多値画像を隣接する複数の画
素からなるブロックに分割し、各ブロックごとにブロッ
ク内の最大階調値と最小階調値との差と闘値とを比較す
る手段と、 前記比較手段による比較結果に基づいてブロックの画像
を表示する代表階調数を求める手段と、 前記代表階調値に基づいて算出される代表階調値を、各
ブロックにおける基準値と、代表階調値間の差に基づい
て算出される差分値であらわす手段と、 各ブロックにおける代表階調値の分布を示す分布分解能
成分を算出する手段と、上記基準値と差分値と分解能成
分とを符号化する手段とを備える画像データ処理装置に
おいて、 カラー画像を構成する複数成分のそれぞれについて、ブ
ロック内の最大階調値と最小階調値との差分を求める階
調変化量検出手段と、 前記階調変化量検出手段により求めた階調変化量から、
カラー画像を構成する各成分毎の階調変化量の出現頻度
を求める出現頻度算出手段と、 前記出現頻度算出手段で求めた各成分毎の階調変化量の
統計量を算出する統計量算出手段と、 上記統計量算出手段で算出した各成分の統計量から予め
定められた演算によって算出される値を予め定めた値と
比較し、前記各成分毎にブロック内の階調数を決定する
ための闘値を決定する闘値決定手段とを設けたことを特
徴とする画像処理装置。
2. A multi-valued image of a color image is divided into blocks each including a plurality of adjacent pixels, and a difference between a maximum gradation value and a minimum gradation value in each block and a threshold value are compared for each block. Means, means for calculating the number of representative gradations for displaying the image of the block based on the comparison result by the comparing means, and a representative gradation value calculated based on the representative gradation value, a reference value for each block, Means for representing a difference value calculated based on the difference between the representative gradation values, means for calculating a distribution resolution component indicating the distribution of the representative gradation values in each block, and the reference value, the difference value, and the resolution component. Image data processing apparatus comprising: a gradation change amount detection unit that obtains a difference between a maximum gradation value and a minimum gradation value in a block for each of a plurality of components constituting a color image. , Before From the gradation change amount obtained by the gradation change amount detecting means,
An appearance frequency calculating means for calculating an appearance frequency of a gradation change amount for each component constituting the color image; and a statistic calculation means for calculating a statistic of the gradation change amount for each component obtained by the appearance frequency calculation means. And comparing a value calculated by a predetermined calculation from a statistic of each component calculated by the statistic calculation means with a predetermined value to determine the number of tones in a block for each of the components And a threshold value determining means for determining a threshold value of the image.
JP26055788A 1988-10-18 1988-10-18 Image data compression device and image processing device Expired - Lifetime JP2802629B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP26055788A JP2802629B2 (en) 1988-10-18 1988-10-18 Image data compression device and image processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP26055788A JP2802629B2 (en) 1988-10-18 1988-10-18 Image data compression device and image processing device

Publications (2)

Publication Number Publication Date
JPH02108372A JPH02108372A (en) 1990-04-20
JP2802629B2 true JP2802629B2 (en) 1998-09-24

Family

ID=17349612

Family Applications (1)

Application Number Title Priority Date Filing Date
JP26055788A Expired - Lifetime JP2802629B2 (en) 1988-10-18 1988-10-18 Image data compression device and image processing device

Country Status (1)

Country Link
JP (1) JP2802629B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6641947B1 (en) 1999-09-21 2003-11-04 The Gillette Company Air manager system for metal air battery
JP2020123917A (en) * 2019-01-31 2020-08-13 富士通株式会社 Image processing program, image processing device, and image processing method
CN117437310B (en) * 2023-12-21 2024-02-27 天津市第五中心医院 Image compression method for organ-like culture

Also Published As

Publication number Publication date
JPH02108372A (en) 1990-04-20

Similar Documents

Publication Publication Date Title
US5377018A (en) Video compression and decompression using block selection and subdivision
JP2800633B2 (en) Image coding device
EP0296608B1 (en) Encoding of a picture signal in consideration of contrast in each picture and decoding corresponding to the encoding
US5544286A (en) Digital video data compression technique
JP3017380B2 (en) Data compression method and apparatus, and data decompression method and apparatus
EP1213928B1 (en) Image coding/decoding method, image coding apparatus and image decoding apparatus
US8041135B2 (en) Image encoding apparatus and control method thereof
JP3119371B2 (en) Image processing method
JPH10336654A (en) Image encoder
JP2802629B2 (en) Image data compression device and image processing device
JP3231800B2 (en) Image encoding apparatus and image encoding method
US20020021834A1 (en) Image processing method, image processing apparatus and image processing system
JPH099265A (en) Device and method for encoding image
JP3223046B2 (en) Error diffusion coding apparatus for binary image
JPH07236142A (en) Highly efficient encoding and decoding devices
JPH082083B2 (en) Multi-level image block coding device
JPH09275498A (en) Image compressing method
JPH04336894A (en) Moving picture coder
JP2500583B2 (en) Image signal quantization characteristic control method and image signal compression coding apparatus
JP2874003B2 (en) High efficiency coding apparatus and coding method
JPH0974561A (en) Adaptive area division image encoding system
JPH099266A (en) Device and method for image encoding
JPH07112243B2 (en) Block division sequential reproduction coding method
JP3085017B2 (en) Encoding device and decoding device
JPH099065A (en) Picture data compression encoding method and decoding method