JP2014049925A - Control device and computer program - Google Patents

Control device and computer program Download PDF

Info

Publication number
JP2014049925A
JP2014049925A JP2012191146A JP2012191146A JP2014049925A JP 2014049925 A JP2014049925 A JP 2014049925A JP 2012191146 A JP2012191146 A JP 2012191146A JP 2012191146 A JP2012191146 A JP 2012191146A JP 2014049925 A JP2014049925 A JP 2014049925A
Authority
JP
Japan
Prior art keywords
value
print
pixel
error diffusion
target
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2012191146A
Other languages
Japanese (ja)
Other versions
JP5994492B2 (en
Inventor
Yasunari Yoshida
康成 吉田
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.)
Brother Industries Ltd
Original Assignee
Brother Industries Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Brother Industries Ltd filed Critical Brother Industries Ltd
Priority to JP2012191146A priority Critical patent/JP5994492B2/en
Publication of JP2014049925A publication Critical patent/JP2014049925A/en
Application granted granted Critical
Publication of JP5994492B2 publication Critical patent/JP5994492B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

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

Abstract

PROBLEM TO BE SOLVED: To provide a new technique in which concentration unevenness in a print image can be reduced.SOLUTION: The control device has a generation section for performing image processing including error diffusion processing to image data to generate print data. The generation section has: a correction data acquisition section for acquiring correction data corresponding to a target position of a target pixel; and a compensation section for performing compensation processing using the compensation data which compensates variations in print concentration of an image to be printed on print media. The correction data corresponding to the target position can be obtained by using difference between a target value and a first neighboring value. The target value can be obtained by using a concentration characteristic value in the target position. The first neighboring value can be obtained by using the concentration characteristic value in a first neighboring position corresponding to a first neighboring pixel which is positioned in the vicinity of the target pixel.

Description

本発明は、印刷を制御する技術に関し、特に、印刷の濃度ムラを抑制するように、印刷を制御する技術に関する。   The present invention relates to a technique for controlling printing, and more particularly to a technique for controlling printing so as to suppress uneven density in printing.

レーザプリンタやインクジェットプリンタなどの印刷装置によって印刷媒体(例えば、用紙)上に形成される印刷画像の画質が、濃度ムラによって劣化する現象が知られている。濃度ムラは、例えば、印刷装置による印刷媒体の搬送誤差に起因して発生する。   A phenomenon is known in which the image quality of a print image formed on a print medium (for example, paper) by a printing apparatus such as a laser printer or an ink jet printer deteriorates due to density unevenness. The density unevenness occurs due to, for example, a printing medium conveyance error by the printing apparatus.

このような濃度ムラを低減するための技術が求められている。例えば、テスト画像の印刷結果を光学的に読み取って、読み取り結果を用いて、印刷画像を表す画像データを補正するための補正データを生成する技術が知られている(例えば、特許文献1)。   There is a need for a technique for reducing such density unevenness. For example, a technique is known in which a print result of a test image is optically read, and correction data for correcting image data representing the print image is generated using the read result (for example, Patent Document 1).

特開2011−25574号公報JP 2011-25574 A

この技術によれば、読み取り結果に表れる濃度ムラを解消するように画像データを補正することができるので、濃度ムラを低減することができる。   According to this technique, the image data can be corrected so as to eliminate the density unevenness appearing in the reading result, so that the density unevenness can be reduced.

しかしながら、上記技術では、例えば、印刷濃度が急激に変動する場合などに、濃度ムラを十分に低減できない可能性があった。印刷濃度の急激な変動は、例えば、印刷媒体の先端が、レーザプリンタの感光体に最初に接触する際に生じる、感光体から印刷媒体への急激な電荷の移動などによって生じ得る。   However, in the above technique, there is a possibility that density unevenness cannot be sufficiently reduced, for example, when the print density fluctuates rapidly. Abrupt fluctuations in print density can occur, for example, due to a sudden charge transfer from the photoreceptor to the print medium that occurs when the leading edge of the print medium first contacts the photoreceptor of the laser printer.

本発明の主な利点は、印刷画像の濃度ムラを低減できる新たな技術を提供することである。   The main advantage of the present invention is to provide a new technique that can reduce density unevenness of a printed image.

[適用例1]印刷媒体上に印刷画像を印刷する印刷実行部を制御する制御装置であって、
対象画像を表す対象画像データに対して、誤差拡散処理を含む画像処理を実行して、前記対象画像を表す前記印刷画像を前記印刷実行部に印刷させるための印刷データを生成する生成部と、前記印刷データを前記印刷実行部に供給する供給部と、を備え、前記生成部は、前記画像処理の処理対象である注目画素に対応する媒体上位置である注目位置に対応する補正用データを取得する補正用データ取得部であって、前記媒体上位置は、前記印刷媒体上における副走査方向の位置である、前記補正用データ取得部と、前記印刷媒体上に印刷される画像の印刷濃度のばらつきを補償する前記補償処理を前記注目画素に対して実行する補償部であって、前記補償処理は、前記注目位置に対応する前記補正用データを用いて実行される、前記補償部と、を備え、前記注目位置に対応する前記補正用データは、注目値と、第1の近傍値と、の差分である第1の差分を用いて得られるデータであり、前記注目値は、前記注目位置における濃度特性値を用いて得られる値であり、前記第1の近傍値は、前記注目画素の近傍に位置する第1の近傍画素に対応する前記媒体上位置である第1の近傍位置における前記濃度特性値を用いて得られる値であり、前記第1の近傍画素は、前記注目画素とは副走査方向の位置が異なる画素であり、前記注目画素より前に前記誤差拡散処理の処理対象とされる画素であり、前記濃度特性値は、前記印刷媒体上に印刷される画像の印刷濃度に関する特性値である、制御装置。
Application Example 1 A control device that controls a print execution unit that prints a print image on a print medium,
A generation unit that performs image processing including error diffusion processing on target image data representing the target image, and generates print data for causing the print execution unit to print the print image representing the target image; A supply unit that supplies the print data to the print execution unit, and the generation unit outputs correction data corresponding to a target position that is a position on the medium corresponding to a target pixel that is a processing target of the image processing. A correction data acquisition unit to be acquired, wherein the position on the medium is a position in the sub-scanning direction on the print medium, and the print density of the image printed on the print medium A compensation unit that performs the compensation process for compensating the variation of the target pixel, wherein the compensation process is performed using the correction data corresponding to the target position; The correction data corresponding to the target position is data obtained using a first difference that is a difference between the target value and a first neighborhood value, and the target value is the target value The first neighborhood value is a value obtained using a density characteristic value at a position, and the first neighborhood value is a first neighborhood position that is a position on the medium corresponding to a first neighborhood pixel located in the neighborhood of the target pixel. It is a value obtained using the density characteristic value, and the first neighboring pixel is a pixel whose position in the sub-scanning direction is different from the target pixel, and is subject to the error diffusion process before the target pixel. And the density characteristic value is a characteristic value related to a print density of an image printed on the print medium.

上記の構成によれば、注目値と第1の近傍値との差分である第1の差分を用いて得られる補正用データを用いて、補償処理が実行される。この結果、第1の差分が考慮されない補正用データが利用される構成と比べて、印刷媒体上に印刷される画像の印刷濃度のばらつき(濃度ムラ)を低減することができる。   According to said structure, a compensation process is performed using the data for a correction | amendment obtained using the 1st difference which is a difference of an attention value and a 1st neighborhood value. As a result, it is possible to reduce variations in the print density (density unevenness) of an image printed on the print medium, compared to a configuration in which correction data that does not consider the first difference is used.

なお、本発明は、種々の形態で実現することが可能であり、例えば、印刷装置、印刷システム、印刷装置の制御方法、これらの装置、システムの機能を実現するためのコンピュータプログラム、そのコンピュータプログラムを記録した記録媒体、等の形態で実現することができる。   The present invention can be realized in various forms. For example, a printing apparatus, a printing system, a control method for the printing apparatus, a computer program for realizing the functions of these apparatuses and the system, and the computer program therefor Can be realized in the form of a recording medium on which is recorded.

本実施例の印刷システム2の概略構成を示すブロック図である。It is a block diagram which shows schematic structure of the printing system 2 of a present Example. 印刷装置100の概略構成を示す図である。1 is a diagram illustrating a schematic configuration of a printing apparatus 100. FIG. 転写時の感光ドラム54Kの転写位置SPにおける表面電位Vsについて説明する図である。It is a figure explaining surface potential Vs in transfer position SP of photosensitive drum 54K at the time of transfer. 媒体上位置に対する濃度ムラの一例を示すグラフである。It is a graph which shows an example of the density nonuniformity with respect to the position on a medium. 特性値テーブル134の一例を示す図である。It is a figure which shows an example of the characteristic value table. 印刷処理のフローチャートである。It is a flowchart of a printing process. 解像度変換処理後のRGB画像データ300を概念的に示す図である。It is a figure which shows notionally RGB image data 300 after the resolution conversion process. CMYK画像データ310を概念的に示す図である。3 is a diagram conceptually showing CMYK image data 310. FIG. 誤差拡散処理のフローチャートである。It is a flowchart of an error diffusion process. 本印刷処理によって生成される印刷データに従って印刷媒体Pに形成されるべき印刷画像IMの概略図である。FIG. 3 is a schematic diagram of a print image IM to be formed on a print medium P according to print data generated by the print process. 誤差拡散マトリクスを用いた補正画素値PV'の算出について説明する図である。It is a figure explaining calculation of correction pixel value PV 'using an error diffusion matrix. 誤差値ΔEの算出について説明する図である。It is a figure explaining calculation of error value deltaE. 本実施例の印刷処理を用いた印刷結果の印刷濃度を示すグラフである。It is a graph which shows the printing density of the printing result using the printing process of a present Example. 図13における媒体上位置Paの近傍の範囲RAについて補正用データHD(A)と印刷画像の濃度(B)と示す図である。FIG. 14 is a diagram illustrating correction data HD (A) and print image density (B) for a range RA in the vicinity of the on-medium position Pa in FIG. 13. 第2実施例における注目補正用データHDの説明図である。It is explanatory drawing of the data for attention correction HD in 2nd Example. 第3実施例における注目補正用データHDの説明図である。It is explanatory drawing of the data for attention correction HD in 3rd Example. 第4実施例の誤差拡散処理のフローチャートである。It is a flowchart of the error diffusion process of 4th Example. 第5実施例を説明する説明図である。It is explanatory drawing explaining 5th Example. 第6実施例のプリンタドライバ処理のフローチャートである。14 is a flowchart of printer driver processing according to a sixth embodiment. 補正用データテーブル134Aの一例を示す図である。It is a figure which shows an example of the correction data table 134A. 第8実施例において用いられる濃度特性値CPについて説明する図である。It is a figure explaining density characteristic value CP used in the 8th example.

A.第1実施例:
A−2:印刷システムの構成:
次に、本発明の実施の形態を実施例に基づき説明する。図1は、本実施例の印刷システム2の概略構成を示すブロック図である。印刷システム2は、印刷装置100と、印刷装置100と通信可能に接続された計算機200と、を備えている。
A. First embodiment:
A-2: Configuration of the printing system:
Next, embodiments of the present invention will be described based on examples. FIG. 1 is a block diagram illustrating a schematic configuration of a printing system 2 according to the present embodiment. The printing system 2 includes a printing apparatus 100 and a computer 200 that is communicably connected to the printing apparatus 100.

計算機200は、例えば、パーソナルコンピュータであり、CPU210と、ROMやRAMなどのメモリ230と、液晶ディスプレイ等の表示部240と、キーボード等の操作部250と、印刷装置100などの外部装置との通信のためのインタフェースである通信部260と、を備える。   The computer 200 is, for example, a personal computer, and communicates with a CPU 210, a memory 230 such as a ROM or a RAM, a display unit 240 such as a liquid crystal display, an operation unit 250 such as a keyboard, and an external device such as the printing apparatus 100. And a communication unit 260 that is an interface for the communication.

メモリ230は、ワーク領域234を備える。ワーク領域234は、例えば、後述する印刷処理で画像データなどを格納するために用いられる。メモリ230には、ドライバプログラム232が格納されている。CPU210は、ドライバプログラム232を実行することによって、プリンタドライバ500として機能する。プリンタドライバ500は、ユーザからの指示に従って、ユーザが指定する画像を印刷するための印刷データを生成し、生成された印刷データを印刷装置100に対して、供給する。この結果、プリンタドライバ500は、印刷装置100に印刷を実行させることができる。プリンタドライバ500は、処理対象の対象画像データを取得する画像データ取得部510と、ハーフトーン処理(本実施例では誤差拡散処理)を含む画像処理を実行して印刷データを生成する印刷データ生成部520と、印刷データを印刷装置100に供給する印刷データ供給部530と、を備えている。印刷データ生成部520は、色変換部521と、ハーフトーン処理部522と、を備えている。ハーフトーン処理部522は、補正用データ取得部525と、誤差使用補正部526と、決定部527と、算出部528と、を備えている。これらの各機能部が実行する処理については、後述する。なお、図1の破線に示す補償補正部529は、第2実施例のハーフトーン処理部522が備える機能部であるので、第2実施例において説明する。   The memory 230 includes a work area 234. The work area 234 is used, for example, for storing image data or the like in print processing described later. The memory 230 stores a driver program 232. The CPU 210 functions as the printer driver 500 by executing the driver program 232. The printer driver 500 generates print data for printing an image designated by the user in accordance with an instruction from the user, and supplies the generated print data to the printing apparatus 100. As a result, the printer driver 500 can cause the printing apparatus 100 to execute printing. The printer driver 500 includes an image data acquisition unit 510 that acquires target image data to be processed, and a print data generation unit that generates print data by performing image processing including halftone processing (in this embodiment, error diffusion processing). 520, and a print data supply unit 530 that supplies print data to the printing apparatus 100. The print data generation unit 520 includes a color conversion unit 521 and a halftone processing unit 522. The halftone processing unit 522 includes a correction data acquisition unit 525, an error use correction unit 526, a determination unit 527, and a calculation unit 528. The processing executed by each of these functional units will be described later. The compensation correction unit 529 shown by the broken line in FIG. 1 is a functional unit included in the halftone processing unit 522 of the second embodiment, and will be described in the second embodiment.

印刷装置100は、印刷材(本実施例では、4色(CMYK)のトナー)を用いて画像を形成する印刷装置(いわゆるレーザプリンタ)である。印刷装置100は、CPU110と、DRAM等の揮発性メモリ120と、EEPROM等の不揮発性メモリ130と、液晶ディスプレイ等の表示部140と、タッチパネル等の操作部150と、外部装置(例えば、計算機200)との通信のための通信部160と、印刷実行部50と、を備える。   The printing apparatus 100 is a printing apparatus (a so-called laser printer) that forms an image using printing materials (in this embodiment, four-color (CMYK) toner). The printing apparatus 100 includes a CPU 110, a volatile memory 120 such as a DRAM, a non-volatile memory 130 such as an EEPROM, a display unit 140 such as a liquid crystal display, an operation unit 150 such as a touch panel, and an external device (for example, a computer 200). ), And a print execution unit 50.

不揮発性メモリ130は、プログラム132と、後述する印刷処理で用いられる特性値テーブル134と、を格納している。特性値テーブル134は、プログラム132に一体に組み込まれていても良い。CPU110は、プログラム132を実行することによって、印刷制御部115として機能する。印刷制御部115は、例えば、計算機200から印刷装置100に対して送信される印刷ジョブに従って、印刷実行部50を制御して印刷を実行する。   The non-volatile memory 130 stores a program 132 and a characteristic value table 134 used in print processing described later. The characteristic value table 134 may be integrated into the program 132. The CPU 110 functions as the print control unit 115 by executing the program 132. For example, the print control unit 115 executes printing by controlling the print execution unit 50 according to a print job transmitted from the computer 200 to the printing apparatus 100.

図1に加えて、図2を参照しながら、印刷装置100の構成を、さらに説明する。図2は、印刷装置100の概略構成を示す図である。図2には、3つの方向Dx、Dy、Dzが示されている。2つの方向Dx、Dyは、それぞれ、水平な方向であり、Dz方向は、鉛直上方向である。Dy方向とDx方向は互いに直行する。以下、Dx方向を「+Dx方向」とも呼び、Dx方向の反対方向を「−Dx方向」とも呼ぶ。+Dy方向、−Dy方向、+Dz方向、−Dz方向についても、同様である。   The configuration of the printing apparatus 100 will be further described with reference to FIG. 2 in addition to FIG. FIG. 2 is a diagram illustrating a schematic configuration of the printing apparatus 100. In FIG. 2, three directions Dx, Dy, Dz are shown. The two directions Dx and Dy are horizontal directions, respectively, and the Dz direction is a vertically upward direction. The Dy direction and the Dx direction are orthogonal to each other. Hereinafter, the Dx direction is also referred to as “+ Dx direction”, and the opposite direction of the Dx direction is also referred to as “−Dx direction”. The same applies to the + Dy direction, the -Dy direction, the + Dz direction, and the -Dz direction.

印刷装置100は、上述した印刷実行部50を収容する略直方体の筐体10と、筐体10の鉛直下端部分に収容される給紙トレイ30を備えている。筐体10の上面には、排紙トレイ20として機能する傾斜面と、排紙トレイ20に対して印刷後の印刷媒体Pを排出するための開口OPとが形成されている。印刷実行部50は、搬送機構と、露光部51と、CMYKの各トナー用のプロセスユニット59C、59M、59Y、59Kと、CMYKの各トナー用の転写ローラ55C、55M、55Y、55Kと、定着部56と、を備えている。   The printing apparatus 100 includes a substantially rectangular parallelepiped housing 10 that houses the above-described print execution unit 50, and a paper feed tray 30 that is housed in a vertical lower end portion of the housing 10. On the upper surface of the housing 10, an inclined surface that functions as the paper discharge tray 20 and an opening OP for discharging the print medium P after printing to the paper discharge tray 20 are formed. The print execution unit 50 includes a transport mechanism, an exposure unit 51, process units 59C, 59M, 59Y, and 59K for CMYK toners, transfer rollers 55C, 55M, 55Y, and 55K for CMYK toners, and fixing. Part 56.

搬送機構は、駆動ローラ57Aと、従動ローラ57Bと、搬送ベルト58と、図示しないモータや他のローラを備えており、給紙トレイ30から排紙トレイ20に至る搬送経路SR(図2:一点破線)に沿って、印刷媒体Pを搬送する。駆動ローラ57Aと、従動ローラ57Bは、Dy方向を軸方向とする円筒形状を有している。搬送ベルト58は、駆動ローラ57Aと従動ローラ57Bとの間に架設されている。搬送ベルト58のDy方向の幅は、印刷媒体Pの対応する方向の幅よりも広い。搬送ベルト58は、駆動ローラ57Aと同期して回転し、上面58A(鉛直上側の面)に印刷媒体Pを乗せた状態で、印刷媒体Pを搬送する。   The transport mechanism includes a driving roller 57A, a driven roller 57B, a transport belt 58, a motor (not shown) and other rollers, and a transport path SR (FIG. 2: one point) from the paper feed tray 30 to the paper discharge tray 20. The print medium P is conveyed along the broken line. The driving roller 57A and the driven roller 57B have a cylindrical shape whose axial direction is the Dy direction. The conveying belt 58 is provided between the driving roller 57A and the driven roller 57B. The width of the conveyance belt 58 in the Dy direction is wider than the width of the print medium P in the corresponding direction. The conveyance belt 58 rotates in synchronization with the drive roller 57A, and conveys the print medium P in a state where the print medium P is placed on the upper surface 58A (vertical upper surface).

プロセスユニット59C、59M、59Y、59Kは、搬送ベルト58の上面58Aに沿って並んでいる。したがって、搬送ベルト58の上面58Aにおいて印刷媒体Pが搬送方向(−Dx方向)に搬送されると、プロセスユニット59C、59M、59Y、59Kは、印刷媒体Pに対して搬送方向の反対方向(+Dx方向)に移動する。以下では、搬送方向を副走査方向とも呼ぶ。また、印刷媒体Pの搬送方向(副走査方向)の上流側の端部を、印刷媒体Pの上流端と呼び、印刷媒体Pの搬送方向の下流側の端部を、印刷媒体Pの下流端とも呼ぶ。   The process units 59C, 59M, 59Y, 59K are arranged along the upper surface 58A of the conveyor belt 58. Therefore, when the print medium P is transported in the transport direction (−Dx direction) on the upper surface 58A of the transport belt 58, the process units 59C, 59M, 59Y, and 59K are opposite to the print medium P in the transport direction (+ Dx). Direction). Hereinafter, the conveyance direction is also referred to as a sub-scanning direction. Further, the upstream end in the transport direction (sub-scanning direction) of the print medium P is called the upstream end of the print medium P, and the downstream end in the transport direction of the print medium P is the downstream end of the print medium P. Also called.

プロセスユニット59C、59M、59Y、59Kは、それぞれに、対応する色のトナーを収容したトナーカートリッジ52C、52M、52Y、52Kと、現像ローラ53C、53M、53Y、53Kと、感光体としての感光ドラム54C、54M、54Y、54Kとを備えている。以下では、4つのプロセスユニット59C、59M、59Y、59K、および、これらの構成部品をトナーの色ごとに区別しないときには、符号の末尾の英字を省略して、例えば、プロセスユニット59、感光ドラム54とも呼ぶ。現像ローラ53および感光ドラム54は、Dy方向を軸方向とする円筒形状を有している。現像ローラ53および感光ドラム54の軸方向の長さは、印刷媒体Pの対応する方向の幅より長い。現像ローラ53と感光ドラム54は、後述するトナーの受け渡し(現像)のために接触している。   The process units 59C, 59M, 59Y, and 59K respectively include toner cartridges 52C, 52M, 52Y, and 52K that store toners of corresponding colors, developing rollers 53C, 53M, 53Y, and 53K, and photosensitive drums as photosensitive members. 54C, 54M, 54Y, and 54K. In the following, when the four process units 59C, 59M, 59Y, 59K and their constituent parts are not distinguished for each toner color, the alphabetic character at the end of the reference numerals is omitted, and for example, the process unit 59, the photosensitive drum 54, and the like. Also called. The developing roller 53 and the photosensitive drum 54 have a cylindrical shape whose axial direction is the Dy direction. The length in the axial direction of the developing roller 53 and the photosensitive drum 54 is longer than the width in the corresponding direction of the print medium P. The developing roller 53 and the photosensitive drum 54 are in contact with each other for toner delivery (development) described later.

転写ローラ55C、55M、55Y、55Kは、Dy方向を軸方向とする円筒形状を有している。転写ローラ55C、55M、55Y、55Kの軸方向の長さは、感光ドラム54の軸方向の長さと同程度である。転写ローラ55C、55M、55Y、55Kは、対応する感光ドラム54C、54M、54Y、54Kとの組で、搬送ベルト58を挟む位置に配置されている。4つの転写ローラ55C、55M、55Y、55Kを区別しないときには、プロセスユニット59と同様に、符号の末尾の英字を省略する。   The transfer rollers 55C, 55M, 55Y, and 55K have a cylindrical shape whose axial direction is the Dy direction. The axial lengths of the transfer rollers 55C, 55M, 55Y, and 55K are approximately the same as the axial length of the photosensitive drum 54. The transfer rollers 55C, 55M, 55Y, and 55K are arranged at positions that sandwich the conveyance belt 58 in pairs with the corresponding photosensitive drums 54C, 54M, 54Y, and 54K. When the four transfer rollers 55C, 55M, 55Y, and 55K are not distinguished, the letter at the end of the code is omitted as in the process unit 59.

露光部51は、プロセスユニット59の上方に配置されている。露光部51は、図示は省略するが、レーザダイオードなどのレーザ光源と、回転駆動されるポリゴンミラー、レンズ、反射鏡を含む光学系と、を備えている。露光部51は、レーザ光源を用いて生成したレーザLZを、光学系を介して、4つの感光ドラム54の表面に照射する。露光部51は、感光ドラム54の表面におけるレーザ光の照射位置を、ポリゴンミラーによって、Dy方向に移動させる主走査を行う。これに代えて、露光部51は、Dy方向に画素に対応する数のLEDを配置したライン光源を備えても良い。いずれの構成であっても、露光部51は、感光ドラム54の表面におけるDy方向の任意に位置にレーザを照射することができる。以下では、Dy方向を主走査方向とも呼ぶ。   The exposure unit 51 is disposed above the process unit 59. Although not shown, the exposure unit 51 includes a laser light source such as a laser diode and an optical system including a polygon mirror, a lens, and a reflecting mirror that are rotationally driven. The exposure unit 51 irradiates the surfaces of the four photosensitive drums 54 with a laser LZ generated using a laser light source via an optical system. The exposure unit 51 performs main scanning in which the laser beam irradiation position on the surface of the photosensitive drum 54 is moved in the Dy direction by a polygon mirror. Instead of this, the exposure unit 51 may include a line light source in which a number of LEDs corresponding to pixels are arranged in the Dy direction. Regardless of the configuration, the exposure unit 51 can irradiate a laser at an arbitrary position in the Dy direction on the surface of the photosensitive drum 54. Hereinafter, the Dy direction is also referred to as a main scanning direction.

定着部56は、印刷媒体Pの搬送経路SRの搬送ベルト58より下流側に配置されている。定着部56は、一対のローラを用いて、印刷媒体P上のトナーを加圧・加熱することによって、トナーを印刷媒体Pに定着させる。   The fixing unit 56 is disposed on the downstream side of the transport belt 58 in the transport path SR of the print medium P. The fixing unit 56 fixes the toner to the print medium P by pressurizing and heating the toner on the print medium P using a pair of rollers.

A−2.印刷実行部50を用いた印刷工程と濃度ムラ
上述した構成を有する印刷実行部50を制御して印刷制御部115が実行する印刷工程を簡単に説明する。回転する感光ドラム54の表面は、図示しない帯電器により一様に電荷が付与された後、露光部51から照射されるレーザにより主走査方向に沿ったライン(主走査ライン)ごとに、露光される。露光された箇所は、付与された電荷が除かれるので、露光によって感光ドラム54の表面に、印刷すべき画像に対応した静電潜像が形成される。
A-2. Printing Process Using Print Execution Unit 50 and Density Unevenness A printing process executed by the print control unit 115 by controlling the print execution unit 50 having the above-described configuration will be briefly described. The surface of the rotating photosensitive drum 54 is uniformly charged by a charger (not shown) and then exposed to each line (main scanning line) along the main scanning direction by a laser irradiated from the exposure unit 51. The Since the applied charges are removed from the exposed portions, an electrostatic latent image corresponding to the image to be printed is formed on the surface of the photosensitive drum 54 by the exposure.

回転する現像ローラ53の表面にトナーカートリッジ52に収容されたトナーが一様に担持される。現像ローラ53と感光ドラム54との間には、現像バイアスが印加されている。現像バイアスによって、回転する現像ローラ53と、回転する感光ドラム54と、の接触部分で、感光ドラム54に形成された静電潜像に対して、現像ローラ53からトナーが供給される。この結果、感光ドラム54の表面上にトナー像が形成される(現像)。現像ローラ53と感光ドラム54との接触部分は、主走査ラインに沿った領域である。   The toner accommodated in the toner cartridge 52 is uniformly carried on the surface of the rotating developing roller 53. A developing bias is applied between the developing roller 53 and the photosensitive drum 54. With the developing bias, toner is supplied from the developing roller 53 to the electrostatic latent image formed on the photosensitive drum 54 at a contact portion between the rotating developing roller 53 and the rotating photosensitive drum 54. As a result, a toner image is formed on the surface of the photosensitive drum 54 (development). A contact portion between the developing roller 53 and the photosensitive drum 54 is an area along the main scanning line.

転写ローラ55には、転写バイアスが印加されている。転写バイアスによって、感光ドラム54の表面に形成されたトナー像は、回転する感光ドラム54と、搬送ベルト58で搬送される印刷媒体Pと、の接触部分で、印刷媒体Pに転写される。感光ドラム54と印刷媒体Pとの接触部分は、主走査ラインに沿った領域である。   A transfer bias is applied to the transfer roller 55. The toner image formed on the surface of the photosensitive drum 54 by the transfer bias is transferred to the printing medium P at a contact portion between the rotating photosensitive drum 54 and the printing medium P conveyed by the conveying belt 58. A contact portion between the photosensitive drum 54 and the print medium P is an area along the main scanning line.

印刷媒体Pに転写されたトナー像は、定着部56の一対のローラによって定着されて画像の形成が完了する。   The toner image transferred to the printing medium P is fixed by a pair of rollers of the fixing unit 56, and the image formation is completed.

以上の説明から解るように、印刷における各工程(露光、現像、転写、定着)は、いずれも主走査ラインに沿った領域ごとに行われる。このために、各工程に関与する回転体および回転体を駆動するための部品(モータ、ギヤなど)の製造誤差に起因する印刷濃度のばらつきは、互いに副走査方向の位置が異なる複数の主走査ラインに沿った領域の間で生じやすい。この結果、印刷媒体P上における副走査方向の位置に応じて、印刷濃度のばらつきが生じやすい。この結果、主走査ラインに沿って延びる帯状の筋が画像に現れる現象(バンディング)などの濃度ムラが、画質低下をもたらす不具合として発生しやすい。以下、印刷媒体P上における副走査方向の位置を、単に媒体上位置とも呼ぶ。   As can be understood from the above description, each step (exposure, development, transfer, and fixing) in printing is performed for each region along the main scanning line. For this reason, variations in print density due to manufacturing errors of the rotating body and components for driving the rotating body (motor, gear, etc.) involved in each process are caused by a plurality of main scans having different positions in the sub-scanning direction. It is likely to occur between areas along the line. As a result, variations in print density are likely to occur depending on the position in the sub-scanning direction on the print medium P. As a result, density unevenness such as a phenomenon (banding) in which strip-like streaks extending along the main scanning line appear in the image is likely to occur as a defect that causes a reduction in image quality. Hereinafter, the position in the sub-scanning direction on the print medium P is also simply referred to as a medium position.

具体的には、印刷媒体Pの搬送に関連する回転体、例えば、駆動ローラ57A、従動ローラ57B、その他の図示しないローラ類の回転軸が製造誤差によって偏心している場合がある。この場合には、印刷制御部115が、一定の搬送速度で印刷媒体Pを搬送するように、搬送機構を制御しても、実際の印刷媒体Pの搬送速度は変動する。この場合には、搬送速度が比較的速いときに印刷媒体Pに転写された画像の濃度は、搬送速度が比較的遅いときに印刷媒体Pが転写された画像の濃度よりも薄くなりやすい。   Specifically, the rotating shafts of the rotating body related to the conveyance of the printing medium P, for example, the driving roller 57A, the driven roller 57B, and other rollers (not shown) may be eccentric due to manufacturing errors. In this case, even if the print control unit 115 controls the transport mechanism so that the print medium P is transported at a constant transport speed, the actual transport speed of the print medium P varies. In this case, the density of the image transferred to the print medium P when the transport speed is relatively high tends to be lower than the density of the image to which the print medium P is transferred when the transport speed is relatively slow.

同様に、感光ドラム54の回転軸が製造誤差によって偏心している場合がある。この場合には、感光ドラム54の回転速度の変動によって、濃度ムラが発生する場合がある。   Similarly, the rotating shaft of the photosensitive drum 54 may be decentered due to manufacturing errors. In this case, density unevenness may occur due to fluctuations in the rotational speed of the photosensitive drum 54.

濃度ムラの原因となる主要な回転体(例えば、感光ドラム54、駆動ローラ57Aなど)には、これらの回転体の回転位相を検出するセンサ(例えば、ロータリーエンコーダ:図示省略)が備えられている。回転位相は、例えば、基準位置からの回転角度で表される。印刷制御部115は、これらのセンサを用いて、回転体の回転位相を取得することができる。印刷制御部115は、印刷媒体Pの搬送制御において、これらの回転体の回転位相と、印刷媒体Pの搬送経路SR上における位置(搬送位置)と、を同期させる搬送同期制御を実行する。この搬送同期制御を実行すると、主要な回転体の偏心に起因する濃度ムラは、定常的に、印刷画像の媒体上位置に対して、同じ傾向で生じる。主要な回転体の偏心に起因する濃度ムラは、原因となる回転体の回転周期に対応する周期性を有する。   Main rotating bodies (for example, the photosensitive drum 54 and the driving roller 57A) that cause density unevenness are provided with sensors (for example, a rotary encoder: not shown) that detect the rotational phase of these rotating bodies. . The rotation phase is represented by a rotation angle from the reference position, for example. The print controller 115 can acquire the rotational phase of the rotating body using these sensors. In the transport control of the print medium P, the print control unit 115 executes transport synchronization control that synchronizes the rotational phase of these rotating bodies and the position (transport position) of the print medium P on the transport path SR. When this conveyance synchronization control is executed, the density unevenness caused by the eccentricity of the main rotating body constantly occurs in the same tendency with respect to the position on the medium of the print image. Density unevenness due to the eccentricity of the main rotating body has a periodicity corresponding to the rotating period of the rotating body that causes it.

また、搬送経路SR上には、上述した定着部56の一対のローラ(図2)や、感光ドラム54と対応する転写ローラ55のように、搬送される印刷媒体Pを挟持する機構が存在する。これらの挟持機構に、印刷媒体Pの下流端が侵入するタイミングや、これらの挟持機構から印刷媒体Pの上流端が解放されるタイミングでは、印刷媒体Pの搬送速度の急激な変動が生じる場合がある。これらの挟持機構に起因する濃度ムラは、定常的に、印刷画像の媒体上位置に対して、同じ傾向で生じる。   Further, on the transport path SR, there is a mechanism for sandwiching the transported print medium P, such as the pair of rollers (FIG. 2) of the fixing unit 56 described above and the transfer roller 55 corresponding to the photosensitive drum 54. . At the timing when the downstream end of the printing medium P enters these clamping mechanisms or when the upstream edge of the printing medium P is released from these clamping mechanisms, there is a case where a rapid fluctuation in the conveyance speed of the printing medium P occurs. is there. Density unevenness caused by these clamping mechanisms constantly occurs in the same tendency with respect to the position of the printed image on the medium.

正帯電トナーを使用するレーザープリンタにて、説明する。図3は、転写時の感光ドラム54Kの転写位置SPにおける表面電位Vsについて説明する図である。図3を参照して説明する転写時の表面電位Vsの変動によっても、定常的な濃度ムラが生じる。図3(A)、(B)には、1個の感光ドラム54Kの近傍の構造が図示されている。図3(A)、(B)は、印刷実行部50が印刷工程を実行中の時刻T1、T2の状態がそれぞれ図示されている。図3(C)は、転写位置SP(図3(A))における表面電位Vsの時間に対する変動を示すグラフである。転写位置SPは、感光ドラム54Kと、対応する転写ローラ55Kとによって、印刷媒体Pへのトナー像の転写が行われる位置である。   A laser printer using positively charged toner will be described. FIG. 3 is a diagram illustrating the surface potential Vs at the transfer position SP of the photosensitive drum 54K during transfer. Even when the surface potential Vs varies during transfer as described with reference to FIG. 3, steady density unevenness occurs. 3A and 3B show a structure in the vicinity of one photosensitive drum 54K. FIGS. 3A and 3B show states at times T1 and T2 during which the print execution unit 50 is executing the printing process. FIG. 3C is a graph showing the variation of the surface potential Vs with respect to time at the transfer position SP (FIG. 3A). The transfer position SP is a position where the toner image is transferred onto the print medium P by the photosensitive drum 54K and the corresponding transfer roller 55K.

図3に示すように、転写ローラ55Kには、転写バイアスVtが印加される。本実施例では、転写バイアスVtは、所定の制御(例えば、定電流制御)によって、負の電位となるように、印加される。転写バイアスVtが印加された場合における表面電位Vsの安定電位(目標値)をV1とする。   As shown in FIG. 3, a transfer bias Vt is applied to the transfer roller 55K. In this embodiment, the transfer bias Vt is applied so as to be a negative potential by predetermined control (for example, constant current control). The stable potential (target value) of the surface potential Vs when the transfer bias Vt is applied is defined as V1.

時刻T1では、搬送中の印刷媒体Pの下流端が、転写位置SPに到達していない。この時点では、表面電位Vsは、安定電位V1である。時刻T2では、印刷媒体Pの下流端が、転写位置SPに到達する。このとき、感光ドラム54Kから転写ローラ55へ電荷が流れにくくなり、感光ドラム54の電圧降下が急激に小さくなる。その結果、感光ドラム54の電位が急激に上昇する(図3(C))。図3(C)の例では、表面電位Vsは、安定電位V1から、安定電位V1より高い上昇電位V2まで上昇している。急激な電位の変化は、極めて短い時間だけ発生し、その後は、表面電位Vsは比較的緩やかに変化する。例えば、表面電位Vsは、安定電位V1より高く、かつ、上昇電位V2より低い中間電位V3となる(図3(C))。   At time T1, the downstream end of the printing medium P being conveyed has not reached the transfer position SP. At this time, the surface potential Vs is the stable potential V1. At time T2, the downstream end of the print medium P reaches the transfer position SP. At this time, it is difficult for the electric charge to flow from the photosensitive drum 54K to the transfer roller 55, and the voltage drop of the photosensitive drum 54 is rapidly reduced. As a result, the potential of the photosensitive drum 54 rapidly increases (FIG. 3C). In the example of FIG. 3C, the surface potential Vs rises from the stable potential V1 to the rising potential V2 higher than the stable potential V1. The rapid potential change occurs for a very short time, and thereafter, the surface potential Vs changes relatively slowly. For example, the surface potential Vs becomes an intermediate potential V3 that is higher than the stable potential V1 and lower than the rising potential V2 (FIG. 3C).

その後、表面電位Vsは、安定電位V1に向かって、緩やかに変化する。図3(C)の例では、時刻T3から、表面電位Vsが、中間電位V3から安定電位V1に向かって低下している。ただし、安定電位V1に向かって緩やかに低下する途中の時刻T4において、表面電位Vsは、一時的に、上昇電位V2に近い値まで、急激に上昇する(図3(C))。   Thereafter, the surface potential Vs gradually changes toward the stable potential V1. In the example of FIG. 3C, the surface potential Vs decreases from the intermediate potential V3 toward the stable potential V1 from time T3. However, at time T4 during which it gradually decreases toward the stable potential V1, the surface potential Vs temporarily rises to a value close to the rising potential V2 temporarily (FIG. 3C).

ここで、時刻T4において、表面電位Vsの急激な上昇が生じる理由を説明する。時刻T2において、転写位置SPにおいて表面電位Vsの急激な上昇が生じたとき、回転する感光ドラム54Kの表面のうち、転写位置SPに位置していた部分の電位は、すぐに回復せず、時刻T4においても上昇したままである。感光ドラム54Kの電位上昇部分は、感光ドラム54Kが1回転したとき、再び転写位置SPに戻ってくる。時刻T4は、感光ドラム54Kの電位上昇部分が、転写位置SPに戻ってきた時刻である。以上の説明から解るように、感光ドラム54Kが1回転するために要する期間、すなわち、回転周期は、(T4−T1)である。同様の表面電位Vsの変動は、全ての感光ドラム54C、54M、54Y、54Kで発生する。   Here, the reason why the surface potential Vs rapidly increases at time T4 will be described. When the surface potential Vs suddenly increases at the transfer position SP at time T2, the potential of the portion located at the transfer position SP on the surface of the rotating photosensitive drum 54K is not recovered immediately, It remains elevated at T4. The potential rising portion of the photosensitive drum 54K returns to the transfer position SP again when the photosensitive drum 54K rotates once. Time T4 is the time when the potential rising portion of the photosensitive drum 54K returns to the transfer position SP. As can be seen from the above description, the period required for one rotation of the photosensitive drum 54K, that is, the rotation cycle is (T4-T1). Similar fluctuations in the surface potential Vs occur in all the photosensitive drums 54C, 54M, 54Y, and 54K.

表面電位Vsが低いほど、現像ローラ53から感光ドラム54へのトナー像の現像が促進されて、印刷濃度は高くなる。したがって、表面電位Vsの変動に起因して濃度ムラが発生する。図3を参照して説明したとおり、表面電位Vsの変動は、印刷媒体Pの下流端が転写位置SPに到達したことを契機として、発生する。したがって、表面電位Vsの変動に起因する濃度ムラは、定常的に、印刷画像の媒体上位置に対して、同じ傾向で生じる。   The lower the surface potential Vs, the more the development of the toner image from the developing roller 53 to the photosensitive drum 54 is promoted, and the print density increases. Therefore, density unevenness occurs due to fluctuations in the surface potential Vs. As described with reference to FIG. 3, the fluctuation of the surface potential Vs occurs when the downstream end of the print medium P reaches the transfer position SP. Therefore, the density unevenness due to the fluctuation of the surface potential Vs constantly occurs in the same tendency with respect to the position on the medium of the print image.

以上説明したように、様々な要因によって、濃度ムラが、定常的に、印刷画像の媒体上位置に対して、同じ傾向で生じる。なお、正帯電トナーを使用するレーザープリンタで説明したが、負帯電トナーを使用するレーザープリンタでも、表面電位が反転するが、同様の原理にて濃度ムラが、定常的に発生する。   As described above, due to various factors, density unevenness constantly occurs in the same tendency with respect to the position on the medium of the print image. Although the laser printer using the positively charged toner has been described, the surface potential is also reversed in the laser printer using the negatively charged toner, but the density unevenness constantly occurs on the same principle.

図4は、媒体上位置に対する濃度ムラの一例を示すグラフである。このような濃度ムラは、以下のように調査することができる。まず、調査者は、印刷媒体Pの全体に、単色の均一画像を表すテスト画像を、印刷装置100に印刷させる。テスト画像を表すテスト画像データは、1種類のトナー(例えば、C(シアン)のトナー)に対応する色(例えば、シアン)を表す1種類のCMYK値(例えば、CMYK=(255、0、0、0))で構成された画像データである。したがって、テスト画像は、理想的には、画像全体が均一な濃度となるべき画像である。調査者は、テスト画像の印刷結果の濃度を測定して、媒体位置ごとの濃度を表す濃度特性値CPを取得する。   FIG. 4 is a graph showing an example of density unevenness with respect to the position on the medium. Such density unevenness can be investigated as follows. First, the investigator causes the printing apparatus 100 to print a test image representing a single color uniform image on the entire print medium P. The test image data representing the test image includes one type of CMYK value (for example, CMYK = (255, 0, 0) representing a color (for example, cyan) corresponding to one type of toner (for example, C (cyan) toner). , 0)). Therefore, ideally, the test image is an image that should have a uniform density throughout the image. The investigator measures the density of the print result of the test image, and acquires the density characteristic value CP representing the density for each medium position.

図4のグラフの横軸は、媒体上位置(印刷媒体P上の副走査方向の座標)であり、縦軸は、シアンの濃度特性値CPである。媒体上位置は、印刷媒体Pの下流端を0、上流端をPn(0<Pn)として表す。図4では、下流端0〜上流端Pnまでの全範囲のうち、下流端を始点とした一部の範囲(0〜Pm)の濃度特性値CPがプロットされている。本実施例では、濃度特性値CPは、測定した各媒体上位置の濃度のうちの最低濃度を基準値(0)として、当該基準値に対する相対値で表されている。具体的には、濃度特性値CPには、最低濃度を255とした場合の値から255を減算した値が、用いられている。例えば、特定の媒体上位置の濃度が、最低濃度を255とした場合に、261で表される場合には、特定の媒体上位置の濃度特性値CPは、6である。   The horizontal axis of the graph of FIG. 4 is the medium position (coordinate in the sub-scanning direction on the print medium P), and the vertical axis is the cyan density characteristic value CP. The position on the medium represents the downstream end of the print medium P as 0 and the upstream end as Pn (0 <Pn). In FIG. 4, the density characteristic values CP of a partial range (0 to Pm) starting from the downstream end among the entire range from the downstream end 0 to the upstream end Pn are plotted. In this embodiment, the density characteristic value CP is expressed as a relative value with respect to the reference value, with the lowest density of the measured densities on the medium as the reference value (0). Specifically, for the density characteristic value CP, a value obtained by subtracting 255 from the value when the minimum density is 255 is used. For example, when the density at a specific medium position is represented by 261 when the minimum density is 255, the density characteristic value CP at the specific medium position is 6.

図4には、上述した表面電位Vsの変動(図3(C))に対応した印刷画像の濃度の変動が表れている。例えば、図4において、媒体上位置0(下流端)の濃度特性値CPは、時刻T2の表面電位Vs(図3(C))に対応して低下している。また、媒体上位置Paの濃度特性値CPは、時刻T4の表面電位Vs(図3(C))に対応して低下している。すなわち、濃度特性値CPの変化量は、媒体上位置0と、媒体上位置Paとの近傍で、他の位置と比較して、急激に大きくなっている。媒体上位置0と、媒体上位置Paとの間の距離RDは、感光ドラム54の外周長に対応している。外周長は、感光ドラム54を回転軸に垂直な面で切断した円形の切断面の円周の長さである。ここで、媒体上位置0は、「特定の媒体上位置である第1の位置」の例であり、媒体上位置Paは、「特定の媒体上位置である第2の位置」の例であり、距離RDは、「印刷実行部に含まれる特定の回転体の回転周期に対応する距離」の例である。   FIG. 4 shows the variation in the density of the printed image corresponding to the above-described variation in the surface potential Vs (FIG. 3C). For example, in FIG. 4, the density characteristic value CP at the position 0 on the medium (downstream end) decreases corresponding to the surface potential Vs at time T2 (FIG. 3C). Further, the density characteristic value CP at the position Pa on the medium decreases corresponding to the surface potential Vs at time T4 (FIG. 3C). In other words, the amount of change in the density characteristic value CP is rapidly increased near the medium position 0 and the medium position Pa as compared with other positions. A distance RD between the medium upper position 0 and the medium upper position Pa corresponds to the outer peripheral length of the photosensitive drum 54. The outer circumferential length is the circumferential length of a circular cut surface obtained by cutting the photosensitive drum 54 along a plane perpendicular to the rotation axis. Here, the medium position 0 is an example of “a first position that is a specific medium position”, and the medium position Pa is an example of “a second position that is a specific medium position”. The distance RD is an example of “a distance corresponding to a rotation cycle of a specific rotating body included in the print execution unit”.

また、媒体上位置Psは、時刻T3に対応している。時刻Ts以降の表面電位Vsの上昇に対応して、媒体上位置Psより上流側では、濃度特性値CPが上昇していることが解る。この結果、媒体上位置Psより下流側の濃度特性値CPの平均値は、媒体上位置Psより上流側の濃度特性値CPの平均値以下であることが解る。ここで、媒体上位置Psは、「印刷媒体上の特定位置」の例であり、媒体上位置Psより下流側の媒体上位置に対応する濃度特性値CPは、「第1種の特性値」の例であり、媒体上位置Psより上流側の媒体上位置に対応する濃度特性値CPは、「第2種の特性値」の例である。   The medium position Ps corresponds to time T3. It can be seen that the density characteristic value CP is increased upstream of the on-medium position Ps corresponding to the increase in the surface potential Vs after the time Ts. As a result, it can be seen that the average value of the density characteristic value CP on the downstream side from the medium position Ps is equal to or lower than the average value of the density characteristic value CP on the upstream side of the medium position Ps. Here, the on-medium position Ps is an example of “a specific position on the print medium”, and the density characteristic value CP corresponding to the on-medium position on the downstream side of the on-medium position Ps is “the first type of characteristic value”. The density characteristic value CP corresponding to the medium position upstream from the medium position Ps is an example of “second type characteristic value”.

A−3:プリンタドライバ500の印刷処理:
印刷装置100のプリンタドライバ500は、上述した媒体上位置に対して、定常的に生じる濃度ムラを抑制することができる印刷処理を実行する。まず、この印刷処理で用いられる特性値テーブル134について説明する。
A-3: Print processing of the printer driver 500:
The printer driver 500 of the printing apparatus 100 executes a printing process that can suppress the density unevenness that occurs regularly with respect to the above-described position on the medium. First, the characteristic value table 134 used in this printing process will be described.

図5は、特性値テーブル134の一例を示す図である。特性値テーブル134は、印刷装置100において用いられる4種類のトナー(CMYK)ごとに調査された濃度特性値CP(図4)が記録されたテーブルである。図5には、シアン(C)、マゼンタ(M)、イエロ(Y)、ブラック(K)のそれぞれの濃度特性値CPを記録した4つのテーブルが図示されている。各テーブルには、下流端(0)〜上流端(Pn)までのPn個の媒体上位置(Pnは、例えば、1000〜10000の自然数)に対応するPn個の濃度特性値CPが格納されている。特性値テーブル134は、例えば、印刷装置100の製造者によって作成され、出荷段階において、印刷装置100の不揮発性メモリ130に格納されている(図1)。   FIG. 5 is a diagram illustrating an example of the characteristic value table 134. The characteristic value table 134 is a table in which density characteristic values CP (FIG. 4) investigated for each of the four types of toners (CMYK) used in the printing apparatus 100 are recorded. FIG. 5 shows four tables in which density characteristic values CP of cyan (C), magenta (M), yellow (Y), and black (K) are recorded. Each table stores Pn density characteristic values CP corresponding to Pn medium positions from the downstream end (0) to the upstream end (Pn) (Pn is a natural number of, for example, 1000 to 10000). Yes. The characteristic value table 134 is created by the manufacturer of the printing apparatus 100, for example, and is stored in the nonvolatile memory 130 of the printing apparatus 100 at the shipping stage (FIG. 1).

図6は、印刷処理のフローチャートである。この印刷処理は、ユーザによって選択された画像データを用いて印刷データを生成し、生成した印刷データを印刷装置100に供給する処理である。プリンタドライバ500は、例えば、ユーザの印刷指示に応じて、印刷処理を開始する。ここでは、RGB画像データがユーザによって選択されたものとして、印刷処理の内容を説明する。RGB画像データは、各画素のRGB値で構成されたビットマップ形式の画像データである。他の形式のデータが選択された場合には、プリンタドライバ500は、当該データを、公知の手法を用いて、RGB画像データに変換する。   FIG. 6 is a flowchart of the printing process. This printing process is a process for generating print data using image data selected by the user and supplying the generated print data to the printing apparatus 100. For example, the printer driver 500 starts print processing in response to a print instruction from the user. Here, the contents of the printing process will be described assuming that the RGB image data is selected by the user. The RGB image data is image data in a bitmap format composed of RGB values of each pixel. When data in another format is selected, the printer driver 500 converts the data into RGB image data using a known method.

ステップS10では、画像データ取得部510は、印刷対象である対象画像を表す対象画像データとしてRGB画像データを取得し、当該RGB画像データをワーク領域234に格納する。   In step S <b> 10, the image data acquisition unit 510 acquires RGB image data as target image data representing a target image to be printed, and stores the RGB image data in the work area 234.

ステップS20では、印刷データ生成部520は、特性値テーブル134を取得する。例えば、印刷データ生成部520は、取得コマンドを印刷装置100に送信し、取得コマンドに対する応答として、特性値テーブル134を、印刷装置100から取得する。取得された特性値テーブル134は、ワーク領域234に格納される。   In step S20, the print data generation unit 520 acquires the characteristic value table 134. For example, the print data generation unit 520 transmits an acquisition command to the printing apparatus 100 and acquires the characteristic value table 134 from the printing apparatus 100 as a response to the acquisition command. The acquired characteristic value table 134 is stored in the work area 234.

ステップS30では、印刷データ生成部520は、RGB画像データに対して解像度変換処理を実行して、RGB画像データを印刷解像度に対応する画素数の画像データに変換する。   In step S30, the print data generation unit 520 performs resolution conversion processing on the RGB image data, and converts the RGB image data into image data having the number of pixels corresponding to the print resolution.

図7は、解像度変換処理後のRGB画像データ300を概念的に示す図である。図7には、RGB画像データ300内の各画素(307、308等)のRGB値、すなわち、R値(例えばR(i,j))と、G値(例えばG(i,j))と、B値(例えばB(i,j))と、が図示されている。R値、G値、B値は、例えば、256階調(0〜255)の階調値である。なお、各画素内に示す座標(x、y)のx座標は、各画素の列番号を示し、y座標は、各画素の行番号を示す(後述する図8、図11、も同様)。   FIG. 7 is a diagram conceptually showing the RGB image data 300 after the resolution conversion processing. FIG. 7 shows RGB values, that is, R values (for example, R (i, j)) and G values (for example, G (i, j)) of each pixel (307, 308, etc.) in the RGB image data 300. , B values (for example, B (i, j)) are shown. The R value, the G value, and the B value are, for example, 256 gradation values (0 to 255). Note that the x coordinate of the coordinates (x, y) shown in each pixel indicates the column number of each pixel, and the y coordinate indicates the row number of each pixel (the same applies to FIGS. 8 and 11 described later).

ステップS40では、印刷データ生成部520の色変換部521(図1)は、RGB画像データ300をCMYK画像データ310に変換する色変換処理を実行する。CMYK画像データ310は、画素ごとのCMYK値で構成されたビットマップ形式の画像データである。CMYK画像データ310は、色変換処理後の画像データであるので、変換画像データとも呼ぶ。色変換処理は、例えば、RGB画像データ300内のRGB値を、ルックアップテーブルを用いて、CMYK値に変換することによって、実行される。   In step S <b> 40, the color conversion unit 521 (FIG. 1) of the print data generation unit 520 executes color conversion processing that converts the RGB image data 300 into CMYK image data 310. The CMYK image data 310 is bitmap format image data composed of CMYK values for each pixel. Since the CMYK image data 310 is image data after color conversion processing, it is also called converted image data. The color conversion process is executed, for example, by converting RGB values in the RGB image data 300 into CMYK values using a lookup table.

図8は、CMYK画像データ310を概念的に示す図である。図8には、CMYK画像データ310内の各画素(317、318等)のCMYK値、すなわち、C値(例えばC(i,j))と、M値(例えばM(i,j))と、Y値(例えばY(i,j))と、K値(例えばK(i,j))と、が図示されている。C値、M値、Y値、K値は、例えば、256階調(0〜255)の階調値である。   FIG. 8 is a diagram conceptually showing the CMYK image data 310. FIG. 8 shows CMYK values, that is, C values (for example, C (i, j)) and M values (for example, M (i, j)) of each pixel (317, 318, etc.) in the CMYK image data 310. , Y value (for example, Y (i, j)) and K value (for example, K (i, j)) are shown. The C value, M value, Y value, and K value are, for example, 256 gradation values (0 to 255).

ステップS50では、印刷データ生成部520のハーフトーン処理部522(図1)は、CMYK画像データ310に対してハーフトーン処理としての誤差拡散処理を実行して、各画素のドットの形成状態を表すドットデータを生成する。   In step S50, the halftone processing unit 522 (FIG. 1) of the print data generation unit 520 executes error diffusion processing as halftone processing on the CMYK image data 310 to represent the dot formation state of each pixel. Generate dot data.

図9は、誤差拡散処理のフローチャートである。図9の誤差拡散処理は、CMYKの1個の成分値に対する処理を示している。図9の誤差拡散処理は、4種類の成分値(C値、M値、Y値、K値)のそれぞれに対して実行され、CMYKの各成分について、ドットデータが生成される。   FIG. 9 is a flowchart of error diffusion processing. The error diffusion processing of FIG. 9 shows processing for one component value of CMYK. The error diffusion process of FIG. 9 is executed for each of the four types of component values (C value, M value, Y value, K value), and dot data is generated for each component of CMYK.

ステップS505では、ハーフトーン処理部522は、注目行を選択する。CMYK画像データ310が表す画像は、図8の縦方向の画素数kの行を含んでいる(kは自然数)。これらk本の行の中から、1本の行が注目行として選択される。注目行は、図8の上側から順次に1行ずつ選択される。   In step S505, the halftone processing unit 522 selects a target row. The image represented by the CMYK image data 310 includes a row having k pixels in the vertical direction in FIG. 8 (k is a natural number). From these k rows, one row is selected as the target row. The target row is selected one by one from the top in FIG.

図10は、本印刷処理によって生成される印刷データに従って印刷媒体Pに形成されるべき印刷画像IMの概略図である。図10の上方向は、搬送方向(副走査方向)であり、図10の左右方向は、主走査方向である。すなわち、図10の印刷媒体Pの上側の端部は、印刷媒体Pの下流端であり、下側の端部は、印刷媒体Pの上流端である。印刷媒体Pの左端に付された数値0〜Pnは、上述した媒体上位置を表している。印刷画像IMは、CMYK画像データが表す画像のk本の行にそれぞれ対応するk本の印刷行Rn(nは行番号、1以上k以下の自然数)を含んでいる(図10)。この行番号nは、CMYK画像データが表す画像のk本の行の行番号としても用いる。1回目のステップS505で選択される注目行(行番号1)は、図10における最も上の印刷行R1に対応する行であり、2回目のステップS505で選択される注目行(行番号2)は、上から2番目の印刷行R2に対応する行である。   FIG. 10 is a schematic diagram of a print image IM to be formed on the print medium P according to the print data generated by the print processing. The upper direction in FIG. 10 is the transport direction (sub-scanning direction), and the left-right direction in FIG. 10 is the main scanning direction. That is, the upper end of the print medium P in FIG. 10 is the downstream end of the print medium P, and the lower end is the upstream end of the print medium P. Numerical values 0 to Pn attached to the left end of the print medium P represent the above-described position on the medium. The print image IM includes k print rows Rn (n is a row number and a natural number of 1 to k) corresponding to k rows of the image represented by the CMYK image data (FIG. 10). This line number n is also used as the line number of k lines of the image represented by the CMYK image data. The attention line (line number 1) selected in the first step S505 is a line corresponding to the uppermost print line R1 in FIG. 10, and the attention line (line number 2) selected in the second step S505. Is a line corresponding to the second print line R2 from the top.

ステップS515では、補正用データ取得部525は、注目行と、近傍行と、にそれぞれ対応する複数の濃度特性値CPを、特性値テーブル134から取得する。第1実施例では、注目行と、第1の近傍行と、にそれぞれ対応する濃度特性値CPが取得される。第1の近傍行は、注目行の行番号をNとすると、CMYK画像データ310が表す画像の行番号(N−1)の行である。すなわち、第1の近傍行は、注目行に対して、搬送方向(副走査方向)の下流側に隣接する行である。また、第1の近傍行は、現在の注目行より1回前のステップS505〜S565の処理における注目行である。以上の説明から解るように、第1の近傍行を構成する画素(第1の近傍画素)は、注目行を構成する注目画素とは副走査方向の位置が異なる画素であり、注目画素より前に誤差拡散処理の処理対象とされる画素である。   In step S515, the correction data acquisition unit 525 acquires, from the characteristic value table 134, a plurality of density characteristic values CP respectively corresponding to the target row and the neighboring row. In the first embodiment, density characteristic values CP respectively corresponding to the target row and the first neighboring row are acquired. The first neighboring row is a row of the row number (N-1) of the image represented by the CMYK image data 310, where N is the row number of the target row. That is, the first neighboring row is a row adjacent to the target row on the downstream side in the transport direction (sub-scanning direction). The first neighboring line is the attention line in the processing of steps S505 to S565 one time before the current attention line. As can be seen from the above description, the pixels constituting the first neighboring row (first neighboring pixels) are pixels whose positions in the sub-scanning direction are different from those of the pixel of interest constituting the row of interest. These are pixels that are subject to error diffusion processing.

なお、注目行の行番号Nが1である場合には、行番号が0以下の行は存在しないので、近傍行が存在しない。この場合には、注目行に対応する濃度特性値CPだけが取得される。   When the row number N of the target row is 1, there is no row having a row number of 0 or less, so there is no neighboring row. In this case, only the density characteristic value CP corresponding to the target row is acquired.

図10には、注目行の行番号が4である場合を例として、注目行に対応する印刷行(注目印刷行と呼ぶ)と、近傍行に対応する印刷行(近傍印刷行と呼ぶ)と、が図示されている。注目行の行番号が4である場合には、注目印刷行は、印刷行R4であり、第1の近傍行に対応する第1の近傍印刷行は、印刷行R3である。   FIG. 10 shows a case where the line number of the attention line is 4, for example, a print line corresponding to the attention line (referred to as the attention print line), and a print line corresponding to the neighboring line (referred to as the vicinity printing line). , Are shown. When the line number of the target line is 4, the target print line is the print line R4, and the first neighboring print line corresponding to the first neighboring line is the print line R3.

注目行に対応する濃度特性値CPを取得するために、補正用データ取得部525は、まず、注目印刷行の媒体上位置(搬送方向の座標)を特定する。補正用データ取得部525は、例えば、印刷解像度と、注目印刷行の行番号と、印刷媒体Pの下流端(図10の上側の端部)に設けられる余白の幅(搬送方向の幅)と、に基づいて、注目印刷行の媒体上位置を特定することができる。補正用データ取得部525は、図5の特性値テーブル134に記録されているPn個の濃度特性値CPのうち、対応付けられた媒体上位置(0〜Pnで表される:図5)が、注目印刷行の媒体上位置に最も近い濃度特性値CPを取得する。なお、取得される濃度特性値CPは、処理対象の色成分(CMYKのいずれか)についての濃度特性値CPである。補正用データ取得部525は、同様にして、近傍印刷行の媒体上位置に対応する濃度特性値CPを、特性値テーブル134から取得する。取得された濃度特性値CPは、近傍行の濃度特性値CPである。   In order to acquire the density characteristic value CP corresponding to the target line, the correction data acquisition unit 525 first specifies the position on the medium (coordinate in the transport direction) of the target print line. The correction data acquisition unit 525 includes, for example, the print resolution, the line number of the target print line, and the margin width (width in the transport direction) provided at the downstream end (the upper end in FIG. 10) of the print medium P. , The position on the medium of the target print line can be specified. The correction data acquisition unit 525 has an associated on-medium position (represented by 0 to Pn: FIG. 5) among the Pn density characteristic values CP recorded in the characteristic value table 134 of FIG. Then, the density characteristic value CP closest to the position on the medium of the target print line is acquired. The acquired density characteristic value CP is the density characteristic value CP for the color component to be processed (any one of CMYK). Similarly, the correction data acquisition unit 525 acquires, from the characteristic value table 134, the density characteristic value CP corresponding to the on-medium position of the neighboring print line. The acquired density characteristic value CP is the density characteristic value CP of the neighboring row.

本実施例では、特性値テーブル134には、印刷画像における互いに隣接する2本の印刷行の間の距離(行間のピッチ)に対応する間隔で、濃度特性値CPが記録されているものとする。このために、1本の印刷行と、特性値テーブル134に記録された1個の濃度特性値CPとが、1対1で対応している。ただし、特性値テーブル134に記録された濃度特性値CPは、印刷行と1対1で対応している必要はない。例えば、特性値テーブル134には、行間のピッチよりも広い間隔で、濃度特性値CPが記録されていても良い。この場合には、例えば、印刷行に対応する濃度特性値CPは、特性値テーブル134に記録された複数の濃度特性値CPを用いた補間計算によって算出されても良い。補間計算には、例えば、印刷行の媒体上位置と、補完計算に用いる濃度特性値CPに対応付けられた媒体上位置との間の距離に応じた線形補間が採用され得る。   In this embodiment, it is assumed that the density characteristic value CP is recorded in the characteristic value table 134 at an interval corresponding to the distance between two adjacent print lines in the print image (pitch between lines). . For this reason, one print line corresponds to one density characteristic value CP recorded in the characteristic value table 134 on a one-to-one basis. However, the density characteristic value CP recorded in the characteristic value table 134 does not have to correspond one-to-one with the print line. For example, the density characteristic value CP may be recorded in the characteristic value table 134 at an interval wider than the pitch between rows. In this case, for example, the density characteristic value CP corresponding to the print line may be calculated by interpolation calculation using a plurality of density characteristic values CP recorded in the characteristic value table 134. For the interpolation calculation, for example, linear interpolation according to the distance between the position on the medium of the print line and the position on the medium associated with the density characteristic value CP used for the complementary calculation may be employed.

ステップS520では、補正用データ取得部525は、注目行のための注目補正用データHD(注目行に含まれる複数個の画素のための注目補正用データHDとも言える)を算出する。注目補正用データHDは、255+Dtarget+x・(Dtarget−Dpre1)と表すことができる。ここで、「255」は256階調の最大値であり、「x」は予め決定されている係数であり、「Dtarget」は注目行に対応する濃度特性値CPであり、「Dpre1」は第1の近傍行に対応する濃度特性値CPである。例えば、ステップS515において、注目行に対応する特性データ「2.0」と、第1の近傍行に対応する特性データ「1.5」と、が取得される場合には、補正用データ取得部525は、255+2.0+x・(2.0−1.5)を計算することによって、注目補正用データHDを算出する。係数xは、誤差拡散処理によって、用いられる誤差拡散マトリクスに応じた係数である。   In step S520, the correction data acquisition unit 525 calculates attention correction data HD for the target row (also referred to as target correction data HD for a plurality of pixels included in the target row). The attention correction data HD can be expressed as 255 + Dtarget + x · (Dtarget−Dpre1). Here, “255” is the maximum value of 256 gradations, “x” is a predetermined coefficient, “Dtarget” is the density characteristic value CP corresponding to the target row, and “Dpre1” is the first value. This is the density characteristic value CP corresponding to one neighboring row. For example, when the characteristic data “2.0” corresponding to the target row and the characteristic data “1.5” corresponding to the first neighboring row are acquired in step S515, the correction data acquisition unit 525 calculates the attention correction data HD by calculating 255 + 2.0 + x · (2.0−1.5). The coefficient x is a coefficient corresponding to an error diffusion matrix used by error diffusion processing.

図11は、誤差拡散マトリクスを用いた補正画素値PV'の算出について説明する図である。図11には、第1実施例で用いる誤差拡散マトリクスMT1が図示されている。誤差拡散マトリクスには、注目画素の周辺に位置するM1個の周辺画素と、M1個の周辺画素に対応するM1個の誤差拡散係数と、が規定されている。係数xは、誤差拡散マトリクスに規定されたM1個の周辺画素に対応するM1個の誤差拡散係数の総和を分母とすると共に、誤差拡散マトリクスに規定されてM1個の周辺画素のうち、注目画素が属する行以外の行に属するM2個(M2≦M1)の周辺画素に対応するM2個の誤差拡散係数の総和を分子とする数値に、設計値rが乗算された数値である。例えば、図11の誤差拡散マトリクスMT1では、画素317が注目画素である場合には、2個の画素313,316がM1個(M1=2)の周辺画素であり、1個の画素313がM2個(M2=1)の周辺画素である。従って、M1個の誤差拡散係数の総和が「2(=1+1)」であり、M2個の周辺画素に対応するM2個の誤差拡散係数の総和が「1」である。このために、係数xは、「1/2×r」である。なお、係数xは、補正用データ取得部525が計算を実行することによって決定されてもよいし、印刷装置100の製造者によって予め決定されていて、プリンタドライバ500(ドライバプログラム232)に予め記録されていてもよい。   FIG. 11 is a diagram illustrating calculation of the corrected pixel value PV ′ using the error diffusion matrix. FIG. 11 shows an error diffusion matrix MT1 used in the first embodiment. In the error diffusion matrix, M1 peripheral pixels located around the target pixel and M1 error diffusion coefficients corresponding to the M1 peripheral pixels are defined. The coefficient x uses the sum of M1 error diffusion coefficients corresponding to the M1 peripheral pixels defined in the error diffusion matrix as a denominator, and the pixel of interest among the M1 peripheral pixels defined in the error diffusion matrix. A numerical value obtained by multiplying a numerical value having the numerator of the sum of M2 error diffusion coefficients corresponding to M2 (M2 ≦ M1) peripheral pixels belonging to a row other than a row to which the design value r belongs. For example, in the error diffusion matrix MT1 in FIG. 11, when the pixel 317 is the target pixel, the two pixels 313 and 316 are M1 (M1 = 2) peripheral pixels, and the one pixel 313 is M2 These are (M2 = 1) peripheral pixels. Accordingly, the sum of M1 error diffusion coefficients is “2 (= 1 + 1)”, and the sum of M2 error diffusion coefficients corresponding to M2 peripheral pixels is “1”. For this reason, the coefficient x is “½ × r”. The coefficient x may be determined by the calculation by the correction data acquisition unit 525 or may be determined in advance by the manufacturer of the printing apparatus 100 and recorded in advance in the printer driver 500 (driver program 232). May be.

なお、設計値rは、印刷装置100の製造者によって予め決められた値である。設計値rは、0<r≦3を満たすどのような値であってもよい。一般的に言うと、係数xは、M1個の誤差拡散係数の総和と、M2個の誤差拡散係数の総和と、の比率に基づいて決定されればよい。なお、変形例では、係数xは、M1個の誤差拡散係数の総和のみに基づいて決定されてもよい(例えばx=1/M1個の誤差拡散係数の総和)。より一般的に言うと、係数xは、M1個の誤差拡散係数に基づいて決定されればよい。   The design value r is a value determined in advance by the manufacturer of the printing apparatus 100. The design value r may be any value that satisfies 0 <r ≦ 3. Generally speaking, the coefficient x may be determined based on the ratio between the sum of M1 error diffusion coefficients and the sum of M2 error diffusion coefficients. In the modification, the coefficient x may be determined based only on the sum of M1 error diffusion coefficients (for example, x = 1 / M1 sum of error diffusion coefficients). More generally speaking, the coefficient x may be determined based on M1 error diffusion coefficients.

なお、本ステップで算出される注目補正用データHDは、注目画素にドットを形成した場合の当該ドットの濃度を、256階調で表した値(相対濃度値)を、濃度ムラを考慮して算出した値であると言える。濃度ムラを考慮しない従来の誤差拡散処理で用いられる相対濃度値は、例えば、255である。   Note that the attention correction data HD calculated in this step is a value (relative density value) representing the density of the dot when the dot is formed on the target pixel in 256 gradations, considering density unevenness. It can be said that it is a calculated value. The relative density value used in the conventional error diffusion processing that does not consider density unevenness is, for example, 255.

注目補正用データHDが算出されると、ステップS525では、ハーフトーン処理部522は、1個の注目画素を処理対象の画素として選択する。注目画素は、注目行に含まれる複数個の画素の中から、左側から順に1個ずつ選択される。   When the attention correction data HD is calculated, in step S525, the halftone processing unit 522 selects one target pixel as a pixel to be processed. The target pixel is selected one by one from the left side in order from the plurality of pixels included in the target row.

ステップS530では、誤差使用補正部526は、注目画素のCMYK値のうち、処理対象の成分値(注目画素値PVと呼ぶ)を補正して、補正画素値PV'(補正済みの値)を算出する。   In step S530, the error use correction unit 526 corrects a component value to be processed (referred to as a target pixel value PV) among the CMYK values of the target pixel and calculates a corrected pixel value PV ′ (corrected value). To do.

具体的には、誤差使用補正部526は、複数個の周辺画素について算出された複数個の誤差値ΔEを用いて、注目画素値PVを補正する。周辺画素は、注目画素より前にS530〜S565の処理が終了している処理済み画素群のうち、注目画素の近傍に位置する画素である。後述するようにステップS550またはS555にて、誤差が算出されるので、処理済み画素群の画素については、誤差値ΔEが算出済みである。複数個の周辺画素は、図11に示す誤差拡散マトリクスMT1によって特定される。注目画素を図11の画素317とすると、誤差拡散マトリクスMT1によって、注目画素317の左に位置する画素316と、上に位置する画素313が、周辺画素として採用される。   Specifically, the error use correction unit 526 corrects the target pixel value PV using a plurality of error values ΔE calculated for a plurality of peripheral pixels. The peripheral pixels are pixels located in the vicinity of the target pixel in the processed pixel group in which the processes of S530 to S565 have been completed before the target pixel. As will be described later, since the error is calculated in step S550 or S555, the error value ΔE has been calculated for the pixels in the processed pixel group. The plurality of peripheral pixels are specified by the error diffusion matrix MT1 shown in FIG. If the pixel of interest is the pixel 317 of FIG. 11, the pixel 316 located to the left of the pixel of interest 317 and the pixel 313 located above the pixel 317 are adopted as peripheral pixels by the error diffusion matrix MT1.

誤差使用補正部526は、採用された2個の周辺画素の誤差値を用いて、図11の画素317内に示される数式に従って、注目画素317の注目画素値PVを補正することによって、補正画素値PV'を算出する。具体的には、誤差使用補正部526は、周辺画素313の誤差値ΔE(i,j−1))と、当該周辺画素313に対応する係数1/2と、を乗算することによって、乗算値を算出する。同様に、誤差使用補正部526は、周辺画素316の誤差値ΔEk(i−1,j))と、当該周辺画素316に対応する係数1/2と、を乗算することによって、乗算値を算出する。次いで、誤差使用補正部526は、2個の周辺画素213,216について算出された2個の乗算値を、注目画素値PVに加算して、補正画素値PV'を算出する。なお、各周辺画素に対応する係数は、誤差拡散マトリクスMT1に規定されている(図11)。別の誤差拡散マトリクスMT2が採用される場合にも、同様の手法によって、補正画素値PV'が算出される。   The error use correction unit 526 corrects the target pixel value PV of the target pixel 317 by correcting the target pixel value PV of the target pixel 317 according to the mathematical formula shown in the pixel 317 of FIG. The value PV ′ is calculated. Specifically, the error use correction unit 526 multiplies the error value ΔE (i, j−1)) of the peripheral pixel 313 by the coefficient ½ corresponding to the peripheral pixel 313 to obtain a multiplication value. Is calculated. Similarly, the error use correction unit 526 calculates a multiplication value by multiplying the error value ΔEk (i−1, j)) of the peripheral pixel 316 by the coefficient ½ corresponding to the peripheral pixel 316. To do. Next, the error use correction unit 526 calculates the corrected pixel value PV ′ by adding the two multiplied values calculated for the two peripheral pixels 213 and 216 to the target pixel value PV. The coefficient corresponding to each peripheral pixel is defined in the error diffusion matrix MT1 (FIG. 11). Even when another error diffusion matrix MT2 is employed, the corrected pixel value PV ′ is calculated by the same method.

ステップS535では、決定部527は、補正画素値PV'が、閾値TH(例えば128)よりも大きいか否かを判断する。補正画素値PV'が、閾値THより大きい場合には(S535:YES)、決定部527は、注目画素の処理対象の成分(CMYKのいずれか)のドット値を「1」に決定する(S540)。ドット値「1」は、ドットを形成することを表す。   In step S535, the determination unit 527 determines whether or not the corrected pixel value PV ′ is larger than a threshold value TH (for example, 128). When the corrected pixel value PV ′ is larger than the threshold value TH (S535: YES), the determination unit 527 determines the dot value of the component to be processed (any one of CMYK) of the target pixel as “1” (S540). ). A dot value “1” represents forming a dot.

ステップS550では、算出部528は、注目画素の誤差値ΔEを算出する。算出部528は、注目画素値PV'から、ステップS520で注目行ごとに算出される注目補正用データHD(255+Dtarget+x・(Dtarget−Dpre1))を減算することによって、誤差値ΔEを算出する。すなわち、実際に表現されるべき注目画素の補正画素値PV'と、濃度特性値CPを用いて算出されたドットの相対濃度値「255+Dtarget+x・(Dtarget−Dpre1)」と、の差分が、誤差値ΔEとして算出されていると、言える。本ステップの注目補正用データHDを用いた誤差値ΔEの算出は、本実施例における補償処理である。補償処理は、後述するように、媒体上位置に応じて生じる印刷濃度のばらつきを補償する処理である。   In step S550, the calculation unit 528 calculates the error value ΔE of the target pixel. The calculation unit 528 calculates the error value ΔE by subtracting the target correction data HD (255 + Dtarget + x · (Dtarget−Dpre1)) calculated for each target row in step S520 from the target pixel value PV ′. That is, the difference between the corrected pixel value PV ′ of the target pixel to be actually expressed and the dot relative density value “255 + Dtarget + x · (Dtarget−Dpre1)” calculated using the density characteristic value CP is an error value. It can be said that it is calculated as ΔE. The calculation of the error value ΔE using the target correction data HD in this step is a compensation process in this embodiment. As will be described later, the compensation processing is processing for compensating for variations in print density that occur according to the position on the medium.

図12は、誤差値ΔEの算出について説明する図である。ステップS550において、誤差値ΔEを算出するための数式が、図12の画素317内に示されている。すなわち、図12には、画素317を注目画素とした処理では、上述したステップS540において、ドット値は、「1」に決定され、ステップS550において、誤差値ΔEは、(PV'−HD)に決定されることが図示されている。   FIG. 12 is a diagram for explaining calculation of the error value ΔE. In step S550, a mathematical formula for calculating the error value ΔE is shown in the pixel 317 of FIG. That is, in FIG. 12, in the process using the pixel 317 as the target pixel, the dot value is determined to be “1” in step S540 described above, and the error value ΔE is set to (PV′−HD) in step S550. It is shown that it is determined.

一方、補正画素値PV'が、閾値TH以下である場合には(S535:NO)、決定部527は、注目画素の処理対象の成分のドット値を「0」に決定する(S545)。ドット値「0」は、ドットを形成しないことを表す。   On the other hand, when the corrected pixel value PV ′ is equal to or less than the threshold value TH (S535: NO), the determination unit 527 determines the dot value of the processing target component of the target pixel to “0” (S545). A dot value “0” indicates that no dot is formed.

ステップS555では、算出部528は、補正画素値PV'を誤差値ΔEとする(ΔE=PV')。即ち、ステップS555では、注目補正用データHDを用いずに、誤差値が算出される。ステップS555において、誤差値ΔEを算出するための数式が、図12の画素318内に示されている。すなわち、図12には、画素318を注目画素とした処理では、上述したステップS545において、ドット値は、「0」に決定され、ステップS555において、誤差値ΔEは、補正画素値PV'に決定されることが図示されている。   In step S555, the calculation unit 528 sets the corrected pixel value PV ′ as an error value ΔE (ΔE = PV ′). That is, in step S555, the error value is calculated without using the attention correction data HD. In step S555, a formula for calculating the error value ΔE is shown in the pixel 318 of FIG. That is, in FIG. 12, in the process using the pixel 318 as the target pixel, the dot value is determined to be “0” in step S545 described above, and the error value ΔE is determined to be the corrected pixel value PV ′ in step S555. Is shown.

ステップS560では、ハーフトーン処理部522は、ステップS550またはS555にて算出された誤差値ΔEを、注目画素の誤差値として、ワーク領域234に格納する。この誤差値ΔEは、後に実行される他の画素を注目画素とした処理において、補正画素値PV'の算出(S530)で利用される。   In step S560, the halftone processing unit 522 stores the error value ΔE calculated in step S550 or S555 in the work area 234 as the error value of the target pixel. This error value ΔE is used in the calculation of the corrected pixel value PV ′ (S530) in the process that uses other pixels to be executed later as the target pixel.

ステップS565では、ハーフトーン処理部522は、注目行に含まれる全ての画素を注目画素として選択したか否かを判断する。注目行に未選択の画素がある場合には(S565:NO)、ハーフトーン処理部522は、ステップS525に戻って未選択の画素を選択して、上述したステップS530〜S560までの処理を繰り返す。注目行の全ての画素が選択済みである場合には(S656:YES)、ハーフトーン処理部522は、ステップS570に移行する。   In step S565, the halftone processing unit 522 determines whether all the pixels included in the target row have been selected as the target pixel. If there is an unselected pixel in the target row (S565: NO), the halftone processing unit 522 returns to step S525, selects an unselected pixel, and repeats the processing from step S530 to S560 described above. . If all the pixels in the target row have been selected (S656: YES), the halftone processing unit 522 proceeds to step S570.

ステップS570では、ハーフトーン処理部522は、CMYK画像データ310が表す画像のk本の行の全てを注目行として選択したか否かを判断する。未選択の行がある場合には(S570:NO)、ハーフトーン処理部522は、ステップS505に戻って未選択の行を選択して、上述したステップS515〜S565までの処理を繰り返す。全ての行が選択済みである場合には(S670:YES)、ハーフトーン処理部522は、処理対象の色成分についての誤差拡散処理を終了する。   In step S570, the halftone processing unit 522 determines whether all k rows of the image represented by the CMYK image data 310 have been selected as the target row. If there is an unselected row (S570: NO), the halftone processing unit 522 returns to step S505, selects an unselected row, and repeats the processing from steps S515 to S565 described above. If all the rows have been selected (S670: YES), the halftone processing unit 522 ends the error diffusion processing for the color component to be processed.

CMYKの4つの色成分の全てについて、図9の誤差拡散処理がそれぞれ実行されると、CMYKの4つの色成分について、画素ごとにドットの形成状態を表すドットデータ(二値データ)がそれぞれ生成される。   When the error diffusion process of FIG. 9 is executed for all four color components of CMYK, dot data (binary data) representing the dot formation state for each pixel is generated for each of the four color components of CMYK. Is done.

CMYKの4つの色成分の全てについて誤差拡散処理が終了すると、図6のステップS60では、プリンタドライバ500の印刷データ供給部530は、生成されたドットデータを用いて印刷データを生成し、当該印刷データを印刷装置100に対して送信する。印刷処理を終了する。印刷データは、例えば、生成されたドットデータに対して、各種のプリンタ制御コードや、データ識別コードを付加して、生成される。プリンタドライバ500は、印刷データを送信すると、印刷処理を終了する。   When error diffusion processing is completed for all four color components of CMYK, in step S60 of FIG. 6, the print data supply unit 530 of the printer driver 500 generates print data using the generated dot data, and the print data is printed. Data is transmitted to the printing apparatus 100. The printing process ends. For example, the print data is generated by adding various printer control codes and data identification codes to the generated dot data. When the printer driver 500 transmits the print data, the print process ends.

印刷装置100の印刷制御部115は、プリンタドライバ500から印刷データを受信すると、当該印刷データを用いて、印刷媒体Pに印刷画像IMを印刷する。   Upon receiving print data from the printer driver 500, the print control unit 115 of the printing apparatus 100 prints the print image IM on the print medium P using the print data.

図13および図14を参照して、本実施例の効果を説明する。図13は、本実施例の印刷処理を用いた印刷結果の印刷濃度を示すグラフである。このグラフは、テスト画像データに対して本実施例の誤差拡散処理(図9)を実行して生成された印刷データの印刷結果の印刷濃度を、媒体上位置に対してプロットしたものである。テスト画像データは、図4のグラフに示す濃度特性値CPを測定する際に用いたテスト画像データ、すなわち、1種類のCMYK値(例えば、CMYK=(255、0、0、0))で構成された均一画像を表す画像データである。図13にプロットされた印刷濃度は、図4のグラフで示す濃度特性を有する印刷実行部50を模擬したシミュレーションを用いて計算された値である。また、図13にプロットされた印刷濃度は、図4にプロットされた濃度特性値CPと比較できるように、濃度特性値CPと同様に、最小濃度を基準値(0)とした値で表されている。図13にプロットされた印刷濃度を、図4の印刷濃度と比較すると、印刷濃度の均一性が向上していることが解る。例えば、図4に表れている濃度特性値CPの急激な低下(図4:媒体上位置0およびPa)は、図13には表れていない。また、図4に表れている媒体上位置Psより下流側の濃度特性値CPが、媒体上位置Psより上流側の濃度特性値CPの平均値より低くなる現象は、図13には表れていない。従って、図3等を参照して説明した感光ドラム54の表面電位Vsの変動に起因する濃度ムラが、本実施例の印刷処理を用いれば抑制できることが解る。また、図4に表れている濃度特性値CPが媒体上位置の変化に対して波打つ現象は、図13には、表れていない。このような波打ち現象は、上述した回転体の偏心に起因する濃度ムラであると考えられ、原因となる回転体の回転周期に対応して周期的な濃度ムラである。このような回転体の偏心に起因する濃度ムラも、本実施例の印刷処理を用いれば抑制できることが解る。   The effect of the present embodiment will be described with reference to FIGS. FIG. 13 is a graph showing the print density of the print result using the print processing of this embodiment. In this graph, the print density of the print result of the print data generated by executing the error diffusion process (FIG. 9) of the present embodiment on the test image data is plotted against the position on the medium. The test image data is composed of the test image data used when measuring the density characteristic value CP shown in the graph of FIG. 4, that is, one type of CMYK value (for example, CMYK = (255, 0, 0, 0)). This is image data representing a uniform image. The print density plotted in FIG. 13 is a value calculated using a simulation simulating the print execution unit 50 having the density characteristics shown in the graph of FIG. Further, the print density plotted in FIG. 13 is represented by a value having the minimum density as the reference value (0), like the density characteristic value CP, so that it can be compared with the density characteristic value CP plotted in FIG. ing. When the print density plotted in FIG. 13 is compared with the print density of FIG. 4, it can be seen that the uniformity of the print density is improved. For example, the rapid decrease in the density characteristic value CP (FIG. 4: position on the medium 0 and Pa) appearing in FIG. 4 does not appear in FIG. Further, the phenomenon that the density characteristic value CP on the downstream side from the medium position Ps shown in FIG. 4 is lower than the average value of the density characteristic value CP on the upstream side from the medium position Ps does not appear in FIG. . Accordingly, it can be understood that the density unevenness caused by the fluctuation of the surface potential Vs of the photosensitive drum 54 described with reference to FIG. 3 and the like can be suppressed by using the printing process of this embodiment. Further, the phenomenon that the density characteristic value CP appearing in FIG. 4 undulates with respect to the change in the position on the medium does not appear in FIG. Such a undulation phenomenon is considered to be density unevenness due to the eccentricity of the rotating body described above, and is a periodic density unevenness corresponding to the rotation cycle of the rotating body that is the cause. It can be seen that density unevenness due to such eccentricity of the rotating body can also be suppressed by using the printing process of this embodiment.

すなわち、本実施例の印刷処理によれば、媒体上位置に応じた注目補正用データHDを用いて、注目画素に対する補償処理(図9:S550)が実行されるので、媒体上位置の変化に対して定常的に発生する印刷濃度のばらつき(濃度ムラ)を抑制することができる。この結果、印刷画像の濃度ムラを低減することができる。   That is, according to the printing process of the present embodiment, the compensation process for the target pixel (FIG. 9: S550) is executed using the target correction data HD corresponding to the position on the medium. On the other hand, it is possible to suppress variations in printing density (density unevenness) that occur constantly. As a result, it is possible to reduce the density unevenness of the printed image.

さらに本実施例では、濃度特性値CPを用いて注目補正用データHDを算出する算出法を工夫することによって、濃度特性値CPが急激に変動する場合に、濃度ムラを適切に抑制している。図14は、図13における媒体上位置Paの近傍の範囲RAについて、補正用データHD(A)と、印刷画像の濃度(B)と、示す図である。媒体上位置Paは、図4から解るように、濃度特性値CPが急激に変動している位置である。図14(A)の第1比較例に対応するグラフは、第1比較例における注目補正用データHD=「255+Dtarget」がプロットされている。横軸は、注目補正用データHDに対応する注目行の媒体上位置である。Dtargetは、注目行に対応する濃度特性値CPであるので、図14(A)の第1比較例のグラフは、濃度特性値CPそのものの変動がプロットされていると言える。一方、図14(A)の第1実施例に対応するグラフは、第1実施例における上述した注目補正用データHD=「255+Dtarget+x・(Dtarget−Dpre1)」がプロットされている。図14(B)の第1比較例に対応するグラフは、図9の誤差拡散処理において、注目補正用データHDとして「255+Dtarget」を採用して生成される印刷データに基づいて、シミュレーションが実行された場合の印刷濃度を示す。図14(B)の第1実施例に対応するグラフは、注目補正用データHDとして、上述した「255+Dtarget+x・(Dtarget−Dpre1)」(図12)を採用して生成される印刷データに基づいて、シミュレーションが実行された場合の印刷濃度を示す。   Further, in this embodiment, by devising a calculation method for calculating the attention correction data HD using the density characteristic value CP, density unevenness is appropriately suppressed when the density characteristic value CP fluctuates rapidly. . FIG. 14 is a diagram showing the correction data HD (A) and the density (B) of the print image for the range RA in the vicinity of the medium upper position Pa in FIG. As shown in FIG. 4, the medium upper position Pa is a position where the density characteristic value CP is abruptly changed. In the graph corresponding to the first comparative example in FIG. 14A, attention correction data HD = “255 + Dtarget” in the first comparative example is plotted. The horizontal axis represents the position on the medium of the target line corresponding to the target correction data HD. Since Dtarget is the density characteristic value CP corresponding to the target row, it can be said that the variation of the density characteristic value CP itself is plotted in the graph of the first comparative example in FIG. On the other hand, the graph corresponding to the first example of FIG. 14A plots the above-described attention correction data HD = “255 + Dtarget + x · (Dtarget−Dpre1)” in the first example. The graph corresponding to the first comparative example in FIG. 14B is simulated based on the print data generated by adopting “255 + Dtarget” as the attention correction data HD in the error diffusion processing of FIG. The print density is shown. The graph corresponding to the first example of FIG. 14B is based on print data generated by adopting the above-mentioned “255 + Dtarget + x · (Dtarget−Dpre1)” (FIG. 12) as the attention correction data HD. The printing density when the simulation is executed is shown.

ここで、誤差拡散法が利用される場合には、注目画素について算出される誤差値が、注目画素よりも後で処理される画素に拡散される。このために、ステップS550の補償処理の結果(即ち注目画素について算出される誤差値ΔE)が、注目画素よりも後で処理される画素に反映されることになり、この結果、補償処理の遅延が生じてしまう。補償処理の遅延の影響は、濃度特性値CPが大きく変動する場合に顕著に現われる。そのため、第1比較例のように、注目画素(注目行)における濃度特性値CPのみを利用して(即ち、注目補正用データHD=255+Dtargetを利用して)、補償処理を実行しても、濃度特性値CPが大きく変動する場合のバラツキを十分に補償することができない場合がある。   Here, when the error diffusion method is used, the error value calculated for the target pixel is diffused to the pixel to be processed after the target pixel. For this reason, the result of the compensation process in step S550 (that is, the error value ΔE calculated for the target pixel) is reflected in the pixel processed after the target pixel, and as a result, the delay of the compensation process Will occur. The influence of the delay of the compensation process is noticeable when the density characteristic value CP varies greatly. Therefore, as in the first comparative example, even if the compensation process is executed using only the density characteristic value CP at the target pixel (target row) (that is, using the target correction data HD = 255 + Dtarget), In some cases, the variation when the density characteristic value CP fluctuates greatly cannot be sufficiently compensated.

例えば、図14(A)の矢印PT1の媒体上位置において、濃度特性値CP(=Dtarget)が大きく減少している。この場合、図14(B)の矢印PT1の部分のように、第1比較例の場合には、印刷結果の濃度が大きく減少することが解る。このように、第1比較例では、媒体上位置に応じた印刷濃度のバラツキを適切に補償することができず、高品質な印刷結果を得ることができない可能性があった。   For example, the density characteristic value CP (= Dtarget) is greatly reduced at the position on the medium indicated by the arrow PT1 in FIG. In this case, as shown by the arrow PT1 in FIG. 14B, in the case of the first comparative example, it can be seen that the density of the printing result is greatly reduced. As described above, in the first comparative example, the variation in the print density according to the position on the medium cannot be appropriately compensated, and there is a possibility that a high-quality print result cannot be obtained.

一方、第1実施例では、DtargetとDpre1との差分を利用して、Dtargetを補正している。このために、濃度特性値CPが副走査方向の上流側に向かって減少する位置(例えば、図14:PT1)では、即ち、Dtarget−Dpre1がマイナスの値になる位置では、補正前のDtarget(注目画素の濃度特性値CP)と比べて、補正後の値「Dtarget+x・(Dtarget−Dpre1)」が小さくなる。この結果、注目補正用データHDが、第1比較例より小さくなる。従って、図9のS550で算出される誤差値ΔE(=PV'−注目補正用データHD)が、第1比較例より大きくなる。誤差値ΔEが大きくなると、周辺画素の補正画素値PV'が大きくなり、この結果、周辺画素の印刷濃度が大きくなる。このために、図14(B)の矢印PT1の部分のように、印刷濃度が、第1比較例より大きくなる。この結果、隣接する行との間の濃度差が少なくなり、濃度ムラが抑制された高品質な印刷結果が得られる。   On the other hand, in the first embodiment, Dtarget is corrected using the difference between Dtarget and Dpre1. Therefore, at a position where the density characteristic value CP decreases toward the upstream side in the sub-scanning direction (for example, FIG. 14: PT1), that is, at a position where Dtarget-Dpre1 becomes a negative value, The corrected value “Dtarget + x · (Dtarget−Dpre1)” is smaller than the density characteristic value CP of the target pixel. As a result, the attention correction data HD is smaller than that in the first comparative example. Accordingly, the error value ΔE (= PV′−target correction data HD) calculated in S550 of FIG. 9 is larger than that in the first comparative example. As the error value ΔE increases, the corrected pixel value PV ′ of the peripheral pixels increases, and as a result, the print density of the peripheral pixels increases. For this reason, as shown by the arrow PT1 in FIG. 14B, the printing density is higher than that of the first comparative example. As a result, the density difference between adjacent rows is reduced, and a high-quality printing result in which density unevenness is suppressed can be obtained.

逆に、濃度特性値CPが副走査方向の上流側に向かって増加する位置では、即ち、Dtarget−Dpre1がプラスの値になる位置では、補正前のDtargetと比べて補正後の値「Dtarget+x・(Dtarget−Dpre1)」が大きくなる。この結果、注目補正用データHDが第1比較例より大きくなる。従って、図9のS550で算出される誤差値ΔE(=PV'−注目補正用データHD)が、第1比較例より小さくなる。誤差値ΔEが小さくなると、周辺画素の補正画素値PV'が小さくなり、この結果、周辺画素の印刷濃度が第1比較例より小さくなる。この結果、隣接する行との間の濃度差が少なくなり、濃度ムラが抑制された高品質な印刷結果が得られる。   On the contrary, at the position where the density characteristic value CP increases toward the upstream side in the sub-scanning direction, that is, at the position where Dtarget-Dpre1 becomes a positive value, the value “Dtarget + x · after correction is compared with the Dtarget before correction. (Dtarget-Dpre1) "is increased. As a result, the attention correction data HD is larger than that in the first comparative example. Therefore, the error value ΔE (= PV′−target correction data HD) calculated in S550 in FIG. 9 is smaller than that in the first comparative example. When the error value ΔE becomes small, the correction pixel value PV ′ of the peripheral pixels becomes small, and as a result, the print density of the peripheral pixels becomes smaller than that of the first comparative example. As a result, the density difference between adjacent rows is reduced, and a high-quality printing result in which density unevenness is suppressed can be obtained.

このように、本実施例の補償処理では、DtargetとDpre1との差分を用いて得られる注目補正用データHDを利用する。このように、DtargetとDpre1との差分が考慮されると、補償処理の遅延を抑制することができる。この結果、高品質な印刷結果をユーザに提供することができる。   Thus, in the compensation processing of the present embodiment, the attention correction data HD obtained using the difference between Dtarget and Dpre1 is used. Thus, when the difference between Dtarget and Dpre1 is taken into account, the delay in compensation processing can be suppressed. As a result, a high-quality printing result can be provided to the user.

また、本実施例の補償処理では、誤差拡散マトリクスMT1に含まれる複数個の誤差拡散係数(図11)に基づいて、定められた係数「x=(1/2×設計値r)」を、(Dtarget−Dpre1)に乗算した値「x・(Dtarget−Dpre1)」を用いて、注目補正用データHDを算出している。この結果、誤差拡散マトリクスMT1に応じて、補償処理の遅延に適切に対応した注目補正用データHDを算出することができるので、印刷画像の濃度ムラを適切に抑制することができる。より具体的には、係数「x」は、上述したように、M1個の誤差拡散係数の総和と、M2個の誤差拡散係数の総和と、の比率に基づいて決定される。この結果、適切な係数「x」を用いて、印刷画像の濃度ムラを適切に抑制することができる。   Further, in the compensation processing of the present embodiment, a coefficient “x = (1/2 × design value r)” determined based on a plurality of error diffusion coefficients (FIG. 11) included in the error diffusion matrix MT1 is The attention correction data HD is calculated using the value “x · (Dtarget-Dpre1)” multiplied by (Dtarget-Dpre1). As a result, the attention correction data HD appropriately corresponding to the delay of the compensation process can be calculated according to the error diffusion matrix MT1, so that the density unevenness of the printed image can be appropriately suppressed. More specifically, the coefficient “x” is determined based on the ratio of the sum of M1 error diffusion coefficients and the sum of M2 error diffusion coefficients as described above. As a result, it is possible to appropriately suppress the density unevenness of the print image using an appropriate coefficient “x”.

Dtarget、Dpre1、(Dtarget−Dpre1)が、それぞれ、「注目値」、「第1の近傍値」、「第1の差分」の例である。また、誤差拡散マトリクスMT1、係数「x=(1/2×設計値r)」が、それぞれ、「第1の誤差拡散マトリクス」、「第1の係数」の例である。   Dtarget, Dpre1, and (Dtarget-Dpre1) are examples of “attention value”, “first neighborhood value”, and “first difference”, respectively. Further, the error diffusion matrix MT1 and the coefficient “x = (1/2 × design value r)” are examples of the “first error diffusion matrix” and the “first coefficient”, respectively.

なお、以上の説明から解るように、本実施例の算出部528は、補償部の例である。   As can be understood from the above description, the calculation unit 528 of the present embodiment is an example of a compensation unit.

B.第2実施例:
図15は、第2実施例における注目補正用データHDの説明図である。
本実施例では、ハーフトーン処理部522は、誤差拡散マトリクスMT1の代わりに、誤差拡散マトリクスMT2(図11)を用いて誤差拡散処理を実行する。具体的には、図9のS530では、注目画素を図11の画素317とすると、誤差使用補正部526は、M1個の周辺画素として、6個の画素311〜316を特定する。次いで、誤差加算補正部526は、6個の周辺画素311〜316のそれぞれについて、算出済みの6個の誤差値ΔEを特定する。誤差使用補正部526は、特定された6個の誤差値ΔEに、対応する誤差拡散係数(図11:誤差拡散マトリクスMT2に規定された「1/8」または「2/8」)をそれぞれ乗算し、6個の乗算後の誤差値の合計値を算出する。誤差使用補正部526は、当該誤差値の合計値を、注目画素値PVに加算することによって、補正画素値PV'を算出する。
B. Second embodiment:
FIG. 15 is an explanatory diagram of attention correction data HD in the second embodiment.
In this embodiment, the halftone processing unit 522 executes error diffusion processing using the error diffusion matrix MT2 (FIG. 11) instead of the error diffusion matrix MT1. Specifically, in S530 of FIG. 9, if the target pixel is the pixel 317 of FIG. 11, the error use correction unit 526 specifies six pixels 311 to 316 as M1 peripheral pixels. Next, the error addition correction unit 526 specifies six calculated error values ΔE for each of the six peripheral pixels 311 to 316. The error use correction unit 526 multiplies the specified six error values ΔE by the corresponding error diffusion coefficient (FIG. 11: “1/8” or “2/8” defined in the error diffusion matrix MT2), respectively. Then, the sum of the error values after the six multiplications is calculated. The error use correction unit 526 calculates the corrected pixel value PV ′ by adding the total value of the error values to the target pixel value PV.

また、図9のS520では、補正用データ取得部525は、図15に示される数式に従って、注目補正用データHDを算出する。図15に示される数式は、第1実施例の図9に示される数式とほぼ同じであるが、係数「x」の値が、第1実施例とは異なる。誤差拡散マトリクスMT2では、画素317が注目画素である場合には、6個の画素311〜316がM1個(M1=6)の周辺画素であり、4個の画素311〜314がM2個(M2=4)の周辺画素である。従って、M1個の誤差拡散係数の総和が「8(=1+1+2+1+1+2)」であり、M2個の周辺画素に対応するM2個の誤差拡散係数の総和が「5(=1+1+2+1)」である。従って、係数「x」は、「5/8×r」である。その他の処理は、第1実施例と同様である。   In S520 of FIG. 9, the correction data acquisition unit 525 calculates attention correction data HD according to the mathematical formula shown in FIG. The mathematical formula shown in FIG. 15 is almost the same as the mathematical formula shown in FIG. 9 of the first embodiment, but the value of the coefficient “x” is different from that of the first embodiment. In the error diffusion matrix MT2, when the pixel 317 is the target pixel, the six pixels 311 to 316 are M1 (M1 = 6) peripheral pixels, and the four pixels 311 to 314 are M2 (M2 = 4) peripheral pixels. Therefore, the sum of M1 error diffusion coefficients is “8 (= 1 + 1 + 2 + 1 + 1 + 2)”, and the sum of M2 error diffusion coefficients corresponding to M2 peripheral pixels is “5 (= 1 + 1 + 2 + 1)”. Therefore, the coefficient “x” is “5/8 × r”. Other processes are the same as those in the first embodiment.

第2実施例によれば、ハーフトーン処理部522は、誤差拡散マトリクスMT2に応じた適切な係数「x」を利用するので、誤差拡散マトリクスMT2に応じて、濃度ムラを適切に抑制することができる。なお、第2実施例では、誤差拡散マトリクスMT2、「x=(5/8×設計値r)」が、それぞれ、が「第1の誤差拡散マトリクス」、「第1の係数」の例である。   According to the second embodiment, since the halftone processing unit 522 uses an appropriate coefficient “x” corresponding to the error diffusion matrix MT2, the density unevenness can be appropriately suppressed according to the error diffusion matrix MT2. it can. In the second embodiment, the error diffusion matrix MT2 “x = (5/8 × design value r)” is an example of “first error diffusion matrix” and “first coefficient”, respectively. .

なお、変形例では、係数「x」は、誤差拡散マトリクスが示すM1個の周辺画素のうち、注目画素が属する行及び当該行の1個上の行に属する各周辺画素に対応する各誤差拡散係数の総和を分母とすると共に、注目画素が属する行の1個上の行に属する各周辺画素に対応する各誤差拡散係数の総和を分子とする数値に、設計値rが乗算された数値であってもよい。例えば、図11の誤差拡散マトリクスMT2を用いる場合には、係数「x」=「4/7×r」(分母が「7(=1+2+1+2+1)」であり、分子が「4(=1+2+1)」である)であってもよい。一般的に言うと、係数「x」は、誤差拡散マトリクスMT2の誤差拡散係数に基づいて決定されればよい。   In the modification, the coefficient “x” is an error diffusion corresponding to each of the peripheral pixels belonging to the row to which the pixel of interest belongs and the row immediately above that row among the M1 peripheral pixels indicated by the error diffusion matrix. A numerical value obtained by multiplying a numerical value obtained by multiplying the sum of the coefficients by the design value r with the sum of the error diffusion coefficients corresponding to each peripheral pixel belonging to the row one row above the row to which the pixel of interest belongs as a denominator. There may be. For example, when the error diffusion matrix MT2 of FIG. 11 is used, the coefficient “x” = “4/7 × r” (the denominator is “7 (= 1 + 2 + 1 + 2 + 1)” and the numerator is “4 (= 1 + 2 + 1)”. Yes). Generally speaking, the coefficient “x” may be determined based on the error diffusion coefficient of the error diffusion matrix MT2.

C.第3実施例:
図16は、第3実施例における注目補正用データHDの説明図である。
第3実施例では、第2実施例と同様に、ハーフトーン処理部522は、誤差拡散マトリクスMT2を用いて誤差拡散処理を実行する。図9のS515では、補正用データ取得部525は、注目行と、第1の近傍行に加えて、第2の近傍行を特定する。注目行の行番号をNとすると、第2の近傍行は、CMYK画像データ310が表す画像の行番号(N−2)の行である。すなわち、第2の近傍行は、第1の近傍行(行番号(N−1))に対して、搬送方向(副走査方向)の下流側に隣接する行である。また、第2の近傍行は、現在の注目行より2回前のステップS505〜S565の処理における注目行である。以上の説明から解るように、第2の近傍行を構成する画素(第2の近傍画素)は、第1の近傍画素および注目画素とは副走査方向の位置が異なる画素であり、第1の近傍画素および注目画素より前に誤差拡散処理の処理対象とされる画素である。図10には、注目行の行番号が4である場合を例として、第2の近傍行に対応する印刷行R2(第2の近傍印刷行)が図示されている。
C. Third embodiment:
FIG. 16 is an explanatory diagram of attention correction data HD in the third embodiment.
In the third embodiment, as in the second embodiment, the halftone processing unit 522 performs error diffusion processing using the error diffusion matrix MT2. In S515 of FIG. 9, the correction data acquisition unit 525 specifies the second neighboring row in addition to the target row and the first neighboring row. If the row number of the target row is N, the second neighboring row is the row of the row number (N-2) of the image represented by the CMYK image data 310. That is, the second neighboring row is a row adjacent to the downstream side in the transport direction (sub-scanning direction) with respect to the first neighboring row (row number (N-1)). The second neighboring line is the attention line in the processing of steps S505 to S565 two times before the current attention line. As can be understood from the above description, the pixels constituting the second neighboring row (second neighboring pixels) are pixels whose positions in the sub-scanning direction are different from those of the first neighboring pixel and the target pixel. This is a pixel that is subject to error diffusion processing before the neighboring pixel and the target pixel. FIG. 10 illustrates a print row R2 (second neighborhood print row) corresponding to the second neighborhood row, taking the case where the row number of the row of interest is 4, as an example.

そして、補正用データ取得部525は、注目行と、第1の近傍行と、第2の近傍行と、にそれぞれ対応する濃度特性値CPを取得する。   Then, the correction data acquisition unit 525 acquires density characteristic values CP respectively corresponding to the target row, the first neighboring row, and the second neighboring row.

第3実施例では、図9のS520では、補正用データ取得部525は、図16に示される数式に従って、注目補正用データHDを算出する。すなわち、注目補正用データHDは、「255+Dtarget+x・(Dtarget−Dpre1)+y・(Dpre1−Dpre2))」と表される。ここで、「Dpre2」以外の各要素は、第2実施例と同様であり、「Dpre2」は、第2の近傍行に対応する濃度特性値CPである。   In the third embodiment, in S520 of FIG. 9, the correction data acquisition unit 525 calculates the attention correction data HD according to the mathematical formula shown in FIG. That is, the attention correction data HD is expressed as “255 + Dtarget + x · (Dtarget−Dpre1) + y · (Dpre1−Dpre2))”. Here, each element other than “Dpre2” is the same as in the second embodiment, and “Dpre2” is the density characteristic value CP corresponding to the second neighboring row.

係数「y」は、誤差拡散マトリクスMT2が示すM1個の周辺画素のうち、注目画素が属する行以外の行に属するM2個(M2≦M1)の周辺画素に対応するM2個の誤差拡散係数の総和を分母とすると共に、M2個の周辺画素のうち、第1の近傍行(第1の近傍画素が属する行)以外の行に含まれるM3個(M3<M2)の画素に対応するM3個の誤差拡散係数の総和を分子とする数値に、設計値rが乗算された数値である。例えば、図11の誤差拡散マトリクスMT2では、画素317が注目画素である場合には、4個の画素311〜314がM2個(M2=4)の周辺画素であり、1個の画素311がM3個(M3=1)の周辺画素である。従って、M2個の誤差拡散係数の総和が「5(=1+1+2+1)」であり、M3個の周辺画素に対応するM3個の誤差拡散係数の総和が「1」である。従って、係数「y」は、「1/5×r」である。なお、係数「x」(5/8×r)は、係数「y」(1/5×r)よりも大きい。その他の処理は、第2実施例と同様である。   The coefficient “y” is M2 error diffusion coefficients corresponding to M2 (M2 ≦ M1) peripheral pixels belonging to a row other than the row to which the pixel of interest belongs among the M1 peripheral pixels indicated by the error diffusion matrix MT2. M3 corresponding to M3 (M3 <M2) pixels included in a row other than the first neighboring row (the row to which the first neighboring pixel belongs) out of the M2 neighboring pixels while using the sum as a denominator Is a numerical value obtained by multiplying a numerical value having the numerator of the sum of the error diffusion coefficients of n by a design value r. For example, in the error diffusion matrix MT2 in FIG. 11, when the pixel 317 is the target pixel, four pixels 311 to 314 are M2 (M2 = 4) peripheral pixels, and one pixel 311 is M3. (M3 = 1) peripheral pixels. Therefore, the sum of M2 error diffusion coefficients is “5 (= 1 + 1 + 2 + 1)”, and the sum of M3 error diffusion coefficients corresponding to M3 peripheral pixels is “1”. Therefore, the coefficient “y” is “1/5 × r”. The coefficient “x” (5/8 × r) is larger than the coefficient “y” (1/5 × r). Other processes are the same as in the second embodiment.

本実施例では、ハーフトーン処理部522は、補償処理を実行する際に、DtargetとDpre1との差分のみならず、Dpre1とDpre2との差分を用いて得られる注目補正用データHDを利用する。特に、係数「x」が係数「y」よりも大きいために、注目補正用データHDは、Dpre1とDpre2との差分に比べて、DtargetとDpre1との差分に大きく依存する。即ち、注目補正用データHDでは、注目行と第1の近傍行との間の濃度特性値CPの差が大きく考慮されており、さらに、第1の近傍行と第2の近傍行との間の濃度特性値CPの差も考慮されている。このために、ハーフトーン処理部522は、誤差拡散マトリクスMT2に応じて、濃度のばらつきを適正に補償して、濃度ムラを適切に抑制することができる。   In the present embodiment, when executing the compensation process, the halftone processing unit 522 uses not only the difference between Dtarget and Dpre1, but also the attention correction data HD obtained using the difference between Dpre1 and Dpre2. In particular, since the coefficient “x” is larger than the coefficient “y”, the attention correction data HD greatly depends on the difference between Dtarget and Dpre1 compared to the difference between Dpre1 and Dpre2. That is, in the attention correction data HD, the difference in the density characteristic value CP between the attention row and the first neighboring row is considered greatly, and further, between the first neighboring row and the second neighboring row. The difference in density characteristic value CP is also taken into consideration. For this reason, the halftone processing unit 522 can appropriately compensate for the density variation in accordance with the error diffusion matrix MT2, and appropriately suppress the density unevenness.

本実施例では、Dpre2、Dpre1−Dpre2が、それぞれ、「第2の近傍値」、「第2の差分」の例である。また、誤差拡散マトリクスMT2、「x」(5/8×設計値r)、「y」(1/5×設計値r)が、それぞれ、「第2の誤差拡散マトリクス」、「第1の係数」、「第2の係数」の例である。   In the present embodiment, Dpre2 and Dpre1-Dpre2 are examples of “second neighborhood value” and “second difference”, respectively. Further, the error diffusion matrix MT2, “x” (5/8 × design value r), “y” (1/5 × design value r) are respectively “second error diffusion matrix” and “first coefficient”. ”And“ second coefficient ”.

D.第4実施例:
第4実施例の印刷システム2の構成は、図1に示す第1実施例の印刷システム2の構成と基本的に同一である。ただし、第4実施例のハーフトーン処理部522は、第1実施例のハーフトーン処理部522の構成に加えて、図1で破線に示す補償補正部529を備える。第4実施例では、誤差拡散処理の内容が第1実施例と異なる。図17は、第4実施例の誤差拡散処理のフローチャートである。図17において、第1実施例の誤差拡散処理(図9)と同じ処理を実行するステップには、同じ符号を付し、第1実施例の誤差拡散処理(図9)とは異なる処理を実行するステップには、符号の末尾に「A」を付した。
D. Fourth embodiment:
The configuration of the printing system 2 of the fourth embodiment is basically the same as the configuration of the printing system 2 of the first embodiment shown in FIG. However, the halftone processing unit 522 of the fourth embodiment includes a compensation correction unit 529 indicated by a broken line in FIG. 1 in addition to the configuration of the halftone processing unit 522 of the first embodiment. In the fourth embodiment, the contents of the error diffusion process are different from those in the first embodiment. FIG. 17 is a flowchart of the error diffusion process of the fourth embodiment. In FIG. 17, steps that execute the same process as the error diffusion process of the first embodiment (FIG. 9) are given the same reference numerals, and a process different from the error diffusion process of the first embodiment (FIG. 9) is executed. In the step, “A” is added to the end of the code.

第1実施例の誤差拡散処理と同様に、S505〜S525の処理が終了すると、ステップS527Aでは、補償補正部529は、注目補正用データHDを用いて注目画素値PVを補正することによって、補償画素値PV1を算出する。具体的には、補償補正部529は、注目補正用データHDを用いて、補正係数CDを算出する。補正係数CDは、(255+最小の濃度特性値CP)/HDを計算することによって、算出される。ここで、第1実施例において説明したように、最小の濃度特性値CPは、「0」である。補償補正部529は、注目画素値PVに、補正係数CDを乗算して、補償画素値PV1を算出する。   Similar to the error diffusion processing of the first embodiment, when the processing of S505 to S525 is completed, in step S527A, the compensation correction unit 529 corrects the target pixel value PV using the target correction data HD, thereby compensating for the target pixel value PV. A pixel value PV1 is calculated. Specifically, the compensation correction unit 529 calculates the correction coefficient CD using the attention correction data HD. The correction coefficient CD is calculated by calculating (255 + minimum density characteristic value CP) / HD. Here, as described in the first embodiment, the minimum density characteristic value CP is “0”. The compensation correction unit 529 calculates the compensation pixel value PV1 by multiplying the target pixel value PV by the correction coefficient CD.

ステップS530Aでは、第1実施例のステップS530と同様に、誤差使用補正部526は、算出済みの誤差値ΔEを用いて、補正画素値PV'を算出する。ただし、補正対象は、注目画素値PVではなく、補償画素値PV1である。   In step S530A, as in step S530 of the first embodiment, the error use correction unit 526 calculates the corrected pixel value PV ′ using the calculated error value ΔE. However, the correction target is not the target pixel value PV but the compensation pixel value PV1.

続く、S535〜S545の処理は、第1実施例の誤差拡散処理と同様である。ステップS550Aの処理、すなわち、ドット値が「1」に決定された後に行われる注目画素についての誤差値ΔEの算出処理では、算出部528は、第1実施例と異なり、注目補正用データHDを用いることなく、補正画素値PV'から255を減算することによって誤差値Δを算出する。ステップS555〜S570の処理は、第1実施例の誤差拡散処理と同様である。   The subsequent processes of S535 to S545 are the same as the error diffusion process of the first embodiment. In the process of step S550A, that is, the calculation process of the error value ΔE for the pixel of interest performed after the dot value is determined to be “1”, the calculation unit 528 differs from the first embodiment in that the data for attention correction HD is obtained. Without use, an error value Δ is calculated by subtracting 255 from the corrected pixel value PV ′. The processing in steps S555 to S570 is the same as the error diffusion processing in the first embodiment.

以上説明した第4実施例によれば、第1実施例と同様の効果を奏することができる。なお、CMYK画像データ(変換画像データ)内の注目画素値PVを、注目補正用データHDを用いて補正して、補償画素値PV1を算出する処理が、本実施例における補償処理である。   According to the fourth embodiment described above, the same effects as in the first embodiment can be obtained. Note that the processing for correcting the pixel value PV of interest in the CMYK image data (converted image data) using the target correction data HD and calculating the compensation pixel value PV1 is the compensation processing in this embodiment.

なお、本実施例では、図11の誤差拡散マトリクスMT1、MT2のどちらが利用されてもよい。また、第3実施例のように、注目補正用データHDとして「255+Dtarget+x・(Dtarget−Dpre1)+y・(Dpre1−Dpre2)」が利用されてもよい。   In this embodiment, either of the error diffusion matrices MT1 and MT2 in FIG. 11 may be used. Further, as in the third embodiment, “255 + Dtarget + x · (Dtarget−Dpre1) + y · (Dpre1−Dpre2)” may be used as the attention correction data HD.

なお、以上の説明から解るように、本実施例の補償補正部529は、補償部の例である。   As can be seen from the above description, the compensation correction unit 529 of the present embodiment is an example of a compensation unit.

E.第5実施例:
図18は、第5実施例を説明する説明図である。
第5実施例では、図9のS515において、補正用データ取得部525は、注目行の濃度特性値CP(Dtarget)に代えて、注目行近傍の濃度特性値CPの平均値AVEtargetを、取得する。注目行(注目画素)の行番号がNである場合に、AVEtargetは、行番号(N−1)、N、(N+1)の3本の行の媒体上位置に対応する3個の濃度特性値CPの平均値である。
E. Example 5:
FIG. 18 is an explanatory diagram for explaining the fifth embodiment.
In the fifth embodiment, in S515 of FIG. 9, the correction data acquisition unit 525 acquires the average value AVEtarget of the density characteristic value CP in the vicinity of the target line, instead of the density characteristic value CP (Dtarget) of the target line. . When the row number of the target row (target pixel) is N, AVEtarget is three density characteristic values corresponding to the positions on the medium of the three rows of row numbers (N−1), N, and (N + 1). It is the average value of CP.

さらに、図9のS515において、補正用データ取得部525は、第1の近傍行の濃度特性値CP(Dpre1)に代えて、第1の近傍行の近傍の濃度特性値CPの平均値AVEpre1を、取得する。第1の近傍行(第1の近傍画素)の行番号が(N−1)である場合に、AVEtargetは、行番号(N−2)、(N−1)、Nの3本の行の媒体上位置に対応する3個の濃度特性値CPの平均値である。図10には、注目行の行番号が4である場合を例として、注目行に対応する注目印刷行と、第1〜第3の近傍行に対応する第1〜第3の近傍印刷行が図示されている。注目行の行番号が4である場合には、AVEtagetは、第1の近傍印刷行R3と、注目印刷行R4と、第3の近傍印刷行R5と、にそれぞれ対応する3個の濃度特性値CPの平均値である。また、AVEpre1は、第2の近傍印刷行R2と、第1の近傍印刷行R3と、注目印刷行R4と、にそれぞれ対応する3個の濃度特性値CPの平均値である。   Furthermore, in S515 of FIG. 9, the correction data acquisition unit 525 uses the average value AVEpre1 of the density characteristic value CP in the vicinity of the first neighboring row, instead of the density characteristic value CP (Dpre1) in the first neighboring row. ,get. When the row number of the first neighboring row (first neighboring pixel) is (N−1), AVEtarget is the row number (N−2), (N−1) and N of the three rows. This is an average value of the three density characteristic values CP corresponding to the position on the medium. In FIG. 10, taking as an example the case where the line number of the target line is 4, the target print line corresponding to the target line and the first to third neighboring print lines corresponding to the first to third neighboring lines are shown. It is shown in the figure. When the line number of the noticed line is 4, AVEtage has three density characteristic values respectively corresponding to the first neighboring print line R3, the noticed print line R4, and the third neighboring print line R5. It is the average value of CP. AVEpre1 is an average value of three density characteristic values CP respectively corresponding to the second neighboring print line R2, the first neighboring print line R3, and the target print line R4.

そして、図9のS520では、さらに、補正用データ取得部525は、図18(C)の数式(注目補正用データHD=255+AVEtarget+x・(AVEtarget−AVEpre1))に従って、注目補正用データHDを算出する。   Then, in S520 of FIG. 9, the correction data acquisition unit 525 further calculates the attention correction data HD according to the equation of FIG. 18C (attention correction data HD = 255 + AVEtarget + x · (AVEtarget−AVEpre1)). .

図18(A)(B)を参照しながら、本実施例の効果を説明する。図18には、図14のグラフと同じ範囲(図13に図示された範囲RA)について、補正用データHD(A)と、印刷画像の濃度(B)と、示す図である。図16(A)の第2比較例に対応するグラフは、第2比較例における注目補正用データHD=「255+AVEtarget」がプロットされている。一方、図14(A)の第5実施例に対応するグラフは、第5実施例における上述した注目補正用データHD=「255+AVEtarget+x・(AVEtarget−AVEpre1)」がプロットされている。図16(B)の第2比較例に対応するグラフは、図9の誤差拡散処理において、注目補正用データHDとして「255+AVEtarget」を採用して生成される印刷データに基づいて、シミュレーションが実行された場合の印刷濃度を示す。図16(B)の第5実施例に対応するグラフは、注目補正用データHDとして、上述した「255+AVEtarget+x・(AVEtarget−AVEpre1)」を採用して生成される印刷データに基づいて、シミュレーションが実行された場合の印刷濃度を示す。   The effect of the present embodiment will be described with reference to FIGS. 18 (A) and 18 (B). 18 is a diagram showing correction data HD (A) and print image density (B) for the same range as the graph of FIG. 14 (range RA shown in FIG. 13). In the graph corresponding to the second comparative example in FIG. 16A, attention correction data HD = “255 + AVEtarget” in the second comparative example is plotted. On the other hand, in the graph corresponding to the fifth example of FIG. 14A, the above-described attention correction data HD = “255 + AVEtarget + x · (AVEtarget−AVEpre1)” in the fifth example is plotted. In the graph corresponding to the second comparative example in FIG. 16B, simulation is executed based on print data generated by adopting “255 + AVEtarget” as the attention correction data HD in the error diffusion processing of FIG. The print density is shown. A graph corresponding to the fifth example of FIG. 16B is a simulation executed based on print data generated by adopting the above-mentioned “255 + AVEtarget + x · (AVEtarget−AVEpre1)” as the attention correction data HD. Shows the print density in the case of printing.

図16(B)における矢印PT2の媒体上位置の印刷濃度など明らかなように、第5実施例では、第2比較例と比べて、隣接する行間の濃度差が少なく、より高品質な印刷結果を得ることができる。   As is clear from the print density at the position on the medium indicated by the arrow PT2 in FIG. 16B, the fifth embodiment has a smaller density difference between adjacent rows and a higher quality print result than the second comparative example. Can be obtained.

本実施例では、行番号(N−1)〜(N+1)の3本の行に対応する3個の濃度特性値CPを用いて、AVEtargetを算出している。一般的には、AVEtargetは、注目行を含むL本の行に対応するL個の濃度特性値CPを用いて、算出されれば良い(Lは、2以上の整数)。また、AVEpre1は、第1の近傍行を含むL本の行に対応するL個の濃度特性値CPを用いて、算出されれば良い。   In this embodiment, AVEtarget is calculated using three density characteristic values CP corresponding to three rows of row numbers (N−1) to (N + 1). In general, AVEtarget may be calculated using L density characteristic values CP corresponding to L rows including the target row (L is an integer of 2 or more). Also, AVEpre1 may be calculated using L density characteristic values CP corresponding to L rows including the first neighboring row.

F:第6実施例:
図19は、第6実施例のプリンタドライバ処理のフローチャートである。このプリンタドライバ処理は、印刷処理に先立って、ユーザから印刷モードを指定する指定指示が受け付けられた場合に実行される。第6実施例では、ユーザは、画像を印刷する際に、高画質モード及び低画質モードの中から1個のモードを指定することができる。
F: Sixth embodiment:
FIG. 19 is a flowchart of printer driver processing according to the sixth embodiment. This printer driver process is executed when a designation instruction for designating a print mode is received from the user prior to the printing process. In the sixth embodiment, the user can designate one mode from the high image quality mode and the low image quality mode when printing an image.

ステップS1では、プリンタドライバ500は、ユーザからの指定指示によって指定された印刷モードが、高画質モードであるか否かを判断する。指定された印刷モードが高画質モードである場合には(S1:YES)、プリンタドライバ500は、誤差拡散処理を用いた印刷処理、すなわち、第1実施例〜第5実施例にて説明した印刷処理を実行する(S5)。一方、指定された印刷モードが高画質モードでない場合(S1:NO)、すなわち、指定された印刷モードが低画質モードである場合には、プリンタドライバ500は、ディザ処理を用いた印刷処理を実行する(S3)。ディザ処理は、ディザマトリクスを用いて実行される公知のハーフトーン処理である。この処理では、印刷濃度のバラツキを補償するための補償処理(第1実施例等参照)は、実行されない。   In step S1, the printer driver 500 determines whether or not the print mode designated by the designation instruction from the user is the high image quality mode. When the designated print mode is the high image quality mode (S1: YES), the printer driver 500 performs print processing using error diffusion processing, that is, printing described in the first to fifth embodiments. Processing is executed (S5). On the other hand, when the designated print mode is not the high image quality mode (S1: NO), that is, when the designated print mode is the low image quality mode, the printer driver 500 executes the print process using the dither process. (S3). The dither process is a known halftone process executed using a dither matrix. In this process, the compensation process (see the first embodiment, etc.) for compensating for variations in print density is not executed.

第6実施例によれば、ユーザによって指定される印刷モードに応じて、適切な印刷処理(誤差拡散処理を用いた印刷処理(S5)又はディザ処理を用いた印刷処理(S3))を実行することができる。例えば、画質よりも処理速度が優先される場合には、比較的高速であるが比較的低画質な印刷処理(S3)が実行され、処理速度より画質が優先される場合には、比較的高画質であるが比較的低速な印刷処理が実行される。この結果、ユーザの利便性を向上することができる。   According to the sixth embodiment, an appropriate printing process (a printing process using an error diffusion process (S5) or a printing process using a dither process (S3)) is executed according to a printing mode designated by the user. be able to. For example, when the processing speed is prioritized over the image quality, a relatively high-speed but relatively low-quality printing process (S3) is executed. When the image quality is prioritized over the processing speed, the processing speed is relatively high. A print process that is image quality but relatively slow is executed. As a result, user convenience can be improved.

G.第7実施例:
図20は、補正用データテーブル134Aの一例を示す図である。
上記各実施例では、印刷装置100の不揮発性メモリ130には、特性値テーブル134(図4)が格納されている。第7実施例では、不揮発性メモリ130には、特性値テーブル134に代えて、図20に示す補正用データテーブル134Aが格納されている。補正用データテーブル134Aには、濃度特性値CPに代えて、濃度特性値CPを用いて算出された補正用データが記録されている。図20の補正用データテーブル134Aには、Pn個の補正用データが、Pn個の媒体上位置(0〜Pnの自然数で表される)に対応付けて記録されている。補正用データテーブル134Aに記録された各補正用データは、対応する媒体上位置に位置する注目行のための注目補正用データHD(第1実施例を参照)を、予め算出した値である。補正用データテーブル134Aは、特性値テーブル134と同様に、例えば、印刷装置100の製造者によって作成されて、不揮発性メモリ130に格納される。
G. Seventh embodiment:
FIG. 20 is a diagram illustrating an example of the correction data table 134A.
In each of the above embodiments, the characteristic value table 134 (FIG. 4) is stored in the nonvolatile memory 130 of the printing apparatus 100. In the seventh embodiment, the nonvolatile memory 130 stores a correction data table 134A shown in FIG. 20 instead of the characteristic value table 134. In the correction data table 134A, correction data calculated using the density characteristic value CP instead of the density characteristic value CP is recorded. In the correction data table 134A of FIG. 20, Pn correction data are recorded in association with Pn media positions (represented by natural numbers 0 to Pn). Each correction data recorded in the correction data table 134A is a value calculated in advance for attention correction data HD (see the first embodiment) for the attention row located at the corresponding position on the medium. Similar to the characteristic value table 134, the correction data table 134A is created by the manufacturer of the printing apparatus 100 and stored in the nonvolatile memory 130, for example.

本実施例の印刷処理では、第1実施例の印刷処理(図6)のステップS20において、印刷データ生成部520は、特性値テーブル134に代えて、補正用データテーブル134Aを取得する。また、第1実施例の誤差拡散処理(図9)のステップS515と、S520に代えて、補正用データ取得部525は、注目行に対応する注目補正用データHDを、補正用データテーブル134Aから取得する処理を実行する。その他の処理は、第1実施例と同様である。本実施例によれば、補正用データ取得部525は、注目補正用データHDを算出しなくて良いので、印刷処理の高速化を図ることができる。   In the printing process of the present embodiment, in step S20 of the printing process (FIG. 6) of the first embodiment, the print data generation unit 520 acquires the correction data table 134A instead of the characteristic value table 134. Further, instead of steps S515 and S520 of the error diffusion processing (FIG. 9) of the first embodiment, the correction data acquisition unit 525 obtains the attention correction data HD corresponding to the attention row from the correction data table 134A. Execute the acquisition process. Other processes are the same as those in the first embodiment. According to the present embodiment, the correction data acquisition unit 525 does not have to calculate the attention correction data HD, so that the printing process can be speeded up.

H.第8実施例:
上記実施例における特性値テーブル134には、印刷媒体Pの下流端から上流端までの全範囲の濃度特性値CPが記録されているが、全範囲の濃度特性値CPが記録される必要はなく、一部の範囲の濃度特性値CPが記録されても良い。このような例を第7実施例として説明する。図21は、第8実施例において用いられる濃度特性値CPについて説明する図である。図21に示す濃度特性値CPは、搬送機構に含まれる回転体の偏心に基づく搬送速度の周期的な変動に基づく濃度の変動を表している。このような濃度特性値CPは、例えば、偏心量などに基づいた計算によって理論的に算出されても良い。
H. Example 8:
In the characteristic value table 134 in the above embodiment, the density characteristic value CP of the entire range from the downstream end to the upstream end of the print medium P is recorded, but it is not necessary to record the density characteristic value CP of the entire range. The density characteristic value CP in a partial range may be recorded. Such an example will be described as a seventh embodiment. FIG. 21 is a diagram for explaining the density characteristic value CP used in the eighth embodiment. A density characteristic value CP shown in FIG. 21 represents density fluctuations based on periodic fluctuations in the conveyance speed based on the eccentricity of the rotating body included in the conveyance mechanism. Such a density characteristic value CP may be theoretically calculated, for example, by calculation based on the amount of eccentricity.

ここで、図21に示すように、本実施例における濃度特性値CPは、周期的に同じ値が繰り返されている。具体的には、媒体上位置0〜P1の第1範囲RG1内の濃度特性値CPと、媒体上位置P1〜P2(P2=2×P1)の第2範囲RG2内の濃度特性値CPと、媒体上位置P2〜P3(P3=3×P1)の第3範囲RG3内の濃度特性値CPと、は、それぞれ同じ値である。   Here, as shown in FIG. 21, the density characteristic value CP in the present embodiment is periodically repeated with the same value. Specifically, the density characteristic value CP in the first range RG1 at the medium position 0 to P1, and the density characteristic value CP in the second range RG2 at the medium position P1 to P2 (P2 = 2 × P1), The density characteristic value CP in the third range RG3 of the medium upper positions P2 to P3 (P3 = 3 × P1) is the same value.

そこで、第8実施例の特性値テーブル134には、第1範囲RG1内の濃度特性値CPのみが記録される。プリンタドライバ500は、誤差拡散処理(図9)において、第2範囲RG2内の濃度特性値CPとして、特性値テーブル134に記録された第1範囲RG1内の濃度特性値CPを用いる。同様に、プリンタドライバ500は、第3範囲RG3内の濃度特性値CPとして、特性値テーブル134に記録された第1範囲RG1内の濃度特性値CPを用いる。その他の具体的な処理は、第1実施例と同様である。本実施例によれば、搬送速度の周期的な変動に起因する濃度ムラを適切に抑制することができる。さらに、本実施例の特性値テーブル134には、印刷媒体Pの下流端から上流端までの全範囲のうち、一部の範囲の濃度特性値CPのみが記録されるので、特性値テーブル134のデータ量を低減することができる。この結果、特性値テーブル134を格納するためのメモリ容量を低減することができる。   Therefore, only the density characteristic value CP within the first range RG1 is recorded in the characteristic value table 134 of the eighth embodiment. In the error diffusion process (FIG. 9), the printer driver 500 uses the density characteristic value CP in the first range RG1 recorded in the characteristic value table 134 as the density characteristic value CP in the second range RG2. Similarly, the printer driver 500 uses the density characteristic value CP in the first range RG1 recorded in the characteristic value table 134 as the density characteristic value CP in the third range RG3. Other specific processing is the same as in the first embodiment. According to the present embodiment, it is possible to appropriately suppress density unevenness due to periodic fluctuations in the conveyance speed. Furthermore, only the density characteristic value CP of a part of the entire range from the downstream end to the upstream end of the print medium P is recorded in the characteristic value table 134 of the present embodiment. The amount of data can be reduced. As a result, the memory capacity for storing the characteristic value table 134 can be reduced.

I.変形例:
(1)上記の各実施例では、印刷装置100のプリンタドライバ500が備える機能、すなわち、画像データ取得部510、印刷データ生成部520、印刷データ供給部530の機能は、印刷装置100のCPU110に備えられても良い。すなわち、上記の各実施例では、計算機200が「制御装置」の例であり、本変形例では、印刷装置100が「制御装置」の例である。
I. Variations:
(1) In each embodiment described above, the functions of the printer driver 500 of the printing apparatus 100, that is, the functions of the image data acquisition unit 510, the print data generation unit 520, and the print data supply unit 530, It may be provided. That is, in each of the above embodiments, the computer 200 is an example of a “control device”, and in the present modification, the printing device 100 is an example of a “control device”.

(2)上記の第1実施例では、注目行の副走査方向の下流側に隣接する第1の近傍行に対応する濃度特性値CPを、注目補正用データHDを算出するために用いている。また、第3実施例では、さらに、第1の近傍行の副走査方向の下流側に隣接する第2の近傍行に対応する濃度特性値CPを、注目補正用データHDを算出するために用いている。これに限らず、注目補正用データHDの算出に用いられる2以上の濃度特性値CPは、注目行に対応する濃度特性値CPと、注目行とは副走査方向の位置が異なる1以上の近傍行(近傍画素)に対応する濃度特性値CPとを含めば良い。これらの近傍行は、注目行と隣接している必要はなく、1〜数行だけ離れた位置の行に対応していても良い。一般的に言うと、近傍行(近傍画素)は、注目行(注目画素)とは副走査方向の位置が異なる行(画素)であり、注目行(注目画素)より前に誤差拡散処理の処理対象とされる行(画素)であればよい。また、第2の近傍行(第2の近傍画素)は、第1の近傍行(第1の近傍画素)とは副走査方向の位置が異なる行(画素)であり、第1の近傍行(第1の近傍画素)より前に誤差拡散処理の処理対象とされる行(画素)であればよい。 (2) In the first embodiment, the density characteristic value CP corresponding to the first neighboring row adjacent to the downstream side in the sub-scanning direction of the target row is used for calculating the target correction data HD. . In the third embodiment, the density characteristic value CP corresponding to the second neighboring row adjacent to the downstream side in the sub-scanning direction of the first neighboring row is further used to calculate the attention correction data HD. ing. Not limited to this, the two or more density characteristic values CP used for the calculation of the attention correction data HD are the density characteristic value CP corresponding to the attention row and one or more neighborhoods where the position of the attention row is different in the sub-scanning direction. The density characteristic value CP corresponding to the row (neighboring pixel) may be included. These neighboring lines do not need to be adjacent to the target line, and may correspond to lines at positions one to several lines away. Generally speaking, the neighboring row (neighboring pixel) is a row (pixel) whose position in the sub-scanning direction is different from that of the target row (target pixel), and the error diffusion process is performed before the target row (target pixel). Any row (pixel) may be used. The second neighboring row (second neighboring pixel) is a row (pixel) whose position in the sub-scanning direction is different from that of the first neighboring row (first neighboring pixel), and the first neighboring row ( Any row (pixel) that is subject to error diffusion processing prior to (first neighboring pixels) may be used.

(3)上記各実施例では、図9のステップS560において、注目画素についての誤差値ΔEが、ワーク領域234に格納される。そして、図9のステップS530では、ハーフトーン処理部は、ワーク領域234に格納された周辺画素の誤差値ΔEを収集することによって補正画素値PV'を算出している。この構成に代えて、ハーフトーン処理部522は、ステップS560において、注目画素の周辺の未処理の画素に、誤差拡散マトリクスMT1に従って、誤差値ΔEを割り当ててもよい。誤差値ΔEのうちの割り当て分は、例えば、ステップS560において、割り当て先の未処理の画素の画素値に、加算される。ステップS525で、注目画素が選択された時点で、当該注目画素の画素値は、上記実施例の補正画素値PV'に等しく、図9のS530の処理は省略される。 (3) In each of the above embodiments, the error value ΔE for the pixel of interest is stored in the work area 234 in step S560 of FIG. In step S530 of FIG. 9, the halftone processing unit calculates the corrected pixel value PV ′ by collecting the error values ΔE of the peripheral pixels stored in the work area 234. Instead of this configuration, in step S560, the halftone processing unit 522 may assign an error value ΔE to unprocessed pixels around the target pixel according to the error diffusion matrix MT1. For example, in step S560, the allocated portion of the error value ΔE is added to the pixel value of the unprocessed pixel that is the allocation destination. When the target pixel is selected in step S525, the pixel value of the target pixel is equal to the corrected pixel value PV ′ of the above embodiment, and the process of S530 in FIG. 9 is omitted.

(4)図5の特性値テーブル134に記録された濃度特性値CPは、均一画像を表すテスト画像の濃度を測定した濃度値のうち、最も低い濃度値を基準値「0」として算出されている。しかしながら、最も低い濃度値以外の濃度値を基準値「0」として算出されてもよい。この場合、特性値テーブル134に記録された濃度特性値CPは、マイナスの値を取り得る。 (4) The density characteristic value CP recorded in the characteristic value table 134 of FIG. 5 is calculated with the lowest density value among the density values obtained by measuring the density of the test image representing the uniform image as the reference value “0”. Yes. However, the density value other than the lowest density value may be calculated as the reference value “0”. In this case, the density characteristic value CP recorded in the characteristic value table 134 can take a negative value.

(5)上記各実施例では、注目補正用データHD(255+Dtarget+x・(Dtarget−Dpre1))を算出するために、「255」という数値を採用している。これは、印刷画像において、1個のドット値「1」に対応して形成されるドットの相対濃度値(256階調で表されるドットの濃度値)の最大値として「255(CMYK画像データ310内の画素が採り得る最大の値)」を採用していることを意味する。この構成に代えて、注目補正用データHDを算出するための数値として「255」以外の数値を用いてもよい。 (5) In each of the above embodiments, the numerical value “255” is used to calculate the attention correction data HD (255 + Dtarget + x · (Dtarget−Dpre1)). This is because “255 (CMYK image data) is the maximum value of the relative density value of dots formed corresponding to one dot value“ 1 ”(dot density value represented by 256 gradations) in the print image. This means that the maximum value that can be taken by the pixels within 310 is adopted. Instead of this configuration, a numerical value other than “255” may be used as a numerical value for calculating the attention correction data HD.

(6)図5の特性値テーブル134において、濃度特性値CPが最小である媒体上位置に対応する濃度特性値CPを「255」に設定してもよい。即ち、濃度特性値CPは、図5に示される値に「255」を加算した値でもよい。この場合、例えば、第1実施例の補正用データ取得部525は、図9のS520において、「Dtarget+x・(Dtarget−Dpre1)」という数式に従って、注目補正用データHDを算出すればよい(即ち「255」を加算する必要がない)。一般的に言うと、「濃度特性値CP」は、印刷媒体上に印刷される画像の印刷濃度に関する特性値であればよい。 (6) In the characteristic value table 134 of FIG. 5, the density characteristic value CP corresponding to the position on the medium where the density characteristic value CP is minimum may be set to “255”. That is, the density characteristic value CP may be a value obtained by adding “255” to the value shown in FIG. In this case, for example, the correction data acquisition unit 525 of the first embodiment may calculate the attention correction data HD according to the mathematical expression “Dtarget + x · (Dtarget−Dpre1)” in S520 of FIG. 255 ”need not be added). Generally speaking, the “density characteristic value CP” may be a characteristic value related to the print density of an image printed on a print medium.

(7)上記各実施例では、プリンタドライバ500の印刷データ生成部520が、印刷処理が開始されてから、特性値テーブル134を印刷装置100から取得している(図6:S20)。しかしながら、特性値テーブル134の取得のタイミングは、これに限られない。例えば、プリンタドライバ500は、プリンタドライバ500が印刷装置100にインストールされたタイミングで、特性値テーブル134を印刷装置100から取得しても良い。 (7) In each of the above embodiments, the print data generation unit 520 of the printer driver 500 acquires the characteristic value table 134 from the printing apparatus 100 after the printing process is started (FIG. 6: S20). However, the acquisition timing of the characteristic value table 134 is not limited to this. For example, the printer driver 500 may acquire the characteristic value table 134 from the printing apparatus 100 at the timing when the printer driver 500 is installed in the printing apparatus 100.

(8)上記各実施例では、特性値テーブル134は、印刷装置100の製造者が管理するサーバに、個々の印刷装置100を特定する情報(製造番号など)と対応付けて、格納されていても良い。この場合には、印刷装置100やプリンタドライバ500が、必要に応じて、当該サーバに製造番号などを通知して、特性値テーブル134を取得することとしても良い。 (8) In each of the above embodiments, the characteristic value table 134 is stored in a server managed by the manufacturer of the printing apparatus 100 in association with information (such as a manufacturing number) that identifies each printing apparatus 100. Also good. In this case, the printing apparatus 100 or the printer driver 500 may acquire the characteristic value table 134 by notifying the server of the manufacturing number or the like as necessary.

(9)上記各実施例と各変形例とにおいて、ハードウェアによって実現されていた構成の一部をソフトウェアに置き換えるようにしてもよく、逆に、ソフトウェアによって実現されていた構成の一部あるいは全部をハードウェアに置き換えるようにしてもよい。 (9) In each of the above-described embodiments and modifications, a part of the configuration realized by hardware may be replaced with software. Conversely, part or all of the configuration realized by software is used. May be replaced with hardware.

以上、実施例、変形例に基づき本発明について説明してきたが、上記した発明の実施の形態は、本発明の理解を容易にするためのものであり、本発明を限定するものではない。本発明は、その趣旨並びに特許請求の範囲を逸脱することなく、変更、改良され得ると共に、本発明にはその等価物が含まれる。   As mentioned above, although this invention was demonstrated based on the Example and the modification, Embodiment mentioned above is for making an understanding of this invention easy, and does not limit this invention. The present invention can be changed and improved without departing from the spirit and scope of the claims, and equivalents thereof are included in the present invention.

2...印刷システム、10...筐体、20...排紙トレイ、30...給紙トレイ、50...印刷実行部、51...露光部、52...トナーカートリッジ、53...現像ローラ、54...感光ドラム、55...転写ローラ、56...定着部、57A...駆動ローラ、57B...従動ローラ、58...搬送ベルト、59...プロセスユニット、100...印刷装置、110...CPU、115...印刷制御部、120...揮発性メモリ、130...不揮発性メモリ、132...プログラム、134...特性値テーブル、134A...補正用データテーブル、140...表示部、150...操作部、160...通信部、200...計算機、210...CPU、230...メモリ、232...ドライバプログラム、234...ワーク領域、240...表示部、250...操作部、260...通信部、500...プリンタドライバ、510...画像データ取得部、520...印刷データ生成部、521...色変換部、522...ハーフトーン処理部、525...補正用データ取得部、526...誤差使用補正部、527...決定部、528...算出部、529...補償補正部、527...補償部、530...印刷データ供給部     2 ... printing system, 10 ... housing, 20 ... paper discharge tray, 30 ... paper feed tray, 50 ... print execution unit, 51 ... exposure unit, 52 ... toner Cartridge, 53 ... developing roller, 54 ... photosensitive drum, 55 ... transfer roller, 56 ... fixing unit, 57A ... driving roller, 57B ... driven roller, 58 ... conveying belt 59 ... Process unit 100 ... Printing device 110 ... CPU 115 ... Print control unit 120 ... Volatile memory 130 ... Nonvolatile memory 132 ... Program 134 ... Characteristic value table, 134A ... Correction data table, 140 ... Display unit, 150 ... Operation unit, 160 ... Communication unit, 200 ... Computer, 210 ... CPU , 230 ... Memory, 232 ... Driver program, 234 ... Work area, 240 ... Display unit, 250 ... Operation unit, 260 ... Communication unit, 500 ... Printer driver 510 ... Image data acquisition unit, 520 ... Print data generation unit, 521 ... Color conversion unit, 522 ... Halftone processing unit, 525 ... Data acquisition unit for correction, 526 ... Error Use correction unit, 527 ... determination unit, 528 ... calculation unit, 529 ... compensation correction unit, 527 ... compensation unit, 530 ... print data supply unit

Claims (10)

印刷媒体上に印刷画像を印刷する印刷実行部を制御する制御装置であって、
対象画像を表す対象画像データに対して、誤差拡散処理を含む画像処理を実行して、前記対象画像を表す前記印刷画像を前記印刷実行部に印刷させるための印刷データを生成する生成部と、
前記印刷データを前記印刷実行部に供給する供給部と、
を備え、
前記生成部は、
前記画像処理の処理対象である注目画素に対応する媒体上位置である注目位置に対応する補正用データを取得する補正用データ取得部であって、前記媒体上位置は、前記印刷媒体上における副走査方向の位置である、前記補正用データ取得部と、
前記印刷媒体上に印刷される画像の印刷濃度のばらつきを補償する前記補償処理を前記注目画素に対して実行する補償部であって、前記補償処理は、前記注目位置に対応する前記補正用データを用いて実行される、前記補償部と、
を備え、
前記注目位置に対応する前記補正用データは、注目値と、第1の近傍値と、の差分である第1の差分を用いて得られるデータであり、
前記注目値は、前記注目位置における濃度特性値を用いて得られる値であり、
前記第1の近傍値は、前記注目画素の近傍に位置する第1の近傍画素に対応する前記媒体上位置である第1の近傍位置における前記濃度特性値を用いて得られる値であり、
前記第1の近傍画素は、前記注目画素とは副走査方向の位置が異なる画素であり、前記注目画素より前に前記誤差拡散処理の処理対象とされる画素であり、
前記濃度特性値は、前記印刷媒体上に印刷される画像の印刷濃度に関する特性値である、制御装置。
A control device that controls a print execution unit that prints a print image on a print medium,
A generation unit that performs image processing including error diffusion processing on target image data representing the target image, and generates print data for causing the print execution unit to print the print image representing the target image;
A supply unit for supplying the print data to the print execution unit;
With
The generator is
A correction data acquisition unit that acquires correction data corresponding to a target position that is a position on the medium corresponding to a target pixel that is a processing target of the image processing, wherein the position on the medium is a subordinate on the print medium. The correction data acquisition unit, which is a position in the scanning direction;
A compensation unit that performs the compensation process for compensating for variations in print density of an image printed on the print medium for the pixel of interest, wherein the compensation process corresponds to the correction data corresponding to the position of interest. The compensation unit is implemented using:
With
The correction data corresponding to the attention position is data obtained using a first difference that is a difference between the attention value and the first neighborhood value;
The attention value is a value obtained using a density characteristic value at the attention position,
The first neighborhood value is a value obtained using the density characteristic value at a first neighborhood position that is a position on the medium corresponding to a first neighborhood pixel located in the neighborhood of the target pixel,
The first neighboring pixel is a pixel whose position in the sub-scanning direction is different from that of the target pixel, and is a pixel to be processed by the error diffusion process before the target pixel.
The control device, wherein the density characteristic value is a characteristic value related to a print density of an image printed on the print medium.
前記補正用データは、前記第1の差分に第1の係数を乗算することによって算出される値を用いて得られるデータであり、
前記生成部は、第1の誤差拡散マトリクスを用いた前記誤差拡散処理を実行し、
前記第1の誤差拡散マトリクスは、前記注目画素の周辺に位置する複数個の周辺画素に対応する複数個の誤差拡散係数を含み、
前記第1の係数は、前記誤差拡散係数に基づいて決定される、請求項1に記載の制御装置。
The correction data is data obtained by using a value calculated by multiplying the first difference by a first coefficient,
The generation unit executes the error diffusion process using a first error diffusion matrix,
The first error diffusion matrix includes a plurality of error diffusion coefficients corresponding to a plurality of peripheral pixels located around the target pixel;
The control device according to claim 1, wherein the first coefficient is determined based on the error diffusion coefficient.
前記第1の誤差拡散マトリクスは、前記注目画素の周辺に位置するM1個(M1≧2)の周辺画素に対応するM1個の誤差拡散係数を含み、
前記M1個の誤差拡散係数は、前記M1個の周辺画素のうち、前記注目画素を含む行以外の行に位置するM2個(M2≦M1)の周辺画素に対応するM2個の誤差拡散係数を含み、
前記第1の係数は、前記M1個の誤差拡散係数の総和と、前記M2個の誤差拡散係数の総和と、の比率に基づいて決定される、請求項2に記載の制御装置。
The first error diffusion matrix includes M1 error diffusion coefficients corresponding to M1 (M1 ≧ 2) peripheral pixels located around the target pixel,
The M1 error diffusion coefficients are M2 error diffusion coefficients corresponding to M2 (M2 ≦ M1) peripheral pixels located in a row other than the row including the target pixel among the M1 peripheral pixels. Including
The control device according to claim 2, wherein the first coefficient is determined based on a ratio of a sum of the M1 error diffusion coefficients and a sum of the M2 error diffusion coefficients.
前記第1の近傍画素を含む行は、前記注目画素を含む行に対して副走査方向に隣接する行である、請求項1ないし3のいずれかに記載の制御装置。   4. The control device according to claim 1, wherein the row including the first neighboring pixel is a row adjacent to the row including the target pixel in a sub-scanning direction. 5. 前記補正用データは、前記第1の近傍値と、第2の近傍値と、の差分である第2の差分をさらに用いて得られるデータであり、
前記第2の近傍値は、前記第1の近傍画素の近傍に位置する第2の近傍画素に対応する前記媒体上位置である第2の近傍位置における前記濃度特性値を用いて得られる値であり、
前記第2の近傍画素は、前記第1の近傍画素とは副走査方向の位置が異なる画素であり、前記第1の近傍画素より前に前記誤差拡散処理の処理対象とされる画素である、請求項1ないし請求項4のいずれかに記載の制御装置。
The correction data is data obtained by further using a second difference that is a difference between the first neighborhood value and the second neighborhood value,
The second neighborhood value is a value obtained by using the density characteristic value at the second neighborhood position that is the position on the medium corresponding to the second neighborhood pixel located in the neighborhood of the first neighborhood pixel. Yes,
The second neighboring pixel is a pixel whose position in the sub-scanning direction is different from that of the first neighboring pixel, and is a pixel to be processed by the error diffusion process before the first neighboring pixel. The control device according to any one of claims 1 to 4.
前記補正用データは、前記第1の差分に第1の係数を乗算することによって算出される値と、前記第2の差分に第2の係数を乗算することによって算出される値と、を用いて得られるデータであり、
前記生成部は、第2の誤差拡散マトリクスを用いた前記誤差拡散処理を実行し、
前記第2の誤差拡散マトリクスは、前記注目画素の周辺に位置するM1個(M1≧2)の周辺画素に対応するM1個の誤差拡散係数を含み、
前記M1個の誤差拡散係数は、前記M1個の周辺画素のうち、前記注目画素を含む行以外の行に位置するM2個(M2<M1)の周辺画素に対応するM2個の誤差拡散係数と、前記M2個の周辺画素のうち、前記前記第1の近傍画素を含む行以外の行に含まれるM3個(M3<M2)の周辺画素に対応するM3個の誤差拡散係数と、を含み、
前記第1の係数は、前記M1個の誤差拡散係数の総和と、前記M2個の誤差拡散係数の総和と、の比率に基づいて決定され、
前記第2の係数は、前記M2個の誤差拡散係数の総和と、前記M3個の誤差拡散係数の総和と、の比率に基づいて決定される、請求項5に記載の制御装置。
The correction data uses a value calculated by multiplying the first difference by a first coefficient and a value calculated by multiplying the second difference by a second coefficient. Data obtained by
The generation unit executes the error diffusion process using a second error diffusion matrix,
The second error diffusion matrix includes M1 error diffusion coefficients corresponding to M1 (M1 ≧ 2) peripheral pixels located around the target pixel,
The M1 error diffusion coefficients are M2 error diffusion coefficients corresponding to M2 (M2 <M1) peripheral pixels located in a row other than the row including the target pixel among the M1 peripheral pixels. M3 error diffusion coefficients corresponding to M3 (M3 <M2) peripheral pixels included in a row other than the row including the first neighboring pixel among the M2 peripheral pixels,
The first coefficient is determined based on a ratio of a sum of the M1 error diffusion coefficients and a sum of the M2 error diffusion coefficients,
6. The control device according to claim 5, wherein the second coefficient is determined based on a ratio of a sum of the M2 error diffusion coefficients and a sum of the M3 error diffusion coefficients.
前記注目値は、前記注目画素を含む行を含むL個(L≧1)の行に対応するL個の前記媒体上位置におけるL個の前記濃度特性値の平均値であり、
前記第1の近傍値は、前記第1の近傍位置を含む行を含むL個の行に対応するL個の前記媒体上位置におけるL個の前記濃度特性値の平均値である、請求項1ないし請求項6のいずれかに記載の制御装置。
The attention value is an average value of L density characteristic values at L positions on the medium corresponding to L (L ≧ 1) rows including the row including the target pixel,
2. The first neighborhood value is an average value of L density characteristic values at L positions on the medium corresponding to L rows including a row including the first neighborhood position. The control device according to claim 6.
前記生成部は、
第1種の色空間で表された前記対象画像データに対して色変換処理を実行して、第2種の色空間で表された変換画像データを生成する色変換部と、
前記変換画像データに対して、ハーフトーン処理を実行して、前記印刷データを生成するハーフトーン処理部と、
を備え、
前記ハーフトーン処理部は、
前記補正用データ取得部と、
前記変換画像データ内の前記注目画素の値を、前記注目画素の周辺に位置する複数個の周辺画素に対応する複数個の誤差値を用いて補正して、補正済みの値を生成する誤差使用補正部と、
前記補正済みの値と、閾値と、を用いて、前記注目位置におけるドットの形成状態を決定する決定部と、
前記補償部としての算出部であって、前記注目画素における前記ドットの形成状態に応じて、前記注目画素に対応する誤差値を算出する前記算出部と、
を含み、
前記算出部は、前記補償処理として、前記補正済みの値と、前記補正用データと、を用いて、前記誤差値を算出する前記算出処理を実行する、請求項1ないし請求項7のいずれかに記載の制御装置。
The generator is
A color conversion unit that performs color conversion processing on the target image data represented in the first type color space to generate converted image data represented in the second type color space;
A halftone processing unit that performs halftone processing on the converted image data to generate the print data;
With
The halftone processing unit
The correction data acquisition unit;
Error use for correcting a value of the target pixel in the converted image data using a plurality of error values corresponding to a plurality of peripheral pixels located around the target pixel to generate a corrected value A correction unit;
A determination unit that determines a dot formation state at the position of interest using the corrected value and a threshold;
A calculation unit as the compensation unit, wherein the calculation unit calculates an error value corresponding to the target pixel according to a formation state of the dot in the target pixel;
Including
8. The calculation unit according to claim 1, wherein the calculation unit executes the calculation process of calculating the error value using the corrected value and the correction data as the compensation process. The control device described in 1.
前記生成部は、
第1種の色空間で表された前記対象画像データに対して色変換処理を実行して、第2種の色空間で表された変換画像データを生成する色変換部と、
前記変換画像データに対して、ハーフトーン処理を実行して、前記印刷データを生成するハーフトーン処理部と、
を備え、
前記ハーフトーン処理部は、
前記補正用データ取得部と、
前記補償部としての補償補正部であって、前記ハーフトーン処理前の前記変換画像データ内の前記注目画素の値を、前記補正用データを用いて補正する前記補償処理を実行する前記補償補正部と、
補正後の前記注目画素の値を、前記注目画素の周辺に位置する複数個の周辺画素に対応する複数個の誤差値を用いて補正して、補正済みの値を生成する誤差使用補正部と、
前記補正済みの値と、閾値と、を用いて、前記注目位置におけるドットの形成状態を決定する決定部と、
前記注目画素における前記ドットの形成状態に応じて、前記注目画素に対応する誤差値を算出する算出部と、を含む請求項1ないし請求項7のいずれかに記載の制御装置。
The generator is
A color conversion unit that performs color conversion processing on the target image data represented in the first type color space to generate converted image data represented in the second type color space;
A halftone processing unit that performs halftone processing on the converted image data to generate the print data;
With
The halftone processing unit
The correction data acquisition unit;
The compensation correction unit as the compensation unit, wherein the compensation correction unit executes the compensation process for correcting the value of the target pixel in the converted image data before the halftone process using the correction data. When,
An error use correction unit that corrects the corrected value of the pixel of interest using a plurality of error values corresponding to a plurality of peripheral pixels located around the pixel of interest, and generates a corrected value; ,
A determination unit that determines a dot formation state at the position of interest using the corrected value and a threshold;
The control device according to claim 1, further comprising: a calculation unit that calculates an error value corresponding to the target pixel in accordance with a dot formation state in the target pixel.
印刷媒体上に印刷画像を印刷する印刷実行部を制御するためのコンピュータプログラムであって、
対象画像を表す対象画像データに対して、誤差拡散処理を含む画像処理を実行して、前記対象画像を表す前記印刷画像を前記印刷実行部に印刷させるための印刷データを生成する生成機能と、
前記印刷データを前記印刷実行部に供給する供給機能と、
を備え、
前記生成機能は、
前記画像処理の処理対象である注目画素に対応する媒体上位置である注目位置に対応する補正用データを取得する補正用データ取得機能であって、前記媒体上位置は、前記印刷媒体上における副走査方向の位置である、前記補正用データ取得機能と、
前記印刷媒体上に印刷される画像の印刷濃度のばらつきを補償する前記補償処理を前記注目画素に対して実行する補償機能であって、前記補償処理は、前記注目位置に対応する前記補正用データを用いて実行される、前記補償機能と、
をコンピュータに実現させ、
前記注目位置に対応する前記補正用データは、注目値と、第1の近傍値と、の差分である第1の差分を用いて得られるデータであり、
前記注目値は、前記注目位置における濃度特性値を用いて得られる値であり、
前記第1の近傍値は、前記注目画素の近傍に位置する第1の近傍画素に対応する前記媒体上位置である第1の近傍位置における前記濃度特性値を用いて得られる値であり、
前記第1の近傍画素は、前記注目画素とは副走査方向の位置が異なる画素であり、前記注目画素より前に前記誤差拡散処理の処理対象とされる画素であり、
前記濃度特性値は、前記印刷媒体上に印刷される画像の印刷濃度に関する特性値である、コンピュータプログラム。
A computer program for controlling a print execution unit for printing a print image on a print medium,
A generation function for performing image processing including error diffusion processing on target image data representing the target image and generating print data for causing the print execution unit to print the print image representing the target image;
A supply function for supplying the print data to the print execution unit;
With
The generation function is
A correction data acquisition function for acquiring correction data corresponding to a target position that is a position on a medium corresponding to a target pixel that is a processing target of the image processing, wherein the position on the medium is a subordinate position on the print medium. The correction data acquisition function, which is a position in the scanning direction;
A compensation function that performs the compensation process for compensating for variations in print density of an image printed on the print medium for the pixel of interest, wherein the compensation process corresponds to the correction data corresponding to the position of interest. The compensation function performed using:
Is realized on a computer,
The correction data corresponding to the attention position is data obtained using a first difference that is a difference between the attention value and the first neighborhood value;
The attention value is a value obtained using a density characteristic value at the attention position,
The first neighborhood value is a value obtained using the density characteristic value at a first neighborhood position that is a position on the medium corresponding to a first neighborhood pixel located in the neighborhood of the target pixel,
The first neighboring pixel is a pixel whose position in the sub-scanning direction is different from that of the target pixel, and is a pixel to be processed by the error diffusion process before the target pixel.
The computer program, wherein the density characteristic value is a characteristic value related to a print density of an image printed on the print medium.
JP2012191146A 2012-08-31 2012-08-31 Control device and computer program Active JP5994492B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012191146A JP5994492B2 (en) 2012-08-31 2012-08-31 Control device and computer program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012191146A JP5994492B2 (en) 2012-08-31 2012-08-31 Control device and computer program

Publications (2)

Publication Number Publication Date
JP2014049925A true JP2014049925A (en) 2014-03-17
JP5994492B2 JP5994492B2 (en) 2016-09-21

Family

ID=50609181

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012191146A Active JP5994492B2 (en) 2012-08-31 2012-08-31 Control device and computer program

Country Status (1)

Country Link
JP (1) JP5994492B2 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11112810A (en) * 1997-10-07 1999-04-23 Canon Inc Image formation device, control method therefor and storage medium
JP2008018632A (en) * 2006-07-13 2008-01-31 Seiko Epson Corp Printer, printer controlling program, storage medium storing the program and printer controlling method, image processing apparatus, image processing program, storage medium storing the program and image processing method, and compensation region information forming apparatus, compensation region information forming program, storage medium storing the program, and compensation region information forming method
JP2011131428A (en) * 2009-12-22 2011-07-07 Brother Industries Ltd Control device and computer program
JP2012160905A (en) * 2011-01-31 2012-08-23 Canon Inc Image forming apparatus

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11112810A (en) * 1997-10-07 1999-04-23 Canon Inc Image formation device, control method therefor and storage medium
JP2008018632A (en) * 2006-07-13 2008-01-31 Seiko Epson Corp Printer, printer controlling program, storage medium storing the program and printer controlling method, image processing apparatus, image processing program, storage medium storing the program and image processing method, and compensation region information forming apparatus, compensation region information forming program, storage medium storing the program, and compensation region information forming method
JP2011131428A (en) * 2009-12-22 2011-07-07 Brother Industries Ltd Control device and computer program
JP2012160905A (en) * 2011-01-31 2012-08-23 Canon Inc Image forming apparatus

Also Published As

Publication number Publication date
JP5994492B2 (en) 2016-09-21

Similar Documents

Publication Publication Date Title
JP5006731B2 (en) Image forming apparatus and image correction method
JP5761929B2 (en) Image forming apparatus
JP2009262344A (en) Image formation device and image correcting method
EP1739505A1 (en) Image forming apparatus and program for full bleed printing
JP5904780B2 (en) Image forming apparatus
JP2013219526A (en) Image processing device, image formation device, and program
JP6139376B2 (en) Exposure apparatus and image forming apparatus
JP2010137446A (en) Image forming apparatus
JP6232775B2 (en) Image forming apparatus, image forming method, and image forming system
JP5515893B2 (en) Optical writing apparatus, image forming apparatus, and control method of optical writing apparatus
JP6201557B2 (en) Image forming apparatus
US20090296121A1 (en) Image forming apparatus and density correcting method
JP5994492B2 (en) Control device and computer program
JP6044193B2 (en) Control device and computer program
JP2007030192A (en) Image forming apparatus and program
US8963977B2 (en) Image forming apparatus that includes a plurality of light emitting elements arrayed so as to expose different positions in a longitudinal direction of a photosensitive member and configured to control a light amount of a light emitted from the plurality of light emitting elements
JP2011135387A (en) Image processing apparatus and image forming apparatus
JP2011186344A (en) Image forming apparatus and density unevenness correction method
JP2010008516A (en) Image forming apparatus, image forming system, and image processing method
JP5441743B2 (en) Image forming apparatus and light amount correction method thereof
JP2010102098A (en) Image forming apparatus
JP5079065B2 (en) Color image processing apparatus and program
JP5821863B2 (en) Image forming apparatus
JP5935357B2 (en) Printing device, computing device, and control program
JP2005262620A (en) Image forming device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20150803

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20160513

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20160517

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20160630

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20160726

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20160808

R150 Certificate of patent or registration of utility model

Ref document number: 5994492

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150