JP2021072468A - Program, generation device, generation method - Google Patents
Program, generation device, generation method Download PDFInfo
- Publication number
- JP2021072468A JP2021072468A JP2019196277A JP2019196277A JP2021072468A JP 2021072468 A JP2021072468 A JP 2021072468A JP 2019196277 A JP2019196277 A JP 2019196277A JP 2019196277 A JP2019196277 A JP 2019196277A JP 2021072468 A JP2021072468 A JP 2021072468A
- Authority
- JP
- Japan
- Prior art keywords
- data
- transport direction
- sensor
- calibration
- test sheet
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- Ink Jet (AREA)
- Accessory Devices And Overall Control Thereof (AREA)
- Facsimile Scanning Arrangements (AREA)
Abstract
Description
本明細書は、スキャナ装置に関する。 This specification relates to a scanner device.
従来から、スキャナを用いて、シートなどの対象物が光学的に読み取られている。また、プリンタの階調特性の較正のために、プリンタによって印刷されるパッチをスキャナによって読み取って得られるデータを用いる技術が、提案されている(例えば、特許文献1)。 Conventionally, an object such as a sheet has been optically read by using a scanner. Further, for calibrating the gradation characteristics of a printer, a technique using data obtained by scanning a patch printed by the printer with a scanner has been proposed (for example, Patent Document 1).
ところで、スキャナ装置の特性は、変動し得る。例えば、スキャナ装置としては、複数の読取センサを備えるセンサユニットを搬送させ、センサユニットの搬送中に複数の読取センサによってシートなどの対象物を光学的に読み取る装置が用いられる。このようなスキャナ装置が用いられる場合、センサユニットの搬送方向の位置が、設計の位置からずれ得る。この結果、スキャナ装置によって生成される読取画像上で、対象物の複数の部分のそれぞれの位置が、実際の位置からずれ得る。このような位置ずれを較正するための較正データを生成することは容易ではなかった。例えば、位置のずれを特定するために、位置の基準を示す基準パターンを示す基準シートが用いられ得る。ところが、基準シートの劣化(例えば、基準シートの変形や基準パターンの剥離など)を避けるために、基準シートの厳重な管理が行われていた(例えば、基準シートは専用の保管場所に保管され、保管場所の温度と湿度とが厳重に管理される)。また、基準シートの管理が簡略化される場合、基準シートの劣化に起因して位置の精度が低下する場合があった。 By the way, the characteristics of the scanner device can fluctuate. For example, as a scanner device, a device is used in which a sensor unit including a plurality of reading sensors is conveyed and an object such as a sheet is optically read by a plurality of reading sensors during the transportation of the sensor units. When such a scanner device is used, the position of the sensor unit in the transport direction may deviate from the design position. As a result, the positions of the plurality of parts of the object may deviate from the actual positions on the scanned image generated by the scanner device. It has not been easy to generate calibration data for calibrating such misalignment. For example, in order to identify the displacement of the position, a reference sheet showing a reference pattern showing the reference of the position may be used. However, in order to avoid deterioration of the reference sheet (for example, deformation of the reference sheet, peeling of the reference pattern, etc.), strict control of the reference sheet was performed (for example, the reference sheet was stored in a dedicated storage place. The temperature and humidity of the storage area are strictly controlled). Further, when the management of the reference sheet is simplified, the accuracy of the position may be lowered due to the deterioration of the reference sheet.
本明細書は、スキャナ装置によって生成される読取画像内の位置を較正するための適切な較正データを生成する技術を開示する。 The present specification discloses a technique for generating appropriate calibration data for calibrating a position in a scanned image generated by a scanner device.
本明細書に開示された技術は、以下の適用例として実現することが可能である。 The techniques disclosed herein can be realized as the following application examples.
[適用例1]予め決められた方向であるセンサ方向の位置が互いに異なる複数の読取センサを備えるセンサユニットと、前記センサ方向に交差する搬送方向に前記センサユニットを搬送する搬送装置と、前記搬送装置による前記センサユニットの搬送中に前記複数の読取センサに対象物を光学的に読み取らせることによって前記対象物の画像データである読取データを生成するデータ生成部と、を備えるスキャナ装置によって生成される前記読取データによって示される読取画像内の画素の位置を較正するための較正データを生成するコンピュータのためのプログラムであって、特定方向の位置が互いに異なるn個(nは2以上の整数)の基準部分を示す、印刷された印刷テストシートであって、前記印刷テストシートの前記特定方向が前記スキャナ装置の前記センサ方向を向くように前記スキャナ装置に対して配置された前記印刷テストシートを、前記スキャナ装置に読み取らせることによって生成される前記印刷テストシートの前記読取データであるセンサ方向読取データを取得する第1取得機能と、前記センサ方向読取データによって示される前記n個の基準部分のそれぞれの前記センサ方向の位置に関連する複数の位置情報を、前記読取画像内の前記センサ方向の画素の位置の較正量を示す予め決められたセンサ方向較正データを用いて較正することによって、複数の較正済位置情報を示す較正済基準部分位置データを生成する較正済基準部分位置データ生成機能と、前記印刷テストシートの前記特定方向が前記スキャナ装置の前記搬送方向を向くように前記スキャナ装置に対して配置された前記印刷テストシートを、前記スキャナ装置に読み取らせることによって生成される前記印刷テストシートの前記読取データである搬送方向読取データを取得する第2取得機能と、前記搬送方向読取データと前記較正済基準部分位置データとを用いることによって、読取データの画像内の前記搬送方向の画素の位置の較正量を示す搬送方向較正データを生成する較正データ生成機能と、前記搬送方向較正データを記憶装置に格納する格納処理機能と、をコンピュータに実現させるためのプログラム。 [Application Example 1] A sensor unit including a plurality of reading sensors having different positions in a sensor direction, which is a predetermined direction, a transport device for transporting the sensor unit in a transport direction intersecting the sensor direction, and the transport. It is generated by a scanner device including a data generation unit that generates read data which is image data of the object by having the plurality of reading sensors optically read the object while the sensor unit is being conveyed by the device. A program for a computer that generates calibration data for calibrating the positions of pixels in a scanned image indicated by the scanned data, in which n positions in specific directions are different from each other (n is an integer of 2 or more). A printed print test sheet showing a reference portion of the above, wherein the print test sheet is arranged with respect to the scanner device so that the specific direction of the print test sheet faces the sensor direction of the scanner device. The first acquisition function of acquiring the sensor direction reading data which is the reading data of the printing test sheet generated by having the scanner device read, and the n reference portions indicated by the sensor direction reading data. A plurality of position information related to each position in the sensor direction is calibrated using predetermined sensor direction calibration data indicating the amount of calibration of the position of the pixel in the sensor direction in the scanned image. A calibrated reference partial position data generation function that generates calibrated reference partial position data indicating the calibrated position information of the printer, and the scanner device so that the specific direction of the print test sheet faces the transport direction of the scanner device. A second acquisition function for acquiring the transport direction read data, which is the read data of the print test sheet generated by having the scanner device read the print test sheet arranged on the opposite side, and the transport direction read data. A calibration data generation function that generates transport direction calibration data indicating the amount of calibration of the position of the pixel in the transport direction in the image of the read data by using the calibrated reference partial position data, and the transport direction calibration data. A storage processing function that stores data in a storage device, and a program for realizing a computer.
センサユニット上の複数の読取センサのセンサ方向の位置は、安定しており、その変動は小さい。従って、予め決められたセンサ方向較正データを用いることによって、センサ方向読取データによって示される複数の基準部分のそれぞれのセンサ方向の位置に関連する複数の位置情報を、適切に、較正できる。また、読取データの画像内の搬送方向の位置は、搬送装置によって搬送されるセンサユニットの搬送方向の位置に対応付けられている。センサユニットの搬送方向の位置は、搬送の誤差などの種々の原因によって、設計の位置からずれ得る。上記構成によれば、読取データの画像内の画素の搬送方向の位置の較正量を示す搬送方向較正データは、搬送方向読取データと、センサ方向読取データとセンサ方向較正データとを用いて生成された較正済基準部分位置データと、を用いることによって生成されるので、適切な搬送方向較正データを生成できる。 The positions of the plurality of reading sensors on the sensor unit in the sensor direction are stable, and the fluctuation is small. Therefore, by using the predetermined sensor direction calibration data, it is possible to appropriately calibrate a plurality of position information related to the position in each sensor direction of the plurality of reference portions indicated by the sensor direction reading data. Further, the position of the read data in the transport direction in the image is associated with the position of the sensor unit transported by the transport device in the transport direction. The position of the sensor unit in the transport direction may deviate from the design position due to various causes such as a transport error. According to the above configuration, the transport direction calibration data indicating the calibration amount of the position of the pixel in the transport direction in the image of the read data is generated by using the transport direction read data, the sensor direction read data, and the sensor direction calibration data. Since it is generated by using the calibrated reference partial position data, it is possible to generate appropriate transport direction calibration data.
[適用例2]適用例1に記載のプログラムであって、前記第2取得機能は、前記スキャナ装置に対して第1位置に配置された前記印刷テストシートを前記スキャナ装置に読み取らせることによって生成される第1搬送方向読取データを取得する機能と、前記スキャナ装置に対して前記第1位置とは前記搬送方向の位置が異なる第2位置に配置された前記印刷テストシートを前記スキャナ装置に読み取らせることによって生成される第2搬送方向読取データを取得する機能であって、前記第1位置の前記印刷テストシートの前記n個の基準部分のうちのp個(pは2以上、n以下の整数)の基準部分の前記搬送方向の第1分布範囲に、前記第2位置の前記印刷テストシートの前記n個の基準部分のうちのq個(qは2以上、n以下の整数)の基準部分の前記搬送方向の第2分布範囲の一部が重なっている、前記機能と、を含み、前記較正データ生成機能は、前記第1搬送方向読取データと前記第2搬送方向読取データと前記較正済基準部分位置データとを用いることによって、前記搬送方向較正データを生成する、プログラム。 [Application Example 2] The program according to Application Example 1, wherein the second acquisition function is generated by causing the scanner device to read the print test sheet arranged at the first position with respect to the scanner device. The function of acquiring the first transport direction reading data to be performed and the print test sheet arranged at a second position whose position in the transport direction is different from that of the first position with respect to the scanner device are read by the scanner device. It is a function of acquiring the second transport direction reading data generated by the setting, and p of the n reference portions of the print test sheet at the first position (p is 2 or more and n or less). In the first distribution range of the reference portion of (integer) in the transport direction, q references (q is an integer of 2 or more and n or less) out of the n reference portions of the print test sheet at the second position. The calibration data generation function includes the function in which a part of the second distribution range in the transport direction of the portion overlaps, and the calibration data generation function includes the first transport direction read data, the second transport direction read data, and the calibration. A program that generates the transport direction calibration data by using the completed reference partial position data.
この構成によれば、搬送方向較正データは、スキャナ装置に対するシートの搬送方向の位置が互いに異なるように生成された第1搬送方向読取データと第2搬送方向読取データとを用いて生成されるので、搬送方向較正データを適用可能な搬送方向の位置の範囲を拡張できる。 According to this configuration, the transport direction calibration data is generated by using the first transport direction read data and the second transport direction read data generated so that the positions of the sheets in the transport direction with respect to the scanner device are different from each other. , The range of transport direction positions to which transport direction calibration data can be applied can be extended.
[適用例3]適用例2に記載のプログラムであって、前記較正データ生成機能は、前記第1搬送方向読取データと前記較正済基準部分位置データとを用いることによって、前記搬送方向較正データのうち、前記第1分布範囲に適用すべきデータを生成する機能と、前記第2搬送方向読取データと前記較正済基準部分位置データとを用いることによって、前記搬送方向較正データのうち、前記第2分布範囲から前記第1分布範囲を除いた残りの範囲に適用すべきデータを生成する機能と、を含む、プログラム。 [Application Example 3] In the program described in Application Example 2, the calibration data generation function uses the first transport direction reading data and the calibrated reference partial position data to obtain the transport direction calibration data. Among the transport direction calibration data, the second of the transport direction calibration data is obtained by using the function of generating data to be applied to the first distribution range, the second transport direction reading data, and the calibrated reference partial position data. A program comprising the function of generating data to be applied to the remaining range excluding the first distribution range from the distribution range.
この構成によれば、第1搬送方向読取データと第2搬送方向読取データと搬送方向較正データとを用いることによって、適切な搬送方向較正データを生成できる。 According to this configuration, appropriate transport direction calibration data can be generated by using the first transport direction read data, the second transport direction read data, and the transport direction calibration data.
[適用例4]適用例1から3のいずれかに記載のプログラムであって、前記印刷テストシートは、前記n個の基準部分と、特定の処理の対象である対象画像と、が印刷されたシートであり、前記特定の処理は、前記センサ方向読取データによって示される前記対象画像を、前記センサ方向較正データと前記搬送方向較正データとを用いて較正する較正処理と、較正済の対象画像を解析することによって、解析結果を示す結果データを生成する結果データ生成処理と、を含み、前記プログラムは、前記特定の処理を実行する機能を、コンピュータに実現させる、プログラム。 [Application Example 4] In the program according to any one of Application Examples 1 to 3, the print test sheet is printed with the n reference portions and a target image to be processed. The specific process is a sheet, and the specific process includes a calibration process of calibrating the target image indicated by the sensor direction reading data by using the sensor direction calibration data and the transport direction calibration data, and a calibrated target image. A program that includes a result data generation process that generates result data indicating an analysis result by analyzing the program, and the program realizes a function of executing the specific process on a computer.
この構成によれば、シート上の対象画像が、同じシート上の複数の基準部分を用いて較正されるので、対象画像を容易に処理できる。 According to this configuration, the target image on the sheet is calibrated using a plurality of reference portions on the same sheet, so that the target image can be easily processed.
[適用例5]適用例4に記載のプログラムであって、前記較正データ生成機能は、新たな搬送方向較正データを生成するための生成条件が満たされない場合には、新たな搬送方向較正データを生成せずに、前記生成条件が満たされる場合には、新たな搬送方向較正データを生成し、前記較正処理は、前記生成条件が満たされない場合には、前記記憶装置に格納済の前記搬送方向較正データを用いて前記対象画像を較正し、前記生成条件が満たされる場合には、前記較正データ生成機能によって生成された前記新たな搬送方向較正データを用いて前記対象画像を較正する、プログラム。 [Application Example 5] In the program described in Application Example 4, the calibration data generation function generates new transport direction calibration data when the generation conditions for generating new transport direction calibration data are not satisfied. If the generation condition is satisfied without generating, new transport direction calibration data is generated, and if the generation condition is not satisfied, the calibration process generates the transport direction stored in the storage device. A program that calibrates the target image using the calibration data and, if the generation conditions are met, calibrates the target image using the new transport direction calibration data generated by the calibration data generation function.
この構成によれば、生成条件が満たされない場合には、新たな搬送方向較正データの生成が省略され、記憶装置に格納済の搬送方向較正データが用いられるので、処理を簡素化できる。 According to this configuration, when the generation condition is not satisfied, the generation of new transport direction calibration data is omitted, and the transport direction calibration data stored in the storage device is used, so that the process can be simplified.
なお、本明細書に開示の技術は、種々の態様で実現することが可能であり、例えば、スキャナ装置の制御方法および制御装置、それらの方法または装置の機能を実現するためのコンピュータプログラム、そのコンピュータプログラムを記録した記録媒体(例えば、一時的ではない記録媒体)、等の形態で実現することができる。 The techniques disclosed in the present specification can be realized in various aspects, for example, a control method and a control device of a scanner device, a computer program for realizing the functions of those methods or devices, and the like. It can be realized in the form of a recording medium (for example, a recording medium that is not temporary) on which a computer program is recorded.
A.第1実施例:
A1.装置構成:
図1は、実施例のデータ処理装置100と複合機200とを示す説明図である。データ処理装置100は、コンピュータである(例えば、デスクトップコンピュータ、タブレットコンピュータなど)。データ処理装置100は、プロセッサ110と、記憶装置115と、表示部140と、操作部150と、通信インタフェース170と、を有している。これらの要素は、バスを介して互いに接続されている。記憶装置115は、揮発性記憶装置120と、不揮発性記憶装置130と、を含んでいる。
A. First Example:
A1. Device configuration:
FIG. 1 is an explanatory diagram showing the
プロセッサ110は、データ処理を行う装置であり、例えば、CPUである。揮発性記憶装置120は、例えば、DRAMであり、不揮発性記憶装置130は、例えば、フラッシュメモリである。
The
不揮発性記憶装置130は、第1プログラム131と、第2プログラム132と、センサ方向較正データ134と、搬送方向較正データ135と、を格納している。プロセッサ110は、プログラム131、132を実行することによって、後述する種々の機能を実現する。プロセッサ110は、プログラム131、132の実行に利用される種々の中間データを、記憶装置115(例えば、揮発性記憶装置120、不揮発性記憶装置130のいずれか)に、一時的に格納する。較正データ134、135の詳細については、後述する。
The
表示部140は、液晶ディスプレイ、有機ELディスプレイ、LEDディスプレイなどの、画像を表示する装置である。操作部150は、ボタン、レバー、表示部140上に重ねて配置されたタッチパネルなどの、ユーザによる操作を受け取る装置である。
The
通信インタフェース170は、他の装置と通信するためのインタフェースである(例えば、USBインタフェース、有線LANインタフェース、IEEE802.11の無線インタフェース)。通信インタフェース170には、複合機200が接続されている。
The
複合機200は、制御部205と、印刷部260と、読取部300と、を有している。制御部205は、プロセッサ210と、記憶装置215と、表示部240と、操作部250と、通信インタフェース270と、を有している。これらの要素は、バスを介して互いに接続されている。記憶装置215は、揮発性記憶装置220と、不揮発性記憶装置230と、を含んでいる。
The
プロセッサ210は、データ処理を行う装置であり、例えば、CPUである。揮発性記憶装置220は、例えば、DRAMであり、不揮発性記憶装置230は、例えば、フラッシュメモリである。
The
不揮発性記憶装置230は、プログラム231、232と、較正データ134、135と、を格納している。プロセッサ210は、プログラム231、232を実行することによって、複合機200を制御するための種々の機能を実現する。第1プログラム231は、印刷部260に画像を印刷させる機能と、読取部300に対象物を読み取らせる機能とを、プロセッサ110に実行させる。他のプログラム232については、後述する。プロセッサ210は、プログラム231、232の実行に利用される種々の中間データを、記憶装置215(例えば、揮発性記憶装置220、不揮発性記憶装置230のいずれか)に、一時的に格納する。較正データ134、135は、データ処理装置100の較正データ134、135と同じである(詳細は後述)。本実施例では、プログラム231、232と較正データ134、135とは、複合機200の製造者によって、ファームウェアとして、不揮発性記憶装置230に予め格納されている。
The
表示部240は、液晶ディスプレイ、有機ELディスプレイ、LEDディスプレイなどの、画像を表示する装置である。操作部250は、ボタン、レバー、表示部140上に重ねて配置されたタッチパネルなどの、ユーザによる操作を受け取る装置である。
The
通信インタフェース270は、他の装置と通信するためのインタフェースである。本実施例では、通信インタフェース270は、データ処理装置100の通信インタフェース170に接続されている。
The
印刷部260は、所定の方式(例えば、レーザ方式や、インクジェット方式)で、用紙(印刷媒体の一例)上に画像を印刷する装置である。本実施例では、印刷部260は、シアンC、マゼンタM、イエロY、ブラックKの4種類のインクを用いてカラー画像を印刷可能なインクジェット方式の印刷装置である。図示を省略するが、印刷部260は、複数のノズルを有する印刷ヘッドを備えている。
The
読取部300は、CCDやCMOSなどの光電変換素子を用いて光学的に原稿等の対象物を読み取る読取装置である。制御部205(具体的には、プロセッサ210)は、読取部300からのデータを用いて、読み取った画像(「読取画像」と呼ぶ)を表す読取データを生成する。読取データは、例えば、カラーの読取画像を表すRGBのビットマップデータである。
The
図1の下部には、水平なテーブル(図示せず)に置かれた複合機200の斜視図が示されている。図中の第1方向D1と第2方向D2とは、水平な方向を示し、第3方向D3は、鉛直上方向を示している。第1方向D1と第2方向D2とは、互いに垂直である。また、第3方向D3を、上方向D3とも呼ぶ。以下、方向の符号の前にマイナス記号を付加した符号を、その方向の反対方向を示す符号として用いる。例えば、−D1方向は、第1方向D1の反対の方向である。
At the bottom of FIG. 1, a perspective view of the
複合機200は、筐体290と、筐体290の上方向D3側に開閉可能に取り付けられたカバー292と、を備えている。図1では、カバー292は、上方向D3に向けて開けられている。
The
複合機200の読取部300は、いわゆるフラットベッド式のスキャナである。読取部300は、筐体290の上方向D3側の面に配置された支持台394を備えている。支持台394は、カバー292を上方向D3に向けて開くことによって、現れる。支持台394は、第1方向D1に平行な2辺と第2方向D2に平行な2辺とで囲まれる略矩形状の台であり、透明板(例えば、ガラス板)を用いて構成されている。支持台394の第3方向D3側の面は、読取の対象物(例えば、シート)が支持される支持面Usである。支持台394の周囲は、枠393で囲まれている。枠393は、筐体290の上方向D3側の一部分である。本実施例では、支持面Usは、枠393の上方向D3側の面よりも下方向側(−D3方向側)に配置されている。支持台394の縁は、枠393の内周面3iによって囲まれている。対象物が矩形状のシートである場合、支持面Us上のシートの辺を枠393の内周面3iに接触させることによって、支持面Usに対するシートの傾きを抑制できる。
The
また、読取部300は、筐体290の内部に配置されたセンサユニット320と搬送装置330とを備えている。センサユニット320は、支持台394の下側(−D3方向側)に配置されている。本実施例では、センサユニット320は、対象物を光学的に読み取る一次元イメージセンサである。センサユニット320は、第1方向D1に並んで配置された複数の読取センサ321を備える棒状の装置である(以下、第1方向D1を、センサ方向D1とも呼ぶ)。読取センサ321は、CCDやCMOSなどの光電変換素子である。複数の読取センサ321の間では、第1方向D1の位置が互いに異なっている。センサユニット320は、支持台394上の対象物を光学的に読み取ることによって、読み取った対象物を示すデータを出力する。
Further, the
搬送装置330は、第2方向D2に平行にセンサユニット320を搬送する装置である。読取部300の構成は、種々の構成であってよい。図示を省略するが、本実施例では、搬送装置330は、第2方向D2に平行な方向にスライド可能にセンサユニット320を支持するレールと、複数のプーリと、複数のプーリに巻き掛けられるとともに一部がセンサユニット320に固定されたベルトと、プーリを回転させる電気モータと、を有している。電気モータがプーリを回転させることによって、センサユニット320は、第2方向D2に平行な方向に移動する。対象物を読み取る場合、搬送装置330は、センサユニット320を、第2方向D2へ搬送する(以下、第2方向D2を搬送方向D2とも呼ぶ)。センサユニット320は、搬送中に対象物の読み取りを繰り返す。これにより、センサユニット320は、支持台394の支持面Usのおおよそ全体から、対象物を読み取ることができる。以下、支持面Usを、読取面Usとも呼ぶ。
The
なお、図示を省略するが、筐体290内には、制御部205と印刷部260も、収容されている。
Although not shown, the
A2.センサ方向較正データの生成:
図2は、センサ方向較正データ134の生成処理の例を示すフローチャートである。センサユニット320(図1)の複数の読取センサ321のそれぞれの第1方向D1の位置は、製造誤差により、設計された位置からずれ得る。例えば、設計上、センサユニット320の延びる方向(すなわち、複数の読取センサ321の並ぶ方向)が、予め決められた設計方向(例えば、第1方向D1)に平行であるべき場合に、実際には、センサユニット320の延びる方向が設計方向に対して斜めであり得る。この場合、複数の読取センサ321のそれぞれの第1方向D1の位置が、設計上の位置からずれ得る。センサ方向較正データ134は、複数の読取センサ321のこのような第1方向D1の位置のずれの影響を緩和するように読取画像内の画素の位置を較正するための較正量を示している。センサ方向較正データ134は、複合機200の製造者によって生成される。以下、データ処理装置100(図1)が、センサ方向較正データ134を生成することとして、センサ方向較正データ134の製造方法について説明する。
A2. Generation of sensor orientation calibration data:
FIG. 2 is a flowchart showing an example of the generation process of the sensor
S110では、複合機200の読取部300によって、基準シートの基準パターンが読み取られる。本実施例では、ユーザは、複合機200の支持面Us上に基準シートを配置し、操作部250に読取指示を入力する。制御部205(具体的には、プロセッサ210)は、指示に応じ、第1プログラム231に従って読取部300を制御し、基準シートを示す読取データを生成する。
In S110, the reference pattern of the reference sheet is read by the
図3(A)−図3(C)は、基準シートの説明図である。図3(A)には、基準シートの例が示されている。図中には、長手方向DLと、長手方向DLに垂直な幅方向DWと、が示されている。基準シートSHsの形状は、長手方向DLに平行な2辺Ss1、Ss2と幅方向DWに平行な2辺Ss3、Ss4とを有する矩形状である。基準シートSHsは、例えば、A3サイズのシートである。基準シートSHs上には、基準パターンPsが記録されている。基準パターンPsは、長手方向DLに平行な複数の細線である基準線PsLを含んでいる。複数の基準線PsLは、幅方向DWに沿って等間隔で並んでいる。複数の基準線PsLは、基準シートSHsの幅方向DWの範囲のおおよそ全体に亘って、分布している。隣り合う2本の基準線PsLの間の距離(ピッチ距離とも呼ぶ)は、予め決められている(以下、基準ピッチdsとも呼ぶ)。基準シートSHs上では、複数の基準線PsLは、同じ基準ピッチdsで、幅方向DWに沿って等間隔で並んでいる。複数の基準線PsLの間では、幅方向DWの位置が互いに異なっている。基準シートSHsは、シートの劣化を避けるために、厳重に管理される(例えば、基準シートSHsは専用の保管場所に保管され、保管場所の温度と湿度とが厳重に管理される)。 3 (A) -FIG. 3 (C) are explanatory views of the reference sheet. FIG. 3A shows an example of a reference sheet. In the figure, a longitudinal DL and a width DW perpendicular to the longitudinal DL are shown. The shape of the reference sheet SHs is a rectangular shape having two sides Ss1 and Ss2 parallel to the longitudinal direction DL and two sides Ss3 and Ss4 parallel to the width direction DW. The reference sheet SHs is, for example, an A3 size sheet. Reference patterns Ps are recorded on the reference sheet SHs. The reference pattern Ps includes the reference line PsL which is a plurality of thin lines parallel to the longitudinal DL. The plurality of reference lines PsL are arranged at equal intervals along the width direction DW. The plurality of reference lines PsL are distributed over approximately the entire range of the reference sheet SHs in the width direction DW. The distance between two adjacent reference lines PsL (also referred to as pitch distance) is predetermined (hereinafter, also referred to as reference pitch ds). On the reference sheet SHs, the plurality of reference lines PsL are arranged at equal intervals along the width direction DW at the same reference pitch ds. The positions of the DWs in the width direction are different from each other among the plurality of reference lines PsL. The reference sheet SHs are strictly controlled in order to avoid deterioration of the sheet (for example, the reference sheet SHs are stored in a dedicated storage place, and the temperature and humidity of the storage place are strictly controlled).
図3(B)は、複合機200の支持面Us上に配置された基準シートSHsを示す説明図である。本実施例では、基準シートSHsの形状と大きさは、支持面Usの形状と大きさと、おおよそ同じである。基準シートSHsの全体が、支持面Us上に配置される。また、本実施例では、読取部300に対する基準シートSHsの位置と向き(すなわち、支持面Us上の基準シートSHsの位置と向き)は、以下のように調整される。
FIG. 3B is an explanatory view showing reference sheets SHs arranged on the support surface Us of the
基準シートSHsのDW方向側(図中の上側)の長辺Ss1は、枠393の内周面3iのD1方向側(図中の上側)の第1部分3i1に接触する。基準シートSHsのDL方向側(図中の左側)の短辺Ss3は、枠393の内周面3iの−D2方向側(図中の左側)の第3部分3i3に接触する。この結果、基準シートSHsの長手方向DLは、複合機200の−D2方向とおおよそ同じであり、基準シートSHsの幅方向DWは、複合機200の第1方向D1とおおよそ同じである。また、内周面3iの左上の隅3C1には、基準シートSHsの左上の角SCが、接触する(隅3C1は、内周面3iの2つの部分3i1、3i3によって形成され、角SCは、基準シートSHsの2つの辺Ss1、Ss3によって形成される)。このように、支持面Us上において、基準シートSHsの互いに異なる方向に延びる2つの辺Ss1、Ss3のそれぞれの位置が、読取部300の互いに異なる方向に延びる2つの部分3i1、3i3に接触することによって、決定される。このように、支持面Us上の基準シートSHsの位置と向きとは、予め決められた位置と向きとに、調整される。この状態で、複数の基準線PsLは、支持面Usの第1方向D1の範囲のおおよそ全体に亘って分布している。
The long side Ss1 on the DW direction side (upper side in the drawing) of the reference sheet SHs comes into contact with the first portion 3i1 on the D1 direction side (upper side in the drawing) of the inner
図3(C)は、基準シートSHsの読取画像の例を示す説明図である。図中の方向D1、D2は、読取画像IMsによって示される対象物(ここでは、基準シートSHs)の読取時における、対象物に対する複合機200の方向D1、D2を示している。本実施例では、読取部300を用いて得られる読取画像の形状は、第1方向D1に平行な2辺と第2方向D2に平行な2辺とで囲まれる矩形状である。読取画像は、D1方向とD2方向とに沿って格子状に並ぶ複数の画素によって、表される(図示省略)。画素の色値(例えば、RGB値)は、読取センサ321から出力されるセンサデータを用いて、決定される。読取画像内の画素のセンサ方向D1の位置と、その画素に対応付けられた読取センサ321のセンサ方向D1の位置と、の対応関係は、予め決められている。また、読取画像内の画素の搬送方向D2の位置と、その画素に対応付けられたセンサユニット320の搬送方向D2の位置と、の対応関係は、予め決められている。なお、1つの画素に、複数の読取センサ321が対応付けられてよい。また、1つの画素に、センサユニット320の搬送方向D2の複数の位置が対応付けられてよい。すなわち、1つの画素の色値は、複数個のセンサデータを用いて、決定されてよい(例えば、平均値)。なお、S110(図2)では、制御部205は、複数の読取センサ321(図1)のそれぞれの第1方向D1の位置のずれがゼロであることとして、読取画像IMsの読取データを生成する。図3(C)に示すように、複数の基準線PsLは、読取画像IMsの第1方向D1の範囲のおおよそ全体に亘って分布している。
FIG. 3C is an explanatory diagram showing an example of a scanned image of the reference sheet SHs. The directions D1 and D2 in the figure indicate the directions D1 and D2 of the
データ処理装置100のプロセッサ110は、操作部150に入力されたユーザの指示に応じて、第1プログラム131に従って、センサ方向較正データ134を生成する処理を開始する。なお、S110(図2)で、プロセッサ110が、複合機200に基準シートSHsの読取指示を送信してよい。複合機200のプロセッサ210は、指示に応じて、基準シートSHsの読取データを生成してよい。
The
S115では、プロセッサ110は、複合機200から、基準シートSHsの読取データを取得する。S120では、プロセッサ110は、読取データを解析することによって、読取画像IMsから基準パターンPsの複数の基準線PsLを検出する。基準線PsLの検出方法は、任意の方法であってよい。本実施例では、プロセッサ110は、ハフ変換によって、複数の基準線PsLのそれぞれを特定する。これに代えて、パターンマッチングやエッジ検出などの他の方法によって、基準線PsLが検出されてよい。
In S115, the
S130では、プロセッサ110は、読取画像IMs上での複数の基準線PsLのそれぞれのセンサ方向D1の位置を特定する。そして、プロセッサ110は、隣り合う2本の基準線PsLの間の読取画像IMs上でのピッチ距離を特定する。図3(C)の下部には、読取画像IMs上の複数の基準線PsLのうち、−D1方向側の端に配置された4本の基準線PsLが示されている。位置s(i)は、i番目の基準線PsLのセンサ方向D1の位置を示している。基準線PsLの番号iは、幅方向DW(ここでは、センサ方向D1と同じ)に向かって昇順に並ぶように、1番から順番に割り当てられている。i番の基準線PsLとi+1番の基準線PsLとの間のピッチ距離(s(i+1)−s(i))は、ds+a(i)で表される。差a(i)は、予め決められた基準ピッチdsと、読取画像IMs上での実際のピッチ距離との間の差である。差a(i)は、読取センサ321(図1)のセンサ方向D1の位置の設計位置からのずれに起因して、生じ得る。なお、位置と距離(例えば、基準線PsLの位置、ピッチ距離、差a(i)等)の単位は、任意の単位であってよい(例えば、ミリメートル、画素数、など)。本実施例では、読取画像の解像度(画素密度とも呼ばれる)は、予め決められている。解像度の単位は、例えば、ピクセル/インチである。シート上の距離(例えば、ミリメートルやインチで表される基準ピッチds)と、読取画像上の距離(例えば、画素数で表される基準ピッチds)とは、解像度に基づいて、互いに変換可能である。後述する他の距離や位置についても、同様に、解像度に基づいて変換可能である。
In S130, the
図4は、センサ方向D1の位置とピッチ距離の差との例を示すグラフである。横軸は、読取画像IMs上のセンサ方向D1の位置PO1を示している。縦軸は、ピッチ距離の差DP1を示している。複数のデータ点M1は、複数の基準線ペアを、それぞれ示している。本実施例では、i番目の基準線PsLとi+1番目の基準線PsLとのペアのピッチ距離の差a(i)には、i番目の基準線PsLの位置s(i)が対応付けられていることとする。このグラフは、センサユニット320の延びる方向が設計方向に対して斜めである場合の例を示している。この場合、差DP1は、位置PO1の変化に応じて、おおよそ直線的に変化する。
FIG. 4 is a graph showing an example of the difference between the position in the sensor direction D1 and the pitch distance. The horizontal axis indicates the position PO1 in the sensor direction D1 on the scanned image IMs. The vertical axis shows the difference DP1 of the pitch distance. The plurality of data points M1 indicate a plurality of reference line pairs, respectively. In this embodiment, the position s (i) of the i-th reference line PsL is associated with the difference a (i) in the pitch distance between the pair of the i-th reference line PsL and the i + 1th reference line PsL. Suppose you are. This graph shows an example in which the extending direction of the
S140(図2)では、プロセッサ110は、センサ方向較正データ134を生成する。図4には、複数のデータ点M1を近似する近似直線L1が示されている。本実施例では、この近似直線L1が、較正直線として用いられる(較正直線L1とも呼ぶ)。較正直線L1によって位置PO1に対応付けられる差DP1が、較正量として用いられる(以下、較正量VC1とも呼ぶ)。後述するように、本実施例では、読取画像上の位置PO1から較正量VC1を減算することによって、較正済の位置が算出される。
In S140 (FIG. 2), the
プロセッサ110は、隣り合う2本の基準線PsLで構成される複数の基準線ペアのそれぞれに関して、ピッチ距離から基準ピッチdsを減算することによって、差a(i)を算出する。プロセッサ110は、複数の差a(i)に対応する複数のデータ点M1を用いて、較正直線L1を特定する。例えば、プロセッサ110は、複数のデータ点M1を近似する較正直線L1を最小二乗法によって特定する。較正直線L1の特定方法は、他の公知の方法であってもよい。プロセッサ110は、較正直線L1を示すセンサ方向較正データ134を生成する。
The
センサ方向較正データ134のデータ形式は、位置PO1と較正量VC1との対応関係を示す任意の形式であってよい。本実施例では、センサ方向較正データ134は、較正直線L1を示すパラメータ(例えば、切片と傾き)を示すデータである。これに代えて、センサ方向較正データ134は、較正直線L1を示すルックアップテーブルであってもよい。
The data format of the sensor
また、較正直線L1によって示される較正量は、図4の差DP1の正負の符号を反転させることによって得られる値であってよい。この場合、読取画像上の位置PO1に較正量を加算することによって、較正済の位置が算出される。この場合、プロセッサ110は、複数のデータ点M1のそれぞれの差DP1の正負の符号を反転させることによって、複数の反転データ点を特定してよい。そして、プロセッサ110は、複数の反転データ点を近似する近似直線を、較正直線として採用してよい。
Further, the calibration amount indicated by the calibration straight line L1 may be a value obtained by inverting the positive and negative signs of the difference DP1 in FIG. In this case, the calibrated position is calculated by adding the calibration amount to the position PO1 on the scanned image. In this case, the
S150では、プロセッサ110は、センサ方向較正データ134を記憶装置(例えば、不揮発性記憶装置130)に格納する。そして、図2の処理が終了する。なお、センサユニット320の延びる方向(すなわち、複数の読取センサ321のセンサ方向D1の位置)は、安定しており、時間が経過した場合にほとんど変化しない。従って、センサ方向較正データ134は、継続して、第1方向D1の位置の較正に利用可能である。複合機200の不揮発性記憶装置230には、センサ方向較正データ134は、ファームウェアの一部として、予め格納される。
In S150, the
A3.テスト画像の処理:
複合機200は、種々の処理の対象画像の読み取りに利用され得る。図5は、対象画像の例を示す説明図である。図中には、テストシートSHtが示されている。テストシートSHtの形状は、図3(A)で説明した基準シートSHsと同様に、長手方向DLに平行な2辺St1、St2と幅方向DWに平行な2辺St3、St4とを有する矩形状である。テストシートSHt上には、テスト画像IMtが印刷されている。テスト画像IMtは、計測パターンIMxと、較正パターンPtと、を含んでいる。本実施例では、テストシートSHtとして、基準シートSHs(図3(A))のような較正専用のシートではなく、印刷物が用いられる(以下、テストシートSHtを、「印刷テストシートSHt」とも呼ぶ)。印刷テストシートSHtに印刷された画像(本実施例では、較正パターンPt)は、基準として用いられる。そして、本実施例は、印刷テストシートSHtの読取画像に対する複数の読取センサ321(図1)の位置ずれの影響を、センサ方向較正データ134(図4)を用いて低減することによって、テスト画像IMtの高精度の処理を、較正専用のシートを用いずに実現する(詳細は、後述)。
A3. Test image processing:
The
本実施例では、計測パターンIMxは、印刷部260の複数のノズルの特性を検査するための処理の対象画像の例である。計測パターンIMxは、複数のノズルのそれぞれによって印刷された複数のドット領域DAを含んでいる(1個のドット領域DAは、1個のノズルで印刷される)。テストシートSHt上のドット領域DAの位置が予め決められた位置からずれている場合、そのドット領域DAに対応するノズルに不具合があり得る。ドット領域DAの位置を計測するために、複合機200の読取部300によってテストシートSHtが読み取られる(詳細は、後述)。
In this embodiment, the measurement pattern IMx is an example of an image to be processed for inspecting the characteristics of a plurality of nozzles of the
較正パターンPtは、長手方向DLに平行な複数の細線である基準線PtLを含んでいる。複数の基準線PtLは、幅方向DWに沿っておおよそ等間隔で並んでいる。複数の基準線PtLは、テストシートSHtの幅方向DWの範囲のおおよそ全体に亘って分布している。隣り合う2本の基準線PtLの間の距離(すなわち、ピッチ距離)は、予め決められている基準ピッチとおおよそ同じである。複数の基準線PtLの間では、幅方向DWの位置が互いに異なっている。複数の基準線PtLは、図3(A)の複数の基準線PsLと同様に、読取画像上の幅方向DWの画素の位置ずれの特定に利用される(詳細は、後述)。以下、テストシートSHtの幅方向DW(すなわち、位置ずれを特定可能な方向)を、特定方向DWとも呼ぶ。 The calibration pattern Pt includes a reference line PtL which is a plurality of thin lines parallel to the longitudinal DL. The plurality of reference lines PtL are arranged at approximately equal intervals along the width direction DW. The plurality of reference lines PtL are distributed over approximately the entire range of the test sheet SHt in the width direction DW. The distance (that is, the pitch distance) between two adjacent reference lines PtL is approximately the same as a predetermined reference pitch. The positions of the DWs in the width direction are different from each other among the plurality of reference lines PtL. The plurality of reference lines PtL are used to identify the positional deviation of the pixels in the width direction DW on the scanned image, similarly to the plurality of reference lines PsL in FIG. 3A (details will be described later). Hereinafter, the width direction DW of the test sheet SHt (that is, the direction in which the positional deviation can be specified) is also referred to as a specific direction DW.
テスト画像IMtの印刷データ(詳細は、後述)は、基準ピッチで等間隔に並ぶ複数の基準線PtLを示している。現実のテストシートSHt上では、テストシートSHtの変形や印刷部260の特性などの種々の原因に起因して、複数の基準線PtLの間隔は、基準ピッチからずれ得る。図5の下部には、較正パターンPtの複数の基準線PtLのうち、−DW方向側の端に配置された4本の基準線PtLが示されている。図中には、隣り合う2本の基準線PtLの間のピッチ距離が示されている。j番の基準線PtLとj+1番の基準線PtLとの間のピッチ距離は、dt+b(j)で表される。基準線PtLの番号jは、特定方向DWに向かって昇順に並ぶように、1番から順番に割り当てられている。第1種差b(j)は、読取画像上ではなくテストシートSHt上のピッチ距離と基準ピッチdtとの間の差である。
The print data of the test image IMt (details will be described later) show a plurality of reference lines PtL arranged at equal intervals at a reference pitch. On the actual test sheet SHt, the distance between the plurality of reference lines PtL may deviate from the reference pitch due to various causes such as deformation of the test sheet SHt and characteristics of the
図6は、テスト画像IMtの処理の手順の例を示すフローチャートである。データ処理装置100(図1)のプロセッサ110は、操作部150に入力されたユーザの指示に応じて、第2プログラム132に従って、図6の処理を開始する。S310では、プロセッサ110は、生成条件が満たされるか否かを判断する。生成条件は、新たな搬送方向較正データ135を生成するための条件である。後述するように、搬送方向較正データ135は、読取画像上における第2方向D2の位置のずれを較正するための較正量を示している。本実施例では、生成条件は、現行の搬送方向較正データ135が生成されてからの経過時間が、予め決められた時間閾値を超えることである。プロセッサ110は、図示しないタイマを参照して、経過時間を測定する。
FIG. 6 is a flowchart showing an example of a procedure for processing the test image IMt. The
生成条件が満たされる場合(S310:Yes)、S340では、プロセッサ110は、予め決められた印刷データを、複合機200に供給する。印刷データは、テスト画像IMtを示している。複合機200のプロセッサ210は、第1プログラム231に従って、受信した印刷データを用いて印刷部260を制御することによって、用紙上にテスト画像IMtを印刷する。これにより、テストシートSHt(図5)が生成される。なお、印刷データのデータ形式は、複合機200によって解釈可能な任意の形式であってよい。
When the generation condition is satisfied (S310: Yes), in S340, the
S345では、複合機200の読取部300によって、テストシートSHtのテスト画像IMtが読み取られる。本実施例では、ユーザは、複合機200の支持面Us上にテストシートSHtを配置し、操作部250に読取指示を入力する。制御部205(具体的には、プロセッサ210)は、指示に応じて、第1プログラム231に従って読取部300を制御し、テストシートSHtを示す読取データを生成する。
In S345, the test image IMt of the test sheet SHt is read by the
図7(A)は、複合機200の支持面Us上に配置されたテストシートSHtの説明図である。本実施例では、テストシートSHtのサイズは、支持面Usのサイズと、おおよそ同じである。テストシートSHtの全体が、支持面Us上に配置される。本実施例では、複合機200の対するテストシートSHtの位置と向き(すなわち、支持面Us上のテストシートSHtの位置と向き)は、図3(B)で説明した基準シートSHsの位置と向きの調整方法と同じ方法で、調整される。すなわち、テストシートSHtの2つの辺St1、St3が、枠393の内周面3iの2つの部分3i1、3i3に、それぞれ接触する。この結果、テストシートSHtの長手方向DLは、読取部300の−D2方向とおおよそ同じであり、テストシートSHtの特定方向DWは、読取部300のセンサ方向D1とおおよそ同じである。また、枠393の内周面3iの左上の隅3C1には、テストシートSHtの左上の角SC1が、接触する(角SC1は、テストシートSHtの2つの辺St1、St3によって形成される)。このように、支持面Us上でのテストシートSHtの位置と向きとは、テストシートSHtの互いに異なる方向に延びる2つの辺St1、St3のそれぞれの位置が、読取部300の互いに異なる方向に延びる2つの部分3i1、3i3に接触することによって、決定される。これにより、支持面Us上のテストシートSHtの位置と向きとは、予め決められた位置と向きとに、調整される。この状態で、複数の基準線PtLは、支持面Usの第1方向D1の範囲のおおよそ全体に亘って分布している。以下、S345で生成される読取データを、センサ方向読取データとも呼ぶ。また、センサ方向読取データの読取画像を、センサ方向読取画像とも呼ぶ。
FIG. 7A is an explanatory view of the test sheet SHt arranged on the support surface Us of the
図7(B)は、センサ方向読取画像の例を示す説明図である。この読取画像IMt1は、計測パターンIMxと較正パターンPtとを含むテストシートSHtの全体を示している。複数の基準線PtLは、読取画像IMt1の第1方向D1の範囲のおおよそ全体に亘って分布している。 FIG. 7B is an explanatory diagram showing an example of a sensor direction reading image. This scanned image IMt1 shows the entire test sheet SHt including the measurement pattern IMx and the calibration pattern Pt. The plurality of reference lines PtL are distributed over approximately the entire range of the first direction D1 of the scanned image IMt1.
S350(図6)では、プロセッサ110は、複合機200から、センサ方向読取データを取得する。S355では、プロセッサ110は、搬送方向較正データ135の生成処理を実行する。
In S350 (FIG. 6), the
図8は、搬送方向較正データ135の生成処理の例を示すフローチャートである。上述したように、センサユニット320(図1)は、搬送装置330による搬送中に、対象物を読み取る。搬送中のセンサユニット320の搬送方向D2の位置は、搬送の誤差により、設計された位置からずれ得る。例えば、搬送装置330の部材の変形によって(例えば、ベルトの一部分が延びることによって)、搬送中のセンサユニット320の位置がずれ得る。搬送方向較正データ135は、このような搬送の誤差に起因する読取画像上の搬送方向D2の画素の位置のずれを較正するための較正量を示している。なお、搬送の誤差は、時間の経過に応じて、変化し得る。そこで、本実施例では、搬送方向較正データ135の生成が、生成条件(図6:S310)に基づいて、繰り返される。
FIG. 8 is a flowchart showing an example of the generation process of the transport
S415−S425では、搬送方向D2の位置のずれを特定するために、テストシートSHt(図5)の特定方向DWが搬送方向D2を向いている状態で、テストシートSHtが読み取られる。 In S415-S425, the test sheet SHt is read in a state where the specific direction DW of the test sheet SHt (FIG. 5) faces the transport direction D2 in order to specify the displacement of the position in the transport direction D2.
図9(A)−図9(D)は、テストシートSHtの読取りの説明図である。図9(A)には、複合機200の支持面Us上に配置されたテストシートSHtが示されている。ユーザは、テストシートSHtを、図7(A)の状態から90度回転させることによって、図9(A)の位置にテストシートSHtを配置できる。図示するように、テストシートSHtのDL方向側(図中の上側)の短辺St3が、枠393の内周面3iのD1方向側(図中の上側)の第1部分3i1に接触し、テストシートSHtの−DW方向側(図中の左側)の長辺St2が、枠393の内周面3iの−D2方向側(図中の左側)の第3部分3i3に接触している。この結果、テストシートSHtの特定方向DWは、読取部300の搬送方向D2とおおよそ同じ方向であり、テストシートSHtの長手方向DLは、読取部300の第1方向D1とおおよそ同じ方向である。また、枠393の内周面3iの左上の隅3C1には、テストシートSHtの左上の角SC2が、接触する(角SC2は、テストシートSHtの2つの辺St2、St3によって形成される)。較正パターンPtは、テストシートSHtの短辺St3に近い位置に配置されているので、較正パターンPtの全体は、支持面Us上に配置される。テストシートSHtの−DL方向側(図中の下側)の端部は、支持面Usの外に位置している。以下、読取部300に対するテストシートSHtのこの位置を、第1位置PS1とも呼ぶ。第1位置PS1は、支持面Us上の−D2方向側の位置である。図中の第1分布範囲Raは、複数の基準線PtLのうちの予め決められた複数の基準線PtLの搬送方向D2の分布範囲である(以下、単に、第1範囲Raとも呼ぶ)。本実施例では、第1範囲Raは、複数の基準線PtLのうちの第2方向D2の端に位置する1本の基準線PtLを除いた残りの複数の基準線PtLの分布範囲である。第1範囲Raは、支持面Us内の−D2方向側の一部の範囲である。この第1範囲Raの詳細については、後述する。
9 (A) -9 (D) are explanatory views of reading the test sheet SHt. FIG. 9A shows a test sheet SHt arranged on the support surface Us of the
図9(B)は、図9(A)のテストシートSHtが読み取られる場合の読取画像を示している。後述するように、この読取画像IMt2aを用いる場合、読取画像内の第1範囲Ra内の位置ずれが特定可能であり、第1範囲Raよりも第2方向D2側の部分では位置ずれを特定できない。そこで、本実施例では、ユーザは、テストシートSHtを搬送方向D2に移動させ、そして、移動後のテストシートSHtが読み取られる。 FIG. 9B shows a read image when the test sheet SHt of FIG. 9A is read. As will be described later, when this scanned image IMt2a is used, the positional deviation in the first range Ra in the scanned image can be specified, and the positional deviation cannot be specified in the portion on the second direction D2 side of the first range Ra. .. Therefore, in this embodiment, the user moves the test sheet SHt in the transport direction D2, and the moved test sheet SHt is read.
図9(C)は、複合機200の支持面Us上に配置された移動後のテストシートSHtを示している。テストシートSHtは、図9(A)の位置から搬送方向D2に移動している。テストシートSHtのDW方向側(図中の右側)の長辺St1が、枠393の内周面3iのD2方向側(図中の右側)の第4部分3i4に接触している。枠393の内周面3iの右上の隅3C2には、テストシートSHtの右上の角SC1が、接触している。図9(A)の例と同様に、テストシートSHtの特定方向DWは、読取部300の搬送方向D2とおおよそ同じ方向であり、テストシートSHtの長手方向DLは、読取部300の第1方向D1とおおよそ同じ方向である。較正パターンPtの全体は、支持面Us上に配置される。以下、読取部300に対するテストシートSHtのこの位置を、第2位置PS2とも呼ぶ。第2位置PS2は、支持面Us上の搬送方向D2側の位置である。2つの位置PS1、PS2の間では、テストシートSHtの搬送方向D2の位置が異なっている。なお、2つの位置PS1、PS2の間で、さらに、テストシートSHtのセンサ方向D1の位置が異なっていてもよい。
FIG. 9C shows the moved test sheet SHt arranged on the support surface Us of the
図中の第2分布範囲Rbは、複数の基準線PtLのうちの予め決められた複数の基準線PtLの搬送方向D2の分布範囲である(以下、単に、第2範囲Rbとも呼ぶ)。本実施例では、第2範囲Rbは、第1範囲Raと同様に、複数の基準線PtLのうちの第2方向D2の端に位置する1本の基準線PtLを除いた残りの複数の基準線PtLの分布範囲である。第2範囲Rbは、支持面Us内の搬送方向D2側の一部の範囲である。第2範囲Rbの−D2方向側の一部は、第1範囲Raに重なっている。総合範囲RALは、2つの範囲Ra、Rbを足し合わせた範囲である。本実施例では、総合範囲RALは、支持面Usの搬送方向D2の範囲のおおよそ全体を、含んでいる。 The second distribution range Rb in the figure is a distribution range in the transport direction D2 of a plurality of predetermined reference lines PtL among the plurality of reference lines PtL (hereinafter, also simply referred to as a second range Rb). In this embodiment, the second range Rb is the same as the first range Ra, and the remaining reference lines PtL except for one reference line PtL located at the end of the second direction D2 among the plurality of reference lines PtL. The distribution range of the line PtL. The second range Rb is a part of the range on the transport direction D2 side in the support surface Us. A part of the second range Rb on the −D2 direction side overlaps with the first range Ra. The total range RAL is the sum of the two ranges Ra and Rb. In this embodiment, the total range RAL includes approximately the entire range of the support surface Us in the transport direction D2.
図9(D)は、図9(C)のテストシートSHtが読み取られる場合の読取画像を示している。この読取画像IMt2bを用いる場合、読取画像内の第2範囲Rb内の位置ずれが、特定可能である。総合範囲RALは、読取画像の搬送方向D2の範囲のおおよそ全体を、含んでいる。このように、本実施例では、第1位置PS1(図9(A))と第2位置PS2(図9(C))との2つの位置でテストシートSHtを読み取ることによって、読取画像の搬送方向D2の範囲のおおよそ全体に亘って、位置ずれを特定できる。 FIG. 9D shows a read image when the test sheet SHt of FIG. 9C is read. When this scanned image IMt2b is used, the positional deviation within the second range Rb in the scanned image can be specified. The total range RAL includes approximately the entire range of the read image in the transport direction D2. As described above, in this embodiment, the read image is conveyed by reading the test sheet SHt at two positions, the first position PS1 (FIG. 9 (A)) and the second position PS2 (FIG. 9 (C)). The misalignment can be identified over approximately the entire range of direction D2.
図8のS415では、プロセッサ110は、読取面Usの搬送方向D2の範囲の全体に亘って、較正パターンPtが読み取られたか否かを判断する。較正パターンPtの読み取りが行われていない範囲が残っている場合(S415:No)、S420で、テストシートSHtのテスト画像IMtが読み取られる。本実施例では、ユーザは、複合機200の支持面Us上にテストシートSHtを配置し、操作部250に読取指示を入力する。制御部205(具体的には、プロセッサ210)は、指示に応じて、第1プログラム231に従って読取部300を制御し、テストシートSHtを示す読取データを生成する。1回目のS420では、テストシートSHtの配置は、2つの位置PS1、PS2(図9(A)、図9(C))のいずれかに設定される。いずれの場合も、テストシートSHtの特定方向DWは、搬送方向D2とおおよそ同じ方向である。
In S415 of FIG. 8, the
なお、S420では、プロセッサ110が、複合機200にテストシートSHtの読取指示を送信してよい。複合機200のプロセッサ210は、指示に応じて、テストシートSHtの読取データを生成してよい。
In S420, the
S423では、プロセッサ110は、複合機200から、テストシートSHtの読取データを取得する。S425では、ユーザは、支持面Us上のテストシートSHtを搬送方向D2に平行に移動させる。移動後のテストシートSHtの位置は、2つの位置PS1、PS2(図9(A)、図9(C))のうち、テストシートSHtの読み取りが行われていない位置である。
In S423, the
読取データの取得(S423)の後、プロセッサ110は、S415へ移行する。本実施例では、2回の読み取り(S420)が完了していない場合に、プロセッサ110は、較正パターンPtの読み取りが行われていない範囲が残っていると判断する(S415:No)。1回目のS420の後、S425でテストシートSHtが移動されている。従って、2回目のS420では、テストシートSHtの位置は、2つの位置PS1、PS2(図9(A)、図9(C))のうち、1回目のS420での位置とは異なる位置である。以下、第1位置PS1のテストシートSHtの読取データを、第1搬送方向読取データとも呼ぶ。第1搬送方向読取データの読取画像を、第1搬送方向読取画像とも呼ぶ。また、第2位置PS2のテストシートSHtの読取データを、第2搬送方向読取データとも呼ぶ。第2搬送方向読取データの読取画像を、第2搬送方向読取画像とも呼ぶ。2回目のS420に続くS423では、プロセッサ110は、複合機200から、テストシートSHtの読取データを取得する。2回目のS420の後のS425は、省略される。
After the acquisition of the read data (S423), the
2回の読み取り(S420)が完了した場合(S415:Yes)、S430で、プロセッサ110は、センサ方向読取画像IMt1(図7(B))から、較正パターンPtの複数の基準線PtLを検出する。基準線PtLの検出方法は、S120(図2)の基準線PsLの検出方法と同じである。S435では、プロセッサ110は、センサ方向読取画像IMt1上での複数の基準線PtLのそれぞれのセンサ方向D1の位置を特定する。そして、プロセッサ110は、隣り合う2本の基準線PtLの間のセンサ方向読取画像IMt1上でのピッチ距離を特定する。
When two readings (S420) are completed (S415: Yes), in S430, the
図7(B)の左部には、読取画像IMt1上の複数の基準線PtLのうち、−D1方向側の端に配置された4本の基準線PtLが示されている。位置t(j)は、j番目の基準線PtLのセンサ方向D1の位置を示している。基準線PtLの番号jは、図5で説明したように、幅方向DW(ここでは、センサ方向D1と同じ)に向かって昇順に並ぶように、1番から順番に割り当てられている。j番の基準線PtLとj+1番の基準線PtLとの間のピッチ距離(t(j+1)−t(j))は、dt+b(j)+c(j)で表される。第1種差b(j)は、図5で説明したように、読取画像上ではなくテストシートSHt上の実際のピッチ距離と、予め決められた基準ピッチdtとの差である。第2種差c(j)は、テストシートSHt上のピッチ距離(dt+b(j))と、読取画像IMt1上のピッチ距離と、の間の差である。第2種差c(j)は、図3(C)の差a(i)と同様に、読取センサ321(図1)のセンサ方向D1の位置の設計位置からのずれに起因して、生じ得る。 On the left side of FIG. 7B, four reference lines PtL arranged at the ends on the −D1 direction side among the plurality of reference lines PtL on the scanned image IMt1 are shown. The position t (j) indicates the position of the j-th reference line PtL in the sensor direction D1. As described with reference to FIG. 5, the reference line PtL number j is assigned in order from No. 1 so as to be arranged in ascending order in the width direction DW (here, the same as the sensor direction D1). The pitch distance (t (j + 1) -t (j)) between the reference line PtL of the jth and the reference line PtL of the j + 1 is represented by dt + b (j) + c (j). The first-class difference b (j) is the difference between the actual pitch distance on the test sheet SHt and the predetermined reference pitch dt, not on the scanned image, as described with reference to FIG. The second type difference c (j) is the difference between the pitch distance (dt + b (j)) on the test sheet SHt and the pitch distance on the scanned image IMt1. The second type difference c (j) may occur due to the deviation of the position of the reading sensor 321 (FIG. 1) in the sensor direction D1 from the design position, similarly to the difference a (i) in FIG. 3 (C). ..
S435(図8)では、プロセッサ110は、センサ方向較正データ134(図1)を用いて、複数のピッチ距離のそれぞれについて複数の読取センサ321(図1)の位置のずれの影響を低減する処理を実行する。以下に説明するように、S435の処理は、センサ方向較正データ134を用いる画素の位置の較正と同様に行われる。以下、S435の処理を、センサずれ較正、または、センサずれ補正、とも呼ぶ。図7(C)、図7(D)は、ピッチ距離のセンサずれ較正の説明図である。図7(C)は、センサ方向較正データ134によって示される較正直線L1のグラフである。この較正直線L1によって、基準線PtLの位置t(j)と較正量ce(j)とが対応付けられる。本実施例では、プロセッサ110は、j番の基準線PtLとj+1番の基準線PtLとの間のピッチ距離から、j番の基準線PtLの位置t(j)に対応付けられた較正量ce(j)を減算することによって、センサずれ較正済のピッチ距離を算出する。図7(D)には、3個のセンサずれ較正済のピッチ距離の算出例が示されている(j=1、2、3)。例えば、1番の基準線PtLと2番の基準線PtLの間の未較正のピッチ距離(j=1)は、dt+b(1)+c(1)である。センサずれ較正済のピッチ距離は、未較正のピッチ距離から、1番の位置t(1)に対応する較正量ce(1)を減算して得られる「dt+b(1)+c(1)−ce(1)」である。ここで、第2種差c(j)は、較正直線L1(図4)の特定に用いられた差a(i)と同じく、読取センサ321(図1)のセンサ方向D1の位置の設計位置からのずれに起因して、生じ得る。従って、位置t(1)に対応する第2種差c(1)は、較正直線L1によって同じ位置t(1)に対応付けられる較正量ce(1)と、おおよそ同じである。従って、センサずれ較正済のピッチ距離は、おおよそ「dt+b(1)」であり、テストシートSHt(図5)上の実際のピッチ距離とおおよそ同じである。基準線PtLの他のペアのセンサずれ較正済のピッチ距離も、同様に、算出される。プロセッサ110は、n本の基準線PtLのn−1個のセンサずれ較正済のピッチ距離を示すセンサずれ較正済ピッチデータを生成する。
In S435 (FIG. 8), the
S440(図8)では、プロセッサ110は、搬送方向読取画像IMt2a、IMt2b(図9(B)、図9(D))から、較正パターンPtの複数の基準線PtLを検出する。基準線PtLの検出方法は、S120(図2)の方法と同じである。S445では、プロセッサ110は、搬送方向読取画像IMt2a、IMt2b上での複数の基準線PtLのそれぞれのセンサ方向D1の位置を特定する。そして、プロセッサ110は、隣り合う2本の基準線PtLの間の搬送方向読取画像IMt2a、IMt2b上でのピッチ距離を特定する。
In S440 (FIG. 8), the
図10(A)は、第1搬送方向読取画像IMt2a上の較正パターンPtの説明図である。位置u1(j)は、j番目の基準線PtLの第1搬送方向読取画像IMt2a上の搬送方向D2の位置を示している。本実施例では、基準線PtLの総数がnであることとしている。また、本実施例では、nは3以上の整数である。j番の基準線PtLとj+1番の基準線PtLとの間のピッチ距離は、dt+b(j)+f1(j)で表される。第1種差b(j)は、図5で説明したように、テストシートSHt上の実際のピッチ距離と基準ピッチdtとの間の差である。第3種差f1(j)は、テストシートSHt上の実際のピッチ距離と、読取画像IMt2a上のピッチ距離と、の間の差である。第3種差f1(j)は、搬送装置330(図1)によるセンサユニット320の搬送の誤差に起因して生じ得る。
FIG. 10A is an explanatory diagram of the calibration pattern Pt on the first transport direction reading image IMt2a. The position u1 (j) indicates the position of the transport direction D2 on the first transport direction read image IMt2a of the j-th reference line PtL. In this embodiment, the total number of reference lines PtL is n. Further, in this embodiment, n is an integer of 3 or more. The pitch distance between the j-th reference line PtL and the j + 1-th reference line PtL is represented by dt + b (j) + f1 (j). The first-class difference b (j) is the difference between the actual pitch distance on the test sheet SHt and the reference pitch dt, as described with reference to FIG. The third kind difference f1 (j) is the difference between the actual pitch distance on the test sheet SHt and the pitch distance on the scanned image IMt2a. The third-class difference f1 (j) may occur due to an error in the transfer of the
図10(B)は、第2搬送方向読取画像IMt2b上の較正パターンPtの説明図である。較正パターンPtは、図10(A)の較正パターンPtと比べて、搬送方向D2側に位置している。位置u2(j)は、j番目の基準線PtLの第2搬送方向読取画像IMt2b上の搬送方向D2の位置を示している。位置u2(j)は、図10(A)の同じ番号の位置u1(j)よりも、搬送方向D2側に位置している。j番の基準線PtLとj+1番の基準線PtLとの間のピッチ距離は、dt+b(j)+f2(j)で表される。第4種差f2(j)は、テストシートSHt上の実際のピッチ距離と、読取画像IMt2b上のピッチ距離と、の間の差である。第4種差f2(j)は、搬送装置330(図1)によるセンサユニット320の搬送の誤差に起因して生じ得る。第4種差f2(j)は、図10(A)の同じ番号の第3種差f1(j)と異なり得る。
FIG. 10B is an explanatory diagram of the calibration pattern Pt on the second transport direction reading image IMt2b. The calibration pattern Pt is located on the transport direction D2 side as compared with the calibration pattern Pt in FIG. 10 (A). The position u2 (j) indicates the position of the transport direction D2 on the second transport direction read image IMt2b of the j-th reference line PtL. The position u2 (j) is located closer to the transport direction D2 than the position u1 (j) having the same number in FIG. 10 (A). The pitch distance between the j-th reference line PtL and the j + 1-th reference line PtL is represented by dt + b (j) + f2 (j). The fourth kind difference f2 (j) is the difference between the actual pitch distance on the test sheet SHt and the pitch distance on the scanned image IMt2b. The fourth type difference f2 (j) may occur due to an error in the transfer of the
S445(図8)では、プロセッサ110は、搬送方向読取画像IMt2a、IMt2bを解析することによって、各読取画像IMt2a、IMt2b上で、隣り合う2本の基準線PtLで構成される複数の基準線ペアのそれぞれに関して、ピッチ距離を算出する。
In S445 (FIG. 8), the
S450では、プロセッサ110は、搬送方向較正データ135のうち第1範囲Raに適用すべきデータを生成する。本実施例では、プロセッサ110は、S435で生成されたセンサずれ較正済ピッチデータを参照し、センサずれ較正済のピッチ距離(図7(D))を特定する。プロセッサ110は、センサずれ較正済のピッチ距離を、S445で算出されたピッチ距離から減算することによって、各基準線ペアのピッチ距離の差f1(j)、f2(j)を算出する。
In S450, the
図10(C)は、搬送方向D2の位置とピッチ距離の差との例を示すグラフである。横軸は、搬送方向読取画像IMt2a、IMt2b上の搬送方向D2の位置PO2を示している。縦軸は、ピッチ距離の差DP2を示している。黒色の複数の第1種データ点M2aは、第1搬送方向読取画像IMt2a(図10(A)))上の複数の基準線ペアを、それぞれ示している。白抜の複数の第2種データ点M2bは、第2搬送方向読取画像IMt2b(図10(B))上の複数の基準線ペアを、それぞれ示している。本実施例では、j番目の基準線PtLとj+1番目の基準線PtLとのペアのピッチ距離の差f1(j)、f2(j)には、j番目の基準線PtLの位置u1(j)、u2(j)が、それぞれ対応付けられていることとする。
FIG. 10C is a graph showing an example of the difference between the position in the transport direction D2 and the pitch distance. The horizontal axis indicates the position PO2 of the transport direction D2 on the transport direction read images IMt2a and IMt2b. The vertical axis shows the difference DP2 of the pitch distance. The plurality of first-class data points M2a in black indicate a plurality of reference line pairs on the first transport direction reading image IMt2a (FIG. 10 (A)), respectively. The plurality of
図10(C)には、複数の第1種データ点M2aを近似する第1種データラインL2aと、複数の第2種データ点M2bを近似する第2種データラインL2bと、が示されている。本実施例では、第1種データラインL2aは、複数の第1種データ点M2aを直線で結ぶ折れ線であり、第2種データラインL2bは、複数の第2種データ点M2bを直線で結ぶ折れ線である。なお、データラインL2a、L2bは、折れ線に代えて、種々の近似曲線(例えば、スプライン曲線)であってよい。 FIG. 10C shows a first-class data line L2a that approximates a plurality of first-class data points M2a and a second-class data line L2b that approximates a plurality of second-class data points M2b. There is. In this embodiment, the first-class data line L2a is a polygonal line connecting a plurality of first-class data points M2a with a straight line, and the second-class data line L2b is a polygonal line connecting a plurality of second-class data points M2b with a straight line. Is. The data lines L2a and L2b may be various approximate curves (for example, spline curves) instead of the polygonal lines.
図10(D)は、較正ラインを示すグラフである。横軸は、搬送方向D2の位置PO2を示し、縦軸は、較正量VC2を示している。較正ラインL2xは、第1範囲Ra内の第1部分ラインL2xaと、第2範囲Rbから第1範囲Raを除いた残りの範囲である残余範囲Rbr内の第2部分ラインL2xbと、で構成される。第1部分ラインL2xaは、第1種データラインL2aと同じである。第2部分ラインL2xbは、第2種データラインL2bのうちの残余範囲Rbr内の部分と同じである。較正ラインL2xによって位置PO2に対応付けられる較正量VC2は、図10(C)で説明した差DP2と同じである。後述するように、読取画像上の位置PO2から位置PO2に対応する較正量VC2を減算することによって、較正済の位置が算出される。なお、第1範囲Raと残余範囲Rbrとの間の境界において、較正ラインL2xは不連続であってもよい。 FIG. 10D is a graph showing the calibration line. The horizontal axis represents the position PO2 in the transport direction D2, and the vertical axis represents the calibration amount VC2. The calibration line L2x is composed of a first partial line L2xa in the first range Ra and a second partial line L2xb in the residual range Rbr which is the remaining range obtained by removing the first range Ra from the second range Rb. To. The first partial line L2xa is the same as the first type data line L2a. The second partial line L2xb is the same as the portion in the residual range Rbr of the second type data line L2b. The calibration amount VC2 associated with the position PO2 by the calibration line L2x is the same as the difference DP2 described in FIG. 10 (C). As will be described later, the calibrated position is calculated by subtracting the calibration amount VC2 corresponding to the position PO2 from the position PO2 on the scanned image. The calibration line L2x may be discontinuous at the boundary between the first range Ra and the residual range Rbr.
S450(図8)では、プロセッサ110は、複数の第1種データ点M2aを用いて、第1範囲Ra用の第1部分ラインL2xaを特定する。そして、プロセッサ110は、第1部分ラインL2xaを示す第1較正データを生成する。
In S450 (FIG. 8), the
S455では、プロセッサ110は、複数の第2種データ点M2bを用いて、残余範囲Rbr用の第2部分ラインL2xbを特定する。例えば、プロセッサ110は、複数の第2種データ点M2bを近似する第2種データラインL2bを特定し、第2種データラインL2bのうちの残余範囲Rbr内の部分を第2部分ラインL2xbとして採用する。そして、プロセッサ110は、第2部分ラインL2xbを示す第2較正データを生成する。
In S455, the
S460では、プロセッサ110は、第1較正データと第2較正データとを用いて、搬送方向較正データ135を生成する。本実施例では、搬送方向較正データ135は、第1較正データと第2較正データとを含むデータである。搬送方向較正データ135の形式は、位置PO2と較正量VC2との対応関係を示す任意の形式であってよい。本実施例では、搬送方向較正データ135は、較正ラインL2xを示すパラメータ(例えば、区間毎の切片と傾き)を示すデータである。これに代えて、搬送方向較正データ135は、較正ラインL2xを示すルックアップテーブルであってもよい。また、較正ラインL2xによって示される較正量VC2は、図10(C)の差DP2の正負の符号を反転させることによって得られる値であってよい。この場合、読取画像上の位置PO2に較正量を加算することによって、較正済の位置が算出される。
In S460, the
S465では、データ処理装置100は、搬送方向較正データ135を、記憶装置(例えば、不揮発性記憶装置130)に格納する。なお、記憶装置に古い搬送方向較正データ135が格納されている場合、プロセッサ110は、古い搬送方向較正データ135を削除する。そして、図8の処理、すなわち、図6のS355が、終了する。S355の終了に応じて、プロセッサ110は、S370へ移行する。
In S465, the
生成条件(図8)が満たされない場合(S310:No)、前回に生成済の搬送方向較正データ135は、第2方向D2の位置を適切に較正できると推定される。そこで、プロセッサ110は、新たな搬送方向較正データ135を生成せずに、S320、S325、S330を実行することによって、計測パターンの読取データを取得する。S320、S325、S330は、S340、S345、S350と、それぞれ同じであってよい。ただし、新たな搬送方向較正データ135は生成されないので、S320で印刷されるテストシートSHt上のテスト画像からは、較正パターンPt(図5)は、省略されてよい。
When the generation condition (FIG. 8) is not satisfied (S310: No), it is presumed that the previously generated transport
S370では、プロセッサ110は、S330、または、S350で取得されたセンサ方向読取データの画像であるセンサ方向読取画像(例えば、図7(B)のセンサ方向読取画像IMt1)を、センサ方向較正データ134と搬送方向較正データ135とを用いて較正する。図11(A)−図11(D)は、搬送方向D2の位置の較正の説明図である。図11(A)は、テストシートSHt上のテスト画像IMtの説明図である。図中の右部には、対象画像計測パターンIMxの複数のドット領域DAのうち、長手方向DLに並ぶ4個のドット領域DAが示されている。位置v(k)は、k番のドット領域DAのテストシートSHt上の−DL方向の位置を示している(kは、1−4のいずれか)。ドット領域DAの番号kは、−DL方向に向かって昇順に並ぶように、1番から順番に割り当てられている。本実施例では、ドット領域DAの位置として、ドット領域DAを示す複数の画素の重心の位置が、用いられる。
In S370, the
図11(B)は、センサ方向読取画像IMt1の説明図である。図中の右部には、図11(A)のものと同じ4個のドット領域DAが示されている。位置w(k)は、k番のドット領域DAのセンサ方向読取画像IMt1上での−DL方向(ここでは、搬送方向D2)の位置である。位置w(k)は、v(k)+g(k)で表される。差g(k)は、テストシートSHt上の実際の位置v(k)と、センサ方向読取画像IMt1上での位置w(k)と、の間の差である。差g(k)は、搬送装置330(図1)によるセンサユニット320の搬送の誤差に起因して生じ得る。
FIG. 11B is an explanatory diagram of the sensor direction reading image IMt1. In the right part of the figure, the same four dot regions DA as those in FIG. 11 (A) are shown. The position w (k) is the position in the −DL direction (here, the transport direction D2) on the sensor direction read image IMt1 of the dot region DA of the kth. The position w (k) is represented by v (k) + g (k). The difference g (k) is the difference between the actual position v (k) on the test sheet SHt and the position w (k) on the sensor direction reading image IMt1. The difference g (k) can be caused by an error in transporting the
図11(C)は、搬送方向較正データ135によって示される較正ラインL2xのグラフである。横軸は、搬送方向D2の位置PO2を示し、縦軸は、較正量VC2を示している。図中には、位置w(k)に対応する較正量gc(k)が示されている。図11(D)は、4個の較正済の位置の算出例が示されている。例えば、2番のドット領域DAのセンサ方向読取画像IMt1上の位置は、w(2)である。搬送方向較正データ135に基づく較正済の位置(すなわち、センサユニット320の搬送の誤差の影響が低減された位置)は、未較正の位置w(2)から、この位置w(2)に対応する較正量gc(2)を減算して得られるw(2)−gc(2)=v(2)+g(2)−gc(2)である。ここで、差g(2)は、較正ラインL2xの特定に用いられた図10(C)の差f1(j)、f2(j)と同じく、搬送装置330(図1)によるセンサユニット320の搬送の誤差に起因して生じ得る。従って、位置w(2)に対応する差g(2)は、較正ラインL2xによって同じ位置w(2)に対応付けられる較正量gc(2)と、おおよそ同じである。従って、搬送方向較正データ135に基づく較正済の位置は、テストシートSHt(図11(A))上の実際の位置v(2)とおおよそ同じである。このように、センサ方向読取画像IMt1上の位置w(2)の画素の色値は、正しくは、搬送方向較正データ135に基づく較正済の位置v(2)の画素の色値である。プロセッサ110は、較正ラインL2xによって示されるこのような対応関係に従って、センサ方向読取画像IMt1の各画素の色値を調整することによって、画素の搬送方向D2の位置を較正する。
FIG. 11C is a graph of the calibration line L2x shown by the transport
以上、搬送方向較正データ135を用いる搬送方向D2の画素の位置の較正について説明した。プロセッサ110は、センサ方向較正データ134を用いるセンサ方向D1の画素の位置の較正も、同様に行う。以上により、プロセッサ110は、センサ方向読取画像IMt1の画像データから、センサ方向D1の画素の位置と搬送方向D2の画素の位置とが較正された較正済センサ方向読取画像データを生成する。較正済センサ方向読取画像データの較正済センサ方向読取画像上では、ドット領域DAの位置と、ドット領域DAのテストシートSHt上での実際の位置と、の間の差は、低減されている。
The calibration of the pixel position in the transport direction D2 using the transport
なお、S370(図6)では、プロセッサ110は、記憶装置115(具体的には、不揮発性記憶装置130)に格納済の最新の搬送方向較正データ135を利用する。この結果、S355で新たな搬送方向較正データ135が生成された場合には、その新たな搬送方向較正データ135が利用され、S355で新たな搬送方向較正データ135が生成されなかった場合には、記憶装置115に既に格納済の搬送方向較正データ135が利用される。
In S370 (FIG. 6), the
S380では、プロセッサ110は、計測パターンの解析処理を行う。S380のボックスの中には、解析処理の例のフローチャートが示されている。S383では、プロセッサ110は、較正済センサ方向読取画像の複数のドット領域DAのそれぞれの位置を算出し、位置を示す結果データを生成する。ドット領域DAの位置は、例えば、ドット領域DAを示す複数の画素の重心の位置である。S387では、プロセッサ110は、結果データを記憶装置(例えば、不揮発性記憶装置130)に格納する。そして、S380の処理、ひいては、図6の処理が終了する。結果データは、複数のノズルの特性の検査に利用される。例えば、ドット領域DAの位置が予め決められた許容範囲外である場合、そのドット領域DAに対応するノズルに不具合があると判断される。
In S380, the
以上のように、本実施例では、データ処理装置100は、搬送方向較正データ135を生成する生成装置の例である。複合機200(図1)は、スキャナ装置の例であり、読取部300と、読取部300を制御する制御部205と、を備えている。読取部300は、センサユニット320と、搬送装置330と、を備えている。センサユニット320は、予め決められた方向であるセンサ方向D1の位置が互いに異なる複数の読取センサ321を備えている。搬送装置330は、センサ方向D1に交差する搬送方向D2にセンサユニット320を搬送する。制御部205のプロセッサ210は、搬送装置330によるセンサユニット320の搬送中に複数の読取センサ321に対象物を光学的に読み取らせることによって対象物の画像データである読取データを生成するデータ生成部の例である。
As described above, in this embodiment, the
図6の処理では、データ処理装置100のプロセッサ110は、読取データによって示される読取画像上の画素の位置を較正するための搬送方向較正データ135を生成する。具体的には、S350で、プロセッサ110は、印刷テストシートSHtのセンサ方向読取データを取得する。印刷テストシートSHt(図5)は、特定方向DWの位置が互いに異なるn本(nは3以上の整数)の基準線PtLを示している。センサ方向読取データは、S345で、複合機200によって生成される。S345では、印刷テストシートSHt(図7(A))は、印刷テストシートSHtの特定方向DWが複合機200のセンサ方向D1を向くように、複合機200に対して配置される。
In the process of FIG. 6, the
図6のS355、より具体的には、図8のS435では、プロセッサ110は、センサ方向較正データ134を用いて、センサ方向読取データのセンサ方向読取画像IMt1(図7(B))のn個の基準線PtLのセンサ方向D1の位置t(j)に関連するn−1個のピッチ距離のセンサずれ較正を行う。図4で説明したように、センサ方向較正データ134は、読取データによって示される画像内の画素のセンサ方向D1の位置の較正量を示すデータである。センサ方向較正データ134は、図2の処理によって、予め決められている。プロセッサ110は、センサ方向較正データ134に基づいてセンサずれ較正されたピッチ距離を示すセンサずれ較正済ピッチデータを生成する。なお、ピッチ距離は、隣り合う2本の基準線PtLのそれぞれの位置を用いて特定される値である。すなわち、n−1個のピッチ距離は、n個の基準線PtLのセンサ方向D1の位置関係を示している。従って、n−1個のピッチ距離は、n個の基準線PtLのそれぞれの位置に関連する位置情報の例である。
In S355 of FIG. 6, more specifically, in S435 of FIG. 8, the
図8のS423では、プロセッサ110は、印刷テストシートSHtの搬送方向読取データを取得する。搬送方向読取データは、S420で、複合機200によって生成される。S420では、印刷テストシートSHt(図9(A)、図9(C))は、印刷テストシートSHtの特定方向DWが複合機200の搬送方向D2を向くように、複合機200に対して配置される。
In S423 of FIG. 8, the
図8のS445−S460では、プロセッサ110は、搬送方向読取データ(S423)とセンサずれ較正済ピッチデータ(S435)とを用いることによって、読取画像内の画素の搬送方向D2の位置の較正量を示す搬送方向較正データ135を生成する。S465では、プロセッサ110は、搬送方向較正データ135を記憶装置に格納する。
In S445-S460 of FIG. 8, the
上述したように、センサユニット320上の複数の読取センサ321のセンサ方向D1の位置は、安定しており、その変動は小さい。従って、図8のS435では、プロセッサ110は、予め決められたセンサ方向較正データ134を用いることによって、センサ方向読取データによって示される複数の基準線PtLの複数のピッチ距離のセンサずれ較正を、適切に、実行できる。
As described above, the positions of the plurality of reading
また、読取画像内の画素の搬送方向D2の位置は、搬送装置330によって搬送されるセンサユニット320の搬送方向D2の位置に対応付けられている。センサユニット320の搬送方向D2の位置は、搬送の誤差などの種々の原因によって、設計の位置からずれ得る。本実施例では、読取画像内の画素の搬送方向D2の位置の較正量を示す搬送方向較正データ135は、搬送方向読取データ(S423)と、センサずれ較正済ピッチデータ(センサ方向読取データとセンサ方向較正データ134とを用いて生成される(S435))と、を用いることによって生成される。従って、適切な搬送方向較正データ135を生成できる。
Further, the position of the pixel in the transport direction D2 in the scanned image is associated with the position of the transport direction D2 of the
なお、印刷テストシートSHt(図5)から較正パターンPtが省略されてよい。この場合も、複数の基準線PtLに代えて、複数のドット領域DAを基準部分として用いることによって、搬送方向較正データ135を生成可能である。ただし、複数のドット領域DAが十分に広い範囲に分布していない場合、広い範囲に適用可能な搬送方向較正データ135を生成することは、困難である。本実施例のように、印刷テストシートSHtが計測パターンIMxに加えて複数の基準線PtLを含む場合、適切な搬送方向較正データ135の生成が可能である。
The calibration pattern Pt may be omitted from the print test sheet SHt (FIG. 5). Also in this case, the transport
また、図8のS415−S425で、プロセッサ110は、第1位置PS1(図9(A))の印刷テストシートSHtの第1搬送方向読取データと、第1位置PS1とは搬送方向D2の位置が異なる第2位置PS2(図9(C))の印刷テストシートSHtの第2搬送方向読取データと、を取得する。図9(C)、図9(D)に示すように、第2位置PS2に対応するn−1本の基準線PtLを含む第2範囲Rbの一部は、第1位置PS1に対応するn−1本の基準線PtLを含む第1範囲Raに重なっている。プロセッサ110は、第1搬送方向読取データと第2搬送方向読取データとセンサずれ較正済ピッチデータとを用いることによって、搬送方向較正データ135を生成する(図8:S445−S460)。従って、搬送方向較正データ135を適用可能な搬送方向D2の位置の範囲を拡張できる。
Further, in S415-S425 of FIG. 8, the
また、S445、S450では、プロセッサ110は、第1搬送方向読取データ(図9(B))とセンサずれ較正済ピッチデータ(S435)とを用いることによって、搬送方向較正データ135のうち、第1範囲Raに適用すべき第1較正データを生成する。S445、S455では、プロセッサ110は、第2搬送方向読取データ(図9(D))とセンサずれ較正済ピッチデータ(S435)とを用いることによって、搬送方向較正データ135のうち、第2範囲Rbから第1範囲Raを除いた残りの範囲Rbrに適用すべき第2較正データを生成する。従って、プロセッサ110は、第1較正データと第2較正データとを用いることによって、適切な搬送方向較正データ135を生成できる。
Further, in S445 and S450, the
また、印刷テストシートSHt(図5)は、複数の基準線PtLと、特定の処理の対象である計測パターンIMxと、が印刷されたシートである。そして、S370、S380(図6)では、プロセッサ110は、計測パターンIMxに対して特定の処理を実行する。特定の処理は、S370とS383を含んでいる。S370では、センサ方向読取データ(図7(B))によって示される計測パターンIMxは、センサ方向較正データ134と搬送方向較正データ135とを用いて較正される。S383では、較正済の計測パターンIMxを解析することによって、解析結果(本実施例では、ドット領域DAの位置)を示す結果データが生成される。較正に利用される搬送方向較正データ135は、S355(図6)で、印刷テストシートSHt上の複数の基準線PtLを用いて生成される。このように、印刷テストシートSHt上の計測パターンIMxが、同じ印刷テストシートSHt上の複数の基準線PtLを用いて較正されるので、計測パターンIMxに対する高精度の処理を、容易に実現できる。
Further, the print test sheet SHt (FIG. 5) is a sheet on which a plurality of reference lines PtL and a measurement pattern IMx that is a target of a specific process are printed. Then, in S370 and S380 (FIG. 6), the
また、プロセッサ110は、生成条件が満たされない場合(図6:S310:No)、新たな搬送方向較正データ135を生成せずに、生成条件が満たされる場合(S310:Yes)、新たな搬送方向較正データ135を生成する(S355)。そして、S370では、生成条件が満たされない場合(すなわち、新たな搬送方向較正データ135が生成されない場合)、プロセッサ110は、記憶装置115に格納済の搬送方向較正データ135を用いて計測パターンIMxを較正する。生成条件が満たされる場合(すなわち、新たな搬送方向較正データ135が生成された場合)、プロセッサ110は、新たな搬送方向較正データ135を用いて計測パターンIMxを較正する。このように、生成条件が満たされない場合には、新たな搬送方向較正データ135の生成が省略され、記憶装置115に格納済の搬送方向較正データ135が用いられるので、処理を簡素化できる。例えば、複数のプリンタによって印刷された複数枚の印刷テストシートSHtを続けて処理する場合、最初の1枚の印刷テストシートSHtについては、図8の処理が実行され、他の印刷テストシートSHtについては、図8の処理が省略される。従って、ユーザの負担を軽減できる(例えば、図9(A)、図9(C)のような印刷テストシートSHtの読取りが、省略される)。
Further, when the generation condition is not satisfied (FIG. 6: S310: No), the
B.変形例:
(1)搬送方向較正データ135の生成処理は、上記の処理に代えて、他の種々の処理であってよい。図10(D)の実施例では、プロセッサ110は、搬送方向D2の位置PO2の複数の範囲Ra、Rvrのそれぞれの較正データを生成する。ここで、プロセッサ110は、第2範囲Rbの較正データを、第2搬送方向読取画像IMt2b(図9(D))のn個の基準線PtLを用いて生成し、第1範囲Raから第2範囲Rbを除いた残りの範囲の較正データを、第1搬送方向読取画像IMt2a(図9(B))の複数の基準線PtLを用いて生成してもよい。いずれの場合も、基準線PtLの総数nは、3以上の種々の値であってよい。また、プロセッサ110は、複数のデータ点M2a、M2b(図10(C))の全てを近似する1つの近似ラインを用いて搬送方向較正データ135を生成してよい。また、図8のS465では、プロセッサ110は、現行の搬送方向較正データ135を記憶装置から削除せずに、新たに生成した搬送方向較正データ135を記憶装置に格納してよい。この場合、プロセッサ110は、読取画像を較正するために(例えば、図6のS370で)、最新の搬送方向較正データ135を選択して用いることが好ましい。
B. Modification example:
(1) The process of generating the transport
また、図10(C)、図10(D)の実施例では、較正量VC2は、隣り合う2本の基準線PtLの間のピッチ距離の差f1(j)、f2(j)を用いて特定されている。これに代えて、プロセッサ110は、基準線PtLの位置の差を用いて、較正量VC2を特定してよい。例えば、プロセッサ110は、印刷テストシートSHt上の基準線PtLの位置に基づいて、読取面Us上の基準線PtLの位置を特定する。そして、プロセッサ110は、読取面Us上の基準線PtLの位置と、搬送方向読取画像IMt2a、IMt2b上の同じ基準線PtLの位置と、の間の差を、較正量VC2として採用してよい。この場合、S435(図8)では、プロセッサ110は、センサ方向較正データ134(図1)を用いて、印刷テストシートSHt上のn本の基準線PtLのそれぞれのセンサずれ較正済の位置を特定する。そして、プロセッサ110は、n本の基準線PtLのそれぞれのセンサずれ較正済位置を示すセンサずれ較正済位置データを生成する。プロセッサ110は、センサずれ較正済位置データによって示されるセンサずれ較正済位置と、図9(A)、図9(C)の印刷テストシートSHtの位置PS1、PS2と、を用いて、読取面Us上の基準線PtLの位置を特定できる。この場合、プロセッサ110は、n本の基準線PtLのそれぞれの位置を用いて、n本の基準線PtLの分布範囲の全体に適用可能な較正データを生成できる。ここで、基準線PtLの総数nは、2以上の種々の値であってよい。
Further, in the embodiment of FIGS. 10 (C) and 10 (D), the calibration amount VC2 uses the difference f1 (j) and f2 (j) of the pitch distance between the two adjacent reference lines PtL. Has been identified. Instead, the
なお、第1範囲Raは、第1搬送方向読取画像IMt2aのn本の基準線PtLのうちのp本(pは2以上、n以下の整数)の基準線PtLの搬送方向D2の分布範囲であってよい。第1範囲Raは、第1搬送方向読取画像IMt2aのn本の基準線PtLを用いることによって生成される較正データを適用可能な範囲(すなわち、較正可能な範囲)に設定されることが好ましい。同様に、第2範囲Rbは、第2搬送方向読取画像IMt2bのn本の基準線PtLのうちのq本(qは2以上、n以下の整数)の基準線PtLの搬送方向D2の分布範囲であってよい。第2範囲Rbは、第2搬送方向読取画像IMt2bのn本の基準線PtLを用いることによって生成される較正データを適用可能な範囲(すなわち、較正可能な範囲)に設定されることが好ましい。なお、これらの範囲Ra、Rbは、第2範囲Rbの一部が第1範囲Raに重なるように、設定されることが好ましい。 The first range Ra is the distribution range of the reference line PtL of the p lines (p is an integer of 2 or more and n or less) out of the n reference lines PtL of the first transport direction reading image IMt2a in the transport direction D2. It may be there. The first range Ra is preferably set to a range (that is, a calibable range) in which the calibration data generated by using the n reference lines PtL of the first transport direction reading image IMt2a is applicable. Similarly, the second range Rb is the distribution range of the reference lines PtL of q (q is an integer of 2 or more and n or less) out of the n reference lines PtL of the second transport direction read image IMt2b in the transport direction D2. May be. The second range Rb is preferably set to a range (that is, a calibable range) to which the calibration data generated by using n reference lines PtL of the second transport direction reading image IMt2b can be applied. It is preferable that these ranges Ra and Rb are set so that a part of the second range Rb overlaps with the first range Ra.
(2)生成条件(図6:S310)は、記憶装置に格納済の搬送方向較正データ135が不適切であり得ることを示す種々の条件であってよい。例えば、生成条件は、現行の搬送方向較正データ135が生成されてからの読取部300による読取りの総回数が予め決められた閾値を超えることであってよい。このように、生成条件としては、現行の搬送方向較正データ135が生成されてからの経過時間が長い場合に満たされ得る種々の条件であってよい。また、生成条件の判断は、省略されてよい。すなわち、図6の処理が行われる毎に、搬送方向較正データ135が生成されてよい。例えば、S310、S320、S325、S330は、省略されてよい。
(2) The generation condition (FIG. 6: S310) may be various conditions indicating that the transport
(3)図8の処理において、搬送方向較正データ135の生成に利用される搬送方向読取データの総数Zは、2に限らず、1であってよい。例えば、センサ方向読取画像IMt1(図7(B))において、計測パターンIMxの全体が第2範囲Rb(図9(D))内である場合、第1範囲Raのための搬送方向読取画像IMt2a(図9(B))は省略されてよい。そして、第2範囲Rb内の位置のみを較正するデータが、搬送方向較正データ135として生成されてよい。また、3以上の搬送方向読取データを用いて、搬送方向D2の幅広い範囲を較正可能な搬送方向較正データ135が生成されてよい。
(3) In the process of FIG. 8, the total number Z of the transport direction read data used for generating the transport
(4)印刷テストシート上の対象画像は、図5の計測パターンIMxに代えて、他の任意の画像であってよい。例えば、対象画像は、デジタルカメラによって撮影された画像であってよい。また、較正済の対象画像を解析する処理は、S380(図6)の処理に代えて、他の任意の処理であってよい。例えば、対象画像に含まれる特定のオブジェクト(例えば、人物)を抽出する処理が行われてよい。 (4) The target image on the print test sheet may be any other image instead of the measurement pattern IMx of FIG. For example, the target image may be an image taken by a digital camera. Further, the process of analyzing the calibrated target image may be any other process instead of the process of S380 (FIG. 6). For example, a process of extracting a specific object (for example, a person) included in the target image may be performed.
(5)印刷テストシートSHt(図5)からは、計測パターンIMxが省略されてよい。すなわち、図6の処理は、単純に搬送方向較正データ135を生成する処理であってよく、計測パターンIMxの処理(S370、S380)は省略されてよい。
(5) The measurement pattern IMx may be omitted from the print test sheet SHt (FIG. 5). That is, the process of FIG. 6 may be a process of simply generating the transfer
(6)搬送方向較正データ135は、印刷テストシートSHt上の計測パターンIMxの較正に限らず、他の任意の読取データの較正に利用されてよい。
(6) The transport
(7)搬送方向較正データ135の生成に利用される基準部分は、基準線PtL(図5のような線に代えて、位置を特定可能な任意の形状の部分であってよい。例えば、チェッカーフラッグのような格子パターンの複数の矩形部分が、基準部分として用いられてよい。また、複数の基準部分は、印刷テストシートSHt上の長手方向DLに並んで配置されてもよい。
(7) The reference portion used for generating the transport
(8)読取部300の支持面Us上でシートの位置と向きとを調整する方法は、シートの辺を枠393の内周面3iに接触させる方法に代えて、他の任意の方法であってよい。例えば、支持面Us上には、シートの端の位置を示すマークが設けられてよい。ユーザは、このマークに合わせてシートの位置と向きとを調整してよい。
(8) The method of adjusting the position and orientation of the sheet on the support surface Us of the
(9)データ処理装置100(図1)に代えて、複合機200が、種々の処理を実行してよい。例えば、複合機200のプロセッサ210は、第2プログラム232に従って、図6の処理を実行してよい。このように、スキャナ装置の制御装置が、搬送方向較正データ135を生成してよい。また、複合機200からは、印刷部260が省略されてよい。すなわち、複合機200に代えて、単機能のスキャナ装置が用いられてよい。また、ネットワークを介して互いに通信可能な複数の装置(例えば、コンピュータ)が、搬送方向較正データ135を生成する処理の機能を一部ずつ分担して、全体として、搬送方向較正データ135を生成する処理の機能を提供してもよい(これらの装置を備えるシステムが生成装置に対応する)。
(9) Instead of the data processing device 100 (FIG. 1), the
上記各実施例において、ハードウェアによって実現されていた構成の一部をソフトウェアに置き換えるようにしてもよく、逆に、ソフトウェアによって実現されていた構成の一部あるいは全部をハードウェアに置き換えるようにしてもよい。例えば、図8のS450、S455、S460が、専用のハードウェア回路によって実行されてもよい。 In each of the above embodiments, a part of the configuration realized by the hardware may be replaced with software, and conversely, a part or all of the configuration realized by the software may be replaced with the hardware. May be good. For example, S450, S455, and S460 in FIG. 8 may be executed by a dedicated hardware circuit.
また、本発明の機能の一部または全部がコンピュータプログラムで実現される場合には、そのプログラムは、コンピュータ読み取り可能な記録媒体(例えば、一時的ではない記録媒体)に格納された形で提供することができる。プログラムは、提供時と同一または異なる記録媒体(コンピュータ読み取り可能な記録媒体)に格納された状態で、使用され得る。「コンピュータ読み取り可能な記録媒体」は、メモリーカードやCD−ROMのような携帯型の記録媒体に限らず、各種ROM等のコンピュータ内の内部記憶装置や、ハードディスクドライブ等のコンピュータに接続されている外部記憶装置も含み得る。 In addition, when a part or all of the functions of the present invention are realized by a computer program, the program is provided in a form stored in a computer-readable recording medium (for example, a non-temporary recording medium). be able to. The program may be used while being stored on the same or different recording medium (computer-readable recording medium) as it was provided. The "computer-readable recording medium" is not limited to a portable recording medium such as a memory card or a CD-ROM, but is connected to an internal storage device in the computer such as various ROMs or a computer such as a hard disk drive. It may also include an external storage device.
以上、実施例、変形例に基づき本発明について説明してきたが、上記した発明の実施の形態は、本発明の理解を容易にするためのものであり、本発明を限定するものではない。本発明は、その趣旨を逸脱することなく、変更、改良され得ると共に、本発明にはその等価物が含まれる。 Although the present invention has been described above based on Examples and Modifications, the above-described embodiments of the invention are for facilitating the understanding of the present invention and do not limit the present invention. The present invention can be modified and improved without departing from the spirit thereof, and the present invention includes equivalents thereof.
3i…内周面、3C1、3C2…隅、3i1…第1部分、3i3…第3部分、3i4…第4部分、100…データ処理装置、110…プロセッサ、115…記憶装置、120…揮発性記憶装置、130…不揮発性記憶装置、131…第1プログラム、132…第2プログラム、134…センサ方向較正データ、135…搬送方向較正データ、140…表示部、150…操作部、170…通信インタフェース、200…複合機、205…制御部、210…プロセッサ、215…記憶装置、220…揮発性記憶装置、230…不揮発性記憶装置、231…第1プログラム、232…第2プログラム、240…表示部、250…操作部、260…印刷部、270…通信インタフェース、290…筐体、292…カバー、300…読取部、320…センサユニット、321…読取センサ、330…搬送装置、393…枠、394…支持台、Us…支持面(読取面)、D1…第1方向(センサ方向)、D2…第2方向(搬送方向)、D3…第3方向(上方向)、DL…長手方向、DW…幅方向(特定方向)、SHs…基準シート、Ps…基準パターン、PsL…基準線、SHt…印刷テストシート、Pt…較正パターン、PtL…基準線、Ra…第1範囲、Rb…第2範囲、Rbr…残余範囲、IMt1…センサ方向読取画像、IMt2a、IMt2b…搬送方向読取画像 3i ... Inner peripheral surface, 3C1, 3C2 ... Corner, 3i1 ... 1st part, 3i3 ... 3rd part, 3i4 ... 4th part, 100 ... Data processing device, 110 ... Processor, 115 ... Storage device, 120 ... Volatile memory Device, 130 ... Non-volatile storage device, 131 ... 1st program, 132 ... 2nd program, 134 ... Sensor direction calibration data, 135 ... Transport direction calibration data, 140 ... Display unit, 150 ... Operation unit, 170 ... Communication interface, 200 ... Composite machine, 205 ... Control unit, 210 ... Processor, 215 ... Storage device, 220 ... Volatile storage device, 230 ... Non-volatile storage device, 231 ... First program, 232 ... Second program, 240 ... Display unit, 250 ... operation unit, 260 ... printing unit, 270 ... communication interface, 290 ... housing, 292 ... cover, 300 ... reading unit, 320 ... sensor unit, 321 ... reading sensor, 330 ... transport device, 393 ... frame, 394 ... Support base, Us ... Support surface (reading surface), D1 ... 1st direction (sensor direction), D2 ... 2nd direction (conveyance direction), D3 ... 3rd direction (upward direction), DL ... longitudinal direction, DW ... width Direction (specific direction), SHs ... reference sheet, Ps ... reference pattern, PsL ... reference line, SHt ... print test sheet, Pt ... calibration pattern, PtL ... reference line, Ra ... first range, Rb ... second range, Rbr ... Residual range, IMt1 ... Sensor direction reading image, IMt2a, IMt2b ... Transport direction reading image
Claims (7)
特定方向の位置が互いに異なるn個(nは2以上の整数)の基準部分を示す、印刷された印刷テストシートであって、前記印刷テストシートの前記特定方向が前記スキャナ装置の前記センサ方向を向くように前記スキャナ装置に対して配置された前記印刷テストシートを、前記スキャナ装置に読み取らせることによって生成される前記印刷テストシートの前記読取データであるセンサ方向読取データを取得する第1取得機能と、
前記センサ方向読取データによって示される前記n個の基準部分のそれぞれの前記センサ方向の位置に関連する複数の位置情報を、前記読取画像内の前記センサ方向の画素の位置の較正量を示す予め決められたセンサ方向較正データを用いて較正することによって、複数の較正済位置情報を示す較正済基準部分位置データを生成する較正済基準部分位置データ生成機能と、
前記印刷テストシートの前記特定方向が前記スキャナ装置の前記搬送方向を向くように前記スキャナ装置に対して配置された前記印刷テストシートを、前記スキャナ装置に読み取らせることによって生成される前記印刷テストシートの前記読取データである搬送方向読取データを取得する第2取得機能と、
前記搬送方向読取データと前記較正済基準部分位置データとを用いることによって、読取データの画像内の前記搬送方向の画素の位置の較正量を示す搬送方向較正データを生成する較正データ生成機能と、
前記搬送方向較正データを記憶装置に格納する格納処理機能と、
をコンピュータに実現させるためのプログラム。 A sensor unit having a plurality of reading sensors having different positions in the sensor direction, which is a predetermined direction, a transport device for transporting the sensor unit in a transport direction intersecting the sensor direction, and the sensor unit by the transport device. By the reading data generated by a scanner device including a data generation unit that generates reading data which is image data of the object by having the plurality of reading sensors optically read the object during the transportation of the object. A program for a computer that produces calibration data for calibrating the position of a sensor in the scanned image shown.
A printed print test sheet showing n reference portions (n is an integer of 2 or more) whose positions in specific directions are different from each other, wherein the specific direction of the print test sheet indicates the sensor direction of the scanner device. The first acquisition function of acquiring the sensor direction reading data which is the reading data of the print test sheet generated by causing the scanner device to read the print test sheet arranged so as to face the scanner device. When,
A plurality of position information related to the position in the sensor direction of each of the n reference portions indicated by the sensor direction reading data is determined in advance to indicate the calibration amount of the position of the pixel in the sensor direction in the read image. A calibrated reference partial position data generation function that generates calibrated reference partial position data indicating a plurality of calibrated position information by calibrating using the obtained sensor direction calibration data.
The print test sheet generated by having the scanner device read the print test sheet arranged with respect to the scanner device so that the specific direction of the print test sheet faces the transport direction of the scanner device. The second acquisition function for acquiring the transport direction reading data, which is the reading data of the above, and
A calibration data generation function that generates transport direction calibration data indicating the amount of calibration of the position of the pixel in the transport direction in the image of the read data by using the transport direction read data and the calibrated reference partial position data, and a calibration data generation function.
A storage processing function for storing the transport direction calibration data in a storage device, and
A program to realize the above on a computer.
前記第2取得機能は、
前記スキャナ装置に対して第1位置に配置された前記印刷テストシートを前記スキャナ装置に読み取らせることによって生成される第1搬送方向読取データを取得する機能と、
前記スキャナ装置に対して前記第1位置とは前記搬送方向の位置が異なる第2位置に配置された前記印刷テストシートを前記スキャナ装置に読み取らせることによって生成される第2搬送方向読取データを取得する機能であって、前記第1位置の前記印刷テストシートの前記n個の基準部分のうちのp個(pは2以上、n以下の整数)の基準部分の前記搬送方向の第1分布範囲に、前記第2位置の前記印刷テストシートの前記n個の基準部分のうちのq個(qは2以上、n以下の整数)の基準部分の前記搬送方向の第2分布範囲の一部が重なっている、前記機能と、
を含み、
前記較正データ生成機能は、前記第1搬送方向読取データと前記第2搬送方向読取データと前記較正済基準部分位置データとを用いることによって、前記搬送方向較正データを生成する、
プログラム。 The program according to claim 1.
The second acquisition function is
A function of acquiring the first transport direction reading data generated by having the scanner device read the print test sheet arranged at the first position with respect to the scanner device, and
Acquires second transport direction reading data generated by having the scanner device read the print test sheet arranged at a second position different from the first position in the transport direction with respect to the scanner device. The first distribution range in the transport direction of p (p is an integer of 2 or more and n or less) of the n reference parts of the print test sheet at the first position. In addition, a part of the second distribution range in the transport direction of q (q is an integer of 2 or more and n or less) of the n reference parts of the print test sheet at the second position is Overlapping, with the above functions
Including
The calibration data generation function generates the transport direction calibration data by using the first transport direction read data, the second transport direction read data, and the calibrated reference partial position data.
program.
前記較正データ生成機能は、
前記第1搬送方向読取データと前記較正済基準部分位置データとを用いることによって、前記搬送方向較正データのうち、前記第1分布範囲に適用すべきデータを生成する機能と、
前記第2搬送方向読取データと前記較正済基準部分位置データとを用いることによって、前記搬送方向較正データのうち、前記第2分布範囲から前記第1分布範囲を除いた残りの範囲に適用すべきデータを生成する機能と、
を含む、プログラム。 The program according to claim 2.
The calibration data generation function is
By using the first transport direction reading data and the calibrated reference partial position data, a function of generating data to be applied to the first distribution range among the transport direction calibration data, and
By using the second transport direction reading data and the calibrated reference partial position data, it should be applied to the remaining range of the transport direction calibration data excluding the first distribution range from the second distribution range. The ability to generate data and
Including the program.
前記印刷テストシートは、前記n個の基準部分と、特定の処理の対象である対象画像と、が印刷されたシートであり、
前記特定の処理は、
前記センサ方向読取データによって示される前記対象画像を、前記センサ方向較正データと前記搬送方向較正データとを用いて較正する較正処理と、
較正済の対象画像を解析することによって、解析結果を示す結果データを生成する結果データ生成処理と、
を含み、
前記プログラムは、前記特定の処理を実行する機能を、コンピュータに実現させる、
プログラム。 The program according to any one of claims 1 to 3.
The print test sheet is a sheet on which the n reference portions and a target image to be processed by a specific process are printed.
The specific process
A calibration process of calibrating the target image indicated by the sensor direction reading data using the sensor direction calibration data and the transport direction calibration data.
Result data generation processing that generates result data showing the analysis result by analyzing the calibrated target image,
Including
The program makes the computer realize the function of executing the specific process.
program.
前記較正データ生成機能は、
新たな搬送方向較正データを生成するための生成条件が満たされない場合には、新たな搬送方向較正データを生成せずに、
前記生成条件が満たされる場合には、新たな搬送方向較正データを生成し、
前記較正処理は、
前記生成条件が満たされない場合には、前記記憶装置に格納済の前記搬送方向較正データを用いて前記対象画像を較正し、
前記生成条件が満たされる場合には、前記較正データ生成機能によって生成された前記新たな搬送方向較正データを用いて前記対象画像を較正する、
プログラム。 The program according to claim 4.
The calibration data generation function is
If the generation conditions for generating new transport direction calibration data are not met, without generating new transport direction calibration data,
When the above generation conditions are satisfied, new transport direction calibration data is generated, and the data is generated.
The calibration process is
When the generation condition is not satisfied, the target image is calibrated using the transport direction calibration data stored in the storage device.
When the generation condition is satisfied, the target image is calibrated using the new transport direction calibration data generated by the calibration data generation function.
program.
特定方向の位置が互いに異なるn個(nは2以上の整数)の基準部分を示す、印刷された印刷テストシートであって、前記印刷テストシートの前記特定方向が前記スキャナ装置の前記センサ方向を向くように前記スキャナ装置に対して配置された前記印刷テストシートを、前記スキャナ装置に読み取らせることによって生成される前記印刷テストシートの前記読取データであるセンサ方向読取データを取得する第1取得部と、
前記センサ方向読取データによって示される前記n個の基準部分のそれぞれの前記センサ方向の位置に関連する複数の位置情報を、前記読取画像内の前記センサ方向の画素の位置の較正量を示す予め決められたセンサ方向較正データを用いて較正することによって、複数の較正済位置情報を示す較正済基準部分位置データを生成する較正済基準部分位置データ生成部と、
前記印刷テストシートの前記特定方向が前記スキャナ装置の前記搬送方向を向くように前記スキャナ装置に対して配置された前記印刷テストシートを、前記スキャナ装置に読み取らせることによって生成される前記印刷テストシートの前記読取データである搬送方向読取データを取得する第2取得部と、
前記搬送方向読取データと前記較正済基準部分位置データとを用いることによって、読取データの画像内の前記搬送方向の画素の位置の較正量を示す搬送方向較正データを生成する較正データ生成部と、
前記搬送方向較正データを記憶装置に格納する格納処理部と、
を備える、生成装置。 A sensor unit having a plurality of reading sensors having different positions in the sensor direction, which is a predetermined direction, a transport device for transporting the sensor unit in a transport direction intersecting the sensor direction, and the sensor unit by the transport device. By the reading data generated by a scanner device including a data generation unit that generates reading data which is image data of the object by having the plurality of reading sensors optically read the object during the transportation of the object. A generator that generates calibration data for calibrating the positions of pixels in the scanned image shown.
A printed print test sheet showing n reference portions (n is an integer of 2 or more) whose positions in specific directions are different from each other, wherein the specific direction of the print test sheet indicates the sensor direction of the scanner device. A first acquisition unit that acquires sensor-direction reading data, which is the reading data of the printing test sheet, which is generated by causing the scanner device to read the printing test sheet arranged so as to face the scanner device. When,
A plurality of position information related to the position in the sensor direction of each of the n reference portions indicated by the sensor direction reading data is determined in advance to indicate the calibration amount of the position of the pixel in the sensor direction in the read image. A calibrated reference partial position data generator that generates calibrated reference partial position data indicating a plurality of calibrated position information by calibrating using the obtained sensor direction calibration data.
The print test sheet generated by having the scanner device read the print test sheet arranged with respect to the scanner device so that the specific direction of the print test sheet faces the transport direction of the scanner device. The second acquisition unit that acquires the transport direction reading data, which is the reading data of
A calibration data generation unit that generates transport direction calibration data indicating the amount of calibration of the position of the pixel in the transport direction in the image of the read data by using the transport direction read data and the calibrated reference partial position data.
A storage processing unit that stores the transport direction calibration data in the storage device, and
A generator equipped with.
特定方向の位置が互いに異なるn個(nは2以上の整数)の基準部分を示す、印刷された印刷テストシートであって、前記印刷テストシートの前記特定方向が前記スキャナ装置の前記センサ方向を向くように前記スキャナ装置に対して配置された前記印刷テストシートを、前記スキャナ装置に読み取らせることによって生成される前記印刷テストシートの前記読取データであるセンサ方向読取データを取得する第1取得工程と、
前記センサ方向読取データによって示される前記n個の基準部分のそれぞれの前記センサ方向の位置に関連する複数の位置情報を、前記読取画像内の前記センサ方向の画素の位置の較正量を示す予め決められたセンサ方向較正データを用いて較正することによって、複数の較正済位置情報を示す較正済基準部分位置データを生成する較正済基準部分位置データ生成工程と、
前記印刷テストシートの前記特定方向が前記スキャナ装置の前記搬送方向を向くように前記スキャナ装置に対して配置された前記印刷テストシートを、前記スキャナ装置に読み取らせることによって生成される前記印刷テストシートの前記読取データである搬送方向読取データを取得する第2取得工程と、
前記搬送方向読取データと前記較正済基準部分位置データとを用いることによって、読取データの画像内の前記搬送方向の画素の位置の較正量を示す搬送方向較正データを生成する較正データ生成工程と、
前記搬送方向較正データを記憶装置に格納する格納処理工程と、
を備える生成方法。 A sensor unit having a plurality of reading sensors having different positions in the sensor direction, which is a predetermined direction, a transport device for transporting the sensor unit in a transport direction intersecting the sensor direction, and the sensor unit by the transport device. By the reading data generated by a scanner device including a data generation unit that generates reading data which is image data of the object by having the plurality of reading sensors optically read the object during the transportation of the object. A generation method that generates calibration data for calibrating the position of a sensor in the scanned image shown.
A printed print test sheet showing n reference portions (n is an integer of 2 or more) whose positions in specific directions are different from each other, wherein the specific direction of the print test sheet indicates the sensor direction of the scanner device. The first acquisition step of acquiring the sensor direction reading data which is the reading data of the print test sheet generated by having the scanner device read the print test sheet arranged so as to face the scanner device. When,
A plurality of position information related to the position in the sensor direction of each of the n reference portions indicated by the sensor direction reading data is determined in advance to indicate the calibration amount of the position of the pixel in the sensor direction in the read image. A calibrated reference partial position data generation step that generates calibrated reference partial position data indicating a plurality of calibrated position information by calibrating using the obtained sensor orientation calibration data.
The print test sheet generated by having the scanner device read the print test sheet arranged with respect to the scanner device so that the specific direction of the print test sheet faces the transport direction of the scanner device. The second acquisition step of acquiring the transport direction reading data, which is the reading data of the above, and
A calibration data generation step of generating transport direction calibration data indicating the amount of calibration of the position of the pixel in the transport direction in the image of the read data by using the transport direction read data and the calibrated reference partial position data.
A storage processing step of storing the transport direction calibration data in the storage device, and
A generation method that comprises.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2019196277A JP2021072468A (en) | 2019-10-29 | 2019-10-29 | Program, generation device, generation method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2019196277A JP2021072468A (en) | 2019-10-29 | 2019-10-29 | Program, generation device, generation method |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2021072468A true JP2021072468A (en) | 2021-05-06 |
Family
ID=75713494
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2019196277A Pending JP2021072468A (en) | 2019-10-29 | 2019-10-29 | Program, generation device, generation method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2021072468A (en) |
-
2019
- 2019-10-29 JP JP2019196277A patent/JP2021072468A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6142882B2 (en) | Image forming apparatus | |
JP5815878B2 (en) | Print defect detection | |
CN100586142C (en) | Image processing apparatus and method | |
EP3909776A1 (en) | Ink discharge complementing method and printing apparatus | |
CN109862201A (en) | Reading device, image forming apparatus, reference pattern read method | |
JP5748065B2 (en) | Gradation correction apparatus and printing system | |
US20220189003A1 (en) | Image processing apparatus, image processing method, and storage medium | |
US9233568B1 (en) | Cross-process direction uniformity for wide format printers | |
US8379247B2 (en) | Method, system and test sheet image bitmap for carrying out a scanner-and-processor based image-to-paper registration setup | |
US20170064137A1 (en) | Image formation apparatus | |
JP2014151462A (en) | Printing apparatus and color measuring method | |
JP2021072468A (en) | Program, generation device, generation method | |
JP6520931B2 (en) | Color measuring device and color measuring method | |
US10009515B2 (en) | Calibration system, calibration method, and image forming apparatus that ensure improved accuracy of correction of tone characteristics | |
JP4696952B2 (en) | Image forming apparatus and registration inspection method for image forming apparatus | |
JP4821718B2 (en) | Image forming system program and image forming system | |
US10556444B2 (en) | Image processing apparatus and non-transitory computer-readable medium storing image processing program | |
KR20070052058A (en) | Method and system for printing error correction of image forming device | |
JP7319585B2 (en) | Image processing device and computer program | |
US20240066889A1 (en) | Density unevenness correction data creation method, density unevenness correction data creation apparatus, printing system, program, test chart, and test chart data creation apparatus | |
US11917114B2 (en) | Image forming apparatus and control method for obtaining parameters for image position adjustment | |
JP2005227142A (en) | Image inspection apparatus with skew detection function | |
JP2001257877A (en) | Image scanning apparatus and image scanning processing method | |
JP2024058330A (en) | Image forming device and method of controlling the same | |
JP2022182822A (en) | Data processing apparatus, computer program, and recording medium |