JPH0514737A - Picture processor - Google Patents

Picture processor

Info

Publication number
JPH0514737A
JPH0514737A JP3164171A JP16417191A JPH0514737A JP H0514737 A JPH0514737 A JP H0514737A JP 3164171 A JP3164171 A JP 3164171A JP 16417191 A JP16417191 A JP 16417191A JP H0514737 A JPH0514737 A JP H0514737A
Authority
JP
Japan
Prior art keywords
image
circuit
pixels
block
picture
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
JP3164171A
Other languages
Japanese (ja)
Inventor
Hiroshi Suzuki
博 鈴木
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.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fuji Xerox Co Ltd filed Critical Fuji Xerox Co Ltd
Priority to JP3164171A priority Critical patent/JPH0514737A/en
Publication of JPH0514737A publication Critical patent/JPH0514737A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To improve compression ratio while suppressing the deterioration of picture quality. CONSTITUTION:An input picture is DCT-processed by a DCT processing circuit 13 every block of 8X8-picture elements, and it is discriminated whether the input picture is a continuously varying picture like a photograph or a binary picture like a character and a pattern, etc., by a picture discrimination circuit 14 on the basis of an obtained conversion coefficient. As for an area discriminated to be the continuously varying picture, the area of 16X16-picture elements is made one block of 8X8-picture elements by converting resolution by a resolution conversion circuit 15, and the input picture is DCT-processed again by the DCT processing circuit 13, and the conversion coefficient 31 is sent to a quantization circuit 16. As for the area discriminated to be the binary picture, the conversion coefficient 31 is sent to the quantization circuit 16 while the resolution is not converted. The conversion coefficient is quantized by the quantization circuit 16, and is encoded by an encoding circuit 17, and compressed data is obtained. Data in which the compressed data and the discriminated result of the picture are coordinated with each other is generated by a control data generation circuit 18.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、多値画像やカラー静止
画像を圧縮、伸長する画像処理装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image processing apparatus for compressing and expanding multi-valued images and color still images.

【0002】[0002]

【従来の技術】近年、画像情報が大いに利用されてお
り、画像処理の技術も進展している。この画像処理の一
つに、圧縮、伸長処理がある。従来より、多値画像ある
いはカラー静止画像を圧縮する方法として、離散コサイ
ン変換(以下、DCTと記す。)等の直交変換を用いる
方法がある。
2. Description of the Related Art In recent years, image information has been widely used and image processing technology has been developed. One of the image processings is compression and expansion processing. Conventionally, as a method of compressing a multi-valued image or a color still image, there is a method of using orthogonal transform such as discrete cosine transform (hereinafter referred to as DCT).

【0003】図9はDCT処理によって画像を圧縮する
従来の画像処理装置を示すブロック図である。この画像
処理装置は、入力画像51の所定の画素数のブロック毎
にDCT処理を行う2次元DCT処理回路52と、この
2次元DCT処理回路52によって得られた変換係数を
量子化する量子化回路53と、この量子化回路53で量
子化されたデータを符号化する符号化回路54とを備え
ている。この画像処理装置では、2次元DCT処理回路
52によって、画像を例えば8×8画素単位でブロック
化し、各ブロック毎にDCT処理を行う。そして、得ら
れた変換係数を、画像の高周波成分に対しては感度が低
く低周波成分に対しては感度が高いという人間の視覚特
性に基づいて、量子化回路53によって量子化して、画
像の高周波成分に対応する係数をカットし、低周波成分
に対応する係数が残るようにする。そして、この量子化
されたデータを符号化回路54によって符号化すること
で圧縮された画像データ55を得る。
FIG. 9 is a block diagram showing a conventional image processing apparatus for compressing an image by DCT processing. This image processing device includes a two-dimensional DCT processing circuit 52 that performs DCT processing for each block of a predetermined number of pixels of an input image 51, and a quantization circuit that quantizes a transform coefficient obtained by the two-dimensional DCT processing circuit 52. 53 and an encoding circuit 54 for encoding the data quantized by the quantization circuit 53. In this image processing device, the two-dimensional DCT processing circuit 52 divides an image into blocks, for example, in units of 8 × 8 pixels, and performs DCT processing for each block. Then, the obtained transform coefficient is quantized by the quantizing circuit 53 on the basis of the human visual characteristic that the sensitivity is high for the high frequency components of the image and high for the low frequency components, and The coefficient corresponding to the high frequency component is cut so that the coefficient corresponding to the low frequency component remains. Then, the quantized data is encoded by the encoding circuit 54 to obtain the compressed image data 55.

【0004】[0004]

【発明が解決しようとする課題】ところで、従来の圧縮
方法では、8×8画素のブロック毎にDCT処理を行う
ため、より高い圧縮を行うには高周波成分に対応する変
換係数をさらにカットする必要がある。しかしながら、
このようにより高い圧縮を行った画像を伸長処理した場
合には、画質が劣化するという問題点がある。
In the conventional compression method, DCT processing is performed for each block of 8 × 8 pixels, and therefore it is necessary to further cut the transform coefficient corresponding to the high frequency component in order to perform higher compression. There is. However,
There is a problem in that the image quality is deteriorated when the image that has undergone higher compression is expanded.

【0005】そこで本発明の目的は、画質の劣化を抑え
つつ、圧縮率を高めることのできる画像処理装置を提供
することにある。
Therefore, an object of the present invention is to provide an image processing apparatus capable of increasing the compression rate while suppressing the deterioration of the image quality.

【0006】請求項1記載の発明の画像処理装置は、所
定の画素数のブロック毎に画像を直交変換する直交変換
手段と、入力画像の所定の大きさの領域毎に、その領域
内の画素の濃度分布の特徴を判別する画像判別手段と、
この画像判別手段の判別結果に応じて領域内の解像度を
切り換えて領域内の画素数を切り換え、ブロックに対応
させる入力画像の大きさを切り換える解像度切換手段
と、直交変換手段による直交変換によって得られる係数
を量子化する量子化手段と、量子化手段によって量子化
されたデータを符号化する符号化手段とを備えたもので
ある。
According to another aspect of the invention, there is provided an image processing apparatus, which comprises an orthogonal transform means for orthogonally transforming an image for each block having a predetermined number of pixels, and a pixel within the region for each region having a predetermined size of an input image. Image discrimination means for discriminating the characteristics of the density distribution of
The resolution in the area is switched according to the discrimination result of the image discrimination means to switch the number of pixels in the area, and the resolution switching means for switching the size of the input image corresponding to the block and the orthogonal transformation by the orthogonal transformation means are obtained. It is provided with a quantizing means for quantizing the coefficient and an encoding means for coding the data quantized by the quantizing means.

【0007】この画像処理装置では、画像判別手段によ
って、入力画像の所定の大きさの領域毎にその領域内の
画素の濃度分布の特徴が判別され、この判別結果に応じ
て、解像度切換手段によって、領域内の解像度が切り換
えられて領域内の画素数が切り換えられる。そして、こ
の解像度が切り換えられた後の画像の所定の画素数のブ
ロック毎に、直交変換手段によって直交変換が行われ、
得られた係数は量子化手段によって量子化され、符号化
手段によって符号化される。
In this image processing apparatus, the image discriminating means discriminates the characteristics of the density distribution of the pixels in each area of a predetermined size of the input image, and the resolution switching means responds to the discrimination result. , The resolution in the area is switched, and the number of pixels in the area is switched. Then, the orthogonal transformation is performed by the orthogonal transformation unit for each block having a predetermined number of pixels of the image after the resolution is switched,
The obtained coefficient is quantized by the quantizing means and coded by the coding means.

【0008】請求項2記載の発明の画像処理装置は、入
力画像の所定の領域毎に、その領域内の画素の濃度の空
間的な変化が連続的であるか否かを判別する画像判別手
段と、この画像判別手段によって連続的であると判別さ
れた領域について、解像度を変換してその領域内の画素
数を減らす解像度変換手段と、画像判別手段によって連
続的でないと判別された領域については入力画像の所定
の画素数のブロック毎に画像を直交変換し、画像判別手
段によって連続的であると判別された領域については解
像度変換手段によって変換された後の画像の所定の画素
数のブロック毎に画像を直交変換する直交変換手段と、
この直交変換手段による直交変換によって得られる係数
を量子化する量子化手段と、量子化手段によって量子化
されたデータを符号化する符号化手段とを備えたもので
ある。
The image processing apparatus according to the second aspect of the present invention is, for each predetermined region of the input image, an image discriminating means for discriminating whether or not the spatial change in the density of the pixels in the region is continuous. With respect to the area determined to be continuous by the image determination means, the resolution conversion means for converting the resolution to reduce the number of pixels in the area, and the area determined not to be continuous by the image determination means The image is orthogonally transformed for each block having a predetermined number of pixels of the input image, and for the area determined to be continuous by the image determining means, for each block having a predetermined number of pixels of the image converted by the resolution converting means. Orthogonal transformation means for orthogonally transforming the image into
It is provided with a quantizing means for quantizing the coefficient obtained by the orthogonal transformation by the orthogonal transforming means, and an encoding means for encoding the data quantized by the quantizing means.

【0009】この画像処理装置では、画像判別手段によ
って、入力画像の所定の大きさの領域毎にその領域内の
画素の濃度の空間的な変化が連続的であるか否かが判別
される。連続的であると判別された領域については、解
像度変換手段によって解像度が変換されその領域内の画
素数が減らされた後、所定の画素数のブロック毎に直交
変換手段によって直交変換が行われる。一方、連続的で
ないと判別された領域については入力画像の所定の画素
数のブロック毎に直交変換手段によって直交変換が行わ
れる。直交変換によって得られた係数は量子化手段によ
って量子化され、符号化手段によって符号化される。
In this image processing apparatus, the image discrimination means discriminates, for each area of a predetermined size of the input image, whether or not the spatial change in the density of the pixels in the area is continuous. For the region determined to be continuous, the resolution is converted by the resolution conversion unit to reduce the number of pixels in the region, and then the orthogonal conversion unit performs orthogonal conversion for each block having a predetermined number of pixels. On the other hand, with respect to the area determined not to be continuous, orthogonal transformation is performed by the orthogonal transformation unit for each block having a predetermined number of pixels of the input image. The coefficient obtained by the orthogonal transform is quantized by the quantizing means and coded by the coding means.

【0010】請求項3記載の発明の画像処理装置は、請
求項1または2記載の発明において、さらに、直交変換
手段が直交変換を行ったブロック毎に、量子化手段によ
って量子化されたデータと画像判別手段の判別結果とを
対応させる手段を備えたものである。
An image processing apparatus according to a third aspect of the present invention is the image processing apparatus according to the first or second aspect of the present invention, further comprising data quantized by the quantization means for each block subjected to orthogonal transformation by the orthogonal transformation means. A means for associating with the discrimination result of the image discriminating means is provided.

【0011】[0011]

【実施例】以下、図面を参照して本発明の実施例につい
て説明する。図1ないし図8は本発明の一実施例に係
る。
Embodiments of the present invention will be described below with reference to the drawings. 1 to 8 relate to an embodiment of the present invention.

【0012】図1は本実施例の画像処理装置の構成を示
すブロック図である。本実施例の画像処理装置は、画像
入力手段としてのイメージスキャナ11と、このイメー
ジスキャナ11によって入力された画像を記憶する画像
メモリ12とを備えている。画像メモリ12には、2次
元DCT処理回路13と解像度変換回路15とが接続さ
れ、この2次元DCT処理回路13および解像度変換回
路15に、画像判別回路14が接続されている。2次元
DCT処理回路13は、所定の画素数のブロック毎にD
CT処理を行うものである。画像判別回路14は、入力
画像の所定の領域毎に、2次元DCT処理回路13で得
られた変換係数31から画像の特徴量を計算し、その領
域が、写真のように画素の濃度が空間的に連続的に変化
している多値画像(以下、連続変化画像という。)であ
るか、文字・図形等のような2値的な画像(以下、2値
的画像という。)であるかを判別するものである。解像
度変換回路15は、画像判別回路14からの判別信号3
2に応じて、画像判別回路14によって連続変化画像で
あると判別された領域について解像度を変換して画素数
を減らすものである。この解像度変換回路15によって
解像度変換された画像33は2次元DCT処理回路13
に入力され、DCT処理が施される。2次元DCT処理
回路13は、画像判別回路14からの判別信号32に応
じて、2値的画像であると判別された領域については入
力画像の所定の画素数のブロック毎に直交変換した変換
係数31を出力し、連続変化画像であると判別された領
域については解像度変換回路15によって解像度変換さ
れた画像33の所定の画素数のブロック毎に直交変換し
た変換係数31を出力する。
FIG. 1 is a block diagram showing the arrangement of the image processing apparatus of this embodiment. The image processing apparatus according to the present embodiment includes an image scanner 11 as an image input unit, and an image memory 12 that stores an image input by the image scanner 11. A two-dimensional DCT processing circuit 13 and a resolution conversion circuit 15 are connected to the image memory 12, and an image discrimination circuit 14 is connected to the two-dimensional DCT processing circuit 13 and the resolution conversion circuit 15. The two-dimensional DCT processing circuit 13 sets D for each block having a predetermined number of pixels.
CT processing is performed. The image discriminating circuit 14 calculates the feature amount of the image from the conversion coefficient 31 obtained by the two-dimensional DCT processing circuit 13 for each predetermined region of the input image, and the region has a spatial density of pixels like a photograph. Whether it is a multi-valued image (hereinafter referred to as a continuously changing image) that continuously changes in a continuous manner, or a binary image such as a character or a figure (hereinafter referred to as a binary image). Is to determine. The resolution conversion circuit 15 uses the discrimination signal 3 from the image discrimination circuit 14.
In accordance with 2, the resolution of the area determined by the image determination circuit 14 to be a continuously changing image is converted to reduce the number of pixels. The image 33 whose resolution is converted by the resolution conversion circuit 15 is the two-dimensional DCT processing circuit 13
And is subjected to DCT processing. The two-dimensional DCT processing circuit 13 orthogonally transforms, in accordance with the discrimination signal 32 from the image discrimination circuit 14, an orthogonal transformation for each block having a predetermined number of pixels of the input image for the region discriminated as a binary image. 31 is output, and with respect to the area determined to be the continuously changing image, the conversion coefficient 31 that is orthogonally transformed for each block of the predetermined number of pixels of the image 33 whose resolution is converted by the resolution converting circuit 15 is output.

【0013】画像処理装置は、さらに、2次元DCT処
理回路13からの変換係数を量子化する量子化回路16
と、この量子化回路16によって量子化されたデータを
符号化して圧縮されたデータを出力する符号化回路17
と、この符号化回路17によって符号化された圧縮デー
タと画像判別回路14の判別結果を示すヘッダデータと
を対応させた管理用データを作成する管理用データ作成
回路18とを備えている。管理用データ作成回路18に
よって作成された管理用データは、ハードディスク19
に格納されたり、送信されたりする。
The image processing apparatus further includes a quantizing circuit 16 for quantizing the transform coefficient from the two-dimensional DCT processing circuit 13.
And an encoding circuit 17 for encoding the data quantized by the quantization circuit 16 and outputting the compressed data.
And a management data creation circuit 18 for creating management data in which the compressed data encoded by the encoding circuit 17 and the header data indicating the determination result of the image determination circuit 14 are associated with each other. The management data created by the management data creation circuit 18 is stored in the hard disk 19
Stored in or sent to.

【0014】また、以上のように構成された画像処理装
置によって圧縮された画像データを伸長する装置は、図
1に示すように、管理用データを圧縮データとヘッダデ
ータとに分離する管理用データ分離回路21と、この管
理用データ分離回路21によって分離された圧縮データ
を伸長する伸長回路22と、管理用データ分離回路21
によって分離されたヘッダデータに基づいて、解像度変
換が行われた領域について伸長回路22の出力データに
対して補間処理を行う補間回路23と、この補間回路2
3の出力画像を記憶する画像メモリ24とを備えてい
る。伸長回路22は、符号化された圧縮データを復号化
する回路と復号化されたデータを変換係数に復元する回
路とこの変換係数を逆DCT処理して画素データを求め
る回路とを含む。
Further, as shown in FIG. 1, the apparatus for decompressing the image data compressed by the image processing apparatus having the above-described configuration is such that the management data is divided into compressed data and header data. A separation circuit 21, a decompression circuit 22 for decompressing the compressed data separated by the management data separation circuit 21, and a management data separation circuit 21.
An interpolation circuit 23 that performs an interpolation process on the output data of the decompression circuit 22 in the area for which the resolution conversion has been performed based on the header data separated by
3 and an image memory 24 for storing the output image of FIG. The decompression circuit 22 includes a circuit that decodes the encoded compressed data, a circuit that restores the decoded data into transform coefficients, and a circuit that performs inverse DCT processing on the transform coefficients to obtain pixel data.

【0015】次に、図2ないし図8を参照して本実施例
の画像処理装置の動作について説明する。
Next, the operation of the image processing apparatus of this embodiment will be described with reference to FIGS.

【0016】図2は本実施例の画像処理装置の動作を示
すフローチャートである。画像処理装置は、まずステッ
プ(以下、Sと記す。)101で、イメージスキャナ1
1によって画像を入力し、画像メモリ12に記憶する。
この画像は、例えば文字・図形等のような2値的な画像
領域と写真のような多値画像領域とが混在した多値画像
やカラー静止画像であり、ここでは1画素の濃度が8ビ
ットで表現された多値画像とする。
FIG. 2 is a flow chart showing the operation of the image processing apparatus of this embodiment. The image processing apparatus first executes the image scanner 1 in step (hereinafter referred to as S) 101.
The image is input by 1 and stored in the image memory 12.
This image is, for example, a multi-valued image or a color still image in which a binary image area such as characters and figures and a multi-valued image area such as a photograph are mixed, and here, the density of one pixel is 8 bits. Let it be a multi-valued image represented by.

【0017】次に、S102で、2次元DCT処理回路
13によって、画像メモリ12に記憶された画像を8×
8画素のブロック毎にDCT処理する。図3は8×8画
素の1ブロックを示し、図中の数値は画素毎の濃度の例
を示す。また、図4はこのブロックをDCT処理して得
られた変換係数の例を示す。なお、図4中の数値は変換
係数を概念的に示すものであって、実際に処理された値
ではない。また、図4に示す変換係数は、DCT処理し
て得られた変換係数の範囲が0〜255(8ビット)に
なるように正規化したものとして示している。
Next, in step S102, the image stored in the image memory 12 is 8 × by the two-dimensional DCT processing circuit 13.
DCT processing is performed for each block of 8 pixels. FIG. 3 shows one block of 8 × 8 pixels, and the numerical values in the figure show an example of the density for each pixel. Further, FIG. 4 shows an example of transform coefficients obtained by subjecting this block to DCT processing. Note that the numerical values in FIG. 4 conceptually represent the conversion coefficient, and are not the values actually processed. Further, the transform coefficient shown in FIG. 4 is shown as normalized so that the range of the transform coefficient obtained by the DCT process is 0 to 255 (8 bits).

【0018】次に、S103で、2次元DCT処理回路
13によって得られた8×8画素ブロックの変換係数を
画像判別回路14に入力し、この変換係数から画像の特
徴量を計算する。次に、S104で、S103で求めた
特徴量から、8×8画素ブロックの画像が連続変化画像
か2値的画像かを判別する。ここで、特徴量は、例え
ば、所定の1つまたは複数の周波数範囲に対応する変換
係数の値を用いる。写真のような連続変化画像と文字・
図形等の2値的画像とでは、変換係数の値の分布(スペ
クトル)が異なる。従って、予め複数枚の連続変化画像
および2値的画像から統計的に連続変化画像および2値
的画像の標準的な特徴量を求めておき、この標準的な特
徴量と8×8画素ブロックの画像の特徴量とを比較する
ことによって、8×8画素ブロックの画像が連続変化画
像か2値的画像かを判別することができる。本実施例で
は、8×8画素ブロックの特徴量が、連続変化画像およ
び2値的画像の標準的な特徴量から決められたある値以
下であれば連続変化画像であると判断し、そうでなけれ
ば2値的画像あると判別する。
Next, in step S103, the transform coefficient of the 8 × 8 pixel block obtained by the two-dimensional DCT processing circuit 13 is input to the image discriminating circuit 14, and the feature amount of the image is calculated from this transform coefficient. Next, in step S104, it is determined whether the image of the 8 × 8 pixel block is a continuously changing image or a binary image based on the feature amount obtained in step S103. Here, as the feature amount, for example, the value of the conversion coefficient corresponding to one or more predetermined frequency ranges is used. Continuous change images and characters such as photographs
The distribution (spectrum) of the values of the conversion coefficient is different from that of a binary image such as a figure. Therefore, a standard feature amount of the continuously changing image and the binary image is statistically obtained in advance from a plurality of continuously changing images and the binary image, and the standard feature amount and the 8 × 8 pixel block By comparing the image with the feature amount of the image, it is possible to determine whether the image of the 8 × 8 pixel block is a continuously changing image or a binary image. In the present embodiment, if the feature amount of the 8 × 8 pixel block is equal to or less than a certain value determined from the standard feature amount of the continuously changing image and the binary image, it is determined that the image is the continuously changing image. If not, it is determined that there is a binary image.

【0019】なお、本実施例では、4つのブロックにつ
いて各ブロックの画像が連続変化画像か2値的画像かの
判別を行った後、その4つのブロックからなる領域が連
続変化画像か2値的画像かを判断し、その後の処理を異
ならせている。図5は、DCT処理および特徴量計算を
行うブロックの順番を示している。この図に示す2×2
ブロックの領域40について、4つの各ブロックが連続
変化画像か2値的画像かを判断し、そのうち例えば2つ
以上のブロックが連続変化画像と判断された場合には、
領域40について連続変化画像と判断し、それ以外の場
合には、領域40について2値的画像と判断する。
In this embodiment, after determining whether the image of each block is a continuously changing image or a binary image for the four blocks, the area formed by the four blocks is a continuously changing image or a binary image. It is judged whether it is an image and the subsequent processing is different. FIG. 5 shows the order of blocks for performing DCT processing and feature amount calculation. 2x2 shown in this figure
For the block region 40, it is determined whether each of the four blocks is a continuous change image or a binary image, and if, for example, two or more blocks are determined to be continuous change images,
The region 40 is determined to be a continuously changing image, and in other cases, the region 40 is determined to be a binary image.

【0020】S104において、領域40について連続
変化画像であると判別された場合には、S105で、画
像判別回路14からの判別信号32に応じて、解像度変
換回路15によって領域40の解像度変換を行う。すな
わち、解像度変換回路15は、画像メモリ12から領域
40内の各画素の濃度を読み出し、隣接する4つの画素
の濃度の平均を求め、これを新しい1つの画素の濃度と
する。これにより、16×16画素の領域40は、8×
8画素の1つのブロックとなる。
When it is determined in S104 that the area 40 is a continuously changing image, the resolution conversion circuit 15 performs resolution conversion of the area 40 in response to the determination signal 32 from the image determination circuit 14 in S105. . That is, the resolution conversion circuit 15 reads the density of each pixel in the area 40 from the image memory 12, obtains the average of the densities of four adjacent pixels, and sets this as the density of one new pixel. As a result, the area 40 of 16 × 16 pixels is 8 ×
It is one block of 8 pixels.

【0021】この解像度変換によって作られた新たなブ
ロックの画像33は、S106で、2次元DCT処理回
路13に入力されてDCT処理が行われ、得られた変換
係数31は量子化回路16に送られる。
The image 33 of the new block created by this resolution conversion is input to the two-dimensional DCT processing circuit 13 for DCT processing in S106, and the obtained transform coefficient 31 is sent to the quantization circuit 16. To be

【0022】一方、S104において、領域40につい
て2値的画像であると判別された場合には、領域40に
ついて解像度変換を行わず、各ブロックの変換係数31
が2次元DCT処理回路13から量子化回路16に送ら
れる。なお、2次元DCT処理回路13は、領域40の
各ブロックの変換係数31を一時的に保持するメモリを
有し、画像判別回路14からの判別信号32に応じて、
解像度変換を行わない場合にはメモリに保持されている
各ブロックの変換係数を出力し、解像度変換を行った場
合には解像度変換回路15からの画像33をDCT処理
した変換係数31を出力する。
On the other hand, if it is determined in S104 that the region 40 is a binary image, resolution conversion is not performed for the region 40 and the conversion coefficient 31 of each block is not converted.
Are sent from the two-dimensional DCT processing circuit 13 to the quantization circuit 16. The two-dimensional DCT processing circuit 13 has a memory that temporarily holds the transform coefficient 31 of each block of the area 40, and according to the discrimination signal 32 from the image discrimination circuit 14,
When the resolution conversion is not performed, the conversion coefficient of each block stored in the memory is output, and when the resolution conversion is performed, the conversion coefficient 31 obtained by DCT processing the image 33 from the resolution conversion circuit 15 is output.

【0023】量子化回路16に送られた変換係数は、S
107で、量子化回路16によって量子化される。この
量子化は、画像の高周波成分に対しては感度が低く低周
波成分に対しては感度が高いという人間の視覚特性に基
づいて、画像の高周波成分に対応する係数をカットし、
低周波成分に対応する係数が残るようにする。例えば、
低周波成分に対応する係数は8ビットで量子化し高周波
成分に対応する係数は4ビットで量子化するというよう
に低周波側と高周波側とでデータ長を変える。あるい
は、高周波側ほど実際の係数値を小さくして情報量を減
らしても良い。このような量子化によって情報量が減少
する。
The transform coefficient sent to the quantization circuit 16 is S
At 107, the quantization circuit 16 quantizes. This quantization cuts the coefficient corresponding to the high frequency component of the image, based on the human visual characteristic that it has low sensitivity to high frequency components of the image and high sensitivity to low frequency components,
The coefficient corresponding to the low frequency component remains. For example,
The data length is changed between the low frequency side and the high frequency side such that the coefficient corresponding to the low frequency component is quantized by 8 bits and the coefficient corresponding to the high frequency component is quantized by 4 bits. Alternatively, the amount of information may be reduced by decreasing the actual coefficient value on the higher frequency side. The amount of information is reduced by such quantization.

【0024】量子化回路16によって量子化されたデー
タは、S108で、符号化回路17によって符号化さ
れ、圧縮データとして管理用データ作成回路18に入力
される。この符号化としては、「カラー静止画の符号化
の標準化委員会(ジョイント・フォトグラフィック・エ
キスパーツ・グループ)」で標準化された2次元ランレ
ングス符号化等を用いることができる。
The data quantized by the quantization circuit 16 is encoded by the encoding circuit 17 in S108 and is input to the management data creation circuit 18 as compressed data. As this encoding, two-dimensional run-length encoding standardized by "Standardization Committee for Coding of Color Still Images (Joint Photographic Experts Group)" can be used.

【0025】管理用データ作成回路18は、S109
で、符号化回路17からの圧縮データと画像判別回路1
4からの判別信号32とを用いて管理用データを作成す
る。
The management data creation circuit 18 uses S109.
Then, the compressed data from the encoding circuit 17 and the image discrimination circuit 1
The management data is created by using the discrimination signal 32 from the No. 4.

【0026】図6は管理用データの構造を示す説明図で
ある。この管理用データは、処理単位毎に圧縮データの
先頭にヘッダデータを付加した構造になっている。ヘッ
ダデータは、入力画像の8×8画素を1ブロックとして
圧縮処理を行ったか入力画像の16×16画素を1ブロ
ックとして圧縮処理を行ったかの情報を含む。8×8画
素を1ブロックとした場合には、ヘッダデータの後に入
力画像の8×8画素のブロックの圧縮データが来る。1
6×16画素を1ブロックとした場合には、入力画像の
8×8画素のブロック4つを解像度変換して1つとした
ブロックの圧縮データが来る。
FIG. 6 is an explanatory diagram showing the structure of management data. This management data has a structure in which header data is added to the beginning of compressed data for each processing unit. The header data includes information as to whether compression processing was performed with 8 × 8 pixels of the input image as one block or 16 × 16 pixels of the input image as one block. When 8 × 8 pixels are one block, the compressed data of the block of 8 × 8 pixels of the input image comes after the header data. 1
When 6 × 16 pixels are set as one block, the compressed data of the block in which four blocks of 8 × 8 pixels of the input image are converted into one to be one comes.

【0027】図7は管理用データの構造の他の例を示す
説明図である。この管理用データは、1ページ分の圧縮
データの先頭に1つのヘッダデータを付加した構造にな
っている。200×300ブロックの画像の場合のヘッ
ダデータの構造を図8に示す。このヘッダデータは、入
力画像の8×8画素のブロック毎に1ビットのデータを
持つ。例えば、ブロックが連続変化画像であるならばそ
のブロックに対応するヘッダデータのビットを“1”と
し、2値的画像であるならばそのブロックに対応するヘ
ッダデータのビットを“0”とすれば、入力画像の8×
8画素のブロックが複数個まとめて処理されているのか
否かを区別することができる。図6ないし図8に示すよ
うにして圧縮データを管理することによって、伸長処理
において画像の復元を容易にすることができる。
FIG. 7 is an explanatory diagram showing another example of the structure of the management data. This management data has a structure in which one header data is added to the head of the compressed data for one page. FIG. 8 shows the structure of header data in the case of an image of 200 × 300 blocks. This header data has 1-bit data for each block of 8 × 8 pixels of the input image. For example, if the block is a continuously changing image, the bit of the header data corresponding to the block is "1", and if it is a binary image, the bit of the header data corresponding to the block is "0". , Input image 8x
It is possible to distinguish whether or not a plurality of blocks of 8 pixels are collectively processed. By managing the compressed data as shown in FIGS. 6 to 8, it is possible to easily restore the image in the decompression process.

【0028】このように作成された管理用データを、S
110で、ハードディスク19に格納したり、送信した
りして、終了する。
The management data created in this way is converted into S
At 110, the data is stored in the hard disk 19 or transmitted, and the process ends.

【0029】圧縮データを伸長する場合には、図1に示
すように、管理用データ分離回路21で、圧縮データと
ヘッダデータとを分離し、圧縮データは伸長回路22に
て伸長処理を行って画素データを復元する。この画素デ
ータは補間回路23に入力される。この補間回路23
は、管理用データ分離回路21によって分離されたヘッ
ダデータに基づいて、解像度変換が行われた領域につい
て伸長回路22の出力データに対して補間処理を行い、
8×8画素のデータから16×16画素のデータを復元
する。補間処理としては公知の方法を用いることができ
るので説明を省略する。また、解像度変換が行われなか
った領域については、補間処理を行うことなく伸長回路
22の出力データをそのまま出力する。補間回路23の
出力データは、画像メモリ24に格納され、ページ毎の
画像が復元される。
When decompressing the compressed data, as shown in FIG. 1, the management data separating circuit 21 separates the compressed data and the header data, and the decompressing circuit 22 expands the compressed data. Restore pixel data. This pixel data is input to the interpolation circuit 23. This interpolation circuit 23
Performs an interpolation process on the output data of the decompression circuit 22 for the area for which the resolution conversion has been performed, based on the header data separated by the management data separation circuit 21.
Data of 16 × 16 pixels is restored from data of 8 × 8 pixels. Since a known method can be used as the interpolation processing, the description thereof will be omitted. Further, for the area where the resolution conversion has not been performed, the output data of the decompression circuit 22 is output as it is without performing the interpolation processing. The output data of the interpolation circuit 23 is stored in the image memory 24, and the image for each page is restored.

【0030】以上説明したように本実施例によれば、8
×8画素を1ブロックとして、4ブロックの領域毎にそ
の領域が連続変化画像か2値的画像かを判別し、2値的
画像であると判別された領域については、解像度変換を
行わず、8×8画素の1ブロック毎にDCT処理を行
い、連続変化画像であると判別された領域については、
解像度を変換して16×16画素が8×8画素の1ブロ
ックになるように画素数を減らした後、DCT処理を行
うようにしている。これは、写真のような連続変化画像
は解像度よりも階調性を保存できる処理が良く、文字や
図形等の2値的画像は階調性よりも解像度を保存できる
処理が良いということに基づいている。すなわち、連続
変化画像については解像度を粗くしても画質の劣化は少
ない。そこで、連続変化画像の領域についてのみ、解像
度を粗くして4ブロックをまとめて処理することによ
り、画質の劣化を抑えながら圧縮率を高めることができ
る。
As described above, according to this embodiment, 8
Assuming that each block of 4 blocks has × 8 pixels as one block, that region is a continuously changing image or a binary image, and resolution conversion is not performed for the region that is determined to be a binary image. The DCT processing is performed for each block of 8 × 8 pixels, and the area determined to be the continuous change image is
After the resolution is converted and the number of pixels is reduced so that 16 × 16 pixels become one block of 8 × 8 pixels, DCT processing is performed. This is based on the fact that it is better for a continuous-change image such as a photograph to be able to preserve the gradation than the resolution, and for a binary image such as a character or a figure to be able to preserve the resolution than the gradation. ing. That is, the image quality of the continuously changing image is not deteriorated even if the resolution is coarsened. Therefore, the compression rate can be increased while suppressing the deterioration of the image quality by roughening the resolution and processing the four blocks collectively only for the region of the continuously changing image.

【0031】なお、本発明は上記実施例に限定されず、
例えば、フーリエ変換、アダマール変換等の他の直交変
換を使用した圧縮処理を行う画像処理装置にも適用する
ことができる。
The present invention is not limited to the above embodiment,
For example, the present invention can be applied to an image processing apparatus that performs compression processing using other orthogonal transformation such as Fourier transformation and Hadamard transformation.

【0032】[0032]

【発明の効果】以上説明したように請求項1または2記
載の発明によれば、所定の領域内の画素の濃度分布の特
徴に応じて領域内の解像度を切り換え、あるいは、画素
の濃度の空間的な変化が連続的であるか否かに応じて領
域内の解像度を切り換え、その後、所定の画素数のブロ
ック毎に画像を直交変換するようにしたので、画質の劣
化を抑えながら圧縮率を高めることができるという効果
がある。
As described above, according to the invention described in claim 1 or 2, the resolution in the area is switched according to the characteristics of the density distribution of the pixels in the predetermined area, or the space of the density of the pixels is changed. The resolution in the area is switched according to whether the change is continuous or not, and then the image is orthogonally transformed for each block of a predetermined number of pixels, so that the compression rate can be reduced while suppressing the deterioration of the image quality. The effect is that it can be increased.

【0033】また、請求項3記載の発明によれば、直交
変換手段が直交変換を行ったブロック毎に、量子化され
たデータと画像の判別結果とを対応させるようにしたの
で、伸長処理が容易になるという効果がある。
According to the third aspect of the invention, since the quantized data and the image discrimination result are made to correspond to each other for each block subjected to the orthogonal transformation by the orthogonal transformation means, the decompression processing is performed. It has the effect of making it easier.

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

【図1】 本発明の一実施例の画像処理装置の構成を示
すブロック図である。
FIG. 1 is a block diagram showing a configuration of an image processing apparatus according to an exemplary embodiment of the present invention.

【図2】 一実施例の画像処理装置の動作を示すフロー
チャートである。
FIG. 2 is a flowchart showing an operation of the image processing apparatus of the embodiment.

【図3】 8×8画素の1ブロックを示す説明図であ
る。
FIG. 3 is an explanatory diagram showing one block of 8 × 8 pixels.

【図4】 図3のブロックをDCT処理して得られた変
換係数の例を示す説明図である。
FIG. 4 is an explanatory diagram showing an example of transform coefficients obtained by performing DCT processing on the block of FIG.

【図5】 一実施例の画像処理装置においてDCT処理
および特徴量計算を行うブロックの順番を示す説明図で
ある。
FIG. 5 is an explanatory diagram showing the order of blocks for performing DCT processing and feature amount calculation in the image processing apparatus according to the embodiment.

【図6】 一実施例の画像処理装置における管理用デー
タの構造を示す説明図である。
FIG. 6 is an explanatory diagram showing a structure of management data in the image processing apparatus of the embodiment.

【図7】 一実施例の画像処理装置における管理用デー
タの構造の他の例を示す説明図である。
FIG. 7 is an explanatory diagram showing another example of the structure of management data in the image processing apparatus of the embodiment.

【図8】 図7におけるヘッダデータの構造を示す説明
図である。
8 is an explanatory diagram showing a structure of header data in FIG. 7. FIG.

【図9】 従来の画像処理装置の構成を示すブロック図
である。
FIG. 9 is a block diagram showing a configuration of a conventional image processing apparatus.

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

13…2次元DCT処理回路、14…画像判別回路、1
5…解像度変換回路、16…量子化回路、17…符号化
回路、18…管理用データ作成回路
13 ... Two-dimensional DCT processing circuit, 14 ... Image discrimination circuit, 1
5 ... Resolution conversion circuit, 16 ... Quantization circuit, 17 ... Encoding circuit, 18 ... Management data creation circuit

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 所定の画素数のブロック毎に画像を直交
変換する直交変換手段と、 入力画像の所定の大きさの領域毎に、その領域内の画素
の濃度分布の特徴を判別する画像判別手段と、 この画像判別手段の判別結果に応じて前記領域内の解像
度を切り換えて前記領域内の画素数を切り換え、前記ブ
ロックに対応させる入力画像の大きさを切り換える解像
度切換手段と、 前記直交変換手段による直交変換によって得られる係数
を量子化する量子化手段と、 前記量子化手段によって量子化されたデータを符号化す
る符号化手段とを具備することを特徴とする画像処理装
置。
1. An orthogonal transformation means for orthogonally transforming an image for each block of a predetermined number of pixels, and an image discrimination for discriminating a characteristic of a density distribution of pixels in the region for each region of a predetermined size of an input image. Means, resolution switching means for switching the resolution in the area according to the discrimination result of the image discrimination means to switch the number of pixels in the area, and for switching the size of the input image corresponding to the block, and the orthogonal transformation. An image processing apparatus comprising: a quantizing means for quantizing a coefficient obtained by orthogonal transformation by means; and an encoding means for encoding the data quantized by the quantizing means.
【請求項2】 入力画像の所定の領域毎に、その領域内
の画素の濃度の空間的な変化が連続的であるか否かを判
別する画像判別手段と、 この画像判別手段によって連続的であると判別された領
域について、解像度を変換してその領域内の画素数を減
らす解像度変換手段と、 前記画像判別手段によって連続的でないと判別された領
域については入力画像の所定の画素数のブロック毎に画
像を直交変換し、前記画像判別手段によって連続的であ
ると判別された領域については前記解像度変換手段によ
って変換された後の画像の所定の画素数のブロック毎に
画像を直交変換する直交変換手段と、この直交変換手段
による直交変換によって得られる係数を量子化する量子
化手段と、 前記量子化手段によって量子化されたデータを符号化す
る符号化手段とを具備することを特徴とする画像処理装
置。
2. An image discriminating means for discriminating whether or not a spatial change in the density of pixels in the predetermined region of the input image is continuous, and the image discriminating means is arranged so as to be continuous. For a region determined to be present, resolution conversion means for converting the resolution to reduce the number of pixels in the region, and for a region determined not to be continuous by the image determination means, a block having a predetermined number of pixels in the input image. The image is orthogonally transformed for each of the regions, and the region that is determined to be continuous by the image determination unit is orthogonally transformed for each block having a predetermined number of pixels of the image after being converted by the resolution conversion unit. Transforming means, quantizing means for quantizing the coefficients obtained by the orthogonal transforming by the orthogonal transforming means, and coding means for encoding the data quantized by the quantizing means. An image processing apparatus comprising:
【請求項3】 前記直交変換手段が直交変換を行ったブ
ロック毎に、前記量子化手段によって量子化されたデー
タと前記画像判別手段の判別結果とを対応させる手段を
備えたことを特徴とする請求項1または2記載の画像処
理装置。
3. The means for associating the data quantized by the quantizing means with the discrimination result of the image discriminating means for each block subjected to the orthogonal transformation by the orthogonal transforming means. The image processing device according to claim 1.
JP3164171A 1991-07-04 1991-07-04 Picture processor Pending JPH0514737A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3164171A JPH0514737A (en) 1991-07-04 1991-07-04 Picture processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3164171A JPH0514737A (en) 1991-07-04 1991-07-04 Picture processor

Publications (1)

Publication Number Publication Date
JPH0514737A true JPH0514737A (en) 1993-01-22

Family

ID=15788080

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3164171A Pending JPH0514737A (en) 1991-07-04 1991-07-04 Picture processor

Country Status (1)

Country Link
JP (1) JPH0514737A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5930400A (en) * 1995-09-28 1999-07-27 Fujitsu Limited Image processing device and method for amending box of compressed image

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5930400A (en) * 1995-09-28 1999-07-27 Fujitsu Limited Image processing device and method for amending box of compressed image

Similar Documents

Publication Publication Date Title
US6529633B1 (en) Parallel difference coding method for lossless compression and real time decompression
US6567559B1 (en) Hybrid image compression with compression ratio control
US6459816B2 (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
JP4870743B2 (en) Selective chrominance decimation for digital images
JP3848443B2 (en) Compressed digital data processing method
US5719961A (en) Adaptive technique for encoder and decoder signal transformation
JPH03192876A (en) Picture coder
US20020191855A1 (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
JPH05219385A (en) Picture compression expansion method and device
WO2002100102A1 (en) Interframe encoding method and apparatus
JP3105906B2 (en) Image processing device
KR940009117B1 (en) Method and apparatus for recovery of image data
JPH0514737A (en) Picture processor
JP3311221B2 (en) Image processing apparatus and method
JPH07154794A (en) Picture code converter
JPH04220081A (en) Method and device for picture data decoding
JP3027605B2 (en) Image processing device
JP2002051221A (en) Device, system and method for encoding and decoding image and storage medium
KR100189523B1 (en) Image compression apparatus and method and decoding method by using image separation and arithmatic coding
JPH04215385A (en) Method and device for encoding/decoding image data
JPH09205552A (en) Image coding method and device therefor
JPH07240920A (en) Compression and extension for digital image data
JPH04271664A (en) Picture data compressor and picture data decoder
JPH0595484A (en) Picture compressor and its method
JPH08289298A (en) Image encoding method and device, image decoding method, image encoding/decoding method, image communication method and device