JP2001069350A - Image forming device - Google Patents

Image forming device

Info

Publication number
JP2001069350A
JP2001069350A JP24325899A JP24325899A JP2001069350A JP 2001069350 A JP2001069350 A JP 2001069350A JP 24325899 A JP24325899 A JP 24325899A JP 24325899 A JP24325899 A JP 24325899A JP 2001069350 A JP2001069350 A JP 2001069350A
Authority
JP
Japan
Prior art keywords
image
error
data
edge
weighting
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP24325899A
Other languages
Japanese (ja)
Inventor
Tetsuo Ogushi
哲夫 大串
Hiroyuki Morimatsu
啓幸 森松
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP24325899A priority Critical patent/JP2001069350A/en
Publication of JP2001069350A publication Critical patent/JP2001069350A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide an output image of high quality while a high toner saving rate is realized. SOLUTION: An image forming device has an edge detection means 102 outputting an objective pixel in multivalue image data and edge information detected in the objective pixel, an input image gradation modulation means 103 converting the gradation of an image with the objective pixel and edge information from the edge detection means 102, an error quantity calculation means 104 calculating error data on the output image, an error weighting means 106 operating error diffusion by referring to error data and pixel data after a gradation conversion processing and weighting error data to objective pixel data, a dot size decision means 107 deciding a dot size corresponding to the image from toner saving mode setting information, edge information and image data after the error weighting processing and a dot coordinate deciding means 108 referring to the dot size and image data after the error weighting processing, deciding the coordinate of the dot and executing a binarization processing.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、画像データに基づ
いて記録媒体に画像を形成する画像形成装置に関するも
のである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image forming apparatus for forming an image on a recording medium based on image data.

【0002】[0002]

【従来の技術】多値画像を二値画像に変換する方法の一
つとして、誤差拡散法が知られている。
2. Description of the Related Art An error diffusion method is known as one of the methods for converting a multi-valued image into a binary image.

【0003】以下、誤差拡散法による従来の画像形成装
置について説明する。
Hereinafter, a conventional image forming apparatus using the error diffusion method will be described.

【0004】ここで、図5は誤差拡散法による従来の画
像形成装置を示すブロック図、図6は誤差マトリクスの
一例を示す説明図である。
FIG. 5 is a block diagram showing a conventional image forming apparatus using an error diffusion method, and FIG. 6 is an explanatory diagram showing an example of an error matrix.

【0005】図5に示すように、画像形成装置は、注目
画素の多値データが読み込まれる画像メモリ1と、格納
されている補正データを参照してプリンタ等の出力機器
の印字特性に応じた多値データに補正を行うγ補正RO
M2と、誤差拡散法により画像の二値化処理が行われて
二値信号を出力する誤差拡散装置9とから構成されてい
る。
As shown in FIG. 5, the image forming apparatus refers to an image memory 1 in which multi-value data of a pixel of interest is read, and refers to stored correction data in accordance with printing characteristics of an output device such as a printer. Γ correction RO for correcting multi-value data
M2 and an error diffusion device 9 that performs a binarization process on an image by an error diffusion method and outputs a binary signal.

【0006】誤差拡散装置9は、γ補正ROM2からの
多値データに誤差量格納手段4に格納された誤差データ
を加算する加算器3と、誤差データの加算された多値デ
ータと二値化閾値とを比較して所定の二値信号を出力す
る比較器5と、当該二値信号から入力データの階調数に
応じた二値信号を算出する乗算器8、二値信号と誤差デ
ータの加算された多値データとから二値化処理時の二値
化誤差を算出する減算器7と、この二値化誤差に重み付
けをして前述の誤差量格納手段4に出力する重み付け誤
差演算器6とから構成されている。
The error diffusion device 9 includes an adder 3 for adding the error data stored in the error amount storage means 4 to the multi-value data from the γ correction ROM 2, and a binarization of the multi-value data to which the error data has been added. A comparator 5 for comparing the threshold value with a threshold value and outputting a predetermined binary signal; a multiplier 8 for calculating a binary signal corresponding to the number of gradations of the input data from the binary signal; A subtractor 7 for calculating a binarization error in the binarization processing from the added multi-valued data; and a weighting error calculator for weighting the binarization error and outputting the weighted error to the error amount storage means 4. 6 is comprised.

【0007】このような画像形成装置によれば、画像メ
モリ1から二値化処理を行う多値データDが読み込ま
れ、γ補正ROM2において、補正データを参照してプ
リンタ等の出力機器の印字特性に応じた多値データD’
へとγ補正される。γ補正された多値データD’は、誤
差拡散装置9の加算器3により誤差データEが加算さ
れ、多値データFが出力される。
According to such an image forming apparatus, multivalued data D for performing binarization processing is read from the image memory 1, and the gamma correction ROM 2 refers to the correction data and refers to the printing characteristics of an output device such as a printer. Data D 'according to
Is corrected by .gamma. The error data E is added by the adder 3 of the error diffusion device 9 to the γ-corrected multi-value data D ′, and multi-value data F is output.

【0008】次に比較器5において、誤差データEを付
加された注目画素の多値データFは、二値化閾値Thと
比較され、F>=Thの際には二値信号B=”1”が出
力され、F<Thの際には二値信号B=”0”が出力さ
れる。そして、この出力結果から、二値化処理時の二値
化誤差E’が減算器7によりE’=F−B’として算出
される。
Next, in the comparator 5, the multi-value data F of the pixel of interest to which the error data E has been added is compared with a binarization threshold Th, and when F> = Th, the binary signal B = “1”. Is output, and when F <Th, the binary signal B = "0" is output. Then, from this output result, a binarization error E ′ at the time of the binarization processing is calculated by the subtractor 7 as E ′ = FB ′.

【0009】ここで、B’は入力データが256階調
(0〜255)である場合、乗算器8によりB’=B×
255となる。したがって、たとえば、入力された多値
データDが230、二値化の閾値Thが128である場
合、二値化後の出力データはB=1であり、二値化誤差
Eは、
Here, when the input data has 256 gradations (0 to 255), the multiplier 8 calculates B ′ = B ×
255. Therefore, for example, when the input multi-value data D is 230 and the binarization threshold Th is 128, the output data after binarization is B = 1, and the binarization error E is

【0010】[0010]

【数1】 (Equation 1)

【0011】より求められる。すなわち、E=D−B×
255=230−1×255=−25となる。
More required. That is, E = D−B ×
255 = 230-1 × 255 = −25.

【0012】この二値化誤差Eは、これ以降処理される
画素のデータに対して分配するために、重み付け演算器
6において、所定の誤差マトリクスMxyにより誤差量
格納手段4に格納され、加算器3により次画素の多値デ
ータに加算され、誤差データの伝播が行われる。
The binarization error E is stored in the error amount storage means 4 by a weighting calculator 6 using a predetermined error matrix Mxy in order to distribute the data to the pixels to be processed thereafter. 3 is added to the multi-value data of the next pixel, and the error data is propagated.

【0013】すなわち、ここでは、入力された多値デー
タDが230であるので、二値化閾値Th=128との
比較結果、二値化後の出力データは1であり256階調
での255となるため、入力された多値データDの23
0に対して25の誤差が生じる。したがって、多値デー
タD=230に対する誤差25を二値化誤差Eとし、こ
の二値化誤差Eを重み付け誤差演算器6において誤差マ
トリクスを用いて未処理の画素の誤差量格納手段4へ誤
差分配し、以降の画素での二値化処理に反映させる。
That is, in this case, since the input multi-value data D is 230, as a result of comparison with the binarization threshold value Th = 128, the output data after binarization is 1 and 255 at 256 gradations. Therefore, 23 of the input multi-value data D
There are 25 errors for 0. Therefore, the error 25 with respect to the multi-valued data D = 230 is defined as a binarization error E, and the binarization error E is distributed to the error amount storage means 4 of the unprocessed pixel using the error matrix in the weighting error calculator 6. Then, it is reflected in the binarization processing in the subsequent pixels.

【0014】ここで、誤差マトリクスMxyの一例を図
6に示す。
FIG. 6 shows an example of the error matrix Mxy.

【0015】図6において、*で示した画素が現在の処
理対象画素であり、この画素に対して二値化処理を行
う。
In FIG. 6, a pixel indicated by * is a current pixel to be processed, and a binarization process is performed on this pixel.

【0016】注目画素を二値化した際に生じる誤差を、
同図に示した重み付け係数(7,1,5,3)で、未処
理の次画素に対して誤差を配分する。そして、*で示さ
れた注目画素の二値化処理を行う際は、誤差量格納手段
4に格納された誤差配分値を読み出し、この誤差配分値
を用いて画像メモリ1から読み出された次の入力値に対
して補正を行う。
The error generated when the target pixel is binarized is
With the weighting coefficients (7, 1, 5, 3) shown in FIG. Then, when performing the binarization processing of the target pixel indicated by *, the error distribution value stored in the error amount storage means 4 is read, and the next error read from the image memory 1 using this error distribution value. Is corrected for the input value of.

【0017】このように誤差拡散法は、ある画素の二値
化処理の際に生じる二値化誤差を、以降に二値化処理す
る画素データに対して分配し、二値化後の画像データと
元の多値画像データとの誤差を最小に押さえようとする
技術である。
As described above, the error diffusion method distributes a binarization error generated in the binarization processing of a certain pixel to pixel data to be binarized thereafter, and outputs the binarized image data. This is a technique for minimizing an error between the image data and the original multi-valued image data.

【0018】従来は、この誤差拡散法においてトナーセ
ーブ処理を施す場合、カラー画像データにおいてγ補正
ROM2により多値データD’の表現する階調数を切り
換えることで画像全域に亘り均一に印刷濃度を低下させ
トナーの消費量を削減していた。
Conventionally, when a toner save process is performed in the error diffusion method, the print density is uniformly changed over the entire image area by switching the number of gradations represented by the multi-value data D 'by the gamma correction ROM 2 in the color image data. The amount of toner consumed.

【0019】[0019]

【発明が解決しようとする課題】しかしながら、前述の
ような従来の技術では画像全域に渡り均一に印刷濃度を
下げるため、トナーセーブ率を上げると出力画像全体が
著しく薄化して色見が変わってしまい、テキストやグラ
フィックス等のようにエッジが重視される画像データに
ついては画像のエッジが認識できなくなるなど出力画像
の内容が欠落してしまう。
However, in the prior art as described above, since the print density is reduced uniformly over the entire area of the image, when the toner save ratio is increased, the entire output image becomes extremely thin and the color appearance changes. As a result, with respect to image data in which the edge is important such as text and graphics, the content of the output image is lost such that the edge of the image cannot be recognized.

【0020】逆に、色見が変わらず、テキストやグラフ
ィックス等においても認識可能な出力画像を得るには画
像全体に亘りトナーセーブ率を押さえなければならない
ので、トナーセーブの効果を十分に得ることができな
い。
Conversely, in order to obtain an output image in which the color appearance does not change and which can be recognized even in text or graphics, the toner saving rate must be suppressed over the entire image, so that the toner saving effect is sufficiently obtained. Can not do.

【0021】そこで、本発明は、高いトナーセーブ率を
実現しつつ高品質の出力画像を得ることのできる画像形
成装置を提供することを目的とする。
Accordingly, an object of the present invention is to provide an image forming apparatus capable of obtaining a high quality output image while realizing a high toner saving rate.

【0022】[0022]

【課題を解決するための手段】この課題を解決するため
に、本発明の画像形成装置は、多値の画像データから二
値の画像データを生成する画像形成装置であって、トナ
ーセーブ設定情報を出力するトナーセーブモード設定手
段と、画像入力手段に格納された多値の画像データにお
ける対象画素と隣接画素からエッジ検出処理を行い、対
象画素とその対象画素において検出されたエッジ情報と
を出力するエッジ検出手段と、エッジ検出手段からの対
象画素とエッジ情報により画像の階調を変換する入力画
像階調変換手段と、出力画像の誤差データの算出を行う
誤差量算出手段と、誤差データと入力画像階調変換手段
からの階調変換処理後の画素データを参照して誤差拡散
の演算を行い、誤差データを対象画素データに重み付け
をする誤差重み付け手段と、トナーセーブモード設定手
段からのトナーセーブモード設定情報とエッジ検出手段
からのエッジ情報と誤差重み付け手段からの誤差重み付
け処理後の画像データから画像に対応するドットサイズ
を決定するドットサイズ決定手段と、ドットサイズ決定
手段で決定されたドットサイズと誤差重み付け手段から
の誤差重み付け処理後の画像データを参照してドットの
座標を決定して二値化処理を行うドット座標決定手段と
を有する構成としたものである。
In order to solve this problem, an image forming apparatus according to the present invention is an image forming apparatus for generating binary image data from multi-valued image data, and includes toner save setting information. Means for outputting a target pixel and edge detection processing from a target pixel and adjacent pixels in the multi-valued image data stored in the image input means, and outputting the target pixel and edge information detected in the target pixel. An input image gradation converting means for converting a gradation of an image based on a target pixel and edge information from the edge detecting means, an error amount calculating means for calculating error data of an output image, Error weighting for performing error diffusion calculation with reference to the pixel data after the gradation conversion processing from the input image gradation conversion means and weighting the error data to the target pixel data Means for determining a dot size corresponding to an image from the toner save mode setting information from the toner save mode setting means, the edge information from the edge detecting means, and the image data after error weighting processing from the error weighting means. And a dot coordinate determination unit that determines the coordinates of the dot with reference to the dot size determined by the dot size determination unit and the image data after the error weighting process from the error weighting unit and performs the binarization process. It is what it was.

【0023】これにより、高いトナーセーブ率を実現し
つつ高品質の出力画像を得ることが可能になる。
As a result, a high quality output image can be obtained while realizing a high toner saving rate.

【0024】[0024]

【発明の実施の形態】本発明の請求項1に記載の発明
は、多値の画像データから二値の画像データを生成する
画像形成装置であって、トナーセーブ設定情報を出力す
るトナーセーブモード設定手段と、画像入力手段に格納
された多値の画像データにおける対象画素と隣接画素か
らエッジ検出処理を行い、対象画素とその対象画素にお
いて検出されたエッジ情報とを出力するエッジ検出手段
と、エッジ検出手段からの対象画素とエッジ情報により
画像の階調を変換する入力画像階調変換手段と、出力画
像の誤差データの算出を行う誤差量算出手段と、誤差デ
ータと入力画像階調変換手段からの階調変換処理後の画
素データを参照して誤差拡散の演算を行い、誤差データ
を対象画素データに重み付けをする誤差重み付け手段
と、トナーセーブモード設定手段からのトナーセーブモ
ード設定情報とエッジ検出手段からのエッジ情報と誤差
重み付け手段からの誤差重み付け処理後の画像データか
ら画像に対応するドットサイズを決定するドットサイズ
決定手段と、ドットサイズ決定手段で決定されたドット
サイズと誤差重み付け手段からの誤差重み付け処理後の
画像データを参照してドットの座標を決定して二値化処
理を行うドット座標決定手段とを有する画像形成装置で
あり、高いトナーセーブ率を実現しつつ高品質の出力画
像を得ることが可能になるという作用を有する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS The invention according to claim 1 of the present invention is an image forming apparatus for generating binary image data from multi-valued image data, wherein a toner save mode for outputting toner save setting information is provided. Setting means, edge detection means for performing edge detection processing from the target pixel and adjacent pixels in the multi-valued image data stored in the image input means, and output the target pixel and edge information detected in the target pixel, Input image gradation conversion means for converting the gradation of an image based on the target pixel and edge information from the edge detection means, error amount calculation means for calculating error data of the output image, error data and input image gradation conversion means Error weighting means for performing error diffusion calculation with reference to the pixel data after the gradation conversion processing from the pixel data, and weighting the error data to the target pixel data; and a toner save mode. Dot size determining means for determining a dot size corresponding to an image from toner save mode setting information from the setting means, edge information from the edge detecting means, and image data after error weighting processing from the error weighting means; A dot coordinate determining unit that determines the coordinates of the dot with reference to the dot size determined by the above and the image data after the error weighting process from the error weighting unit and performs the binarization process. This has the effect that a high quality output image can be obtained while realizing the toner save rate.

【0025】本発明の請求項2に記載の発明は、請求項
1記載の発明において、エッジ検出手段は、画像入力手
段から取得した多値の画像データを対象画像および隣接
画像として取り込んでエッジウィンドウを構成するエッ
ジウィンドウ形成手段と、エッジウィンドウ形成手段か
ら画像データを受け取って多値のエッジ量を算出し、エ
ッジ情報を出力するエッジ判定手段とからなる画像形成
装置であり、高いトナーセーブ率を実現しつつ高品質の
出力画像を得ることが可能になるという作用を有する。
According to a second aspect of the present invention, in the first aspect, the edge detecting means fetches the multi-valued image data obtained from the image input means as a target image and an adjacent image, and executes edge window processing. And an edge determining unit that receives image data from the edge window forming unit, calculates a multi-valued edge amount, and outputs edge information. It has the effect that it is possible to obtain a high-quality output image while realizing it.

【0026】以下、本発明の実施の形態について、図1
から図4を用いて説明する。なお、これらの図面におい
て同一の部材には同一の符号を付しており、また、重複
した説明は省略されている。
Hereinafter, an embodiment of the present invention will be described with reference to FIG.
This will be described with reference to FIG. In these drawings, the same members are denoted by the same reference numerals, and duplicate description is omitted.

【0027】図1は本発明の一実施の形態における画像
形成装置を示すブロック図、図2は図1の画像形成装置
におけるエッジ検出手段を示すブロック図、図3は図2
のエッジ検出手段におけるエッジウィンドウ形成手段に
より形成されるエッジウィンドウを示す説明図、図4は
図1の画像形成装置により形成されるドットを示す説明
図である。
FIG. 1 is a block diagram showing an image forming apparatus according to an embodiment of the present invention, FIG. 2 is a block diagram showing an edge detecting means in the image forming apparatus of FIG. 1, and FIG.
FIG. 4 is an explanatory view showing an edge window formed by an edge window forming means in the edge detecting means, and FIG. 4 is an explanatory view showing dots formed by the image forming apparatus of FIG.

【0028】図1に示すように、本実施の形態の画像形
成装置は、トナーセーブ設定情報を出力するトナーセー
ブモード設定手段100と、階調変調処理を行う入力画
像のデータが格納された画像入力手段101と、画像入
力手段101で取得された対象画素と隣接画素からエッ
ジ検出処理を行い、対象画素とその対象画素において検
出されたエッジ情報とを出力するエッジ検出手段102
と、エッジ検出手段102からの対象画素とエッジ情報
により画像の階調を変換する入力画像階調変換手段10
3と、出力画像の誤差データの算出を行う誤差量算出手
段104と、誤差量算出手段104で算出された誤差デ
ータが格納された誤差量格納手段105と、誤差量格納
手段105に格納された誤差データと入力画像階調変換
手段103からの階調変換処理後の画素データを参照し
て誤差拡散の演算を行い、誤差データを対象画素データ
に重み付けをする誤差重み付け手段106と、トナーセ
ーブモード設定手段100からのトナーセーブモード設
定情報とエッジ検出手段102からのエッジ情報と誤差
重み付け手段106からの誤差重み付け処理後の画像デ
ータから画像に対応するドットサイズを決定するドット
サイズ決定手段107と、ドットサイズ決定手段107
で決定されたドットサイズと誤差重み付け手段106か
らの誤差重み付け処理後の画像データを参照してドット
の座標を決定して二値化処理を行うドット座標決定手段
108と、ドットサイズ決定手段107で出力されたド
ットサイズのドットをドット座標決定手段108で決定
した座標に出力した二値の画像データが格納された画像
出力手段109とから構成されている。
As shown in FIG. 1, the image forming apparatus according to the present embodiment has a toner save mode setting means 100 for outputting toner save setting information, and an image storing data of an input image to be subjected to gradation modulation processing. An input unit 101 and an edge detection unit 102 that performs edge detection processing on a target pixel and an adjacent pixel obtained by the image input unit 101 and outputs a target pixel and edge information detected on the target pixel.
And an input image gradation conversion unit 10 for converting the gradation of an image based on the target pixel and the edge information from the edge detection unit 102
3, error amount calculating means 104 for calculating error data of the output image, error amount storing means 105 storing the error data calculated by the error amount calculating means 104, and error amount storing means 105 Error weighting means 106 for performing error diffusion calculation with reference to the error data and the pixel data after the gradation conversion processing from the input image gradation conversion means 103 and weighting the error data to the target pixel data; A dot size determining unit 107 for determining a dot size corresponding to an image from the toner save mode setting information from the setting unit 100, the edge information from the edge detecting unit 102, and the image data after error weighting processing from the error weighting unit 106; Dot size determination means 107
The dot coordinate determination unit 108 and the dot size determination unit 107 determine the coordinates of the dots and perform the binarization process by referring to the dot size determined in the above and the image data after the error weighting process from the error weighting unit 106. The image output unit 109 stores binary image data in which the output dots of the dot size are output at the coordinates determined by the dot coordinate determination unit 108.

【0029】ここで、トナーセーブモードは、例えばホ
ストコンピュータなどの外部装置から画像形成装置に転
送するプリントコードの中にトナーセーブモード設定手
段100によりトナーセーブモードを行うコマンドを入
れておくことによって設定可能であり、画像形成装置側
のキーからの入力によっても設定可能である。なお、ト
ナーセーブモード設定手段100はトナーセーブモード
信号を入力画像階調変換手段103、ドットサイズ決定
手段107および誤差量算出手段104へ出力する。
Here, the toner save mode is set by inserting a command to execute the toner save mode by the toner save mode setting means 100 into a print code transferred from an external device such as a host computer to the image forming apparatus. The setting can be made by input from a key of the image forming apparatus. Note that the toner save mode setting unit 100 outputs a toner save mode signal to the input image gradation conversion unit 103, the dot size determination unit 107, and the error amount calculation unit 104.

【0030】階調変調の処理を行う多値画像は、先ず画
像入力手段101へ格納され、格納された画像に対し、
各ラスター、各画素について以下の処理が行われる。
The multi-valued image to be subjected to the gradation modulation processing is first stored in the image input means 101, and the stored image is
The following processing is performed for each raster and each pixel.

【0031】次に、エッジ検出手段102について図2
を用いて説明する。
Next, FIG.
This will be described with reference to FIG.

【0032】図示するように、エッジ検出手段102
は、画像入力手段101から取得した多値画像データを
対象画像および隣接画像として取り込み、マトリックス
を用いた例えば3×3のエッジウィンドウ(図3参照)
を構成するエッジウィンドウ形成手段110と、エッジ
ウィンドウ形成手段110から画像データを受け取って
多値のエッジ量を算出し、エッジ情報を出力するエッジ
判定手段111とから構成されている。
As shown, the edge detecting means 102
Is a multi-valued image data acquired from the image input means 101 as a target image and an adjacent image, and a 3 × 3 edge window using a matrix (see FIG. 3)
And an edge determining unit 111 that receives image data from the edge window forming unit 110, calculates a multi-valued edge amount, and outputs edge information.

【0033】ここで、エッジウィンドウ形成手段110
において、カラー画像の場合はCMYK(シアン、マゼ
ンタ、イエロー、ブラック)の色成分ごとに独立した4
個のエッジウィンドウを構成する。また、エッジ判定手
段111は、ラプラシアンの2次微分演算によって構成
されたもので、図3に示す場合には、エッジウィンドウ
形成手段110から3×3の画像データ(d1〜d9)
を受け取り、その画像データとあらかじめ設定された2
次微分演算係数(a,b,c,d,e,f,g,h,
i)を用いてエッジ量を算出する。なお、エッジ量ED
GEは、
Here, the edge window forming means 110
In the case of a color image, four independent CMYK (cyan, magenta, yellow, black) color components
Of edge windows. In addition, the edge determination unit 111 is configured by a second differential operation of Laplacian, and in the case shown in FIG. 3, the edge window forming unit 110 outputs 3 × 3 image data (d1 to d9).
Received, and the image data and a preset 2
Next derivative operation coefficients (a, b, c, d, e, f, g, h,
The edge amount is calculated using i). The edge amount ED
GE is

【0034】[0034]

【数2】 (Equation 2)

【0035】で算出される。そして、算出されたエッジ
量EDGEは予め設定されたしきい値EdgeThと比
較され、EDGE>EdgeThならばエッジとして、
EDGE<EdgeThならば非エッジとして、エッジ
情報を出力する。
Is calculated. Then, the calculated edge amount EDGE is compared with a preset threshold value EdgeTh, and if EDGE> EdgeTh, it is determined as an edge.
If EDGE <EdgeTh, edge information is output as a non-edge.

【0036】入力画像階調変換手段103は、このよう
なエッジ検出手段102からの対象画素データを下位ビ
ット方向へn回シフト(n=0,1,2)させ、シフト
後の上位ビットには“0”を代入する。この結果、階調
数は1/1、1/2または1/4に減少する。なお、入
力画像階調変換手段103は、トナーセーブモード設定
手段100からのトナーセーブ情報を基に、トナーセー
ブ設定時はエッジ検出手段102からのエッジ情報によ
り画像がエッジの場合と非エッジの場合とでnの値を切
り換えるが、このとき、非エッジ部のnの値はエッジ部
と同じかまたは大きくなるようにする。そして、本実施
の形態では、トナーセーブ設定時において、非エッジの
場合はn=2(階調数:1/4)に、エッジの場合はn
=1(階調数:1/2)に変換する。なお、トナーセー
ブ非設定時は階調変換を行わない。
The input image gradation conversion means 103 shifts the target pixel data from the edge detection means 102 in the lower bit direction n times (n = 0, 1, 2), and outputs the shifted upper bits to the upper bits. Substitute “0”. As a result, the number of gradations is reduced to 1/1, 1/2 or 1/4. Note that the input image gradation conversion means 103 is based on the toner save information from the toner save mode setting means 100, and based on the edge information from the edge detection means 102 at the time of toner save setting, when the image is an edge or non-edge. The value of n is switched between and. At this time, the value of n in the non-edge portion is set to be equal to or larger than that in the edge portion. In the present embodiment, at the time of the toner save setting, n = 2 (the number of gradations: 1/4) for a non-edge, and n for an edge.
= 1 (the number of gradations: 1/2). When the toner save is not set, the gradation conversion is not performed.

【0037】誤差量格納手段105に格納された誤差デ
ータは、誤差重み付け手段106での対象画素における
誤差データの重み付け処理時に参照される。このとき、
誤差量格納手段105上のデータに誤差拡散時に使用す
る誤差マトリクス(図6参照)が適用され、対象画素の
値tdに隣接する画素の誤差データが重み付けされる。
The error data stored in the error amount storage means 105 is referred to when the error weighting means 106 weights the error data at the target pixel. At this time,
An error matrix (see FIG. 6) used at the time of error diffusion is applied to the data on the error amount storage unit 105, and error data of a pixel adjacent to the target pixel value td is weighted.

【0038】誤差重み付け手段106は、重み付け処理
を行った対象画素データ値td’を出力する。
The error weighting means 106 outputs the target pixel data value td 'subjected to the weighting process.

【0039】ドットサイズ決定手段107は、トナーセ
ーブモード設定手段100からのトナーセーブ情報とエ
ッジ検出手段102からのエッジ情報と誤差重み付け手
段106より出力される対象画素データの値td’から
ドットサイズサイズの決定を行う。
The dot size determination means 107 determines the dot size from the toner save information from the toner save mode setting means 100, the edge information from the edge detection means 102, and the value td 'of the target pixel data output from the error weighting means 106. Make a decision.

【0040】ここで、図4は4段階にドットサイズを変
化させた場合におけるドットの形成を示している。図4
において、Cは1ドット、Dは2ドット、Eは3ドッ
ト、Fは4ドットとドットサイズを変化させる。具体的
には、エッジ検出手段102からのエッジ検出結果が非
エッジ領域であれば誤差重み付け手段106が出力する
重み付け後の画素データ値、つまり濃度レベルに応じて
C、D、EまたはFの何れかのドットサイズを決定し、
エッジ検出手段102からのエッジ検出結果がエッジ領
域であれば、誤差重み付け手段106が出力する重み付
け後の画素データのレベルに拘わらず1ドットのドット
サイズCの固定ドットサイズとする。
FIG. 4 shows dot formation when the dot size is changed in four stages. FIG.
In C, the dot size changes to 1 dot, D to 2 dots, E to 3 dots, and F to 4 dots. Specifically, if the edge detection result from the edge detecting means 102 is a non-edge area, any of C, D, E or F according to the weighted pixel data value output from the error weighting means 106, that is, the density level Determine the dot size
If the result of the edge detection from the edge detecting means 102 is an edge area, the fixed dot size is one dot size C regardless of the level of the weighted pixel data output by the error weighting means 106.

【0041】ドット座標決定手段108には、ドットサ
イズ決定手段107より出力されるドットサイズ情報と
誤差重み付け手段106より出力される対象画素データ
に処理済み画素の誤差データの重み付けを行った画像デ
ータtd’が入力される。そして、入力された画像デー
タtd’と座標決定のために予め設定されているしきい
値Thとを比較し、td’>Thが成立する画素をドッ
ト座標としてドットの出力が行われる。決定された座標
にドットサイズに応じた図4に示すドットサイズのデー
タが出力される。
The dot coordinate deciding unit 108 weights the dot size information outputted from the dot size deciding unit 107 and the target pixel data outputted from the error weighing unit 106 with the error data of the processed pixel. 'Is entered. Then, the input image data td 'is compared with a threshold value Th set in advance for determination of coordinates, and dots are output using the pixel satisfying td'> Th as dot coordinates. The dot size data shown in FIG. 4 corresponding to the dot size is output at the determined coordinates.

【0042】誤差量算出手段104には、入力画像階調
変換手段103より出力される画素データsd、ドット
サイズ決定手段107より出力されるドットサイズ情報
Dsizeおよびドット座標決定手段108より出力さ
れるドット座標データ(dx,dy)が入力される。そ
して、ドット座標決定手段108によるドットの座標決
定後、対象画素における誤差データの算出が行われる。
The error amount calculating means 104 includes pixel data sd output from the input image gradation converting means 103, dot size information Dsize output from the dot size determining means 107, and dots output from the dot coordinate determining means 108. The coordinate data (dx, dy) is input. Then, after the dot coordinates are determined by the dot coordinate determination means 108, error data at the target pixel is calculated.

【0043】ここで、ドットサイズ情報はDsize=
0,1,2,3,4(4段階ドットサイズ)となる。ま
た、トナーセーブ設定時には、入力されたドットサイズ
情報Dsizeがm倍(mは整数)されて誤差量が算出
される。
Here, the dot size information is Dsize =
0, 1, 2, 3, 4 (four-step dot size). Further, at the time of setting the toner save, the input dot size information Dsize is multiplied by m (m is an integer), and the error amount is calculated.

【0044】トナーセーブ設定時のドット座標(x,
y)における誤差データE(x,y)は、
The dot coordinates (x,
The error data E (x, y) in y) is

【0045】[0045]

【数3】 (Equation 3)

【0046】で算出される。ここで、255は1ドット
出力時の濃度データであるから、出力ドット数に応じて
誤差データに付加することでドットサイズに対応した誤
差データの保存が可能である。
Is calculated. Here, since 255 is the density data at the time of outputting one dot, by adding it to the error data according to the number of output dots, error data corresponding to the dot size can be stored.

【0047】誤差量算出手段104で算出された誤差デ
ータは誤差量格納手段105に転送され、ドット座標決
定手段108で決定されたドット座標に対応したメモリ
上に格納される。
The error data calculated by the error amount calculation means 104 is transferred to the error amount storage means 105 and stored in a memory corresponding to the dot coordinates determined by the dot coordinate determination means 108.

【0048】[0048]

【発明の効果】以上のように、本発明によれば、高いト
ナーセーブ率を実現しつつ高品質の出力画像を得ること
が可能になるという有効な効果が得られる。
As described above, according to the present invention, an effective effect that a high quality output image can be obtained while realizing a high toner saving rate can be obtained.

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

【図1】本発明の一実施の形態における画像形成装置を
示すブロック図
FIG. 1 is a block diagram illustrating an image forming apparatus according to an embodiment of the present invention.

【図2】図1の画像形成装置におけるエッジ検出手段を
示すブロック図
FIG. 2 is a block diagram illustrating an edge detecting unit in the image forming apparatus of FIG. 1;

【図3】図2のエッジ検出手段におけるエッジウィンド
ウ形成手段により形成されるエッジウィンドウを示す説
明図
FIG. 3 is an explanatory diagram showing an edge window formed by an edge window forming means in the edge detecting means of FIG. 2;

【図4】図1の画像形成装置により形成されるドットを
示す説明図
FIG. 4 is an explanatory diagram showing dots formed by the image forming apparatus of FIG. 1;

【図5】誤差拡散法による従来の画像形成装置を示すブ
ロック図
FIG. 5 is a block diagram showing a conventional image forming apparatus using an error diffusion method.

【図6】誤差マトリクスの一例を示す説明図FIG. 6 is an explanatory diagram showing an example of an error matrix.

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

100 トナーセーブモード設定手段 101 画像入力手段 102 エッジ検出手段 103 入力画像階調変換手段 104 誤差量算出手段 106 誤差重み付け手段 107 ドットサイズ決定手段 108 ドット座標決定手段 Reference Signs List 100 toner save mode setting means 101 image input means 102 edge detection means 103 input image gradation conversion means 104 error amount calculation means 106 error weighting means 107 dot size determination means 108 dot coordinate determination means

フロントページの続き Fターム(参考) 2C262 AA24 AA26 AB13 BB08 BB10 CA08 CA16 DA03 5B057 AA11 BA30 CA01 CA08 CA12 CB01 CB07 CB12 CC03 CE12 CE13 CH07 CH11 DC16 5C077 LL17 LL19 MP07 MP08 NN05 NN11 PP41 PP43 PP47 PP68 PQ18 PQ22 PQ23 RR03 RR06 TT03 Continued on the front page F-term (reference) 2C262 AA24 AA26 AB13 BB08 BB10 CA08 CA16 DA03 5B057 AA11 BA30 CA01 CA08 CA12 CB01 CB07 CB12 CC03 CE12 CE13 CH07 CH11 DC16 5C077 LL17 LL19 MP07 MP08 NN05 NN11 PP41 PP43 RR11

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】多値の画像データから二値の画像データを
生成する画像形成装置であって、 トナーセーブ設定情報を出力するトナーセーブモード設
定手段と、 画像入力手段に格納された多値の画像データにおける対
象画素と隣接画素からエッジ検出処理を行い、対象画素
とその対象画素において検出されたエッジ情報とを出力
するエッジ検出手段と、 前記エッジ検出手段からの対象画素とエッジ情報により
画像の階調を変換する入力画像階調変換手段と、 出力画像の誤差データの算出を行う誤差量算出手段と、 前記誤差データと前記入力画像階調変換手段からの階調
変換処理後の画素データを参照して誤差拡散の演算を行
い、誤差データを対象画素データに重み付けをする誤差
重み付け手段と、 前記トナーセーブモード設定手段からのトナーセーブモ
ード設定情報とエッジ検出手段からのエッジ情報と誤差
重み付け手段からの誤差重み付け処理後の画像データか
ら画像に対応するドットサイズを決定するドットサイズ
決定手段と、 前記ドットサイズ決定手段で決定されたドットサイズと
前記誤差重み付け手段からの誤差重み付け処理後の画像
データを参照してドットの座標を決定して二値化処理を
行うドット座標決定手段とを有することを特徴とする画
像形成装置。
1. An image forming apparatus for generating binary image data from multi-valued image data, comprising: toner save mode setting means for outputting toner save setting information; and multi-valued image data stored in an image input means. Edge detection means for performing edge detection processing from the target pixel and adjacent pixels in the image data, and outputting the target pixel and edge information detected at the target pixel; and An input image gradation conversion unit for converting gradation, an error amount calculation unit for calculating error data of an output image, and the pixel data after the gradation conversion processing from the input image gradation conversion unit. An error weighting means for performing error diffusion calculation with reference to the error data and weighting the error pixel data to the target pixel data; A dot size determination unit that determines a dot size corresponding to an image from the save mode setting information, the edge information from the edge detection unit, and the image data after the error weighting process from the error weighting unit; and a dot size determination unit that determines the dot size. An image forming apparatus comprising: dot coordinate determination means for determining dot coordinates with reference to a dot size and image data after error weighting processing from the error weighting means and performing binarization processing.
【請求項2】前記エッジ検出手段は、 前記画像入力手段から取得した多値の画像データを対象
画像および隣接画像として取り込んでエッジウィンドウ
を構成するエッジウィンドウ形成手段と、 前記エッジウィンドウ形成手段から画像データを受け取
って多値のエッジ量を算出し、エッジ情報を出力するエ
ッジ判定手段とからなることを特徴とする請求項1記載
の画像形成装置。
2. An edge window forming means for fetching multi-valued image data obtained from said image input means as a target image and an adjacent image to form an edge window, and 2. The image forming apparatus according to claim 1, further comprising an edge determination unit that receives data, calculates a multi-value edge amount, and outputs edge information.
JP24325899A 1999-08-30 1999-08-30 Image forming device Pending JP2001069350A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP24325899A JP2001069350A (en) 1999-08-30 1999-08-30 Image forming device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP24325899A JP2001069350A (en) 1999-08-30 1999-08-30 Image forming device

Publications (1)

Publication Number Publication Date
JP2001069350A true JP2001069350A (en) 2001-03-16

Family

ID=17101206

Family Applications (1)

Application Number Title Priority Date Filing Date
JP24325899A Pending JP2001069350A (en) 1999-08-30 1999-08-30 Image forming device

Country Status (1)

Country Link
JP (1) JP2001069350A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012148463A (en) * 2011-01-19 2012-08-09 Seiko Epson Corp Printing apparatus, driver program, and printing method
CN102721364A (en) * 2011-03-30 2012-10-10 比亚迪股份有限公司 Positioning method and positioning device for workpiece

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012148463A (en) * 2011-01-19 2012-08-09 Seiko Epson Corp Printing apparatus, driver program, and printing method
CN102721364A (en) * 2011-03-30 2012-10-10 比亚迪股份有限公司 Positioning method and positioning device for workpiece

Similar Documents

Publication Publication Date Title
JPH077619A (en) Document processing system
JP4243854B2 (en) Image processing apparatus, image processing method, image processing program, and storage medium
JP2006065834A (en) Image processing device and image processing method
JP4501791B2 (en) Image processing method and image processing program
JP5013805B2 (en) Processor-readable storage medium
JPH1084478A (en) Input image conversion method and pixel value quantization method
JP4386216B2 (en) Color printing system and control method thereof
JP5508031B2 (en) Image processing apparatus and image processing method
US7057776B2 (en) Image processing apparatus, image processing method and computer-readable recording medium on which image processing program is recorded
JP3489806B2 (en) Image processing apparatus and method
JP5458946B2 (en) Image processing apparatus, program, and recording medium
JP2006270897A (en) Image processing device, method and program
US10388021B2 (en) Image processing apparatus, image forming apparatus and program
JPH08298598A (en) Image processor and image processing method
JP2001069350A (en) Image forming device
JP2005182824A (en) Method for processing image data
JP4232831B2 (en) Image processing apparatus, image processing method, and image processing program
JPH11346311A (en) Gradation reproduction method
JP2016086223A (en) Image processing apparatus, image processing method, image processing program, and image forming apparatus
JP2006262196A (en) Image processing apparatus, image processing method, and program
JP7303504B2 (en) Image processing device, image processing method and program
JP2000354163A (en) Image processing method
JPH11150659A (en) Method for processing image
JP4035696B2 (en) Line segment detection apparatus and image processing apparatus
JP3679522B2 (en) Image processing method and apparatus