JP2021154683A - Specifying method of attribute of ink set, specifying device of attribute of ink set and computer program - Google Patents

Specifying method of attribute of ink set, specifying device of attribute of ink set and computer program Download PDF

Info

Publication number
JP2021154683A
JP2021154683A JP2020059770A JP2020059770A JP2021154683A JP 2021154683 A JP2021154683 A JP 2021154683A JP 2020059770 A JP2020059770 A JP 2020059770A JP 2020059770 A JP2020059770 A JP 2020059770A JP 2021154683 A JP2021154683 A JP 2021154683A
Authority
JP
Japan
Prior art keywords
ink
image
color
nozzle
image data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2020059770A
Other languages
Japanese (ja)
Inventor
雅敏 平野
Masatoshi Hirano
雅敏 平野
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 JP2020059770A priority Critical patent/JP2021154683A/en
Publication of JP2021154683A publication Critical patent/JP2021154683A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Ink Jet (AREA)

Abstract

To appropriately specify an attribute of an ink set used in a printer.SOLUTION: A specifying method comprises the steps of: printing a first image which includes a first portion that has dots of ink in the first color and does not have dots of ink in the second color, and a second portion that has dots of ink in the second color and does not have dots of ink in the first color; acquiring first image data indicating the printed first image by using an image sensor; detecting a malfunction of a nozzle by using the first image data; acquiring second image data indicating a second image printed by using the printer by using a detection result of the malfunction; and specifying the attribute of the ink set including ink in the first color and ink in the second color by using the acquired second image data. The second image is the image including dots of ink in the first color and dots of ink in the second color. The acquired second image data indicates the second image printed by using the nozzle in which the malfunction does not occur in the first nozzle group and the nozzle in which the malfunction does not occur in the second nozzle group.SELECTED DRAWING: Figure 5

Description

本明細書は、印刷装置による印刷に用いられる印刷材の種類を特定するための技術に関する。 The present specification relates to a technique for specifying a type of printing material used for printing by a printing apparatus.

インクやトナーなどの印刷材を用いて画像を印刷する印刷装置において、使用される印刷材の種類を特定したい場合がある。例えば、特許文献1に記載された画像形成装置は、トナーのカートリッジに搭載されたメモリに格納されているデータを読み出し、読み出したデータを用いてトナーが純正品であるか非純正品であるかを特定している。 In a printing apparatus that prints an image using a printing material such as ink or toner, it may be desired to specify the type of printing material used. For example, the image forming apparatus described in Patent Document 1 reads data stored in a memory mounted on a toner cartridge, and uses the read data to determine whether the toner is a genuine product or a non-genuine product. Is specified.

特開2009−300694号公報Japanese Unexamined Patent Publication No. 2009-300694

しかしながら、上記技術では、メモリがない場合やカートリッジ内のトナーの詰め替えが行われている場合などには、トナーの種類を適切に特定することができない可能性があった。このような課題は、トナーの種類を特定する場合に限らずに、例えば、第1色のインクと第2色のインクとを含むインクセットを用いる印刷装置において、該インクセットの属性(例えば、非純正品のインクを含むか否か)を特定する場合にも同様であった。 However, with the above technique, there is a possibility that the type of toner cannot be properly specified when there is no memory or when the toner in the cartridge is refilled. Such a problem is not limited to specifying the type of toner, for example, in a printing apparatus using an ink set containing a first color ink and a second color ink, the attributes of the ink set (for example, The same was true when specifying (whether or not non-genuine ink was included).

本明細書は、印刷装置にて用いられるインクセットの属性を適切に特定することができる新たな技術を開示する。 The present specification discloses a new technique capable of appropriately identifying the attributes of an ink set used in a printing apparatus.

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

[適用例1]第1色のインクを吐出する第1ノズル群と前記第1色とは異なる第2色のインクを吐出する第2ノズル群とを有する印刷ヘッドを備える印刷装置を用いて第1画像を印刷する印刷工程であって、前記第1画像は、前記第1色のインクのドットを含み、前記第2色のインクのドットを含まない第1部分と、前記第2色のインクのドットを含み、前記第1色のインクのドットを含まない第2部分と、を含む、前記印刷工程と、
イメージセンサを用いて、印刷された前記第1画像を示す第1画像データを取得する第1画像取得工程と、前記第1画像データを用いて、前記第1ノズル群のノズルの不具合と前記第2ノズル群のノズルの不具合とを検出する検出工程と、前記不具合の検出結果を用いて、前記印刷装置を用いて印刷された第2画像を示す第2画像データを取得する第2画像取得工程であって、前記第2画像は、前記第1色のインクのドットと前記第2色のインクのドットとを含む画像であり、前記第2画像データは、イメージセンサを用いて取得され、取得される前記第2画像データは、前記第1ノズル群の前記不具合が生じていないノズルと前記第2ノズル群の前記不具合が生じていないノズルとを用いて印刷された前記第2画像を示す、前記第2画像取得工程と、取得された前記第2画像データを用いて、前記第1色のインクと前記第2色のインクとを含むインクセットの属性を特定する特定工程と、を備える、インクセットの属性の特定方法。
[Application Example 1] A printing apparatus including a printing head having a first nozzle group for ejecting ink of the first color and a second nozzle group for ejecting ink of a second color different from the first color is used. In the printing process of printing one image, the first image includes a first portion containing dots of the first color ink and not including dots of the second color ink, and the second color ink. The printing process and the printing process including the second portion including the dots of the first color ink but not the dots of the first color ink.
A first image acquisition step of acquiring a first image data showing the printed first image using an image sensor, and a defect of the nozzle of the first nozzle group and the first using the first image data. A detection step for detecting a defect in a nozzle of a group of two nozzles, and a second image acquisition step for acquiring second image data indicating a second image printed by the printing apparatus using the detection result of the defect. The second image is an image including dots of the ink of the first color and dots of the ink of the second color, and the second image data is acquired and acquired by using an image sensor. The second image data to be printed shows the second image printed by using the non-defect-free nozzle of the first nozzle group and the non-defect-free nozzle of the second nozzle group. The second image acquisition step includes a specific step of specifying the attributes of an ink set including the first color ink and the second color ink by using the acquired second image data. How to identify the attributes of an ink set.

上記構成によれば、第1画像データを用いて、第1ノズル群と第2ノズル群とのノズルの不具合を検出するので、これらのノズルの不具合を精度良く検出できる。これらのノズルの不具合の検出結果を用いて、印刷された第2画像を示す第2画像データを取得するので、不具合が生じていないノズルを用いて印刷された第2画像を示す第2画像データを適切に取得することができる。そして、該第2画像データを用いて、インクセットの属性を特定するので、例えば、複数色のインクのドットで表現される色に差異が現れるようなインクセットの属性を精度良く特定することができる。したがって、上記構成によれば、印刷装置にて用いられるインクセットの属性を適切に特定することができる。 According to the above configuration, since the defects of the nozzles of the first nozzle group and the second nozzle group are detected by using the first image data, the defects of these nozzles can be detected with high accuracy. Since the second image data showing the printed second image is acquired by using the detection result of the defect of these nozzles, the second image data showing the second image printed using the nozzle without the defect has occurred. Can be obtained properly. Then, since the attributes of the ink set are specified using the second image data, for example, it is possible to accurately specify the attributes of the ink set such that differences appear in the colors represented by the dots of the inks of a plurality of colors. can. Therefore, according to the above configuration, the attributes of the ink set used in the printing apparatus can be appropriately specified.

なお、本明細書に開示された技術は、種々の形態で実現可能であり、例えば、インクセットの属性を特定する特定装置、これらの方法、および、装置の機能を実現するためのコンピュータプログラム、そのコンピュータプログラムを記録した記録媒体、等の形態で実現することができる。 The techniques disclosed in the present specification can be realized in various forms, for example, a specific device for specifying the attributes of an ink set, these methods, and a computer program for realizing the function of the device. It can be realized in the form of a recording medium or the like on which the computer program is recorded.

本実施例のインク特定システム1000の構成を示すブロック図。The block diagram which shows the structure of the ink identification system 1000 of this Example. 印刷機構100の概略構成を示す図。The figure which shows the schematic structure of the printing mechanism 100. 機械学習モデルDNの構成を示すブロック図。The block diagram which shows the structure of the machine learning model DN. インクセットの属性を特定する工程を示すフローチャート。The flowchart which shows the process of specifying the attribute of an ink set. 第1実施例のテスト画像TIの説明図。Explanatory drawing of the test image TI of 1st Example. ノズル詰まりの検出処理のフローチャート。Flow chart of nozzle clogging detection processing. ノズル詰まりの検出処理の説明図。Explanatory drawing of nozzle clogging detection processing. 入力画像データの取得処理のフローチャート。Flowchart of input image data acquisition process. 機械学習モデルDNのトレーニングの工程を示すフローチャート。A flowchart showing a training process of a machine learning model DN. 変形例のテスト画像TIbの一例を示す図。The figure which shows an example of the test image TIb of a modification.

A.実施例
A−1.インク特定システム1000の構成
次に、実施の形態を実施例に基づき説明する。図1は、本実施例のインク特定システム1000の構成を示すブロック図である。インク特定システム1000は、データ処理装置200と、スキャナ500と、を備えている。
A. Example A-1. Configuration of Ink Identification System 1000 Next, an embodiment will be described based on an embodiment. FIG. 1 is a block diagram showing a configuration of the ink specifying system 1000 of this embodiment. The ink identification system 1000 includes a data processing device 200 and a scanner 500.

データ処理装置200は、パーソナルコンピュータやスマートフォンなどの計算機である。データ処理装置200は、データ処理装置200のコントローラとしてのCPU210と、RAMなどの揮発性記憶装置220と、ハードディスクドライブやフラッシュメモリなどの不揮発性記憶装置230と、操作部240と、表示部250と、通信インタフェース(IF)270と、を備えている。操作部240は、ユーザの操作を受け取る装置であり、例えば、キーボードやマウスである。表示部250は、画像を表示する装置であり、例えば、液晶ディスプレイである。通信インタフェース270は、外部機器、例えば、スキャナ500と接続するためのインタフェースである。 The data processing device 200 is a computer such as a personal computer or a smartphone. The data processing device 200 includes a CPU 210 as a controller of the data processing device 200, a volatile storage device 220 such as RAM, a non-volatile storage device 230 such as a hard disk drive and a flash memory, an operation unit 240, and a display unit 250. , Communication interface (IF) 270. The operation unit 240 is a device that receives a user's operation, and is, for example, a keyboard or a mouse. The display unit 250 is a device for displaying an image, for example, a liquid crystal display. The communication interface 270 is an interface for connecting to an external device, for example, a scanner 500.

揮発性記憶装置220は、CPU210が処理を行う際に生成される種々の中間データを一時的に格納するバッファ領域を提供する。不揮発性記憶装置230には、コンピュータプログラムPGとテスト画像データTDとが格納されている。 The volatile storage device 220 provides a buffer area for temporarily storing various intermediate data generated when the CPU 210 performs processing. The non-volatile storage device 230 stores the computer program PG and the test image data TD.

コンピュータプログラムPGおよびテスト画像データTDは、例えば、プリンタ400の製造者によって提供され、データ処理装置200にインストールされる。CPU210は、コンピュータプログラムPGを実行することにより、スキャナ500と協働して、後述するインクセットの属性の特定を実行する。 The computer program PG and the test image data TD are provided, for example, by the manufacturer of the printer 400 and installed in the data processing apparatus 200. By executing the computer program PG, the CPU 210 cooperates with the scanner 500 to specify the attributes of the ink set, which will be described later.

コンピュータプログラムPGは、後述する機械学習モデルDNの機能をCPU210に実現させるコンピュータプログラムをモジュールとして含んでいる。テスト画像データTDは、後述するテスト画像TIを示す画像データである。 The computer program PG includes a computer program as a module that realizes the function of the machine learning model DN described later in the CPU 210. The test image data TD is image data indicating a test image TI described later.

スキャナ500は、イメージセンサを用いて、原稿を光学的に読み取ることによって、該原稿を含むスキャン画像を示すスキャンデータを生成する。イメージセンサは、例えば、CCDやCMOSなどの複数個の光電変換素子が一列に並んで配置された構造を備える一次元イメージセンサである。スキャンデータは、例えば、RGB値で画素ごとの色を表すRGB画像データである。RGB値は、3個の色成分の階調値(以下、成分値とも呼ぶ)、すなわち、R値、G値、B値を含むRGB表色系の色値である。R値、G値、B値は、例えば、所定の階調数(例えば、256)の階調値である。スキャナ500は、データ処理装置200と通信可能に接続されている。 The scanner 500 uses an image sensor to optically read the document to generate scan data indicating a scanned image including the document. The image sensor is, for example, a one-dimensional image sensor having a structure in which a plurality of photoelectric conversion elements such as a CCD and CMOS are arranged side by side in a row. The scan data is, for example, RGB image data representing a color for each pixel by an RGB value. The RGB value is a gradation value of three color components (hereinafter, also referred to as a component value), that is, a color value of an RGB color system including an R value, a G value, and a B value. The R value, G value, and B value are, for example, gradation values having a predetermined number of gradations (for example, 256). The scanner 500 is communicably connected to the data processing device 200.

プリンタ400は、制御装置410と、印刷実行部としての印刷機構100と、を備えている。制御装置410は、図示しないCPUとメモリとを備え、印刷機構100を制御する装置である。印刷機構100は、印刷材として、シアン(C)、マゼンタ(M)、イエロ(Y)、ブラック(K)の4色のインクを用いてカラー画像を印刷可能なインクジェット方式の印刷機構である。印刷に用いられる1以上のインクのグループをインクセットと呼ぶ。本実施例の印刷機構100のインクセットは、CMYKの4色のインクから構成される。本実施例のインク特定システム1000は、インクセットの属性、具体的には、後述するようにインクセットに非純正インクが含まれるか否かを特定するシステムである。 The printer 400 includes a control device 410 and a printing mechanism 100 as a printing execution unit. The control device 410 includes a CPU and a memory (not shown) and controls the printing mechanism 100. The printing mechanism 100 is an inkjet printing mechanism capable of printing a color image using four color inks of cyan (C), magenta (M), yellow (Y), and black (K) as a printing material. A group of one or more inks used for printing is called an ink set. The ink set of the printing mechanism 100 of this embodiment is composed of four colors of CMYK ink. The ink specifying system 1000 of this embodiment is a system that specifies the attributes of the ink set, specifically, whether or not the ink set contains non-genuine ink, as will be described later.

印刷機構100は、印刷機構100は、印刷ヘッド110とヘッド駆動部120と主走査部130と搬送部140とカートリッジ装着部150とを備えている。 The printing mechanism 100 includes a printing head 110, a head driving unit 120, a main scanning unit 130, a transport unit 140, and a cartridge mounting unit 150.

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

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

上流ローラ対142は、印刷ヘッド110よりも上流側(−Y側)で用紙Sを保持し、下流ローラ対141は、印刷ヘッド110よりも下流側(+Y側)で用紙Sを保持する。用紙台145は、上流ローラ対142と、下流ローラ対141と、の間の位置であって、かつ、印刷ヘッド110のノズル形成面111と対向する位置に配置されている。図示しない搬送モータによって下流ローラ対141と上流ローラ対142とが駆動されることによって、用紙Sが搬送される。 The upstream roller pair 142 holds the paper S on the upstream side (−Y side) of the print head 110, and the downstream roller pair 141 holds the paper S on the downstream side (+ Y side) of the print head 110. The paper base 145 is arranged at a position 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. Paper S is conveyed by driving the downstream roller pair 141 and the upstream roller pair 142 by a transfer 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 to drive the print head 110 while the main scanning unit 130 is performing the main scan of the print head 110. The print head 110 ejects ink onto the paper conveyed by the conveying unit 140 to form dots according to the drive signal.

図2(B)は、−Z側(図2における下側)から見た印刷ヘッド110の構成が図示されている。図2(B)に示すように、印刷ヘッド110のノズル形成面111には、複数のノズルからなる複数のノズル列、すなわち、上述したC、M、Y、Kの各インクを吐出するノズル列NC、NM、NY、NKが形成されている。各ノズル列は、搬送方向ARに沿って並ぶ複数個のノズルNZを含んでいる。複数個のノズルNZは、搬送方向AR(+Y方向)の位置が互いに異なり、搬送方向ARに沿って所定のノズル間隔NTで並ぶ。ノズル間隔NTは、複数のノズルNZの中で搬送方向ARに隣り合う2個のノズルNZ間の搬送方向ARの長さである。これらのノズル列を構成するノズルのうち、最も上流側(−Y側)に位置するノズルNZを、最上流ノズルNZuとも呼ぶ。また、これらのノズルのうち、最も下流側(+Y側)に位置するノズルNZを、最下流ノズルNZdと呼ぶ。最上流ノズルNZuから最下流ノズルNZdまでの搬送方向ARの長さに、さらに、ノズル間隔NTを加えた長さを、ノズル長Dとも呼ぶ。 FIG. 2B shows the configuration of the print head 110 as viewed from the −Z side (lower side in FIG. 2). As shown in FIG. 2 (B), on the nozzle forming surface 111 of the print head 110, a plurality of nozzle rows composed of a plurality of nozzles, that is, nozzle rows for ejecting the above-mentioned C, M, Y, and K inks. NC, NM, NY, NK are formed. Each nozzle row includes a plurality of nozzles NZ arranged along the transport direction AR. The positions of the plurality of nozzles NZ in the transport direction AR (+ Y direction) are different from each other, and the plurality of nozzles NZ are lined up at a predetermined nozzle interval NT along the transport direction AR. The nozzle spacing NT is the length of the transport direction AR between two nozzles NZ adjacent to the transport direction AR among the plurality of nozzles NZ. Among the nozzles constituting 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 of the transport direction AR 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の主走査方向(図2(B)のX方向)の位置は、互いに異なり、搬送方向AR(図2(B)のY方向)の位置は、互いに重複している。例えば、図2(B)の例では、Cインクを吐出するノズル列NCの+X方向に、ノズル列NMが配置されている。 The positions of the nozzle trains NC, NM, NY, and NK in the main scanning direction (X direction in FIG. 2B) are different from each other, and the positions in the transport direction AR (Y direction in FIG. 2B) overlap each other. ing. For example, in the example of FIG. 2B, the nozzle row NM is arranged in the + X direction of the nozzle row NC that ejects C ink.

プリンタ400の制御装置410は、ヘッド駆動部120と主走査部130と搬送部140とを制御して、部分印刷と用紙Sの搬送とを、交互に繰り返し複数回に亘って実行させることによって印刷を行う。1回の部分印刷では、用紙Sが用紙台145上に停止された状態で、1回の主走査が行われつつ、印刷ヘッド110のノズルNZから用紙S上にインクが吐出される。これによって、印刷すべき画像の一部分である部分画像が用紙Sに印刷される。1回の用紙Sの搬送では、所定の搬送量だけ用紙Sが搬送方向ARに移動される。 The control device 410 of the printer 400 controls the head drive unit 120, the main scanning unit 130, and the transport unit 140, and prints by alternately repeating partial printing and transporting the paper S a plurality of times. I do. In one partial printing, ink is ejected from the nozzle NZ of the print head 110 onto the paper S while the paper S is stopped on the paper base 145 and one main scan is performed. As a result, a partial image that is a part of the image to be printed is printed on the paper S. In one transport of the paper S, the paper S is moved in the transport direction AR by a predetermined transport amount.

カートリッジ装着部150は、CMYKのインクカートリッジ420C、420M、420Y、420Kが装着されるように構成されている。インクカートリッジ420C、420M、420Y、420Kは、それぞれ、シアンC、マゼンタM、イエロY、ブラックKのインクを収容したカートリッジである。印刷ヘッド110には、これらのインクカートリッジ420C、420M、420Y、420Kからインクが供給される。 The cartridge mounting unit 150 is configured to mount CMYK ink cartridges 420C, 420M, 420Y, and 420K. The ink cartridges 420C, 420M, 420Y, and 420K are cartridges containing inks of cyan C, magenta M, yellow Y, and black K, respectively. Ink is supplied to the print head 110 from these ink cartridges 420C, 420M, 420Y, and 420K.

用いられるインクの種類として、本実施例では、純正インクと、非純正インクと、の2種類が想定されている。純正インクは、例えば、プリンタ400の製造者によって製造されるインクであり、プリンタ400で用いられるために最適化されたインクである。非純正インクは、例えば、プリンタ400の製造者とは異なる事業者によって製造されるインクである。純正インクと非純正インクとでは、粘性などの特性や成分が互いに異なっている。非純正インクは、純正インクと比較して、プリンタ400の故障(例えば、印刷ヘッドのノズルの詰まり)を引き起こしやすい傾向がある。このために、例えば、プリンタ400の故障の原因を調べる際には、プリンタ400で用いられたインクが純正インクであるか非純正インクであるかを特定することが好ましい。本実施例のインク特定システム1000は、例えば、このような用途で用いられる。なお、例えば、純正インクのインクカートリッジが空になった後に、該インクカートリッジに非純正インクを収容すること(いわゆるインクの詰め替え)が行われる場合がある。このために、インクカートリッジの外観やインクカートリッジの品番を参照する方法では、インクの種類を適切に特定できない場合がある。このような場合にも、インク特定システム1000を用いる方法は有効である。 In this embodiment, two types of ink, genuine ink and non-genuine ink, are assumed to be used. The genuine ink is, for example, an ink manufactured by the manufacturer of the printer 400 and optimized for use in the printer 400. The non-genuine ink is, for example, an ink manufactured by a business operator different from the manufacturer of the printer 400. Genuine ink and non-genuine ink have different characteristics and components such as viscosity. Non-genuine ink tends to cause a failure of the printer 400 (for example, clogging of the nozzle of the print head) as compared with genuine ink. For this reason, for example, when investigating the cause of failure of the printer 400, it is preferable to specify whether the ink used in the printer 400 is genuine ink or non-genuine ink. The ink identification system 1000 of this embodiment is used in such an application, for example. For example, after the ink cartridge of genuine ink is emptied, non-genuine ink may be stored in the ink cartridge (so-called refilling of ink). For this reason, the type of ink may not be properly specified by the method of referring to the appearance of the ink cartridge or the product number of the ink cartridge. Even in such a case, the method using the ink identification system 1000 is effective.

A−2.機械学習モデルの構成
図3は、機械学習モデルDNの構成を示すブロック図である。機械学習モデルDNは、CPU210がコンピュータプログラムPGを実行することによって実現される。機械学習モデルDNは、後述するトレーニング処理によってトレーニングされた学習済みのモデルである。
A-2. Configuration of Machine Learning Model FIG. 3 is a block diagram showing the configuration of the machine learning model DN. The machine learning model DN is realized by the CPU 210 executing the computer program PG. The machine learning model DN is a trained model trained by a training process described later.

機械学習モデルDNには、入力データとして、入力画像データDinが入力される。入力画像データDinは、入力パッチIPを示す画像データである。入力パッチIPは、後述するように、プリンタ400を用いて用紙Sに印刷された画像である。入力画像データDinは、複数個の画素を含む画像を示すビットマップデータであり、具体的には、RGB画像データである。入力画像データDinは、(200×200)個の画素のそれぞれの3個の成分値(R値、G値、B値)を含むので、(200×200×3)個の値を含むデータである。 Input image data Din is input to the machine learning model DN as input data. The input image data Din is image data indicating the input patch IP. The input patch IP is an image printed on paper S using the printer 400, as will be described later. The input image data Din is bitmap data indicating an image including a plurality of pixels, and specifically, RGB image data. Since the input image data Din contains three component values (R value, G value, B value) of each of the (200 × 200) pixels, the data includes (200 × 200 × 3) values. be.

機械学習モデルDNは、入力パッチIPの印刷に用いられたインクセットが非純正インクを含むか否かを識別する識別ネットワークである。ここで、機械学習モデルDNは、入力画像データDinが入力されると、複数個の演算パラメータ(後述)を用いた演算処理を実行して、入力画像データDinによって示される入力パッチIPの印刷に用いられたインクセットが非純正インクを含むか否かを識別した結果を示す出力データDoutを出力する。 The machine learning model DN is an identification network that identifies whether or not the ink set used to print the input patch IP contains non-genuine ink. Here, when the input image data Din is input, the machine learning model DN executes arithmetic processing using a plurality of arithmetic parameters (described later) to print the input patch IP indicated by the input image data Din. Output data Dout indicating the result of identifying whether or not the used ink set contains non-genuine ink is output.

具体的には、出力データDoutは、識別すべきクラスの数にそれぞれ対応する複数個の値を含む。本実施例では、識別すべきクラスは、全てが純正インクであるインクセット(純正インクセットとも呼ぶ)と、非純正インクを含むインクセット(非純正インクセットとも呼ぶ)と、の2種類である。このために、出力データDoutは、純正インクセットに対応する値Vo1と、非純正インクセットに対応する値Vo2と、を含む2次元のデータである。例えば、2個の値Vo1、Vo2は、それぞれ、0以上1以下の範囲の値であり、2個の値Vo1、Vo2の和は1である。後述するトレーニングにて、2個の値Vo1、Vo2のうち、入力パッチIPの印刷に用いられたインクセットが属するクラスに対応する一の値が1に近づき、対応しない他の値が0に近づくように、機械学習モデルDNはトレーニングされている。このために、機械学習モデルDNは、入力パッチIPの印刷に用いられたインクセットが非純正インクを含むか否かを適切に示す出力データDoutを出力することができる。 Specifically, the output data Dout contains a plurality of values corresponding to the number of classes to be identified. In this embodiment, there are two types of classes to be identified: an ink set in which all are genuine ink (also called a genuine ink set) and an ink set containing non-genuine ink (also called a non-genuine ink set). .. Therefore, the output data Dout is two-dimensional data including a value Vo1 corresponding to the genuine ink set and a value Vo2 corresponding to the non-genuine ink set. For example, the two values Vo1 and Vo2 are values in the range of 0 or more and 1 or less, respectively, and the sum of the two values Vo1 and Vo2 is 1. In the training described later, of the two values Vo1 and Vo2, one value corresponding to the class to which the ink set used for printing the input patch IP belongs approaches 1, and the other values that do not correspond approach 0. As such, the machine learning model DN is being trained. Therefore, the machine learning model DN can output output data Dout that appropriately indicates whether or not the ink set used for printing the input patch IP contains non-genuine ink.

機械学習モデルDNは、CNN(Convolutional Neural Network)と呼ばれるネットワークであり、入力層305と、第1畳込層310と、第1プーリング層320と、第2畳込層330と、第2プーリング層340と、第1全結合層350と、第2全結合層360と、第3全結合層370と、を有している。これらの層305〜370は、この順番に、接続されている。 The machine learning model DN is a network called a CNN (Convolutional Neural Network), and has an input layer 305, a first convolutional layer 310, a first convolutional layer 320, a second convolutional layer 330, and a second convolutional layer. It has 340, a first fully-bonded layer 350, a second fully-bonded layer 360, and a third fully-bonded layer 370. These layers 305-370 are connected in this order.

入力層305には、上述した入力画像データDinが入力される。入力層305に入力された入力画像データDinは、第1畳込層310によって、入力情報として利用される。 The above-mentioned input image data Din is input to the input layer 305. The input image data Din input to the input layer 305 is used as input information by the first convolution layer 310.

畳込層310、330は、畳込処理(convolution)とバイアスの加算処理と、を実行する。畳込処理は、直前の層から入力されたデータに対して、(p×q×r)次元のs個のフィルタを順次に適用して入力されたデータとフィルタとの相関を示す相関値を算出する処理である。各フィルタを適用する処理では、フィルタをスライドさせながら複数個の相関値が順次に算出される。1個のフィルタは、(p×q×r)個の重みを含んでいる。バイアスの加算処理は、算出された相関値に、1個のフィルタに対して1個ずつ準備されたバイアスを加算する処理である。 The convolution layers 310 and 330 perform a convolution process and a bias addition process. In the convolution process, s filters of (p × q × r) dimension are sequentially applied to the data input from the immediately preceding layer, and a correlation value indicating the correlation between the input data and the filter is obtained. It is a process to calculate. In the process of applying each filter, a plurality of correlation values are sequentially calculated while sliding the filter. One filter contains (p × q × r) weights. The bias addition process is a process of adding one bias prepared for each filter to the calculated correlation value.

s個のフィルタに含まれる(p×q×r×s)個の重みと、s個のフィルタに対応するs個のバイアスと、は、トレーニング処理によって調整される演算パラメータである。畳込層310、330によって生成されるデータの各値は、上述した相関値にバイアスを加えた値である。各畳込層によって生成されるデータに含まれる値の個数(次元数)は、畳込処理におけるストライド(フィルタをスライドさせる量)と、フィルタの個数sと、によって決定される。 The (p × q × r × s) weights included in the s filters and the s biases corresponding to the s filters are arithmetic parameters adjusted by the training process. Each value of the data generated by the convolution layers 310 and 330 is a value obtained by adding a bias to the above-mentioned correlation value. The number of values (number of dimensions) included in the data generated by each convolution layer is determined by the stride (amount of sliding the filter) in the convolution process and the number s of filters.

畳込層310、330によって生成されるデータは、後処理として、活性化関数に入力されて変換された後に、次の層(プーリング層320、340)に入力される。本実施例では、活性化関数には、ReLUが用いられる。 The data generated by the convolutional layers 310 and 330 is input to the activation function as post-processing, converted, and then input to the next layer (pooling layer 320, 340). In this embodiment, ReLU is used as the activation function.

プーリング層320、340は、直前の畳込層から入力されたデータに対して、マックスプーリング(MaxPooling)を行って、該データの次元数を削減する。マックスプーリングは、いわゆるダウンサンプリングによって次元数を削減する処理であり、所定サイズ(例えば、2×2)のウィンドウを所定のストライド(例えば、2)でスライドさせつつ、ウィンドウ内の最大値を選択することによって次元数を削減する。プーリング層320、340によって生成されるデータは、そのまま、次の層(第2畳込層330や第1全結合層350)に入力される。 The pooling layers 320 and 340 perform MaxPooling on the data input from the immediately preceding convolutional layer to reduce the number of dimensions of the data. Max pooling is a process of reducing the number of dimensions by so-called downsampling, and selects the maximum value in a window while sliding a window of a predetermined size (for example, 2 × 2) with a predetermined stride (for example, 2). This reduces the number of dimensions. The data generated by the pooling layers 320 and 340 is directly input to the next layer (second convolution layer 330 and first fully connected layer 350).

全結合層350、360、370は、一般的なニューラルネットワークで用いられる全結合層と同様の層である。全結合層は、m次元のデータ(m個の値(mは2以上の整数))が入力されると、n次元のデータ(n個の値(nは2以上の整数))を出力する。出力されるN個の値のそれぞれは、入力されるm個の値から成るベクトルとn個の重みから成るベクトルとの内積に、バイアスを加えた値(内積+バイアス)である。これらの(m×n)個の重みとn個のバイアスは、トレーニング処理によって調整される演算パラメータである。 The fully connected layers 350, 360, and 370 are layers similar to the fully connected layers used in a general neural network. When m-dimensional data (m values (m is an integer of 2 or more)) is input, the fully connected layer outputs n-dimensional data (n values (n is an integer of 2 or more)). .. Each of the output N values is a value (inner product + bias) obtained by adding a bias to the inner product of the input vector consisting of m values and the vector consisting of n weights. These (m × n) weights and n biases are arithmetic parameters adjusted by the training process.

全結合層350、360によって生成された各値は、後処理として、活性化関数に入力されて変換された後に、次の層(全結合層360、370)に入力される。活性化関数には、例えば、ReLUが用いられる。 Each value generated by the fully connected layers 350 and 360 is input to the activation function and converted as a post-processing, and then input to the next layer (fully connected layers 360 and 370). For the activation function, for example, ReLU is used.

第3全結合層370によって生成されたデータ(2個の値)は、後処理として、活性化関数に入力されて変換される。活性化関数には、SoftMaxが用いられる。活性化関数によって変換済みの2個の値は、上述した出力データDoutである。 The data (two values) generated by the third fully connected layer 370 is input to the activation function and converted as post-processing. SoftMax is used as the activation function. The two values converted by the activation function are the output data Dout described above.

なお、図3において、各層の左側の数値(例えば、[200×200×3])は、その層に入力されるデータの次元数であり、各層の右側の数値(例えば、[196×196×8])は、その層から出力されるデータの次元数である。 In FIG. 3, the numerical value on the left side of each layer (for example, [200 × 200 × 3]) is the number of dimensions of the data input to that layer, and the numerical value on the right side of each layer (for example, [196 × 196 × 3]). 8]) is the number of dimensions of the data output from that layer.

A−3.インクセットの属性の特定
図4は、インクセットの属性を特定する工程を示すフローチャートである。この工程は、プリンタ400にて用いられるCMYKの4色のインクセットを対象として行われる。
A-3. Specifying Ink Set Attributes FIG. 4 is a flowchart showing a process of specifying ink set attributes. This step is performed on a CMYK four-color ink set used in the printer 400.

S100では、データ処理装置200のCPU210は、不揮発性記憶装置230からテスト画像データTD(図1)を取得する。テスト画像データTDは、例えば、RGB画像データである。 In S100, the CPU 210 of the data processing device 200 acquires the test image data TD (FIG. 1) from the non-volatile storage device 230. The test image data TD is, for example, RGB image data.

S105では、CPU210は、テスト画像データTDを用いて、テスト画像TIを用紙Sに印刷する。具体的には、CPU210は、テスト画像データTDに対して色変換処理を実行して、各画像データに含まれる複数個の画素の値を、RGB値からCMYK値に変換する。CMYK値は、印刷に用いられるCMYKのインクに対応する複数個の成分値(CMYKの成分値)を含む色値である。CPU210は、色変換処理済みのテスト画像データTDに対して誤差拡散法などのハーフトーン処理を実行する。これによって、テスト画像TIを示すドットデータが生成される。ドットデータは、印刷に用いられる色材ごと、かつ、画素ごとに、ドットの形成状態を示すデータである。ドットの形成状態は、例えば、ドット有、ドット無の2種類の状態や、大ドット、中ドット、小ドット、ドット無の4種類の状態を取り得る。CPU210は、テスト画像TIを示すドットデータをプリンタ400に送信する。プリンタ400の制御装置410は、該ドットデータに従って印刷機構100を制御して、印刷機構100にテスト画像TIを印刷させる。なお、変形例では、RGB画像データに代えて、CMYK画像データやドットデータがテスト画像データTDとして予め不揮発性記憶装置230に格納されていても良い。 In S105, the CPU 210 prints the test image TI on the paper S using the test image data TD. Specifically, the CPU 210 executes a color conversion process on the test image data TD to convert the values of a plurality of pixels included in each image data from RGB values to CMYK values. The CMYK value is a color value including a plurality of component values (CMYK component values) corresponding to the CMYK ink used for printing. The CPU 210 executes halftone processing such as an error diffusion method on the test image data TD that has undergone color conversion processing. As a result, dot data indicating the test image TI is generated. The dot data is data indicating a dot formation state for each color material used for printing and for each pixel. The dot formation state can be, for example, two types of states with or without dots, and four types of states of large dots, medium dots, small dots, and no dots. The CPU 210 transmits dot data indicating the test image TI to the printer 400. The control device 410 of the printer 400 controls the printing mechanism 100 according to the dot data, and causes the printing mechanism 100 to print the test image TI. In the modified example, the CMYK image data and the dot data may be stored in the non-volatile storage device 230 in advance as the test image data TD instead of the RGB image data.

図5は、第1実施例のテスト画像TIの説明図である。図5(A)には、テスト画像TIが用紙Sに印刷された状態が図示されている。テスト画像TIは、1回の部分印刷にて印刷される。図5(A)には、テスト画像TIを印刷する際のヘッド位置P1が図示されている。ヘッド位置P1は、用紙Sに対する印刷ヘッド110の搬送方向の相対的な位置である。 FIG. 5 is an explanatory diagram of the test image TI of the first embodiment. FIG. 5A shows a state in which the test image TI is printed on the paper S. The test image TI is printed in one partial print. FIG. 5A shows a head position P1 when printing a test image TI. The head position P1 is a position relative to the paper S in the transport direction of the print head 110.

テスト画像TIは、複数個の検出パッチTPと、複数個の入力パッチIPと、を含んでいる。検出パッチTPは、後述するノズル詰まりの検出処理において用いられる。入力パッチIPは、上述した機械学習モデルDNに入力される画像として用いられる。 The test image TI includes a plurality of detection patch TPs and a plurality of input patch IPs. The detection patch TP is used in the nozzle clogging detection process described later. The input patch IP is used as an image input to the machine learning model DN described above.

図5(B)には、1個の検出パッチTPが図示されている。検出パッチTPは、矩形の画像であり、CMYKの各インクに対応する単色部分Pc、Pm、Py、Pkを含んでいる。各単色部分は、搬送方向ARに延びる帯状の部分である。各単色部分は、対応する1色のインクだけを用いて印刷される部分である。すなわち、各単色部分は、対応する1色のインクのドットを含み、対応しない他のインクのドットを含まない。 FIG. 5B shows one detection patch TP. The detection patch TP is a rectangular image and includes monochromatic portions Pc, Pm, Py, and Pk corresponding to each ink of CMYK. Each monochromatic portion is a strip-shaped portion extending in the transport direction AR. Each monochromatic portion is a portion printed using only the corresponding one color ink. That is, each monochromatic portion contains dots of the corresponding one color ink and does not include dots of the other uncorresponding ink.

例えば、単色部分Pcは、Cのインクに対応する部分であり、シアンの均一な領域である。単色部分Pcは、Cのドットを含み、MYKのドットを含まない。単色部分Pmは、Mのインクに対応する部分であり、マゼンタの均一な領域である。単色部分Pmは、Mのドットを含み、CYKのドットを含まない。単色部分Pyは、Yのインクに対応する部分であり、イエロの均一な領域である。単色部分Pyは、Yのドットを含み、CMKのドットを含まない。単色部分Pkは、Kのインクに対応する部分であり、黒の均一な領域である。単色部分Pkは、Kのドットを含み、CMYのドットを含まない。 For example, the monochromatic portion Pc is a portion corresponding to the ink of C and is a uniform region of cyan. The monochromatic portion Pc includes C dots and does not include MYK dots. The monochromatic portion Pm is a portion corresponding to the ink of M and is a uniform region of magenta. The monochromatic portion Pm includes M dots and does not include CYK dots. The monochromatic portion Py is a portion corresponding to the ink of Y, and is a uniform region of yellow. The monochromatic portion Py includes Y dots and does not include CMK dots. The monochromatic portion Pk is a portion corresponding to the ink of K, and is a uniform region of black. The monochromatic portion Pk includes K dots and does not include CMY dots.

図5(C)には、1個の入力パッチIPが図示されている。入力パッチIPは、矩形の画像であり、CMYKの4色のうちの2色以上のインクに対応する混色部分Pr、Pg、Pb、Pblを含んでいる。各混色部分は、搬送方向ARに延びる帯状の部分である。各混色部分は、対応する2色以上のインクを用いて印刷される部分である。すなわち、各混色部分は、対応する2色以上のインクのドットを含み、対応しない他のインクのドットを含まない。 FIG. 5C shows one input patch IP. The input patch IP is a rectangular image and includes mixed color portions Pr, Pg, Pb, and Pbl corresponding to inks of two or more colors out of the four colors of CMYK. Each color mixing portion is a strip-shaped portion extending in the transport direction AR. Each color mixture portion is a portion printed using two or more corresponding inks. That is, each color mixture portion contains dots of two or more corresponding inks and does not include dots of other inks that do not correspond to each other.

例えば、混色部分Prは、MとYのインクに対応する部分であり、赤の均一な領域である。混色部分Prは、MとYのドットをほぼ同数ずつ含み、CとKのドットを含まない。混色部分Pgは、YとCのインクに対応する部分であり、緑の均一な領域である。混色部分Pgは、YとCのドットをほぼ同数ずつ含み、KとMのドットを含まない。混色部分Pbは、CとMのインクに対応する部分であり、青の均一な領域である。混色部分Pbは、CとMのドットをほぼ同数ずつ含み、YとKのドットを含まない。 For example, the color mixing portion Pr is a portion corresponding to the inks of M and Y, and is a uniform region of red. The mixed color portion Pr contains approximately the same number of M and Y dots, and does not include C and K dots. The mixed color portion Pg is a portion corresponding to the Y and C inks, and is a uniform green region. The mixed color portion Pg contains approximately the same number of Y and C dots, and does not include K and M dots. The mixed color portion Pb is a portion corresponding to the inks of C and M, and is a uniform region of blue. The mixed color portion Pb contains approximately the same number of dots C and M, and does not include dots Y and K.

混色部分Pblは、CMYKのインクに対応する部分であり、黒の均一な領域である。混色部分Pblは、CMYのドットを同数ずつ含むとともに、さらに、Kのドットを含む。本実施例では、混色部分Pblに含まれる全てのドットに占めるCMYの各ドットの割合は、(1/6)ずつであり、Kのドットの割合は、(1/2)である。 The mixed color portion Pbl is a portion corresponding to the CMYK ink and is a uniform region of black. The mixed color portion Pbl contains the same number of CMY dots, and further includes K dots. In this embodiment, the ratio of each CMY dot to all the dots included in the mixed color portion Pbl is (1/6), and the ratio of K dots is (1/2).

検出パッチTPの搬送方向ARの長さHt(Y方向の長さ)と、入力パッチIPの搬送方向ARの長さHiは、互いに等しい。 The length Ht (length in the Y direction) of the detection patch TP in the transport direction AR and the length Hi of the transport direction AR of the input patch IP are equal to each other.

図5(A)に示すように、複数個の検出パッチTPと複数個の入力パッチIPとは、一対一で対応している。例えば、図5(A)の4個の検出パッチTP1、TP2、TP3、TP4は、それぞれ、入力パッチIP1、IP2、IP3、IP4と対応している。対応する2個のパッチ、例えば、検出パッチTP1と入力パッチIP1とでは、搬送方向ARの位置が互いに等しく、主走査方向の位置がずれている。例えば、入力パッチIP1は、検出パッチTP1から+X方向に距離DSだけ離れた位置にある。 As shown in FIG. 5A, the plurality of detection patch TPs and the plurality of input patch IPs have a one-to-one correspondence. For example, the four detection patches TP1, TP2, TP3, and TP4 in FIG. 5A correspond to the input patches IP1, IP2, IP3, and IP4, respectively. In the two corresponding patches, for example, the detection patch TP1 and the input patch IP1, the positions of the transport directions AR are equal to each other, and the positions in the main scanning direction are deviated from each other. For example, the input patch IP1 is located at a position separated from the detection patch TP1 by a distance DS in the + X direction.

対応する2個のパッチは、同じノズルNZを用いて印刷される。例えば、検出パッチTP1と入力パッチIP1とは、図5(A)のヘッド位置P1のハッチングされた範囲RG1に位置するCMYKの各ノズル群を用いて印刷される。 The corresponding two patches are printed using the same nozzle NZ. For example, the detection patch TP1 and the input patch IP1 are printed using each CMYK nozzle group located in the hatched range RG1 of the head position P1 in FIG. 5 (A).

主走査方向(X方向)に隣り合う2個の入力パッチIPの間では、搬送方向AR(Y方向)の位置がΔHだけずれている。例えば、図5(A)の入力パッチIP4のY方向の位置は、入力パッチIP3のY方向の位置よりもΔHだけ−Y方向にずれている。ΔHは、入力パッチIPのY方向の長さHiよりも短い。 The position of the transport direction AR (Y direction) is shifted by ΔH between the two input patch IPs adjacent to each other in the main scanning direction (X direction). For example, the position of the input patch IP4 in FIG. 5A in the Y direction is deviated from the position of the input patch IP3 in the Y direction by ΔH in the −Y direction. ΔH is shorter than the length Hi of the input patch IP in the Y direction.

S110では、CPU210は、プリンタ400を用いて印刷されたテスト画像TIを示すスキャンデータを取得する。なお、テスト画像TIの搬送方向ARの読取解像度は、後述するノズルNZの不具合の検出を精度良く行うために、テスト画像TIの搬送方向ARの印刷解像度(ノズル間隔NTに基づく解像度)よりも高いことが好ましい。例えば、作業者が、テスト画像TIが印刷された用紙Sをスキャナ500の原稿台に載置した状態で、スキャナ500に読み取り指示を入力する。スキャナ500は、用紙Sを読み取ることによって、テスト画像TIを示すスキャンデータを生成し、該スキャンデータをデータ処理装置200に送信する。データ処理装置200のCPU210は、通信インタフェース270を介して該スキャンデータを受信する。スキャンデータによって示されるスキャン画像SIは、印刷されたテスト画像TIを示すので、図5(A)は、スキャン画像SIを示す画像である、とも言うことができる。 In S110, the CPU 210 acquires scan data indicating the test image TI printed using the printer 400. The reading resolution of the transport direction AR of the test image TI is higher than the print resolution of the transport direction AR of the test image TI (resolution based on the nozzle interval NT) in order to accurately detect defects in the nozzle NZ described later. Is preferable. For example, the operator inputs a reading instruction to the scanner 500 in a state where the paper S on which the test image TI is printed is placed on the platen of the scanner 500. The scanner 500 generates scan data indicating the test image TI by reading the paper S, and transmits the scan data to the data processing device 200. The CPU 210 of the data processing device 200 receives the scan data via the communication interface 270. Since the scanned image SI indicated by the scan data indicates the printed test image TI, it can be said that FIG. 5A is an image indicating the scanned image SI.

S115では、CPU210は、スキャンデータを用いて、ノズル詰まりの検出処理を実行する。この検出処理は、検出パッチTPの印刷に用いられた各ノズルについて、ノズルが詰まる不具合が生じているか否かを検出し、検出結果に基づいて検出パッチTPの合否を判定する処理である。 In S115, the CPU 210 uses the scan data to execute the nozzle clogging detection process. This detection process is a process of detecting whether or not a nozzle clogging problem has occurred in each nozzle used for printing the detection patch TP, and determining the pass / fail of the detection patch TP based on the detection result.

図6は、ノズル詰まりの検出処理のフローチャートである。S200では、CPU210は、スキャンデータを解析して、スキャン画像SI内の複数個の検出パッチTPを特定する。テスト画像TIの内容は予め解っているので、スキャン画像SI内の複数個の検出パッチTPのおおよその位置は予め解っている。ただし、読み取り時において原稿台に用紙Sが載置される位置のバラツキなどに起因して、スキャン画像SI内の複数個の検出パッチTPの位置にはバラツキがある。このために、CPU210は、スキャン画像SI内の検出パッチTPが位置し得る範囲においてパターンマッチングを実行することで、複数個の検出パッチTPを特定する。 FIG. 6 is a flowchart of the nozzle clogging detection process. In S200, the CPU 210 analyzes the scan data to identify a plurality of detection patch TPs in the scan image SI. Since the content of the test image TI is known in advance, the approximate positions of the plurality of detection patch TPs in the scanned image SI are known in advance. However, there are variations in the positions of the plurality of detection patch TPs in the scanned image SI due to variations in the positions where the paper S is placed on the platen during scanning. For this purpose, the CPU 210 identifies a plurality of detection patch TPs by performing pattern matching within a range in which the detection patch TPs in the scanned image SI can be located.

S210では、CPU210は、特定された複数個の検出パッチTPの中から1個の注目検出パッチを選択する。S220では、CPU210は、CMYKの4色のインクの中から1個の注目インクを選択する。 In S210, the CPU 210 selects one attention detection patch from the plurality of specified detection patch TPs. In S220, the CPU 210 selects one ink of interest from the four color inks of CMYK.

S230では、CPU210は、注目検出パッチに含まれる4色の単色部分Pc、Pm、Py、Pkのうち、注目インクに対応する単色部分(注目単色部分とも呼ぶ)を解析して、注目単色部分に含まれる白スジを探索する。 In S230, the CPU 210 analyzes the monochromatic portion (also referred to as the monochromatic portion of interest) corresponding to the ink of interest among the monochromatic portions Pc, Pm, Py, and Pk of the four colors included in the attention detection patch, and converts the monochromatic portion of interest into the monochromatic portion of interest. Search for the included white streaks.

図7は、ノズル詰まりの検出処理の説明図である。図7には、1個の検出パッチTPと、検出パッチTPを印刷する際のヘッド位置P1(図5)にある印刷ヘッド110の一部が図示されている。図7の印刷ヘッド110において、丸印で示すノズルNZのうち、黒丸で示すノズルNZxm、NZxkは、ノズルが詰まる不具合が発生しているノズルである。不具合が発生しているノズルNZxm、NZxkは、インクを吐出できないので、印刷時にノズルNZxm、NZxkによって形成されるべきドットは、形成されない。例えば、図7の例では、Mインクを吐出するノズル列NMに不具合があるノズルNZxmが存在している。このために、検出パッチTPのMの単色部分Pmに白スジWLmが存在する。白スジWLmの搬送方向ARの位置は、不具合のあるノズルNZxmに対応する位置である。白スジWLmは、主走査方向(X方向)に、単色部分Pmの全長に亘って延びる白色(用紙Sの色)の線である。また、図7の例では、Kインクを吐出するノズル列NKに不具合があるノズルNZxkが存在している。このために、検出パッチTPのKの単色部分Pkに白スジWLkが存在する。 FIG. 7 is an explanatory diagram of a nozzle clogging detection process. FIG. 7 shows one detection patch TP and a part of the print head 110 at the head position P1 (FIG. 5) when printing the detection patch TP. In the print head 110 of FIG. 7, among the nozzles NZ indicated by circles, the nozzles NZxm and NZxx indicated by black circles are nozzles in which the nozzles are clogged. Since the defective nozzles NZxm and NZxx cannot eject ink, the dots to be formed by the nozzles NZxm and NZxx during printing are not formed. For example, in the example of FIG. 7, there is a nozzle NZxm having a defect in the nozzle row NM that ejects M ink. For this reason, a white streak WLm is present in the monochromatic portion Pm of M of the detection patch TP. The position of the transport direction AR of the white streak WLm is a position corresponding to the defective nozzle NZxm. The white streak WLm is a white line (color of paper S) extending over the entire length of the monochromatic portion Pm in the main scanning direction (X direction). Further, in the example of FIG. 7, there is a nozzle NZxx having a defect in the nozzle row NK for ejecting K ink. For this reason, a white streak WLk is present in the monochromatic portion Pk of K of the detection patch TP.

CPU210は、注目単色部分のY方向の各位置について、白スジであるか否かを判定することによって、白スジを探索する。例えば、Mの単色部分Pmでは、白スジとは異なる領域のRGB値は、Mを示す値(R,G,B)=(255、0、255)に近い値である。これに対して、白スジのRGB値は、白色を示す値(R,G,B)=(255、255、255)に近い値である。従って、注目単色部分がMの単色部分Pmである場合には、白スジと、白スジとは異なる領域と、の間で、G成分の値(G値)が大きく異なる。このために、注目単色部分がMの単色部分Pmである場合には、CPU210は、Y方向の各位置についてG値の平均を算出し、G値の平均が閾値(例えば、200)以上であるY方向の位置がある場合に、当該Y方向の位置に白スジがあると判断する。注目単色部分がC、Yの単色部分Pc、Pyである場合には、それぞれ、R値、B値に基づいて、同様に白スジが探索される。注目単色部分がKの単色部分Pkである場合には、R値、G値、B値のいずれかに基づいて、同様に白スジが探索される。 The CPU 210 searches for white streaks by determining whether or not they are white streaks at each position in the Y direction of the monochromatic portion of interest. For example, in the monochromatic portion Pm of M, the RGB value of the region different from the white streaks is a value close to the value indicating M (R, G, B) = (255, 0, 255). On the other hand, the RGB values of the white streaks are close to the values indicating white (R, G, B) = (255, 255, 255). Therefore, when the monochromatic portion of interest is the monochromatic portion Pm of M, the value (G value) of the G component is significantly different between the white streaks and the region different from the white streaks. Therefore, when the monochromatic portion of interest is the monochromatic portion Pm of M, the CPU 210 calculates the average of the G values for each position in the Y direction, and the average of the G values is equal to or greater than the threshold value (for example, 200). When there is a position in the Y direction, it is determined that there is a white streak at the position in the Y direction. When the monochromatic portion of interest is the monochromatic portion Pc and Py of C and Y, white streaks are similarly searched based on the R value and the B value, respectively. When the monochromatic portion of interest is the monochromatic portion Pk of K, the white streaks are similarly searched based on any of the R value, the G value, and the B value.

S240では、CPU210は、探索の結果、注目単色部分に白スジが存在したか否かを判断する。注目単色部分に白スジが存在する場合には(S240:YES)、S260にて、CPU210は、注目検出パッチは不合格であると判定する。注目単色部分に白スジが存在しない場合には(S240:NO)、S250にて、CPU210は、全てのインクについて処理したか否かを判断する。未処理のインクがある場合には(S250:NO)、CPU210は、S220に戻る。全てのインクが処理された場合には(S250:YES)、S270にて、CPU210は、注目検出パッチは合格であると判定する。このように、全ての単色部分に白スジが存在しない場合に、注目検出パッチは合格であると判定され、少なくとも1個の単色部分に白スジが存在する場合に、注目検出パッチは不合格であると半手にされる。 In S240, the CPU 210 determines whether or not the white streaks are present in the attention monochromatic portion as a result of the search. When a white streak is present in the attention monochromatic portion (S240: YES), in S260, the CPU 210 determines that the attention detection patch has failed. When there are no white streaks in the monochromatic portion of interest (S240: NO), in S250, the CPU 210 determines whether or not all the inks have been processed. If there is unprocessed ink (S250: NO), the CPU 210 returns to S220. When all the inks have been processed (S250: YES), in S270, the CPU 210 determines that the attention detection patch has passed. In this way, if there are no white streaks in all the monochromatic parts, the attention detection patch is determined to pass, and if there are white streaks in at least one monochromatic part, the attention detection patch fails. If there is, it will be half-handed.

S280では、CPU210は、全ての検出パッチを処理したか否かを判断する。未処理の検出パッチがある場合には(S280:NO)、CPU210は、S210に戻る。全ての検出パッチが処理された場合には(S280:YES)、CPU210は、ノズル詰まりの検出処理を終了する。 In S280, the CPU 210 determines whether or not all the detection patches have been processed. If there is an unprocessed detection patch (S280: NO), the CPU 210 returns to S210. When all the detection patches have been processed (S280: YES), the CPU 210 ends the nozzle clogging detection process.

ノズル詰まりの検出処理が終了すると、図4のS120では、CPU210は、入力画像データの取得処理を実行する。入力画像データの取得処理は、スキャンデータを用いて、上述した機械学習モデルDNに入力するための複数個の入力画像データを取得する処理である。 When the nozzle clogging detection process is completed, in S120 of FIG. 4, the CPU 210 executes the input image data acquisition process. The input image data acquisition process is a process of acquiring a plurality of input image data to be input to the machine learning model DN described above by using the scan data.

図8は、入力画像データの取得処理のフローチャートである。S310では、CPU210は、スキャン画像SIの複数個の検出パッチTPのうち、上述の検出処理にて合格と判定された検出パッチの中から、1個の注目検出パッチを選択する。 FIG. 8 is a flowchart of the input image data acquisition process. In S310, the CPU 210 selects one attention detection patch from the detection patches determined to pass by the above-mentioned detection process among the plurality of detection patch TPs of the scanned image SI.

S320では、CPU210は、注目検出パッチに対応する1個の入力パッチIPを特定する。具体的には、注目検出パッチから主走査方向(図5の+X方向)に距離DSだけ離れた位置にある入力パッチIPが特定される。 In S320, the CPU 210 identifies one input patch IP corresponding to the attention detection patch. Specifically, the input patch IP located at a position separated by the distance DS in the main scanning direction (+ X direction in FIG. 5) from the attention detection patch is specified.

S330では、CPU210は、特定された入力パッチIPを示す部分画像データをスキャンデータから取得する。例えば、スキャン画像SIから該入力パッチIPを切り出すクロッピング処理が実行されて、部分画像データが取得される。 In S330, the CPU 210 acquires partial image data indicating the specified input patch IP from the scan data. For example, a cropping process for cutting out the input patch IP from the scanned image SI is executed, and partial image data is acquired.

S340では、CPU210は、取得された部分画像データに対して拡大処理または縮小処理を実行することによって、部分画像データのサイズを、機械学習モデルDNの入力画像データDin(上述)として規定されたサイズに調整する。本実施例では、機械学習モデルDNの入力画像データDinのサイズは、縦200画素×横200画素のサイズである。サイズが調整された後の部分画像データは、入力画像データDinとして不揮発性記憶装置230に保存される。 In S340, the CPU 210 executes enlargement processing or reduction processing on the acquired partial image data to set the size of the partial image data to the size defined as the input image data Din (described above) of the machine learning model DN. Adjust to. In this embodiment, the size of the input image data Din of the machine learning model DN is a size of 200 pixels in the vertical direction and 200 pixels in the horizontal direction. The partial image data after the size is adjusted is stored in the non-volatile storage device 230 as input image data Din.

S350では、CPU210は、合格と判定された全ての検出パッチを処理したか否かを判断する。未処理の検出パッチがある場合には(S350:NO)、CPU210は、S310に戻る。全ての検出パッチが処理された場合には(S350:YES)、CPU210は、入力画像データの取得処理を終了する。 In S350, the CPU 210 determines whether or not all the detection patches determined to pass have been processed. If there is an unprocessed detection patch (S350: NO), the CPU 210 returns to S310. When all the detection patches have been processed (S350: YES), the CPU 210 ends the input image data acquisition process.

入力画像データの取得処理が終了すると、図4のS130では、CPU210は、S120にて取得された複数個の入力画像データDinを、それぞれ、機械学習モデルDNに入力する。これによって、複数個の入力画像データDinに対応する複数個の出力データDoutが生成される。各出力データDoutは、上述したように、純正インクセットに対応する値Vo1と、非純正インクセットに対応する値Vo2と、を含む2次元のデータである。 When the input image data acquisition process is completed, in S130 of FIG. 4, the CPU 210 inputs the plurality of input image data Dins acquired in S120 into the machine learning model DN, respectively. As a result, a plurality of output data Douts corresponding to the plurality of input image data Dins are generated. As described above, each output data Dout is two-dimensional data including a value Vo1 corresponding to a genuine ink set and a value Vo2 corresponding to a non-genuine ink set.

S135では、CPU210は、複数個の出力データDoutを用いて、純正インクセットを示すと判定された入力画像データDinの割合Rdを算出する。具体的には、判定対象の入力画像データDinに対応する出力データDoutの値Vo1が閾値TH1以上である場合には、判定対象の入力画像データDinは、純正インクセットを示すと判定される。対応する出力データDoutの値Vo1が閾値TH1未満である場合には、判定対象の入力画像データDinは、非純正インクセットを示すと判定される。純正インクセットを示すと判定された入力画像データDinの個数を、機械学習モデルDNに入力された入力画像データDinの総数で除した値が、割合Rdとして算出される。 In S135, the CPU 210 uses a plurality of output data Douts to calculate the ratio Rd of the input image data Din determined to indicate the genuine ink set. Specifically, when the value Vo1 of the output data Dout corresponding to the input image data Din to be determined is equal to or higher than the threshold value TH1, it is determined that the input image data Din to be determined indicates a genuine ink set. When the value Vo1 of the corresponding output data Dout is less than the threshold value TH1, it is determined that the input image data Din to be determined indicates a non-genuine ink set. The value obtained by dividing the number of input image data bins determined to indicate the genuine ink set by the total number of input image data bins input to the machine learning model DN is calculated as the ratio Rd.

S140では、CPU210は、算出された割合Rdが閾値TH2以上であるか否かを判断する。割合Rdが閾値TH2以上である場合には(S140:YES)、S150にて、CPU210は、プリンタ400のインクセットは純正インクセットであると特定する。割合Rdが閾値TH2未満である場合には(S140:NO)、S145にて、CPU210は、プリンタ400のインクセットは非純正インクセットであると特定する。 In S140, the CPU 210 determines whether or not the calculated ratio Rd is equal to or greater than the threshold value TH2. When the ratio Rd is equal to or higher than the threshold value TH2 (S140: YES), the CPU 210 specifies that the ink set of the printer 400 is a genuine ink set in S150. When the ratio Rd is less than the threshold value TH2 (S140: NO), in S145, the CPU 210 specifies that the ink set of the printer 400 is a non-genuine ink set.

A−4.機械学習モデルDNのトレーニング
上述した機械学習モデルDNは、入力画像データDinが入力された場合に、所望の出力データDoutを生成できるように、事前にトレーニングされている。以下では、機械学習モデルDNのトレーニングについて説明する。これらの機械学習モデルDNのトレーニングは、例えば、プリンタ400を製造する事業者によって実行される。
A-4. Training of Machine Learning Model DN The machine learning model DN described above is pre-trained so that when the input image data Din is input, the desired output data Dout can be generated. The training of the machine learning model DN will be described below. Training of these machine learning model DNs is performed, for example, by a business operator who manufactures the printer 400.

図9は、機械学習モデルDNのトレーニングの工程を示すフローチャートである。S410では、CPU210は、純正インクセットを用いて、複数個の入力画像データDin1、例えば、数千個の入力画像データDin1を生成する。入力画像データDin1の生成は、図4のS100〜S120を複数回繰り返すことによって行われる。この際に図4のS105では、純正インクセットをプリンタ400のカートリッジ装着部150に装着して、テスト画像TIの印刷が行われる。 FIG. 9 is a flowchart showing a training process of the machine learning model DN. In S410, the CPU 210 uses a genuine ink set to generate a plurality of input image data Din1, for example, thousands of input image data Din1. The input image data Din1 is generated by repeating S100 to S120 of FIG. 4 a plurality of times. At this time, in S105 of FIG. 4, the genuine ink set is mounted on the cartridge mounting portion 150 of the printer 400, and the test image TI is printed.

S420では、CPU210は、非純正インクセットを用いて、複数個の入力画像データDin2、例えば、数千個の入力画像データDin2を生成する。入力画像データDin2の生成は、図4のS100〜S120を複数回繰り返すことによって行われる。この際に図4のS105では、非純正インクセットをプリンタ400のカートリッジ装着部150に装着して、テスト画像TIの印刷が行われる。非純正インクセットとしては、4色のインクのうちの1色が非純正インクであるインクセット、4色のインクのうちの2色が非純正インクであるインクセット、4色のインクのうちの3色が非純正インクであるインクセット、4色のインクの全てが非純正インクであるインクセットの全てのパターンが用いられる。 In S420, the CPU 210 uses a non-genuine ink set to generate a plurality of input image data Din2, for example, thousands of input image data Din2. The input image data Din2 is generated by repeating S100 to S120 of FIG. 4 a plurality of times. At this time, in S105 of FIG. 4, the non-genuine ink set is mounted on the cartridge mounting portion 150 of the printer 400, and the test image TI is printed. As a non-genuine ink set, one of the four color inks is a non-genuine ink set, and two of the four color inks are non-genuine inks. All patterns of the ink set in which the three colors are non-genuine ink and the ink set in which all the four color inks are non-genuine ink are used.

S430では、CPU210は、生成された複数個の入力画像データDin1、Din2のそれぞれに対応する教師データを生成する。教師データは、対応する入力画像データDin1、Din2によって示される入力パッチIPの印刷に用いられたインクセットの属性を正しく示す理想的な出力データDoutである。S410にて生成された入力画像データDin1には、純正インクセットを示す教師データが対応付けられ、S420にて生成された入力画像データDin2には、非純正インクセットを示す教師データが対応付けられる。生成された教師データは、入力画像データDin1、Din2と対応付けて、不揮発性記憶装置230に格納される。 In S430, the CPU 210 generates teacher data corresponding to each of the generated plurality of input image data Din1 and Din2. The teacher data is ideal output data Dout that correctly indicates the attributes of the ink set used for printing the input patch IP indicated by the corresponding input image data Din1 and Din2. The input image data Din1 generated in S410 is associated with teacher data indicating a genuine ink set, and the input image data Din2 generated in S420 is associated with teacher data indicating a non-genuine ink set. .. The generated teacher data is stored in the non-volatile storage device 230 in association with the input image data Din1 and Din2.

S435では、CPU210は、機械学習モデルDNの複数個の演算パラメータを初期化する。例えば、これらの演算パラメータの初期値は、同一の分布(例えば、正規分布)から独立に取得された乱数に設定される。 In S435, the CPU 210 initializes a plurality of arithmetic parameters of the machine learning model DN. For example, the initial values of these arithmetic parameters are set to random numbers obtained independently from the same distribution (for example, normal distribution).

S440では、CPU210は、複数個の入力画像データDin1、Din2の中から、バッチサイズ分の入力画像データDinを選択する。例えば、複数個の入力画像データDin1、Din2は、V個(Vは2以上の整数、例えば、V=100)ずつの入力画像データをそれぞれ含む複数個のグループ(バッチ)に分割される。CPU210は、これらの複数個のグループから1個のグループを順次に選択することによって、V個の使用すべき入力画像データDinを選択する。これに代えて、V個ずつの入力画像データDinは、複数個の入力画像データDin1、Din2から、毎回、ランダムに選択されても良い。 In S440, the CPU 210 selects input image data Din for a batch size from a plurality of input image data Din1 and Din2. For example, a plurality of input image data Din1 and Din2 are divided into a plurality of groups (batch) each containing V input image data (V is an integer of 2 or more, for example, V = 100). The CPU 210 selects V input image data Dins to be used by sequentially selecting one group from the plurality of groups. Instead of this, V input image data Dins may be randomly selected from a plurality of input image data Din1 and Din2 each time.

S445では、CPU210は、選択されたV個の入力画像データDinを機械学習モデルDNに入力して、V個の出力データDoutを生成する。V個の出力データDoutは、純正インクセットの入力画像データDin1に対応する出力データDout1と、非純正インクの入力画像データDin2に対応する出力データDout2と、を含み得る。 In S445, the CPU 210 inputs the selected V input image data Dins into the machine learning model DN to generate V output data Douts. The V output data Douts may include output data Dout1 corresponding to the input image data Din1 of the genuine ink set and output data Dout2 corresponding to the input image data Din2 of the non-genuine ink.

S450では、CPU210は、V個の出力データDoutのそれぞれについて、出力データDoutと、該出力データDoutに対応する教師データと、の間の誤差値EVを算出する。誤差値EVは、所定の損失関数に基づいて算出される。例えば、誤差値EVの算出には、平均二乗誤差(MSE(Mean Squared Error))が用いられる。 In S450, the CPU 210 calculates an error value EV between the output data Dout and the teacher data corresponding to the output data Dout for each of the V output data Douts. The error value EV is calculated based on a predetermined loss function. For example, a mean squared error (MSE) is used to calculate the error value EV.

S455では、CPU210は、V個の誤差値EVを用いて、機械学習モデルDNの複数個の演算パラメータを調整する。具体的には、CPU210は、誤差値EVが小さくなるように、すなわち、出力データDoutと教師データとの差分が小さくなるように、所定のアルゴリズムに従って演算パラメータを調整する。所定のアルゴリズムには、例えば、誤差逆伝播法と勾配降下法とを用いたアルゴリズム(例えば、adam)が用いられる。 In S455, the CPU 210 adjusts a plurality of arithmetic parameters of the machine learning model DN by using V error values EV. Specifically, the CPU 210 adjusts the calculation parameters according to a predetermined algorithm so that the error value EV becomes small, that is, the difference between the output data Dout and the teacher data becomes small. As the predetermined algorithm, for example, an algorithm using the backpropagation method and the gradient descent method (for example, adam) is used.

S460では、CPU210は、トレーニングが完了したか否かを判断する。本実施例では、作業者からの完了指示が入力された場合にはトレーニングが完了したと判断し、トレーニングの継続指示が入力された場合にはトレーニングが完了していないと判断する。例えば、CPU210は、トレーニング用に用いられた入力画像データDinとは別の複数個のテスト用の入力画像データDinを、機械学習モデルDNに入力して、複数個の出力データDoutを生成する。作業者は、複数個の出力データDoutを評価して、トレーニングを終了するか否かを判断する。作業者は、確認結果に応じて、操作部240を介して、トレーニングの完了指示または継続指示を入力する。変形例では、例えば、S440〜S455の処理が所定回数だけ繰り返された場合に、トレーニングが完了されたと判断されても良い。 In S460, the CPU 210 determines whether or not the training has been completed. In this embodiment, it is determined that the training is completed when the completion instruction from the worker is input, and it is determined that the training is not completed when the training continuation instruction is input. For example, the CPU 210 inputs a plurality of test input image data Dins different from the input image data Din used for training into the machine learning model DN to generate a plurality of output data Douts. The operator evaluates the plurality of output data Douts to determine whether or not to end the training. The operator inputs a training completion instruction or a continuation instruction via the operation unit 240 according to the confirmation result. In the modified example, for example, when the processes of S440 to S455 are repeated a predetermined number of times, it may be determined that the training is completed.

トレーニングが完了していないと判断される場合には(S460:NO)、CPU210は、S440に処理を戻す。トレーニングが完了したと判断される場合には(S460:YES)、CPU210は、機械学習モデルDNのトレーニングを終了する。トレーニングが終了した時点で、機械学習モデルDNは、演算パラメータが調整された学習済みモデルになっている。したがって、このトレーニングは、学習済みの機械学習モデルDNを生成(製造)する処理である、と言うことができる。 If it is determined that the training has not been completed (S460: NO), the CPU 210 returns the process to S440. When it is determined that the training is completed (S460: YES), the CPU 210 ends the training of the machine learning model DN. At the end of training, the machine learning model DN is a trained model with adjusted arithmetic parameters. Therefore, it can be said that this training is a process of generating (manufacturing) a trained machine learning model DN.

本実施例のインクセットの属性の特定(図4)では、検出パッチTPを印刷する印刷工程(図4のS100、S105)と、スキャナ500のイメージセンサを用いて、検出パッチTPを示すスキャンデータを取得する第1画像取得工程(図4のS110)と、スキャンデータを用いて、印刷ヘッド110のCMYKの各ノズルNZの不具合を検出する検出工程(図4のS115)と、不具合の検出結果を用いて、プリンタ400を用いて印刷された入力パッチIPを示す入力画像データDinを取得する第2画像取得工程(図4のS100〜S110、S120)と、取得された入力画像データDinを用いて、CMYKのインクを含むインクセットの属性を特定する特定工程(図4のS130〜S150)と、が行われる。取得される入力画像データDinは、CMYKの不具合が生じていないノズルNZを用いて印刷された入力パッチIPを示す。 In specifying the attributes of the ink set of this embodiment (FIG. 4), the printing process for printing the detection patch TP (S100 and S105 in FIG. 4) and the scan data indicating the detection patch TP using the image sensor of the scanner 500 are used. First image acquisition step (S110 in FIG. 4), a detection step (S115 in FIG. 4) for detecting defects in each nozzle NZ of the CMYK of the print head 110 using scan data, and defect detection results. The second image acquisition step (S100 to S110, S120 in FIG. 4) for acquiring the input image data Din indicating the input patch IP printed by the printer 400 and the acquired input image data Din are used. Then, a specific step (S130 to S150 in FIG. 4) of specifying the attributes of the ink set containing the CMYK ink is performed. The acquired input image data Din indicates an input patch IP printed using the nozzle NZ in which the CMYK defect has not occurred.

本実施例によれば、検出パッチTPを示すスキャンデータを用いて、CMYKのノズルNZの不具合を検出するので、これらのノズルNZの不具合を精度良く検出できる。これらのノズルの不具合の検出結果を用いて、入力パッチIPを示す入力画像データDinを取得するので、不具合が生じていないノズルNZを用いて印刷された入力パッチIPを示す入力画像データDinを適切に取得することができる。そして、取得される入力画像データDinを用いて、インクセットの属性を特定するので、例えば、複数色のインクのドットで表現される色に差異が現れるようなインクセットの属性を精度良く特定することができる。したがって、プリンタ400にて用いられるインクセットの属性を適切に特定することができる。 According to this embodiment, since the defects of the nozzle NZ of CMYK are detected by using the scan data indicating the detection patch TP, the defects of these nozzles NZ can be detected with high accuracy. Since the input image data Din indicating the input patch IP is acquired by using the detection result of the defect of these nozzles, the input image data Din indicating the input patch IP printed using the nozzle NZ in which the defect does not occur is appropriate. Can be obtained in. Then, since the attributes of the ink set are specified using the acquired input image data Din, for example, the attributes of the ink set in which the color represented by the dots of the inks of a plurality of colors is different are specified with high accuracy. be able to. Therefore, the attributes of the ink set used in the printer 400 can be appropriately specified.

より詳しく説明する。例えば、入力パッチIPは、1色のインクを用いて印刷される単色部分を含まない。このために、入力パッチIPを印刷するノズルNZに不具合が発生していたとしても、入力パッチIPに白スジは現れにくい。このために、仮に入力パッチIPを示すスキャンデータを用いてノズルNZの不具合を検出しようとしても、精度良く不具合を検出することは困難である。本実施例では、単色部分Pc、Pm、Py、Pkを含む検出パッチTPを示すスキャンデータを用いて、CMYKのノズルNZの不具合を検出するので、これらのノズルNZの不具合を精度良く検出できる。 It will be explained in more detail. For example, the input patch IP does not include a monochromatic portion printed with one color of ink. Therefore, even if a problem occurs in the nozzle NZ that prints the input patch IP, white streaks are unlikely to appear in the input patch IP. Therefore, even if an attempt is made to detect a defect in the nozzle NZ using scan data indicating the input patch IP, it is difficult to detect the defect with high accuracy. In this embodiment, since the scan data indicating the detection patch TP including the monochromatic portions Pc, Pm, Py, and Pk is used to detect the defects of the nozzle NZ of CMYK, the defects of these nozzles NZ can be detected with high accuracy.

純正インクと非純正インクとでは、溶媒や添加物の成分や該成分の含有量が互いに異なるために、粘度などのインクの特性が異なる。純正インクと非純正インクとの間で、単色の色味が異なる場合には、仮に単色部分を含む検出パッチTPにも純正インクと非純正インクとの差異が現れ得る。しかしながら、純正インクと非純正インクとの間で、単色の色味には大きな差異がなく、粘度などの色味以外の特性に差異がある場合も多い。この場合には、例えば、単色部分には、多少の濃淡の差異しか現れない。この場合であっても、2色以上のインクを用いて印刷される混色部分Pr、Pg、Pb、Pblには、差異が現れやすい。例えば、粘度などの特性の違いに起因して、純正インクと非純正インクとの間でノズルNZから吐出されるインク量に差異があるとする。この場合には、例えば、MとYの純正インクを用いて印刷される混色部分Prと、Mの純正インクとCの非純正インクとを用いて印刷される混色部分Prと、の間では、Cドットの面積とMドットの面積との比率が異なるので、全体の色味に差異が現れる。また、純正インクと非純正インクとの間では、2色のドットが重なり合った場合のインクの混じり方、広がり方が異なる場合もある。このような場合にも、単色部分には現れない差異が混色部分に現れ得る。このように、混色部分には、純正インクと非純正インクとの間の単色の色味の差異に加えて、色味とは異なる特性に起因する差異が現れる。本実施例では、混色部分Pr、Pg、Pb、Plbを含む入力パッチIPを示す入力画像データDinを用いて、インクセットの属性を特定するので、純正インクと非純正インクとの間の単色の色味の差異がない場合であっても、他の特性に起因する差異に基づいて、インクセットの属性を精度良く特定することができる。 Since the components of the solvent and additives and the contents of the components are different between the genuine ink and the non-genuine ink, the characteristics of the ink such as the viscosity are different. If the monochromatic color is different between the genuine ink and the non-genuine ink, the difference between the genuine ink and the non-genuine ink may appear in the detection patch TP including the monochromatic portion. However, there is no big difference in the color tone of a single color between the genuine ink and the non-genuine ink, and there are many cases where there is a difference in characteristics other than the color tone such as viscosity. In this case, for example, only a slight difference in shade appears in the monochromatic portion. Even in this case, differences are likely to appear in the mixed color portions Pr, Pg, Pb, and Pbl printed using inks of two or more colors. For example, it is assumed that there is a difference in the amount of ink ejected from the nozzle NZ between genuine ink and non-genuine ink due to a difference in characteristics such as viscosity. In this case, for example, between the mixed color portion Pr printed using the genuine inks of M and Y and the mixed color portion Pr printed using the genuine ink of M and the non-genuine ink of C, Since the ratio of the area of C dots to the area of M dots is different, a difference appears in the overall color. Further, the genuine ink and the non-genuine ink may have different ways of mixing and spreading the ink when the dots of two colors overlap each other. Even in such a case, a difference that does not appear in the single color portion may appear in the mixed color portion. As described above, in the mixed color portion, in addition to the difference in the monochromatic tint between the genuine ink and the non-genuine ink, a difference due to a characteristic different from the tint appears. In this embodiment, since the attributes of the ink set are specified by using the input image data Din indicating the input patch IP including the mixed color portions Pr, Pg, Pb, and Plb, the attributes of the ink set are specified. Even when there is no difference in color, the attributes of the ink set can be accurately specified based on the difference caused by other characteristics.

しかしながら、仮に、入力パッチIPを印刷する際に不具合が生じているノズルNZが用いられているとすると、入力パッチIPには当該ノズルNZによって形成されるべきドットが形成さない。この結果、入力パッチIPには、ノズルNZの不具合に起因する差異と、純正インクと非純正インクとの間の差異と、が混在してしまう。ノズルNZの不具合に起因する差異と純正インクと非純正インクとの間の差異とを区別して、インクセットの属性を特定することは困難であるので、この場合には、入力パッチIPを示す入力画像データDinを用いたとしても、インクセットの属性の特定精度が低下してしまう。本実施例では、ノズルNZの不具合が精度良く検出され、不具合が生じていないノズルNZを用いて印刷された入力パッチIPを示す入力画像データDinが取得される。したがって、入力画像データDinを用いて、インクセットの属性を精度良く特定することができる。 However, if a nozzle NZ having a problem when printing the input patch IP is used, the dots to be formed by the nozzle NZ are not formed in the input patch IP. As a result, in the input patch IP, the difference due to the defect of the nozzle NZ and the difference between the genuine ink and the non-genuine ink are mixed. Since it is difficult to distinguish the difference caused by the defect of the nozzle NZ and the difference between the genuine ink and the non-genuine ink and specify the attribute of the ink set, in this case, the input indicating the input patch IP is input. Even if the image data Din is used, the accuracy of specifying the attributes of the ink set is lowered. In this embodiment, the defect of the nozzle NZ is detected with high accuracy, and the input image data Din indicating the input patch IP printed using the nozzle NZ in which the defect has not occurred is acquired. Therefore, the attributes of the ink set can be accurately specified by using the input image data DIN.

さらに、本実施例によれば、検出パッチTPと入力パッチIPとは、一の用紙Sに印刷される(図5)。仮に、検出パッチTPの印刷と、入力パッチIPの印刷と、が異なる用紙に印刷される場合には、検出パッチTPの印刷時と、入力パッチIPの印刷時と、の間で、ノズルNZの不具合の発生状況が異なる可能性がある。この場合には、不具合が生じていないノズルNZを用いて印刷された入力パッチIPを示す入力画像データDinを適切に取得できない可能性がある。本実施例では、このような不都合を抑制して、不具合が生じていないノズルNZを用いて印刷された入力パッチIPを示す入力画像データDinを適切に取得できる。 Further, according to this embodiment, the detection patch TP and the input patch IP are printed on one sheet S (FIG. 5). If the printing of the detection patch TP and the printing of the input patch IP are printed on different papers, the nozzle NZ will be printed between the time of printing the detection patch TP and the time of printing the input patch IP. The status of occurrence of defects may be different. In this case, there is a possibility that the input image data Din indicating the input patch IP printed using the nozzle NZ in which the defect has not occurred cannot be appropriately acquired. In this embodiment, such inconvenience can be suppressed, and the input image data Din indicating the input patch IP printed using the nozzle NZ in which no defect has occurred can be appropriately acquired.

さらに、本実施例によれば、複数個の入力パッチIPが用紙Sに印刷され(図5(A))、ノズルNZの不具合の検出結果を用いて、印刷された複数個の入力パッチIPの中から、取得すべき入力パッチIPが選択される(図8のS310〜S320)。そして、選択された1以上の入力パッチIPを示す入力画像データDinが取得される(図8のS330、S340)。この結果、不具合を有するノズルNZを用いて印刷された入力パッチIPを示す入力画像データDinが取得されることを適切に抑制できる。また、ノズルNZの不具合の検出後に、不具合の生じていないノズルNZを用いて、入力パッチIPを印刷する場合よりも、必要な印刷や読み取りの回数を低減できる。 Further, according to this embodiment, a plurality of input patch IPs are printed on the paper S (FIG. 5A), and the printed input patch IPs are printed using the detection result of the defect of the nozzle NZ. The input patch IP to be acquired is selected from the above (S310 to S320 in FIG. 8). Then, the input image data Din indicating one or more selected input patch IPs is acquired (S330, S340 in FIG. 8). As a result, it is possible to appropriately suppress the acquisition of the input image data Din indicating the input patch IP printed by using the defective nozzle NZ. Further, after the defect of the nozzle NZ is detected, the number of times of printing and reading required can be reduced as compared with the case of printing the input patch IP by using the nozzle NZ in which the defect has not occurred.

さらに、本実施例によれば、複数個の検出パッチTPが用紙Sに印刷され、複数個の入力パッチIPは、それぞれ、複数個の検出パッチTPのいずれかに対応付けられている(図5(A))。そして、入力画像データの取得処理(図8)では、印刷された複数個の検出パッチTPの中から、不具合が生じていないノズルNZを用いて印刷された検出パッチTP(合格と判定された検出パッチTP)が選択され(図8のS310)、選択された検出パッチTPに対応付けられた入力パッチIPが特定され(図8のS320)、特定された入力パッチIPを示す入力画像データDinが取得される(図8のS330、S340)。この結果、不具合が生じていないノズルNZを用いて印刷された入力パッチIPを示す入力画像データDinを容易に取得することができる。 Further, according to the present embodiment, a plurality of detection patch TPs are printed on the paper S, and the plurality of input patch IPs are each associated with any of the plurality of detection patch TPs (FIG. 5). (A)). Then, in the input image data acquisition process (FIG. 8), the detection patch TP printed using the nozzle NZ in which no defect has occurred (detection determined to pass) from the plurality of printed detection patch TPs. Patch TP) is selected (S310 in FIG. 8), the input patch IP associated with the selected detection patch TP is identified (S320 in FIG. 8), and the input image data Din indicating the identified input patch IP is It is acquired (S330, S340 in FIG. 8). As a result, it is possible to easily acquire the input image data Din indicating the input patch IP printed using the nozzle NZ in which no defect has occurred.

さらに、本実施例では、テスト画像TIにおいて、複数個の入力パッチIPは、それそれ、対応付けられた検出パッチTPの印刷に用いられたノズルを用いて印刷される。すなわち、互いに対応する入力パッチIPと検出パッチTPは、互いに同じノズルNZを用いて印刷されるパッチである。この結果、不具合が生じていないノズルNZを用いて印刷された入力パッチIPを示す入力画像データDinを適切に取得することができる。 Further, in this embodiment, in the test image TI, the plurality of input patch IPs are printed using the nozzles used to print the associated detection patch TPs. That is, the input patch IP and the detection patch TP corresponding to each other are patches printed using the same nozzle NZ. As a result, it is possible to appropriately acquire the input image data Din indicating the input patch IP printed using the nozzle NZ in which no defect has occurred.

さらに、上記実施例では、用紙Sにおいて、各入力パッチIPは、対応付けられた検出パッチTPから主走査方向に特定距離DS(図5(A))だけ離れた位置に印刷される(図5(A))。入力画像データDinの取得処理では、スキャン画像SIにおいて、不具合の検出結果を用いて選択された検出パッチTPから主走査方向(図5(A)の+X方向)に特定距離だけ離れた位置にある入力パッチIPが特定される。この結果、一の用紙Sを示すスキャンデータから、容易に適切な入力画像データを取得することができる。 Further, in the above embodiment, on the paper S, each input patch IP is printed at a position separated from the associated detection patch TP by a specific distance DS (FIG. 5 (A)) in the main scanning direction (FIG. 5). (A)). In the acquisition process of the input image data Din, the scan image SI is located at a position separated by a specific distance in the main scanning direction (+ X direction in FIG. 5A) from the detection patch TP selected using the defect detection result. The input patch IP is identified. As a result, appropriate input image data can be easily obtained from the scan data indicating one sheet S.

さらに、上記実施例では、図5(A)に示すように、印刷された複数個の入力パッチIPの搬送方向AR(図5(A)のY方向)の位置は、入力パッチIPの搬送方向ARの長さHiよりも短い長さΔHずつずれている。この結果、印刷ヘッド110のノズル群に対して多数の入力パッチIPを準備できる。したがって、例えば、不具合が生じているノズルNZの個数が比較的多い場合であっても、不具合が生じていないノズルNZを用いて印刷された入力パッチIPを示す入力画像データDinを取得できる確率を向上できる。 Further, in the above embodiment, as shown in FIG. 5 (A), the position of the printed input patch IP in the transport direction AR (Y direction in FIG. 5 (A)) is the transport direction of the input patch IP. It is deviated by a length ΔH shorter than the AR length Hi. As a result, a large number of input patch IPs can be prepared for the nozzle group of the print head 110. Therefore, for example, even when the number of defective nozzles NZ is relatively large, the probability that the input image data Din indicating the input patch IP printed using the defective nozzles NZ can be obtained can be obtained. Can be improved.

さらに、上記実施例では、検出パッチTPは、印刷に用いられるCMYKの4色のインクと一対一で対応する4個の単色部分Pc、Pm、Py、Pkを含む(図5(B))。4個の単色部分Pc、Pm、Py、Pkは、それぞれ、4色のインクのうちの対応する1色のインクのドットを含み、対応しない3色のインクのドットを含まない部分である。そして、入力パッチIPは、それぞれが4色のインクのうちの2色以上のインクに対応する4個の混色部分Pr、Pg、Pb、Pblを含む(図5(C))。4個の混色部分Pr、Pg、Pb、Pblは、それぞれ、4色のインクのうちの対応する2色以上のインクのドットを含み、対応しない色のインクのドットを含まない部分である。CMYKの4色のインクのそれぞれは、M個の4個の混色部分Pr、Pg、Pb、Pblの少なくとも1個と対応している。この結果、CMYKの4色のインクの少なくとも1個が非純正インクである場合には、非純正インクの特性に起因する特徴が4個の混色部分Pr、Pg、Pb、Pblの少なくとも1個に現れる。したがって、CMYKの4色のインクから成るインクセットの属性を適切に特定することができる。 Further, in the above embodiment, the detection patch TP includes four monochromatic portions Pc, Pm, Py, and Pk that correspond one-to-one with the four color inks of CMYK used for printing (FIG. 5 (B)). Each of the four monochromatic portions Pc, Pm, Py, and Pk is a portion containing dots of the corresponding one color ink of the four color inks and not including dots of the uncorresponding three color inks. Then, the input patch IP includes four mixed color portions Pr, Pg, Pb, and Pbl, each of which corresponds to two or more color inks of the four color inks (FIG. 5 (C)). Each of the four color-mixed portions Pr, Pg, Pb, and Pbl is a portion containing dots of two or more corresponding inks of the four color inks and not including dots of inks of uncorresponding colors. Each of the four color inks of CMYK corresponds to at least one of M four mixed color portions Pr, Pg, Pb, and Pbl. As a result, when at least one of the four color inks of CMYK is a non-genuine ink, the feature due to the characteristics of the non-genuine ink becomes at least one of the four mixed color portions Pr, Pg, Pb, and Pbl. appear. Therefore, the attributes of the ink set composed of the four colors of CMYK ink can be appropriately specified.

さらに、上記実施例では、印刷に用いられる4色のインクは、無彩色のインクであるKインクと、有彩色のインクである3色のインク(CMYKのインク)と、を含む。そして、検出パッチTPは、Kインクのドットを用いて無彩色を表現する単色部分Pkを含み(図5(B))、入力パッチIPは、無彩色のKインクと有彩色のCMYインクとを用いて無彩色を表現する混色部分Pblを含む(図5(C))。例えば、単色部分Pkを解析することで、Kインクを吐出するノズルNZに不具合が生じているか否かを精度良く判定できる。また、CMYKのインクに非純正インクが含まれていれば、入力パッチIPにおいて、混色部分Pblの色味が無彩色からずれる等の差異が現れるので、インクセットの属性を適切に特定することができる。したがって、無彩色のインクと有彩色の2色以上のインクとを含むインクセットの属性を適切に特定することができる。 Further, in the above embodiment, the four-color ink used for printing includes K ink, which is an achromatic ink, and three-color ink (CMYK ink), which is a chromatic ink. The detection patch TP includes a monochromatic portion Pk that expresses an achromatic color using dots of K ink (FIG. 5 (B)), and the input patch IP contains achromatic K ink and chromatic CMY ink. It includes a mixed color portion Pbl that is used to express an achromatic color (FIG. 5 (C)). For example, by analyzing the monochromatic portion Pk, it is possible to accurately determine whether or not a defect has occurred in the nozzle NZ that ejects K ink. In addition, if the CMYK ink contains non-genuine ink, differences such as the color tone of the mixed color portion Pbl deviating from the achromatic color appear in the input patch IP, so it is necessary to appropriately specify the attributes of the ink set. can. Therefore, the attributes of the ink set including the achromatic ink and the two or more chromatic inks can be appropriately specified.

さらに、上記実施例では、入力画像データDinが機械学習モデルDNに入力され、機械学習モデルDNの出力データDoutに基づいて、インクセットの属性が特定される(図4のS130〜S150)。この結果、機械学習モデルDNを用いて、インクセットの属性を適切に特定することができる。例えば、目視や、機械学習モデルDNを用いない手法(例えば、ヒストグラム分析)では、インクセットが非純正インクを含むか否かを判断できない場合であっても、インクセットの属性を特定できる。 Further, in the above embodiment, the input image data Din is input to the machine learning model DN, and the attributes of the ink set are specified based on the output data Dout of the machine learning model DN (S130 to S150 in FIG. 4). As a result, the attributes of the ink set can be appropriately specified using the machine learning model DN. For example, by visual inspection or a method that does not use the machine learning model DN (for example, histogram analysis), the attributes of the ink set can be specified even when it cannot be determined whether or not the ink set contains non-genuine ink.

さらに、上記実施例のトレーニング処理(図9)では、図4のインクセットの属性の特定時と同様の方法で取得された入力画像データDinを用いて、機械学習モデルDNのトレーニングが実行される(図9のS410、S420)。この結果、不具合が生じていないノズルNZを用いて印刷された入力パッチIPを示す入力画像データDinを用いて、機械学習モデルDNをトレーニングできる。すなわち、ノズルNZの不具合に起因する差異を含まず、非純正インクと純正インクとの差異を含む入力パッチIPを示す入力画像データDinを用いて、機械学習モデルDNをトレーニングできる。したがって、インクセットの属性を精度良く特定できるように、機械学習モデルDNをトレーニングできる。 Further, in the training process (FIG. 9) of the above embodiment, the training of the machine learning model DN is executed using the input image data Din acquired in the same manner as when the attributes of the ink set of FIG. 4 are specified. (S410, S420 in FIG. 9). As a result, the machine learning model DN can be trained using the input image data Din indicating the input patch IP printed using the nozzle NZ in which no defect has occurred. That is, the machine learning model DN can be trained by using the input image data Din indicating the input patch IP including the difference between the non-genuine ink and the genuine ink without including the difference due to the defect of the nozzle NZ. Therefore, the machine learning model DN can be trained so that the attributes of the ink set can be identified accurately.

以上の説明から解るように、例えば、本実施例のCインクは、第1色のインクの例であり、Mインクは、第2色のインクの例であり、ノズル列NCは、第1ノズル群の例であり、ノズル列NMは、第2ノズル群の例である。また、検出パッチTPは、第1画像の例であり、入力パッチIPは、第2画像の例である。スキャンデータのうち、検出パッチTPを示すデータは、第1画像データの例であり、入力画像データDinは、第2画像データの例である。 As can be seen from the above description, for example, the C ink of this embodiment is an example of the first color ink, the M ink is an example of the second color ink, and the nozzle row NC is the first nozzle. An example of a group, the nozzle row NM is an example of a second nozzle group. The detection patch TP is an example of the first image, and the input patch IP is an example of the second image. Among the scan data, the data indicating the detection patch TP is an example of the first image data, and the input image data Din is an example of the second image data.

B.変形例:
(1)上記実施例のテスト画像TI(図5(A))は、一例であり、これに限られない。図10は、変形例のテスト画像TIbの一例を示す図である。図10のテスト画像TIbは、複数個の検出パッチTP(図5(A))に代えて、1個の検出パッチTPbを含んでいる。テスト画像TIbの他の構成は、図5(A)のテスト画像TIと同じである。
B. Modification example:
(1) The test image TI (FIG. 5 (A)) of the above embodiment is an example and is not limited thereto. FIG. 10 is a diagram showing an example of a test image TIb of a modified example. The test image TIb of FIG. 10 contains one detection patch TPb instead of the plurality of detection patch TPs (FIG. 5 (A)). Other configurations of the test image TIb are the same as those of the test image TI of FIG. 5 (A).

図10の検出パッチTPbは、搬送方向ARに延びる帯状の画像であり、ヘッド位置P1にある印刷ヘッド110の全てのノズルNZを用いて印刷される。このために、検出パッチTPbの搬送方向ARの長さは、ノズル長D(図2(B))とほぼ等しい。検出パッチTPbは、図5(B)の検出パッチTPと同様に、CMYKのインクに対応する4個の単色部分(図示省略)を備えており、各単色部分は、検出パッチTPbの搬送方向ARの全長に亘って延びる帯状の部分である。 The detection patch TPb of FIG. 10 is a strip-shaped image extending in the transport direction AR, and is printed by using all the nozzles NZ of the print head 110 at the head position P1. Therefore, the length of the detection patch TPb in the transport direction AR is substantially equal to the nozzle length D (FIG. 2B). Similar to the detection patch TP of FIG. 5B, the detection patch TPb includes four monochromatic portions (not shown) corresponding to the ink of CMYK, and each monochromatic portion has a transport direction AR of the detection patch TPb. It is a band-shaped part that extends over the entire length of the ink.

図10のテスト画像TIbが用いられる場合には、CPU210は、図4のS115にて、検出パッチTPbの各単色部分において白スジを探索することによって、CMYKのノズル群のノズルに不具合が生じているか否かを検出する。CPU210は、白スジが検出された場合には、検出された白スジの搬送方向ARの座標(Y座標)を記憶する。CPU210は、図4のS120にて、白スジが位置する搬送方向ARの座標に配置されている入力パッチIPを取得対象から除き、白スジが位置する搬送方向ARの座標とは異なる座標に配置されている入力パッチIPを取得対象として特定する。CPU210は、取得対象とされた入力パッチIPを示す入力画像データDinを取得し、該入力画像データDinを用いて、インクセットの属性を特定する。 When the test image TIb of FIG. 10 is used, the CPU 210 searches for white streaks in each monochromatic portion of the detection patch TPb in S115 of FIG. Detects whether or not. When the white streaks are detected, the CPU 210 stores the coordinates (Y coordinates) of the detected white streaks in the transport direction AR. In S120 of FIG. 4, the CPU 210 excludes the input patch IP arranged at the coordinates of the transport direction AR where the white streaks are located from the acquisition target, and arranges them at coordinates different from the coordinates of the transport direction AR where the white streaks are located. The input patch IP that has been specified is specified as the acquisition target. The CPU 210 acquires the input image data Din indicating the input patch IP to be acquired, and uses the input image data Din to specify the attribute of the ink set.

本変形例のように、検出パッチと入力パッチとは、一対一で対応付けられていなくても良い。また、検出パッチと入力パッチとは、完全に同じノズルNZを用いて印刷されていなくても良い。例えば、図10のように、入力パッチIPは、検出パッチTPbの印刷に用いられたノズルNZのうちの一部のノズルNZを用いて印刷されていても良い。 As in this modification, the detection patch and the input patch do not have to be associated with each other on a one-to-one basis. Further, the detection patch and the input patch do not have to be printed using exactly the same nozzle NZ. For example, as shown in FIG. 10, the input patch IP may be printed using some nozzles NZ among the nozzles NZ used for printing the detection patch TPb.

さらに、図10のテスト画像TIbは、複数個の入力パッチIPに代えて、検出パッチTPbと同様に、搬送方向ARに延びる帯状の1個の入力画像が配置されても良い。この1個の帯状の入力画像は、ヘッド位置P1にある印刷ヘッド110の全てのノズルNZを用いて印刷される。1個の帯状の入力画像は、図5(C)の入力パッチIPと同様に、4個の混色部分(図示省略)を備えており、各混色部分は、入力画像の搬送方向ARの全長に亘って延びる帯状の部分である。この場合には、CPU210は、1個の帯状の入力画像から、白スジが位置する搬送方向ARの座標を含まないように、矩形の入力パッチをクロッピングし、該入力パッチを示す入力画像データDinを取得する。 Further, in the test image TIb of FIG. 10, instead of the plurality of input patch IPs, one strip-shaped input image extending in the transport direction AR may be arranged as in the detection patch TPb. This one strip-shaped input image is printed using all the nozzles NZ of the print head 110 at the head position P1. As with the input patch IP of FIG. 5C, one strip-shaped input image includes four color mixing portions (not shown), and each color mixing portion covers the entire length of the input image in the transport direction AR. It is a strip-shaped part that extends over. In this case, the CPU 210 crops a rectangular input patch from one strip-shaped input image so as not to include the coordinates of the transport direction AR where the white streaks are located, and the input image data Din indicating the input patch. To get.

(2)上記実施例では、複数個の検出パッチTPと、複数個の入力パッチIPとは、一の用紙Sに印刷されている。これに限らず、複数個の検出パッチTPは、第1の用紙に印刷され、複数個の入力パッチIPとは、第2の用紙に印刷されても良い。この場合には、例えば、複数個の入力パッチIPは、それぞれ、対応する検出パッチTPが第1の用紙に印刷される際に用いられたノズルNZを用いて、第2の用紙に印刷される。この場合には、CPU210は、検出パッチTPを示す第1スキャンデータと、入力パッチIPを示す第2スキャンデータと、を取得する。CPU210は、第1スキャンデータを用いて、図4のS115のノズル詰まりの検出処理を実行し、各検出パッチTPが合格であるか不合格であるかを判定する。CPU210は、合格と判定された検出パッチTPに対応する入力パッチIPを示す入力画像データDinを、第2スキャンデータから取得する。 (2) In the above embodiment, the plurality of detection patch TPs and the plurality of input patch IPs are printed on one sheet S. Not limited to this, the plurality of detection patch TPs may be printed on the first paper, and the plurality of input patch IPs may be printed on the second paper. In this case, for example, the plurality of input patch IPs are each printed on the second paper using the nozzle NZ used when the corresponding detection patch TP was printed on the first paper. .. In this case, the CPU 210 acquires the first scan data indicating the detection patch TP and the second scan data indicating the input patch IP. The CPU 210 uses the first scan data to execute the nozzle clogging detection process of S115 in FIG. 4, and determines whether each detection patch TP passes or fails. The CPU 210 acquires the input image data Din indicating the input patch IP corresponding to the detection patch TP determined to pass from the second scan data.

(3)また、CPU210は、図10に示す帯状の検出パッチTPbのみを示すスキャンデータを用いて、不具合が生じているノズルNZを検出しても良い。この場合には、CPU210は、検出された不具合が生じているノズルNZを用いずに、不具合が生じていないノズルNZだけを用いて、複数個の入力パッチIPを印刷するように、印刷データを生成する。CPU210は、該印刷データを用いて複数個の入力パッチIPを印刷し、印刷された複数個の入力パッチIPをスキャナ500に読み取らせてスキャンデータを生成させる。CPU210は、該スキャンデータから複数個の入力パッチIPを示す複数個の入力画像データDinを取得する。 (3) Further, the CPU 210 may detect the defective nozzle NZ by using the scan data showing only the band-shaped detection patch TPb shown in FIG. In this case, the CPU 210 prints the print data so as to print a plurality of input patch IPs using only the nozzle NZ in which the defect has not occurred, without using the nozzle NZ in which the detected defect has occurred. Generate. The CPU 210 prints a plurality of input patch IPs using the print data, and causes the scanner 500 to read the printed plurality of input patch IPs to generate scan data. The CPU 210 acquires a plurality of input image data Dins indicating a plurality of input patch IPs from the scan data.

(4)図5(A)のテスト画像TIにおいて、複数個の入力パッチIPの搬送方向ARの位置は、入力パッチIPの搬送方向ARの長さHiより短い長さずつずれている。これに代えて、複数個の入力パッチIPの搬送方向ARの位置は、入力パッチIPの搬送方向ARの長さHi以上の長さずつずれていても良い。この場合には、複数個の入力パッチIPのX方向の位置は、互いに同じであっても良い。複数個の検出パッチTPの搬送方向ARの位置についても同様である。 (4) In the test image TI of FIG. 5A, the positions of the transport direction ARs of the plurality of input patch IPs are deviated by a length shorter than the length Hi of the transport direction ARs of the input patch IPs. Instead of this, the positions of the transport direction ARs of the plurality of input patch IPs may be deviated by a length equal to or greater than the length Hi of the transport direction ARs of the input patch IPs. In this case, the positions of the plurality of input patch IPs in the X direction may be the same as each other. The same applies to the positions of the transport direction ARs of the plurality of detection patch TPs.

上記実施例のプリンタ400で用いられるインクセットは、CMYKの4色のインクから成る。これに限らず、プリンタ400で用いられるインクセットは、CMYの3色のインクのみを含んでも良いし、CMYKに加えて、ライトシアンやライトマゼンタを含む5色のインクを含んでも良い。一般的には、プリンタ400は、N色(Nは3以上の整数)のインクを用いて印刷を行う装置であることが好ましい。そして、検出パッチTPは、N個の部分であってN色のインクと一対一で対応するN個の単色部分を含むことが好ましい。入力パッチIPは、それぞれがN色のインクのうちの2色以上のインクに対応するM個(Mは2以上の整数)の単色部分を含むことが好ましい。 The ink set used in the printer 400 of the above embodiment consists of four colors of CMYK ink. Not limited to this, the ink set used in the printer 400 may include only three color inks of CMY, or may contain five color inks including light cyan and light magenta in addition to CMYK. In general, the printer 400 is preferably a device that prints using ink of N colors (N is an integer of 3 or more). The detection patch TP preferably includes N monochromatic portions that correspond one-to-one with N-color inks. The input patch IP preferably includes M monochromatic portions (M is an integer of 2 or more) corresponding to two or more color inks of the N color inks.

(5)上記実施例のトレーニング処理(図10)では、機械学習モデルDNは、純正インクセットと非純正インクセットとの2種類のクラスの入力画像データ群を用いて、該2種類のクラスを識別するようにトレーニングされている。これに限らず、機械学習モデルDNは、3種類以上のクラスの入力画像データ群を用いて、該3種類以上のクラスを識別するようにトレーニングされても良い。3種類以上のクラスは、例えば、メーカーが互いに異なる3種類以上のインクセットであっても良い。この場合には、図4のインクセットの属性の特定では、対象のインクセットの属性は、3種類以上のクラスの中から特定されても良い。 (5) In the training process (FIG. 10) of the above embodiment, the machine learning model DN uses the input image data groups of two types of classes, the genuine ink set and the non-genuine ink set, to perform the two types of classes. Trained to identify. Not limited to this, the machine learning model DN may be trained to identify the three or more classes by using the input image data group of three or more classes. The three or more classes may be, for example, three or more ink sets from different manufacturers. In this case, in specifying the attributes of the ink set of FIG. 4, the attributes of the target ink set may be specified from three or more types of classes.

(6)上記実施例では、テスト画像TIが印刷される印刷媒体は用紙Sであるが、これに限られない。例えば、インクの特性の差異が現れやすい他の印刷媒体が存在する場合には、他の印刷媒体(例えば、樹脂やガラスなどで形成されたシートや板)であっても良い。 (6) In the above embodiment, the print medium on which the test image TI is printed is paper S, but the present invention is not limited to this. For example, when there is another printing medium in which the difference in ink characteristics is likely to appear, another printing medium (for example, a sheet or plate made of resin, glass, or the like) may be used.

(7)上記実施例では、印刷されたテスト画像TIを示す画像データは、スキャナ500を用いて生成されるスキャンデータである。これに代えて、印刷されたテスト画像TIを示す画像データは、2次元イメージセンサを備えるデジタルカメラを用いて、用紙Sを撮影して得られる撮影画像データであっても良い。 (7) In the above embodiment, the image data showing the printed test image TI is scan data generated by using the scanner 500. Instead, the image data indicating the printed test image TI may be captured image data obtained by photographing the paper S using a digital camera provided with a two-dimensional image sensor.

(8)上記実施例の機械学習モデルDN(図3)の構成は一例であり、これに限られない。例えば、機械学習モデルDNにおいて、畳込層や全結合層の層数は、適宜に変更されて良い。また、機械学習モデルDNの各層で出力された値に対して実行される後処理も適宜に変更され得る。例えば、後処理に用いられる活性化関数は、任意の関数、例えば、ReLU、LeakyReLU、PReLU、ソフトマックス、シグモイドが用いられ得る。また、バッチノーマリゼイション、ドロップアウトなどの処理が後処理として適宜に追加や省略がされ得る。 (8) The configuration of the machine learning model DN (FIG. 3) of the above embodiment is an example, and is not limited to this. For example, in the machine learning model DN, the number of layers of the convolution layer and the fully connected layer may be changed as appropriate. In addition, the post-processing executed for the values output in each layer of the machine learning model DN can be changed as appropriate. For example, as the activation function used for post-processing, any function such as ReLU, LeakyReLU, PRELU, Softmax, and Sigmoid can be used. In addition, processes such as batch normalization and dropout can be added or omitted as post-processing as appropriate.

(9)上記実施例の機械学習モデルDNのトレーニング(図10)は、一例であり、適宜に変更され得る。例えば、誤差値EVには、平均二乗誤差が用いられているが、これに代えて、他の種類の誤差値が用いられても良い。例えば、誤差値EVには、クロスエントロピー誤差や平均絶対誤差が用いられても良い。 (9) The training of the machine learning model DN of the above embodiment (FIG. 10) is an example and can be changed as appropriate. For example, the mean square error is used for the error value EV, but other types of error values may be used instead. For example, a cross entropy error or a mean absolute error may be used for the error value EV.

(10)図1のデータ処理装置200のハードウェア構成は、一例であり、これに限られない。例えば、データ処理装置200のプロセッサは、CPUに限らず、GPU(Graphics Processing Unit)やASIC(application specific integrated circuit)、あるいは、これらとCPUとの組み合わせであっても良い。また、データ処理装置200は、ネットワークを介して互いに通信可能な複数個の計算機(例えば、いわゆるクラウドサーバ)であっても良い。 (10) The hardware configuration of the data processing device 200 of FIG. 1 is an example, and is not limited thereto. For example, the processor of the data processing device 200 is not limited to the CPU, but may be a GPU (Graphics Processing Unit), an ASIC (application specific integrated circuit), or a combination of these and a CPU. Further, the data processing device 200 may be a plurality of computers (for example, a so-called cloud server) capable of communicating with each other via a network.

(10)上記各実施例において、ハードウェアによって実現されていた構成の一部をソフトウェアに置き換えるようにしてもよく、逆に、ソフトウェアによって実現されていた構成の一部あるいは全部をハードウェアに置き換えるようにしてもよい。例えば、機械学習モデルDNは、プログラムモジュールに代えて、ASIC(Application Specific Integrated Circuit)等のハードウェア回路によって実現されてよい。 (10) In each of the above embodiments, a part of the configuration realized by the hardware may be replaced with software, and conversely, a part or all of the configuration realized by the software may be replaced with the hardware. You may do so. For example, the machine learning model DN may be realized by a hardware circuit such as an ASIC (Application Specific Integrated Circuit) instead of the program module.

以上、実施例、変形例に基づき本発明について説明してきたが、上記した発明の実施の形態は、本発明の理解を容易にするためのものであり、本発明を限定するものではない。本発明は、その趣旨並びに特許請求の範囲を逸脱することなく、変更、改良され得ると共に、本発明にはその等価物が含まれる。 Although the present invention has been described above based on Examples and Modifications, the above-described embodiments of the invention are for facilitating the 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 claims, and the present invention includes equivalents thereof.

100…印刷機構,1000…インク特定システム,110…印刷ヘッド,111…ノズル形成面,120…ヘッド駆動部,130…主走査部,133…キャリッジ,134…摺動軸,140…搬送部,141…下流ローラ対,142…上流ローラ対,145…用紙台,150…カートリッジ装着部,200…データ処理装置,210…CPU,220…揮発性記憶装置,230…不揮発性記憶装置,240…操作部,250…表示部,270…通信インタフェース,305…入力層,310…第1畳込層,320…第1プーリング層,330…第2畳込層,340…第2プーリング層,350…第1全結合層,360…第2全結合層,370…第3全結合層,400…プリンタ,410…制御装置,420C,420M,430Y,420K…インクカートリッジ,500…スキャナ,AR…搬送方向,DS…距離,DN…機械学習モデル,Din…入力画像データ,Dout…出力データ,EV…誤差値,IP…入力パッチ,NC,NM,NY,NK…ノズル列,NZ…ノズル,PG…コンピュータプログラム,Pr,Pg,Pb,Pbl…混色部分,Pc,Pm,Py,Pk…単色部分,S…用紙,SI…スキャン画像,TD…テスト画像データ,TI,TIb…テスト画像,TP,TPb…検出パッチ 100 ... Printing mechanism, 1000 ... Ink identification system, 110 ... Printing head, 111 ... Nozzle forming surface, 120 ... Head drive unit, 130 ... Main scanning unit, 133 ... Carriage, 134 ... Sliding shaft, 140 ... Conveying unit, 141 ... Downstream roller pair, 142 ... Upstream roller pair, 145 ... Paper stand, 150 ... Cartridge mounting unit, 200 ... Data processing device, 210 ... CPU, 220 ... Volatile storage device, 230 ... Non-volatile storage device, 240 ... Operation unit , 250 ... Display unit, 270 ... Communication interface, 305 ... Input layer, 310 ... First convolution layer, 320 ... First pooling layer, 330 ... Second convolution layer, 340 ... Second pooling layer, 350 ... First Fully bonded layer, 360 ... 2nd fully bonded layer, 370 ... 3rd fully bonded layer, 400 ... Printer, 410 ... Control device, 420C, 420M, 430Y, 420K ... Ink cartridge, 500 ... Scanner, AR ... Transport direction, DS ... Distance, DN ... Machine learning model, Din ... Input image data, Dout ... Output data, EV ... Error value, IP ... Input patch, NC, NM, NY, NK ... Nozzle train, NZ ... Nozzle, PG ... Computer program, Pr, Pg, Pb, Pbl ... mixed color part, Pc, Pm, Py, Pk ... monochromatic part, S ... paper, SI ... scanned image, TD ... test image data, TI, TIb ... test image, TP, TPb ... detection patch

Claims (12)

第1色のインクを吐出する第1ノズル群と前記第1色とは異なる第2色のインクを吐出する第2ノズル群とを有する印刷ヘッドを備える印刷装置を用いて第1画像を印刷する印刷工程であって、前記第1画像は、前記第1色のインクのドットを含み、前記第2色のインクのドットを含まない第1部分と、前記第2色のインクのドットを含み、前記第1色のインクのドットを含まない第2部分と、を含む、前記印刷工程と、
イメージセンサを用いて、印刷された前記第1画像を示す第1画像データを取得する第1画像取得工程と、
前記第1画像データを用いて、前記第1ノズル群のノズルの不具合と前記第2ノズル群のノズルの不具合とを検出する検出工程と、
前記不具合の検出結果を用いて、前記印刷装置を用いて印刷された第2画像を示す第2画像データを取得する第2画像取得工程であって、前記第2画像は、前記第1色のインクのドットと前記第2色のインクのドットとを含む画像であり、前記第2画像データは、イメージセンサを用いて取得され、取得される前記第2画像データは、前記第1ノズル群の前記不具合が生じていないノズルと前記第2ノズル群の前記不具合が生じていないノズルとを用いて印刷された前記第2画像を示す、前記第2画像取得工程と、
取得された前記第2画像データを用いて、前記第1色のインクと前記第2色のインクとを含むインクセットの属性を特定する特定工程と、
を備える、インクセットの属性の特定方法。
The first image is printed using a printing apparatus including a printing head having a first nozzle group for ejecting ink of the first color and a second nozzle group for ejecting ink of a second color different from the first color. In the printing step, the first image includes a first portion containing the dots of the ink of the first color and not including the dots of the ink of the second color, and the dots of the ink of the second color. The printing process, which includes a second portion of the first color ink that does not contain dots.
A first image acquisition step of acquiring first image data indicating the printed first image using an image sensor, and
A detection step of detecting a defect of a nozzle of the first nozzle group and a defect of a nozzle of the second nozzle group using the first image data.
A second image acquisition step of acquiring second image data indicating a second image printed by the printing apparatus using the defect detection result, wherein the second image is of the first color. It is an image including dots of ink and dots of ink of the second color, the second image data is acquired by using an image sensor, and the acquired second image data is of the first nozzle group. The second image acquisition step of showing the second image printed by using the nozzle without the defect and the nozzle without the defect of the second nozzle group.
Using the acquired second image data, a specific step of specifying the attributes of the ink set including the first color ink and the second color ink, and
A method of identifying the attributes of an ink set.
請求項1に記載の特定方法であって、
前記第1画像と前記第2画像とは、一の印刷媒体に印刷される、特定方法。
The specific method according to claim 1.
A specific method in which the first image and the second image are printed on one print medium.
請求項1または2に記載の特定方法であって、
前記印刷工程では、さらに、複数個の前記第2画像を印刷し、
前記第2画像取得工程では、
前記不具合の検出結果を用いて、印刷された前記複数個の第2画像の中から、1以上の前記第2画像を選択し、
選択された前記1以上の第2画像を示す前記第2画像データを取得する、特定方法。
The specific method according to claim 1 or 2.
In the printing step, a plurality of the second images are further printed.
In the second image acquisition step,
Using the defect detection result, one or more of the second images are selected from the plurality of printed second images.
A specific method for acquiring the second image data showing the selected one or more second images.
請求項3に記載の特定方法であって、
前記印刷工程では、複数個の前記第1画像を印刷し、
前記複数個の第2画像は、それぞれ、前記複数個の第1画像のいずれかに対応付けられ、
前記第2画像取得工程では、
前記不具合の検出結果を用いて、印刷された前記複数個の第1画像の中から、前記第1ノズル群の前記不具合が生じていないノズルと前記第2ノズル群の前記不具合が生じていないノズルとを用いて印刷された1以上の前記第1画像を選択し、
選択された前記1以上の第1画像に対応付けられた1以上の前記第2画像を特定し、
特定された前記1以上の第2画像を示す前記第2画像データを取得する、特定方法。
The specific method according to claim 3.
In the printing step, a plurality of the first images are printed.
Each of the plurality of second images is associated with any of the plurality of first images.
In the second image acquisition step,
From the plurality of printed first images using the defect detection result, the nozzle in which the defect does not occur in the first nozzle group and the nozzle in which the defect does not occur in the second nozzle group. Select one or more of the first images printed using and
Identify one or more of the second images associated with the selected one or more first images.
A specific method for acquiring the second image data showing the specified one or more second images.
請求項4に記載の特定方法であって、
前記複数個の第2画像は、それぞれ、前記第1ノズル群に含まれる複数個のノズルのうち、対応付けられた前記第1画像の前記第1部分の印刷に用いられたノズルと、前記第2ノズル群に含まれる複数個のノズルのうち、対応付けられた前記第1画像の前記第2部分の印刷に用いられたノズルと、を用いて印刷される、特定方法。
The specific method according to claim 4.
The plurality of second images are the nozzle used for printing the first portion of the associated first image among the plurality of nozzles included in the first nozzle group, and the first nozzle, respectively. A specific method of printing using, among a plurality of nozzles included in a group of two nozzles, the nozzle used for printing the second portion of the first image associated with the nozzle.
請求項5に記載の特定方法であって、
前記第1ノズル群に含まれる複数個のノズルは、第1方向の位置が互いに異なり、
前記第2ノズル群に含まれる複数個のノズルは、前記第1方向の位置が互いに異なり、
前記複数個の第1画像と前記複数個の第2画像とは、一の印刷媒体に印刷され、
前記一の印刷媒体において、前記第2画像は、対応付けられた前記第1画像の位置から前記第1方向と交差する第2方向に特定距離だけ離れた位置に印刷され、
前記第1画像取得工程では、イメージセンサを用いて、前記複数個の第1画像と前記複数個の第2画像とが印刷された前記一の印刷媒体を含む画像を示す特定画像データを取得し、
前記検出工程では、前記特定画像データの一部である前記第1画像データを用いて、前記第1ノズル群のノズルの不具合と前記第2ノズル群のノズルの不具合とを検出し、
前記第2画像取得工程では、
前記特定画像データによって示される前記一の印刷媒体を含む画像において、前記不具合の検出結果を用いて選択された前記1以上の第1画像から前記第2方向に前記特定距離だけ離れた位置にある1以上の前記第2画像を特定し、
特定された前記1以上の第2画像を示す前記第2画像データを、前記特定画像データから取得する、特定方法。
The specific method according to claim 5.
The plurality of nozzles included in the first nozzle group have different positions in the first direction from each other.
The plurality of nozzles included in the second nozzle group have different positions in the first direction from each other.
The plurality of first images and the plurality of second images are printed on one printing medium.
In the one printing medium, the second image is printed at a position separated by a specific distance in the second direction intersecting the first direction from the position of the associated first image.
In the first image acquisition step, an image sensor is used to acquire specific image data indicating an image including the one print medium on which the plurality of first images and the plurality of second images are printed. ,
In the detection step, the defect of the nozzle of the first nozzle group and the defect of the nozzle of the second nozzle group are detected by using the first image data which is a part of the specific image data.
In the second image acquisition step,
In the image including the one print medium indicated by the specific image data, the image is located at a position separated by the specific distance in the second direction from the one or more first images selected by using the defect detection result. Identify one or more of the second images
A specific method for acquiring the second image data showing the specified one or more second images from the specific image data.
請求項3〜6のいずれかに記載の特定方法であって、
前記第1ノズル群に含まれる複数個のノズルは、第1方向の位置が互いに異なり、
前記第2ノズル群に含まれる複数個のノズルは、前記第1方向の位置が互いに異なり、
印刷された前記複数個の第2画像の前記第1方向の位置は、前記第2画像の前記第1方向の長さよりも短い特定長ずつずれている、特定方法。
The specific method according to any one of claims 3 to 6.
The plurality of nozzles included in the first nozzle group have different positions in the first direction from each other.
The plurality of nozzles included in the second nozzle group have different positions in the first direction from each other.
A specific method in which the positions of the plurality of printed second images in the first direction are deviated by a specific length shorter than the length of the second image in the first direction.
請求項1〜7のいずれかに記載の特定方法であって、
前記印刷装置は、前記第1色のインクと前記第2色のインクとを含むN色(Nは3以上の整数)のインクを用いて印刷を行う装置であり、
前記印刷ヘッドは、前記第1ノズル群と前記第2ノズル群とを含むN個のノズル群であって、前記N色のインクを吐出するN個のノズル群を有し、
前記第1画像は、前記第1部分と前記第2部分とを含むN個の部分であって前記N色のインクと一対一で対応する前記N個の部分を含み、
前記N個の部分は、それぞれ、前記N色のインクのうちの対応する1色のインクのドットを含み、対応しない(N−1)色のインクのドットを含まない部分であり、
前記第2画像は、それぞれが前記N色のインクのうちの2色以上のインクに対応するM個(Mは2以上の整数)の部分を含み、
前記M個の部分は、それぞれ、前記N色のインクのうちの対応する2色以上のインクのドットを含み、対応しない色のインクのドットを含まない部分であり、
前記N色のインクのそれぞれは、前記M個の部分の少なくとも1個と対応している、特定方法。
The specific method according to any one of claims 1 to 7.
The printing device is a device that prints using N color ink (N is an integer of 3 or more) including the first color ink and the second color ink.
The print head is an N nozzle group including the first nozzle group and the second nozzle group, and has N nozzle groups for ejecting the N color ink.
The first image includes N parts including the first part and the second part, and includes the N parts corresponding to the N color ink on a one-to-one basis.
Each of the N portions is a portion containing dots of the corresponding one color ink of the N color inks and not including dots of the uncorresponding (N-1) color ink.
The second image includes M parts (M is an integer of 2 or more) corresponding to two or more colors of the N color inks.
Each of the M portions is a portion containing dots of two or more colors of the corresponding inks of the N colors of ink and not including dots of inks of uncorresponding colors.
A specific method in which each of the N color inks corresponds to at least one of the M portions.
請求項8に記載の特定方法であって、
前記N色のインクは、無彩色のインクと、有彩色の2色以上のインクと、を含み、
前記第1画像の前記N個の部分は、前記無彩色のインクのドットを用いて無彩色を表現する部分を含み、
前記第2画像の前記M個の部分は、前記無彩色のインクと有彩色の2色以上のインクとを用いて無彩色を表現する部分を含む、特定方法。
The specific method according to claim 8.
The N-color ink includes an achromatic ink and two or more chromatic inks.
The N parts of the first image include a part for expressing an achromatic color using the dots of the achromatic ink.
A specific method, wherein the M portions of the second image include a portion that expresses an achromatic color using the achromatic ink and two or more chromatic inks.
請求項1〜9のいずれかに記載の特定方法であって、
前記特定工程では、前記第2画像データを機械学習モデルに入力し、前記機械学習モデルの出力データに基づいて、前記インクセットの属性を特定する、特定方法。
The specific method according to any one of claims 1 to 9.
In the specific step, a specific method in which the second image data is input to a machine learning model and the attributes of the ink set are specified based on the output data of the machine learning model.
印刷装置を用いて印刷された第1画像を示す第1画像データを取得する第1画像取得部であって、前記印刷装置は、第1色のインクを吐出する第1ノズル群と前記第1色とは異なる第2色のインクを吐出する第2ノズル群とを有する印刷ヘッドを備え、前記第1画像は、前記第1色のインクのドットを含み、前記第2色のインクのドットを含まない第1部分と、前記第2色のインクのドットを含み、前記第1色のインクのドットを含まない第2部分と、を含み、前記第1画像データは、イメージセンサを用いて生成されるデータである、前記第1画像取得部と、
前記第1画像データを用いて、前記第1ノズル群のノズルの不具合と前記第2ノズル群のノズルの不具合とを検出する検出部と、
前記不具合の検出結果を用いて、前記印刷装置を用いて印刷された第2画像を示す第2画像データを取得する第2画像得部であって、前記第2画像は、前記第1色のインクのドットと前記第2色のインクのドットとを含む画像であり、前記第2画像データは、イメージセンサを用いて取得され、取得される前記第2画像データは、前記第1ノズル群の前記不具合が生じていないノズルと前記第2ノズル群の前記不具合が生じていないノズルとを用いて印刷された前記第2画像を示し、前記第1色のインクと前記第2色のインクとを含むインクセットの属性を特定するために用いられる、前記第2画像取得部と、
を備える、画像処理装置。
A first image acquisition unit that acquires first image data indicating a first image printed using a printing device. The printing device includes a first nozzle group for ejecting first color ink and the first image. A print head having a second nozzle group for ejecting ink of a second color different from the color is provided, and the first image includes dots of the ink of the first color and dots of the ink of the second color. The first image data is generated by using an image sensor, including a first portion that does not include the first portion and a second portion that includes dots of the ink of the second color and does not include dots of the ink of the first color. The first image acquisition unit, which is the data to be printed, and
Using the first image data, a detection unit that detects a defect of the nozzle of the first nozzle group and a defect of the nozzle of the second nozzle group, and
A second image acquisition unit that acquires second image data indicating a second image printed by the printing apparatus using the defect detection result, wherein the second image is of the first color. It is an image including dots of ink and dots of ink of the second color, the second image data is acquired by using an image sensor, and the acquired second image data is of the first nozzle group. The second image printed by using the nozzle which did not have the defect and the nozzle which did not have the defect of the second nozzle group is shown, and the ink of the first color and the ink of the second color are mixed. The second image acquisition unit used to identify the attributes of the included ink set, and
An image processing device.
印刷装置を用いて印刷された第1画像を示す第1画像データを取得する第1画像取得部であって、前記印刷装置は、第1色のインクを吐出する第1ノズル群と前記第1色とは異なる第2色のインクを吐出する第2ノズル群とを有する印刷ヘッドを備え、前記第1画像は、前記第1色のインクのドットを含み、前記第2色のインクのドットを含まない第1部分と、前記第2色のインクのドットを含み、前記第1色のインクのドットを含まない第2部分と、を含み、前記第1画像データは、イメージセンサを用いて生成されるデータである、前記第1画像取得機能と、
前記第1画像データを用いて、前記第1ノズル群のノズルの不具合と前記第2ノズル群のノズルの不具合とを検出する検出機能と、
前記不具合の検出結果を用いて、前記印刷装置を用いて印刷された混色画像を示す第2画像データを取得する第2画像得機能であって、前記第2画像は、前記第1色のインクのドットと前記第2色のインクのドットとを含む画像であり、前記第2画像データは、イメージセンサを用いて取得され、取得される前記第2画像データは、前記第1ノズル群の前記不具合が生じていないノズルと前記第2ノズル群の前記不具合が生じていないノズルとを用いて印刷された前記第2画像を示し、前記第1色のインクと前記第2色のインクとを含むインクセットの属性を特定するために用いられる、前記第2画像取得機能と、
をコンピュータに実現させるコンピュータプログラム。

A first image acquisition unit that acquires first image data indicating a first image printed using a printing device. The printing device includes a first nozzle group for ejecting first color ink and the first image. A print head having a second nozzle group for ejecting ink of a second color different from the color is provided, and the first image includes dots of the ink of the first color and dots of the ink of the second color. The first image data is generated by using an image sensor, including a first portion that does not include the first portion and a second portion that includes dots of the ink of the second color and does not include dots of the ink of the first color. The first image acquisition function, which is the data to be printed, and
Using the first image data, a detection function for detecting a defect of a nozzle of the first nozzle group and a defect of a nozzle of the second nozzle group, and
It is a second image acquisition function that acquires a second image data showing a mixed color image printed by the printing apparatus by using the defect detection result, and the second image is the ink of the first color. The second image data is an image including the dots of the above and the dots of the second color ink, the second image data is acquired by using an image sensor, and the acquired second image data is the said of the first nozzle group. The second image printed by using the non-defect-free nozzle and the non-defect-free nozzle of the second nozzle group is shown, and includes the first color ink and the second color ink. The second image acquisition function used to identify the attributes of the ink set, and
A computer program that makes a computer realize.

JP2020059770A 2020-03-30 2020-03-30 Specifying method of attribute of ink set, specifying device of attribute of ink set and computer program Pending JP2021154683A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2020059770A JP2021154683A (en) 2020-03-30 2020-03-30 Specifying method of attribute of ink set, specifying device of attribute of ink set and computer program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2020059770A JP2021154683A (en) 2020-03-30 2020-03-30 Specifying method of attribute of ink set, specifying device of attribute of ink set and computer program

Publications (1)

Publication Number Publication Date
JP2021154683A true JP2021154683A (en) 2021-10-07

Family

ID=77916737

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2020059770A Pending JP2021154683A (en) 2020-03-30 2020-03-30 Specifying method of attribute of ink set, specifying device of attribute of ink set and computer program

Country Status (1)

Country Link
JP (1) JP2021154683A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116452827A (en) * 2023-06-16 2023-07-18 青岛奥维特智能科技有限公司 Method and system for detecting quality of ink printing surface based on computer vision

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116452827A (en) * 2023-06-16 2023-07-18 青岛奥维特智能科技有限公司 Method and system for detecting quality of ink printing surface based on computer vision
CN116452827B (en) * 2023-06-16 2023-08-15 青岛奥维特智能科技有限公司 Method and system for detecting quality of ink printing surface based on computer vision

Similar Documents

Publication Publication Date Title
JP4986599B2 (en) Inkjet recording apparatus and inkjet recording method
US9571696B2 (en) Print data generating apparatus and generating method for generating color conversion profile
US10166761B2 (en) Image forming apparatus and image correcting method with correction technology for improvement of defective images
JP7272857B2 (en) Inspection method, inspection device, program and printing device
US20140092164A1 (en) Recording apparatus and recording system
JP5139876B2 (en) Image forming apparatus and image forming method
JP2012034031A (en) Image processing apparatus, and image processing method
JP5634154B2 (en) Image processing apparatus and image processing method
US20080158281A1 (en) Image forming apparatus and control method thereof
JP6626405B2 (en) Image processing apparatus, method and program
CN111098601B (en) Recording control device, recording device, and recording control method
JP3925018B2 (en) Printing control apparatus, printing apparatus, printing control method, and recording medium
JP2008093852A (en) Printer, printer control program, recording medium storing the program, printer control method, image processor, image processing program, recording medium storing the program and image processing method
JP2021154683A (en) Specifying method of attribute of ink set, specifying device of attribute of ink set and computer program
JP7439661B2 (en) Image processing method, image processing device, and recording system
JP7181501B2 (en) Image processing device and computer program
JP7204265B1 (en) METHOD AND APPARATUS FOR GENERATING TRAINED MODEL FOR PRINT INSPECTION SYSTEM
JP2010042634A (en) Printed image inspecting device and printing method
JP6601225B2 (en) Control device and computer program
JP7343832B2 (en) Control device, computer program, and method for controlling printing device
JP7128444B2 (en) Image processing device and computer program
JPH0520437A (en) Printing quality evaluation method
US11956403B1 (en) Edge enhancement with compensation mechanism
CN112243069A (en) Information processing apparatus, color conversion profile creating method, and learning apparatus
JP2016155342A (en) Color unevenness detection method, head adjustment method using and color unevenness inspection device