JPH11331603A - Image processing method and image processing unit - Google Patents

Image processing method and image processing unit

Info

Publication number
JPH11331603A
JPH11331603A JP10133981A JP13398198A JPH11331603A JP H11331603 A JPH11331603 A JP H11331603A JP 10133981 A JP10133981 A JP 10133981A JP 13398198 A JP13398198 A JP 13398198A JP H11331603 A JPH11331603 A JP H11331603A
Authority
JP
Japan
Prior art keywords
image
smoothing
pixel
interest
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.)
Pending
Application number
JP10133981A
Other languages
Japanese (ja)
Inventor
Takeshi Matsukubo
勇志 松久保
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 JP10133981A priority Critical patent/JPH11331603A/en
Publication of JPH11331603A publication Critical patent/JPH11331603A/en
Pending legal-status Critical Current

Links

Landscapes

  • Dot-Matrix Printers And Others (AREA)
  • Image Processing (AREA)
  • Facsimile Image Signal Circuits (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide the image processing method and the image processing unit that can provide outputs of both smooth characters/graphics and of an image with excellent gradation. SOLUTION: Whether or not density of an image other than that in a background of a prescribed area is uniform is discriminated (S701). In the case that the density is discriminated to be uniform in the step S701, binary processing is applied to the image (S702), and a pattern of the binary-processed image is extracted (S703), smoothing processing is applied to the image in matching with the extracted pattern (S704), and the image after smoothing processing is outputted with high resolution (S705). In the case that the density is discriminated not to be uniform in the step S701, the image is outputted with low resolution as it is without applying binary processing and pattern matching.

Description

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

【0001】本発明は、画像処理装置及び画像処理方法
に関するものであり、特に画像データをスムージング補
間して出力する画像処理装置及び画像処理方法に関す
る。
The present invention relates to an image processing apparatus and an image processing method, and more particularly to an image processing apparatus and an image processing method for performing smoothing interpolation on image data and outputting the result.

【0002】[0002]

【従来の技術】従来からパーソナル・コンピュータ等で
文字や図形を作成し、ポストスクリプト(PS)等のベ
クター画像としてラスタライズして、2値プリンタ、特
に白黒プリンタから出力する場合、ギザギザ感の解消の
ためのスムージング技術が一般に用いられている。ま
た、スムージングに伴い高解像度化を行うことによっ
て、更に効果的にスムージングを行うこととしている。
例えば、解像度は一般的に400DPIであり、63.
5μm単位で印字される。これに対して、文字の部分に
ついてはより解像度を高めるため、倍の800DPIで
出力する。
2. Description of the Related Art Conventionally, when characters and figures are created by a personal computer or the like, rasterized as a vector image such as PostScript (PS), and output from a binary printer, particularly a black-and-white printer, the jaggedness is eliminated. Smoothing techniques are commonly used. In addition, by increasing the resolution along with the smoothing, the smoothing is performed more effectively.
For example, the resolution is typically 400 DPI;
Printed in units of 5 μm. On the other hand, in order to further increase the resolution of the character portion, the character portion is output at 800 DPI.

【0003】[0003]

【発明が解決しようとする課題】上記従来技術に対し、
多値プリンタを利用して、パーソナル・コンピュータ
(パソコン)等で作成した文字や図形を出力する場合に
も、ポストスクリプト(PS)等のベクター画像をラス
タライズする際にギザギザ感があるのがどうしても否め
なかった。
SUMMARY OF THE INVENTION In contrast to the above prior art,
When using a multi-valued printer to output characters and graphics created on a personal computer (PC), etc., it is absolutely denied that there is a jagged feeling when rasterizing a vector image such as PostScript (PS). Did not.

【0004】ところが、階調表現された原稿中の文字
は、均一である保証はなく、グラデーション文字である
こともある。また、多値画像の場合、パソコン側で文字
についてアンチエイリアス処理した後、プリンタに出力
する場合もある。この場合、文字濃度が不均一であるた
め、従来のスムージング技術をそのまま適用すると、逆
に不自然な濃度が補間されて文字の再現を著しく劣化さ
せる要因にもなる。
However, there is no guarantee that the characters in the gradation-represented document are uniform, and they may be gradation characters. In the case of a multi-valued image, the personal computer may perform an anti-aliasing process on the character and then output the character to a printer. In this case, since the character density is non-uniform, if the conventional smoothing technique is applied as it is, an unnatural density is interpolated and the character reproduction is significantly deteriorated.

【0005】また、単純に従来からあるスムージング技
術を適用しようとすると、多値出力においては、階調を
優先する画像も同時に出力しなければならない場合があ
るため、文字や図形以外の部分について同じように解像
度を上げることが、部分的に画質を劣化させる要因とな
ってしまう。
Further, when simply applying a conventional smoothing technique, in the case of multi-valued output, an image which prioritizes gradation may have to be output at the same time. Increasing the resolution in this way may partially degrade image quality.

【0006】本発明は、上記課題を解決するためになさ
れたもので、滑らかな文字や図形と階調性に優れた画像
の両方を出力可能な画像処理方法及び画像処理装置を提
供することを目的とする。
An object of the present invention is to provide an image processing method and an image processing apparatus capable of outputting both smooth characters and graphics and an image having excellent gradation characteristics. Aim.

【0007】[0007]

【課題を解決するための手段】上記目的を達成するた
め、本発明は多値画像の輪郭をスムージングする画像処
理方法であって、前記多値画像のうち、注目画素を含む
領域の画像濃度の傾斜が所定範囲にあるか否かを判定す
る均一性判定工程と、前記均一性判定工程により、前記
傾斜が所定範囲にあると判定された場合に注目画素デー
タに対しスムージング処理を行い、出力するスムージン
グ工程と、を含むことを特徴とする。
In order to achieve the above object, the present invention provides an image processing method for smoothing the outline of a multi-valued image, the method comprising the steps of: A uniformity determining step of determining whether or not the inclination is within a predetermined range; and performing a smoothing process on the pixel data of interest when the inclination is determined to be within the predetermined range by the uniformity determination step, and outputting the result. And a smoothing step.

【0008】ここで、前記スムージング工程が、前記多
値画像を2値化する2値化工程と、前記2値化工程によ
り二値化された画像データを用いて画像の輪郭部を検出
する輪郭抽出工程と、前記輪郭抽出工程によって抽出さ
れた輪郭部における位置と、前記2値化工程で2値化さ
れる前の多値画像データと、に基づいて注目画素の画像
データを多値化する多値化工程と、を含むことは好適で
ある。
Here, the smoothing step includes a binarizing step of binarizing the multi-valued image, and a contour detecting a contour portion of the image using the image data binarized by the binarizing step. The image data of the target pixel is multi-valued based on the extraction step, the position in the contour portion extracted in the contour extraction step, and the multi-value image data before binarization in the binarization step. It is preferable to include a multi-value conversion step.

【0009】また、前記多値化工程が、注目画素を高解
像度化する高解像度化工程を更に含むことも好適であ
る。
It is also preferable that the multi-value conversion step further includes a high-resolution step of increasing the resolution of the pixel of interest.

【0010】また、本発明は多値画像の輪郭をスムージ
ングする画像処理装置であって、前記多値画像のうち、
注目画素を含む領域の画像濃度の傾斜が所定範囲にある
か否かを判定する均一性判定手段と、前記均一性判定手
段により、前記傾斜が所定範囲にあると判定された場合
に注目画素データに対しスムージング処理を行い、出力
するスムージング手段と、を含むことを特徴とする。
Further, the present invention is an image processing apparatus for smoothing the outline of a multi-valued image, wherein
A uniformity determining means for determining whether or not the gradient of the image density of the area including the target pixel is within a predetermined range; and the pixel data of interest when the uniformity determining means determines that the tilt is within a predetermined range. And a smoothing means for performing a smoothing process on and outputting the result.

【0011】ここで、前記スムージング手段が、前記多
値画像を2値化する2値化手段と、前記2値化手段によ
り二値化された画像データを用いて画像の輪郭部を検出
する輪郭抽出手段と、前記輪郭抽出手段によって抽出さ
れた輪郭部における位置と、前記2値化手段で2値化さ
れる前の多値画像データと、に基づいて注目画素の画像
データを多値化する多値化手段と、を含むことは好適で
ある。
The smoothing means includes a binarizing means for binarizing the multi-valued image, and a contour for detecting a contour part of the image using the image data binarized by the binarizing means. The image data of the target pixel is multi-valued based on the extracting means, the position in the contour portion extracted by the contour extracting means, and the multi-value image data before being binarized by the binarizing means. It is preferable to include multi-value conversion means.

【0012】また、前記多値化手段が、注目画素を高解
像度化する高解像度化手段を更に含むことは好適であ
る。
It is preferable that the multi-level converting means further includes a resolution increasing means for increasing the resolution of the pixel of interest.

【0013】更に本発明は、多値画像の輪郭をスムージ
ングするプログラムモジュールを格納したコンピュータ
可読メモリであって、前記多値画像のうち、注目画素を
含む領域の画像濃度の傾斜が所定範囲にあるか否かを判
定する均一性判定工程のプログラムモジュールと、前記
均一性判定工程により、前記傾斜が所定範囲にあると判
定された場合に注目画素データに対しスムージング処理
を行い、出力するスムージング工程のプログラムモジュ
ールと、を記憶することを特徴とする。
Further, the present invention is a computer-readable memory storing a program module for smoothing the outline of a multi-valued image, wherein the gradient of the image density of a region including a pixel of interest in the multi-valued image is within a predetermined range. A program module for a uniformity determining step of determining whether or not the smoothing process is performed on the pixel data of interest when the inclination is determined to be within a predetermined range by the uniformity determining step. And a program module.

【0014】[0014]

【発明の実施の形態】以下に図面を参照して、この発明
の好適な実施の形態を例示的に詳しく説明する。ただ
し、この実施の形態に記載されている構成要素、プログ
ラムモジュール等の相対配置、解像度等の数値などにつ
いては特に特定的な記載がない限りは、本発明の範囲を
それらのみに限定する趣旨のものではない。
Preferred embodiments of the present invention will be described in detail below with reference to the accompanying drawings. However, unless otherwise specified, the relative arrangement of components, program modules, and the like described in this embodiment, and numerical values such as resolutions are intended to limit the scope of the present invention to them only. Not something.

【0015】[好適な実施の形態]以下、図1〜図13
に基づいて本発明に係る第1の実施の形態を詳細に説明
する。
Preferred Embodiment Hereinafter, FIGS. 1 to 13 will be described.
The first embodiment according to the present invention will be described in detail with reference to FIG.

【0016】(画像処理装置の構成)まず、本実施形態
におけるカラー複写機の構造及び動作の概要を説明す
る。
(Configuration of Image Processing Apparatus) First, an outline of the structure and operation of the color copying machine according to the present embodiment will be described.

【0017】図1は、本実施形態におけるカラー複写機
の構造を示す断面図である。同図において、101はイ
メージ・スキャナ部であり、原稿を読み取り、デジタル
信号処理を行う部分である。100はカラープリンタ部
であり、イメージ・スキャナ部101で読み取られた原
稿画像に対応した画像を用紙にフルカラーでプリント出
力する部分である。
FIG. 1 is a sectional view showing the structure of a color copying machine according to this embodiment. In FIG. 1, reference numeral 101 denotes an image scanner, which reads a document and performs digital signal processing. Reference numeral 100 denotes a color printer unit which prints out an image corresponding to the original image read by the image scanner unit 101 on a sheet in full color.

【0018】イメージ・スキャナ部101において、原
稿圧板102と原稿台ガラス(以下、プラテン)103
の間に載置された原稿104がハロゲンランプ105の
光で照射される。そして、原稿104からの反射光がミ
ラー106、107に導かれ、レンズ108により収束
され、3ラインセンサ(以下、CCD)110上に像が
結ばれる。また、レンズ108には赤外線カットフィル
タ131が設けられている。
In an image scanner section 101, an original pressure plate 102 and an original platen glass (hereinafter, platen) 103
The document 104 placed between them is irradiated with the light of the halogen lamp 105. Then, the reflected light from the document 104 is guided to mirrors 106 and 107, converged by a lens 108, and an image is formed on a three-line sensor (hereinafter, referred to as a CCD) 110. Further, the lens 108 is provided with an infrared cut filter 131.

【0019】CCD110は、フルカラー情報レッド
(R),グリーン(G),ブルー(B)の各色成分読み
取りセンサ列110−1〜110−3により原稿からの
光情報を色分解し、各色成分を読み取り、信号処理部1
09に送出する。この各色成分読み取りセンサ列110
−1〜110−3は各々5000画素により構成されて
いる。これにより、原稿台ガラス103に載置される原
稿中で最大サイズであるA3サイズの原稿の短手方向2
97mmを400DPIの解像度で読み取ることができ
る。
The CCD 110 separates the light information from the original by the full color information red (R), green (G), and blue (B) color component reading sensor arrays 110-1 to 110-3 and reads each color component. , Signal processing unit 1
09. Each color component reading sensor array 110
Each of -1 to 110-3 is composed of 5000 pixels. As a result, the shortest direction 2 of the A3 size document which is the maximum size among the documents placed on the platen glass 103
97 mm can be read at a resolution of 400 DPI.

【0020】尚、ハロゲンランプ105、ミラー106
が速度vで、またミラー107が1/2vでCCD11
0の電気的走査方向(以下、主走査方向)に対して垂直
方向(以下、副走査方向)に機械的に動くことにより、
原稿全面が走査される。
The halogen lamp 105 and the mirror 106
Is the speed v and the mirror 107 is 1 / v, the CCD 11
By mechanically moving in a direction (hereinafter, sub-scanning direction) perpendicular to an electrical scanning direction of 0 (hereinafter, main scanning direction),
The entire surface of the document is scanned.

【0021】111は標準白色板であり、各色成分読み
取りセンサ列110−1〜110−3の読み取りデータ
の補正データを発生する。この標準白色板111は、可
視光に対してほぼ均一の反射特性を示し、可視では白色
の色を有している。この標準白色板111を用いてセン
サ110−1〜110−3の可視センサの出力データの
補正が行われる。
Reference numeral 111 denotes a standard white plate, which generates correction data for the read data of the respective color component reading sensor arrays 110-1 to 110-3. The standard white plate 111 has a substantially uniform reflection characteristic with respect to visible light, and has a white color when visible. The output data of the visible sensors of the sensors 110-1 to 110-3 is corrected using the standard white plate 111.

【0022】また、信号処理部109では、読み取られ
た信号を電気的に処理し、マゼンタ(M),シアン
(C),イエロー(Y),ブラック(BK)の各成分に
分解し、カラープリンタ部100に送出する。また、イ
メージ・スキャナ部101における1回の原稿走査(ス
キャン)により、M,C,Y,BKのうち、1つの成分
がカラープリンタ部100に送られ、計4回の原稿走査
により1回のプリントアウトが完成する。
In the signal processing section 109, the read signal is electrically processed, decomposed into magenta (M), cyan (C), yellow (Y), and black (BK) components. To the unit 100. Further, one component of M, C, Y, and BK is sent to the color printer unit 100 by one original scan (scan) in the image scanner unit 101, and one component scan is performed by a total of four original scans. The printout is completed.

【0023】カラープリンタ部100において、イメー
ジ・スキャナ部101より送られてくるM,C,Y,B
Kの画像信号は、レーザドライバ112に送られる。レ
ーザドライバ112は画像信号に応じて半導体レーザ1
13を変調駆動する。これにより、レーザ光がポリゴン
ミラー114、f−θレンズ115、ミラー116を介
して感光ドラム117上を走査する。
In the color printer unit 100, M, C, Y, B sent from the image scanner unit 101
The K image signal is sent to the laser driver 112. The laser driver 112 controls the semiconductor laser 1 according to an image signal.
13 is driven by modulation. As a result, the laser beam scans the photosensitive drum 117 via the polygon mirror 114, the f-θ lens 115, and the mirror 116.

【0024】119〜122は現像器であり、マゼンタ
現像器119、シアン現像器120、イエロー現像器1
21、ブラック現像器122、より構成され、4つの現
像器が交互に感光ドラム117に接し、感光ドラム11
7上に形成されたM,C,Y,BKの静電潜像を対応す
るトナーで現像する。
Reference numerals 119 to 122 denote developing units, which are a magenta developing unit 119, a cyan developing unit 120, and a yellow developing unit 1
21; a black developing device 122; four developing devices alternately contact the photosensitive drum 117;
The M, C, Y, and BK electrostatic latent images formed on the surface 7 are developed with corresponding toner.

【0025】123は転写ドラムであり、用紙カセット
124,125より給紙された用紙をこの転写ドラム1
23に巻き付け、感光ドラム117上に現像されたトナ
ー像を用紙に転写する。
Reference numeral 123 denotes a transfer drum which transfers sheets fed from the sheet cassettes 124 and 125 to the transfer drum 1.
23, and the toner image developed on the photosensitive drum 117 is transferred to a sheet.

【0026】このようにして、M,C,Y,BKの4色
が順次転写された後に、用紙は定着ユニット126を通
過して外部に排紙される。
After the four colors M, C, Y, and BK are sequentially transferred in this manner, the sheet passes through the fixing unit 126 and is discharged to the outside.

【0027】次に、イメージ・スキャナ部101につい
て詳細に説明する。図2は、本実施形態におけるCCD
110の外観を示す外観斜視図である。ここで、110
−1は赤色光(R)を読み取るための受光素子列であ
り、110−2,110−3は順に緑色光(G),青色
光(B)を読み取るための受光素子列である。
Next, the image scanner unit 101 will be described in detail. FIG. 2 shows a CCD according to this embodiment.
FIG. 2 is an external perspective view showing the external appearance of the embodiment. Where 110
-1 is a light receiving element array for reading red light (R), and 110-2 and 110-3 are light receiving element arrays for reading green light (G) and blue light (B) in order.

【0028】また、R,G,Bの各センサ列110−1
〜110−3は主走査方向,副走査方向に10μmの開
口をもつ。この3本の異なる光学特性をもつ受光素子列
は、R,G,Bの各センサが原稿の同一ラインを読み取
るために、互いに平行に配置されており、同一のシリコ
ンチップ上にモノリシックに構成されている。
Each of the R, G, B sensor rows 110-1
110-3 have openings of 10 μm in the main scanning direction and the sub-scanning direction. The three light receiving element rows having different optical characteristics are arranged in parallel with each other so that the R, G, and B sensors read the same line of the document, and are monolithically formed on the same silicon chip. ing.

【0029】このような構成のCCD110を用いるこ
とで、各色分解読み取りでのレンズ等の光学系を共通に
している。これにより、R,G,B各色毎の光学調整を
簡潔にすることが可能となる。
By using the CCD 110 having such a configuration, an optical system such as a lens for each color separation reading is shared. This makes it possible to simplify the optical adjustment for each of the R, G, and B colors.

【0030】図3は、図2に示したCCD110の断面
図である。図示するように、CCD110にはシリコン
基板110−5上にR読み取り用のフォトセンサ110
−1とG,B各々の可視情報を読み取るフォトセンサ1
10−2,110−3が配置されている。Rのフォトセ
ンサ110−1上には可視光のうち、レッドの波長成分
を透過するRフィルタ110−7が配置される。また同
様に、Gのフォトセンサ110−2上にはGフィルタ1
10−8が、Bのフォトセンサ110−3上にはBフィ
ルタ110−9が配置されている。また、110−6は
透明有機膜で構成された平坦化層である。
FIG. 3 is a sectional view of the CCD 110 shown in FIG. As shown in the figure, the CCD 110 has a photo sensor 110 for reading R on a silicon substrate 110-5.
-1 and a photosensor 1 for reading visible information of each of G and B
10-2 and 110-3 are arranged. An R filter 110-7 that transmits a red wavelength component of visible light is disposed on the R photosensor 110-1. Similarly, the G filter 1 is provided on the G photosensor 110-2.
The B filter 110-9 is disposed on the photosensor 110-3 for the 10-8 and B photosensors. Reference numeral 110-6 denotes a flattening layer formed of a transparent organic film.

【0031】図4は、図2に示したCCD110の受光
素子を拡大した図である。R,G,Bの各センサ列11
0−1〜110−3は、主走査方向に1画素当たり10
μmの長さを持ち、A3原稿の短手方向(297mm)
を400DPIの解像度で読み取ることができるよう
に、主走査方向に5000画素で構成されている。ま
た、R,G,Bの各センサ列110−1〜110−3の
ライン間の距離は80μmであり、400DPIの副走
査解像度に対して各8ラインずつ離れている。
FIG. 4 is an enlarged view of the light receiving element of the CCD 110 shown in FIG. R, G, B sensor rows 11
0-1 to 110-3 are 10 per pixel in the main scanning direction.
μm length, short side of A3 document (297mm)
Is composed of 5000 pixels in the main scanning direction so that can be read at a resolution of 400 DPI. Further, the distance between the lines of the R, G, and B sensor rows 110-1 to 110-3 is 80 μm, and the distance is eight lines each for the sub-scanning resolution of 400 DPI.

【0032】(画像処理の流れ)次に、上記のような装
置における、信号処理部109での画像処理について説
明する。図5は、本実施形態における画像処理を説明す
るための図である。尚、図5では、本発明に関係する処
理についてのみ示しているが、カラー複写機の一般的な
画像処理も含まれることは言うまでもない。
(Flow of Image Processing) Next, image processing in the signal processing unit 109 in the above-described apparatus will be described. FIG. 5 is a diagram for describing image processing in the present embodiment. Although FIG. 5 shows only processing related to the present invention, it goes without saying that general image processing of a color copying machine is also included.

【0033】図5において、201は外部機器であり、
多値画像データを出力する。これは、例えばCCDある
いはコンピュータ等であってもよい。また、これは不図
示の外部インターフェース回路を介してカラー複写機に
接続されている。202は後述するパターンマッチング
回路、203はスムージング回路であり、図1に示すイ
メージ・スキャナ部101の信号処理部109に含まれ
る。そして、204はPWM制御部であり、図1のレー
ザドライバ112に含まれ、パターンマッチング部20
2で判断された補間データの結果に基づいて輪郭のスム
ージングを行うべく、パルス電流を出力する。レーザド
ライバ112からは、そのパルス電流に基づいてビーム
を出力する。このPWM制御部204において用いられ
る濃度再現法についても後述する。また、205は均一
性判定回路であり、外部機器から入力された多値画像デ
ータから、白い部分(濃度を有しない部分)以外の画像
濃度が均一であるか否かについて判定する。
In FIG. 5, reference numeral 201 denotes an external device.
Output multi-valued image data. This may be, for example, a CCD or a computer. It is connected to a color copier via an external interface circuit (not shown). Reference numeral 202 denotes a pattern matching circuit described later, and reference numeral 203 denotes a smoothing circuit, which is included in the signal processing unit 109 of the image scanner unit 101 shown in FIG. A PWM control unit 204 is included in the laser driver 112 shown in FIG.
A pulse current is output to perform contour smoothing based on the result of the interpolation data determined in step 2. The laser driver 112 outputs a beam based on the pulse current. The density reproduction method used in the PWM control unit 204 will also be described later. Reference numeral 205 denotes a uniformity determination circuit which determines whether or not image densities other than white parts (parts having no density) are uniform from multi-valued image data input from an external device.

【0034】まず、外部機器201より出力された多値
画像信号は、202のパターンマッチング回路に入力さ
れ、2値化された後、後述するパターンマッチングが行
われる。このとき、外部機器201より出力された多値
画像信号は、同時に均一性判定回路205に入力され、
その画素を含む画像領域が均一性を有しているか否か判
定される。判定の結果はパターンマッチング回路202
及びスムージング回路203に送られる。パターンマッ
チング回路及びスムージング回路は、均一性判定回路2
05から均一性なしとの信号を受け取ると、処理を行わ
ずに入力信号をそのまま出力する。このため、実質的に
はPWM制御部204には外部機器201から入力され
た多値画像信号がそのまま出力される。
First, a multi-valued image signal output from the external device 201 is input to a pattern matching circuit 202 and binarized, and thereafter, a pattern matching described later is performed. At this time, the multi-valued image signal output from the external device 201 is simultaneously input to the uniformity determination circuit 205,
It is determined whether or not the image area including the pixel has uniformity. The result of the determination is a pattern matching circuit 202
And sent to the smoothing circuit 203. The pattern matching circuit and the smoothing circuit include a uniformity determination circuit 2
When a signal indicating that there is no uniformity is received from 05, the input signal is output as it is without performing any processing. Therefore, the multi-level image signal input from the external device 201 is output to the PWM control unit 204 as it is.

【0035】また、均一性判定回路205の結果、均一
性ありとしてパターンマッチングする場合、パターンマ
ッチング回路202からPWM制御部204に対し解像
度変換信号が送られる。この解像度変換信号に応じて、
PWM制御部204は、均一性ありと判定され、パター
ンマッチングされる場合には、高解像度(ここでは80
0DPI)で印刷が行われるように、レーザドライバ1
12に高周波のパルス信号を出力し、均一性なしと判定
された場合には、低解像度(ここでは400DPI)で
印刷が行われるように低周波のパルス信号を出力する。
In the case where the result of the uniformity judgment circuit 205 indicates that there is uniformity, a pattern conversion signal is sent from the pattern matching circuit 202 to the PWM control unit 204. According to this resolution conversion signal,
If it is determined that the uniformity is present and the pattern matching is performed, the PWM control unit 204 sets a high resolution (here, 80
0DPI) so that the laser driver 1
12, a high-frequency pulse signal is output, and when it is determined that there is no uniformity, a low-frequency pulse signal is output so that printing is performed at a low resolution (here, 400 DPI).

【0036】一方、スムージング回路203は、パター
ンマッチング回路202により抽出されたパターンに従
って、文字や図形の輪郭部分のギザギザパターンの間を
高解像度のデータでスムージング補間する。尚、補間す
ペきデータは、周りの画素の濃度データを参照すること
により決定される。
On the other hand, the smoothing circuit 203 performs smoothing interpolation between the jagged patterns of the outlines of characters and figures with high-resolution data in accordance with the pattern extracted by the pattern matching circuit 202. The interpolation data is determined by referring to the density data of the surrounding pixels.

【0037】次に、図5で示した各回路について詳細に
説明する。
Next, each circuit shown in FIG. 5 will be described in detail.

【0038】(均一性判定回路)図6(a)は均一性判
定回路205の概略を示すブロック図である。
(Uniformity Judgment Circuit) FIG. 6A is a block diagram schematically showing the uniformity judgment circuit 205.

【0039】ラインバッファ2a,2bは1ライン分画
素信号を遅延させるFiFoメモリであり、遅延回路3
a,3b,3c,3d,3e,3fは1画素分の画素信
号を遅延させるフリップフロップである。これらの構成
要素を図のように組み合わせることにより、図(b)に
ような3×3画素領域の9画素分の多値画素信号が得ら
れる。この9画素分の画素信号は比較部1に入力され、
濃度0以外の画素の信号が取り出され、取り出された画
素信号がすべての画素について等しい場合のみ比較部1
からLOWの信号が出力される。それ以外の場合、つま
り、下地を除いた画素の濃度に傾きが存在した場合には
Highの信号が出力される。
The line buffers 2a and 2b are Fifo memories for delaying the pixel signals by one line,
Reference numerals a, 3b, 3c, 3d, 3e, and 3f denote flip-flops for delaying pixel signals of one pixel. By combining these components as shown in the figure, a multi-valued pixel signal for nine pixels in a 3 × 3 pixel area as shown in FIG. The pixel signals for the nine pixels are input to the comparison unit 1,
Only when the signals of the pixels other than the density 0 are extracted and the extracted pixel signals are equal for all the pixels, the comparison unit 1
Outputs a LOW signal. In other cases, that is, when there is a gradient in the density of the pixel excluding the background, a High signal is output.

【0040】比較部1は、当業者が一般的な回路を組み
合わせて実現できるものであり、ここでは、詳細な構成
は省略するが、例えば、ROMに9画素から出力される
信号の組み合わせに1ビットの出力を対応させて格納し
ておいてもよい。
The comparison unit 1 can be realized by a person skilled in the art by combining a general circuit. Although a detailed configuration is omitted here, for example, the comparison unit 1 is used for a combination of signals output from nine pixels in a ROM. Bit outputs may be stored in association with each other.

【0041】また、ここでは、スムージングの対象とな
る入力画像がCGである場合を想定し、下地の濃度が完
全に0であるとみなし、かつ、わずかでも画像濃度が傾
斜している場合には均一性なしとする比較部1の構成に
ついて述べたが、実際のCCD等で読み出した原稿画像
に対してこれらの処理を行う場合には、異なる構成とな
る。
Here, it is assumed that the input image to be smoothed is a CG image. It is assumed that the density of the background is completely 0 and that the image density is slightly inclined. The configuration of the comparison unit 1 without uniformity has been described. However, when these processes are performed on an original image read by an actual CCD or the like, the configuration is different.

【0042】図7は、原稿画像等のノイズを含む画像に
対して均一性を判定する場合の均一性判定回路205の
概略を示す図である。
FIG. 7 is a diagram schematically showing the uniformity judging circuit 205 for judging the uniformity of an image containing noise such as a document image.

【0043】外部機器201から入力された多値の画像
信号はラインバッファ301,302を用いてそれぞれ
1ライン分遅延保持され、比較回路303,304,3
05に出力される。比較回路303,304,305
は、所定の濃度以下の画素は濃度0と置き換えた後、濃
度が0以外の画素信号をそれぞれ主走査方向の3画素分
比較して、最大値及び最小値を抽出する。その結果は更
に比較回路306に入力され、副走査方向に3ライン分
比較して、注目画素に隣接する9画素領域の最大値及び
最小値を求める。次に加算器307でこの差を演算し、
濃度差信号308を得る。濃度差信号308は比較部4
00に入力され閾値Kとの比較を行う。閾値Kは均一と
認められる濃度の傾きの限界に設定されており、3×3
がその領域の中に閾値K以上の濃度の傾斜がある場合に
は、均一性なしと判断する。
The multi-valued image signal input from the external device 201 is held for one line by using the line buffers 301 and 302, respectively, and is held by the comparison circuits 303, 304 and 3 respectively.
05 is output. Comparison circuits 303, 304, 305
Extracts the maximum value and the minimum value by replacing pixels having a density equal to or lower than 0 with a density of 0, and comparing pixel signals having a density other than 0 with respect to three pixels in the main scanning direction. The result is further input to the comparison circuit 306, and three lines are compared in the sub-scanning direction to obtain the maximum value and the minimum value of a nine-pixel area adjacent to the pixel of interest. Next, this difference is calculated by the adder 307,
A density difference signal 308 is obtained. The density difference signal 308 is output from the comparator 4
00 and is compared with a threshold value K. The threshold value K is set to the limit of the density gradient recognized as uniform, and is set to 3 × 3
If there is a gradient of the density equal to or higher than the threshold K in the area, it is determined that there is no uniformity.

【0044】(パターンマッチング回路及びスムージン
グ回路)次に、パターンマッチング回路202の詳細に
ついて説明する。図8は、パターンマッチング回路20
2の詳細な構成を示すブロック図である。同図におい
て、801はラインメモリ、802はシフトレジスタ、
803は判定回路である。
(Pattern Matching Circuit and Smoothing Circuit) Next, details of the pattern matching circuit 202 will be described. FIG. 8 shows a pattern matching circuit 20.
2 is a block diagram showing a detailed configuration of FIG. In the figure, 801 is a line memory, 802 is a shift register,
803 is a determination circuit.

【0045】ここで、400DPIの画像信号が画像C
LKに同期して外部機器201から送られてくると、そ
の画像信号は逐次ラインメモリ801に記憶されると同
時に、ラインメモリ801の画像信号のうち主走査11
画素×副走査9画素の画素マトリックス情報としてシフ
トレジスタ802に取り出され、判定回路803に送ら
れ、その画素マトリックス情報の特徴が検出される。
Here, the image signal of 400 DPI corresponds to the image C
When the image signal is sent from the external device 201 in synchronization with the LK, the image signal is sequentially stored in the line memory 801 and at the same time, the main scanning 11
The data is taken out to the shift register 802 as pixel matrix information of nine pixels × 9 sub-scans, sent to the determination circuit 803, and the feature of the pixel matrix information is detected.

【0046】図9は、図8に示す判定回路303で行わ
れるパターンマッチングを説明するための図である。以
下、主走査11ドット、副走査9ドットのマトリックス
領域からマトリックス領域の全領域にわたってドットパ
ターンの特徴を抽出し、スムージング補間を行うべきド
ットパターンであるか否かを調べるためのアルゴリズム
について説明する。
FIG. 9 is a diagram for explaining the pattern matching performed by the determination circuit 303 shown in FIG. Hereinafter, an algorithm for extracting features of a dot pattern from a matrix area of 11 dots in the main scanning and 9 dots in the sub-scanning over the entire area of the matrix area and checking whether or not the dot pattern should be subjected to smoothing interpolation will be described.

【0047】図9に示す(a)は、主走査11画素×副
走査9画素の参照領域であり、主走査方向に対してa,
b,c,d,e,f,g,h,i,j,k、副走査方向
に対して1,2,3,4,5,6,7,8,9のマトリ
ックスで99個の各画素が表される。ここで、5fは中
心画素であり、この中心画素5fがスムージングのため
の変更対象画素である。図9に示す(b)は、図9の
(a)の参照領域をX1〜X8、Y1〜Y8、5fの1
7個の領域に分割したものである。ここで、X1は3
d,3e,3f,4d,4e,4f、領域X2は3f,
3g,3h,4f,4g,4h,領域X3は、6d,6
e,6f,7d,7e,7f、以下同様に図示したとお
りである。
FIG. 9A shows a reference area of 11 pixels in the main scanning direction and 9 pixels in the sub-scanning direction.
b, c, d, e, f, g, h, i, j, k, 99 matrixes of 1, 2, 3, 4, 5, 6, 7, 8, 9 in the sub-scanning direction Pixels are represented. Here, 5f is a center pixel, and this center pixel 5f is a change target pixel for smoothing. 9B shows the reference area of FIG. 9A as one of X1 to X8, Y1 to Y8, and 5f.
It is divided into seven regions. Here, X1 is 3
d, 3e, 3f, 4d, 4e, 4f, and the area X2 is 3f,
3g, 3h, 4f, 4g, 4h, area X3 is 6d, 6
e, 6f, 7d, 7e, 7f, and similarly as illustrated.

【0048】このように、各領域は6画素から成る8個
の領域(X1〜X8)と9画素から成る6個の領域(Y
1,Y3,Y4,Y5,Y7,Y8)と10画素から成
る2個の領域(Y2,Y6)と中心画素5fに分割する
ことができる。ここで、各領域の特徴をXn,Ynとし
て表し、各領域内の画素の濃度が全画素同じ場合は各領
域の特徴を”0”とし、各領域のドットが互いに異なる
場合には各領域の特徴を”1”とする。
As described above, each region has eight regions (X1 to X8) each including six pixels and six regions (Y each including nine pixels).
1, Y3, Y4, Y5, Y7, Y8) and two regions (Y2, Y6) each composed of 10 pixels and a central pixel 5f. Here, the characteristics of each region are represented as Xn and Yn. If the density of the pixels in each region is the same for all pixels, the characteristic of each region is set to “0”. The feature is “1”.

【0049】このようにして各々の領域の特徴としてX
1〜X8、Y1〜Y8、計16ビットの情報が得られ、
スムージング回路203に送られる。そして、得られた
パターン特徴に対していかなるスムージングを行えばよ
いかが判断される。このとき、解像度2倍としたうえ
で、各画素のドットが出力される。つまり、8ビットで
入力されてきた注目画素の濃度に対し、注目画素を2分
割したうえで分割された各画素にそれぞれどれだけドッ
トを打つかが8ビットずつ計16ビット出力される。こ
こでのスムージング回路には従来から用いられるいかな
る技術を応用してもよいが、パターン情報のみならず入
力される多値画像濃度にも対応してスムージングの補間
ドットを変更する必要があるため、入力画像濃度に対す
る補間ドットの比と、16ビットのパターン情報とが1
対1に対応していることが望ましい。
As described above, the characteristic of each area is X
1 to X8, Y1 to Y8, a total of 16 bits of information are obtained,
The signal is sent to the smoothing circuit 203. Then, it is determined what smoothing should be performed on the obtained pattern feature. At this time, the dot of each pixel is output after the resolution is doubled. That is, with respect to the density of the target pixel input in 8 bits, the target pixel is divided into two, and how many dots are to be printed on each of the divided pixels is output in 8 bits, that is, 16 bits in total. Any technology conventionally used may be applied to the smoothing circuit here, but it is necessary to change the smoothing interpolation dot in accordance with not only the pattern information but also the input multi-valued image density, The ratio of the interpolation dot to the input image density and the 16-bit pattern information are 1
It is desirable to correspond to one to one.

【0050】図10は、ラスタライズされた8ビット濃
度データの1画素幅のラインのスムージング補正の一例
を示す図である。この場合、256階調での濃度128
の画像(例えば薄いグレーの文字等)が入力された場合
について示している。図示するように、入力された画素
パターンに応じてスムージング補間が行われることで、
着目画素が倍の解像度に変換され、その補間データが多
値のデータに置き換えられる。
FIG. 10 is a diagram showing an example of smoothing correction of a line of one pixel width of rasterized 8-bit density data. In this case, the density 128 at 256 gradations
(For example, light gray characters) are input. As shown in the figure, by performing the smoothing interpolation according to the input pixel pattern,
The target pixel is converted to double resolution, and the interpolation data is replaced with multi-valued data.

【0051】(PWM制御部)次に、本実施形態におけ
るPWM制御部204の濃度再現法について説明する。
尚、本実施形態では、濃度再現のために従来より良く知
られているパルス幅変調(PWM)方式により半導体レ
ーザ113の点灯時間を画像の濃度信号に応じて制御す
るものである。これにより、半導体レーザ113の点灯
時間に応じた電位の静電潜像が感光ドラム117上に形
成される。そして、現像器119〜122で静電潜像の
電位に応じた量のトナーで潜像を現像することにより、
濃度再現が行われる。
(PWM Control Unit) Next, the density reproduction method of the PWM control unit 204 in this embodiment will be described.
In the present embodiment, the lighting time of the semiconductor laser 113 is controlled in accordance with a density signal of an image by a pulse width modulation (PWM) method well known in the art for density reproduction. As a result, an electrostatic latent image having a potential corresponding to the lighting time of the semiconductor laser 113 is formed on the photosensitive drum 117. Then, the developing devices 119 to 122 develop the latent image with toner of an amount corresponding to the potential of the electrostatic latent image,
Density reproduction is performed.

【0052】図11はこのPWM制御部の構成の概要を
示すブロック図である。図12は図11に記載のPWM
制御部での各信号のタイミングチャートである。
FIG. 11 is a block diagram showing an outline of the configuration of the PWM control unit. FIG. 12 shows the PWM shown in FIG.
5 is a timing chart of each signal in a control unit.

【0053】DA変換部501は画素クロック600に
応じてそれぞれの入力データをラッチして各データに応
じたアナログ信号に変換する。このクロックはレーザド
ライバ212で作られる。なお、このDA変換部501
はただデジタル信号をアナログ信号に変化させるだけで
はなく、以下のような処理を行う。
The DA converter 501 latches each input data according to the pixel clock 600 and converts it into an analog signal corresponding to each data. This clock is generated by the laser driver 212. Note that this DA converter 501
Not only converts digital signals to analog signals, but also performs the following processing.

【0054】まず、第1にパターンマッチング回路20
2からの解像度変換信号によりスムージング後の16ビ
ットの画像信号が入力されたと判断すると、16ビット
の入力画像信号を8ビットずつに分けて、アナログ化
し、2段階に出力する。このときの出力クロックの周波
数は、他の要素(パターンマッチング回路やスムージン
グ回路)での画素クロックの倍となっている。
First, the pattern matching circuit 20
If it is determined that the 16-bit image signal after smoothing is input based on the resolution conversion signal from 2, the 16-bit input image signal is divided into 8-bit units, analogized, and output in two stages. At this time, the frequency of the output clock is twice as high as the pixel clock of another element (pattern matching circuit or smoothing circuit).

【0055】第2に解像度変換信号により、スムージン
グされていない16ビットの信号(ここではスムージン
グ回路203において、同じ8ビットの入力画像信号を
2つつなげた16ビットの画像信号が出力されている)
から、8ビットの入力画像信号を抽出し、アナログ化し
て出力する。このときの、出力クロック周波数は他の要
素での画素クロックと同じである。
Second, a 16-bit signal that is not smoothed by the resolution conversion signal (here, a 16-bit image signal obtained by connecting the same 8-bit input image signal by two is output in the smoothing circuit 203).
, An 8-bit input image signal is extracted, converted into an analog signal, and output. The output clock frequency at this time is the same as the pixel clock of the other elements.

【0056】また、三角波発生部502は画素クロック
600に同期して、同じ周期の三角波(400DPI
用)と、画素クロック600の半分の周期の三角波(8
00DPI用)を両方出力し、これらの三角波は、バッ
ファアンプ503a,503bを経て、コンパレータ5
04a,504bにそれぞれ入力される(602,60
3)。バッファアンプ503a,503bは、コンパレ
ータ504a,504bのそれぞれの入力レンジ等に応
じて、三角波の振幅やオフセットを個別に調整すること
が出来る。
The triangular wave generator 502 synchronizes with the pixel clock 600 to generate a triangular wave (400 DPI) having the same cycle.
) And a triangular wave (8
00DPI), and these triangular waves are passed through buffer amplifiers 503a and 503b,
04a and 504b (602, 60
3). The buffer amplifiers 503a and 503b can individually adjust the amplitude and offset of the triangular wave according to the respective input ranges of the comparators 504a and 504b.

【0057】コンパレータ504a,504bはそれぞ
れ入力される三角波602,603と、DA変換器50
1の出力信号601とを比較し、その結果に応じたパル
ス信号604,605に変換する。それぞれのコンパレ
ータ出力はセレクタ505に入力されて解像度変換信号
に基づいて選択され、その結果が最終的なレーザ駆動信
号606とされる。
The comparators 504 a and 504 b respectively receive the input triangular waves 602 and 603 and the DA converter 50.
1 is converted to pulse signals 604 and 605 according to the result. Each comparator output is input to the selector 505 and selected based on the resolution conversion signal, and the result is used as the final laser drive signal 606.

【0058】800線での濃度再現と400線での濃度
再現を比べた場合、400線のほうが濃度再現のための
最小単位が63.5μmと800線の倍であるため、階
調再現性が良い。よって、均一性を有しない(階調を有
する)画像の場合には適している。逆に、31.75μ
m単位で濃度を再現する800線のほうが、均一性を有
する文字等の高解像度画像記録に適している。
When the density reproduction at 800 lines and the density reproduction at 400 lines are compared, the minimum unit for density reproduction of 400 lines is 63.5 μm, which is twice that of 800 lines. good. Therefore, it is suitable for an image having no uniformity (having a gradation). Conversely, 31.75μ
800 lines that reproduce the density in m units are more suitable for recording high-resolution images of characters and the like having uniformity.

【0059】このように400線のPWM記録は階調再
現に適し、800線のPWM記録は解像度の点で優れて
いるため、パターンマッチングしたかどうかによって4
00線のPWMと800線のPWMの切り換えを行うよ
うにしている。
As described above, the 400-line PWM recording is suitable for gradation reproduction, and the 800-line PWM recording is superior in terms of resolution.
The switching between the PWM of the 00 line and the PWM of the 800 line is performed.

【0060】このための信号が解像度変換信号であり、
画像処理部109から400DPIの画像信号に同期し
て画素単位にレーザドライバに入力される。
The signal for this is a resolution conversion signal,
The image data is input from the image processing unit 109 to the laser driver in pixel units in synchronization with the 400 DPI image signal.

【0061】解像度変換信号がLレベルの場合には80
0線のPWM出力が選択され、Hレベルの場合には40
0線のPWM出力が選択される。
When the resolution conversion signal is at L level, 80
The PWM output of line 0 is selected, and when it is at H level, 40
The PWM output of line 0 is selected.

【0062】(全体の流れとその効果)以上に示した処
理によるスムージングの結果、図13に示す多値画像デ
ータとしてのKの文字は、図14のようになる(網掛け
の部分に補間ドットが形成される)。
(Overall Flow and Its Effect) As a result of the smoothing by the processing described above, the character of K as the multi-valued image data shown in FIG. 13 becomes as shown in FIG. Is formed).

【0063】尚、上述のパターンマッチングにおける所
定のパターンは、スムージング補間に適したものであれ
ば良く、また置換される補間データについても図10に
示すものに限らないことは言うまでもない。
The predetermined pattern in the above-described pattern matching may be any pattern suitable for smoothing interpolation, and it goes without saying that the interpolation data to be replaced is not limited to that shown in FIG.

【0064】なお、パターンマッチングにおいて、どの
ようなパターンにどのような補間を対応させるかの対応
表を記憶媒体によって外部記憶装置から入力することも
可能である。
In the pattern matching, it is also possible to input a correspondence table indicating what kind of pattern corresponds to which kind of interpolation from an external storage device using a storage medium.

【0065】また、上述の実施形態では、画像の特性に
応じてパターンマッチングを行った結果、解像度を変換
する際に、読み取りの倍の解像度で濃度補間を行ってい
るが、より解像度を高めてギザギザ感を除去するため、
N倍(Nは自然数)の解像度でデータを補間することも
可能である。
In the above-described embodiment, as a result of performing pattern matching in accordance with the characteristics of the image, when the resolution is converted, the density interpolation is performed at twice the resolution of the reading. To remove jaggedness,
It is also possible to interpolate data at a resolution of N times (N is a natural number).

【0066】以上説明したように、本実施形態によれ
ば、外部機器から入力された画像信号について、階調を
優先すべきか、解像度を優先すべきかを判断したうえ
で、多値のスムージング補間を実施するので、階調性と
解像度とのバランスのとれた画像出力が可能となる。
As described above, according to the present embodiment, it is determined whether to prioritize gradation or resolution for an image signal input from an external device, and then multi-value smoothing interpolation is performed. As a result, it is possible to output an image with a good balance between gradation and resolution.

【0067】[他の実施形態]尚、本発明は複数の機器
(例えば、ホストコンピュータ,インタフェイス機器,
リーダ,プリンタなど)から構成されるシステムに適用
しても、一つの機器からなる装置(例えば、複写機,フ
ァクシミリ装置など)に適用してもよい。
[Other Embodiments] The present invention relates to a plurality of devices (for example, a host computer, an interface device,
The present invention may be applied to a system including a reader, a printer, or the like, or may be applied to an apparatus (for example, a copying machine, a facsimile machine, or the like) including one device.

【0068】また、本発明の目的は前述した実施形態の
機能を実現するソフトウェアのプログラムコードを記録
した記憶媒体を、システム或いは装置に供給し、そのシ
ステム或いは装置のコンピュータ(CPU若しくはMP
U)が記憶媒体に格納されたプログラムコードを読出し
実行することによっても、達成されることは言うまでも
ない。
Further, an object of the present invention is to supply a storage medium storing a program code of software for realizing the functions of the above-described embodiments to a system or an apparatus, and to provide a computer (CPU or MP) of the system or apparatus.
It goes without saying that U) can also be achieved by reading and executing the program code stored in the storage medium.

【0069】この場合、記憶媒体から読出されたプログ
ラムコード自体が前述した実施形態の機能を実現するこ
とになり、そのプログラムコードを記憶した記憶媒体は
本発明を構成することになる。
In this case, the program code itself read from the storage medium realizes the functions of the above-described embodiment, and the storage medium storing the program code constitutes the present invention.

【0070】プログラムコードを供給するための記憶媒
体としては、例えばフロッピーディスク,ハードディス
ク,光ディスク,光磁気ディスク,CD−ROM,CD
−R,磁気テープ,不揮発性のメモリカード,ROMな
どを用いることができる。
As a storage medium for supplying the program code, for example, a floppy disk, hard disk, optical disk, magneto-optical disk, CD-ROM, CD
-R, a magnetic tape, a nonvolatile memory card, a ROM, or the like can be used.

【0071】また、コンピュータが読出したプログラム
コードを実行することにより、前述した実施形態の機能
が実現されるだけでなく、そのプログラムコードの指示
に基づき、コンピュータ上で稼働しているOS(オペレ
ーティングシステム)などが実際の処理の一部又は全部
を行い、その処理によって前述した実施形態の機能が実
現される場合も含まれることは言うまでもない。
When the computer executes the readout program code, not only the functions of the above-described embodiment are realized, but also the OS (Operating System) running on the computer based on the instruction of the program code. ) May perform some or all of the actual processing, and the processing may realize the functions of the above-described embodiments.

【0072】更に、記憶媒体から読出されたプログラム
コードが、コンピュータに挿入された機能拡張ボードや
コンピュータに接続された機能拡張ユニットに備わるメ
モリに書込まれた後、そのプログラムコードの指示に基
づき、その機能拡張ボードや機能拡張ユニットに備わる
CPUなどが実際の処理の一部又は全部を行い、その処
理によって前述した実施形態の機能が実現される場合も
含まれることは言うまでもない。
Further, after the program code read from the storage medium is written into a memory provided in a function expansion board inserted into the computer or a function expansion unit connected to the computer, based on the instruction of the program code, It goes without saying that the CPU included in the function expansion board or the function expansion unit performs part or all of the actual processing, and the functions of the above-described embodiments are realized by the processing.

【0073】本発明を上記記憶媒体に適用する場合、そ
の記憶媒体には、図15に示すフローチャートに対応す
るプログラムコードを格納することになる。即ち、所定
領域の下地以外の画像の濃度が均一か否かを判断するス
テップ(S701)と、ステップS701で均一と判断
された場合に2値化を行うステップ(S702)と、2
値化画像のパターンを抽出するステップ(S703)
と、抽出されたパターンに合わせてスムージングを行う
ステップ(S704)と、スムージング後の画像を高解
像度化して出力するステップ(S705)と、ステップ
S701で均一性なしとの判断をされた場合に2値化及
びパターンマッチングを行うことなく低解像度のまま出
力するステップ(S706)と、を含むプログラムであ
る。この中でも、少なくとも多値画像のうち、注目画素
を含む領域の画像濃度の傾斜が所定範囲にあるか否かを
判定する「均一性判定モジュール」と、「均一性判定モ
ジュール」により、画像濃度の傾斜が所定範囲にあると
判定された場合に注目画素データに対しスムージング処
理を行い、出力する「スムージングモジュール」の各モ
ジュールのプログラムコードを記憶媒体に格納すればよ
い。
When the present invention is applied to the storage medium, the storage medium stores program codes corresponding to the flowchart shown in FIG. That is, a step (S701) of determining whether or not the density of an image other than the background of the predetermined area is uniform, and a step of performing binarization (S702) when it is determined that the image is uniform in step S701.
Step of extracting the pattern of the binarized image (S703)
A step of performing smoothing in accordance with the extracted pattern (S704), a step of increasing the resolution of the image after smoothing and outputting the image (S705), and a step 2 in which it is determined in step S701 that there is no uniformity. (S706) outputting without changing the resolution without performing value conversion and pattern matching. Among them, at least a multi-valued image includes a “uniformity determination module” that determines whether the gradient of the image density of a region including the pixel of interest is within a predetermined range, and a “uniformity determination module”. When it is determined that the inclination is within the predetermined range, the smoothing process is performed on the target pixel data, and the program code of each module of the “smoothing module” to be output may be stored in the storage medium.

【0074】そして、このようなプログラムを実行可能
なハードウェアとしては、図16に示すものが挙げられ
る。
FIG. 16 shows an example of hardware capable of executing such a program.

【0075】901は、本装置全体を制御する演算・制
御用のCPU、902は、CPU901で実行するプロ
グラムや固定値等を格納するROMである。904は、
一時記憶用のRAMであり、ロードされるプログラムを
一時的に格納するプログラムロード領域904aや、画
像をページ単位で一時保存するページメモリ904b等
を含む。905は上記プログラムを格納した記憶装置で
あり、903は、画像処理された画像をプリントするプ
リント部である。
Reference numeral 901 denotes an arithmetic and control CPU for controlling the entire apparatus, and reference numeral 902 denotes a ROM for storing programs executed by the CPU 901 and fixed values. 904 is
It is a RAM for temporary storage and includes a program load area 904a for temporarily storing a program to be loaded, a page memory 904b for temporarily storing images in page units, and the like. Reference numeral 905 denotes a storage device that stores the program, and reference numeral 903 denotes a printing unit that prints an image that has been subjected to image processing.

【0076】906は、装置外部との間で画像データを
入出力する入出力インタフェース(I/O)であり、こ
のI/Oを介して、読取装置907や、PC908との
間での画像データのやり取りを行う。
Reference numeral 906 denotes an input / output interface (I / O) for inputting / outputting image data to / from the outside of the apparatus, and via this I / O, image data to / from the reading device 907 and the PC 908. Exchanges.

【0077】例えば、外部のPC908からページ単位
で送られてきた8ビット画像データは、ページメモリ9
04bに格納される。記憶装置905から読み出され、
プログラムロード領域904aに一時的に格納された上
記プログラムが、CPU901に実行されることによ
り、ページメモリ904bの画像は所定の処理を経てプ
リント部903に出力される。プリント部903は、入
力した画像データに応じてレーザを駆動させ、感光体上
に静電潜像をつくり、トナー画像を形成させ、記録材上
に転写する。
For example, 8-bit image data sent from the external PC 908 in page units is stored in the page memory 9.
04b. Read from the storage device 905,
When the CPU 901 executes the program temporarily stored in the program load area 904a, the image in the page memory 904b is output to the print unit 903 through a predetermined process. The printing unit 903 drives a laser according to the input image data to form an electrostatic latent image on a photoconductor, form a toner image, and transfer the toner image onto a recording material.

【0078】[0078]

【発明の効果】以上説明したように、本発明によれば滑
らかな文字や図形と階調性に優れた画像の両方を出力可
能な画像処理方法及び画像処理装置を提供することがで
きる。
As described above, according to the present invention, it is possible to provide an image processing method and an image processing apparatus capable of outputting both smooth characters and graphics and an image having excellent gradation.

【0079】[0079]

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

【図1】本発明の好適な実施形態におけるカラー複写機
の概略構成を示す断面図である。
FIG. 1 is a sectional view showing a schematic configuration of a color copying machine according to a preferred embodiment of the present invention.

【図2】本発明の好適な実施形態におけるCCD110
を示す外観斜視図である。
FIG. 2 shows a CCD 110 according to a preferred embodiment of the present invention.
FIG.

【図3】図2に示したCCD110の断面図である。FIG. 3 is a cross-sectional view of the CCD 110 shown in FIG.

【図4】図2に示したCCD110の受光素子を拡大し
た図である。
FIG. 4 is an enlarged view of a light receiving element of the CCD 110 shown in FIG.

【図5】本発明の好適な実施形態における画像処理を説
明するためのブロック図である。
FIG. 5 is a block diagram illustrating image processing according to a preferred embodiment of the present invention.

【図6】本発明の好適な実施形態における均一性判定回
路を説明するための図である。
FIG. 6 is a diagram for explaining a uniformity determination circuit according to a preferred embodiment of the present invention.

【図7】本発明の好適な実施形態における均一性判定回
路の図6以外の例の概略を示す図である。
FIG. 7 is a diagram schematically illustrating an example other than FIG. 6 of the uniformity determination circuit according to the preferred embodiment of the present invention;

【図8】本発明の好適な実施形態におけるパターンマッ
チング回路の詳細な構成を示すブロック図である。
FIG. 8 is a block diagram showing a detailed configuration of a pattern matching circuit according to a preferred embodiment of the present invention.

【図9】図8に示す判定回路303で行われるパターン
マッチングを説明するための図である。
9 is a diagram for explaining pattern matching performed by a determination circuit 303 shown in FIG.

【図10】本発明の好適な実施形態によってラスタライ
ズされた8ビット濃度データの1画素幅のラインのスム
ージング補正の一例を示す図である。
FIG. 10 is a diagram showing an example of smoothing correction of a line of one pixel width of 8-bit density data rasterized according to the preferred embodiment of the present invention.

【図11】本発明の好適な実施形態におけるPWM制御
部の構成の概要を示すブロック図である。
FIG. 11 is a block diagram illustrating an outline of a configuration of a PWM control unit according to a preferred embodiment of the present invention.

【図12】図11に記載のPWM制御部での各信号のタ
イミングチャートである。
12 is a timing chart of each signal in the PWM control unit shown in FIG.

【図13】本発明の好適な実施形態によるスムージング
処理について説明するための図である。
FIG. 13 is a diagram illustrating a smoothing process according to a preferred embodiment of the present invention.

【図14】本発明の好適な実施形態によるスムージング
処理について説明するための図である。
FIG. 14 is a diagram illustrating a smoothing process according to a preferred embodiment of the present invention.

【図15】本発明に係る画像処理方法をソフトウェアに
よって実現する場合の処理の流れを説明するフローチャ
ートである。
FIG. 15 is a flowchart illustrating a processing flow when the image processing method according to the present invention is implemented by software.

【図16】本発明に係る画像処理方法をソフトウェアに
よって実現するための画像処理装置のハードウエア構成
例を示す図である。
FIG. 16 is a diagram showing an example of a hardware configuration of an image processing apparatus for realizing the image processing method according to the present invention by software.

Claims (7)

【特許請求の範囲】[Claims] 【請求項1】多値画像の輪郭をスムージングする画像処
理方法であって、 前記多値画像のうち、注目画素を含む領域の画像濃度の
傾斜が所定範囲にあるか否かを判定する均一性判定工程
と、 前記均一性判定工程により、前記傾斜が所定範囲にある
と判定された場合に注目画素データに対しスムージング
処理を行い、出力するスムージング工程と、 を含むことを特徴とする画像処理方法。
1. An image processing method for smoothing a contour of a multi-valued image, comprising: determining whether an image density gradient of a region including a pixel of interest in the multi-valued image is within a predetermined range. A smoothing step of performing a smoothing process on the pixel data of interest when the inclination is determined to be within a predetermined range in the uniformity determining step, and outputting the smoothed image data. .
【請求項2】前記スムージング工程は、 前記多値画像を2値化する2値化工程と、 前記2値化工程により2値化された画像データを用いて
画像の輪郭部を検出する輪郭抽出工程と、 前記輪郭抽出工程によって抽出された輪郭部における位
置と、前記2値化工程で2値化される前の多値画像デー
タと、に基づいて注目画素の画像データを多値化する多
値化工程と、 を含むことを特徴とする請求項1に記載の画像処理方
法。
2. The smoothing step includes: a binarizing step of binarizing the multi-valued image; and a contour extracting step of detecting a contour part of the image using the image data binarized by the binarizing step. A step of multiplying the image data of the pixel of interest based on the position in the contour portion extracted in the contour extraction step and the multi-valued image data before being binarized in the binarization step. The image processing method according to claim 1, further comprising: a value conversion step.
【請求項3】前記多値化工程は、注目画素を高解像度化
する高解像度化工程を更に含むことを特徴とする請求項
2に記載の画像処理方法。
3. The image processing method according to claim 2, wherein the multi-value conversion step further includes a resolution increasing step of increasing the resolution of the pixel of interest.
【請求項4】多値画像の輪郭をスムージングする画像処
理装置であって、 前記多値画像のうち、注目画素を含む領域の画像濃度の
傾斜が所定範囲にあるか否かを判定する均一性判定手段
と、 前記均一性判定手段により、前記傾斜が所定範囲にある
と判定された場合に注目画素データに対しスムージング
処理を行い、出力するスムージング手段と、 を含むことを特徴とする画像処理装置。
4. An image processing apparatus for smoothing a contour of a multi-valued image, wherein uniformity for determining whether an image density gradient of a region including a pixel of interest in the multi-valued image is within a predetermined range. An image processing apparatus comprising: a determination unit; and a smoothing unit that performs a smoothing process on the pixel data of interest when the uniformity determination unit determines that the inclination is within a predetermined range, and outputs the pixel data. .
【請求項5】前記スムージング手段は、 前記多値画像を2値化する2値化手段と、 前記2値化手段により二値化された画像データを用いて
画像の輪郭部を検出する輪郭抽出手段と、 前記輪郭抽出手段によって抽出された輪郭部における位
置と、前記2値化手段で2値化される前の多値画像デー
タと、に基づいて注目画素の画像データを多値化する多
値化手段と、 を含むことを特徴とする請求項4に記載の画像処理装
置。
5. The smoothing means includes: a binarizing means for binarizing the multi-valued image; and a contour extracting means for detecting a contour part of the image using the image data binarized by the binarizing means. Means for multi-valued image data of the pixel of interest based on the position in the contour portion extracted by the contour extraction means and multi-valued image data before being binarized by the binarization means. The image processing apparatus according to claim 4, further comprising: a value conversion unit.
【請求項6】前記多値化手段は、注目画素を高解像度化
する高解像度化手段を更に含むことを特徴とする請求項
5に記載の画像処理装置。
6. The image processing apparatus according to claim 5, wherein said multi-level converting means further includes a resolution increasing means for increasing the resolution of the pixel of interest.
【請求項7】多値画像の輪郭をスムージングするプログ
ラムモジュールを格納したコンピュータ可読メモリであ
って、 前記多値画像のうち、注目画素を含む領域の画像濃度の
傾斜が所定範囲にあるか否かを判定する均一性判定工程
のプログラムモジュールと、 前記均一性判定工程により、前記傾斜が所定範囲にある
と判定された場合に注目画素データに対しスムージング
処理を行い、出力するスムージング工程のプログラムモ
ジュールと、 を記憶することを特徴とするコンピュータ可読メモリ。
7. A computer-readable memory storing a program module for smoothing an outline of a multi-valued image, wherein a gradient of an image density of a region including a pixel of interest in the multi-valued image is within a predetermined range. A program module of a uniformity determination step of determining, and a program module of a smoothing step of performing a smoothing process on the pixel data of interest when the inclination is determined to be within a predetermined range, and outputting the result. A computer readable memory, which stores:
JP10133981A 1998-05-15 1998-05-15 Image processing method and image processing unit Pending JPH11331603A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10133981A JPH11331603A (en) 1998-05-15 1998-05-15 Image processing method and image processing unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10133981A JPH11331603A (en) 1998-05-15 1998-05-15 Image processing method and image processing unit

Publications (1)

Publication Number Publication Date
JPH11331603A true JPH11331603A (en) 1999-11-30

Family

ID=15117609

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10133981A Pending JPH11331603A (en) 1998-05-15 1998-05-15 Image processing method and image processing unit

Country Status (1)

Country Link
JP (1) JPH11331603A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010252194A (en) * 2009-04-17 2010-11-04 Canon Inc Image processing apparatus and image processing method
JP2014068082A (en) * 2012-09-24 2014-04-17 Kyocera Document Solutions Inc Image forming apparatus
KR20160071323A (en) * 2014-12-11 2016-06-21 캐논 가부시끼가이샤 Image processing apparatus, image processing method, and storage medium

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010252194A (en) * 2009-04-17 2010-11-04 Canon Inc Image processing apparatus and image processing method
CN103347140A (en) * 2009-04-17 2013-10-09 佳能株式会社 Image processing apparatus and image processing method
US8619328B2 (en) 2009-04-17 2013-12-31 Canon Kabushiki Kaisha Image processing apparatus and image processing method
CN103347140B (en) * 2009-04-17 2016-02-17 佳能株式会社 Image processing apparatus and image processing method
JP2014068082A (en) * 2012-09-24 2014-04-17 Kyocera Document Solutions Inc Image forming apparatus
KR20160071323A (en) * 2014-12-11 2016-06-21 캐논 가부시끼가이샤 Image processing apparatus, image processing method, and storage medium
JP2016115963A (en) * 2014-12-11 2016-06-23 キヤノン株式会社 Image processing apparatus, image processing method and program
US9716810B2 (en) 2014-12-11 2017-07-25 Canon Kabushiki Kaisha Image processing apparatus configured to perform smoothing based on analysis of PDL data, and storage medium storing program therefor

Similar Documents

Publication Publication Date Title
US6504949B2 (en) Image processing apparatus and method
US7916352B2 (en) Image processing apparatus, image processing method, program, and recording medium
US20020067509A1 (en) Method, apparatus and system for dynamic switching of image processing techniques
KR100869284B1 (en) Image processing apparatus and image processing method
JPH11331603A (en) Image processing method and image processing unit
US6341019B1 (en) Method and apparatus for processing an image
JP3880248B2 (en) Image processing apparatus, image processing method, and storage medium
JP4217302B2 (en) Image processing apparatus and image processing method
JPH10278347A (en) Image processor and processing method
JP4574070B2 (en) Image processing apparatus and control method thereof
JP4471324B2 (en) Image processing apparatus and control method thereof
JP3353078B2 (en) Image processing apparatus and method
JP3715747B2 (en) Image processing apparatus and image processing method
JPH1169163A (en) Image processor and image processing method
JPH11136518A (en) Processor and method for image processing
JPH1117947A (en) Image forming method and device
JP3679539B2 (en) Image processing apparatus and image processing method
JPH0951425A (en) Image processing unit and method therefor
JPH04268867A (en) Information recording device
JP2000175045A (en) Image processor and its control method
JP2009134583A (en) Image forming apparatus, image forming method, computer program and recording medium
JPH1188653A (en) Image-processing unit, method therefor and storage medium
JP2000134491A (en) Image processor and its control method, and storage medium
JPH10100481A (en) Image processor and processing method
JPH03222576A (en) Color picture recording device

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20060407

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060414

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060607

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20061225

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070223

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20070601

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070801

A911 Transfer of reconsideration by examiner before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20070813

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070831