JPH08156326A - Device and method for processing image - Google Patents

Device and method for processing image

Info

Publication number
JPH08156326A
JPH08156326A JP6295280A JP29528094A JPH08156326A JP H08156326 A JPH08156326 A JP H08156326A JP 6295280 A JP6295280 A JP 6295280A JP 29528094 A JP29528094 A JP 29528094A JP H08156326 A JPH08156326 A JP H08156326A
Authority
JP
Japan
Prior art keywords
scaling
smoothing
data
image
replacement data
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.)
Withdrawn
Application number
JP6295280A
Other languages
Japanese (ja)
Inventor
Izuru Horiuchi
出 堀内
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 JP6295280A priority Critical patent/JPH08156326A/en
Publication of JPH08156326A publication Critical patent/JPH08156326A/en
Withdrawn legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T3/00Geometric image transformations in the plane of the image
    • G06T3/40Scaling of whole images or parts thereof, e.g. expanding or contracting
    • G06T3/403Edge-driven scaling; Edge-based scaling

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Controls And Circuits For Display Device (AREA)
  • Dot-Matrix Printers And Others (AREA)
  • Laser Beam Printer (AREA)
  • Image Processing (AREA)
  • Facsimile Image Signal Circuits (AREA)

Abstract

PURPOSE: To provide excellent images having smooth outlines also in character images with output resolution fully utilized, regardless of resolution of an original image data. CONSTITUTION: A smoothing means 1 for substituting an input data so as to smooth an edge of a processing image data, a plurality of substitution data tables 3-5 which previously hold a substitution data for referring in smoothing processing at the smoothing means 1, a scaling means 2 for scaling an image signal from the smoothing means 1, and a scaling factor setting means 6 for setting a scaling factor of the scaling means 2 are provided. Accordance to the scaling factor of the scaling means 2, an optimal substitution data table is made accessible from the smoothing means 1, and the substitution data of the smoothing means 1 is switched.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は画像処理装置及び方法に
関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image processing apparatus and method.

【0002】[0002]

【従来の技術】近年、事務機の分野において、プリン
タ、ファクシミリ装置(FAX)、ディジタル複写機、
電子ファイル装置などの、複合化や、ネットワーク化が
進んでいる。この様なシステムにおいては、異なる階調
数や、異なる解像度の画像情報データが混在するため、
各機器間での、解像度変換や、階調数の変換が必要であ
る。例えば、レーザービームプリンタ(LBP)やファ
クシミリ装置などの階調数は2値であり、ディジタル複
写機における階調数は多値である。実際にはこのほか各
事務機器の種々の規格や、ディジタル処理技術や電子写
真プロセスの向上による高解像度化などの理由で、多数
の解像度が存在し、接続する機器同士異なる事がほとん
どである。
2. Description of the Related Art Recently, in the field of office machines, printers, facsimile machines (FAX), digital copying machines,
Electronic file devices, etc. are being integrated and networked. In such a system, image information data with different numbers of gradations and different resolutions are mixed,
It is necessary to convert the resolution and the number of gradations between each device. For example, the number of gradations of a laser beam printer (LBP) or a facsimile machine is binary, and the number of gradations in a digital copying machine is multivalued. Actually, in addition to this, due to various standards of each office equipment and high resolution due to improvement of digital processing technology and electrophotographic process, there are many resolutions, and the connected equipments are different from each other in most cases.

【0003】ところで、上述したようにLBP、FAX
などは、2値の画像データを扱うために、文字画像など
の輪郭にジャギーが発生する。このジャギーを消すため
に一般にスムージング処理が用いられる。図3に、一般
的なスムージング処理による効果を示す。図3の(a)が
スムージング処理実行前の状態を、図3の(b)がスム
ージング処理実行後の状態を示している。図3に示すス
ムージング処理においては、図7に示すように、白また
は黒の1画素を、白、黒、または中間レベルの1画素に
変換し、入力画像と同数の(等倍の)画素データとして
出力している。
By the way, as described above, LBP, FAX
And the like handle binary image data, and thus jaggies occur in the contour of a character image or the like. A smoothing process is generally used to eliminate this jaggy. FIG. 3 shows the effect of general smoothing processing. 3A shows the state before the smoothing process is executed, and FIG. 3B shows the state after the smoothing process is executed. In the smoothing process shown in FIG. 3, as shown in FIG. 7, one pixel of white or black is converted into one pixel of white, black, or an intermediate level, and the same number (pixel size) of pixel data as the input image is obtained. Is output as.

【0004】また、システム化により、LBP、FAX
などの2値画像をディジタル複写機から出力する場合、
変倍処理によって解像度変換をするだけでなく、同時に
必要な変倍処理を行っている。 図5のブロック図に示
すように、入力画像である2値画像をスムージング手段
11で例えば上述した図7に示すように置換テーブル1
5に登録されている置換データで置き換えることによる
スムージング処理をした後に、変倍手段12が変倍率設
定手段20の設定した変倍率でそれぞれの入力からの画
像データをディジタル複写機の解像度に合うように変倍
処理をする。
Also, due to systematization, LBP, FAX
When outputting a binary image such as
Not only the resolution conversion is performed by the scaling process, but also the required scaling process is performed at the same time. As shown in the block diagram of FIG. 5, the smoothing means 11 converts the binary image which is the input image into the replacement table 1 as shown in FIG.
After performing the smoothing process by replacing with the replacement data registered in 5, the scaling means 12 adjusts the image data from each input to the resolution of the digital copying machine at the scaling ratio set by the scaling ratio setting means 20. Magnification processing is performed.

【0005】図11に従来の図3(b)のスムージング
処理後の画像に対して変倍処理を実行した結果を示す。
図11は約(4/3)倍の変倍を行った例を示してい
る。以上、述べたような解像度変換技術により、LB
P、FAXなどの画像データをディジタル複写機から出
力してもジャギーの少ない良好な画質を得るようにして
いる。
FIG. 11 shows the result of performing the scaling processing on the image after the smoothing processing of the conventional FIG. 3 (b).
FIG. 11 shows an example in which the magnification is changed by about (4/3) times. With the resolution conversion technique described above, the LB
Even if image data such as P and FAX is output from a digital copying machine, a good image quality with little jaggies is obtained.

【0006】[0006]

【発明が解決しようとする課題】しかしながら、上述し
た従来例において、入力画像の解像度が出力系に対して
比較的低い場合には、スムージングした後の画像データ
の斜め方向の高周波の帯域が十分に広くないために出力
系の解像度に見合うだけの十分に滑らかな曲線の表現が
できなかった。
However, in the above-described conventional example, when the resolution of the input image is relatively low with respect to the output system, the diagonal high frequency band of the smoothed image data is sufficiently large. Since it was not wide, it was not possible to express a curve that was smooth enough to match the resolution of the output system.

【0007】図9は図3の(b)に示すスムージング処
理後の画像に対して2倍近い変倍率で変倍した結果を示
す画像であり、約4/3倍に変倍した図11の画像に比
べ、十分なスムージング効果が得られていない様子を示
している。図3に示すスムージング処理において、置換
データテーブル15の登録置換データを図7に示す置換
データにより置換せずに図10に示す1画素を適切な画
素濃度の複数画素に置き換る置換データにより置換する
ことによりスムージング処理を実行するようにすれば、
画像データに十分な斜め方向の高周波成分を加える事が
出来る。しかしながら、図10に示す置換データで変換
を行なっても、従来のこの種の装置が図5に示すよう
に、ただ一つの置換データテーブル15を用いているた
めに、どうしても入出力の解像度の比に応じた適切なス
ムージング処理が出来ないという問題があった。
FIG. 9 is an image showing a result of scaling the image after the smoothing processing shown in FIG. 3 (b) by a scaling factor close to 2 times. It shows that a sufficient smoothing effect is not obtained compared to the image. In the smoothing processing shown in FIG. 3, the registered replacement data in the replacement data table 15 is not replaced with the replacement data shown in FIG. 7, but one pixel shown in FIG. 10 is replaced with replacement data that replaces a plurality of pixels with an appropriate pixel density. By performing the smoothing process by doing
It is possible to add sufficient diagonal high frequency components to the image data. However, even if conversion is performed using the replacement data shown in FIG. 10, the conventional device of this type uses only one replacement data table 15 as shown in FIG. There was a problem that an appropriate smoothing process could not be performed according to the above.

【0008】[0008]

【課題を解決するための手段】本発明は上述した課題を
解決することを目的としてなされたもので、上述の課題
を解決する一手段として以下の構成を備える。即ち、処
理画像データのエッジを滑らかにする様に入力データを
置換するスムージング手段と、前記スムージング手段よ
りの画像信号を変倍する変倍手段と、前記変倍手段の変
倍率を設定する変倍率設定手段と、前記変倍手段の変倍
率に応じて前記スムージング手段の置換データを切り替
える切替手段とを備えることを特徴とする。
The present invention has been made for the purpose of solving the above-mentioned problems, and has the following structure as one means for solving the above-mentioned problems. That is, smoothing means for replacing the input data so as to smooth the edges of the processed image data, scaling means for scaling the image signal from the smoothing means, and scaling factor for setting the scaling factor of the scaling means. It is characterized by further comprising setting means and switching means for switching the replacement data of the smoothing means in accordance with the scaling ratio of the scaling means.

【0009】また、処理画像データのエッジを滑らかに
する様に入力データを置換するスムージング手段と、少
なくとも2つ以上の動作モードを有し前記スムージング
手段よりの画像信号をそれぞれ動作モードに応じた変倍
率で変倍する変倍手段と、前記変倍手段の動作モードに
応じて変倍率を設定する変倍率設定手段と、前記変倍手
段の変倍率に応じて前記スムージング手段の置換データ
を切り替える切替手段とを備えることを特徴とする。
Further, smoothing means for replacing the input data so as to smooth the edges of the processed image data, and at least two or more operation modes, the image signals from the smoothing means are changed according to the operation mode. Magnification changing means for changing the magnification according to the magnification, magnification changing means for setting the magnification according to the operation mode of the magnification changing means, and switching for switching the replacement data of the smoothing means according to the magnification changing of the magnification changing means And means.

【0010】そして例えば、前記スムージング手段の少
なくとも一部の置換データは演算によって求められるこ
とを特徴とする。あるいは、前記スムージング手段の少
なくとも一部の置換データは予め用意されたテーブルに
よって求めることを特徴とする。
Further, for example, at least a part of the replacement data of the smoothing means is obtained by calculation. Alternatively, the replacement data of at least part of the smoothing means is obtained by a table prepared in advance.

【0011】[0011]

【作用】以上の構成において、元の画像データの解像度
に関わらず、出力系の解像度を十分に生かした文字画像
などにおいても輪郭が滑らかな良好な画像を提供するこ
とができる。
With the above construction, it is possible to provide a good image having a smooth contour even in a character image or the like which makes full use of the resolution of the output system, regardless of the resolution of the original image data.

【0012】[0012]

【実施例】以下、図面を参照して本発明に係る一実施例
を詳細に説明する。本実施例におけるスムージング処理
及び変倍処理の概略を図2を参照して以下に説明する。
図2において、3〜5は夫々異なる置換データが登録さ
れている置換データテーブル1〜3であり、変倍率設定
手段6の設定する変倍率に従って最適の置換データテー
ブルを選択してスムージング手段1に供給可能とする。
即ち、複数のスムージング処理用の置換データテーブル
の中から、解像度比に応じてセレクタを制御して適切な
置換データテーブルからスムージング手段に置換データ
を供給している。また、変倍手段2は変倍率設定手段の
設定倍率に従ってスムージング処理が終了したデータに
対して変倍処理を行う。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment according to the present invention will be described in detail below with reference to the drawings. The outline of the smoothing processing and the scaling processing in this embodiment will be described below with reference to FIG.
In FIG. 2, reference numerals 3 to 5 are replacement data tables 1 to 3 in which different replacement data are respectively registered. The optimum replacement data table is selected according to the scaling ratio set by the scaling ratio setting means 6 and the smoothing means 1 is selected. It can be supplied.
That is, the replacement data is supplied from the appropriate replacement data table to the smoothing means by controlling the selector according to the resolution ratio among the plurality of replacement data tables for smoothing processing. The scaling means 2 also performs scaling processing on the data for which smoothing processing has been completed according to the scaling ratio set by the scaling ratio setting means.

【0013】本実施例においては、上述したように各解
像度比に応じた複数の置換データテーブルを備えている
ことにより、、元の画像データの解像度に関わらず、出
力系の解像度を十分に生かした文字画像などにおいても
輪郭が滑らかな良好な画像を提供することができる。な
お、図2では置換データテーブルとして3つのデータテ
ーブルを備える場合を例に説明したが、本発明は以上の
例に限定されるものではなく、必要に応じてさらに多数
の置換テーブルを備える構成としても良い。より詳細に
各解像度に対応可能とすることにより更に高画質の画像
出力を実現する。又は、後述するCPU150により置
換テーブルの登録内容を変更可能とし、処理に先立って
所望の置換データを更新可能としても良い。
In the present embodiment, since a plurality of replacement data tables corresponding to the respective resolution ratios are provided as described above, the resolution of the output system can be fully utilized regardless of the resolution of the original image data. It is possible to provide a good image having a smooth contour even for a character image. In addition, although the case where three data tables are provided as the replacement data table has been described as an example in FIG. 2, the present invention is not limited to the above example, and a configuration including a larger number of replacement tables may be provided as necessary. Is also good. More detailed image output can be realized by supporting each resolution in more detail. Alternatively, the registration content of the replacement table may be changed by the CPU 150, which will be described later, and desired replacement data may be updated prior to the processing.

【0014】以上の図2に示すスムージング処理及び変
倍処理を実現する具体的な装置の構成を図1に示す。図
1は本発明に係る一実施例の構成を示すブロック図であ
る。本実施例を図1のブロック図に従って説明する。図
示せぬ原稿台に置かれた原稿をハロゲン・ランプで照射
し、その反射光を図示せぬ光学系を介して101に示す
ライン型CCDによって光電変換し原稿画像を読み取
る。本実施例においては、ハロゲン・ランプを長手方向
と垂直な方向に走査して、ライン毎にCCD101によ
り順に画像を読み取る。これらの不図示の各構成は公知
あるため詳細説明を省略する。
FIG. 1 shows the construction of a concrete apparatus for realizing the smoothing processing and the scaling processing shown in FIG. FIG. 1 is a block diagram showing the configuration of an embodiment according to the present invention. This embodiment will be described with reference to the block diagram of FIG. A document placed on a document table (not shown) is irradiated with a halogen lamp, and the reflected light is photoelectrically converted by a line CCD 101 through an optical system (not shown) to read a document image. In this embodiment, the halogen lamp is scanned in the direction perpendicular to the longitudinal direction, and the image is sequentially read by the CCD 101 line by line. Each of these configurations (not shown) is publicly known, and detailed description thereof will be omitted.

【0015】S/H回路102は、CCD101の出力
信号をサンプル・ホールドし、 A/D変換回路103
に出力する。A/D変換回路103はS/H回路102
でサンプル・ホールドされたアナログ信号を8ビットの
対応するディジタル信号に変換する。補正回路104は
入力されるディジタル信号について、ハロゲン・ラン
プ、光学系、CCD101の感度むら等による画素毎の
ゲイン、オフセットのばらつきを補正する。
The S / H circuit 102 samples and holds the output signal of the CCD 101, and the A / D conversion circuit 103
Output to. The A / D conversion circuit 103 is the S / H circuit 102.
The analog signal sampled and held by is converted into a corresponding 8-bit digital signal. The correction circuit 104 corrects variations in gain and offset for each pixel due to a halogen lamp, an optical system, sensitivity unevenness of the CCD 101, and the like with respect to the input digital signal.

【0016】補正回路104よりの出力信号は、セレク
タ105を介して、画像処理回路A106に入力され
る。画像処理回路A106は、補正回路104で補正後
のディジタル信号について、変倍、ネガポジ変換、移動
などの編集処理を行う。画像処理回路B107は、画像
処理回路A106の出力信号に対して対数変換等の非線
形処理を行う。画像処理回路B107による画像処理後
のディジタル信号は、D/A変換回路108で対応する
アナログ信号に変換して変調回路109でパルス幅変調
してレーザ部110に供給する。
The output signal from the correction circuit 104 is input to the image processing circuit A 106 via the selector 105. The image processing circuit A 106 performs editing processing such as scaling, negative / positive conversion, and movement on the digital signal corrected by the correction circuit 104. The image processing circuit B107 performs non-linear processing such as logarithmic conversion on the output signal of the image processing circuit A106. The digital signal after the image processing by the image processing circuit B107 is converted into a corresponding analog signal by the D / A conversion circuit 108, pulse width modulated by the modulation circuit 109, and supplied to the laser unit 110.

【0017】レーザ部110は、図示せぬ感光ドラム上
にレーザ光を照射して感光ドラム上に静電潜像を生成
し、いわゆる電子写真プロセスによって紙などの記録媒
体に複写する。これらの構成については公知であるため
詳細説明を省略する。以上が本実施例の写機としての機
能を有するシステムの信号の流れである。次に、プリン
タ、FAX機能としてのシステムの信号の流れを説明す
る。
The laser section 110 irradiates a photosensitive drum (not shown) with laser light to generate an electrostatic latent image on the photosensitive drum, and copies it onto a recording medium such as paper by a so-called electrophotographic process. Since these configurations are publicly known, detailed description will be omitted. The above is the signal flow of the system having the function as the copying machine of the present embodiment. Next, a signal flow of the system as a printer and a FAX function will be described.

【0018】プリンタとしての動作モード時をまず説明
する。この場合には、プリンタとしての動作時の入力で
あるコネクタ111には、図示しない出力情報供給源で
あるコンピュータが接続されており、コネクタ111を
介して画像処理回路C112にコンピュータからの出力
情報が入力される。なお、同時にコンピュータよりの制
御信号も入力される。画像処理回路C112は、このコ
ンピュータよりの出力情報信号を2値画像に展開して出
力する。画像処理回路C112からの2値画像信号は、
セレクタ113を介して、スムージング回路114に入
力される。スムージング回路114よりのスムージング
処理された信号はセレクタ105に送られ、以後は上述
した画像処理回路A106に送られ、上述同様の処理が
施される。
First, the operation mode of the printer will be described. In this case, a computer which is an output information supply source (not shown) is connected to the connector 111 which is an input when operating as a printer, and the output information from the computer is transmitted to the image processing circuit C112 via the connector 111. Is entered. At the same time, a control signal from the computer is also input. The image processing circuit C112 develops the output information signal from this computer into a binary image and outputs it. The binary image signal from the image processing circuit C112 is
It is input to the smoothing circuit 114 via the selector 113. The smoothed signal from the smoothing circuit 114 is sent to the selector 105, and then to the above-described image processing circuit A 106, where the same processing as described above is performed.

【0019】一方、ファクシミリ装置としての動作モー
ドにおいては、セレクタ113はFAX部118よりの
信号を選択して出力するように制御される。その結果、
FAX部118よりの信号スムージング回路114に
送られる。以降の信号の流れはプリンタ動作モード時と
同じである。なお、セレクタ105、113は、本実施
例装置の全体制御を司るCPU150によって制御され
る。
On the other hand, in the operation mode as the facsimile apparatus, the selector 113 is controlled so as to select and output the signal from the FAX unit 118. as a result,
The signal is sent from the FAX unit 118 to the signal smoothing circuit 114. The subsequent signal flow is the same as in the printer operation mode. The selectors 105 and 113 are controlled by the CPU 150 that controls the overall control of the apparatus of this embodiment.

【0020】また、本実施例においては、複写機、FA
X、プリンタとして同時に使用できるように、図示せぬ
バッファメモリによって画像データの流れが調整されて
いる。上述したスムージング回路114は、白、黒に対
して、それぞれ(255)、(0)を出力する。また、
画像の輪郭を滑らかにするため、白と黒の境界に隣接す
る画素を、(255)、(0)、または適切な中間調レ
ベルに置き換えて出力する。
Further, in this embodiment, a copying machine, FA
The flow of image data is adjusted by a buffer memory (not shown) so that the X and printer can be used simultaneously. The smoothing circuit 114 described above outputs (255) and (0) for white and black, respectively. Also,
In order to smooth the contour of the image, the pixels adjacent to the boundary between white and black are replaced with (255), (0), or an appropriate halftone level and output.

【0021】以下、本実施例の特徴的な構成を説明す
る。図6は、本実施例のスムージング手段1が入力デー
タを中間調レベルに置き換えて出力する時の画素パター
ンの例を示す図である。各升目は画素に対応し、XはD
on’tCare、白丸は白画素、黒丸は黒画素を表
し、パターンがマッチした場合、図7、または図10に
示すように中央の画素を中間調レベルの1画素、または
4画素に置き換える。
The characteristic structure of this embodiment will be described below. FIG. 6 is a diagram showing an example of a pixel pattern when the smoothing means 1 of the present embodiment replaces input data with a halftone level and outputs. Each square corresponds to a pixel, and X is D
on'tCare, white circles represent white pixels, and black circles represent black pixels. When the patterns match, the central pixel is replaced with one or four pixels at the halftone level as shown in FIG. 7 or 10.

【0022】1画素と4画素への置き換えデータは、そ
れぞれROMで構成された図2に示す置換データテーブ
ル1から3に対応する置換データテーブル115〜11
7に予め格納されている。置換データテーブル115〜
117は、セレクタ119によってそのいずれか1つが
選択されてスムージング回路114に接続され、スムー
ジング回路114に置換データを供給する。なお、各テ
ーブルの先頭アドレスには、置き換え画素の縦、横の画
素数が格納されている。
The replacement data for 1 pixel and 4 pixels are the replacement data tables 115 to 11 corresponding to the replacement data tables 1 to 3 shown in FIG.
It is stored in advance in 7. Replacement data table 115-
Any one of 117 is selected by the selector 119 and connected to the smoothing circuit 114, and supplies replacement data to the smoothing circuit 114. The head address of each table stores the number of vertical and horizontal pixels of the replacement pixel.

【0023】変倍率設定部120の入力はシステムの動
作モードによって異なる。変倍率設定部120は、コピ
ー・モードにおいては図示せぬ操作部のキー・ボタンに
よるキー入力を8ビットの変倍率の情報に変換する。ま
た、コネクタ111を介してコンピュータから供給され
る信号により画像を出力するプリンター・モードにおい
ては、CPU150がコネクタ111からの制御信号を
検出して自動的に倍率を設定する。変倍率設定部120
は設定された変倍率情報を、変倍処理する画像処理回路
A106に出力すると共に、置換データテーブル115
〜117のいずれかを選択するセレクタ119に出力す
る。
The input of the scaling ratio setting unit 120 differs depending on the operation mode of the system. In the copy mode, the scaling ratio setting unit 120 converts a key input by a key button of an operation unit (not shown) into 8-bit scaling ratio information. Further, in the printer mode in which an image is output by a signal supplied from the computer via the connector 111, the CPU 150 detects a control signal from the connector 111 and automatically sets the magnification. Scale setting unit 120
Outputs the set scaling information to the image processing circuit A 106 that performs scaling processing, and the replacement data table 115
It outputs to the selector 119 which selects either of -117.

【0024】本実施例において、変倍率が150%以下
ならば、置換データテーブル115がセレクタ119に
よって選択され、例え名変倍率が150%〜200%な
らば、置換データテーブル116が、200%以上であ
れば置換データテーブル117が選択される。なお、本
実施例では、置換データテーブルを3つ備え、150%
及び200%を基準としているが、電子写真プロセスな
どの出力系の特性に応じて、別の値でも良い。また、変
倍率がさほど大きくない場合には、置換データテーブル
を115と116の2つ備える構成とし、150%以上
であるか、150%以下であるかで2つの置換データテ
ーブルを選択すればよい。
In the present embodiment, if the scaling factor is 150% or less, the replacement data table 115 is selected by the selector 119, and if the scaling factor is 150% to 200%, the replacement data table 116 is 200% or more. If so, the replacement data table 117 is selected. In this embodiment, three replacement data tables are provided, and 150%
And 200% as a reference, but another value may be used depending on the characteristics of an output system such as an electrophotographic process. If the scaling factor is not so large, two replacement data tables 115 and 116 are provided, and two replacement data tables may be selected depending on whether the replacement data table is 150% or more or 150% or less. .

【0025】以上に説明した実施例においては、変倍率
の情報に基づいてスムージング処理の置換データテーブ
ルを選択しているが、プリンタやFAXの規格など、各
種モードの情報を元にCPU150などから直接制御す
るように構成しても良い。スムージング回路114より
の出力信号は画像処理回路A106によって、電子写真
プロセスの解像度にあった適切なデータ量になるように
変倍される。画像処理回路A106の変倍処理は、プリ
ンタ部分の出力の解像度は400DPIであるため、原
画像が例えば300DPI相当の画像データであれば4
/3倍に変倍する。この場合、変倍率が150%以下で
あるからスムージング処理において置換データテーブル
115が選択される。
In the embodiment described above, the replacement data table for the smoothing process is selected on the basis of the scaling information, but the CPU 150 or the like can directly use the information on various modes such as the printer or FAX standard. It may be configured to control. The output signal from the smoothing circuit 114 is scaled by the image processing circuit A 106 so as to have an appropriate amount of data suitable for the resolution of the electrophotographic process. In the scaling process of the image processing circuit A106, since the output resolution of the printer portion is 400 DPI, if the original image is image data equivalent to 300 DPI, 4
Magnify to 3 times. In this case, since the scaling factor is 150% or less, the replacement data table 115 is selected in the smoothing process.

【0026】また、原画像が240DPI相当の画像デ
ータであれば、400DPIとするためには変倍率は5
/3倍であるから150%を越えているため、スムージ
ング処理において置換データテーブル116が選択され
る。なお、この場合、スムージング処理によって2倍に
変倍されているため、画像処理回路A106においては
(1/2)*(5/3)=5/6倍に変倍する。
If the original image is image data corresponding to 240 DPI, the scaling factor is 5 in order to obtain 400 DPI.
Since it is / 3 times, it exceeds 150%, so the replacement data table 116 is selected in the smoothing process. In this case, since the magnification has been doubled by the smoothing process, the image processing circuit A106 performs (1/2) * (5/3) = 5/6 times.

【0027】図3の(a)に示す画像を、置換データテ
ーブル115、116によってスムージング処理を施
し、変倍処理した画像をそれぞれ図11、図8に示す。
図8において、従来の図9の画像と比較して、より滑ら
かな輪郭が得られている。画像処理回路A106以降
は、CCDからの画像信号を出力するコピー・モードの
場合と同様の処理をして、パルス幅変調によりレーザを
照射して潜像を作り、電子写真プロセスによって紙など
の媒体に複写する。
The images shown in FIG. 3A are subjected to smoothing processing by the replacement data tables 115 and 116, and the scaled images are shown in FIGS. 11 and 8, respectively.
In FIG. 8, a smoother contour is obtained as compared with the conventional image of FIG. 9. After the image processing circuit A106, the same processing as in the copy mode in which the image signal from the CCD is output is performed, a laser is irradiated by pulse width modulation to form a latent image, and a medium such as paper is formed by an electrophotographic process. Copy to.

【0028】また、本実施例においては,スムージング
処理において図6に示すような各パターンに対してそれ
ぞれインデックスが割り当てられており、インデックス
情報と置き換え画素数の情報を元に、選択されているテ
ーブルから置換データをアクセスする。例えば、スムー
ジング回路114に置換データテーブル115よりの置
換データが供給されると、図7の(a)(b)に示すよ
うに、白、黒の画素に対して、(255)、(0)の画
素を出力する。また、図6の例に示すような特定のパタ
ーンにマッチすると、画像の輪郭を滑らかにするため白
と黒画素の境界に隣接する画素を図7の(c)に示すよ
うな適当な中間調レベルの画素に置き換えて出力する。
Further, in the present embodiment, indexes are assigned to the respective patterns as shown in FIG. 6 in the smoothing process, and the selected table is based on the index information and the information of the number of replacement pixels. Access the replacement data from. For example, when the replacement data from the replacement data table 115 is supplied to the smoothing circuit 114, as shown in FIGS. 7A and 7B, (255) and (0) are set for the white and black pixels. The pixel of is output. Further, when a specific pattern as shown in the example of FIG. 6 is matched, in order to smooth the contour of the image, the pixels adjacent to the boundary between the white and black pixels are adjusted to an appropriate halftone as shown in FIG. 7C. The pixel of the level is replaced and output.

【0029】一方、置換データテーブル116よりの置
換データがスムージング回路114に供給されると図1
0の(a)(b)に示すように、白、黒に対して、それ
ぞれ4つの(255)、(0)の画素を出力する。ま
た、特定のパターンにマッチすると、図10の(c)に
示すように、4つの(255)、(0)または適当な中
間調レベルの画素に置き換えて出力する。
On the other hand, when the replacement data from the replacement data table 116 is supplied to the smoothing circuit 114, FIG.
As shown in (a) and (b) of 0, four (255) and (0) pixels are output for white and black, respectively. Also, if a specific pattern is matched, as shown in FIG. 10C, it is replaced with four (255), (0) or an appropriate halftone level pixel for output.

【0030】置換データテーブル117についても同様
に解像度に対して最適なスムージング結果が選られるよ
うに例えば白、黒に対してそれぞれ3×3の9つの画素
を出力するように構成すれば良い。以上の置換データテ
ーブルを用いて、図3(a)に示す入力データを置換デ
ータテーブル115、116によってスムージングした
画像をそれぞれ図3(b)、図4に示す。
Similarly, the replacement data table 117 may be configured to output 9 pixels of 3 × 3 for each of white and black so that an optimum smoothing result for the resolution can be selected. Images obtained by smoothing the input data shown in FIG. 3A by the replacement data tables 115 and 116 using the above replacement data tables are shown in FIGS. 3B and 4, respectively.

【0031】本実施例において、置換データのテーブル
は3つであるが、置き換え画素を、1X2、4X4画素
など、種々の変倍率に対応して、異なる組み合せや、4
つ以上のテーブルを用意してもよい。また、以上の説明
は置換データテーブルとしてROMを用いているが、ハ
ードウエアの論理回路にIC等を用いて直接組み込んで
も良いし、RAMにしてCPUなどからロードするよう
に構成しても良い。
In the present embodiment, there are three replacement data tables, but the replacement pixels are different in combination or 4 according to various scaling factors such as 1 × 2, 4 × 4 pixels.
You may prepare more than one table. Further, in the above description, the ROM is used as the replacement data table, but it may be directly incorporated into a hardware logic circuit by using an IC or the like, or may be configured as a RAM and loaded from a CPU or the like.

【0032】また、置き換え画素数の多いデータから、
少ないほうのデータへ、ロー・パス・フィルタ処理によ
って演算して求めてもよい。また、画素の座標情報から
輪郭情報を抽出し、この輪郭情報をフィルタリングによ
ってスムージングし、輪郭情報から画素データを演算す
る時に、入出力の解像度比に応じて抽出する画素数を変
更するなど、置換データを演算によって求めてもよい。
From the data having a large number of replacement pixels,
The smaller data may be calculated by low-pass filtering. Further, the contour information is extracted from the coordinate information of the pixel, the contour information is smoothed by filtering, and when the pixel data is calculated from the contour information, the number of pixels to be extracted is changed according to the input / output resolution ratio. The data may be calculated.

【0033】以上の、実施例において、事務機器のシス
テムについて述べたが、ディスプレイなど、画素を多値
で表現する出力系であれば、本発明を応用可能である。
また、2値画像の入力として、電子ファイルなど、他の
入力系でも良い。以上説明したように本実施例によれ
ば、入出力の解像度の比に応じてスムージング処理の置
換画素の個数と、濃度データ・テーブル、または濃度デ
ータを演算する方法を切り替える事により、出力系の解
像度を十分に生かしたスムージング効果を得ることがで
き、元の画像データの解像度に関わらず、出力系の解像
度を十分に生かし、文字画像などの輪郭が滑らかな良好
な画像を提供することができる。
Although the office equipment system has been described in the above embodiments, the present invention can be applied to any display system such as a display as long as it is an output system expressing pixels in multiple values.
Further, other input system such as an electronic file may be used as the input of the binary image. As described above, according to the present embodiment, the number of replacement pixels for smoothing processing and the density data table or the method for calculating density data are switched according to the ratio of the input and output resolutions to change the output system. It is possible to obtain a smoothing effect that makes full use of the resolution, and it is possible to make good use of the resolution of the output system and provide a good image with a smooth outline such as a character image, regardless of the resolution of the original image data. .

【0034】なお、本発明は、複数の機器から構成され
るシステムに適用しても、1つの機器から成る装置に適
用しても良い。また、本発明はシステム或は装置にプロ
グラムを供給することによって達成される場合にも適用
できることはいうまでもない。
The present invention may be applied to a system including a plurality of devices or an apparatus including a single device. Further, it goes without saying that the present invention can be applied to the case where it is achieved by supplying a program to a system or an apparatus.

【0035】[0035]

【発明の効果】以上説明したように本発明によれば、元
の画像データの解像度に関わらず、出力系の解像度を十
分に生かし、文字画像などの輪郭が滑らかな良好な画像
を提供することができる。
As described above, according to the present invention, regardless of the resolution of the original image data, the resolution of the output system is fully utilized, and a good image having a smooth outline such as a character image is provided. You can

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

【図1】本発明に係る一実施例の構成を示すブロック図
である。
FIG. 1 is a block diagram showing a configuration of an embodiment according to the present invention.

【図2】本実施例のスムージング処理及び変倍処理の概
要を示すブロック図である。
FIG. 2 is a block diagram showing an outline of smoothing processing and scaling processing according to the present embodiment.

【図3】等倍でのスムージング処理実行前と実行後の画
素パターンを示す図である。
FIG. 3 is a diagram showing pixel patterns before and after execution of a smoothing process at a normal size.

【図4】本実施例の置換データテーブルを用いてスムー
ジング処理を行った画素パターン例を示す図である。
FIG. 4 is a diagram showing an example of a pixel pattern on which smoothing processing has been performed using the replacement data table of this embodiment.

【図5】従来のスムージング処理及び変倍処理の概要を
示すブロック図である。
FIG. 5 is a block diagram showing an outline of conventional smoothing processing and scaling processing.

【図6】本実施例の置換データテーブルを用いて入力画
素を中間調レベルに置き換えて出力する時の画素パター
ンを示す図である。
FIG. 6 is a diagram showing a pixel pattern when an input pixel is replaced with a halftone level and output using the replacement data table of the present embodiment.

【図7】スムージングによる画素の置き換え例を示す図
である。
FIG. 7 is a diagram showing an example of pixel replacement by smoothing.

【図8】本実施例の置換データテーブルを用いてスムー
ジング処理及び変倍処理を行った画素パターンの例を示
す図である。
FIG. 8 is a diagram showing an example of a pixel pattern that has been subjected to smoothing processing and scaling processing using the replacement data table of this embodiment.

【図9】図3のbに示す画素に対して縦横各2倍の変倍
率で変倍した画素パターンを示す図である。
FIG. 9 is a diagram showing a pixel pattern in which the pixel shown in FIG. 3B is scaled by a scaling factor of 2 × in each of the vertical and horizontal directions.

【図10】スムージングによる画素の置き換え例をを示
す図である。
FIG. 10 is a diagram showing an example of pixel replacement by smoothing.

【図11】図3のbに示す画素に対して少ない倍率で変
倍した画素パターンを示す図である。
11 is a diagram showing a pixel pattern in which the pixel shown in FIG. 3b is scaled with a small magnification.

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

1,11 スムージング手段 2,12 変倍手段 3,4,5,15 置換データテーブル 6,20 変倍率設定手段 101 CCD(光電変換素子) 102 サンプル・ホールド回路 103 A/D変換回路 104 シェーディング補正回路 105,113,119 セレクタ 106,107,112 画像処理回路 108 D/A変換回路 109 PWM変調回路 110 レーザ部 111 コネクタ 114 スムージング回路 115,116,117 置換データテーブル 118 FAX部 120 変倍率設定部 150 CPU 1, 11 smoothing means 2, 12 variable magnification means 3, 4, 5, 15 replacement data table 6, 20 variable magnification setting means 101 CCD (photoelectric conversion element) 102 sample and hold circuit 103 A / D conversion circuit 104 shading correction circuit 105, 113, 119 Selector 106, 107, 112 Image processing circuit 108 D / A conversion circuit 109 PWM modulation circuit 110 Laser section 111 Connector 114 Smoothing circuit 115, 116, 117 Replacement data table 118 FAX section 120 Scale setting section 150 CPU

フロントページの続き (51)Int.Cl.6 識別記号 庁内整理番号 FI 技術表示箇所 G06T 5/00 G09G 5/36 520 C 9377−5H H04N 1/409 G06F 15/66 355 P 15/68 350 H04N 1/40 101 D Continuation of the front page (51) Int.Cl. 6 Identification code Office reference number FI Technical display location G06T 5/00 G09G 5/36 520 C 9377-5H H04N 1/409 G06F 15/66 355 P 15/68 350 H04N 1/40 101 D

Claims (8)

【特許請求の範囲】[Claims] 【請求項1】 処理画像データのエッジを滑らかにする
様に入力データを置換するスムージング手段と、 前記スムージング手段よりの画像信号を変倍する変倍手
段と、 前記変倍手段の変倍率を設定する変倍率設定手段と、 前記変倍手段の変倍率に応じて前記スムージング手段の
置換データを切り替える切替手段とを備えることを特徴
とする画像処理装置。
1. A smoothing unit that replaces input data so as to smooth edges of processed image data, a scaling unit that scales an image signal from the smoothing unit, and a scaling ratio of the scaling unit. An image processing apparatus, comprising: a scaling ratio setting unit that performs the scaling process; and a switching unit that switches replacement data of the smoothing unit according to the scaling ratio of the scaling unit.
【請求項2】 処理画像データのエッジを滑らかにする
様に入力データを置換するスムージング手段と、 少なくとも2つ以上の動作モードを有し、それぞれ異な
る変倍率で前記スムージング手段よりの画像信号を変倍
する変倍手段と、 動作モードに応じて前記変倍手段の変倍率を設定する変
倍率設定手段と、 前記変倍手段の変倍率に応じて前記スムージング手段の
置換データを切り替える切替手段とを備えることを特徴
とする画像処理装置。
2. A smoothing means for replacing the input data so as to smooth the edges of the processed image data, and at least two or more operation modes, wherein the image signal from the smoothing means is varied at different scaling factors. Scaling means for multiplying, scaling ratio setting means for setting the scaling ratio of the scaling means according to the operation mode, and switching means for switching the replacement data of the smoothing means according to the scaling ratio of the scaling means. An image processing apparatus comprising:
【請求項3】 前記スムージング手段の少なくとも一部
の置換データは演算によって求められることを特徴とす
る請求項1又は2のいずれかに記載の画像処理装置。
3. The image processing apparatus according to claim 1, wherein at least a part of the replacement data of the smoothing unit is calculated.
【請求項4】 前記スムージング手段の少なくとも一部
の置換データは予め用意されたテーブルによって求める
ことを特徴とする請求項1又は2のいずれかに記載の画
像処理装置。
4. The image processing apparatus according to claim 1, wherein at least a part of the replacement data of the smoothing unit is obtained by a table prepared in advance.
【請求項5】 処理画像データのエッジを滑らかにする
様に入力データを置換するスムージング処理実行後、当
該置換した画像信号を設定された変倍率で変倍する画像
処理方法であって、 前記変倍時の変倍率に応じて前記入力データの置換デー
タを切り替えることを特徴とする画像処理方法。
5. An image processing method, wherein after performing smoothing processing for replacing input data so as to smooth edges of processed image data, the replaced image signal is scaled at a set scaling ratio. An image processing method, characterized in that replacement data of the input data is switched according to a scaling factor at the time of multiplication.
【請求項6】 処理画像データのエッジを滑らかにする
様に入力データを置換するスムージング処理を行った
後、少なくとも2つ以上の変倍率の異なる動作モードを
有し前記スムージング処理された画像信号を変倍する画
像処理方法であって、 前記変倍処理時の動作モードに応じて変倍率を設定し、
設定した変倍率に応じて前記スムージング処理における
置換データを切り替えることを特徴とする画像処理方
法。
6. After performing a smoothing process for replacing the input data so as to smooth the edges of the processed image data, at least two or more operation modes having different scaling factors are used to obtain the smoothed image signal. An image processing method for scaling, wherein a scaling ratio is set according to an operation mode during the scaling process,
An image processing method, characterized in that replacement data in the smoothing process is switched according to a set scaling ratio.
【請求項7】 前記スムージング処理における少なくと
も一部の置換データは演算によって求められることを特
徴とする請求項5又は6のいずれかに記載の画像処理方
法。
7. The image processing method according to claim 5, wherein at least a part of the replacement data in the smoothing process is calculated.
【請求項8】 前記スムージング処理における少なくと
も一部の置換データは予め用意されたテーブルによって
求めることを特徴とする請求項5又は6のいずれかに記
載の画像処理方法。
8. The image processing method according to claim 5, wherein at least a part of the replacement data in the smoothing process is obtained by a table prepared in advance.
JP6295280A 1994-11-29 1994-11-29 Device and method for processing image Withdrawn JPH08156326A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6295280A JPH08156326A (en) 1994-11-29 1994-11-29 Device and method for processing image

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6295280A JPH08156326A (en) 1994-11-29 1994-11-29 Device and method for processing image

Publications (1)

Publication Number Publication Date
JPH08156326A true JPH08156326A (en) 1996-06-18

Family

ID=17818562

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6295280A Withdrawn JPH08156326A (en) 1994-11-29 1994-11-29 Device and method for processing image

Country Status (1)

Country Link
JP (1) JPH08156326A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH106559A (en) * 1996-06-26 1998-01-13 Nec Niigata Ltd Led printer
WO2000022571A1 (en) * 1998-10-13 2000-04-20 Seiko Epson Corporation Image data interpolation method and device and medium recording image data interpolation program

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH106559A (en) * 1996-06-26 1998-01-13 Nec Niigata Ltd Led printer
WO2000022571A1 (en) * 1998-10-13 2000-04-20 Seiko Epson Corporation Image data interpolation method and device and medium recording image data interpolation program
JP2000123162A (en) * 1998-10-13 2000-04-28 Seiko Epson Corp Image data interpolating method, image data interpolating device and medium in which image data interpolation program is recorded
US7230742B1 (en) 1998-10-13 2007-06-12 Seiko Epson Corporation Image data interpolating apparatus and medium on which data interpolating program is recorded

Similar Documents

Publication Publication Date Title
KR950009647B1 (en) Image quality control systems for an image processing system
US5086346A (en) Image processing apparatus having area designation function
US5260804A (en) Image processing apparatus having frame erasure capability
JPH07101917B2 (en) Area controller
US5646741A (en) Image processing apparatus and method capable of smoothing image data in accordance with an image enlargement/reduction ratio
EP0998121B1 (en) Image processing device and image processing method
JP2001069363A (en) Color picture processor
JP3925211B2 (en) Multifunction machine and image processing method and program thereof
EP1077572B1 (en) Image forming apparatus selectively applying a smoothing operation to image data
JPH08156326A (en) Device and method for processing image
JPH02244876A (en) Sharpness improving system for picture processor
JP3111418B2 (en) Image forming device
EP0905648B1 (en) Image processing apparatus
JP2951972B2 (en) Image processing device
JP2660170B2 (en) Image processing device
JPH10283458A (en) Image processor
JP3477658B2 (en) Image processing device
JPH10283460A (en) Image processor
JP2903175B2 (en) Image processing device
JP2766012B2 (en) Color image processing equipment
JP3589415B2 (en) Image processing device
JPH09214755A (en) Color image processor
JP2001189858A (en) Image processor, image processing method and a computer- readable recording medium recording program to allow computer to execute the method
JP2002152511A (en) Image processor, image processing method and computer readable medium recording program for executing that method in computer
JPH11355574A (en) Image processor and its method

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20020205