JP7457425B1 - Printed matter inspection system, processing device used in the inspection system, and inspection method - Google Patents

Printed matter inspection system, processing device used in the inspection system, and inspection method Download PDF

Info

Publication number
JP7457425B1
JP7457425B1 JP2023178648A JP2023178648A JP7457425B1 JP 7457425 B1 JP7457425 B1 JP 7457425B1 JP 2023178648 A JP2023178648 A JP 2023178648A JP 2023178648 A JP2023178648 A JP 2023178648A JP 7457425 B1 JP7457425 B1 JP 7457425B1
Authority
JP
Japan
Prior art keywords
filter
data
image
printing
print
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.)
Active
Application number
JP2023178648A
Other languages
Japanese (ja)
Inventor
貴憲 千田
貴士 鈴木
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.)
MICROTECHNICA CO., LTD.
Original Assignee
MICROTECHNICA CO., 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 MICROTECHNICA CO., LTD. filed Critical MICROTECHNICA CO., LTD.
Priority to JP2023178648A priority Critical patent/JP7457425B1/en
Application granted granted Critical
Publication of JP7457425B1 publication Critical patent/JP7457425B1/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

【課題】印刷物の検査の精度を向上させる。【解決手段】検査システムは、入力された印刷元データをヘッドデータに変換する印刷コントローラと、前記ヘッドデータに基づいて印刷を行う印刷ヘッドとを備えた印刷機と組み合わせて使用される。前記検査システムは、前記印刷機によって印刷された印刷物を撮影してカメラ画像を生成するカメラと、前記カメラ画像に基づいて印刷物の良否を判定し、判定結果を出力する処理装置とを備える。前記処理装置は、前記印刷機の機種および前記印刷機のモードの少なくとも一方を特定する識別情報を取得し、前記印刷元データまたは前記ヘッドデータに空間フィルタリング処理を行ってフィルタ画像を生成し、前記フィルタ画像と前記カメラ画像とを照合する。前記処理装置は、前記空間フィルタリング処理において用いるフィルタのパラメータを、前記識別情報に基づいて決定する。【選択図】図4[Problem] To improve the accuracy of inspection of printed matter. [Solution] An inspection system is used in combination with a printing machine equipped with a print controller that converts input original print data into head data, and a print head that performs printing based on the head data. The inspection system includes a camera that takes an image of a printed matter printed by the printing machine and generates a camera image, and a processing device that judges the quality of the printed matter based on the camera image and outputs the judgment result. The processing device obtains identification information that specifies at least one of the model of the printing machine and the mode of the printing machine, performs spatial filtering processing on the original print data or the head data to generate a filter image, and compares the filter image with the camera image. The processing device determines the parameters of a filter to be used in the spatial filtering processing based on the identification information. [Selected Figure] Figure 4

Description

本発明は、印刷物の検査システム、当該検査システムにおいて用いられる処理装置、および検査方法に関する。 The present invention relates to a printed matter inspection system, a processing device used in the inspection system, and an inspection method.

印刷物をカメラで撮影して取得した画像データと、印刷元のデータとを比較することによって印刷の良否または品質を検査する種々の検査装置が開発および使用されている。 2. Description of the Related Art Various inspection devices have been developed and used that inspect the quality or quality of printing by comparing image data obtained by photographing printed matter with a camera and data from the printing source.

例えば特許文献1は、印刷データから生成されたマスター画像と、印刷物を読取装置で読み取ることによって生成した読取画像との差分に基づいて検査を行う検査装置を開示している。印刷データからマスター画像を生成することにより、例えばバリアブル印刷(Variable Data Printing: VDP)による印刷物の検査を効率的に行うことができる旨が記載されている。 For example, Patent Document 1 discloses an inspection device that performs inspection based on the difference between a master image generated from print data and a read image generated by reading a printed matter with a reading device. It is stated that by generating a master image from print data, it is possible to efficiently inspect printed matter using variable data printing (VDP), for example.

特許文献2は、印刷物を撮影して取得した被検査画像と、予め生成した基準画像とを、印刷物の単位毎に読み出して比較し、不一致が認められた場合に印刷にエラーが生じたと判定する検査方法を開示している。 Patent Document 2 reads out and compares an image to be inspected obtained by photographing a printed matter and a reference image generated in advance for each unit of printed matter, and if a discrepancy is found, it is determined that an error has occurred in printing. Discloses the testing method.

特許文献3は、ページ単位に異なるデータが印刷されるカラー印刷物の印刷内容および印刷状態を検査する検査装置を開示している。この検査装置は、印刷物に共通の背景絵柄と、印刷物ごとに異なる可変データのそれぞれについて、基準画像と比較照合することによって印刷内容および印刷状態を検査する。 Patent Document 3 discloses an inspection device that inspects the printed content and printing condition of a color printed matter in which different data is printed on a page-by-page basis. This inspection device inspects the print content and printing condition by comparing and checking a background pattern common to printed matter and variable data that differs for each printed matter with a reference image.

特許文献4は、印刷物の条件に応じて基準データを変換して生成した比較用基準データと、印刷物を撮像して取得した撮像データに基づく比較用撮像データとを比較することによって印刷物の良否を判定する検査方法を開示している。比較用基準データは、深層学習を適用して生成された学習モデルを用いて、基準データから変換される。これにより、印刷物の条件に応じた基準データを用いた印刷物の良否判定を実施することができることが記載されている。 Patent Document 4 discloses a method for determining the quality of printed matter by comparing reference data for comparison generated by converting reference data according to the conditions of the printed matter and imaged data for comparison based on imaged data obtained by imaging the printed matter. Discloses an inspection method for making the determination. The reference data for comparison is converted from the reference data using a learning model generated by applying deep learning. It is described that this makes it possible to determine the quality of printed matter using reference data according to the conditions of the printed matter.

特開2015-174307号公報JP 2015-174307 A 特開2019-132661号公報Japanese Patent Application Publication No. 2019-132661 特開2003-54096号公報JP 2003-54096 A 特開2020-186938号公報JP 2020-186938 A

従来の印刷物検査方法では、印刷物を撮影して取得した画像データと印刷の元となったデータとの形式の違いや、印刷時のインクのにじみ、用紙の変形等に起因して、検査の精度が低下する場合があった。また、機種の異なる複数の印刷機が混在する環境や、印刷機が印刷対象に応じた複数のモードで動作する場合において、複数の印刷機または複数のモードのそれぞれについて適切に検査を行うことが難しかった。 In conventional print inspection methods, inspection accuracy may be affected due to differences in the format of the image data obtained by photographing the print and the original data for printing, ink bleeding during printing, deformation of the paper, etc. There were cases where the value decreased. In addition, in environments where multiple printing presses of different models coexist, or when printing presses operate in multiple modes depending on the printing target, it is difficult to properly inspect each of the multiple printing presses or multiple modes. was difficult.

本開示は、機種の異なる複数の印刷機が混在する環境や、印刷機が印刷対象に応じた複数のモードで動作する場合において、印刷物の画像検査の精度を向上させることが可能な新規な検査技術を提供する。 The present disclosure provides a new inspection that can improve the accuracy of image inspection of printed matter in an environment where multiple printing machines of different models coexist or when printing machines operate in multiple modes depending on the printing target. Provide technology.

本発明の一態様に係る検査システムは、入力された印刷元データをヘッドデータに変換する印刷コントローラと、前記ヘッドデータに基づいて印刷を行う印刷ヘッドとを備えた印刷機と組み合せて使用される。前記検査システムは、前記印刷機によって印刷された印刷物を撮影してカメラ画像を生成するカメラと、処理装置とを備える。前記処理装置は、前記印刷機の機種および前記印刷機のモードの少なくとも一方を特定する識別情報を取得し、前記識別情報に基づいて、(a)前記印刷元データに第1フィルタを用いた第1空間フィルタリング処理を行って生成した第1フィルタ画像と前記カメラ画像との照合を行うことによって前記印刷物の良否を判定する第1処理、および(b)前記ヘッドデータに第2フィルタを用いた第2空間フィルタリング処理を行って生成した第2フィルタ画像と前記カメラ画像との照合を行うことによって前記印刷物の良否を判定する第2処理、のいずれかを実行する。前記処理装置は、前記第1フィルタのパラメータおよび前記第2フィルタのパラメータを、前記識別情報に基づいて決定する。 An inspection system according to one aspect of the present invention is used in combination with a printing machine that includes a print controller that converts input printing source data into head data, and a print head that prints based on the head data. . The inspection system includes a camera that takes a picture of a printed matter printed by the printing machine to generate a camera image, and a processing device. The processing device obtains identification information that specifies at least one of a model of the printing press and a mode of the printing press, and, based on the identification information, (a) processes the printing source data using a first filter. (b) a first process of determining the quality of the printed matter by comparing a first filter image generated by performing one-space filtering process with the camera image; and (b) a second process of using a second filter for the head data. A second process is performed in which the quality of the printed matter is determined by comparing a second filter image generated by performing two-space filtering process with the camera image. The processing device determines parameters of the first filter and parameters of the second filter based on the identification information.

本発明の他の態様に係る処理装置は、入力された印刷元データをヘッドデータに変換する印刷コントローラと、前記ヘッドデータに基づいて印刷を行う印刷ヘッドと、を備えた印刷機と組み合わせて使用される。前記処理装置は、前記印刷機の機種および前記印刷機のモードの少なくとも一方を特定する識別情報を取得し、前記印刷元データに適用する第1空間フィルタリング処理に用いられる第1フィルタのパラメータと、前記ヘッドデータに適用する第2空間フィルタリング処理に用いられる第2フィルタのパラメータとを、前記識別情報に基づいて決定する。前記処理装置は、前記印刷元データに前記第1空間フィルタリング処理を行って生成した第1フィルタ画像と、前記ヘッドデータに前記第2空間フィルタリング処理を行って生成した第2フィルタ画像とを照合し、照合結果を出力する。 A processing device according to another aspect of the present invention is used in combination with a printing machine including a print controller that converts input printing source data into head data, and a print head that prints based on the head data. be done. The processing device acquires identification information that specifies at least one of a model of the printing press and a mode of the printing press, and includes parameters of a first filter used in a first spatial filtering process applied to the printing source data; parameters of a second filter used in a second spatial filtering process applied to the head data are determined based on the identification information. The processing device compares a first filter image generated by performing the first spatial filtering process on the print source data and a second filter image generated by performing the second spatial filtering process on the head data. , output the matching results.

本発明の包括的または具体的な態様は、装置、システム、集積回路、コンピュータプログラム、記録媒体、またはこれらの任意の組み合わせによって実現され得る。 General or specific aspects of the invention may be implemented by an apparatus, a system, an integrated circuit, a computer program, a recording medium, or any combination thereof.

本発明によれば、印刷物の画像検査の精度を向上させることができる。 According to the present invention, it is possible to improve the accuracy of image inspection of printed matter.

従来の検査システムの一例を模式的に示す図である。1 is a diagram schematically showing an example of a conventional inspection system. 印刷によって用紙および印刷された部分が変形することを模式的に示す図である。1A and 1B are diagrams illustrating the deformation of paper and printed portions caused by printing; 本発明の例示的な実施形態による検査システムの構成を模式的に示す図である。1 is a diagram schematically showing the configuration of an inspection system according to an exemplary embodiment of the present invention. 処理装置による判定処理の概要を説明するための模式図である。FIG. 2 is a schematic diagram for explaining an overview of determination processing by a processing device. 複数の印刷機を含むシステムの例を示す模式図である。FIG. 1 is a schematic diagram illustrating an example of a system including multiple printing machines. 検査システムの他の例を説明するための図である。FIG. 13 is a diagram for explaining another example of the inspection system. 検査システムのさらに他の例を説明するための図である。It is a figure for explaining still another example of an inspection system. 印刷およびフィルタリング処理を施した画像に基づく検査の流れを模式的に示す図である。FIG. 2 is a diagram schematically showing the flow of an inspection based on an image that has been printed and filtered. 色変換処理の概要を模式的に示す図である。FIG. 3 is a diagram schematically showing an outline of color conversion processing. 処理装置が実行する処理の例を示すフローチャートである。3 is a flowchart illustrating an example of processing executed by a processing device. 印刷機と出力データ形式等との関係を示すテーブルの一例を示す図である。FIG. 2 is a diagram showing an example of a table showing the relationship between printing machines, output data formats, and the like. 印刷機のモードと使用されるフィルタとの関係を示すテーブルの一例を示す図である。FIG. 3 is a diagram showing an example of a table showing the relationship between printing press modes and filters used. 処理装置が実行する処理の他の例を示すフローチャートである。It is a flowchart which shows another example of the process which a processing apparatus performs. ヘッドデータを第1フィルタ画像に変換する処理の流れを示す図である。FIG. 3 is a diagram showing the flow of processing for converting head data into a first filter image. ガウシアンフィルタおよび平均化フィルタの例を示す図である。FIG. 3 is a diagram showing an example of a Gaussian filter and an averaging filter. 色変換テーブルの一例を示す図である。FIG. 3 is a diagram showing an example of a color conversion table. 空間フィルタの一例と、空間フィルタのパラメータの調整方法を模式的に示す図である。1A and 1B are diagrams illustrating an example of a spatial filter and a method of adjusting parameters of the spatial filter. 色変換テーブルの一例と、そのパラメータの調整方法の例を示す図である。FIG. 3 is a diagram illustrating an example of a color conversion table and an example of a method for adjusting its parameters. 第1フィルタ画像とカメラ画像との照合処理の一例を示す図である。It is a figure which shows an example of the matching process of a 1st filter image and a camera image. 学習済みモデルの生成方法の流れを示すフローチャートである。1 is a flowchart showing the flow of a method for generating a trained model. テストチャートの一例を示す図である。FIG. 1 is a diagram showing an example of a test chart. テストチャートの他の例を示す図である。FIG. 13 is a diagram showing another example of the test chart. テストチャートのさらに他の例を示す図である。FIG. 13 is a diagram showing yet another example of the test chart.

本発明の実施形態を説明する前に、本発明の基礎となった知見を説明する。 Before describing the embodiments of the present invention, we will explain the findings that form the basis of the present invention.

バリアブル印刷を行うデジタル印刷機は、ページごとに異なる内容を印刷する。そのような印刷機は、例えば、あて名印刷、請求書印刷、および明細書印刷などの種々の用途に広く利用されている。 Digital printing machines that perform variable printing print different content on each page. Such printing machines are widely used for various applications such as address printing, bill printing, and statement printing, for example.

バリアブル印刷では、ページごとに異なる内容が印刷されるため、事前に用意された1つの画像と比較するといった単純な方法では検査ができない。このため、印刷元の画像データと、印刷物を撮像して得られる画像データとを比較照合することで検査を行う方法が考えられる。 In variable printing, different content is printed on each page, so inspection cannot be performed simply by comparing it with a single image prepared in advance. For this reason, a method can be considered in which the inspection is performed by comparing and collating the image data of the printing source and the image data obtained by imaging the printed matter.

しかし、2つの画像を照合する方法には、例えば以下の課題がある。
・一般的に、印刷は減色系(YMCK)、カメラは加色系(RGB)のデータを処理するため、両者のデータを直接比較することができない。
・印刷機内で展開されるイメージと、検査装置内で展開されるイメージとは必ずしも一致せず、相違点が生じる。
・用紙またはインクなどの特性に起因して、インクのにじみや用紙の変形等が生じ、印刷しようとする画像と実際に印刷された画像との間に相違点が生じる。
However, the method of comparing two images has the following problems, for example.
-Generally, printing processes data using subtractive color system (YMCK), and cameras process data using additive color system (RGB), so it is not possible to directly compare the data of the two.
- The image developed in the printing machine and the image developed in the inspection device do not necessarily match, and there are differences.
-Due to the characteristics of the paper or ink, ink bleeding or paper deformation may occur, resulting in differences between the image to be printed and the image actually printed.

このような課題のため、従来の検査装置では、カラーの印刷物を高い精度で検査することが難しかった。そのため、従来は、例えば文字などの重要な部分の色に重点を置いて照合を行う検査システムが用いられることが多かった。 Due to these issues, it has been difficult for conventional inspection devices to inspect color printed materials with high accuracy. For this reason, inspection systems that focus on matching the colors of important parts, such as text, have traditionally been used.

図1は、従来の検査システムの一例を模式的に示す図である。図1に示す検査システムは、印刷コントローラ110および印刷ヘッド120を有する印刷機100(プリンタ)と、処理装置210と、カメラ220(撮像装置)とを備える。印刷ヘッド120は、シアン(C)、マゼンタ(M)、黄(Y)、および黒(K)の4色に対応する4種類のヘッドを含む。印刷コントローラ110は、外部のコンピュータ300から入力された印刷元データ(例えばPDFファイル等)を、ヘッドデータに変換して各印刷ヘッド120に出力する。ヘッドデータは、例えば、CMYKの各色の網点(ハーフトーン)画像のデータである。各印刷ヘッド120は、ヘッドデータに従い、搬送される用紙10に印刷を実行する。印刷された用紙10は、カメラ220によって撮影される。カメラ220は、印刷された用紙10を撮影してカメラ画像データ(以下、「カメラ画像」とも称する。)を生成する。処理装置210は、ヘッドデータおよびカメラ画像のそれぞれから特定の色(例えば文字等の重要な部分の色)のデータを抽出し、それらを照合して印刷の良否を判定する。 FIG. 1 is a diagram showing a schematic diagram of an example of a conventional inspection system. The inspection system shown in FIG. 1 includes a printing machine 100 (printer) having a print controller 110 and a print head 120, a processing device 210, and a camera 220 (imaging device). The print head 120 includes four types of heads corresponding to four colors, cyan (C), magenta (M), yellow (Y), and black (K). The print controller 110 converts the original print data (e.g., a PDF file, etc.) input from an external computer 300 into head data and outputs it to each print head 120. The head data is, for example, data of halftone images of each color of CMYK. Each print head 120 performs printing on the paper 10 being conveyed according to the head data. The printed paper 10 is photographed by the camera 220. The camera 220 photographs the printed paper 10 to generate camera image data (hereinafter also referred to as "camera image"). The processing device 210 extracts data on specific colors (e.g., the colors of important parts such as text) from both the head data and the camera image, and compares them to determine whether the print is good or bad.

このようなシステムにおいては、検査の対象が印刷物の特定の色の成分に限定され、他の色の成分については検査することができない。また、印刷時のインクのにじみや用紙の変形に起因する印刷物の欠陥を高い精度で検出することが難しい。 In such systems, the inspection target is limited to specific color components of the printed matter, and other color components cannot be inspected. In addition, it is difficult to detect defects in the printed matter caused by ink bleeding or paper deformation during printing with a high degree of accuracy.

一般に、印刷に使用される用紙は、水分や油分を吸収することによって伸縮する。水分や油分を含むインクを用紙上に噴射または塗布する場合、用紙の伸縮が発生し、印刷物は元のデジタルデータに対して変形する場合がある。例えば、A4サイズで1mm程度変形する場合がある。 Generally, paper used for printing expands and contracts by absorbing moisture and oil. When ink containing water or oil is jetted or applied onto paper, the paper may expand or contract, and the printed matter may be deformed relative to the original digital data. For example, an A4 size sheet may be deformed by about 1 mm.

図2は、印刷によって用紙および印刷された部分が変形することを模式的に示す図である。図2に示すように、インク量の多い部分は収縮が大きく、インク量の少ない部分は収縮が小さい。変形の程度と変形の形態は印刷内容によって変化するため、事前に変形を予測することは困難である。特に、ページ毎に異なる内容が印刷される可変印刷においては、ページ毎にインク量が異なることから、収縮の仕方がページ毎に不規則に変化し得る。その結果、カメラ画像と元データとの照合が困難になる場合がある。他にも、カメラ内のレンズの光学的特性(主に歪曲収差)の影響で、撮影した画像が変形する場合もある。この場合の変形は規則的であるが、同様に元データとの照合が困難になり得る。 FIG. 2 is a diagram schematically showing that the paper and the printed portion are deformed by printing. As shown in FIG. 2, areas with a large amount of ink have a large amount of shrinkage, and areas with a small amount of ink have a small amount of shrinkage. Since the degree of deformation and the form of deformation change depending on the printed content, it is difficult to predict deformation in advance. In particular, in variable printing in which different content is printed on each page, the amount of ink differs on each page, so the way the ink shrinks can vary irregularly on each page. As a result, it may become difficult to match the camera image with the original data. In addition, the captured image may be deformed due to the optical characteristics (mainly distortion) of the lens inside the camera. Although the deformation in this case is regular, matching with the original data can be difficult as well.

また、図1に示すシステムでは、ヘッドデータが示す画像とカメラ画像との照合によって検査が行われるが、印刷機によっては、ヘッドデータではなく印刷元データを出力する機種も存在する。印刷元データを出力する印刷機と、ヘッドデータを出力する印刷機とが混在する環境においては、印刷機の機種によらず適切に検査を実施できることが求められる。さらに、印刷ヘッド120から吐出されるインクの特性(吐出量や濃さ等)は、印刷機の機種やモードによって異なり得る。例えば、印刷が行われる対象物(例えば、紙、フィルム等)の種類に応じて複数のモードの中から1つのモードを選択して印刷を行う印刷機においては、モードが変わると、印刷コントローラ110によって生成されるヘッドデータが変化する。結果として、印刷される画像の色合いやにじみ具合等もモードによって変化し得る。したがって、印刷機の機種やモードによらず、正確な検査を実施できることが求められる。 Furthermore, in the system shown in FIG. 1, inspection is performed by comparing the image indicated by the head data with the camera image, but some printers output print source data instead of head data. In an environment where printing machines that output printing source data and printing machines that output head data coexist, it is required to be able to perform inspections appropriately regardless of the type of printing machine. Furthermore, the characteristics (ejection amount, density, etc.) of ink ejected from the print head 120 may vary depending on the model and mode of the printing machine. For example, in a printing machine that prints by selecting one mode from a plurality of modes depending on the type of object to be printed (e.g., paper, film, etc.), when the mode changes, the print controller 11 The head data generated will change. As a result, the color tone and degree of blurring of the printed image may also change depending on the mode. Therefore, it is required to be able to perform accurate inspections regardless of the type or mode of the printing press.

本発明者らは、上記の課題を解決するため、以下に説明する本発明の実施形態の構成に想到した。以下、本発明の例示的な実施形態を説明する。ただし、必要以上に詳細な説明は省略することがある。例えば、既によく知られた事項の詳細説明や実質的に同一の構成に対する重複説明を省略する場合がある。これは、以下の説明が不必要に冗長になることを避け、当業者の理解を容易にするためである。なお、発明者は、当業者が本開示を十分に理解するために添付図面および以下の説明を提供するのであって、これらによって特許請求の範囲に記載の主題を限定することを意図するものではない。本明細書においては、同一のまたは類似する構成要素には、同一の参照符号を付している。 In order to solve the above problems, the present inventors came up with the configuration of the embodiment of the present invention described below. Exemplary embodiments of the present invention will be described below. However, more detailed explanation than necessary may be omitted. For example, detailed explanations of well-known matters or redundant explanations of substantially the same configurations may be omitted. This is to avoid unnecessary redundancy in the following description and to facilitate understanding by those skilled in the art. The inventors have provided the accompanying drawings and the following description to enable those skilled in the art to fully understand the present disclosure, and are not intended to limit the subject matter recited in the claims. do not have. Identical or similar components are provided with the same reference numerals throughout this specification.

(実施形態1)
図3は、本発明の例示的な実施形態による検査システムの構成を模式的に示す図である。この検査システムは、印刷機100と、検査装置200とを備える。図3には、印刷機100および検査装置200に接続されるコンピュータ300も示されている。コンピュータ300は、例えばサーバコンピュータ、パーソナルコンピュータ(PC)、または携帯端末などの任意の情報処理装置である。コンピュータ300は、検査システムに含まれていてもよいし、検査システムの外部の要素であってもよい。また、印刷機100は、検査システムの外部の要素であってもよい。
(Embodiment 1)
FIG. 3 is a diagram schematically showing the configuration of an inspection system according to an exemplary embodiment of the present invention. This inspection system includes a printing press 100 and an inspection device 200. FIG. 3 also shows a computer 300 connected to the printing press 100 and the inspection device 200. Computer 300 is any information processing device such as a server computer, a personal computer (PC), or a mobile terminal. Computer 300 may be included in the inspection system or may be an element external to the inspection system. The printing press 100 may also be an external element of the inspection system.

図3に示す印刷機100は、印刷コントローラ110と、印刷ヘッド120と、搬送機130とを備える。搬送機130は、ロール状の用紙10を搬送する。印刷コントローラ110は、印刷機100の全体の動作を制御する装置である。印刷コントローラ110は、例えばマイクロコントローラユニットなどの、プロセッサおよびメモリを含む集積回路を含む。印刷コントローラ110は、コンピュータ300から入力された、印刷元データを含む印刷指示を受けて、搬送機130および印刷ヘッド120を駆動する。これにより、印刷機100は、用紙10を搬送しながら印刷を実行する。印刷コントローラ110、印刷ヘッド120、および搬送機130は、1つの装置として一体化されていなくてもよく、それぞれ独立した装置として構成されていてもよい。 The printing press 100 shown in FIG. 3 includes a print controller 110, a print head 120, and a conveyor 130. The conveyor 130 conveys the roll-shaped paper 10. The print controller 110 is a device that controls the overall operation of the printing press 100. Print controller 110 includes an integrated circuit including a processor and memory, such as a microcontroller unit. Print controller 110 receives a print instruction including print source data input from computer 300 and drives conveyor 130 and print head 120 . Thereby, the printing machine 100 executes printing while conveying the paper 10. Print controller 110, print head 120, and conveyor 130 do not need to be integrated as one device, and may be configured as independent devices.

印刷機100は、例えばインクジェット方式または電子写真方式等の公知の方式で印刷を行うデジタル印刷機である。印刷機100は、コンピュータ300から入力された印刷元データに基づいて用紙10に印刷を行う。印刷は、カラー印刷であってもよいしモノクロ印刷であってもよい。以下の説明では、一例として、シアン(C)、マゼンタ(M)、黄(Y)、黒(K)の4色のインクを用いたカラー印刷を行うものとする。印刷機100は、CMYKに限らず、他の色のインクを用いて印刷を行ってもよい。 The printing machine 100 is a digital printing machine that performs printing using a known method such as an inkjet method or an electrophotographic method. The printing machine 100 prints on paper 10 based on printing source data input from the computer 300. The printing may be color printing or monochrome printing. In the following description, as an example, it is assumed that color printing is performed using four colors of ink: cyan (C), magenta (M), yellow (Y), and black (K). The printing machine 100 is not limited to CMYK, and may print using inks of other colors.

本実施形態における印刷機100は、バリアブル印刷(可変印刷)を実行することができる。バリアブル印刷では、用紙10のページごとに異なる文字、図形、または画像などが連続的に印刷される。本実施形態における用紙10はロール紙であるが、フィルムなどの他の印刷媒体に印刷が行われてもよい。 The printing press 100 in this embodiment can perform variable printing. In variable printing, different characters, figures, images, etc. are continuously printed on each page of paper 10. Although the paper 10 in this embodiment is roll paper, printing may be performed on other print media such as film.

印刷コントローラ110は、入力された印刷元データをヘッドデータに変換して印刷ヘッド120に出力する。印刷元データは、例えばPDF(Portable Document Format)等の画像や文字の情報を含むベクタ形式のデータであり得る。ヘッドデータは、例えば各画素1色あたり2~4階調程度の少数の階調で表現された網点(ハーフトーン)画像を示すビットマップ(ラスタ)のデータであり得る。印刷コントローラ110は、例えばベクタ形式の印刷元データを、より少数の階調の点の集合として表現されたラスタ画像を表すヘッドデータに変換するRIP(Raster Image Processor)の機能を有する。RIP処理は、PDF等の印刷元データをラスタデータに変換する処理、RGB(赤、緑、青)からCMYK(シアン、マゼンタ、黄、黒)への変換処理、および各色の濃淡を網点(ハーフトーン)で表現するハーフトーン処理等の種々の処理を含み得る。なお、RIPの機能の少なくとも一部は、印刷コントローラ110とは異なる装置(例えばコンピュータ300)が実行してもよい。印刷元データは、PDFに限らず、例えばJPEG(Joint Photographic Experts Group)またはPNG(Portable Network Graphics)等の画像データであってもよい。 The print controller 110 converts the input printing source data into head data and outputs it to the print head 120. The print source data may be vector format data including image and character information, such as PDF (Portable Document Format). The head data may be, for example, bitmap (raster) data indicating a halftone image expressed by a small number of gradations, about 2 to 4 gradations per color for each pixel. The print controller 110 has a RIP (Raster Image Processor) function that converts, for example, vector format printing source data into head data representing a raster image expressed as a set of points of a smaller number of gradations. RIP processing involves converting print source data such as PDF into raster data, converting RGB (red, green, blue) to CMYK (cyan, magenta, yellow, black), and converting the shading of each color into halftone dots ( This may include various types of processing such as halftone processing (halftone). Note that at least a portion of the RIP functions may be executed by a device different from the print controller 110 (for example, the computer 300). The print source data is not limited to PDF, and may be image data such as JPEG (Joint Photographic Experts Group) or PNG (Portable Network Graphics).

印刷ヘッド120は、入力されたヘッドデータに基づいて印刷を実行するための部品およびそれらの部品を制御する回路を含む装置である。図3には1つの印刷ヘッド120が例示されているが、カラー印刷が行われる場合、複数の色のインクに対応する複数種類の印刷ヘッドが設けられ得る。例えば、シアン(C)、マゼンタ(M)、黄(Y)、黒(K)の4色のインクにそれぞれ対応する4つの印刷ヘッドが設けられ得る。印刷機100がインクジェットプリンタである場合、各色の印刷ヘッドは、用紙10の表面に沿って搬送方向(図1に示す矢印の方向)に垂直な方向に並ぶ複数のインクジェットヘッドを含み得る。各インクジェットヘッドは、例えばインクを加圧または加熱して噴射するノズルを含む。なお、印刷機100が電子写真方式のプリンタである場合、印刷ヘッド120は、レーザまたはLED等の光源、ポリゴンミラー等の光学系、感光ドラム等の部品、光源および光学系を制御する回路を含み得る。 The print head 120 is a device that includes components for performing printing based on input head data and circuits for controlling these components. Although one print head 120 is illustrated in FIG. 3, when color printing is performed, multiple types of print heads corresponding to multiple colors of ink may be provided. For example, four print heads corresponding to four colors of ink, cyan (C), magenta (M), yellow (Y), and black (K), may be provided. When the printing machine 100 is an inkjet printer, the print heads of each color may include multiple inkjet heads arranged in a direction perpendicular to the conveying direction (the direction of the arrow shown in FIG. 1) along the surface of the paper 10. Each inkjet head includes, for example, a nozzle that pressurizes or heats the ink and ejects it. Note that when the printing machine 100 is an electrophotographic printer, the print head 120 may include a light source such as a laser or LED, an optical system such as a polygon mirror, components such as a photosensitive drum, and circuits for controlling the light source and the optical system.

検査装置200は、印刷機100と連動して動作し、印刷された用紙10を検査し、検査結果を出力する。検査装置200は、印刷機100およびコンピュータ300に接続されている。検査装置200は、カメラ220と、処理装置210とを備える。 The inspection device 200 operates in conjunction with the printing machine 100, inspects the printed paper 10, and outputs the inspection results. Inspection device 200 is connected to printing press 100 and computer 300. Inspection device 200 includes a camera 220 and a processing device 210.

カメラ220は、印刷された用紙10の搬送経路上に配置される。カメラ220は、印刷後の用紙10を撮影して画像データ(「カメラ画像」と呼ぶ。)を生成する。カメラ220は、例えばページごとにカメラ画像を出力するように構成され得る。 Camera 220 is placed on the conveyance path of printed paper 10. The camera 220 photographs the paper 10 after printing and generates image data (referred to as a "camera image"). Camera 220 may be configured to output a camera image for each page, for example.

カメラ220は、例えばCCDまたはCMOSなどのイメージセンサと、レンズ等の光学系とを備える。カメラ220は、2次元のイメージセンサを備えていてもよいし、コンタクトイメージセンサ(CIS)などのリニアイメージセンサ(ラインセンサ)を備えていてもよい。カメラ220がリニアイメージセンサを備える場合、カメラ220は、搬送された用紙10をラインごとに撮影し、複数ラインのデータをページごとにまとめてカメラ画像として出力してもよい。あるいは、カメラ220は、ラインごとにデータを出力し、処理装置210が複数ラインのデータをページごとにまとめて2次元のカメラ画像のデータを生成してもよい。カメラ220は、用紙10の表面側だけでなく裏面側にも設けられていてもよい。用紙10の両面側に2つのカメラ220を設けることにより、用紙10の両面の印刷状態を検査することができる。 The camera 220 includes an image sensor such as a CCD or CMOS and an optical system such as a lens. The camera 220 may include a two-dimensional image sensor, or a linear image sensor (line sensor) such as a contact image sensor (CIS). When the camera 220 includes a linear image sensor, the camera 220 may capture the conveyed paper 10 line by line, and output the data of the multiple lines as a camera image by page. Alternatively, the camera 220 may output data line by line, and the processing device 210 may generate two-dimensional camera image data by combining the data of the multiple lines for each page. The camera 220 may be provided not only on the front side of the paper 10 but also on the back side. By providing two cameras 220 on both sides of the paper 10, the printing state of both sides of the paper 10 can be inspected.

処理装置210は、プロセッサ212と、RAM214およびROM216等の記憶媒体(メモリ)と、入出力インターフェース(I/F)218とを備える。プロセッサ212は、例えばCPU(Central Processing Unit)またはGPU(Graphics Processing Unit)などの演算処理回路を含む。ROM216は、プロセッサ212によって実行されるコンピュータプログラムを格納する。当該プログラムは、後述する処理をプロセッサ212に実行させるための命令群を含む。RAM214は、プロセッサ212がプログラムを実行するにあたって、当該プログラムを展開するためのワークメモリである。プロセッサ212は、インターフェース218を介して、コンピュータ300、印刷コントローラ110、およびカメラ220に接続される。 The processing device 210 includes a processor 212, a storage medium (memory) such as a RAM 214 and a ROM 216, and an input/output interface (I/F) 218. The processor 212 includes an arithmetic processing circuit such as a CPU (Central Processing Unit) or a GPU (Graphics Processing Unit). ROM 216 stores computer programs executed by processor 212. The program includes a group of instructions for causing the processor 212 to execute processing to be described later. The RAM 214 is a work memory for expanding the program when the processor 212 executes the program. Processor 212 is connected to computer 300, print controller 110, and camera 220 via interface 218.

処理装置210のプロセッサ212は、印刷元データまたはヘッドデータと、カメラ画像データとに基づく照合処理を行い、印刷物の良否を判定する。また、処理装置210のプロセッサ212は、印刷元データとヘッドデータとに基づく照合処理を行い、印刷コントローラ110の正常性を判定することもできる。処理装置210は、照合の対象である照合データを、印刷元データとカメラ画像のペア、ヘッドデータとカメラ画像とのペア、印刷元データとヘッドデータとのペアから任意に選択することができる。以下、図4から図6Bを参照しながら、この判定処理の詳細を説明する。 The processor 212 of the processing device 210 performs a verification process based on printing source data or head data and camera image data to determine whether the printed matter is good or bad. Further, the processor 212 of the processing device 210 can also determine the normality of the print controller 110 by performing a verification process based on print source data and head data. The processing device 210 can arbitrarily select the matching data to be matched from a pair of printing source data and a camera image, a pair of head data and a camera image, and a pair of printing source data and head data. Details of this determination process will be described below with reference to FIGS. 4 to 6B.

図4は、処理装置210による判定処理の一例を説明するための模式図である。この例における処理装置210は、印刷元データおよびヘッドデータの少なくとも一方を取得し、取得した印刷元データまたはヘッドデータに、空間フィルタリング処理および色変換処理等の必要な変換処理を行い、照合用の画像データ(以下、「印刷機フィルタ画像」と呼ぶことがある。)を生成する。処理装置210はまた、カメラ220からカメラ画像を取得し、当該カメラ画像に空間フィルタリング処理および色変換処理等の必要な変換処理を行い、照合用のカメラ画像(以下、「カメラフィルタ画像」と呼ぶことがある。)を生成する。処理装置210は、印刷機フィルタ画像とカメラフィルタ画像とを照合し、照合結果を出力する。例えば、処理装置210は、印刷機フィルタ画像とカメラフィルタ画像とを、比較的小さい領域ごとに比較する処理を画像全体にわたって実行し、両者の一致度に基づいて、印刷の良否を判定する。処理装置210は、判定結果を、例えば処理装置210に接続されたディスプレイもしくはスピーカなどの出力装置または記憶装置に出力する。 FIG. 4 is a schematic diagram for explaining an example of determination processing by the processing device 210. The processing device 210 in this example acquires at least one of printing source data and head data, performs necessary conversion processing such as spatial filtering processing and color conversion processing on the acquired printing source data or head data, and performs necessary conversion processing such as spatial filtering processing and color conversion processing. Image data (hereinafter sometimes referred to as "printing press filter image") is generated. The processing device 210 also acquires a camera image from the camera 220, performs necessary conversion processing such as spatial filtering processing and color conversion processing on the camera image, and creates a camera image for comparison (hereinafter referred to as a "camera filter image"). ). The processing device 210 compares the printing press filter image with the camera filter image and outputs the comparison result. For example, the processing device 210 executes a process of comparing the printing press filter image and the camera filter image for each relatively small area over the entire image, and determines whether the printing is good or bad based on the degree of agreement between the two. The processing device 210 outputs the determination result to an output device or a storage device, such as a display or a speaker, connected to the processing device 210, for example.

図4に示す例では、処理装置210は、印刷元データおよびヘッドデータのいずれに基づいて照合するかを選択することができる。処理装置210は、例えばユーザによって指定されたモードの設定に基づいて、印刷元データおよびヘッドデータのいずれを照合に使用するかを選択するように構成され得る。その場合、ユーザは、処理装置210に接続された入力装置を用いて、印刷元データを用いる第1モードとヘッドデータを用いる第2モードとを切り替えることができる。あるいは、処理装置210は、コンピュータ300または印刷コントローラ100などの装置から、印刷機100の機種情報を取得し、当該機種情報に応じて、印刷元データおよびヘッドデータのいずれを照合に使用するかを選択するように構成されていてもよい。そのような機能により、印刷機100の機種に応じた適切な検査が可能である。 In the example shown in FIG. 4, the processing device 210 can select whether to perform the comparison based on print source data or head data. The processing device 210 may be configured to select which of print source data and head data to use for verification, for example, based on a mode setting specified by a user. In that case, the user can use an input device connected to the processing device 210 to switch between a first mode using print source data and a second mode using head data. Alternatively, the processing device 210 obtains model information of the printing press 100 from a device such as the computer 300 or the print controller 100, and determines whether print source data or head data is to be used for verification, depending on the model information. It may be configured to select. Such a function enables appropriate inspection depending on the model of the printing press 100.

印刷コントローラ110がヘッドデータを出力する場合、そのヘッドデータの内容は、印刷機100の機種や印刷モードによって異なり得る。例えば、印刷機100が、用紙10の種類、使用するインクの濃さもしくは色の設定、印刷速度、または画質等に応じた複数の印刷モードで印刷を行うことができる機種である場合、印刷モードによってヘッドデータが異なり得る。これは、用紙10の種類や印刷機100が使用するインクの種類などの種々の要因により、最適な網点処理が異なるからである。そのような印刷機100では、用紙10の種類、使用するインクの濃さもしくは色の設定、印刷速度、または画質等に応じて、複数の印刷モードから最適なモードが選択されて印刷が行われる。 When the print controller 110 outputs head data, the contents of the head data may vary depending on the model of the printing press 100 and the print mode. For example, if the printing machine 100 is a model that can print in multiple print modes depending on the type of paper 10, the density or color setting of the ink used, the printing speed, the image quality, etc., the print mode The head data may differ depending on the This is because the optimal halftone processing varies depending on various factors such as the type of paper 10 and the type of ink used by the printing machine 100. In such a printing machine 100, printing is performed by selecting an optimal mode from a plurality of print modes depending on the type of paper 10, the density or color setting of the ink used, printing speed, image quality, etc. .

そこで、本実施形態における処理装置210は、印刷機100の機種およびモードの少なくとも一方を特定する識別情報を取得し、当該識別情報に応じて、印刷元データまたはヘッドデータに適用するフィルタのパラメータ(例えば、フィルタのサイズおよび係数等を決定する値)を切り替えるように構成される。これにより、識別情報に応じて、フィルタのパラメータが最適値に調整される。処理装置210は、例えばコンピュータ300、印刷コントローラ110、またはユーザが使用する入力装置などの外部の装置から、印刷機100の識別情報を取得する。識別情報は、印刷機100の機種を特定する機種情報と、印刷機100のモードを特定するモード情報の少なくとも一方を含み得る。 The processing device 210 in this embodiment is configured to obtain identification information that specifies at least one of the model and mode of the printing machine 100, and switch filter parameters (e.g., values that determine the filter size and coefficients, etc.) to be applied to the original print data or head data according to the identification information. This allows the filter parameters to be adjusted to optimal values according to the identification information. The processing device 210 obtains identification information of the printing machine 100 from an external device, such as the computer 300, the print controller 110, or an input device used by the user. The identification information may include at least one of model information that specifies the model of the printing machine 100 and mode information that specifies the mode of the printing machine 100.

処理装置210は、さらに、カメラ画像に適用する空間フィルタリング処理において用いるフィルタのパラメータを、識別情報に応じて変更するように構成されてもよい。また、処理装置210は、印刷元データまたはヘッドデータに適用する色変換処理のパラメータを、識別情報に応じて変更するように構成されてもよい。さらに、処理装置210は、カメラ画像に適用する色変換処理のパラメータを、識別情報に応じて変更するように構成されてもよい。 The processing device 210 may further be configured to change parameters of a filter used in spatial filtering processing applied to the camera image according to the identification information. Further, the processing device 210 may be configured to change parameters of color conversion processing applied to print source data or head data in accordance with identification information. Furthermore, the processing device 210 may be configured to change the parameters of the color conversion process applied to the camera image according to the identification information.

識別情報は、印刷機100の機種を特定する機種情報と、印刷機100のモードを特定するモード情報の両方を含み得る。モード情報は、印刷機100の機種ごとに異なるデータフォーマットを有する。処理装置210は、機種情報に基づいて、印刷機100の機種ごとに異なるデータフォーマットを有するモード情報を読み取ることができる。処理装置210は、機種情報に基づいて、照合データを選択し、モード情報に基づいて、各空間フィルタリング処理において用いるフィルタのパラメータを決定するように構成され得る。 The identification information may include both model information that specifies the model of printing press 100 and mode information that specifies the mode of printing press 100. The mode information has a different data format depending on the model of printing press 100. The processing device 210 can read mode information having a different data format for each model of the printing press 100 based on the model information. The processing device 210 may be configured to select matching data based on model information and to determine parameters of a filter used in each spatial filtering process based on mode information.

図4に示す例では、印刷ヘッド120は、シアン(C)、マゼンタ(M)、黄(Y)、黒(K)の4色に対応する4種類の印刷ヘッドを含む。これにより、カラー印刷が可能である。印刷ヘッド120は、モノクロ印刷を行うように構成されていてもよい。モノクロ印刷が行われる場合、印刷元データまたはヘッドデータ、およびカメラ画像データに対する色調整処理は省略されてもよい。 In the example shown in FIG. 4, the print head 120 includes four types of print heads corresponding to four colors: cyan (C), magenta (M), yellow (Y), and black (K). This allows color printing. Print head 120 may be configured to perform monochrome printing. When monochrome printing is performed, color adjustment processing for print source data or head data and camera image data may be omitted.

本実施形態によれば、処理装置210は、印刷元データまたはヘッドデータに空間フィルタリング処理を行って生成した印刷機フィルタ画像と、印刷物を撮影して取得したカメラ画像に空間フィルタリング処理を行って生成したカメラフィルタ画像とに基づいて印刷物の良否を判定する。空間フィルタリング処理として、印刷時のインクのにじみおよび用紙の変形等の影響を反映した処理が行われる。これにより、印刷時のインクのにじみおよび用紙の変形等が生じたとしても高い精度で印刷物の欠陥を検出することができる。また、本実施形態では、印刷元データまたはヘッドデータ、およびカメラ画像の特性に応じた色調整処理も行われる。これにより、両者の色表現の違いに関わらず、高い精度で検査を行うことができる。 According to the present embodiment, the processing device 210 generates a printing press filter image generated by performing spatial filtering on printing source data or head data, and a spatial filtering process on a camera image obtained by photographing printed matter. The quality of the printed matter is determined based on the captured camera filter image. As spatial filtering processing, processing is performed that reflects the effects of ink bleeding and paper deformation during printing. As a result, defects in printed matter can be detected with high accuracy even if ink smearing, paper deformation, etc. occur during printing. Further, in this embodiment, color adjustment processing is also performed according to the print source data or head data and the characteristics of the camera image. Thereby, inspection can be performed with high accuracy regardless of the difference in color expression between the two.

さらに、本実施形態における処理装置210は、印刷機100の機種および印刷機100のモードの少なくとも一方を特定する識別情報に応じて、印刷元データに第1フィルタを用いた第1空間フィルタリング処理を行って第1フィルタ画像を生成する第1処理と、ヘッドデータに第2フィルタを用いた第2空間フィルタリング処理を行って第2フィルタ画像を生成する第2処理とを切り換える。すなわち、処理装置210は、印刷機100の識別情報に基づいて、照合データを選択する。処理装置210はまた、第1フィルタおよび第2フィルタの各々のパラメータや、色変換処理における各種のパラメータを、識別情報に基づいて最適な値に設定する。これにより、機種の異なる複数の印刷機100が混在する環境や、印刷対象(例えば用紙、フィルム等)に応じた複数の印刷モードを印刷機100が有する場合であっても、印刷機100の機種またはモードに応じた適切な検査が可能になる。 Furthermore, the processing device 210 in this embodiment performs a first spatial filtering process using a first filter on the printing source data according to identification information that specifies at least one of the model of the printing press 100 and the mode of the printing press 100. and a second process in which a second spatial filtering process using a second filter is performed on the head data to generate a second filter image. That is, the processing device 210 selects matching data based on the identification information of the printing press 100. The processing device 210 also sets each parameter of the first filter and the second filter and various parameters in the color conversion process to optimal values based on the identification information. As a result, even in an environment where a plurality of printing machines 100 of different models coexist or in a case where the printing machine 100 has a plurality of printing modes depending on the printing target (for example, paper, film, etc.), the model of the printing press 100 Alternatively, appropriate inspection depending on the mode becomes possible.

図5は、機種の異なる複数の印刷機を含むシステムの例を模式的に示す図である。図5には、2台の印刷機100A、100Bが例示されている。印刷機は2台に限らず、3台以上であってもよい。この例における印刷機100Aは、印刷元データと、印刷機100Aの識別情報を出力するように構成されている。一方、印刷機100Bは、ヘッドデータと、印刷機100Bの識別情報を出力するように構成されている。ユーザは、印刷機100Aを用いて印刷を行うか、印刷機100Bを用いて印刷を行うかを選択することができる。印刷機100Aが用いられる場合、処理装置210は、印刷機100Aから印刷元データおよび識別情報を取得し、当該識別情報が示す印刷機100Aの機種またはモードに応じた空間フィルタリング処理および色変換処理を行い、第1フィルタ画像を生成する。一方、印刷機100Bが用いられる場合、処理装置210は、印刷機100Bからヘッドデータおよび識別情報を取得し、当該識別情報が示す印刷機100Bの機種またはモードに応じた空間フィルタリング処理および色変換処理を行い、第2フィルタ画像を生成する。処理装置210は、第1フィルタ画像または第2フィルタ画像と、カメラ画像から変換したカメラフィルタ画像とを照合することにより、印刷の良否を判定する。 Figure 5 is a diagram showing a schematic example of a system including multiple printing machines of different models. Two printing machines 100A and 100B are shown in Figure 5. The number of printing machines is not limited to two, and may be three or more. In this example, the printing machine 100A is configured to output original printing data and identification information of the printing machine 100A. On the other hand, the printing machine 100B is configured to output head data and identification information of the printing machine 100B. The user can select whether to print using the printing machine 100A or the printing machine 100B. When the printing machine 100A is used, the processing device 210 acquires the original printing data and identification information from the printing machine 100A, and performs spatial filtering processing and color conversion processing according to the model or mode of the printing machine 100A indicated by the identification information to generate a first filter image. On the other hand, when the printing machine 100B is used, the processing device 210 acquires head data and identification information from the printing machine 100B, performs spatial filtering processing and color conversion processing according to the model or mode of the printing machine 100B indicated by the identification information, and generates a second filter image. The processing device 210 judges the quality of the print by comparing the first filter image or the second filter image with a camera filter image converted from a camera image.

このように、図5に示す処理装置210は、印刷機100Aまたは100Bの識別情報を取得し、当該識別情報に応じて、印刷元データに空間フィルタリング処理および色変換処理を行う第処理と、ヘッドデータに空間フィルタ処理および色変換処理を行う第2処理とを切り替えることができる。また、処理装置210は、識別情報に応じて、空間フィルタリング処理において用いるフィルタのサイズおよび係数などのパラメータ、ならびに色変換処理のパラメータを調整することができる。これにより、印刷機の機種やモードに応じた適切な検査が可能になる。
In this way, the processing device 210 shown in FIG. 5 acquires the identification information of the printing press 100A or 100B, and performs a first process of performing a spatial filtering process and a color conversion process on the printing source data according to the identification information. It is possible to switch between second processing in which spatial filter processing and color conversion processing are performed on the head data. Furthermore, the processing device 210 can adjust parameters such as the filter size and coefficients used in the spatial filtering process, as well as parameters of the color conversion process, according to the identification information. This makes it possible to perform appropriate inspections depending on the type and mode of the printing press.

図5の例では、印刷機100Aが印刷元データおよび識別情報を処理装置210に送信するように構成されている。印刷機100Aの代わりにコンピュータ300が印刷元データおよび識別情報を処理装置210に送信するように構成されていてもよい。また、印刷機100Bの代わりにコンピュータ300が、印刷機100Bの識別情報を処理装置210に送信するように構成されていてもよい。 In the example of FIG. 5, the printing press 100A is configured to transmit printing source data and identification information to the processing device 210. The computer 300 may be configured to send the printing source data and identification information to the processing device 210 instead of the printing press 100A. Further, the computer 300 may be configured to send the identification information of the printing press 100B to the processing device 210 instead of the printing press 100B.

なお、処理装置210は、カメラ画像に対する空間フィルタリング処理および色調整処理を省略し、印刷元データまたはヘッドデータに基づくフィルタ画像とカメラ画像とを直接照合してもよい。図6Aは、その場合のシステム構成例を示している。印刷元データまたはヘッドデータ(以下、まとめて「印刷データ」と称することがある。)に適切な空間フィルタリング等の処理を行うことにより、人が目視で検査する場合と同程度の高精度の検査が可能である。 Note that the processing device 210 may omit the spatial filtering process and color adjustment process for the camera image, and directly compare the filter image based on the print source data or head data with the camera image. FIG. 6A shows an example of the system configuration in that case. By performing appropriate processing such as spatial filtering on print source data or head data (hereinafter sometimes referred to collectively as "print data"), high-precision inspection comparable to that achieved by human visual inspection can be achieved. is possible.

上記のように、本実施形態における処理装置210は、印刷機100の識別情報を取得した後、以下の第1処理(a)および第2処理(b)のいずれかを実行する。
(a)印刷元データに第1フィルタを用いた第1空間フィルタリング処理を行って生成した第1フィルタ画像と、印刷機によって印刷された印刷物を撮影するカメラによって生成されたカメラ画像との照合を行うことによって印刷物の良否を判定する。
(b)ヘッドデータに第2フィルタを用いた第2空間フィルタリング処理を行って生成した第2フィルタ画像とカメラ画像との照合を行うことによって印刷物の良否を判定する。
As described above, after acquiring the identification information of the printing press 100, the processing device 210 in this embodiment executes either the first process (a) or the second process (b) described below.
(a) The quality of the print is determined by comparing a first filter image generated by performing a first spatial filtering process on the original print data using a first filter with a camera image generated by a camera that photographs the printout printed by the printing press.
(b) A second spatial filtering process is performed on the head data using a second filter, and a second filtered image is generated. The second filtered image is compared with the camera image to determine the quality of the print.

処理装置210は、識別情報に基づいて、第1処理および第2処理のいずれを実行するかを選択する。また、識別情報に基づいて、第1フィルタのパラメータおよび第2フィルタのパラメータを調整する。このような動作により、印刷機の機種またはモードに応じた最適な画像検査が実現される。 The processing device 210 selects which of the first process and the second process to perform based on the identification information. Furthermore, the parameters of the first filter and the parameters of the second filter are adjusted based on the identification information. Through such operations, optimal image inspection can be achieved depending on the type or mode of the printing press.

上記の第1処理(a)または第2処理(b)を実行する代わりに、処理装置210は以下の第3処理(c)を行ってもよい。
(c)印刷元データに第1フィルタを用いた第1空間フィルタリング処理を行って生成した第1フィルタ画像と、ヘッドデータに第2フィルタを用いた第2空間フィルタリング処理を行って生成した第2フィルタ画像との照合を行うことによって印刷コントローラの正常性を判定する。
Instead of performing the first process (a) or the second process (b) above, the processing device 210 may perform the following third process (c).
(c) A first filter image generated by performing a first spatial filtering process using a first filter on the print source data, and a second filter image generated by performing a second spatial filtering process using a second filter on the head data. The normality of the print controller is determined by comparing it with the filter image.

この場合、処理装置210は、カメラ画像を使用せず、印刷元データとヘッドデータとの照合を行う。処理装置210は、第1処理、第2処理、および第3処理のいずれを実行するかを、識別情報に基づいて選択してもよい。 In this case, the processing device 210 compares the original print data with the head data without using the camera image. The processing device 210 may select whether to execute the first process, the second process, or the third process based on the identification information.

図6Bは、上記の第3処理(c)、すなわち印刷元データとヘッドデータとの照合を行う処理装置210の例を示す図である。この例では、カメラ220は用いられず、処理装置210は、印刷元データに空間フィルタリング処理等の変換処理を行って生成した第1フィルタ画像と、ヘッドデータに空間フィルタリング処理等の変換処理を行って生成した第2フィルタ画像とを照合し、照合結果(例えば、印刷コントローラ110が正常であるか否かを示す情報)を出力する。このような構成によれば、カメラ220を用いることなく、印刷コントローラ110の故障または誤動作による印刷不良を検出することができる。この機能は、単独で用いられてもよいし、カメラ画像を用いた照合と併用してもよい。 FIG. 6B is a diagram illustrating an example of the processing device 210 that performs the third process (c), that is, collates print source data and head data. In this example, the camera 220 is not used, and the processing device 210 performs conversion processing such as spatial filtering on the first filter image generated by performing conversion processing such as spatial filtering processing on the print source data and conversion processing such as spatial filtering processing on the head data. and the generated second filter image, and outputs the comparison result (for example, information indicating whether or not the print controller 110 is normal). According to such a configuration, printing defects due to a failure or malfunction of the print controller 110 can be detected without using the camera 220. This function may be used alone or in combination with matching using camera images.

図7Aは、本実施形態における印刷およびフィルタリング処理を施した画像に基づく検査の流れを模式的に示す図である。ここでは、ヘッドデータが示す画像に空間フィルタを用いたフィルタリングを行って生成したフィルタ画像と、カメラ画像との間で照合を行う場合の例を説明する。印刷コントローラ110は、図7Aに示すように、印刷元データにディザリング等の網点(ハーフトーン)処理を行い、ヘッドデータを生成する。ヘッドデータは、印刷元データにおける濃淡が点の密度として表現された網点のデータである。このようなヘッドデータが、例えばシアン、マゼンタ、黄、黒のそれぞれの色ごとに生成され得る。印刷ヘッド120は、このようなヘッドデータに基づいて各色に対応するヘッドを駆動して用紙に印刷を行う。用紙上では、インクのにじみや混合等の影響により、画像に変化が生じる。また、印刷物をカメラで撮影すると、カメラや撮影環境などの特性に応じて、撮影された画像に変化が生じる。その結果、カメラ画像はヘッドデータが示す画像とは一致せず、両者を直接照合することができない。そこで、図7Aの例では、処理装置210は、印刷時の用紙上のインクのにじみや用紙の変形等の影響を擬似的に再現した空間フィルタを用いてヘッドデータをフィルタ画像に変換し、フィルタ画像とカメラ画像とを照合する。これにより、ヘッドデータとカメラ画像との比較が可能になり、検査の精度を大きく向上させることができる。印刷機の機種やモードによって、ヘッドデータにおける網点の大きさや密度、および用紙上のインクのにじみ具合が変化する。本実施形態では、印刷機の機種やモードに応じて、使用する空間フィルタを切り替えることにより、機種やモードによらず適切な検査が可能である。 FIG. 7A is a diagram schematically showing the flow of an inspection based on an image subjected to printing and filtering processing in this embodiment. Here, an example will be described in which a filter image generated by filtering an image indicated by head data using a spatial filter is compared with a camera image. As shown in FIG. 7A, the print controller 110 performs halftone processing such as dithering on the print source data to generate head data. The head data is data of halftone dots in which the shading in the printing source data is expressed as the density of dots. Such head data can be generated for each color, for example, cyan, magenta, yellow, and black. The print head 120 prints on paper by driving heads corresponding to each color based on such head data. On paper, changes occur in the image due to the effects of ink bleeding, mixing, etc. Furthermore, when a printed matter is photographed with a camera, the photographed image changes depending on the characteristics of the camera, the photographing environment, and the like. As a result, the camera image does not match the image indicated by the head data, and the two cannot be directly compared. Therefore, in the example of FIG. 7A, the processing device 210 converts the head data into a filter image using a spatial filter that simulates the effects of ink smearing on the paper during printing, deformation of the paper, etc. Match the image with the camera image. This makes it possible to compare head data and camera images, and greatly improves inspection accuracy. The size and density of halftone dots in head data and the degree of ink bleeding on paper change depending on the model and mode of the printing press. In this embodiment, by switching the spatial filter to be used depending on the model and mode of the printing press, appropriate inspection can be performed regardless of the model or mode.

なお、図7Aの例では、ヘッドデータに空間フィルタリングを行って照合用のフィルタ画像を生成するが、前述のように、印刷元データに空間フィルタリング等の処理を行って照合用のフィルタ画像を生成する場合もある。印刷元データがPDF等のベクタ形式のデータである場合、処理装置210は、印刷元データにラスタライズ処理および色変換処理等の必要な処理を行った上で空間フィルタリングを行ってもよい。印刷元データもカメラ画像とは異なるため、そのままでは両者を照合することができない。印刷元データに、印刷機の機種やモードに応じた適切な空間フィルタリング処理を行うことにより、検査の精度を向上させることができる。 Note that in the example of FIG. 7A, spatial filtering is performed on the head data to generate a filter image for verification, but as described above, processing such as spatial filtering is performed on the printing source data to generate a filter image for verification. In some cases. When the print source data is data in a vector format such as PDF, the processing device 210 may perform spatial filtering after performing necessary processing such as rasterization processing and color conversion processing on the print source data. Since the printing source data is also different from the camera image, it is not possible to compare the two as is. Inspection accuracy can be improved by performing appropriate spatial filtering processing on the printing source data according to the model and mode of the printing press.

図7Aに示す例では、カメラ画像をそのまま照合用のデータとして用いているが、図4の例のように、カメラ画像についても同様に空間フィルタリングおよび色変換等の変換処理を行い、両者の照合をしやすくしてもよい。その場合も、空間フィルタリング処理および色変換処理は、印刷機の識別情報(機種またはモード)に応じて適切に調整され得る。 In the example shown in FIG. 7A, the camera image is used as is as the data for matching, but as in the example of FIG. 4, conversion processes such as spatial filtering and color conversion may also be performed on the camera image to make it easier to match the two. In this case, too, the spatial filtering process and color conversion process may be appropriately adjusted according to the identification information (model or mode) of the printing press.

このように、本実施形態では、印刷に伴う画像の変化の要因を想定して、照合前に印刷データ(および必要に応じてカメラ画像)の加工が行われる。加工は、例えばガウシアンフィルタなどの平滑化を行う空間フィルタ(すなわちローパスフィルタ)を用いて行われ得る。使用される空間フィルタはガウシアンフィルタなどの線形フィルタに限らず、非線形フィルタであってもよい。また、複数の空間フィルタを組み合わせて照合用の適切なフィルタ画像を生成してもよい。空間フィルタは、印刷機100の機種およびモード、ならびに用紙10の特性に応じて予め作成される。空間フィルタは、例えば機械学習を利用して訓練された学習済みモデルとして生成されてもよい。処理装置210自身が検査前に空間フィルタを生成してもよい。処理装置210は、既知の印刷データの印刷時の変形を、例えばニューラルネットワークを利用した機械学習アルゴリズムを用いて学習することによって最適な空間フィルタ(学習済みモデル)を生成してもよい。使用されるニューラルネットワークの例として、誤差逆伝播法を利用した畳み込みニューラルネットワーク(CNN)が挙げられる。処理装置210は、例えばGAN(Generative Adversarial Network)に基づく学習アルゴリズム(pix2pix等)を利用して、印刷機の機種ごとまたはモードごとに最適な空間フィルタを生成してもよい。 In this manner, in the present embodiment, print data (and camera images as necessary) are processed before verification, assuming factors that may cause changes in images due to printing. The processing may be performed using a spatial filter (ie, a low-pass filter) that performs smoothing, such as a Gaussian filter. The spatial filter used is not limited to a linear filter such as a Gaussian filter, but may also be a nonlinear filter. Furthermore, a suitable filter image for comparison may be generated by combining a plurality of spatial filters. The spatial filter is created in advance according to the model and mode of the printing press 100 and the characteristics of the paper 10. The spatial filter may be generated as a learned model trained using machine learning, for example. The processing device 210 itself may generate the spatial filter before inspection. The processing device 210 may generate an optimal spatial filter (learned model) by learning the deformation of known print data during printing using, for example, a machine learning algorithm using a neural network. An example of the neural network used is a convolutional neural network (CNN) that uses error backpropagation. The processing device 210 may generate an optimal spatial filter for each printing press model or mode by using a learning algorithm (such as pix2pix) based on a GAN (Generative Adversarial Network), for example.

図4から図6に示す実施形態では、処理装置210は、印刷データに対して空間フィルタリング処理に加えて、色変換処理も行う。これにより、印刷データとカメラ画像との間で色の比較がしやすくなる。以下、図7Bを参照しながら、本実施形態における色変換処理の概要を説明する。 In the embodiment shown in Figures 4 to 6, the processing device 210 performs color conversion processing in addition to spatial filtering processing on the print data. This makes it easier to compare colors between the print data and the camera image. Below, an overview of the color conversion processing in this embodiment is explained with reference to Figure 7B.

図7Bは、色変換処理の概要を模式的に示す図である。ここでも図7Aに示す例と同様に、ヘッドデータからフィルタ画像が生成される例を説明する。この例において、印刷元データは加色系のRGB色空間で表現され、ヘッドデータは減色系のCMYK色空間で表現されている。カメラで撮影された画像はRGB色空間で表現されるため、ヘッドデータとカメラ画像とを直接照合することができない。そこで、処理装置210は、ヘッドデータに対して、前述の空間フィルタリング処理に加えて、CMYK色空間からRGB色空間への変換処理を行うことによってフィルタ画像を生成する。このような変換を行うことにより、ヘッドデータからカメラで撮影された画像を擬似的に再現することができ、検査の精度を向上させることができる。 FIG. 7B is a diagram schematically showing an overview of color conversion processing. Here, similarly to the example shown in FIG. 7A, an example in which a filter image is generated from head data will be described. In this example, the print source data is expressed in an additive RGB color space, and the head data is expressed in a subtractive CMYK color space. Since the image taken by the camera is expressed in the RGB color space, it is not possible to directly compare the head data and the camera image. Therefore, the processing device 210 generates a filter image by performing a conversion process from the CMYK color space to the RGB color space on the head data in addition to the above-described spatial filtering process. By performing such conversion, it is possible to simulate the image taken by the camera from the head data, and it is possible to improve the accuracy of the inspection.

色変換は、CMYKからRGBへの変換に限らず、他の変換であってもよい。例えば、色の変化に対する感度を肉眼に近づけるために、印刷データ(印刷元データまたはヘッドデータ)およびカメラ画像を、各色の重みづけが等しくなるCIE-Lなどの表色系に変換してもよい。そのような変換を行うことにより、より肉眼に近い検査が可能となる。また、既知の印刷データとカメラ画像を用いて、例えば誤差逆伝播法を利用したCNN等の機械学習アルゴリズムによって訓練された学習済みモデルを用いて印刷データの色変換を行ってもよい。処理装置210は、例えばpix2pix等のアルゴリズムを利用して、前述の空間フィルタリングと色変換とを同時に行うモデルを生成してもよい。そのようなモデルは、印刷機の機種ごと、またはモードごとに生成され得る。 The color conversion is not limited to conversion from CMYK to RGB, and may be other conversions. For example, in order to bring the sensitivity to color changes closer to that of the naked eye, print data (print source data or head data) and camera images are converted to a color system such as CIE-L * a * b * in which each color is weighted equally. May be converted. By performing such conversion, inspection that is closer to the naked eye becomes possible. Furthermore, the color conversion of the print data may be performed using known print data and camera images, using a learned model trained by a machine learning algorithm such as CNN using error backpropagation, for example. The processing device 210 may use an algorithm such as pix2pix to generate a model that simultaneously performs the above-described spatial filtering and color conversion. Such models may be generated for each printing press model or mode.

次に、図8を参照しながら、処理装置210によって実行される処理をより詳細に説明する。 Next, the processing executed by the processing device 210 will be described in more detail with reference to FIG.

図8は、処理装置210のプロセッサ212が実行する処理の例を示すフローチャートである。この例では、処理装置210は、印刷開始後、印刷コントローラ110から印刷終了の指示(ステップS109)を受けるまで、ステップS101からS108の処理を、印刷物のページごとに繰り返す。なお、印刷終了の指示は、コンピュータ300などの、印刷コントローラ110とは異なる装置から入力されてもよい。 FIG. 8 is a flowchart illustrating an example of processing executed by the processor 212 of the processing device 210. In this example, after starting printing, the processing device 210 repeats the processes from steps S101 to S108 for each page of printed matter until receiving an instruction to end printing (step S109) from the print controller 110. Note that the instruction to end printing may be input from a device other than the print controller 110, such as the computer 300.

ステップS100において、処理装置210は、印刷機100の識別情報を取得する。識別情報は、印刷機100の機種を特定する機種情報を含む。識別情報は、さらに、印刷機100のモードを特定するモード情報を含んでいてもよい。モード情報は、例えば、印刷が行われる対象物(用紙またはフィルム等)の種類、印刷ヘッドから吐出されるインクの濃さ、印刷速度、色設定、および印刷画質の少なくとも1つに関する情報を含んでいてもよい。処理装置200は、識別情報を、印刷機100、コンピュータ300、またはユーザが使用する入力装置などの外部の装置から取得するように構成され得る。 In step S100, the processing device 210 acquires identification information of the printing press 100. The identification information includes model information that identifies the model of the printing press 100. The identification information may further include mode information that specifies the mode of printing press 100. The mode information includes, for example, information regarding at least one of the type of object to be printed (paper or film, etc.), the density of ink ejected from the print head, printing speed, color settings, and print image quality. You can stay there. Processing device 200 may be configured to obtain identification information from an external device such as printing press 100, computer 300, or an input device used by a user.

モード情報のデータフォーマットは、印刷機100の機種によって異なる。処理装置200は、取得した機種情報に基づいて、機種によって異なるデータフォーマットを有するモード情報を読み取ることができる。例えば、処理装置200のメモリ(例えば図3に示すROM216)には、印刷機100の機種情報と、対応するモード情報のデータフォーマットとの関係を示すデータが予め格納され得る。処理装置200は、当該データを参照して、印刷機100の機種に対応するデータフォーマットを特定し、そのデータフォーマットに応じた読み取り規則に従ってモード情報を読み取ることができる。 The data format of the mode information differs depending on the model of printing press 100. Based on the acquired model information, the processing device 200 can read mode information having a data format that differs depending on the model. For example, data indicating the relationship between the model information of the printing press 100 and the data format of the corresponding mode information may be stored in advance in the memory of the processing device 200 (for example, the ROM 216 shown in FIG. 3). The processing device 200 can refer to the data, identify the data format corresponding to the model of the printing press 100, and read the mode information according to the reading rule according to the data format.

図9Aは、印刷機100の機種情報と、対応するモード情報のデータフォーマットとの関係を示すデータの一例を示している。図9Aに示すデータは、印刷および検査が行われる現場で使用される複数の印刷機100の識別子(ID)と、機種情報と、出力データの種類(ヘッドデータか印刷元データか)と、モード情報のデータフォーマットとの対応関係を示すテーブルである。処理装置200は、図9Aに示すようなテーブルを参照することにより、機種情報に対応するモード情報のデータフォーマットを特定することができる。 FIG. 9A shows an example of data indicating the relationship between the model information of the printing press 100 and the data format of the corresponding mode information. The data shown in FIG. 9A includes identifiers (IDs) of multiple printing machines 100 used at the site where printing and inspection are performed, machine type information, output data type (head data or printing source data), and mode. This is a table showing the correspondence between information and data formats. The processing device 200 can identify the data format of the mode information corresponding to the model information by referring to a table as shown in FIG. 9A.

ステップS101において、処理装置210は、識別情報に基づいて、印刷機100がヘッドデータを出力する機種であるか否かを判定する。処理装置210は、例えば図9Aに示すようなテーブルを参照して、取得した識別情報に対応する印刷機100がヘッドデータを出力する機種であるか否かを判定する。印刷機100がヘッドデータを出力する機種である(判定結果がYesである)場合、ステップS102に進む。印刷機100が印刷元データを出力する機種である(判定結果がNoである)場合、ステップS103に進む。 In step S101, the processing device 210 determines whether the printing machine 100 is a model that outputs head data based on the identification information. The processing device 210 determines whether the printing machine 100 corresponding to the acquired identification information is a model that outputs head data, for example, by referring to a table such as that shown in FIG. 9A. If the printing machine 100 is a model that outputs head data (the determination result is Yes), the process proceeds to step S102. If the printing machine 100 is a model that outputs original print data (the determination result is No), the process proceeds to step S103.

なお、図9Aに示すテーブルは一例であり、同様の情報を含むデータであれば、図示されるテーブルとは異なる形式のデータが用いられてもよい。例えば、図9Aに示す情報が、印刷機IDごとの機種情報を格納するテーブルと、機種ごとの出力データの種類およびモード情報のデータフォーマットの情報を格納するテーブルとに分散していてもよい。 Note that the table shown in FIG. 9A is an example, and data in a format different from the table shown may be used as long as the data includes similar information. For example, the information shown in FIG. 9A may be distributed between a table that stores model information for each printing press ID and a table that stores information about the data format of the output data type and mode information for each model.

ステップS102において、処理装置210は、印刷コントローラ110からヘッドデータを取得する。その後、ステップS104に進む。 In step S102, the processing device 210 acquires head data from the print controller 110. After that, the process advances to step S104.

ステップS103において、処理装置210は、印刷コントローラ110から印刷元データを取得する。その後、ステップS104に進む。なお、印刷元データは、コンピュータ300から処理装置210に送られてもよい。 In step S103, the processing device 210 acquires the original print data from the print controller 110. Then, the process proceeds to step S104. The original print data may be sent from the computer 300 to the processing device 210.

なお、ヘッドデータまたは印刷元データの取得は、ステップS100における識別情報の取得と同時に行われてもよい。例えば、ステップS100において、処理装置210は、ヘッドデータまたは印刷元データと識別情報とが統合されたデータを印刷コントローラ110またはコンピュータ300から取得するように構成されていてもよい。そのような場合、ステップS101、S102、S103の処理は省略され、ステップS100の後、ステップS104に進む。 Note that the acquisition of head data or printing source data may be performed simultaneously with the acquisition of identification information in step S100. For example, in step S100, the processing device 210 may be configured to acquire data in which head data or print source data and identification information are integrated from the print controller 110 or the computer 300. In such a case, the processes of steps S101, S102, and S103 are omitted, and the process proceeds to step S104 after step S100.

ステップS104において、処理装置210は、取得した印刷元データまたはヘッドデータに空間フィルタリング処理および色変換処理を行い、印刷機フィルタ画像を生成する。 In step S104, the processing device 210 performs spatial filtering processing and color conversion processing on the acquired printing source data or head data to generate a printing press filter image.

空間フィルタリング処理は、例えば、加重平均化フィルタ(例えばガウシアンフィルタ)などの平滑化フィルタを用いた処理を含み得る。空間フィルタリング処理は、平均化フィルタによるサイズ圧縮処理を含んでいてもよい。空間フィルタリング処理により、インクのにじみや用紙の変形の影響を擬似的に再現し、カメラ画像との照合を行いやすくすることができる。ベクタ形式の印刷元データを処理する場合、処理装置210は、空間フィルタリング処理の前に、ラスタライズ処理を行い、ラスタ(ビットマップ)形式の画像に変換してもよい。 Spatial filtering processing may include, for example, processing using a smoothing filter such as a weighted averaging filter (eg, a Gaussian filter). The spatial filtering process may include size compression processing using an averaging filter. Spatial filtering processing can simulate the effects of ink bleeding and paper deformation, making it easier to compare with camera images. When processing print source data in vector format, the processing device 210 may perform rasterization processing to convert the data into a raster (bitmap) format image before performing spatial filtering processing.

本実施形態における処理装置210は、空間フィルタリング処理において用いる1つまたは複数のフィルタを、識別情報に基づいて決定する。例えば、処理装置210は、図9Bに例示されるテーブルを参照して、識別情報が示す印刷機の機種およびモードに対応するフィルタまたはフィルタパラメータ群を選択して使用する。これにより、印刷機の種類およびモードに応じたフィルタを用いて空間フィルタリング処理を適切に実行することができる。 The processing device 210 in this embodiment determines one or more filters to use in the spatial filtering process based on the identification information. For example, the processing device 210 refers to the table illustrated in FIG. 9B and selects and uses a filter or a group of filter parameters that correspond to the model and mode of the printing machine indicated by the identification information. This allows the spatial filtering process to be appropriately performed using a filter that corresponds to the type and mode of the printing machine.

図8に示す例では、処理装置210は、空間フィルタリング処理に加えて、印刷機フィルタ画像の各画素の色を調整する色変換処理も行う。印刷機フィルタ画像がCMYKの4色の色空間で表されている場合、処理装置210は、印刷機フィルタ画像に対してCMYKからカメラ画像の色空間であるRGBへの色変換を行うように構成され得る。色変換は、予め作成された色変換テーブルに基づいて行われ得る。あるいは、処理装置210は、誤差逆伝播法等を利用した学習アルゴリズムを用いて予め訓練された学習済みモデルを用いて、印刷元データまたはヘッドデータを、照合用のフィルタ画像に変換してもよい。処理装置210は、印刷機100の識別情報に基づいて、色変換テーブルまたはモデルを決定してもよい。これにより、印刷機の種類およびモードに応じて適切に色変換処理を実行することが可能である。 In the example shown in FIG. 8, in addition to the spatial filtering process, the processing device 210 also performs a color conversion process to adjust the color of each pixel of the printing press filter image. When the printing press filter image is expressed in a four-color color space of CMYK, the processing device 210 is configured to perform color conversion on the printing press filter image from CMYK to RGB, which is the color space of the camera image. can be done. Color conversion may be performed based on a color conversion table created in advance. Alternatively, the processing device 210 may convert the printing source data or head data into a filter image for comparison using a learned model that is trained in advance using a learning algorithm that uses backpropagation or the like. . Processing device 210 may determine the color conversion table or model based on the identification information of printing press 100. Thereby, it is possible to appropriately execute color conversion processing depending on the type and mode of the printing press.

ステップS105において、処理装置210は、カメラ220からカメラ画像を取得する。カメラ画像は、例えばRGBの画像データである。 In step S105, the processing device 210 acquires a camera image from the camera 220. The camera image is, for example, RGB image data.

ステップS106において、処理装置210は、ステップS105で取得したカメラ画像に空間フィルタリング処理を行い、カメラフィルタ画像を生成する。空間フィルタリング処理は、例えば加重平均化フィルタ(例えばガウシアンフィルタ)などの平滑化フィルタを用いた処理を含み得る。空間フィルタリング処理は、平均化フィルタによるサイズ圧縮処理を含んでいてもよい。空間フィルタリング処理を行うことにより、例えば画素数とぼやけの程度が印刷機フィルタ画像と同等のカメラフィルタ画像を生成することができる。これにより、印刷機フィルタ画像との照合が容易になる。 In step S106, the processing device 210 performs spatial filtering processing on the camera image acquired in step S105 to generate a camera filter image. The spatial filtering process may include processing using a smoothing filter, such as a weighted averaging filter (eg, a Gaussian filter). The spatial filtering process may include size compression processing using an averaging filter. By performing spatial filtering processing, it is possible to generate, for example, a camera filter image that has the same number of pixels and degree of blur as a printing press filter image. This facilitates comparison with the printing press filter image.

処理装置210は、カメラ画像に対する空間フィルタリング処理において用いる1つまたは複数のフィルタを、識別情報に応じて変更してもよい。例えば、処理装置210は、予め用意されたテーブルを参照して、識別情報が示す印刷機の機種およびモードに対応するフィルタまたはフィルタパラメータ群を選択して使用してもよい。これにより、印刷機の種類およびモードに応じたフィルタを用いて空間フィルタリング処理を適切に実行することができる。 The processing device 210 may change one or more filters used in the spatial filtering process for the camera image according to the identification information. For example, the processing device 210 may refer to a pre-prepared table and select and use a filter or a group of filter parameters corresponding to the model and mode of the printing machine indicated by the identification information. This allows the spatial filtering process to be appropriately performed using a filter according to the type and mode of the printing machine.

処理装置210は、空間フィルタリング処理に加えて、カメラ画像の各画素の色を調整する色変換処理を行ってもよい。空間フィルタリング処理および色変換処理に加えて、例えば回転補正などの処理を行って印刷機フィルタ画像との照合をしやすくしてもよい。あるいは、処理装置210は、誤差逆伝播法等を利用した学習アルゴリズムを用いて予め訓練された学習済みモデルを用いて、カメラ画像を、照合用のカメラフィルタ画像に変換してもよい。処理装置210は、印刷機100の識別情報に基づいて、色変換テーブルまたはモデルを決定してもよい。これにより、印刷機の種類およびモードに応じて適切に色変換処理を実行することができる。 In addition to the spatial filtering process, the processing device 210 may perform a color conversion process to adjust the color of each pixel of the camera image. In addition to spatial filtering processing and color conversion processing, processing such as rotation correction may be performed to facilitate comparison with printing press filter images. Alternatively, the processing device 210 may convert the camera image into a camera filter image for comparison using a learned model that has been trained in advance using a learning algorithm that uses error backpropagation or the like. Processing device 210 may determine the color conversion table or model based on the identification information of printing press 100. Thereby, color conversion processing can be appropriately executed depending on the type and mode of the printing press.

なお、ステップS105およびS106の処理は、ステップS102またはS103の前に行われてもよいし、ステップS102またはS103の処理と並行して行われてもよい。 The processing of steps S105 and S106 may be performed before step S102 or S103, or may be performed in parallel with the processing of step S102 or S103.

ステップS107において、処理装置210は、印刷機フィルタ画像とカメラフィルタ画像とを照合し、印刷の良否を判定する。処理装置210は、印刷機フィルタ画像とカメラフィルタ画像との差分に基づいて、印刷の良否を判定する。例えば、印刷機フィルタ画像およびカメラフィルタ画像を対応する小領域ごとに比較し、画素値が大きく異なる箇所を検出した場合に印刷エラーが生じたと判定することができる。 In step S107, the processing device 210 compares the printer filter image with the camera filter image to determine whether the printing is good or bad. The processing device 210 determines whether the printing is good or bad based on the difference between the printer filter image and the camera filter image. For example, the processing device 210 can compare the printer filter image and the camera filter image for each corresponding small area, and determine that a printing error has occurred if a location where pixel values differ significantly is detected.

ステップS108において、処理装置210は、判定結果を出力する。処理装置210は、例えば、印刷に欠陥があるか否か、および欠陥がある場合、画像中のどの箇所に欠陥があるかを示す情報を判定結果として出力する。判定結果は、例えば、処理装置210に接続されたディスプレイ等の出力装置または記憶装置に出力され得る。この出力を見て、ユーザは、印刷に不備が生じたことを知ることができる。処理装置210は、判定結果をページごとに記録した検査結果のリストを作成し、当該リストを記憶装置に記録してもよい。これにより、印刷および検査の履歴を残すことができる。 In step S108, the processing device 210 outputs the determination result. For example, the processing device 210 outputs, as a determination result, information indicating whether or not there is a defect in the printing and, if there is a defect, where in the image the defect is located. The determination result may be output to an output device such as a display or a storage device connected to the processing device 210, for example. By looking at this output, the user can know that a defect has occurred in printing. The processing device 210 may create a list of test results in which the determination results are recorded for each page, and record the list in the storage device. This allows a history of printing and inspection to be kept.

ステップS109において、処理装置210は、印刷終了の指示の有無を判断する。印刷終了の指示がなければ、ステップS101に戻り、次のページの検査を行う。印刷終了の指示は、例えば印刷コントローラ110またはコンピュータ300から入力され得る。 In step S109, the processing device 210 determines whether there is an instruction to end printing. If there is no instruction to end printing, the process returns to step S101 and the next page is inspected. The instruction to end printing may be input from print controller 110 or computer 300, for example.

以上の動作により、処理装置210は、印刷物のページごとに印刷元の画像とカメラ画像とを比較し、印刷に異常がないかを判定することができる。本実施形態においては、ステップS104およびS105において、印刷元データまたはヘッドデータと、カメラ画像に対して、空間フィルタリング処理および色変換処理が行われる。これらの処理により、印刷元データまたはヘッドデータと、カメラ画像との照合を容易にし、検査の精度を向上させることができる。 By performing the above operations, the processing device 210 can compare the original print image with the camera image for each page of the printout and determine whether there are any abnormalities in the print. In this embodiment, in steps S104 and S105, spatial filtering and color conversion processes are performed on the original print data or head data and the camera image. These processes make it easier to match the original print data or head data with the camera image, improving the accuracy of the inspection.

図8の例では、ステップS106においてカメラ画像からカメラフィルタ画像への変換が行われるが、この処理を省略してもよい。 In the example of FIG. 8, the camera image is converted into a camera filter image in step S106, but this process may be omitted.

図10は、処理装置210のプロセッサ212が実行する処理の他の例を示すフローチャートである。図10に示すフローチャートは、図8に示すフローチャートにおけるステップS106およびS107がステップS117に置き換わったものである。ステップS117以外の処理は、図8の例と同様である。図10の例では、処理装置210は、カメラ画像に対する空間フィルタリング処理および色変換処理を行わず、カメラ画像をそのまま照合用のデータとして用いる。ステップS117において、処理装置210は、印刷機フィルタ画像とカメラ画像とを照合し、印刷の良否を判定する。この場合であっても、印刷データから印刷機フィルタ画像を生成するために用いられるモデル(空間フィルタおよび色変換テーブル)を、印刷機の機種またはモードごとに適切に作成することにより、高い精度で印刷の良否を判定することができる。 FIG. 10 is a flowchart showing another example of the process executed by the processor 212 of the processing device 210. In the flowchart shown in FIG. 10, steps S106 and S107 in the flowchart shown in FIG. 8 are replaced with step S117. Processing other than step S117 is similar to the example of FIG. 8. In the example of FIG. 10, the processing device 210 uses the camera image as it is as data for matching without performing spatial filtering processing or color conversion processing on the camera image. In step S117, the processing device 210 compares the printing press filter image and the camera image to determine the quality of printing. Even in this case, high accuracy can be achieved by appropriately creating models (spatial filters and color conversion tables) used to generate printing press filter images from print data for each printing press model or mode. It is possible to judge the quality of printing.

ここで、図11を参照しながら、ステップS104におけるデータ変換処理の具体例を説明する。図11は、ヘッドデータを印刷機フィルタ画像に変換する処理の流れを示している。ここでは一例として、1200dpi(dots per inch)の解像度を有するシアン(C)、マゼンタ(M)、黄(Y)、黒(K)の4色の画像情報を含むヘッドデータ(a)から印刷機フィルタ画像を生成する場合の処理の例を説明する。図11の例では、ヘッドデータが示す画像における画素値は、色ごとに2ビット(合計8ビット)で表現される。画素値0(2進数で00)は「インクなし」を表し、画素値1(2進数で01)はインク量「小」を表し、画素値2(2進数で10)はインク量「中」を表し、画素値3(2進数で11)はインク量「大」を表す。例えば、画素値がシアンについては3(11)、マゼンタについては1(01)、黄については0(00)、黒については2(00)である場合、シアンのインク量は「大」、マゼンタのインク量は「小」、黄は「インクなし」、黒のインク量は「中」である。このように、CMYKの各色のインク量が2ビットで表現され、当該2ビットの数値が大きいほどインク量が多いことを表す。本実施形態では、ヘッドデータにおける画素値と印刷濃度とは非線形の関係にあり、印刷濃度は画素値に比例しない。 Here, a specific example of the data conversion process in step S104 will be described with reference to FIG. 11. FIG. 11 shows the flow of processing for converting head data into a printing press filter image. Here, as an example, the printing machine uses head data (a) containing image information of four colors, cyan (C), magenta (M), yellow (Y), and black (K) with a resolution of 1200 dpi (dots per inch). An example of processing when generating a filter image will be described. In the example of FIG. 11, the pixel value in the image indicated by the head data is expressed by 2 bits for each color (8 bits in total). Pixel value 0 (00 in binary) represents "no ink", pixel value 1 (01 in binary) represents "small" amount of ink, and pixel value 2 (10 in binary) represents "medium" amount of ink. , and a pixel value of 3 (11 in binary) represents a "large" amount of ink. For example, if the pixel value is 3 (11) for cyan, 1 (01) for magenta, 0 (00) for yellow, and 2 (00) for black, the amount of ink for cyan is "large" and the amount of ink for magenta is "large". The amount of ink is "small", the amount of ink for yellow is "no ink", and the amount of ink for black is "medium". In this way, the amount of ink for each color of CMYK is expressed by 2 bits, and the larger the value of the 2 bits, the larger the amount of ink. In this embodiment, the pixel value in the head data and the print density have a nonlinear relationship, and the print density is not proportional to the pixel value.

図11の例において、処理装置210は、CMYKの各色について、予めメモリに記録された濃淡変換テーブルを参照して、各色2ビットの画素値を有するヘッドデータを、各色8ビット(合計32ビット)の画素値を有する画像データ(b)に変換する。この画像データにおける画素値と濃度とは線形の関係にあり、濃度は画素値に比例する。処理装置210は、この画像データに、ガウシアンフィルタおよび平均化フィルタ(例えば16画素を平均化するフィルタ)等の空間フィルタを用いたフィルタリング処理(畳み込み演算)を行う。これにより、処理装置210は、CMYK各色の画像を平滑化し、画素数を1/16(300dpi)に削減した画像データ(c)を生成する。 In the example of FIG. 11, the processing device 210 refers to a grayscale conversion table recorded in advance in memory for each color of CMYK, and converts head data having a pixel value of 2 bits for each color into 8 bits for each color (32 bits in total). The image data is converted into image data (b) having a pixel value of . There is a linear relationship between the pixel value and the density in this image data, and the density is proportional to the pixel value. The processing device 210 performs filtering processing (convolution operation) on this image data using a spatial filter such as a Gaussian filter and an averaging filter (for example, a filter that averages 16 pixels). As a result, the processing device 210 smoothes the CMYK color images and generates image data (c) in which the number of pixels is reduced to 1/16 (300 dpi).

図12Aは、ガウシアンフィルタおよび平均化フィルタの例を示している。これらのフィルタ(カーネル)の各要素(係数)の数値は、印刷によるインクのにじみや用紙の変形等の影響を適切に反映するように決定される。これらのフィルタのサイズ(カーネルサイズ)および各係数は、印刷機100の機種またはモードに応じて適切に調整される。例えば、にじみが生じやすいインクと印刷対象物(例えば用紙またはフィルム)との組み合わせに対応するモードが選択された場合、カーネルサイズを大きくし、係数の勾配を緩くしてもよい。反対に、にじみが生じにくいインクと印刷対象物との組み合わせに対応するモードが選択された場合、ガウシアンフィルタのカーネルサイズを小さくし、係数の勾配を大きくしてもよい。 FIG. 12A shows an example of a Gaussian filter and an averaging filter. The numerical values of each element (coefficient) of these filters (kernels) are determined so as to appropriately reflect the effects of ink bleeding and paper deformation due to printing. The size (kernel size) of these filters and each coefficient are appropriately adjusted depending on the model or mode of printing press 100. For example, if a mode is selected that corresponds to a combination of ink and printing object (eg, paper or film) that is likely to cause bleeding, the kernel size may be increased and the gradient of the coefficient may be made gentler. On the other hand, if a mode corresponding to a combination of ink and print object that does not easily cause bleeding is selected, the kernel size of the Gaussian filter may be made small and the gradient of the coefficient may be made large.

処理装置210は、画像データ(c)に対して、ゲイン調整を行う。ゲイン調整は、印刷元データが示す画像の色に近づけるための処理であり、予めメモリ等の記憶媒体に記録されたゲイン調整テーブルに基づいて、C、M、Y、Kの色ごとに行われ得る。印刷機の機種や印刷モードによって最適なゲイン値が異なるため、ゲイン調整テーブルは、印刷機の機種ごと、およびモードごとに作成され得る。処理装置210は、印刷機の機種またはモードを示す識別情報に基づいて、使用するゲイン調整テーブルを決定するように構成され得る。 The processing device 210 performs gain adjustment on the image data (c). Gain adjustment is a process to bring the color closer to the color of the image indicated by the printing source data, and is performed for each color of C, M, Y, and K based on a gain adjustment table recorded in advance in a storage medium such as memory. obtain. Since the optimal gain value differs depending on the printing press model and printing mode, a gain adjustment table can be created for each printing press model and mode. Processing device 210 may be configured to determine the gain adjustment table to use based on identification information indicating the model or mode of the printing press.

処理装置210は、さらに、予めメモリ等の記憶媒体に記録された色変換テーブルに基づいて、CMYKからRGBへの色変換を行い、印刷機フィルタ画像(d)を生成する。 The processing device 210 further performs color conversion from CMYK to RGB based on a color conversion table previously recorded in a storage medium such as a memory, and generates a printer filter image (d).

図12Bは、色変換テーブルの一例を示している。この色変換テーブルは、CMYKの4つの値の組み合わせと、RGBの3つの値の組み合わせとの対応関係を規定する。色変換テーブルにおける各数値は、インク、用紙、およびカメラ等の特性に応じて適切な値に設定される。例えば、印刷機の機種ごと、あるいはモードごとに、複数の色変換テーブルが予め作成され得る。処理装置210は、印刷機の機種またはモードを示す識別情報に基づいて、使用する色変換テーブルを決定するように構成され得る。 FIG. 12B shows an example of a color conversion table. This color conversion table defines the correspondence between a combination of four CMYK values and a combination of three RGB values. Each numerical value in the color conversion table is set to an appropriate value depending on the characteristics of the ink, paper, camera, etc. For example, a plurality of color conversion tables may be created in advance for each printing press model or mode. Processing device 210 may be configured to determine the color conversion table to use based on identification information indicating the model or mode of the printing press.

図11の例における印刷機フィルタ画像は、RGBの各色の画素値が8ビット(合計24ビット)で表現された300dpiの画像である。処理装置210は、この印刷機フィルタ画像を、カメラ画像またはカメラ画像から変換したカメラフィルタ画像と照合することによって印刷の品質を検査する。なお、本明細書において、カメラ画像そのものと照合することだけでなく、カメラ画像から変換されたカメラフィルタ画像と照合することも、「カメラ画像との照合」という表現で表すことがある。 The printing press filter image in the example of FIG. 11 is a 300 dpi image in which the pixel values of each color of RGB are expressed with 8 bits (24 bits in total). The processing device 210 checks the quality of the print by comparing this printing press filter image with a camera image or a camera filter image converted from the camera image. Note that in this specification, not only matching with the camera image itself but also matching with a camera filter image converted from the camera image is sometimes expressed as "matching with the camera image."

図11の例における各画像の解像度および各画素のビット数、ならびに各フィルタおよび各テーブルにおける数値は一例に過ぎず、これらの数値は、システム(例えば印刷機の機種またはモード)に依存して適切な値に設定される。 The resolution of each image and the number of bits of each pixel in the example of FIG. 11, as well as the values in each filter and each table, are merely examples, and these values are set to appropriate values depending on the system (e.g., the model or mode of the printing machine).

図11の例ではヘッドデータから印刷機フィルタ画像が生成されるが、PDFなどの印刷元データに基づいて印刷機フィルタ画像を生成してもよい。その場合、処理装置210は、印刷元データを、例えばRGB等の所定の色空間で表現されたビットマップ画像のデータに変換した上で、ガウシアンフィルタまたは平均化フィルタなどの空間フィルタを用いた空間フィルタリング(および必要に応じて色変換)を実行して印刷機フィルタ画像を生成してもよい。 In the example of FIG. 11, the printing press filter image is generated from the head data, but the printing press filter image may be generated based on printing source data such as PDF. In that case, the processing device 210 converts the print source data into bitmap image data expressed in a predetermined color space such as RGB, and then converts the data into a bitmap image data expressed in a predetermined color space such as RGB, Filtering (and optionally color conversion) may be performed to generate a press filter image.

次に、本実施形態において用いられる空間フィルタの例をより詳細に説明する。 Next, an example of the spatial filter used in this embodiment will be explained in more detail.

図13は、印刷データに適用される空間フィルタの一例と、空間フィルタのパラメータの調整方法を模式的に示す図である。この例における空間フィルタは、以下の2次元ガウス分布関数に基づくガウシアンフィルタである。

Figure 0007457425000002
ここで、(x,y)は、画像の中心を原点とする座標であり、x軸は画像の横方向に対応し、y軸は画像の縦方向に対応する。σは標準偏差である。 FIG. 13 is a diagram schematically showing an example of a spatial filter applied to print data and a method for adjusting parameters of the spatial filter. The spatial filter in this example is a Gaussian filter based on the following two-dimensional Gaussian distribution function.
Figure 0007457425000002
Here, (x, y) are coordinates with the center of the image as the origin, the x axis corresponds to the horizontal direction of the image, and the y axis corresponds to the vertical direction of the image. σ is the standard deviation.

図13に例示するガウシアンフィルタのカーネルサイズは5×5である。カーネルサイズは、他のサイズ(例えば、3×3、7×7等)であってもよい。カーネルサイズおよび標準偏差σなどのパラメータは、検査で使用される印刷機の機種、印刷機のモード、およびカメラ等の特性に応じて適切な値に設定される。この例ではガウシアンフィルタが用いられるが、他の空間フィルタが用いられる場合も、印刷機およびカメラ等の特性に応じてフィルタのパラメータ(各要素の値)が調整され得る。 The kernel size of the Gaussian filter illustrated in FIG. 13 is 5×5. The kernel size may be other sizes (eg, 3x3, 7x7, etc.). Parameters such as the kernel size and standard deviation σ are set to appropriate values depending on the type of printing press used in the inspection, the mode of the printing press, and the characteristics of the camera and the like. Although a Gaussian filter is used in this example, when other spatial filters are used, the filter parameters (values of each element) can be adjusted depending on the characteristics of the printing press, camera, etc.

ここで、印刷データ、フィルタ画像、カメラ画像における座標(i,j)の画素値を、それぞれA[i,j]、B[i,j]、C[i,j]と表記する。フィルタ画像の画素値B[i,j]は、上記の2次元ガウス分布関数を用いて以下の式で近似される。

Figure 0007457425000003
Here, the pixel values at coordinates (i, j) in the print data, filter image, and camera image are expressed as A[i,j], B[i,j], and C[i,j], respectively. The pixel value B[i,j] of the filter image is approximated by the following formula using the above two-dimensional Gaussian distribution function.
Figure 0007457425000003

カメラ画像とフィルタ画像との偏差dは、以下の式で表される。

Figure 0007457425000004
The deviation d between the camera image and the filter image is expressed by the following formula.
Figure 0007457425000004

空間フィルタの各パラメータは、この偏差dを最小化するように予め適切な値に決定される。空間フィルタの各パラメータは、機械学習を利用して決定してもよい。例えば、印刷データA[i,j]とカメラ画像C[i,j]とのペアに相当する多数の学習用データセットと、所定の機械学習アルゴリズムとを用いた教師あり学習を実行することにより、空間フィルタの各パラメータを決定してもよい。この学習の結果、検査で実際に使用される空間フィルタが、ガウシアンフィルタとは異なるフィルタになってもよい。 Each parameter of the spatial filter is determined in advance to an appropriate value so as to minimize this deviation d. Each parameter of the spatial filter may be determined using machine learning. For example, by performing supervised learning using a predetermined machine learning algorithm and a large number of training datasets corresponding to pairs of print data A[i,j] and camera images C[i,j], , each parameter of the spatial filter may be determined. As a result of this learning, the spatial filter actually used in the inspection may be a filter different from the Gaussian filter.

次に、本実施形態における色変換処理と、色変換テーブルの調整方法の例をより詳細に説明する。 Next, we will explain in more detail the color conversion process in this embodiment and an example of how to adjust the color conversion table.

図14は、色変換テーブルの例と、そのパラメータの調整方法の例を示す図である。この例では、処理装置210は、メモリ等の記憶媒体に記録された色変換テーブルに基づいて、CMYKの印刷データを、RGBのフィルタ画像に変換する。この色変換テーブルは、CMYKの4色の値の組み合わせと、RGBの3色の値の組み合わせとの関係を規定するデータである。色変換テーブルに代えて、同様の変換を実現する関数またはモデルが用いられてもよい。色変換テーブルにおける各パラメータは、カメラ画像とフィルタ画像との偏差を最小にするように決定される。処理装置210は、印刷データA[i,j]とカメラ画像C[i,j]とのペアに相当する多数の学習用データセットと、所定の機械学習アルゴリズムとを用いた教師あり学習を実行することにより、色変換テーブルのパラメータを調整してもよい。 FIG. 14 is a diagram showing an example of a color conversion table and an example of a method for adjusting its parameters. In this example, the processing device 210 converts CMYK print data into an RGB filter image based on a color conversion table recorded in a storage medium such as a memory. This color conversion table is data that defines the relationship between the combination of four color values of CMYK and the combination of three color values of RGB. Instead of a color conversion table, a function or model that implements a similar conversion may be used. Each parameter in the color conversion table is determined to minimize the deviation between the camera image and the filter image. The processing device 210 executes supervised learning using a predetermined machine learning algorithm and a large number of learning data sets corresponding to pairs of print data A[i,j] and camera images C[i,j]. By doing so, the parameters of the color conversion table may be adjusted.

本実施形態では、空間フィルタリング処理と色変換処理とが別々に実行されるが、これらの処理を包含した変換処理が行われてもよい。そのような変換処理は、例えばニューラルネットワーク等の機械学習アルゴリズムを利用して訓練された学習済みモデルを用いた変換であってもよい。処理装置210は、例えばGAN等のアルゴリズムを利用して、印刷データから擬似的なカメラ画像を生成するための学習済みモデルを生成してもよい。 In this embodiment, the spatial filtering process and the color conversion process are performed separately, but a conversion process that includes these processes may also be performed. Such conversion processing may be, for example, conversion using a learned model trained using a machine learning algorithm such as a neural network. The processing device 210 may generate a trained model for generating a pseudo camera image from print data using an algorithm such as GAN, for example.

次に、印刷データから変換された印刷機フィルタ画像とカメラ画像との照合処理の例を説明する。 Next, an example of matching processing between a printing press filter image converted from print data and a camera image will be described.

図15は、印刷機フィルタ画像とカメラ画像との照合処理の一例を示す図である。この例では、処理装置210は、印刷機フィルタ画像とカメラ画像とを複数の領域に分割し、領域ごとに両者を照合する。図15の例では、各画像が12の領域に分割されている。領域間にはオーバーラップ領域が設けられる。処理装置210は、印刷機フィルタ画像から切り出す領域を例えば縦横の各方向に1画素ずつ移動させながら複数回照合し、カメラ画像との一致度が最も高い切り出し領域を決定し、その領域とカメラ画像における対応する領域とを比較してもよい。カメラにおけるレンズの収差に起因するカメラ画像の変形等の予測可能な変形の影響を補償するために、予め座標にオフセットが設けられていてもよい。処理装置210は、印刷機フィルタ画像の画素値とカメラ画像の対応する画素値との差を画素ごとに計算し、当該画素値の差に基づいて、印刷の欠陥を検出することができる。処理装置210は、例えば、上記の領域ごとに、SSD(Sum of Squared Difference)またはSAD(Sum of Absolute Difference)等の画像の差分を示す指標値を計算し、その値が閾値を超えた場合に、その領域の印刷に欠陥があることを検出することができる。なお、カメラ画像に空間フィルタリングや色変換処理が行われたカメラフィルタ画像と印刷機フィルタ画像とを照合する場合も、同様の方法で印刷の良否を判定することができる。 FIG. 15 is a diagram illustrating an example of a process of matching a printing press filter image and a camera image. In this example, the processing device 210 divides the printing press filter image and the camera image into a plurality of regions, and compares the two regions for each region. In the example of FIG. 15, each image is divided into 12 regions. Overlapping regions are provided between the regions. The processing device 210 compares the area to be cut out from the printing press filter image multiple times while moving it one pixel at a time in each direction, for example, vertically and horizontally, determines the cutting area with the highest degree of matching with the camera image, and combines that area with the camera image. You may also compare the corresponding areas in . An offset may be provided in advance to the coordinates in order to compensate for the effects of predictable deformation, such as deformation of the camera image due to lens aberrations in the camera. The processing device 210 can calculate, pixel by pixel, the difference between the pixel value of the printing press filter image and the corresponding pixel value of the camera image, and detect printing defects based on the pixel value difference. For example, the processing device 210 calculates an index value indicating the image difference, such as SSD (Sum of Squared Difference) or SAD (Sum of Absolute Difference), for each of the above regions, and when the value exceeds a threshold value, , it is possible to detect that there is a defect in the printing in that area. Note that when comparing a camera filter image obtained by performing spatial filtering or color conversion processing on a camera image with a printer filter image, the quality of printing can be determined in the same manner.

以上のように、本実施形態における検査システムは、入力された印刷元データをヘッドデータに変換する印刷コントローラ110と、ヘッドデータに基づいて印刷を行う印刷ヘッド120とを備えた印刷機100と組み合わせて使用される。検査システムは、印刷機100によって印刷された印刷物を撮影してカメラ画像を生成するカメラ220と、処理装置210とを備える。処理装置210は、印刷機の機種および印刷機のモードの少なくとも一方を特定する識別情報を取得し、(a)印刷元データに第1フィルタを用いた第1空間フィルタリング処理を行って生成した第1フィルタ画像と、印刷機によって印刷された印刷物を撮影するカメラによって生成されたカメラ画像との照合を行うことによって印刷物の良否を判定する第1処理、および(b)ヘッドデータに第2フィルタを用いた第2空間フィルタリング処理を行って生成した第2フィルタ画像とカメラ画像との照合を行うことによって印刷物の良否を判定する第2処理、のいずれかを実行する。処理装置210は、第1フィルタのパラメータおよび第2フィルタのパラメータを、識別情報に基づいて決定する。 As described above, the inspection system in this embodiment is combined with a printing press 100 that includes a print controller 110 that converts input printing source data into head data, and a print head 120 that prints based on the head data. used. The inspection system includes a camera 220 that photographs a printed matter printed by the printing press 100 to generate a camera image, and a processing device 210. The processing device 210 acquires identification information that specifies at least one of a printing press model and a printing press mode, and (a) performs a first spatial filtering process using a first filter on the printing source data to generate the first spatial filtering process. (b) applying a second filter to the head data; and (b) applying a second filter to the head data. A second process is performed in which the quality of the printed matter is determined by comparing the second filter image generated by performing the second spatial filtering process used with the camera image. The processing device 210 determines the parameters of the first filter and the parameters of the second filter based on the identification information.

このような構成により、印刷機の機種やモードに応じた印刷時のインクのにじみや用紙の変形、またはカメラのレンズの収差等の影響を補償することができる。このため、機種の異なる複数の印刷機が混在する環境や、用紙やフィルムの種類に応じた複数の印刷モードを有する印刷機を用いる場合であっても、機種やモードによらず、印刷物の画像検査の精度を向上させることができる。 With such a configuration, it is possible to compensate for the effects of ink smearing and paper deformation during printing, or aberrations of a camera lens, etc., depending on the model and mode of the printing press. Therefore, even in an environment where multiple printing machines of different models coexist, or when using a printing machine with multiple printing modes depending on the type of paper or film, the image quality of the printed matter can be maintained regardless of the model or mode. The accuracy of inspection can be improved.

なお、本実施形態では、印刷元データまたはヘッドデータに、空間フィルタリング処理および色変換処理が行われるが、印刷物によっては色変換処理が省略されてもよい。例えば、モノクロ印刷の検査が行われる場合、色変換処理は省略され得る。この点は、カメラ画像に対する色変換処理についても同様である。また、本実施形態における印刷装置100はインクジェットプリンタであるが、レーザプリンタ等の電子写真方式のプリンタ、または有版印刷を行う印刷機に本実施形態の技術を適用してもよい。 Note that in this embodiment, spatial filtering processing and color conversion processing are performed on the print source data or head data, but the color conversion processing may be omitted depending on the printed matter. For example, when monochrome printing is inspected, the color conversion process may be omitted. This point also applies to color conversion processing for camera images. Further, although the printing apparatus 100 in this embodiment is an inkjet printer, the technology of this embodiment may be applied to an electrophotographic printer such as a laser printer, or a printing machine that performs plate printing.

さらに、処理装置210は、印刷元データに適用する第1空間フィルタリング処理に用いられる第1フィルタのパラメータと、ヘッドデータに適用する第2空間フィルタリング処理に用いられる第2フィルタのパラメータとを、印刷機の識別情報に基づいて決定し、印刷元データに第1空間フィルタリング処理を行って生成した第1フィルタ画像と、ヘッドデータに第2空間フィルタリング処理を行って生成した第2フィルタ画像とを照合し、照合結果を出力してもよい。このような照合により、カメラを用いることなく、印刷機の印刷ヘッドの不具合を検出することができる。 Furthermore, the processing device 210 may determine the parameters of the first filter used in the first spatial filtering process applied to the original print data and the parameters of the second filter used in the second spatial filtering process applied to the head data based on the identification information of the printing machine, compare the first filter image generated by performing the first spatial filtering process on the original print data with the second filter image generated by performing the second spatial filtering process on the head data, and output the comparison result. By such comparison, it is possible to detect defects in the print head of the printing machine without using a camera.

(実施形態2)
次に、前述の空間フィルタリングおよび色変換等の変換処理を行うために用いられる学習済みモデルを機械学習によって生成する方法の例を説明する。
(Embodiment 2)
Next, an example of a method for generating a trained model by machine learning to be used for performing conversion processes such as the spatial filtering and color conversion described above will be described.

図16は、本実施形態における学習済みモデルの生成方法の流れを示すフローチャートである。この方法は、学習用データセットを生成する工程(ステップS200)と、学習用データセットに基づいて学習済みモデルを生成する工程(ステップS210)とを含む。ステップS200は、ステップS201からS205を含む。ステップS210は、ステップS211からS213を含む。ステップS200とステップS210とは、同一の装置が実行してもよいし、異なる装置が実行してもよい。以下の説明では、一例として、図3に示すコンピュータ300がステップS200を実行し、処理装置210がステップS210を実行するものとする。なお、ステップS200およびS210のそれぞれの処理は、コンピュータ300、処理装置210に限らず、他の装置によって実行されてもよい。 FIG. 16 is a flowchart showing the flow of the trained model generation method in this embodiment. This method includes the steps of generating a training dataset (step S200) and generating a trained model based on the training dataset (step S210). Step S200 includes steps S201 to S205. Step S210 includes steps S211 to S213. Step S200 and step S210 may be executed by the same device or by different devices. In the following description, it is assumed, as an example, that the computer 300 shown in FIG. 3 executes step S200, and the processing device 210 executes step S210. Note that the respective processes of steps S200 and S210 may be executed not only by the computer 300 and the processing device 210 but also by other devices.

ステップS201において、コンピュータ300は、学習用印刷データを記憶装置から取得する。学習用印刷データは、例えば、実際に検査される印刷物と同様の画像を示すデータ、または学習用に特別に作成された複数の色のパターンを含むテストチャートの画像を示すデータであり得る。学習用印刷データは、予め作成され、コンピュータ300内の記憶装置または外部の記憶装置に記録される。学習用印刷データは、図3に示す印刷元データに相当する。なお、学習用印刷データは、ヘッドデータと同等の形式のデータであってもよい。 In step S201, the computer 300 acquires learning print data from the storage device. The learning print data may be, for example, data showing an image similar to a printed matter actually inspected, or data showing an image of a test chart including a plurality of color patterns specially created for learning. The learning print data is created in advance and recorded in a storage device within the computer 300 or an external storage device. The learning print data corresponds to the print source data shown in FIG. Note that the learning print data may be data in the same format as the head data.

ステップS202において、コンピュータ300は、印刷機100に、学習用印刷データに基づく印刷の実行を指示する。これを受けて、印刷機100は、用紙10に印刷を実行する。 In step S202, the computer 300 instructs the printing machine 100 to execute printing based on the learning print data. In response, the printing machine 100 executes printing on the paper 10.

ステップS203において、コンピュータ300は、カメラ220に、学習用印刷データに基づいて印刷された印刷物の撮影を指示する。これを受けて、カメラ220は、印刷物の画像データ(以下、「学習用カメラ画像」と呼ぶ。)を生成する。 In step S203, the computer 300 instructs the camera 220 to take a photograph of the printed matter based on the learning print data. In response to this, the camera 220 generates image data of the printed matter (hereinafter referred to as "learning camera image").

ステップS204において、コンピュータ300は、学習用カメラ画像と学習用印刷データとを関連付けて記憶装置に記録する。 In step S204, computer 300 associates the learning camera image with the learning print data and records them in the storage device.

ステップS205において、コンピュータ300は、学習用データの生成の終了指示が出されたか否かを判定する。終了指示は、例えばユーザの操作に基づいてコンピュータ300に入力され得る。あるいは、予め設定された件数の印刷および撮影の動作が終了した時点で終了指示が出されてもよい。終了指示が出されるまで、コンピュータ300は、異なる学習用印刷データに対してステップS201からS205の動作を繰り返す。 In step S205, computer 300 determines whether an instruction to end the generation of learning data has been issued. The instruction to end may be input to computer 300 based on, for example, a user's operation. Alternatively, the instruction to end may be issued when a preset number of printing and photographing operations have been completed. Until the instruction to end is issued, computer 300 repeats the operations of steps S201 to S205 for different learning print data.

以上の動作により、学習用印刷データと学習用カメラ画像との組を1組以上含む学習用データセットが生成され、記憶装置に記録される。この学習用データセットは、印刷データを擬似的なカメラ画像(以下、「照合用印刷画像」と呼ぶことがある。)に変換するための機械学習モデルを訓練するために用いられる。学習の効果を高めるために、学習用印刷データと学習用カメラ画像との組をできる限り多く用意することが好ましい。実際の検査で用いられた印刷データと、それに対応するカメラ画像との組を、学習用データセットに含めてもよい。 Through the above operations, a learning data set including one or more pairs of learning print data and learning camera images is generated and recorded in the storage device. This learning data set is used to train a machine learning model for converting print data into a pseudo camera image (hereinafter sometimes referred to as a "verification print image"). In order to enhance the effectiveness of learning, it is preferable to prepare as many pairs of learning print data and learning camera images as possible. A set of print data used in an actual inspection and a camera image corresponding thereto may be included in the learning data set.

次に、学習用データセットを用いて学習済みモデルを生成するステップS210の詳細を説明する。 Next, we will explain the details of step S210, which generates a trained model using the training dataset.

ステップS211において、処理装置210は、学習用データセットを記憶装置から取得する。学習用データセットが学習用印刷データと学習用カメラ画像との組を複数組含む場合、全ての組のデータを取得する。 In step S211, the processing device 210 acquires a learning data set from the storage device. If the learning data set includes a plurality of sets of learning print data and learning camera images, data of all sets are acquired.

ステップS212において、処理装置210は、所定の機械学習アルゴリズムを利用して、学習用データセットに基づいて機械学習を行うことにより、印刷データを照合用印刷画像に変換するためのモデル(学習済みモデル)を生成する。機械学習アルゴリズムとして、例えば深層学習を利用して入力画像を他の画像に変換する用途に用いられる種々のアルゴリズムを利用することができる。例えば、GAN、NST(Neural Style Transfer)等の、畳み込みニューラルネットワーク(CNN)を利用したアルゴリズムを利用することができる。生成される学習済みモデルは、例えば実施形態1において説明した空間フィルタリング処理と、カラー変換処理とを実行するモデルであり得る。学習済みモデルの生成は、学習用印刷データと、対応する学習用カメラ画像との偏差を小さくするように、当該モデルにおける複数のパラメータを調整することを含む。 In step S212, the processing device 210 uses a predetermined machine learning algorithm to perform machine learning based on the learning data set, thereby creating a model (a learned model) for converting the print data into a print image for verification. ) is generated. As the machine learning algorithm, various algorithms used for converting an input image into another image using deep learning, for example, can be used. For example, an algorithm using a convolutional neural network (CNN), such as GAN or NST (Neural Style Transfer), can be used. The generated trained model may be a model that executes the spatial filtering process and color conversion process described in the first embodiment, for example. Generation of the learned model includes adjusting a plurality of parameters in the model so as to reduce the deviation between the learning print data and the corresponding learning camera image.

ステップS213において、処理装置210は、生成した学習済みモデルを記憶装置(例えばROM216)に記録する。 In step S213, the processing device 210 records the generated trained model in a storage device (eg, ROM 216).

以上の動作により、印刷データを照合用印刷画像に変換するための学習済みモデルを生成することができる。前述のように、印刷機の機種またはモードによって、最適な空間フィルタリング処理および色変換処理は異なる。このため、学習済みモデルは、印刷機の機種ごと、あるいはモードごとに生成され得る。生成された学習済みモデルに基づいて検査を行う場合、処理装置210は、当該学習済みモデルを実装した画像変換プログラムを実行して、検査対象の印刷データを照合用印刷画像に変換する。当該画像変換プログラムは、印刷機の機種やモードに応じて異なる学習済みモデルを適用するように構成され得る。処理装置210は、照合用印刷画像を、カメラ画像、またはカメラ画像に回転補正や色補正等の処理を行った画像(まとめて「照合用カメラ画像」と呼ぶ。)と比較・照合し、印刷物の良否を判定する。 The above operations can generate a trained model for converting print data into a print image for comparison. As described above, the optimal spatial filtering process and color conversion process differ depending on the model or mode of the printing machine. For this reason, a trained model can be generated for each model or mode of the printing machine. When performing an inspection based on the generated trained model, the processing device 210 executes an image conversion program that implements the trained model to convert the print data to be inspected into a print image for comparison. The image conversion program can be configured to apply different trained models depending on the model or mode of the printing machine. The processing device 210 compares and collates the print image for comparison with a camera image or an image that has been processed by performing rotation correction, color correction, etc. on the camera image (collectively referred to as a "camera image for comparison") to determine whether the print is good or bad.

次に、モデル生成に用いられる学習用印刷データとして用いられるテストチャートの例を説明する。テストチャートは、例えば色の異なる複数の領域が1次元的または2次元的に配列されたパターンを含み得る。本明細書において「色」は、色相、明度、彩度の組み合わせを意味する。 Next, we will explain an example of a test chart used as learning print data for model generation. The test chart may include, for example, a pattern in which multiple areas of different colors are arranged one-dimensionally or two-dimensionally. In this specification, "color" refers to a combination of hue, lightness, and saturation.

図17Aから図17Cは、テストチャートの画像の例を示している。図17Aは、色の異なる複数のカラーブロックが2次元的に配列されたテストチャートの例を示している。このテストチャートは、印刷物の搬送方向に相当する方向(図の縦方向)と、搬送方向に垂直な方向に相当する方向(図の横方向)とに配列された多数の正方形のカラーブロックの領域を含む。各カラーブロックは小さく、例えば10mm×10mmよりも小さい。カラーブロックの個数は、例えば1000以上である。これらのカラーブロックの色は、例えば印刷機100によって印刷可能な色の大部分が網羅されるように選択され得る。カラーブロックの全ての色が異なっている必要はなく、同一の色のブロックが含まれていてもよい。 17A to 17C show examples of images of test charts. FIG. 17A shows an example of a test chart in which a plurality of color blocks of different colors are two-dimensionally arranged. This test chart consists of areas of many square color blocks arranged in a direction corresponding to the conveyance direction of the printed material (vertical direction in the figure) and a direction corresponding to the direction perpendicular to the conveyance direction (horizontal direction in the figure). including. Each color block is small, for example smaller than 10 mm x 10 mm. The number of color blocks is, for example, 1000 or more. The colors of these color blocks may be selected to cover most of the colors printable by printing press 100, for example. All colors of the color blocks do not need to be different, and blocks of the same color may be included.

図17Bは、色の異なる複数のカラーバーが1次元的に配列されたテストチャートの例を示している。このテストチャートは、印刷物の搬送方向に垂直な方向に相当する方向(図の横方向)に延びる複数の色の異なるカラーバーを含んでいる。複数のカラーバーは、搬送方向に相当する方向(図の縦方向)に沿って配列されている。各カラーバーの幅(縦方向における寸法)は小さく、例えば10mmよりも小さい。カラーバーの本数は、例えば30本以上である。これらのカラーバーの色は、例えば印刷機100によって印刷可能な色の大部分が網羅されるように選択され得る。カラーバーの全ての色が異なっている必要はなく、同一の色のカラーバーが含まれていてもよい。 FIG. 17B shows an example of a test chart in which a plurality of color bars of different colors are arranged one-dimensionally. This test chart includes a plurality of color bars of different colors extending in a direction (horizontal direction in the figure) corresponding to the direction perpendicular to the conveyance direction of the printed matter. The plurality of color bars are arranged along a direction corresponding to the transport direction (vertical direction in the figure). The width (dimension in the vertical direction) of each color bar is small, for example smaller than 10 mm. The number of color bars is, for example, 30 or more. The colors of these color bars may be selected to cover most of the colors printable by printing press 100, for example. All colors of the color bar do not need to be different, and color bars of the same color may be included.

印刷機100がインクジェットプリンタである場合、印刷ヘッド120は、例えばCMYKの各色について複数のヘッドを含み得る。各色についての複数のヘッドは、搬送方向に垂直な方向に沿って配列され得る。ヘッドによってインクの吐出具合が異なり得ることから、同じ色でもヘッドの位置によってインクの濃度および広がり具合が異なり得る。そこで、図17Bの例では、ヘッドの配列方向に対応する方向に沿って延びる複数のカラーバーを含むテストチャートが用いられる。このようなテストチャートを用いることにより、ヘッドの配列方向における位置によってそれぞれの色がどのように変化するのかを効果的に学習することができる。 If printing machine 100 is an inkjet printer, print head 120 may include multiple heads for each color of CMYK, for example. Multiple heads for each color may be arranged along a direction perpendicular to the transport direction. Since the ink ejection condition may differ depending on the head, the density and spread of the ink may differ depending on the position of the head even for the same color. Therefore, in the example of FIG. 17B, a test chart including a plurality of color bars extending in a direction corresponding to the direction in which the heads are arranged is used. By using such a test chart, it is possible to effectively learn how each color changes depending on the position in the arrangement direction of the heads.

図17Aおよび図17Bに例示するテストチャートには、そのテストチャートの種類を示す情報を含む複数の2次元コード70が含まれている。2次元コード70は、例えばQR(Quick Response)コード等の、所定の規則で情報が2次元的な濃淡の情報で表現されたコードである。2次元コード70は、モデルの学習を行う装置においてテストチャートの種類の特定および各色の領域の位置の特定に利用され得る。図17Aおよび図17Bの例においては、複数の2次元コード70が、カラーブロックまたはカラーバーの周囲の所定の位置に配置されている。このように2次元コード70を配置することにより、照合時の位置決めを容易にすることができる。2次元コード70の少なくとも一部は、印刷物の搬送方向に垂直な方向に相当する方向(横方向)に沿って配置され得る。このような2次元コード70は、照合時に目印として機能し、各色の領域の特定を容易にする。2次元コード70は、カラーチャートに含まれる各色の領域の位置を特定するための情報を含み得る。例えば、カラーチャートに設定された座標系における位置座標と、その位置座標における色との対応関係を示す情報が2次元コード70に含まれ得る。図17Aおよび図17Bの例のように、複数の2次元コード70がカラーチャートに含まれる場合、各2次元コード70は、自身の位置座標の情報に加え、その2次元コード70に対応付けられた複数の色の領域の位置座標の情報を含んでいてもよい。そのような情報を参照することにより、処理装置210は、2次元コード70を目印として、各色の領域の位置を特定することができる。これにより、位置決めを容易にし、学習の精度を向上させることができる。 The test chart illustrated in FIGS. 17A and 17B includes a plurality of two-dimensional codes 70 including information indicating the type of the test chart. The two-dimensional code 70 is a code, such as a QR (Quick Response) code, in which information is expressed as two-dimensional shading information according to a predetermined rule. The two-dimensional code 70 can be used to identify the type of test chart and the position of each color area in a model learning device. In the example of FIGS. 17A and 17B, a plurality of two-dimensional codes 70 are arranged at predetermined positions around a color block or color bar. By arranging the two-dimensional code 70 in this manner, positioning during verification can be facilitated. At least a portion of the two-dimensional code 70 may be arranged along a direction (lateral direction) corresponding to a direction perpendicular to the conveyance direction of the printed material. Such a two-dimensional code 70 functions as a mark during verification and facilitates identification of each color area. The two-dimensional code 70 may include information for specifying the position of each color region included in the color chart. For example, the two-dimensional code 70 may include information indicating the correspondence between position coordinates in the coordinate system set in the color chart and colors at the position coordinates. As in the example of FIGS. 17A and 17B, when a plurality of two-dimensional codes 70 are included in the color chart, each two-dimensional code 70 is associated with the two-dimensional code 70 in addition to its own position coordinate information. It may also include information on the position coordinates of regions of multiple colors. By referring to such information, the processing device 210 can specify the position of each color area using the two-dimensional code 70 as a landmark. This facilitates positioning and improves learning accuracy.

なお、2次元コードに代えて、1次元コード(バーコード)がカラーチャートに設けられていてもよい。バーコードを用いた場合であっても同様の機能を実現できる。また、2次元コードおよび1次元コードに代えて、例えば特徴的なマーク、文字、または記号を用いて同様の機能を実現してもよい。 In addition, instead of the two-dimensional code, a one-dimensional code (barcode) may be provided on the color chart. The same function can be achieved even when a barcode is used. Also, instead of the two-dimensional code and one-dimensional code, for example, a distinctive mark, character, or symbol may be used to achieve the same function.

図17Cは、テストチャートのさらに他の例を示す図である。このテストチャートは、色の異なる複数のカラーバーを含む。各カラーバーは、搬送方向に垂直な方向に相当する方向(横方向)に沿って明度が連続的に変化する。このようなテストチャートを用いることにより、明度の異なる複数の色の学習を効率的に行うことができる。 FIG. 17C is a diagram showing still another example of the test chart. This test chart includes a plurality of color bars of different colors. The brightness of each color bar changes continuously along a direction (horizontal direction) corresponding to a direction perpendicular to the transport direction. By using such a test chart, it is possible to efficiently learn a plurality of colors having different lightness.

図17Aから17Cに例示するようなテストチャートは、1種類に限らず、複数種類のテストチャートが用いられてもよい。その場合、例えばテストチャートごとに図16に示すステップS201からS205の動作が繰り返される。テストチャートを用いた学習と、通常の検査対象に近いテスト用データを用いた学習とを組み合わせて、より高精度の画像変換が可能なモデルを生成してもよい。 The number of test charts illustrated in FIGS. 17A to 17C is not limited to one type, and multiple types of test charts may be used. In that case, for example, the operations from steps S201 to S205 shown in FIG. 16 are repeated for each test chart. A model that can perform image conversion with higher accuracy may be generated by combining learning using a test chart and learning using test data close to a normal inspection target.

以上のように、本開示は、以下の項目に記載のシステム、装置、方法、およびプログラムを含む。 As described above, the present disclosure includes the systems, devices, methods, and programs described in the following items.

[項目1]
入力された印刷元データをヘッドデータに変換する印刷コントローラと、前記ヘッドデータに基づいて印刷を行う印刷ヘッドと、を備えた印刷機と組み合わせて使用される検査システムであって、
前記印刷機によって印刷された印刷物を撮影してカメラ画像を生成するカメラと、
処理装置と、
を備え、
前記処理装置は、
前記印刷機の機種および前記印刷機のモードの少なくとも一方を特定する識別情報を取得し、
(a)前記印刷元データに第1フィルタを用いた第1空間フィルタリング処理を行って生成した第1フィルタ画像と、前記印刷機によって印刷された印刷物を撮影するカメラによって生成されたカメラ画像との照合を行うことによって前記印刷物の良否を判定する第1処理、および(b)前記ヘッドデータに第2フィルタを用いた第2空間フィルタリング処理を行って生成した第2フィルタ画像と前記カメラ画像との照合を行うことによって前記印刷物の良否を判定する第2処理、のいずれかを実行し、
前記第1フィルタのパラメータおよび前記第2フィルタのパラメータを、前記識別情報に基づいて決定する、
検査システム。
[Item 1]
An inspection system used in combination with a printing machine including a print controller that converts input print source data into head data, and a print head that prints based on the head data,
a camera for capturing an image of a printed matter printed by the printing machine and generating a camera image;
A processing device;
Equipped with
The processing device includes:
acquiring identification information that identifies at least one of the model of the printing press and the mode of the printing press;
(a) a first process for judging the quality of the printed matter by comparing a first filtered image generated by performing a first spatial filtering process on the original printing data using a first filter with a camera image generated by a camera that photographs a printed matter printed by the printing press, and (b) a second process for judging the quality of the printed matter by comparing a second filtered image generated by performing a second spatial filtering process on the head data using a second filter with the camera image,
determining a parameter of the first filter and a parameter of the second filter based on the identification information;
Inspection system.

[項目2]
前記処理装置は、前記第1処理および前記第2処理のいずれを実行するかを、前記識別情報に基づいて選択する、項目1に記載の検査システム。
[Item 2]
The inspection system according to item 1, wherein the processing device selects which of the first process and the second process to execute based on the identification information.

[項目3]
前記処理装置は、(c)前記印刷元データに第1フィルタを用いた第1空間フィルタリング処理を行って生成した第1フィルタ画像と、前記ヘッドデータに第2フィルタを用いた第2空間フィルタリング処理を行って生成した第2フィルタ画像との照合を行うことによって前記印刷コントローラの正常性を判定する第3処理を実行することが可能であり、
前記第1処理、前記第2処理、および前記第3処理のいずれを実行するかを、前記識別情報に基づいて選択する、
項目1に記載の検査システム。
[Item 3]
The processing device (c) generates a first filter image generated by performing a first spatial filtering process using a first filter on the print source data, and a second spatial filtering process using a second filter on the head data. It is possible to execute a third process of determining the normality of the print controller by comparing it with a second filter image generated by performing the above process,
selecting which of the first process, the second process, and the third process to perform based on the identification information;
Inspection system described in item 1.

[項目4]
前記パラメータは、フィルタのサイズおよび係数の少なくとも一方を含む、項目1に記載の検査システム。
[Item 4]
2. The inspection system of claim 1, wherein the parameters include at least one of a filter size and a coefficient.

[項目5]
前記識別情報は、前記印刷機の機種を特定する機種情報と、前記印刷機のモードを特定するモード情報とを含む、項目1に記載の検査システム。
[Item 5]
The inspection system according to item 1, wherein the identification information includes model information that specifies the model of the printing press and mode information that specifies the mode of the printing press.

[項目6]
前記処理装置は、
前記機種情報に基づいて、前記印刷機の機種ごとに異なるデータフォーマットを有する前記モード情報を読み取る、
項目5に記載の検査システム。
[Item 6]
The processing device includes:
reading the mode information having a different data format for each model of the printing press based on the model information;
Inspection system described in item 5.

[項目7]
前記処理装置は、
前記機種情報に基づいて、前記第1処理および前記第2処理のいずれかを選択し、
前記モード情報に基づいて、前記第1フィルタのパラメータおよび前記第2フィルタのパラメータを決定する、
項目5または6に記載の検査システム。
[Item 7]
The processing device includes:
selecting either the first process or the second process based on the model information;
determining parameters of the first filter and parameters of the second filter based on the mode information;
Inspection system according to item 5 or 6.

[項目8]
前記印刷機のモード情報は、印刷が行われる対象物の種類、前記印刷ヘッドから吐出されるインクの濃さ、印刷速度、色設定、および印刷画質の少なくとも1つに関する情報を含む、項目5または6に記載の検査システム。
[Item 8]
Item 5 or 5, wherein the mode information of the printing press includes information regarding at least one of the type of object to be printed, the density of ink ejected from the print head, printing speed, color settings, and print image quality. 6. The inspection system described in 6.

[項目9]
前記処理装置は、前記印刷機のそれぞれの機種およびそれぞれのモードに適合する前記第1フィルタおよび前記第2フィルタのそれぞれのパラメータを、機械学習を用いて学習する、項目1から6のいずれかに記載の検査システム。
[Item 9]
7. The inspection system according to any one of items 1 to 6, wherein the processing device learns parameters of the first filter and the second filter that are suitable for each model and each mode of the printing press using machine learning.

[項目10]
前記処理装置は、前記第1フィルタ画像または前記第2フィルタ画像と、前記カメラ画像に空間フィルタリング処理を行って生成した画像とを比較することにより、前記第1フィルタ画像または前記第2フィルタ画像と前記カメラ画像との照合を行う、項目1から6のいずれかに記載の検査システム。
[Item 10]
7. The inspection system according to any one of items 1 to 6, wherein the processing device matches the first filtered image or the second filtered image with the camera image by comparing the first filtered image or the second filtered image with an image generated by performing a spatial filtering process on the camera image.

[項目11]
前記処理装置は、前記カメラ画像に対して行う前記空間フィルタリング処理において用いるフィルタのパラメータを、前記識別情報に基づいて決定する、項目10に記載の検査システム。
[Item 11]
11. The inspection system according to item 10, wherein the processing device determines parameters of a filter used in the spatial filtering process performed on the camera image based on the identification information.

[項目12]
前記処理装置は、
前記第1処理において、前記印刷元データに、前記第1空間フィルタリング処理および第1色変換処理を行うことにより、前記第1フィルタ画像を生成し、
前記第2処理において、前記ヘッドデータに、前記第2空間フィルタリング処理および第2色変換処理を行うことにより、前記第2フィルタ画像を生成し、
前記第1色変換処理および前記第2色変換処理のパラメータを、前記識別情報に基づいて決定する、
項目1から6のいずれかに記載の検査システム。
[Item 12]
The processing device includes:
In the first process , the first spatial filtering process and the first color conversion process are performed on the original print data to generate the first filtered image;
In the second process , the second spatial filtering process and the second color conversion process are performed on the head data to generate the second filter image;
determining parameters of the first color conversion process and the second color conversion process based on the identification information;
7. An inspection system according to any one of items 1 to 6.

[項目13]
前記処理装置は、
前記第1フィルタ画像または前記第2フィルタ画像と、前記カメラ画像に空間フィルタリング処理および色変換処理を行って生成した画像とを比較することにより、前記第1フィルタ画像または前記第2フィルタ画像と前記カメラ画像との照合を行い、
前記カメラ画像に対して行う前記空間フィルタリング処理において用いるフィルタおよびカメラ画像に対して行う前記色変換処理のパラメータを、前記識別情報に基づいて決定する、項目1から6のいずれかに記載の検査システム。
[Item 13]
The processing device includes:
By comparing the first filter image or the second filter image with an image generated by performing spatial filtering processing and color conversion processing on the camera image, the first filter image or the second filter image and the Check with the camera image,
The inspection system according to any one of items 1 to 6, wherein the filter used in the spatial filtering process performed on the camera image and the parameters of the color conversion process performed on the camera image are determined based on the identification information. .

[項目14]
入力された印刷元データをヘッドデータに変換する印刷コントローラと、前記ヘッドデータに基づいて印刷を行う印刷ヘッドと、を備えた印刷機と、
前記印刷機によって印刷された印刷物を撮影してカメラ画像を生成するカメラと、
処理装置と、
を備えた検査システムにおいて用いられる処理装置であって、
前記印刷機の機種および前記印刷機のモードの少なくとも一方を特定する識別情報を取得し、
前記識別情報に基づいて、(a)前記印刷元データに第1フィルタを用いた第1空間フィルタリング処理を行って生成した第1フィルタ画像と前記カメラ画像との照合を行うことによって前記印刷物の良否を判定する第1処理、および(b)前記ヘッドデータに第2フィルタを用いた第2空間フィルタリング処理を行って生成した第2フィルタ画像と前記カメラ画像との照合を行うことによって前記印刷物の良否を判定する第2処理、のいずれかを実行し、
前記第1フィルタのパラメータおよび前記第2フィルタのパラメータを、前記識別情報に基づいて決定する、
処理装置。
[Item 14]
A printing machine including a print controller that converts input print source data into head data, and a print head that performs printing based on the head data;
a camera for capturing an image of a printed matter printed by the printing machine and generating a camera image;
A processing device;
A processing device for use in an inspection system comprising:
acquiring identification information that identifies at least one of the model of the printing press and the mode of the printing press;
Based on the identification information, the method executes either (a) a first process for judging the quality of the printed matter by comparing a first filtered image generated by performing a first spatial filtering process on the original print data using a first filter with the camera image, or (b) a second process for judging the quality of the printed matter by comparing a second filtered image generated by performing a second spatial filtering process on the head data using a second filter with the camera image,
determining a parameter of the first filter and a parameter of the second filter based on the identification information;
Processing unit.

[項目15]
入力された印刷元データをヘッドデータに変換する印刷コントローラと、前記ヘッドデータに基づいて印刷を行う印刷ヘッドと、を備えた印刷機と組み合わせて使用される処理装置であって、
前記印刷機の機種および前記印刷機のモードの少なくとも一方を特定する識別情報を取得し、
前記印刷元データに適用する第1空間フィルタリング処理に用いられる第1フィルタのパラメータと、前記ヘッドデータに適用する第2空間フィルタリング処理に用いられる第2フィルタのパラメータとを、前記識別情報に基づいて決定し、
前記印刷元データに前記第1空間フィルタリング処理を行って生成した第1フィルタ画像と、前記ヘッドデータに前記第2空間フィルタリング処理を行って生成した第2フィルタ画像とを照合し、照合結果を出力する、
処理装置。
[Item 15]
A processing device used in combination with a printing machine including a print controller that converts input print source data into head data, and a print head that prints based on the head data, the processing device comprising:
obtaining identification information that specifies at least one of a model of the printing press and a mode of the printing press;
Parameters of a first filter used in a first spatial filtering process applied to the print source data and parameters of a second filter used in a second spatial filtering process applied to the head data are determined based on the identification information. decided,
A first filter image generated by performing the first spatial filtering process on the print source data and a second filter image generated by performing the second spatial filtering process on the head data are compared, and a matching result is output. do,
Processing equipment.

[項目16]
入力された印刷元データをヘッドデータに変換する印刷コントローラと、前記ヘッドデータに基づいて印刷を行う印刷ヘッドと、を備えた印刷機と、
前記印刷機によって印刷された印刷物を撮影してカメラ画像を生成するカメラと、
処理装置と、
を備えた検査システムにおける前記処理装置によって実行される検査方法であって、
前記印刷機の機種および前記印刷機のモードの少なくとも一方を特定する識別情報を取得することと、
前記識別情報に基づいて、(a)前記印刷元データに第1フィルタを用いた第1空間フィルタリング処理を行って生成した第1フィルタ画像と前記カメラ画像との照合を行うことによって前記印刷物の良否を判定する第1処理、および(b)前記ヘッドデータに第2フィルタを用いた第2空間フィルタリング処理を行って生成した第2フィルタ画像と前記カメラ画像との照合を行うことによって前記印刷物の良否を判定する第2処理、のいずれかを実行することと、
前記第1フィルタのパラメータおよび前記第2フィルタのパラメータを、前記識別情報に基づいて決定することと、
を含む検査方法。
[Item 16]
a printing machine including a print controller that converts input printing source data into head data; and a print head that prints based on the head data;
a camera that generates a camera image by photographing the printed matter printed by the printing machine;
a processing device;
An inspection method executed by the processing device in an inspection system comprising:
acquiring identification information that specifies at least one of a model of the printing press and a mode of the printing press;
Based on the identification information, (a) a first filter image generated by performing a first spatial filtering process using a first filter on the printing source data is compared with the camera image to determine whether the printed matter is good or not; and (b) a second filter image generated by performing a second spatial filtering process using a second filter on the head data and comparing the camera image to determine the quality of the printed matter. performing either of the following: a second process for determining;
determining parameters of the first filter and parameters of the second filter based on the identification information;
Inspection methods including.

[項目17]
入力された印刷元データをヘッドデータに変換する印刷コントローラと、前記ヘッドデータに基づいて印刷を行う印刷ヘッドと、を備えた印刷機と、
前記印刷機によって印刷された印刷物を撮影してカメラ画像を生成するカメラと、
処理装置と、
を備えた検査システムにおいて用いられるプログラムであって、前記処理装置に、
前記印刷機の機種および前記印刷機のモードの少なくとも一方を特定する識別情報を取得することと、
前記識別情報に基づいて、(a)前記印刷元データに第1フィルタを用いた第1空間フィルタリング処理を行って生成した第1フィルタ画像と前記カメラ画像との照合を行うことによって前記印刷物の良否を判定する第1モード、および(b)前記ヘッドデータに第2フィルタを用いた第2空間フィルタリング処理を行って生成した第2フィルタ画像と前記カメラ画像との照合を行うことによって前記印刷物の良否を判定する第2モード、を含む複数のモードから1つのモードを選択することと、
前記第1フィルタのパラメータおよび前記第2フィルタのパラメータを、前記識別情報に基づいて決定することと、
を実行させるプログラム。
[Item 17]
a printing machine including a print controller that converts input printing source data into head data; and a print head that prints based on the head data;
a camera that generates a camera image by photographing the printed matter printed by the printing machine;
a processing device;
A program used in an inspection system comprising:
acquiring identification information that specifies at least one of a model of the printing press and a mode of the printing press;
Based on the identification information, (a) the quality of the printed matter is determined by comparing the first filter image generated by performing a first spatial filtering process on the printing source data using a first filter and the camera image; and (b) a second filter image generated by performing a second spatial filtering process using a second filter on the head data and a comparison between the camera image and the quality of the printed matter. selecting one mode from a plurality of modes including a second mode for determining the
determining parameters of the first filter and parameters of the second filter based on the identification information;
A program to run.

[項目18]
入力された印刷元データをヘッドデータに変換する印刷コントローラと、前記ヘッドデータに基づいて印刷を行う印刷ヘッドと、を備えた印刷機と組み合わせて使用される処理装置によって実行される方法であって、
前記印刷機の機種および前記印刷機のモードの少なくとも一方を特定する識別情報を取得することと、
前記印刷元データに適用する第1空間フィルタリング処理に用いられる第1フィルタのパラメータと、前記ヘッドデータに適用する第2空間フィルタリング処理に用いられる第2フィルタのパラメータとを、前記識別情報に基づいて決定することと、
前記印刷元データに前記第1空間フィルタリング処理を行って生成した第1フィルタ画像と、前記ヘッドデータに前記第2空間フィルタリング処理を行って生成した第2フィルタ画像とを照合し、照合結果を出力することと、
を含む方法。
[Item 18]
A method executed by a processing device used in combination with a printing press including a print controller that converts input print source data into head data, and a print head that prints based on the head data. ,
acquiring identification information that specifies at least one of a model of the printing press and a mode of the printing press;
Parameters of a first filter used in a first spatial filtering process applied to the print source data and parameters of a second filter used in a second spatial filtering process applied to the head data are determined based on the identification information. deciding and
A first filter image generated by performing the first spatial filtering process on the print source data and a second filter image generated by performing the second spatial filtering process on the head data are compared, and a matching result is output. to do and
method including.

[項目19]
入力された印刷元データをヘッドデータに変換する印刷コントローラと、前記ヘッドデータに基づいて印刷を行う印刷ヘッドと、を備えた印刷機と、処理装置とを備えるシステムにおいて用いられるプログラムであって、前記処理装置に、
前記印刷機の機種および前記印刷機のモードの少なくとも一方を特定する識別情報を取得することと、
前記印刷元データに適用する第1空間フィルタリング処理に用いられる第1フィルタのパラメータと、前記ヘッドデータに適用する第2空間フィルタリング処理に用いられる第2フィルタのパラメータとを、前記識別情報に基づいて決定することと、
前記印刷元データに前記第1空間フィルタリング処理を行って生成した第1フィルタ画像と、前記ヘッドデータに前記第2空間フィルタリング処理を行って生成した第2フィルタ画像とを照合し、照合結果を出力することと、
を実行させるプログラム。
[Item 19]
A program used in a system including a printing machine including a print controller that converts input print source data into head data and a print head that performs printing based on the head data, and a processing device, the program comprising: The processing device,
acquiring identification information that specifies at least one of a model of the printing press and a mode of the printing press;
Parameters of a first filter used in a first spatial filtering process applied to the print source data and parameters of a second filter used in a second spatial filtering process applied to the head data are determined based on the identification information. deciding and
A first filter image generated by performing the first spatial filtering process on the print source data and a second filter image generated by performing the second spatial filtering process on the head data are compared, and a matching result is output. to do and
A program to run.

本開示の技術は、印刷物の印刷結果が適正か否かを検査する用途に利用できる。例えば、カラーのバリアブル印刷を行うデジタル印刷機によって印刷された印刷物を検査する用途に好適に利用できる。 The technology of the present disclosure can be used to inspect whether the print result of a printed matter is appropriate. For example, it can be suitably used for inspecting printed matter printed by a digital printing machine that performs color variable printing.

10 用紙
100 印刷機
110 印刷コントローラ
120 印刷ヘッド
130 搬送機
200 検査装置
210 処理装置
212 プロセッサ
214 RAM
216 ROM
220 カメラ
300 コンピュータ
10 Paper 100 Printing machine 110 Print controller 120 Print head 130 Conveyor
200 Inspection device 210 Processing device 212 Processor 214 RAM
216 ROM
220 camera 300 computer

Claims (18)

入力された印刷元データをヘッドデータに変換する印刷コントローラと、前記ヘッドデータに基づいて印刷を行う印刷ヘッドと、を備えた印刷機と組み合わせて使用される検査システムであって、
前記印刷機によって印刷された印刷物を撮影してカメラ画像を生成するカメラと、
処理装置と、
を備え、
前記処理装置は、
前記印刷機の機種および前記印刷機のモードの少なくとも一方を特定する識別情報を取得し、
(a)前記印刷元データに第1フィルタを用いた第1空間フィルタリング処理を行って生成した第1フィルタ画像と、前記印刷機によって印刷された印刷物を撮影するカメラによって生成されたカメラ画像との照合を行うことによって前記印刷物の良否を判定する第1処理、b)前記ヘッドデータに第2フィルタを用いた第2空間フィルタリング処理を行って生成した第2フィルタ画像と前記カメラ画像との照合を行うことによって前記印刷物の良否を判定する第2処理、および(c)前記印刷元データに前記第1フィルタを用いた前記第1空間フィルタリング処理を行って生成した前記第1フィルタ画像と、前記ヘッドデータに前記第2フィルタを用いた前記第2空間フィルタリング処理を行って生成した前記第2フィルタ画像との照合を行うことによって前記印刷コントローラの正常性を判定する第3処理を実行することが可能であり、
前記第1処理、前記第2処理、および前記第3処理のいずれを実行するかを、前記識別情報に基づいて選択し、
前記第1フィルタのパラメータおよび前記第2フィルタのパラメータを、前記識別情報に基づいて決定する、検査システム。
An inspection system used in combination with a printing machine including a print controller that converts input print source data into head data, and a print head that prints based on the head data,
a camera for capturing an image of a printed matter printed by the printing machine and generating a camera image;
A processing device;
Equipped with
The processing device includes:
acquiring identification information that identifies at least one of the model of the printing press and the mode of the printing press;
(a) a first process for judging the quality of the printed matter by comparing a first filtered image generated by performing a first spatial filtering process on the original print data using a first filter with a camera image generated by a camera that photographs a printed matter printed by the printing machine; ( b) a second process for judging the quality of the printed matter by comparing a second filtered image generated by performing a second spatial filtering process on the head data using a second filter with the camera image; and (c) a third process for judging the normality of the print controller by comparing the first filtered image generated by performing the first spatial filtering process on the original print data using the first filter with the second filtered image generated by performing the second spatial filtering process on the head data using the second filter,
selecting which of the first process, the second process, and the third process is to be executed based on the identification information;
An inspection system that determines a parameter of the first filter and a parameter of the second filter based on the identification information.
前記パラメータは、フィルタのサイズおよび係数の少なくとも一方を決定する値である、請求項1に記載の検査システム。 The inspection system according to claim 1, wherein the parameter is a value that determines at least one of a filter size and a coefficient. 前記識別情報は、前記印刷機の機種を特定する機種情報と、前記印刷機のモードを特定するモード情報とを含む、請求項1に記載の検査システム。 The inspection system according to claim 1, wherein the identification information includes model information that specifies the model of the printing press, and mode information that specifies the mode of the printing press. 前記処理装置は、
前記機種情報に基づいて、前記印刷機の機種ごとに異なるデータフォーマットを有する前記モード情報を読み取る、
請求項に記載の検査システム。
The processing device includes:
reading the mode information having a different data format for each model of the printing press based on the model information;
The inspection system according to claim 3 .
前記処理装置は、
前記機種情報に基づいて、前記第1処理および前記第2処理のいずれかを選択し、
前記モード情報に基づいて、前記第1フィルタのパラメータおよび前記第2フィルタのパラメータを決定する、
請求項またはに記載の検査システム。
The processing device includes:
selecting either the first process or the second process based on the model information;
determining parameters of the first filter and parameters of the second filter based on the mode information;
The inspection system according to claim 3 or 4 .
前記印刷機のモード情報は、印刷が行われる対象物の種類、前記印刷ヘッドから吐出されるインクの濃さ、印刷速度、色設定、および印刷画質の少なくとも1つに関する情報を含む、請求項またはに記載の検査システム。 5. The inspection system of claim 3 , wherein the mode information of the printing press includes information regarding at least one of the type of object to be printed on, the thickness of the ink ejected from the print head, the printing speed, color settings, and print image quality . 前記処理装置は、前記印刷機のそれぞれの機種およびそれぞれのモードに適合する前記第1フィルタおよび前記第2フィルタのそれぞれのパラメータを、機械学習を用いて学習する、請求項1からのいずれかに記載の検査システム。 Any one of claims 1 to 4 , wherein the processing device uses machine learning to learn parameters of each of the first filter and the second filter that are compatible with each model and each mode of the printing press. Inspection system described in. 前記処理装置は、前記第1フィルタ画像または前記第2フィルタ画像と、前記カメラ画像に空間フィルタリング処理を行って生成した画像とを比較することにより、前記第1フィルタ画像または前記第2フィルタ画像と前記カメラ画像との照合を行う、請求項1からのいずれかに記載の検査システム。 5. The inspection system according to claim 1, wherein the processing device matches the first filtered image or the second filtered image with the camera image by comparing the first filtered image or the second filtered image with an image generated by performing spatial filtering processing on the camera image. 前記処理装置は、前記カメラ画像に対して行う前記空間フィルタリング処理において用いるフィルタのパラメータを、前記識別情報に基づいて決定する、請求項に記載の検査システム。 The inspection system according to claim 8 , wherein the processing device determines parameters of a filter used in the spatial filtering process performed on the camera image based on the identification information. 前記処理装置は、
前記第1処理において、前記印刷元データに、前記第1空間フィルタリング処理および第1色変換処理を行うことにより、前記第1フィルタ画像を生成し、
前記第2処理において、前記ヘッドデータに、前記第2空間フィルタリング処理および第2色変換処理を行うことにより、前記第2フィルタ画像を生成し、
前記第1色変換処理および前記第2色変換処理のパラメータを、前記識別情報に基づいて決定する、
請求項1からのいずれかに記載の検査システム。
The processing device includes:
In the first process , the first filter image is generated by performing the first spatial filtering process and the first color conversion process on the printing source data,
in the second process , generating the second filter image by performing the second spatial filtering process and the second color conversion process on the head data;
determining parameters for the first color conversion process and the second color conversion process based on the identification information;
The inspection system according to any one of claims 1 to 4 .
前記処理装置は、
前記第1フィルタ画像または前記第2フィルタ画像と、前記カメラ画像に空間フィルタリング処理および色変換処理を行って生成した画像とを比較することにより、前記第1フィルタ画像または前記第2フィルタ画像と前記カメラ画像との照合を行い、
前記カメラ画像に対して行う前記空間フィルタリング処理において用いるフィルタおよびカメラ画像に対して行う前記色変換処理のパラメータを、前記識別情報に基づいて決定する、
請求項1からのいずれかに記載の検査システム。
The processing device includes:
By comparing the first filter image or the second filter image with an image generated by performing spatial filtering processing and color conversion processing on the camera image, the first filter image or the second filter image and the Check with the camera image,
determining a filter used in the spatial filtering process performed on the camera image and parameters for the color conversion process performed on the camera image based on the identification information;
The inspection system according to any one of claims 1 to 4 .
入力された印刷元データをヘッドデータに変換する印刷コントローラと、前記ヘッドデータに基づいて印刷を行う印刷ヘッドと、を備えた印刷機と、
前記印刷機によって印刷された印刷物を撮影してカメラ画像を生成するカメラと、
処理装置と、
を備えた検査システムにおいて用いられる処理装置であって、
前記印刷機の機種および前記印刷機のモードの少なくとも一方を特定する識別情報を取得し、
前記識別情報に基づいて、(a)前記印刷元データに第1フィルタを用いた第1空間フィルタリング処理を行って生成した第1フィルタ画像と前記カメラ画像との照合を行うことによって前記印刷物の良否を判定する第1処理、b)前記ヘッドデータに第2フィルタを用いた第2空間フィルタリング処理を行って生成した第2フィルタ画像と前記カメラ画像との照合を行うことによって前記印刷物の良否を判定する第2処理、および(c)前記印刷元データに前記第1フィルタを用いた前記第1空間フィルタリング処理を行って生成した前記第1フィルタ画像と、前記ヘッドデータに前記第2フィルタを用いた前記第2空間フィルタリング処理を行って生成した前記第2フィルタ画像との照合を行うことによって前記印刷コントローラの正常性を判定する第3処理を実行することが可能であり
前記第1処理、前記第2処理、および前記第3処理のいずれを実行するかを、前記識別情報に基づいて選択し、
前記第1フィルタのパラメータおよび前記第2フィルタのパラメータを、前記識別情報に基づいて決定する、
処理装置。
a printing machine including a print controller that converts input printing source data into head data; and a print head that prints based on the head data;
a camera that generates a camera image by photographing the printed matter printed by the printing machine;
a processing device;
A processing device used in an inspection system comprising:
obtaining identification information that specifies at least one of a model of the printing press and a mode of the printing press;
Based on the identification information, (a) the quality of the printed matter is determined by comparing the first filter image generated by performing a first spatial filtering process on the printing source data using a first filter and the camera image; ( b) performing a second spatial filtering process using a second filter on the head data and comparing a second filter image generated with the camera image to determine the quality of the printed matter; (c) using the first filter image generated by performing the first spatial filtering process using the first filter on the print source data and using the second filter on the head data; It is possible to execute a third process of determining the normality of the print controller by performing comparison with the second filter image generated by performing the second spatial filtering process,
selecting which of the first process, the second process, and the third process to perform based on the identification information;
determining parameters of the first filter and parameters of the second filter based on the identification information;
Processing equipment.
入力された印刷元データをヘッドデータに変換する印刷コントローラと、前記ヘッドデータに基づいて印刷を行う印刷ヘッドと、を備えた印刷機と、
前記印刷機によって印刷された印刷物を撮影してカメラ画像を生成するカメラと、
処理装置と、
を備えた検査システムにおける前記処理装置によって実行される検査方法であって、
前記印刷機の機種および前記印刷機のモードの少なくとも一方を特定する識別情報を取得することと、
a)前記印刷元データに第1フィルタを用いた第1空間フィルタリング処理を行って生成した第1フィルタ画像と前記カメラ画像との照合を行うことによって前記印刷物の良否を判定する第1処理、b)前記ヘッドデータに第2フィルタを用いた第2空間フィルタリング処理を行って生成した第2フィルタ画像と前記カメラ画像との照合を行うことによって前記印刷物の良否を判定する第2処理、および(c)前記印刷元データに前記第1フィルタを用いた前記第1空間フィルタリング処理を行って生成した前記第1フィルタ画像と、前記ヘッドデータに前記第2フィルタを用いた前記第2空間フィルタリング処理を行って生成した前記第2フィルタ画像との照合を行うことによって前記印刷コントローラの正常性を判定する第3処理のいずれかを、前記識別情報に基づいて選択して実行することと、
前記第1フィルタのパラメータおよび前記第2フィルタのパラメータを、前記識別情報に基づいて決定することと、
を含む検査方法。
a printing machine including a print controller that converts input printing source data into head data; and a print head that prints based on the head data;
a camera that generates a camera image by photographing the printed matter printed by the printing machine;
a processing device;
An inspection method executed by the processing device in an inspection system comprising:
acquiring identification information that specifies at least one of a model of the printing press and a mode of the printing press;
( a) a first process of determining the quality of the printed matter by comparing the camera image with a first filter image generated by performing a first spatial filtering process on the print source data using a first filter; ( b) a second process of determining the quality of the printed matter by comparing the camera image with a second filter image generated by performing a second spatial filtering process on the head data using a second filter; (c) the first filter image generated by performing the first spatial filtering process using the first filter on the print source data; and the second spatial filtering process using the second filter on the head data; Selecting and executing any one of a third process of determining the normality of the print controller by comparing it with the second filter image generated by performing the process, based on the identification information ;
determining parameters of the first filter and parameters of the second filter based on the identification information;
Inspection methods including.
入力された印刷元データをヘッドデータに変換する印刷コントローラと、前記ヘッドデータに基づいて印刷を行う印刷ヘッドと、を備えた印刷機と、
前記印刷機によって印刷された印刷物を撮影してカメラ画像を生成するカメラと、
処理装置と、
を備えた検査システムにおいて用いられるプログラムであって、前記処理装置に、
前記印刷機の機種および前記印刷機のモードの少なくとも一方を特定する識別情報を取得することと、
a)前記印刷元データに第1フィルタを用いた第1空間フィルタリング処理を行って生成した第1フィルタ画像と前記カメラ画像との照合を行うことによって前記印刷物の良否を判定する第1処理b)前記ヘッドデータに第2フィルタを用いた第2空間フィルタリング処理を行って生成した第2フィルタ画像と前記カメラ画像との照合を行うことによって前記印刷物の良否を判定する第2処理、および(c)前記印刷元データに前記第1フィルタを用いた前記第1空間フィルタリング処理を行って生成した前記第1フィルタ画像と、前記ヘッドデータに前記第2フィルタを用いた前記第2空間フィルタリング処理を行って生成した前記第2フィルタ画像との照合を行うことによって前記印刷コントローラの正常性を判定する第3処理のいずれかを、前記識別情報に基づいて選択して実行することと、
前記第1フィルタのパラメータおよび前記第2フィルタのパラメータを、前記識別情報に基づいて決定することと、
を実行させるプログラム。
a printing machine including a print controller that converts input printing source data into head data; and a print head that prints based on the head data;
a camera that generates a camera image by photographing the printed matter printed by the printing machine;
a processing device;
A program used in an inspection system comprising:
acquiring identification information that specifies at least one of a model of the printing press and a mode of the printing press;
( a) a first process of determining the quality of the printed matter by comparing the camera image with a first filter image generated by performing a first spatial filtering process on the print source data using a first filter; ( b) a second process of determining the quality of the printed matter by comparing a second filter image generated by performing a second spatial filtering process on the head data using a second filter with the camera image; (c) the first filter image generated by performing the first spatial filtering process using the first filter on the print source data; and the second spatial filtering process using the second filter on the head data; Selecting and executing any one of a third process of determining the normality of the print controller by comparing it with the second filter image generated by performing the process, based on the identification information;
determining parameters of the first filter and parameters of the second filter based on the identification information;
A program to run.
入力された印刷元データをヘッドデータに変換する印刷コントローラと、前記ヘッドデータに基づいて印刷を行う印刷ヘッドと、を備えた印刷機と組み合わせて使用される検査システムであって、An inspection system used in combination with a printing machine including a print controller that converts input printing source data into head data, and a print head that prints based on the head data, the inspection system comprising:
前記印刷機によって印刷された印刷物を撮影してカメラ画像を生成するカメラと、a camera for capturing an image of a printed matter printed by the printing machine and generating a camera image;
処理装置と、a processing device;
を備え、Equipped with
前記処理装置は、The processing device includes:
前記印刷機の機種を特定する機種情報と、前記印刷機のモードを特定するモード情報とを含む識別情報を取得し、obtaining identification information including model information specifying the model of the printing press and mode information specifying the mode of the printing press;
(a)前記印刷元データに第1フィルタを用いた第1空間フィルタリング処理を行って生成した第1フィルタ画像と、前記印刷機によって印刷された印刷物を撮影するカメラによって生成されたカメラ画像との照合を行うことによって前記印刷物の良否を判定する第1処理、および(b)前記ヘッドデータに第2フィルタを用いた第2空間フィルタリング処理を行って生成した第2フィルタ画像と前記カメラ画像との照合を行うことによって前記印刷物の良否を判定する第2処理、のいずれかを実行し、(a) a first process for judging the quality of the printed matter by comparing a first filtered image generated by performing a first spatial filtering process on the original printing data using a first filter with a camera image generated by a camera that photographs a printed matter printed by the printing press, and (b) a second process for judging the quality of the printed matter by comparing a second filtered image generated by performing a second spatial filtering process on the head data using a second filter with the camera image,
前記第1フィルタのパラメータおよび前記第2フィルタのパラメータを、前記識別情報に基づいて決定し、determining parameters of the first filter and parameters of the second filter based on the identification information;
前記識別情報における前記機種情報に基づいて、前記印刷機の機種ごとに異なるデータフォーマットを有する前記モード情報を読み取る、reading the mode information having a different data format for each model of the printing press based on the model information in the identification information;
検査システム。Inspection system.
入力された印刷元データをヘッドデータに変換する印刷コントローラと、前記ヘッドデータに基づいて印刷を行う印刷ヘッドと、を備えた印刷機と、a printing machine including a print controller that converts input printing source data into head data; and a print head that prints based on the head data;
前記印刷機によって印刷された印刷物を撮影してカメラ画像を生成するカメラと、a camera that generates a camera image by photographing the printed matter printed by the printing machine;
処理装置と、A processing device;
を備えた検査システムにおいて用いられる処理装置であって、A processing device for use in an inspection system comprising:
前記印刷機の機種を特定する機種情報と、前記印刷機のモードを特定するモード情報とを含む識別情報を取得し、obtaining identification information including model information specifying the model of the printing press and mode information specifying the mode of the printing press;
(a)前記印刷元データに第1フィルタを用いた第1空間フィルタリング処理を行って生成した第1フィルタ画像と、前記印刷機によって印刷された印刷物を撮影するカメラによって生成されたカメラ画像との照合を行うことによって前記印刷物の良否を判定する第1処理、および(b)前記ヘッドデータに第2フィルタを用いた第2空間フィルタリング処理を行って生成した第2フィルタ画像と前記カメラ画像との照合を行うことによって前記印刷物の良否を判定する第2処理、のいずれかを実行し、(a) a first process for judging the quality of the printed matter by comparing a first filtered image generated by performing a first spatial filtering process on the original printing data using a first filter with a camera image generated by a camera that photographs a printed matter printed by the printing press, and (b) a second process for judging the quality of the printed matter by comparing a second filtered image generated by performing a second spatial filtering process on the head data using a second filter with the camera image,
前記第1フィルタのパラメータおよび前記第2フィルタのパラメータを、前記識別情報に基づいて決定し、determining parameters of the first filter and parameters of the second filter based on the identification information;
前記識別情報における前記機種情報に基づいて、前記印刷機の機種ごとに異なるデータフォーマットを有する前記モード情報を読み取る、reading the mode information having a different data format for each model of the printing press based on the model information in the identification information;
処理装置。Processing equipment.
入力された印刷元データをヘッドデータに変換する印刷コントローラと、前記ヘッドデータに基づいて印刷を行う印刷ヘッドと、を備えた印刷機と、a printing machine including a print controller that converts input printing source data into head data; and a print head that prints based on the head data;
前記印刷機によって印刷された印刷物を撮影してカメラ画像を生成するカメラと、a camera for capturing an image of a printed matter printed by the printing machine and generating a camera image;
処理装置と、a processing device;
を備えた検査システムにおける前記処理装置によって実行される検査方法であって、An inspection method executed by the processing device in an inspection system comprising:
前記印刷機の機種を特定する機種情報と、前記印刷機のモードを特定するモード情報とを含む識別情報を取得することと、obtaining identification information including model information that specifies the model of the printing press and mode information that specifies the mode of the printing press;
(a)前記印刷元データに第1フィルタを用いた第1空間フィルタリング処理を行って生成した第1フィルタ画像と前記カメラ画像との照合を行うことによって前記印刷物の良否を判定する第1処理、および(b)前記ヘッドデータに第2フィルタを用いた第2空間フィルタリング処理を行って生成した第2フィルタ画像と前記カメラ画像との照合を行うことによって前記印刷物の良否を判定する第2処理、のいずれかを実行することと、Executing either (a) a first process for judging the quality of the print by comparing a first filtered image generated by performing a first spatial filtering process on the original print data using a first filter with the camera image, or (b) a second process for judging the quality of the print by comparing a second filtered image generated by performing a second spatial filtering process on the head data using a second filter with the camera image;
前記第1フィルタのパラメータおよび前記第2フィルタのパラメータを、前記識別情報に基づいて決定することと、determining parameters of the first filter and parameters of the second filter based on the identification information;
前記識別情報における前記機種情報に基づいて、前記印刷機の機種ごとに異なるデータフォーマットを有する前記モード情報を読み取ることと、reading the mode information having a different data format for each model of the printing press based on the model information in the identification information;
を含む検査方法。The inspection method includes:
入力された印刷元データをヘッドデータに変換する印刷コントローラと、前記ヘッドデータに基づいて印刷を行う印刷ヘッドと、を備えた印刷機と、a printing machine including a print controller that converts input printing source data into head data; and a print head that prints based on the head data;
前記印刷機によって印刷された印刷物を撮影してカメラ画像を生成するカメラと、a camera that generates a camera image by photographing the printed matter printed by the printing machine;
処理装置と、a processing device;
を備えた検査システムにおいて用いられるプログラムであって、前記処理装置に、A program used in an inspection system comprising:
前記印刷機の機種を特定する機種情報と、前記印刷機のモードを特定するモード情報とを含む識別情報を取得することと、obtaining identification information including model information that specifies the model of the printing press and mode information that specifies the mode of the printing press;
(a)前記印刷元データに第1フィルタを用いた第1空間フィルタリング処理を行って生成した第1フィルタ画像と前記カメラ画像との照合を行うことによって前記印刷物の良否を判定する第1処理、および(b)前記ヘッドデータに第2フィルタを用いた第2空間フィルタリング処理を行って生成した第2フィルタ画像と前記カメラ画像との照合を行うことによって前記印刷物の良否を判定する第2処理、のいずれかを実行することと、Executing either (a) a first process for judging the quality of the print by comparing a first filtered image generated by performing a first spatial filtering process on the original print data using a first filter with the camera image, or (b) a second process for judging the quality of the print by comparing a second filtered image generated by performing a second spatial filtering process on the head data using a second filter with the camera image;
前記第1フィルタのパラメータおよび前記第2フィルタのパラメータを、前記識別情報に基づいて決定することと、determining parameters of the first filter and parameters of the second filter based on the identification information;
前記識別情報における前記機種情報に基づいて、前記印刷機の機種ごとに異なるデータフォーマットを有する前記モード情報を読み取ることと、reading the mode information having a different data format for each model of the printing press based on the model information in the identification information;
を実行させるプログラム。A program to run.
JP2023178648A 2023-10-17 2023-10-17 Printed matter inspection system, processing device used in the inspection system, and inspection method Active JP7457425B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2023178648A JP7457425B1 (en) 2023-10-17 2023-10-17 Printed matter inspection system, processing device used in the inspection system, and inspection method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2023178648A JP7457425B1 (en) 2023-10-17 2023-10-17 Printed matter inspection system, processing device used in the inspection system, and inspection method

Publications (1)

Publication Number Publication Date
JP7457425B1 true JP7457425B1 (en) 2024-03-28

Family

ID=90367124

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2023178648A Active JP7457425B1 (en) 2023-10-17 2023-10-17 Printed matter inspection system, processing device used in the inspection system, and inspection method

Country Status (1)

Country Link
JP (1) JP7457425B1 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015078848A (en) 2013-10-15 2015-04-23 株式会社リコー Inspection apparatus, image forming apparatus, inspection method, and program
JP2023125203A (en) 2022-02-28 2023-09-07 株式会社マイクロ・テクニカ Method and device for generating learned model for printed matter inspection system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015078848A (en) 2013-10-15 2015-04-23 株式会社リコー Inspection apparatus, image forming apparatus, inspection method, and program
JP2023125203A (en) 2022-02-28 2023-09-07 株式会社マイクロ・テクニカ Method and device for generating learned model for printed matter inspection system

Similar Documents

Publication Publication Date Title
JP5536233B2 (en) Automatic inspection of printed images
US10726556B2 (en) Inspection apparatus and inspection program
JP7220629B2 (en) Image discrimination model construction method, image discrimination device, and image discrimination method
JP2005310068A (en) Method for correcting white of eye, and device for executing the method
US20150243010A1 (en) Image inspection device, image inspection system, and recording medium storing image inspection program
JP2009126058A (en) Image recording device and poor recording detecting method
JP2011047862A (en) Image inspection apparatus, image inspection method, program, and recording medium
US8970913B2 (en) Printing system and image forming apparatus and method that check a precision of a formed image
JP7204265B1 (en) METHOD AND APPARATUS FOR GENERATING TRAINED MODEL FOR PRINT INSPECTION SYSTEM
JP6459190B2 (en) Image inspection apparatus, image forming system, and image inspection method
US20210073966A1 (en) Image inspection device, image forming device, image inspection method and recording medium
JP7457425B1 (en) Printed matter inspection system, processing device used in the inspection system, and inspection method
JP2009202437A (en) Printing controlling apparatus, printing controlling method and printing controlling program
JP4366634B2 (en) Noise pixel map creation method, apparatus and program for implementing the method, and photo print apparatus
JP2007249802A (en) Image processor and image processing method
JP2009027254A (en) Image correcting method and image correcting device
JP4591784B2 (en) Method for creating conversion table for photographed image correction and photo printing apparatus for implementing this method
JP2023044832A (en) Image inspection device, printer therewith, and image inspection method
JP2023035051A (en) Inspection device, control method thereof, inspection system, image formation apparatus and program
JP2021154683A (en) Specifying method of attribute of ink set, specifying device of attribute of ink set and computer program
JP2009004887A (en) Image correction method and image correction device
JP2004246110A (en) Plate inspection apparatus, printing system, method for inspecting printed data on plate, and program
JP2009010853A (en) Image correction method and image correction apparatus
JP2007274204A (en) Image evaluation apparatus and image evaluation method
JP2008079196A (en) Image correcting method, image correcting program and image correcting module

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20231018

A871 Explanation of circumstances concerning accelerated examination

Free format text: JAPANESE INTERMEDIATE CODE: A871

Effective date: 20231018

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20231107

A601 Written request for extension of time

Free format text: JAPANESE INTERMEDIATE CODE: A601

Effective date: 20240105

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20240201

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20240305

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20240308

R150 Certificate of patent or registration of utility model

Ref document number: 7457425

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150