JP2020023074A - Image processing device and computer program - Google Patents

Image processing device and computer program Download PDF

Info

Publication number
JP2020023074A
JP2020023074A JP2018147988A JP2018147988A JP2020023074A JP 2020023074 A JP2020023074 A JP 2020023074A JP 2018147988 A JP2018147988 A JP 2018147988A JP 2018147988 A JP2018147988 A JP 2018147988A JP 2020023074 A JP2020023074 A JP 2020023074A
Authority
JP
Japan
Prior art keywords
print
partial
printing
target
determined
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
JP2018147988A
Other languages
Japanese (ja)
Other versions
JP7070834B2 (en
Inventor
彰太 森川
Shota Morikawa
彰太 森川
久野 雅司
Masashi Kuno
雅司 久野
覚 荒金
Manabu Aragane
覚 荒金
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 JP2018147988A priority Critical patent/JP7070834B2/en
Priority to US16/525,990 priority patent/US10685267B2/en
Publication of JP2020023074A publication Critical patent/JP2020023074A/en
Priority to US16/887,718 priority patent/US11010648B2/en
Application granted granted Critical
Publication of JP7070834B2 publication Critical patent/JP7070834B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

To improve printing speed of printing using forward printing and backward printing.SOLUTION: A profile for forward printing and a profile for backward printing are adjusted so that a color of an image to be printed in a forward direction using the profile for a forward printing and a color of an image to be printed in a backward printing using the profile for a backward printing are similar to each other. An image processing device executes first generation processing which is executed using the profile corresponding to a first direction, the opposite direction of a printing direction of partial printing lastly performed, to generate first partial printing data; and executes second generation processing which is executed using the profile corresponding to a second direction, the same direction as the printing direction of the partial printing lastly performed, to generate second partial printing data. The image processing device determines a noticeable printing direction to be the first direction using noticeable partial image data, outputs first partial printing data when the noticeable printing direction is determined to be the first direction, and outputs second partial printing data when the noticeable printing direction is determined to be the second direction.SELECTED DRAWING: Figure 5

Description

本明細書は、主走査を行いつつドットを形成する部分印刷と副走査とを複数回実行することで印刷を行う印刷実行部のための画像処理に関する。   This specification relates to image processing for a print execution unit that performs printing by performing partial printing for forming dots and sub-scanning a plurality of times while performing main scanning.

特許文献1には、順方向に印刷ヘッドを移動させつつインクを吐出する吐出処理と、逆方向に印刷ヘッドを移動させつつインクを吐出する吐出処理と、を用いて画像を印刷する複合機のための画像処理装置が開示されている。この画像処理装置は、バンド画像データの画素値に従って、順方向の吐出処理によって印刷されるバンド画像と、逆方向の吐出処理によって印刷されるバンド画像と、の色の相違が比較的大きいことを示す条件が満たされるか否かを判断する。画像処理装置は、該条件が満たされる場合には、吐出処理の方向を順方向に決定し、該条件が満たされない場合には、吐出処理の方向を、直前の吐出処理の方向と反対の方向に決定する。   Patent Document 1 discloses a multifunction machine that prints an image using an ejection process that ejects ink while moving a print head in a forward direction and an ejection process that ejects ink while moving a print head in a reverse direction. Image processing apparatus is disclosed. This image processing apparatus determines that the color difference between a band image printed by a forward ejection process and a band image printed by a reverse ejection process is relatively large according to the pixel value of the band image data. It is determined whether or not the condition shown is satisfied. If the condition is satisfied, the image processing apparatus determines the direction of the ejection process to be the forward direction. If the condition is not satisfied, the image processing device sets the direction of the ejection process to the direction opposite to the direction of the immediately preceding ejection process. To decide.

特開2017−39205号公報JP 2017-39205 A

しかしながら、上記画像処理装置は、画像によっては、吐出処理の方向が順方向に決定されやすくなる。この場合には、順方向の吐出処理と逆方向の吐出処理とが交互に繰り返される場合よりも過度に印刷速度が低下する可能性があった。   However, in the image processing apparatus, the direction of the ejection process is easily determined to be the forward direction depending on the image. In this case, there is a possibility that the printing speed is excessively reduced as compared with the case where the forward discharge process and the reverse discharge process are alternately repeated.

本明細書は、往路印刷と復路印刷とを用いる印刷の印刷速度を向上できる技術を開示する。   This specification discloses a technique capable of improving the printing speed of printing using forward printing and backward printing.

本明細書に開示された技術は、以下の適用例として実現することが可能である。   The technology disclosed in this specification can be realized as the following application examples.

[適用例1]第1種のインクを吐出する第1種のノズルと、前記第1種のノズルとは主走査方向の位置が異なり、第2種のインクを吐出する第2種のノズルと、を有する印刷ヘッドと、印刷媒体に対して前記主走査方向に沿って前記印刷ヘッドを移動させる主走査を実行する主走査部と、前記印刷ヘッドに対して前記主走査方向と交差する副走査方向に沿って前記印刷媒体を移動させる副走査を実行する副走査部と、を備える印刷実行部であって、前記主走査を行いつつ前記印刷ヘッドによって前記印刷媒体にドットを形成する部分印刷と、前記副走査と、を複数回実行することで印刷を行う、前記印刷実行部のための画像処理装置であって、前記主走査方向に沿う往路方向での前記部分印刷のための往路用の色変換プロファイルと、前記主走査方向に沿う復路方向での前記部分印刷のための復路用の色変換プロファイルと、が格納された格納部であって、前記往路用の色変換プロファイルと前記復路用の色変換プロファイルとは、第1種の色値を、前記第1種のインクと前記第2種のインクを含む複数種のインクに対応する成分値を含む第2種の色値に変換するためのプロファイルであり、特定の前記第1種の色値を前記往路用の色変換プロファイルを用いて変換して得られる前記第2種の色値に基づいて前記往路方向での前記部分印刷にて印刷される画像の色と、前記特定の第1種の色値を前記復路用の色変換プロファイルを用いて変換して得られる前記第2種の色値に基づいて前記復路方向での前記部分印刷にて印刷される画像の色と、が近づくように調整されている、前記格納部と、処理対象の前記部分印刷で印刷される注目部分画像に対応する注目部分画像データに対して第1の色変換処理を含む第1の生成処理を実行して第1の部分印刷データを生成する第1の生成部であって、前記第1の色変換処理は、前記往路用の色変換プロファイルと前記復路用の色変換プロファイルとのうち、直前の前記部分印刷の印刷方向とは逆方向である第1方向に対応するプロファイルを用いて実行される、前記第1の生成部と、前記注目部分画像データに対して第2の色変換処理を含む第2の生成処理を実行して第2の部分印刷データを生成する第2の生成部であって、前記第2の色変換処理は、前記往路用の色変換プロファイルと前記復路用の色変換プロファイルとのうち、直前の前記部分印刷の印刷方向である第2方向に対応するプロファイルを用いて実行される、前記第2の生成部と、
前記注目部分画像データを用いて、前記処理対象の部分印刷の印刷方向である注目印刷方向を、前記往路方向と前記復路方向とのうちのいずれかに決定する印刷方向決定部であって、前記第1の部分印刷データを用いて印刷される前記注目部分画像と前記第2の部分印刷データを用いて印刷される前記注目部分画像との間で生じる色の相違が基準未満であると判断される場合に、前記注目印刷方向を前記第1方向に決定し、前記色の相違が前記基準以上であると判断される場合に、前記注目印刷方向を前記第2方向に決定する、前記印刷方向決定部と、前記注目印刷方向が前記第1方向に決定される場合に、前記第1方向で前記処理対象の部分印刷を行わせるために前記第1の部分印刷データを前記印刷実行部に出力し、前記注目印刷方向が前記第2方向に決定される場合に、前記第1方向で前記処理対象の部分印刷を行わせるために前記第2の部分印刷データを前記印刷実行部に出力する出力部と、を備える、画像処理装置。
[Application Example 1] A first type nozzle that discharges a first type of ink is different from a position of the first type nozzle in the main scanning direction, and a second type of nozzle that discharges a second type of ink. A main scanning unit that performs a main scan that moves the print head along the main scanning direction with respect to a print medium, and a sub-scan that intersects the main scanning direction with respect to the print head. A sub-scanning unit that performs a sub-scan that moves the print medium along a direction, and a partial execution that forms dots on the print medium by the print head while performing the main scan. Performing the printing by performing the sub-scanning a plurality of times, the image processing apparatus for the print execution unit, for the outward path for the partial printing in the outward direction along the main scanning direction Color conversion profile and the main A return path color conversion profile for the partial printing in the return direction along the inspection direction, and a storage unit in which the forward path color conversion profile and the return path color conversion profile are stored. A profile for converting a first type of color value into a second type of color value including component values corresponding to a plurality of types of ink including the first type of ink and the second type of ink. The color of the image printed in the partial printing in the forward direction based on the second type of color value obtained by converting the first type of color value using the color conversion profile for the forward path And printing in the partial printing in the return direction based on the second type color value obtained by converting the specific first type color value using the return path color conversion profile. The color of the image is adjusted to be closer, Storing unit, and executing a first generation process including a first color conversion process on target partial image data corresponding to the target partial image to be printed in the partial print to be processed, to generate first partial print data. A first generation unit that generates the first color conversion process, wherein, of the color conversion profile for the forward path and the color conversion profile for the return path, A first generation unit that executes using a profile corresponding to a first direction that is a reverse direction, and performs a second generation process including a second color conversion process on the target partial image data A second generation unit for generating second partial print data, wherein the second color conversion processing is performed by using the immediately preceding color conversion profile among the color conversion profile for the forward path and the color conversion profile for the return path. In the second direction, which is the printing direction of partial printing The second generator, which is executed using a corresponding profile;
A print direction determining unit that determines the target print direction, which is the print direction of the partial print to be processed, using the target partial image data, to one of the forward direction and the return direction; It is determined that a difference in color between the target partial image printed using the first partial print data and the target partial image printed using the second partial print data is less than a reference. The printing direction is determined to be the first direction, and if it is determined that the color difference is greater than or equal to the reference, the printing direction is determined to be the second direction. A determination unit, and, when the target print direction is determined to be the first direction, outputting the first partial print data to the print execution unit to cause the partial print of the processing target to be performed in the first direction And the noted printing direction is An output unit that, when determined in the second direction, outputs the second partial print data to the print execution unit to cause the partial print of the processing target to be performed in the first direction. Processing equipment.

上記構成によれば、特定の第1種の色値を往路用の色変換プロファイルを用いて変換して得られる第2種の色値に基づいて往路方向での部分印刷にて印刷される画像の色と、特定の第1種の色値を復路用の色変換プロファイルを用いて変換して得られる第2種の色値に基づいて復路方向での部分印刷にて印刷される画像の色と、が近づくように調整された往路用の色変換プロファイルと復路用の色変換プロファイルとが用いられる。この結果、第1の部分印刷データを用いて印刷される注目部分画像と第2の部分印刷データを用いて印刷される注目部分画像との間で生じる色の相違が基準未満である可能性が高くなる。この結果、注目印刷方向が直前の部分印刷の印刷方向とは逆方向に決定される可能性が高くなる。この結果、往路印刷と復路印刷とを用いる印刷の印刷速度を向上できる。   According to the above configuration, an image printed by partial printing in the forward direction based on the second type of color value obtained by converting a specific first type of color value using the color conversion profile for the forward direction. And a color of an image printed by partial printing in the backward direction based on a second type of color value obtained by converting a specific first type of color value using the color conversion profile for the backward direction. Are used for the forward path and the return path. As a result, there is a possibility that the difference in color between the target partial image printed using the first partial print data and the target partial image printed using the second partial print data is less than the reference. Get higher. As a result, there is a high possibility that the target printing direction is determined to be opposite to the printing direction of the immediately preceding partial printing. As a result, the printing speed of printing using forward printing and backward printing can be improved.

なお、本明細書に開示された技術は、種々の形態で実現可能であり、例えば、印刷装置、印刷実行部の制御方法、印刷方法、これらの装置および方法の機能を実現するためのコンピュータプログラム、そのコンピュータプログラムを記録した記録媒体、等の形態で実現することができる。   The technology disclosed in the present specification can be realized in various forms, for example, a printing apparatus, a control method of a print execution unit, a printing method, and a computer program for realizing the functions of these apparatuses and methods. , A recording medium on which the computer program is recorded, and the like.

実施例の印刷システム1000の構成を示すブロック図である。FIG. 1 is a block diagram illustrating a configuration of a printing system 1000 according to an embodiment. 印刷機構100の概略構成を示す図である。FIG. 2 is a diagram illustrating a schematic configuration of a printing mechanism. 印刷機構100の動作の説明図である。FIG. 4 is an explanatory diagram of the operation of the printing mechanism 100. 色評価情報CIの説明図である。FIG. 9 is an explanatory diagram of color evaluation information CI. 第1実施例の画像処理Aのフローチャートである。5 is a flowchart of image processing A according to the first embodiment. 印刷画像OIの一部を示す図である。FIG. 3 is a diagram illustrating a part of a print image OI. 第2実施例の画像処理Bのフローチャートである。9 is a flowchart of image processing B according to the second embodiment. 第3実施例の画像処理Cのフローチャートである。13 is a flowchart of image processing C according to the third embodiment. 第4実施例の画像処理Dのフローチャートである。It is a flow chart of image processing D of a 4th example. 第5実施例の処理のフローチャートである。It is a flow chart of processing of a 5th example.

A.第1実施例:
A−1: 印刷システム1000の構成
次に、実施の形態を実施例に基づき説明する。図1は、実施例の印刷システム1000の構成を示すブロック図である。
A. First embodiment:
A-1: Configuration of Printing System 1000 Next, an embodiment will be described based on an example. FIG. 1 is a block diagram illustrating a configuration of a printing system 1000 according to the embodiment.

印刷システム1000は、プリンタ200と、本実施例の画像処理装置としての端末装置300と、を含んでいる。プリンタ200と、端末装置300と、は、有線または無線のネットワークNWを介して、通信可能に接続されている。   The printing system 1000 includes a printer 200 and a terminal device 300 as an image processing device of the present embodiment. The printer 200 and the terminal device 300 are communicably connected via a wired or wireless network NW.

端末装置300は、プリンタ200のユーザが使用する計算機であり、例えば、パーソナルコンピュータやスマートフォンである。端末装置300は、端末装置300のコントローラとしてのCPU310と、ハードディスクドライブなどの不揮発性記憶装置320と、RAMなどの揮発性記憶装置330と、マウスやキーボードなどの操作部360と、液晶ディスプレイなどの表示部370と、通信部380と、を備えている。通信部380は、ネットワークNWに接続するための有線または無線のインタフェースを含む。   The terminal device 300 is a computer used by the user of the printer 200, and is, for example, a personal computer or a smartphone. The terminal device 300 includes a CPU 310 as a controller of the terminal device 300, a nonvolatile storage device 320 such as a hard disk drive, a volatile storage device 330 such as a RAM, an operation unit 360 such as a mouse and a keyboard, and a liquid crystal display. A display unit 370 and a communication unit 380 are provided. Communication unit 380 includes a wired or wireless interface for connecting to network NW.

揮発性記憶装置330は、CPU310のためのバッファ領域331を提供する。不揮発性記憶装置320には、コンピュータプログラムPG1と往路用プロファイルPF1と復路用プロファイルPF2と色評価情報CIとが格納されている。コンピュータプログラムPG1と往路用プロファイルPF1と復路用プロファイルPF2と色評価情報CIは、例えば、サーバからダウンロードされる形態、あるいは、DVD−ROMなどに格納される形態で、プリンタ200の製造者によって提供される。CPU310は、コンピュータプログラムPG2を実行することによって、プリンタ200を制御するプリンタドライバとして機能する。プリンタドライバとしてのCPU310は、例えば、後述する画像処理を実行して、プリンタ200に画像を印刷させる。   The volatile storage device 330 provides a buffer area 331 for the CPU 310. The non-volatile storage device 320 stores a computer program PG1, a forward path profile PF1, a return path profile PF2, and color evaluation information CI. The computer program PG1, the outbound path profile PF1, the inbound path profile PF2, and the color evaluation information CI are provided by the manufacturer of the printer 200, for example, in a form downloaded from a server or stored in a DVD-ROM or the like. You. The CPU 310 functions as a printer driver that controls the printer 200 by executing the computer program PG2. The CPU 310 as a printer driver executes, for example, image processing described later, and causes the printer 200 to print an image.

往路用プロファイルPF1と復路用プロファイルPF2とは、それぞれ、RGB表色系の色値(RGB値)と、CMYK表色系の色値(CMYK値)と、の対応関係を規定するプロファイルである。往路用プロファイルPF1と復路用プロファイルPF2とは、後述する画像処理において、RGB値をCMYK値に変換する色変換処理のために用いられる。RGB値は、赤(R)、緑(G)、青(B)の3個の成分値を含む色値である。CMYK値は、印刷に用いられる複数種のインクに対応する複数個の成分値、本実施例では、シアン(C)、マゼンタ(M)、イエロ(Y)、黒(K)の成分値を含む色値である。RGB値およびCMYK値は、例えば、256階調の値である。往路用プロファイルPF1と復路用プロファイルPF2とは、例えば、ルックアップテーブルである。往路用プロファイルPF1と復路用プロファイルPF2との違い、および、色評価情報CIについては後述する。   The forward path profile PF1 and the return path profile PF2 are profiles that define the correspondence between the color values of the RGB color system (RGB values) and the color values of the CMYK color system (CMYK values). The forward path profile PF1 and the backward path profile PF2 are used for color conversion processing for converting RGB values into CMYK values in image processing described later. The RGB values are color values including three component values of red (R), green (G), and blue (B). The CMYK values include a plurality of component values corresponding to a plurality of types of inks used for printing, and in the present embodiment, include Cyan (C), Magenta (M), Yellow (Y), and Black (K) component values. Color value. The RGB value and the CMYK value are, for example, 256 gradation values. The outward profile PF1 and the backward profile PF2 are, for example, lookup tables. The difference between the forward path profile PF1 and the return path profile PF2 and the color evaluation information CI will be described later.

プリンタ200は、例えば、印刷機構100と、プリンタ200のコントローラとしてのCPU210と、ハードディスクドライブなどの不揮発性記憶装置220と、RAMなどの揮発性記憶装置230と、ユーザによる操作を取得するためのボタンやタッチパネルなどの操作部260と、液晶ディスプレイなどの表示部270と、通信部280と、を備えている。通信部280は、ネットワークNWに接続するための有線または無線のインタフェースを含む。プリンタ200は、通信部280を介して、外部装置、例えば、端末装置300と通信可能に接続される。   The printer 200 includes, for example, a printing mechanism 100, a CPU 210 as a controller of the printer 200, a nonvolatile storage device 220 such as a hard disk drive, a volatile storage device 230 such as a RAM, and buttons for acquiring user operations. An operation unit 260 such as a touch panel or a touch panel, a display unit 270 such as a liquid crystal display, and a communication unit 280 are provided. Communication unit 280 includes a wired or wireless interface for connecting to network NW. The printer 200 is communicably connected to an external device, for example, the terminal device 300 via the communication unit 280.

揮発性記憶装置230は、CPU210が処理を行う際に生成される種々の中間データを一時的に格納するバッファ領域231を提供する。不揮発性記憶装置220には、コンピュータプログラムPG2が格納されている。コンピュータプログラムPG2は、本実施例では、プリンタ200を制御するための制御プログラムであり、プリンタ200の出荷時に不揮発性記憶装置220に格納されて提供され得る。これに代えて、コンピュータプログラムPG2は、サーバからダウンロードされる形態で提供されても良く、DVD−ROMなどに格納される形態で提供されてもよい。CPU210は、コンピュータプログラムPG2を実行することにより、例えば、後述する画像処理によって端末装置300から送信される印刷データや方向情報(後述)に従って印刷機構100を制御して印刷媒体(例えば、用紙)上に画像を印刷する。   The volatile storage device 230 provides a buffer area 231 for temporarily storing various intermediate data generated when the CPU 210 performs processing. The non-volatile storage device 220 stores a computer program PG2. In this embodiment, the computer program PG2 is a control program for controlling the printer 200, and may be provided by being stored in the nonvolatile storage device 220 when the printer 200 is shipped. Instead, the computer program PG2 may be provided in a form downloaded from a server, or may be provided in a form stored in a DVD-ROM or the like. By executing the computer program PG2, the CPU 210 controls the printing mechanism 100 in accordance with, for example, print data and direction information (described later) transmitted from the terminal device 300 by image processing to be described later, and on a print medium (for example, paper). Print the image on

印刷機構100は、C、M、Y、Kの各インク(液滴)を吐出して印刷を行う。印刷機構100は、印刷ヘッド110とヘッド駆動部120と主走査部130と搬送部140とを備えている。   The printing mechanism 100 performs printing by discharging each ink (droplet) of C, M, Y, and K. The printing mechanism 100 includes a print head 110, a head driving unit 120, a main scanning unit 130, and a transport unit 140.

図2は、印刷機構100の概略構成を示す図である。図2(A)に示すように、主走査部130は、印刷ヘッド110を搭載するキャリッジ133と、キャリッジ133を主走査方向(図2のX軸方向)に沿って往復動可能に保持する摺動軸134と、を備えている。主走査部130は、図示しない主走査モータの動力を用いて、キャリッジ133を摺動軸134に沿って往復動させる。これによって、用紙Mに対して主走査方向に沿って印刷ヘッド110を往復動させる主走査が実現される。   FIG. 2 is a diagram illustrating a schematic configuration of the printing mechanism 100. As shown in FIG. 2A, the main scanning unit 130 includes a carriage 133 on which the print head 110 is mounted, and a slide that holds the carriage 133 so as to be able to reciprocate along the main scanning direction (the X-axis direction in FIG. 2). A driving shaft 134. The main scanning unit 130 reciprocates the carriage 133 along the sliding shaft 134 using the power of a main scanning motor (not shown). As a result, main scanning in which the print head 110 reciprocates with respect to the sheet M along the main scanning direction is realized.

搬送部140は、用紙Mを保持しつつ、主走査方向と交差する搬送方向(図2の+Y方向)に用紙Mを搬送する。図2に示すように、用紙台145と、上流ローラ対142と、下流ローラ対141と、を備えている。以下では、搬送方向の上流側(−Y側)を、単に、上流側とも呼び、搬送方向の下流側(+Y側)を単に下流側とも呼ぶ。   The transport unit 140 transports the paper M in a transport direction (+ Y direction in FIG. 2) crossing the main scanning direction while holding the paper M. As shown in FIG. 2, a sheet tray 145, an upstream roller pair 142, and a downstream roller pair 141 are provided. Hereinafter, the upstream side (−Y side) in the transport direction is also simply referred to as the upstream side, and the downstream side (+ Y side) in the transport direction is also simply referred to as the downstream side.

上流ローラ対142は、印刷ヘッド110よりも上流側(−Y側)で用紙Mを保持し、下流ローラ対141は、印刷ヘッド110よりも下流側(+Y側)で用紙Mを保持する。用紙台145は、上流ローラ対142と、下流ローラ対141と、の間の位置であって、かつ、印刷ヘッド110のノズル形成面111と対向する位置に配置されている。図示しない搬送モータによって下流ローラ対141と上流ローラ対142とが駆動されることによって、用紙Mが搬送される。   The upstream roller pair 142 holds the paper M on the upstream side (−Y side) of the print head 110, and the downstream roller pair 141 holds the paper M on the downstream side (+ Y side) of the print head 110. The paper table 145 is located between the upstream roller pair 142 and the downstream roller pair 141 and at a position facing the nozzle forming surface 111 of the print head 110. The paper M is transported by driving the downstream roller pair 141 and the upstream roller pair 142 by a transport motor (not shown).

ヘッド駆動部120(図1)は、主走査部130が印刷ヘッド110の主走査を行っている最中に、印刷ヘッド110に駆動信号を供給して、印刷ヘッド110を駆動する。印刷ヘッド110は、駆動信号に従って、搬送部140によって搬送される用紙上にインクを吐出してドットを形成する。   The head drive unit 120 (FIG. 1) supplies a drive signal to the print head 110 and drives the print head 110 while the main scanning unit 130 is performing main scan of the print head 110. The print head 110 forms dots by discharging ink on the paper conveyed by the conveyance unit 140 according to the drive signal.

図2(B)は、−Z側(図2における下側)から見た印刷ヘッド110の構成が図示されている。図2(B)に示すように、印刷ヘッド110のノズル形成面111には、複数のノズルからなる複数のノズル列、すなわち、上述したC、M、Y、Kの各インクを吐出するノズル列NC、NM、NY、NKが形成されている。各ノズル列は、複数個のノズルNZを含んでいる。複数個のノズルNZは、搬送方向(+Y方向)の位置が互いに異なり、搬送方向に沿って所定のノズル間隔NTで並ぶ。ノズル間隔NTは、複数のノズルNZの中で搬送方向に隣り合う2個のノズルNZ間の搬送方向の長さである。これらのノズル列を構成するノズルのうち、最も上流側(−Y側)に位置するノズルNZを、最上流ノズルNZuとも呼ぶ。また、これらのノズルのうち、最も下流側(+Y側)に位置するノズルNZを、最下流ノズルNZdと呼ぶ。最上流ノズルNZuから最下流ノズルNZdまでの搬送方向の長さに、さらに、ノズル間隔NTを加えた長さを、ノズル長Dとも呼ぶ。   FIG. 2B illustrates the configuration of the print head 110 as viewed from the −Z side (the lower side in FIG. 2). As shown in FIG. 2B, the nozzle formation surface 111 of the print head 110 has a plurality of nozzle rows including a plurality of nozzles, that is, a nozzle row for ejecting each of the above-described C, M, Y, and K inks. NC, NM, NY, and NK are formed. Each nozzle row includes a plurality of nozzles NZ. The plurality of nozzles NZ have different positions in the transport direction (+ Y direction), and are arranged at a predetermined nozzle interval NT along the transport direction. The nozzle interval NT is the length in the transport direction between two nozzles NZ adjacent in the transport direction among the plurality of nozzles NZ. Of the nozzles forming these nozzle rows, the nozzle NZ located on the most upstream side (−Y side) is also referred to as the most upstream nozzle NZu. Further, among these nozzles, the nozzle NZ located on the most downstream side (+ Y side) is referred to as the most downstream nozzle NZd. The length obtained by adding the nozzle interval NT to the length in the transport direction from the most upstream nozzle NZu to the most downstream nozzle NZd is also referred to as a nozzle length D.

ノズル列NC、NM、NY、NKの主走査方向の位置は、互いに異なり、副走査方向の位置は、互いに重複している。例えば、図3の例では、Yインクを吐出するノズル列NYの+X方向に、ノズル列NMが配置されている。   The positions of the nozzle rows NC, NM, NY, and NK in the main scanning direction are different from each other, and the positions in the sub-scanning direction overlap each other. For example, in the example of FIG. 3, the nozzle row NM is arranged in the + X direction of the nozzle row NY for discharging the Y ink.

A−2.印刷の概要
印刷機構100は、主走査部130による主走査を行いつつ印刷ヘッド110によって用紙Mにドットを形成する部分印刷と、搬送部140による副走査(用紙Mの搬送)と、を交互に複数回実行することで、用紙Mに印刷画像OIを印刷する。
A-2. Overview of Printing The printing mechanism 100 alternately performs partial printing in which dots are formed on the paper M by the print head 110 while performing main scanning by the main scanning unit 130 and sub-scanning (transportation of the paper M) by the transport unit 140. The print image OI is printed on the sheet M by executing the process a plurality of times.

図3は、印刷機構100の動作の説明図である。図3には、用紙M1、M2に、それぞれ印刷される印刷画像OI1、OI2が図示されている。印刷画像は、複数個の部分画像PIを含んでいる。図3の例では、印刷画像OI1、OI2は、それぞれ、部分画像PI1〜PI5、PI6〜PI10を含んでいる。各部分画像PIは、1回の部分印刷によって印刷される画像である。部分印刷の印刷方向は、往路方向と復路方向とのいずれかである。すなわち、部分印刷は、往路方向(図3の+X方向)の主走査を行いつつドットを形成する往路印刷と、復路方向(図3の−X方向)の主走査を行いつつドットを形成する復路印刷と、のいずれかである。図3にて部分画像内には、+X方向または−X方向の実線の矢印が付されている。+X方向の実線の矢印が付された部分画像PI1、PI2、PI3、PI5、PI7、PI8、PI10は、往路印刷によって印刷される往路部分画像である。−X方向の実線の矢印が付された部分画像PI4、PI6、PI9は、復路印刷によって印刷される復路部分画像である。   FIG. 3 is an explanatory diagram of the operation of the printing mechanism 100. FIG. 3 shows print images OI1 and OI2 to be printed on sheets M1 and M2, respectively. The print image includes a plurality of partial images PI. In the example of FIG. 3, the print images OI1 and OI2 include partial images PI1 to PI5 and PI6 to PI10, respectively. Each partial image PI is an image printed by one partial printing. The printing direction of the partial printing is one of the forward direction and the backward direction. In other words, the partial printing includes forward printing in which dots are formed while performing main scanning in the forward direction (+ X direction in FIG. 3), and returning printing in which dots are formed while performing main scanning in the backward direction (−X direction in FIG. 3). And printing. In FIG. 3, a solid line arrow in the + X direction or the −X direction is given in the partial image. The partial images PI1, PI2, PI3, PI5, PI7, PI8, and PI10 with solid line arrows in the + X direction are forward pass partial images printed by forward pass printing. The partial images PI4, PI6, and PI9 indicated by solid arrows in the −X direction are return path partial images printed by return path printing.

図3において、1個の部分画像PI(例えば、部分画像PI1)から、−Y方向に隣接する他の部分画像PI(例えば、部分画像PI2)に向かう−Y方向の矢印は、用紙Mの搬送(副走査)に対応している。すなわち、図3において−Y方向の矢印は、用紙Mが搬送されることによって、図3に図示される用紙Mに対して印刷ヘッド110が−Y方向に移動することを示す。図3に示すように、本実施例の印刷は、いわゆる1パス印刷であり、各部分画像の搬送方向の長さ、および、1回の用紙Mの搬送量は、ノズル長Dである。   In FIG. 3, an arrow in the −Y direction from one partial image PI (for example, the partial image PI1) to another partial image PI (for example, the partial image PI2) adjacent in the −Y direction indicates the conveyance of the sheet M. (Sub-scan). That is, the arrow in the −Y direction in FIG. 3 indicates that the print head 110 moves in the −Y direction with respect to the sheet M illustrated in FIG. As shown in FIG. 3, the printing of the present embodiment is so-called one-pass printing, and the length of each partial image in the transport direction and the transport amount of the sheet M at one time are the nozzle length D.

ここで、図2(B)に示すように、印刷ヘッド110に示すように、CMYKのノズル列NC、NM、NY、NKは、主走査方向の位置が互いに異なっている。このために、用紙M上の同じ位置にCMYKの各ドットを形成する場合に、往路印刷と復路印刷との間で、ドットの形成順序が異なる。例えば、図2(B)の例では、往路印刷では、K、C、M、Yの順番でドットが形成され、復路印刷では、逆に、Y、M、C、Kの順番でドットが形成される。この結果、複数色のドットが重なり合う領域では、往路部分画像と復路部分画像との間でドットが重なる順序が異なる。このために、往路部分画像と復路部分画像との間では、互いに同じドットデータを用いて印刷したとしても、印刷される色味が互いに異なる場合がある。このような往路部分画像と復路部分画像との間で印刷される色の相違(往復間色差とも呼ぶ)が生じる。   Here, as shown in FIG. 2B, as shown in the print head 110, the positions of the CMYK nozzle rows NC, NM, NY, and NK in the main scanning direction are different from each other. For this reason, when forming each dot of CMYK at the same position on the paper M, the order of dot formation differs between forward printing and backward printing. For example, in the example of FIG. 2B, dots are formed in the order of K, C, M, and Y in the forward pass printing, and dots are formed in the order of Y, M, C, and K in the backward pass printing. Is done. As a result, in an area where dots of a plurality of colors overlap, the order of overlapping dots differs between the forward pass partial image and the return pass partial image. For this reason, the printed colors may be different between the forward pass partial image and the return pass partial image even if they are printed using the same dot data. Such a difference in the colors printed between the forward pass partial image and the return pass partial image (also referred to as a round-trip color difference) occurs.

ここで、上述した往路用プロファイルPF1は、往路印刷用の部分印刷データ、すなわち、往路部分画像を示す1回の往路印刷分の印刷データを生成する際に、RGB値をCMYK値に変換するために用いられる。復路用プロファイルPF2は、復路印刷用の部分印刷データ、すなわち、復路部分画像を示す1回の復路印刷分の印刷データを生成する際に、RGB値をCMYK値に変換するために用いられる。往路用プロファイルPF1と復路用プロファイルPF2は、上述した往復間色差を小さくするように、互いに色合わせが行われている。具体的には、これらのプロファイルPF1、PF2は、特定のRGB値を、往路用プロファイルPF1を用いて変換して得られるCMYK値に基づいて印刷される往路部分画像の色と、該特定のRGB値を、復路用プロファイルPF2を用いて変換して得られるCMYK値に基づいて印刷される復路部分画像の色と、が近づくように調整されている。   Here, the above-described outward path profile PF1 is used to convert RGB values into CMYK values when generating partial print data for outward path printing, that is, print data for one outward path print indicating an outward path partial image. Used for The return path profile PF2 is used to convert RGB values into CMYK values when generating partial print data for return path printing, that is, print data for one return path print indicating a return path partial image. The forward path profile PF1 and the backward path profile PF2 are color-matched with each other so as to reduce the above-mentioned color difference between reciprocation. More specifically, these profiles PF1 and PF2 include the color of the outward partial image printed based on the CMYK values obtained by converting a specific RGB value using the outward profile PF1, and the specific RGB. The value is adjusted so that the color of the return path partial image printed based on the CMYK value obtained by converting the value using the return path profile PF2 approaches.

しかしながら、特定の色については、往復間色差が大きいために、往路用プロファイルPF1と復路用プロファイルPF2とを用いても、往復間色差を十分に抑制できない場合がある。色評価情報CI(図1)は、RGB値のそれぞれについて、往復間色差に応じた重みを規定した情報である。   However, for a specific color, since the color difference between reciprocation is large, there is a case where the color difference between reciprocation cannot be sufficiently suppressed even by using the forward pass profile PF1 and the return pass profile PF2. The color evaluation information CI (FIG. 1) is information that defines weights according to the color difference between round trips for each of the RGB values.

図4は、色評価情報CIの説明図である。図4(A)には、RGB色空間CCが示されている。RGB色空間CCの8つの頂点のそれぞれに、色を示す符号(具体的には、黒頂点Vk(0,0,0)、赤頂点Vr(255,0,0)、緑頂点Vg(0,255,0)、青頂点Vb(0,0,255)、シアン頂点Vc(0,255,255)、マゼンタ頂点Vm(255,0,255)、イエロ頂点Vy(255,255,0)、白頂点Vw(255,255,255))が付されている。括弧内の数字は、(R、G、B)の各色成分の値を示している。各グリッドGDのRの値は、Rの範囲(ここでは、ゼロから255)をQ等分して得られるQ+1個の値のうちのいずれかである。各グリッドGDの緑Gと青Bとのそれぞれの値も同様である。本実施例では、Q=9であるので、RGB色空間CC内には、9の3乗個(729個)のグリッドGDが設定される。   FIG. 4 is an explanatory diagram of the color evaluation information CI. FIG. 4A shows an RGB color space CC. Codes indicating colors (specifically, black vertex Vk (0, 0, 0), red vertex Vr (255, 0, 0), green vertex Vg (0, 255, 0), blue vertex Vb (0, 0, 255), cyan vertex Vc (0, 255, 255), magenta vertex Vm (255, 0, 255), yellow vertex Vy (255, 255, 0), white Vertex Vw (255, 255, 255)) is attached. The numbers in parentheses indicate the value of each color component of (R, G, B). The value of R of each grid GD is any of Q + 1 values obtained by dividing the range of R (here, from zero to 255) by Q. The same applies to the values of green G and blue B of each grid GD. In this embodiment, since Q = 9, 9 <3> (729) grids GD are set in the RGB color space CC.

図4(B)には、色評価情報CIの一例が示されている。色評価情報CIには、729個のグリッドGDに対応するRGB値のそれぞれに、重みWtが対応付けられている。例えば、評価者は、特定のグリッドGDのRGB値を、往路用プロファイルPF1を用いて変換して得られるCMYK値に基づいて印刷されるカラーパッチと、該グリッドGDのRGB値を、復路用プロファイルPF2を用いて変換して得られるCMYK値に基づいて印刷されるカラーパッチと、を印刷する。評価者は、2個のカラーパッチを測色して、測色値を取得する。測色値は、例えば、印刷機構100などのデバイスに依存しない色空間の色値、本実施例では、CIELAB色空間の色値(以下、Lab値とも呼ぶ)である。評価者は、取得される2個の測色値の色差を、特定のグリッドGDに対応する往復間色差dMとして算出する。評価者は、往復間色差dMが大きいほど大きな重みWtを、特定のグリッドGDに対応づける重みWtとして決定する。このようにして、729個のグリッドGDに対応付ける重みWtが決定されて、色評価情報CIが作成される。   FIG. 4B shows an example of the color evaluation information CI. In the color evaluation information CI, a weight Wt is associated with each of the RGB values corresponding to the 729 grids GD. For example, the evaluator converts the RGB values of a specific grid GD into color patches printed based on the CMYK values obtained by converting the RGB values of the grid GD using the forward path profile PF1, and the RGB values of the grid GD into the return path profile. And a color patch to be printed based on CMYK values obtained by conversion using PF2. The evaluator obtains a colorimetric value by measuring the color of the two color patches. The colorimetric values are, for example, color values in a color space independent of devices such as the printing mechanism 100, and in the present embodiment, color values in a CIELAB color space (hereinafter also referred to as Lab values). The evaluator calculates the color difference between the two acquired colorimetric values as the round-trip color difference dM corresponding to the specific grid GD. The evaluator determines the larger weight Wt as the inter-round color difference dM is larger, as the weight Wt associated with the specific grid GD. Thus, the weight Wt associated with the 729 grids GD is determined, and the color evaluation information CI is created.

上述したように、往復間色差は、往路部分画像と復路部分画像との間でドットが重なる順序が異なることに起因する。このために、印刷に用いられるC、M、Y、Kのインクのうち、2種類のインクを用いて表現される特定色(色差発生色とも呼ぶ)にて、往復間色差が大きくなる。色差発生色は、例えば、CインクとYインクとの両方を用いて表現される緑、特に、比較的多量のCインクとYインクとの両方を用いて表現される濃い緑を含む。また、色差発生色は、MインクとYインクとの両方を用いて表現される赤、CインクとMインクとの両方を用いて表現される青、C、M、Yインクを用いて表現されるグレーを含み得る。色評価情報CIにおいて、これらの色差発生色に対応するグリッドGDには、他の色に対応するグリッドGDよりも大きな重みWtが対応付けられる。   As described above, the round-trip color difference is caused by a difference in the order in which dots overlap between the forward pass partial image and the return pass partial image. For this reason, the color difference between reciprocation increases in a specific color (also referred to as a color difference generation color) expressed using two types of inks among the C, M, Y, and K inks used for printing. The color difference generation color includes, for example, green represented by using both the C ink and the Y ink, particularly dark green represented by using both the relatively large amounts of the C ink and the Y ink. Further, the color difference generation color is expressed using red, which is expressed using both the M ink and the Y ink, and blue, C, M, Y ink which is expressed using both the C ink and the M ink. Gray. In the color evaluation information CI, a larger weight Wt is associated with the grid GD corresponding to these color difference generation colors than the grid GD corresponding to other colors.

A−3.画像処理
図5は、第1実施例の画像処理Aのフローチャートである。端末装置300のCPU310(図1)は、ユーザからの印刷指示に基づいて、図5の画像処理を開始する。印刷指示には、印刷すべき印刷画像OI(図3)に対応する対象画像データの指定が含まれる。本実施例では、対象画像データは、例えば、RGB値で画素ごとの色を表すRGB画像データである。対象画像データがRGB画像データではない場合には、CPU310は、該対象画像データに対して、ラスタライズ処理を実行して、RGB画像データに変換する。
A-3. Image Processing FIG. 5 is a flowchart of the image processing A of the first embodiment. The CPU 310 of the terminal device 300 (FIG. 1) starts the image processing of FIG. 5 based on a print instruction from the user. The print instruction includes designation of target image data corresponding to the print image OI (FIG. 3) to be printed. In the present embodiment, the target image data is, for example, RGB image data that represents the color of each pixel with RGB values. If the target image data is not RGB image data, the CPU 310 performs a rasterizing process on the target image data to convert the target image data into RGB image data.

S105では、CPU310は、対象画像データに含まれる複数個の画素データ(RGB値)から1個の注目画素データを取得する。図6は、印刷画像OIの一部を示す図である。図6(A)には、上述した印刷画像OIの3個の部分画像PI1〜PI3が図示されている。   In S105, the CPU 310 acquires one piece of target pixel data from a plurality of pixel data (RGB values) included in the target image data. FIG. 6 is a diagram illustrating a part of the print image OI. FIG. 6A shows three partial images PI1 to PI3 of the print image OI described above.

対象画像データによって示される対象画像には、複数個の画素が、X方向とY方向とに沿ってマトリクス状に配置されている。X方向に沿って並ぶ1行分の複数個の画素から成るラインをラスタラインと呼ぶ。本実施例では、対象画像内に含まれる複数本のラスタラインは、+Y側から−Y側に向かって順次に処理され、1本のラスタラインを構成する複数個の画素は、−X側から+X側に向かって順次に処理される。このために、図6(A)に示すように、例えば、部分画像PI2に対応する複数個の画素は、図6(A)に矢印で示すように、左上の角の画素から順次に注目画素として選択される。そして、該注目画素の値(RGB値)が注目画素データとして取得される。   In the target image indicated by the target image data, a plurality of pixels are arranged in a matrix along the X direction and the Y direction. A line composed of a plurality of pixels for one row arranged in the X direction is called a raster line. In this embodiment, a plurality of raster lines included in the target image are sequentially processed from the + Y side to the -Y side, and a plurality of pixels constituting one raster line are processed from the -X side. Processing is sequentially performed toward the + X side. For this reason, as shown in FIG. 6A, for example, as shown by arrows in FIG. 6A, a plurality of pixels corresponding to the partial image PI2 are sequentially arranged from the pixel at the upper left corner to the pixel of interest. Is selected as Then, the value (RGB value) of the target pixel is acquired as target pixel data.

S115では、CPU310は、注目印刷方向は直前印刷方向に決定済みであるか否かを判断する。ここで、現在の注目画素に対応する部分画像PIを注目部分画像とも呼ぶ。注目印刷方向は、注目部分画像を印刷する部分印刷の印刷方向(往路方向または復路方向)である。注目印刷方向が、後述するS155にて直前印刷方向に決定されている場合には、注目印刷方向は直前印刷方向に決定済みであると判断される。ここで、直前印刷方向は、注目部分画像を印刷する部分印刷の直前の部分印刷の印刷方向である。   In S115, the CPU 310 determines whether or not the target printing direction has been determined to be the immediately preceding printing direction. Here, the partial image PI corresponding to the current target pixel is also referred to as a target partial image. The target print direction is the print direction (forward direction or return direction) of the partial print for printing the target partial image. If the target print direction has been determined to be the immediately preceding print direction in S155 described below, it is determined that the target print direction has been determined to be the previous print direction. Here, the immediately preceding printing direction is the printing direction of the partial printing immediately before the partial printing for printing the target partial image.

注目印刷方向が直前印刷方向に決定済みである場合には(S115:YES)、S120にて、CPU310は、往路用プロファイルPF1と復路用プロファイルPF2とのうち、直前印刷方向に対応するプロファイルを用いて、注目画素データを色変換する。すなわち、注目画素データ(RGB値)が、CMYK値に変換される。   If the target printing direction has been determined to be the immediately preceding printing direction (S115: YES), in S120, the CPU 310 uses the profile corresponding to the immediately preceding printing direction among the outgoing path profile PF1 and the returning path profile PF2. Then, the target pixel data is color-converted. That is, the target pixel data (RGB values) is converted to CMYK values.

注目印刷方向が未決定である場合には(S115:NO)、S125にて、CPU310は、往路用プロファイルPF1と復路用プロファイルPF2とのうち、直前印刷方向の逆方向に対応するプロファイルを用いて、注目画素データを色変換する。すなわち、注目画素データ(RGB値)が、CMYK値に変換される。   If the target printing direction has not been determined (S115: NO), in S125, the CPU 310 uses the profile corresponding to the reverse direction of the immediately preceding printing direction, out of the outward profile PF1 and the return profile PF2. Then, the target pixel data is color-converted. That is, the target pixel data (RGB values) is converted to CMYK values.

S130では、CPU310は、色変換済みの注目画素データに対してハーフトーン処理を実行する。ハーフトーン処理は、注目画素について、CMYKの成分ごとに、ドットの形成状態を示すデータ(ドットデータとも呼ぶ)を生成する処理である。ドットの形成状態は、例えば、「ドット有り」と「ドット無し」とのうちのいずれかである。これに代えて、ドットの形成状態は、「大ドット」、「中ドット」、「小ドット」、「ドット無し」のいずれかであってもよい。本実施例では、ハーフトーン処理は、公知の誤差収集法を用いて実行される。   In S130, the CPU 310 performs a halftone process on the color-converted target pixel data. The halftone process is a process of generating data (also referred to as dot data) indicating a dot formation state for each CMYK component for a target pixel. The dot formation state is, for example, any one of “with dot” and “without dot”. Instead, the dot formation state may be any of “large dot”, “medium dot”, “small dot”, and “no dot”. In the present embodiment, the halftone processing is performed using a known error collection method.

S135では、CPU310は、注目画素に対応するノズルNZを決定する。すなわち、CPU310は、注目画素に対応するドットを形成する場合に該ドットの形成に用いられるノズルNZをCMYKの成分ごとに決定する。バッファ領域331には、注目部分印刷分のドットデータを格納するためのノズルバッファが確保されている。注目画素に対応するドットデータは、ノズルバッファにおいて、決定されたノズルNZに対応するアドレスに格納される。   In S135, the CPU 310 determines the nozzle NZ corresponding to the pixel of interest. That is, when forming a dot corresponding to the target pixel, the CPU 310 determines the nozzle NZ used for forming the dot for each CMYK component. In the buffer area 331, a nozzle buffer for storing dot data for the target partial print is secured. The dot data corresponding to the target pixel is stored in the nozzle buffer at an address corresponding to the determined nozzle NZ.

S140では、CPU310は、注目印刷方向は未決定であり、かつ、注目判定領域の全画素データが注目画素データとして取得されたか否かを判断する。注目印刷方向が、後述するS155にて直前印刷方向に決定されていない場合には、注目印刷方向は未決定であると判断される。図6(A)に示すように、印刷画像OIには、各部分画像PIを複数個に分割して得られる複数個の判定領域BLが設定される。判定領域BLの形状は、矩形状である。複数の判定領域BLは、X方向とY方向とに沿って格子状に隙間無く配置されている。判定領域BLのY方向の画素数BHとX方向の画素数BWとは、予め決められている。注目判定領域は、注目画素に対応する判定領域BLである。例えば、図6(A)の判定領域BLaの右下の角に位置する画素PXaが、注目画素である場合には、判定領域BLaに対応する全ての画素データが、注目画素データとして取得されたと判断される。   In S140, the CPU 310 determines whether the target printing direction has not been determined and whether all the pixel data of the target determination area has been acquired as the target pixel data. If the target printing direction has not been determined to be the immediately preceding printing direction in S155 described later, it is determined that the target printing direction has not been determined. As shown in FIG. 6A, a plurality of determination areas BL obtained by dividing each partial image PI into a plurality are set in the print image OI. The shape of the determination area BL is rectangular. The plurality of determination regions BL are arranged in a lattice pattern without gaps along the X direction and the Y direction. The number BH of pixels in the Y direction and the number BW of pixels in the X direction of the determination area BL are determined in advance. The attention determination area is a determination area BL corresponding to the attention pixel. For example, when the pixel PXa located at the lower right corner of the determination area BLa in FIG. 6A is the target pixel, all the pixel data corresponding to the determination area BLa has been acquired as the target pixel data. Is determined.

注目印刷方向は決定済みである、あるいは、注目判定領域の一部の画素データが未取得である場合には(S140:NO)、CPU310は、S105に処理を戻す。注目印刷方向は未決定あり、かつ、注目判定領域の全画素データが注目画素データとして取得された場合には(S140:YES)、S145にて、CPU310は、注目判定領域の評価値EVを算出する。   If the target print direction has been determined, or if some pixel data of the target determination area has not been acquired (S140: NO), the CPU 310 returns the process to S105. If the target printing direction has not been determined and if all the pixel data in the target determination area has been acquired as the target pixel data (S140: YES), in S145, the CPU 310 calculates the evaluation value EV of the target determination area. I do.

具体的には、注目判定領域内の複数個の画素のそれぞれに対応する重みWtが決定される。重みWtは、上述した色評価情報CI(図4)を参照して決定される。すなわち、各画素のRGB値(画素データ)に近接する複数個のグリッドGDに対応する複数個の重みWtに基づく補間演算によって、各画素に対応するWtが算出される。複数個の画素に対応する複数個の重みWtの平均値が、注目判定領域の評価値EVとして算出される。注目判定領域の評価値EVが大きいことは、注目判定領域内の画像の往復間色差が大きいことを意味している。   Specifically, the weight Wt corresponding to each of the plurality of pixels in the attention determination area is determined. The weight Wt is determined with reference to the above-described color evaluation information CI (FIG. 4). That is, Wt corresponding to each pixel is calculated by interpolation based on a plurality of weights Wt corresponding to a plurality of grids GD close to the RGB values (pixel data) of each pixel. The average value of the plurality of weights Wt corresponding to the plurality of pixels is calculated as the evaluation value EV of the attention determination area. The fact that the evaluation value EV of the attention determination area is large means that the color difference between the reciprocating motions of the image in the attention determination area is large.

S150では、CPU310は、注目判定領域の評価値EVが閾値THv以上であるか否かを判断する。評価値EVが閾値THv未満である場合には(S150:NO)、CPU310は、S175に処理を進める。評価値EVが閾値THv以上である場合には(S150:YES)、S155にて、CPU310は、注目印刷方向を直前印刷方向に決定する。   In S150, CPU 310 determines whether or not evaluation value EV of the attention determination area is equal to or greater than threshold value THv. If the evaluation value EV is less than the threshold value THv (S150: NO), the CPU 310 advances the processing to S175. If the evaluation value EV is equal to or greater than the threshold value THv (S150: YES), in S155, the CPU 310 determines the target printing direction to be the immediately preceding printing direction.

S160では、CPU310は、再色変換処理を実行する。すなわち、CPU310は、現在までに注目画素データとして処理された全ての画素データに対して、再度、色変換を実行する。現在までに処理された画素データは、往路用プロファイルPF1と復路用プロファイルPF2とのうち、直前印刷方向の逆方向に対応するプロファイルを用いて色変換されている(S125)。これに対して、再色変換処理では、往路用プロファイルPF1と復路用プロファイルPF2とのうち、直前印刷方向に対応するプロファイルを用いて色変換が行われる。   In S160, the CPU 310 executes a recolor conversion process. That is, the CPU 310 performs the color conversion again on all the pixel data processed as the target pixel data up to the present. The pixel data processed so far is color-converted using the profile corresponding to the reverse direction of the immediately preceding printing direction, out of the forward pass profile PF1 and the return pass profile PF2 (S125). On the other hand, in the re-color conversion processing, the color conversion is performed using the profile corresponding to the immediately preceding printing direction among the outward path profile PF1 and the return path profile PF2.

S165では、CPU310は、再ハーフトーン処理を実行する。すなわち、CPU310は、S160にて、再度、色変換された全ての画素データに対して、再度、ハーフトーン処理を実行して、これらの画素データに対応するドットデータを、再度、生成する。本実施例のハーフトーン処理は、誤差収集法である。このために、再度、ハーフトーン処理を実行するためには、注目部分画像の+Y側に隣接する所定本数(例えば、1〜2本)分のラスタラインについてハーフトーン処理が実行された際に算出された誤差値が必要である。例えば、図6(A)の部分画像PI2が注目部分画像である場合には、部分画像PI1の−Y側の端部に位置する所定本数分のラスタラインRL1分の誤差値が必要である。この誤差値は、後述するS185にて、バッファ領域331に保存されている。   In S165, CPU 310 executes a re-halftone process. That is, in S160, CPU 310 again performs halftone processing on all the color-converted pixel data, and again generates dot data corresponding to the pixel data. The halftone processing of this embodiment is an error collection method. Therefore, in order to execute the halftone processing again, the calculation is performed when the halftone processing is executed for a predetermined number (for example, 1 to 2) of raster lines adjacent to the + Y side of the target partial image. Error value is required. For example, when the partial image PI2 in FIG. 6A is the target partial image, an error value for a predetermined number of raster lines RL1 located at the -Y side end of the partial image PI1 is required. This error value is stored in the buffer area 331 in S185 described later.

S170では、CPU310は、生成されたドットデータに対応するノズルNZを決定する。再度生成されたドットデータは、ノズルバッファにおいて、決定されたノズルNZに対応するアドレスに格納される。これによって、上述したS135にてノズルバッファに注目画素ごとに格納されてきたドットデータは、S165にて再度生成されたドットデータに上書きされて、消去される。   In S170, the CPU 310 determines a nozzle NZ corresponding to the generated dot data. The dot data generated again is stored in the nozzle buffer at an address corresponding to the determined nozzle NZ. As a result, the dot data stored for each pixel of interest in the nozzle buffer in S135 described above is overwritten by the dot data generated again in S165 and erased.

S175では、CPU310は、注目部分画像データの全ての画素データが注目画素データとして処理されたか否かを判断する。注目部分画像データは、対象画像データのうち、注目部分画像に対応するデータである。注目部分画像データに未処理の画素データが含まれる場合には(S175:NO)、CPU310は、S105に処理を戻す。注目部分画像データの全ての画素データが注目画素データとして処理された場合には(S175:YES)、この時点で、ノズルバッファに注目部分画像に対応する全てのドットデータが格納されている。すなわち、この時点で、ノズルバッファにおいて、注目部分画像を印刷するための部分印刷データが完成している。この場合には、CPU310は、S180に処理を進める。   In S175, the CPU 310 determines whether or not all the pixel data of the target partial image data has been processed as the target pixel data. The target partial image data is data corresponding to the target partial image among the target image data. If the target partial image data includes unprocessed pixel data (S175: NO), the CPU 310 returns the processing to S105. If all the pixel data of the target partial image data has been processed as the target pixel data (S175: YES), at this point, all the dot data corresponding to the target partial image is stored in the nozzle buffer. That is, at this point, partial print data for printing the target partial image has been completed in the nozzle buffer. In this case, the CPU 310 advances the processing to S180.

S180では、CPU310は、注目印刷方向は直前印刷方向に決定済みであるか否かを判断する。注目印刷方向が直前印刷方向に決定済みである場合には(S180:YES)、CPU310は、S190に処理を進める。注目印刷方向が未決定である場合には(S180:NO)、S185にて、CPU310は、注目印刷方向を、直前印刷方向の逆方向に決定する。すなわち、注目印刷方向がS155にて直前印刷方向に決定されることなく、部分印刷データが完成した場合には、注目印刷方向は、直前印刷方向の逆方向に決定される。   In S180, the CPU 310 determines whether or not the print direction of interest has been determined to be the immediately preceding print direction. If the target print direction has been determined to be the immediately preceding print direction (S180: YES), the CPU 310 advances the process to S190. If the target print direction has not been determined (S180: NO), in S185, the CPU 310 determines the target print direction to be the reverse of the immediately preceding print direction. That is, when the partial print data is completed without determining the target print direction in S155 as the immediately preceding print direction, the target print direction is determined in a direction opposite to the immediately preceding print direction.

S190では、CPU310は、CPU310は、生成された部分印刷データと、決定された注目印刷方向を示す方向情報と、をプリンタ200に送信する。プリンタ200が該部分印刷データと方向情報とを受信すると、プリンタ200のCPU210は、該部分印刷データと方向情報とに従って、部分印刷を実行する。例えば、CPU210は、方向情報が往路方向を示す場合には、往路印刷を実行して、注目部分画像を印刷し、方向情報が復路方向を示す場合には、復路印刷を実行して、注目部分画像を印刷する。   In S190, the CPU 310 transmits the generated partial print data and the direction information indicating the determined target print direction to the printer 200. When the printer 200 receives the partial print data and the direction information, the CPU 210 of the printer 200 executes the partial print according to the partial print data and the direction information. For example, when the direction information indicates the forward path direction, the CPU 210 executes the forward path printing to print the target partial image, and when the direction information indicates the backward path direction, executes the return path printing to execute the target path image. Print the image.

S195では、CPU310は、次の部分画像を注目部分画像として処理でS165の再ハーフトーン処理が実行される場合のための誤差値をバッファ領域331に保存する。例えば、図6(A)の部分画像PI2が注目部分画像である場合には、部分画像PI2の−Y側の端部に位置する所定本数分のラスタラインRL2分の誤差値が、バッファ領域331に保存される。   In S195, the CPU 310 stores the error value for the case where the re-halftone process in S165 is executed in the process with the next partial image as the target partial image in the buffer area 331. For example, when the partial image PI2 in FIG. 6A is the target partial image, the error value of the predetermined number of raster lines RL2 located at the end on the −Y side of the partial image PI2 is the buffer area 331. Is stored in

S198では、CPU310は、印刷すべき印刷画像OIの全ての部分画像データを処理したか否かを判断する。未処理の部分画像データがある場合には(S198:NO)、CPU310は、S105に処理を戻す。全ての部分画像データが処理された場合には(S198:YES)、CPU310は、画像処理Aを終了する。   In S198, the CPU 310 determines whether or not all the partial image data of the print image OI to be printed has been processed. If there is unprocessed partial image data (S198: NO), the CPU 310 returns the process to S105. If all the partial image data has been processed (S198: YES), the CPU 310 ends the image processing A.

以上説明した画像処理Aによって印刷される印刷画像OIについて説明する。図4に示すように、本実施例の印刷では、原則として、往路印刷と復路印刷とが交互に実行される(図5のS125)。これによって、印刷に要する印刷時間を短縮できる。   The print image OI printed by the image processing A described above will be described. As shown in FIG. 4, in the printing of this embodiment, in principle, forward printing and backward printing are executed alternately (S125 in FIG. 5). As a result, the printing time required for printing can be reduced.

さらに、画像処理Aによれば、CPU310は、注目部分画像データを用いて、注目印刷方向を、往路方向と復路方向とのうちのいずれかに決定する(図5のS150、S155、S180、S185)。この結果、印刷される注目部分画像にとって適切な印刷方向で注目部分画像が印刷される。これにより印刷方向が異なることによる色ムラの発生を抑えることができる。   Further, according to the image processing A, the CPU 310 uses the focused partial image data to determine the focused printing direction as one of the forward direction and the backward direction (S150, S155, S180, S185 in FIG. 5). ). As a result, the target partial image is printed in a print direction appropriate for the target partial image to be printed. Thus, it is possible to suppress the occurrence of color unevenness due to different printing directions.

例えば、第1の部分印刷データを用いて印刷される注目部分画像(すなわち、往路部分画像と復路部分画像とのうちの一方)と、第2の部分印刷データを用いて印刷される注目部分画像(すなわち、往路部分画像と復路部分画像とうちの他方)との間で生じる色の相違(すなわち、往復間色差)が基準未満であると判断される場合に、注目印刷方向は、直前印刷方向の逆方向に決定される。具体的には、上述したように、注目部分画像内の全ての判定領域BLの評価値EVが閾値未満である場合に(図5のS180にてNO)、注目印刷方向は、直前印刷方向の逆方向に決定される(図5のS185)。また、当該色の相違が基準以上であると判断される場合に、注目印刷方向は、直前印刷方向に決定される。具体的には、上述したように、注目部分画像内の少なくとも1個の判定領域BLの評価値EVが閾値以上である場合に(図5のS150にてYES)、注目印刷方向は、直前印刷方向に決定される(図5のS155)。この結果、色の相違が基準未満である場合には、印刷速度を向上でき、色の相違が基準以上である場合には、色の相違に起因する画質の低下を抑制できる。   For example, a partial image of interest printed using the first partial print data (that is, one of a forward partial image and a return partial image), and a partial image of interest printed using the second partial print data If it is determined that the color difference (that is, the color difference between reciprocation) between the forward pass image and the return pass image is smaller than the reference, the target print direction is the immediately preceding print direction. Is determined in the opposite direction. Specifically, as described above, when the evaluation values EV of all the determination areas BL in the target partial image are smaller than the threshold value (NO in S180 of FIG. 5), the target print direction is the same as the immediately preceding print direction. It is determined in the opposite direction (S185 in FIG. 5). If it is determined that the color difference is equal to or greater than the reference, the target printing direction is determined to be the immediately preceding printing direction. Specifically, as described above, when the evaluation value EV of at least one determination area BL in the target partial image is equal to or larger than the threshold (YES in S150 of FIG. 5), the target print direction is set to the immediately preceding print. The direction is determined (S155 in FIG. 5). As a result, when the color difference is less than the reference, the printing speed can be improved, and when the color difference is equal to or more than the reference, a decrease in image quality due to the color difference can be suppressed.

例えば、図3の例では、ハッチングされた部分画像PI2、PI3、PI8は、色の相違が基準以上であると判断される部分画像であり、残りのハッチングされていない部分画像PI1、PI4〜PI7、PI9、PI10は、色の相違が基準未満であると判断される部分画像であるとする。図3に示すように、ハッチングされた部分画像PI2、PI3、PI8は、直前に印刷される部分画像PI1、PI2、PI7の印刷方向と同じ印刷方向で印刷される。この場合には、図3に破線の矢印で示すように、その部分画像を印刷する部分印刷と、直前の部分印刷と、の間に、ドットを形成することなく主走査が行われる。このように、ドットを形成することなく(すなわち、部分画像を印刷することなく)行われる主走査を、無印刷主走査とも呼ぶ。   For example, in the example of FIG. 3, the hatched partial images PI2, PI3, and PI8 are partial images for which the color difference is determined to be equal to or more than the reference, and the remaining unhatched partial images PI1, PI4 to PI7. , PI9, and PI10 are partial images for which it is determined that the color difference is less than the reference. As shown in FIG. 3, the hatched partial images PI2, PI3, and PI8 are printed in the same print direction as the print direction of the partial images PI1, PI2, and PI7 that are printed immediately before. In this case, as indicated by a broken-line arrow in FIG. 3, main scanning is performed without forming dots between the partial printing for printing the partial image and the immediately preceding partial printing. A main scan performed without forming dots (that is, without printing a partial image) in this manner is also referred to as a non-print main scan.

無印刷主走査が行われることで、無印刷主走査が行われない場合と比較して、印刷に要する印刷時間が長くなるが、上述した往復間色差が目立つことを抑制して、印刷画像の画質の低下を抑制できる。例えば、図3の2個の部分画像PI2、PI3は、互いに隣接しており、かつ、色の相違が基準以上であるので、仮に、互いに異なる印刷方向で印刷されるとすれば、往復間色差が目立ち得る。本実施例では、図3に示すように、2個の部分画像PI2、PI3は、互いに同じ印刷方向で印刷されるので、2個の部分画像PI2、PI3間では往復間色差は発生しない。   By performing the non-printing main scanning, the printing time required for printing becomes longer as compared with the case where the non-printing main scanning is not performed. A decrease in image quality can be suppressed. For example, the two partial images PI2 and PI3 in FIG. 3 are adjacent to each other and have a color difference equal to or greater than a reference. Can stand out. In the present embodiment, as shown in FIG. 3, since the two partial images PI2 and PI3 are printed in the same printing direction, there is no color difference between the two partial images PI2 and PI3 during the reciprocation.

ここで、上述したように、色評価情報CIにおいて、色差発生色には、他の色よりも大きな重みWtが対応付けられる。このため、少なくとも1個の判定領域BLの評価値EVが閾値以上であることは、注目部分画像に基準以上の色差発生色画素が含まれることを意味し、全ての判定領域BLの評価値EVが閾値未満であることは、注目部分画像に基準以上の色差発生色画素が含まれないことを意味する。色差発生色画素は、上述した色差発生色を有する画素である。このように、本実施例では、注目部分画像に基準以上の色差発生色画素が含まれる場合に、色の相違(往復間色差)が基準以上であると判断される、と言うことができる。この結果、2種類以上のインクの重なりによる色の相違に起因する画質の低下を適切に抑制できる。   Here, as described above, in the color evaluation information CI, a weight Wt greater than other colors is associated with the color difference generation color. Therefore, the fact that the evaluation value EV of at least one determination region BL is equal to or greater than the threshold value means that the target partial image includes color difference generation color pixels that are equal to or greater than the reference, and the evaluation values EV of all the determination regions BL. Is smaller than the threshold value, it means that the target partial image does not include a color difference generation color pixel equal to or higher than the reference. The color difference generating color pixel is a pixel having the above-described color difference generating color. As described above, in the present embodiment, it can be said that when the target partial image includes a color difference generating color pixel that is equal to or greater than the reference, the color difference (the color difference between the two directions) is determined to be equal to or greater than the reference. As a result, it is possible to appropriately suppress a decrease in image quality due to a color difference caused by overlapping of two or more types of ink.

ここで、画像処理Aでは、CPU310は、注目部分画像データに対して第1の色変換処理(図5のS125)を含む第1の生成処理(図5のS125、S130、S135)を実行し得る。この第1の色変換処理は、プロファイルPF1、PF2のうち、直前印刷方向の逆方向に対応するプロファイルを用いて行われる。このように、第1の生成処理は、直前印刷方向の逆方向で部分印刷を行うための第1の部分印刷データを生成する処理である。また、CPU310は、注目部分画像データに対して第2の色変換処理(図5のS160、S120)を含む第2の生成処理(図5のS160、S165、S170、S120、S130、S135)を実行し得る。この第2の色変換処理は、プロファイルPF1、PF2のうち、直前印刷方向に対応するプロファイルを用いて行われる。このように、第2の生成処理は、直前印刷方向で部分印刷を行うための第2の部分印刷データを生成する処理である。そして、CPU310は、注目印刷方向が直前印刷方向の逆方向に決定される場合に、第1の部分印刷データをプリンタ200に出力し、注目印刷方向が直前印刷方向に決定される場合に、第2の部分印刷データをプリンタ200に出力する(図5のS190)。   Here, in the image processing A, the CPU 310 executes a first generation process (S125, S130, S135 in FIG. 5) including a first color conversion process (S125 in FIG. 5) on the focused partial image data. obtain. This first color conversion process is performed using the profile corresponding to the direction opposite to the immediately preceding printing direction among the profiles PF1 and PF2. As described above, the first generation process is a process of generating the first partial print data for performing the partial print in the direction opposite to the immediately preceding print direction. In addition, the CPU 310 performs a second generation process (S160, S165, S170, S120, S130, S135 in FIG. 5) including a second color conversion process (S160, S120 in FIG. 5) on the target partial image data. You can do it. This second color conversion processing is performed using the profile corresponding to the immediately preceding printing direction among the profiles PF1 and PF2. As described above, the second generation process is a process of generating the second partial print data for performing the partial print in the immediately preceding print direction. Then, the CPU 310 outputs the first partial print data to the printer 200 when the target print direction is determined to be the reverse direction of the immediately preceding print direction, and outputs the first partial print data when the target print direction is determined to be the immediately preceding print direction. The second print data is output to the printer 200 (S190 in FIG. 5).

画像処理Aによれば、第1の色変換処理および第2の色変換処理で用いられるプロファイルPF1、PF2は、上述したように、特定のRGB値を、往路用プロファイルPF1を用いて変換して得られるCMYK値に基づいて印刷される往路部分画像の色と、該特定のRGB値を、復路用プロファイルPF2を用いて変換して得られるCMYK値に基づいて印刷される復路部分画像の色と、が近づくように調整されている。この結果、例えば、往路印刷であっても復路印刷であっても1種類のプロファイルが用いられる場合と比較して、往路印刷で印刷される注目部分画像と復路印刷で印刷される注目部分画像との間で生じる色の相違が基準未満である可能性が高くなる。この結果、注目印刷方向が直前印刷方向の逆方向に決定される可能性が高くなる。この結果、往路印刷と復路印刷とを用いる印刷の印刷速度を向上できる。   According to the image processing A, the profiles PF1 and PF2 used in the first color conversion process and the second color conversion process convert specific RGB values using the outward profile PF1 as described above. The color of the forward pass partial image printed based on the obtained CMYK value and the color of the return pass partial image printed based on the CMYK value obtained by converting the specific RGB value using the return pass profile PF2. , Has been adjusted to get closer. As a result, for example, in comparison to the case where one type of profile is used in both forward printing and backward printing, the focused partial image printed in forward printing and the focused partial image printed in backward printing are compared. It is more likely that the color difference that occurs between is less than the criterion. As a result, there is a high possibility that the target printing direction is determined to be opposite to the immediately preceding printing direction. As a result, the printing speed of printing using forward printing and backward printing can be improved.

さらに、画像処理Aによれば、第1の生成処理は、注目印刷方向が未決定である時点から開始される(図5のS115にてNO)。さらには、この第1の生成処理は、注目印刷方向が、直前印刷方向(直前の部分印刷の印刷方向と同じ方向)に決定される時点で中断される(図5のS115にてYES)。第1の生成処理は、注目印刷方向が直前印刷方向の逆方向に決定される(図5のS185)場合に中断されることなく最後まで実行される(すなわち完了される)。そして、第2の生成処理は、注目印刷方向が直前印刷方向に決定された後に開始される(図5のS150にてYES、S115にてYES)。   Further, according to the image processing A, the first generation processing is started from a point in time when the target printing direction has not been determined (NO in S115 of FIG. 5). Further, the first generation processing is interrupted when the target printing direction is determined to be the immediately preceding printing direction (the same direction as the printing direction of the immediately preceding partial printing) (YES in S115 of FIG. 5). The first generation process is executed without interruption (ie, completed) when the target print direction is determined to be the reverse direction of the immediately preceding print direction (S185 in FIG. 5). Then, the second generation processing is started after the target print direction is determined to be the immediately preceding print direction (YES in S150 of FIG. 5, YES in S115).

このように、第1の生成処理は、注目印刷方向が未決定である時点から開始されるので、注目印刷方向が直前印刷方向の逆方向に決定される場合に、速やかに第1の部分印刷データが生成される。この結果、例えば、注目印刷方向の決定に比較的時間を要する場合であっても、注目印刷方向が直前印刷方向の逆方向に決定される場合には、すなわち、往路印刷と復路印刷とを用いる印刷(双方向印刷)が行われる場合には、速やかに第1の部分印刷データを用いて印刷を開始することができる。したがって、印刷速度の低下を抑制できる。例えば、第1の生成処理と第2の生成処理とを並列して行う場合(例えば、後述する第3実施例)と比較すると、注目印刷方向が直前印刷方向の逆方向に決定される場合には、速やかに第1の部分印刷データを生成できる。以上の説明から解るように、画像処理Aによれば、往路印刷と復路印刷とを用いる印刷において、色ムラの発生を抑えつつ印刷速度の低下を抑制できる。   As described above, the first generation processing is started from a point in time when the target printing direction is not determined. Therefore, when the target printing direction is determined to be the reverse direction of the immediately preceding printing direction, the first partial printing is promptly performed. Data is generated. As a result, for example, even if it takes a relatively long time to determine the target printing direction, if the target printing direction is determined to be the reverse direction of the immediately preceding printing direction, that is, forward printing and returning printing are used. When printing (bidirectional printing) is performed, printing can be started immediately using the first partial print data. Therefore, a decrease in printing speed can be suppressed. For example, when compared with a case where the first generation processing and the second generation processing are performed in parallel (for example, a third embodiment described later), a case where the target printing direction is determined to be the opposite direction to the immediately preceding printing direction. Can quickly generate the first partial print data. As can be understood from the above description, according to the image processing A, it is possible to suppress a decrease in printing speed while suppressing the occurrence of color unevenness in printing using forward printing and backward printing.

また、第1の生成処理と第2の生成処理とを並列して行う場合(例えば、後述する第3実施例)では、第1の生成処理で生成されるデータと第2の生成処理で生成されるデータとをそれぞれ格納するためのバッファ領域331を確保する必要がある。これに対して、画像処理Aによれば、第1の生成処理は、注目印刷方向が直前印刷方向に決定された場合に中断され、第2の生成処理は、注目印刷方向が直前印刷方向に決定された後に開始されるので、第1の生成処理で生成されるデータと第2の生成処理で生成されるデータとのいずれか一方を格納するためのバッファ領域331だけを確保すれば良い。したがって、部分印刷データを生成するために必要なバッファ領域331としてのメモリの容量を低減できる。   When the first generation processing and the second generation processing are performed in parallel (for example, a third embodiment described later), the data generated in the first generation processing and the data generated in the second generation processing are generated. It is necessary to secure a buffer area 331 for respectively storing the data to be processed. On the other hand, according to the image processing A, the first generation process is interrupted when the target print direction is determined to be the immediately preceding print direction, and the second generation process is performed when the target print direction is set to the immediately preceding print direction. Since the processing is started after the determination, only the buffer area 331 for storing one of the data generated in the first generation processing and the data generated in the second generation processing may be secured. Therefore, the capacity of the memory as the buffer area 331 necessary for generating the partial print data can be reduced.

ここで、注目判定領域の評価値EVが閾値以上であることは、注目印刷方向が直前印刷方向であるべきことを示す特定条件である、と言うことができる。画像処理Aによれば、CPU310は、注目部分画像データのうちの一部のデータ(すなわち、判定領域BLに対応するデータ)を用いて、当該特定条件が満たされるか否かを判断し(図5のS150)、該特定条件が満たされる場合に(図5のS150にてYES)、注目印刷方向を直前印刷方向に決定する(図5のS155)。この結果、例えば、注目部分画像データの全部を用いて、注目印刷方向が決定される場合と比較して、注目印刷方向を直前印刷方向に決定するために要する時間を短縮できる。例えば、注目印刷方向が直前印刷方向に決定される場合には、第1の生成処理を中断して、第2の生成処理を開始するために、その時点までに行われた第1の生成処理が無駄になる。しかしながら、画像処理Aによれば、注目部分画像データの全体を用いて、注目印刷方向が決定される場合と比較して、早期に第1の生成処理を中断でき、第2の生成処理を開始できる。この結果、注目印刷方向が直前印刷方向に決定される場合であっても、第1の生成処理が無駄に実行されることを抑制して、印刷速度を向上できる。   Here, it can be said that the fact that the evaluation value EV of the attention determination area is equal to or larger than the threshold is a specific condition indicating that the attention printing direction should be the immediately preceding printing direction. According to the image processing A, the CPU 310 determines whether or not the specific condition is satisfied using a part of the target partial image data (that is, the data corresponding to the determination area BL) (see FIG. 5 (S150 in FIG. 5), when the specific condition is satisfied (YES in S150 in FIG. 5), the target print direction is determined to be the immediately preceding print direction (S155 in FIG. 5). As a result, for example, the time required to determine the target printing direction as the immediately preceding printing direction can be reduced as compared with the case where the target printing direction is determined using the entire target partial image data. For example, if the target print direction is determined to be the immediately preceding print direction, the first generation process is interrupted to start the second generation process, and the first generation process performed up to that point is started. Is wasted. However, according to the image processing A, the first generation processing can be interrupted earlier and the second generation processing can be started as compared with the case where the target print direction is determined using the entire target partial image data. it can. As a result, even when the target print direction is determined to be the immediately preceding print direction, the first generation processing is prevented from being performed uselessly, and the printing speed can be improved.

さらに、画像処理Aによれば、少なくとも1個の判定領域BLが特定条件(画像処理Aでは評価値EVが閾値以上であること)を満たす場合に、注目印刷方向を直前印刷方向に決定する(図5のS150、S155)。したがって、注目印刷方向を直前印刷方向に決定するために要する時間をさらに短縮できる。   Further, according to the image processing A, when at least one determination area BL satisfies a specific condition (in the image processing A, the evaluation value EV is equal to or more than a threshold), the target printing direction is determined to be the immediately preceding printing direction ( S150 and S155 in FIG. 5). Therefore, the time required to determine the target printing direction as the immediately preceding printing direction can be further reduced.

さらに、画像処理Aによれば、CPU310は、注目部分画像データに含まれる複数個の画素データのうちの複数個の特定の画素データが注目画素データとして取得される度に、取得される特定の画素データを用いて、特定条件が満たされるか否かが判断される(図5のS140〜S150)。具体的には、画像処理Aでは、複数個の特定の画素データは、各判定領域BLのうち最後に処理される画素データ(例えば、図6(A)の判定領域BLaの画素PXa)であり、これらの画素が注目画素データとして取得される度に、特定条件が満たされるか否かが判断される。そして、いずれかの特定の画素データが取得される際の判断にて、特定条件が満たされる場合に(図5のS150にてYES)、注目印刷方向は、直前印刷方向に決定される(図5のS155)。そして、特定条件が満たされることなく、複数個の特定の画素データの取得が完了される場合に(図5のS180にてNO)、注目印刷方向は、直前印刷方向の逆方向に決定される(図5のS185)。この結果、注目印刷方向が直前印刷方向に決定される場合に、注目印刷方向の決定に要する時間を短縮できる。   Further, according to the image processing A, the CPU 310 obtains the specific image data each time a plurality of specific pixel data among the plurality of pixel data included in the target partial image data is obtained as the target pixel data. Using the pixel data, it is determined whether the specific condition is satisfied (S140 to S150 in FIG. 5). Specifically, in the image processing A, the plurality of specific pixel data is pixel data to be processed last in each determination region BL (for example, the pixel PXa in the determination region BLa in FIG. 6A). Each time these pixels are acquired as target pixel data, it is determined whether a specific condition is satisfied. If it is determined that any specific pixel data is acquired and the specific condition is satisfied (YES in S150 of FIG. 5), the target print direction is determined to be the immediately preceding print direction (FIG. 5). S155 of No. 5). Then, when the acquisition of a plurality of specific pixel data is completed without satisfying the specific condition (NO in S180 of FIG. 5), the target print direction is determined to be the reverse direction of the immediately preceding print direction. (S185 in FIG. 5). As a result, when the target print direction is determined to be the immediately preceding print direction, the time required for determining the target print direction can be reduced.

さらに、画像処理Aによれば、注目印刷方向が未決定である時点から、画素ごとに第1の色変換処理(図5のS125)と、第1の色変換処理によって生成される第1の処理済みデータ(CMYK値)を用いた第1のハーフトーン処理(図5のS130)と、を含む単位処理が開始される。この結果、注目部分画像データの全体に対して第1の色変換処理を行った後に、第1のハーフトーン処理を実行する場合(例えば、後述する第2実施例)よりもバッファ領域331として必要なメモリの容量を低減できる。注目部分画像データの全体に対して第1の色変換処理を行った後に、第1のハーフトーン処理を実行する場合には、注目部分画像内の全ての画素のCMYK値を格納するバッファ領域331を確保する必要があるが、画像処理Aによれば、1画素分のCMYK値が保持できれば良いためである。また、図5のS185にて、注目印刷方向が直前印刷方向の逆方向に決定された時点で、注目部分画像を印刷するための第1の部分印刷データが生成されているので、注目印刷方向が直前印刷方向の逆方向に決定される場合には、すぐに注目部分画像の印刷をプリンタ200に開始させることができる。また、注目部分画像データの全体に対して第1の色変換処理を行った後に、第1のハーフトーン処理を実行する場合には、バッファ領域331に格納された注目部分画像分のCMYK値から1画素分ずつCMYK値を取得してハーフトーン処理を行う必要がある。これに対して画像処理Aによれば、1度取得されたRGB値に対して色変換とハーフトーン処理とがセットで実行される。このために、CMYK値を1画素ずつ取得する処理が不要になる分、第1の部分印刷データの生成に要する時間を短縮し得る。したがって、より印刷速度を向上し得る。   Further, according to the image processing A, the first color conversion processing (S125 in FIG. 5) and the first color conversion processing generated by the first color conversion processing are performed for each pixel from the point in time when the target printing direction is not determined. A unit process including a first halftone process using the processed data (CMYK values) (S130 in FIG. 5) is started. As a result, after the first color conversion process is performed on the entire target partial image data, the buffer region 331 is required more than when the first halftone process is performed (for example, a second embodiment described later). Memory capacity can be reduced. When performing the first halftone process after performing the first color conversion process on the entire target partial image data, the buffer region 331 storing the CMYK values of all the pixels in the target partial image This is because, according to the image processing A, it is only necessary to hold the CMYK values for one pixel. Further, at S185 in FIG. 5, when the target printing direction is determined to be the reverse of the immediately preceding printing direction, the first partial print data for printing the target partial image has been generated. Is determined in the direction opposite to the immediately preceding printing direction, the printer 200 can immediately start printing the target partial image. When the first halftone process is performed after the first color conversion process is performed on the entire target partial image data, the CMYK values of the target partial image stored in the buffer area 331 are used. It is necessary to obtain CMYK values for each pixel and perform halftone processing. On the other hand, according to the image processing A, color conversion and halftone processing are performed as a set on the RGB values acquired once. For this reason, the time required to generate the first partial print data can be reduced because the process of acquiring the CMYK values one pixel at a time becomes unnecessary. Therefore, the printing speed can be further improved.

B.第2実施例
第2実施例では、第1実施例の画像処理A(図5)に代えて、画像処理Bが実行される。図7は、第2実施例の画像処理Bのフローチャートである。図7のフローチャートにおいて、図5の画像処理Aと同一のステップには、図5と同じ符号が付され、図5の画像処理Aと異なるステップには、符号の末尾に「B」が付されている。
B. Second Embodiment In the second embodiment, image processing B is executed instead of the image processing A (FIG. 5) of the first embodiment. FIG. 7 is a flowchart of the image processing B of the second embodiment. In the flowchart of FIG. 7, the same steps as those in the image processing A in FIG. 5 are denoted by the same reference numerals as those in FIG. 5, and steps different from those in the image processing A in FIG. ing.

図7の画像処理BのS105Bでは、注目画素データが1個ずつ取得されるが、注目画素データの取得の順序が、図5の画像処理AのS105とは異なる。画像処理BのS105Bでは、図6(B)に示すように、注目判定領域である判定領域BL内の全ての画素に対応する画素データが注目画素データとして取得された後に、+X側に隣接する次の判定領域BL内の画素に対応する画素データが取得される。そして、X方向に並ぶ複数個の判定領域BLの全てが注目判定領域として処理された後に、該複数個の判定領域BLの−Y側に隣接する複数個の判定領域BLが−X側から順次に処理される。このような順序で注目画素データを取得できるのは、後述するように、注目部分画像データの全ての画素データが色変換された後に、誤差収集法を用いたハーフトーン処理が実行されるためである。   In S105B of the image processing B in FIG. 7, the target pixel data is obtained one by one, but the order of obtaining the target pixel data is different from that in S105 of the image processing A in FIG. In S105B of the image processing B, as shown in FIG. 6B, after the pixel data corresponding to all the pixels in the determination area BL, which is the attention determination area, is acquired as the attention pixel data, it is adjacent to the + X side. Pixel data corresponding to a pixel in the next determination area BL is obtained. Then, after all of the plurality of determination regions BL arranged in the X direction are processed as the attention determination region, the plurality of determination regions BL adjacent to the plurality of determination regions BL on the −Y side are sequentially arranged from the −X side. Is processed. The target pixel data can be obtained in such an order because, as described later, halftone processing using the error collection method is performed after all the pixel data of the target partial image data are color-converted. is there.

図7の画像処理Bでは、図5の画像処理AのS130、S135は、実行されない。このために、画像処理Bでは、S120またはS125にて注目画素データに対して色変換処理が行われた後に、CPU310は、S140に処理を進める。   In image processing B of FIG. 7, S130 and S135 of image processing A of FIG. 5 are not executed. For this reason, in the image processing B, after the color conversion processing is performed on the target pixel data in S120 or S125, the CPU 310 advances the processing to S140.

図7の画像処理Bでは、S155にて、注目印刷方向が直前印刷方向に決定された後に、図5のS160〜S170に代えて、S158BとS160Bが実行される。   In the image processing B in FIG. 7, after the target print direction is determined to be the immediately preceding print direction in S155, S158B and S160B are executed instead of S160 to S170 in FIG.

S158Bでは、CPU310は、処理済みの1個以上の判定領域BLを、再色変換を行う判定領域BLと、再色変換を行わない判定領域BLと、のいずれかに決定する。例えば、図6(B)の判定領域BLbが注目判定領域である場合に、該注目判定領域の評価値EVが閾値THv以上であると判断されたとする(図7のS150にてYES)。この場合には、S158Bにて、CPU310は、図6(B)にてハッチングされた処理済みの判定領域BLのそれぞれを、再色変換を行う判定領域BLと、再色変換を行わない判定領域BLと、のいずれかに決定する。具体的には、処理済みの判定領域BLのうち、対応する評価値EVが閾値THvよりも小さな閾値THs以上である判定領域BLは、再色変換を行う判定領域BLに決定され、対応する評価値EVが閾値THs未満である判定領域BLは、再色変換を行わない判定領域BLに決定される。   In S158B, the CPU 310 determines one or more processed determination areas BL as a determination area BL for performing recolor conversion or a determination area BL for not performing recolor conversion. For example, it is assumed that when the determination area BLb in FIG. 6B is the attention determination area, it is determined that the evaluation value EV of the attention determination area is equal to or larger than the threshold value THv (YES in S150 in FIG. 7). In this case, in S158B, the CPU 310 converts each of the processed determination areas BL hatched in FIG. 6B into a determination area BL for performing recolor conversion and a determination area for not performing recolor conversion. BL. Specifically, among the processed determination areas BL, a determination area BL in which the corresponding evaluation value EV is equal to or greater than a threshold value THs smaller than the threshold value THv is determined as a determination area BL for performing recolor conversion, and the corresponding evaluation area BL is determined. The determination region BL in which the value EV is less than the threshold value THs is determined as a determination region BL in which recolor conversion is not performed.

S160Bでは、CPU310は、処理済みの判定領域BLのうち、再色変換を行うと決定された判定領域BL内の全ての画素に対応する画素データに対して、再色変換処理を実行する。CPU310は、処理済みの判定領域BLのうち、再色変換を行わないと決定された判定領域BL内の画素に対応する画素データに対しては、再色変換処理を行わない。再色変換処理では、図5のS160と同様に、往路用プロファイルPF1と復路用プロファイルPF2とのうち、直前印刷方向に対応するプロファイルを用いて色変換が行われる。色変換済みの画素データ(CMYK値)が格納されるバッファ領域331において、再色変換を行うと決定された判定領域BL内の画素に対応するCMYK値は、再変換処理によって生成されたCMYK値に上書きされる。該バッファ領域331において、再色変換を行わないと決定された判定領域BL内の画素に対応するCMYK値は、上書きされない。   In S160B, the CPU 310 performs the recolor conversion process on the pixel data corresponding to all the pixels in the determination region BL that has been determined to perform the recolor conversion among the processed determination region BL. The CPU 310 does not perform the recolor conversion processing on the pixel data corresponding to the pixels in the determination area BL that is determined not to perform the recolor conversion among the processed determination areas BL. In the recolor conversion process, as in S160 of FIG. 5, color conversion is performed using the profile corresponding to the immediately preceding print direction, out of the forward pass profile PF1 and the return pass profile PF2. In the buffer area 331 in which the color-converted pixel data (CMYK values) are stored, the CMYK values corresponding to the pixels in the determination area BL determined to perform the recolor conversion are the CMYK values generated by the reconversion processing. Will be overwritten. In the buffer area 331, the CMYK values corresponding to the pixels in the determination area BL determined not to perform the recolor conversion are not overwritten.

画像処理Bでは、注目部分画像データの全てについて色変換処理が行われた後、すなわち、S180またはS185の後に、S186Bが実行される。   In the image processing B, S186B is executed after the color conversion processing has been performed for all the partial image data of interest, that is, after S180 or S185.

S186Bでは、CPU310は、色変換処理済みの注目部分画像データの全ての画素データ(CMYK値)に対して、まとめてハーフトーン処理を実行する。これによって、注目部分画像データに対応する全てのドットデータが生成される。すなわち、S185にて注目印刷方向が直前印刷方向の逆方向に決定される場合には、第1のハーフトーン処理が実行され、S155にて注目印刷方向が直前印刷方向に決定される場合には、第2のハーフトーン処理が実行される。第1のハーフトーン処理は、第1の色変換処理(図7のS125)にて生成される処理済みデータ(CMYK値)を用いて実行される。第2のハーフトーン処理は、注目印刷方向の決定後に実行される第2の色変換処理(図7のS160B、S120)にて生成される処理済みデータ(CMYK値)と、第1の色変換処理(図7のS125)にて生成される処理済みデータのうち、再変換処理を行わない判定領域BLに対応するデータと、を用いて実行される。S188Bでは、CPU310は、全てのドットデータについて対応するノズルNZを決定する。この結果、注目部分画像を印刷するための部分印刷データが生成される。すなわち、注目印刷方向が直前印刷方向の逆方向に決定される場合には、第1の部分印刷データが生成され、注目印刷方向が直前印刷方向に決定される場合には、第2の部分印刷データが生成される。   In S186B, the CPU 310 performs a halftone process on all the pixel data (CMYK values) of the target partial image data after the color conversion process. As a result, all dot data corresponding to the target partial image data is generated. That is, if the target print direction is determined to be the reverse direction of the immediately preceding print direction in S185, the first halftone process is executed. If the target print direction is determined to be the immediately preceding print direction in S155, , A second halftone process is executed. The first halftone process is executed using the processed data (CMYK values) generated in the first color conversion process (S125 in FIG. 7). The second halftone process includes the processed data (CMYK values) generated in the second color conversion process (S160B and S120 in FIG. 7) performed after the target print direction is determined, and the first color conversion. The processing is performed using the data corresponding to the determination area BL in which the re-conversion processing is not performed among the processed data generated in the processing (S125 in FIG. 7). In S188B, the CPU 310 determines a corresponding nozzle NZ for all dot data. As a result, partial print data for printing the target partial image is generated. That is, the first partial print data is generated when the target print direction is determined to be the reverse direction of the immediately preceding print direction, and the second partial print data is generated when the target print direction is determined to be the previous print direction. Data is generated.

図7の画像処理Bのその他の処理は、図5の画像処理Aと同様である。   Other processing of the image processing B in FIG. 7 is the same as the image processing A in FIG.

以上説明した本実施例の画像処理Bによれば、注目部分画像データに対して、色変換処理が完了した後に、ハーフトーン処理が開始される(図7のS186B)。すなわち、CPU310は、S185にて注目印刷方向が直前印刷方向の逆方向に決定される場合には、注目印刷方向が直前印刷方向の逆方向に決定された後に、第1のハーフトーン処理を実行する。そして、CPU310は、S155にて注目印刷方向が直前印刷方向に決定される場合には、注目印刷方向が直前印刷方向に決定された後に第2のハーフトーン処理を含む第2の生成処理を実行する。この結果、注目印刷方向が、直前印刷方向の逆方向に決定される場合であっても、直前印刷方向に決定される場合であっても、無駄なハーフトーン処理が行われることを抑制できる。換言すれば、注目印刷方向が、直前印刷方向に決定される場合であっても、再度、実行する必要がある処理は、色変換処理だけである。したがって、注目印刷方向が、直前印刷方向に決定される場合に、印刷速度の低下を抑制できる。   According to the image processing B of the present embodiment described above, the halftone processing is started after the color conversion processing is completed for the partial image data of interest (S186B in FIG. 7). That is, when the target print direction is determined to be the reverse direction of the immediately preceding print direction in S185, the CPU 310 executes the first halftone process after determining the target print direction to be the reverse direction of the immediately preceding print direction. I do. Then, when the target printing direction is determined to be the immediately preceding printing direction in S155, the CPU 310 executes the second generation processing including the second halftone processing after the target printing direction is determined to be the immediately preceding printing direction. I do. As a result, whether the target printing direction is determined to be the reverse direction of the immediately preceding printing direction or the immediately preceding printing direction, it is possible to suppress unnecessary halftone processing from being performed. In other words, even if the target print direction is determined to be the immediately preceding print direction, the only process that needs to be executed again is the color conversion process. Therefore, when the target printing direction is determined to be the immediately preceding printing direction, a decrease in printing speed can be suppressed.

さらに、画像処理Bによれば、CPU310は、注目印刷方向が直前印刷方向に決定される場合に(図7のS155)、中断された第1の色変換処理(図7のS125)によって生成された処理済データ(CMYK値)から利用可能なデータを決定し(図7のS158B)、利用可能なデータに対応しないデータに対して第2の色変換処理を実行し(図7のS160B)、利用可能なデータに対応するデータに対して第2の色変換処理を実行しない。そして、CPU310は、注目印刷方向が直前印刷方向に決定される場合に、第2の色変換処理(図7のS120、S160B)によって生成されたCMYK値と、中断された第1の生成処理(第1の色変換処理)によって生成された利用可能なCMYK値と、を用いて第2の部分印刷データを生成する(S186B、S188B)。この結果、画像処理Bによれば、利用可能なデータに対応するデータに対して第2の色変換処理を実行しないので、印刷方向が直前印刷方向に決定される場合に、印刷時間を短縮し得る。   Further, according to the image processing B, when the target printing direction is determined to be the immediately preceding printing direction (S155 in FIG. 7), the CPU 310 generates the interrupted first color conversion process (S125 in FIG. 7). The usable data is determined from the processed data (CMYK values) (S158B in FIG. 7), and a second color conversion process is performed on data that does not correspond to the usable data (S160B in FIG. 7). The second color conversion process is not performed on data corresponding to available data. Then, when the target print direction is determined to be the immediately preceding print direction, the CPU 310 determines the CMYK values generated by the second color conversion processing (S120 and S160B in FIG. 7) and the interrupted first generation processing ( The second partial print data is generated using the available CMYK values generated by the first color conversion processing) (S186B, S188B). As a result, according to the image processing B, since the second color conversion processing is not performed on the data corresponding to the available data, the printing time can be reduced when the printing direction is determined to be the immediately preceding printing direction. obtain.

さらに、利用可能なCMYK値は、上述のように、対応する評価値EVが閾値THs未満である判定領域BLに対応するCMYK値である。対応する評価値EVが閾値THs未満である判定領域BLに対応するCMYK値は、往路印刷で印刷された場合と復路印刷で印刷された場合との間の色の相違(往復間色差)が基準以下であると判断される部分に対応するデータである、と言うことができる。この結果、第1の色変換処理によって生成されたCMYK値、すなわち、注目印刷方向とは異なる方向に対応するプロファイルを用いても、色の相違が生じ難いと判断できる領域についてのみ、第2の色変換処理が省略される。したがって、第2の色変換処理の一部を省略するにも関わらずに、印刷される画像の画質が低下することを抑制することができる。   Further, as described above, the available CMYK values are the CMYK values corresponding to the determination area BL in which the corresponding evaluation value EV is less than the threshold value THs. The CMYK value corresponding to the determination area BL in which the corresponding evaluation value EV is less than the threshold value THs is based on the color difference between the case of printing in forward printing and the case of printing in return printing (color difference between round trip). It can be said that the data corresponds to the part determined to be as follows. As a result, only the CMYK values generated by the first color conversion process, that is, the regions that can be determined to be unlikely to cause a color difference even if a profile corresponding to a direction different from the target printing direction is used, are used as the second values. The color conversion processing is omitted. Therefore, it is possible to suppress the image quality of the image to be printed from being degraded despite omitting a part of the second color conversion processing.

さらに、画像処理Bによれば、図7のS105では、図6(B)に示す順序で、注目画素データが取得される。この結果、例えば、図6(A)に示す順序で、注目画素データが取得される場合と比較して、−X側に位置する判定領域BL、例えば、図6(B)の判定領域BLa、BLbの評価値EVを用いた判断(S150)が、速い段階で実行される。この結果、注目印刷方向が直前印刷方向に決定される(S155)場合に、注目印刷方向の決定に要する時間を短縮し得る。この結果、注目印刷方向が直前印刷方向に決定される場合に、無駄に第1の生成処理が実行される処理量を低減できる。   Further, according to the image processing B, in S105 of FIG. 7, target pixel data is obtained in the order shown in FIG. As a result, for example, in the order shown in FIG. 6A, the determination region BL located on the −X side, for example, the determination region BLa in FIG. The determination using the evaluation value EV of BLb (S150) is performed at an early stage. As a result, when the target print direction is determined to be the immediately preceding print direction (S155), the time required to determine the target print direction can be reduced. As a result, when the target print direction is determined to be the immediately preceding print direction, it is possible to reduce the amount of useless execution of the first generation process.

ここで、注目印刷方向とは異なる方向に対応するプロファイルが用いられる場合には、注目印刷方向に対応するプロファイルが用いられる場合よりも往復間色差が発生しやすい。このために、利用可能なデータを決定する際には、判定領域BL内の画像の色が、往復間色差が発生し難い色であることをより厳密に判断することが好ましい。画像処理Bによれば、S158Bにて、利用可能なデータを決定する際に用いられる閾値THsは、S150にて注目印刷方向を直前印刷方向に決定する際に用いられる閾値THvよりも小さい。この結果、印刷される画像の画質が低下することを適切に抑制することができる。   Here, when a profile corresponding to a direction different from the target printing direction is used, a round-trip color difference is more likely to occur than when a profile corresponding to the target printing direction is used. For this reason, when determining usable data, it is preferable to more strictly determine that the color of the image in the determination area BL is a color in which the color difference between the reciprocations is unlikely to occur. According to the image processing B, the threshold value THs used in determining available data in S158B is smaller than the threshold value THv used in determining the target printing direction to the immediately preceding printing direction in S150. As a result, it is possible to appropriately suppress the deterioration of the image quality of the image to be printed.

C.第3実施例 C. Third embodiment

第3実施例では、CPU310は、複数個の論理プロセッサを備え、2個以上のスレッドのそれぞれに論理プロセッサを割り当てて同時に処理することで全体の処理速度を向上する機能(マルチスレッド処理機能とも呼ぶ)を有する。例えば、複数個の論理プロセッサは、複数個の物理コアによって実現されても良く、1個の物理コアが複数個の論理コアを提供することで実現されても良く、これらの組み合わせによって実現されても良い。1個の物理コアが複数個の論理コアを提供する技術としては、例えば、インテル(登録商標)のハイパースレッディングテクノロジが知られている。   In the third embodiment, the CPU 310 includes a plurality of logical processors, and a function of improving the overall processing speed by allocating logical processors to each of two or more threads and simultaneously processing them (also referred to as a multi-thread processing function). ). For example, a plurality of logical processors may be realized by a plurality of physical cores, a single physical core may be realized by providing a plurality of logical cores, or a combination of these. Is also good. As a technology in which one physical core provides a plurality of logical cores, for example, Intel (registered trademark) hyper-threading technology is known.

第3実施例では、画像処理A(図5)、画像処理B(図7)に代えて、画像処理Cが実行される。図8は、第3実施例の画像処理Cのフローチャートである。図8のフローチャートにおいて、図7の画像処理Bと同一のステップには、図7と同じ符号が付され、図7の画像処理Bと異なるステップには、符号の末尾に「C」が付されている。   In the third embodiment, image processing C is executed instead of image processing A (FIG. 5) and image processing B (FIG. 7). FIG. 8 is a flowchart of the image processing C of the third embodiment. In the flowchart of FIG. 8, the same steps as those in the image processing B in FIG. 7 are denoted by the same reference numerals as those in FIG. 7, and steps different from those in the image processing B in FIG. ing.

図8の画像処理Cでは、S115にて、注目印刷方向が直前印刷方向に決定済みではないと判断される場合に(S115:NO)、図7のS125に代えて、S125CとS127Cとが、マルチスレッド機能によって並列に実行される。   In the image processing C of FIG. 8, when it is determined in S115 that the target print direction has not been determined to be the immediately preceding print direction (S115: NO), S125C and S127C are replaced with S125C in FIG. It is executed in parallel by the multi-thread function.

S125Cでは、CPU310は、往路用プロファイルPF1を用いて、注目画素データを色変換する。これによって、往路用のCMYK値が生成される。S127Cでは、CPU310は、復路用プロファイルPF2を用いて、注目画素データを色変換する。これによって、復路用のCMYK値が生成される。これらの2種類のCMYK値は、それぞれ、バッファ領域331の異なる領域に格納される。   In S125C, the CPU 310 color-converts the target pixel data using the outward path profile PF1. As a result, CMYK values for the forward path are generated. In S127C, the CPU 310 converts the color of the target pixel data using the return path profile PF2. As a result, a CMYK value for the return path is generated. These two types of CMYK values are stored in different areas of the buffer area 331, respectively.

図8の画像処理Cでは、S155にて、注目印刷方向が直前印刷方向に決定された後に、図7のS158BとS160Bは実行されない。   In the image processing C in FIG. 8, after the target printing direction is determined to be the immediately preceding printing direction in S155, S158B and S160B in FIG. 7 are not executed.

このように、画像処理Cでは、S155にて注目印刷方向が直前印刷方向に決定される場合には、注目印刷方向が直前印刷方向に決定されるまでは、S125CとS127Cにおいて、往路用のCMYK値と復路用のCMYK値との両方が生成されて、バッファ領域331に格納される。そして、注目印刷方向が直前印刷方向に決定された後は、S120にて、往路用のCMYK値と復路用のCMYK値とのうち、直前印刷方向に対応するCMYK値だけが生成され、直前印刷方向の逆方向に対応するCMYK値の生成は中断される。   As described above, in the image processing C, when the target print direction is determined to be the immediately preceding print direction in S155, the forward CMYK is performed in S125C and S127C until the target print direction is determined to be the immediately preceding print direction. Both the value and the CMYK value for the return path are generated and stored in the buffer area 331. After the target print direction is determined to be the immediately preceding print direction, only the CMYK values corresponding to the immediately preceding print direction among the CMYK values for the forward pass and the CMYK values for the return pass are generated in S120. The generation of CMYK values corresponding to the opposite direction is interrupted.

そして、画像処理Cでは、S185にて注目印刷方向が直前印刷方向の逆方向に決定される場合には、S125CとS127Cにおいて、往路用のCMYK値と復路用のCMYK値との両方が、注目部分画像の全体について生成される。   Then, in the image processing C, if the target print direction is determined to be the reverse direction of the immediately preceding print direction in S185, both the forward CMYK value and the return CMYK value are used in S125C and S127C. Generated for the entire partial image.

また、図8の画像処理Cでは、図7の画像処理Bと同様に、注目部分画像データの全てについて色変換処理が行われた後、すなわち、S180またはS185の後に、S186Bにて、ハーフトーン処理が実行される。   In the image processing C of FIG. 8, similarly to the image processing B of FIG. 7, after the color conversion processing is performed on all the target partial image data, that is, after S180 or S185, the halftone processing is performed in S186B. The processing is executed.

すなわち、S185にて注目印刷方向が直前印刷方向の逆方向に決定される場合には、S186Bにて、往路用のCMYK値と復路用のCMYK値とのうち、直前印刷方向の逆方向に対応するCMYK値から構成されるCMYK部分画像データに対してハーフトーン処理が実行される。これによって、直前印刷方向の逆方向で注目部分画像を印刷するための第1の部分印刷データが生成される。   That is, if the target print direction is determined to be the reverse direction of the immediately preceding print direction in S185, the corresponding one of the forward CMYK value and the return CMYK value corresponds to the reverse direction of the previous print direction in S186B. Halftone processing is performed on the CMYK partial image data composed of the CMYK values to be processed. As a result, first partial print data for printing the target partial image in the direction opposite to the immediately preceding print direction is generated.

S155にて注目印刷方向が直前印刷方向に決定される場合には、S186Bにて、往路用のCMYK値と復路用のCMYK値とのうち、直前印刷方向に対応するCMYK値から構成されるCMYK部分画像データに対してハーフトーン処理が実行される。これによって、直前印刷方向で注目部分画像を印刷するための第2の部分印刷データが生成される。   If the target printing direction is determined to be the immediately preceding printing direction in S155, in S186B, of the CMYK values for the forward path and the CMYK values for the returning path, the CMYK values are formed from the CMYK values corresponding to the immediately preceding printing direction. Halftone processing is performed on the partial image data. Thereby, the second partial print data for printing the target partial image in the immediately preceding print direction is generated.

以上説明した画像処理Cによれば、第1の部分印刷データを生成するための第1の生成処理と、第2の部分画像データを生成するための第2の生成処理と、は、注目印刷方向が未決定である時点から並列して開始される(図8のS125C、S127C)。この結果、注目印刷方向がいずれに決定される場合であっても、比較的早期に部分印刷データが生成できる。例えば、注目印刷方向の決定に比較的時間を要する場合であっても早期に部分印刷データが生成できる。この結果、印刷速度を向上できる。   According to the image processing C described above, the first generation processing for generating the first partial print data and the second generation processing for generating the second partial image data include the target print. The processing is started in parallel from the time when the direction is not determined (S125C and S127C in FIG. 8). As a result, no matter which print direction is determined, the partial print data can be generated relatively early. For example, even when it takes a relatively long time to determine the target print direction, the partial print data can be generated early. As a result, the printing speed can be improved.

さらに、画像処理Cによれば、注目部分画像が直前印刷方向に決定された後は(図8のS115:NO)、直前印刷方向に対応するプロファイルを用いる色変換(図8のS120)だけが実行され、他方のプロファイルを用いる色変換は実行されない。すなわち、注目部分画像が直前印刷方向に決定された場合には、その時点で、第1の生成処理は中断され、第2の生成処理だけが完了される。また、注目部分画像が直前印刷方向の逆方向に決定された後は(図8のS185)、直前印刷方向の逆方向に対応するプロファイルを用いる色変換によって生成されるCMYK部分画像データに対してだけハーフトーン処理が実行され(図8のS186B)、他方のプロファイルを用いる色変換によって生成されるCMYK部分画像データに対してハーフトーン処理は実行されない。すなわち、注目部分画像が直前印刷方向の逆方向に決定された場合には、その時点で、第2の生成処理は中断され、第1の生成処理だけが完了される。このように、注目印刷方向が決定された後は、第1の生成処理と第2の生成処理とのいずれか一方だけが実行されるので、部分印刷データの生成のための処理負荷を低減できる。   Further, according to the image processing C, after the target partial image is determined in the immediately preceding printing direction (S115 in FIG. 8: NO), only the color conversion using the profile corresponding to the immediately preceding printing direction (S120 in FIG. 8) is performed. Color conversion using the other profile is not performed. That is, when the target partial image is determined in the immediately preceding printing direction, at that time, the first generation processing is interrupted, and only the second generation processing is completed. After the target partial image is determined in the reverse direction of the immediately preceding print direction (S185 in FIG. 8), the CMYK partial image data generated by the color conversion using the profile corresponding to the reverse direction of the immediately preceding print direction is executed. Only the halftone process is performed (S186B in FIG. 8), and the halftone process is not performed on the CMYK partial image data generated by the color conversion using the other profile. That is, when the target partial image is determined in the direction opposite to the immediately preceding printing direction, at that time, the second generation processing is interrupted, and only the first generation processing is completed. As described above, after the target print direction is determined, only one of the first generation processing and the second generation processing is executed, so that the processing load for generating the partial print data can be reduced. .

さらに、画像処理Cによれば、CPU310のマルチスレッド処理機能を利用して、第1の生成処理の一部と第2の生成処理の一部とが並列に処理されるので、部分印刷データの生成を高速化できる。   Further, according to the image processing C, a part of the first generation processing and a part of the second generation processing are processed in parallel using the multi-thread processing function of the CPU 310, so that the partial print data Generation can be accelerated.

D.第4実施例
第4実施例では、画像処理A(図5)、画像処理B(図7)、画像処理C(図8)に代えて、画像処理Dが実行される。図9は、第4実施例の画像処理Dのフローチャートである。
D. Fourth Embodiment In a fourth embodiment, image processing D is executed instead of image processing A (FIG. 5), image processing B (FIG. 7), and image processing C (FIG. 8). FIG. 9 is a flowchart of the image processing D of the fourth embodiment.

S205では、CPU310は、図8のS105と同様に、例えば、図6(B)に示す順序で、注目画素データを取得する。ただし、本実施例では、注目判定領域内の全ての画素を注目画素データとして取得することに代えて、注目判定領域内の一部の画素を選択的に取得する。注目判定領域は、上述したように、複数個の判定領域BL(図6)のうち、注目画素データに対応する領域である。例えば、CPU310は、注目判定領域に対応する複数個の画素データのうち、X座標およびY座標が奇数である画素のデータのみを注目画素データとして取得する。これによって、注目印刷方向の決定に要する処理時間を短縮することができる。   In S205, the CPU 310 acquires target pixel data in the order shown in FIG. 6B, for example, as in S105 of FIG. However, in this embodiment, instead of acquiring all pixels in the attention determination area as attention pixel data, a part of the pixels in the attention determination area are selectively acquired. As described above, the attention determination area is an area corresponding to the attention pixel data among the plurality of determination areas BL (FIG. 6). For example, among the plurality of pixel data corresponding to the attention determination area, the CPU 310 acquires only the data of the pixels whose X coordinate and Y coordinate are odd numbers as attention pixel data. As a result, the processing time required to determine the target printing direction can be reduced.

S210では、CPU310は、注目判定領域に対応する複数個の画素データのうち、取得すべき全ての画素データを取得したか否かを判断する。例えば、注目判定領域に対応する数個の画素データのうち、X座標およびY座標が奇数である全ての画素のデータが取得されたか否かが判断される。   In S210, the CPU 310 determines whether all the pixel data to be acquired have been acquired from among the plurality of pixel data corresponding to the attention determination area. For example, it is determined whether or not the data of all the pixels having an odd X coordinate and Y coordinate among several pieces of pixel data corresponding to the attention determination area has been obtained.

取得すべき一部の画素データが未取得である場合には(S210:NO)、CPU310は、S205に処理を戻す。取得すべき全ての画素データが取得された場合には(S210:YES)、S214にて、CPU310は、注目判定領域の評価値EVを算出し、S220にて、評価値EVが閾値THv以上であるか否かを判断する。   If some of the pixel data to be acquired has not been acquired (S210: NO), the CPU 310 returns the processing to S205. When all the pixel data to be acquired have been acquired (S210: YES), in S214, the CPU 310 calculates the evaluation value EV of the attention determination area, and in S220, when the evaluation value EV is equal to or larger than the threshold value THv. It is determined whether or not there is.

評価値EVが閾値THv以上である場合には(S220:YES)、S225にて、CPU310は、注目印刷方向を直前印刷方向に決定して、S245に処理を進める。評価値EVが閾値THv未満である場合には(S220:NO)、S230にて、CPU310は、注目部分画像内の全ての判定領域BLについて処理されたか否かを判断する。未処理の判定領域がある場合には(S230:NO)、CPU310は、S205に処理を戻す。注目部分画像内の全ての判定領域BLについて処理された場合には(S230:YES)、S240にて、CPU310は、注目印刷方向を直前印刷方向の逆方向に決定して、S245に処理を進める。   If the evaluation value EV is equal to or greater than the threshold value THv (S220: YES), in S225, the CPU 310 determines the target printing direction to be the immediately preceding printing direction, and proceeds to S245. If the evaluation value EV is less than the threshold value THv (S220: NO), in S230, the CPU 310 determines whether or not all the determination areas BL in the target partial image have been processed. If there is an unprocessed determination area (S230: NO), the CPU 310 returns the processing to S205. If all the determination areas BL in the target partial image have been processed (S230: YES), in S240, the CPU 310 determines the target print direction to be the reverse of the immediately preceding print direction, and proceeds to S245. .

S245では、CPU310は、図5のS105と同様に、例えば、図6(A)に示す順序で、注目画素データを取得する。S250では、CPU310は、往路用プロファイルPF1と復路用プロファイルPF2とのうち、決定された注目印刷方向に対応するプロファイルを用いて、注目画素データを色変換する。S255では、CPU310は、色変換済みの注目画素データに対してハーフトーン処理を実行する。S260では、CPU310は、注目画素に対応するノズルNZを決定する。   In S245, the CPU 310 acquires the target pixel data in the order shown in FIG. 6A, for example, as in S105 in FIG. In S250, the CPU 310 color-converts the target pixel data using the profile corresponding to the determined target print direction among the forward pass profile PF1 and the return pass profile PF2. In S255, the CPU 310 executes a halftone process on the color-converted target pixel data. In S260, the CPU 310 determines the nozzle NZ corresponding to the pixel of interest.

S265では、CPU310は、注目部分画像データの全ての画素データが注目画素データとして処理されたか否かを判断する。注目部分画像データに未処理の画素データが含まれる場合には(S265:NO)、CPU310は、S245に処理を戻す。注目部分画像データの全ての画素データが注目画素データとして処理された場合には(S265:YES)、S270にて、CPU310は、生成された部分印刷データと、決定された注目印刷方向を示す方向情報と、をプリンタ200に送信する。プリンタ200が該部分印刷データと方向情報とを受信すると、プリンタ200のCPU210は、該部分印刷データと方向情報とに従って、部分印刷を実行する。   In S265, the CPU 310 determines whether all pixel data of the target partial image data has been processed as target pixel data. If the target partial image data includes unprocessed pixel data (S265: NO), the CPU 310 returns the process to S245. If all the pixel data of the target partial image data have been processed as the target pixel data (S265: YES), in S270, the CPU 310 determines the generated partial print data and the direction indicating the determined target print direction. And the information to the printer 200. When the printer 200 receives the partial print data and the direction information, the CPU 210 of the printer 200 executes the partial print according to the partial print data and the direction information.

S275では、CPU310は、印刷すべき印刷画像OIの全ての部分画像データを処理したか否かを判断する。未処理の部分画像データがある場合には(S275:NO)、CPU310は、S205に処理を戻す。全ての部分画像データが処理された場合には(S275:YES)、CPU310は、画像処理Dを終了する。   In S275, the CPU 310 determines whether or not all the partial image data of the print image OI to be printed has been processed. If there is unprocessed partial image data (S275: NO), the CPU 310 returns the processing to S205. If all the partial image data has been processed (S275: YES), the CPU 310 ends the image processing D.

以上説明した画像処理Dによれば、S205〜S240にて注目印刷方向が決定された後に、S245〜S265にて、第1の生成処理と第2の生成処理とのうち、決定済みの注目印刷方向に対応する処理が実行される。この結果、注目印刷方向が、直前印刷方向に決定される場合であっても第1の生成処理が無駄に実行されることがない。また、注目方向が、直前印刷方向の逆方向に決定される場合であっても、第2の生成処理が無駄に実行されることがない。この結果、注目印刷方向がいずれに決定される場合であっても、同等の印刷速度を実現し得る。   According to the image processing D described above, after the target print direction is determined in S205 to S240, in S245 to S265, the determined target print of the first generation process and the second generation process is determined. Processing corresponding to the direction is performed. As a result, even when the target print direction is determined to be the immediately preceding print direction, the first generation processing is not executed wastefully. Further, even when the direction of interest is determined to be the reverse direction of the immediately preceding printing direction, the second generation processing is not executed unnecessarily. As a result, the same printing speed can be realized no matter which printing direction is determined.

また、第1の生成処理と第2の生成処理とが並行に実施されることがないので、第1の生成処理によって生成されるデータと、第2の生成処理によって生成されるデータと、の両方を、バッファ領域331に記憶しておく必要がない。このために、例えば、画像処理Cと比較して、バッファ領域331として必要なメモリの容量を低減できる。   Also, since the first generation processing and the second generation processing are not performed in parallel, the data generated by the first generation processing and the data generated by the second generation processing are Both need not be stored in the buffer area 331. For this reason, for example, compared to the image processing C, the capacity of the memory required as the buffer area 331 can be reduced.

E.第5実施例
第5実施例では、上述した画像処理A(図5)、画像処理C(図8)、画像処理D(図9)の3種類の処理が使い分けられる。図10は、第5実施例の処理のフローチャートである。
E. FIG. Fifth Embodiment In the fifth embodiment, the above-described three types of processing of image processing A (FIG. 5), image processing C (FIG. 8), and image processing D (FIG. 9) are selectively used. FIG. 10 is a flowchart of the process of the fifth embodiment.

図10の処理は、例えば、ユーザからの印刷指示に基づいて、開始される。S310では、CPU310は、自身が上述したマルチスレッド処理機能を有しているか否かを判断する。例えば、オペレーティングシステムのシステム情報には、CPU310が同時に処理することができるスレッド数を示す論理プロセッサ数を示す情報が含まれる。CPU310は、該システム情報を参照して、CPU310の論理プロセッサ数を特定する。CPU310は、CPU310の論理プロセッサ数が2以上である場合には、自身が上述したマルチスレッド処理機能を有していると判断する。CPU310は、CPU310の論理プロセッサ数が1である場合には、自身が上述したマルチスレッド処理機能を有していないと判断する。変形例では、CPU310の物理コア数が2以上である場合には、マルチスレッド処理機能を有していると判断され、CPU310の物理コア数が1である場合には、マルチスレッド処理機能を有していないと判断されても良い。   The process in FIG. 10 is started based on, for example, a print instruction from a user. In S310, the CPU 310 determines whether or not the CPU 310 has the above-described multi-thread processing function. For example, the system information of the operating system includes information indicating the number of logical processors indicating the number of threads that can be processed simultaneously by the CPU 310. The CPU 310 specifies the number of logical processors of the CPU 310 with reference to the system information. When the number of logical processors of the CPU 310 is two or more, the CPU 310 determines that the CPU 310 has the multithread processing function described above. When the number of logical processors of the CPU 310 is 1, the CPU 310 determines that the CPU 310 does not have the multithread processing function described above. In the modified example, when the number of physical cores of the CPU 310 is two or more, it is determined that the CPU 310 has a multi-thread processing function. When the number of physical cores of the CPU 310 is one, the multi-thread processing function is provided. It may be determined that they have not.

CPU310は、自身がマルチスレッド処理機能を有している場合には(S310:YES)、S320に処理を進める。CPU310は、自身がマルチスレッド処理機能を有していない場合には(S310:NO)、S330に処理を進める。   If the CPU 310 has the multi-thread processing function (S310: YES), the process proceeds to S320. If the CPU 310 does not have the multi-thread processing function (S310: NO), the process proceeds to S330.

S320では、CPU310は、プリンタ200に未処理の印刷ジョブがあるか否かを判断する。未処理の印刷ジョブは、プリンタ200で実行されていない部分印刷のための部分印刷データを含んでいる。例えば、CPU310は、プリンタ200に未処理の印刷ジョブがあるか否かを問い合わせる。CPU310は、該問い合わせに応じてプリンタ200から取得される応答に基づいて、プリンタ200に未処理の印刷ジョブがあるか否かを判断する。CPU310は、プリンタ200に未処理の印刷ジョブがある場合には(S320:YES)、S340に処理を進める。CPU310は、プリンタ200に未処理の印刷ジョブがない場合には(S320:NO)、S330に処理を進める。   In S320, the CPU 310 determines whether the printer 200 has an unprocessed print job. The unprocessed print job includes partial print data for partial printing that has not been executed by the printer 200. For example, the CPU 310 inquires whether the printer 200 has an unprocessed print job. CPU 310 determines whether printer 200 has an unprocessed print job based on a response obtained from printer 200 in response to the inquiry. If there is an unprocessed print job in the printer 200 (S320: YES), the CPU 310 advances the process to S340. If there is no unprocessed print job in the printer 200 (S320: NO), the CPU 310 proceeds to S330.

S330では、CPU310は、印刷指示に基づいて印刷すべき印刷画像OIの主要なオブジェクトは文字であるか写真や描画であるかを判断する。例えば、CPU310は、印刷画像OIに対応する画像データ(画像ファイル)の拡張子に基づいて当該判断を行う。具体的には、CPU310は、当該画像ファイルの拡張子が第1種の拡張子である場合には、主要なオブジェクトは文字であると判断する。CPU310は、当該画像ファイルの拡張子が第2種の拡張子である場合には、主要なオブジェクトは描画または写真であると判断する。第1種の拡張子は、例えば、「.txt」、「.doc」、「.pdf」を含む。第2種の拡張子は、例えば、「.jpg」、「.bmp」を含む。CPU310は、印刷画像OIの主要なオブジェクトが文字である場合には(S330:YES)、S350に処理を進める。CPU310は、印刷画像OIの主要なオブジェクトが写真や描画である場合には(S330:NO)、S340に処理を進める。   In S330, the CPU 310 determines whether the main object of the print image OI to be printed is a character, a photograph, or a drawing based on the print instruction. For example, the CPU 310 makes the determination based on the extension of the image data (image file) corresponding to the print image OI. Specifically, if the extension of the image file is a first type extension, the CPU 310 determines that the main object is a character. If the extension of the image file is the second type of extension, the CPU 310 determines that the main object is a drawing or a photograph. The first type extension includes, for example, “.txt”, “.doc”, and “.pdf”. The second type of extension includes, for example, “.jpg” and “.bmp”. If the main object of print image OI is a character (S330: YES), CPU 310 proceeds to S350. If the main object of the print image OI is a photograph or a drawing (S330: NO), the CPU 310 proceeds to S340.

S340では、CPU310は、部分印刷データを生成する処理のためにバッファ領域331として利用可能なメモリの容量を取得する。S345では、CPU310は、取得された利用可能なメモリの容量が閾値THm以上であるか否かを判断する。閾値THmは、例えば、1つの部分画像に対応するCMYK画像データの2倍に相当する容量に設定される。CPU310は、利用可能なメモリの容量が閾値THm以上である場合には(S345:YES)、S360に処理を進める。CPU310は、利用可能なメモリの容量が閾値THm未満である場合には(S345:NO)、S370に処理を進める。   In S340, the CPU 310 acquires the capacity of the memory that can be used as the buffer area 331 for the process of generating the partial print data. In S345, CPU 310 determines whether or not the acquired available memory capacity is equal to or greater than threshold value THm. The threshold value THm is set, for example, to a capacity equivalent to twice the CMYK image data corresponding to one partial image. If the available memory capacity is equal to or greater than threshold THm (S345: YES), CPU 310 proceeds to S360. If the available memory capacity is less than the threshold value THm (S345: NO), the CPU 310 proceeds to S370.

S350では、CPU310は、図5の画像処理Aを実行する。S360では、CPU310は、図8の画像処理Cを実行する。S270では、CPU310は、図9の画像処理Dを実行する。   In S350, the CPU 310 executes the image processing A of FIG. In S360, CPU 310 executes image processing C in FIG. In S270, the CPU 310 executes the image processing D of FIG.

ただし、CPU310がマルチスレッド処理機能を有する場合に、図9の画像処理Dが実行される場合には、CPU310は、マルチスレッド処理機能を利用して画像処理Dを実行する。例えば、CPU310は、1回目の部分印刷について注目印刷方向を決定する処理(図9のS205〜S240)を実行する。そして、1回目の部分印刷について注目印刷方向が決定されると、その後に、CPU310は、(n+1)回目(nは1以上の整数)の部分印刷について注目印刷方向を決定する処理(図9のS205〜S240)と、n回目の部分印刷について部分印刷データを生成する処理(図9のS245〜S275)と、マルチスレッド処理機能を利用して、並列で実行する。   However, when the image processing D of FIG. 9 is executed when the CPU 310 has the multi-thread processing function, the CPU 310 executes the image processing D using the multi-thread processing function. For example, the CPU 310 executes a process (S205 to S240 in FIG. 9) of determining a target printing direction for the first partial printing. When the target printing direction is determined for the first partial printing, the CPU 310 then determines the target printing direction for the (n + 1) -th (n is an integer of 1 or more) partial printing (see FIG. 9). S205 to S240), processing for generating partial print data for the n-th partial print (S245 to S275 in FIG. 9), and the processing are executed in parallel using the multi-thread processing function.

以上説明した第5実施例によれば、利用可能なメモリの容量が閾値THm以上である場合には(図10のS345:YES)、注目印刷方向が未決定である時点から、第1の生成処理と第2の生成処理とが開始される画像処理Cが実行される(図10のS360)。すなわち、この場合には、必要なメモリの容量が比較的大きい画像処理が実行される。利用可能なメモリの容量が基準未満である場合には(図10のS345:NO)、注目印刷方向が決定された後に、第1の生成処理と第2の生成処理とのうち、決定済みの注目印刷方向に対応する処理が開始される画像処理Dが実行される(図10のS370)。すなわち、この場合には、必要なメモリの容量が比較的小さな画像処理が実行される。この結果、利用可能なメモリの容量に応じて、適切な生成処理を実行できる。   According to the fifth embodiment described above, when the available memory capacity is equal to or larger than the threshold value THm (S345 in FIG. 10: YES), the first generation is performed from the time when the target print direction is not determined. Image processing C in which the processing and the second generation processing are started is executed (S360 in FIG. 10). That is, in this case, image processing that requires a relatively large memory capacity is executed. If the available memory capacity is less than the reference (S345 in FIG. 10: NO), after the target printing direction is determined, the determined one of the first generation processing and the second generation processing is determined. Image processing D, in which processing corresponding to the target print direction is started, is executed (S370 in FIG. 10). That is, in this case, image processing that requires a relatively small memory capacity is executed. As a result, an appropriate generation process can be executed according to the available memory capacity.

さらに、第5実施例によれば、マルチスレッド処理が可能である場合には(図10のS310:YES)、プリンタ200に未処理の印刷ジョブがあることを条件に、画像処理Cと画像処理Dとのうちのいずれかの処理が実行される(図10のS360、S370)。画像処理Cは、注目印刷方向が未決定である時点から、第1の生成処理と第2の生成処理とをマルチスレッド処理を利用して並列で開始する処理である、と言うことができる。画像処理Dは、次の部分印刷の印刷方向を決定する処理と、第1の生成処理と第2の生成処理とのうちの決定済みの注目印刷方向に対応する処理と、を、マルチスレッド処理を利用して並列で実行する処理である、と言うことができる。すなわち、この場合には、マルチスレッド処理が可能である場合には、マルチスレッド処理が可能でない場合と比較して、処理速度を向上できる画像処理が実行される。そして、マルチスレッド処理が可能でない場合には(図10のS310:NO)、主要なオブジェクトが文字であることを条件に、注目印刷方向が未決定である時点では、第1の生成処理を開始し、第2の生成処理を開始しない画像処理Aが実行される(図10のS350)。すなわち、この場合には、マルチスレッド処理を利用しなくても、注目印刷方向が直前印刷方向の逆方向に決定される場合には、他の画像処理よりも高速で部分印刷データを生成できる画像処理が実行される。この結果、マルチスレッド処理が可能であるか否かに応じて、より適切な画像処理を実行できる。   Further, according to the fifth embodiment, when multi-thread processing is possible (S310: YES in FIG. 10), the image processing C and the image processing are performed on the condition that there is an unprocessed print job in the printer 200. D is executed (S360, S370 in FIG. 10). It can be said that the image processing C is processing in which the first generation processing and the second generation processing are started in parallel using multi-thread processing from the point in time when the target print direction has not been determined. The image processing D includes a process of determining the print direction of the next partial print and a process corresponding to the determined target print direction of the first generation process and the second generation process, which are performed by multi-thread processing. It can be said that the processing is executed in parallel using That is, in this case, when multi-thread processing is possible, image processing that can improve the processing speed is executed as compared with the case where multi-thread processing is not possible. If the multi-thread process is not possible (S310: NO in FIG. 10), the first generation process starts when the target print direction is undecided on condition that the main object is a character. Then, image processing A without starting the second generation processing is executed (S350 in FIG. 10). That is, in this case, even if the multi-thread processing is not used, if the target print direction is determined to be the reverse of the immediately preceding print direction, an image that can generate partial print data at a higher speed than other image processing can be used. The processing is executed. As a result, more appropriate image processing can be executed depending on whether multi-thread processing is possible.

さらに、第5実施例によれば、プリンタ200に未処理の印刷ジョブがある場合には(図10のS320:YES)、画像処理Cと画像処理Dとのうちのいずれかの処理が実行される(図10のS360、S370)。すなわち、この場合には、プリンタ200は、直ちに印刷を開始できる状態ではないので、注目印刷方向が直前印刷方向の逆方向であっても直前印刷方向であっても処理時間に大きな差がなく、安定して部分印刷データを生成できる画像処理が実行される。そして、プリンタ200に未処理の印刷ジョブがない場合には(図10のS320:NO)、画像処理Aが実行される。すなわち、この場合には、プリンタ200は、直ちに印刷を開始できる状態であるので、最も速く部分印刷データを生成できる可能性がある画像処理Aが実行される。画像処理Aは、注目印刷方向が直前印刷方向の逆方向であれば、最も速く部分印刷データを生成できる。この結果、印刷ジョブの有無に応じて、より適切な画像処理を実行できる。   Further, according to the fifth embodiment, when there is an unprocessed print job in the printer 200 (S320: YES in FIG. 10), one of the image processing C and the image processing D is executed. (S360 and S370 in FIG. 10). That is, in this case, since the printer 200 is not in a state where printing can be started immediately, there is no large difference in processing time whether the target printing direction is the opposite direction to the immediately preceding printing direction or the immediately preceding printing direction. Image processing capable of stably generating partial print data is executed. Then, when there is no unprocessed print job in the printer 200 (S320: NO in FIG. 10), the image processing A is executed. That is, in this case, since the printer 200 is in a state where printing can be started immediately, the image processing A that may possibly generate the partial print data at the highest speed is executed. The image processing A can generate the partial print data fastest if the target print direction is opposite to the immediately preceding print direction. As a result, more appropriate image processing can be executed according to the presence or absence of a print job.

さらに、第5実施例によれば、印刷画像OIに対応する画像データが、主要なオブジェクトが描画または写真である画像データであると特定される場合には(図10のS330:NO)、画像処理Cと画像処理Dとのうちのいずれかの処理が実行される(図10のS360、S370)。描画または写真は、上述した色差発生色を含む可能性が、文字よりも高い。このために、この場合には、注目印刷方向が直前印刷方向に決定される可能性が比較的高くなるので、注目印刷方向が直前印刷方向に決定される場合に発生する無駄が、画像処理Aよりも少ない画像処理Cや画像処理Dが実行される。そして、画像データが、主要なオブジェクトが文字である画像データであると特定される場合には(図10のS330:YES)、画像処理Aが実行される。文字は、上述した色差発生色を含む可能性が、描画や写真よりも低い。このために、この場合には、注目印刷方向が直前印刷方向の逆方向に決定される可能性が比較的高くなるので、注目印刷方向が直前印刷方向の逆方向に決定される場合に最速で部分印刷データを生成できる画像処理Aが実行される。この結果、印刷画像OIに対応する画像データの種類に応じて、より適切な画像処理を実行できる。   Further, according to the fifth embodiment, when the image data corresponding to the print image OI is specified as image data in which a main object is a drawing or a photograph (S330 in FIG. 10: NO), the image One of the processing C and the image processing D is executed (S360, S370 in FIG. 10). Drawings or photographs are more likely to contain the color difference generating colors described above than text. For this reason, in this case, the possibility that the target printing direction is determined to be the immediately preceding printing direction is relatively high. Less image processing C and image processing D are performed. Then, when the image data is specified as the image data in which the main object is a character (S330 in FIG. 10: YES), the image processing A is executed. Characters are less likely to include the color difference colors described above than drawings and photographs. For this reason, in this case, the possibility that the target print direction is determined in the opposite direction to the immediately preceding print direction is relatively high. Image processing A capable of generating partial print data is executed. As a result, more appropriate image processing can be executed according to the type of image data corresponding to the print image OI.

F.変形例
(1)上記画像処理A(図5)のS105では、図6(A)に示す順序で注目画素データが取得される。例えば、図5のS130のハーフトーン処理にて、ディザ法が採用される場合には、画像処理AのS105において、図6(B)に示す順序で注目画素データが取得されても良い。この場合には、注目印刷方向の決定に要する時間を短縮し得る。また、図5のS130のハーフトーン処理にて、ディザ法が採用される場合には、図5のS195の処理を省略できる。
F. Modification (1) At S105 of the image processing A (FIG. 5), the target pixel data is obtained in the order shown in FIG. For example, when the dither method is employed in the halftone processing in S130 of FIG. 5, the target pixel data may be acquired in the order shown in FIG. 6B in S105 of the image processing A. In this case, the time required to determine the target printing direction can be reduced. Further, when the dither method is employed in the halftone processing of S130 of FIG. 5, the processing of S195 of FIG. 5 can be omitted.

(2)上記画像処理B、C(図7、図8)のS105B、および、画像処理D(図9)のS205では、図6(B)に示す順序で注目画素データが取得される。これに代えて、これらの画像処理B〜Dにおいて、図6(A)に示す順序で注目画素データが取得されても良い。 (2) At S105B of the image processing B and C (FIGS. 7 and 8) and S205 of the image processing D (FIG. 9), the target pixel data is obtained in the order shown in FIG. 6B. Instead, in these image processings B to D, target pixel data may be obtained in the order shown in FIG.

(3)上記画像処理B(図7)のS158Bの処理は、省略されても良い。この場合には、図7のS160Bでは、この時点までに、図7のS125において色変換処理が実行済みの全ての画素データについて、再度、色変換処理が実行される。 (3) The processing of S158B of the image processing B (FIG. 7) may be omitted. In this case, in S160B in FIG. 7, the color conversion processing is executed again for all the pixel data for which the color conversion processing has been executed in S125 in FIG.

(4)上記画像処理C(図8)では、注目部分画像データの全てについて色変換処理が行われた後、すなわち、S180またはS185の後に、ハーフトーン処理(S186B)と対応するノズルNZの決定(S188B)とが実行される。これに代えて、図8において、S120、S125C、S127Cのそれぞれの後に、1画素ずつ、ハーフトーン処理と対応するノズルNZの決定とが実行されても良い。 (4) In the image processing C (FIG. 8), after the color conversion processing has been performed on all the target partial image data, that is, after S180 or S185, the nozzle NZ corresponding to the halftone processing (S186B) is determined. (S188B) are executed. Alternatively, in FIG. 8, after each of S120, S125C, and S127C, the halftone processing and the determination of the corresponding nozzle NZ may be performed for each pixel.

(5)上記第5実施例の図10のS330にて、印刷画像OIの主要なオブジェクトが文字であるか否かを判断する方法は、様々な方法が用いられ得る。例えば、CPU310は、印刷に用いるべき画像データを解析することによって、印刷画像OIの主要なオブジェクトを特定し、該特定結果に基づいて、印刷画像OIの主要なオブジェクトは文字であるか否かを判断しても良い。CPU310は、さらに、ユーザからの印刷指示によって指定される印刷条件に基づいて推定することによって、主要なオブジェクトは文字であるか否かを判断しても良い。例えば、指定される印刷モードが画質重視モードである場合には、主要なオブジェクトは描画や写真であると判断され、指定される印刷モードが速度重視モードである場合には、主要なオブジェクトは文字であると判断されても良い。また、印刷に用いられる用紙が光沢紙である場合に主要なオブジェクトは描画や写真であると判断され、印刷に用いられる用紙が普通紙である場合に主要なオブジェクトは文字であると判断されても良い。また、ユーザが主要なオブジェクトが文字であるか非文字であるかを、印刷時に入力し、CPU310は、該入力に基づいて主要なオブジェクトは文字であるか否かを判断しても良い。 (5) Various methods can be used to determine whether or not the main object of the print image OI is a character in S330 of FIG. 10 of the fifth embodiment. For example, the CPU 310 specifies a main object of the print image OI by analyzing image data to be used for printing, and determines whether or not the main object of the print image OI is a character based on the specification result. You may decide. The CPU 310 may further determine whether or not the main object is a character by making an estimation based on a printing condition specified by a printing instruction from the user. For example, when the specified print mode is the image quality emphasis mode, the main object is determined to be a drawing or a photograph. When the specified print mode is the speed emphasis mode, the main object is a text or a photo. May be determined. When the paper used for printing is glossy paper, the main object is determined to be a drawing or a photograph, and when the paper used for printing is plain paper, the main object is determined to be text. Is also good. Further, the user may input at the time of printing whether the main object is a character or a non-character, and the CPU 310 may determine whether the main object is a character based on the input.

また、例えば、主要なオブジェクトが文字であるか否かは、部分画像ごとに行われても良い。この場合には、例えば、部分画像ごとに、実行される画像処理が切り替えられても良い。   For example, whether or not the main object is a character may be determined for each partial image. In this case, for example, the image processing to be executed may be switched for each partial image.

(6)上記第5実施例(図10)において、実行すべき画像処理を選択するための判断処理(S310〜S345)は一例であり、これに限られない。例えば、マルチスレッド処理機能を有していない装置が画像処理を実行することが想定されている場合には、S310の判断は省略されても良い。また、S320の判断も省略されても良い。例えば、S310とS320が省略される場合には、例えば、CPU310は、図5のS330の判断を最初に実行し、その後は、図5のフローチャートに示すように判断を行う。 (6) In the fifth embodiment (FIG. 10), the determination processing (S310 to S345) for selecting the image processing to be executed is an example, and is not limited to this. For example, when it is assumed that a device having no multi-thread processing function performs image processing, the determination in S310 may be omitted. Also, the determination in S320 may be omitted. For example, when S310 and S320 are omitted, for example, the CPU 310 first executes the determination of S330 in FIG. 5, and thereafter performs the determination as shown in the flowchart of FIG.

また、図10では、3個の画像処理A、C、Dから実行すべき画像処理が選択されるがこれに限られない。例えば、2個の画像処理A、Cからから実行すべき画像処理が選択されても良い。例えば、プリンタ200に未処理の印刷ジョブがなく、かつ、印刷画像OIの主要なオブジェクトが文字である場合に、画像処理Aが選択され、他の場合に、画像処理Cが選択されても良い。また、図10のS350では、画像処理Aに代えて、図7の画像処理Bが選択されても良い。   In FIG. 10, the image processing to be executed is selected from the three image processings A, C, and D, but is not limited thereto. For example, the image processing to be executed may be selected from the two image processings A and C. For example, when there is no unprocessed print job in the printer 200 and the main object of the print image OI is a character, the image processing A may be selected, and in other cases, the image processing C may be selected. . In S350 of FIG. 10, image processing B of FIG. 7 may be selected instead of image processing A.

(7)図9の画像処理DのS205では、CPU310は、注目判定領域に対応する複数個の画素データのうち、一部の画素データだけを注目画素データとして取得している。これに代えて、CPU310は、注目判定領域に対応する全ての画素データを注目画素として取得しても良い。 (7) In S205 of the image processing D in FIG. 9, the CPU 310 obtains only a part of the pixel data among the plurality of pixel data corresponding to the attention determination area as the attention pixel data. Instead, the CPU 310 may acquire all the pixel data corresponding to the attention determination area as the attention pixel.

また、CPU310は、注目部分画像データを所定のアルゴリズム(例えば、ニアレストネイバー法、バイリニア法)を用いて縮小した縮小部分画像データを生成し、縮小部分画像データから注目画素データを取得しても良い。この場合には、取得すべき画素データの個数を減らすことで注目印刷方向の決定に要する処理時間を短縮することができる。   Further, the CPU 310 generates reduced partial image data obtained by reducing the target partial image data using a predetermined algorithm (for example, the nearest neighbor method or bilinear method), and acquires target pixel data from the reduced partial image data. good. In this case, the processing time required for determining the target printing direction can be reduced by reducing the number of pixel data to be acquired.

(9)上記画像処理A〜Dでは、注目印刷方向を直前印刷方向に決定するための特定条件は、少なくとも1個の判定領域BLの評価値EVが閾値THv以上であることであるが、これに限られない。例えば、CPU310は、注目画素データを取得する度に、該注目画素データ(RGB値)が予め定められた範囲のRGB値を有する色差発生色を示すか否かを判断し、色差発生色を示す場合には、色差発生色画素の個数をカウントアップする。そして、CPU310は、色差発生色画素の個数が所定の閾値に達した時点で、注目印刷方向を直前印刷方向に決定し、色差発生色画素の個数が所定の閾値に達することなく、注目画素データの取得が完了した場合に、注目印刷方向を直前印刷方向の逆方向に決定しても良い。 (9) In the image processings A to D, the specific condition for determining the target print direction to the immediately preceding print direction is that the evaluation value EV of at least one determination area BL is equal to or larger than the threshold value THv. Not limited to For example, every time the CPU 310 acquires the target pixel data, the CPU 310 determines whether the target pixel data (RGB values) indicates a color difference generation color having an RGB value in a predetermined range, and indicates the color difference generation color. In this case, the number of color difference generating color pixels is counted up. Then, when the number of color difference generating color pixels reaches a predetermined threshold value, the CPU 310 determines the target printing direction to be the immediately preceding printing direction, and the number of color difference generating color pixels does not reach the predetermined threshold value. When the acquisition of is completed, the target print direction may be determined to be the reverse direction of the immediately preceding print direction.

また、注目印刷方向を直前印刷方向に決定するか否かは、常に、注目部分画像データに含まれる全ての画素データを用いて判断されても良い。例えば、CPU310は、注目部分画像と、直前の部分印刷で印刷される部分画像と、の両方に跨って、特定色画素を含むオブジェクトが配置されている場合に、注目部分印刷の印刷方向を、直前の部分印刷の印刷方向に決定しても良い。画像内のオブジェクトの配置位置は、例えば、公知のオブジェクト認識処理を用いて特定できる。また、注目部分画像と、直前の部分印刷で印刷される部分画像と、の境界に、ベタ塗りの領域がある場合には、往復間色差が目立ちやすい。このため、該ベタ塗りの領域がある場合に、注目部分印刷の印刷方向を、直前の部分印刷の印刷方向に決定しても良い。これら場合には、例えば、注目印刷方向を決定する処理と、第1の生成処理と、がマルチスレッド処理機能を利用して並列で開始される。そして、画像処理A、Bと同様に、注目印刷方向が直前印刷方向に決定された後に第1の生成処理が中断され、第2の生成処理が開始され、注目印刷方向が直前印刷方向の逆方向に決定される場合に第1の生成処理は完了され、第2の生成処理は開始されない。あるいは、注目印刷方向を決定する処理と、第1の生成処理と、第2の生成処理と、がマルチスレッド処理機能を利用して並列で開始される。そして、画像処理Cと同様に、注目印刷方向が直前印刷方向に決定される場合に第1の生成処理が中断され、第2の生成処理が完了され、注目印刷方向が直前印刷方向の逆方向に決定される場合に第1の生成処理は完了され、第2の生成処理が中断される。   Also, whether or not to determine the target print direction as the immediately preceding print direction may always be determined using all pixel data included in the target partial image data. For example, when an object including a specific color pixel is arranged across both the target partial image and the partial image printed in the previous partial print, the CPU 310 changes the print direction of the target partial print to The printing direction of the immediately preceding partial printing may be determined. The arrangement position of the object in the image can be specified using, for example, a known object recognition process. If there is a solid-colored area at the boundary between the target partial image and the partial image printed by the previous partial printing, the color difference between the reciprocating movements tends to be conspicuous. For this reason, when there is the solid-colored area, the printing direction of the target partial printing may be determined to be the printing direction of the immediately preceding partial printing. In these cases, for example, the process of determining the target print direction and the first generation process are started in parallel using the multi-thread processing function. Then, similarly to the image processes A and B, the first generation process is interrupted after the target print direction is determined to be the immediately preceding print direction, the second generation process is started, and the target print direction is reversed from the immediately preceding print direction. When the direction is determined, the first generation processing is completed, and the second generation processing is not started. Alternatively, the process of determining the target print direction, the first generation process, and the second generation process are started in parallel using the multi-thread processing function. Then, similarly to the image processing C, when the target print direction is determined to be the immediately preceding print direction, the first generation processing is interrupted, the second generation processing is completed, and the target print direction is set to a direction opposite to the immediately preceding print direction. Is determined, the first generation processing is completed, and the second generation processing is interrupted.

(10)印刷ヘッド110の各ノズル列の配置位置は、図2(B)のX方向の上流側から、ノズル列NC、NM、NY、NKの順番でなくてもよく、他の任意の順番が採用されても良い。印刷方向が異なることによる色差が発生する場合であれば、印刷方向に対し対称となるようにノズル列が配列されても良い。例えば、NC、NM、NY、NK、NY、NM、NCの順番で7個のノズル列が配列されても良い。 (10) The arrangement positions of the nozzle rows of the print head 110 need not be in the order of the nozzle rows NC, NM, NY, and NK from the upstream side in the X direction in FIG. May be adopted. If a color difference occurs due to different printing directions, the nozzle rows may be arranged symmetrically with respect to the printing direction. For example, seven nozzle rows may be arranged in the order of NC, NM, NY, NK, NY, NM, and NC.

(11)上記実施例の各画像処理では、1回の部分印刷に対応する部分画像を1個の注目部分画像として処理している。これに代えて、例えば、複数回の部分印刷に対応する部分画像を1個の注目部分画像として処理しても良い。例えば、3回の部分印刷に対応する部分画像を1個の注目部分画像として処理する場合には、例えば、第1の生成処理では、3回の部分印刷のそれぞれの印刷方向が直前の部分印刷の逆方向になるように、プロファイルを使い分けて色変換処理を実行する。すなわち、第1の生成処理では、3回の部分印刷が往路印刷、復路印刷、往路印刷で印刷されるように、あるいは、復路印刷、往路印刷、復路印刷で印刷されるように、3個の第1の部分印刷データが生成される。また、例えば、第2の生成処理では、3回の部分印刷のそれぞれの印刷方向が直前の部分印刷と同じ方向になるように、色変換処理を実行する。すなわち、第2の生成処理では、3回の部分印刷が往路印刷で印刷されるように、あるいは、復路印刷で印刷されるように、3個の第2の部分印刷データが生成される。そして、注目印刷方向が直前印刷方向の逆方向に決定される場合には、3個の第1の部分印刷データを用いて双方向で3回の部分印刷が実行され、注目印刷方向が直前印刷方向に決定される場合には、3個の第2の部分画像データを用いて片方向で3回の部分印刷が実行される。 (11) In each image processing of the above embodiment, a partial image corresponding to one partial print is processed as one target partial image. Instead of this, for example, a partial image corresponding to a plurality of partial printings may be processed as one target partial image. For example, when processing a partial image corresponding to three partial printings as one target partial image, for example, in the first generation processing, the printing direction of each of the three partial printings is the immediately preceding partial printing. The color conversion process is executed by using different profiles so as to be in the opposite direction. That is, in the first generation process, three partial prints are printed in the forward pass, return pass, and forward pass, or three partial prints are printed in the return pass, forward pass, and return pass. First partial print data is generated. Further, for example, in the second generation processing, the color conversion processing is executed such that the printing directions of the three partial printings are the same as the previous partial printing. That is, in the second generation processing, three pieces of second partial print data are generated such that three partial prints are printed in forward printing or in return printing. If the target print direction is determined to be opposite to the immediately preceding print direction, three partial prints are performed bidirectionally using the three first partial print data, and the target print direction is set to the immediately preceding print direction. If it is determined in the direction, three partial prints are performed in one direction using three pieces of second partial image data.

(12)印刷媒体として、用紙Mに代えて、他の媒体、例えば、OHP用のフィルム、CD−ROM、DVD−ROMが採用されても良い。 (12) As the print medium, instead of the paper M, another medium, for example, a film for OHP, a CD-ROM, or a DVD-ROM may be adopted.

(13)上記実施例の印刷機構100では、搬送部140が用紙Mを搬送することによって、印刷ヘッド110に対して用紙Mを搬送方向に相対的に移動させている。これに代えて、固定された用紙Mに対して、印刷ヘッド110を搬送方向と反対方向に移動させることによって、印刷ヘッド110に対して用紙Mを搬送方向に相対的に移動させても良い。 (13) In the printing mechanism 100 of the above embodiment, the transport unit 140 transports the paper M, thereby moving the paper M relative to the print head 110 in the transport direction. Alternatively, the paper M may be moved relative to the print head 110 in the transport direction by moving the print head 110 in a direction opposite to the transport direction with respect to the fixed paper M.

(14)上記各実施例では、画像処理A〜Dを実行する装置は、端末装置300である。これに代えて、プリンタ200のCPU210が画像処理装置として、画像処理A〜Dを実行しても良い。この場合には、画像処理装置として機能するCPU210は、図5、図7、図8のS190や図9のS270において、印刷データと方向情報とを、例えば、不揮発性記憶装置220や揮発性記憶装置230の所定のメモリ領域に出力する。プリンタ200の印刷機構100は、該メモリ領域に出力された印刷データと方向情報とに従って部分印刷を実行する。 (14) In each of the above embodiments, the device that executes the image processing A to D is the terminal device 300. Instead, the CPU 210 of the printer 200 may execute the image processing A to D as an image processing device. In this case, the CPU 210 that functions as an image processing apparatus stores the print data and the direction information in, for example, the nonvolatile storage device 220 or the volatile storage device in S190 of FIGS. 5, 7, and 8 and S270 of FIG. The data is output to a predetermined memory area of the device 230. The printing mechanism 100 of the printer 200 executes partial printing according to the print data and the direction information output to the memory area.

以上の説明から解るように、上記各実施例では、端末装置300が画像処理装置の例であり、プリンタ200が印刷実行部の例である。本変形例では、プリンタ200のCPU210が画像処理装置の例であり、プリンタ200の印刷機構100が印刷実行部の例である。   As understood from the above description, in each of the above embodiments, the terminal device 300 is an example of an image processing device, and the printer 200 is an example of a print execution unit. In this modification, the CPU 210 of the printer 200 is an example of an image processing device, and the printing mechanism 100 of the printer 200 is an example of a print execution unit.

また、画像処理A〜Dを実行する装置は、例えば、プリンタや端末装置から画像データを取得して該画像データを用いて印刷ジョブを生成するサーバであっても良い。このようなサーバは、ネットワークを介して互いに通信可能な複数個の計算機であっても良い。この場合には、ネットワークを介して互いに通信可能な複数個の計算機の全体が、画像処理装置の例である。   The apparatus that executes the image processing A to D may be, for example, a server that obtains image data from a printer or a terminal device and generates a print job using the image data. Such a server may be a plurality of computers that can communicate with each other via a network. In this case, the entirety of the plurality of computers that can communicate with each other via the network is an example of the image processing apparatus.

(15)上記各実施例において、ハードウェアによって実現されていた構成の一部をソフトウェアに置き換えるようにしてもよく、逆に、ソフトウェアによって実現されていた構成の一部あるいは全部をハードウェアに置き換えるようにしてもよい。例えば、図5の画像処理がプリンタ200において実行される場合に、色変換処理やハーフトーン処理は、例えば、プリンタ200のCPU210の指示に従って動作する専用のハードウェア回路(例えば、ASIC)によって実現されてもよい。 (15) In each of the above embodiments, part of the configuration realized by hardware may be replaced with software, and conversely, part or all of the configuration realized by software may be replaced with hardware. You may do so. For example, when the image processing of FIG. 5 is executed in the printer 200, the color conversion processing and the halftone processing are realized by, for example, a dedicated hardware circuit (for example, an ASIC) that operates according to an instruction of the CPU 210 of the printer 200. You may.

以上、実施例、変形例に基づき本発明について説明してきたが、上記した発明の実施の形態は、本発明の理解を容易にするためのものであり、本発明を限定するものではない。本発明は、その趣旨並びに特許請求の範囲を逸脱することなく、変更、改良され得ると共に、本発明にはその等価物が含まれる。   As described above, the present invention has been described based on the examples and the modified examples. However, the above-described embodiments are for facilitating understanding of the present invention, and do not limit the present invention. The present invention can be modified and improved without departing from the spirit and scope of the claims, and the present invention includes equivalents thereof.

100…印刷機構、110…印刷ヘッド、111…ノズル形成面、120…ヘッド駆動部、130…主走査部、133…キャリッジ、134…摺動軸、140…搬送部、141…下流ローラ対、142…上流ローラ対、145…用紙台、200…プリンタ、210…CPU、220…不揮発性記憶装置、230…揮発性記憶装置、231…バッファ領域、260…操作部、270…表示部、280…通信部、290…印刷実行部、300…端末装置、310…CPU、320…不揮発性記憶装置、330…揮発性記憶装置、331…バッファ領域、360…操作部、370…表示部、380…通信部、1000…印刷システム、PF1…往路用プロファイル、PF2…復路用プロファイル、PG1…コンピュータプログラム、PG2…コンピュータプログラム     Reference numeral 100: printing mechanism, 110: print head, 111: nozzle forming surface, 120: head driving unit, 130: main scanning unit, 133: carriage, 134: sliding axis, 140: transport unit, 141: downstream roller pair, 142 .., Upstream roller pair, 145... Paper stand, 200... Printer, 210... CPU, 220... Nonvolatile storage device, 230... Volatile storage device, 231. Unit, 290 print execution unit, 300 terminal device, 310 CPU, 320 nonvolatile storage device, 330 volatile storage device, 331 buffer area, 360 operation unit, 370 display unit, 380 communication unit , 1000: printing system, PF1: outbound profile, PF2: return profile, PG1: computer program, PG2: compilation Over data program

Claims (9)

第1種のインクを吐出する第1種のノズルと、前記第1種のノズルとは主走査方向の位置が異なり、第2種のインクを吐出する第2種のノズルと、を有する印刷ヘッドと、印刷媒体に対して前記主走査方向に沿って前記印刷ヘッドを移動させる主走査を実行する主走査部と、前記印刷ヘッドに対して前記主走査方向と交差する副走査方向に沿って前記印刷媒体を移動させる副走査を実行する副走査部と、を備える印刷実行部であって、前記主走査を行いつつ前記印刷ヘッドによって前記印刷媒体にドットを形成する部分印刷と、前記副走査と、を複数回実行することで印刷を行う、前記印刷実行部のための画像処理装置であって、
前記主走査方向に沿う往路方向での前記部分印刷のための往路用の色変換プロファイルと、前記主走査方向に沿う復路方向での前記部分印刷のための復路用の色変換プロファイルと、が格納された格納部であって、前記往路用の色変換プロファイルと前記復路用の色変換プロファイルとは、第1種の色値を、前記第1種のインクと前記第2種のインクを含む複数種のインクに対応する成分値を含む第2種の色値に変換するためのプロファイルであり、特定の前記第1種の色値を前記往路用の色変換プロファイルを用いて変換して得られる前記第2種の色値に基づいて前記往路方向での前記部分印刷にて印刷される画像の色と、前記特定の第1種の色値を前記復路用の色変換プロファイルを用いて変換して得られる前記第2種の色値に基づいて前記復路方向での前記部分印刷にて印刷される画像の色と、が近づくように調整されている、前記格納部と、
処理対象の前記部分印刷で印刷される注目部分画像に対応する注目部分画像データに対して第1の色変換処理を含む第1の生成処理を実行して第1の部分印刷データを生成する第1の生成部であって、前記第1の色変換処理は、前記往路用の色変換プロファイルと前記復路用の色変換プロファイルとのうち、直前の前記部分印刷の印刷方向とは逆方向である第1方向に対応するプロファイルを用いて実行される、前記第1の生成部と、
前記注目部分画像データに対して第2の色変換処理を含む第2の生成処理を実行して第2の部分印刷データを生成する第2の生成部であって、前記第2の色変換処理は、前記往路用の色変換プロファイルと前記復路用の色変換プロファイルとのうち、直前の前記部分印刷の印刷方向である第2方向に対応するプロファイルを用いて実行される、前記第2の生成部と、
前記注目部分画像データを用いて、前記処理対象の部分印刷の印刷方向である注目印刷方向を、前記往路方向と前記復路方向とのうちのいずれかに決定する印刷方向決定部であって、前記第1の部分印刷データを用いて印刷される前記注目部分画像と前記第2の部分印刷データを用いて印刷される前記注目部分画像との間で生じる色の相違が基準未満であると判断される場合に、前記注目印刷方向を前記第1方向に決定し、前記色の相違が前記基準以上であると判断される場合に、前記注目印刷方向を前記第2方向に決定する、前記印刷方向決定部と、
前記注目印刷方向が前記第1方向に決定される場合に、前記第1方向で前記処理対象の部分印刷を行わせるために前記第1の部分印刷データを前記印刷実行部に出力し、前記注目印刷方向が前記第2方向に決定される場合に、前記第1方向で前記処理対象の部分印刷を行わせるために前記第2の部分印刷データを前記印刷実行部に出力する出力部と、
を備える、画像処理装置。
A print head having a first type of nozzle that discharges a first type of ink and a second type of nozzle that discharges a second type of ink at a position different from the first type of nozzle in the main scanning direction. A main scanning unit that performs a main scan that moves the print head along the main scanning direction with respect to a print medium, and the sub scanning direction that intersects the main scanning direction with respect to the print head. A sub-scanning unit that performs a sub-scan to move a print medium, and a print execution unit that performs partial printing that forms dots on the print medium by the print head while performing the main scan; and Performing printing by executing a plurality of times, an image processing apparatus for the print execution unit,
A color conversion profile for the forward path for the partial printing in the forward direction along the main scanning direction and a color conversion profile for the backward path for the partial printing in the backward direction along the main scanning direction are stored. In the storage unit, wherein the color conversion profile for the forward path and the color conversion profile for the return path include a plurality of colors including a first type of color value and the first type of ink and the second type of ink. A profile for converting into a second type of color value including a component value corresponding to the type of ink, and is obtained by converting the specific first type of color value using the color conversion profile for the outward path. The color of the image printed in the partial printing in the forward direction based on the second type color value and the specific first type color value are converted using the color conversion profile for the return path. Based on the second type of color value obtained The color of the image to be printed by the partial printing of the serial in the backward direction are adjusted such approaches, and the storage unit,
A first generating process including a first color conversion process is performed on target partial image data corresponding to a target partial image printed by the partial printing to be processed to generate first partial print data. 1, wherein the first color conversion process is performed in a direction opposite to a printing direction of the preceding partial printing, of the color conversion profile for the forward path and the color conversion profile for the return path. The first generation unit, which is executed using a profile corresponding to a first direction;
A second generation unit that executes a second generation process including a second color conversion process on the target partial image data to generate second partial print data, wherein the second color conversion process is performed. Executing the second generation using the profile corresponding to the second direction, which is the printing direction of the previous partial printing, of the color conversion profile for the forward pass and the color conversion profile for the return pass. Department and
A print direction determining unit that determines the target print direction, which is the print direction of the partial print to be processed, using the target partial image data, to one of the forward direction and the return direction; It is determined that a difference in color between the target partial image printed using the first partial print data and the target partial image printed using the second partial print data is less than a reference. The printing direction is determined to be the first direction, and if it is determined that the color difference is greater than or equal to the reference, the printing direction is determined to be the second direction. A decision unit,
When the target print direction is determined to be the first direction, the first partial print data is output to the print execution unit in order to perform the partial print of the processing target in the first direction, and An output unit configured to output the second partial print data to the print execution unit to cause the partial print to be performed in the first direction when a print direction is determined to be the second direction;
An image processing apparatus comprising:
請求項1に記載の画像処理装置であって、
前記第1の生成部は、前記注目印刷方向が未決定である時点から前記第1の生成処理を開始し、
前記第2の生成部は、前記注目印刷方向が未決定である時点から前記第2の生成処理を開始する、画像処理装置。
The image processing device according to claim 1,
The first generation unit starts the first generation process from a point in time when the target print direction is undetermined,
The image processing apparatus, wherein the second generation unit starts the second generation process from a point in time when the target print direction is not determined.
請求項2に記載の画像処理装置であって、
前記第1の生成部は、
前記注目印刷方向が前記第2方向に決定される時点で前記第1の生成処理を中断し、
前記注目印刷方向が前記第1方向に決定される場合に前記第1の生成処理を完了し、
前記第2の生成部は、
前記注目印刷方向が前記第1方向に決定される時点で前記第2の生成処理を中断し、
前記注目印刷方向が前記第2方向に決定される場合に前記第2の生成処理を完了する、画像処理装置。
The image processing device according to claim 2,
The first generator includes:
Interrupting the first generation processing at the time when the target printing direction is determined to be the second direction;
Completing the first generation processing when the target print direction is determined to be the first direction;
The second generation unit includes:
Interrupting the second generation processing at the time when the target printing direction is determined to be the first direction;
An image processing apparatus that completes the second generation processing when the target printing direction is determined to be the second direction.
請求項3に記載の画像処理装置であって、
前記印刷方向決定部は、
前記注目部分画像に、複数個の判定領域を設定し、
前記注目部分画像データのうち、前記判定領域に対応する領域データを用いて、前記判定領域が特定条件を満たすか否かを判断し、
少なくとも1個の前記判定領域が前記特定条件を満たす場合に、前記注目印刷方向を前記第1方向と前記第2方向のとうちの特定の方向に決定する、画像処理装置。
The image processing apparatus according to claim 3, wherein
The printing direction determination unit,
A plurality of determination areas are set in the noted partial image,
Of the noted partial image data, using area data corresponding to the determination area, determine whether the determination area satisfies a specific condition,
An image processing apparatus, wherein when the at least one determination area satisfies the specific condition, the target print direction is determined to be a specific one of the first direction and the second direction.
請求項1〜4のいずれかに記載の画像処理装置であって、さらに、
前記第1の生成処理および前記第2の生成処理のために利用可能なメモリの容量を取得する容量取得部を備え、
前記利用可能なメモリの容量が基準以上である場合には、前記注目印刷方向が未決定である時点から、前記第1の生成処理と前記第2の生成処理とを開始する第1処理が実行され、
前記利用可能なメモリの容量が基準未満である場合には、前記注目印刷方向が決定された後に、前記第1の生成処理と前記第2の生成処理とのうち、決定済みの前記注目印刷方向に対応する処理を開始する第2処理が実行される、画像処理装置。
The image processing apparatus according to claim 1, further comprising:
A capacity acquisition unit that acquires a capacity of a memory available for the first generation processing and the second generation processing;
When the available memory capacity is equal to or larger than a reference, a first process for starting the first generation process and the second generation process is executed from a point in time when the target print direction is not determined. And
When the available memory capacity is less than a reference, after the target printing direction is determined, the determined target printing direction is selected from the first generation processing and the second generation processing. An image processing apparatus in which a second process for starting a process corresponding to the above is performed.
請求項1〜5のいずれかに記載の画像処理装置であって、
マルチスレッド処理が可能である場合には、前記注目印刷方向が未決定である時点から、前記第1の生成処理と前記第2の生成処理とを前記マルチスレッド処理を利用して並列で開始する第1処理と、前記注目印刷方向を決定した後に前記第1の生成処理と前記第2の生成処理とのうちの前記注目印刷方向に対応する処理を開始する第2処理と、のうちのいずれかの処理が実行され、
前記マルチスレッド処理が可能でない場合には、前記注目印刷方向が未決定である時点では、前記第1の生成処理を開始し、前記第2の生成処理を開始しない第3処理が実行され、
前記第2処理は、次の前記部分印刷の印刷方向を決定する処理と、前記第1の生成処理と前記第2の生成処理とのうちの決定済みの前記注目印刷方向に対応する処理と、を前記マルチスレッド処理を利用して並列で開始する、画像処理装置。
The image processing apparatus according to claim 1,
If multi-thread processing is possible, the first generation processing and the second generation processing are started in parallel using the multi-thread processing from the point in time when the target print direction has not been determined. One of a first process and a second process of starting the process corresponding to the target print direction of the first generation process and the second generation process after determining the target print direction. Is performed,
When the multi-thread process is not possible, at the time when the target print direction is undecided, the first generation process is started, and the third process is performed without starting the second generation process,
The second process is a process of determining a print direction of the next partial print, a process corresponding to the determined target print direction of the first generation process and the second generation process, The image processing apparatus starts in parallel using the multi-thread processing.
請求項1〜6のいずれかに記載の画像処理装置であって、さらに、
前記印刷実行部で実行されていない部分印刷のための生成済みの部分印刷データの有無を判断する判断部を備え、
前記生成済みの部分印刷データがある場合には、前記注目印刷方向が未決定である時点から前記第1の生成処理と前記第2の生成処理とを開始する第1処理と、前記注目印刷方向を決定した後に前記第1の生成処理と前記第2の生成処理とのうちの前記注目印刷方向に対応する処理を開始する第2処理と、のうちのいずれかの処理が実行され、
前記生成済みの部分印刷データがない場合には、前記注目印刷方向が未決定である時点では前記第1の生成処理を開始し前記第2の生成処理を開始しない第3処理が実行される、画像処理装置。
The image processing device according to claim 1, further comprising:
The print execution unit includes a determination unit that determines the presence or absence of generated partial print data for partial printing that has not been performed,
When there is the generated partial print data, a first process for starting the first generation process and the second generation process from a point in time when the target print direction has not been determined; , A second process of starting the process corresponding to the target printing direction of the first generation process and the second generation process after the determination is performed, and
In a case where the generated partial print data does not exist, a third process in which the first generation process is started and the second generation process is not started at the time when the target print direction is undetermined, is executed. Image processing device.
請求項1〜7のいずれかに記載の画像処理装置であって、さらに、
前記注目部分画像データを含み、印刷すべき画像に対応する画像データの種類を特定する特定部を備え、
前記画像データが、主要なオブジェクトが描画または写真である第1種のデータであると特定される場合には、前記注目印刷方向が未決定である時点から前記第1の生成処理と前記第2の生成処理とを開始する第1処理と、前記注目印刷方向を決定した後に前記第1の生成処理と前記第2の生成処理とのうちの前記注目印刷方向に対応する処理を開始する第2処理と、のうちのいずれかの処理が実行され、
前記画像データが、主要なオブジェクトが文字である第2種のデータであると特定される場合には、前記注目印刷方向が未決定である時点では前記第1の生成処理を開始し前記第2の生成処理を開始しない第3処理が実行される、画像処理装置。
The image processing apparatus according to claim 1, further comprising:
Including the noted partial image data, comprising a specification unit that specifies the type of image data corresponding to the image to be printed,
When the image data is specified as the first type of data in which a main object is a drawing or a photograph, the first generation processing and the second generation processing are performed from a point in time when the target print direction is not determined. A second process that starts the process corresponding to the target printing direction of the first generation process and the second generation process after determining the target printing direction. Processing, and any one of the processing is executed,
When the image data is specified as the second type of data in which the main object is a character, the first generation processing is started at the time when the target print direction is undecided, and the second generation processing is started. An image processing apparatus in which a third process that does not start the generation process of the image is executed.
第1種のインクを吐出する第1種のノズルと、前記第1種のノズルとは主走査方向の位置が異なり、第2種のインクを吐出する第2種のノズルと、を有する印刷ヘッドと、印刷媒体に対して前記主走査方向に沿って前記印刷ヘッドを移動させる主走査を実行する主走査部と、前記印刷ヘッドに対して前記主走査方向と交差する副走査方向に沿って前記印刷媒体を移動させる副走査を実行する副走査部と、を備える印刷実行部であって、前記主走査を行いつつ前記印刷ヘッドによって前記印刷媒体にドットを形成する部分印刷と、前記副走査と、を複数回実行することで印刷を行う、前記印刷実行部のためのコンピュータプログラムであって、
前記主走査方向に沿う往路方向での前記部分印刷のための往路用の色変換プロファイルと、前記主走査方向に沿う復路方向での前記部分印刷のための復路用の色変換プロファイルと、が格納された格納部であって、前記往路用の色変換プロファイルと前記復路用の色変換プロファイルとは、第1種の色値を、前記第1種のインクと前記第2種のインクを含む複数種のインクに対応する成分値を含む第2種の色値に変換するためのプロファイルであり、特定の前記第1種の色値を前記往路用の色変換プロファイルを用いて変換して得られる前記第2種の色値に基づいて前記往路方向での前記部分印刷にて印刷される画像の色と、前記特定の第1種の色値を前記復路用の色変換プロファイルを用いて変換して得られる前記第2種の色値に基づいて前記復路方向での前記部分印刷にて印刷される画像の色と、が近づくように調整されている、前記格納部と、
処理対象の前記部分印刷で印刷される注目部分画像に対応する注目部分画像データに対して第1の色変換処理を含む第1の生成処理を実行して第1の部分印刷データを生成する第1の生成部であって、前記第1の色変換処理は、前記往路用の色変換プロファイルと前記復路用の色変換プロファイルとのうち、直前の前記部分印刷の印刷方向とは逆方向である第1方向に対応するプロファイルを用いて実行される、前記第1の生成部と、
前記注目部分画像データに対して第2の色変換処理を含む第2の生成処理を実行して第2の部分印刷データを生成する第2の生成部であって、前記第2の色変換処理は、前記往路用の色変換プロファイルと前記復路用の色変換プロファイルとのうち、直前の前記部分印刷の印刷方向である第2方向に対応するプロファイルを用いて実行される、前記第2の生成部と、
前記注目部分画像データを用いて、前記処理対象の部分印刷の印刷方向である注目印刷方向を、前記往路方向と前記復路方向とのうちのいずれかに決定する印刷方向決定部であって、前記第1の部分印刷データを用いて印刷される前記注目部分画像と前記第2の部分印刷データを用いて印刷される前記注目部分画像との間で生じる色の相違が基準未満であると判断される場合に、前記注目印刷方向を前記第1方向に決定し、前記色の相違が前記基準以上であると判断される場合に、前記注目印刷方向を前記第2方向に決定する、前記印刷方向決定部と、
前記注目印刷方向が前記第1方向に決定される場合に、前記第1方向で前記処理対象の部分印刷を行わせるために前記第1の部分印刷データを前記印刷実行部に出力し、前記注目印刷方向が前記第2方向に決定される場合に、前記第1方向で前記処理対象の部分印刷を行わせるために前記第2の部分印刷データを前記印刷実行部に出力する出力部と、
をコンピュータに実現させる、コンピュータプログラム。

A print head having a first type of nozzle that discharges a first type of ink and a second type of nozzle that discharges a second type of ink at a position different from the first type of nozzle in the main scanning direction. A main scanning unit that performs a main scan that moves the print head along the main scanning direction with respect to a print medium, and the sub scanning direction that intersects the main scanning direction with respect to the print head. A sub-scanning unit that performs a sub-scan to move a print medium, and a print execution unit that performs partial printing that forms dots on the print medium by the print head while performing the main scan; and Performing printing by executing a plurality of times, a computer program for the print execution unit,
A color conversion profile for the forward path for the partial printing in the forward direction along the main scanning direction and a color conversion profile for the backward path for the partial printing in the backward direction along the main scanning direction are stored. In the storage unit, wherein the color conversion profile for the forward path and the color conversion profile for the return path include a plurality of colors including a first type of color value and the first type of ink and the second type of ink. A profile for converting into a second type of color value including a component value corresponding to the type of ink, and is obtained by converting the specific first type of color value using the color conversion profile for the outward path. The color of the image printed in the partial printing in the forward direction based on the second type color value and the specific first type color value are converted using the color conversion profile for the return path. Based on the second type of color value obtained The color of the image to be printed by the partial printing of the serial in the backward direction are adjusted such approaches, and the storage unit,
A first generating process including a first color conversion process is performed on target partial image data corresponding to a target partial image printed by the partial printing to be processed to generate first partial print data. 1, wherein the first color conversion process is performed in a direction opposite to a printing direction of the preceding partial printing, of the color conversion profile for the forward path and the color conversion profile for the return path. The first generation unit, which is executed using a profile corresponding to a first direction;
A second generation unit that executes a second generation process including a second color conversion process on the target partial image data to generate second partial print data, wherein the second color conversion process is performed. Is executed using a profile corresponding to a second direction, which is a printing direction of the preceding partial printing, out of the color conversion profile for the forward pass and the color conversion profile for the return pass. Department and
A print direction determining unit that determines the target print direction, which is the print direction of the partial print to be processed, using the target partial image data, to one of the forward direction and the return direction; It is determined that a difference in color between the target partial image printed using the first partial print data and the target partial image printed using the second partial print data is less than a reference. The printing direction is determined to be the first direction, and if it is determined that the color difference is greater than or equal to the reference, the printing direction is determined to be the second direction. A decision unit,
When the target print direction is determined to be the first direction, the first partial print data is output to the print execution unit in order to perform the partial print of the processing target in the first direction, and An output unit configured to output the second partial print data to the print execution unit to cause the partial print to be performed in the first direction when a print direction is determined to be the second direction;
A computer program that causes a computer to realize

JP2018147988A 2018-08-06 2018-08-06 Image processing equipment and computer programs Active JP7070834B2 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP2018147988A JP7070834B2 (en) 2018-08-06 2018-08-06 Image processing equipment and computer programs
US16/525,990 US10685267B2 (en) 2018-08-06 2019-07-30 Image processing apparatus converting target partial image data to partial print data using first profile or second profile
US16/887,718 US11010648B2 (en) 2018-08-06 2020-05-29 Image processing apparatus converting target partial image data to partial print data using first profile or second profile

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2018147988A JP7070834B2 (en) 2018-08-06 2018-08-06 Image processing equipment and computer programs

Publications (2)

Publication Number Publication Date
JP2020023074A true JP2020023074A (en) 2020-02-13
JP7070834B2 JP7070834B2 (en) 2022-05-18

Family

ID=69618059

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018147988A Active JP7070834B2 (en) 2018-08-06 2018-08-06 Image processing equipment and computer programs

Country Status (1)

Country Link
JP (1) JP7070834B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11416723B2 (en) 2019-03-28 2022-08-16 Brother Kogyo Kabushiki Kaisha Image processing apparatus, and non-transitory computer-readable recording medium therefor

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050195232A1 (en) * 2004-03-08 2005-09-08 Yifeng Wu Selecting modes for printing
JP2006110795A (en) * 2004-10-13 2006-04-27 Canon Inc Image forming apparatus and its control method
JP2006159702A (en) * 2004-12-08 2006-06-22 Canon Inc Image processor and record control method
JP2006168053A (en) * 2004-12-14 2006-06-29 Canon Inc Printer and its control method
JP2017039205A (en) * 2015-08-17 2017-02-23 ブラザー工業株式会社 Image processing device and computer program
JP2017144656A (en) * 2016-02-18 2017-08-24 キヤノン株式会社 Printing device and printing method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050195232A1 (en) * 2004-03-08 2005-09-08 Yifeng Wu Selecting modes for printing
JP2006110795A (en) * 2004-10-13 2006-04-27 Canon Inc Image forming apparatus and its control method
JP2006159702A (en) * 2004-12-08 2006-06-22 Canon Inc Image processor and record control method
JP2006168053A (en) * 2004-12-14 2006-06-29 Canon Inc Printer and its control method
JP2017039205A (en) * 2015-08-17 2017-02-23 ブラザー工業株式会社 Image processing device and computer program
JP2017144656A (en) * 2016-02-18 2017-08-24 キヤノン株式会社 Printing device and printing method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11416723B2 (en) 2019-03-28 2022-08-16 Brother Kogyo Kabushiki Kaisha Image processing apparatus, and non-transitory computer-readable recording medium therefor

Also Published As

Publication number Publication date
JP7070834B2 (en) 2022-05-18

Similar Documents

Publication Publication Date Title
JP6424619B2 (en) Print data generation apparatus and method for generating color conversion profile
JP2017105024A (en) Control device and computer program
US11010648B2 (en) Image processing apparatus converting target partial image data to partial print data using first profile or second profile
US11479051B2 (en) Image processing apparatus controlling printing according to unidirectional printing method or bidirectional printing method
JP7070834B2 (en) Image processing equipment and computer programs
JP7181501B2 (en) Image processing device and computer program
JP7004171B2 (en) Image processing equipment and computer programs
JP6601225B2 (en) Control device and computer program
JP7343832B2 (en) Control device, computer program, and method for controlling printing device
JP2019177512A (en) Control device and computer program
JP7128444B2 (en) Image processing device and computer program
JP7227556B2 (en) Image processing device and computer program
JP2022038519A (en) Image processing apparatus, printer, printing system and image processing method
JP6810895B2 (en) Image forming device
JP7137127B2 (en) Image processing device and computer program
JP2021053895A (en) Control device, computer program and method
JP6834559B2 (en) Image processing program and image processing equipment
JP7343831B2 (en) Control device and computer program
JP2020157586A (en) Image processor, and computer program
US11260671B2 (en) Printer, computer-readable medium, and method for suppressing reduction in printing speed and deterioration of image quality
JP2020044679A (en) Image processing apparatus and computer program
JP7343830B2 (en) Control device and computer program
JP7031763B2 (en) Image processing program and image processing equipment
JP7413889B2 (en) Image processing method and image processing device
JP2022032075A (en) Image processing device and computer program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20210319

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20220106

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20220216

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20220323

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: 20220406

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20220419

R150 Certificate of patent or registration of utility model

Ref document number: 7070834

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150