JPH083844B2 - Image processing device - Google Patents

Image processing device

Info

Publication number
JPH083844B2
JPH083844B2 JP61032928A JP3292886A JPH083844B2 JP H083844 B2 JPH083844 B2 JP H083844B2 JP 61032928 A JP61032928 A JP 61032928A JP 3292886 A JP3292886 A JP 3292886A JP H083844 B2 JPH083844 B2 JP H083844B2
Authority
JP
Japan
Prior art keywords
image
scaling
input
data
unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP61032928A
Other languages
Japanese (ja)
Other versions
JPS62191970A (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.)
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 JP61032928A priority Critical patent/JPH083844B2/en
Publication of JPS62191970A publication Critical patent/JPS62191970A/en
Priority to US07/338,425 priority patent/US4878126A/en
Publication of JPH083844B2 publication Critical patent/JPH083844B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Editing Of Facsimile Originals (AREA)
  • Processing Or Creating Images (AREA)
  • Image Processing (AREA)

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は、画像処理装置、特に入力画像情報の濃淡を
検出して画像処理をする画像処理装置に関するものであ
る。
Description: TECHNICAL FIELD The present invention relates to an image processing apparatus, and more particularly to an image processing apparatus that detects the density of input image information to perform image processing.

[従来の技術] 従来のこの種の装置として、例えば複写機があり、原
稿画像をライン状のイメージスキヤナ(CCD)等の固体
撮像素子でデジタル的に読み取り、読み取つた画像を拡
大及び縮小などの変倍機能を有しているものがある。こ
れらの装置における一般的な変倍方法としては、副走査
方向(CCDを送る移動方向)の走査速度を変える事によ
り、送り方向の倍率を変える。また、主走査方向(送り
方向と直角方向)の画素の保管、間引き等により主走査
方向の倍率を変えている。
[Prior Art] As a conventional device of this type, there is, for example, a copying machine, in which an original image is digitally read by a solid-state image sensor such as a linear image scanner (CCD), and the read image is enlarged or reduced. Some have a scaling function. As a general variable magnification method in these devices, the magnification in the feeding direction is changed by changing the scanning speed in the sub-scanning direction (moving direction of sending CCD). Further, the magnification in the main scanning direction is changed by storing or thinning out pixels in the main scanning direction (direction orthogonal to the feeding direction).

例えば、3倍の拡大処理を行なう場合、等倍時の副走
査方向の移動速度をV1とすると、副走査方向の移動速度
をV1/3とし、また、主走査方向については、1画素の画
像データを3回繰返して出力することにより3倍の拡大
処理の出力画像を形成している。
For example, when performing three times the enlargement processing, the sub-scanning direction movement speed of the time constant times the V 1, a moving speed in the sub-scanning direction and V 1/3, also, the main scanning direction, 1 pixel The image data of 3 times enlargement processing is formed by repeatedly outputting the image data of 3 times.

[発明が解決しようとする問題点] しかし、この様な手法のみで変倍処理を行なうと、第
6図に示す様に、拡大された出力画像は3画素単位で同
一データであるため、単一濃度からなる文字或は記号等
に関しては好ましいが、例えば写真等の濃度変化のなめ
らかな中間調画像に対しての変倍処理に関しては画像の
なめらかさという点で好ましくない。
[Problems to be Solved by the Invention] However, when the scaling processing is performed only by such a method, as shown in FIG. 6, since the enlarged output image has the same data in units of 3 pixels, It is preferable for a character or symbol having a single density, but it is not preferable for a variable-magnification process for a smooth halftone image such as a photograph in terms of image smoothness.

このため、変倍処理を終えた画像データに対して濃度
変化の一次微分をとり濃度差の平滑化処理を有するかを
判断することが考えられる。しかし、変倍処理後の画像
データに一次微分をとつて読取画像の濃度差を検出する
場合では、縮小処理の間引き、或いは拡大処理の補間に
より変倍処理を施すため、変倍処理後の一時微分の微分
領域を変倍率に対応してそれぞれ設けて、それぞれに対
して一次微分を算出しなければならないという煩わしさ
がでてくる。
Therefore, it is possible to determine whether the image data that has undergone the scaling process is subjected to the first derivative of the density change to perform the density difference smoothing process. However, when the density difference of the read image is detected by taking the first derivative of the image data after the scaling process, the scaling process is performed by thinning out the reduction process or interpolating the enlargement process. It is troublesome that the differential regions of the differential are provided corresponding to the scaling factors and the primary differential is calculated for each of them.

本発明は上記従来技術に鑑みなされたものであり、変
倍前の画像に基づいて入力画像の画調を判断すること
で、その判断を効率良く且つ精度良く行い、そして、変
倍率で変倍した画像を、判断結果に応じた空間周波数フ
ィルタに基づいて補正することで、その補正をフィルタ
に基づく処理のみでよくして原画像に忠実に、しかも、
良好な変倍画像を生成できる画像処理装置を提供しよう
とするものである。
The present invention has been made in view of the above-mentioned prior art, in which the image tone of an input image is determined based on an image before scaling, and the determination is efficiently and accurately performed. By correcting the image based on the spatial frequency filter according to the determination result, the correction can be performed only by the processing based on the filter and faithfully to the original image, and
It is an object of the present invention to provide an image processing device that can generate a favorable scaled image.

[問題点を解決するための手段] 上記目的を達成するため、本発明の画像処理装置は以
下の構成を備える。すなわち、 入力画像情報に対して変倍処理を行い、変倍処理され
た画像情報に対して所定の特性の空間周波数フィルタに
よる演算を行い、出力画像を形成する画像処理装置にお
いて、 画像情報を入力する入力手段と、 前記入力手段で入力された画像情報に基づいて該画像
情報によって表わされる画像の画調を判断する判断手段
と、 前記入力画像に対して行う変倍処理の変倍率を多段階
に設定する設定手段と、 前記入力手段により入力された画像情報に対して、前
記設定手段で設定された変倍率に応じた変倍処理を行う
変倍手段と、 前記判断手段による判断結果に基づいて空間周波数フ
ィルタの特性を設定するフィルタ設定手段と、 設定された特性の空間周波数フィルタに従って、前記
変倍手段による変倍後の画像情報の画素値の補正演算を
行う補正手段とを備える。
[Means for Solving Problems] In order to achieve the above object, the image processing apparatus of the present invention has the following configuration. That is, the input image information is scaled, the scaled image information is calculated by a spatial frequency filter having a predetermined characteristic, and an image processing apparatus that forms an output image inputs the image information. Inputting means, a judging means for judging the image tone of the image represented by the image information based on the image information input by the inputting means, and a multi-step scaling factor for the scaling process performed on the input image. Setting means for setting the image information input by the input means, a scaling means for performing a scaling process according to the scaling ratio set by the setting means, and based on the determination result by the determination means. Filter setting means for setting the characteristics of the spatial frequency filter, and correction calculation of the pixel value of the image information after the scaling by the scaling means according to the spatial frequency filter having the set characteristics. And a correction means for performing.

[作用] かかる本発明の構成において、入力画像は設定された
変倍率に従って変倍される。また、一方で、判断手段に
よって判断された入力画像の画調に基づいて、空間周波
数フィルタの特性を設定する。そして、設定された特性
の空間周波数フィルタに従って、変倍後の画像情報の画
素値の補正演算を行う。
[Operation] In the configuration of the present invention, the input image is scaled according to the set scaling ratio. On the other hand, the characteristic of the spatial frequency filter is set based on the image tone of the input image judged by the judging means. Then, the pixel value of the image information after scaling is corrected according to the set spatial frequency filter.

[実施例] 以下、添付図面に従つて本発明に係る実施例を詳細に
説明する。
Embodiments Embodiments according to the present invention will be described in detail below with reference to the accompanying drawings.

また、本実施例では入力画像の濃度変化である一次微
分を検出することにより入力画像の変倍処理に応用した
場合に説明する。
Further, in the present embodiment, a case will be described in which it is applied to the scaling processing of the input image by detecting the first-order differential which is the density change of the input image.

画像の読み取り手法としては、例えばライン状のイメ
ージスキヤナ(CCD)等の固体撮像素子内の多数(例え
ば128個)の絵素を副走査方向に配列し、撮像素子の中
の画像データを副走査方向へ送る事によりデジタル的に
読み取る場合が考えられる。CCDの巾が、例えば8mmであ
る場合には、各走査毎8mm巾で画像を読み取ることにな
る。つまり第7図において、(a)から(b)まで8mm
巾で画像を読み取り、次に(b)から(c)にもどった
後、(c)から(d)以下同様に画像データを読み取
る。
As an image reading method, for example, a large number (for example, 128) of picture elements in a solid-state image sensor such as a linear image scanner (CCD) are arranged in the sub-scanning direction, and image data in the image sensor is sub-scanned. It may be possible to read digitally by sending in the scanning direction. When the CCD width is 8 mm, for example, an image is read with a width of 8 mm for each scan. That is, in Fig. 7, 8 mm from (a) to (b)
After reading the image with the width and then returning from (b) to (c), the image data is read in the same manner from (c) to (d).

また、画像形成機構としては、例えば8mm巾に128個ノ
ズルを有するマルチバブルジエツトヘツド(ヘツド部)
が第8図に示す様に(e)から(f)まで8mm巾で走査
しながら画像を形成していく。次に(f)から(g)ま
でもどる。以降同様に8mmずつ画像を形成していくこと
ことになる。
Further, as an image forming mechanism, for example, a multi-bubble jet head (head portion) having 128 nozzles in a width of 8 mm
As shown in FIG. 8, images are formed while scanning with a width of 8 mm from (e) to (f). Then, return from (f) to (g). After that, similarly, an image will be formed by 8 mm.

以上の様な画像の入力と出力の機構を踏まえて本実施
例の画像処理装置を第4図に従つて説明する。
The image processing apparatus according to the present embodiment will be described with reference to FIG. 4 based on the above-described image input and output mechanism.

図中、31は原稿を読み取り、画像情報の濃度レベルを
デジタル化して出力する画像読み取り部であり、32は画
像読み寄り部31から出力された画素データを随時読み出
して注目画素での濃度の変化を算出する一次微分部であ
る。また33は制御部34からの変倍指示により入力された
画像情報に変倍処理をする変倍部であり、35はこの変倍
部33で変倍処理された画像データの平滑化を施す平滑部
である。また36は平滑部35と変倍部33から出力される画
像データを切換えて画像処理部37に出力するセレクタで
ある。38は画像処理部で処理された画像データを可視化
して記録するプリンター部である。
In the figure, 31 is an image reading unit that reads a document and digitizes and outputs the density level of image information. 32 is a pixel data output from the image reading unit 31 and reads the pixel data at any time to change the density of the pixel of interest. It is a first-order differentiator that calculates Reference numeral 33 is a scaling unit that performs scaling processing on the image information input by the scaling instruction from the control unit 34, and 35 is a smoothing unit that smoothes the image data that has been scaled by the scaling unit 33. It is a department. A selector 36 switches the image data output from the smoothing unit 35 and the scaling unit 33 and outputs the image data to the image processing unit 37. A printer unit 38 visualizes and records the image data processed by the image processing unit.

さて、画像読み取り部31で読み取られデジタル濃度デ
ータに変換された画像信号は、一次微分部32を通り、注
目画素データの前後の画素データから注目画素付近の濃
度の変化率(一次微分値D)を次式より算出する。
The image signal read by the image reading unit 31 and converted into digital density data passes through the primary differentiating unit 32, and from the pixel data before and after the pixel data of interest, the rate of change in density near the pixel of interest (first differential value D). Is calculated from the following formula.

D={|(a+b)−(d+e)|)}/2 …1式 ただし、D:注目画素の一次微分値、a:注目画素の2画
素後の画素データ、b:注目画素の1画素後の画素デー
タ、d:注目画素の1画素前の画素データ、e:注目画素の
2画素前の画素データである。
D = {| (a + b)-(d + e) |)} / 2 Equation 1 where D: primary differential value of the target pixel, a: pixel data two pixels after the target pixel, b: one pixel after the target pixel Pixel data, d: pixel data one pixel before the target pixel, and e: pixel data two pixels before the target pixel.

また、この一次微分値Dが所定の値以上の時には
“1"、それ以下のときには“0"として、この“0"か“1"
の信号(以下、この信号を濃度変化信号と称する。)を
後述する変換部33に出力する。
Further, when the first-order differential value D is a predetermined value or more, it is "1", and when it is less than that value, it is "0".
(Hereinafter, this signal is referred to as a density change signal) is output to the conversion unit 33 described later.

1式では注目画素を含む両側の画素の濃度変化を算出
しており、その変化が激しいほどDは大きくなる。従つ
て、この一次微分値Dが所定値以上のときには入力画像
は単一濃度情報である文字または記号があると判断し、
所定値以下である場合には写真等の中間調画像情報であ
ると判断することになるわけである。
Equation 1 calculates the density change of the pixels on both sides including the pixel of interest, and the greater the change, the larger D becomes. Therefore, when the primary differential value D is equal to or larger than the predetermined value, it is determined that the input image has a character or a symbol that is single density information,
If it is less than the predetermined value, it is determined that the information is halftone image information such as a photograph.

さて、画像読み取り部31より読み取られた画素データ
と、一次微分部32からの濃度変化信号は共に変倍部33に
入力される。
The pixel data read by the image reading unit 31 and the density change signal from the primary differentiating unit 32 are both input to the scaling unit 33.

更に、変倍部33に入力された画素データは不図示の操
作スイツチ等により、指定された倍率に応じ、制御部34
からの指示により変倍され、変倍部33内の変倍RAM33aに
一旦格納される。
Further, the pixel data input to the scaling unit 33 is controlled by the control unit 34 according to the designated magnification by an operation switch (not shown) or the like.
The magnification is changed in accordance with the instruction from, and is temporarily stored in the magnification RAM 33a in the magnification unit 33.

次に変倍RAM33aより読み取られた画像データは、平滑
部35に入力され、濃度変化信号は制御部34に入力され
る。制御部34においては、表1に示す様な条件により制
御部34は、セレクタ35、及びセレクタ36にセレクタ信号
を出力する。
Next, the image data read from the scaling RAM 33a is input to the smoothing unit 35, and the density change signal is input to the control unit 34. In the control unit 34, the control unit 34 outputs a selector signal to the selectors 35 and 36 under the conditions shown in Table 1.

このセレクタ36には、平滑化部35で変倍率に応じ、平
滑化処理された画像データと変倍部33からの画像データ
とをセレクタ36に入力され、制御部34はこのうち一方を
選択することになる。
Image data smoothed by the smoothing unit 35 and image data from the scaling unit 33 are input to the selector 36, and the control unit 34 selects one of them. It will be.

この様にセレクト信号により変倍部33から或は平滑部
35から出力画像かを選択し、セレクタ36からは、選択さ
れた画像データが出力されることになる。
In this way, depending on the select signal, the scaling unit 33 or the smoothing unit
The output image is selected from 35, and the selected image data is output from the selector 36.

また、セレクタ36で選択された画像データは、画像処
理部37で処理され、ドツトデータに変換された後、プリ
ンタ部38に出力されて、プリンタ部において出力画像を
形成することになる。
The image data selected by the selector 36 is processed by the image processing unit 37, converted into dot data, and then output to the printer unit 38 to form an output image in the printer unit.

次に第1図に従つて、一時微分部32の動作を説明す
る。この一次微分部32内では先に延た1式を求めること
になる。
Next, the operation of the temporary differentiator 32 will be described with reference to FIG. In this primary differentiator 32, the previously extended formula 1 is obtained.

さて、画像読み取り部31から出力される濃度データに
変換された画素データは、ラツチ部41でビデオロツクφ
により1画素分遅延された後加算器42に入力される。加
算器42では、画素データと1画素遅延された画素データ
が入力され加算される。加算器42からの出力は、ラツチ
部43、及びインバータ45に入力される。ラツチ部43、及
びラツチ部44はビデオクロツクφにより1画素分ずつ遅
延され、後に加算器46に入力される。また、インバータ
45に入力されたデータは反転され、1の補数となり加算
器46に出力される。加算器46ではインバータ45からの入
力データに“1"を加算し、1の補数を2の補数とし、ラ
ツチ44の出力と加算する事により、加算器42の出力画像
データとラツチ44の出力データとの減算を行なつてい
る。次に加算器46の出力は、テーブルROM47にアドレス
として入力される。テーブルROM47には、入力アドレス
に対し出力データが1/2となるように予め記憶されてい
る。この様にしてテーブルROM47で1/2とされ一次微分デ
ータとして出力される。更に、比較器48に入力された一
次微分データは、所定の設定値と比較し、一次微分値が
設定値より大きい場合は、“1"、小さい場合は“0"と
し、その結果を濃度変化信号として出力するわけであ
る。尚、この比較器48に設定する設定値は、外部からの
指示により任意に設置可能なものとする。
Now, the pixel data converted into the density data output from the image reading unit 31 is processed by the latch unit 41 as the video lock φ.
Is delayed by one pixel and then input to the adder 42. In the adder 42, the pixel data and the pixel data delayed by one pixel are input and added. The output from the adder 42 is input to the latch unit 43 and the inverter 45. The latch unit 43 and the latch unit 44 are delayed by one pixel by the video clock φ and are input to the adder 46 later. Also the inverter
The data input to 45 is inverted and becomes a one's complement and output to the adder 46. In the adder 46, "1" is added to the input data from the inverter 45, the 1's complement is made into the 2's complement, and the result is added to the output of the latch 44 to output the output image data of the adder 42 and the output data of the latch 44. Is being subtracted from. Next, the output of the adder 46 is input to the table ROM 47 as an address. The table ROM 47 is pre-stored so that the output data becomes 1/2 of the input address. In this way, it is halved by the table ROM 47 and is output as the primary differential data. Furthermore, the primary differential data input to the comparator 48 is compared with a predetermined set value, and if the primary differential value is larger than the set value, it is set to "1", and if it is smaller, it is set to "0", and the result is the density change. It is output as a signal. The set value set in the comparator 48 can be arbitrarily set according to an instruction from the outside.

次に変倍部33についての処理を第2図に従つて説明す
る。
Next, the processing performed by the scaling unit 33 will be described with reference to FIG.

ここで、副走査方向の変倍処理は、読み取り部のプリ
ンタの副走査速度V1を一定としリーダーの速度をV1/n
(n:変倍率)に変えることにより行なうものとして説明
は省略する。
Here, in the scaling processing in the sub-scanning direction, the sub-scanning speed V1 of the printer of the reading unit is made constant and the speed of the reader is set to V 1 / n.
The description will be omitted as it is performed by changing to (n: scaling factor).

さて、主走査方向の変倍処理については、不図示の制
御回路より変倍モード信号がメモリ制御部へ入力され
る。メモリ制御部には、アドレスクロツク発生器12及び
ライトパルス発生部13があり、変倍バツフアメモリ11−
a,11−bへの書き込む場合のアドレスカウンタ14−a,14
−bのクロックパルスの数を決定し、かつ変倍バツフア
メモリのライトパルスを発生させている。このクロツク
パルスの数及びライトパルスを変倍率に応じて増加減す
ることにより達成される。この変倍バツフアメモリは、
書き込み、読み出しを変倍バツフアメモリ11−aと11−
bで交互に行なつている。例えばn倍拡大時には、変倍
バツフアメモリ11−a,11−bのうち、書き込みモード
(w)になつている11−bに同一画素のデータがn個の
アドレスに書き込まれる。また、1/n縮小時には、n個
の画素の内の1画素が1アドレスに書き込まれることに
なり、読み出しモードになった時、ビデオクロツクφに
よりアドレスが歩進されると画素データの補間、間引き
が達成されることになる。
For the scaling processing in the main scanning direction, a scaling mode signal is input to the memory control unit from a control circuit (not shown). The memory control unit includes an address clock generator 12 and a write pulse generator 13, and a variable-magnification buffer memory 11-
Address counter 14-a, 14 when writing to a, 11-b
The number of clock pulses of -b is determined, and the write pulse of the variable power buffer memory is generated. This is achieved by increasing or decreasing the number of clock pulses and the write pulse according to the scaling factor. This variable buffer memory is
Writing and reading are performed with variable-size buffer memories 11-a and 11-
Alternate in b. For example, at the time of n-fold enlargement, the same pixel data is written to n addresses in 11-b of the variable-magnification buffer memories 11-a and 11-b which are in the write mode (w). In addition, at the time of 1 / n reduction, one pixel out of n pixels is written at one address, and when the read mode is entered, if the address is stepped up by the video clock φ, pixel data is interpolated. , Thinning will be achieved.

また、本実施例では画像読み取り側のモーター速度を
変更しているが、記録側のモーター速度を変更してもよ
い。
Further, although the motor speed on the image reading side is changed in this embodiment, the motor speed on the recording side may be changed.

次に平滑部35の処理動作を、第3図に従つて説明す
る。
Next, the processing operation of the smoothing unit 35 will be described with reference to FIG.

平滑部35には、変倍倍率に対応したマトリクス、例え
ば2倍拡大のときには1×2,3倍拡大のときには1×3
の一次のマトリクスを有している。このマトリクスで
は、次式の演算を行なつている。
The smoothing unit 35 has a matrix corresponding to the scaling factor, for example, 1 × 2 for 2 × magnification and 1 × 3 for 3 × magnification.
Has a first order matrix. In this matrix, the following formula is calculated.

即ち、2倍拡大のときには、 D=1/2(a+b) :1×2 3倍拡大のときには、 D=1/3(a+b+c):1×3 但し、Dは注目画素の画像出力データ、bは注目画素
の画像入力データ、aは注目画素データから1画素後の
画像入力データ、cは注目画素データの1画素前の画像
入力データである。
That is, in the case of 2 times enlargement, D = 1/2 (a + b): 1 × 2 In the case of 3 times enlargement, D = 1/3 (a + b + c): 1 × 3 where D is the image output data of the pixel of interest and b Is the image input data of the target pixel, a is the image input data one pixel after the target pixel data, and c is the image input data one pixel before the target pixel data.

このマトリクスは、拡大倍率に応じて、サイズの切り
換えを行なつており、本実施例では、1×2,1×3のマ
トリスクのみであるが、拡大倍率に応じて、1×n(n
倍拡大のとき)のマトリクスサイズを用いても何ら問題
ない。
The size of this matrix is switched according to the enlargement ratio. In the present embodiment, only 1 × 2 and 1 × 3 matrices are used, but 1 × n (n
There is no problem even if a matrix size of (double magnification) is used.

さて、この平滑部35では次の様にして平滑処理を行な
う。
Now, the smoothing unit 35 performs the smoothing process as follows.

[等倍の場合] 変倍バツフアの出力画像データは、ラツチ29で1画素
分データを遅延しセレクタ27へ行く。セレクタ27は、制
御部23からの選択信号により等倍の画像データを選択し
出力する。
[In the case of equal magnification] The output image data of the variable magnification buffer is delayed by one pixel by the latch 29 and goes to the selector 27. The selector 27 selects and outputs the same size image data according to the selection signal from the control unit 23.

[2倍拡大の場合] 拡大された画像データは、ラツチ21で1画素分データ
を遅延する。遅延された画像データは、入力の拡大画像
データと、加算器24で加算される。加算されたデータ
は、テーブルROM28へアドレスとして出力され、1/2に平
均化されたデータをセレクタ27へ出力する。また、この
テーブルROM28は入力と出力が1:1に対応している構成に
なつている。セレクタ27は、上述した様に制御部23から
の選択信号により、テーブルROM28の出力データを選択
し出力する。
[Double Enlargement] The latched image 21 of the enlarged image data is delayed by one pixel. The delayed image data is added to the input enlarged image data by the adder 24. The added data is output to the table ROM 28 as an address, and the averaged data is output to the selector 27. The table ROM 28 has a structure in which the input and output correspond to 1: 1. The selector 27 selects and outputs the output data of the table ROM 28 according to the selection signal from the control unit 23 as described above.

[3倍拡大の場合] ラツチ21で遅延されたデータをラツチ22でもう一画素
分データを遅延させる。ラツチ22の出力と加算器24の出
力を加算器25で加算し、テーブルROM26へ入る。テーブ
ルROM26で1/3に平均化した後、セレクタ27へ入る。セレ
クタ27は制御部23からの選択信号によりテーブルROM26
の出力を選択し出力する。
[In the case of 3 times expansion] The data delayed by the latch 21 is delayed by another pixel by the latch 22. The output of the latch 22 and the output of the adder 24 are added by the adder 25, and the result is entered in the table ROM 26. After averaging to 1/3 in the table ROM 26, it enters the selector 27. The selector 27 receives the table ROM 26 according to the selection signal from the control unit 23.
Select the output of and output.

この様にして各倍率に対応して処理していくことにな
る。
In this way, processing is performed corresponding to each magnification.

第5図はこの平滑部35で、例えば変倍部33で3倍拡大
された画像データの平滑処理をした場合の出力画像を示
していて、従来の拡大処理(第6図)の様に単に注目画
像データを3つ並べて出力(3倍拡大の場合)した出力
画像とくらべても明らかな様に、その拡大処理後の出力
画像に濃度の段階を平滑して処理することが可能とな
る。
FIG. 5 shows an output image when the smoothing unit 35 smoothes the image data which has been magnified 3 times by the magnification changing unit 33, for example, as in the conventional enlarging process (FIG. 6). As is clear from the output image in which three target image data are output side by side (in the case of 3 times enlargement), it is possible to process the output image after the enlargement processing by smoothing the density steps.

以上の様な平滑処理は前述した、一次微分部32からの
濃度変化信号が“0"の場合、即ち1式の一次微分値Dが
所定値以下になり入力画像が中間調画像であることを判
断したときに、制御部34がセレクタ36にその旨のセレク
ト信号を出力することにより平滑部35からの画像データ
を画像処理部37に出力することになる。
The smoothing process as described above is performed when the density change signal from the primary differentiating unit 32 is “0”, that is, the primary differential value D in the equation 1 becomes a predetermined value or less and the input image is a halftone image. When the determination is made, the control unit 34 outputs a select signal to that effect to the selector 36, thereby outputting the image data from the smoothing unit 35 to the image processing unit 37.

また、一次微分値Dが所定値以上であるときには制御
部34への濃度変化信号は“1"となり、制御部34はセレク
タ36にその旨のセクト信号を出力することにより、変倍
部33からの画像データを画像処理部37に出力することに
なるわけである。
When the primary differential value D is equal to or larger than the predetermined value, the density change signal to the control unit 34 becomes "1", and the control unit 34 outputs a sect signal to that effect to the selector 36 so that the magnification changing unit 33 That is, the image data of is output to the image processing unit 37.

以上、説明した様に本実施例によれば、変倍処理以前
に入力画像の濃度の一時微分値(濃度変化率)を算出す
ることにより、その算出に係る画素の領域を換えること
なく算出することが可能となる。また、一次微分値から
直ちにその入力画像が文字記号等の単一画像情報か、或
いは写真等の中間調画像情報であるかを判断することが
極めて簡単な構成で可能となる。
As described above, according to the present embodiment, by calculating the temporary differential value (density change rate) of the density of the input image before the scaling processing, the calculation is performed without changing the pixel area related to the calculation. It becomes possible. Further, it is possible to judge from the first-order differential value whether the input image is single image information such as a character symbol or halftone image information such as a photograph with a very simple configuration.

また、本実施例では入力画像の濃度変化を算出して、
それを変倍処理に応用した場合について述べたがこれに
限定されるものではなく、例えば入力画像のエツジ部を
検出する機能を備えた他の画像処理装置にも応用するこ
とが可能である。
Further, in this embodiment, the density change of the input image is calculated,
The case where it is applied to the scaling processing has been described, but the present invention is not limited to this, and the present invention can be applied to other image processing apparatuses having a function of detecting an edge portion of an input image, for example.

また、本実施例では一次微分値を算出するために注目
画素の前後2個づつの画素データからその一次微分値を
算出したが、この読み出される画素の個数は注目画素の
隣接する2つの画素でも構わないし、それ以上でも構わ
ない。
Further, in the present embodiment, the primary differential value is calculated from the pixel data of two pixels before and after the pixel of interest in order to calculate the primary differential value. However, the number of read pixels can be two adjacent pixels of the pixel of interest. It doesn't matter, more than that.

更にまた、本実施例を変倍処理に応用した場合に、入
力画像情報を変倍して出力するときに、入力画像中に中
間調画像情報があることを検出したときの変倍処理で
は、その中間調画像情報のみの濃度変化の不連続さを小
規模な回路構成により、濃淡の変化をなめらかにするこ
とができるようになる。
Furthermore, when the present embodiment is applied to the scaling processing, the scaling processing when it is detected that there is halftone image information in the input image when the input image information is scaled and output, The discontinuity of the density change of only the halftone image information can be made smooth by the small-scale circuit configuration.

また、本実施例では変倍率を等倍、2倍、3倍の場合
にのみ説明したが、この他の倍率についても適応できる
ことは言うまでもない。
Further, in the present embodiment, the description has been given only to the case where the variable magnification is 1 ×, 2 ×, and 3 ×, but it goes without saying that other magnifications can be applied.

また、画像の読み取装置、及び出力画像を形成する出
力装置を限定するものではなく、例えば出力装置ではレ
ーザビームプリンタ等でもよいことは明らかである。
Further, it is obvious that the image reading device and the output device for forming the output image are not limited, and for example, the output device may be a laser beam printer or the like.

[発明の効果] 以上説明した様に本発明によれば、変倍前の画像に基
づいて入力画像の画調をを判断するので、その判断は効
率良く且つ精度良く行え、そして、変倍率で変倍した画
像を、判断結果に応じた空間周波数フイルタに基づいて
補正するので、その補正はフイルタに基づく処理のみで
よくなり、原画像に忠実に、しかも、良好な変倍画像を
生成できる。
[Effects of the Invention] As described above, according to the present invention, the image tone of an input image is determined based on the image before scaling, so that the determination can be performed efficiently and accurately, and the scaling factor Since the scaled image is corrected based on the spatial frequency filter according to the determination result, the correction only needs to be performed based on the filter, so that a good scaled image can be generated faithfully to the original image.

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

第1図は、一次微分部のブロツク図、 第2図は変倍部のブロツク図、 第3図は平滑部のブロツク図、 第4図は本実施例の画像処理装置の全体ブロツク図、 第5図は本実施例の拡大処理の一例を示す図、 第6図は従来の拡大処理を示す図、 第7図は画像を読取り処理の動作を示す図、 第8図は出力画像を形成するときの処理動作を示す図で
ある。 図中、11−a,11−b……変倍バツフアRAM、12……アド
レスクロツク発生器、13……ライトパルス発生器、14−
a,14−b……カウンタ、21,22,29……ラツチ、24,25…
…加算器、26,28……テーブルROM、23……平滑化制御
部、27……セレクタ、31……画像読み取り部、32……一
次微分部、33……変倍部、34……制御部、35……平滑
部、36……セレクタ、37……画像処理部、38……プリン
タ部、41,43,44……ラツチ、42,46……加算器、45……
インバータ、47……テーブルROM、48……比較器であ
る。
FIG. 1 is a block diagram of the primary differentiation unit, FIG. 2 is a block diagram of the variable power unit, FIG. 3 is a block diagram of the smoothing unit, FIG. 4 is an overall block diagram of the image processing apparatus of this embodiment, and FIG. FIG. 5 is a diagram showing an example of the enlarging process of this embodiment, FIG. 6 is a diagram showing a conventional enlarging process, FIG. 7 is a diagram showing the operation of the image reading process, and FIG. 8 is forming an output image. It is a figure which shows the processing operation at this time. In the figure, 11-a, 11-b ... Magnification buffer RAM, 12 ... Address clock generator, 13 ... Write pulse generator, 14-
a, 14-b ... Counter, 21,22,29 ... Latch, 24,25 ...
... Adder, 26, 28 ... Table ROM, 23 ... Smoothing control section, 27 ... Selector, 31 ... Image reading section, 32 ... First derivative section, 33 ... Variable magnification section, 34 ... Control Section, 35 ... smoothing section, 36 ... selector, 37 ... image processing section, 38 ... printer section, 41, 43, 44 ... latch, 42, 46 ... adder, 45 ...
Inverter, 47 ... table ROM, 48 ... comparator.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】入力画像情報に対して変倍処理を行い、変
倍処理された画像情報に対して所定の特性の空間周波数
フィルタによる演算を行い、出力画像を形成する画像処
理装置において、 画像情報を入力する入力手段と、 前記入力手段で入力された画像情報に基づいて該画像情
報によって表わされる画像の画調を判断する判断手段
と、 前記入力画像に対して行う変倍処理の変倍率を多段階に
設定する設定手段と、 前記入力手段により入力された画像情報に対して、前記
設定手段で設定された変倍率に応じた変倍処理を行う変
倍手段と、 前記判断手段による判断結果に基づいて空間周波数フィ
ルタの特性を設定するフィルタ設定手段と、 設定された特性の空間周波数フィルタに従って、前記変
倍手段による変倍後の画像情報の画素値の補正演算を行
う補正手段と を備えることを特徴とする画像処理装置。
Claim: What is claimed is: 1. An image processing apparatus for performing a scaling process on input image information, performing an operation on a scaled image information by a spatial frequency filter having a predetermined characteristic, and forming an output image. Input means for inputting information, judging means for judging the image tone of the image represented by the image information based on the image information input by the input means, and a scaling factor for the scaling process performed on the input image. Setting means for setting in multiple stages, a scaling means for performing a scaling process on the image information input by the input means in accordance with the scaling ratio set by the setting means, and a determination made by the determination means. Filter setting means for setting the characteristic of the spatial frequency filter based on the result, and correction performance of the pixel value of the image information after the scaling by the scaling means according to the spatial frequency filter of the set characteristic. The image processing apparatus characterized by comprising a correction means for performing.
JP61032928A 1986-02-19 1986-02-19 Image processing device Expired - Lifetime JPH083844B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP61032928A JPH083844B2 (en) 1986-02-19 1986-02-19 Image processing device
US07/338,425 US4878126A (en) 1986-02-19 1989-04-14 Imgae processing apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61032928A JPH083844B2 (en) 1986-02-19 1986-02-19 Image processing device

Publications (2)

Publication Number Publication Date
JPS62191970A JPS62191970A (en) 1987-08-22
JPH083844B2 true JPH083844B2 (en) 1996-01-17

Family

ID=12372572

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61032928A Expired - Lifetime JPH083844B2 (en) 1986-02-19 1986-02-19 Image processing device

Country Status (1)

Country Link
JP (1) JPH083844B2 (en)

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6063589A (en) * 1983-09-19 1985-04-11 キヤノン株式会社 data processing equipment

Also Published As

Publication number Publication date
JPS62191970A (en) 1987-08-22

Similar Documents

Publication Publication Date Title
US4878126A (en) Imgae processing apparatus
JP2577748B2 (en) Image signal interpolation method and image signal processing apparatus for implementing the method
KR930022822A (en) Image magnification conversion method and apparatus
JP2003219116A (en) Image processing apparatus and control method thereof
JP2000013594A (en) Image processor, image processing method therefor and recording medium
JPH0614350B2 (en) Image processing device
JPH083844B2 (en) Image processing device
JP2000270208A (en) Image processor and image processing method
JPH0224073B2 (en)
JP3386203B2 (en) Image information processing method and image information processing apparatus
JP2829931B2 (en) Image processing device
JPH07143332A (en) Image data enlargement processing method
JP2860985B2 (en) Document reading device
JP2807231B2 (en) Pixel density conversion method and device
JP2829930B2 (en) Image processing device
JPS62191969A (en) Image processing device
JP3877054B2 (en) Image reduction scaling device
JP3400874B2 (en) Image forming device
JPH10108068A (en) Film scanner
KR100262547B1 (en) Method of horizontal scanning direction extension/reduction function in multi-function peripheral
JPH1084472A (en) Image-processing unit
JP2728645B2 (en) Image magnification device
JPH0638038A (en) Binary image smoothing method
KR19980031983A (en) Reduction circuit of digital image
JPH05219360A (en) Picture processor

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term