JPH08149243A - Print image forming method - Google Patents

Print image forming method

Info

Publication number
JPH08149243A
JPH08149243A JP6289861A JP28986194A JPH08149243A JP H08149243 A JPH08149243 A JP H08149243A JP 6289861 A JP6289861 A JP 6289861A JP 28986194 A JP28986194 A JP 28986194A JP H08149243 A JPH08149243 A JP H08149243A
Authority
JP
Japan
Prior art keywords
image
print
printing
binary
valued
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.)
Granted
Application number
JP6289861A
Other languages
Japanese (ja)
Other versions
JP3194677B2 (en
Inventor
Tadao Tamuki
忠夫 田向
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.)
Alps Alpine Co Ltd
Original Assignee
Alps Electric Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Alps Electric Co Ltd filed Critical Alps Electric Co Ltd
Priority to JP28986194A priority Critical patent/JP3194677B2/en
Publication of JPH08149243A publication Critical patent/JPH08149243A/en
Application granted granted Critical
Publication of JP3194677B2 publication Critical patent/JP3194677B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Editing Of Facsimile Originals (AREA)
  • Laser Beam Printer (AREA)
  • Image Processing (AREA)
  • Facsimiles In General (AREA)

Abstract

PURPOSE: To improve the print quality by making original image data a binary image with resolution smaller than print resolution so as to convert binary data of each picture element into a multi-valued processing image corresponding to print resolution and converting the image into a print binary image. CONSTITUTION: Data from an original image data storage area 9 are formed into a binary image with the number of picture elements whose resolution is made mode finner than a print resolution of a laser beam printer 3 by program control by a CPU 10 and expanded in an original image expansion section 14. Then a multi-valued image forming section 15 integrates the binary image data for each matrix corresponding to the print resolution to convert it into a multi-valued image. The multi-valued processed image is converted into a binary image for printing with the same picture element number as that of the same resolution as the print resolution based on the position relation of each of the multi-valued image by a print binary image forming section 16. The image having dot lines at intervals of one picture element added to a line of one picture element by the image data is printed out by a thickness being nearly a multiple of 1.5 of the width of one picture element and very small unevenness is averaged and the print quality is enhanced.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、ワードプロセッサある
いはコンピュータから出力される文字やイラスト等の画
像をプリンタで印字するのに好適な印字画像形成方法に
関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a print image forming method suitable for printing an image of characters, illustrations, etc. output from a word processor or a computer by a printer.

【0002】[0002]

【従来の技術】一般に、ワードプロセッサあるいはコン
ピュータから出力される文字や図形等の画像は、出力装
置の一種として用いられているサーマルプリンタ、イン
クジェットプリンタ、レーザープリンタ等の各種のプリ
ンタによって、普通紙、OHP用紙、厚紙、葉書、クリ
スマスカード等の各種の記録媒体に印字されている。
2. Description of the Related Art Generally, images such as characters and figures output from a word processor or a computer are printed on plain paper, OHP by various printers such as a thermal printer, an ink jet printer and a laser printer which are used as a kind of output device. It is printed on various recording media such as paper, cardboard, postcards, and Christmas cards.

【0003】そして、ワードプロセッサあるいはコンピ
ュータから出力される文字や図形をプリンタで印字する
場合には、例えば、プリンタの印字分解能が縦横300
DPI(1インチ当たり300画素)とすると、ビット
マップフォントであれば300DPI用の2値データか
らなる画像(2値画像)を予め備えておき、アウトライ
ンフォントであれば出力された文字の大きさにしたがっ
て原画像データから300DPIの2値画像を形成し、
図形であれば描画機能により、原画像データから300
DPIの2値画像を形成する。そして、2値画像に基づ
いてプリンタ機構を制御して300DPIの印字画像が
記録媒体に印字されるようになっている。
When characters or figures output from a word processor or a computer are printed by a printer, for example, the printing resolution of the printer is 300 pixels vertically and horizontally.
Assuming DPI (300 pixels per inch), if it is a bitmap font, an image (binary image) consisting of binary data for 300 DPI is prepared in advance, and if it is an outline font, the size of the output character is set. Therefore, a binary image of 300 DPI is formed from the original image data,
If it is a figure, the drawing function can
Form a binary image of DPI. Then, the printer mechanism is controlled based on the binary image so that a print image of 300 DPI is printed on the recording medium.

【0004】また、記録媒体に印字される印字画像の輪
郭が円滑でなく、改善を必要とする場合には、2値画像
の2値データ(白黒情報)について、近傍の画素との関
係から微小な画素を形成することにより、印字画像の輪
郭を円滑にする平滑化処理が施されるようになってい
る。従来の印字分解能が300DPIのレーザープリン
タによる印字画像の平滑化処理の一例を図17に示す。
When the contour of the printed image printed on the recording medium is not smooth and needs improvement, the binary data (black and white information) of the binary image is minute due to the relationship with neighboring pixels. By forming various pixels, a smoothing process for smoothing the contour of the printed image is performed. FIG. 17 shows an example of smoothing processing of a printed image by a conventional laser printer having a printing resolution of 300 DPI.

【0005】[0005]

【発明が解決しようとする課題】ところで、近年のプリ
ンタには、見た目がより美しい高品質の印字画像が求め
られており、このような要求に応えるために、プリンタ
の印字分解能がより細分化されている。つまり、印字分
解能をより細分化して、例えば、印字分解能を600D
PI程度にまで高めると、人の目で印字画像を見た場合
に、印字された文字や図形の輪郭のギザギザは視認する
ことができなくなり、平滑化処理により輪郭を円滑化す
る必要性はなくなってくる。
In recent years, printers are required to have high-quality printed images that look more beautiful, and in order to meet such demands, the printing resolution of the printer is further subdivided. ing. That is, the print resolution is subdivided into, for example, the print resolution of 600D.
If it is increased to about PI, when the printed image is viewed with human eyes, the jagged edges of the printed characters and figures cannot be visually recognized, and there is no need to smooth the edges by smoothing processing. Come on.

【0006】ところが、印字分解能が高められて印字さ
れた文字や図形が全体的に高品質になってくると、今度
は、相対的に線幅や線間隔のばらつきが気になるように
なり、この問題が新たにクローズアップされてくる。
However, when the printing resolution is increased and the printed characters and figures are of high quality as a whole, this time, the variation in the line width and the line spacing becomes relatively worrisome. This issue will be newly highlighted.

【0007】すなわち、プリンタの印字分解能を細分化
することにより、2値画像を形成する時の2値化誤差が
生じ、図18の(a)に示す現画像を2値化した場合
に、図18の(b)に示すa部とb部、あるいはc部と
d部のように、印字画像の線幅および/または線間隔を
同一とすることができずにばらつきが生じ、高品質の印
字画像を得ることができないという問題点があった。
That is, by subdividing the printing resolution of the printer, a binarization error occurs when a binary image is formed, and when the current image shown in FIG. As shown in (a) and (b), or (c) and (d) in 18 (b), the line width and / or line spacing of the printed image cannot be the same, resulting in variations and high-quality printing. There was a problem that an image could not be obtained.

【0008】さらに、この印字画像の線幅および/また
は線間隔のばらつきは、前述した従来の平滑化処理では
原理的に防ぐことができず、より高度な印字画像の改善
処理が求められている。
Further, the variation of the line width and / or the line interval of the printed image cannot be prevented in principle by the above-described conventional smoothing process, and more advanced improved process of the printed image is required. .

【0009】本発明はこれらの点に鑑みてなされたもの
であり、印字画像の線幅および線間隔にばらつきが生じ
るのを防止し、印字品質を向上させることのできる印字
画像形成方法を提供することを目的とする。
The present invention has been made in view of these points, and provides a print image forming method capable of preventing variations in line width and line spacing of a print image and improving print quality. The purpose is to

【0010】[0010]

【課題を解決するための手段】前述した目的を達成する
ため請求項1に記載の本発明の印字画像形成方法は、原
画像の原画像データを印字分解能より細分化した画素数
の2値画像とし、この2値画像の各画素の2値データを
印字画像の各画素に対応するマトリックス毎に多値デー
タ化することにより多値画像を形成し、その後、多値画
像を多値画像の各画素の位置関係に基づいて印字分解能
と同一画素数の印字用2値画像に変換することを特徴と
している。
In order to achieve the above-mentioned object, the print image forming method of the present invention according to claim 1 is a binary image having the number of pixels obtained by subdividing the original image data of the original image by the print resolution. Then, the binary data of each pixel of this binary image is converted into multivalued data for each matrix corresponding to each pixel of the print image to form a multivalued image, and then the multivalued image is converted into each multivalued image. It is characterized in that it is converted into a printing binary image having the same number of pixels as the printing resolution based on the positional relationship of the pixels.

【0011】請求項2に記載の本発明の印字画像形成方
法は、請求項1において、前記印字用2値画像は、多値
画像を誤差拡散方式またはパターンディザ方式をもって
2値化されることを特徴としている。
According to a second aspect of the present invention, there is provided a printed image forming method according to the first aspect, wherein the printing binary image is a multi-valued image binarized by an error diffusion method or a pattern dither method. It has a feature.

【0012】請求項3に記載の本発明の印字画像形成方
法は、請求項2において、前記誤差拡散方式は、多値画
像の各画素の位置関係により、2値化するためのしきい
値を可変とすることを特徴としている。
According to a third aspect of the present invention, there is provided a print image forming method according to the second aspect, wherein the error diffusion method sets a threshold value for binarization according to a positional relationship of each pixel of a multi-valued image. It is characterized by being variable.

【0013】[0013]

【作用】請求項1に記載の本発明の印字画像形成方法に
よれば、原画像データは、印字分解能より細分化した2
値画像に展開され、この2値画像の各画素の2値データ
は印字分解能に対応するマトリックス毎に多値データ化
されることにより多値画像に変換される。この多値画像
は、多値画像の各画素の位置関係に基づいて印字分解能
と同一画素数の印字用2値画像に変換される。このよう
にして形成された印字用2値画像に従ってプリンタによ
り印字された印字画像は、1画素の線に1画素おきの点
線が加わった画像が、1画素の線幅のほぼ1.5倍の太
さで表現されるとともに、1画素おきの点線による微小
な凹凸は印字により平滑化(平均化)されて円滑な輪郭
を有し、結果的に、印字分解能を越えた線幅および線間
隔の高品質の印字品質を得ることができる。
According to the print image forming method of the present invention as set forth in claim 1, the original image data is subdivided by the print resolution.
It is developed into a value image, and the binary data of each pixel of this binary image is converted into a multivalued image by converting it into multivalued data for each matrix corresponding to the printing resolution. This multi-valued image is converted into a print binary image having the same number of pixels as the print resolution based on the positional relationship of each pixel of the multi-valued image. In the print image printed by the printer according to the binary image for printing thus formed, the image in which the dotted line of every other pixel is added to the line of one pixel is about 1.5 times the line width of one pixel. In addition to being expressed by the thickness, minute irregularities due to the dotted lines every other pixel are smoothed (averaged) by printing to have a smooth contour, and as a result, the line width and line spacing that exceed the print resolution are exceeded. It is possible to obtain high quality print quality.

【0014】請求項2に記載の本発明の印字画像形成方
法によれば、誤差拡散方式またはパターンディザ方式を
もって多値画像を印字用2値画像とすることにより、高
品質の印字品質を得ることができる。
According to the print image forming method of the present invention as set forth in claim 2, high quality print quality is obtained by converting a multi-valued image into a binary image for printing by an error diffusion method or a pattern dither method. You can

【0015】請求項3に記載の本発明の印字画像形成方
法によれば、しきい値を可変とすることにより、より高
品質の印字品質を得ることができる。
According to the print image forming method of the present invention described in claim 3, it is possible to obtain higher quality print quality by making the threshold variable.

【0016】[0016]

【実施例】以下、本発明を図面に示す実施例により説明
する。
The present invention will be described below with reference to the embodiments shown in the drawings.

【0017】まず、本発明による印字画像形成方法を適
用するシステムの一実施例について図1により説明す
る。
First, an embodiment of a system to which the print image forming method according to the present invention is applied will be described with reference to FIG.

【0018】図1は本発明に係る印字画像形成方法を適
用する一実施例の要部を示すシステムブロック図であ
る。
FIG. 1 is a system block diagram showing a main part of an embodiment to which a print image forming method according to the present invention is applied.

【0019】図1に示すように、本発明による印字画像
形成方法を適用する本実施例のシステム1は、少なくと
もワードプロセッサあるいはコンピュータ等の本体2
と、普通紙、OHP用紙、葉書等の記録媒体(図示せ
ず)に文字やイラスト等の図形の情報を記録(印字)す
るための印字手段としてのプリンタであるレーザービー
ムプリンタ(LBP)3と、図示しないディスプレイ、
キーボード、マウス等の種々の入出力機器等から構成さ
れている。
As shown in FIG. 1, the system 1 of the present embodiment to which the print image forming method according to the present invention is applied has at least a main body 2 such as a word processor or a computer.
And a laser beam printer (LBP) 3 which is a printer as a printing means for recording (printing) graphic information such as characters and illustrations on a recording medium (not shown) such as plain paper, OHP paper and postcards. , Not shown display,
It is composed of various input / output devices such as a keyboard and a mouse.

【0020】前記本体2には、少なくともCPU4と、
適宜な容量の図示しないROM、RAM、その他のメモ
リ等により形成された主記憶装置5と、所望の基本デー
タ、例えばアウトラインフォントと称される文字フォン
ト、各種のアプリケーションプログラム等を記憶させる
HDD等の外部記憶装置6と、プリンタコントロールボ
ード7等が配設されている。
The main body 2 has at least a CPU 4 and
A main storage device 5 formed of a ROM, a RAM, and other memory (not shown) having an appropriate capacity, an HDD for storing desired basic data, for example, a character font called an outline font, various application programs, and the like. An external storage device 6, a printer control board 7, etc. are arranged.

【0021】前記主記憶装置5には、少なくとも制御プ
ログラムを格納するプログラム格納領域8、本体2から
出力する原画像の画像データを格納する原画像データ格
納領域9等が設けられている。
The main memory 5 is provided with at least a program storage area 8 for storing a control program, an original image data storage area 9 for storing image data of an original image output from the main body 2, and the like.

【0022】前記プリンタコントロールボード7には、
少なくともCPU10と、ROM、RAM、その他のメ
モリ等により形成された画像メモリ11とが配設されて
いる。この画像メモリ11には、少なくとも本体2にて
形成された原画像データを印字用データとするための印
字プログラム格納領域12と、各種のデータを格納する
データ格納領域13とが設けられている。
On the printer control board 7,
At least a CPU 10 and an image memory 11 formed by a ROM, a RAM, other memory, and the like are provided. The image memory 11 is provided with a print program storage area 12 for using at least the original image data formed by the main body 2 as print data, and a data storage area 13 for storing various data.

【0023】そして、印字プログラム格納領域12に
は、少なくとも本体2にて形成された原画像データを印
字分解能より細分化した画素数の2値画像とするための
原画像データ展開部14と、細分化した2値画像の画素
を印字画像の各画素に対応するマトリックス単位でまと
めて印字分解能と同一画素数にするとともに、このマト
リックス毎に上記した2値画像の各画素の2値データ
(白黒情報)を多値データに変換することにより多値画
像を形成する多値画像形成部15と、多値画像を多値画
像の各画素の位置関係に基づいて印字分解能と同一画素
数の印字用データとしての印字用2値画像に変換する印
字用2値画像形成部16とが設けられている。
In the print program storage area 12, at least the original image data developing section 14 for converting the original image data formed in the main body 2 into a binary image having the number of pixels subdivided by the printing resolution, and the subdivision. The pixels of the binarized image are grouped in a matrix unit corresponding to each pixel of the print image so as to have the same number of pixels as the print resolution, and the binary data of each pixel of the above-mentioned binary image (black and white information ) Is converted into multi-valued data to form a multi-valued image, and a multi-valued image forming unit 15 is formed, and printing data having the same number of pixels as the print resolution based on the positional relationship of each pixel of the multi-valued image. And a printing binary image forming section 16 for converting into a printing binary image.

【0024】さらに、データ格納領域13には、少なく
とも印字分解能より細分化した画素数の2値画像を格納
する2値画像格納部17と、多値画像を格納する多値画
像格納部18と、印字用2値画像を格納する印字用2値
画像格納部19とが設けられている。
Further, in the data storage area 13, a binary image storage section 17 for storing a binary image having a number of pixels subdivided at least by the print resolution, a multivalued image storage section 18 for storing a multivalued image, A binary print image storage unit 19 for storing a binary print image is provided.

【0025】つぎに、本実施例の印字画像形成方法につ
いて印字分解能600DPIで64ドット程度のLBP
3で文字を印字する場合を例示して図2に示すフローチ
ャートを主として図1により補足しながら説明する。
Next, regarding the print image forming method of this embodiment, an LBP of about 64 dots with a print resolution of 600 DPI is used.
An example of printing characters in step 3 will be described with reference to the flowchart shown in FIG.

【0026】まず、キーボード等の入力機器(図示せ
ず)からの情報に基づいて、本体のCPU4から制御指
令(印字指令)が発せられ、主記憶装置5のプログラム
格納領域8に記憶されている制御プログラムにより、デ
ィスプレイ(図示せず)上に形成された文書、イラスト
等の原画像データあるいは外部記憶装置6に記憶されて
いる文書、イラスト等の原画像データは、外部記憶装置
6から取り出されて主記憶装置5の原画像データ格納領
域9に記憶される。
First, a control command (print command) is issued from the CPU 4 of the main body on the basis of information from an input device (not shown) such as a keyboard and is stored in the program storage area 8 of the main storage device 5. By the control program, original image data such as documents and illustrations formed on a display (not shown) or original image data such as documents and illustrations stored in the external storage device 6 is retrieved from the external storage device 6. And is stored in the original image data storage area 9 of the main storage device 5.

【0027】そして、原画像データ格納領域9に記憶さ
れた印字に供する原画像データは、制御プログラムによ
って、プリンタコントロールボード7に送出されて本実
施例の印字画像形成方法による処理が開始される。
Then, the original image data for printing, which is stored in the original image data storage area 9, is sent to the printer control board 7 by the control program, and the processing by the print image forming method of this embodiment is started.

【0028】本実施例の印字画像形成方法による処理が
開始されると、まず、ステップST11において、プリン
タコントロールボード7に送出された原画像データは、
プリンタコントロールボード7のCPU10の制御指令
により、原画像データ展開部14に送出され、この原画
像データ展開部14において、印字分解能(600DP
I)より細分化された、本実施例においては縦横240
0DPIの2値画像のビットマップデータ(1インチ当
たり2400画素の0(白)と1(黒)との2値の2値
データ)として展開(形成)され、データ格納領域13
の2値画像格納部17に順次記憶される。
When the processing by the print image forming method of this embodiment is started, first, in step ST11, the original image data sent to the printer control board 7 is
In response to a control command from the CPU 10 of the printer control board 7, the data is sent to the original image data expansion unit 14, and the original image data expansion unit 14 prints the print resolution (600DP).
In this embodiment, which is subdivided from I), the length and width are 240.
The data storage area 13 is developed (formed) as bitmap data of a binary image of 0 DPI (binary binary data of 0 (white) and 1 (black) of 2400 pixels per inch).
Are sequentially stored in the binary image storage unit 17.

【0029】つまり、本実施例においては、印字時の1
画素が、縦方向に4倍、横方向に4倍とされた総計16
画素に細分化され、この16画素が印字分解能に対応す
るマトリックスとされる。この2400DPIとされた
2値画像を図3に示す。
In other words, in the present embodiment, 1 at the time of printing
Pixels are quadrupled in the vertical direction and quadrupled in the horizontal direction for a total of 16
It is subdivided into pixels, and these 16 pixels form a matrix corresponding to the printing resolution. The binary image set to 2400 DPI is shown in FIG.

【0030】なお、本実施例における2値画像は、原画
像データを印字分解能に対して縦横4倍の2400DP
Iで細分化したが、この細分化する倍率は、縦横比が同
一でなくてもよく、さらに、倍率としては実数であれば
よく、特に、本実施例の倍率に限定されるものではな
い。
In the binary image in this embodiment, the original image data is 2400 DP, which is four times as wide as the printing resolution.
Although it is subdivided by I, the subdivision magnification need not have the same aspect ratio, and the magnification may be a real number, and is not particularly limited to the magnification of this embodiment.

【0031】つぎに、ステップST12において、2値画
像格納部17に記憶された2400DPIに細分化され
た2値画像は、多値画像形成部15に取り込まれて、印
字分解能に対応したマトリックス、本実施例においては
縦横4×4の総計16画素毎に区分して濃度値が1
(黒)の値を具備する画素の数を累計することにより各
マトリックス毎に多段階の濃淡情報を備えた多値データ
が形成される。
Next, in step ST12, the binary image subdivided into 2400 DPI stored in the binary image storage unit 17 is taken into the multi-valued image forming unit 15, and the matrix corresponding to the printing resolution In the embodiment, the density value is 1 when the pixels are divided into 16 pixels vertically and horizontally 4 × 4 in total.
By accumulating the number of pixels having the value of (black), multi-valued data having multi-level grayscale information is formed for each matrix.

【0032】つまり、本実施例においては、印字時の1
画素に対応する2400DPIの2値画像の縦横4×4
の総計16画素毎に、濃度値が黒の値(1)を備えた2
値画像の画素の数を累計することにより濃度値が0(2
値画像の16画素のすべてが白(0))〜16(2値画
像の16画素のすべてが黒(1))の濃淡を備えた多段
階の濃度値からなる多値データが形成される。
In other words, in the present embodiment, 1 at the time of printing
Vertical and horizontal 4 × 4 of 2400 DPI binary image corresponding to pixels
2 with a density value of black (1) for every 16 pixels in total
The density value is 0 (2
Multivalued data composed of multi-level density values having gradations of all 16 pixels of the value image being white (0) to 16 (all 16 pixels of the binary image being black (1)) are formed.

【0033】つぎに、ステップST13において、240
0DPIのビットマップデータとされた2値画像が上記
した印字分解能に対応したマトリックス毎、すなわち本
実施例においては縦横4×4の16画素毎にまとめられ
るとともに各マトリックス毎に多値データが付与されて
印字分解能と同一画素数の600DPIの多値画像が形
成される。この多値画像は多値画像格納部18に記憶さ
れる。つまり、本実施例においては、2400DPIに
分解された画素が印字分解能と同一の600DPIの画
素とされるとともに、600DPIの各画素に0〜16
の多段階の濃度値が与えられた600DPIの多値画像
が形成される。この600DPIとされた多値画像を図
4に示す。
Next, in step ST13, 240
Binary images, which are 0DPI bitmap data, are collected for each matrix corresponding to the above-described printing resolution, that is, for each 16 pixels of 4 × 4 in the present embodiment, and multivalued data is given to each matrix. Thus, a multi-valued image of 600 DPI having the same number of pixels as the printing resolution is formed. This multivalued image is stored in the multivalued image storage unit 18. In other words, in the present embodiment, the pixels decomposed into 2400 DPI are the pixels of 600 DPI which is the same as the printing resolution, and each pixel of 600 DPI has 0 to 16 pixels.
A multi-valued image of 600 DPI to which the multi-level density value of is given is formed. FIG. 4 shows this multi-valued image with 600 DPI.

【0034】つぎに、ステップST14において、1頁分
の多値画像が形成されたか否かを判断し、NO(1頁分
の多値画像が形成されていない)の場合には、ステップ
ST12に戻り、ステップST14の判断がYES(1頁分
の多値画像が形成されている)になるまでステップST
12およびステップST13を繰り返し、前記ステップST
14の判断がYES(1頁分の多値画像が形成されてい
る)の場合には、つぎのステップST15に進行する。
Next, in step ST14, it is determined whether or not a multi-valued image for one page has been formed. If NO (no multi-valued image for one page has been formed), the process proceeds to step ST12. Return to step ST14 until the determination in step ST14 becomes YES (a multi-valued image for one page is formed).
12 and step ST13 are repeated to repeat the step ST
If the determination in 14 is YES (a multi-valued image for one page is formed), the process proceeds to the next step ST15.

【0035】つぎに、ステップST15において、多値画
像格納部18に記憶された1頁分の多値画像は、印字用
2値画像形成部16に取り込まれて、多値画像の各画素
の位置関係に基づいて後述する誤差拡散方式またはパタ
ーンディザ方式により2値化されて印字分解能と同一画
素数の600DPIの印字用データとしての印字用2値
画像に変換され、印字用2値画像格納部19に記憶され
る。この誤差拡散方式により2値化された600DPI
の印字用2値画像を図5に、パターンディザ方式により
2値化された600DPIの印字用2値画像を図6に、
比較のために原画像データを従来の600DPIで処理
した印字用2値画像を図7に示す。
Next, in step ST15, the multi-valued image for one page stored in the multi-valued image storage section 18 is taken into the binary image forming section for printing 16, and the position of each pixel of the multi-valued image is read. Based on the relationship, it is binarized by an error diffusion method or a pattern dither method, which will be described later, and converted into a print binary image as print data of 600 DPI having the same number of pixels as the print resolution, and the print binary image storage unit 19 Memorized in. 600 DPI binarized by this error diffusion method
FIG. 5 shows a binary image for printing of, and FIG. 6 shows a binary image for printing of 600 DPI binarized by the pattern dither method.
For comparison, FIG. 7 shows a printing binary image obtained by processing original image data with conventional 600 DPI.

【0036】つぎに、ステップST16において、印字用
2値画像格納部19に記憶された1頁分の印字用2値画
像が1頁毎にLBP3に順次出力され、印字分解能60
0DPIのLBP3により64ドット程度で文字が図示
しない記録媒体にすべて印字(記録)されることにより
処理が終了する。
Next, in step ST16, the printing binary image for one page stored in the printing binary image storage unit 19 is sequentially output to the LBP 3 page by page, and the printing resolution 60
The processing is completed when all characters are printed (recorded) on a recording medium (not shown) with about 64 dots by LBP3 of 0 DPI.

【0037】つぎに、誤差拡散方式を用いた多値画像の
2値化による印字用2値画像の形成について図8に示す
フローチャートにより詳しく説明する。
Next, the formation of a printing binary image by binarizing a multivalued image using the error diffusion method will be described in detail with reference to the flowchart shown in FIG.

【0038】本実施例の誤差拡散方式を用いた印字用2
値画像の形成の処理が開始されると、ステップST21に
おいて、多値画像の座標(整数座標)に対する初期設定
が行われ、つぎのステップST22において濃度値Dの初
期設定が行われ、つぎのステップST23に進行する。
2 for printing using the error diffusion method of this embodiment
When the process of forming the value image is started, the initial setting for the coordinates (integer coordinates) of the multivalued image is performed in step ST21, the initial setting of the density value D is performed in the next step ST22, and the next step Proceed to ST23.

【0039】前記ステップST21における座標の初期設
定は、多値画像のX方向(横方向)の座標を0(X=
0)とし、多値画像のY方向(縦方向)の座標を0(Y
=0)とすることにより行われる。つまり、XY座標の
原点(X=0,Y=0)を形成する。このXY座標の原
点が印字時の原点とされる。
The initial setting of the coordinates in step ST21 is to set the coordinates in the X direction (horizontal direction) of the multi-valued image to 0 (X =
0) and the coordinate in the Y direction (vertical direction) of the multi-valued image is 0 (Y
= 0). That is, the origin of XY coordinates (X = 0, Y = 0) is formed. The origin of this XY coordinate is the origin for printing.

【0040】前記ステップST22における濃度値Dの初
期設定は、多値データの白を0とし、黒を16とする0
〜16の多段階の濃度値Dを0(D=0(白))とする
ことにより行われる。
In the initial setting of the density value D in step ST22, the white of the multivalued data is set to 0 and the black is set to 16
It is performed by setting the multi-stage density value D of ˜16 to 0 (D = 0 (white)).

【0041】つぎに、ステップST23において、初期設
定された濃度値Dに多値画像の処理する画素の濃度値D
(X,Y)(D(X,Y)=0〜16)を加えて処理す
るための新たな濃度値D(D=D+D(X,Y))を求
める。
Next, in step ST23, the density value D of the pixel to be processed in the multi-valued image is set to the initially set density value D.
(X, Y) (D (X, Y) = 0 to 16) is added to obtain a new density value D (D = D + D (X, Y)) for processing.

【0042】つぎに、ステップST24において、多値画
像の処理する画素の座標Xが偶数か否かを判断し、ステ
ップST24の判断がYES(Xが偶数)の場合には、つ
ぎのステップST25aに進行して、多値画像の処理する
画素の座標Yが偶数か否かを判断し、ステップST25a
の判断がYES(Yが偶数)の場合には、つぎのステッ
プST26aに進行し、ステップST25aの判断がNO
(Yが奇数)の場合には、つぎのステップST26bに進
行する。つまり、多値画像の処理する画素の座標(X,
Y)が偶数と偶数または奇数と奇数との組み合わせの場
合にステップST26aに進行する。
Next, in step ST24, it is determined whether or not the coordinate X of the pixel to be processed in the multi-valued image is an even number. If the determination in step ST24 is YES (X is an even number), the process proceeds to the next step ST25a. The process proceeds to determine whether the coordinate Y of the pixel to be processed in the multi-valued image is an even number, and step ST25a
If the determination is YES (Y is an even number), the process proceeds to the next step ST26a, and the determination in step ST25a is NO.
If (Y is an odd number), the process proceeds to the next step ST26b. That is, the coordinates (X,
If Y) is a combination of even and even or odd and odd, the process proceeds to step ST26a.

【0043】前記ステップST24の判断がNO(Xが奇
数)の場合には、つぎのステップST25bに進行して、
多値画像の処理する画素の座標Yが偶数か否かを判断
し、ステップST25bの判断がYES(Yが偶数)の場
合には、つぎのステップST26bに進行し、ステップS
T25bの判断がNO(Yが奇数)の場合には、つぎのス
テップST26aに進行する。つまり、多値画像の処理す
る画素の座標(X,Y)が偶数と奇数または奇数と偶数
との組み合わせの場合にステップST26bに進行する。
If the determination in step ST24 is NO (X is an odd number), the process proceeds to the next step ST25b,
It is determined whether or not the coordinates Y of the pixels to be processed in the multi-valued image are even, and if the determination in step ST25b is YES (Y is an even number), the process proceeds to the next step ST26b and step S26b.
If the determination in T25b is NO (Y is an odd number), the process proceeds to the next step ST26a. That is, when the coordinates (X, Y) of the pixels to be processed in the multi-valued image are combinations of even numbers and odd numbers or odd numbers and even numbers, the process proceeds to step ST26b.

【0044】つぎにステップST26aにおいて、多値画
像の処理する画素の新たな濃度値Dの値がしきい値12
以上かどうか(D≧12)を判断し、ステップST26a
の判断がYES(しきい値12以上)の場合には、つぎ
のステップST27aに進行し、その多値画像の画素の座
標(X,Y)に対応する座標に位置する出力画素として
の印字用2値画像の画素の2値データを黒(1)とし、
つぎのステップST28に進行し、濃度値Dから16を減
算したものを新たな濃度値Dとして、つぎのステップS
T29に進行する。
Next, in step ST26a, the new density value D of the pixel to be processed in the multi-valued image is set to the threshold value 12
It is determined whether or not (D ≧ 12), and step ST26a
If the determination is YES (threshold value 12 or more), the process proceeds to the next step ST27a, in which printing is performed as an output pixel located at the coordinates corresponding to the coordinates (X, Y) of the pixel of the multivalued image. The binary data of the pixel of the binary image is black (1),
The process proceeds to the next step ST28, and the value obtained by subtracting 16 from the density value D is set as a new density value D, and the next step S
Proceed to T29.

【0045】前記ステップST26aの判断がNO(しき
い値12未満)の場合には、つぎのステップST27bに
進行し、その多値画像の画素の座標(X,Y)に対応す
る座標に位置する出力画素としての印字用2値画像の画
素の2値データを白(0)とし、つぎのステップST29
に進行する。
If the determination in step ST26a is NO (less than the threshold value 12), the process proceeds to the next step ST27b, where the pixel is located at the coordinates corresponding to the pixel coordinates (X, Y) of the multivalued image. The binary data of the pixel of the binary image for printing as the output pixel is set to white (0), and the next step ST29
Proceed to.

【0046】一方、ステップST26bにおいて、多値画
像の処理する画素の新たな濃度値Dの値がしきい値4以
上かどうか(D≧4)を判断し、ステップST26bの判
断がYES(しきい値4以上)の場合には、つぎのステ
ップST27aに進行し、その多値画像の画素の座標
(X,Y)に対応する座標に位置する出力画素としての
印字用2値画像の画素の2値データを黒(1)とし、つ
ぎのステップST28に進行し、濃度値Dから16を減算
したものを新たな濃度値Dとして、つぎのステップST
29に進行する。
On the other hand, in step ST26b, it is determined whether or not the new density value D of the pixel to be processed in the multi-valued image is equal to or greater than the threshold value 4 (D ≧ 4), and the determination in step ST26b is YES (threshold value). If the value is 4 or more), the process proceeds to the next step ST27a, and 2 of the pixels of the binary image for printing as the output pixel located at the coordinates corresponding to the coordinates (X, Y) of the pixel of the multivalued image. The value data is set to black (1), the process proceeds to the next step ST28, and the value obtained by subtracting 16 from the density value D is set as the new density value D, and the next step ST28.
Proceed to 29.

【0047】前記ステップST26bの判断がNO(しき
い値4未満)の場合には、つぎのステップST27bに進
行し、その多値画像の画素の座標(X,Y)に対応する
座標に位置する出力画素としての印字用2値画像の画素
の2値データを白(0)とし、つぎのステップST29に
進行する。
If the determination in step ST26b is NO (less than the threshold value 4), the process proceeds to the next step ST27b, where the pixel is located at the coordinates corresponding to the coordinates (X, Y) of the pixel of the multivalued image. The binary data of the pixel of the binary image for printing as the output pixel is set to white (0), and the process proceeds to the next step ST29.

【0048】つぎに、ステップST29において、座標X
に1を加えて新たなX座標(X=X+1)とし、処理し
た画素のX座標に対して、X方向に隣位する次に処理す
る画素を選択し、つぎのステップST30に進行する。
Next, in step ST29, the coordinate X
Is added to 1 to set a new X coordinate (X = X + 1), the pixel to be processed next adjacent to the X coordinate of the processed pixel in the X direction is selected, and the process proceeds to the next step ST30.

【0049】つぎに、ステップST30において、新たな
X座標がX座標の最大を越えたか否かを判断し、ステッ
プST30の判断がNO(X座標の最大を越えていない)
場合には、ステップST23に戻り、ステップST30の判
断がYES(X座標の最大を越える)になるまでステッ
プST23からステップST29を繰り返す。
Next, in step ST30, it is determined whether or not the new X coordinate exceeds the maximum X coordinate, and the determination in step ST30 is NO (the maximum X coordinate is not exceeded).
In this case, the process returns to step ST23, and steps ST23 to ST29 are repeated until the determination in step ST30 becomes YES (exceeds the maximum X coordinate).

【0050】前記ステップST30の判断がYES(X座
標の最大を越える)の場合には、つぎのステップST31
に進行し、座標Xを0(X=0)とし、つぎのステップ
ST32に進行し、座標Yに1を加えて新たなY座標(Y
=Y+1)とし、つぎのステップST33に進行する。
If the determination in step ST30 is YES (exceeds the maximum X coordinate), the next step ST31
Then, the coordinate X is set to 0 (X = 0), the process proceeds to the next step ST32, 1 is added to the coordinate Y, and a new Y coordinate (Y
= Y + 1), and proceeds to the next step ST33.

【0051】つぎに、ステップST33において、新たな
Y座標がY座標の最大を越えたか否かを判断し、ステッ
プST33の判断がNO(Y座標の最大を越えていない)
場合には、ステップST23に戻り、ステップST33の判
断がYES(Y座標の最大を越える)になるまでステッ
プST23からステップST32を繰り返す。
Then, in step ST33, it is determined whether or not the new Y coordinate exceeds the maximum Y coordinate, and the determination in step ST33 is NO (the maximum Y coordinate is not exceeded).
In this case, the process returns to step ST23, and steps ST23 to ST32 are repeated until the determination in step ST33 becomes YES (exceeds the maximum Y coordinate).

【0052】前記ステップST33の判断がYES(Y座
標の最大を越える)の場合には、処理を終了する。
If the determination in step ST33 is YES (exceeds the maximum Y coordinate), the process ends.

【0053】なお、本実施例におけるしきい値の値(1
2、4)は、細分化する2値画像の画素数、多値データ
の大きさ(区分数)、印字分解能、印字品質の目標レベ
ル等に基づいて、設計コンセプトにより決定すればよ
く、特に、本実施例の値に限定されるものではない。
The threshold value (1
2, 4) may be determined by the design concept based on the number of pixels of the binary image to be subdivided, the size of multi-valued data (the number of sections), the print resolution, the target level of the print quality, and the like. The values are not limited to those in this embodiment.

【0054】また、本実施例においては、多値画像を印
字用2値画像に変換する場合に、多値画像の各画素の位
置関係により、2値化するためのしきい値を可変とする
ようにされている。このしきい値を可変とするのは、図
9の(a)に示すように、描くべき図形を印字する画像
を印字画素の中間位置に位置させる場合に、しきい値を
一定の値にすると、図形のサイズや画素との位相によ
り、印字用2値画像が、図9の(b)に示すケースA
(悪い例)と、図9の(c)に示すケースB(良い例)
との2形態の何れか一方の形態をとることになる。この
時、ケースBの形態となる場合には、記録媒体に印字さ
れた印字画像が平滑化されるので何等問題はないが、ケ
ースAの形態となる場合には、記録媒体に印字された印
字画像が破線となり、好ましくない。
Further, in the present embodiment, when converting a multi-valued image into a binary image for printing, the threshold value for binarization is made variable depending on the positional relationship of each pixel of the multi-valued image. Is being done. This threshold value is made variable by setting the threshold value to a constant value when the image for printing the figure to be drawn is positioned at the intermediate position of the print pixels as shown in FIG. 9A. , A case where a binary image for printing is shown in FIG. 9B depending on the size of the figure and the phase with the pixel.
(Bad example) and Case B shown in (c) of FIG. 9 (Good example)
One of the two forms will be taken. At this time, in the case B, the printed image printed on the recording medium is smoothed, so that there is no problem. However, in the case A, the printed image is printed on the recording medium. The image becomes a broken line, which is not preferable.

【0055】そこで、本実施例においては、多値画像を
印字用2値画像に変換する場合に、多値画像の各画素の
位置(座標)が、横座標(X座標)に対して偶数または
奇数の何れをとるのか、縦座標(Y座標)に対し偶数ま
たは奇数の何れをとるのかという、下表に示す、横座標
および縦座標に対する偶数と奇数との組み合わせによ
り、下表においてアの場合にはしきい値を下げ、下表に
おいてイの場合にはしきい値を上げることにより、常
に、ケースBとなるように制御している。
Therefore, in the present embodiment, when converting a multi-valued image into a binary image for printing, the position (coordinate) of each pixel of the multi-valued image is an even number with respect to the abscissa (X coordinate). In the table below, depending on the combination of even and odd numbers for the abscissa and ordinate, as shown in the table below, which is an odd number and which is an even number or an odd number for the ordinate (Y coordinate) The control is performed so that the case B is always performed by lowering the threshold value and raising the threshold value in the case of (a) in the table below.

【0056】 前記しきい値の制御は、誤差拡散方式においては、図8
に示すフローチャートのステップST24からステップS
T26により施されている。
[0056] In the error diffusion method, the control of the threshold value is as shown in FIG.
Step ST24 to Step S of the flowchart shown in
It is provided by T26.

【0057】つぎに、パターンディザ方式を用いた多値
画像の2値化による印字用2値画像の形成について図1
0に示すフローチャートにより詳しく説明する。なお、
パターンディザ方式の場合、用いる画素マトリックスの
大きさとしては、縦横2×2の4画素、縦横4×4の1
6画素、縦横8×8の64画素等の種々のものが考えら
れるが、本実施例においては、縦横2×2の画素マトリ
ックスを用いたものとして説明する。
Next, the formation of a binary image for printing by binarizing a multivalued image using the pattern dither method will be described with reference to FIG.
This will be described in detail with reference to the flowchart shown in FIG. In addition,
In the case of the pattern dither method, the size of the pixel matrix used is 4 pixels vertically and horizontally 2 × 2, 1 vertically and horizontally 4 × 4.
Although various types such as 6 pixels and 64 pixels of 8 × 8 in length and width can be considered, in the present embodiment, description will be made assuming that a pixel matrix of 2 × 2 in length and width is used.

【0058】本実施例のパターンディザ方式を用いた印
字用2値画像の形成の処理が開始されると、ステップS
T51において、多値画像の座標(整数座標)に対する初
期設定が行われ、つぎのステップST52に進行する。
When the process of forming the binary image for printing using the pattern dither method of this embodiment is started, step S
At T51, the initial setting for the coordinates (integer coordinates) of the multivalued image is performed, and the process proceeds to the next step ST52.

【0059】前記ステップST51における座標の初期設
定は、多値画像のX方向(横方向)の座標を0(X=
0)とし、多値画像のY方向(縦方向)の座標を0(Y
=0)とすることにより行われる。つまり、XY座標の
原点(X=0,Y=0)を形成する。このXY座標の原
点が印字時の原点とされる。
The initial setting of the coordinates in step ST51 is to set the coordinates in the X direction (horizontal direction) of the multi-valued image to 0 (X =
0) and the coordinate in the Y direction (vertical direction) of the multi-valued image is 0 (Y
= 0). That is, the origin of XY coordinates (X = 0, Y = 0) is formed. The origin of this XY coordinate is the origin for printing.

【0060】つぎに、ステップST52において、多値画
像の処理する画素の座標Xが偶数か否かを判断し、ステ
ップST52の判断がYES(Xが偶数)の場合には、つ
ぎのステップST53に進行して、処理する画素の座標Y
が偶数か否かを判断し、ステップST53の判断がYES
(Yが偶数)の場合には、つぎのステップST54に進行
し、しきい値Sを3(S=3)とし、つぎのステップS
T59に進行する。
Next, in step ST52, it is determined whether or not the coordinate X of the pixel to be processed in the multi-valued image is an even number. If the determination in step ST52 is YES (X is an even number), the process proceeds to the next step ST53. Coordinate Y of the pixel to process and process
Is an even number, and the judgment in step ST53 is YES.
If (Y is an even number), the process proceeds to the next step ST54, the threshold value S is set to 3 (S = 3), and the next step S
Proceed to T59.

【0061】前記ステップST53の判断がNO(Yが奇
数)の場合には、つぎのステップST55に進行し、しき
い値Sを10(S=10)とし、つぎのステップST59
に進行する。
When the determination in step ST53 is NO (Y is an odd number), the process proceeds to the next step ST55, the threshold value S is set to 10 (S = 10), and the next step ST59
Proceed to.

【0062】一方、前記ステップST52の判断がNO
(Xが奇数)の場合には、つぎのステップST56に進行
して、処理する画素の座標Yが偶数か否かを判断し、ス
テップST56の判断がYES(Yが偶数)の場合には、
つぎのステップST57に進行し、しきい値Sを14(S
=14)とし、つぎのステップST59に進行する。
On the other hand, the determination in step ST52 is NO.
If (X is an odd number), the process proceeds to the next step ST56, and it is determined whether or not the coordinate Y of the pixel to be processed is an even number. If the determination in step ST56 is YES (Y is an even number),
Next, in step ST57, the threshold value S is set to 14 (S
= 14), and proceeds to the next step ST59.

【0063】前記ステップST56の判断がNO(Yが奇
数)の場合には、つぎのステップST58に進行し、しき
い値Sを7(S=7)とし、つぎのステップST59に進
行する。
If the determination in step ST56 is NO (Y is an odd number), the process proceeds to the next step ST58, the threshold value S is set to 7 (S = 7), and the process proceeds to the next step ST59.

【0064】つぎにステップST59において、多値画像
の処理する画素(X,Y)の濃度値D(X,Y)の値が
しきい値S以上(D(X,Y)≧S)かどうか、詳しく
は、処理する画素の座標Xと座標Yとの組み合わせが、
XおよびYが偶数の場合にはしきい値S=3以上(D≧
S=3)かどうか、Xが偶数でYが奇数の場合にはしき
い値S=10以上(D≧S=10)かどうか、Xが奇数
でYが偶数の場合にはしきい値S=14以上(D≧S=
14)かどうか、XおよびYが奇数の場合にはしきい値
S=7以上(D≧7)かどうかを判断し、ステップST
59の判断がYES(しきい値以上)の場合には、つぎの
ステップST60aに進行し、その多値画像の画素の座標
(X,Y)に対応する座標に位置する出力画素としての
印字用2値画像の画素の2値データを黒(1)として、
つぎのステップST61に進行する。
Next, at step ST59, whether the value of the density value D (X, Y) of the pixel (X, Y) to be processed in the multivalued image is greater than or equal to the threshold value S (D (X, Y) ≧ S). , More specifically, the combination of the coordinate X and the coordinate Y of the pixel to be processed is
When X and Y are even numbers, the threshold value S = 3 or more (D ≧
S = 3), if X is even and Y is odd, threshold S = 10 or more (D ≧ S = 10); if X is odd and Y is even, threshold S = 14 or more (D ≧ S =
14), if X and Y are odd, it is judged whether the threshold value S = 7 or more (D ≧ 7), and step ST
If the judgment in 59 is YES (greater than or equal to the threshold value), the process proceeds to the next step ST60a, in which printing is performed as an output pixel located at the coordinates corresponding to the coordinates (X, Y) of the pixel of the multivalued image. The binary data of the pixel of the binary image is set to black (1),
Then, the process proceeds to next step ST61.

【0065】前記ステップST59の判断がNO(しきい
値未満)の場合には、つぎのステップST60bに進行
し、その多値画像の画素の座標(X,Y)に対応する座
標に位置する出力画素としての印字用2値画像の画素の
2値データを白(0)として、つぎのステップST61に
進行する。
If the determination in step ST59 is NO (less than the threshold value), the process proceeds to the next step ST60b, and the output located at the coordinates corresponding to the coordinates (X, Y) of the pixel of the multivalued image is output. The binary data of the pixel of the binary image for printing as a pixel is set to white (0), and the process proceeds to the next step ST61.

【0066】つぎに、ステップST61において、座標X
に1を加えて新たなX座標とし(X=X+1)、処理し
た画素のX座標に対して、X方向に隣位する次に処理す
る画素を選択し、つぎのステップST62に進行する。
Next, in step ST61, the coordinate X
Is added to 1 as a new X coordinate (X = X + 1), and the next pixel to be processed next to the X coordinate of the processed pixel in the X direction is selected, and the process proceeds to the next step ST62.

【0067】つぎに、ステップST62において、新たな
X座標がX座標の最大を越えたか否かを判断し、ステッ
プST62の判断がNO(X座標の最大を越えていない)
の場合には、ステップST52に戻り、ステップST62の
判断がYES(X座標の最大を越える)になるまでステ
ップST52からステップST62を繰り返す。
Next, in step ST62, it is determined whether or not the new X coordinate exceeds the maximum X coordinate, and the determination in step ST62 is NO (the maximum X coordinate is not exceeded).
In the case of, the process returns to step ST52, and steps ST52 to ST62 are repeated until the determination in step ST62 becomes YES (exceeds the maximum X coordinate).

【0068】前記ステップST62の判断がYES(X座
標の最大を越える)の場合には、つぎのステップST63
に進行し、座標Xを0とし(X=0)、つぎのステップ
ST64に進行し、座標Yに1を加えて新たなY座標とし
(Y=Y+1)、つぎのステップST65に進行する。
If the determination in step ST62 is YES (exceeds the maximum X coordinate), then step ST63
The coordinate X is set to 0 (X = 0), the process proceeds to the next step ST64, 1 is added to the coordinate Y to obtain a new Y coordinate (Y = Y + 1), and the process proceeds to the next step ST65.

【0069】つぎに、ステップST65において、新たな
Y座標がY座標の最大を越えたか否かを判断し、ステッ
プST65の判断がNO(Y座標の最大を越えていない)
場合には、ステップST52に戻り、ステップST65の判
断がYES(Y座標の最大を越える)になるまでステッ
プST52からステップST65を繰り返す。
Next, in step ST65, it is determined whether or not the new Y coordinate exceeds the maximum Y coordinate, and the determination in step ST65 is NO (the maximum Y coordinate is not exceeded).
In this case, the process returns to step ST52, and steps ST52 to ST65 are repeated until the determination in step ST65 becomes YES (exceeds the maximum Y coordinate).

【0070】前記ステップST65の判断がYES(Y座
標の最大を越える)の場合には、処理を終了する。
If the determination in step ST65 is YES (exceeds the maximum Y coordinate), the process ends.

【0071】なお、本実施例におけるしきい値Sの値
(3、10、14、7)は、細分化する2値画像の画素
数、多値データの大きさ(区分数)、印字分解能、印字
品質の目標レベル等に基づいて、設計コンセプトにより
決定すればよく、特に、本実施例の値に限定されるもの
ではない。
The value (3, 10, 14, 7) of the threshold value S in this embodiment is the number of pixels of the binary image to be subdivided, the size of multi-valued data (the number of sections), the printing resolution, It may be determined based on the design concept based on the target level of print quality, etc., and is not particularly limited to the value of this embodiment.

【0072】また、本実施例においては、多値画像を印
字用2値画像に変換する場合について、誤差拡散方式
と、パターンディザ方式とを例示したが、両者を比較す
ると、印字品質については、誤差拡散方式がパターンデ
ィザ方式より優れており、処理速度については、パター
ンディザ方式が誤差拡散方式より優れており、何れの方
式を選択するかは、印字品質の目標レベル、処理速度等
に基づいて、設計コンセプトにより決定すればよい。
Further, in the present embodiment, the error diffusion method and the pattern dither method have been exemplified in the case of converting a multi-valued image into a binary image for printing. The error diffusion method is superior to the pattern dither method, and regarding the processing speed, the pattern dither method is superior to the error diffusion method, and which method to select is based on the target level of print quality, the processing speed, etc. , It may be decided according to the design concept.

【0073】このように、本実施例の印字画像形成方法
を用いた印字用2値画像によれば、直線の現画像は、図
11の(a)に示すように、1本の直線と、1本の直線
と1画素おきの点線との組合わさった組み合わせ線との
何れかの形態で形成されることになる。この印字用2値
画像を、印字分解能600DPIのLBP3により印字
すると、図11の(b)に示すように、1画素の線に1
画素おきの点線が加わった組み合わせ線からなる印字用
2値画像が、1画素の線幅のほぼ1.5倍の太さで表現
されるとともに、1画素おきの点線による微小な凹凸は
印字により平滑化(平均化)され、結果的に、600D
PIの印字分解能を越えた1200DPIに相当する線
幅および/または線間隔の印字品質を得ることができ
る。このような平滑化された印字画像を拡大してみて
も、図11の(c)に示すように、円滑な輪郭が形成さ
れており、印字分解能を越えた高品質の印字画像を確実
に得ることができる。つまり、本実施例によれば、印字
分解能を向上させることなく、円滑な輪郭を有する印字
分解能以上の高品質の印字画像を確実に得ることができ
る。
As described above, according to the printing binary image using the print image forming method of this embodiment, the current image of the straight line is one straight line as shown in FIG. It is formed in any form of one straight line and a combination line in which dotted lines for every other pixel are combined. When this binary image for printing is printed by LBP3 having a printing resolution of 600 DPI, one line is formed for each pixel as shown in FIG. 11 (b).
A binary image for printing, which is composed of a combination line to which a dotted line for every pixel is added, is expressed with a thickness of about 1.5 times the line width of one pixel, and minute unevenness due to a dotted line for every pixel is printed. Smoothed (averaged), resulting in 600D
It is possible to obtain a print quality with a line width and / or line spacing corresponding to 1200 DPI, which exceeds the print resolution of PI. Even if such a smoothed print image is enlarged, a smooth contour is formed as shown in FIG. 11C, and a high-quality print image exceeding the print resolution can be surely obtained. be able to. That is, according to the present embodiment, it is possible to reliably obtain a high-quality printed image having a smooth contour and higher than the printing resolution without improving the printing resolution.

【0074】本実施例の印字画像形成方法を用いて印字
分解能600DPIのLBP3で印字した印字例を、誤
差拡散方式を用いた場合を図12の(a)に、誤差拡散
方式を用いた場合の印字例の「美」という文字を拡大し
たものを図13に、パターンディザ方式を用いた場合の
印字例を図12の(b)に、パターンディザ方式を用い
た場合の印字例の「美」という文字を拡大したものを図
14に示す。比較のために従来の印字画像形成方法によ
る600DPIのLBP(図示せず)で印字した印字例
を図12の(c)に、従来の印字画像形成方法による3
00DPIのLBP(図示せず)で印字した印字例を図
12の(d)に、これらの印字例の中の「美」という文
字を拡大したものを図15および図16に示す。
FIG. 12 (a) shows the case of using the error diffusion method in the print example of printing with the LBP3 having the print resolution of 600 DPI using the print image forming method of the present embodiment. An enlarged version of the character "Beauty" in the print example is shown in FIG. 13, a print example using the pattern dither method is shown in FIG. 12B, and a "Beauty" print example in the case of using the pattern dither method. FIG. 14 shows an enlarged version of the letters. For comparison, a print example of printing with a 600 DPI LBP (not shown) according to the conventional print image forming method is shown in FIG.
Print examples printed with 00DPI LBP (not shown) are shown in (d) of FIG. 12, and enlarged characters of “Beauty” in these print examples are shown in FIGS. 15 and 16.

【0075】なお、本実施例においては、文字を印字す
る場合について説明したが、文字だけでなく、イラスト
や描画された図形、スキャナにより印字分解能より細分
化されて取り込まれた2値の図形にも当然適用すること
ができる。
In the present embodiment, the case of printing characters has been described. However, not only characters, but also illustrations and drawn figures, and binary figures subdivided by the scanning resolution by the scanner and captured. Can of course also be applied.

【0076】また、本実施例においては、プリンタコン
トロールボード7により画像データを処理する構成を用
いて説明を行ったが、本発明においては、このようなプ
リンタコントロールボード7を用いずに、印字プログラ
ム等を主記憶装置5に格納しておき、各種画像データの
処理等をすべて本体2のCPU4により行うように構成
することも可能である。
Further, although the present embodiment has been described by using the configuration in which the image data is processed by the printer control board 7, in the present invention, such a printer control board 7 is not used and a printing program is used. It is also possible to store the above in the main storage device 5 and to perform all processing of various image data by the CPU 4 of the main body 2.

【0077】さらにまた、本実施例は、プリンタとして
印字分解能600DPIのLBP3を用いたが、プリン
タとしては熱転写プリンタのようなサーマルプリンタで
あってもよい。このサーマルプリンタは、通常、サーマ
ルヘッドの熱の蓄積の影響を回避するために従来から通
電履歴補正を施すようにされているが、この通電履歴補
正の条件を調整することにより、印字した画像の輪郭の
円滑化をより高めることができる。
Furthermore, in this embodiment, the LBP3 having a print resolution of 600 DPI is used as the printer, but the printer may be a thermal printer such as a thermal transfer printer. Normally, this thermal printer has been conventionally subjected to energization history correction in order to avoid the effect of heat accumulation in the thermal head. However, by adjusting the conditions of this energization history correction, the printed image The smoothness of the contour can be further enhanced.

【0078】さらに、本実施例の印字画像形成方法を用
いた印字画像の輪郭の円滑化は、微小な凹凸が印字によ
り平均化される場合、微小な凹凸が印字により肉眼で判
別できなくなる場合のどちらかを越える印字分解能で有
効となる。この有効となる印字分解能は、プリンタの種
類(印字方式)により異なるが、レーザービームプリン
タにおいては印字分解能400〜800DPI程度以上
であり、熱転写プリンタにおいては印字分解能600D
PI程度以上であり、インクジェットプリンタにおいて
は印字後のにじみが発生するので印字分解能400DP
I程度以上である。
Further, the smoothing of the contour of the printed image using the printed image forming method of the present embodiment is performed when the fine unevenness is averaged by the printing and the fine unevenness cannot be discriminated by the naked eye due to the printing. It becomes effective with print resolution exceeding either of them. The effective print resolution varies depending on the type of printer (printing method), but the print resolution is about 400 to 800 DPI or more in the laser beam printer and 600 D in the thermal transfer printer.
The print resolution is 400 DP or more, since it is about PI or more and bleeding occurs after printing in an inkjet printer.
It is about I or more.

【0079】なお、本発明は、前記実施例に限定される
ものではなく、必要に応じて変更することができる。
The present invention is not limited to the above embodiment, but can be modified as necessary.

【0080】[0080]

【発明の効果】以上説明したように本発明の印字画像形
成方法によれば、印字分解能を向上させることなく、円
滑な輪郭を有する印字分解能以上の高品質の印字画像を
確実に得ることができるという極めて優れた効果を奏す
る。
As described above, according to the print image forming method of the present invention, it is possible to surely obtain a high-quality print image having a smooth contour and higher than the print resolution without improving the print resolution. That is an extremely excellent effect.

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

【図1】本発明に係る印字画像形成方法を適用する一実
施例の要部を示すシステムブロック図
FIG. 1 is a system block diagram showing a main part of an embodiment to which a print image forming method according to the present invention is applied.

【図2】本発明に係る印字画像形成方法の一実施例を示
すフローチャート
FIG. 2 is a flowchart showing an embodiment of a print image forming method according to the present invention.

【図3】本発明に係る印字画像形成方法により形成され
る印字分解能より細分化された2値画像を示す説明図
FIG. 3 is an explanatory diagram showing a binary image subdivided from the print resolution formed by the print image forming method according to the present invention.

【図4】、本発明に係る印字画像形成方法により形成さ
れる印字分解能と同一分解能の多値画像を示す説明図
FIG. 4 is an explanatory diagram showing a multi-valued image having the same resolution as the print resolution formed by the print image forming method according to the present invention.

【図5】本発明に係る印字画像形成方法の誤差拡散方式
により2値化された印字用2値画像を示す説明図
FIG. 5 is an explanatory diagram showing a binary image for printing, which is binarized by the error diffusion method of the printed image forming method according to the present invention.

【図6】本発明に係る印字画像形成方法のパターンディ
ザ方式により2値化された印字用2値画像を示す説明図
FIG. 6 is an explanatory view showing a binary image for printing, which is binarized by the pattern dither method of the printed image forming method according to the present invention.

【図7】従来の印字画像形成方法により形成される印字
用2値画像を示す説明図
FIG. 7 is an explanatory diagram showing a binary print image formed by a conventional print image forming method.

【図8】本発明に係る印字画像形成方法の誤差拡散方式
を示すフローチャート
FIG. 8 is a flowchart showing an error diffusion method of a print image forming method according to the present invention.

【図9】(a)から(c)は本発明に係る印字画像形成
方法の2値化するためのしきい値を可変とする理由を説
明するものであり、(a)は描くべき画像を示す説明
図、(b)悪い例を示す説明図、(c)良い例を示す説
明図
9A to 9C are diagrams for explaining the reason why the threshold value for binarizing the print image forming method according to the present invention is variable, and FIG. 9A shows the image to be drawn. Explanatory diagram showing, (b) explanatory diagram showing a bad example, (c) explanatory diagram showing a good example

【図10】本発明に係る印字画像形成方法のパターンデ
ィザ方式を示すフローチャート
FIG. 10 is a flowchart showing a pattern dither method of a print image forming method according to the present invention.

【図11】(a)から(c)は本発明に係る印字画像形
成方法による印字用2値画像とその印字例を示すもので
あり、(a)は印字用2画像データの内容を示す説明
図、(b)は600DPIでの印字例を示す説明図、
(c)は(b)の拡大図
11 (a) to 11 (c) show a printing binary image and a printing example by the printing image forming method according to the present invention, and FIG. 11 (a) shows the contents of printing two image data. FIG. 6B is an explanatory diagram showing an example of printing at 600 DPI,
(C) is an enlarged view of (b)

【図12】(a)から(d)は印字例を示すものであ
り、(a)は本発明に係る印字画像形成方法の誤差拡散
方式による印字例を示す説明図、(b)は本発明に係る
印字画像形成方法のパターンディザ方式による印字例を
示す説明図、(c)は従来の印字画像形成方法による6
00DPIの印字例を示す説明図、(d)は従来の印字
画像形成方法による300DPIの印字例を示す説明図
12A to 12D show examples of printing, FIG. 12A is an explanatory diagram showing an example of printing by an error diffusion method of a printed image forming method according to the present invention, and FIG. FIG. 6C is an explanatory view showing an example of printing by the pattern dither method of the print image forming method according to FIG.
Explanatory diagram showing a printing example of 00 DPI, (d) Explanatory diagram showing a printing example of 300 DPI by the conventional print image forming method

【図13】図8の(a)に示す印字例の中の「美」とい
う文字を拡大した拡大図
FIG. 13 is an enlarged view in which the character “Beauty” in the print example shown in FIG. 8A is enlarged.

【図14】図8の(b)に示す印字例の中の「美」とい
う文字を拡大した拡大図
FIG. 14 is an enlarged view in which the character “Beauty” in the print example shown in FIG. 8B is enlarged.

【図15】図8の(c)に示す印字例の中の「美」とい
う文字を拡大した拡大図
FIG. 15 is an enlarged view in which the character “Beauty” in the print example shown in FIG. 8C is enlarged.

【図16】図8の(d)に示す印字例の中の「美」とい
う文字を拡大した拡大図
FIG. 16 is an enlarged view in which the character “Beauty” in the print example shown in FIG. 8D is enlarged.

【図17】従来の印字分解能が300DPIのレーザー
プリンタによる印字画像の平滑化処理の一例を示す説明
FIG. 17 is an explanatory diagram showing an example of smoothing processing of a print image by a conventional laser printer having a print resolution of 300 DPI.

【図18】(a)および(b)は従来の印字画像形成方
法による2値化誤差を説明するものであり、(a)は現
画像を示す説明図、(b)は従来の印字画像形成方法に
よる2値化誤差を示す説明図
18A and 18B are diagrams for explaining a binarization error by a conventional print image forming method, FIG. 18A is an explanatory diagram showing a current image, and FIG. 18B is a conventional print image forming method. Explanatory diagram showing the binarization error by the method

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

1 システム 2 本体 3 レーザービームプリンタ(LBP) 4 CPU 5 主記憶装置 6 外部記憶装置 7 プリンタコントロールボード 10 CPU 11 画像メモリ 12 印字プログラム格納領域 13 データ格納領域 1 System 2 Main Body 3 Laser Beam Printer (LBP) 4 CPU 5 Main Storage Device 6 External Storage Device 7 Printer Control Board 10 CPU 11 Image Memory 12 Print Program Storage Area 13 Data Storage Area

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.6 識別記号 庁内整理番号 FI 技術表示箇所 G06T 5/00 G06F 15/68 350 ─────────────────────────────────────────────────── ─── Continuation of the front page (51) Int.Cl. 6 Identification code Internal reference number FI Technical display location G06T 5/00 G06F 15/68 350

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 原画像の原画像データを印字分解能より
細分化した画素数の2値画像とし、この2値画像の各画
素の2値データを印字画像の各画素に対応するマトリッ
クス毎に多値データ化することにより多値画像を形成
し、その後、多値画像を多値画像の各画素の位置関係に
基づいて印字分解能と同一画素数の印字用2値画像に変
換することを特徴とする印字画像形成方法。
1. An original image data of an original image is made into a binary image having a number of pixels subdivided from a printing resolution, and binary data of each pixel of this binary image is multi-valued for each matrix corresponding to each pixel of the printed image. A multi-valued image is formed by converting it into value data, and then the multi-valued image is converted into a printing binary image having the same number of pixels as the printing resolution based on the positional relationship of each pixel of the multi-valued image. A method for forming a printed image.
【請求項2】 前記印字用2値画像は、多値画像を誤差
拡散方式またはパターンディザ方式をもって2値化され
ることを特徴とする請求項1に記載の印字画像形成方
法。
2. The printed image forming method according to claim 1, wherein the binary image for printing is binarized from a multi-valued image by an error diffusion method or a pattern dither method.
【請求項3】 前記誤差拡散方式は、多値画像の各画素
の位置関係により、2値化するためのしきい値を可変と
することを特徴とする請求項2に記載の印字画像形成方
法。
3. The print image forming method according to claim 2, wherein in the error diffusion method, a threshold value for binarization is variable depending on a positional relationship of each pixel of a multivalued image. .
JP28986194A 1994-11-24 1994-11-24 Print image forming method Expired - Fee Related JP3194677B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP28986194A JP3194677B2 (en) 1994-11-24 1994-11-24 Print image forming method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP28986194A JP3194677B2 (en) 1994-11-24 1994-11-24 Print image forming method

Publications (2)

Publication Number Publication Date
JPH08149243A true JPH08149243A (en) 1996-06-07
JP3194677B2 JP3194677B2 (en) 2001-07-30

Family

ID=17748715

Family Applications (1)

Application Number Title Priority Date Filing Date
JP28986194A Expired - Fee Related JP3194677B2 (en) 1994-11-24 1994-11-24 Print image forming method

Country Status (1)

Country Link
JP (1) JP3194677B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114571871A (en) * 2022-03-01 2022-06-03 宁波得力科贝技术有限公司 Printing method and printer

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114571871A (en) * 2022-03-01 2022-06-03 宁波得力科贝技术有限公司 Printing method and printer

Also Published As

Publication number Publication date
JP3194677B2 (en) 2001-07-30

Similar Documents

Publication Publication Date Title
CN1684493B (en) Image forming apparatus and image forming method
JP2000118054A (en) Printer and method for reducing amount of consumption of toner
EP0708415B1 (en) Four-quadrant scaling of dot matrix data
CN1964422A (en) Watermarked information embedding apparatus and method, and computer program
JP4135195B2 (en) Print processing system, print processing method, and computer-readable recording medium on which print processing control program is recorded
US6129457A (en) Resolution enhancement for a digital printing apparatus
JP3194677B2 (en) Print image forming method
US5606628A (en) Apparatus and method for generating bit-mapped patterns of print characters
US6608698B1 (en) Printing apparatus and method for saving printing material
JPH089242B2 (en) Dot printer printing method
EP0420575B1 (en) Printer apparatus
JPH09156084A (en) Printing apparatus conducting continuous printing by lowering resolution
JP2885215B2 (en) Printer device
RU2365510C1 (en) Way of forming of symbols for microprinting
JP2580965B2 (en) Printer device
JP3823005B2 (en) Bitmap font creation device and document restoration device
US6297829B1 (en) Image processing apparatus, image output device, image processing method and record medium on which image processing program is recorded
JP4998421B2 (en) Image forming apparatus and image forming program
JP2843234B2 (en) Image processing method and image editing method
JPH08132674A (en) Print controlling method
JPH0596785A (en) Image output device
JPH03173659A (en) Emphatic print system
JP2965429B2 (en) Character output device
JP2002077587A (en) Method for recording invisible information and image forming apparatus
JP2003309728A (en) Apparatus and method for storing image data into memory

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20010515

LAPS Cancellation because of no payment of annual fees