JP2711045B2 - Image compression device and image decompression device - Google Patents

Image compression device and image decompression device

Info

Publication number
JP2711045B2
JP2711045B2 JP11621692A JP11621692A JP2711045B2 JP 2711045 B2 JP2711045 B2 JP 2711045B2 JP 11621692 A JP11621692 A JP 11621692A JP 11621692 A JP11621692 A JP 11621692A JP 2711045 B2 JP2711045 B2 JP 2711045B2
Authority
JP
Japan
Prior art keywords
image data
data
magnification
image
processing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP11621692A
Other languages
Japanese (ja)
Other versions
JPH05316367A (en
Inventor
英俊 中西
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Screen Holdings Co Ltd
Dainippon Screen Manufacturing Co Ltd
Original Assignee
Screen Holdings Co Ltd
Dainippon Screen Manufacturing 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 Screen Holdings Co Ltd, Dainippon Screen Manufacturing Co Ltd filed Critical Screen Holdings Co Ltd
Priority to JP11621692A priority Critical patent/JP2711045B2/en
Publication of JPH05316367A publication Critical patent/JPH05316367A/en
Application granted granted Critical
Publication of JP2711045B2 publication Critical patent/JP2711045B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Compression Of Band Width Or Redundancy In Fax (AREA)
  • Preparing Plates And Mask In Photomechanical Process (AREA)
  • Image Processing (AREA)
  • Storing Facsimile Image Data (AREA)
  • Editing Of Facsimile Originals (AREA)

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、同一の画像源に対して
変倍率が異なる複数の画像データを圧縮及び伸長する画
像圧縮装置及び画像伸長装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image compression apparatus and an image expansion apparatus for compressing and expanding a plurality of image data having different magnifications for the same image source.

【0002】[0002]

【従来の技術】印刷製版作業においては、拡大・縮小処
理や解像度の変更処理等の変倍処理を施す等、原稿(画
像源)の画像情報を電気的に処理して製版用の原板を作
成するスキャナが広範に用いられている。しかし、この
種のスキャナでは、変倍処理を施した画像を仕上げて
も、種々の要因によりさらに変倍率を変更する必要が生
じる場合がある。そこで、このような要望に迅速に対応
するために、同一の原稿から異なる変倍率で画像を画像
データベースに予め保存しておくことが行われている。
また水増し・間引き等の画像の拡大・縮小処理により異
なる変倍率の画像データを得ることも行われている。
2. Description of the Related Art In a printing plate making operation, an image information of a document (image source) is electrically processed such as performing a scaling process such as an enlargement / reduction process and a resolution changing process to create a plate for plate making. Scanners are widely used. However, in this type of scanner, even if the image subjected to the scaling process is finished, it may be necessary to further change the scaling factor due to various factors. Therefore, in order to quickly respond to such a demand, an image is previously stored in an image database from the same document at different magnifications.
In addition, image data having different magnifications is obtained by enlargement / reduction processing of images such as inflating and thinning.

【0003】[0003]

【発明が解決しようとする課題】一般に、画像データベ
ースに画像を保存する際には光磁気ディスク等の磁気記
録媒体のコストを考慮して、可及的に小容量に圧縮する
必要がある。そこで、画像データベースに画像を保存す
る際には、ハフマン符号等の予測符号化法や、直交変換
法等の変換符号化法等により画像データを圧縮して保存
している。
Generally, when an image is stored in an image database, it is necessary to compress the image as small as possible in consideration of the cost of a magnetic recording medium such as a magneto-optical disk. Therefore, when storing an image in the image database, the image data is compressed and stored by a predictive coding method such as a Huffman code or a transform coding method such as an orthogonal transform method.

【0004】ところが、前記従来の構成では、異なる変
倍率で走査して得られたそれぞれの画像が個別に圧縮し
て保存されているので、一般的な圧縮法による圧縮の効
果を得ることはできるが、飛躍的に圧縮率を高めること
はできない。このため、画像データベースに異なる変倍
率で走査した画像データを効率良く保存することができ
ない。
However, in the above-mentioned conventional configuration, since the images obtained by scanning at different magnifications are individually compressed and stored, it is possible to obtain the effect of compression by a general compression method. However, the compression ratio cannot be increased dramatically. Therefore, image data scanned at different magnifications cannot be efficiently stored in the image database.

【0005】また、画像の縮小・拡大処理を行う構成で
は、その処理に誤差が含まれるため、縮小・拡大処理後
の画質が回転前に比べて劣化するという問題がある。本
発明の目的は、変倍率が異なる複数の画像データを画質
を維持しつつ効率良く圧縮することにある。本発明の別
の目的は、効率良く圧縮された画像データを画質劣化を
抑えて伸長することにある。
Further, in the configuration for performing the image reduction / enlargement processing, there is a problem that the image quality after the reduction / enlargement processing is deteriorated as compared with that before the rotation because the processing includes an error. An object of the present invention is to efficiently compress a plurality of image data having different scaling factors while maintaining image quality. Another object of the present invention is to expand efficiently compressed image data while suppressing image quality deterioration.

【0006】[0006]

【課題を解決するための手段】本発明に係る画像圧縮装
置は、画像源から得られた処理対象画像データを圧縮し
て出力するためのものである。この装置は、基準画像デ
ータ獲得手段と処理対象画像データ獲得手段と変倍処理
データ獲得手段とデータ差分手段と圧縮手段とデータ出
力手段とを備えている。基準画像データ獲得手段は、画
像源に対し第1倍率で基準画像データを得る手段であ
る。処理対象画像データ獲得手段は、画像源に対し第2
倍率で処理対象画像データを得る手段である。変倍処理
データ獲得手段は、第1倍率が第2倍率に一致するよう
に基準画像データを変倍処理して変倍処理データを得る
手段である。データ差分手段は、処理対象画像データと
変倍処理データとの差分を取り、差分画像データを得る
手段である。圧縮手段は、差分画像データを圧縮して圧
縮画像データを得る手段である。データ出力手段は、基
準画像データと圧縮画像データとを出力する手段であ
る。
An image compression apparatus according to the present invention is for compressing and outputting image data to be processed obtained from an image source. This apparatus includes a reference image data acquisition unit, a processing target image data acquisition unit, a scaling process data acquisition unit, a data difference unit, a compression unit, and a data output unit. The reference image data acquisition means is means for obtaining reference image data at a first magnification for the image source. The processing target image data acquiring means is configured to perform a second
This is means for obtaining processing target image data at a magnification. The scaling processing data obtaining means is means for obtaining scaling processing data by scaling the reference image data so that the first magnification matches the second magnification. The data difference means is a means for obtaining a difference between the processing target image data and the scaling processing data to obtain difference image data. The compression means is means for compressing the difference image data to obtain compressed image data. The data output unit is a unit that outputs the reference image data and the compressed image data.

【0007】本発明に係る画像伸長装置は、画像源に対
し第1倍率で得られた基準画像データと、第2倍率で得
られた処理対象画像データと基準画像データを第2倍率
に一致するように変倍処理して得られた変倍処理データ
との差分である差分画像データを圧縮処理して得られた
圧縮画像データとに基づいて処理対象画像データを得る
ためのものである。この装置は、伸長手段と変倍処理デ
ータ獲得手段とデータ加算手段とを備えている。伸長手
段は圧縮画像データを伸長して差分画像データを得る手
段である。変倍処理データ獲得手段は、第1倍率が第2
倍率に一致するように、基準画像データを変倍処理して
変倍処理データを得る手段である。データ加算手段は、
差分画像データと変倍処理データとを加算して処理対象
データを得る手段である。
An image decompression device according to the present invention matches reference image data obtained at a first magnification with respect to an image source, processing target image data obtained at a second magnification, and reference image data at a second magnification. In this way, the processing target image data is obtained based on the compressed image data obtained by compressing the difference image data which is the difference from the scaling processing data obtained by the scaling processing. This device includes a decompression unit, a scaling data acquisition unit, and a data addition unit. The decompression means is means for decompressing the compressed image data to obtain difference image data. In the scaling processing data acquisition means, the first magnification is the second magnification.
This is means for obtaining scaling data by scaling the reference image data so as to match the magnification. The data addition means is
This is a means for obtaining data to be processed by adding the difference image data and the scaling processing data.

【0008】[0008]

【作用】本発明に係る画像圧縮装置では、基準画像デー
タ獲得手段により、画像源から第1倍率で基準画像デー
タが得られる。また、処理対象画像データ獲得手段によ
り、画像源から第2倍率で処理対象画像データが得られ
る。そして、変倍処理データ獲得手段が、第1倍率が第
2倍率に一致するように基準画像データを変倍処理して
変倍処理データを得る。次に、データ差分手段が、処理
対象画像データと変倍処理データとの差分をとり、差分
画像データを得る。得られた差分画像データは圧縮手段
により圧縮されて圧縮画像データとされ、基準画像デー
タと圧縮画像データとがデータ出力手段により出力され
る。
In the image compression apparatus according to the present invention, the reference image data is obtained from the image source at the first magnification by the reference image data obtaining means. Further, the processing target image data obtaining means obtains the processing target image data from the image source at the second magnification. Then, scaling processing data acquisition means performs scaling processing on the reference image data so that the first scaling factor matches the second scaling factor to obtain scaling processing data. Next, the data difference means obtains a difference between the processing target image data and the scaling processing data to obtain difference image data. The obtained difference image data is compressed by the compression means to become compressed image data, and the reference image data and the compressed image data are output by the data output means.

【0009】ここでは、共通の画像源に対し異なる倍率
で得られた画像データである基準画像データと処理対象
データとはデータ間の相関関係が強いので、差分画像デ
ータは、差の小さいデータが多く偏った分布を示す。こ
のような偏った差分画像データは圧縮手段により効率良
く圧縮されるので、効率良く圧縮されたデータを扱うこ
とにより、例えば、画像データの記憶容量が小さくて済
むようになり、またデータを転送する場合の転送時間が
短縮できる。
Here, since there is a strong correlation between reference image data, which is image data obtained at different magnifications for a common image source, and data to be processed, difference image data is data having a small difference. It shows a highly biased distribution. Since such biased differential image data is efficiently compressed by the compression means, by handling the efficiently compressed data, for example, the storage capacity of the image data can be reduced, and the data is transferred. Transfer time can be reduced.

【0010】本発明に係る画像伸長装置では、伸長手段
が圧縮画像データを伸長して差分画像データを得る。そ
して、変倍処理データ獲得手段が、基準画像データが第
2倍率の画像データとなるように、変倍処理して変倍処
理データを得る。データ加算手段は差分画像データと変
倍処理データとを加算して処理対象画像データを得る。
In the image decompression device according to the present invention, the decompression means decompresses the compressed image data to obtain difference image data. Then, the scaling processing data acquisition means performs scaling processing to obtain scaling processing data so that the reference image data is the image data of the second magnification. The data adding means adds the difference image data and the scaling processing data to obtain processing target image data.

【0011】[0011]

【実施例】原理 図1は、本発明の画像圧縮装置及び画像伸長装置の処理
フローを概念的に示したブロック図である。同一の画像
源ORに対して、画像入力部101及び画像入力部10
2で光学倍率MG(1)及び倍率MG(2)で得られた
画像データOR(1)及び画像データOR(2)をそれ
ぞれ圧縮処理する圧縮処理フローについて説明する。
EXAMPLES principle diagram 1 is a block diagram conceptually showing the processing flow of the image compression apparatus and an image decompression apparatus of the present invention. For the same image source OR, the image input unit 101 and the image input unit 10
The compression processing flow for compressing the image data OR (1) and the image data OR (2) obtained at the optical magnification MG (1) and the magnification MG (2) at 2, respectively, will be described.

【0012】まず、画像データOR(1)を基準画像デ
ータとし、そのまま符号化部131で符号化し、その圧
縮画像データCMD(1)を保存部141に保存する。
一方、画像データOR(2)の圧縮処理については、次
のように行う。基準画像データである画像データOR
(1)が画像データOR(2)の倍率と同じになるよう
に変倍処理部112で水増し・間引き等の変倍処理(倍
率MG(2)/MG(1))を行うことによって変倍処
理データJ(2)を得る。続いて、差分器122で画像
データOR(2)と変倍処理データJ(2)との差分を
とり、それを差分画像データDI(2)とし、さらに符
号化部132で符号化し、その圧縮画像データCMD
(2)を保存部142に保存する。以上の工程で画像デ
ータOR(1)及び画像データOR(2)のそれぞれの
圧縮画像データCMD(1)及び圧縮画像データCMD
(2)が得られる。
First, the image data OR (1) is used as reference image data, encoded by the encoding unit 131 as it is, and the compressed image data CMD (1) is stored in the storage unit 141.
On the other hand, the compression processing of the image data OR (2) is performed as follows. Image data OR as reference image data
The magnification processing unit 112 performs magnification processing such as padding and thinning (magnification MG (2) / MG (1)) so that (1) becomes the same as the magnification of the image data OR (2). The processing data J (2) is obtained. Subsequently, the difference between the image data OR (2) and the scaling processing data J (2) is obtained by the differentiator 122, and the difference is used as difference image data DI (2). Image data CMD
(2) is stored in the storage unit 142. Through the above steps, the compressed image data CMD (1) and the compressed image data CMD of the image data OR (1) and the image data OR (2), respectively.
(2) is obtained.

【0013】ここで、画像データOR(1)と画像デー
タOR(2)とは、同一の画像源により得られた画像デ
ータなので、画像データOR(2)と変倍処理データJ
(2)とはデータの相関関係が強く、そのためこの差分
画像データDI(2)は画像データOR(2)よりも小
さい値のデータが多く分布することになる。したがっ
て、この差分画像データDI(2)を符号化部132で
符号化した圧縮画像データCMD(2)のデータ量は画
像データOR(2)をそのまま圧縮したデータ量よりも
少なくなり、保存部142の容量を少なく抑えることが
できる。
Here, the image data OR (1) and the image data OR (2) are image data obtained from the same image source.
The data has a strong correlation with (2), so that the difference image data DI (2) has a larger distribution of data having a smaller value than the image data OR (2). Therefore, the data amount of the compressed image data CMD (2) obtained by encoding the difference image data DI (2) by the encoding unit 132 is smaller than the data amount obtained by directly compressing the image data OR (2). Can be reduced.

【0014】次に、保存部141及び保存部142に各
別に保存された圧縮画像データCMD(1)及び圧縮画
像データCMD(2)により画像データOR(1)及び
画像データOR(2)を得る伸長処理フローについて説
明する。画像データOR(1)を得る場合は、復号化部
151で圧縮画像データCMD(1)をそのまま復号化
処理することにより画像データOR(1)が得られる。
Next, image data OR (1) and image data OR (2) are obtained from the compressed image data CMD (1) and the compressed image data CMD (2) respectively stored in the storages 141 and 142. The decompression processing flow will be described. When obtaining the image data OR (1), the decoding unit 151 directly decodes the compressed image data CMD (1) to obtain the image data OR (1).

【0015】一方、画像データOR(2)を得る場合
は、次のように行う。復号化部152で圧縮画像データ
CMD(2)を復号化することにより差分画像データD
I(2)を得る。続いて変倍処理部162で画像データ
OR(1)が差分画像データDI(2)の倍率と同じに
なるように変倍処理(倍率MG(2)/MG(1))を
行い、変倍処理データJ(2)を得る。さらに加算器1
72で差分画像データDI(2)と変倍処理データJ
(2)とを加算することにより画像データOR(2)を
得る。以上のように、圧縮画像データCMD(1)及び
圧縮画像データCMD(2)より伸長した画像データO
R(1)及び画像データOR(2)を得ることができ
る。
On the other hand, when obtaining the image data OR (2), the following is performed. By decoding the compressed image data CMD (2) by the decoding unit 152, the difference image data D
I (2) is obtained. Subsequently, the scaling processing section 162 performs scaling processing (magnification MG (2) / MG (1)) so that the image data OR (1) has the same magnification as that of the difference image data DI (2). The processing data J (2) is obtained. Adder 1
At 72, the difference image data DI (2) and the scaling processing data J
(2) is added to obtain image data OR (2). As described above, the image data O expanded from the compressed image data CMD (1) and the compressed image data CMD (2)
R (1) and image data OR (2) can be obtained.

【0016】構成 図2は、本発明の一実施例を採用したカラースキャナを
示している。このカラースキャナは、画像を入力するた
めの画像入力部1と、画像入力部1で得られた画像デー
タに色補正,輪郭強調,倍率変更等を行う画像処理部2
と、画像処理されたデータをフィルム上に記録するため
の画像記録部3と、これらの操作及びセットアップ条件
を設定するための操作部4と、画像入力部1で入力され
た画像データを保存するための光磁気ディスク装置5と
から構成されている。
[0016] Configuration FIG. 2 shows a color scanner which employs an embodiment of the present invention. The color scanner includes an image input unit 1 for inputting an image, and an image processing unit 2 for performing color correction, contour enhancement, magnification change, and the like on image data obtained by the image input unit 1.
And an image recording unit 3 for recording image-processed data on a film, an operation unit 4 for setting these operations and setup conditions, and storing the image data input by the image input unit 1. And a magneto-optical disk drive 5 for the purpose.

【0017】画像入力部1の上面には、開閉自在な蓋7
が設けられている。蓋7は、その一辺を旋回中心として
開閉するようになっている。蓋7の内部には、原稿ホル
ダ(後述)を載置するための走査テーブル6が設けられ
ている。操作部4は、パーソナルコンピュータ8と、カ
ラーグラフィックディスプレイ13とから主に構成され
ている。パーソナルコンピュータ8は、コンピュータ本
体9と、キーボード10と、マウス11と、カラーディ
スプレイ12とから主に構成されている。
An openable / closable lid 7 is provided on the upper surface of the image input section 1.
Is provided. The lid 7 is opened and closed with one side thereof as a center of rotation. A scanning table 6 for mounting a document holder (described later) is provided inside the lid 7. The operation unit 4 mainly includes a personal computer 8 and a color graphic display 13. The personal computer 8 mainly includes a computer main body 9, a keyboard 10, a mouse 11, and a color display 12.

【0018】図3に示すように、画像入力部1の走査テ
ーブル6は、画像入力部1の前後方向(X軸方向:副走
査方向)に移動可能となっている。走査テーブル6には
原稿ホルダ20が嵌め込まれるようになっている。走査
テーブル6の上方には、画像入力部1のフレーム(図示
せず)に固定された遮光板16が設けられている。遮光
板16は、その中央部に長溝状の開口を有している。
As shown in FIG. 3, the scanning table 6 of the image input unit 1 is movable in the front-back direction (X-axis direction: sub-scanning direction) of the image input unit 1. A document holder 20 is fitted into the scanning table 6. Above the scanning table 6, a light shielding plate 16 fixed to a frame (not shown) of the image input unit 1 is provided. The light shielding plate 16 has a long groove-shaped opening at the center thereof.

【0019】遮光板16の上方には、スリット部材18
がX軸方向と直交するY軸方向(主走査方向)に沿って
設けられている。スリット部材18の中央部には幅5m
m程度のスリット18aが形成されている。スリット部
材18は断面が偏平U字状をなしており、その内部には
石英ロッド19が配設されている。石英ロッド19は、
その両端が遮光板16に立設されたブラケットにより支
持されている。石英ロッド19の一端には、石英ロッド
19に光を照射するためのハロゲンランプ14が設けら
れている。ハロゲンランプ14から照射された光は、石
英ロッド19及びスリット18aを介して下方に照射さ
れ得る。
Above the light shielding plate 16, a slit member 18 is provided.
Are provided along a Y-axis direction (main scanning direction) orthogonal to the X-axis direction. 5m width at the center of the slit member 18
A slit 18a of about m is formed. The slit member 18 has a flat U-shaped cross section, and a quartz rod 19 is disposed inside the slit member 18. The quartz rod 19
Both ends are supported by brackets erected on the light shielding plate 16. At one end of the quartz rod 19, a halogen lamp 14 for irradiating the quartz rod 19 with light is provided. The light emitted from the halogen lamp 14 can be emitted downward through the quartz rod 19 and the slit 18a.

【0020】走査テーブル6は、直方体状をなしてお
り、中央部に円形の開口が設けられている。走査テーブ
ル6の下面には、Y軸方向の間隔を隔ててガイドレール
21,21が並設されている。ガイドレール21,21
上には、走査テーブル6の下面に固定された摺動部材2
2,22が載架されている。また、走査テーブル6下面
には、ボールナット23が設けられている。ボールナッ
ト23には、走査テーブル6をX軸方向に移動させるた
めのボールねじ軸24が螺合している。ボールねじ軸2
4には、これを回転させるためのスキャンモータ25が
連結されている。このスキャンモータ25は、例えばエ
ンコーダ付のパルスモータである。スキャンモータ25
を正逆駆動すると、走査テーブル6がX軸方向に往復移
動されるようになっている。
The scanning table 6 has a rectangular parallelepiped shape, and has a circular opening at the center. On the lower surface of the scanning table 6, guide rails 21 and 21 are juxtaposed at intervals in the Y-axis direction. Guide rails 21, 21
On the upper side, a sliding member 2 fixed to the lower surface of the scanning table 6
2, 22 are mounted. A ball nut 23 is provided on the lower surface of the scanning table 6. A ball screw shaft 24 for moving the scanning table 6 in the X-axis direction is screwed to the ball nut 23. Ball screw shaft 2
4 is connected to a scan motor 25 for rotating it. The scan motor 25 is, for example, a pulse motor with an encoder. Scan motor 25
When the scanning table 6 is driven forward and backward, the scanning table 6 is reciprocated in the X-axis direction.

【0021】走査テーブル6の円形開口の周縁部には、
両端に係合用突起を有する環状ガイド26が立設されて
いる。環状ガイド26は、中央部に角孔が形成された回
転テーブル27を鉛直軸回りに回転自在に支持する。回
転テーブル27の下面外周部には、環状ガイド26と同
心に環状ラック29が装着されている。一方、走査テー
ブル6の内部には、環状ラック29に噛合するピニオン
30を連結したパルスモータ31が設けられている。こ
のパルスモータ31により、回転テーブル27が環状ガ
イド26に案内されて回転する。
At the periphery of the circular opening of the scanning table 6,
An annular guide 26 having engagement projections at both ends is provided upright. The annular guide 26 supports a rotary table 27 having a square hole formed in the center so as to be rotatable around a vertical axis. An annular rack 29 is mounted concentrically with the annular guide 26 on the outer periphery of the lower surface of the turntable 27. On the other hand, a pulse motor 31 having a pinion 30 that meshes with the annular rack 29 is provided inside the scanning table 6. The rotary table 27 is guided by the annular guide 26 and rotated by the pulse motor 31.

【0022】回転テーブル27の角孔には、原稿Dをテ
ーブル面に対して強圧保持する原稿ホルダ20が組み付
けられている。原稿ホルダ20は、2枚の透明ガラスを
有しており、この透明ガラスの間に原稿Dがセットされ
得る。走査テーブル6の下方には、光源(ハロゲンラン
プ14と石英ロッド19)から照射され、原稿Dを通過
した光の光路を90°変更する反射ミラー35が設けら
れている。反射ミラー35の出射側には、テレセントリ
ックアダプタレンズ等からなるレンズ系36と、読取り
光をB,G,Rの3原色に分解するダイクロイックプリ
ズム37とが配置されている。レンズ系36は、X軸方
向に移動可能であり、変倍率に応じた位置にセットされ
る。ダイクロイックプリズム37により色分解された光
は、図示しないスリットを介して、青色光読取用のB−
CCDラインセンサ38,緑色光読取用のG−CCDラ
インセンサ39及び赤色光読取用のR−CCDラインセ
ンサ40にそれぞれ投影される。各ラインセンサ38,
39,40は、3原色の光を光電変換し、原稿の1ライ
ン分の画像データとする。
A document holder 20 for holding the document D strongly against the table surface is mounted in the square hole of the rotary table 27. The document holder 20 has two transparent glasses, and the document D can be set between the transparent glasses. Below the scanning table 6, there is provided a reflecting mirror 35 for changing the optical path of light emitted from a light source (the halogen lamp 14 and the quartz rod 19) and passing through the document D by 90 °. On the exit side of the reflection mirror 35, a lens system 36 including a telecentric adapter lens and the like, and a dichroic prism 37 for separating read light into three primary colors of B, G, and R are arranged. The lens system 36 is movable in the X-axis direction, and is set at a position corresponding to the magnification. The light color-separated by the dichroic prism 37 passes through a slit (not shown) through a blue light reading B-light.
The light is projected on a CCD line sensor 38, a G-CCD line sensor 39 for reading green light, and an R-CCD line sensor 40 for reading red light, respectively. Each line sensor 38,
Numerals 39 and 40 photoelectrically convert the light of the three primary colors into image data for one line of the document.

【0023】図4に示すように、画像入力部1及び画像
処理部2は、それぞれインターフェイス回路50,47
を介してバス40に接続されている。またバス40に
は、カラーグラフィックディスプレイ13用のフレーム
バッファ48と、光磁気ディスク装置5用のインターフ
ェイス回路49と、画像記録部3とが接続されている。
なお画像処理部2は、操作部4で設定されたセットアッ
プ条件に基づき、画像入力部1で入力された画像に種々
の画像処理を施す。また、画像記録部3は、画像入力部
1で入力された画像をフィルム上に記録する。
As shown in FIG. 4, the image input unit 1 and the image processing unit 2 include interface circuits 50 and 47, respectively.
Is connected to the bus 40 via the. The bus 40 is connected to a frame buffer 48 for the color graphic display 13, an interface circuit 49 for the magneto-optical disk device 5, and the image recording unit 3.
The image processing unit 2 performs various types of image processing on the image input by the image input unit 1 based on the setup conditions set by the operation unit 4. The image recording unit 3 records the image input by the image input unit 1 on a film.

【0024】さらにバス40には、コンピュータ本体9
とキーボード10とマウス11とカラーディスプレイ1
2とが接続されている。コンピュータ本体9は、半導体
メモリ41と、CPU42と、ハードディスクドライブ
(以下、HDDと記す)45と、フレキシブルディスク
ドライブ(以下、FDDと記す)46とから主に構成さ
れている。HDD45はインターフェイス回路43を介
して、またFDD4はインターフェイス回路44を介し
てバス40に接続されている。FDD46にはフレキシ
ブルディスク46aが装着可能となっている。また、半
導体メモリ41は、入力画像データ、圧縮処理データ、
伸長処理データ等を一時保管する領域や、オペレーショ
ンシステム及びアプリケーションソフトを展開する領域
を有している。
Further, the bus 40 is provided with the computer 9
And keyboard 10 and mouse 11 and color display 1
2 are connected. The computer main body 9 mainly includes a semiconductor memory 41, a CPU 42, a hard disk drive (hereinafter, referred to as HDD) 45, and a flexible disk drive (hereinafter, referred to as FDD) 46. The HDD 45 is connected to the bus 40 via the interface circuit 43, and the FDD 4 is connected to the bus 40 via the interface circuit 44. A flexible disk 46a can be mounted on the FDD 46. The semiconductor memory 41 stores input image data, compression processing data,
It has an area for temporarily storing decompression data and the like, and an area for deploying an operation system and application software.

【0025】HDD45には、入力画像データのファイ
ル管理情報や倍率情報が図5に示すようにテーブル構造
で保存されている。ファイル管理テーブル76には、原
稿名と、原稿の識別番号と、同一原稿で倍率パラメータ
条件が異なるファイルの数と、それぞれのファイル名の
倍率パラメータテーブル77上でのアドレスを示す倍率
パラメータポインタとがテーブル構造で格納されてい
る。倍率パラメータテーブル77には、倍率パラメータ
ポインタに対応して倍率パラメータMG(1),MG
(2)…と倍率パラメータのファイル名ポインタとが格
納されている。また、光磁気ディスク装置5には、倍率
パラメータテーブル77の各ポインタに対応して圧縮デ
ータがそれぞれ格納されている。ここで、基準画像デー
タとは、例えば等倍の入力データをそのまま圧縮して光
磁気ディスク装置5に格納される画像データであり、処
理対象画像データとは、基準画像データの変倍処理デー
タを用いて差分処理が実行されるデータである。
The HDD 45 stores file management information and magnification information of input image data in a table structure as shown in FIG. The file management table 76 includes a document name, a document identification number, the number of files having different magnification parameter conditions in the same document, and a magnification parameter pointer indicating the address of each file name on the magnification parameter table 77. Stored in a table structure. The magnification parameter table 77 includes magnification parameters MG (1), MG corresponding to the magnification parameter pointer.
(2)... And a file name pointer of the magnification parameter are stored. The magneto-optical disk device 5 stores compressed data corresponding to each pointer of the magnification parameter table 77. Here, the reference image data is, for example, image data that is directly compressed and directly stored in the magneto-optical disk device 5, and the processing target image data is a scaling process data of the reference image data. This is the data for which the difference processing is performed using the data.

【0026】フレキシブルディスク46aには、図6に
示すように、オペレーションシステム71と、このスキ
ャナの制御を行うためのスキャナプログラム72と、ス
キャナプログラム72において参照されるコマンドテー
ブル73と、スキャナプログラム72の実行中に使用さ
れるフロントエンドプロセッサ74と、フロントエンド
プロセッサ74によって使用される辞書75とが格納さ
れている。
As shown in FIG. 6, an operation system 71, a scanner program 72 for controlling the scanner, a command table 73 referred to in the scanner program 72, and a A front-end processor 74 used during execution and a dictionary 75 used by the front-end processor 74 are stored.

【0027】なお、ファイル管理テーブル76及び倍率
パラメータテーブル77をHDD45に保存したのは、
これらのファイル情報及び管理情報は検索時に高速アク
セスする必要があるためである。一方、圧縮データは高
速アクセスの必要がないので、光磁気ディスク装置5に
保管されている。制御動作 ここでは、スキャナプログラム72の内容を説明しつ
つ、上述の実施例の動作を説明する。なお、図7〜図1
0は、スキャナプログラム72の制御フローチャートで
ある。まず、パーソナルコンピュータ8のFDD46に
フレキシブルディスク46aをセットし、フレキシブル
ディスク46aの内容をパーソナルコンピュータ8に取
り込む。オペレーションシステム71の自動立ち上げ機
能に基づきスキャナプログラム72が立ち上がれば、図
7〜図10に示すスキャナプログラム72が実行され
る。
The reason why the file management table 76 and the magnification parameter table 77 are stored in the HDD 45 is as follows.
This is because these file information and management information need to be accessed at high speed at the time of retrieval. On the other hand, since the compressed data does not need to be accessed at high speed, it is stored in the magneto-optical disk device 5. Here, the operation of the above-described embodiment will be described while explaining the contents of the scanner program 72. 7 to 1
0 is a control flowchart of the scanner program 72. First, the flexible disk 46a is set in the FDD 46 of the personal computer 8, and the contents of the flexible disk 46a are taken into the personal computer 8. When the scanner program 72 starts up based on the automatic start-up function of the operation system 71, the scanner program 72 shown in FIGS. 7 to 10 is executed.

【0028】図7のステップS1では、半導体メモリ4
1の初期化等の初期設定が行われる。次いでステップS
2〜S6では、キーボード10からの操作者の指令を待
つ。倍率等の各種条件を設定する指令が入力されればス
テップS2からステップS7に移行し、図8に示す条件
設定用サブルーチンが実行される。また、圧縮指令が入
力されれば、プログラムステップS3からステップS8
に移行し、図9に示す圧縮処理サブルーチンが実行され
る。伸長指令が入力されれば、プログラムはステップS
4からステップS9に移行し、図10に示す伸長処理サ
ブルーチンが実行される。他の指令が入力されれば、プ
ログラムはステップS5からステップS18に移行し、
入力された指令に応じた他の処理を行う。また、終了指
令が入力されればステップS6での判断がYESとな
り、プログラムは終了する。
In step S1 of FIG.
Initial setting such as initialization of 1 is performed. Then step S
In steps S2 to S6, the process waits for an operator command from the keyboard 10. If a command for setting various conditions such as magnification is input, the process moves from step S2 to step S7, and a condition setting subroutine shown in FIG. 8 is executed. If a compression command is input, program steps S3 to S8 are executed.
Then, the compression processing subroutine shown in FIG. 9 is executed. If an extension command is input, the program proceeds to step S
4 to step S9, and the decompression processing subroutine shown in FIG. 10 is executed. If another command is input, the program proceeds from step S5 to step S18,
Other processing is performed according to the input command. If an end command is input, the determination in step S6 becomes YES, and the program ends.

【0029】図8に示す条件設定処理サブルーチンで
は、まずステップS10で入力数を示す変数mを「1」
にセットする。ステップS11では、原稿名及び原稿の
識別番号を操作者から受け付ける。ステップS12で
は、画像倍率(倍率パラメータ)に応じたファイル名を
操作者から受け付ける。ステップS13では、倍率パラ
メータMG(m)を操作者から受け付ける。ここで倍率
パラメータを受け付けると、画像圧縮時にこのデータが
画像入力部1に転送されて、レンズ系36が倍率パラメ
ータに応じた位置にセットされる。ステップS14で
は、終了指令がなされたか否かを判断する。終了指令が
なされていない場合にはステップS16に移行し、変数
mをインクリメントし、ステップS12に戻って、次の
倍率パラメータのファイル名を設定する。また、終了指
令がなされたと判断するとステップS14からステップ
S15に移行する。ステップS15では、原稿名、原稿
の識別番号、ファイル数m及び倍率パラメータポインタ
をファイル管理テーブル76に登録し、倍率パラメータ
テーブル77に倍率パラメータ、ファイル名ポインタ等
を登録する。また、ファイル数のデータにより光磁気デ
ィスク装置5のエリア確保を行う。
In the condition setting processing subroutine shown in FIG. 8, first, in step S10, a variable m indicating the number of inputs is set to "1".
Set to. In step S11, a document name and a document identification number are received from the operator. In step S12, a file name corresponding to the image magnification (magnification parameter) is received from the operator. In step S13, a magnification parameter MG (m) is received from the operator. When the magnification parameter is received, the data is transferred to the image input unit 1 when the image is compressed, and the lens system 36 is set at a position corresponding to the magnification parameter. In step S14, it is determined whether an end command has been issued. If the end command has not been issued, the process proceeds to step S16, the variable m is incremented, and the process returns to step S12 to set the file name of the next magnification parameter. If it is determined that the end command has been issued, the process proceeds from step S14 to step S15. In step S15, the document name, document identification number, file number m, and magnification parameter pointer are registered in the file management table 76, and the magnification parameter, file name pointer, and the like are registered in the magnification parameter table 77. Further, the area of the magneto-optical disk device 5 is secured by the data of the number of files.

【0030】図9に示す圧縮処理サブルーチンでは、ま
ずステップS21で、変数xを1にセットする。この変
数xは、入力ファイルの数を計数する変数である。ステ
ップS22では、倍率パラメータMG(1)(通常は等
倍)を画像入力部1に転送する。画像入力部1では、レ
ンズ系36をX軸方向に移動し、転送された倍率パラメ
ータMG(1)が示す位置にセットし読取走査を行う。
ステップS23では、走査された画像を基準画像データ
OR(1)として入力する。ステップS24では、入力
した基準画像データOR(1)をハフマン符号や直交変
換符号化法等の圧縮法により圧縮し、圧縮データCMD
(1)をHDD45に格納する。
In the compression processing subroutine shown in FIG. 9, a variable x is set to 1 in step S21. The variable x is a variable for counting the number of input files. In step S22, the magnification parameter MG (1) (normally the same magnification) is transferred to the image input unit 1. The image input unit 1 moves the lens system 36 in the X-axis direction, sets the lens system 36 at the position indicated by the transferred magnification parameter MG (1), and performs scanning.
In step S23, the scanned image is input as reference image data OR (1). In step S24, the input reference image data OR (1) is compressed by a compression method such as a Huffman code or an orthogonal transform coding method, and the compressed data CMD
(1) is stored in the HDD 45.

【0031】ステップS25では、変数xをインクリメ
ントする。ステップS26では、設定されたファイル数
mを変数xが超えたか否かを判断する。設定されたファ
イル数mを超えていない場合にはステップS26からス
テップS27に移行する。ステップS27では、インク
リメントされた変数xを基準に倍率パラメータMG
(x)を画像入力部1に転送し、画像入力部1のレンズ
系36をX軸方向に移動し、倍率パラメータMG(x)
が示す位置にセットする。ステップS28では、インク
リメントされた変数xを基準に次の処理対象画像データ
OR(x)を入力する。ステップS29では、最初に入
力した基準画像データOR(1)を倍率パラメータMG
(x)/MG(1)で拡大・縮小処理を行い、変倍処理
データJ(x)を得る。この拡大・縮小処理について
は、単純水増し・間引き処理等の公知の変倍処理法を用
ればよい。ここで、単純水増し・間引き処理を用いたの
は、変倍処理データJ(x)は、伸長の際の基準となる
だけのデータであるためデータの精度は特に必要ないか
らである。なお、変倍処理法については前述した方法に
限定する必要はなく、ラグランジェ多項式を利用した階
層的拡大・縮小法等の他の変倍処理法を用いてもよい。
In step S25, the variable x is incremented. In step S26, it is determined whether or not the variable x has exceeded the set number m of files. If the number of files does not exceed the set number m, the process proceeds from step S26 to step S27. In step S27, the magnification parameter MG is set based on the incremented variable x.
(X) is transferred to the image input unit 1, the lens system 36 of the image input unit 1 is moved in the X-axis direction, and the magnification parameter MG (x)
Set to the position indicated by. In step S28, the next processing target image data OR (x) is input based on the incremented variable x. In step S29, the first input reference image data OR (1) is converted to a magnification parameter MG.
Enlargement / reduction processing is performed by (x) / MG (1) to obtain scaling processing data J (x). For this enlargement / reduction processing, a known scaling processing method such as a simple padding / thinning processing may be used. Here, the reason why the simple inflating / thinning processing is used is that the precision of the data is not particularly required because the scaling processing data J (x) is only data that becomes a reference at the time of decompression. It should be noted that the scaling method need not be limited to the method described above, and other scaling methods such as a hierarchical enlargement / reduction method using a Lagrange polynomial may be used.

【0032】ステップS30では、画像処理にて拡大・
縮小処理した変倍処理データJ(x)と、画像入力部1
を倍率パラメータMG(x)が示す倍率で変倍処理して
得られた処理対象画像データOR(x)との差分を取
り、差分画像データDI(x)を算出する。ステップS
31では、算出した差分画像データDI(x)を直交変
換やベクトル変換等の圧縮法により圧縮し、圧縮画像デ
ータCMD(x)を得る。この処理が終了するとステッ
プS25に戻る。
In step S30, the image is enlarged /
Reduction processing data J (x) subjected to reduction processing and image input unit 1
Is subtracted from the processing target image data OR (x) obtained by performing magnification processing at the magnification indicated by the magnification parameter MG (x), and difference image data DI (x) is calculated. Step S
At 31, the calculated difference image data DI (x) is compressed by a compression method such as orthogonal transformation or vector transformation to obtain compressed image data CMD (x). When this process ends, the process returns to the step S25.

【0033】ステップS25で、設定されたファイル数
m分の画像データを入力したと判断するとステップS3
2に移行する。ステップS32では、得られた圧縮画像
データCMD(1)〜CMD(m)を光磁気ディスク装
置5に保存するか他の装置に伝送するかを判断する。他
の装置に伝送する場合にはステップS33に移行し、他
の装置への伝送を行う。また光磁気ディスク装置5に保
存する場合にはステップS34に移行し、光磁気ディス
ク装置5にデータを転送し保存する。これらの処理が終
了するとメインルーチンに戻る。
If it is determined in step S25 that image data for the set number m of files has been input, step S3 is reached.
Move to 2. In step S32, it is determined whether to store the obtained compressed image data CMD (1) to CMD (m) in the magneto-optical disk device 5 or to transmit the compressed image data to another device. When transmitting to another device, the process proceeds to step S33, and transmission to another device is performed. If the data is to be stored in the magneto-optical disk device 5, the process proceeds to step S34, where the data is transferred to the magneto-optical disk device 5 and stored. When these processes are completed, the process returns to the main routine.

【0034】図10に示す伸長サブルーチンでは、まず
ステップS41で、光磁気ディスク装置5に保存された
ファイルからファイル名を選択するためのファイル名入
力を行う。ステップS42では、倍率MFを指定する。
ここで指定した倍率MFは、条件設定処理サブルーチン
で設定された倍率パラメータMG(x)と同一でなくて
も良い。ステップS43では、指定された倍率MFに近
似する倍率パラメータMG(x)を選択する。ステップ
S44では、圧縮画像データCMD(1)を伸長する。
この伸長により、基準画像データOR(1)が得られ
る。ステップS45では、伸長した基準画像データOR
(1)をカラーグラフィックディスプレイ13に表示す
る。
In the decompression subroutine shown in FIG. 10, first, in step S41, a file name for selecting a file name from the files stored in the magneto-optical disk device 5 is input. In step S42, a magnification MF is specified.
The magnification MF specified here may not be the same as the magnification parameter MG (x) set in the condition setting processing subroutine. In step S43, a magnification parameter MG (x) approximating the specified magnification MF is selected. In step S44, the compressed image data CMD (1) is expanded.
By this expansion, reference image data OR (1) is obtained. In step S45, the expanded reference image data OR
(1) is displayed on the color graphic display 13.

【0035】ステップS46では、表示した基準画像デ
ータが希望の画像であるか否かの判断を操作者から受け
付ける。希望の画像でない場合にはステップS41に戻
りファイル名入力から繰り返す。希望の画像であると判
断するとステップS47に移行する。ステップS47で
は、変数xが「1」か否かを判断する。変数xが「1」
ではない場合にはステップS48に移行する。ステップ
S48では、基準画像データOR(1)をステップS4
3で選択された倍率パラメータMG(x)と基準画像デ
ータOR(1)の倍率パラメータMG(1)との比であ
るMG(x)/MG(1)で拡大・縮小処理し、変倍処
理データJ(x)を得る。ステップS49では、光ディ
スク駆動装置5に保存された圧縮画像データCMD
(x)を伸長し、差分画像データDI(x)を得る。ス
テップS50では、変倍処理データJ(x)と差分画像
データDI(x)とを加算して、処理対象画像データO
R(x)を得る。ステップS51では、処理対象画像デ
ータOR(x)を変倍パラメータMG(x)と指定され
た倍率MFとの比MF/MG(x)で拡大・縮小処理を
行う。ステップS52では、得られた画像データIMを
編集処理するために画像処理部2に出力する。
In step S46, a determination as to whether the displayed reference image data is a desired image is received from the operator. If the image is not the desired image, the process returns to step S41 and repeats from the input of the file name. If it is determined that the image is the desired image, the process proceeds to step S47. In the step S47, it is determined whether or not the variable x is “1”. Variable x is "1"
If not, the process moves to step S48. In step S48, the reference image data OR (1) is stored in step S4.
The enlargement / reduction processing is performed by MG (x) / MG (1) which is the ratio between the magnification parameter MG (x) selected in Step 3 and the magnification parameter MG (1) of the reference image data OR (1), and the magnification processing is performed. Obtain data J (x). In step S49, the compressed image data CMD stored in the optical disk drive 5 is stored.
(X) is expanded to obtain difference image data DI (x). In step S50, the scaling processing data J (x) and the difference image data DI (x) are added, and the processing target image data O (x) is added.
Obtain R (x). In step S51, enlargement / reduction processing is performed on the processing target image data OR (x) at a ratio MF / MG (x) of a scaling parameter MG (x) and a specified magnification MF. In step S52, the obtained image data IM is output to the image processing unit 2 for editing.

【0036】また、ステップS47で変数xが「1」の
ときには、ステップS51に移行する。ステップS51
では、基準画像データOR(1)を倍率パラメータMG
(x)と指定倍率MFとの比で拡大・縮小処理する。以
上説明したようにこの実施例では、倍率パラメータMG
(1)の基準画像データOR(1)の圧縮画像データに
ついてだけ全データを保存するようにし、他の倍率パラ
メータの処理対象画像データOR(2)〜OR(m)
は、拡大・縮小処理で得られた変倍画像データJ(2)
〜J(m)との差分である差分画像データDI(2)〜
DI(m)の圧縮データだけを保存している。このた
め、データ容量が小さくできる。ここではもとの原稿が
共通である処理対象画像データと変倍処理画像データと
の差をとって得られる差分データは、画像間の相関関係
に基づき、分布に偏りが生じる。このため公知の圧縮法
により圧縮すると、分布に偏りのない画像データを圧縮
する場合に比べて飛躍的に圧縮効率が高まる。このた
め、扱うべきデータ量が減少し、これらをデータベース
化して保存する場合には効率良く保存することができる
とともに、これらを転送する場合には転送時間を短縮で
きる。
If the variable x is "1" in step S47, the process proceeds to step S51. Step S51
Then, the reference image data OR (1) is converted into the magnification parameter MG.
Enlargement / reduction processing is performed at the ratio between (x) and the designated magnification MF. As described above, in this embodiment, the magnification parameter MG
Only the compressed image data of the reference image data OR (1) of (1) is stored, and the processing target image data OR (2) to OR (m) of other magnification parameters are stored.
Is the scaled image data J (2) obtained by the enlargement / reduction processing
-Difference image data DI (2) which is a difference from J (m)-
Only the compressed data of DI (m) is stored. Therefore, the data capacity can be reduced. Here, the distribution of the difference data obtained by taking the difference between the image data to be processed and the image data subjected to the scaling process, in which the original is common, has a bias in the distribution based on the correlation between the images. For this reason, when compression is performed by a known compression method, the compression efficiency is dramatically increased as compared with the case where image data having a uniform distribution is compressed. For this reason, the amount of data to be handled is reduced, and when these are stored in a database and stored, they can be stored efficiently, and when these are transferred, the transfer time can be reduced.

【0037】〔他の実施例〕 (a) 前記実施例では、ソフトウェアにより拡大・縮
小処理及び圧縮・伸長処理を行っているが、これらを専
用のハードウエアにより実現するように構成しても良
い。図11は、圧縮・伸長処理部100を専用のハード
ウエアで構成した例を示している。ここでは、圧縮・伸
長処理部100はバス40に接続されている。圧縮・伸
長処理部100は、図12に示すように、圧縮処理部6
4と伸長処理部65と制御部66とを有している。
[Other Embodiments] (a) In the above embodiment, the enlargement / reduction processing and the compression / expansion processing are performed by software. However, these may be realized by dedicated hardware. . FIG. 11 shows an example in which the compression / decompression processing unit 100 is configured by dedicated hardware. Here, the compression / decompression processing unit 100 is connected to the bus 40. The compression / decompression processing unit 100 includes, as shown in FIG.
4, a decompression processing unit 65, and a control unit 66.

【0038】圧縮処理部64は、基準画像データOR
(1)と処理対象画像データOR(2)〜OR(m)と
を選択するセレクタ51と、基準画像データOR(1)
を記憶するメモリ52と、基準画像データOR(1)を
倍率パラメータ分拡大・縮小処理する拡大・縮小処理部
53と、拡大・縮小処理された変倍画像データJ(x)
と処理対象画像データOR(x)との差分をとる差分器
54と、基準画像データOR(1)及び差分画像データ
DI(x)を前述の圧縮法により圧縮符号化する符号器
55と、圧縮された圧縮画像データCMD(x)を一旦
格納するバッファ56とから主に構成されている。これ
らの各部は制御部63によって制御されている。
The compression processing section 64 is adapted to store the reference image data OR
A selector 51 for selecting (1) and processing target image data OR (2) to OR (m); and reference image data OR (1)
52, an enlargement / reduction processing unit 53 that enlarges / reduces the reference image data OR (1) by the magnification parameter, and scaled image data J (x) that has undergone enlargement / reduction processing
A difference unit 54 for obtaining a difference between the image data OR (x) and the processing target image data; an encoder 55 for compressing and encoding the reference image data OR (1) and the difference image data DI (x) by the above-described compression method; And a buffer 56 for temporarily storing the compressed image data CMD (x). These units are controlled by the control unit 63.

【0039】伸長処理部65は、圧縮画像データを一旦
取り込むバッファ57と、取り込んだ画像圧縮データを
伸長する復号器58と、伸長された基準画像データOR
(1)と、差分画像データDI(x)とを選択するセレ
クタ59と、基準画像データOR(1)が格納されるメ
モリ60と、メモリ60に格納された基準画像データO
R(1)を拡大・縮小処理する拡大・縮小処理部61
と、変倍処理されたデータJ(x)と差分画像データD
I(x)とを加算する加算器62と、基準画像データO
R(1)及び加算結果の処理対象画像データOR(2)
〜OR(m)を倍率パラメータMG(x)と指定倍率M
Fとの比だけ拡大・縮小処理する拡大・縮小処理部63
とから主に構成されている。これらの各部は制御部66
によって制御されている。
The decompression processing unit 65 includes a buffer 57 for temporarily receiving the compressed image data, a decoder 58 for decompressing the compressed image data, and an expanded reference image data OR.
(1), a selector 59 for selecting the difference image data DI (x), a memory 60 for storing the reference image data OR (1), and a reference image data O stored in the memory 60.
Enlargement / reduction processing unit 61 for enlarging / reducing R (1)
And the data J (x) subjected to the scaling process and the difference image data D
I (x) and reference image data O
R (1) and processing target image data OR (2) of the addition result
OROR (m) is a magnification parameter MG (x) and a designated magnification M
Enlargement / reduction processing unit 63 that performs enlargement / reduction processing by the ratio of F
It is mainly composed of Each of these units is a control unit 66
Is controlled by

【0040】制御部66は、特に、CPU42からのフ
ァイル名を示す情報により、セレクタ51を切り替え
る。つまり、ファイル名が基準の倍率パラメータMG
(1)を示すファイルの場合には基準画像データOR
(1)側に切り替え、その他の場合には処理対象画像デ
ータOR(2)〜OR(m)側に切り替える。また、制
御部66は、CPU42からのアドレス情報により、セ
レクタ59を切り替える。すなわち、光磁気ディスク装
置5の基準画像データOR(1)を取得した時にはセレ
クタ59を基準画像データ側に切り替え、その他の場合
には差分画像データ側に切り替える。
The control unit 66 switches the selector 51 in accordance with the information indicating the file name from the CPU 42. That is, the magnification parameter MG whose file name is the reference
In the case of the file indicating (1), the reference image data OR
Switch to the (1) side, otherwise switch to the processing target image data OR (2) to OR (m) side. Further, the control unit 66 switches the selector 59 according to the address information from the CPU 42. That is, when the reference image data OR (1) of the magneto-optical disk device 5 is acquired, the selector 59 is switched to the reference image data side, and in other cases, the selector 59 is switched to the difference image data side.

【0041】このようなハードウエア処理により圧縮・
伸長処理及び拡大・縮小処理を行うことにより、ソフト
ウェアによる場合に比べて処理を高速で行うことができ
る。なお、これらのハードウエアをデジタル信号プロセ
ッサ(DSP)により構成しても良い。 (b) 前記実施例では、圧縮・伸長法の一例としてハ
フマン符号や直交変換符号化法を例に説明したが、これ
らの圧縮・伸長方法は公知の方法であればどのようなも
のを用いてもよい。 (c) 前記実施例では、圧縮効率を高めるために基準
画像データを圧縮して保存しているが、圧縮せずに保存
してもよい。
The compression / compression by such hardware processing
By performing the decompression processing and the enlargement / reduction processing, the processing can be performed at a higher speed than in the case of using software. Note that these hardware may be configured by a digital signal processor (DSP). (B) In the above embodiment, the Huffman code or the orthogonal transform coding method has been described as an example of the compression / decompression method, but any of these known compression / decompression methods may be used. Is also good. (C) In the above embodiment, the reference image data is compressed and stored in order to increase the compression efficiency, but may be stored without compression.

【0042】[0042]

【発明の効果】本発明の画像圧縮装置では、共通の画像
源から得られた変倍処理データと基準処理対象画像デー
タとの差分を取り、差分画像データを圧縮しているの
で、画質を維持しつつ圧縮効率を高くできる。このため
処理対象画像データをそのまま圧縮した場合よりさらに
効率良く圧縮することが可能になり、たとえばそれを保
存する場合には、容量が小さくなり、それを転送する場
合には転送時間が短くなる。
According to the image compression apparatus of the present invention, the difference between the scaling processing data obtained from a common image source and the reference processing target image data is obtained and the difference image data is compressed, so that the image quality is maintained. While increasing the compression efficiency. For this reason, it is possible to compress the image data to be processed more efficiently than when the image data is compressed as it is. For example, when storing the image data, the capacity is reduced, and when transferring it, the transfer time is shortened.

【0043】また、本発明の画像伸長装置では、加算に
より実際に走査により得られた画像データを伸長してい
るので、画質を劣化させることなく高効率に圧縮された
画像データを復元することができる。
Further, in the image decompression apparatus of the present invention, since the image data actually obtained by scanning is decompressed by the addition, it is possible to decompress the image data which has been efficiently compressed without deteriorating the image quality. it can.

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

【図1】本発明の原理を示すブロック図。FIG. 1 is a block diagram showing the principle of the present invention.

【図2】本発明の一実施例による画像圧縮・伸長装置を
搭載したカラースキャナの外観を示す斜視図。
FIG. 2 is a perspective view showing the appearance of a color scanner equipped with an image compression / decompression device according to one embodiment of the present invention.

【図3】画像入力部の主要部の構成を示す一部切欠き斜
視概略図。
FIG. 3 is a partially cutaway perspective schematic view showing a configuration of a main part of an image input unit.

【図4】カラースキャナの制御系の構成を示すブロック
図。
FIG. 4 is a block diagram showing a configuration of a control system of the color scanner.

【図5】ハードディスクドライブ及び光磁気ディスク装
置のデータ格納内容を示す図。
FIG. 5 is a view showing data storage contents of a hard disk drive and a magneto-optical disk device.

【図6】フレキシブルディスクの格納内容を示す図。FIG. 6 is a diagram showing stored contents of a flexible disk.

【図7】スキャナプログラムの制御フローチャート。FIG. 7 is a control flowchart of a scanner program.

【図8】スキャナプログラムの制御フローチャート。FIG. 8 is a control flowchart of a scanner program.

【図9】スキャナプログラムの制御フローチャート。FIG. 9 is a control flowchart of a scanner program.

【図10】スキャナプログラムの制御フローチャート。FIG. 10 is a control flowchart of a scanner program.

【図11】別の実施例におけるカラースキャナの制御系
の構成を示すブロック図。
FIG. 11 is a block diagram illustrating a configuration of a control system of a color scanner according to another embodiment.

【図12】別の実施例の圧縮・伸長処理部の制御ブロッ
ク図。
FIG. 12 is a control block diagram of a compression / decompression processing unit according to another embodiment.

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

1 画像入力部 2 画像処理部 3 画像記録部 4 操作部 8 マイクロコンピュータ 9 コンピュータ本体 42 CPU 100 圧縮・伸長処理部 DESCRIPTION OF SYMBOLS 1 Image input part 2 Image processing part 3 Image recording part 4 Operation part 8 Microcomputer 9 Computer main body 42 CPU 100 Compression / expansion processing part

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】画像源から得られた処理対象画像データを
圧縮して出力するための画像圧縮装置であって、 前記画像源に対し第1倍率で基準画像データを得る基準
画像データ獲得手段と、 前記画像源に対し第2倍率で前記処理対象画像データを
得る処理対象画像データ獲得手段と、 前記第1倍率が前記第2倍率に一致するように前記基準
画像データを変倍処理して変倍処理データを得る変倍処
理データ獲得手段と、 前記処理対象画像データと前記変倍処理データとの差分
を取り、差分画像データを得るデータ差分手段と、 前記差分画像データを圧縮して圧縮画像データを得る圧
縮手段と、 前記基準画像データと前記圧縮画像データとを出力する
データ出力手段と、 を備えた画像圧縮装置。
1. An image compression apparatus for compressing and outputting image data to be processed obtained from an image source, comprising: a reference image data acquisition unit for obtaining reference image data at a first magnification for the image source; A processing target image data obtaining means for obtaining the processing target image data at a second magnification with respect to the image source; and performing scaling processing on the reference image data so that the first magnification matches the second magnification. Scaling processing data acquisition means for obtaining double processing data; data difference means for obtaining difference between the processing target image data and the scaling processing data to obtain difference image data; and compressing the difference image data to obtain a compressed image. An image compression apparatus comprising: compression means for obtaining data; and data output means for outputting the reference image data and the compressed image data.
【請求項2】画像源に対し第1倍率で得られた基準画像
データと、第2倍率で得られた処理対象画像データと前
記基準画像データを前記第2倍率に一致するように変倍
処理して得られた変倍処理データとの差分である差分画
像データを圧縮処理して得られた圧縮画像データとに基
づいて処理対象画像データを得るための画像伸長装置で
あって、 前記圧縮画像データを伸長して前記差分画像データを得
る伸長手段と、 前記第1倍率が前記第2倍率に一致するように前記基準
画像データを変倍処理して前記変倍処理データを得る変
倍処理データ獲得手段と、 前記差分画像データと前記変倍処理データとを加算して
前記処理対象画像データを得るデータ加算手段と、 を備えた画像伸長装置。
2. A scaling process for a reference image data obtained at a first magnification with respect to an image source, processing target image data obtained at a second magnification, and the reference image data so as to match the second magnification. An image decompression device for obtaining processing target image data based on compressed image data obtained by compressing differential image data that is a difference from scaling processing data obtained by performing Decompression means for decompressing data to obtain the differential image data; and scaling processing data for obtaining the scaling processing data by scaling the reference image data so that the first magnification matches the second magnification. An image decompression device comprising: an acquisition unit; and a data addition unit that adds the difference image data and the scaling processing data to obtain the processing target image data.
JP11621692A 1992-05-08 1992-05-08 Image compression device and image decompression device Expired - Fee Related JP2711045B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11621692A JP2711045B2 (en) 1992-05-08 1992-05-08 Image compression device and image decompression device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11621692A JP2711045B2 (en) 1992-05-08 1992-05-08 Image compression device and image decompression device

Publications (2)

Publication Number Publication Date
JPH05316367A JPH05316367A (en) 1993-11-26
JP2711045B2 true JP2711045B2 (en) 1998-02-10

Family

ID=14681711

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11621692A Expired - Fee Related JP2711045B2 (en) 1992-05-08 1992-05-08 Image compression device and image decompression device

Country Status (1)

Country Link
JP (1) JP2711045B2 (en)

Also Published As

Publication number Publication date
JPH05316367A (en) 1993-11-26

Similar Documents

Publication Publication Date Title
US4124871A (en) Image data resolution change apparatus and process utilizing boundary compression coding of objects
US4942479A (en) Image information processing apparatus
EP0572228A2 (en) Data processing method and apparatus thereof
JP3030967B2 (en) Image processing device
JPH05266095A (en) Image retrieving device
US7542611B2 (en) Image processing apparatus and method for converting first code data sets into second code data for JPEG 2000 and motion JPEG 2000
JPH11275391A (en) Digital image pickup device for selecting distortion correction
JPH11250238A (en) Digital image pickup device for operating distortion correction by block unit
JP2711045B2 (en) Image compression device and image decompression device
EP0756245B1 (en) Apparatus and method for extracting a portion of an image
JP2711044B2 (en) Image compression device and image decompression device
US20040095605A1 (en) Image forming apparatus and image forming method
JPH05316365A (en) Picture compressor and picture expander
JP2776737B2 (en) Image processing device
JPH0514704A (en) Method and device for picture processing
JPH0793348A (en) Image information processor
JP3898876B2 (en) Digital copying machine
JPH0795391A (en) Picture element density converter
JPH0214667A (en) Information storage device and information retrieval device
JPH07226848A (en) Picture signal encoding device
JPH0535841A (en) Image storing device
JPH10150574A (en) Image forming device
JPH0793247A (en) Information processor
JPS63272168A (en) Image input device
JPH01233962A (en) Method and device for converting picture element density

Legal Events

Date Code Title Description
R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees