JPH01126778A - Picture information processor - Google Patents

Picture information processor

Info

Publication number
JPH01126778A
JPH01126778A JP62284261A JP28426187A JPH01126778A JP H01126778 A JPH01126778 A JP H01126778A JP 62284261 A JP62284261 A JP 62284261A JP 28426187 A JP28426187 A JP 28426187A JP H01126778 A JPH01126778 A JP H01126778A
Authority
JP
Japan
Prior art keywords
data
image
image data
multivalued
binarized
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
JP62284261A
Other languages
Japanese (ja)
Inventor
Hideshi Osawa
大沢 秀史
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.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP62284261A priority Critical patent/JPH01126778A/en
Publication of JPH01126778A publication Critical patent/JPH01126778A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)
  • Editing Of Facsimile Originals (AREA)

Abstract

PURPOSE:To prevent a picture quality from deteriorating by re-quantizing binarized data, in which a picture concentration is held, to multi-value picture data, and adding a picture editing processing such as a variable power processing to them. CONSTITUTION:A binarizing means 14 forms a binarized data so that the concentration may be preserved from the multi-value picture data. A storing means 15 stores the output of the binarizing means 14. Re-quantizing means 18 forms the multi-value picture data so that the concentration may be reproduced from the binarized data of the above-mentioned storing means 15. Further, variable power means 19 and 20 carry out the enlarging or reducing processing of the picture for the multi-value picture data which are then outputs of the above- mentioned re-quantizing means 18. Switching means 13 and 16 switch the input to the binarizing means 14 to multi-value picture data 100 from the outside or an output 104 from the said variable power means 19 and 20 according to the presence and absence of a variable power requirement.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は画像情報処理装置に関し、特に多値画像データ
の濃度を保存しつつ2値化した画像データの画質を損な
わずにアフィン変換処理等を行える画像情報処理装置に
関する。
[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to an image information processing device, and in particular, to an image information processing device that performs affine transformation processing, etc., without impairing the image quality of binarized image data while preserving the density of multivalued image data. The present invention relates to an image information processing device that can perform the following operations.

[従来の技術] この種の装置ではCCD等の画像センサにより原稿画像
等を読み取り、これを例えば8ビツトA/D変換器によ
り256階調の多値画像データに変換し、更にデイザ変
換等の2値化回路により画像濃度を保存しつつドツトO
N10 F F信号の2値化画像データに変換し、画像
メモリに記憶している。またプリンタ出力するときは画
像メモリから2値化画像データを読み出し、そのドツト
ON10 F F信号のドツト密度により濃淡画像を再
生している。この場合に、しばしば画像を拡大し又は縮
小等して再生する要求がある。しかし、従来は、画像メ
モリから読み出した2値化データのビットを間引いて画
像縮小を行い、または同一ビットを2度読みして画像拡
大を行っていた。
[Prior Art] This type of device reads a document image etc. using an image sensor such as a CCD, converts it into multivalued image data with 256 gradations using an 8-bit A/D converter, and further performs processes such as dither conversion. Dot O while preserving image density using binarization circuit
The N10FF signal is converted into binary image data and stored in the image memory. When outputting to a printer, binary image data is read out from the image memory, and a grayscale image is reproduced based on the dot density of the dot ON10FF signal. In this case, there is often a need to enlarge or reduce the image and reproduce it. However, conventionally, the image has been reduced by thinning out the bits of the binarized data read from the image memory, or the image has been enlarged by reading the same bit twice.

このため画像縮小時には濃度を間引くことにより実質階
調数が減少して画像濃度が粗くなり、疑似輪郭も発生し
た。また画像拡大時にはドツトが大きくなり画像の粗さ
が目立つ等の画質劣化を起す欠点があった。ホストコン
ピュータより予め変倍処理した多値画像データを再送さ
せる方法もあるが、ホストコンピュータに負担を強いる
のは妥当でない。
For this reason, when reducing the image, by thinning out the density, the actual number of gradations is reduced, the image density becomes coarse, and false contours also occur. Furthermore, when enlarging an image, the dots become large and the image quality deteriorates, such as the roughness of the image becomes noticeable. Although there is a method in which the host computer retransmits multivalued image data that has been subjected to scaling processing in advance, it is not appropriate to impose a burden on the host computer.

[発明が解決しようとする問題点] 本発明は上述した従来技術の欠点を除去するものであり
、その目的とする所は、少ないメモリで、多値画像デー
タの濃度を保存しつつ2値化した画像データの画質を損
なわずにアフィン変換処理等を行える画像情報処理装置
を提供することにある。
[Problems to be Solved by the Invention] The present invention eliminates the above-mentioned drawbacks of the prior art, and its purpose is to perform binarization while preserving the density of multivalued image data with a small amount of memory. An object of the present invention is to provide an image information processing device that can perform affine transformation processing and the like without impairing the image quality of image data.

[問題点を解決するための手段] 本発明の画像情報処理装置は上記の目的を達成するため
に、多値画像データからその濃度を保存するようにして
2値化データを形成する2値化手段と、前記2値化手段
出力の2値化データを記憶する記憶手段と、前記記憶手
段の2値化データからその濃度を再生するようにして多
値画像データを形成する量子化手段と、前記量子化手段
出力の多値画像データに対して画像の拡大又は縮小の処
理を行う変倍手段と、前記2値化手段への人力を外部か
らの多値画像データ又は前記変倍手段出力の多値画像デ
ータに切り換える切換手段を備えることをその概昇とす
る。
[Means for Solving the Problems] In order to achieve the above object, the image information processing device of the present invention performs binarization to form binarized data from multivalued image data by preserving its density. storage means for storing the binarized data output from the binarization means; and quantization means for reproducing the density from the binarized data in the storage means to form multivalued image data; A scaling means for enlarging or reducing the image on the multivalued image data output from the quantization means; The general idea is to provide a switching means for switching to multivalued image data.

また好ましくは、2値化手段は多値画像データから誤差
拡散法によりその濃度を保存するようにして2値化デー
タを形成することをその一態様とする。
Preferably, one aspect of the binarization means is to form binarized data from the multivalued image data by an error diffusion method so as to preserve the density thereof.

[作用] かかる構成において、2値化手段は多値画像データから
その濃度を保存するようにして2値化データを形成する
。好ましくは、2値化手段は多値画像データから誤差拡
散法によりその濃度を保存するようにして2値化データ
を形成する。
[Operation] In this configuration, the binarization means forms binarized data from the multivalued image data in a manner that preserves its density. Preferably, the binarization means forms binarized data from the multivalued image data by an error diffusion method so as to preserve the density thereof.

記憶手段は前記2値化手段出力の2値化データを記憶す
る。量子化手段は前記記憶手段の2値化データからその
濃度を再生するようにして多値画像データを形成する。
The storage means stores the binarized data output from the binarization means. The quantization means reproduces the density from the binarized data in the storage means to form multivalued image data.

変倍手段は前記量子化手段出力の多値画像データに対し
て画像の拡大又は縮小の処理を行う。切換手段は変倍要
求の有無に応じて前記2値化手段への人力を外部からの
多値画像データ又は前記変倍手段出力の多値画像データ
に切り換える。
The scaling means performs image enlargement or reduction processing on the multivalued image data output from the quantization means. The switching means switches the manual input to the binarizing means to the multivalued image data from the outside or the multivalued image data output from the scaling means, depending on the presence or absence of a scaling request.

[実施例の説明コ 以下、添付図面に従って本発明による実施例を詳細に説
明する。
[Description of Embodiments] Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings.

第1図は実施例の画像情報処理装置のブロック構成図で
ある。図において、10はCCD等の光電変換素子を備
える入力センサであり原稿画像を走査して読み取る。1
1はA/D変換器であり、CCDで読み取ったアナログ
画像信号を例えば8ビツト(256階調)のデジタル画
像データに変換する。12は補正回路でありCCDセン
サの感度ムラ、照明光源の照度ムラ等のシェーディング
補正等を行う。13及び16は画像データの流れを切り
替えるスイッチである。14は2値化回路であり多値画
像データを誤差拡散法により2値化する。15は画像メ
モリであり原稿1頁分の2値化データを記憶できる。尚
、画像メモリ15は実際は原稿2頁分のメモリ容量を持
ち、2値化データの読み出しと再書き込みが同時に行な
える。
FIG. 1 is a block diagram of an image information processing apparatus according to an embodiment. In the figure, 10 is an input sensor including a photoelectric conversion element such as a CCD, which scans and reads an original image. 1
Reference numeral 1 denotes an A/D converter, which converts an analog image signal read by a CCD into digital image data of, for example, 8 bits (256 gradations). Reference numeral 12 denotes a correction circuit that performs shading correction for unevenness in sensitivity of the CCD sensor, unevenness in illuminance of the illumination light source, etc. 13 and 16 are switches for switching the flow of image data. Reference numeral 14 denotes a binarization circuit which binarizes the multivalued image data using an error diffusion method. Reference numeral 15 denotes an image memory capable of storing binarized data for one page of the original. Incidentally, the image memory 15 actually has a memory capacity for two pages of the original, and can read and rewrite the binarized data at the same time.

17は2値プリンタであり印字ドツトの0N10FFに
より濃淡画像を形成する。21はコントローラであり外
部からの画像の変倍処理を行うか否かの指令によりスイ
ッチ13.16の切換制御を行う。即ち、通常のプリン
トであって変倍処理を行わない場合はスイッチ13は端
子sl側に、スイッチ16は端子83側に接続している
。また変倍処理を行う場合はスイッチ13は端子s2側
に、スイッチ16は端子S4側に接続する。18は再量
子化器であり2値化データを多値画像データに再量子化
する。19は変倍回路であり、再量子化器18出力の多
値画像データに対して画像の拡大又は縮小処理を行う。
Reference numeral 17 is a binary printer which forms a grayscale image using 0N10FF of printing dots. Reference numeral 21 denotes a controller which controls switching of switches 13 and 16 in response to an external command as to whether or not to perform image scaling processing. That is, when normal printing is performed and no scaling processing is performed, the switch 13 is connected to the terminal sl side, and the switch 16 is connected to the terminal 83 side. Further, when performing magnification processing, the switch 13 is connected to the terminal s2 side, and the switch 16 is connected to the terminal S4 side. A requantizer 18 requantizes the binary data into multivalued image data. Reference numeral 19 denotes a scaling circuit, which performs image enlargement or reduction processing on the multivalued image data output from the requantizer 18.

2oは倍率設定器であり、変倍回路19に対する変倍率
(2倍、1/2倍等)を設定する。
Reference numeral 2o denotes a magnification setting device, which sets a magnification ratio (2x, 1/2, etc.) for the magnification changing circuit 19.

かかる構成により、実施例の変倍処理は、画像メモリー
5から2値化データを読み出し、2値化データをスイッ
チ16の端子S4を介して再量子化器18に入力し、多
値画像データを復元する。
With this configuration, the scaling process of the embodiment reads the binarized data from the image memory 5, inputs the binarized data to the requantizer 18 via the terminal S4 of the switch 16, and converts the multivalued image data. Restore.

変倍回路19は倍率設定器2oの設定値に応じて多値画
像データを変倍処理する。変倍処理した多値画像データ
はスイッチ13の端子s2を介して2値化回路14で2
値化処理され、画像メモリ15に記憶される。従って外
部のホストコンピュータ等を煩わせずに変倍等の処理を
した画像を容易に形成できる。
The scaling circuit 19 performs scaling processing on the multivalued image data according to the setting value of the scaling factor setter 2o. The multivalued image data subjected to scaling processing is converted into two by the binarization circuit 14 via the terminal s2 of the switch 13.
The image is converted into a value and stored in the image memory 15. Therefore, an image that has been subjected to processing such as scaling can be easily formed without bothering an external host computer or the like.

第2図は実施例の再量子化器18の詳細を示すブロック
構成図である。図において、画像メモリ15から読み出
した2値化データは端子102を通してラインバッファ
20〜22にシフトインする。この2値化データは読み
取った多値画像データを後述する誤差拡散法(第7図)
により2値化して画像メモリ15に記憶しておいたもの
である。ラインバッファ20〜22は例えばFIFO(
First In First 0ut)タイプのデュ
アルポートSRAMで構成される。ラインバッファ20
〜22が画像3ライン分のビットデータを記憶した次の
1画素クロックのタイミングでは、ラインバッファ20
の出力はラッチ23aに入り、ラインバッファ21の出
力はラッチ23dに入り、ラインバッファ22の出力は
ラッチ23gに入る。
FIG. 2 is a block diagram showing details of the requantizer 18 of the embodiment. In the figure, binarized data read from the image memory 15 is shifted into line buffers 20 to 22 through a terminal 102. This binarized data is processed using the error diffusion method (Figure 7), which will be described later, using the read multivalued image data.
The image is binarized and stored in the image memory 15. The line buffers 20 to 22 are, for example, FIFO (
It consists of a dual-port SRAM of the First In First Out) type. line buffer 20
~22 stores the bit data for three lines of the image, and at the timing of the next one pixel clock, the line buffer 20
The output of line buffer 21 enters latch 23a, the output of line buffer 21 enters latch 23d, and the output of line buffer 22 enters latch 23g.

更に次の1画素クロックのタイミングではラッチ23a
、23d、23gの各出力は夫々ラッチ23b、23e
、23hにラッチされる。更に次の1画素クロックのタ
イミングではラッチ23b、23e、23hの各出力は
夫々ラッチ23c、23f、23iにラッチされる。こ
うして、あるタイミングにラッチ23a〜23iには3
X3画素マトリクスの2値化データが入り、加算器24
はマトリクス中の論理” t ”レベルのビットを加算
して総和を求める。これにより1ブロツクの濃度は10
レベル(0〜9)により代表されることになり、図示し
ないが、再量子化器18は例えば0〜9レベルに255
階調/9を乗じて、多値画像データを再量子化する。こ
うして、3×3ビット分の2値画像データから1画素分
の多値画像データが再生された。これは3×3ビツトエ
リアに保存された濃度の平均値のような意味を有してお
り、厳密にもとの多値画像データを再現したものではな
い。次の1画素クロックのタイミングではラッチ23a
〜23iの内容を右に1ビツトシフトして次の画素の多
値画像データを再量子化する。こうして2値化データの
濃度が保存されつつ多値画像データが形成されていく。
Furthermore, at the timing of the next one pixel clock, the latch 23a
, 23d, and 23g are connected to latches 23b and 23e, respectively.
, 23h. Furthermore, at the timing of the next one pixel clock, the outputs of latches 23b, 23e, and 23h are latched by latches 23c, 23f, and 23i, respectively. In this way, at a certain timing, the latches 23a to 23i have 3
The binarized data of the X3 pixel matrix is input to the adder 24.
calculates the sum by adding the logic "t" level bits in the matrix. As a result, the density of one block is 10
Although not shown, the re-quantizer 18 is, for example, 255 levels (0 to 9).
The multivalued image data is requantized by multiplying by gradation/9. In this way, multivalued image data for one pixel was reproduced from binary image data for 3×3 bits. This has a meaning similar to the average value of the density stored in the 3×3 bit area, and is not a strict reproduction of the original multivalued image data. At the timing of the next 1 pixel clock, the latch 23a
The contents of .about.23i are shifted to the right by 1 bit and the multivalued image data of the next pixel is requantized. In this way, multivalued image data is formed while the density of the binarized data is preserved.

第3図は実施例の変倍回路19のブロック構成図である
。図において、端子103からは再量子化した多値画像
データが入力する。ラインメモリは31aと31bの2
つ用意されており、一方が再量子化データを書き込んで
いる時に、もう一方からは既に書き込みを終了した再量
子化データが読み出される。例えばあるフェーズにおい
て端子103に人力した再量子化データはセレクタ30
を通りラインメモリ31aに書き込まれる。
FIG. 3 is a block diagram of the variable magnification circuit 19 according to the embodiment. In the figure, requantized multivalued image data is input from a terminal 103. The line memory is 2, 31a and 31b.
Two are prepared, and while one is writing requantized data, the requantized data that has already been written is read from the other. For example, in a certain phase, the requantized data input to the terminal 103 is transferred to the selector 30.
is written into the line memory 31a.

一方、ラインメモリ31bから読み出した再量子化デー
タはセレクタ32を通り2値化回路14に入力する。次
のフェーズではラインメモリ31aが読み出しであり、
ラインメモリ31bが書き込みになる。HSYNC侶号
は画像データ1ライン毎の同期信号であり、これを用い
てセレクタ30.32の選択を切り換えている。33は
クロックジェネレータであり、各種のタイミングクロッ
クを発生する。クロック信号φ。は基本画素クロック信
号であり、ラインメモリ31a、31bへのデータ書き
込み用クロック信号として用いる。クロック信号φ1は
ラインメモリ31a、31bのデータ読み出し用クロッ
ク信号である。クロック信号φ2は画像メモリ15への
データ書き込み用クロック信号である。またクロック信
号H1は画像メモリ15のラインアドバンス用クロック
信号であり、これら各種クロック信号の周波数を操作し
て画像の変倍処理を行っている。
On the other hand, the requantized data read from the line memory 31b passes through the selector 32 and is input to the binarization circuit 14. In the next phase, the line memory 31a is read,
The line memory 31b is written. HSYNC is a synchronization signal for each line of image data, and is used to switch the selection of selectors 30 and 32. A clock generator 33 generates various timing clocks. Clock signal φ. is a basic pixel clock signal, which is used as a clock signal for writing data to the line memories 31a and 31b. Clock signal φ1 is a clock signal for reading data from line memories 31a and 31b. The clock signal φ2 is a clock signal for writing data into the image memory 15. The clock signal H1 is a line advance clock signal for the image memory 15, and the frequencies of these various clock signals are manipulated to perform image scaling processing.

第4図(A)は実施例の変倍回路19による画像50%
縮小時のタイミングチャートである。
FIG. 4(A) shows a 50% image obtained by the variable magnification circuit 19 of the embodiment.
It is a timing chart at the time of reduction.

図において、周波数比にしてφ1=2φ。のクロック信
号φ1でラインメモリから再量子化画像データを読み出
し、φ2=φ。のクロック信号φ2で画像メモリ15に
書き込むことにより再量子化画像データが主走査方向に
間引かれ、画像縮小が行われる。またH 、 = 1/
2 Hsyncのクロック信号で画像メモリ15のライ
ンアドバンスを行うことにより、画像メモリ15の同一
ラインに重ねて再量子化画像データが書き込まれること
になり、前に書かれたデータが副走査方向に間引かれ、
画像縮小が行われる。
In the figure, the frequency ratio is φ1=2φ. The requantized image data is read out from the line memory using the clock signal φ1, and φ2=φ. By writing into the image memory 15 using the clock signal φ2, the requantized image data is thinned out in the main scanning direction, and image reduction is performed. Also, H, = 1/
2 By performing line advance in the image memory 15 using the Hsync clock signal, requantized image data is written in the same line in the image memory 15, and the previously written data is spaced in the sub-scanning direction. drawn,
Image reduction is performed.

第4図(B)は実施例の変倍回路19による画像200
%拡大時のタイミングチャートである。
FIG. 4(B) shows an image 200 produced by the variable magnification circuit 19 of the embodiment.
It is a timing chart at the time of % enlargement.

図において、φ1−φ。のクロック信号φ1で読み出さ
れた画像データは、φ2冨2φ。のクロック信号φ2で
画像メモリ15に書き込まれる。
In the figure, φ1-φ. The image data read out using the clock signal φ1 is φ2 to 2φ. The data is written into the image memory 15 using the clock signal φ2.

これにより同一データが2度書き込まれ、主走査方向の
拡大が行われる。またH 1= 2 Hsyncのクロ
ック信号H1で画像メモリ15のラインをアドバンスす
ることにより、副走査方向の拡大が行われる。これ以外
の倍率の拡大、縮小時にはバイナリレートマルチプライ
ヤやデジタル微分解析器(DDA)等を用いて、変倍率
に応じたクロック信号φ1.H1を与えることにより、
任意の変倍が可能である。
As a result, the same data is written twice and enlarged in the main scanning direction. Further, by advancing the line of the image memory 15 using the clock signal H1 of H1=2Hsync, expansion in the sub-scanning direction is performed. When enlarging or reducing other magnifications, a binary rate multiplier, digital differential analyzer (DDA), etc. is used to generate a clock signal φ1. By giving H1,
Any magnification is possible.

第5図(A)〜(C)は主走査方向変倍の態様を模式的
に表わす図である。第5図(A)は等倍時であり、再量
子化画像データはラインメモリ31a又は31b及び画
像メモリ15に同一レートで書き込まれる。第5図(B
)は50%縮小時であり、再量子化画像データはライン
メモリ31a又は31bから画像メモリ15に書き込む
際に間引かれている。第5図(C)は200%拡大時で
あり、再量子化画像データはラインメモリ31a又は3
1bから画像メモリ15に書き込む際に2度書きされて
いる。
FIGS. 5A to 5C are diagrams schematically showing modes of magnification change in the main scanning direction. FIG. 5A shows the image at the same magnification, and the requantized image data is written into the line memory 31a or 31b and the image memory 15 at the same rate. Figure 5 (B
) is the time of 50% reduction, and the requantized image data is thinned out when it is written into the image memory 15 from the line memory 31a or 31b. FIG. 5(C) shows the state at 200% enlargement, and the requantized image data is stored in the line memory 31a or 3.
When writing from 1b to the image memory 15, it is written twice.

第6図(A)〜(C)は副走査方向変倍の態様を模式的
に表わす図である。第6図(A)は等倍時であり1ライ
ンデータがそのまま画像メモリ15のラインデータとし
て書き込まれる。第6図(B)は50%縮小時であり1
ラインデータが間引かれて画像メモリ15に書き込まれ
ている。
FIGS. 6A to 6C are diagrams schematically showing modes of magnification change in the sub-scanning direction. FIG. 6(A) shows the image at the same magnification, and one line data is directly written as line data in the image memory 15. Figure 6 (B) shows 50% reduction and 1
The line data is thinned out and written to the image memory 15.

第6図(C)は200%拡大時であり1ラインデータが
重複して画像メモリ15に書き込まれている。
FIG. 6C shows 200% enlargement, and one line of data is written to the image memory 15 in duplicate.

第7図は実施例の誤差拡散法による2値化回路14のブ
ロック構成図である。端子100には補正回路12又は
変倍回路19からの多値画像データXIJが人力する。
FIG. 7 is a block diagram of the binarization circuit 14 using the error diffusion method according to the embodiment. Multivalued image data XIJ from the correction circuit 12 or the scaling circuit 19 is input to the terminal 100 .

60はエラーバッファメモリであり、ある時点までに拡
散された濃度誤差ε目を画素毎に記憶している。エラー
バッファメモリ60中の使用する誤差61Jのグループ
は人力の多値画像データX目が進むと共に対応するウィ
ンドウ60が8動するようにして多値画像データXIJ
に追従する。61は重みづけ係数回路であり、エラーバ
ッファメモリ60中の有効な誤差εIJに所定の重みづ
け係数αに1を掛けて、規格化した補正値を形成する。
Reference numeral 60 denotes an error buffer memory, which stores the density error εth diffused up to a certain point in time for each pixel. The group of errors 61J to be used in the error buffer memory 60 is manually generated as multi-value image data XIJ by moving the corresponding window 60 by 8 as the Xth number of multi-value image data advances.
follow. A weighting coefficient circuit 61 multiplies the effective error εIJ in the error buffer memory 60 by a predetermined weighting coefficient α by 1 to form a standardized correction value.

第8図は実施例の重みづけ係数αklの配列を示してお
り、今、多値画像データXIJのエラーバッファメモリ
60内における画素位置を66とすると、この位置は同
時に重みづけ係数αklの*印の位置に対応している。
FIG. 8 shows the arrangement of the weighting coefficients αkl of the embodiment. If the pixel position in the error buffer memory 60 of the multivalued image data XIJ is set to 66, this position is simultaneously corresponds to the position of

加算器62は人力の多値画像データXIJに前記規格化
した補正値を加算して補正データx’、、を形成する。
The adder 62 adds the standardized correction value to the manually generated multivalued image data XIJ to form correction data x'.

以上の処理は次式で表わされる。The above processing is expressed by the following equation.

Σαに18εInk J+1 X ’ 1j=X IJ+□ Σαkl 上式中、右辺第2項は規格化した補正値である。次に補
正データX′目は2値化回路63でしきい値T4  (
例えば128階調)と比較され、該2値化回路63はX
 ’ IJ≧T4なら出力データYIJとして論理” 
1 ”レベル(255階調に相当)を出力し、X ’ 
IJ≧T4でなければ出力データYIJとして論理°゛
0”レベル(0階調に相当)を出力する。こうして多値
の補正データX ’ 1jを2値化する。2値化データ
YIJは出力バッファ65でタイミング調整され、画像
メモリ15に書き込まれる。64は演算器であり、出力
データYIJ(0=0階調又は1=255階調に相当)
から補正データX ′IJを減算して、当該画素の印字
で新たに生じた濃度誤差6目をエラーバッファメモリ6
0の画素位置66に記録する。この操作を入力の多値画
像データXIJを1画素づつ進めて順次繰り返すことに
より、誤差拡散法の2値化処理が実行される。
Σα to 18εInk J+1 Next, the correction data
For example, 128 gradations), the binarization circuit 63
'If IJ≧T4, logic as output data YIJ'
1" level (equivalent to 255 gradations) and outputs X'
If IJ≧T4, a logical °゛0'' level (corresponding to 0 gradation) is output as output data YIJ. In this way, the multi-level correction data X' 1j is binarized. Binarized data YIJ is output to the output buffer. The timing is adjusted at 65 and written to the image memory 15. 64 is an arithmetic unit, and output data YIJ (corresponds to 0 = 0 gradation or 1 = 255 gradation)
By subtracting the correction data X'IJ from
Record at pixel position 66 of 0. By sequentially repeating this operation by advancing the input multivalued image data XIJ pixel by pixel, the binarization process using the error diffusion method is executed.

[他の実施例コ 第9図は他の実施例の画像情報処理装置のブロック構成
図である。この実施例は汎用プロセッサを使用すること
によっても第1図と同等の画像情報処理装置が構成でき
ることに関する。図において、入力センサ91で読み取
った多値画像データは、2値化回路14で2値化され、
データ人力インタフェース(I/F)92、内部バス9
9を介して画像メモリ93に書き込まれる。通常このよ
うな画像データの転送はダイレクトメモリアクセス(D
MA転送)機能を使用して行われる。CPU90は画像
メモリ93の2値化データに対する再量子化演算、再量
子化データに対する拡大又は縮小演算、拡大又は縮小し
た再量子化データに対する2値化演算等を行い、演算結
果の2値化データを画像メモリ94に書き込む。そして
画像メモリ94から読み出した2値化データはデータ出
力インタフェース96を通り、2値プリンタ95に出力
される。あるいはデータ人出力インタフェース97を介
して画像メモリ93又は94の2値化データを磁気ディ
スク98等の外部メモリとの間でやりとりできる。
[Other Embodiments FIG. 9 is a block diagram of an image information processing apparatus according to another embodiment. This embodiment relates to the fact that an image information processing apparatus equivalent to that shown in FIG. 1 can be constructed even by using a general-purpose processor. In the figure, multivalued image data read by an input sensor 91 is binarized by a binarization circuit 14,
Data human interface (I/F) 92, internal bus 9
9 to the image memory 93. Normally, this kind of image data transfer is done using direct memory access (D
This is done using the MA transfer) function. The CPU 90 performs requantization operations on the binarized data in the image memory 93, enlargement or reduction operations on the requantized data, binarization operations on the enlarged or reduced requantization data, etc., and converts the resulting binary data into is written into the image memory 94. Then, the binary data read from the image memory 94 passes through a data output interface 96 and is output to a binary printer 95. Alternatively, the binarized data in the image memory 93 or 94 can be exchanged with an external memory such as a magnetic disk 98 via the data output interface 97.

尚、上述実施例では画像の変倍処理について説明したが
これに限らない。更に移動、回転等を含むアフィン変換
処理についても可能であり、その他、例えば最初の2値
化データを多値画像データに再量子化した後、該多値画
像データに対して濃度変換処理を行っても良く、前記変
倍処理と同様に画質を保ったまま自由な編集処理を行え
る。
Incidentally, in the above-described embodiment, the image scaling process was described, but the present invention is not limited to this. It is also possible to perform affine transformation processing including movement, rotation, etc. In addition, for example, after requantizing the initial binary data into multivalued image data, density conversion processing is performed on the multivalued image data. Similarly to the scaling processing described above, editing processing can be performed freely while maintaining the image quality.

[発明の効果] 以上述べた如く本発明によれば、画像濃度を保存した2
値化データを多値画像データに再量子化してこれに変倍
処理等の画像編集処理を加えるので、画質劣化が少なく
、メモリも少なくて良い。
[Effects of the Invention] As described above, according to the present invention, two images that preserve image density can be obtained.
Since the quantized data is requantized into multi-valued image data and image editing processing such as scaling processing is added thereto, there is less deterioration in image quality and less memory is required.

また外部のホストコンピュータ等を煩わせることもない
Furthermore, it does not cause any trouble to external host computers or the like.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は実施例の画像情報処理装置のブロック構成図、 第2図は実施例の再量子化器18の詳細を示すブロック
構成図、 第3図は実施例の変倍回路19のブロック構成図、 第4図(A)、(B)は実施例の変倍回路19のによる
変倍処理のタイミングチャート、第5図(A)〜(C)
は主走査方向変倍の態様を模式的に表わす図、 第6図(A)〜(C)は副走査方向変倍の態様を模式的
に表わす図、 第7図は実施例の誤差拡散法による2値化回路14のブ
ロック構成図、 第8図は実施例の重みづけ係数αklの配列を示す図、 第9図は他の実施例の画像情報処理装置のプロツク構成
図である。 図中、10・・・人力センサ、11・・・A/D変換器
、12・・・補正回路、13及び16・・・スイッチ、
14・・・2値化回路、15・・・画像メモリ、17・
・・2値プリンタ、18・・・再量子化器、19・・・
変倍回路、20・・・倍率設定器、21・・・コントロ
ーラである。
FIG. 1 is a block configuration diagram of an image information processing device according to an embodiment, FIG. 2 is a block diagram showing details of a requantizer 18 according to an embodiment, and FIG. 3 is a block configuration diagram of a variable magnification circuit 19 according to an embodiment. Figures 4(A) and 4(B) are timing charts of scaling processing by the scaling circuit 19 of the embodiment, and FIGS. 5(A) to (C)
6(A) to (C) are diagrams schematically representing the mode of magnification change in the main scanning direction. FIG. 7 is a diagram schematically representing the mode of magnification variation in the sub-scanning direction. FIG. 8 is a block diagram of the binarization circuit 14 according to the present invention. FIG. 8 is a diagram showing the arrangement of weighting coefficients αkl of the embodiment. FIG. 9 is a block diagram of the image information processing apparatus of another embodiment. In the figure, 10...human power sensor, 11...A/D converter, 12...correction circuit, 13 and 16...switch,
14... Binarization circuit, 15... Image memory, 17.
...Binary printer, 18...Requantizer, 19...
A variable magnification circuit, 20...a magnification setting device, and 21...a controller.

Claims (2)

【特許請求の範囲】[Claims] (1)多値画像データからその濃度を保存するようにし
て2値化データを形成する2値化手段と、 前記2値化手段出力の2値化データを記憶する記憶手段
と、 前記記憶手段の2値化データからその濃度を再生するよ
うにして多値画像データを形成する量子化手段と、 前記量子化手段出力の多値画像データに対して画像の拡
大又は縮小の処理を行う変倍手段と、前記2値化手段へ
の入力を外部からの多値画像データ又は前記変倍手段出
力の多値画像データに切り換える切換手段を備えること
を特徴とする画像情報処理装置。
(1) Binarization means for forming binarized data from multivalued image data by preserving its density; storage means for storing the binarized data output from said binarization means; and said storage means. quantization means for forming multivalued image data by reproducing the density from the binary data of the quantization means; and a scaling device for performing image enlargement or reduction processing on the multivalued image data output from the quantization means. An image information processing apparatus characterized by comprising: means for converting an image into a binary image; and a switching means for switching input to the binarizing means to external multivalued image data or multivalued image data output from the scaling means.
(2)2値化手段は多値画像データから誤差拡散法によ
りその濃度を保存するようにして2値化データを形成す
ることを特徴とする特許請求の範囲第1項記載の画像情
報処理装置。
(2) The image information processing apparatus according to claim 1, wherein the binarization means forms binarized data from the multivalued image data by an error diffusion method so as to preserve the density thereof. .
JP62284261A 1987-11-12 1987-11-12 Picture information processor Pending JPH01126778A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62284261A JPH01126778A (en) 1987-11-12 1987-11-12 Picture information processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62284261A JPH01126778A (en) 1987-11-12 1987-11-12 Picture information processor

Publications (1)

Publication Number Publication Date
JPH01126778A true JPH01126778A (en) 1989-05-18

Family

ID=17676234

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62284261A Pending JPH01126778A (en) 1987-11-12 1987-11-12 Picture information processor

Country Status (1)

Country Link
JP (1) JPH01126778A (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62216476A (en) * 1986-03-17 1987-09-24 Toshiba Corp Picture processor

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62216476A (en) * 1986-03-17 1987-09-24 Toshiba Corp Picture processor

Similar Documents

Publication Publication Date Title
JP2562432B2 (en) Image processing device
JPS6295670A (en) Picture processor
JPH01126778A (en) Picture information processor
JP2548466B2 (en) Image processing device
JPH0823887B2 (en) Image processing device
JPS63102467A (en) Converting device for resolution of picture data
JP3143502B2 (en) Area discriminating apparatus and method
JP3320124B2 (en) Image reading device
JPH0792832B2 (en) Image processing device
JP2934971B2 (en) Image binarization processing device
JP2772652B2 (en) Image reduction processor
JP2641432B2 (en) Interface device
JPH0965125A (en) Picture data processor
JP3382411B2 (en) Image processing method and apparatus
JP3227236B2 (en) Image processing device
JPS6359674A (en) Interface device
JPH05108814A (en) Picture reader
JPH01143562A (en) Picture processing system
JPS6359673A (en) Interface device
JPS6367079A (en) Picture processor
JPS63132571A (en) Image read processor
JP2001016448A (en) Picture processor and picture processing method
JPH04160872A (en) Picture binarizing processing unit
JPS6359264A (en) Image input device
JPS61150467A (en) Picture processing system