JP2000307879A - Method and device for color image communication - Google Patents

Method and device for color image communication

Info

Publication number
JP2000307879A
JP2000307879A JP11107923A JP10792399A JP2000307879A JP 2000307879 A JP2000307879 A JP 2000307879A JP 11107923 A JP11107923 A JP 11107923A JP 10792399 A JP10792399 A JP 10792399A JP 2000307879 A JP2000307879 A JP 2000307879A
Authority
JP
Japan
Prior art keywords
image
quantization
reference value
data
quantized
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
JP11107923A
Other languages
Japanese (ja)
Inventor
Hitoshi Horie
等 堀江
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 System Solutions Japan Co Ltd
Original Assignee
Matsushita Graphic Communication Systems Inc
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 Graphic Communication Systems Inc filed Critical Matsushita Graphic Communication Systems Inc
Priority to JP11107923A priority Critical patent/JP2000307879A/en
Publication of JP2000307879A publication Critical patent/JP2000307879A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To improve the quality of a binary image such as a character image by reducing mosquito noise, that occurs when JPEG type coding and decoding are performed in communication equipment which handles color images. SOLUTION: This color image communication equipment decides the image area of a mixed image to a luminance signal in a color component signal in a decision circuit 1070, quantizes a halftone image by using a quantization reference value (a), quantizes binary image data by using a qunatization reference value (b) (a<b) and transmits them. A receiving side performs asymmetrical inverse quantization of the binary image data by using a reference value, whose value is the same as the value (a) and clamps a part which protrudes outside the dynamic range of luminance by a clamping circuit 1132.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明はカラー画像通信方法
およびカラー画像通信装置に関し、特に、写真等の中間
調画像と文字や線画等の2値画像とが混在した画像を通
信するカラー画像通信方法およびカラー画像通信装置に
関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a color image communication method and a color image communication apparatus, and more particularly to a color image communication method for communicating an image in which a halftone image such as a photograph and a binary image such as a character and a line drawing are mixed. And a color image communication device.

【0002】[0002]

【従来の技術】写真などの中間調画像の符号化方式とし
ては、JPEGに代表されるような離散コサイン変換(DCT:
Discrete Cosine Transform)を用いた変換符号化
が広く使われている。変換符号化はDCTなどの直交関数
により画像の2次元配列を空間周波数成分の2次元配列
に変換する。
2. Description of the Related Art As a coding method of a halftone image such as a photograph, a discrete cosine transform (DCT:
Transform coding using Discrete Cosine Transform is widely used. Transform coding converts a two-dimensional array of images into a two-dimensional array of spatial frequency components using an orthogonal function such as DCT.

【0003】人物像や風景写真などの自然画像は画素間
の隣接相関が高いので、低い空間周波数成分が多く、高
い空間周波数成分は比較的少ない。一方、高い空間周波
数成分は粗く近似しても画質劣化が目につきにくいこと
が知られ、低い空間周波数成分を細かく量子化し、高い
周波数成分を粗く量子化することによってデータ量を削
減できる。
[0003] Natural images, such as portraits and landscape photographs, have a high adjacent correlation between pixels, and therefore have many low spatial frequency components and relatively few high spatial frequency components. On the other hand, it is known that even if the high spatial frequency component is roughly approximated, the deterioration of the image quality is not noticeable, and the data amount can be reduced by finely quantizing the low spatial frequency component and coarsely quantizing the high frequency component.

【0004】量子化された各周波数成分は画像情報に対
応した確率分布に従うので、ハフマン符号や算術符号に
よって、情報を損なうことなく確率分布と符号シンボル
で決まるエントピーに漸近したビット数に圧縮すること
ができる。
Since each quantized frequency component follows a probability distribution corresponding to image information, it is necessary to use a Huffman code or an arithmetic code to compress the number of bits asymptotically to the entpy determined by the probability distribution and the code symbol without impairing the information. Can be.

【0005】[0005]

【発明が解決しようとする課題】しかし、混在画像に対
してJPEG方式の符号化を施した場合には、復元画像
のエッジ周辺にもやもやしたノイズ(モスキートノイ
ズ)が現れる。これは、文字画像のような2値画像はエ
ッジ部分による高い空間周波数成分が多く、この高周波
成分が量子化によって失われることに起因して生じる。
However, when JPEG encoding is performed on a mixed image, mist noise (mosquito noise) appears around the edges of the restored image. This occurs because a binary image such as a character image has many high spatial frequency components due to an edge portion, and the high frequency components are lost by quantization.

【0006】このようなノイズは、ディスプレイの表示
では気にならないが、2値出力のプリンタでプリントア
ウトするべく誤差拡散処理(例えば、網点処理)を行う
と、面積階調が保存されてエッジ周辺に黒画素が孤立点
となって顕在化し、画質を劣化させることになる。
[0006] Such noise is not bothersome on the display, but when error diffusion processing (for example, halftone processing) is performed to print out with a binary output printer, the area gradation is preserved and the edge is saved. Black pixels appear as isolated points in the periphery and become apparent, deteriorating the image quality.

【0007】本発明はこのような問題に鑑みてなされた
ものであり、JPEG方式の符号化,復号化を行った場
合に生じる2値画像(文字画像等)の画質低下を大幅に
低減し、復元画像(特に、写真や文字が混在している画
像)の画質を格段に向上させることを目的とする。
The present invention has been made in view of such a problem, and greatly reduces the deterioration of the image quality of a binary image (such as a character image) that occurs when JPEG encoding and decoding are performed. An object of the present invention is to remarkably improve the image quality of a restored image (especially, an image in which photographs and characters are mixed).

【0008】[0008]

【課題を解決するための手段】請求項1記載のカラー画
像通信方法の発明は、カラー画像を輝度信号と色差信号
に分離し、輝度信号に対して中間調画像か2値画像かを
像域判定し、2値画像についてのデータと判定されたデ
ータを第1の量子化参照値を用いて量子化して量子化値
を得、その量子化値を符号化して送信し、受信側では、
送られてきた符号を復号した後、前記第1の量子化参照
値よりも大きな参照値を用いて逆量子化するするように
した。
According to a first aspect of the present invention, there is provided a color image communication method for separating a color image into a luminance signal and a color difference signal, and determining whether the luminance signal is a halftone image or a binary image. Judgment, the data judged to be data for the binary image is quantized using the first quantization reference value to obtain a quantization value, and the quantization value is encoded and transmitted.
After decoding the transmitted code, inverse quantization is performed using a reference value larger than the first quantization reference value.

【0009】これは、送信側と受信側とで量子化を非対
称としたものである。2値画像の画質劣化は、白画素の
近傍に薄い灰色の画素があったり、黒画素の近傍に濃い
灰色の画素があったりして白と黒の境界が不鮮明になる
ことにより生じる。本請求項の方法の場合、受信側で
は、対称量子化した場合に比べて輝度のダイナミックレ
ンジが広がるので、適切な白レベルあるいは黒レベルを
設定し、そのレベルを越えるものはすべて白または黒と
判定することができる。これにより、黒画素または白画
素の近傍に輝度がわずかに違う画素が存在することがな
くなり、シャープなエッジが得られ、画質が向上する。
[0009] In this method, quantization is asymmetrical between the transmitting side and the receiving side. The image quality degradation of the binary image is caused by the fact that there is a light gray pixel near a white pixel or a dark gray pixel near a black pixel, and the boundary between white and black becomes unclear. In the case of the method of the present invention, on the receiving side, the dynamic range of the luminance is widened as compared with the case of symmetric quantization, so that an appropriate white level or black level is set, and anything exceeding the level is converted to white or black. Can be determined. As a result, there is no pixel having a slightly different luminance near the black pixel or the white pixel, a sharp edge is obtained, and the image quality is improved.

【0010】請求項2記載のカラー画像通信の発明は、
カラー画像を輝度信号と色差信号に分離し、輝度信号に
対してのデータが中間調画像か2値画像かを判定し、中
間調画像についてのデータの場合には第1の量子化参照
値を用いて量子化して第1の量子化値を得、2値画像に
ついてのデータの場合には第2の量子化参照値を用いて
量子化して第2の量子化値を得、前記判定結果を示す識
別情報および前記第1,第2の量子化値を符号化手段に
より符号化して送信し、受信側では、送られてきた符号
を復号化手段により復号化した後、前記判定結果を示す
識別情報を参照して復号化されたデータの属性を識別
し、前記第1の量子化値に対応する復号データについて
は前記第1の量子化参照値と同じ値の参照値を用いて逆
量子化し、前記第2の量子化値に対応する復号データつ
いては前記第2の量子化参照値よりも大きな値の参照値
を用いて逆量子化するようにした。
According to a second aspect of the present invention, there is provided a color image communication apparatus comprising:
The color image is separated into a luminance signal and a color difference signal, and it is determined whether the data for the luminance signal is a halftone image or a binary image. To obtain a first quantized value, and in the case of data of a binary image, quantize using a second quantized reference value to obtain a second quantized value. The identification information and the first and second quantized values are encoded by an encoding unit and transmitted. On the receiving side, the transmitted code is decoded by a decoding unit, and then the identification The attribute of the decoded data is identified by referring to the information, and the decoded data corresponding to the first quantized value is dequantized using the same reference value as the first quantized reference value. , The decoded data corresponding to the second quantized value is the second quantity Was such that the inverse quantization using a reference value of a value greater than the referential value.

【0011】混在画像について量子化処理を含む符号化
(復号化)を行う場合等において、中間調画像と2値画
像とを区別し、画質が劣化しがちな2値画像の処理につ
いて非対称量子化という新規な処理を導入することによ
り、中間調画像と2値画像の双方を鮮明に復元できるよ
うになる。
In the case of performing encoding (decoding) including a quantization process on a mixed image, for example, a halftone image and a binary image are distinguished from each other, and the processing of a binary image whose image quality tends to deteriorate is asymmetrically quantized. By introducing such a new process, both the halftone image and the binary image can be clearly restored.

【0012】請求項3記載のカラー画像通信装置の発明
は、カラー画像を輝度信号と色差信号とのカラー成分信
号に分離する分離手段と、前記輝度信号データが中間調
画像についてのデータであるか2値画像についてのデー
タであるかを判定する判定手段と、前記輝度信号データ
を直交変換する直交変換手段と、前記判定手段による判
定結果に応じて量子化参照値を選択し、その選択された
量子化参照値を用いて前記直交変換手段から出力される
変換係数を量子化する量子化手段と、この量子化手段か
ら出力される量子化値および前記判定手段による判定情
報を符号化する符号化手段とを具備する送信処理手段
と、送信されてきた符号を復号化する復号化手段と、前
記判定情報によりデータの属性を判定し、中間調画像に
ついてのデータは量子化の際に用いられた前記量子化参
照値と同じ値の参照値を用いて逆量子化を行い、2値画
像についてのデータは量子化の際に用いられた前記量子
化参照値よりも大きな値の参照値を用いて逆量子化を行
う逆量子化手段と、前記直交変換の逆の変換を行う逆変
換手段と、この逆変換手段により逆変換された各カラー
成分信号を合成する合成手段とを具備する受信処理手段
と、を有する構成とした。
According to a third aspect of the present invention, there is provided a color image communication apparatus, comprising: separating means for separating a color image into a color component signal of a luminance signal and a color difference signal; and whether the luminance signal data is data on a halftone image. Determining means for determining whether the data is a binary image, orthogonal transform means for orthogonally transforming the luminance signal data, and selecting a quantization reference value according to a result of the determination by the determining means; A quantizing means for quantizing a transform coefficient output from the orthogonal transform means using a quantized reference value; and an encoding means for encoding a quantized value output from the quantizing means and determination information by the determining means. Means for transmitting data, decoding means for decoding the transmitted code, and determining the attribute of the data based on the determination information. Inverse quantization is performed using a reference value having the same value as the quantization reference value used at the time of quantization, and data about a binary image is larger than the quantization reference value used at the time of quantization. Inverse quantization means for performing inverse quantization using a reference value of the value, inverse transformation means for performing inverse transformation of the orthogonal transformation, and composition means for composing each color component signal inversely transformed by the inverse transformation means And a reception processing means having the following.

【0013】画像データの属性を識別する機能を送信
系,受信系の双方が備え、2値画像についてのデータに
ついては、非対称の量子化を行うことができる、新規な
画像通信装置が実現される。
[0013] A new image communication apparatus is realized in which both the transmission system and the reception system have a function of identifying the attribute of image data, and can perform asymmetric quantization on data of a binary image. .

【0014】請求項4記載のカラー画像通信装置の発明
は、請求項3に記載の発明において、前記カラー画像通
信装置は、画像読み取り手段と、カラー画像形成手段
と、通信インタフェースとして機能するモデムとを具備
するファクシミリ装置として実現したものである。
According to a fourth aspect of the present invention, in the color image communication apparatus according to the third aspect, the color image communication apparatus includes an image reading unit, a color image forming unit, and a modem functioning as a communication interface. This is realized as a facsimile machine having the following.

【0015】これにより、コンパクトかつ低価格という
要求を満足しつつ、従来よりも鮮明な画像を再現でき
る、高性能なファクシミリ装置が得られる。
As a result, a high-performance facsimile apparatus capable of reproducing a clearer image than before can be obtained while satisfying the requirements of compactness and low price.

【0016】[0016]

【発明の実施の形態】次に、本発明の実施の形態につい
て図面を参照して説明する。
Next, embodiments of the present invention will be described with reference to the drawings.

【0017】(実施の形態1)図1は、本発明の実施の
形態にかかるカラー画像通信装置の構成ならびにこの装
置を用いたカラー画像通信方法を説明するための図であ
る。
(Embodiment 1) FIG. 1 is a diagram for explaining a configuration of a color image communication apparatus according to an embodiment of the present invention and a color image communication method using the apparatus.

【0018】図1において、送信側の構成として、10
は、カラー画像分解回路であり、カラー画像を輝度信号
と色差信号の成分信号に分解する。カラー空間は、例え
ば、よく使われているLa*b*やYCbCrなどに用
いる。そして、分解されたカラー成分信号は、輝度信号
(L)メモリ11、色差信号(a*)メモリ12、色差
信号(b*)メモリ13にそれぞれ格納される。14
は、選択器であり、メモリ11〜13の出力を切り替え
て符号化処理装置1000aに供給するものである。こ
の符号化処理装置1000aの詳細は図2で説明する。
In FIG. 1, 10
Is a color image separation circuit for separating a color image into component signals of a luminance signal and a color difference signal. The color space is used for, for example, commonly used La * b * and YCbCr. The separated color component signals are stored in a luminance signal (L) memory 11, a color difference signal (a *) memory 12, and a color difference signal (b *) memory 13, respectively. 14
Is a selector, which switches the outputs of the memories 11 to 13 and supplies them to the encoding processing device 1000a. Details of the encoding processing device 1000a will be described with reference to FIG.

【0019】次に、受信側の構成として、1000bは
復号化処理装置であり、カラー成分信号を復号化した
後、選択器17を介して送信側とは逆にカラー成分信号
をそれぞれ格納する。その結果、輝度信号Lはメモリ1
8に、色差信号a*はメモリ19に、色差信号b*はメ
モリ20に復元されることになる。21は、カラー合成
回路であり、復元された輝度信号と色差信号からカラー
画像を合成する。
Next, as a configuration on the receiving side, a decoding processing device 1000b decodes the color component signals and stores the color component signals via the selector 17 in the opposite direction to the transmitting side. As a result, the luminance signal L is stored in the memory 1
8, the color difference signal a * is restored to the memory 19, and the color difference signal b * is restored to the memory 20. Reference numeral 21 denotes a color synthesizing circuit, which synthesizes a color image from the restored luminance signal and color difference signal.

【0020】図2は、図1における符号化処理装置10
00aと復号化処理装置1000bの構成図である。
FIG. 2 is a block diagram of the encoding processing apparatus 10 shown in FIG.
00a and a configuration diagram of a decryption processing device 1000b.

【0021】本実施の形態の特徴は、読み込まれた画像
データについて、そのデータが切り出された領域が2値
画像領域であるか中間調領域であるかを判定し、その判
定結果も符号化して送信し、2値画像のデータについて
は、量子化と逆量子化を異なる参照値を用いて非対称に
行い、2値画像のシャープなエッジの復元を実現するこ
とである。
A feature of the present embodiment is that, for read image data, it is determined whether an area from which the data is cut out is a binary image area or a halftone area, and the determination result is also encoded. To transmit the binary image data, quantization and inverse quantization are asymmetrically performed using different reference values to realize sharp edge restoration of the binary image.

【0022】図中、符号1000aは送信側の符号化処
理装置を示し、符号1000bは受信側の復号化処理装
置を示す。符号化処理装置1000aは、有線伝送路L
1を介して復号化処理装置1000bに符号データを送
信する。
In the figure, reference numeral 1000a indicates an encoding processing device on the transmitting side, and reference numeral 1000b indicates a decoding processing device on the receiving side. The encoding processing device 1000a includes a wired transmission path L
1 to the decoding device 1000b.

【0023】符号化処理装置1000aは、ブロック化
回路1010と、2次元DCT回路1020と、量子化
回路1030と、算術符号器1040と、スケーリング
ファクタの逆数を乗算する乗算器1050と、スケーリ
ングファクタ選択手段1060と、像域判定手段107
0と、量子化テーブル1080とを有している。
The coding processing apparatus 1000a includes a blocking circuit 1010, a two-dimensional DCT circuit 1020, a quantization circuit 1030, an arithmetic encoder 1040, a multiplier 1050 for multiplying a reciprocal of a scaling factor, and a scaling factor selection circuit. Means 1060 and image area determining means 107
0 and a quantization table 1080.

【0024】ブロック化手段1010は、画像メモリ
(図示せず)から画像データを読み込み、8画素×8画素
の2次元配列Pj,k(j,k=0〜7)にブロック化する。以下
の説明では、各画素は256階調とする。
Blocking means 1010 reads image data from an image memory (not shown) and blocks the image data into a two-dimensional array Pj, k (j, k = 0 to 7) of 8 × 8 pixels. In the following description, each pixel has 256 gradations.

【0025】像域判定回路1070は、対象ブロックが
文字などの2値画像であるか、そうでないか(つまり、
写真等の中間調ブロックであるか)を判定し、その判定
結果を示す識別情報(ブロック識別情報)1090をス
ケーリングファクタ選択手段1060と算術符号器10
40に送出する。ここで、図1のように、カラー成分信
号が入力される場合、その像域判定は、輝度成分に対し
て行う。そして、対応する色差信号に対しては、この判
定結果を適用するようにしている。
The image area determination circuit 1070 determines whether the target block is a binary image such as a character or not (that is,
Is determined as to whether the block is a halftone block such as a photograph or the like, and identification information (block identification information) 1090 indicating the determination result is output to the scaling factor selection unit 1060 and the arithmetic encoder 10.
Send to 40. Here, as shown in FIG. 1, when a color component signal is input, the image area determination is performed on the luminance component. Then, this determination result is applied to the corresponding color difference signal.

【0026】像域判定は基本的には、ブロック内の画素
の輝度の分布を見て判定する。但し、2値画像と判定し
た後も、水平方向のエッジが多いのか、垂直方向のエッ
ジが多いのか等の判定により、さらに複数通りに分類す
ることもある。この場合、その分類数に応じた量子化テ
ーブルやスケーリングファクタを用意する。また、一つ
のブロック内の画素のみならず、周囲のブロックの属性
(中間調画像のブロックであるか,2値画像のブロック
であるか)も考慮して注目するブロックの判定を行う
と、より正確な判定を行える。
Basically, the image area is determined by looking at the luminance distribution of the pixels in the block. However, even after determining that the image is a binary image, the image may be further classified into a plurality of types by judging whether there are many edges in the horizontal direction or many edges in the vertical direction. In this case, a quantization table and a scaling factor corresponding to the classification number are prepared. In addition, when a block of interest is determined in consideration of not only pixels in one block but also attributes of surrounding blocks (whether it is a block of a halftone image or a block of a binary image), Accurate judgment can be made.

【0027】2次元DCT回路1020は、画素配列P
j,kについて、中間値128をオフセットとして、(Pj,k-1
28)に対して2次元離散コサイン変換を施す。この結果
として得られる変換係数は空間周波数成分を表し、以
下、Sj,k(j,k=0〜7)と表すことにする。
The two-dimensional DCT circuit 1020 has a pixel array P
With respect to j and k, using the intermediate value 128 as an offset, (Pj, k-1
28) is subjected to a two-dimensional discrete cosine transform. The resulting transform coefficients represent spatial frequency components, and will be represented as Sj, k (j, k = 0 to 7).

【0028】変換係数は、量子化回路1030で変換係
数毎に、量子化参照値(Qj,k/ajまたはQj,k/bj)を
参照して量子化される。すなわち、量子化は、変換係数
を量子化参照値で割り、端数を切り捨てる(データを丸
める)処理である。
The transform coefficients are quantized by a quantization circuit 1030 with reference to a quantization reference value (Qj, k / aj or Qj, k / bj) for each transform coefficient. That is, quantization is a process of dividing a transform coefficient by a quantization reference value and rounding down a fraction (rounding data).

【0029】量子化参照値は、量子化回路1030によ
る量子化の際に基準となる単位である。量子化テーブル
1080のテーブル値をそのまま量子化参照値とするこ
ともできるが、本実施の形態では、適応処理を効率的に
行うべく、スケーリングファクタを用意しておき、量子
化テーブル1080の格納値(量子化テーブル値)にス
ケーリングファクタの逆数を乗算して量子化参照値とす
る構成をとっている。
The quantization reference value is a unit used as a reference when quantization is performed by the quantization circuit 1030. Although the table value of the quantization table 1080 can be used as it is as the quantization reference value, in the present embodiment, a scaling factor is prepared in order to perform adaptive processing efficiently, and the stored value of the quantization table 1080 is stored. (Quantization table value) is multiplied by the reciprocal of the scaling factor to obtain a quantization reference value.

【0030】本実施の形態では、2種類のスケーリング
ファクタaj、bj(aj<bj)を用意し、それぞれを中間調
画像の処理用,2値画像の処理用として用いる。このよ
うなスケーリングファクタの使い分けは、スケーリング
ファクタ選択回路1060が行う。
In this embodiment, two types of scaling factors aj and bj (aj <bj) are prepared and used for processing a halftone image and for processing a binary image. The scaling factor selection circuit 1060 performs such use of the scaling factor.

【0031】すなわち、スケーリングファクタ選択回路
1060は、像域判定回路1070の判定結果に応じ
て、予め定めた複数個のスケーリングファクタ[aj]を使
用するか、あるいは{bj}を使用するかを選択する。例
えば、スケーリングファクタがajのときには、量子化テ
ーブルに設定された値Qj,kすべてをajで割った整数値で
量子化する。なお、aj,bjを大きくすると画質が向上
し、符号量も増加する。
That is, the scaling factor selection circuit 1060 selects whether to use a plurality of predetermined scaling factors [aj] or {bj} according to the determination result of the image area determination circuit 1070. I do. For example, when the scaling factor is aj, quantization is performed using an integer value obtained by dividing all values Qj, k set in the quantization table by aj. It should be noted that when aj and bj are increased, the image quality is improved and the code amount is also increased.

【0032】量子化テーブル1080に格納されている
値(量子化テーブル値)の一例が図3に示される。図示
されるように、DC(直流)成分の周辺では細かく量子
化し、高周波成分については粗く量子化するようになっ
ている。
FIG. 3 shows an example of the values (quantization table values) stored in the quantization table 1080. As shown in the drawing, fine quantization is performed around a DC (direct current) component, and coarse quantization is performed for a high frequency component.

【0033】算術符号器1040は、量子化データ(量
子化値)および像域判定結果を示す識別情報を算術符号
化して送信する。
Arithmetic encoder 1040 arithmetically encodes the quantized data (quantized value) and the identification information indicating the image area determination result, and transmits the encoded data.

【0034】一方、受信側の復号化処理装置1000b
は、算術復号器1110と、逆量子化回路1120と、
2次元IDCT(逆DCT)変換回路1130と、クラ
ンプ回路1132と、ブロック復元回路1140と、ス
ケーリングファクタ選択回路1150と、量子化テーブ
ル1160と、スケーリングファクタの逆数を乗算する
乗算器1170とを具備し、復号化とは逆の処理を行っ
て画像データを復元する。
On the other hand, the decryption processing device 1000b on the receiving side
Is an arithmetic decoder 1110, an inverse quantization circuit 1120,
It comprises a two-dimensional IDCT (inverse DCT) transform circuit 1130, a clamp circuit 1132, a block restoration circuit 1140, a scaling factor selection circuit 1150, a quantization table 1160, and a multiplier 1170 for multiplying the reciprocal of the scaling factor. , Decoding is performed to restore image data.

【0035】ここで、注意すべき点は、逆量子化回路1
120における逆量子化における参照値が、Qj,k/ajと
なっていることと、ならびに、2次元逆DCT処理の後
にクランプ回路1132を用いた輝度レベルのクランプ
処理を行うことである。
Here, it should be noted that the inverse quantization circuit 1
The reference value in the inverse quantization at 120 is Qj, k / aj, and the clamp processing of the luminance level using the clamp circuit 1132 is performed after the two-dimensional inverse DCT processing.

【0036】つまり、中間調画像データについては、量
子化参照値Qj,k/ajを用いて量子化を行い、同じ値の参
照値Qj,k/ajを用いて逆量子化を行うので、対称的な処
理が行われる。ゆえに、JPEG方式による符号化,復
号化による良好な中間調画像が再現される。
That is, the halftone image data is quantized using the quantized reference value Qj, k / aj, and inversely quantized using the same reference value Qj, k / aj. Processing is performed. Therefore, a good halftone image is reproduced by encoding and decoding by the JPEG method.

【0037】一方、2値画像データについては、量子化
参照値Qj,k/bjを用いて量子化を行い、より大きな値を
もつ参照値Qj,k/ajを用いて逆量子化を行うことにな
り、ゆえに非対称の処理となる。
On the other hand, for the binary image data, quantization is performed using the quantization reference value Qj, k / bj, and inverse quantization is performed using the reference value Qj, k / aj having a larger value. And therefore an asymmetric process.

【0038】この非対称の処理について、図4(a)〜
(c)を参照しつつ、具体的に説明する。図3(a)〜
(c)は復元画像の輝度分布を示す図(輝度ヒストグラ
ム)である。
This asymmetric processing is described with reference to FIGS.
This will be specifically described with reference to FIG. FIG.
(C) is a diagram (luminance histogram) showing the luminance distribution of the restored image.

【0039】通常は、量子化と逆量子化は符号化と復号
化で対称に設計する。つまり、量子化したときと同じ値
の参照値を逆量子化でも使用する。スケーリングファク
タとしてbを用いたとすると、符号化のとき、DCT係
数Sj,kは、Qj,k/bで割られて次のように整数化される。
Normally, quantization and inverse quantization are designed symmetrically for encoding and decoding. That is, the same reference value as used when quantization is used in inverse quantization. Assuming that b is used as a scaling factor, at the time of encoding, the DCT coefficient Sj, k is divided by Qj, k / b and converted into an integer as follows.

【0040】 QSj,k = round(Sj,k/round(Qj,k/b))……(1) (1)式において、roundは端数の丸め処理を表す。一
方、受信側では、QSj,kを復号し、それにround(Qj,k/b)
をかけて逆量子化する。その結果、Sj,kをround(Qj,k/
b)で量子化した値が再現できる。このとき、量子化誤差
はround(Qj,k/b)以下となる。Sj,k < round(Qj,k/b)
である周波数成分はゼロとなる。そして、逆DCT変換
後に復元される画素の輝度値(DPx,y)は、Gx,yを逆D
CTを表す直交関数とすると、定数倍を除いて次のよう
に表される。
QSj, k = round (Sj, k / round (Qj, k / b)) (1) In equation (1), round represents a rounding process of a fraction. On the other hand, on the receiving side, QSj, k is decoded, and round (Qj, k / b)
And inverse quantization. As a result, Sj, k is changed to round (Qj, k /
The value quantized in b) can be reproduced. At this time, the quantization error is equal to or less than round (Qj, k / b). Sj, k <round (Qj, k / b)
Is zero. Then, the luminance value (DPx, y) of the pixel restored after the inverse DCT transform is obtained by calculating Gx, y by the inverse D
Assuming that the orthogonal function represents CT, it is expressed as follows except for a constant multiple.

【0041】DPx,y = ΣΣQSj,k・Gx,y……(2) 従来はこのようにして、対称的な量子化と逆量子化が行
われていた。しかし、2値画像に限れば、DPx,yは、−1
28(階調0),+127(階調255)の周辺に有効な値を
持つはずであり、これがモスキートノイズとなってあら
われる。この状態を図3に示す。
DPx, y = ΣΣQSj, k · Gx, y (2) Conventionally, symmetric quantization and inverse quantization have been performed in this manner. However, as far as binary images are concerned, DPx, y is −1
It should have valid values around 28 (gradation 0) and +127 (gradation 255), which appear as mosquito noise. This state is shown in FIG.

【0042】次に、本実施の形態のように、逆量子化の
スケーリングファクタとして、量子化より小さい値aを
選んだ場合を考える。逆量子化によって、上述の(1)
式において、round(Qj,k/a)がかけ算されるが、これはr
ound(Qj,k/b)より大きいので、復元される信号成分QSj,
kは符号化側よりも大きくなる。ここで、画像信号に逆
変換するための直交関数Gx,yは同じなので、画像の空間
周波数は同じで、輝度のダイナミックレンジが広がるこ
とになる。この状態を図3(b)に示す。2値画像をこ
のように処理すると、2値的性質がより顕著に現れる。
Next, a case where a value a smaller than the quantization is selected as the scaling factor for the inverse quantization as in the present embodiment will be considered. By the inverse quantization, the above (1)
In the formula, round (Qj, k / a) is multiplied by r
ound (Qj, k / b), the signal component QSj,
k is larger than the encoding side. Here, since the orthogonal function Gx, y for inversely converting to an image signal is the same, the spatial frequency of the image is the same, and the dynamic range of luminance is expanded. This state is shown in FIG. When a binary image is processed in this way, the binary nature becomes more pronounced.

【0043】そして、DPx,jに128を加算し、通常の階調
「255」と「0」で打ち切る(クランプする)と、ノ
イズとなる信号成分は「白」または「黒」とみなされ、
階調「255」または「0」のレベルに強制的に収束す
る。この状態を図3(c)に示す。
Then, when 128 is added to DPx, j and cut off (clamped) at the normal gradations "255" and "0", the signal component serving as noise is regarded as "white" or "black".
Forcibly converge to the level of the gradation "255" or "0". This state is shown in FIG.

【0044】これによって、モスキートノイズは解消す
ることになる。このダイナミックレンジの増幅率は、ほ
ぼb/a(b>a)である。このようにして、JPEG
方式の符号化,復号化を行った場合でも、従来より格段
に良好な2値画像を再現できることになる。
As a result, mosquito noise is eliminated. The gain of this dynamic range is substantially b / a (b> a). In this way, JPEG
Even when encoding and decoding are performed in a system, a significantly better binary image can be reproduced than in the past.

【0045】実験の結果、a=1.0, b=2.0とするとモス
キートノイズは全く現れず、しかもエッジのはっきりし
た理想的な2値画像が再現することがわかった。
As a result of the experiment, it was found that when a = 1.0 and b = 2.0, no mosquito noise appeared and an ideal binary image with clear edges was reproduced.

【0046】また、a=1.0, b=1.2〜1.5では文字輪郭に
僅かに中間調成分が現われる。但し、この場合もモスキ
ートノイズは解消できた。写真領域内に誤判定がある
と、画質劣化になるので、現実には、a=1.0, b=1.2〜
1.5程度が適当であると考えられる。
When a = 1.0 and b = 1.2 to 1.5, a slight halftone component appears in the character outline. However, the mosquito noise could be eliminated in this case as well. If there is a misjudgment in the photographic area, the image quality will deteriorate, so in reality, a = 1.0, b = 1.2 ~
Around 1.5 is considered appropriate.

【0047】以上説明した送信処理(ブロック符号化処
理)の手順をまとめると図5のようになる。
FIG. 5 summarizes the procedure of the transmission process (block encoding process) described above.

【0048】すなわち、ブロック画像の入力,統計量算
出の後(ステップ2010)、ブロックの像域判定を行
い(ステップ2020)、画素値から中間値128を減
算後にブロックを単位としてDCT変換を行う(ステッ
プ2030)。続いて、2値領域であると判断される場
合には(ステップ2040)、そのことを示すフラグと
して「1」を選択し(ステップ2050)、続いて、ス
ケーリングファクタbで量子化を行う(ステップ206
0)。一方、ステップ2040において、2値領域でな
いと判断される場合は、そのことを示すフラグとして
「0」を選択し(ステップ2070)、スケーリングフ
ァクタaで量子化を行う(ステップ2080)。続い
て、DC係数(直流成分)の符号化ならびにAC係数の
符号化を行う(ステップ2090,2100)。
That is, after inputting the block image and calculating the statistic (step 2010), the image area of the block is determined (step 2020), and the intermediate value 128 is subtracted from the pixel value. Step 2030). Subsequently, if it is determined that the area is a binary area (step 2040), “1” is selected as a flag indicating that (step 2050), and quantization is performed using the scaling factor b (step 2040). 206
0). On the other hand, if it is determined in step 2040 that the area is not a binary area, “0” is selected as a flag indicating that (step 2070), and quantization is performed using the scaling factor a (step 2080). Subsequently, coding of DC coefficients (DC components) and coding of AC coefficients are performed (steps 2090 and 2100).

【0049】また、受信側における復号化処理の手順を
まとめると図6のようになる。
FIG. 6 summarizes the procedure of the decoding process on the receiving side.

【0050】すなわち、図2の算術復号器1110が、
まず、ブロックの属性を示すシンボル(つまり、「1」
または「0」)を復号化し、その値に応じてどちらのブ
ロックであるかを判断する。
That is, the arithmetic decoder 1110 of FIG.
First, a symbol indicating the attribute of the block (that is, “1”)
Or "0") is decoded, and it is determined which block it is based on the value.

【0051】ステップ2130,2140はDC成分,
AC成分の復号化である。そして、2値領域であるかの
判断を行い(ステップ2150)、いずれの場合もスケ
ーリングファクタ「a」で逆量子化を行う(ステップ2
160,2170)。つまり、復元した変換係数にQj,k
/ajを乗算する処理を行う。続いて、コサイン逆変換演
算を行い、その値に128を加算して復元画素DPj,kを
得る(ステップ2180)。次に、クランプ回路113
2が、輝度レベルのクランプ処理を行う(ステップ21
90)。すなわち、復元画素DPj,kを、輝度レベル255と
輝度レベル0で打ち切り、DPj,kが255より大きければ25
5、0より小さければ0とする。それ以外はDPj,kのままと
する。以上で1ブロックの復元が終了する。このような
処理によって、2値画像ブロックに対しては細かく量子
化し、中間調ブロックに対しては粗く量子化する適応処
理が容易に実現できる。
Steps 2130 and 2140 are DC components,
Decoding of the AC component. Then, it is determined whether the area is a binary area (step 2150), and in either case, inverse quantization is performed using the scaling factor “a” (step 2150).
160, 2170). In other words, Qj, k
Performs processing to multiply / aj. Subsequently, a cosine inverse transform operation is performed, and 128 is added to the value to obtain a restored pixel DPj, k (step 2180). Next, the clamp circuit 113
2 performs a luminance level clamping process (step 21)
90). That is, the restored pixel DPj, k is cut off at the luminance level 255 and the luminance level 0, and if DPj, k is larger than 255,
If it is smaller than 5, 0, it is set to 0. Otherwise, leave DPj, k. Thus, the restoration of one block is completed. By such a process, an adaptive process of finely quantizing a binary image block and coarsely quantizing a halftone block can be easily realized.

【0052】なお、図2では符号化器として算術符号器
を用いているが、これは像域判定結果を示す識別情報と
DCT変換係数(相互に異なる種類の情報である)を、
算術符号として統一して送信でき、符号量を減少できる
とともに、復号化処理も簡素化されるからである。
In FIG. 2, an arithmetic coder is used as the coder. The coder uses identification information indicating an image area determination result and DCT transform coefficients (information of different types).
This is because arithmetic codes can be unified and transmitted, the code amount can be reduced, and the decoding process is simplified.

【0053】ただし、必ずしもこれに限定されるもので
はなく、算術符号以外のエントロピー符号化方式、例え
ば、図6に示すようにハフマン符号化を採用することも
できる。
However, the present invention is not necessarily limited to this, and entropy coding methods other than arithmetic codes, for example, Huffman coding as shown in FIG. 6 can be adopted.

【0054】図7の通信装置では、図2の場合と同様
に、像域判定と、2値画像データについての非対称量子
化,逆量子化処理とを行うことは同じである。また、送
信側の装置は、ブロック化回路5010,2次元DCT
回路5020,量子化回路5030,スケーリングファ
クタ選択回路5060,像域判定回路5070,量子化
テーブル5080を有し、この点は図2と同じである。
In the communication apparatus shown in FIG. 7, as in the case of FIG. 2, the image area determination and the asymmetric quantization and the inverse quantization of the binary image data are performed in the same manner. The transmitting device includes a blocking circuit 5010 and a two-dimensional DCT.
It has a circuit 5020, a quantization circuit 5030, a scaling factor selection circuit 5060, an image area determination circuit 5070, and a quantization table 5080, which are the same as those in FIG.

【0055】また、受信側の装置において、スケーリン
グファクタ選択回路5150,逆量子化回路5120,
2次元IDCT回路5130,ブロック画像復元回路5
140を有する点も、図2と同様である。
In the receiving apparatus, the scaling factor selection circuit 5150, the inverse quantization circuit 5120,
Two-dimensional IDCT circuit 5130, block image restoration circuit 5
The point having 140 is also the same as FIG.

【0056】但し、ハフマン符号化器5040を用いて
符号化を行う場合には、識別フラグデータと変換係数デ
ータとを、多重化回路5050により多重化する処理が
必要である。また、これに対応して、受信側で、情報分
離回路5100を設け、情報を分離する処理が必要とな
る。
However, when encoding is performed using the Huffman encoder 5040, a process of multiplexing the identification flag data and the transform coefficient data by the multiplexing circuit 5050 is required. In response to this, it is necessary to provide an information separating circuit 5100 on the receiving side and perform a process of separating information.

【0057】(実施の形態2)図8は実施の形態2にか
かる画像通信方法ならびに画像通信装置の内容を説明す
るための図である。
(Embodiment 2) FIG. 8 is a diagram for explaining the contents of an image communication method and an image communication apparatus according to Embodiment 2.

【0058】図8の送信側の装置は、ブロック化回路6
010と、2次元DCT回路6020と、量子化回路6
030と、算術符号やハフマン符号等を用いた符号化器
6040と、スケーリングファクタ選択回路6060
と、像域判定回路6070と、量子化テーブル6080
と、乗算器6050とを有する。また、受信側では、復
号器6110と、逆量子化回路6120と、2次元ID
CT回路6130と、クランプ回路6132と、ブロッ
ク復元処理回路6140と、スケーリングファクタ自動
選択回路6150と、量子化テーブル6160と、乗算
器6170とを具備している。
The device on the transmitting side in FIG.
010, a two-dimensional DCT circuit 6020, and a quantization circuit 6
030, an encoder 6040 using an arithmetic code, a Huffman code or the like, and a scaling factor selection circuit 6060
, Image area determination circuit 6070 and quantization table 6080
And a multiplier 6050. On the receiving side, a decoder 6110, an inverse quantization circuit 6120, and a two-dimensional ID
It includes a CT circuit 6130, a clamp circuit 6132, a block restoration processing circuit 6140, an automatic scaling factor selection circuit 6150, a quantization table 6160, and a multiplier 6170.

【0059】図示されるとおり、通信装置の基本的構成
は図2と同様であり、また、送信側で像域判定を行い、
判定結果に応じて異なるスケーリングファクタを用いて
量子化し、2値画像データについては、非対称量子化,
逆量子化を行う点で、前掲の実施の形態と共通する。
As shown, the basic configuration of the communication device is the same as that of FIG. 2, and an image area is determined on the transmitting side.
Quantization is performed using a different scaling factor according to the determination result.
The point that the inverse quantization is performed is common to the above-described embodiment.

【0060】但し、本実施の形態では、像域判定結果は
送信せず、受信側では、像域判定を行うことなく、所定
の参照値(像域判定とは無関係に定まる参照値)を用い
て逆量子化を行う点で、前掲の実施の形態とは異なる。
However, in this embodiment, the image area determination result is not transmitted, and the receiving side uses a predetermined reference value (a reference value determined independently of the image area determination) without performing the image area determination. This is different from the above-described embodiment in that inverse quantization is performed.

【0061】つまり、前掲の実施の形態では、送信側に
おいて、スケーリングファクタ「a」又は「b(>
a)」を用いて量子化し、受信側ではスケーリングファ
クタ「a(<b)」を用いて逆量子化している。したが
って、受信側における逆量子化の際には、画像属性の識
別情報は基本的に不要である。
That is, in the above-described embodiment, the scaling factor “a” or “b (>”
a) ”, and the receiving side performs inverse quantization using the scaling factor“ a (<b) ”. Therefore, at the time of inverse quantization on the receiving side, identification information of the image attribute is basically unnecessary.

【0062】つまり、使用されるスケーリングファクタ
(つまり、量子化参照値)の種類が2種類であり、か
つ、復号化に用いられるスケーリングファクタ(参照
値)が量子化に用いられるスケーリングファクタ(量子
化参照値)の一方と一致する場合には、識別情報がなく
ても、受信側で復号化を行える。
That is, there are two types of scaling factors (that is, quantization reference values) used, and the scaling factor (reference value) used for decoding is the scaling factor (quantization reference value) used for quantization. In the case where it matches one of the reference values, decoding can be performed on the receiving side without identification information.

【0063】このような観点から、本実施の形態では、
識別情報を送信しないこととした。復号側では、「識別
情報とは関係なく定まる参照値」を用いて逆量子化を行
う。ここで、「識別情報とは関係なく定まる参照値」と
は、送信側における像域判定結果とは関係なく一意に定
まる参照値のことである。その定め方としては、予め逆
量子化に使用するスケーリングファクタを決めておいた
り、あるいは、逆量子化に使用するスケーリングファク
タの選択の方法を予め定めておく方法等が考えられる。
From such a viewpoint, in the present embodiment,
It was decided not to send identification information. On the decoding side, inverse quantization is performed using “a reference value determined independently of identification information”. Here, the "reference value determined independently of the identification information" is a reference value uniquely determined regardless of the image area determination result on the transmission side. As a method of the determination, a scaling factor used for inverse quantization is determined in advance, or a method of selecting a scaling factor used for inverse quantization is determined in advance.

【0064】本実施の形態では、「量子化に使用する2
つのスケーリングファクタaj,bjのうちで小さい方のス
ケーリングファクタを使用して逆量子化をする」という
条件を、スケーリングファクタ自動選択回路6150に
与えておく。aj<bjなので、結果的に、ajが選択され、
このajを用いて逆量子化が行われることになる。
In the present embodiment, “2 used for quantization
The inverse quantization is performed using the smaller one of the two scaling factors aj and bj. " Since aj <bj, aj is eventually selected,
Inverse quantization is performed using this aj.

【0065】本実施の形態では、識別情報の送信を行う
必要がないため、仮に、ハフマン符号化方式のような算
術符号以外のエントロピー符号化方式を採用した場合で
も、図7に示すような多重化処理は不要であり、符号量
の増加の心配がない。ゆえに、種々の符号化方式を問題
なく採用することができる。
In this embodiment, since there is no need to transmit identification information, even if an entropy coding method other than an arithmetic code such as a Huffman coding method is adopted, the multiplexing as shown in FIG. There is no need for a conversion process, and there is no concern about an increase in the code amount. Therefore, various coding methods can be adopted without any problem.

【0066】また、復号化処理回路として特別な構成が
不要なので、従来装置と同様のICを使用でき、この点
でも便利である。
Further, since a special configuration is not required as the decoding processing circuit, the same IC as that of the conventional device can be used, which is also convenient.

【0067】本実施の形態における復号化の手順をまと
めると、図9のようになる。すなわち、DC成分,AC
成分を復元し(ステップ6200,6210)、符号
器,復号器間の取り決め(本実施の形態では、量子化に
用いられるスケーリングファクタのうちの小さい方を使
用するという取り決め)によって選択される所定のスケ
ーリングファクタで逆量子化を行う(ステップ622
0)。続いて、コサイン逆変換を行い(ステップ623
0)、所定のクランプ処理を行う(6240)。
FIG. 9 summarizes the decoding procedure in this embodiment. That is, DC component, AC
The components are restored (steps 6200 and 6210), and a predetermined rule selected by an agreement between the encoder and the decoder (in this embodiment, an agreement to use the smaller one of the scaling factors used for quantization). Inverse quantization is performed using the scaling factor (step 622).
0). Subsequently, inverse cosine transform is performed (step 623).
0), a predetermined clamping process is performed (6240).

【0068】(実施の形態3)図10に本実施の形態3
にかかる画像通信装置の構成を示す。図10の場合、図
2の装置の構成とほぼ同様であるため、図2と同じ箇所
には同じ参照符号を付してある。
(Embodiment 3) FIG. 10 shows Embodiment 3 of the present invention.
1 shows a configuration of an image communication apparatus according to the first embodiment. In the case of FIG. 10, since the configuration is almost the same as that of the apparatus of FIG. 2, the same parts as those of FIG. 2 are denoted by the same reference numerals.

【0069】本実施の形態の特徴は、復号側において、
選択器1160と、2値ブロック画像処理回路1170
と、中間調ブロック画像処理回路1180とを設け、算
術復号器1110により復元されたブロックの属性を示
す情報を選択器1160に送付し、選択器1160で復
元されたデータをブロック毎に、2値画像データと中間
調データに分離し、それぞれについて特別な処理を施し
て、さらに復元画像の画質を向上させることである。
The feature of this embodiment is that the decoding side
Selector 1160 and binary block image processing circuit 1170
And a halftone block image processing circuit 1180, which sends information indicating the attribute of the block restored by the arithmetic decoder 1110 to the selector 1160, and converts the data restored by the selector 1160 into binary data for each block. The purpose is to separate image data and halftone data, perform special processing on each of them, and further improve the image quality of the restored image.

【0070】2値ブロック画像処理回路1170では、
復元された2値データに対して、例えば、エッジ強調処
理を施して文字等のエッジを顕在化させる。あるいは、
復元側におけるモスキートノイズの除去に関し、復元画
素を白、黒にクランプするしきい値レベルを前掲の実施
の形態で用いた255, 0ではなく、定数α、βを用いて2
55-α, βと変形することでノイズ除去効果を向上させ
ることもできる。
In the binary block image processing circuit 1170,
The restored binary data is subjected to, for example, edge emphasis processing to make edges of characters and the like visible. Or,
Regarding the removal of mosquito noise on the restoration side, the threshold level for clamping the restoration pixel to white and black is set to 2 using constants α and β instead of 255 and 0 used in the above-described embodiment.
The noise removal effect can also be improved by transforming to 55-α, β.

【0071】また、中間調ブロック画像処理回路118
0は、復元された中間調画像に対して、例えば、フィル
タリングを行って、細かいノイズを低減する。
The halftone block image processing circuit 118
A value of 0 performs, for example, filtering on the restored halftone image to reduce fine noise.

【0072】このように、復号化側で、送信されてきた
ブロック毎にその属性を知ることができることを利用
し、2値画像や中間調画像に応じて復元画像のフィルタ
処理などの適応化処理を行うものであり、上述の非線形
量子化,逆量子化の効果とあいまって、復元画像の画質
がさらに向上する。
As described above, the decoding side utilizes the fact that the attributes of each transmitted block can be known, and adaptive processing such as filtering of a restored image according to a binary image or a halftone image is performed. And the image quality of the restored image is further improved in combination with the effects of the above-described nonlinear quantization and inverse quantization.

【0073】(実施の形態4)図11は、実施の形態4
にかかるファクシミリ装置の構成を示す図である。
(Embodiment 4) FIG. 11 shows Embodiment 4 of the present invention.
1 is a diagram showing a configuration of a facsimile apparatus according to the first embodiment.

【0074】図11のファクシミリ装置101は、ホス
トプロセッサ102と、MH/MR/MMR符号/復号
化回路103と、解像度変換回路104と、カラーCO
DEC105と、画像ラインメモリ106と、符号メモ
リ107と、モデムなどの通信インタフェース(電話回
線113等を用いた有線伝送のためのインタフェースと
して機能する)と、スキャナ等の画像入力装置111
と、プリンタなどの画像記録/表示装置112と、を具
備し、各ブロックは内部バス109,110を介して相
互に情報の授受を行うことができる。
The facsimile apparatus 101 shown in FIG. 11 includes a host processor 102, an MH / MR / MMR encoding / decoding circuit 103, a resolution conversion circuit 104, a color CO
A DEC 105, an image line memory 106, a code memory 107, a communication interface such as a modem (functioning as an interface for wired transmission using a telephone line 113 or the like), and an image input device 111 such as a scanner.
And an image recording / display device 112 such as a printer. Each of the blocks can exchange information with each other via the internal buses 109 and 110.

【0075】前掲の実施の形態で説明した符号化,復号
化を行う回路は、カラーCODEC105に搭載されて
いる。
The circuit for performing the encoding and decoding described in the above embodiment is mounted on the color CODEC 105.

【0076】本発明にかかる符号化/復号化回路は、構
成が簡素化されているので、小型化や低コスト化が要求
されるファクシミリ装置においても、十分に搭載可能で
あり、普及型のファクシミリ装置の画質向上に寄与す
る。
Since the encoding / decoding circuit according to the present invention has a simplified configuration, it can be sufficiently mounted even in a facsimile apparatus which requires miniaturization and cost reduction, and is widely used. This contributes to improving the image quality of the device.

【0077】以上、本発明を4つの実施の形態を用いて
説明したが、これに限定されるものではなく、本発明は
種々変形可能である。例えば、送信対象の画像が文字の
みの画像であるとわかっているような場合は、像域判定
を行うことなく、符号化・復号化(非線形量子化,逆量
子化)を行えばよい。
Although the present invention has been described with reference to the four embodiments, the present invention is not limited to this, and the present invention can be variously modified. For example, when it is known that the image to be transmitted is an image of only characters, encoding / decoding (non-linear quantization, inverse quantization) may be performed without performing image area determination.

【0078】[0078]

【発明の効果】以上説明したように本発明によれば、2
値画像についてJPEG方式を用いて符号化,復号化を
行った場合に生じるモスキートノイズを大幅に低減し
て、復元画像の画質を格段に向上できる。また、写真等
の中間調画像と文字等の2値画像が混在している場合で
も、各像域を判定してそれぞれに適切な処理を施して、
良好な画像を再現できる。
As described above, according to the present invention, 2
Mosquito noise generated when encoding and decoding the value image using the JPEG method is greatly reduced, and the image quality of the restored image can be remarkably improved. Further, even when a halftone image such as a photograph and a binary image such as a character are mixed, each image area is determined and an appropriate process is performed on each image area.
Good images can be reproduced.

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

【図1】本発明によるカラー画像通信装置の構成を示す
ブロック図
FIG. 1 is a block diagram showing a configuration of a color image communication device according to the present invention.

【図2】本発明の実施の形態1にかかるカラー画像通信
装置の主要部構成を示すブロック図
FIG. 2 is a block diagram showing a main configuration of the color image communication apparatus according to the first embodiment of the present invention;

【図3】量子化テーブル値の一例を示す図FIG. 3 is a diagram illustrating an example of a quantization table value;

【図4】(a) 2値画像データに対して対称的な量子
化,逆量子化を行った場合の画素の輝度分布を示す図 (b) 2値画像データに対して非対称の量子化,逆量
子化を行った場合の画素の輝度分布を示す図 (c) クランプ後の画素の輝度分布を示す図
FIG. 4A is a diagram showing luminance distribution of pixels when symmetrical quantization and inverse quantization are performed on binary image data; FIG. 4B is asymmetrical quantization on binary image data; The figure which shows the luminance distribution of the pixel when performing inverse quantization (c) The figure which shows the luminance distribution of the pixel after clamping

【図5】実施の形態1にかかるカラー画像通信装置の符
号化処理の手順を示す図
FIG. 5 is a diagram illustrating a procedure of an encoding process of the color image communication apparatus according to the first embodiment;

【図6】実施の形態1にかかるカラー画像通信装置の復
号化処理の手順を示す図
FIG. 6 is a diagram showing a procedure of a decoding process of the color image communication device according to the first embodiment;

【図7】実施の形態1にかかるカラー画像通信装置の変
形例の構成を示す図
FIG. 7 is a diagram illustrating a configuration of a modification of the color image communication apparatus according to the first embodiment;

【図8】本発明の実施の形態2にかかるカラー画像通信
装置の主要部構成を示す図
FIG. 8 is a diagram showing a main configuration of a color image communication apparatus according to a second embodiment of the present invention;

【図9】実施の形態2にかかる復号化処理の手順を示す
FIG. 9 is a diagram showing a procedure of a decoding process according to the second embodiment;

【図10】本発明の実施の形態3にかかるカラー画像通
信装置の主要部構成を示す図
FIG. 10 is a diagram showing a main configuration of a color image communication apparatus according to a third embodiment of the present invention;

【図11】本発明の実施の形態4にかかるファクシミリ
装置の構成を示す図
FIG. 11 is a diagram showing a configuration of a facsimile apparatus according to a fourth embodiment of the present invention.

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

1010 画像のブロック化処理部 1020 2次元DCT変換器 1030 量子化器 1040 算術符号器 1050 乗算器 1060 スケーリングファクタ選択回路(符号化側) 1070 像域判定回路 1080 量子化テーブル 1090 量子化テーブル識別情報(ブロック識別情報) 1110 算術復号器 1120 逆量子化器 1130 2次元逆DCT変換器 1140 ブロック復元画像 1150 スケーリングファクタ選択部(復号化側) 1160 量子化テーブル 1170 乗算器 1010 Image block processing unit 1020 Two-dimensional DCT converter 1030 Quantizer 1040 Arithmetic encoder 1050 Multiplier 1060 Scaling factor selection circuit (encoding side) 1070 Image area determination circuit 1080 Quantization table 1090 Quantization table identification information ( Block identification information) 1110 arithmetic decoder 1120 inverse quantizer 1130 two-dimensional inverse DCT converter 1140 block restored image 1150 scaling factor selection unit (decoding side) 1160 quantization table 1170 multiplier

フロントページの続き Fターム(参考) 5C075 CA90 FF02 FF04 5C077 LL02 LL18 LL19 MP06 MP07 MP08 PP23 PP27 PP28 PP36 PP47 PP49 PP66 PQ08 PQ23 RR01 RR16 RR21 5C078 AA09 BA21 CA22 5C079 HA02 HB08 LA06 LA26 LA27 LA31 LA40 MA04 NA02 NA11 PA01 Continued on front page F term (reference) 5C075 CA90 FF02 FF04 5C077 LL02 LL18 LL19 MP06 MP07 MP08 PP23 PP27 PP28 PP36 PP47 PP49 PP66 PQ08 PQ23 RR01 RR16 RR21 5C078 AA09 BA21 CA22 5C079 HA02 HB08 LA06 LA27 LA27

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 カラー画像を輝度信号と色差信号に分離
し、輝度信号に対して中間調画像か2値画像かを像域判
定し、2値画像についてのデータと判定されたデータを
第1の量子化参照値を用いて量子化して量子化値を得、
その量子化値を符号化して送信し、受信側では、送られ
てきた符号を復号した後、前記第1の量子化参照値より
も大きな参照値を用いて逆量子化することを特徴とする
カラー画像通信方法。
1. A color image is separated into a luminance signal and a color difference signal, an image area is determined for the luminance signal as a halftone image or a binary image, and data determined as data for the binary image is determined as first data. Quantized using the quantized reference value to obtain a quantized value,
The quantized value is encoded and transmitted, and on the receiving side, after decoding the transmitted code, inverse quantization is performed using a reference value larger than the first quantized reference value. Color image communication method.
【請求項2】 カラー画像を輝度信号と色差信号に分離
し、輝度信号に対してのデータが中間調画像か2値画像
かを判定し、中間調画像についてのデータの場合には第
1の量子化参照値を用いて量子化して第1の量子化値を
得、2値画像についてのデータの場合には第2の量子化
参照値を用いて量子化して第2の量子化値を得、前記判
定結果を示す識別情報および前記第1,第2の量子化値
を符号化手段により符号化して送信し、受信側では、送
られてきた符号を復号化手段により復号化した後、前記
判定結果を示す識別情報を参照して復号化されたデータ
の属性を識別し、前記第1の量子化値に対応する復号デ
ータについては前記第1の量子化参照値と同じ値の参照
値を用いて逆量子化し、前記第2の量子化値に対応する
復号データついては前記第2の量子化参照値よりも大き
な値の参照値を用いて逆量子化することを特徴とするカ
ラー画像通信方法。
2. A color image is separated into a luminance signal and a color difference signal, and it is determined whether the data for the luminance signal is a halftone image or a binary image. A first quantized value is obtained by performing quantization using a quantized reference value, and in the case of binary image data, a second quantized value is obtained by performing quantization using a second quantized reference value. The identification information indicating the determination result and the first and second quantized values are encoded by an encoding unit and transmitted. On the receiving side, the transmitted code is decoded by a decoding unit. The attribute of the decoded data is identified by referring to the identification information indicating the determination result, and a reference value having the same value as the first quantization reference value is assigned to the decoded data corresponding to the first quantization value. And the decoded data corresponding to the second quantized value A color image communication method, characterized in that inverse quantization is performed using a reference value larger than the second quantization reference value.
【請求項3】 カラー画像を輝度信号と色差信号とのカ
ラー成分信号に分離する分離手段と、前記輝度信号デー
タが中間調画像についてのデータであるか2値画像につ
いてのデータであるかを判定する判定手段と、前記輝度
信号データを直交変換する直交変換手段と、前記判定手
段による判定結果に応じて量子化参照値を選択し、その
選択された量子化参照値を用いて前記直交変換手段から
出力される変換係数を量子化する量子化手段と、この量
子化手段から出力される量子化値および前記判定手段に
よる判定情報を符号化する符号化手段とを具備する送信
処理手段と、送信されてきた符号を復号化する復号化手
段と、前記判定情報によりデータの属性を判定し、中間
調画像についてのデータは量子化の際に用いられた前記
量子化参照値と同じ値の参照値を用いて逆量子化を行
い、2値画像についてのデータは量子化の際に用いられ
た前記量子化参照値よりも大きな値の参照値を用いて逆
量子化を行う逆量子化手段と、前記直交変換の逆の変換
を行う逆変換手段と、この逆変換手段により逆変換され
た各カラー成分信号を合成する合成手段とを具備する受
信処理手段と、を有するカラー画像通信装置。
3. A separating means for separating a color image into color component signals of a luminance signal and a color difference signal, and determining whether the luminance signal data is data of a halftone image or data of a binary image. Determining means, an orthogonal transform means for orthogonally transforming the luminance signal data, and selecting a quantization reference value according to a determination result by the determination means, and using the selected quantized reference value, the orthogonal transform means A transmitting means comprising: a quantizing means for quantizing a transform coefficient outputted from the encoding means; and a coding means for coding a quantized value outputted from the quantizing means and decision information by the decision means. Decoding means for decoding the encoded code, and the attribute of the data is determined based on the determination information, and the data for the halftone image is the same as the quantization reference value used in the quantization. Inverse quantization is performed using the reference value of the value, and the data about the binary image is inversely quantized using the reference value having a value larger than the quantization reference value used in the quantization. Color image communication comprising: a conversion unit; an inverse conversion unit that performs an inverse conversion of the orthogonal conversion; and a synthesis unit that synthesizes each color component signal that has been inversely converted by the inverse conversion unit. apparatus.
【請求項4】 前記カラー画像通信装置は、画像読み取
り手段と、カラー画像形成手段と、通信インタフェース
として機能するモデムとを具備するファクシミリ装置で
あることを特徴とする、請求項3に記載のカラー画像通
信装置。
4. The color image forming apparatus according to claim 3, wherein the color image communication device is a facsimile device including an image reading unit, a color image forming unit, and a modem functioning as a communication interface. Image communication device.
JP11107923A 1999-04-15 1999-04-15 Method and device for color image communication Pending JP2000307879A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11107923A JP2000307879A (en) 1999-04-15 1999-04-15 Method and device for color image communication

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11107923A JP2000307879A (en) 1999-04-15 1999-04-15 Method and device for color image communication

Publications (1)

Publication Number Publication Date
JP2000307879A true JP2000307879A (en) 2000-11-02

Family

ID=14471486

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11107923A Pending JP2000307879A (en) 1999-04-15 1999-04-15 Method and device for color image communication

Country Status (1)

Country Link
JP (1) JP2000307879A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005198186A (en) * 2004-01-09 2005-07-21 Sharp Corp Image encoding apparatus, image encoding method and image encoding program
JP2006109051A (en) * 2004-10-05 2006-04-20 Sharp Corp Image encoder, image encoding method, image encoding program and computer readable recording medium which records image encoding program
JP2007049312A (en) * 2005-08-08 2007-02-22 Canon Inc Image decoding device and control method thereof, computer program, and computer readable storage medium
US7623720B2 (en) 2005-08-03 2009-11-24 Fujitsu Microelectronics Limited Image processing apparatus and method
US7630574B2 (en) 2001-06-06 2009-12-08 Sharp Kabushiki Kaisha Image encoding method and image apparatus
JP2010183273A (en) * 2009-02-04 2010-08-19 Nippon Hoso Kyokai <Nhk> Decoded signal reconfiguration apparatus, decoding apparatus and program

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7630574B2 (en) 2001-06-06 2009-12-08 Sharp Kabushiki Kaisha Image encoding method and image apparatus
JP2005198186A (en) * 2004-01-09 2005-07-21 Sharp Corp Image encoding apparatus, image encoding method and image encoding program
JP2006109051A (en) * 2004-10-05 2006-04-20 Sharp Corp Image encoder, image encoding method, image encoding program and computer readable recording medium which records image encoding program
US7623720B2 (en) 2005-08-03 2009-11-24 Fujitsu Microelectronics Limited Image processing apparatus and method
JP2007049312A (en) * 2005-08-08 2007-02-22 Canon Inc Image decoding device and control method thereof, computer program, and computer readable storage medium
JP2010183273A (en) * 2009-02-04 2010-08-19 Nippon Hoso Kyokai <Nhk> Decoded signal reconfiguration apparatus, decoding apparatus and program

Similar Documents

Publication Publication Date Title
US6947600B1 (en) Information processing method, apparatus and storage medium for receiving and decoding a code sequence obtained by encoding an image
US6847735B2 (en) Image processing system, image processing apparatus, image input apparatus, image output apparatus and method, and storage medium
EP0974933B1 (en) Adaptive video compression using variable quantization
KR100880039B1 (en) Method and system for achieving coding gains in wavelet-based image codecs
US20050276501A1 (en) Image decoding apparatus and its control method
US20010043752A1 (en) Image processing system for compressing image data including binary image data and continuous tone image data by a sub-band transform method with a high-compression rate
US6985634B2 (en) Image processing system for compressing image data including binary image data and continuous tone image data by a sub-band transform method with a high-compression rate
de Queiroz Compression of compound documents
US20040234148A1 (en) Image encoding method, and image device
JP2005519543A (en) Method and system for layer video coding
US20060274954A1 (en) Image processing apparatus
US20020001415A1 (en) Image compression method
JPH11187401A (en) Video signal encoder
US20040006582A1 (en) Digital image coding device and method
JP2000307879A (en) Method and device for color image communication
JP3953183B2 (en) Image communication method and image communication apparatus
US7450769B2 (en) Image processing method for facilitating data transmission
JPH05176180A (en) Coding method for still natural picture with mixed existence of binary picture
JPH06178122A (en) Adaptive encoding device for color image
JPH11289461A (en) Image coding method and image coder
JPH08251418A (en) Block distortion reduction device and reduction method
JP3122481B2 (en) Image encoding apparatus and image encoding method
JP2002247373A (en) Image reading/outputting method and apparatus
JP3309892B2 (en) Image information encoding device and decoding device
KR100744442B1 (en) Improved cascaded compression method and system for digital video and images