JP2019047166A - Image forming apparatus and image forming method - Google Patents

Image forming apparatus and image forming method Download PDF

Info

Publication number
JP2019047166A
JP2019047166A JP2017164788A JP2017164788A JP2019047166A JP 2019047166 A JP2019047166 A JP 2019047166A JP 2017164788 A JP2017164788 A JP 2017164788A JP 2017164788 A JP2017164788 A JP 2017164788A JP 2019047166 A JP2019047166 A JP 2019047166A
Authority
JP
Japan
Prior art keywords
halftone
threshold
image forming
dispersion
forming apparatus
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
JP2017164788A
Other languages
Japanese (ja)
Inventor
洋一 橿渕
Yoichi Kashibuchi
洋一 橿渕
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP2017164788A priority Critical patent/JP2019047166A/en
Publication of JP2019047166A publication Critical patent/JP2019047166A/en
Pending legal-status Critical Current

Links

Landscapes

  • Color, Gradation (AREA)
  • Facsimile Image Signal Circuits (AREA)

Abstract

To suppress the occurrence of moire while improving the reproducibility and graininess of halftone dots in a low density region.SOLUTION: An image forming apparatus according to the present invention is an image forming apparatus that applies halftone processing to each recording material using a threshold value matrix having a plurality of halftone dot cells to generate a halftone dot image, and in the threshold value matrix, from among the halftone cells, a halftone dot of a predetermined size is sequentially formed from a halftone dot cell in which the degree of dispersion of the halftone dots calculated by superposing the halftone dot images generated for recording materials of at least two colors is the largest to assign a threshold value in predetermined units.SELECTED DRAWING: Figure 8

Description

本発明は、網点画像を生成する画像形成装置、及び画像形成方法に関する。   The present invention relates to an image forming apparatus that generates a halftone image and an image forming method.

従来、プリンタ、複写機等の画像形成装置に用いられる画像記録方式として、電子写真方式が知られている。電子写真方式は、レーザビームを用いて感光ドラム上に潜像を形成し、帯電した色材(以下、トナーと称する)により現像し、現像されたトナー像を用紙に転写して定着することで画像を記録する方式である。   Conventionally, an electrophotographic method is known as an image recording method used in an image forming apparatus such as a printer or a copying machine. In the electrophotographic system, a latent image is formed on a photosensitive drum using a laser beam, developed with a charged color material (hereinafter referred to as toner), and the developed toner image is transferred onto a sheet and fixed. This is a method for recording images.

但し、画像形成装置に入力される画像データは中間調を含む多階調画像データであり、上述の電子写真方式では中間調の画像を得にくい。そこで、ディザ法を用いた擬似階調方式にて、多階調画像データを網点画像データに変換し、記録することが一般的に行われている。   However, the image data input to the image forming apparatus is multi-tone image data including a halftone, and it is difficult to obtain a halftone image by the above-described electrophotographic method. Therefore, it is a common practice to convert multi-gradation image data into halftone image data and record it by a pseudo gradation method using a dither method.

ここで、ディザ法を用いた擬似諧調方式とは、N×Mの閾値を有する閾値マトリクスを用い、多階調画像データの画素位置に応じて閾値マトリクスから閾値を取得し、画素毎に閾値と比較することで、多階調画像データを網点画像データに変換する方式である。   Here, the pseudo gradation method using the dither method uses a threshold matrix having thresholds of N × M, acquires a threshold from the threshold matrix according to the pixel position of multi-tone image data, and sets a threshold for each pixel. This is a method for converting multi-tone image data into halftone image data by comparison.

なお、このディザ法を用いた擬似諧調方式では、閾値マトリクスにおいて、網点が所定の角度で周期的に形成されるように閾値が配置される。この点、カラーの画像形成装置においても同様に、色材毎に網点が異なる角度になるように閾値マトリクスが設計されるが、互いの網点が異なる角度で周期的に重なることで、網点の周期よりも低い周波数のモアレ(ロゼッタ)が発生することが知られている。   In the pseudo gradation method using the dither method, the threshold values are arranged so that the halftone dots are periodically formed at a predetermined angle in the threshold value matrix. Similarly, in the color image forming apparatus, the threshold value matrix is designed so that the halftone dots have different angles for each color material. However, the halftone dots are periodically overlapped at different angles so that the halftone dots are periodically overlapped. It is known that moiré (rosetta) having a frequency lower than the period of points occurs.

そこで、例えば、特許文献1には、各色材に用いる閾値マトリクスの網点周期を特定の組み合わせとすることで、網点の周期よりも低い周波数のモアレを視認しにくくする方法が開示されている。   Thus, for example, Patent Document 1 discloses a method of making it difficult to visually recognize moire having a frequency lower than the halftone dot period by using a specific combination of halftone dot periods of the threshold matrix used for each color material. .

また、ところで、特に電子写真方式を用いる画像形成装置においては、網点が小さい状態ではトナーが記録紙に付着しにくく、取り分け、低濃度域の網点の再現性や粒状性を悪化させてしまうことが問題となっている。そこで、例えば、特許文献2には、低濃度域において網点を所定の大きさになるまで集中して成長させ、その網点が所定の大きさになった後に異なる網点を成長させることで、低濃度域の再現性及び粒状性を改善する方法が開示されている。   By the way, particularly in an image forming apparatus using an electrophotographic system, toner is difficult to adhere to the recording paper when the halftone dot is small, and in particular, the reproducibility and graininess of the low density halftone dot are deteriorated. Is a problem. Therefore, for example, in Patent Document 2, a halftone dot is concentrated and grown until it reaches a predetermined size in a low concentration region, and a different halftone dot is grown after the halftone dot reaches a predetermined size. A method for improving the reproducibility and graininess of the low concentration region is disclosed.

特開平2−134635号公報Japanese Patent Laid-Open No. 2-134635 特開平10−145593号公報JP-A-10-145593

しかしながら、特許文献2に開示される方法に従って、低濃度域において網点の再現性を改善させるために網点を所定の大きさ以上に成長させると、全ての網点が所定の大きさになるまでの濃度域で網点の周波数が低くなってしまう。そして、このように、網点の周波数が低くなると、モアレの周波数も低くなり、この場合、特許文献1に開示されている方法を適用しても、低濃度域においてモアレが視認され易くなるという問題がある。   However, when the halftone dots are grown to a predetermined size or more in order to improve the reproducibility of the halftone dots in the low concentration range according to the method disclosed in Patent Document 2, all the halftone dots become a predetermined size. The frequency of the halftone dot becomes low in the concentration range up to. Thus, when the halftone dot frequency is lowered, the moire frequency is also lowered. In this case, even if the method disclosed in Patent Document 1 is applied, the moire is easily visually recognized in the low density region. There's a problem.

本発明は、前記従来の問題に鑑みてなされたものであって、低濃度域において、網点の再現性及び粒状性を改善しつつ、モアレの発生を抑制することを目的とする。   The present invention has been made in view of the above-described conventional problems, and an object thereof is to suppress the generation of moire while improving the reproducibility and graininess of halftone dots in a low density region.

上記目的を達成するために、本発明の画像形成装置は、記録材毎に、複数の網点セルを有する閾値マトリクスを用いて中間調処理を施し、網点画像を生成する画像形成装置であって、前記閾値マトリクスにおいて、前記複数の網点セルのうち、少なくとも2色以上の記録材毎に生成される網点画像を重ね合わせることで算出される網点の分散度が最大となる網点セルから順に、所定の大きさの網点が形成されるように、閾値が所定の単位で割り当てられることを特徴とする。   In order to achieve the above object, an image forming apparatus of the present invention is an image forming apparatus that generates a halftone image by performing halftone processing using a threshold value matrix having a plurality of halftone cells for each recording material. In the threshold matrix, a halftone dot having the maximum degree of dispersion of halftone dots calculated by superimposing halftone dot images generated for each recording material of at least two colors among the plurality of halftone cells. A threshold value is assigned in a predetermined unit so that a halftone dot having a predetermined size is formed in order from the cell.

本発明によれば、低濃度域において、網点の再現性及び粒状性を改善しつつ、モアレの発生を抑制することができる。   According to the present invention, it is possible to suppress the occurrence of moire while improving the reproducibility and graininess of halftone dots in a low concentration range.

画像形成装置の概略ブロック図である。1 is a schematic block diagram of an image forming apparatus. 画像形成装置の断面図である。1 is a cross-sectional view of an image forming apparatus. 画像形成装置の画像処理部の概略ブロック図である。2 is a schematic block diagram of an image processing unit of the image forming apparatus. FIG. シアンに適用する二値の閾値マトリクスである。It is a binary threshold matrix applied to cyan. マゼンタに適用する二値の閾値マトリクスである。It is a binary threshold matrix applied to magenta. イエローに適用する二値の閾値マトリクスである。It is a binary threshold matrix applied to yellow. ブラックに適用する二値の閾値マトリクスである。It is a binary threshold matrix applied to black. 網点セルの最小網点単位の形成順序を設定するためのフローチャートである。It is a flowchart for setting the formation order of the minimum halftone dot unit of a halftone dot cell. 最小網点単位で網点を形成した画像データの一例である。It is an example of the image data which formed the halftone dot by the minimum halftone dot unit. 最小網点単位で網点を形成し、二値化した画像データの一例である。This is an example of binarized image data in which halftone dots are formed in units of minimum halftone dots. 最小網点単位で網点を形成し、二値化した画像データの一例である。This is an example of binarized image data in which halftone dots are formed in units of minimum halftone dots. 中間調処理の実行結果を示す図である。It is a figure which shows the execution result of a halftone process. シアンに適用する二値の閾値マトリクスである。It is a binary threshold matrix applied to cyan. マゼンタに適用する二値の閾値マトリクスである。It is a binary threshold matrix applied to magenta. ブラックに適用する二値の閾値マトリクスである。It is a binary threshold matrix applied to black. 網点セルの最小網点単位の形成順序を設定するためのフローチャートである。It is a flowchart for setting the formation order of the minimum halftone dot unit of a halftone dot cell. 中間調処理の実行結果を示す図である。It is a figure which shows the execution result of a halftone process. シアンに適用する二値の閾値マトリクスである。It is a binary threshold matrix applied to cyan. マゼンタに適用する二値の閾値マトリクスである。It is a binary threshold matrix applied to magenta. イエローに適用する二値の閾値マトリクスである。It is a binary threshold matrix applied to yellow. ブラックに適用する二値の閾値マトリクスである。It is a binary threshold matrix applied to black. 最小網点単位で網点を形成し、明度に変換した画像データの一例である。It is an example of image data in which halftone dots are formed in units of minimum halftone dots and converted to lightness. 中間調処理の実行結果を示す図である。It is a figure which shows the execution result of a halftone process.

以下、本発明の好適な実施の形態に関して、添付図面を参照しながら、詳細に説明する。なお、以下の実施形態は、本発明を限定するものではなく、また、本実施形態で説明されている特徴の組み合わせの全てが本発明の解決手段に必須のものとは限らない。   Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings. The following embodiments do not limit the present invention, and all combinations of features described in the present embodiment are not necessarily essential to the solution means of the present invention.

(実施形態1)
図1は、画像形成装置10の概略ブロック図である。なお、画像形成装置10は、その一例として、コピー、プリンタ、FAX等の機能を有するデジタル複合機として示される。
(Embodiment 1)
FIG. 1 is a schematic block diagram of the image forming apparatus 10. The image forming apparatus 10 is shown as a digital multi-function peripheral having functions such as a copy, a printer, and a FAX as an example.

画像形成装置10は、図1に示すように、その機能として、スキャナ部101と、コントローラ102と、プリンタ部103と、操作部104を備える。スキャナ部101は、原稿の読み取り処理を実行する。コントローラ102は、制御部であり、主に、スキャナ部101で読み取られた画像データ(入力画像)に画像処理を施し、印刷用の画像データとしてメモリ105に格納する。プリンタ部103は、メモリ105から読み出された印刷用の画像データを操作部104により設定された印刷設定条件に従って、記録用紙に画像を形成する。操作部104は、スキャナ部101により読み取られる画像データに対して、各種、印刷条件を設定する。   As shown in FIG. 1, the image forming apparatus 10 includes a scanner unit 101, a controller 102, a printer unit 103, and an operation unit 104 as functions thereof. The scanner unit 101 executes a document reading process. The controller 102 is a control unit, and mainly performs image processing on the image data (input image) read by the scanner unit 101 and stores it in the memory 105 as image data for printing. The printer unit 103 forms an image on the recording paper according to the print setting conditions set by the operation unit 104 by using the printing image data read from the memory 105. The operation unit 104 sets various printing conditions for the image data read by the scanner unit 101.

画像形成装置10は、ネットワーク106を介して、画像データを管理するサーバ107や、この画像形成装置に対してプリントの実行を指示するPC(Personal Computer)108等が接続されている。   The image forming apparatus 10 is connected via a network 106 to a server 107 that manages image data, a PC (Personal Computer) 108 that instructs the image forming apparatus to execute printing, and the like.

図2は画像形成装置10の断面図であり、図2を用いて画像形成装置10のより詳細な構成について説明を補足する。画像形成装置10は、図2に示すように、主にスキャナ201、ドキュメントフィーダ202、及びカラー4色のドラムを備えるプリント記録用のプリンタ213より構成される。   FIG. 2 is a cross-sectional view of the image forming apparatus 10, and a more detailed configuration of the image forming apparatus 10 will be supplemented with reference to FIG. As shown in FIG. 2, the image forming apparatus 10 mainly includes a scanner 201, a document feeder 202, and a print recording printer 213 including a four-color drum.

図2に示す構成において、先ず、スキャナ201における読み取り動作について、説明を補足する。ユーザは、原稿を電子データとして読み込ませる場合、原稿台207に原稿をセットしてドキュメントフィーダ202を閉じる。原稿台207が閉じられたことを開閉センサ224が検知すると、スキャナ201の筐体内にある光反射式の原稿サイズ検知センサ226〜230が、セットされた原稿のサイズを検知する。   In the configuration shown in FIG. 2, first, a supplementary explanation will be given for the reading operation in the scanner 201. When reading a document as electronic data, the user sets the document on the document table 207 and closes the document feeder 202. When the open / close sensor 224 detects that the document table 207 is closed, the light reflection type document size detection sensors 226 to 230 in the housing of the scanner 201 detect the size of the set document.

そして、セットされた原稿のサイズを検知すると、光源210が原稿を照射し、さらに、CCD(charge-coupled device)231が、反射板211、レンズ212を介して、原稿からの反射光を受光することで、画像を読み取る。CCD231によって読み取られた画像データは、画像形成装置10のコントローラ102により、デジタル信号に変換され、スキャナ用の画像処理が行なわれると、印刷用の画像データとしてコントローラ102内のメモリ105に格納される。なお、この場合の印刷用の画像データは、レッド(R)、グリーン(G)、ブルー(B)の3色の信号で構成される。   When the size of the set original is detected, the light source 210 irradiates the original, and a CCD (charge-coupled device) 231 receives reflected light from the original via the reflector 211 and the lens 212. By reading the image. The image data read by the CCD 231 is converted into a digital signal by the controller 102 of the image forming apparatus 10, and when image processing for the scanner is performed, the image data is stored in the memory 105 in the controller 102 as image data for printing. . In this case, the image data for printing is composed of signals of three colors of red (R), green (G), and blue (B).

次に、ドキュメントフィーダ202における読み込み動作について、説明を補足する。ユーザは、ドキュメントフィーダ202に原稿をセットして読み込み動作を行う場合、ドキュメントフィーダ202の原稿セット用のトレイ203に、フェースアップで原稿を載置する。原稿が載置され、原稿有無センサ204により原稿がセットされたことが検知されると、原稿は、給紙ローラ205と搬送ベルト206が回転することで搬送され、原稿台207上の所定の位置にセットされる。   Next, a supplementary explanation will be given for the reading operation in the document feeder 202. When the user sets a document on the document feeder 202 and performs a reading operation, the user places the document face up on the document setting tray 203 of the document feeder 202. When the original is placed and the original presence / absence sensor 204 detects that the original is set, the original is conveyed by the rotation of the paper supply roller 205 and the conveying belt 206, and a predetermined position on the original platen 207 is detected. Set to

その後の動作は、スキャナ201における読み取り動作と同様に、原稿は、画像データとして読み込まれ、最終的に印刷用の画像データとしてコントローラ102内のメモリ105に格納される。なお、読み込みが完了すると、再び搬送ベルト206が回転して、原稿は、図2において右方向に送られ、排紙側の搬送ローラ208を経由して原稿排紙トレイ209に排紙される。また、原稿が複数存在する場合には、読み取りの完了した原稿が原稿台207から図2において右方向に排紙搬送されると、それと同時に、次の原稿が、給紙ローラ205を経由して、図2において左側から給送され、次の原稿の読み込みが連続的に行なわれる。   In the subsequent operation, as in the reading operation in the scanner 201, the document is read as image data and finally stored in the memory 105 in the controller 102 as image data for printing. When the reading is completed, the conveyance belt 206 is rotated again, and the document is fed rightward in FIG. 2 and discharged to the document discharge tray 209 via the discharge roller 208 on the discharge side. When there are a plurality of documents, when the scanned document is discharged from the document table 207 in the right direction in FIG. 2, the next document passes through the paper feed roller 205 at the same time. In FIG. 2, the paper is fed from the left side and the next original is continuously read.

最後に、プリンタ213における印刷動作について説明する。コントローラ102内のメモリ105に一旦記憶された印刷用の画像データは、再度コントローラ102内で後述するプリント用の画像処理が行われた後、プリンタ213に転送される。また、プリンタ213では、レーザ記録部においてイエロー(Y)、マゼンタ(M)、シアン(C)、ブラック(K)の4色のトナーの色材(記録材)に対応した記録レーザ光に変換される。   Finally, a printing operation in the printer 213 will be described. The image data for printing temporarily stored in the memory 105 in the controller 102 is transferred to the printer 213 after image processing for printing described later is performed again in the controller 102. In the printer 213, the laser recording unit converts the recording laser light into four color toners (recording materials) of yellow (Y), magenta (M), cyan (C), and black (K). The

そして、その変換された記録レーザ光は各色の感光体214に照射され、各感光体に静電潜像が形成される。各感光体に静電潜像が形成されると、プリンタ213はトナーカートリッジ215から供給されるトナーにより各感光体にトナー現像を行い、各感光体に可視化されたトナー画像は中間転写ベルト219に一次転写される。中間転写ベルト219は、図2において時計回転方向に回転し、用紙カセット216から給紙搬送路217を通って給送された記録紙が二次転写位置218に到達したところで、中間転写ベルト219から記録紙にトナー画像が転写される。   Then, the converted recording laser light is irradiated to the photosensitive member 214 of each color, and an electrostatic latent image is formed on each photosensitive member. When the electrostatic latent image is formed on each photoconductor, the printer 213 develops the toner on each photoconductor with the toner supplied from the toner cartridge 215, and the toner image visualized on each photoconductor is transferred to the intermediate transfer belt 219. Primary transcription. The intermediate transfer belt 219 rotates in the clockwise direction in FIG. 2, and when the recording paper fed from the paper cassette 216 through the paper feed conveyance path 217 reaches the secondary transfer position 218, the intermediate transfer belt 219 A toner image is transferred to the recording paper.

画像が転写された記録紙は、定着器220で、加圧と熱によりトナーが定着され、排紙搬送路において搬送された後、フェイスダウンのセンタートレイ221か、或いはフェースアップのサイドトレイ222に排紙される。なお、フラッパ223は、これらの排紙口を切り替えるために排紙搬送路を切り替えるためのものである。例えば、両面プリントの場合、記録紙が定着器220を通過した後に、フラッパ223が搬送路を切り替え、その後に記録紙がスイッチバックして下方に送られ、両面印刷用紙搬送路225を経て、再び二次転写位置218に給送され、両面プリントが行われる。   The recording paper onto which the image has been transferred is fixed with toner by pressurization and heat in the fixing device 220, and is conveyed in the paper discharge conveyance path, and then is transferred to the face-down center tray 221 or the face-up side tray 222. The paper is ejected. The flapper 223 is for switching the paper discharge conveyance path in order to switch these paper discharge ports. For example, in the case of double-sided printing, after the recording paper passes through the fixing device 220, the flapper 223 switches the conveyance path, and then the recording paper is switched back and sent downward, passes through the double-sided printing paper conveyance path 225, and again. The paper is fed to the secondary transfer position 218 and double-sided printing is performed.

次に、図3を用いて、印刷用の画像処理について詳細に説明する。図3は、印刷用の画像処理を示すブロック図である(即ち、画像処理用のハードウェア構成図である)。図3に示す画像処理部301は、色変換処理部302、ガンマ補正部303、中間調処理部304、ROM305、CPU306、RAM307を備え、コントローラ102からの命令に基づいて、印刷用の画像処理を実行する。   Next, image processing for printing will be described in detail with reference to FIG. FIG. 3 is a block diagram illustrating image processing for printing (that is, a hardware configuration diagram for image processing). The image processing unit 301 illustrated in FIG. 3 includes a color conversion processing unit 302, a gamma correction unit 303, a halftone processing unit 304, a ROM 305, a CPU 306, and a RAM 307, and performs image processing for printing based on instructions from the controller 102. Run.

ここで、コントローラ102内のメモリ105に一旦記憶された印刷用の画像データは8ビットの画素で構成される多階調の画像データであり、1画素につき、画素値として0から255の範囲で256階調の色数を有している。先ず、色変換処理部302において、メモリ105から入力された印刷用の画像データは画素毎に、RGBの3色からトナーの色材に対応したCMYKの4色に変換される。次に、ガンマ補正部303において、色毎にガンマ補正が行われる。そして、最後に、中間調処理部304において、色毎に中間調処理が施され、8ビットからプリンタ213で印刷可能な1ビットの網点画像データに変換されて、プリンタ部103に送出される。   Here, the image data for printing temporarily stored in the memory 105 in the controller 102 is multi-gradation image data composed of 8-bit pixels, and a pixel value within a range of 0 to 255 per pixel. The number of colors is 256. First, in the color conversion processing unit 302, printing image data input from the memory 105 is converted from three RGB colors into four CMYK colors corresponding to toner color materials for each pixel. Next, the gamma correction unit 303 performs gamma correction for each color. Finally, halftone processing is performed for each color in the halftone processing unit 304, converted from 8 bits to 1-bit halftone image data that can be printed by the printer 213, and sent to the printer unit 103. .

なお、ROM305は制御プログラムを記憶しており、CPU306は、ROM305に記憶された制御プログラムに基づいて、画像処理部301全体の動作を制御する。また、RAM307は、CPU306の作業領域として用いられる。RAM307には、後述するように、閾値マトリクスが、CMYKの対応するトナーの色材毎(記録材毎)に記録される。その他、本実施形態において、上述のように、中間調処理部304は1ビットの網点画像データをプリンタ部103に出力すると説明したが、プリンタ部103がPWM制御等を用いて多値の印刷を行う場合には、これに限定されるものではない。その場合、例えば、中間調処理部304において、多値の閾値マトリクスが用いられる。   The ROM 305 stores a control program, and the CPU 306 controls the overall operation of the image processing unit 301 based on the control program stored in the ROM 305. The RAM 307 is used as a work area for the CPU 306. As will be described later, a threshold matrix is recorded in the RAM 307 for each color material (for each recording material) corresponding to CMYK toner. In addition, in the present embodiment, as described above, it has been described that the halftone processing unit 304 outputs 1-bit halftone image data to the printer unit 103. However, the printer unit 103 uses the PWM control or the like to perform multi-value printing. However, the present invention is not limited to this. In this case, for example, the halftone processing unit 304 uses a multi-value threshold matrix.

次に、図4、図5、図6、図7を用いて、画像処理部301の中間調処理部304における処理及び中間調処理で用いる閾値マトリクスについて詳細に説明する。なお、図4、図5、図6、図7に示す閾値マトリクスは、その一例として、600dpiの閾値マトリクスとして示される。   Next, the processing in the halftone processing unit 304 of the image processing unit 301 and the threshold matrix used in the halftone processing will be described in detail with reference to FIGS. 4, 5, 6, and 7. Note that the threshold matrixes shown in FIGS. 4, 5, 6, and 7 are shown as 600 dpi threshold matrices as an example.

図4に示す閾値マトリクス400は、シアンに適用する二値の閾値マトリクスであり、二値の閾値マトリクスは一枚のマトリクスで構成される。なお、閾値マトリクス400は、図4に示されるように、複数の閾値から構成される網点セルが繰り返し配置されたもので、画像データの画素位置に対して敷き詰めるように繰り返し用いられる。   A threshold matrix 400 shown in FIG. 4 is a binary threshold matrix applied to cyan, and the binary threshold matrix is composed of a single matrix. As shown in FIG. 4, the threshold value matrix 400 is a repetitive arrangement of halftone cells composed of a plurality of threshold values, and is repeatedly used so as to cover the pixel positions of the image data.

中間調処理部304は、画像データの各画素を、0又は1の値を有する二階調の画像データに変換する。即ち、二値化する。具体的には、中間調処理部304は、先ず、画素毎にその画素に対応する閾値をマトリクスの所定の位置から読み出す。中間調処理部304は、次に、画素の値と読み出した閾値とを比較し、画素の値が読み出した閾値以上であった場合は1を、そうでない場合は0を出力することで二値化を行う。   The halftone processing unit 304 converts each pixel of the image data into two-gradation image data having a value of 0 or 1. That is, binarization is performed. Specifically, the halftone processing unit 304 first reads out a threshold value corresponding to each pixel from a predetermined position of the matrix for each pixel. Next, the halftone processing unit 304 compares the pixel value with the read threshold value, and outputs 1 when the pixel value is equal to or greater than the read threshold value, and outputs 0 otherwise. To do.

なお、本実施形態の閾値マトリクスにおいて、サブマトリクスと呼ばれる手法が用いられ、閾値マトリクスは、十分な階調数を得るために、閾値の異なる複数の網点セルが組み合わされて構成される。具体的には、閾値マトリクス400は、縦40、横40の計1600の配列であり、上述のように、各々異なる閾値の組み合わせを有する16種類の網点セル401〜416が規則的に連続して並ぶように配置されることで構成される。また、網点セル401〜416には、各々20個の閾値が内包される。   In the threshold matrix of this embodiment, a technique called a sub-matrix is used, and the threshold matrix is configured by combining a plurality of halftone cells having different thresholds in order to obtain a sufficient number of gradations. Specifically, the threshold matrix 400 is an array of a total of 1600 vertical 40 and horizontal 40, and as described above, 16 types of halftone cells 401 to 416 each having a different combination of threshold values are regularly arranged. It is configured by arranging them in a line. In addition, each of the halftone cells 401 to 416 includes 20 threshold values.

閾値マトリクス400において、網点セルの配置される周期は、2つのベクトルで表現され、閾値配列の縦横2成分のベクトルでは(4,2)と(2,−4)の周期で繰り返される。また、本実施形態では、低濃度域の再現性及び粒状性を改善するために、各網点セルにおいて所定の個数だけ閾値が連続するように配置され、その閾値が連続して配置された部分以外の部分には、各々の網点セルに閾値が大きくなるように(昇順に)設定される。   In the threshold value matrix 400, the period in which halftone cells are arranged is expressed by two vectors, and the vertical and horizontal two-component vectors of the threshold value array are repeated at periods of (4, 2) and (2, -4). Further, in the present embodiment, in order to improve the reproducibility and graininess of the low density region, a predetermined number of threshold values are arranged in each halftone cell, and the threshold value is continuously arranged. In the other portions, the threshold value is set so as to increase in each halftone cell (in ascending order).

このように、閾値を網点セルに配置することで、低濃度域において、網点を所定の大きさになるまで集中して成長させることができるため、低濃度域の網点を安定して形成することが可能となる。例えば、網点セル401は0〜2までの連続する閾値(0,1,2,2)を4つ内包し、網点セル411は3〜6までの連続する閾値(3,4,5,6)を4つ内包するといった具合に、各網点セル401〜416は各々4つの連続する閾値を有する。なお、この連続する閾値で形成される網点の大きさを、本実施形態では、最小網点単位という。この最小網点単位に関して、低濃度域から網点セル401、411、402、407、412、403、416、413、410、408、404、409、414、405、415、406の順で決定(設定)され、網点が形成される。   In this way, by arranging the threshold value in the halftone cell, the halftone dot can be concentrated and grown until it reaches a predetermined size in the low density region. It becomes possible to form. For example, the halftone cell 401 includes four continuous threshold values (0, 1, 2, 2) from 0 to 2, and the halftone cell 411 includes continuous threshold values (3, 4, 5, 5). Each halftone cell 401-416 has four consecutive thresholds, such as including 6). In the present embodiment, the size of halftone dots formed with the continuous threshold is referred to as a minimum halftone dot unit. With respect to this minimum halftone dot unit, the dot cells 401, 411, 402, 407, 412, 403, 416, 413, 410, 408, 404, 409, 414, 405, 415, 406 are determined in this order from the low density range ( Set) to form halftone dots.

図5に示す閾値マトリクス500は、マゼンタに適用する二値の閾値マトリクスである。なお、閾値マトリクス500は、図5に示されるように、複数の閾値から構成される網点セルが繰り返し配置されたもので、画像データの画素位置に対して敷き詰めるように繰り返し用いられる。   A threshold matrix 500 shown in FIG. 5 is a binary threshold matrix applied to magenta. As shown in FIG. 5, the threshold value matrix 500 is a repetitive arrangement of halftone cells composed of a plurality of threshold values, and is repeatedly used so as to cover the pixel positions of the image data.

閾値マトリクス500は、縦40、横40の計1600の配列であり、上述のように、各々異なる閾値の組み合わせを有する16種類の網点セル501〜516が規則的に連続して並ぶように配置されることで構成される。また、網点セル501〜516には、各々20個の閾値が内包される。   The threshold matrix 500 has a total of 1600 vertical 40 and horizontal 40 arrays, and as described above, 16 types of halftone dot cells 501 to 516 each having a different combination of threshold values are arranged in a regular and continuous manner. It is composed by being done. Each of the halftone cells 501 to 516 includes 20 threshold values.

閾値マトリクス500において、網点セルの配置される周期は、2つのベクトルで表現され、閾値配列の縦横2成分のベクトルでは(2,4)と(4,−2)の周期で繰り返される。また、網点セル501は、0〜2までの連続する閾値(0,1,2,2)を4つ内包し、網点セル509は3〜6までの連続する閾値(3,4,5,6)を4つ内包するといった具合に、各網点セル501〜516は各々4つの連続する閾値を有する。このように、低濃度域から網点セル501、509、516、508、512、513、514、505、515、503、506、507、510、511、504、502の順で最小網点単位が設定(決定)され、網点が形成される。   In the threshold value matrix 500, the period in which the halftone cells are arranged is expressed by two vectors, and the vertical and horizontal two-component vectors of the threshold value array are repeated at periods of (2, 4) and (4, -2). The halftone cell 501 includes four continuous threshold values (0, 1, 2, 2) from 0 to 2, and the halftone cell 509 includes three continuous threshold values (3, 4, 5). , 6) and the like, each halftone cell 501 to 516 has four consecutive threshold values. Thus, the minimum halftone dot units are in the order of the halftone cells 501, 509, 516, 508, 512, 513, 514, 505, 515, 503, 506, 507, 510, 511, 504, 502 from the low density region. It is set (determined) and a halftone dot is formed.

図6に示す閾値マトリクス600は、イエローに適用する二値の閾値マトリクスである。なお、閾値マトリクス600は、図6に示されるように、複数の閾値から構成される網点セルが繰り返し配置されたもので、画像データの画素位置に対して敷き詰めるように繰り返し用いられる。   A threshold matrix 600 shown in FIG. 6 is a binary threshold matrix applied to yellow. As shown in FIG. 6, the threshold value matrix 600 is a repetitive arrangement of halftone cells composed of a plurality of threshold values, and is repeatedly used so as to cover the pixel positions of the image data.

閾値マトリクス600は、縦16、横16の計256の配列であり、上述のように、各々異なる閾値の組み合わせを有する16種類の網点セル601〜616が規則的に連続して並ぶように配置されることで構成される。また、網点セル601〜616には、各々16個の閾値が内包される。   The threshold matrix 600 is a total of 256 arrays of 16 in the vertical direction and 16 in the horizontal direction. As described above, the 16 types of halftone cells 601 to 616 each having a different combination of threshold values are arranged regularly and continuously. It is composed by being done. Each of the halftone cells 601 to 616 includes 16 threshold values.

閾値マトリクス600において、網点セルの配置される周期は、2つのベクトルで表現され、閾値配列の縦横2成分のベクトルでは(4,0)と(0,4)の周期で繰り返される。また、網点セル601は、0〜3までの連続する閾値(0,1,2,3)を4つ内包し、網点セル616は4〜7までの連続する閾値(4,5,6,7)を4つ内包するといった具合に、各網点セル601〜616は各々4つの連続する閾値を有する。このように、低濃度域から網点セル601、616、611、606、609、607、610、608、603、614、615、612、602、604、613、605の順で最小網点単位が設定(決定)され、網点が形成される。   In the threshold value matrix 600, the period in which halftone cells are arranged is expressed by two vectors, and the vertical and horizontal two-component vectors of the threshold value array are repeated at periods of (4, 0) and (0, 4). The halftone cell 601 includes four continuous threshold values (0, 1, 2, 3) from 0 to 3, and the halftone cell 616 includes four continuous threshold values (4, 5, 6). , 7) and so on, each halftone cell 601-616 has four consecutive threshold values. Thus, the minimum halftone dot units are in the order of the halftone cells 601, 616, 611, 606, 609, 607, 610, 608, 603, 614, 615, 612, 602, 604, 613, 605 from the low density region. It is set (determined) and a halftone dot is formed.

図7に示す閾値マトリクス700は、ブラックに適用する二値の閾値マトリクスである。なお、閾値マトリクス700は、図7に示されるように、複数の閾値から構成される網点セルが繰り返し配置されたもので、画像データの画素位置に対して敷き詰めるように繰り返し用いられる。   A threshold matrix 700 shown in FIG. 7 is a binary threshold matrix applied to black. As shown in FIG. 7, the threshold value matrix 700 is a repetitive arrangement of halftone cells composed of a plurality of threshold values, and is repeatedly used so as to cover the pixel positions of the image data.

閾値マトリクス700は、縦24、横24の計576の配列であり、上述のように、各々異なる閾値の組み合わせを有する16種類の網点セル701〜716が規則的に連続して並ぶように配置されることで構成される。また、網点セル701〜716には、各々18個の閾値が内包される。   The threshold value matrix 700 is an arrangement of a total of 576, 24 in the vertical direction and 24 in the horizontal direction. As described above, the 16 types of halftone dot cells 701 to 716 each having a different combination of threshold values are arranged regularly and continuously. It is composed by being done. Each of the halftone cells 701 to 716 includes 18 threshold values.

閾値マトリクス700において、網点セルの配置される周期は、2つのベクトルで表現され、閾値配列の縦横2成分のベクトルでは(3,3)と(3,−3)の周期で繰り返される。また、網点セル708は、0〜3までの連続する閾値(0,1,2,3)を4つ内包し、網点セル711は4〜6までの連続する閾値(4,4,5,6)を4つ内包するといった具合に、各網点セル701〜716は各々4つの連続する閾値を有する。このように、低濃度域から網点セル708、711、705、710、702、716、714、703、701、706、709、712、704、715、713、707の順で網点が形成される。   In the threshold value matrix 700, the period in which halftone cells are arranged is expressed by two vectors, and the vertical and horizontal two-component vectors of the threshold value array are repeated at periods of (3, 3) and (3, -3). The halftone cell 708 includes four continuous threshold values (0, 1, 2, 3) from 0 to 3, and the halftone cell 711 includes continuous threshold values (4, 4, 5). , 6) and the like, each halftone cell 701 to 716 has four consecutive threshold values. In this way, halftone dots are formed in the order of the halftone cells 708, 711, 705, 710, 702, 716, 714, 703, 701, 706, 709, 712, 704, 715, 713, and 707 from the low density region. The

なお、閾値マトリクス400、500、600、700の網点セルに内包される閾値の順番、即ち、最小網点単位の形成順序については、後述する手順に従って、分散度に基づいて、設定される。また、本実施形態では、説明を容易にするために、画像データの画素位置に対して敷き詰めるように繰り返し用いることで、中間調処理を施す例を示し説明したが、必ずしもこれに限定されるものではない。   Note that the order of threshold values included in the halftone cells of the threshold value matrices 400, 500, 600, and 700, that is, the formation order of the minimum halftone dot unit is set based on the degree of dispersion according to the procedure described later. Further, in the present embodiment, for ease of explanation, an example in which halftone processing is performed by repeatedly using the pixel positions of image data to perform halftone processing has been described, but the present invention is not necessarily limited thereto. is not.

したがって、例えば、閾値マトリクス400に関して、上述のように、20個の閾値を内包した網点セルを16種類用いれば足りるため、320個の閾値配列を画素の位置に応じて、ずらしながら繰り返し中間調処理を施すこともできる。閾値マトリクス500、700においても同様で、閾値マトリクス500は320個の閾値配列を、閾値マトリクス700は288個の閾値配列を画素の位置に応じて、ずらしながら繰り返し中間調処理を施すこともできる。また、本実施形態において、各網点セルは連続する閾値を4つ内包するとして説明したが、必ずしもこれに限定されるものではなく、少なくとも2つ以上の閾値が連続すればよい。   Therefore, for example, with respect to the threshold value matrix 400, as described above, it is sufficient to use 16 types of halftone dot cells including 20 threshold values. Therefore, it is necessary to repeat the halftone process while shifting the 320 threshold value arrays in accordance with the pixel positions. Processing can also be performed. The same applies to the threshold matrixes 500 and 700, and the threshold matrix 500 can be subjected to halftone processing repeatedly while shifting 320 threshold arrays, and the threshold matrix 700 is shifted to 288 threshold arrays according to the pixel positions. In the present embodiment, each halftone cell has been described as including four continuous threshold values. However, the present invention is not necessarily limited to this, and it is sufficient that at least two or more threshold values are continuous.

加えて、シアン、マゼンタ、イエロー、ブラックの色に対応する閾値マトリクス400、500、600、700の各網点セルは、全ての網点セルにおいて、連続する閾値を4つ内包すると説明したが、必ずしもこれに限定されるものではない。したがって、例えば、色毎に異なる数の閾値が連続するように閾値マトリクスが生成されてもよい。その他、閾値マトリクス400、500、600、700に関して、異なるベクトルを有する閾値マトリクスを用いることもできる。なお、その場合、網点セルの形状、内包される閾値の数、閾値マトリクスのサイズは、ベクトルに応じて設定される。   In addition, it has been described that each halftone cell of the threshold matrixes 400, 500, 600, and 700 corresponding to cyan, magenta, yellow, and black colors includes four continuous threshold values in all halftone cells. It is not necessarily limited to this. Therefore, for example, the threshold value matrix may be generated so that a different number of threshold values are consecutive for each color. In addition, regarding the threshold matrixes 400, 500, 600, and 700, threshold matrices having different vectors can be used. In this case, the shape of the halftone cell, the number of included thresholds, and the size of the threshold matrix are set according to the vector.

次に、図8、図9、図10を用いて、閾値マトリクスにおける閾値の配置手順を説明する。本実施形態において、閾値マトリクスは、PC108のCPU(不図示)で実行される後述の手順(ルール)に従って網点の形成順序が設定され、RAM307に格納される。   Next, a threshold arrangement procedure in the threshold matrix will be described with reference to FIGS. 8, 9, and 10. FIG. In the present embodiment, the threshold value matrix is stored in the RAM 307 in accordance with a later-described procedure (rule) executed by a CPU (not shown) of the PC 108.

図8は、本実施形態における網点セルの最小網点単位の形成順序を設定(決定)するためのフローチャートである。ここで、図8に示す処理を実行するためのプログラムは、例えば、PC108のHDD(不図示)に格納され、PC108のRAM(不図示)に読み出され、PC108のCPU(不図示)によって実行される。なお、図8に示す処理を実行するためのプログラムを、PC108上に限らず、画像形成装置10のROM305に格納し、CPU306によって実行することもできる。   FIG. 8 is a flowchart for setting (determining) the formation order of the minimum halftone dot unit of the halftone cell in the present embodiment. Here, for example, the program for executing the processing shown in FIG. 8 is stored in the HDD (not shown) of the PC 108, read into the RAM (not shown) of the PC 108, and executed by the CPU (not shown) of the PC 108. Is done. Note that the program for executing the processing shown in FIG. 8 is not limited to being stored on the PC 108 but may be stored in the ROM 305 of the image forming apparatus 10 and executed by the CPU 306.

また、図9は本実施形態における最小網点単位で網点を形成した画像データの一例であり、図10は、本実施形態における最小網点単位で網点を形成し、その後に二値化した画像データの一例である。   FIG. 9 is an example of image data in which halftone dots are formed in units of minimum halftone dots in the present embodiment. FIG. 10 is a diagram in which halftone dots are formed in units of minimum halftone dots in the present embodiment and then binarized. It is an example of the processed image data.

以下、図8に示すフローチャートに従って、説明する。先ず、ステップS801において、CMYK全ての色で、既に形成順序が設定された網点セルに関して、後述する分散度を算出するための画像データ上に、最小網点単位で網点を形成する。   Hereinafter, a description will be given according to the flowchart shown in FIG. First, in step S801, halftone dots are formed in units of minimum halftone dots on image data for calculating the degree of dispersion described later for halftone cells in which the formation order has already been set for all colors of CMYK.

なお、分散度を算出(測定)するための画像データのサイズは、幅及び高さにおいて、CMYK全てのマトリクスサイズの最小公倍数よりも大きいことが望ましい。詳細には、幅及び高さがともに240画素以上であることが望ましく、本実施形態では、分散度を算出するための画像データのサイズを500×500画素とする。また、図8に示すフローチャートの開始時点では、形成順序が決定された網点セルは存在しないため、どの画素にも網点は形成されず、処理はステップS802に移行される。   Note that the size of the image data for calculating (measuring) the degree of dispersion is preferably larger than the least common multiple of the matrix sizes of all CMYK in width and height. Specifically, both the width and the height are preferably 240 pixels or more, and in this embodiment, the size of the image data for calculating the degree of dispersion is set to 500 × 500 pixels. In addition, since there is no halftone cell whose formation order is determined at the start of the flowchart shown in FIG. 8, no halftone dot is formed in any pixel, and the process proceeds to step S802.

ステップS802において、第一の色の閾値マトリクス400に含まれる網点セル401〜416のうち、形成順序が決定されていない未決の網点セルのうちの一つを選択し、画像データ上に最小網点単位で網点を形成する。   In step S802, among the halftone cells 401 to 416 included in the threshold matrix 400 of the first color, one of undecided halftone cells whose formation order has not been determined is selected, and the minimum is displayed on the image data. Halftone dots are formed in halftone dots.

なお、ここで、本実施形態において、第一の色をシアンとしている。図9(a)は、シアンの未決の網点セルのうちの一つである401を選択して、画像データ上に最小網点単位で網点901を形成した状態を示している。   In this embodiment, the first color is cyan. FIG. 9A shows a state in which one of the cyan halftone dot cells 401 is selected and halftone dots 901 are formed on the image data in units of minimum halftone dots.

PC108のCPUは、ステップS802において網点が形成された画像データを用いて、分散度を算出する(S803)。図10(a)は、図9(a)を二値化した画像データであり、本実施形態では分散度を二値化した画像データから算出する。なお、分散度の詳細については後述する。   The CPU of the PC calculates the degree of dispersion using the image data in which the halftone dots are formed in step S802 (S803). FIG. 10A shows the image data binarized from FIG. 9A. In this embodiment, the degree of dispersion is calculated from the binarized image data. Details of the degree of dispersion will be described later.

次に、形成順序が決定されていない全ての未決の網点セルについて、分散度の算出が完了しているか否かを判定し(S804)、分散度の算出が完了していれば(S804 Yes)、ステップS805に処理を移行させる。また、分散度の算出が完了していなければ(S804 No)、ステップS801に処理を返し、ステップS802において未だ選択されていない未決の網点セルに対応する位置に網点を形成する。   Next, it is determined whether or not the calculation of the degree of dispersion has been completed for all the halftone cells for which the formation order has not been determined (S804). If the calculation of the degree of dispersion has been completed (Yes in S804). ), The process proceeds to step S805. If the calculation of the degree of dispersion has not been completed (No in S804), the process returns to Step S801, and a halftone dot is formed at a position corresponding to an undecided halftone cell that has not yet been selected in Step S802.

ステップS805に処理を移行すると、PC108のCPUは、ステップS803で算出した分散度のうち、分散度が最も大きくなる網点セルに閾値を割り当て、既決の網点セルに加える(即ち、既決の網点セルとして設定する)。なお、割り当てる閾値は、順序が決定された網点セル毎に閾値の値が大きくなるように設定される。   When the process proceeds to step S805, the CPU of the PC 108 assigns a threshold value to the halftone cell having the largest degree of dispersion among the degrees of dispersion calculated in step S803, and adds the threshold value to the already determined halftone cell (that is, the already-determined network). Set as a point cell). Note that the threshold value to be assigned is set so that the threshold value increases for each halftone cell whose order is determined.

次に、ステップS806において、ステップS801と同様にCMYK全ての色で、既に形成順序が決定された網点セルに関して、分散度を算出するための画像データ上に最小網点単位で網点を形成する。   Next, in step S806, halftone dots are formed in units of minimum halftone dots on the image data for calculating the degree of dispersion for the halftone cells in which the formation order has already been determined for all colors of CMYK as in step S801. To do.

ステップS807において、第二の色の閾値マトリクス500に含まれる網点セル501〜516のうち、形成順序が決定されていない未決の網点セルのうちの一つを選択し、画像データ上に最小網点単位で網点を形成する。   In step S807, one of undecided halftone cells whose order of formation has not been determined is selected from among the halftone cells 501 to 516 included in the second color threshold matrix 500, and the minimum is displayed on the image data. Halftone dots are formed in halftone dots.

なお、ここで、本実施形態において、第二の色をマゼンタとしている。図9(b)は、マゼンタの未決の網点セルのうちの一つである501を選択して、画像データ上に最小網点単位で網点902を形成した状態を示している。   In this embodiment, the second color is magenta. FIG. 9B shows a state in which a halftone dot 902 is formed in units of minimum halftone dots on image data by selecting one of magenta halftone dot cells 501.

PC108のCPUは、ステップS803と同様に、ステップS807において網点が形成された画像データを用いて、分散度を算出する(S808)。図10(b)は、図9(b)を二値化した画像データであり、本実施形態では分散度を二値化した画像データから算出する。   Similarly to step S803, the CPU of the PC 108 calculates the degree of dispersion using the image data in which the halftone dots are formed in step S807 (S808). FIG. 10B shows the image data binarized from FIG. 9B. In this embodiment, the degree of dispersion is calculated from the binarized image data.

次に、形成順序が決定されていない全ての未決の網点セルについて、分散度の算出が完了しているか否かを判定し(S809)、分散度の算出が完了していれば(S809 Yes)、ステップS810に処理を移行させる。また、分散度の算出が完了していなければ(S809 No)、ステップS806に処理を返し、ステップS807において未だ選択されていない未決の網点セルに対応する位置に網点を形成する。   Next, it is determined whether or not the calculation of the degree of dispersion has been completed for all the halftone cells for which the formation order has not been determined (S809), and if the calculation of the degree of dispersion has been completed (Yes in S809). ), The process proceeds to step S810. If the calculation of the degree of dispersion has not been completed (No in S809), the process returns to step S806, and a halftone dot is formed at a position corresponding to an undecided halftone cell that has not yet been selected in step S807.

ステップS810に処理を移行すると、PC108のCPUは、ステップS808で算出した分散度のうち、分散度が最も大きくなる網点セルに閾値を割り当て、既決の網点セルに加える(即ち、既決の網点セルとして設定する)。なお、割り当てる閾値は、順序が決定された網点セル毎に閾値の値が大きくなるように設定される。   When the process proceeds to step S810, the CPU of the PC 108 assigns a threshold value to the halftone cell having the largest degree of dispersion among the degrees of dispersion calculated in step S808, and adds the threshold value to the determined halftone cell (ie, the already-determined network). Set as a point cell). Note that the threshold value to be assigned is set so that the threshold value increases for each halftone cell whose order is determined.

次に、ステップS811において、ステップS801と同様にCMYK全ての色で、既に形成順序が決定した網点セルについて、分散度を算出するための画像データ上に最小網点単位で網点を形成する。   Next, in step S811, as in step S801, halftone dots are formed in units of minimum halftone dots on the image data for calculating the degree of dispersion for the dot cells whose formation order has already been determined for all colors of CMYK. .

ステップS812において、第三の色の閾値マトリクス600に含まれる網点セル601〜616のうち、形成順序が決定されていない未決の網点セルのうちの一つを選択し、画像データ上に最小網点単位で網点を形成する。   In step S812, among the halftone cells 601 to 616 included in the threshold matrix 600 for the third color, one of undecided halftone cells whose formation order has not been determined is selected, and the minimum is displayed on the image data. Halftone dots are formed in halftone dots.

なお、ここで、本実施形態において、第三の色はイエローとしている。図9(c)は、イエローの未決の網点セルのうちの一つである601を選択して、画像データ上に最小網点単位で網点903を形成した状態を示している。   Here, in this embodiment, the third color is yellow. FIG. 9C shows a state in which a halftone dot 903 is formed in units of the minimum halftone dot on the image data by selecting 601 which is one of yellow halftone dot cells.

PC108のCPUは、ステップS803と同様に、ステップS812において網点が形成された画像データを用いて、分散度を算出する(S813)。図10(c)は、図9(c)を二値化した画像データであり、本実施形態では分散度を二値化した画像データから算出する。   Similarly to step S803, the CPU of the PC 108 calculates the degree of dispersion using the image data in which the halftone dots are formed in step S812 (S813). FIG. 10C shows image data binarized from FIG. 9C. In this embodiment, the degree of dispersion is calculated from the binarized image data.

次に、形成順序が決定されていない全ての未決の網点セルについて、分散度の算出が完了しているか否かを判定し(S814)、分散度の算出が完了していれば(S814 Yes)、ステップS815に処理を移行させる。また、分散度の算出が完了していなければ(S814 No)、ステップS811に処理を返し、ステップS812において未だ選択されていない未決の網点セルに対応する位置に網点を形成する。   Next, it is determined whether or not the calculation of the degree of dispersion has been completed for all the halftone cells for which the formation order has not been determined (S814). If the calculation of the degree of dispersion has been completed (Yes in S814). ), The process proceeds to step S815. If the calculation of the degree of dispersion has not been completed (No in S814), the process returns to Step S811, and a halftone dot is formed at a position corresponding to an undecided halftone cell that has not yet been selected in Step S812.

ステップS815に処理を移行すると、PC108のCPUは、ステップS813で算出した分散度のうち、分散度が最も大きくなる網点セルに閾値を割り当て、既決の網点セルに加える(即ち、既決の網点セルとして設定する)。なお、割り当てる閾値は、順序が決定された網点セル毎に閾値の値が大きくなるように設定される。   When the process proceeds to step S815, the CPU of the PC 108 assigns a threshold value to the halftone cell having the largest degree of dispersion among the degrees of dispersion calculated in step S813, and adds the threshold value to the already-determined halftone cell (ie, the already-determined network). Set as a point cell). Note that the threshold value to be assigned is set so that the threshold value increases for each halftone cell whose order is determined.

次に、ステップS816において、ステップS801と同様にCMYK全ての色で、既に形成順序が決定された網点セルについて、分散度を算出するための画像データ上に最小網点単位で網点を形成する。   Next, in step S816, as in step S801, halftone dots are formed in units of minimum halftone dots on the image data for calculating the degree of dispersion for the halftone cells in which the formation order has already been determined for all colors of CMYK. To do.

ステップS817において、第四の色の閾値マトリクス700に含まれる網点セル701〜716のうち、形成順序が決定されていない未決の網点セルのうちの一つを選択し、画像データ上に最小網点単位で網点を形成する。   In step S817, among the halftone cells 701 to 716 included in the fourth color threshold value matrix 700, one of undecided halftone cells whose formation order has not been determined is selected, and the minimum is displayed on the image data. Halftone dots are formed in halftone dots.

なお、ここで、本実施形態において、第四の色をブラックとしている。図9(d)は、ブラックの未決の網点セルのうちの一つである708を選択して、画像データ上に最小網点単位で網点904を形成した状態を示している。   Here, in the present embodiment, the fourth color is black. FIG. 9D shows a state in which a halftone dot 904 is formed in units of the minimum halftone dot on the image data by selecting 708 which is one of black halftone dot cells.

PC108のCPUは、ステップS803と同様に、ステップS817において網点が形成された画像データを用いて、分散度を算出する(S818)。図10(d)は、図9(d)を二値化した画像データであり、本実施形態では分散度を二値化した画像データから算出する。   Similar to step S803, the CPU of the PC 108 calculates the degree of dispersion using the image data in which the halftone dots are formed in step S817 (S818). FIG. 10D is image data binarized from FIG. 9D. In this embodiment, the degree of dispersion is calculated from the binarized image data.

次に、形成順序が決定されていない全ての未決の網点セルについて、分散度の算出が完了しているか否かを判定し(S819)、分散度の算出が完了していれば(S819 Yes)、ステップS820に処理を移行させる。また、分散度の算出が完了していなければ(S819 No)、ステップS816に処理を返し、ステップS817において未だ選択されていない未決の網点セルに対応する位置に網点を形成する。   Next, it is determined whether or not the calculation of the degree of dispersion has been completed for all the halftone cells for which the formation order has not been determined (S819), and if the calculation of the degree of dispersion has been completed (Yes in S819). ), The process proceeds to step S820. If the calculation of the degree of dispersion has not been completed (No in S819), the process returns to step S816, and a halftone dot is formed at a position corresponding to an undecided halftone cell that has not yet been selected in step S817.

ステップS820に処理を移行すると、PC108のCPUは、ステップS818で算出した分散度のうち、分散度が最も大きくなる網点セルに閾値を割り当て、既決の網点セルに加える(即ち、既決の網点セルとして設定する)。なお、割り当てる閾値は、順序が決定された網点セル毎に閾値の値が大きくなるように設定される。   When the process proceeds to step S820, the CPU of the PC 108 assigns a threshold value to the halftone cell having the largest degree of dispersion among the degrees of dispersion calculated in step S818, and adds the threshold value to the already-determined halftone cell (ie, the already-determined network). Set as a point cell). Note that the threshold value to be assigned is set so that the threshold value increases for each halftone cell whose order is determined.

PC108のCPUは、次に、全ての色の全ての網点セルにおいて、網点の形成順序が決定されているか否かを判定し(S821)、決定されていれば(S821 Yes)、図8に示す処理を終了する。決定されていなければ(S821 No)、ステップS801に処理を返し、シアンから残りの未決の網点セルに関して、形成順序を決定する。   Next, the CPU of the PC 108 determines whether or not the dot formation order has been determined in all the dot cells of all the colors (S821), and if determined (S821 Yes), FIG. The process shown in FIG. If not determined (No in S821), the process returns to step S801, and the formation order is determined for the remaining halftone cells from cyan.

次に、上述の図10及び図11を用いて、本実施形態における分散度の算出方法について、詳細に説明する。図11は、本実施形態に係る画像形成装置において、最小網点単位で網点を形成し、二値化した画像データを示したものである。   Next, a method for calculating the degree of dispersion in the present embodiment will be described in detail with reference to FIGS. 10 and 11 described above. FIG. 11 shows binarized image data in which halftone dots are formed in units of minimum halftone dots in the image forming apparatus according to the present embodiment.

また、本実施形態では、分散度として、二値化した画像データを所定の大きさの単位で分割し、その分割した領域の単位で画素値の平均を算出した局所平均値を求め、分割した全領域の局所平均値の分散から逆数を取った値(式3)を用いる。   Further, in the present embodiment, as the degree of dispersion, the binarized image data is divided by a unit of a predetermined size, and a local average value obtained by calculating the average of the pixel values by the unit of the divided area is obtained and divided. A value (Equation 3) obtained by taking the reciprocal from the variance of the local average value of the entire region is used.

ここで、例えば、上述の図10では、画像データを、領域1000の単位で分割している。本実施形態において、領域1000の大きさは、幅16画素、高さ16画素の大きさであり、画像データは31×31の領域に分割される。   Here, for example, in FIG. 10 described above, the image data is divided in units of regions 1000. In the present embodiment, the size of the region 1000 is 16 pixels wide and 16 pixels high, and the image data is divided into 31 × 31 regions.

図10(b)の網点1001、1002が含まれる領域1000には、全256画素のうち、シアンとマゼンタの網点がそれぞれ4画素と、値が0の白が248画素含まれている。局所平均値は(式1)で求められ、領域1000の幅をm=16、高さをn=16とし、分割した最初の領域1000の局所平均値f(0,0)は0.03125となる。(式1)のIは、二値の画像データの画素値である。   The region 1000 including the halftone dots 1001 and 1002 in FIG. 10B includes four pixels of cyan and magenta, and 248 pixels of white having a value of 0, out of all 256 pixels. The local average value is obtained by (Equation 1), the width of the region 1000 is m = 16, the height is n = 16, and the local average value f (0,0) of the first divided region 1000 is 0.03125. Become. I in (Expression 1) is a pixel value of binary image data.

また、図10(b)において、他のブロックの局所平均値f(i,j)も同様に求め、(式2)に示す局所平均値の平均値μを求める。画像データの分割数は、上述のように幅方向にo=31、高さ方向にp=31であり、(式3)を用いて、分割した全領域の局所平均値の分散値の逆数は、13009.84と算出される。   In FIG. 10B, the local average values f (i, j) of other blocks are similarly obtained, and the average value μ of the local average values shown in (Expression 2) is obtained. As described above, the number of divisions of the image data is o = 31 in the width direction and p = 31 in the height direction. Using (Equation 3), the reciprocal of the variance value of the local average value of all divided regions is It is calculated as 13009.84.

なお、領域1000の大きさは、各閾値マトリクスの網点セルのベクトル成分とサブマトリクスの配置に応じて決定することが望ましい。例えば、閾値マトリクス400は、網点セルのベクトルの大きい値が4、サブマトリクスの周期が4×4であるため、幅16画素、高さ16画素とする。   Note that the size of the region 1000 is desirably determined according to the vector components of the halftone cells of each threshold value matrix and the arrangement of the sub-matrices. For example, the threshold value matrix 400 is 16 pixels wide and 16 pixels high because the large value of the vector of halftone cells is 4 and the period of the sub-matrix is 4 × 4.

次に、網点の数が増加した場合(例えば、3つの網点の形成順序が決定された場合)における局所平均値を求める分割領域のサイズについて説明する。本実施形態において、局所平均値を求める分割領域のサイズを固定した場合、網点の密度が高まると算出される分散度に差分が生じなくなることから、局所平均値を求める分割領域のサイズを、既決の網点セルの数に応じて動的に変更している。   Next, the size of the divided region for obtaining the local average value when the number of halftone dots increases (for example, when the formation order of three halftone dots is determined) will be described. In the present embodiment, when the size of the divided area for obtaining the local average value is fixed, the difference in the degree of dispersion calculated when the density of halftone dots increases, so the size of the divided area for obtaining the local average value is It is dynamically changed according to the number of already determined halftone cells.

この点、図11を用いて、説明を補足する。図11は、上述のように、最小網点単位で網点を形成し、二値化した画像データを示したものであり、詳細には、CMYK各色3つの網点の形成順序の決定後に、CMYK各色4つ目の網点セルの形成順序を決定する際の網点を二値化した画像データである。図11では、図10に比して網点の密度が高くなっており、局所平均値を求める分割領域を、図10で示した領域1000(幅16画素、高さ16画素)から、その半分の幅8画素、高さ8画素(分割領域1100)に変更している。   In this regard, the description will be supplemented with reference to FIG. FIG. 11 shows image data obtained by forming halftone dots in units of minimum halftone dots and binarizing as described above. Specifically, after determining the formation order of three halftone dots for each color of CMYK, FIG. This is image data obtained by binarizing halftone dots when determining the formation order of the fourth halftone cell of each color of CMYK. In FIG. 11, the density of the halftone dots is higher than that in FIG. 10, and the divided area for obtaining the local average value is half of that from the area 1000 (16 pixels wide and 16 pixels high) shown in FIG. The width is changed to 8 pixels and the height is 8 pixels (divided area 1100).

図11に示されるように、分割領域を領域1000から領域1100に領域として半分に変更することで、網点の密度が高くなった場合でも、色を重ねたときの網点をより均等に配置すること(分散させること)が可能になる。このように、本実施形態では、既決の網点セルの数に応じて、局所平均値を求める分割領域のサイズを変更している。具体的には、既決の網点セルがない場合は分割領域の幅と高さを16画素に、1つの場合は12画素に、3つの場合は8画素に、7つの場合は4画素に変更する。   As shown in FIG. 11, even when the density of halftone dots is increased by changing the divided area from the area 1000 to the area 1100 in half, the halftone dots when the colors are superimposed are arranged more evenly. Can be made (distributed). As described above, in this embodiment, the size of the divided area for obtaining the local average value is changed according to the number of halftone cells that have been determined. Specifically, if there is no halftone dot cell, the width and height of the divided area are changed to 16 pixels, 1 for 12 pixels, 3 for 8 pixels, and 7 for 4 pixels. To do.

なお、本実施形態において、局所平均値を求める分割領域のサイズを、CMYKの全色で共通としているが、網点セルのベクトル成分とサブマトリクスの配置に応じて、色毎に変更してもよい。また、分散度に関して、分割した全領域の局所平均値の分散から逆数を取った値として説明したが、色を重ねたときの網点の配置が均等になることを評価できれば、必ずしもこれに限定されない。したがって、例えば、二値化した画像データ(二値化画像)をフーリエ変換等で周波数解析し、高周波成分の割合を分散度とすることもできる。   In this embodiment, the size of the divided area for obtaining the local average value is common to all colors of CMYK. However, the size may be changed for each color according to the arrangement of the halftone dot vector components and sub-matrices. Good. In addition, the degree of dispersion has been described as a value obtained by taking the reciprocal from the dispersion of the local average value of all the divided areas, but it is not necessarily limited to this if it can be evaluated that the arrangement of halftone dots is uniform when colors are superimposed. Not. Therefore, for example, binarized image data (binarized image) can be subjected to frequency analysis by Fourier transform or the like, and the ratio of high frequency components can be set as the degree of dispersion.

図12は、本実施形態に係る画像形成装置における中間調処理の実行結果(網点画像データ)を示す図である。なお、図12において、本実施形態における中間調処理の実行結果を図12(c)として示し、また、本実施形態におけるモアレの発生を抑制するという効果をより顕著に示すために(即ち、比較のために)、参考として図12(a)と(b)を載せている。   FIG. 12 is a diagram showing the execution result (halftone image data) of halftone processing in the image forming apparatus according to the present embodiment. In FIG. 12, the execution result of the halftone process in the present embodiment is shown as FIG. 12C, and in order to more effectively show the effect of suppressing the occurrence of moire in the present embodiment (ie, comparison). For reference), FIGS. 12A and 12B are shown as a reference.

図12(a)は、本実施形態と同様の網点セルの周期で、最小網点単位を1画素、即ち、低濃度域において網点を集中させない閾値マトリクスを用いて、CMYKの4色を重ねた低濃度域のグラデーションの網点画像データを示したものである。また、図12(b)は、本実施形態と同様の網点セルの周期で、最小網点単位を4画素とし、色を重ねたときの網点の配置が局所的に集中する閾値マトリクスを用いて、CMYKの4色を重ねた低濃度域のグラデーションの網点画像データを示したものである。但し、図12(b)で適用した閾値マトリクスは、その生成において、分散度が考慮されることなく、閾値が設定(配置)されたものである。さらに、図12(c)は、上述のように、本実施形態で説明した閾値マトリクス400、500、600、700を用いて、CMYKの4色を重ねた低濃度域のグラデーションの網点画像データを示したものである。   FIG. 12A shows a dot cell cycle similar to that of the present embodiment. The minimum halftone dot unit is one pixel, that is, a threshold matrix that does not concentrate halftone dots in a low density region is used, and four colors of CMYK are displayed. The halftone image data of the gradation of the low density area which overlapped is shown. FIG. 12B shows a threshold matrix in which the halftone dot unit is 4 pixels in the same halftone cell cycle as in the present embodiment, and the arrangement of halftone dots when the colors are overlapped is locally concentrated. FIG. 5 shows low-density gradation halftone dot image data in which four colors of CMYK are superimposed. However, the threshold value matrix applied in FIG. 12B is one in which threshold values are set (arranged) without considering the degree of dispersion in the generation. Further, FIG. 12C shows a halftone dot image data of a low density region in which four colors of CMYK are overlapped using the threshold value matrixes 400, 500, 600, and 700 described in the present embodiment as described above. Is shown.

図12(a)では色を重ねたときに発生するモアレ(ロゼッタ)を同じ周期で視認することができ、また、図12(b)では図12(a)よりも低周波のモアレを視認することができる。即ち、より低濃度域(図12(b)の左側)に向かって、徐々に低い周波数となっている。一方、図12(c)では、図12(b)の低濃度域で視認される低周波のモアレが改善され、色が重ねられた際に網点の配置がより均等になっていることがわかる。   In FIG. 12A, moire (rosetta) generated when colors are superimposed can be visually recognized at the same period, and in FIG. 12B, moire having a lower frequency than that in FIG. 12A is visually recognized. be able to. That is, the frequency is gradually lowered toward a lower concentration range (left side of FIG. 12B). On the other hand, in FIG. 12C, the low-frequency moire visually recognized in the low density region of FIG. 12B is improved, and the arrangement of halftone dots is more uniform when the colors are superimposed. Recognize.

以上のように、本実施形態に係る画像形成装置では、低濃度域において、網点の再現性及び粒状性が改善された上で、モアレの発生を抑制することができる。   As described above, in the image forming apparatus according to the present embodiment, it is possible to suppress the occurrence of moire while improving the reproducibility and granularity of halftone dots in the low density region.

(実施形態2)
上述の実施形態では、分散度をCMYKの4色を重ねた二値の画像データに対して算出し、CMYKの4色を重ねたときの網点を均等に分散させることで、CMYK4色の重なりにおいて、低周波のモアレの発生を改善した。
(Embodiment 2)
In the above-described embodiment, the degree of dispersion is calculated for binary image data obtained by superimposing the four colors of CMYK, and the halftone dots when the four colors of CMYK are superimposed are evenly dispersed, thereby overlapping the CMYK four colors. Improved the generation of low-frequency moire.

但し、CMYK4色のうち、イエロー(Y)に関しては、人に視認されにくい。そこで、本実施形態では、人に視認されにくいイエロー(Y)を除く、CMK3色の重なりにおいて、低周波のモアレの発生を改善する方法について説明する。   However, among the four colors of CMYK, yellow (Y) is difficult for humans to visually recognize. Therefore, in the present embodiment, a method for improving the generation of low-frequency moire in the overlapping of three CMK colors excluding yellow (Y) that is difficult for humans to visually recognize will be described.

なお、上述の実施形態1との差異は、適用する閾値マトリクス及び閾値マトリクスの閾値配列のルールのみであるため、上述の実施形態と同様の部分に関しては、同一の符号を付すことで説明を省略する。   Note that the difference from the above-described first embodiment is only the threshold matrix to be applied and the threshold array rule of the threshold matrix. Therefore, the same parts as those in the above-described embodiment are denoted by the same reference numerals and the description thereof is omitted. To do.

先ず、図13、図14、図15を用いて、画像処理部301の中間調処理部304における処理及び中間調処理で用いる閾値マトリクスについて詳細に説明する。なお、図13、図14、図15に示す閾値マトリクスは、その一例として、600dpiの閾値マトリクスとして示される。   First, the threshold value matrix used in the processing in the halftone processing unit 304 of the image processing unit 301 and the halftone processing will be described in detail with reference to FIGS. The threshold matrixes shown in FIGS. 13, 14, and 15 are shown as 600 dpi threshold matrices as an example.

図13に示す閾値マトリクス1300は、シアンに適用する二値の閾値マトリクスである。閾値マトリクス1300は、縦40、横40の計1600の配列であり、各々異なる閾値の組み合わせを有する16種類の網点セル1301〜1316が規則的に連続して並ぶように配置されることで構成される。また、網点セル1301〜1316には、各々20個の閾値が内包される。   A threshold matrix 1300 shown in FIG. 13 is a binary threshold matrix applied to cyan. The threshold matrix 1300 is an arrangement of a total of 1600 vertical 40 and horizontal 40, and is configured by regularly arranging 16 types of halftone cells 1301 to 1316 having different threshold combinations. Is done. Each of the halftone cells 1301 to 1316 includes 20 threshold values.

また、網点セルの配置される周期は、閾値マトリクス400と同様に2つのベクトルで表現され、閾値配列の縦横2成分のベクトルでは(4,2)と(2,−4)の周期で繰り返される。   Further, the period in which the halftone cells are arranged is expressed by two vectors similarly to the threshold matrix 400, and is repeated at a period of (4, 2) and (2, -4) in the vertical and horizontal two-component vector of the threshold array. It is.

加えて、実施形態2においても、実施形態1と同様に、各網点セルにおいて、所定の個数だけ閾値が連続するように閾値を配置し、その閾値が連続して配置された部分以外の部分には、各々の網点セルに、閾値が大きくなるように順に閾値を設定する。これにより、図13に示す例では、低濃度域から網点セル1301、1311、1307、1313、1304、1312、1305、1303、1310、1308、1315、1306、1316、1314、1302、1309の順で網点が形成される。   In addition, in the second embodiment, as in the first embodiment, in each halftone cell, threshold values are arranged so that a predetermined number of threshold values are continuous, and portions other than the portion in which the threshold values are continuously arranged Are set in order so that the threshold value is increased in each halftone cell. As a result, in the example shown in FIG. A halftone dot is formed.

図14に示す閾値マトリクス1400は、マゼンタに適用する二値の閾値マトリクスである。閾値マトリクス1400は、縦40、横40の計1600の配列であり、各々異なる閾値の組み合わせを有する16種類の網点セル1401〜1416が規則的に連続して並ぶように配置されることで構成される。また、網点セル1401〜1416には、各々20個の閾値が内包される。   A threshold matrix 1400 illustrated in FIG. 14 is a binary threshold matrix applied to magenta. The threshold matrix 1400 is a total of 1600 vertical and horizontal 40 arrays, and is configured by regularly arranging 16 types of halftone dot cells 1401 to 1416 having different combinations of threshold values. Is done. Each of the halftone cells 1401 to 1416 includes 20 threshold values.

また、網点セルの配置される周期は、閾値マトリクス500と同様に2つのベクトルで表現され、閾値配列の縦横2成分のベクトルでは(2,4)と(4,−2)の周期で繰り返される。   The period in which the halftone cells are arranged is expressed by two vectors, similar to the threshold matrix 500, and is repeated at periods of (2, 4) and (4, -2) in the vertical and horizontal two-component vectors of the threshold array. It is.

加えて、上述のように、実施形態2においても、各網点セルにおいて、所定の個数だけ閾値が連続するように閾値を配置し、その閾値が連続して配置された部分以外の部分には、各々の網点セルに、閾値が大きくなるように順に閾値を設定する。これにより、図14に示す例では、低濃度域から網点セル1401、1409、1411、1403、1402、1415、1406、1407、1412、1408、1414、1404、1405、1416、1413、1410の順で網点が形成される。   In addition, as described above, also in the second embodiment, in each halftone cell, threshold values are arranged so that a predetermined number of threshold values are continuous, and in portions other than the portion where the threshold values are continuously arranged, The threshold values are set in order so as to increase the threshold value for each halftone cell. Thus, in the example shown in FIG. A halftone dot is formed.

図15に示す閾値マトリクス1500は、ブラックに適用する二値の閾値マトリクスである。閾値マトリクス1500は、縦24、横24の計576の配列であり、各々異なる閾値の組み合わせを有する16種類の網点セル1501〜1516が規則的に連続して並ぶように配置される。また、網点セル1501〜1516には、各々18個の閾値が内包される。   A threshold matrix 1500 shown in FIG. 15 is a binary threshold matrix applied to black. The threshold matrix 1500 has a total of 576 arrays of 24 in the vertical direction and 24 in the horizontal direction, and is arranged so that 16 types of halftone cells 1501 to 1516 each having a combination of different threshold values are regularly arranged. Each of the halftone cells 1501 to 1516 includes 18 threshold values.

また、網点セルの配置される周期は、閾値マトリクス700と同様に2つのベクトルで表現され、閾値配列の縦横2成分のベクトルでは(3,3)と(3,−3)の周期で繰り返される。   Further, the period in which the halftone cells are arranged is expressed by two vectors similarly to the threshold matrix 700, and is repeated at a period of (3, 3) and (3, -3) in the vertical and horizontal two-component vector of the threshold array. It is.

加えて、上述のように、実施形態2においても、各網点セルにおいて、所定の個数だけ閾値が連続するように閾値を配置し、その閾値が連続して配置された部分以外の部分には、各々の網点セルに、閾値が大きくなるように順に閾値を設定する。これにより、図15に示す例では、低濃度域から網点セル1509、1516、1510、1513、1507、1502、1508、1515、1512、1511、1504、1505、1501、1506、1514、1503の順で網点が形成される。   In addition, as described above, also in the second embodiment, in each halftone cell, threshold values are arranged so that a predetermined number of threshold values are continuous, and in portions other than the portion where the threshold values are continuously arranged, The threshold values are set in order so as to increase the threshold value for each halftone cell. Thus, in the example shown in FIG. A halftone dot is formed.

なお、イエローに適用する二値の閾値マトリクスについては不図示としており、イエローに適用する二値の閾値マトリクスの閾値は、次の図16で説明する、網点セルの最小網点単位の形成順序を設定する手順とは、関係することなく設定される。   Note that the binary threshold matrix applied to yellow is not shown, and the threshold of the binary threshold matrix applied to yellow is the formation order of the minimum halftone dot unit of the halftone dot cell described below with reference to FIG. It is set regardless of the procedure for setting.

図16は、本実施形態(即ち、実施形態2)における網点セルの最小網点単位の形成順序を設定(決定)するためのフローチャートである。本実施形態においても、実施形態1と同様に、閾値マトリクスは、PC108のCPUで実行される後述の手順に従って網点の形成順序が設定され、RAM307に格納される。   FIG. 16 is a flowchart for setting (determining) the formation order of the minimum halftone dot unit of the halftone dot cell in the present embodiment (that is, the second embodiment). Also in the present embodiment, as in the first embodiment, the threshold matrix is stored in the RAM 307 in which the dot formation order is set according to the later-described procedure executed by the CPU of the PC 108.

また、図16に示す処理を実行するためのプログラムは、実施形態1と同様に、例えば、PC108のHDDに格納され、PC108のRAMに読み出され、PC108のCPUによって実行される。なお、図16に示す処理を実行するためのプログラムを、PC108上に限らず、画像形成装置10のROM305に格納し、CPU306によって実行することもできる。   16 is stored in, for example, the HDD of the PC 108, read out to the RAM of the PC 108, and executed by the CPU of the PC 108, as in the first embodiment. Note that a program for executing the processing shown in FIG. 16 is not limited to being stored on the PC 108 but may be stored in the ROM 305 of the image forming apparatus 10 and executed by the CPU 306.

図8では、CMYK4色の重なりにおいて、分散度が最大となるように、低濃度域における網点の形成順序を設定したが、図16では、CMK3色の重なりにおいて、分散度が最大となるように、低濃度域における網点の形成順序を設定する。   In FIG. 8, the dot formation order in the low density region is set so that the dispersion degree is maximized when the CMYK four colors overlap. However, in FIG. 16, the dispersion degree is maximized when the CMK three colors overlap. Next, the dot formation order in the low density region is set.

そのため、図16に示す処理の手順は図8に示す処理の手順とおおよそ同様であり、第一の色(シアン)に関連するステップS1601〜S1605の処理は、図8のステップS801〜S805の処理に対応する。即ち、ステップS1601〜S1605の処理で、シアンの閾値マトリクス1300を設定(決定)する。   Therefore, the procedure of the process shown in FIG. 16 is almost the same as the procedure of the process shown in FIG. 8, and the processes of steps S1601 to S1605 related to the first color (cyan) are the processes of steps S801 to S805 of FIG. Corresponding to That is, the cyan threshold value matrix 1300 is set (determined) in the processes of steps S1601 to S1605.

また、第二の色(マゼンタ)に関連するステップS1606〜S1610の処理は図8のステップS806〜S810の処理に、第三の色(ブラック)に関連するステップS1611〜S1615の処理は図8のステップS816〜S820の処理に対応する。即ち、マゼンタの閾値マトリクス1400、ブラックの閾値マトリクス1500を設定する。加えて、ステップS1616の処理は、図8のステップS821の処理と同様で、CMK全ての色の全ての網点セルにおいて、網点の形成順序が決定されているか否かを判定する。   Further, the processing of steps S1606 to S1610 related to the second color (magenta) is the processing of steps S806 to S810 in FIG. 8, and the processing of steps S1611 to S1615 related to the third color (black) is shown in FIG. This corresponds to the processing in steps S816 to S820. That is, a magenta threshold matrix 1400 and a black threshold matrix 1500 are set. In addition, the processing in step S1616 is the same as the processing in step S821 in FIG. 8, and it is determined whether or not the dot formation order has been determined in all halftone cells of all colors of CMK.

図17は、本実施形態(実施形態2)に係る画像形成装置における中間調処理の実行結果(網点画像データ)を示す図である。なお、図17において、本実施形態における中間調処理の実行結果を図17(c)として示し、また、本実施形態におけるモアレの発生を抑制するという効果をより顕著に示すために、参考として図17(a)と(b)を載せている。   FIG. 17 is a diagram illustrating an execution result (halftone image data) of halftone processing in the image forming apparatus according to the present embodiment (second embodiment). In FIG. 17, the execution result of the halftone processing in the present embodiment is shown as FIG. 17C, and in order to more clearly show the effect of suppressing the occurrence of moire in the present embodiment, FIG. 17 (a) and (b) are listed.

図17(a)は、本実施形態と同様の網点セルの周期で、最小網点単位を1画素、即ち、低濃度域において網点を集中させない閾値マトリクスを用いて、CMKの3色を重ねた低濃度域のグラデーションの網点画像データを示したものである。また、図17(b)は、本実施形態と同様の網点セルの周期で、最小網点単位を4画素とし、色を重ねたときの網点の配置が局所的に集中する閾値マトリクスを用いて、CMKの3色を重ねた低濃度域のグラデーションの網点画像データを示したものである。但し、図17(b)で適用した閾値マトリクスは、その生成において、分散度が考慮されることなく、閾値が設定(配置)されたものである。さらに、図17(c)は、上述のように、本実施形態で説明した閾値マトリクス1300、1400、1500を用いて、CMKの3色を重ねた低濃度域のグラデーションの網点画像データを示したものである。   FIG. 17A shows the same period of halftone cells as in the present embodiment, and the minimum halftone dot unit is one pixel, that is, using a threshold matrix that does not concentrate halftone dots in the low density region, the three colors of CMK The halftone image data of the gradation of the low density area which overlapped is shown. FIG. 17B shows a threshold matrix in which the halftone dot unit is 4 pixels in the same halftone cell cycle as in the present embodiment, and the arrangement of the halftone dots when the colors are superimposed is locally concentrated. FIG. 2 shows low-density gradation halftone dot image data in which three colors of CMK are superimposed. However, the threshold value matrix applied in FIG. 17B is one in which threshold values are set (arranged) without considering the degree of dispersion in the generation thereof. Further, FIG. 17C shows gradation halftone dot image data in a low density region in which three colors of CMK are overlaid using the threshold matrixes 1300, 1400, 1500 described in the present embodiment as described above. It is a thing.

図17(a)では色を重ねたときに発生するモアレ(ロゼッタ)を同じ周期で視認することができ、また、図17(b)では図17(a)よりも低周波のモアレを視認することができる。即ち、より低濃度域(図17(b)の左側)に向かって、徐々に低い周波数となっている。一方、図17(c)では、図17(b)の低濃度域で視認される低周波のモアレが改善され、CMK3色が重ねられた際に網点の配置がより均等になっていることがわかる。   In FIG. 17A, moire (rosetta) generated when colors are superimposed can be visually recognized in the same cycle, and in FIG. 17B, moire having a lower frequency than that in FIG. 17A is visually recognized. be able to. That is, the frequency gradually becomes lower toward a lower concentration range (left side of FIG. 17B). On the other hand, in FIG. 17C, the low-frequency moire visually recognized in the low density region of FIG. 17B is improved, and the arrangement of halftone dots is more even when the three CMK colors are overlaid. I understand.

なお、本実施形態では、CMK3色の網点を重ねて分散度を算出し、網点の形成順序を決定した閾値マトリクスを用いる方法について説明したが、必ずしもこれに限定されるものではない。したがって、例えば、CMY3色や、CM2色等、2色以上の異なる色の重ね合わせにおいて、分散度を求め、網点の形成順序を設定(決定)することもできる。   In the present embodiment, the method of using the threshold value matrix in which the degree of dispersion is calculated by superimposing halftone dots of the CMK three colors and the order in which the halftone dots are formed is described. However, the present invention is not necessarily limited thereto. Therefore, for example, in the superposition of two or more different colors such as three colors of CMY and two colors of CM, the degree of dispersion can be obtained and the dot formation order can be set (determined).

以上、説明したように、本実施形態によれば、人に視認されやすいCMKの3色において、低濃度域の網点の再現性及び粒状性を改善しつつ、色を重ねたときに発生するより低い周波数のモアレの発生を抑制することができる。   As described above, according to the present embodiment, in the three colors of CMK that are easy to be visually recognized by humans, it occurs when the colors are overlapped while improving the reproducibility and graininess of the low-density halftone dots. Generation of moire with a lower frequency can be suppressed.

(実施形態3)
実施形態1では、CMYK4色の重なりにおいて、低周波のモアレの発生を改善するために、CMYKの4色を重ねた二値の画像データに対して分散度を算出したが、実施形態3では、網点を色材の明度に変換した画像データに対して分散度を算出する。なお、上述の実施形態1との差異は、適用する閾値マトリクスのみであるため、上述の実施形態と同様の部分に関しては、同一の符号を付すことで説明を省略する。
(Embodiment 3)
In the first embodiment, in order to improve the generation of low frequency moire in the overlapping of four colors of CMYK, the degree of dispersion is calculated for binary image data in which the four colors of CMYK are superimposed. The degree of dispersion is calculated for the image data in which the halftone dots are converted into the color material brightness. Since the difference from the first embodiment is only the threshold matrix to be applied, the same parts as those in the first embodiment are denoted by the same reference numerals and the description thereof is omitted.

次に、図18、図19、図20、図21を用いて、画像処理部301の中間調処理部304における処理及び中間調処理で用いる閾値マトリクスについて詳細に説明する。なお、図18、図19、図20、図21に示す閾値マトリクスは、その一例として、600dpiの閾値マトリクスとして示される。   Next, the processing in the halftone processing unit 304 of the image processing unit 301 and the threshold matrix used in the halftone processing will be described in detail with reference to FIGS. 18, 19, 20, and 21. Note that the threshold matrixes shown in FIGS. 18, 19, 20, and 21 are shown as 600 dpi threshold matrices as an example.

図18に示す閾値マトリクス1800は、シアンに適用する二値の閾値マトリクスである。閾値マトリクス1800は、縦40、横40の計1600の配列であり、各々異なる閾値の組み合わせを有する16種類の網点セル1801〜1816が規則的に連続して並ぶように配置されることで構成される。また、網点セル1801〜1816には、各々20個の閾値が内包される。   A threshold matrix 1800 illustrated in FIG. 18 is a binary threshold matrix applied to cyan. The threshold matrix 1800 has an arrangement of a total of 1600 vertical 40 and horizontal 40, and is configured by regularly arranging 16 types of halftone cells 1801 to 1816 having different combinations of threshold values. Is done. Each of the halftone cells 1801 to 1816 includes 20 threshold values.

また、網点セルの配置される周期は、閾値マトリクス400と同様に2つのベクトルで表現され、閾値配列の縦横2成分のベクトルでは(4,2)と(2,−4)の周期で繰り返される。   Further, the period in which the halftone cells are arranged is expressed by two vectors similarly to the threshold matrix 400, and is repeated at a period of (4, 2) and (2, -4) in the vertical and horizontal two-component vector of the threshold array. It is.

加えて、実施形態3においても、実施形態1と同様に、各網点セルにおいて、所定の個数だけ閾値が連続するように閾値を配置し、その閾値が連続して配置された部分以外の部分には、各々の網点セルに、閾値が大きくなるように順に閾値を設定する。これにより、図18に示す例では、低濃度域から網点セル1801、1811、1807、1813、1804、1812、1805、1803、1810、1808、1815、1806、1816、1814、1802の順で網点が形成される。   In addition, in the third embodiment, as in the first embodiment, in each halftone cell, threshold values are arranged so that a predetermined number of threshold values are continuous, and portions other than the portion in which the threshold values are continuously arranged Are set in order so that the threshold value is increased in each halftone cell. Accordingly, in the example shown in FIG. 18, the halftone dot cells 1801, 1811, 1807, 1813, 1804, 1812, 1805, 1803, 1810, 1808, 1815, 1806, 1816, 1814, 1802 are arranged in this order from the low concentration range. A point is formed.

図19に示す閾値マトリクス1900は、マゼンタに適用する二値の閾値マトリクスである。閾値マトリクス1900は、縦40、横40の計1600の配列であり、各々異なる閾値の組み合わせを有する16種類の網点セル1901〜1916が規則的に連続して並ぶように配置されることで構成される。また、網点セル1901〜1916には、各々20個の閾値が内包される。   A threshold matrix 1900 shown in FIG. 19 is a binary threshold matrix applied to magenta. The threshold matrix 1900 is an arrangement of a total of 1600 vertical 40 and horizontal 40, and is configured by regularly arranging 16 types of halftone cells 1901 to 1916 having different threshold combinations. Is done. Each of the halftone cells 1901 to 1916 includes 20 threshold values.

また、網点セルの配置される周期は、閾値マトリクス500と同様に2つのベクトルで表現され、閾値配列の縦横2成分のベクトルでは(2,4)と(4,−2)の周期で繰り返される。   The period in which the halftone cells are arranged is expressed by two vectors, similar to the threshold matrix 500, and is repeated at periods of (2, 4) and (4, -2) in the vertical and horizontal two-component vectors of the threshold array. It is.

加えて、上述のように、実施形態3においても、各網点セルにおいて、所定の個数だけ閾値が連続するように閾値を配置し、その閾値が連続して配置された部分以外の部分には、各々の網点セルに、閾値が大きくなるように順に閾値を設定する。これにより、図19に示す例では、低濃度域から網点セル1901、1909、1911、1903、1902、1915、1906、1907、1912、1908、1914、1904、1905、1916、1913、1910の順で網点が形成される。   In addition, as described above, also in the third embodiment, in each halftone cell, threshold values are arranged so that a predetermined number of threshold values are continuous, and portions other than the portion where the threshold values are continuously arranged are provided in the portions. The threshold values are set in order so as to increase the threshold value for each halftone cell. Accordingly, in the example shown in FIG. 19, the dot cells 1901, 1909, 1911, 1903, 1902, 1915, 1906, 1907, 1912, 1908, 1914, 1904, 1905, 1916, 1913, 1910 are arranged in this order from the low density region. A halftone dot is formed.

図20に示す閾値マトリクス2000は、イエローに適用する二値の閾値マトリクスである。閾値マトリクス2000は、縦16、横16の計256の配列であり、各々異なる閾値の組み合わせを有する16種類の網点セル2001〜2016が規則的に連続して並ぶように配置されることで構成される。また、網点セル2001〜2016には、各々16個の閾値が内包される。   A threshold matrix 2000 shown in FIG. 20 is a binary threshold matrix applied to yellow. The threshold matrix 2000 has a total of 256 arrangements of 16 in the vertical direction and 16 in the horizontal direction, and is configured by regularly arranging 16 types of halftone cells 2001 to 2016 each having a different threshold combination. Is done. Each of the halftone cells 2001 to 2016 includes 16 threshold values.

また、網点セルの配置される周期は、閾値マトリクス600と同様に2つのベクトルで表現され、閾値配列の縦横2成分のベクトルでは(4,0)と(0,4)の周期で繰り返される。   Further, the period in which the halftone cells are arranged is expressed by two vectors similarly to the threshold matrix 600, and is repeated in the cycle of (4, 0) and (0, 4) in the vertical and horizontal two-component vector of the threshold array. .

加えて、上述のように、実施形態3においても、各網点セルにおいて、所定の個数だけ閾値が連続するように閾値を配置し、その閾値が連続して配置された部分以外の部分には、各々の網点セルに、閾値が大きくなるように順に閾値を設定する。これにより、図20に示す例では、低濃度域から網点セル2001、2016、2011、2006、2009、2007、2010、2008、2003、2014、2015、2012、2002、2004、2013、2005の順で網点が形成される。   In addition, as described above, also in the third embodiment, in each halftone cell, threshold values are arranged so that a predetermined number of threshold values are continuous, and portions other than the portion where the threshold values are continuously arranged are provided in the portions. The threshold values are set in order so as to increase the threshold value for each halftone cell. Accordingly, in the example shown in FIG. 20, the dot cells 2001, 2016, 2011, 2006, 2009, 2007, 2010, 2008, 2003, 2014, 2015, 2012, 2002, 2004, 2013, 2005 from the low concentration range. A halftone dot is formed.

図21に示す閾値マトリクス2100は、ブラックに適用する二値の閾値マトリクスである。閾値マトリクス2100は、縦24、横24の計576の配列であり、各々異なる閾値の組み合わせを有する16種類の網点セル2101〜2116が規則的に連続して並ぶように配置されることで構成される。また、網点セル2101〜2116には、各々18個の閾値が内包される。   A threshold matrix 2100 illustrated in FIG. 21 is a binary threshold matrix applied to black. The threshold matrix 2100 has a total of 576 arrangements of 24 in the vertical direction and 24 in the horizontal direction, and is configured by regularly arranging 16 types of halftone cells 2101 to 2116 having different combinations of threshold values. Is done. Each of the halftone cells 2101 to 2116 includes 18 threshold values.

加えて、上述のように、実施形態3においても、各網点セルにおいて、所定の個数だけ閾値が連続するように閾値を配置し、その閾値が連続して配置された部分以外の部分には、各々の網点セルに、閾値が大きくなるように順に閾値を設定する。これにより、図21に示す例では、低濃度域から網点セル2109、2116、2110、2113、2107、2102、2108、2115、2112、2111、2104、2105、2101、2106、2114、2103の順で網点が形成される。   In addition, as described above, also in the third embodiment, in each halftone cell, threshold values are arranged so that a predetermined number of threshold values are continuous, and portions other than the portion where the threshold values are continuously arranged are provided in the portions. The threshold values are set in order so as to increase the threshold value for each halftone cell. Accordingly, in the example shown in FIG. 21, the dot cells 2109, 2116, 2110, 2113, 2107, 2102, 2108, 2115, 2112, 2111, 2104, 2105, 2101, 2106, 2114, and 2103 are ordered in this order from the low density region. A halftone dot is formed.

次に、図22を用いて、本実施例における分散度の算出方法について、詳細に説明する。図22は、本実施形態における最小網点単位で網点を形成し、明度に変換した画像データの一例である。   Next, a method for calculating the degree of dispersion in the present embodiment will be described in detail with reference to FIG. FIG. 22 is an example of image data in which halftone dots are formed in units of minimum halftone dots and converted to lightness in this embodiment.

また、本実施形態では、分散度として、明度に変換した画像データを所定の大きさの単位で分割し、その分割した領域の単位で画素値の平均を算出した局所平均値を求め、分割した全領域の局所平均値の分散から逆数を取った値を用いる。   Further, in the present embodiment, as the degree of dispersion, the image data converted into lightness is divided in units of a predetermined size, and a local average value obtained by calculating the average of pixel values in the unit of the divided area is obtained and divided. A value obtained by taking the reciprocal from the variance of the local average value of the entire region is used.

なお、分散度は、実施形態1と同様に、上述の(式1)〜(式3)を用いて算出されるが、本実施形態(第3実施形態)において、(式1)のIは明度に変換した画像データの画素値である。   The dispersity is calculated using the above-described (formula 1) to (formula 3) as in the first embodiment. In the present embodiment (third embodiment), I in (formula 1) is This is the pixel value of the image data converted to lightness.

図22は、上述のように、最小網点単位で網点を形成し、明度に変換した画像データの一例であり、詳細には、CMYK各色の一つ目の網点セルの形成順序を決定する際の明度に変換した画像データである。図22において、図示されるように、画像データは領域2205の単位で分割される。なお、領域2205の大きさは、実施形態1の領域1000の大きさと同様である。   FIG. 22 shows an example of image data in which halftone dots are formed in units of minimum halftone dots and converted to lightness as described above. Specifically, the order of forming the first halftone dot cells for each color of CMYK is determined. It is image data converted into the brightness at the time of performing. In FIG. 22, the image data is divided in units of areas 2205 as illustrated. Note that the size of the region 2205 is the same as the size of the region 1000 of the first embodiment.

また、網点セルの最小網点単位の形成順序を設定するための手順も、網点を色材の明度に変換した画像データに対して分散度を算出すること以外は、おおよそ実施形態1(即ち、図8に示す処理)と同様である。   In addition, the procedure for setting the formation order of the minimum halftone dot unit of the halftone dot cell is roughly the same as that of the first embodiment except that the degree of dispersion is calculated for the image data obtained by converting the halftone dots into the brightness of the color material. That is, it is the same as the process shown in FIG.

図22(a)は、図8のステップS805に対応する処理において、一つ目に決定したシアンの網点2201を形成した明度の画像データの一例である。図22(a)において、紙白2200は本実施形態の画像形成装置10で用いる記録紙の明度(L*=93)に、シアンの網点2201は本実施形態の画像形成装置10で用いる色材の明度(L*=58)に変換される。   FIG. 22A is an example of lightness image data in which the first halftone dot 2201 determined in the process corresponding to step S805 in FIG. 8 is formed. In FIG. 22A, paper white 2200 is the brightness (L * = 93) of the recording paper used in the image forming apparatus 10 of this embodiment, and cyan halftone dot 2201 is the color used in the image forming apparatus 10 of this embodiment. Converted to the lightness of the material (L * = 58).

図22(b)は、図8のステップS810に対応する処理において、一つ目に決定したマゼンタの網点2202を形成した明度の画像データの一例である。図22(b)において、マゼンタの網点2202は本実施形態の画像形成装置10で用いる色材の明度(L*=49)に変換される。   FIG. 22B is an example of lightness image data in which the first determined magenta halftone dot 2202 is formed in the processing corresponding to step S810 in FIG. In FIG. 22B, the magenta halftone dot 2202 is converted into the lightness (L * = 49) of the color material used in the image forming apparatus 10 of this embodiment.

図22(c)は、図8のステップS815に対応する処理において、一つ目に決定したイエローの網点2203を形成した明度の画像データの一例である。図22(c)において、イエローの網点2203は本実施形態の画像形成装置10で用いる色材の明度(L*=90)に変換される。   FIG. 22C is an example of lightness image data in which the first halftone dot 2203 determined in the process corresponding to step S815 in FIG. 8 is formed. In FIG. 22C, the yellow halftone dot 2203 is converted into the lightness (L * = 90) of the color material used in the image forming apparatus 10 of this embodiment.

図22(d)は、図8のステップS820に対応する処理において、一つ目に決定したブラックの網点2204を形成した明度の画像データの一例である。図22(d)において、ブラックの網点2204は本実施形態の画像形成装置10で用いる色材の明度(L*=10)に変換される。   FIG. 22D is an example of lightness image data in which the first black dot 2204 determined in the process corresponding to step S820 in FIG. 8 is formed. In FIG. 22D, the black halftone dot 2204 is converted into the lightness (L * = 10) of the color material used in the image forming apparatus 10 of the present embodiment.

ここで、例えば、図22(b)の領域2205には、全256画素のうち、明度(L*=58)のシアンの画素が4画素と、明度(L*=49)のマゼンタの画素が4画素と、明度(L*=93)の白が248画素含まれている。そして、この場合、局所平均値は91.7656となる。   Here, for example, in the area 2205 in FIG. 22B, among the 256 pixels, there are 4 cyan pixels with lightness (L * = 58) and magenta pixels with lightness (L * = 49). It includes 4 pixels and 248 pixels of lightness (L * = 93) white. In this case, the local average value is 91.7656.

図22(b)において、領域2205以外の他のブロックにおいても、領域2205と同様に局所平均値を求め、さらに、分割した全領域の局所平均値の分散値の逆数を算出すると、8.2281となる。なお、本実施形態において、計算を容易にするために、網点が重なった画素に関して、最後に形成された網点の明度を用いる。但し、この場合において、例えば、重なった網点のうち、最も低い明度を用いたり、複数の色材が重なった際の明度を測定して、その明度を用いたりすることもできる。   In FIG. 22B, in other blocks other than the region 2205, the local average value is obtained in the same manner as in the region 2205, and the reciprocal of the variance value of the local average values of all divided regions is calculated as 8.2281. It becomes. In the present embodiment, in order to facilitate calculation, the brightness of the halftone dot formed last is used for the pixel where the halftone dots overlap. However, in this case, for example, the lowest brightness among the overlapping halftone dots can be used, or the brightness when a plurality of color materials are overlapped can be measured and used.

図23は、本実施形態に係る画像形成装置における中間調処理の実行結果(網点画像データ)を示す図である。なお、図23において、本実施形態における中間調処理の実行結果を図23(c)として示し、また、本実施形態におけるモアレの発生を抑制するという効果をより顕著に示すために(即ち、比較のために)、参考として図23(a)と(b)を載せている。   FIG. 23 is a diagram showing the execution result (halftone image data) of halftone processing in the image forming apparatus according to the present embodiment. In FIG. 23, the execution result of the halftone processing in the present embodiment is shown as FIG. 23C, and in order to more clearly show the effect of suppressing the occurrence of moire in the present embodiment (that is, comparison) For reference), FIGS. 23 (a) and 23 (b) are shown for reference.

図23(a)は、本実施形態と同様の網点セルの周期で、最小網点単位を1画素、即ち、低濃度域において網点を集中させない閾値マトリクスを用いて、CMYKの4色を重ねた低濃度域のグラデーションの網点画像データを示したものである。また、図23(b)は、本実施形態と同様の網点セルの周期で、最小網点単位を4画素とし、色を重ねたときの網点の配置が局所的に集中する閾値マトリクスを用いて、CMYKの4色を重ねた低濃度域のグラデーションの網点画像データを示したものである。但し、図23(b)で適用した閾値マトリクスは、その生成において、分散度が考慮されることなく、閾値が設定(配置)されたものである。さらに、図23(c)は、上述のように、本実施形態で説明した閾値マトリクス1800、1900、2000、2100を用いて、CMYKの4色を重ねた低濃度域のグラデーションの網点画像データを示したものである。   FIG. 23A shows a dot cell cycle similar to that of the present embodiment. The minimum halftone dot unit is one pixel, that is, a threshold matrix that does not concentrate halftone dots in a low density region is used to change four colors of CMYK. The halftone image data of the gradation of the low density area which overlapped is shown. FIG. 23 (b) shows a threshold matrix in which the halftone dot unit is 4 pixels in the same halftone cell cycle as in this embodiment, and the arrangement of halftone dots when the colors are overlapped is locally concentrated. FIG. 5 shows low-density gradation halftone dot image data in which four colors of CMYK are superimposed. However, the threshold value matrix applied in FIG. 23B is one in which threshold values are set (arranged) without considering the degree of dispersion in the generation thereof. Further, FIG. 23C shows a halftone dot image data of a low density region in which four colors of CMYK are overlaid using the threshold value matrix 1800, 1900, 2000, 2100 described in the present embodiment as described above. Is shown.

図23(a)では色を重ねたときに発生するモアレ(ロゼッタ)を同じ周期で視認することができ、また、図23(b)では図23(a)よりも低周波のモアレを視認することができる。即ち、より低濃度域(図23(b)の左側)に向かって、徐々に低い周波数となっている。一方、図23(c)では、図23(b)の低濃度域で視認される低周波のモアレが改善され、色が重ねられた際に網点の配置がより均等になっていることがわかる。   In FIG. 23A, moire (rosetta) generated when colors are superimposed can be visually recognized at the same period, and in FIG. 23B, moire having a lower frequency than that in FIG. 23A is visually recognized. be able to. That is, the frequency gradually becomes lower toward a lower density region (left side of FIG. 23B). On the other hand, in FIG. 23C, the low-frequency moire visually recognized in the low density region of FIG. 23B is improved, and the arrangement of halftone dots is more uniform when the colors are superimposed. Recognize.

以上、説明したように、本実施形態によれば、二値ではなく明度を用いて分散度を算出することで、色材の明るさに応じて、色を重ねたときに発生する、より低い周波数のモアレの発生を抑制することができる。   As described above, according to the present embodiment, by calculating the degree of dispersion using lightness instead of binary, it is lower that occurs when colors are superimposed according to the brightness of the color material. Generation of frequency moiré can be suppressed.

(実施形態4)
上述の実施形態1では、分散度をCMYKの4色を重ねた二値の画像データに対して算出し、CMYKの4色を重ねたときの網点を均等に分散させることで、CMYK4色の重なりにおいて、低周波のモアレの発生を改善した。また、上述の実施形態2では、人に視認されにくいイエロー(Y)を除く、CMK3色の重なりにおいて、低周波のモアレの発生を改善した。さらに、上述の実施形態3では、CMYK4色の重なりにおいて、CMYKの4色を重ねた網点を明度に変換した画像データに対して分散度を算出することで、低周波のモアレの発生を改善した。
(Embodiment 4)
In the first embodiment described above, the degree of dispersion is calculated for binary image data obtained by superimposing the four colors of CMYK, and the halftone dots when the four colors of CMYK are superimposed are evenly dispersed, so that Improved the occurrence of low-frequency moire in overlapping. In Embodiment 2 described above, the occurrence of moiré at low frequencies is improved in the overlap of three CMK colors except yellow (Y), which is difficult for humans to visually recognize. Further, in the above-described third embodiment, in the overlapping of four colors of CMYK, the occurrence of low frequency moiré is improved by calculating the degree of dispersion for the image data obtained by converting the halftone dot where the four colors of CMYK are superimposed into lightness. did.

そこで、本実施形態(実施形態4)では、人に視認されにくいイエロー(Y)を除く、CMK3色を重ねた網点を色材の明度に変換した画像データに対して分散度を算出し、低周波のモアレの発生を改善する方法について説明する。なお、網点セルの最小網点単位の形成順序を設定するための手順は、網点を色材の明度に変換した画像データに対して分散度を算出すること以外は、おおよそ実施形態2(即ち、図16に示す処理)と同様である。   Therefore, in this embodiment (Embodiment 4), the degree of dispersion is calculated with respect to image data obtained by converting halftone dots overlaid with three CMK colors into the brightness of the color material, excluding yellow (Y), which is difficult for humans to visually recognize, A method for improving the generation of low-frequency moire will be described. Note that the procedure for setting the formation order of the minimum halftone dot unit of the halftone dot cell is approximately the same as that in Embodiment 2 except that the degree of dispersion is calculated for the image data obtained by converting the halftone dots into the brightness of the color material. That is, it is the same as the process shown in FIG.

即ち、図16と同様の手順で、CMK3色の重なりにおいて、網点を色材の明度に変換した画像データに対して分散度を算出し、分散度が最大となるように低濃度域の網点の形成順序を定める。分散度は、図22と同様に、明度に変換した画像データを所定の大きさの単位で分割し、その分割した領域の単位で画素値の平均を算出した局所平均値を求め、分割した全領域の局所平均値の分散から逆数を取った値を用いる。   That is, in the same procedure as in FIG. 16, in the overlap of three CMK colors, the degree of dispersion is calculated for image data in which halftone dots are converted to lightness of the color material, and the low density halftone network is used to maximize the degree of dispersion. Determine the order of dot formation. As in FIG. 22, the dispersity is obtained by dividing the image data converted to lightness by a unit of a predetermined size, obtaining a local average value obtained by calculating the average of the pixel values by the unit of the divided area, The value obtained by taking the reciprocal from the variance of the local average value of the region is used.

なお、本実施形態では、CMK3色の網点を重ねて分散度を算出し、網点の形成順序を決定した閾値マトリクスを用いる方法について説明したが、必ずしもこれに限定されるものではない。したがって、例えば、CMY3色や、CM2色等、異なる色の重ね合わせにおいて、分散度を求め、網点の形成順序を設定(決定)する。   In the present embodiment, the method of using the threshold value matrix in which the degree of dispersion is calculated by superimposing halftone dots of the CMK three colors and the order in which the halftone dots are formed is described. However, the present invention is not necessarily limited thereto. Therefore, for example, in the superposition of different colors such as CMY3 colors and CM2 colors, the degree of dispersion is obtained and the halftone dot formation order is set (determined).

以上、説明したように、本実施形態によれば、二値ではなく明度を用いて分散度を算出することで、人に視認されやすいCMKの3色において、色材の明るさに応じて、色を重ねたときに発生する、より低い周波数のモアレの発生を抑制することができる。   As described above, according to the present embodiment, by calculating the degree of dispersion using lightness instead of binary, in three colors of CMK that are easy to be visually recognized by humans, according to the brightness of the color material, It is possible to suppress the occurrence of moire with a lower frequency that occurs when colors are superimposed.

(その他の実施形態)
なお、本発明の目的は、以下の処理を実行することによっても達成することができる。即ち、上述した実施形態の機能を実現するソフトウェアのプログラムコードを記録した記憶媒体を、システム或いは装置に供給し、そのシステム或いは装置のコンピュータ(又はCPUやMPU等)が記憶媒体に格納されたプログラムコードを読み出す処理である。また、この場合、記憶媒体から読み出されたプログラムコード自体が上述した実施の形態の機能を実現することになり、そのプログラムコード及びそのプログラムコードを記憶した記憶媒体は本発明を構成することになる。
(Other embodiments)
The object of the present invention can also be achieved by executing the following processing. That is, a storage medium that records a program code of software that realizes the functions of the above-described embodiments is supplied to a system or apparatus, and a computer (or CPU, MPU, etc.) of the system or apparatus is stored in the storage medium. This is the process of reading the code. In this case, the program code read from the storage medium itself realizes the functions of the above-described embodiments, and the program code and the storage medium storing the program code constitute the present invention. Become.

Claims (9)

記録材毎に、複数の網点セルを有する閾値マトリクスを用いて中間調処理を施し、網点画像を生成する画像形成装置であって、
前記閾値マトリクスにおいて、前記複数の網点セルのうち、少なくとも2色以上の記録材毎に生成される網点画像を重ね合わせることで算出される網点の分散度が最大となる網点セルから順に、所定の大きさの網点が形成されるように、閾値が所定の単位で割り当てられることを特徴とする画像形成装置。
An image forming apparatus that performs halftone processing using a threshold matrix having a plurality of halftone cells for each recording material to generate a halftone image,
In the threshold value matrix, among the plurality of halftone cells, the halftone dot cell having the maximum degree of dispersion of halftone dots calculated by superimposing the halftone dot images generated for each recording material of at least two colors or more is used. An image forming apparatus, wherein a threshold value is assigned in a predetermined unit so that a halftone dot of a predetermined size is formed in order.
前記所定の単位で割り当てられる閾値は、昇順に連続する値であることを特徴とする請求項1に記載の画像形成装置。   The image forming apparatus according to claim 1, wherein the threshold value assigned in the predetermined unit is a value that continues in ascending order. 前記閾値を、前記網点の分散度が最大となる網点セルから順に、前記網点セルの前記閾値が所定の単位で割り当てられた部分以外の部分に、前記閾値が昇順に設定されることを特徴とする請求項1に記載の画像形成装置。   The threshold values are set in ascending order in order from the halftone cell in which the degree of dispersion of the halftone dots is maximized, in a portion other than the portion to which the threshold value of the halftone cell is assigned in a predetermined unit. The image forming apparatus according to claim 1. 前記網点の分散度は、前記網点画像から生成される二値化画像を、所定の分割された領域における画素値の局所平均値より算出されることを特徴とする請求項1から3のいずれか1項に記載の画像形成装置。   The degree of dispersion of the halftone dots is calculated from a local average value of pixel values in a predetermined divided region of a binarized image generated from the halftone dot image. The image forming apparatus according to claim 1. 前記網点の分散度は、前記網点画像から生成される二値化画像を、所定の分割された領域における明度の局所平均値より算出されることを特徴とする請求項1から3のいずれか1項に記載の画像形成装置。   The degree of dispersion of the halftone dots is calculated from a local average value of lightness in a predetermined divided area of a binarized image generated from the halftone dot image. The image forming apparatus according to claim 1. 前記所定の分割された領域は、前記閾値が所定の単位で割り当てられた網点セルの数に応じて、動的に変更されることを特徴とする請求項4又は5に記載の画像形成装置。   6. The image forming apparatus according to claim 4, wherein the predetermined divided area is dynamically changed according to the number of halftone cells to which the threshold is assigned in a predetermined unit. . 前記網点の分散度は、CMYKの4色の記録材毎に前記中間調処理により生成される網点画像を重ね合わせることで算出されることを特徴とする請求項1から6のいずれか1項に記載の画像形成装置。   The degree of dispersion of the halftone dots is calculated by superimposing the halftone dot images generated by the halftone processing for each of the four color recording materials of CMYK. The image forming apparatus described in the item. 前記網点の分散度は、CMKの3色の記録材毎に前記中間調処理により生成される網点画像を重ね合わせることで算出されることを特徴とする請求項1から6のいずれか1項に記載の画像形成装置。   The degree of dispersion of the halftone dots is calculated by superimposing the halftone dot images generated by the halftone processing for each of the three color recording materials of CMK. The image forming apparatus described in the item. 記録材毎に、複数の網点セルを有する閾値マトリクスを用いて中間調処理を施し、網点画像を生成するステップを含み、
前記閾値マトリクスにおいて、前記複数の網点セルのうち、少なくとも2色以上の記録材毎に生成される網点画像を重ね合わせることで算出される網点の分散度が最大となる網点セルから順に、所定の大きさの網点が形成されるように、閾値が所定の単位で割り当てられることを特徴とする画像形成装置における画像形成方法。
For each recording material, including halftone processing using a threshold matrix having a plurality of halftone cells, and generating a halftone image,
In the threshold value matrix, among the plurality of halftone cells, the halftone dot cell having the maximum degree of dispersion of halftone dots calculated by superimposing the halftone dot images generated for each recording material of at least two colors or more is used. An image forming method in an image forming apparatus, wherein a threshold value is assigned in a predetermined unit so that halftone dots of a predetermined size are formed in order.
JP2017164788A 2017-08-29 2017-08-29 Image forming apparatus and image forming method Pending JP2019047166A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2017164788A JP2019047166A (en) 2017-08-29 2017-08-29 Image forming apparatus and image forming method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2017164788A JP2019047166A (en) 2017-08-29 2017-08-29 Image forming apparatus and image forming method

Publications (1)

Publication Number Publication Date
JP2019047166A true JP2019047166A (en) 2019-03-22

Family

ID=65814668

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017164788A Pending JP2019047166A (en) 2017-08-29 2017-08-29 Image forming apparatus and image forming method

Country Status (1)

Country Link
JP (1) JP2019047166A (en)

Similar Documents

Publication Publication Date Title
US8619328B2 (en) Image processing apparatus and image processing method
JP2006343679A (en) Image forming apparatus
US8749851B2 (en) Image processing apparatus and image processing method
JP2013236159A (en) Image forming apparatus, image processing program, and image processing method
US20150242733A1 (en) Image forming apparatus and method of forming images
JP2009212933A (en) Image processing apparatus and method thereof
US10387759B2 (en) Image processing apparatus, image processing method and storage medium
JP2019047166A (en) Image forming apparatus and image forming method
JP2012186770A (en) Image processing apparatus, image forming apparatus, and program
JP5305140B2 (en) Image forming apparatus
US10578994B2 (en) Image forming apparatus that determines a fixing temperature for a fixing operation based on toner amounts of blocks of image data and related image forming method and storage medium
KR100601692B1 (en) Method for processing half-tone and apparatus therefore in a laser printer
US8102567B2 (en) Image forming apparatus and method calculating a deviation between a) a representative point of threshold information I) nearest to the coordinate of a pixel of interest or II) in dither space nearest to the address coordinate of the pixel of interest in dither space, and b) the address coordinate in dither space corresponding to a pixel coordinate of an integer in pixel space or a pixel coordinate of an integer in pixel space nearest to the representative point
JP2008227559A (en) Image forming apparatus and image forming method
JP4012129B2 (en) Image processing apparatus, image processing method, and image forming apparatus
JP2015127754A (en) Image forming apparatus and adjustment method thereof
US10455118B2 (en) Generation method, storage medium, and image forming apparatus that generate a threshold matrix by using determined thresholds
JP5904979B2 (en) Image processing apparatus and image processing program
JP6977530B2 (en) Image forming device
JP2011107546A (en) Image forming apparatus, image forming method and program
JP2018028592A (en) Image formation system, image formation device, gradation correction method and gradation correction program
JP3129421B2 (en) Image gradation recording device
JP2020017892A (en) Image processing apparatus, image forming apparatus, image processing method, and program
JP2006270771A (en) Image processor
JP6136635B2 (en) Image processing apparatus, image forming apparatus, and program