JP2012195857A - Image processing system, image forming device, control method of image processing system, and control program of image processing system - Google Patents

Image processing system, image forming device, control method of image processing system, and control program of image processing system Download PDF

Info

Publication number
JP2012195857A
JP2012195857A JP2011059691A JP2011059691A JP2012195857A JP 2012195857 A JP2012195857 A JP 2012195857A JP 2011059691 A JP2011059691 A JP 2011059691A JP 2011059691 A JP2011059691 A JP 2011059691A JP 2012195857 A JP2012195857 A JP 2012195857A
Authority
JP
Japan
Prior art keywords
image
processing
light sources
unit
error diffusion
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
JP2011059691A
Other languages
Japanese (ja)
Inventor
Hideyuki Toriyama
秀之 鳥山
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.)
Konica Minolta Business Technologies Inc
Original Assignee
Konica Minolta Business Technologies Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Konica Minolta Business Technologies Inc filed Critical Konica Minolta Business Technologies Inc
Priority to JP2011059691A priority Critical patent/JP2012195857A/en
Publication of JP2012195857A publication Critical patent/JP2012195857A/en
Withdrawn legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide an image processing system which prevents occurrence of wood pattern-like noise, can perform an image processing by an error diffusion method with comparatively high image quality and can speedily perform printing without performing costly light quantity adjustment.SOLUTION: The image processing system outputs output data with which an image is formed by an image forming device performing an error diffusing processing on input data, reducing a value and forming a latent image in an image carrier by using two light sources, for example. In the image processing system, a binarized result storing section 63 stores a processing result on pixels in a prescribed range, which are at the periphery of a target pixel, and a dot counting section 65 obtains a count value on the number of dots for respective regions corresponding to two light sources based on the processing result. A reference value calculating section 61 obtains a reference value in accordance with density of the target pixel, and an inversion processing section 55 compulsorily inverts the processing result of the error diffusion processing on the target pixel based on the count value and the reference value, and outputs the output data.

Description

この発明は、画像処理装置、画像形成装置、画像処理装置の制御方法、及び画像処理装置の制御プログラムに関し、特に、画像データの誤差拡散処理を行う画像処理装置、画像形成装置、画像処理装置の制御方法、及び画像処理装置の制御プログラムに関する。   The present invention relates to an image processing apparatus, an image forming apparatus, a control method for the image processing apparatus, and a control program for the image processing apparatus, and more particularly to an image processing apparatus, an image forming apparatus, and an image processing apparatus for performing error diffusion processing of image data. The present invention relates to a control method and a control program for an image processing apparatus.

電子写真式の画像形成装置(スキャナ機能、ファクシミリ機能、複写機能、プリンタとしての機能、データ通信機能、及びサーバ機能を備えたMFP(Multi Function Peripheral)、ファクシミリ装置、複写機、プリンタなど)などにおいて、写真画像などの中間調の原画像を忠実に再現するために、誤差拡散法による低値化処理法が行われることがある。   In electrophotographic image forming apparatuses (MFP (Multi Function Peripheral), facsimile apparatus, copier, printer, etc.) having a scanner function, a facsimile function, a copying function, a function as a printer, a data communication function, and a server function. In order to faithfully reproduce a halftone original image such as a photographic image, a low-value processing method using an error diffusion method may be performed.

誤差拡散処理は、例えば写真などの中間調の画像を、階調をなめらかに表現したままで低値化する画像処理の一つである。誤差拡散処理では、画像の階調レベルが一定のいき値によって低値化され、注目画素の濃度値などとそれに対応する低値化したデータの濃度値との誤差が、一定範囲の複数の周辺画素に重み付けされて分配される。誤差拡散法によると、画像の濃度が保たれるので、比較的に、処理前の画像に忠実な低値化画像を得ることができる。   Error diffusion processing is one type of image processing that lowers the value of a halftone image such as a photograph while smoothly expressing gradation. In error diffusion processing, the gradation level of an image is lowered by a constant threshold value, and the error between the density value of the pixel of interest and the density value of the corresponding lowered data becomes multiple peripheral areas within a certain range. The pixels are weighted and distributed. According to the error diffusion method, the density of the image is maintained, so that it is possible to obtain a low-value image that is relatively faithful to the image before processing.

ところで、特に複数の光源によって像担持体に潜像を形成する電子写真プロセスを採用した画像形成装置などにおいて、以下の場合に、形成された画像にノイズが発生することがある。すなわち、複数の光源間で光量に差がある場合であって、かつ、誤差拡散処理が行われた画像において、局所的に、複数の光源のそれぞれに対応する印字領域間で平均濃度が異なる場合である。   By the way, particularly in an image forming apparatus that employs an electrophotographic process that forms a latent image on an image carrier with a plurality of light sources, noise may occur in the formed image in the following cases. That is, when there is a difference in the amount of light among a plurality of light sources, and in the image subjected to error diffusion processing, the average density is locally different between the print areas corresponding to each of the plurality of light sources. It is.

このようなノイズは、特にハイライト部分に近い中間調のベタ領域(塗りつぶし領域)において、顕著に発生するものである。このようなノイズは、木目のように見えることがある。   Such noise is prominently generated particularly in a halftone solid area (filled area) close to a highlight portion. Such noise may look like wood grain.

以下、例えば2つの光源からの光線で交互のラインに走査する画像形成装置において、上記のような木目調のノイズが発生するメカニズムについて説明する。   Hereinafter, for example, in the image forming apparatus that scans alternate lines with light from two light sources, a mechanism in which the above-described woodgrain noise is generated will be described.

図8は、ノイズが発生するメカニズムについて説明する第1の図である。   FIG. 8 is a first diagram illustrating a mechanism for generating noise.

図8に示す画像は、ハイライトに近い中間濃度の画像について、誤差拡散処理が行われ、2値化された後の結果を示すものである。図8において、画像はビットマップデータを拡大したものであり、格子で囲まれた四角形の各領域は、1つの画素を示している。2値化された後において、画像は、例えば、白色の画素と、黒色の画素(ドット;図8において灰色に着色されている)とを有する。黒色の画素は、処理前の画像の濃度の濃淡に応じて、ところどころに配置されている。   The image shown in FIG. 8 shows the result after binarization by performing error diffusion processing on an intermediate density image close to highlight. In FIG. 8, the image is an enlargement of the bitmap data, and each square area surrounded by a grid represents one pixel. After binarization, the image has, for example, white pixels and black pixels (dots; colored gray in FIG. 8). The black pixels are arranged in various places according to the density of the image before processing.

図9は、ノイズが発生するメカニズムについて説明する第2の図である。   FIG. 9 is a second diagram for explaining the mechanism by which noise occurs.

図9は、上記図8に示されるビットマップ画像の各画素について、奇数ラインに含まれるものと偶数ラインに含まれるものとを分離させて示したものである。換言すると、図9は、上記図8に示されるビットマップ画像について、2つの光源を用いた電子写真プロセスで画像形成(印字)を行う場合において奇数ライン用の光源で印字される領域と偶数ライン用の光源で印字される領域とに分割して表したものである。   FIG. 9 shows the pixels of the bitmap image shown in FIG. 8 separated from those included in the odd lines and those included in the even lines. In other words, FIG. 9 shows an area printed with an odd-numbered light source and an even-numbered line when image formation (printing) is performed in the electrophotographic process using two light sources for the bitmap image shown in FIG. It is divided into areas printed with a light source for use.

図9に示す例では、奇数ラインに含まれるドットが比較的に少なく、偶数ラインに含まれるドットが比較的に多くなっている。このように、従来の誤差拡散処理では、局所的に、奇数ラインの領域と偶数ラインの領域との間で、ドットの分布が不均一になることがある。   In the example shown in FIG. 9, the number of dots included in odd lines is relatively small, and the number of dots included in even lines is relatively large. As described above, in the conventional error diffusion process, the distribution of dots may be locally uneven between the odd line area and the even line area.

図10は、誤差拡散処理が行われた画像におけるドットの分布と、2つの光源間で光量差がある場合のその画像の見栄えとの関係を説明する表である。   FIG. 10 is a table for explaining the relationship between the distribution of dots in an image subjected to error diffusion processing and the appearance of the image when there is a light amount difference between two light sources.

図10において、奇数ラインに対応する光源の光量が比較的に低く、偶数ラインに対応する光源の光量が比較的に高い場合を想定する。この場合において、奇数ラインのドットが比較的に多いとき(偶数ラインのドットが比較的に少ないとき)、画像形成された画像の見栄えは、相対的に薄くなる(画像の濃度が薄く見えるようになる)。   In FIG. 10, it is assumed that the light amount of the light source corresponding to the odd line is relatively low and the light amount of the light source corresponding to the even line is relatively high. In this case, when the number of odd-line dots is relatively large (when the even-line dots are relatively small), the appearance of the image formed is relatively thin (so that the image density appears to be light). Become).

他方、奇数ラインのドットが比較的に少ないとき(偶数ラインのドットが比較的に多いとき)、画像形成された画像の見栄えは、相対的に濃くなる(画像の濃度が濃く見えるようになる)。   On the other hand, when the number of odd-line dots is relatively small (when the even-numbered dots are relatively large), the appearance of the image formed is relatively dark (the image density appears to be dark). .

奇数ラインのドットと偶数ラインのドットとが互いに略均一の量であれば、奇数ラインに対応する光源の光量と偶数ラインに対応する光源の光量とに差があっても、画像形成された画像の見栄えとしては、「普通」(通常の濃度)となる。すなわち、奇数ラインと偶数ラインとでドットの分布が略均一であれば、画像形成された画像の濃度は、元の画像の濃度と略同じに見える。   If the odd-numbered dots and the even-numbered dots are approximately equal to each other, even if there is a difference between the light amount of the light source corresponding to the odd line and the light amount of the light source corresponding to the even line, the image formed Appearance of “normal” (normal density). In other words, if the dot distribution is substantially uniform between the odd lines and the even lines, the density of the image formed looks almost the same as the density of the original image.

上記木目調のノイズは、図10に示すような3様の状態が、局所的に、ランダムに存在することで発生する。   The woodgrain noise is generated when three states as shown in FIG. 10 exist locally and randomly.

従来、このようなノイズの発生を軽減するために、例えばテスト画像を出力した結果を計測することによって複数のレーザの光量を調整するという対策方法が採られることがあった。   Conventionally, in order to reduce the occurrence of such noise, for example, a countermeasure method of adjusting the light amounts of a plurality of lasers by measuring the result of outputting a test image has been taken.

例えば、下記特許文献1には、光量を変化させて調整用の画像パターンを印刷し、印刷したパターンの各色の濃度を検出して、複数の光源間で濃度の差が小さくなるような光量で光源を発光させる画像形成装置が開示されている。   For example, in Patent Document 1 below, an image pattern for adjustment is printed by changing the amount of light, the density of each color of the printed pattern is detected, and the amount of light is such that the difference in density among a plurality of light sources becomes small. An image forming apparatus that emits light from a light source is disclosed.

なお、誤差拡散処理で発生する幾何学的な干渉模様の発生に対しては、誤差拡散処理で用いられるフィードバック係数を周期的に変化させることで対策を行う方法が知られている。   A method is known in which a countermeasure against the occurrence of a geometric interference pattern generated in the error diffusion process is performed by periodically changing a feedback coefficient used in the error diffusion process.

例えば、下記特許文献2には、誤差フィードバック係数を主走査方向に周期的に変化させ、偶数/奇数ラインで位相をずらすようにした画像処理装置が開示されている。すなわち、この画像処理装置では、画像のハイライト部分について、千鳥掛け状にドット均一化を施すことができる。   For example, Patent Document 2 below discloses an image processing apparatus in which an error feedback coefficient is periodically changed in the main scanning direction and the phase is shifted between even / odd lines. That is, in this image processing apparatus, dots can be uniformed in a zigzag pattern at the highlight portion of the image.

また、誤差拡散の積分係数を調整することで、孤立ドットを形成しにくくする方法が知られている。   There is also known a method of making it difficult to form isolated dots by adjusting an integration coefficient of error diffusion.

例えば、下記特許文献3には、注目画素の隣接画素について、誤差拡散の拡散係数を負とすることで、孤立ドットの生成を抑制し、ドットを大きくするように処理を行う画像処理装置が開示されている。特許文献3には、マルチビーム方式で画像を形成する場合において、副走査方向にドットが連なりやすいようにしてドットを大きく成長させることにより、偶数/奇数ラインの濃度の平均化を図ることが開示されている。   For example, Patent Document 3 below discloses an image processing apparatus that performs processing to suppress the generation of isolated dots and increase the size of dots by making the diffusion coefficient of error diffusion negative for adjacent pixels of the target pixel. Has been. Patent Document 3 discloses that when forming an image by the multi-beam method, the dots are easily grown in the sub-scanning direction so that the dots are grown so as to average the density of even / odd lines. Has been.

下記特許文献4には、量子化する注目画素から位置が遠いものについて誤差拡散のマトリクス係数の値を大きくすることでドットを大きくするようにした画像形成装置が開示されている。   Patent Document 4 below discloses an image forming apparatus in which dots are enlarged by increasing the value of a matrix coefficient for error diffusion for a pixel far from the pixel of interest to be quantized.

なお、下記特許文献5には、入力階調に応じたドット監視領域を設け、ドットカウント値と基準値との比較結果に応じて注目画素についての2値化の結果を反転させるようにすることでワームノイズを防止する画像処理方法が開示されている。   In Patent Document 5 below, a dot monitoring area corresponding to the input gradation is provided, and the binarization result for the target pixel is inverted according to the comparison result between the dot count value and the reference value. Discloses an image processing method for preventing worm noise.

特開2008−134326号公報JP 2008-134326 A 特開平9−23335号公報Japanese Patent Laid-Open No. 9-23335 特開2007−81657号公報JP 2007-81657 A 特開2002−218239号公報JP 2002-218239 A 特開2004−274181号公報JP 2004-274181 A

しかしながら、上記のような従来の技術では、以下に示すような問題がある。   However, the conventional techniques as described above have the following problems.

すなわち、例えば特許文献1に記載されているような構成では、複数の光源の光量を調整するための調整時間及び調整コストがかかるという問題がある。   That is, for example, in the configuration described in Patent Document 1, there is a problem that adjustment time and adjustment cost for adjusting the light amounts of a plurality of light sources are required.

また、例えば特許文献2に記載されているような構成では、誤差フィードバック係数を小さくすると階調再現性が低下するという、別の課題がある。また、誤差フィードバック係数の制御では、複数の光源に対応するラインへのデータの振り分け、例えば偶数ラインと奇数ラインとのそれぞれへのデータの振り分けを均等に行うことが困難であるという問題がある。   For example, in the configuration described in Patent Document 2, there is another problem that gradation reproducibility is reduced when the error feedback coefficient is reduced. In addition, in the control of the error feedback coefficient, there is a problem that it is difficult to distribute data to lines corresponding to a plurality of light sources, for example, to distribute data equally to even lines and odd lines.

特許文献3,4に記載されているような構成では、孤立ドットが形成されにくく、ドットが大きくなるので、処理後の画像の粒状性が悪化することがある。特に、例えば4つの光源など、多くの光源を用いる場合においては、ドットが大きくなりすぎ、画像のざらつき感が見過ごせないほど大きくなる場合があるので、このような構成は採用することができない。また、上述と同様に、複数の光源に対応するラインへのデータの振り分けを均等に行うことが困難である。   In configurations such as those described in Patent Documents 3 and 4, isolated dots are difficult to form and the dots become large, and the graininess of the processed image may deteriorate. In particular, when many light sources such as four light sources are used, such a configuration cannot be adopted because the dots may become too large and the image may become so large that the feeling of roughness of the image cannot be overlooked. In addition, as described above, it is difficult to evenly distribute data to lines corresponding to a plurality of light sources.

なお、特許文献5に記載の画像処理方法は、ドット監視領域を分離して処理を行うものであるところ、複数の光源が均等の光量で印字を行ってノイズの発生を防止できるとはいえないという問題がある。   Note that the image processing method described in Patent Document 5 performs processing by separating the dot monitoring region, but it cannot be said that a plurality of light sources can perform printing with an equal amount of light to prevent noise generation. There is a problem.

この発明はそのような問題点を解決するためになされたものであり、木目調のノイズの発生を防止し、比較的に高い画質で誤差拡散法による画像処理を行うことができ、コストがかかる光量調整を行わずに速やかに印字を実行可能にできる画像処理装置、画像形成装置、画像処理装置の制御方法、及び画像処理装置の制御プログラムを提供することを目的としている。   The present invention has been made in order to solve such problems, and can prevent the generation of wood-tone noise, can perform image processing by the error diffusion method with a relatively high image quality, and is costly. An object of the present invention is to provide an image processing apparatus, an image forming apparatus, a control method for the image processing apparatus, and a control program for the image processing apparatus that can execute printing promptly without adjusting the light amount.

上記目的を達成するためこの発明のある局面に従うと、入力データに対して誤差拡散処理を行って低値化し、複数の光源を用いて像担持体に潜像を形成する画像形成装置で画像形成が行われる出力データを出力する画像処理装置は、入力データのうちの処理対象である注目画素の周辺の所定の範囲の画素についての誤差拡散処理の処理結果を記憶する記憶手段と、複数の光源のそれぞれに対応する領域毎に、記憶手段により記憶された処理結果に基づいて、ドット数に関するカウント値を求めるカウント手段と、注目画素の濃度に応じた基準値を取得する取得手段と、カウント手段により求められたカウント値と取得手段により取得された基準値とに基づいて、注目画素についての誤差拡散処理の処理結果を強制的に反転する反転手段とを備える。   In order to achieve the above object, according to one aspect of the present invention, an image is formed by an image forming apparatus that performs error diffusion processing on input data to lower the value and forms a latent image on an image carrier using a plurality of light sources. The image processing apparatus that outputs the output data to be processed includes a storage unit that stores processing results of error diffusion processing for pixels in a predetermined range around the target pixel that is a processing target in the input data, and a plurality of light sources Counting means for obtaining a count value relating to the number of dots based on the processing result stored in the storage means for each area corresponding to each of the above, an acquisition means for acquiring a reference value according to the density of the target pixel, and a counting means Inverting means for forcibly inverting the processing result of the error diffusion processing for the pixel of interest based on the count value obtained by the above and the reference value acquired by the acquiring means. That.

好ましくは記憶手段は、入力データについての副走査方向が主走査方向よりも長くなるように設定された領域について、処理結果の記憶を行う。   Preferably, the storage unit stores the processing result for an area set so that the sub-scanning direction of the input data is longer than the main scanning direction.

好ましくは基準値は、入力データのうちハイライト領域においてドットがより均等に分配されるように設定されている。   Preferably, the reference value is set so that dots are more evenly distributed in the highlight area of the input data.

好ましくは複数の光源は、2つの光源であり、2つの光源のそれぞれに対応する2つの領域は、入力データについて副走査方向に奇数番目に位置するラインである領域と、入力データについて副走査方向に偶数番目に位置するラインである領域とである。   Preferably, the plurality of light sources are two light sources, and two regions corresponding to each of the two light sources are regions that are odd-numbered lines in the sub-scanning direction for input data and sub-scanning directions for input data And an area that is an even-numbered line.

この発明の他の局面に従うと、画像形成装置は、複数の光源により像担持体に潜像を形成することで用紙に画像を形成する画像形成部と、上述のいずれかに記載の画像処理装置とを備え、画像形成部は、画像処理装置から出力された出力データに基づいて画像形成を行う。   According to another aspect of the present invention, an image forming apparatus includes: an image forming unit that forms an image on a sheet by forming a latent image on an image carrier with a plurality of light sources; The image forming unit performs image formation based on output data output from the image processing apparatus.

この発明のさらに他の局面に従うと、入力データに対して誤差拡散処理を行って低値化し、複数の光源を用いて像担持体に潜像を形成する画像形成装置で画像形成が行われる出力データを出力する画像処理装置の制御方法は、複数の光源に対応する領域毎に、入力データのうちの処理対象である注目画素の周辺の所定の範囲の画素についての誤差拡散処理の処理結果を記憶する記憶ステップと、複数の光源に対応する領域毎に、記憶ステップにより記憶された処理結果に基づいて、ドット数に関するカウント値を求めるカウントステップと、注目画素の濃度に応じた基準値を取得する取得ステップと、カウントステップにより求められたカウント値と取得ステップにより取得された基準値とに基づいて、注目画素についての誤差拡散処理の処理結果を強制的に反転する反転ステップとを備える。   According to yet another aspect of the present invention, an error diffusion process is performed on input data to lower the value, and an image is formed by an image forming apparatus that forms a latent image on an image carrier using a plurality of light sources. The control method of the image processing apparatus that outputs data includes the processing result of error diffusion processing for pixels in a predetermined range around the target pixel of the input data for each area corresponding to a plurality of light sources. A storage step for storing, a count step for obtaining a count value related to the number of dots based on the processing result stored in the storage step for each region corresponding to a plurality of light sources, and a reference value corresponding to the density of the pixel of interest Based on the acquisition step, the count value obtained in the count step, and the reference value obtained in the acquisition step. And a reversing step for forcibly inverting the result.

この発明のさらに他の局面に従うと、入力データに対して誤差拡散処理を行って低値化し、複数の光源を用いて像担持体に潜像を形成する画像形成装置で画像形成が行われる出力データを出力する画像処理装置の制御プログラムは、複数の光源に対応する領域毎に、入力データのうちの処理対象である注目画素の周辺の所定の範囲の画素についての誤差拡散処理の処理結果を記憶する記憶ステップと、複数の光源に対応する領域毎に、記憶ステップにより記憶された処理結果に基づいて、ドット数に関するカウント値を求めるカウントステップと、注目画素の濃度に応じた基準値を取得する取得ステップと、カウントステップにより求められたカウント値と取得ステップにより取得された基準値とに基づいて、注目画素についての誤差拡散処理の処理結果を強制的に反転する反転ステップとをコンピュータに実行させる。   According to yet another aspect of the present invention, an error diffusion process is performed on input data to lower the value, and an image is formed by an image forming apparatus that forms a latent image on an image carrier using a plurality of light sources. The control program of the image processing apparatus that outputs data displays the processing result of the error diffusion processing for pixels in a predetermined range around the target pixel of the input data for each region corresponding to a plurality of light sources. A storage step for storing, a count step for obtaining a count value related to the number of dots based on the processing result stored in the storage step for each region corresponding to a plurality of light sources, and a reference value corresponding to the density of the pixel of interest Based on the acquisition step, the count value obtained in the count step, and the reference value obtained in the acquisition step. An inverting step of inverting the processing result forcibly executed by a computer.

これらの発明に従うと、複数の光源のそれぞれに対応する領域毎にカウントされたカウント値と、基準値とに応じて、誤差拡散処理の処理結果が強制的に反転される。したがって、木目調のノイズの発生を防止し、比較的に高い画質で誤差拡散法による画像処理を行うことができ、コストがかかる光量調整を行わずに速やかに印字を実行可能にできる画像処理装置、画像形成装置、画像処理装置の制御方法、及び画像処理装置の制御プログラムを提供することができる。   According to these inventions, the processing result of the error diffusion processing is forcibly inverted according to the count value counted for each region corresponding to each of the plurality of light sources and the reference value. Accordingly, an image processing apparatus that can prevent the occurrence of wood-tone noise, perform image processing by the error diffusion method with relatively high image quality, and can execute printing promptly without performing costly light amount adjustment. An image forming apparatus, an image processing apparatus control method, and an image processing apparatus control program can be provided.

本発明の実施の形態の一例における画像処理装置を有する画像形成装置を示す正面図である。1 is a front view showing an image forming apparatus having an image processing apparatus in an example of an embodiment of the present invention. 画像形成装置の制御回路の構成を示すブロック図である。2 is a block diagram illustrating a configuration of a control circuit of the image forming apparatus. FIG. 誤差拡散処理部の構成を示すブロック図である。It is a block diagram which shows the structure of an error diffusion process part. 誤差拡散処理の一例を示すフローチャートである。It is a flowchart which shows an example of an error diffusion process. 注目画素に関して2値化結果記憶部により2値化結果の記憶が行われる領域の一例を示す図である。It is a figure which shows an example of the area | region where memory | storage of a binarization result is performed by the binarization result memory | storage part regarding an attention pixel. 注目画素に関して2値化結果記憶部により2値化結果の記憶が行われる領域の別の例を示す図である。It is a figure which shows another example of the area | region where binarization result memory | storage is performed by the binarization result memory | storage part regarding an attention pixel. 基準値算出部による基準値の設定例を説明するグラフである。It is a graph explaining the example of a setting of the reference value by a reference value calculation part. ノイズが発生するメカニズムについて説明する第1の図である。It is a 1st figure explaining the mechanism in which noise generate | occur | produces. ノイズが発生するメカニズムについて説明する第2の図である。It is a 2nd figure explaining the mechanism in which noise generate | occur | produces. 誤差拡散処理が行われた画像におけるドットの分布と、2つの光源間で光量差がある場合のその画像の見栄えとの関係を説明する表である。It is a table | surface explaining the relationship between the distribution of the dot in the image in which the error diffusion process was performed, and the appearance of the image when there is a light amount difference between two light sources.

以下、本発明の実施の形態における画像形成装置(画像処理装置の一例)の一例について説明する。   Hereinafter, an example of an image forming apparatus (an example of an image processing apparatus) according to an embodiment of the present invention will be described.

[概要]   [Overview]

画像形成装置は、スキャナ機能、複写機能、プリンタとしての機能、ファクシミリ機能、データ通信機能、及びサーバ機能を備えたMFP(Multi Function Peripheral)である。スキャナ機能では、セットされた原稿の画像を読み取ってそれをHDD(Hard Disk Drive)などに蓄積する。複写機能では、さらにそれを用紙などに印刷(プリント)する。プリンタとしての機能では、PC(パーソナルコンピュータ)などの外部端末から印刷指示を受けるとその指示に基づいて用紙に印刷を行う。ファクシミリ機能では、外部のファクシミリ装置などからファクシミリデータを受信してそれをHDDなどに蓄積する。データ通信機能では、接続された外部機器との間でデータを送受信する。サーバ機能では、複数のユーザでHDDなどに記憶したデータなどを共有可能にする。   The image forming apparatus is an MFP (Multi Function Peripheral) having a scanner function, a copying function, a printer function, a facsimile function, a data communication function, and a server function. In the scanner function, an image of a set original is read and stored in an HDD (Hard Disk Drive) or the like. In the copying function, it is further printed (printed) on paper or the like. In the function as a printer, when a print instruction is received from an external terminal such as a PC (personal computer), printing is performed on a sheet based on the instruction. In the facsimile function, facsimile data is received from an external facsimile machine and stored in an HDD or the like. In the data communication function, data is transmitted / received to / from a connected external device. In the server function, a plurality of users can share data stored in the HDD or the like.

画像形成装置は、電子写真プロセスにより用紙に画像を形成する。画像形成装置は、例えば2つの光源を用いて像担持体に潜像を形成し、画像形成を行うものである。   The image forming apparatus forms an image on a sheet by an electrophotographic process. The image forming apparatus forms an image by forming a latent image on an image carrier using two light sources, for example.

画像形成装置は、画像データについて画像処理を行う画像処理装置として機能する。画像形成装置は、例えば、スキャナ機能で読み取った画像や印刷する対象となる画像などの処理対象となる画像データについて、画像処理を行う。画像形成装置は、画像データを誤差拡散法により2値化する誤差拡散処理を行う。   The image forming apparatus functions as an image processing apparatus that performs image processing on image data. For example, the image forming apparatus performs image processing on image data to be processed such as an image read by a scanner function or an image to be printed. The image forming apparatus performs error diffusion processing that binarizes image data by an error diffusion method.

本実施の形態において、画像形成装置は、画像データについて誤差拡散処理を行うとき、その画像データに基づいて画像形成が行われる場合に2つの光源のそれぞれが対応する2つの領域毎に、画像データを2値化した結果を記憶する。また、画像形成装置は、各領域内のドット数を比較することで、2値化した結果の反転処理を行う。   In the present embodiment, when performing an error diffusion process on image data, the image forming apparatus performs image data for each of two areas corresponding to two light sources when image formation is performed based on the image data. The result of binarizing is stored. Further, the image forming apparatus performs the reversal processing of the binarized result by comparing the number of dots in each region.

これにより、誤差拡散処理後の画像について画像形成を行った場合に木目調のノイズが発生することを防止できる。従来のように複数の光源(レーザ光源など)の光量を互いに均一となるように調整することなく、すなわち調整工程分の時間やコストを必要とせずに、画像処理によるノイズ発生に対する対策を効果的に施すことができる。   As a result, it is possible to prevent the occurrence of woodgrain noise when an image is formed on an image after error diffusion processing. Effective countermeasures against noise generation due to image processing without adjusting the amount of light from multiple light sources (laser light sources, etc.) to be uniform as in the past, that is, without requiring time and cost for the adjustment process Can be applied.

[実施の形態]   [Embodiment]

まず、本実施の形態の一例における画像形成装置の構成について説明する。   First, the configuration of the image forming apparatus in an example of the present embodiment will be described.

[画像形成装置の構成]   [Configuration of Image Forming Apparatus]

図1は、本発明の実施の形態の一例における画像処理装置を有する画像形成装置を示す正面図である。   FIG. 1 is a front view showing an image forming apparatus having an image processing apparatus in an example of an embodiment of the present invention.

図を参照して、画像形成装置1は、画像形成部3、画像読取部5、画像処理部21、給紙部30、及び排紙部31などを備える。   Referring to the drawing, the image forming apparatus 1 includes an image forming unit 3, an image reading unit 5, an image processing unit 21, a paper feeding unit 30, and a paper discharging unit 31.

図2は、画像形成装置1の制御回路の構成を示すブロック図である。   FIG. 2 is a block diagram illustrating a configuration of the control circuit of the image forming apparatus 1.

図を参照して、画像形成装置1のシステム全体を制御するCPU(中央演算処理装置)11の制御の下、各モジュールが動作することで、画像形成装置1の種々の機能が実現される。画像形成装置1は、上述の各部のほか、表示部7、パネル操作部9、記憶部13、ROM15、RAM17、不揮発メモリ19、画像出力部23、ファクシミリ制御部25、及びネットワーク接続部27などを備えている。   Referring to the figure, various functions of image forming apparatus 1 are realized by the operation of each module under the control of CPU (central processing unit) 11 that controls the entire system of image forming apparatus 1. In addition to the above-described units, the image forming apparatus 1 includes a display unit 7, a panel operation unit 9, a storage unit 13, a ROM 15, a RAM 17, a nonvolatile memory 19, an image output unit 23, a facsimile control unit 25, a network connection unit 27, and the like. I have.

CPU11は、判別部11aと、削除部11bと、制御部11cと、通報部11dとを有している。CPU11は、判別部11a、削除部11b、制御部11c、及び通報部11dなどにより、画像形成装置1の各部との間で通信や信号の送受信を行ったり、種々の判断や情報の削除などを実行したりすることで、画像形成装置1のシステム全体を制御する。   The CPU 11 includes a determination unit 11a, a deletion unit 11b, a control unit 11c, and a notification unit 11d. The CPU 11 uses the determination unit 11a, the deletion unit 11b, the control unit 11c, the notification unit 11d, and the like to perform communication and signal transmission / reception with each unit of the image forming apparatus 1 and perform various determinations and information deletion. Or the like to control the entire system of the image forming apparatus 1.

画像形成部3は、例えば、トナー像形成部(図示せず)と、用紙搬送部(図示せず)と、定着装置(図示せず)とを有し、電子写真方式により用紙に画像を形成する。用紙は、給紙部30から用紙搬送部によってトナー像形成部に搬送される。また、トナー像形成部及び定着装置で画像が形成された用紙は、用紙搬送部により、排紙部31に排紙される。画像形成部3は、画像処理部21により画像処理が行われた画像に基づいて、用紙に画像形成を行う。画像形成部3は、いわゆるタンデム方式で4色の画像を合成し、用紙にカラー画像を形成可能に構成されている。   The image forming unit 3 includes, for example, a toner image forming unit (not shown), a paper transport unit (not shown), and a fixing device (not shown), and forms an image on a paper by an electrophotographic method. To do. The sheet is conveyed from the sheet feeding unit 30 to the toner image forming unit by the sheet conveying unit. The paper on which the image is formed by the toner image forming unit and the fixing device is discharged to the paper discharge unit 31 by the paper transport unit. The image forming unit 3 forms an image on a sheet based on the image subjected to the image processing by the image processing unit 21. The image forming unit 3 is configured to be able to form a color image on a sheet by synthesizing four color images by a so-called tandem method.

画像読取部5は、画像形成装置1の筐体の上部に配置されている。画像読取部5は、ADF(Auto Document Feeder)5aを有している。画像読取部5は、上述のスキャナ機能を実行する。画像読取部5は、透明な原稿台に配置された原稿をコンタクトイメージセンサにより走査して、それを画像データとして読み取る。また、画像読取部5は、原稿トレイにセットされた複数枚の原稿を、ADF5aにより順次取り込みながら、コンタクトイメージセンサによりその画像データを読み取る。画像読取部5により読み取られた画像データは、CPU11により所定のデータ形式のデータに変換され、記憶部13などに記憶される。   The image reading unit 5 is disposed on the upper part of the housing of the image forming apparatus 1. The image reading unit 5 includes an ADF (Auto Document Feeder) 5a. The image reading unit 5 performs the above-described scanner function. The image reading unit 5 scans a document placed on a transparent document table with a contact image sensor and reads it as image data. Further, the image reading unit 5 reads the image data by the contact image sensor while sequentially taking in a plurality of documents set on the document tray by the ADF 5a. Image data read by the image reading unit 5 is converted into data of a predetermined data format by the CPU 11 and stored in the storage unit 13 or the like.

表示部7は、例えば、画像を表示するLCD(Liquid Crystal Display)である。表示部7には、例えば、画像形成装置1の状態を示す画像や操作の案内画像など、CPU11の制御の下、種々の画像が表示される。なお、表示部7は、パネル操作部9を兼ねたものであってもよい。   The display unit 7 is, for example, an LCD (Liquid Crystal Display) that displays an image. Various images are displayed on the display unit 7 under the control of the CPU 11 such as an image showing the state of the image forming apparatus 1 and an operation guide image. The display unit 7 may also serve as the panel operation unit 9.

パネル操作部9は、例えば、タッチパネルを備えたLCDである。パネル操作部9は、ユーザに案内画面を表示したり、操作ボタンを表示してユーザからのタッチ操作を受け付けたりする。パネル操作部9は、CPU11により制御されて表示を行う。パネル操作部9は、ユーザにより操作入力されると、その操作に応じた操作信号又は所定のコマンドをCPU11に送信する。すなわち、ユーザは、パネル操作部9に操作を行うことにより、画像形成装置1に種々の動作を実行させることができる。   The panel operation unit 9 is, for example, an LCD provided with a touch panel. The panel operation unit 9 displays a guidance screen for the user or displays an operation button to accept a touch operation from the user. The panel operation unit 9 performs display under the control of the CPU 11. When the user inputs an operation, the panel operation unit 9 transmits an operation signal or a predetermined command corresponding to the operation to the CPU 11. That is, the user can cause the image forming apparatus 1 to execute various operations by operating the panel operation unit 9.

記憶部13は、例えば、HDD(Hard Disk Drive)である。記憶部13は、ネットワーク接続部27を介して外部から送られたジョブ(JOB)のデータや、画像読取部5で読み取った画像データなどを記憶する。また、記憶部13は、画像形成装置1の設定情報や、画像形成装置1の種々の動作を行うための制御プログラム13aなどを記憶する。記憶部13は、1つのクライアントPC又は複数のクライアントPCなどから送信された複数のジョブを記憶可能である。なお、記憶部13は、ROM15や不揮発メモリ19などを兼ねていてもよい。   The storage unit 13 is, for example, an HDD (Hard Disk Drive). The storage unit 13 stores job (JOB) data sent from the outside via the network connection unit 27, image data read by the image reading unit 5, and the like. The storage unit 13 stores setting information of the image forming apparatus 1 and a control program 13a for performing various operations of the image forming apparatus 1. The storage unit 13 can store a plurality of jobs transmitted from one client PC or a plurality of client PCs. The storage unit 13 may also serve as the ROM 15 and the nonvolatile memory 19.

ROM15は、例えばフラッシュROM(Flash Memory)である。ROM15には、画像形成装置1の動作を行うために用いられるデータが記憶されている。ROM15には、記憶部13と同様に、種々の制御プログラムや、画像形成装置1の機能設定データなどが記憶されていてもよい。CPU11は、所定の処理を行うことにより、ROM15からのデータの読み込みや、ROM15へのデータの書き込みを行う。なお、ROM15は、書換え不可能なものであってもよい。   The ROM 15 is, for example, a flash ROM (Flash Memory). The ROM 15 stores data used for operating the image forming apparatus 1. Similar to the storage unit 13, the ROM 15 may store various control programs, function setting data of the image forming apparatus 1, and the like. The CPU 11 reads data from the ROM 15 and writes data to the ROM 15 by performing predetermined processing. The ROM 15 may be non-rewritable.

RAM17は、CPU11のメインメモリである。RAM17は、後述のようにCPU11が制御プログラム13aを実行するときに必要なデータを記憶するのに用いられる。   The RAM 17 is a main memory of the CPU 11. The RAM 17 is used to store data necessary when the CPU 11 executes the control program 13a as will be described later.

不揮発メモリ19は、例えばフラッシュROM(Flash Memory)である。不揮発メモリ19には、ROM15や記憶部13と同様に、種々の制御プログラムや、画像形成装置1の機能設定データなどが記憶されていてもよい。CPU11は、画像形成装置1の制御を行うのに必要なときなどに、不揮発メモリ19からのデータの読み込みや、不揮発メモリ19へのデータの書き込みを行う。   The nonvolatile memory 19 is, for example, a flash ROM (Flash Memory). The nonvolatile memory 19 may store various control programs, function setting data of the image forming apparatus 1, and the like, like the ROM 15 and the storage unit 13. The CPU 11 reads data from the nonvolatile memory 19 and writes data to the nonvolatile memory 19 when necessary to control the image forming apparatus 1.

画像処理部21は、CPU11による制御の下、種々の画像処理を行う機能を有している。画像処理としては、例えば、印刷対象の画像データをCMYK方式のデータに変換する処理や、画像データの特性に応じた画像データの補正処理などがある。   The image processing unit 21 has a function of performing various image processing under the control of the CPU 11. Image processing includes, for example, processing for converting image data to be printed into CMYK format data, and processing for correcting image data according to the characteristics of the image data.

画像出力部23は、例えば、記憶部13などに記憶された画像データを、ネットワーク接続部27などを介して、外部のPCなどに送信可能である。画像出力部23は、例えば、電子メールやFTP(File Transfer Protocol)など、種々の通信プロトコルにより、画像を出力可能である。   For example, the image output unit 23 can transmit the image data stored in the storage unit 13 or the like to an external PC or the like via the network connection unit 27 or the like. The image output unit 23 can output an image by various communication protocols such as e-mail and FTP (File Transfer Protocol).

ファクシミリ制御部25は、上述のファクシミリ機能を制御し、外部の機器とファクシミリ通信を行う。ファクシミリ制御部25は、ファクシミリ通信によるデータを受信する受信部25aを備えている。   The facsimile control unit 25 controls the above-described facsimile function and performs facsimile communication with an external device. The facsimile control unit 25 includes a receiving unit 25a that receives data by facsimile communication.

ネットワーク接続部27は、例えば、NIC(Network Interface Card)などのハードウェア部と、所定の通信プロトコルで通信を行うソフトウェア部とが組み合わされて構成されている。ネットワーク接続部27は、画像形成装置1をLANなどの外部ネットワークに接続する。これにより、画像形成装置1は、外部ネットワークに接続されているクライアントPCなどの外部装置と通信可能になる。画像形成装置1は、PCなどが接続された外部ネットワークに接続されている場合、そのPCなどから印刷ジョブを受信可能である。また、画像形成装置1は、上述の画像出力部23などにより、画像読取部5で読み取った画像データを、PCに送信したり、メールサーバなどを介してE−mailにより送信したりすることができる。なお、ネットワーク接続部27は、無線通信により外部ネットワークに接続可能に構成されていてもよい。   The network connection unit 27 is configured by combining, for example, a hardware unit such as a NIC (Network Interface Card) and a software unit that performs communication using a predetermined communication protocol. The network connection unit 27 connects the image forming apparatus 1 to an external network such as a LAN. As a result, the image forming apparatus 1 can communicate with an external apparatus such as a client PC connected to the external network. When the image forming apparatus 1 is connected to an external network to which a PC or the like is connected, the image forming apparatus 1 can receive a print job from the PC or the like. Further, the image forming apparatus 1 may transmit the image data read by the image reading unit 5 to the PC by the above-described image output unit 23 or the like, or may be transmitted by E-mail via a mail server or the like. it can. The network connection unit 27 may be configured to be connectable to an external network by wireless communication.

CPU11は、ROM15、RAM17、又は記憶部13などに記憶された制御プログラム13aなどを実行することにより、画像形成装置1の種々の動作を制御する。CPU11は、パネル操作部9から操作信号が送られたり、ネットワーク接続部27を介して通信可能なPCなどから操作コマンドが送信されたりすると、それらに応じて所定の制御プログラム13aを実行する。これにより、ユーザによりパネル操作部9に加えられた操作入力などに応じて、画像形成装置1の所定の機能が実行される。   The CPU 11 controls various operations of the image forming apparatus 1 by executing a control program 13 a or the like stored in the ROM 15, the RAM 17, or the storage unit 13. When an operation signal is sent from the panel operation unit 9 or an operation command is transmitted from a PC or the like that can communicate via the network connection unit 27, the CPU 11 executes a predetermined control program 13a in response thereto. Accordingly, a predetermined function of the image forming apparatus 1 is executed in accordance with an operation input or the like applied to the panel operation unit 9 by the user.

本実施の形態において、画像形成部3は、例えば2つのレーザ光源4a,4b(以下、これらをまとめてレーザ光源4と示すことがある。)を有し、電子写真方式により画像を形成する。すなわち、画像形成部3において、2つの光源から出射された光を像担持体上に照射し、像担持体上で主走査方向に走査させることで、像担持体上に潜像を形成する。像担持体上に形成された画像は、用紙に転写及び定着され、用紙に画像が形成される。このように2つの光源を用いて画像形成を行うことで、形成する画像の副走査方向の解像度をより高くすることができる。   In the present embodiment, the image forming unit 3 includes, for example, two laser light sources 4a and 4b (hereinafter, these may be collectively referred to as a laser light source 4), and forms an image by electrophotography. In other words, the image forming unit 3 irradiates light emitted from two light sources onto the image carrier and scans the image carrier in the main scanning direction, thereby forming a latent image on the image carrier. The image formed on the image carrier is transferred and fixed on a sheet, and an image is formed on the sheet. By performing image formation using two light sources in this way, the resolution in the sub-scanning direction of the image to be formed can be further increased.

画像処理部21には、入力データについて誤差拡散処理を行い低値化して出力する誤差拡散処理部21aが設けられている。誤差拡散処理部21aの動作については、後述する。   The image processing unit 21 is provided with an error diffusion processing unit 21a that performs error diffusion processing on input data, lowers the value, and outputs the result. The operation of the error diffusion processing unit 21a will be described later.

[誤差拡散処理の説明]   [Description of error diffusion processing]

本実施の形態において、画像形成装置1では、画像処理として、画像データである入力データを低値化して出力する誤差拡散処理が行われる。誤差拡散処理では、例えば、2値化が行われる。誤差拡散処理は、例えば、画像処理部21に設けられた誤差拡散処理部21aにより、CPU11の制御に基づいて行われる。CPU11は、例えば、記憶部13の制御プログラム13aを実行することで、誤差拡散処理の制御を行う。   In the present embodiment, the image forming apparatus 1 performs an error diffusion process that lowers the input data, which is image data, and outputs it as an image process. In the error diffusion process, for example, binarization is performed. The error diffusion processing is performed based on the control of the CPU 11 by an error diffusion processing unit 21a provided in the image processing unit 21, for example. For example, the CPU 11 controls the error diffusion process by executing the control program 13 a of the storage unit 13.

図3は、誤差拡散処理部21aの構成を示すブロック図である。   FIG. 3 is a block diagram showing a configuration of the error diffusion processing unit 21a.

図3を参照して、誤差拡散処理部21aは、入力データとして画像入力信号が入力されると、それについて処理を行い、処理後の画像データである出力データを画像出力信号として出力する。出力データは、画像形成装置で画像形成の対象となりうるものである。   Referring to FIG. 3, when an image input signal is input as input data, error diffusion processing unit 21a performs processing on the input data, and outputs output data that is processed image data as an image output signal. The output data can be an object of image formation by the image forming apparatus.

誤差拡散処理部21aは、加算部51と、比較部53と、反転処理部(反転手段の一例)55と、減算部57と、誤差積分部59と、基準値算出部(取得手段の一例)61と、2値化結果記憶部(記憶手段の一例)63と、ドットカウント部(カウント手段の一例)65とを有している。   The error diffusion processing unit 21a includes an addition unit 51, a comparison unit 53, an inversion processing unit (an example of an inversion unit) 55, a subtraction unit 57, an error integration unit 59, and a reference value calculation unit (an example of an acquisition unit). 61, a binarization result storage unit (an example of a storage unit) 63, and a dot count unit (an example of a count unit) 65.

画像入力信号は、例えば256階調(8bit)の階調再現性を有するものである。画像入力信号は、誤差拡散処理部21aに入力されると、加算部51と基準値算出部61とに入力される。   The image input signal has a gradation reproducibility of, for example, 256 gradations (8 bits). When the image input signal is input to the error diffusion processing unit 21 a, the image input signal is input to the addition unit 51 and the reference value calculation unit 61.

加算部51において、画像入力信号と誤差積分部59からの出力である誤差積分結果(誤差データ)とが加算される。加算された結果は、比較部53と減算部57とに出力される。   In the adder 51, the image input signal and the error integration result (error data) that is the output from the error integrator 59 are added. The added result is output to the comparison unit 53 and the subtraction unit 57.

比較部53において、入力された加算結果は、2値化いき値と比較される。加算結果の方が大きければ、その画素についてドットがオン(ON)とされる(オンの信号を出力する)。加算結果の方が小さければ、ドットがオフ(OFF)とされる。なお、ここでオンとは、値が1(例えば黒色)であることをいい、オフとは、値が0(例えば白色・無色)であることをいう。値は、反転処理部55に送られる。換言すると、比較部53から反転処理部55に、比較結果が送られる。   In the comparison unit 53, the input addition result is compared with the binarized threshold value. If the addition result is larger, the dot is turned on (outputs an on signal) for the pixel. If the addition result is smaller, the dot is turned off. Here, “on” means that the value is 1 (for example, black), and “off” means that the value is 0 (for example, white or colorless). The value is sent to the inversion processing unit 55. In other words, the comparison result is sent from the comparison unit 53 to the inversion processing unit 55.

反転処理部55は、判定部67と、強制処理部69とを有している。比較部53からの出力は、強制処理部69に入力される。強制処理部69は、後述のようにして、所定の場合に2値化結果を強制的に反転させる処理を行う。強制処理部69の処理結果は、画像出力信号(出力データ)として誤差拡散処理部21aから出力される。また、強制処理部69の処理結果は、減算部57及び2値化結果記憶部63に出力される。   The inversion processing unit 55 includes a determination unit 67 and a forcible processing unit 69. The output from the comparison unit 53 is input to the forcible processing unit 69. The forcible processing unit 69 performs processing for forcibly inverting the binarization result in a predetermined case as will be described later. The processing result of the forcible processing unit 69 is output from the error diffusion processing unit 21a as an image output signal (output data). The processing result of the forcible processing unit 69 is output to the subtraction unit 57 and the binarization result storage unit 63.

減算部57には、加算器51から出力された加算結果と、強制処理部69の処理結果すなわち画像出力信号とが入力される。減算部57では、画像出力信号と加算結果との誤差が算出される。このとき、画像出力信号は2値化されたデータであって、加算結果は2値化される前のデータであるので、画像出力信号が適当な倍数で乗算(例えば、255倍)された後、誤差の算出が行われる。算出された誤差は、誤差積分部59に出力される。   The subtraction unit 57 receives the addition result output from the adder 51 and the processing result of the forcible processing unit 69, that is, the image output signal. In the subtraction unit 57, an error between the image output signal and the addition result is calculated. At this time, since the image output signal is binarized data and the addition result is data before binarization, the image output signal is multiplied by an appropriate multiple (for example, 255 times). The error is calculated. The calculated error is output to the error integration unit 59.

誤差積分部59は、減算部57から入力された誤差を蓄積し、蓄積した誤差データを注目画素の周辺画素に分散するようにして、加算部51に出力する。なお、加算部51、比較部53、減算部57、及び誤差積分部59による通常の誤差拡散処理(強制反転処理を伴わないもの)は、公知のものであり、種々の手法が用いられうるものである。   The error integrating unit 59 accumulates the error input from the subtracting unit 57, and outputs the accumulated error data to the adding unit 51 so as to be distributed to peripheral pixels of the target pixel. Note that normal error diffusion processing (without compulsory inversion processing) by the adding unit 51, the comparing unit 53, the subtracting unit 57, and the error integrating unit 59 is a known one, and various methods can be used. It is.

基準値算出部61には、誤差拡散処理部21aに入力された画像入力信号が入力される。基準値算出部61は、画像入力信号の濃度(階調)すなわちその注目画素の濃度に応じて、基準値を算出する。算出された基準値は、判定部67に出力される。   The reference value calculation unit 61 receives the image input signal input to the error diffusion processing unit 21a. The reference value calculation unit 61 calculates a reference value according to the density (gradation) of the image input signal, that is, the density of the target pixel. The calculated reference value is output to the determination unit 67.

2値化結果記憶部63には、強制処理部69から出力された画像出力信号が入力される。2値化結果記憶部63は、入力された画像出力信号に基づいて、入力データのうちの処理対象である注目画素の周辺の所定範囲内の画素についての2値化結果(2値化された結果すなわち誤差拡散処理の処理結果)を記憶する。2値化結果の記憶対象となる領域については、後述する。   The binarization result storage unit 63 receives the image output signal output from the forcible processing unit 69. Based on the input image output signal, the binarization result storage unit 63 binarizes the binarization result (binarized) for pixels within a predetermined range around the target pixel to be processed in the input data. Result, that is, the result of error diffusion processing). The area that is the storage target of the binarization result will be described later.

ドットカウント部65は、2値化結果記憶部63で記憶された2値化結果に関するカウントを行う。すなわち、ドットカウント部65は、2値化結果記憶部63により記憶された誤差拡散処理の処理結果に基づいて、ドット数に関するカウント値(ドットのオン又はオフの数に関連したカウント値)を求め、取得する。カウント値は、判定部67に送られる。   The dot count unit 65 counts the binarization result stored in the binarization result storage unit 63. That is, the dot count unit 65 obtains a count value related to the number of dots (a count value related to the number of dots on or off) based on the processing result of the error diffusion processing stored in the binarization result storage unit 63. ,get. The count value is sent to the determination unit 67.

反転処理部55は、ドットカウント部65により求められたカウント値と、基準値算出部61により取得された基準値とに基づいて、注目画素についての誤差拡散処理の処理結果すなわち2値化結果を強制的に反転する処理を行う。   Based on the count value obtained by the dot count unit 65 and the reference value obtained by the reference value calculation unit 61, the inversion processing unit 55 obtains the processing result of the error diffusion processing for the target pixel, that is, the binarization result. Forces inversion processing.

すなわち、判定部67は、基準値算出部61から入力された基準値と、ドットカウント部65から入力されたカウント値とに基づいて、判定を行う。判定は、基準値とカウント値とを比較して、注目画素について2値化結果を強制的に反転すべきか否かについて行われる。   That is, the determination unit 67 performs determination based on the reference value input from the reference value calculation unit 61 and the count value input from the dot count unit 65. The determination is made as to whether or not the binarization result should be forcibly inverted for the target pixel by comparing the reference value and the count value.

強制処理部69は、判定部67による判定結果に基づいて、2値化結果を強制的に反転させる処理を行う。すなわち、判定部67により注目画素についての2値化結果を反転すべきであると判定されたとき、その注目画素の2値化結果を反転して出力する。   The forcible processing unit 69 performs processing for forcibly inverting the binarization result based on the determination result by the determination unit 67. That is, when the determination unit 67 determines that the binarization result for the target pixel should be inverted, the binarization result for the target pixel is inverted and output.

ここで、本実施の形態において、誤差拡散処理部21aでは、入力データについて、その画像データに基づいて画像形成が行われる場合に2つのレーザ光源4のそれぞれが対応する2つの領域毎に、2値化結果を記憶し、各領域内のドット数に基づいて、入力データのうちの処理対象である注目画素についての2値化結果を反転する処理を行う。   Here, in the present embodiment, the error diffusion processing unit 21 a has 2 for each of the two regions corresponding to the two laser light sources 4 when image formation is performed on the input data based on the image data. Based on the number of dots in each area, the binarization result is stored, and the binarization result for the target pixel that is the processing target in the input data is inverted.

すなわち、2値化結果記憶部63は、2つのレーザ光源4のそれぞれに対応する2つの領域毎に、注目画素の周辺の所定の範囲の画素についての誤差拡散処理の処理結果を記憶する。換言すると、誤差拡散処理の処理結果を記憶する対象領域としては、注目画素の周辺の所定の範囲の画素により構成される領域を2つのレーザ光源4のそれぞれが対応する2つの領域に分割したものが設定されている。   That is, the binarization result storage unit 63 stores the processing result of the error diffusion processing for pixels in a predetermined range around the target pixel for each of the two areas corresponding to the two laser light sources 4. In other words, the target region for storing the processing result of the error diffusion processing is a region obtained by dividing a region composed of pixels in a predetermined range around the target pixel into two regions corresponding to the two laser light sources 4 respectively. Is set.

ドットカウント部65は、2つの領域毎に、2値化結果記憶部63により記憶された処理結果に基づいて、ドット数に関するカウント値を求める。換言すると、ドットカウント部65は、2つのレーザ光源4がそれぞれ印字することになる2つの領域のそれぞれについて、2値化結果をカウントし、カウント値を求める。   The dot count unit 65 obtains a count value related to the number of dots based on the processing result stored by the binarization result storage unit 63 for each of the two areas. In other words, the dot count unit 65 counts the binarization result for each of the two regions that the two laser light sources 4 will print, and obtains a count value.

判定部67は、2つの領域のうち第1の領域についての第1カウント値と、第2の領域についての第2カウント値と、基準値とに基づいて、注目画素について反転を行うべきか否か、判定を行う。本実施の形態では、例えば、第1カウント値が、第2カウント値から基準値を減算した値より大きく、かつ、第2カウント値に基準値を加算した値より小さい場合は、反転を行うべきでないと判定される。判定部67の動作例については、後述する。   Whether the determination unit 67 should invert the pixel of interest based on the first count value for the first region, the second count value for the second region, and the reference value of the two regions. Or make a decision. In the present embodiment, for example, when the first count value is larger than the value obtained by subtracting the reference value from the second count value and smaller than the value obtained by adding the reference value to the second count value, inversion should be performed. It is determined that it is not. An operation example of the determination unit 67 will be described later.

図4は、誤差拡散処理の一例を示すフローチャートである。   FIG. 4 is a flowchart illustrating an example of error diffusion processing.

以下、CPU11が誤差拡散処理部21aなどに実行させる誤差拡散処理について、CPU11を処理主体として説明する。以下に説明する処理は、入力データにおいて処理対象となる各注目画素について行われる。   Hereinafter, the error diffusion processing that the CPU 11 causes the error diffusion processing unit 21a and the like to execute will be described with the CPU 11 as a processing subject. The process described below is performed for each target pixel to be processed in the input data.

ステップS101において、CPU11は、注目画素の入力データの入力処理を行う。入力画素は、加算部51などに入力される。   In step S <b> 101, the CPU 11 performs input processing for input data of the target pixel. The input pixel is input to the adding unit 51 and the like.

ステップS103において、CPU11は、注目画素について2値化(低値化)する処理を行う。   In step S103, the CPU 11 performs a process of binarizing (lowering the value) for the target pixel.

ステップS105において、CPU11は、入力データについて、2つのレーザ光源4のそれぞれに対応する2つの領域を判別する処理を行う。領域の判別は、各注目画素について行われる。判別は、例えば、2値化結果記憶部63やドットカウント部65などにより行われる。   In step S <b> 105, the CPU 11 performs a process of determining two regions corresponding to the two laser light sources 4 for the input data. The region is determined for each pixel of interest. The determination is performed by, for example, the binarization result storage unit 63 or the dot count unit 65.

ステップS107において、CPU11は、2値化結果を記憶する処理(低値化結果記憶処理)を行う。記憶は、2値化結果記憶部63を用いて行われる。   In step S107, the CPU 11 performs processing for storing the binarization result (lowering result storing processing). The storage is performed using the binarization result storage unit 63.

ステップS109において、CPU11は、記憶されたデータに基づいて、ドットに関する値をカウントする処理を行う。この処理は、ドットカウント部65を用いて行われる。このとき、ドットカウント部65においては、ステップS105において判別された2つの領域毎に、注目画素に対するカウント値が取得される。   In step S109, the CPU 11 performs a process of counting values related to dots based on the stored data. This process is performed using the dot count unit 65. At this time, the dot count unit 65 acquires a count value for the target pixel for each of the two areas determined in step S105.

ステップS111において、CPU11は、基準値を算出する処理を行う。基準値は、基準値算出部61により算出される。   In step S111, the CPU 11 performs a process for calculating a reference value. The reference value is calculated by the reference value calculation unit 61.

ステップS113において、CPU11は、基準値とカウント値とを比較する処理を行う。   In step S113, the CPU 11 performs a process of comparing the reference value with the count value.

ステップS115において、CPU11は、比較結果に基づいて、注目画素についての2値化結果を反転することが必要であるか否かについて判定する。判定は、判定部67を用いて行われる。   In step S115, the CPU 11 determines whether or not it is necessary to invert the binarization result for the target pixel based on the comparison result. The determination is performed using the determination unit 67.

ステップS115において反転することが必要であるとき、ステップS117において、CPU11は、強制反転処理を実行する。強制処理部69により、注目画素についての2値化結果が反転される。   When it is necessary to invert in step S115, in step S117, the CPU 11 executes a forced inversion process. The forcible processing unit 69 inverts the binarization result for the target pixel.

ステップS117において強制反転処理が行われたとき、又はステップS115において反転することが必要でなかったとき、ステップS119において、CPU11は、注目画素についての2値化結果を画像出力信号として出力する。すなわち、出力データが出力される。   When the forced inversion process is performed in step S117 or when it is not necessary to invert in step S115, in step S119, the CPU 11 outputs the binarization result for the target pixel as an image output signal. That is, output data is output.

[注目画素の周辺の所定の範囲の画素により構成される領域の説明]   [Description of a region composed of pixels in a predetermined range around the target pixel]

図5は、注目画素に関して2値化結果記憶部63により2値化結果の記憶が行われる領域の一例を示す図である。   FIG. 5 is a diagram illustrating an example of an area where the binarization result is stored by the binarization result storage unit 63 regarding the pixel of interest.

2つのレーザ光源4のそれぞれに対応する2つの領域としては、入力データについて副走査方向に奇数番目に位置するライン(奇数ライン)である領域と、入力データについて副走査方向に偶数番目に位置するライン(偶数ライン)である領域とがある。ここで、上記において入力データについての副走査方向とは、その入力データに基づいて画像形成部3により画像形成が行われる場合を想定したとき、用紙送り方向すなわちレーザ光源4の光の走査方向(主走査方向)に直交する方向をいう。図5において、副走査方向は紙面の上下方向であり、主走査方向は紙面の左右方向である。   The two areas corresponding to the two laser light sources 4 are an area that is an odd-numbered line (odd line) in the sub-scanning direction for input data and an even-numbered position in the sub-scanning direction for input data. Some areas are lines (even lines). Here, in the above description, the sub-scanning direction of the input data is the paper feeding direction, that is, the scanning direction of the light from the laser light source 4 when the image forming unit 3 performs image formation based on the input data (main scanning direction). The direction orthogonal to the (scanning direction). In FIG. 5, the sub-scanning direction is the vertical direction of the paper surface, and the main scanning direction is the horizontal direction of the paper surface.

図5を参照して、注目画素101が処理対象となるとき、入力データのうち注目画素101について考慮される領域110すなわち2値化結果記憶部63により2値化結果が記憶される領域110は、縦横(主走査方向及び副走査方向)共に所定の複数個の画素により構成される長方形の領域となる。   Referring to FIG. 5, when target pixel 101 is a processing target, region 110 considered for target pixel 101 in the input data, that is, region 110 in which the binarization result storage unit 63 stores the binarization result A rectangular region composed of a plurality of predetermined pixels in both vertical and horizontal directions (main scanning direction and sub-scanning direction).

本実施の形態において、ドットカウント部65は、領域110を2つのレーザ光源4に対応することになる2つの領域に分割して、2つの領域のそれぞれについてカウント値を取得する。すなわち、2つのレーザ光源4がそれぞれ画像データのうち奇数ラインの画素と偶数ラインの画素とに対応するものであるところ、領域110の画素のうち、奇数ラインの画素についてのカウント値(図5において「合計A」)と、偶数ラインの画素についてのカウント値(図5において「合計B」)とが取得される。換言すると、領域110を構成する画素のうち、図5において白色で示される奇数ラインの画素とグレーで示される偶数ラインの画素とが区別されて、それぞれの画素で構成される領域毎に、カウント値が取得される。   In the present embodiment, the dot count unit 65 divides the region 110 into two regions that correspond to the two laser light sources 4 and acquires count values for each of the two regions. That is, the two laser light sources 4 respectively correspond to the pixels of the odd lines and the pixels of the even lines in the image data. Among the pixels in the area 110, the count values for the pixels of the odd lines (in FIG. 5) “Total A”) and the count value (“Total B” in FIG. 5) for pixels in even lines are acquired. In other words, among the pixels constituting the region 110, the pixels of the odd lines shown in white in FIG. 5 are distinguished from the pixels of the even lines shown in gray, and the count is performed for each region constituted by each pixel. The value is obtained.

なお、領域110は、図5に示すような、主走査方向が副走査方向よりも短いものに限られない。   Note that the region 110 is not limited to one in which the main scanning direction is shorter than the sub-scanning direction as shown in FIG.

図6は、注目画素に関して2値化結果記憶部63により2値化結果の記憶が行われる領域の別の例を示す図である。   FIG. 6 is a diagram illustrating another example of a region in which the binarization result is stored by the binarization result storage unit 63 with respect to the target pixel.

図6を参照して、2値化結果記憶部63は、入力データのうち、副走査方向が主走査方向よりも長くなるように設定された領域210について、2値化結果の記憶を行うようにしてもよい。すなわち、副走査方向に並ぶ画素の数の方が、主走査方向に並ぶ画素の数よりも多くなるように、領域210が設定されていてもよい。この場合においても同様に、ドットカウント部65は、注目画素101についての領域210に関し、奇数ラインと偶数ラインとで区別された2つの領域のそれぞれについてのカウント値を取得する。   Referring to FIG. 6, the binarization result storage unit 63 stores the binarization result for the area 210 of the input data that is set so that the sub-scanning direction is longer than the main scanning direction. It may be. That is, the area 210 may be set so that the number of pixels arranged in the sub-scanning direction is larger than the number of pixels arranged in the main scanning direction. Also in this case, similarly, the dot count unit 65 acquires the count value for each of the two regions distinguished by the odd-numbered line and the even-numbered line, regarding the region 210 for the target pixel 101.

図5に示すような領域110が注目画素について設定される場合、図5で白色で示す領域において(合計A)ドットが右側にあり、グレーで示す領域(合計B)においてドットが左側にあるというように、ドットが左右に(主走査方向に)偏っていたとしても、それぞれの領域のカウント値が互いに同じような値であれば判定部67では2値化結果の強制反転指示が行われないため、局所的に(狭い領域内で)高周波な木目のようなノイズが発生する可能性がある。しかしながら、図6に示すように副走査方向の方が主走査方向よりも長い、いわゆる縦長の領域210が設定されるようにすることで、上記のようなドットの偏りが領域210では生じにくくなるため、上記のような局所的な領域内でのノイズの発生も効果的に防止することができる。   When the region 110 as shown in FIG. 5 is set for the target pixel, in the region shown in white in FIG. 5 (total A), the dots are on the right side, and in the region shown in gray (total B), the dots are on the left side. In this way, even if the dots are biased to the left and right (in the main scanning direction), if the count values of the respective regions are the same, the determination unit 67 does not issue a forced reversal instruction for the binarization result. Therefore, there is a possibility that noise such as a high-frequency grain is generated locally (within a narrow area). However, by setting a so-called vertically long area 210 in the sub-scanning direction that is longer than the main scanning direction as shown in FIG. Therefore, the occurrence of noise in the local area as described above can be effectively prevented.

[基準値の説明]   [Description of reference value]

本実施の形態において、基準値は、入力データのうちハイライト領域においてドットがより均等に分配されるように、注目画素の濃度に応じて設定されている。   In the present embodiment, the reference value is set according to the density of the pixel of interest so that the dots are more evenly distributed in the highlight area of the input data.

図7は、基準値算出部61による基準値の設定例を説明するグラフである。   FIG. 7 is a graph for explaining an example of setting a reference value by the reference value calculation unit 61.

図7において、グラフの横軸は、画像入力信号の階調(入力階調)を示し、グラフの縦軸は、基準値すなわちドットの個数を示す。   In FIG. 7, the horizontal axis of the graph indicates the gradation (input gradation) of the image input signal, and the vertical axis of the graph indicates the reference value, that is, the number of dots.

形成された画像において、木目調のノイズは、ハイライト部に発生しやすい。そのため、基準値は、ハイライト側(図7において左側)で比較的に小さく(厳しく)、シャドー側(図7において右側)では比較的に大きく(緩く)なるように、設定されている。これにより、ハイライト領域において、ドットがより均等に分配されるようになっている。   In the formed image, woodgrain noise tends to occur in the highlight portion. For this reason, the reference value is set to be relatively small (strict) on the highlight side (left side in FIG. 7) and relatively large (loose) on the shadow side (right side in FIG. 7). Thereby, dots are more evenly distributed in the highlight area.

このように、基準値が所定の入力階調領域において比較的小さめに設定されることで、以下のような効果が得られる。すなわち、例えば256階調のグレースケールでの色調を有する画像において、128LSB(黒色から数えて128番目の階調)付近の中間濃度領域では、ドット配置の自由度が非常に低くなる。その状態で、上述のような強制反転処理を行うようにすると、画像中に繰り返しの模様や幾何学的な模様が発生しやすくなる場合がある。例えば、グラデーション画像について誤差拡散処理を行うとき、強制反転処理を伴わない通常の誤差拡散処理の処理結果に見られるようなランダム配置されたドットが存在する濃度領域と、上記のように強制反転処理を施した領域とが混在すると、画像全体の見栄えが悪化する可能性がある。しかしながら、本実施の形態において、木目調のノイズが発生しにくい濃度領域においては基準値が比較的大きいままとされ、強制反転処理が行われにくくなり、強制反転処理を伴わない通常の誤差拡散処理が行われやすくなる。したがって、画像全体の見栄えの悪化を防止することができる。   Thus, the following effects can be obtained by setting the reference value relatively small in the predetermined input gradation region. That is, for example, in an image having a tone of 256 gray scales, the degree of freedom of dot arrangement is very low in an intermediate density region near 128 LSB (the 128th tone from black). If the forced inversion process as described above is performed in this state, a repeated pattern or a geometric pattern may easily occur in the image. For example, when error diffusion processing is performed on a gradation image, a density region in which randomly arranged dots exist as shown in a normal error diffusion processing result without forced inversion processing, and forced inversion processing as described above. If the region subjected to is mixed, the appearance of the entire image may be deteriorated. However, in the present embodiment, the reference value remains relatively large in the density region where the grain-like noise is unlikely to occur, and the forced inversion process is difficult to be performed, and the normal error diffusion process without the forced inversion process is performed. Is easier to be done. Therefore, it is possible to prevent the appearance of the entire image from deteriorating.

なお、基準値を比較的小さくする対象となるハイライト領域(濃度領域)は、適宜設定することができる。例えば、ハイライト領域を、濃度が0%から10%である領域として設定してもよいし、濃度が0%から50%である領域など、これとは異なる濃度領域を設定してもよい。また、入力階調の大小に応じて、基準値の値が、段階的に又は順次変化するようにしてもよい。   Note that a highlight region (density region) for which the reference value is relatively small can be set as appropriate. For example, the highlight area may be set as an area where the density is 0% to 10%, or a different density area such as an area where the density is 0% to 50% may be set. Further, the reference value may be changed stepwise or sequentially in accordance with the input gradation.

[判定部67の動作例]   [Operation Example of Determination Unit 67]

以下、図5に示すような領域110についてカウント値がカウントされている場合の注目画素101についての判定部67の判定動作の一例について説明する。ここで、領域110の奇数ラインの画素についてのカウント値(図5において「合計A」)を第1カウント値と呼び、偶数ラインの画素についてのカウント値(図5において「合計B」)を第2カウント値と呼ぶ。   Hereinafter, an example of the determination operation of the determination unit 67 for the target pixel 101 when the count value is counted for the region 110 as illustrated in FIG. 5 will be described. Here, the count value (“total A” in FIG. 5) for the pixels on the odd lines in the region 110 is referred to as a first count value, and the count value (“total B” in FIG. 5) for the pixels on the even lines. Called 2 count value.

上述の通り、判定部67は、第1カウント値、第2カウント値、及び基準値に基づいて、以下の式が満足されない場合に、強制反転処理を行うべきであると判定する。   As described above, the determination unit 67 determines that the forced inversion process should be performed based on the first count value, the second count value, and the reference value when the following expression is not satisfied.

[(第2カウント値)−(基準値)]<(第1カウント値)<[(第2カウント値)+(基準値)]   [(Second count value) − (reference value)] <(first count value) <[(second count value) + (reference value)]

例えば、領域110がハイライト部のものであって、第1カウント値が、第2カウント値に基準値を加算した値よりも大きい場合には、上記の関係が満たされない。この場合、判定部67により強制反転処理を行うべきであると判定されるため、奇数ラインに属する注目画素101のドットがオン(ドットON)と判定されていても、その結果が打ち消され、ドットがオフ(ドットOFF)に置換される。これによって、副走査方向に1ライン下流の偶数ラインに属する側の画素に、ドット形成が誘導される。   For example, when the area 110 is the highlight portion and the first count value is larger than the value obtained by adding the reference value to the second count value, the above relationship is not satisfied. In this case, since the determination unit 67 determines that the forced inversion process should be performed, even if the dot of the pixel of interest 101 belonging to the odd line is determined to be on (dot ON), the result is canceled and the dot Is replaced with OFF (dot OFF). As a result, dot formation is induced to pixels on the side belonging to the even lines one line downstream in the sub-scanning direction.

より具体的には、強制反転処理により2値化結果が打ち消されているために、注目画素101の付近の画素の誤差は十分に累積されている状態になる。この状態において、注目画素が1ライン下流の画素にシフトすると、シフト後の注目画素についてドットが打ちやすい状況になる。また、注目画素が1ラインシフトすることで、それまで奇数ラインであった領域と偶数ラインであった領域とが逆転するので、注目画素のシフト後において、第1カウント値が、第2カウント値に基準値を加算した値よりも小さくなる可能性が高くなる。したがって、注目画素の打ち消し処理すなわち強制反転処理が実行されにくい状態になる。   More specifically, since the binarization result is canceled by the forced inversion process, the error of the pixels in the vicinity of the target pixel 101 is sufficiently accumulated. In this state, if the target pixel shifts to a pixel downstream by one line, it becomes easy to hit a dot on the shifted target pixel. Further, since the pixel of interest is shifted by one line, the region that has been an odd line and the region that has been an even line until then are reversed, so that after the pixel of interest is shifted, the first count value becomes the second count value. There is a high possibility that the value will be smaller than the value obtained by adding the reference value to. Therefore, the process of canceling the target pixel, that is, the forced inversion process is difficult to execute.

他方、領域110がシャドー部のものであって、第1カウント値が、第2カウント値から基準値を減算した値よりも小さい場合にも、上記の関係が満たされない。この場合、判定部67により強制反転処理を行うべきであると判定されるため、奇数ラインに属する注目画素101のドットがオフと判定されていても、その結果が打ち消され、ドットがオンに置換される。これによって、偶数ラインに属する側の画素において、ドットがオフとなるように誘導される(オフドットの形成が誘導される)。   On the other hand, even when the area 110 is a shadow part and the first count value is smaller than the value obtained by subtracting the reference value from the second count value, the above relationship is not satisfied. In this case, since the determination unit 67 determines that the forced inversion process should be performed, even if the dot of the target pixel 101 belonging to the odd line is determined to be off, the result is canceled and the dot is switched on. Is done. This induces the dots to be turned off in the pixels belonging to the even lines (formation of formation of off dots).

より具体的には、強制反転処理によりドットがオンに置換されているために、その注目画素101の付近の画素の誤差は十分に解消されており、注目画素が1ライン下流にシフトすると、シフト後の注目画素についてドットが打ちにくい状態が発生することになる。また、1ラインシフトすることで、それまで奇数ラインであった領域と偶数ラインであった領域とが逆転するので、注目画素のシフト後において、第1カウント値が第2カウント値から基準値を減算した値よりも大きく、強制反転処理が実行されにくい状態になる。   More specifically, since the dot is replaced with ON by the forced inversion process, the error of the pixel in the vicinity of the target pixel 101 is sufficiently eliminated, and if the target pixel is shifted downstream by one line, the shift is performed. A state in which dots are difficult to strike occurs for the subsequent pixel of interest. In addition, by shifting one line, the area that has been an odd line and the area that has been an even line until then are reversed. Therefore, after the pixel of interest is shifted, the first count value is changed from the second count value to the reference value. It is larger than the subtracted value, and the forced inversion process is difficult to execute.

[実施の形態における効果]   [Effects of the embodiment]

以上のように構成された画像形成装置では、誤差拡散処理結果である2値化結果を、2つのレーザ光源4が対応する2つの領域に互いに略均等に振り返ることができる。ドットが各レーザ光源4が対応する領域に均等に配分されるため、2つのレーザ光源4間に光量差があるような場合であっても、全体として均一な濃度で画像形成が行われることとなる。簡易的な構成で、木目調のノイズの発生を抑えることができ、見栄え良く、比較的に高い画質で誤差拡散法による画像処理を行うことができる。画像形成装置1においては、コストがかかる光量調整等を行わず、速やかに印字を行うことができる。   In the image forming apparatus configured as described above, the binarization result, which is the error diffusion processing result, can be reflected almost equally on the two areas corresponding to the two laser light sources 4. Since the dots are evenly distributed to the areas to which the respective laser light sources 4 correspond, even when there is a light amount difference between the two laser light sources 4, image formation is performed with a uniform density as a whole. Become. With a simple configuration, it is possible to suppress the occurrence of woodgrain noise, and it is possible to perform image processing by the error diffusion method with a good appearance and a relatively high image quality. In the image forming apparatus 1, it is possible to perform printing promptly without performing costly light amount adjustment or the like.

[その他]   [Others]

誤差拡散処理は、CPUが記憶部に記憶された制御プログラムに基づいて動作することで、ソフトウェア的な処理が行われ、実現されてもよい。その場合、CPUは、上述の図4に示すような流れで処理を行ってもよい。   The error diffusion process may be realized by a software process performed by the CPU operating based on a control program stored in the storage unit. In that case, the CPU may perform processing according to the flow shown in FIG.

2値化結果記憶部が、2つのレーザ光源に関する区別なく、注目画素について所定の範囲の領域についてまとめて2値化結果の記憶を行い、ドットカウント部が、2値化結果の記憶対象となった領域を2つのレーザ光源のそれぞれが対応する2つの領域に分割し、各領域についてカウント値を求めるようにしてもよい。   The binarization result storage unit collectively stores the binarization result for a region of a predetermined range with respect to the pixel of interest without distinguishing the two laser light sources, and the dot count unit is a storage target of the binarization result. The area may be divided into two areas corresponding to the two laser light sources, and the count value may be obtained for each area.

画像形成部において画像形成に用いられる光源は、レーザ光源でなくてもよい。例えば、画像形成部は、複数のLED(発光ダイオード)を連ねた線状光源により画像形成を行うものであってもよい。   The light source used for image formation in the image forming unit may not be a laser light source. For example, the image forming unit may perform image formation with a linear light source in which a plurality of LEDs (light emitting diodes) are connected.

画像形成部は、例えば3以上の光源を用いて、電子写真プロセスにより画像を形成可能であってもよい。この場合、複数の光源のそれぞれが対応する領域について、ドットのカウントが行われ、基準値との比較が行われるようにすればよい。   The image forming unit may be capable of forming an image by an electrophotographic process using, for example, three or more light sources. In this case, it is only necessary that the dot count is performed for the region corresponding to each of the plurality of light sources and the comparison with the reference value is performed.

基準値は、上述のように設定されるものに限られない。基準値は、注目画素の濃度すなわち入力階調に応じて、例えば2つの値のうちいずれか一方が設定されるようにしてもよいし、所定の計算式を用いて入力階調に応じて算出されるようにしてもよい。   The reference value is not limited to the one set as described above. The reference value may be set, for example, as one of two values according to the density of the pixel of interest, that is, the input gradation, or calculated according to the input gradation using a predetermined calculation formula. You may be made to do.

画像形成装置としては、モノクロ/カラーの複写機、プリンタ、ファクシミリ装置やこれらの複合機(MFP)などいずれであってもよい。   The image forming apparatus may be a monochrome / color copying machine, a printer, a facsimile machine, or a multifunction machine (MFP) thereof.

画像形成装置のハードウェア構成は上述に限られるものではなく、画像処理が種々の制御回路により行われるようにしてもよい。   The hardware configuration of the image forming apparatus is not limited to the above, and image processing may be performed by various control circuits.

また、本発明に係る画像処理装置は、画像形成装置に用いられるものに限られない。例えば、本発明は、画像データを読み取るスキャナ装置や、撮像装置や、画像データ送受信装置など、種々の装置に用いられる画像処理装置においても適用可能である。   Further, the image processing apparatus according to the present invention is not limited to that used in the image forming apparatus. For example, the present invention can be applied to image processing apparatuses used in various apparatuses such as a scanner apparatus that reads image data, an imaging apparatus, and an image data transmission / reception apparatus.

上述の実施の形態における処理は、ソフトウェアによって行っても、ハードウェア回路を用いて行ってもよい。   The processing in the above embodiment may be performed by software or by using a hardware circuit.

上述の実施の形態における処理を実行するプログラムを提供することもできるし、そのプログラムをCD−ROM、フレキシブルディスク、ハードディスク、ROM、RAM、メモリカードなどの記録媒体に記録してユーザに提供することにしてもよい。プログラムはインターネットなどの通信回線を介して、装置にダウンロードするようにしてもよい。上記のフローチャートで文章で説明された処理は、そのプログラムに従ってCPUなどにより実行される。   A program for executing the processing in the above-described embodiment can be provided, or the program can be recorded on a recording medium such as a CD-ROM, a flexible disk, a hard disk, a ROM, a RAM, or a memory card and provided to the user. It may be. The program may be downloaded to the apparatus via a communication line such as the Internet. The processing described in the text in the above flowchart is executed by the CPU according to the program.

上記実施の形態は、すべての点で例示であって制限的なものではないと考えられるべきである。本発明の範囲は上記した説明ではなくて特許請求の範囲によって示され、特許請求の範囲と均等の意味及び範囲内でのすべての変更が含まれることが意図される。   The above embodiment should be considered as illustrative in all points and not restrictive. The scope of the present invention is defined by the terms of the claims, rather than the description above, and is intended to include any modifications within the scope and meaning equivalent to the terms of the claims.

1 画像形成装置
3 画像形成部
4,4a,4b レーザ光源
11 CPU
13a 制御プログラム
21 画像処理部
21a 誤差拡散処理部
51 加算部
53 比較部
55 反転処理部(反転手段の一例)
57 減算部
59 誤差積分部
61 基準値算出部(取得手段の一例)
63 2値化結果記憶部(記憶手段の一例)
65 ドットカウント部(カウント手段の一例)
67 判定部
69 強制処理部
DESCRIPTION OF SYMBOLS 1 Image forming apparatus 3 Image forming part 4, 4a, 4b Laser light source 11 CPU
13a Control program 21 Image processing unit 21a Error diffusion processing unit 51 Addition unit 53 Comparison unit 55 Inversion processing unit (an example of inversion means)
57 subtraction unit 59 error integration unit 61 reference value calculation unit (an example of an acquisition unit)
63 Binarization result storage unit (an example of storage means)
65 dot count section (an example of counting means)
67 judgment part 69 compulsory processing part

Claims (7)

入力データに対して誤差拡散処理を行って低値化し、複数の光源を用いて像担持体に潜像を形成する画像形成装置で画像形成が行われる出力データを出力する画像処理装置であって、
前記入力データのうちの処理対象である注目画素の周辺の所定の範囲の画素についての前記誤差拡散処理の処理結果を記憶する記憶手段と、
前記複数の光源のそれぞれに対応する領域毎に、前記記憶手段により記憶された前記処理結果に基づいて、ドット数に関するカウント値を求めるカウント手段と、
前記注目画素の濃度に応じた基準値を取得する取得手段と、
前記カウント手段により求められたカウント値と前記取得手段により取得された基準値とに基づいて、前記注目画素についての前記誤差拡散処理の処理結果を強制的に反転する反転手段とを備える、画像処理装置。
An image processing device that performs output diffusion processing on an input data and lowers the value to output image data that is formed by an image forming device that forms a latent image on an image carrier using a plurality of light sources. ,
Storage means for storing a processing result of the error diffusion processing for pixels in a predetermined range around a target pixel to be processed in the input data;
Count means for obtaining a count value relating to the number of dots based on the processing result stored by the storage means for each region corresponding to each of the plurality of light sources;
Obtaining means for obtaining a reference value according to the density of the target pixel;
Image processing comprising: reversing means for forcibly reversing the processing result of the error diffusion processing for the target pixel based on the count value obtained by the counting means and the reference value obtained by the obtaining means apparatus.
前記記憶手段は、前記入力データについての副走査方向が主走査方向よりも長くなるように設定された領域について、前記処理結果の記憶を行う、請求項1に記載の画像処理装置。   The image processing apparatus according to claim 1, wherein the storage unit stores the processing result for an area set so that a sub-scanning direction of the input data is longer than a main scanning direction. 前記基準値は、前記入力データのうちハイライト領域においてドットがより均等に分配されるように設定されている、請求項1又は2に記載の画像処理装置。   The image processing apparatus according to claim 1, wherein the reference value is set so that dots are more evenly distributed in a highlight area of the input data. 前記複数の光源は、2つの光源であり、
前記2つの光源のそれぞれに対応する2つの領域は、前記入力データについて副走査方向に奇数番目に位置するラインである領域と、前記入力データについて副走査方向に偶数番目に位置するラインである領域とである、請求項1から3のいずれかに記載の画像処理装置。
The plurality of light sources are two light sources,
Two regions corresponding to each of the two light sources are regions that are odd-numbered lines in the sub-scanning direction for the input data and regions that are even-numbered lines in the sub-scanning direction for the input data. The image processing apparatus according to claim 1, wherein:
前記複数の光源により像担持体に潜像を形成することで用紙に画像を形成する画像形成部と、
請求項1から4のいずれかに記載の画像処理装置とを備え、
前記画像形成部は、前記画像処理装置から出力された出力データに基づいて前記画像形成を行う、画像形成装置。
An image forming unit that forms an image on a sheet by forming a latent image on an image carrier with the plurality of light sources;
An image processing apparatus according to any one of claims 1 to 4,
The image forming apparatus, wherein the image forming unit forms the image based on output data output from the image processing apparatus.
入力データに対して誤差拡散処理を行って低値化し、複数の光源を用いて像担持体に潜像を形成する画像形成装置で画像形成が行われる出力データを出力する画像処理装置の制御方法であって、
前記複数の光源に対応する領域毎に、前記入力データのうちの処理対象である注目画素の周辺の所定の範囲の画素についての前記誤差拡散処理の処理結果を記憶する記憶ステップと、
前記複数の光源に対応する領域毎に、前記記憶ステップにより記憶された前記処理結果に基づいて、ドット数に関するカウント値を求めるカウントステップと、
前記注目画素の濃度に応じた基準値を取得する取得ステップと、
前記カウントステップにより求められたカウント値と前記取得ステップにより取得された基準値とに基づいて、前記注目画素についての前記誤差拡散処理の処理結果を強制的に反転する反転ステップとを備える、画像処理装置の制御方法。
Method of controlling image processing apparatus for outputting output data for image formation by image forming apparatus for lowering value by performing error diffusion process on input data and forming latent image on image carrier using a plurality of light sources Because
A storage step of storing the processing result of the error diffusion processing for pixels in a predetermined range around the target pixel of the input data for each region corresponding to the plurality of light sources;
For each region corresponding to the plurality of light sources, a count step for obtaining a count value related to the number of dots based on the processing result stored in the storage step;
An acquisition step of acquiring a reference value according to the density of the target pixel;
Image processing comprising: an inversion step for forcibly inverting the processing result of the error diffusion processing for the target pixel based on the count value obtained in the counting step and the reference value obtained in the obtaining step Control method of the device.
入力データに対して誤差拡散処理を行って低値化し、複数の光源を用いて像担持体に潜像を形成する画像形成装置で画像形成が行われる出力データを出力する画像処理装置の制御プログラムであって、
前記複数の光源に対応する領域毎に、前記入力データのうちの処理対象である注目画素の周辺の所定の範囲の画素についての前記誤差拡散処理の処理結果を記憶する記憶ステップと、
前記複数の光源に対応する領域毎に、前記記憶ステップにより記憶された前記処理結果に基づいて、ドット数に関するカウント値を求めるカウントステップと、
前記注目画素の濃度に応じた基準値を取得する取得ステップと、
前記カウントステップにより求められたカウント値と前記取得ステップにより取得された基準値とに基づいて、前記注目画素についての前記誤差拡散処理の処理結果を強制的に反転する反転ステップとをコンピュータに実行させる、画像処理装置の制御プログラム。
Control program for an image processing apparatus that outputs output data that is subjected to image formation by an image forming apparatus that forms a latent image on an image carrier using a plurality of light sources by lowering the value by performing error diffusion processing on the input data Because
A storage step of storing the processing result of the error diffusion processing for pixels in a predetermined range around the target pixel of the input data for each region corresponding to the plurality of light sources;
For each region corresponding to the plurality of light sources, a count step for obtaining a count value related to the number of dots based on the processing result stored in the storage step;
An acquisition step of acquiring a reference value according to the density of the target pixel;
Based on the count value obtained in the counting step and the reference value obtained in the obtaining step, the computer is caused to execute an inversion step for forcibly inverting the processing result of the error diffusion processing for the target pixel. Control program for image processing apparatus.
JP2011059691A 2011-03-17 2011-03-17 Image processing system, image forming device, control method of image processing system, and control program of image processing system Withdrawn JP2012195857A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011059691A JP2012195857A (en) 2011-03-17 2011-03-17 Image processing system, image forming device, control method of image processing system, and control program of image processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011059691A JP2012195857A (en) 2011-03-17 2011-03-17 Image processing system, image forming device, control method of image processing system, and control program of image processing system

Publications (1)

Publication Number Publication Date
JP2012195857A true JP2012195857A (en) 2012-10-11

Family

ID=47087346

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011059691A Withdrawn JP2012195857A (en) 2011-03-17 2011-03-17 Image processing system, image forming device, control method of image processing system, and control program of image processing system

Country Status (1)

Country Link
JP (1) JP2012195857A (en)

Similar Documents

Publication Publication Date Title
JP4912270B2 (en) Image processing apparatus and control method thereof
JP6182092B2 (en) Image processing apparatus and image processing method
JP2007059990A (en) Image forming apparatus
US20070159657A1 (en) Image forming apparatus
JP5290360B2 (en) Image processing apparatus, image forming apparatus, image reading apparatus, image processing method, image processing program, and recording medium
JP2010028314A (en) Image processing apparatus, method, and program
JP2016206446A (en) Image processing device, image formation apparatus, image processing method and program
JP4861506B2 (en) Image processing apparatus and control method thereof
JP2013080134A (en) Image forming apparatus, image forming method, computer program, and recording medium
JP2007067908A (en) Image processor, image forming apparatus, image processing method, and image processing program
JP2013118517A (en) Image processing apparatus and image processing method
JP5683657B2 (en) Image processing apparatus and image forming apparatus
JP2006014262A (en) Image processing apparatus and image processing method
JP2012195857A (en) Image processing system, image forming device, control method of image processing system, and control program of image processing system
JP2015154229A (en) image forming apparatus
JP2011019185A (en) Image forming device
JP2011253068A (en) Image forming device and control method thereof
JP7361513B2 (en) Image forming apparatus, its control method, and program
US10313564B1 (en) Methods and systems for usage control of printing material
JP6045182B2 (en) Image processing apparatus, image forming apparatus including the same, computer program, and recording medium
JP4146458B2 (en) Image processing apparatus and image processing program
JP2011257631A (en) Image forming apparatus, image forming method and program
JP2008294700A (en) Image processor, and image processing program
JP2022178106A (en) Image processing device, image processing method, and image processing program
JP4759531B2 (en) Image processing apparatus and image forming apparatus

Legal Events

Date Code Title Description
A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20130418

A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20140603