JP2019045505A - Imaging unit, color measuring device, image forming apparatus, color measuring system, and color measuring method - Google Patents

Imaging unit, color measuring device, image forming apparatus, color measuring system, and color measuring method Download PDF

Info

Publication number
JP2019045505A
JP2019045505A JP2018206234A JP2018206234A JP2019045505A JP 2019045505 A JP2019045505 A JP 2019045505A JP 2018206234 A JP2018206234 A JP 2018206234A JP 2018206234 A JP2018206234 A JP 2018206234A JP 2019045505 A JP2019045505 A JP 2019045505A
Authority
JP
Japan
Prior art keywords
unit
image
subject
imaging
reference chart
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2018206234A
Other languages
Japanese (ja)
Other versions
JP2019045505A5 (en
JP6852723B2 (en
Inventor
佐藤 信行
Nobuyuki Sato
信行 佐藤
泰之 鈴木
Yasuyuki Suzuki
泰之 鈴木
小林 正人
Masato Kobayashi
正人 小林
卓 横澤
Taku Yokozawa
卓 横澤
岡田 達彦
Tatsuhiko Okada
達彦 岡田
頼本 衛
Mamoru Yorimoto
衛 頼本
大作 堀川
Daisaku Horikawa
大作 堀川
裕一 桜田
Yuichi Sakurada
裕一 桜田
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.)
Ricoh Co Ltd
Original Assignee
Ricoh 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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Publication of JP2019045505A publication Critical patent/JP2019045505A/en
Publication of JP2019045505A5 publication Critical patent/JP2019045505A5/en
Application granted granted Critical
Publication of JP6852723B2 publication Critical patent/JP6852723B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Spectrometry And Color Measurement (AREA)
  • Control Or Security For Electrophotography (AREA)
  • Color Electrophotography (AREA)
  • Facsimile Image Signal Circuits (AREA)
  • Color Image Communication Systems (AREA)
  • Character Spaces And Line Spaces In Printers (AREA)

Abstract

To provide an imaging unit, a color measuring device, an image forming apparatus, a color measuring system, and a color measuring method that can perform stable imaging.SOLUTION: An imaging unit 42 of an embodiment comprises: a sensor unit 430 that picks up an image of a predetermined area (imaging area) including a subject, such as a patch image 200; and a reference chart unit 400 that is arranged in the imaging area for the sensor unit 430 and imaged by the sensor unit 430 together with the subject, such as the patch image 200.SELECTED DRAWING: Figure 4-1

Description

本発明は、撮像ユニット、測色装置、画像形成装置、測色システムおよび測色方法に関する。   The present invention relates to an imaging unit, a color measurement device, an image forming apparatus, a color measurement system, and a color measurement method.

プリンタなどの画像形成装置では、機器固有の特性による出力のばらつきを抑制して入力に対する出力の再現性を高めるために、カラーマネジメントと呼ばれる処理が行われる。カラーマネジメントは、例えば以下の手法で行われる。まず、基準色の色票(パッチ)の画像を画像形成装置により実際に出力し(以下、画像形成装置が出力したパッチの画像を「パッチ画像」という。)、このパッチ画像を測色装置により測色する。そして、測色したパッチ画像の測色値と、対応する基準色の標準色空間における表色値との差分に基づいて色変換パラメータを生成し、この色変換パラメータを画像形成装置に設定する。その後、画像形成装置は、入力した画像データに応じた画像を出力する際に、設定した色変換パラメータに基づいて、入力した画像データに対して色変換を行い、色変換を行った後の画像データに基づいて画像を出力する。これにより、画像形成装置は、機器固有の特性による出力のばらつきが抑制された再現性の高い画像出力を行うことができる。   In an image forming apparatus such as a printer, a process called color management is performed in order to suppress output variation due to device-specific characteristics and to improve output reproducibility with respect to input. Color management is performed, for example, by the following method. First, an image of a color patch (patch) of a reference color is actually output by the image forming apparatus (hereinafter, the image of the patch output by the image forming apparatus is referred to as a "patch image"), and this patch image is Measure the color. Then, a color conversion parameter is generated based on the difference between the colorimetric value of the patch image that has been measured and the color specification value in the standard color space of the corresponding reference color, and this color conversion parameter is set in the image forming apparatus. Thereafter, when the image forming apparatus outputs an image according to the input image data, the image after color conversion is performed on the input image data based on the set color conversion parameter, and an image after color conversion is performed. Output an image based on the data. As a result, the image forming apparatus can perform highly reproducible image output in which variations in output due to device-specific characteristics are suppressed.

以上のようなカラーマネジメントにおいて、パッチ画像を測色する測色装置としては、分光測色器が広く用いられている。分光測色器は、波長ごとの分光反射率が得られるため高精度の測色を行うことができる。しかしながら、分光測色器は高価な装置であるため、より安価な装置を用いて高精度の測色を行えるようにすることが要望されている。   In the color management as described above, a spectral colorimeter is widely used as a colorimetric device that measures patch images. The spectral colorimeter can perform highly accurate color measurement because spectral reflectances for each wavelength can be obtained. However, since a spectrocolorimeter is an expensive device, it is required to be able to perform high-accuracy colorimetry using a cheaper device.

測色を安価に実現する方法の一例として、イメージセンサを備える撮像装置により測色対象を被写体として撮像し、撮像により得られる被写体のRGB値を標準色空間における表色値に変換することが挙げられる。例えば、特許文献1には、測色対象となる被写体の近くに被写体の比較対象となる基準色票を置き、被写体と基準色票とをカラービデオカメラにより同時に撮像して、撮像により得られる基準色票のRGBデータを用いて被写体のRGBデータを補正した上で、被写体のRGBデータを標準色空間における表色値に変換するという技術が記載されている。   As an example of a method for realizing color measurement inexpensively, an image pickup apparatus having an image sensor picks up an image of a color measurement target as a subject, and converts RGB values of the subject obtained by image pickup into color values in a standard color space. Be For example, in Patent Document 1, a reference color chip to be compared with the subject is placed near the subject to be measured, and the subject and the reference color chip are simultaneously imaged by a color video camera, and the reference is obtained by imaging A technique is disclosed that, after correcting RGB data of a subject using RGB data of a color chart, the RGB data of the subject is converted to color values in a standard color space.

しかしながら、特許文献1に記載の技術では、被写体と基準色票とカラービデオカメラとの位置関係を一定に保つことは難しく、撮像のたびに撮像条件が変動してしまって、安定した撮像を行えない虞がある。   However, in the technique described in Patent Document 1, it is difficult to keep the positional relationship between the subject, the reference color chip, and the color video camera constant, and the imaging condition fluctuates every imaging, and stable imaging can be performed. There is a possibility that there is not.

本発明は、上記に鑑みてなされたものであって、安定した撮像を行うことができる撮像ユニット、測色装置、画像形成装置、測色システムおよび測色方法を提供することを目的とする。   The present invention has been made in view of the above, and it is an object of the present invention to provide an imaging unit, a colorimetric device, an image forming apparatus, a colorimetric system, and a colorimetric method capable of performing stable imaging.

上述した課題を解決し、目的を達成するために、本発明に係る撮像ユニットは、被写体を含む所定の領域を撮像するセンサ部と、前記所定の領域に配置され、前記被写体とともに前記センサ部により撮像される基準チャート部と、を備えることを特徴とする。   In order to solve the problems described above and achieve the object, an imaging unit according to the present invention is provided with a sensor unit for imaging a predetermined area including a subject, the sensor unit disposed in the predetermined area, and the sensor unit together with the subject And a reference chart unit to be imaged.

また、本発明に係る測色装置は、被写体を含む所定の領域を撮像するセンサ部と、前記所定の領域に配置され、前記被写体とともに前記センサ部により撮像される基準チャート部と、前記センサ部が撮像した前記被写体および前記基準チャート部の画像に基づいて、前記被写体の測色値を算出する算出部と、を備えることを特徴とする。   A color measurement device according to the present invention includes a sensor unit for imaging a predetermined area including a subject, a reference chart unit disposed in the predetermined area and imaged by the sensor unit with the subject, and the sensor unit And a calculator configured to calculate a colorimetric value of the subject based on the subject and the image of the reference chart unit.

また、本発明に係る画像形成装置は、記録媒体に画像を出力する画像出力手段と、本発明に係る測色装置と、を備え、前記測色装置は、前記画像出力手段が出力する画像を前記被写体として該画像の測色値を算出することを特徴とする。   An image forming apparatus according to the present invention includes an image output unit that outputs an image to a recording medium, and a color measurement device according to the present invention, wherein the color measurement device outputs the image output by the image output unit. A colorimetric value of the image is calculated as the subject.

また、本発明に係る測色システムは、測色対象の被写体を撮像する撮像ユニットと、前記被写体の測色値を算出する算出部と、を備える測色システムであって、前記撮像ユニットは、前記被写体を含む所定の領域を撮像するセンサ部と、前記所定の領域に配置され、前記被写体とともに前記センサ部により撮像される基準チャート部と、を備え、前記算出部は、前記撮像ユニットの前記センサ部が撮像した前記被写体および前記基準チャート部の画像に基づいて、前記被写体の測色値を算出することを特徴とする。   A color measurement system according to the present invention is a color measurement system including an image pickup unit for picking up an object to be measured and a calculation unit for calculating a color measurement value of the object, wherein the image pickup unit is A sensor unit configured to image a predetermined area including the subject; and a reference chart unit disposed in the predetermined area and imaged by the sensor unit together with the subject, the calculation unit including the imaging unit The colorimetric value of the subject may be calculated based on the subject captured by the sensor unit and the image of the reference chart unit.

また、本発明に係る測色方法は、センサ部と、基準チャート部と、算出部と、を備える測色装置において実行される測色方法であって、前記センサ部が、測色対象の被写体とともに前記基準チャート部を撮像する工程と、前記算出部が、前記センサ部が撮像した前記被写体および前記基準チャート部の画像に基づいて、前記被写体の測色値を算出する工程と、を含むことを特徴とする。   The colorimetry method according to the present invention is a colorimetry method executed in a colorimetry apparatus including a sensor unit, a reference chart unit, and a calculation unit, wherein the sensor unit is an object to be measured. And imaging the reference chart portion, and calculating the colorimetric value of the object based on the subject imaged by the sensor unit and the image of the reference chart portion by the calculation unit. It is characterized by

本発明によれば、被写体と基準チャート部とを含む画像を安定して撮像することができるという効果を奏する。   According to the present invention, it is possible to stably capture an image including a subject and a reference chart portion.

図1は、画像形成装置の内部を透視して示す斜視図である。FIG. 1 is a perspective view of the inside of the image forming apparatus. 図2は、画像形成装置の内部の機械的構成を示す上面図である。FIG. 2 is a top view showing the internal mechanical structure of the image forming apparatus. 図3は、キャリッジに搭載される記録ヘッドの配置例を説明する図である。FIG. 3 is a view for explaining an arrangement example of the recording head mounted on the carriage. 図4−1は、撮像ユニットの縦断面図(図4−2中のX1−X1線断面図)である。FIG. 4A is a longitudinal cross-sectional view of the imaging unit (a cross-sectional view along line X1-X1 in FIG. 4-2). 図4−2は、撮像ユニットの内部を透視して示す上面図である。4-2 is a top view showing the inside of the imaging unit in a see-through manner. 図4−3は、筐体の底面部を図4−1中のX2方向から見た平面図である。FIG. 4-3 is a plan view of the bottom portion of the housing as viewed in the X2 direction in FIG. 図5は、基準チャート部の具体例を示す図である。FIG. 5 is a diagram showing a specific example of the reference chart portion. 図6は、画像形成装置の制御機構の概略構成を示すブロック図である。FIG. 6 is a block diagram showing a schematic configuration of a control mechanism of the image forming apparatus. 図7は、測色装置の制御機構の一構成例を示すブロック図である。FIG. 7 is a block diagram showing an example of the configuration of the control mechanism of the color measurement device. 図8は、センサ部が測色対象のパッチ画像と基準チャート部とを同時に撮像することで得られる画像データの一例を示す図である。FIG. 8 is a diagram showing an example of image data obtained by the sensor unit simultaneously imaging a patch image to be measured and a reference chart unit. 図9は、パッチ画像の測色方法の具体例を説明する図である。FIG. 9 is a diagram for explaining a specific example of the patch image colorimetry method. 図10は、L*a*b*値とXYZ値との変換を行う変換式を示す図である。FIG. 10 is a diagram showing a conversion equation for converting L * a * b * values and XYZ values. 図11は、パッチ画像の測色の手順を示すフローチャートである。FIG. 11 is a flowchart showing the procedure of color measurement of a patch image. 図12は、パッチ画像の測色の手順の変形例を示すフローチャートである。FIG. 12 is a flowchart showing a modification of the procedure of measuring the patch image. 図13は、標準の各パッチのL*a*b*値に対応するRGB値を特定する方法を説明する図である。FIG. 13 is a diagram for explaining a method of specifying RGB values corresponding to L * a * b * values of each standard patch. 図14は、センサ部が位置ずれ計測用のテストパターンと基準チャート部とを同時に撮像することで得られる画像データの一例を示す図である。FIG. 14 is a view showing an example of image data obtained by the sensor unit simultaneously imaging a test pattern for measuring positional deviation and a reference chart unit. 図15は、画像の主走査位置ずれを計測する方法を説明する図である。FIG. 15 is a diagram for explaining a method of measuring the main scanning positional deviation of an image. 図16は、画像の主走査位置ずれを計測する方法を説明する図である。FIG. 16 is a diagram for explaining a method of measuring the main scanning positional deviation of an image. 図17は、画像の副走査位置ずれを計測する方法を説明する図である。FIG. 17 is a diagram for explaining a method of measuring the sub-scanning positional deviation of an image. 図18は、センサ部が位置ずれ計測用のテストパターンと基準チャート部とを同時に撮像することで得られる画像データの一例を示す図である。FIG. 18 is a diagram showing an example of image data obtained by the sensor unit simultaneously imaging a test pattern for measuring positional deviation and a reference chart unit. 図19は、センサ部がドット径計測用のテストパターンと基準チャート部とを同時に撮像することで得られる画像データの一例を示す図である。FIG. 19 is a diagram showing an example of image data obtained by the sensor unit simultaneously imaging a test pattern for dot diameter measurement and a reference chart unit. 図20は、テストパターンに含まれるドット近傍の画像データからドット径を計測する方法を説明する図である。FIG. 20 is a view for explaining a method of measuring a dot diameter from image data in the vicinity of a dot included in a test pattern. 図21は、第1変形例の撮像ユニットの縦断面図である。FIG. 21 is a longitudinal sectional view of an imaging unit of the first modified example. 図22は、第2変形例の撮像ユニットの縦断面図である。FIG. 22 is a longitudinal sectional view of the imaging unit of the second modified example. 図23は、第3変形例の撮像ユニットの縦断面図である。FIG. 23 is a longitudinal sectional view of an imaging unit of a third modified example. 図24−1は、第4変形例の撮像ユニットの縦断面図である。FIG. 24A is a longitudinal sectional view of an imaging unit of a fourth modified example. 図24−2は、第4変形例の撮像ユニットにおける筐体の底面部を図24−1中のX3方向から見た平面図である。FIG. 24B is a plan view of the bottom surface of the housing in the imaging unit of the fourth modification as viewed in the X3 direction in FIG. 図25は、第5変形例の撮像ユニットの縦断面図である。FIG. 25 is a longitudinal sectional view of an imaging unit of a fifth modification. 図26は、第6変形例の撮像ユニットの縦断面図である。FIG. 26 is a longitudinal sectional view of an imaging unit of a sixth modification. 図27は、基準測色値および基準RGB値を取得する処理と基準値線形変換マトリックスを生成する処理を説明する図である。FIG. 27 is a diagram for explaining a process of acquiring a reference colorimetric value and a reference RGB value and a process of generating a reference value linear transformation matrix. 図28は、初期基準RGB値の一例を示す図である。FIG. 28 is a diagram showing an example of initial reference RGB values. 図29は、測色処理の概要を説明する図である。FIG. 29 is a diagram for explaining the outline of the color measurement process. 図30は、基準RGB間線形変換マトリックスを生成する処理を説明する図である。FIG. 30 is a diagram for explaining the process of generating a reference RGB linear conversion matrix. 図31は、初期基準RGB値と測色時基準RGB値との関係を示す図である。FIG. 31 is a diagram showing the relationship between the initial reference RGB values and the color measurement reference RGB values. 図32は、基本測色処理を説明する図である。FIG. 32 is a diagram for explaining the basic color measurement process. 図33は、基本測色処理を説明する図である。FIG. 33 is a diagram for explaining the basic color measurement process. 図34は、測色システムの概略構成を示す図である。FIG. 34 is a diagram showing a schematic configuration of a color measurement system.

以下に添付図面を参照して、この発明に係る撮像ユニット、測色装置、画像形成装置、測色システムおよび測色方法の最良な実施の形態を詳細に説明する。なお、以下で説明する実施形態では、本発明を適用した画像形成装置の一例としてインクジェットプリンタを例示するが、本発明は、記録媒体に画像を出力する様々なタイプの画像形成装置に対して広く適用可能である。   BEST MODES FOR CARRYING OUT THE INVENTION Preferred embodiments of an imaging unit, a color measurement device, an image forming apparatus, a color measurement system, and a color measurement method according to the present invention will be described in detail with reference to the attached drawings. In the embodiment described below, an inkjet printer is illustrated as an example of the image forming apparatus to which the present invention is applied, but the present invention is widely applied to various types of image forming apparatuses that output an image to a recording medium. It is applicable.

<画像形成装置の機械的構成>
まず、図1乃至図3を参照しながら、本実施形態に係る画像形成装置100の機械的構成について説明する。図1は、本実施形態に係る画像形成装置100の内部を透視して示す斜視図、図2は、本実施形態に係る画像形成装置100の内部の機械的構成を示す上面図、図3は、キャリッジ5に搭載される記録ヘッド6の配置例を説明する図である。
<Mechanical Configuration of Image Forming Apparatus>
First, the mechanical configuration of the image forming apparatus 100 according to the present embodiment will be described with reference to FIGS. 1 to 3. FIG. 1 is a perspective view showing the inside of the image forming apparatus 100 according to the present embodiment as seen through, FIG. 2 is a top view showing the internal mechanical configuration of the image forming apparatus 100 according to the present embodiment, FIG. FIG. 6 is a view for explaining an arrangement example of the recording head 6 mounted on the carriage 5;

図1に示すように、本実施形態に係る画像形成装置100は、主走査方向(図中矢印A方向)に往復移動して、副走査方向(図中矢印B方向)に間欠的に搬送される記録媒体16に対して画像を形成するキャリッジ5を備える。キャリッジ5は、主走査方向に沿って延設された主ガイドロッド3により支持されている。また、キャリッジ5には連結片5aが設けられている。連結片5aは、主ガイドロッド3と平行に設けられた副ガイド部材4に係合し、キャリッジ5の姿勢を安定化させる。   As shown in FIG. 1, the image forming apparatus 100 according to the present embodiment reciprocates in the main scanning direction (direction of arrow A in the drawing) and is intermittently transported in the sub scanning direction (direction of arrow B in the drawing). And a carriage 5 for forming an image on the recording medium 16. The carriage 5 is supported by a main guide rod 3 extending along the main scanning direction. Further, the carriage 5 is provided with a connecting piece 5a. The connection piece 5 a engages with the sub guide member 4 provided parallel to the main guide rod 3 to stabilize the posture of the carriage 5.

キャリッジ5には、図2に示すように、イエロー(Y)インクを吐出する記録ヘッド6y、マゼンタ(M)インクを吐出する記録ヘッド6m、シアン(C)インクを吐出する記録ヘッド6c、およびブラック(Bk)インクを吐出する複数の記録ヘッド6k(以下、記録ヘッド6y,6m,6c,6kを総称する場合は、記録ヘッド6という。)が搭載されている。記録ヘッド6は、その吐出面(ノズル面)が下方(記録媒体16側)に向くように、キャリッジ5に搭載されている。   In the carriage 5, as shown in FIG. 2, a recording head 6y for ejecting yellow (Y) ink, a recording head 6m for ejecting magenta (M) ink, a recording head 6c for ejecting cyan (C) ink, and black (Bk) A plurality of print heads 6k (hereinafter referred to as print heads 6 when print heads 6y, 6m, 6c, 6k are collectively referred to) to discharge ink are mounted. The recording head 6 is mounted on the carriage 5 such that the discharge surface (nozzle surface) thereof is directed downward (toward the recording medium 16).

記録ヘッド6にインクを供給するためのインク供給体であるカートリッジ7は、キャリッジ5には搭載されず、画像形成装置100内の所定の位置に配置されている。カートリッジ7と記録ヘッド6とは図示しないパイプで連結されており、このパイプを介して、カートリッジ7から記録ヘッド6に対してインクが供給される。   The cartridge 7, which is an ink supply member for supplying ink to the recording head 6, is not mounted on the carriage 5, and is disposed at a predetermined position in the image forming apparatus 100. The cartridge 7 and the recording head 6 are connected by a pipe (not shown), and the ink is supplied from the cartridge 7 to the recording head 6 through the pipe.

キャリッジ5は、駆動プーリ9と従動プーリ10との間に張架されたタイミングベルト11に連結されている。駆動プーリ9は、主走査モータ8の駆動により回転する。従動プーリ10は、駆動プーリ9との間の距離を調整する機構を有し、タイミングベルト11に対して所定のテンションを与える役割を持つ。キャリッジ5は、主走査モータ8の駆動によりタイミングベルト11が送り動作されることにより、主走査方向に往復移動する。キャリッジ5の主走査方向の移動は、例えば図2に示すように、キャリッジ5に設けられたエンコーダセンサ41がエンコーダシート40のマークを検知して得られるエンコーダ値に基づいて制御される。   The carriage 5 is connected to a timing belt 11 stretched between a drive pulley 9 and a driven pulley 10. The drive pulley 9 is rotated by the drive of the main scanning motor 8. The driven pulley 10 has a mechanism for adjusting the distance to the drive pulley 9 and has a role of giving a predetermined tension to the timing belt 11. The carriage 5 reciprocates in the main scanning direction by the timing belt 11 being fed by the driving of the main scanning motor 8. The movement of the carriage 5 in the main scanning direction is controlled based on an encoder value obtained when the encoder sensor 41 provided on the carriage 5 detects a mark of the encoder sheet 40 as shown in FIG. 2, for example.

また、本実施形態に係る画像形成装置100は、記録ヘッド6の信頼性を維持するための維持機構21を備える。維持機構21は、記録ヘッド6の吐出面の清掃やキャッピング、記録ヘッド6からの不要なインクの排出などを行う。   Further, the image forming apparatus 100 according to the present embodiment includes a maintenance mechanism 21 for maintaining the reliability of the recording head 6. The maintenance mechanism 21 performs cleaning and capping of the ejection surface of the recording head 6 and discharge of unnecessary ink from the recording head 6 and the like.

記録ヘッド6の吐出面と対向する位置には、図2に示すように、プラテン板22が設けられている。プラテン板22は、記録ヘッド6から記録媒体16上にインクを吐出する際に、記録媒体16を支持するためのものである。本実施形態に係る画像形成装置100は、キャリッジ5の主走査方向の移動距離が長い広幅機である。このため、プラテン板22は、複数の板状部材を主走査方向(キャリッジ5の移動方向)に繋いで構成している。記録媒体16は、図示しない副走査モータによって駆動される搬送ローラにより挟持され、プラテン板22上を、副走査方向に間欠的に搬送される。   As shown in FIG. 2, a platen plate 22 is provided at a position facing the ejection surface of the recording head 6. The platen plate 22 is for supporting the recording medium 16 when discharging the ink from the recording head 6 onto the recording medium 16. The image forming apparatus 100 according to the present embodiment is a wide-width machine in which the moving distance of the carriage 5 in the main scanning direction is long. Therefore, the platen plate 22 is configured by connecting a plurality of plate members in the main scanning direction (moving direction of the carriage 5). The recording medium 16 is nipped by a conveyance roller driven by a sub scanning motor (not shown), and intermittently conveyed on the platen plate 22 in the sub scanning direction.

記録ヘッド6は、複数のノズル列を備えており、プラテン板22上を搬送される記録媒体16上にノズル列からインクを吐出することで、記録媒体16に画像を形成する。本実施形態では、キャリッジ5の1回の走査で記録媒体16に形成できる画像の幅を多く確保するため、図3に示すように、キャリッジ5に、上流側の記録ヘッド6と下流側の記録ヘッド6とを搭載している。また、ブラックのインクを吐出する記録ヘッド6kは、カラーのインクを吐出する記録ヘッド6y,6m,6cの2倍の数だけキャリッジ5に搭載している。また、記録ヘッド6y,6mは左右に分離して配置されている。これは、キャリッジ5の往復動作で色の重ね順を合わせ、往路と復路とで色が変わらないようにするためである。なお、図3に示す記録ヘッド6の配列は一例であり、図3に示す配列に限定されるものではない。   The recording head 6 includes a plurality of nozzle arrays, and discharges ink from the nozzle arrays onto the recording medium 16 conveyed on the platen plate 22 to form an image on the recording medium 16. In this embodiment, in order to secure a large width of the image that can be formed on the recording medium 16 by one scan of the carriage 5, as shown in FIG. 3, the recording head 6 on the upstream side and the recording on the downstream side The head 6 is mounted. Further, the recording heads 6k for ejecting the black ink are mounted on the carriage 5 by twice the number of the recording heads 6y, 6m and 6c for ejecting the color ink. Also, the recording heads 6y and 6m are disposed separately on the left and right. This is to match the stacking order of the colors by the reciprocation operation of the carriage 5 so that the colors do not change between the forward pass and the return pass. The arrangement of the recording heads 6 shown in FIG. 3 is an example, and is not limited to the arrangement shown in FIG.

本実施形態に係る画像形成装置100を構成する上記の各構成要素は、外装体1の内部に配置されている。外装体1にはカバー部材2が開閉可能に設けられている。画像形成装置100のメンテナンス時やジャム発生時には、カバー部材2を開けることにより、外装体1の内部に設けられた各構成要素に対して作業を行うことができる。   The above-described components constituting the image forming apparatus 100 according to the present embodiment are disposed inside the exterior body 1. A cover member 2 is provided on the exterior body 1 so as to be openable and closable. At the time of maintenance of the image forming apparatus 100 or when a jam occurs, by opening the cover member 2, it is possible to work on each component provided inside the exterior body 1.

本実施形態に係る画像形成装置100は、記録媒体16を副走査方向に間欠的に搬送し、記録媒体16の副走査方向の搬送が停止している間に、キャリッジ5を主走査方向に移動させながら、キャリッジ5に搭載された記録ヘッド6のノズル列からプラテン板22上の記録媒体16上にインクを吐出して、記録媒体16に画像を形成する。   The image forming apparatus 100 according to the present embodiment intermittently conveys the recording medium 16 in the sub scanning direction, and moves the carriage 5 in the main scanning direction while conveyance of the recording medium 16 in the sub scanning direction is stopped. While being driven, ink is discharged onto the recording medium 16 on the platen plate 22 from the nozzle array of the recording head 6 mounted on the carriage 5 to form an image on the recording medium 16.

特に、画像形成装置100の出力特性を調整するためのキャリブレーションを実施する場合には、キャリッジ5に搭載された記録ヘッド6のノズル列からプラテン板22上の記録媒体16上にインクを吐出して、記録媒体16に測色対象となるパッチ画像200を形成する。パッチ画像200は、基準色のパッチを画像形成装置100が出力することで得られる画像であり、画像形成装置100の出力特性を反映している。したがって、パッチ画像200の測色値とそれに対応する基準色の標準色空間における表色値との差分に基づいて色変換パラメータを生成し、この色変換パラメータを用いて色変換を行った後の画像データに基づいて画像を出力することで、画像形成装置100は再現性の高い画像を出力することができる。   In particular, when calibration for adjusting the output characteristics of the image forming apparatus 100 is performed, the ink is discharged onto the recording medium 16 on the platen plate 22 from the nozzle array of the recording head 6 mounted on the carriage 5. The patch image 200 to be measured is formed on the recording medium 16. The patch image 200 is an image obtained by the image forming apparatus 100 outputting a patch of a reference color, and reflects the output characteristics of the image forming apparatus 100. Therefore, a color conversion parameter is generated based on the difference between the colorimetric value of patch image 200 and the corresponding color value of the reference color in the standard color space, and color conversion is performed using this color conversion parameter. By outputting an image based on image data, the image forming apparatus 100 can output an image with high reproducibility.

本実施形態に係る画像形成装置100は、記録媒体16に出力したパッチ画像200を測色するための測色装置を備える。測色装置は、画像形成装置100により記録媒体16に形成された測色対象のパッチ画像200を被写体とし、このパッチ画像200と後述する基準チャート部400とを同時に撮像する撮像ユニット42を備える。測色装置は、撮像ユニット42の撮像によって得られるパッチ画像200および基準チャート部400の画像データに基づいて、パッチ画像200の測色値を算出する。なお、この測色装置は、パッチ画像200の測色値を算出する機能だけでなく、撮像ユニット42の撮像によって得られる画像データを用いて、画像形成装置100が出力する画像の位置ずれ量を算出する機能や、撮像ユニット42の撮像によって得られる画像データを用いて、画像形成装置100が出力する画像のドット径を算出する機能も備える。   The image forming apparatus 100 according to the present embodiment includes a color measurement device for measuring the patch image 200 output to the recording medium 16. The color measurement apparatus includes an imaging unit 42 that takes a patch image 200 to be measured, which is formed on the recording medium 16 by the image forming apparatus 100 as a subject, and simultaneously images the patch image 200 and a reference chart unit 400 described later. The colorimetric device calculates the colorimetric value of the patch image 200 based on the patch image 200 obtained by the imaging of the imaging unit 42 and the image data of the reference chart unit 400. Note that this colorimetric device has not only the function of calculating the colorimetric value of the patch image 200, but also the amount of positional deviation of the image output by the image forming apparatus 100 using the image data obtained by the imaging of the imaging unit 42. It also has a function of calculating the dot diameter of the image output from the image forming apparatus 100 using the function to calculate and the image data obtained by the imaging of the imaging unit 42.

撮像ユニット42は、図2に示すように、キャリッジ5に対して固定されて設けられ、キャリッジ5と一体となって主走査方向に往復移動する。そして、撮像ユニット42は、記録媒体16に形成された画像(パッチ画像200の測色時は測色対象となるパッチ画像200)を被写体とし、この被写体と対向する位置に移動したときに、被写体と基準チャート部400とを同時に撮像する。なお、ここでの同時に撮像とは、被写体と基準チャート部400とを含む1フレームの画像データを取得することを意味する。つまり、画素ごとのデータ取得に時間差があっても、1フレーム内に被写体と基準チャート部400とを含む画像データを取得すれば、被写体と基準チャート部400とを同時に撮像したことになる。   As shown in FIG. 2, the imaging unit 42 is fixed to the carriage 5, and reciprocates in the main scanning direction integrally with the carriage 5. Then, the imaging unit 42 takes the image formed on the recording medium 16 (the patch image 200 to be measured when measuring the patch image 200) as the subject, and moves the subject to a position facing the subject. And the reference chart unit 400 at the same time. Note that “simultaneous imaging” here means acquiring image data of one frame including the subject and the reference chart unit 400. That is, even if there is a time difference in data acquisition for each pixel, if the image data including the subject and the reference chart unit 400 in one frame is acquired, the subject and the reference chart unit 400 are simultaneously imaged.

<撮像ユニットの具体例>
図4−1乃至図4−3は、撮像ユニット42の具体例を示す図であり、図4−1は、撮像ユニット42の縦断面図(図4−2中のX1−X1線断面図)、図4−2は、撮像ユニット42の内部を透視して示す上面図、図4−3は、筐体の底面部を図4−1中のX2方向から見た平面図である。
<Specific example of imaging unit>
FIGS. 4-1 to 4-3 show specific examples of the imaging unit 42, and FIG. 4-1 is a longitudinal sectional view of the imaging unit 42 (a sectional view taken along line X 1-X 1 in FIG. 4-2). 4-2 is a top view showing the inside of the imaging unit 42 in a see-through manner, and FIG. 4-3 is a plan view of the bottom portion of the housing viewed in the X2 direction in FIG.

撮像ユニット42は、枠体422と基板423とを組み合わせて構成された筐体421を備える。枠体422は、筐体421の上面となる一端側が開放された有底筒状に形成されている。基板423は、枠体422の開放端を閉塞して筐体421の上面を構成するように、締結部材424によって枠体422に締結され、枠体422と一体化されている。   The imaging unit 42 includes a housing 421 configured by combining a frame body 422 and a substrate 423. The frame body 422 is formed in a bottomed cylindrical shape in which one end side which is the upper surface of the housing 421 is opened. The substrate 423 is fastened to the frame 422 by the fastening member 424 so as to close the open end of the frame 422 and to form the upper surface of the housing 421, and is integrated with the frame 422.

筐体421は、その底面部421aが所定の間隙dを介してプラテン板22上の記録媒体16と対向するように、キャリッジ5に固定される。記録媒体16と対向する筐体421の底面部(第一の面)421aには、記録媒体16に形成された被写体(パッチ画像200)を筐体421の内部から撮影可能にするための開口部425が設けられている。   The housing 421 is fixed to the carriage 5 so that the bottom surface 421a faces the recording medium 16 on the platen plate 22 with a predetermined gap d. An opening for enabling photographing of an object (patch image 200) formed on the recording medium 16 from the inside of the case 421 in the bottom (first surface) 421a of the case 421 facing the recording medium 16 425 are provided.

筐体421の内部には、画像を撮像するセンサ部430が設けられている。センサ部430は、CCDセンサまたはCMOSセンサなどの2次元イメージセンサ431と、センサ部430の撮像範囲の光学像を2次元イメージセンサ431のセンサ面に結像する結像レンズ432とを備える。2次元イメージセンサ431は、センサ面が筐体421の底面部421a側に向くように、例えば、基板423の内面(部品実装面)に実装されている。結像レンズ432は、その光学特性に応じて定められる位置関係を保つように2次元イメージセンサ431に対して位置決めされた状態で固定されている。   Inside the housing 421, a sensor unit 430 for capturing an image is provided. The sensor unit 430 includes a two-dimensional image sensor 431 such as a CCD sensor or a CMOS sensor, and an imaging lens 432 which forms an optical image of an imaging range of the sensor unit 430 on a sensor surface of the two-dimensional image sensor 431. The two-dimensional image sensor 431 is mounted, for example, on the inner surface (component mounting surface) of the substrate 423 so that the sensor surface faces the bottom surface 421 a side of the housing 421. The imaging lens 432 is fixed in a state of being positioned with respect to the two-dimensional image sensor 431 so as to maintain the positional relationship determined in accordance with the optical characteristic thereof.

筐体421の底面部421aのセンサ部430と対向する内面側には、底面部421aに設けられた開口部425と隣り合うようにして、基準チャート部400が形成されたチャート板410が配置されている。チャート板410は、例えば、基準チャート部400が形成された面とは逆側の面を接着面として、筐体421の底面部421aの内面側に接着材などにより接着され、筐体421に対して固定された状態で保持されている。なお、基準チャート部400は、チャート板410上ではなく、筐体421の底面部421aの内面側に直接形成されていてもよい。この場合はチャート板410は不要である。基準チャート部400は、例えば被写体(パッチ画像200)の比較対象として、センサ部430により被写体(パッチ画像200)とともに撮像されるものである。つまり、センサ部430は、筐体421の底面421aに設けられた開口部425を介して筐体421の外部の被写体(パッチ画像200)を撮像すると同時に、筐体421の底面421aの内面側に配置されたチャート板410上の基準チャート部400を撮像する。なお、基準チャート部400の詳細については後述する。   A chart plate 410 on which a reference chart portion 400 is formed is disposed on the inner surface side facing the sensor portion 430 of the bottom surface portion 421a of the housing 421 so as to be adjacent to the opening 425 provided in the bottom surface portion 421a. ing. The chart plate 410 is bonded to the inner surface side of the bottom surface portion 421a of the housing 421 with an adhesive or the like, with the surface opposite to the surface on which the reference chart portion 400 is formed as an adhesive surface, for example. And held in a fixed state. The reference chart portion 400 may be formed directly on the inner surface side of the bottom surface portion 421 a of the housing 421 instead of on the chart plate 410. In this case, the chart board 410 is unnecessary. The reference chart unit 400 is, for example, captured by the sensor unit 430 together with the subject (patch image 200) as a comparison target of the subject (patch image 200). That is, the sensor unit 430 picks up an object (patch image 200) outside the housing 421 through the opening 425 provided on the bottom surface 421a of the housing 421, and at the same time, on the inner surface side of the bottom surface 421a of the housing 421. The reference chart portion 400 on the arranged chart board 410 is imaged. The details of the reference chart unit 400 will be described later.

また、筐体421の内部には、センサ部430が被写体(パッチ画像200)と基準チャート部400とを同時に撮像する際に、これら被写体(パッチ画像200)および基準チャート部400を照明する照明光源426が設けられている。照明光源426としては、例えばLEDが用いられる。本実施形態においては、照明光源426として2つのLEDを用いる。照明光源426として用いるこれら2つのLEDは、例えば、センサ部430の2次元イメージセンサ431とともに、基板423の内面に実装される。ただし、照明光源426は、被写体(パッチ画像200)と基準チャート部400とを照明できる位置に配置されていればよく、必ずしも基板423に直接実装されていなくてもよい。また、本実施形態では、照明光源426としてLEDを用いているが、光源の種類はLEDに限定されるものではない。例えば、有機ELなどを照明光源426として用いるようにしてもよい。有機ELを照明光源426として用いた場合は、太陽光の分光分布に近い照明光が得られるため、測色精度の向上が期待できる。   Further, inside the housing 421, when the sensor unit 430 simultaneously images the subject (patch image 200) and the reference chart unit 400, an illumination light source that illuminates the subject (patch image 200) and the reference chart unit 400. 426 are provided. For example, an LED is used as the illumination light source 426. In the present embodiment, two LEDs are used as the illumination light source 426. These two LEDs used as the illumination light source 426 are mounted on the inner surface of the substrate 423 together with the two-dimensional image sensor 431 of the sensor unit 430, for example. However, the illumination light source 426 may be disposed at a position at which the subject (patch image 200) and the reference chart unit 400 can be illuminated, and may not necessarily be mounted directly on the substrate 423. Further, in the present embodiment, an LED is used as the illumination light source 426, but the type of the light source is not limited to the LED. For example, an organic EL or the like may be used as the illumination light source 426. When the organic EL is used as the illumination light source 426, since illumination light close to the spectral distribution of sunlight can be obtained, improvement in colorimetric accuracy can be expected.

また、本実施形態では、図4−2に示すように、照明光源426として用いる2つのLEDを基板423側から筐体421の底面部421a側に垂直に見下ろしたときの底面部421a上の投影位置が、開口部425と基準チャート部400との間の領域内となり、且つ、センサ部430を中心として対称となる位置となるように、これら2つのLEDが配置されている。換言すると、照明光源426として用いる2つのLEDを結ぶ線がセンサ部430の結像レンズ432の中心を通り、且つ、この2つのLEDを結ぶ線に対して線対称となる位置に、筐体421の底面部421aに設けられた開口部425と基準チャート部400とが配置される。照明光源426として用いる2つのLEDをこのように配置することにより、被写体(パッチ画像200)と基準チャート部400とを、概ね同一の条件にて照明することができる。   Further, in the present embodiment, as shown in FIG. 4-2, the projection on the bottom surface 421a when two LEDs used as the illumination light source 426 are viewed vertically from the substrate 423 side to the bottom surface 421a side of the housing 421. The two LEDs are arranged such that the position is in the region between the opening 425 and the reference chart portion 400 and is symmetrical with respect to the sensor portion 430. In other words, a line connecting two LEDs used as the illumination light source 426 passes through the center of the imaging lens 432 of the sensor unit 430 and is in line symmetry with respect to the line connecting the two LEDs. The opening 425 and the reference chart portion 400 provided in the bottom surface 421a of the reference chart are arranged. By arranging the two LEDs used as the illumination light source 426 in this manner, the subject (patch image 200) and the reference chart portion 400 can be illuminated under substantially the same conditions.

ところで、筐体421の内部に配置された基準チャート部400と同一の照明条件により筐体421の外部の被写体(パッチ画像200)を照明するには、センサ部430による撮像時に外光が被写体(パッチ画像200)に当たらないようにして、照明光源426からの照明光のみで被写体(パッチ画像200)を照明する必要がある。被写体(パッチ画像200)に外光が当たらないようにするには、筐体421の底面部421aと記録媒体16との間の間隙dを小さくし、被写体(パッチ画像200)に向かう外光が筐体421によって遮られるようにすることが有効である。ただし、筐体421の底面部421aと記録媒体16との間の間隙dを小さくしすぎると、記録媒体16が筐体421の底面部421aに接触してしまい、画像の撮像を適切に行えなくなる虞がある。そこで、筐体421の底面部421aと記録媒体16との間の間隙dは、記録媒体16の平面性を考慮して、記録媒体16が筐体421の底面部421aに接触しない範囲で小さな値に設定することが望ましい。例えば、筐体421の底面部421aと記録媒体16との間の間隙dを1mm〜2mm程度に設定すれば、記録媒体16が筐体421の底面部421aに接触することなく、記録媒体16に形成された被写体(パッチ画像200)に外光が当たることを有効に防止できる。   By the way, in order to illuminate the subject (patch image 200) outside the casing 421 under the same illumination condition as the reference chart unit 400 disposed inside the casing 421, the outside light is the subject (image taken by the sensor unit 430) It is necessary to illuminate the subject (patch image 200) only with the illumination light from the illumination light source 426 so as not to hit the patch image 200). In order to prevent external light from striking the subject (patch image 200), the gap d between the bottom portion 421a of the housing 421 and the recording medium 16 is reduced, and the external light directed to the subject (patch image 200) It is effective to be blocked by the housing 421. However, if the gap d between the bottom surface 421a of the housing 421 and the recording medium 16 is too small, the recording medium 16 contacts the bottom surface 421a of the housing 421, and it becomes impossible to properly capture an image. There is a risk. Therefore, the gap d between the bottom surface 421a of the housing 421 and the recording medium 16 has a small value in a range in which the recording medium 16 does not contact the bottom surface 421a of the housing 421 in consideration of the planarity of the recording medium 16. It is desirable to set to. For example, if the gap d between the bottom surface 421a of the housing 421 and the recording medium 16 is set to about 1 mm to 2 mm, the recording medium 16 does not contact the bottom surface 421a of the housing 421. It is possible to effectively prevent the outside light from striking the formed subject (patch image 200).

なお、照明光源426からの照明光を被写体(パッチ画像200)に適切に照射するには、筐体421の底面部421aに設けた開口部425の大きさを被写体(パッチ画像200)よりも大きくし、開口部425の端縁で照明光が遮られることで生じる影が被写体(パッチ画像200)に映り込まないようにすることが望ましい。   Note that in order to appropriately irradiate the subject (patch image 200) with illumination light from the illumination light source 426, the size of the opening 425 provided on the bottom surface 421a of the housing 421 is larger than that of the subject (patch image 200). It is desirable that shadows generated by blocking the illumination light at the edge of the opening 425 not be reflected in the subject (patch image 200).

また、筐体421の底面部421aと記録媒体16との間の間隙dを小さくすれば、センサ部430から被写体(パッチ画像200)までの光路長と、センサ部430から基準チャート部400までの光路長との差を、センサ部430の被写界深度の範囲内とすることもできる。本実施形態の撮像ユニット42は、筐体421の外部の被写体(パッチ画像200)と筐体421の内部に設けられた基準チャート部400とをセンサ部430により同時に撮像する構成である。したがって、センサ部430から被写体(パッチ画像200)までの光路長とセンサ部430から基準チャート部400までの光路長との差がセンサ部430の被写界深度の範囲を超えていると、被写体(パッチ画像200)と基準チャート部400との双方に焦点の合った画像を撮像することができない。   If the gap d between the bottom surface 421a of the housing 421 and the recording medium 16 is reduced, the optical path length from the sensor unit 430 to the subject (patch image 200) and the sensor unit 430 to the reference chart unit 400 The difference from the optical path length can also be in the range of the depth of field of the sensor unit 430. The imaging unit 42 according to the present embodiment is configured to simultaneously capture an object (patch image 200) outside the housing 421 and the reference chart unit 400 provided inside the housing 421 by the sensor unit 430. Therefore, when the difference between the optical path length from the sensor unit 430 to the subject (patch image 200) and the optical path length from the sensor unit 430 to the reference chart unit 400 exceeds the depth of field of the sensor unit 430, An image focused on both the (patch image 200) and the reference chart portion 400 can not be captured.

センサ部430から被写体(パッチ画像200)までの光路長とセンサ部430から基準チャート部400までの光路長との差は、概ね、筐体421の底面部421aの厚みに間隙dを加えた値となる。したがって、間隙dを十分に小さな値とすれば、センサ部430から被写体(パッチ画像200)までの光路長とセンサ部430から基準チャート部400までの光路長との差を、センサ部430の被写界深度の範囲内として、被写体(パッチ画像200)と基準チャート部400との双方に焦点の合った画像を撮像することができる。例えば、間隙dを1mm〜2mm程度に設定すれば、センサ部430から被写体(パッチ画像200)までの光路長とセンサ部430から基準チャート部400までの光路長との差を、センサ部430の被写界深度の範囲内とすることができる。   The difference between the optical path length from the sensor unit 430 to the subject (patch image 200) and the optical path length from the sensor unit 430 to the reference chart unit 400 is approximately a value obtained by adding a gap d to the thickness of the bottom surface 421a of the housing 421. It becomes. Therefore, if the gap d is set to a sufficiently small value, the difference between the optical path length from the sensor unit 430 to the subject (patch image 200) and the optical path length from the sensor unit 430 to the reference chart unit 400 is the target of the sensor unit 430. An image in which both the subject (patch image 200) and the reference chart unit 400 are in focus can be captured within the depth of field range. For example, if the gap d is set to about 1 mm to 2 mm, the difference between the optical path length from the sensor unit 430 to the subject (patch image 200) and the optical path length from the sensor unit 430 to the reference chart unit 400 is It can be in the range of the depth of field.

なお、センサ部430の被写界深度は、センサ部430の絞り値や結像レンズ432の焦点距離、センサ部430と被写体との間の距離などに応じて定まる、センサ部430に固有の特性である。本実施形態の撮像ユニット42においては、筐体421の底面部421aと記録媒体16との間の間隙dを例えば1mm〜2mm程度の十分に小さな値としたときに、センサ部430から被写体(パッチ画像200)までの光路長と、センサ部430から基準チャート部400までの光路長との差が被写界深度の範囲内となるように、センサ部430が設計されている。   The depth of field of the sensor unit 430 is determined according to the aperture value of the sensor unit 430, the focal length of the imaging lens 432, the distance between the sensor unit 430 and the subject, etc. It is. In the imaging unit 42 according to the present embodiment, when the gap d between the bottom surface 421a of the housing 421 and the recording medium 16 is a sufficiently small value of, for example, about 1 mm to 2 mm, the subject (patch The sensor unit 430 is designed such that the difference between the optical path length up to the image 200) and the optical path length from the sensor unit 430 to the reference chart unit 400 is within the range of the depth of field.

<基準チャート部の具体例>
次に、図5を参照しながら、撮像ユニット42の筐体421の内部に配置されるチャート板410上の基準チャート部400について詳細に説明する。図5は、基準チャート部400の具体例を示す図である。
<Specific example of reference chart part>
Next, the reference chart unit 400 on the chart board 410 disposed inside the housing 421 of the imaging unit 42 will be described in detail with reference to FIG. FIG. 5 is a diagram showing a specific example of the reference chart unit 400. As shown in FIG.

図5に示す基準チャート部400は、測色用のパッチを配列した複数の基準パッチ列401〜404、ドット計測用パターン列406、距離計測用ライン405およびチャート位置特定用マーカ407を有する。   The reference chart unit 400 shown in FIG. 5 has a plurality of reference patch arrays 401 to 404 in which patches for color measurement are arranged, a dot measurement pattern array 406, a distance measurement line 405, and a chart position specifying marker 407.

基準パッチ列401〜404は、YMCの1次色のパッチを階調順に配列した基準パッチ列401と、RGBの2次色のパッチを階調順に配列した基準パッチ列402と、グレースケールのパッチを階調順に配列した基準パッチ列(無彩色の階調パターン)403と、3次色のパッチを配列したパッチ列404と、を含む。ドット計測用パターン列406は、大きさが異なる円形パターンが大きさ順に配列された幾何学形状測定用のパターン列である。   The reference patch arrays 401 to 404 are a reference patch array 401 in which patches of YMC primary colors are arranged in gradation order, a reference patch array 402 in which patches of RGB secondary colors are arranged in gradation order, and gray scale patches And a patch array 404 in which patches of tertiary colors are arranged. The dot measurement pattern row 406 is a pattern row for geometric shape measurement in which circular patterns having different sizes are arranged in order of size.

距離計測用ライン405は、複数の基準パッチ列401〜404やドット径計測用パターン列406を囲む矩形の枠(一対の主走査距離基準線と一対の副走査距離基準線との組み合わせ)として形成されている。チャート位置特定用マーカ407は、距離計測用ライン405の四隅の位置に設けられていて、各パッチ位置を特定するためのマーカとして機能する。撮像ユニット42の撮像により得られる基準チャート部400の画像データから、距離計測用ライン405とその四隅のチャート位置特定用マーカ407を特定することで、基準チャート部400の位置及び各パターンの位置を特定することができる。   The distance measurement line 405 is formed as a rectangular frame (combination of a pair of main scanning distance reference lines and a pair of sub scanning distance reference lines) surrounding the plurality of reference patch rows 401 to 404 and the dot diameter measuring pattern row 406. It is done. The chart position specifying markers 407 are provided at four corners of the distance measurement line 405, and function as markers for specifying each patch position. By specifying the distance measurement line 405 and the chart position specifying markers 407 at the four corners from the image data of the reference chart unit 400 obtained by the imaging of the imaging unit 42, the position of the reference chart unit 400 and the position of each pattern are identified. It can be identified.

測色用の基準パッチ列401〜404を構成する各パッチは、撮像ユニット42が撮像を行う際の撮像条件を反映した色味の基準として用いられる。なお、基準チャート部400に配置されている測色用の基準パッチ列401〜404の構成は、図5に示す例に限定されるものではなく、任意のパッチ列を適用することが可能である。例えば、可能な限り色範囲が広く特定できるパッチを用いてもよいし、また、YMCKの1次色の基準パッチ列401や、グレースケールの基準パッチ列403は、画像形成装置100に使用されるインクの測色値のパッチで構成されていてもよい。また、RGBの2次色の基準パッチ列402は、画像形成装置100で使用されるインクで発色可能な測色値のパッチで構成されていてもよく、さらに、Japan Color等の測色値が定められた基準色票を用いてもよい。   The patches constituting the reference patch arrays 401 to 404 for color measurement are used as the reference of the color that reflects the imaging condition when the imaging unit 42 performs imaging. The configuration of the reference patch rows 401 to 404 for color measurement arranged in the reference chart portion 400 is not limited to the example shown in FIG. 5, and any patch row can be applied. . For example, a patch that can specify a wide color range as much as possible may be used, and a YMCK primary patch row 401 and a gray scale reference patch row 403 are used for the image forming apparatus 100. It may be composed of patches of colorimetric values of ink. Further, the reference patch array 402 of the secondary colors of RGB may be configured by patches of colorimetric values that can be developed with the ink used in the image forming apparatus 100, and further, colorimetric values such as Japan Color etc. It is also possible to use a predetermined reference color chart.

なお、本実施形態では、一般的なパッチ(色票)の形状の基準パッチ列401〜404を有する基準チャート部400を用いているが、基準チャート部400は、必ずしもこのような基準パッチ列401〜404を有する形態でなくてもよい。基準チャート部400は、測色に利用可能な複数の色が、それぞれの位置を特定できるように配置された構成であればよい。   In the present embodiment, the reference chart portion 400 having reference patch rows 401 to 404 in the form of general patches (color chips) is used. However, the reference chart portion 400 is not limited to such a reference patch row 401. It does not need to be a form which has -404. The reference chart unit 400 may have a configuration in which a plurality of colors available for color measurement can be specified so that the respective positions can be specified.

基準チャート部400は、撮像ユニット42の筐体421の底面部421aに、開口部425と隣り合うように配置されているため、センサ部430によってパッチ画像200などの被写体と同時に撮像することができる。   The reference chart unit 400 is disposed on the bottom surface 421a of the housing 421 of the imaging unit 42 so as to be adjacent to the opening 425. Therefore, the sensor unit 430 can simultaneously capture an object such as the patch image 200. .

<画像形成装置の制御機構の概略構成>
次に、図6を参照しながら、本実施形態に係る画像形成装置100の制御機構の概略構成について説明する。図6は、画像形成装置100の制御機構の概略構成を示すブロック図である。
<Schematic Configuration of Control Mechanism of Image Forming Apparatus>
Next, a schematic configuration of a control mechanism of the image forming apparatus 100 according to the present embodiment will be described with reference to FIG. FIG. 6 is a block diagram showing a schematic configuration of a control mechanism of the image forming apparatus 100. As shown in FIG.

本実施形態に係る画像形成装置100の制御機構は、上位CPU107、ROM118、RAM119、主走査ドライバ109、記録ヘッドドライバ111、測色制御部50、紙搬送部112、副走査ドライバ113、記録ヘッド6、エンコーダセンサ41、および撮像ユニット42を備える。記録ヘッド6、エンコーダセンサ41、および撮像ユニット42は、上述したようにキャリッジ5に搭載されている。   The control mechanism of the image forming apparatus 100 according to the present embodiment includes the host CPU 107, the ROM 118, the RAM 119, the main scanning driver 109, the recording head driver 111, the colorimetry control unit 50, the paper conveyance unit 112, the sub scanning driver 113, and the recording head 6. , An encoder sensor 41, and an imaging unit 42. The recording head 6, the encoder sensor 41, and the imaging unit 42 are mounted on the carriage 5 as described above.

上位CPU107は、記録媒体16に形成する画像のデータや駆動制御信号(パルス信号)を各ドライバに供給し、画像形成装置100の全体の制御を司る。具体的には、上位CPU107は、主走査ドライバ109を介して、キャリッジ5の主走査方向の駆動を制御する。また、上位CPU107は、記録ヘッドドライバ111を介して、記録ヘッド6によるインクの吐出タイミングを制御する。また、上位CPU107は、副走査ドライバ113を介して、搬送ローラや副走査モータを含む紙搬送部112の駆動を制御する。   The host CPU 107 supplies data of an image formed on the recording medium 16 and a drive control signal (pulse signal) to each driver, and controls the entire image forming apparatus 100. Specifically, the host CPU 107 controls driving of the carriage 5 in the main scanning direction via the main scanning driver 109. Further, the host CPU 107 controls the discharge timing of the ink by the recording head 6 via the recording head driver 111. Also, the host CPU 107 controls the driving of the paper conveyance unit 112 including the conveyance roller and the sub scanning motor via the sub scanning driver 113.

エンコーダセンサ41は、エンコーダシート40のマークを検知して得られるエンコーダ値を上位CPU107に出力する。上位CPU107は、エンコーダセンサ41からのエンコーダ値を基に、主走査ドライバ109を介して、キャリッジ5の主走査方向の駆動を制御する。   The encoder sensor 41 outputs an encoder value obtained by detecting a mark on the encoder sheet 40 to the host CPU 107. The host CPU 107 controls driving of the carriage 5 in the main scanning direction via the main scanning driver 109 based on the encoder value from the encoder sensor 41.

撮像ユニット42は、上述したように、記録媒体16に形成されたパッチ画像200の測色時に、パッチ画像200と筐体421の内部に配置されたチャート板410上の基準チャート部400とをセンサ部430で同時に撮像し、パッチ画像200および基準チャート部400を含む画像データを測色制御部50に出力する。   As described above, the imaging unit 42 detects the patch image 200 and the reference chart portion 400 on the chart plate 410 disposed inside the housing 421 when measuring the patch image 200 formed on the recording medium 16. The image is simultaneously captured by the unit 430, and the image data including the patch image 200 and the reference chart unit 400 is output to the colorimetry control unit 50.

測色制御部50は、撮像ユニット42から取得したパッチ画像200および基準チャート部400の画像データに基づいて、パッチ画像200の測色値(標準色空間における表色値)を算出する。測色制御部50が算出したパッチ画像200の測色値は、上位CPU107に送られる。測色制御部50は、撮像ユニット42とともに、測色装置を構成している。なお、本実施形態では、測色制御部50を撮像ユニット42とは別個の構成としているが、測色制御部50を撮像ユニット42と一体の構成としてもよい。例えば、撮像ユニット42の基板423に、測色制御部50として機能する制御回路を実装するようにしてもよい。   The colorimetric control unit 50 calculates colorimetric values (color values in a standard color space) of the patch image 200 based on the patch image 200 acquired from the imaging unit 42 and the image data of the reference chart unit 400. The colorimetric value of the patch image 200 calculated by the colorimetry control unit 50 is sent to the host CPU 107. The color measurement control unit 50 and the imaging unit 42 constitute a color measurement device. In the present embodiment, although the colorimetry control unit 50 is configured separately from the imaging unit 42, the colorimetry control unit 50 may be configured integrally with the imaging unit 42. For example, a control circuit functioning as the colorimetry control unit 50 may be mounted on the substrate 423 of the imaging unit 42.

また、測色制御部50は、撮像ユニット42に対して各種設定信号やタイミング信号、光源駆動信号などを供給し、撮像ユニット42による画像の撮像を制御する。各種設定信号は、センサ部430の動作モードを設定する信号や、シャッタスピード、AGCのゲインなどの撮像条件を設定する信号を含む。これら設定信号は、測色制御部50が上位CPU107から取得して、撮像ユニット42に供給する。また、タイミング信号は、センサ部430による撮像のタイミングを制御する信号であり、光源駆動信号は、センサ部430の撮像範囲を照明する照明光源426の駆動を制御する信号である。これらタイミング信号および光源駆動信号は、測色制御部50が生成して、撮像ユニット42に供給する。   Further, the colorimetry control unit 50 supplies various setting signals, timing signals, light source drive signals and the like to the imaging unit 42, and controls imaging of the image by the imaging unit 42. The various setting signals include a signal for setting the operation mode of the sensor unit 430, and a signal for setting imaging conditions such as the shutter speed and the gain of the AGC. The colorimetry control unit 50 acquires these setting signals from the host CPU 107 and supplies the setting signals to the imaging unit 42. The timing signal is a signal for controlling the timing of imaging by the sensor unit 430, and the light source drive signal is a signal for controlling the drive of the illumination light source 426 for illuminating the imaging range of the sensor unit 430. The colorimetry control unit 50 generates the timing signal and the light source drive signal, and supplies them to the imaging unit 42.

ROM118は、例えば、上位CPU107で実行する処理手順等のプログラムや各種制御データなどを格納する。RAM119は、上位CPU107のワーキングメモリとして利用される。   The ROM 118 stores, for example, programs such as processing procedures executed by the upper CPU 107 and various control data. The RAM 119 is used as a working memory of the upper CPU 107.

<測色装置の制御機構の構成>
次に、図7を参照しながら、測色装置の制御機構について具体的に説明する。図7は、測色装置の制御機構の一構成例を示すブロック図である。
<Configuration of Control Mechanism of Colorimetry Device>
Next, the control mechanism of the color measurement device will be specifically described with reference to FIG. FIG. 7 is a block diagram showing an example of the configuration of the control mechanism of the color measurement device.

測色装置は、撮像ユニット42と測色制御部50とを備える。撮像ユニット42は、上述したセンサ部430と照明光源426とに加え、さらに、画像処理部45と、インターフェース部46と、を備える。なお、本実施形態では、画像処理部45をセンサ部430とは別個の構成としているが、センサ部430の2次元イメージセンサ431に画像処理部45の機能を持たせるようにしてもよい。   The colorimetric device includes an imaging unit 42 and a colorimetric control unit 50. The imaging unit 42 further includes an image processing unit 45 and an interface unit 46 in addition to the sensor unit 430 and the illumination light source 426 described above. Although the image processing unit 45 is configured separately from the sensor unit 430 in this embodiment, the two-dimensional image sensor 431 of the sensor unit 430 may have the function of the image processing unit 45.

画像処理部45は、センサ部430により撮像した画像データを処理するものであり、AD変換部451、シェーディング補正部452、ホワイトバランス補正部453、γ補正部454、および画像フォーマット変換部455を備える。   The image processing unit 45 processes image data captured by the sensor unit 430, and includes an AD conversion unit 451, a shading correction unit 452, a white balance correction unit 453, a γ correction unit 454, and an image format conversion unit 455. .

AD変換部451は、センサ部430が出力するアナログ信号をAD変換する。   The AD conversion unit 451 AD converts an analog signal output from the sensor unit 430.

シェーディング補正部452は、センサ部430の撮像範囲に対する照明光源426からの照明の照度ムラに起因する画像データの誤差を補正する。   The shading correction unit 452 corrects an error of image data caused by uneven illuminance of illumination from the illumination light source 426 with respect to the imaging range of the sensor unit 430.

ホワイトバランス補正部453は、画像データのホワイトバランスを補正する。   The white balance correction unit 453 corrects the white balance of the image data.

γ補正部454は、センサ部430の感度のリニアリティを補償するように画像データを補正する。   The γ correction unit 454 corrects the image data so as to compensate for the linearity of the sensitivity of the sensor unit 430.

画像フォーマット変換部455は、画像データを任意のフォーマットに変換する。   The image format conversion unit 455 converts the image data into an arbitrary format.

インターフェース部46は、測色制御部50から送られた各種設定信号、タイミング信号および光源駆動信号を撮像ユニット42が取得し、また、撮像ユニット42から測色制御部50へ画像データを送るためのインターフェースである。   The interface unit 46 causes the imaging unit 42 to acquire various setting signals, timing signals, and light source drive signals sent from the colorimetry control unit 50, and to send image data from the imaging unit 42 to the colorimetry control unit 50. It is an interface.

測色制御部50は、フレームメモリ51と、演算部53と、タイミング信号発生部54と、光源駆動制御部55と、を備える。   The colorimetry control unit 50 includes a frame memory 51, an operation unit 53, a timing signal generation unit 54, and a light source drive control unit 55.

フレームメモリ51は、撮像ユニット42から送られた画像データを一時的に記憶するメモリである。   The frame memory 51 is a memory for temporarily storing the image data sent from the imaging unit 42.

演算部53は、測色値算出部(算出部)531と、位置ずれ量算出部532と、ドット径算出部533と、を備える。演算部53は、例えばCPUなどのプロセッサを備え、このプロセッサにより所定のプログラムを実行することによって、測色値算出部531、位置ずれ量算出部532、およびドット径算出部533の各機能を実現する。なお、本実施形態では演算部53の測色値算出部531、位置ずれ量算出部532、およびドット径算出部533をソフトウェアにより実現しているが、これらの一部または全部をASIC(Application Specific Integrated Circuit)やFPGA(Field-Programmable Gate Array)などの専用のハードウェアを用いて実現することも可能である。   The calculation unit 53 includes a colorimetric value calculation unit (calculation unit) 531, a positional deviation amount calculation unit 532 and a dot diameter calculation unit 533. The arithmetic unit 53 includes, for example, a processor such as a CPU, and by executing a predetermined program using this processor, the functions of the colorimetric value calculator 531, the positional deviation amount calculator 532 and the dot diameter calculator 533 are realized. Do. In the present embodiment, the colorimetric value calculation unit 531, the positional shift amount calculation unit 532 and the dot diameter calculation unit 533 of the calculation unit 53 are realized by software, but some or all of them may be ASIC (Application Specific) It is also possible to realize using dedicated hardware such as Integrated Circuit) and FPGA (Field-Programmable Gate Array).

測色値算出部531は、撮像ユニット42のセンサ部430が、測色対象のパッチ画像200と基準チャート部400とを同時に撮像したときに、この撮像によって得られるパッチ画像200および基準チャート部400の画像データとに基づいて、パッチ画像200の測色値を算出する。測色値演算部531が算出したパッチ画像200の測色値は、上位CPU107へと送られる。なお、測色値算出部531による処理の具体例については、詳細を後述する。   When the sensor unit 430 of the imaging unit 42 simultaneously captures the patch image 200 to be measured and the reference chart unit 400, the colorimetric value calculation unit 531 obtains the patch image 200 obtained by this imaging and the reference chart unit 400. The colorimetric value of the patch image 200 is calculated based on the image data of The colorimetric value of the patch image 200 calculated by the colorimetric value calculation unit 531 is sent to the host CPU 107. The specific example of the process by the colorimetric value calculation unit 531 will be described in detail later.

位置ずれ量算出部532は、画像形成装置100により記録媒体16に所定の位置ずれ計測用の画像が出力され、撮像ユニット42のセンサ部430が、筐体421の内部に配置された基準チャート部400と画像形成装置100が出力した位置ずれ計測用の画像とを同時に撮像したときに、この撮像によって得られる位置ずれ計測用の画像の画像データと、基準チャート部400の画像データとに基づいて、画像形成装置100が出力する画像の位置ずれ量を算出する。位置ずれ量算出部532が算出した画像の位置ずれ量は、上位CPU107へと送られる。なお、位置ずれ量算出部532による処理の具体例については、詳細を後述する。   The positional deviation amount calculation unit 532 is a reference chart unit in which an image for predetermined positional deviation measurement is output to the recording medium 16 by the image forming apparatus 100 and the sensor unit 430 of the imaging unit 42 is disposed inside the housing 421. When image 400 for position shift measurement output by image forming apparatus 100 is simultaneously captured, based on the image data of the image for position shift measurement obtained by the image capturing and the image data of reference chart portion 400. The position shift amount of the image output from the image forming apparatus 100 is calculated. The positional deviation amount of the image calculated by the positional deviation amount calculation unit 532 is sent to the host CPU 107. The details of the specific example of the process performed by the misregistration amount calculation unit 532 will be described later.

ドット径算出部533は、画像形成装置100により記録媒体16に所定のドット径計測用の画像が出力され、撮像ユニット42のセンサ部430が、筐体421の内部に配置された基準チャート部400と画像形成装置100が出力したドット径計測用の画像とを同時に撮像したときに、この撮像によって得られるドット径計測用の画像の画像データと、基準チャート部400の画像データとに基づいて、画像形成装置100が出力する画像のドット径を算出する。ドット径算出部533が算出した画像のドット径は、上位CPU107へと送られる。なお、ドット径算出部533による処理の具体例については、詳細を後述する。   The dot diameter calculation unit 533 outputs a predetermined dot diameter measurement image to the recording medium 16 by the image forming apparatus 100, and a reference chart unit 400 in which the sensor unit 430 of the imaging unit 42 is disposed inside the housing 421. And when the image for dot diameter measurement output from the image forming apparatus 100 is simultaneously imaged, based on the image data of the image for dot diameter measurement obtained by this imaging and the image data of the reference chart unit 400, The dot diameter of the image output by the image forming apparatus 100 is calculated. The dot diameter of the image calculated by the dot diameter calculation unit 533 is sent to the host CPU 107. The details of the specific example of the process performed by the dot diameter calculation unit 533 will be described later.

タイミング信号発生部54は、撮像ユニット42のセンサ部430による撮像のタイミングを制御するタイミング信号を発生して、撮像ユニット42に供給する。   The timing signal generation unit 54 generates a timing signal for controlling the timing of imaging by the sensor unit 430 of the imaging unit 42 and supplies the timing signal to the imaging unit 42.

光源駆動制御部55は、撮像ユニット42の照明光源426を駆動するための光源駆動信号を生成して、撮像ユニット42に供給する。   The light source drive control unit 55 generates a light source drive signal for driving the illumination light source 426 of the imaging unit 42, and supplies the light source drive signal to the imaging unit 42.

<パッチ画像の測色方法>
次に、図8乃至図13を参照しながら、測色装置を用いたパッチ画像200の測色方法の具体例について詳細に説明する。図8は、センサ部430が測色対象のパッチ画像200と基準チャート部400とを同時に撮像することで得られる画像データの一例を示す図である。図9は、パッチ画像200の測色方法の具体例を説明する図である。図10は、L*a*b*値とXYZ値との変換を行う変換式を示す図である。図11は、パッチ画像200の測色の手順を示すフローチャートである。図12は、パッチ画像200の測色の手順の変形例を示すフローチャートである。図13は、標準の各パッチのL*a*b*値に対応するRGB値を特定する方法を説明する図である。
<Measurement method of patch image>
Next, a specific example of the colorimetry method of the patch image 200 using the colorimetry device will be described in detail with reference to FIGS. 8 to 13. FIG. 8 is a view showing an example of image data obtained by the sensor unit 430 simultaneously imaging the patch image 200 to be measured and the reference chart unit 400. FIG. 9 is a view for explaining a specific example of the method of measuring the patch image 200. FIG. 10 is a diagram showing a conversion equation for converting L * a * b * values and XYZ values. FIG. 11 is a flowchart showing the procedure of color measurement of the patch image 200. FIG. 12 is a flowchart showing a modification of the procedure of color measurement of the patch image 200. FIG. 13 is a diagram for explaining a method of specifying RGB values corresponding to L * a * b * values of each standard patch.

パッチ画像200の測色を行う場合は、まず、画像形成装置100が任意のパッチを記録媒体16に出力してパッチ画像200を形成する。そして、測色装置の撮像ユニット42が備えるセンサ部430により、測色対象のパッチ画像200を撮像ユニット42の筐体421内に配置されたチャート板410上の基準チャート部400とともに撮像する。その結果、例えば図8に示すようなパッチ画像200および基準チャート部400を含む画像データが取得される。センサ部430の撮像範囲は、基準チャート部400を撮像する基準チャート撮像領域と、測色対象の被写体であるパッチ画像200を撮像する被写体撮像領域とを有している。基準チャート撮像領域に対応する画素から出力される画像データが基準チャート部400の画像データとなり、被写体撮像領域に対応する画素から出力される画像データがパッチ画像200の画像データとなる。なお、ここでは、測色対象の被写体として1つのパッチ画像200のみを撮像するようにしているが、複数のパッチ画像200を同時に撮像するようにしてもよい。   When colorimetry of the patch image 200 is performed, the image forming apparatus 100 first outputs an arbitrary patch to the recording medium 16 to form the patch image 200. Then, the sensor unit 430 included in the imaging unit 42 of the color measurement device captures the patch image 200 to be measured together with the reference chart unit 400 on the chart plate 410 disposed in the housing 421 of the imaging unit 42. As a result, for example, image data including a patch image 200 and a reference chart unit 400 as shown in FIG. 8 is acquired. The imaging range of the sensor unit 430 includes a reference chart imaging area for imaging the reference chart section 400 and a subject imaging area for imaging the patch image 200 which is a subject to be measured. The image data output from the pixels corresponding to the reference chart imaging area is the image data of the reference chart unit 400, and the image data output from the pixels corresponding to the subject imaging area is the image data of the patch image 200. Here, only one patch image 200 is taken as a subject to be measured, but a plurality of patch images 200 may be taken simultaneously.

センサ部430により撮像されたパッチ画像200および基準チャート部400の画像データは、画像処理部45での処理が行われた後、撮像ユニット42からインターフェース部46を介して測色制御部50へと送られ、測色制御部50のフレームメモリ51に格納される。そして、演算部53の測色値算出部531が、フレームメモリ51に格納された画像データを読み出して、パッチ画像200の測色を行う。   The patch image 200 captured by the sensor unit 430 and the image data of the reference chart unit 400 are processed by the image processing unit 45, and then sent from the imaging unit 42 to the colorimetry control unit 50 via the interface unit 46. It is sent and stored in the frame memory 51 of the colorimetry control unit 50. Then, the colorimetric value calculation unit 531 of the calculation unit 53 reads the image data stored in the frame memory 51 and performs color measurement of the patch image 200.

測色値算出部531は、まず、フレームメモリ51から読み出した画像データから、基準チャート部400の距離計測用ライン(主走査・副走査距離基準線)405の四隅にあるチャート位置特定用マーカ407の位置を、パターンマッチング等により特定する。これにより、画像データにおける基準チャート部400の位置を特定することができる。基準チャート部400の位置を特定した後は、基準チャート部400の各パッチの位置を特定する。   The colorimetric value calculation unit 531 first uses the chart position specifying markers 407 at the four corners of the distance measurement line (main scanning / sub scanning distance reference lines) 405 of the reference chart unit 400 from the image data read out from the frame memory 51. The position of is identified by pattern matching or the like. Thereby, the position of the reference chart part 400 in image data can be specified. After specifying the position of the reference chart unit 400, the position of each patch of the reference chart unit 400 is specified.

次に、測色値算出部531は、基準チャート部400の各パッチの画像データ(RGB値)を用いて、測色対象となるパッチ画像200の画像データ(RGB値)を、L*a*b*色空間における表色値であるL*a*b*値に変換する。以下、この変換の具体的な手法について詳細に説明する。   Next, using the image data (RGB values) of each patch of the reference chart unit 400, the colorimetric value calculation unit 531 performs L * a * image data (RGB values) of the patch image 200 to be measured. Convert to b * color space L * a * b * value which is a color specification value. Hereafter, the specific method of this conversion is demonstrated in detail.

図9(c)は、図5に示した基準チャート部400の1次色(YMC)の基準パッチ列401および2次色(RGB)の基準パッチ列402の各パッチのL*a*b*値を、L*a*b*色空間上にプロットしたものである。なお、これら各パッチのL*a*b*値は、予め計測されており、例えば測色制御部50の内部の不揮発性メモリなどに記憶されている。   FIG. 9C shows L * a * b * of each patch of the reference patch row 401 of the primary color (YMC) and the reference patch row 402 of the secondary color (RGB) of the reference chart portion 400 shown in FIG. The values are plotted on the L * a * b * color space. The L * a * b * values of these patches are measured in advance, and are stored in, for example, a non-volatile memory or the like inside the color measurement control unit 50.

図9(a)は、図5に示した基準チャート部400の1次色(YMC)の基準パッチ列401および2次色(RGB)の基準パッチ列402の各パッチのRGB値(センサ部430による撮像によって得られる画像データ)を、RGB色空間上にプロットしたものである。   FIG. 9A shows the RGB values of each patch of the reference patch row 401 of the primary color (YMC) and the reference patch row 402 of the secondary color (RGB) of the reference chart portion 400 shown in FIG. Image data obtained by imaging according to the above is plotted on the RGB color space.

図9(b)は、図9(c)に示すL*a*b*値を、所定の変換式を用いてXYZ値に変換し、その変換したXYZ値を、XYZ色空間上にプロットしたものである。L*a*b*値をXYZ値に変換する場合、図10(b)に示す変換式(Lab⇒XYZ)により変換することができる。また、XYZ値をL*a*b*値に変換する場合、図10(a)に示す変換式(XYZ⇒Lab)により変換することができる。つまり、図9(c)に示すL*a*b*値と図9(b)に示すXYZ値は、図10(a),(b)に示す変換式を用いて相互に変換することができる。   In FIG. 9B, the L * a * b * values shown in FIG. 9C are converted into XYZ values using a predetermined conversion formula, and the converted XYZ values are plotted on the XYZ color space It is a thing. When L * a * b * values are converted into XYZ values, conversion is possible according to the conversion equation (LabLabXYZ) shown in FIG. Further, in the case of converting the XYZ values into L * a * b * values, the conversion can be performed by the conversion formula (XYZ Lab Lab) shown in FIG. That is, the L * a * b * values shown in FIG. 9C and the XYZ values shown in FIG. 9B can be mutually converted using the conversion equations shown in FIGS. 10A and 10B. it can.

ここで、図11のフローチャートに沿って、図8に示す被写体撮像領域内から得られた側色対象のパッチ画像200のRGB値をL*a*b*値に変換する手順を説明する。測色対象のパッチ画像200のRGB値が、図9(a)に示すRGB色空間上のPrgb点にあったとする。この場合、まず、図8に示す基準チャート部400の各パッチのRGB値のうち、Prgb点を含む4面体を作ることができる最近傍の4点を検索する(ステップS1)。図9(a)の例では、p0,p1,p2,p3の4点が選択される。ここで、図9(a)に示すRGB色空間上の4点p0,p1,p2,p3の各座標値を、p0(x01,x02,x03),p1(x1,x2,x3),p2(x4,x5,x6),p3(x7,x8,x9)とする。   Here, a procedure for converting the RGB values of the patch image 200 of the side color target obtained from within the subject imaging area shown in FIG. 8 into L * a * b * values will be described along the flowchart of FIG. It is assumed that the RGB values of the patch image 200 to be measured are at the Prgb point on the RGB color space shown in FIG. 9A. In this case, first, among the RGB values of each patch of the reference chart section 400 shown in FIG. 8, four closest points which can form a tetrahedron including Prgb points are searched (step S1). In the example of FIG. 9A, four points p0, p1, p2 and p3 are selected. Here, the coordinate values of four points p0, p1, p2, and p3 on the RGB color space shown in FIG. 9A are p0 (x01, x02, x03), p1 (x1, x2, x3), p2 (p2 (x1, x2, x3) It is assumed that x4, x5, x6) and p3 (x7, x8, x9).

次に、図9(a)に示すRGB色空間上の4点p0,p1,p2,p3に対応する図9(b)に示すXYZ色空間上の4点q0,q1,q2,q3を検索する(ステップS2)。XYZ色空間上の4点q0,q1,q2,q3の各座標値を、q0(y01,y02,y03),q1(y1,y2,y3),q2(y4,y5,y6),q3(y7,y8,y9)とする。   Next, four points q0, q1, q2, q3 on the XYZ color space shown in FIG. 9B corresponding to the four points p0, p1, p2, p3 on the RGB color space shown in FIG. 9A are searched (Step S2). The coordinate values of four points q0, q1, q2 and q3 on the XYZ color space are represented by q0 (y01, y02, y03), q1 (y1, y2, y3), q2 (y4, y5, y6), q3 (y7) , Y8, y9).

次に、この4面体内の局所空間を線形変換する線形変換マトリックスを求める(ステップS3)。具体的には、RGB色空間上の4点p0,p1,p2,p3のうち、任意の対応点の対を決定し(本実施形態では、無彩色に最も近いp0,q0とする)、この対応点(p0,q0)を原点とする(p1〜p3、q1〜q3の座標値は、p0,q0からの相対値となる)。   Next, a linear transformation matrix for linearly transforming the local space in the tetrahedron is determined (step S3). Specifically, a pair of corresponding points among four points p0, p1, p2 and p3 on the RGB color space is determined (in this embodiment, p0 and q0 closest to the achromatic color) are determined. The corresponding points (p0, q0) are set as the origin (the coordinate values of p1 to p3 and q1 to q3 are relative values from p0 and q0).

図9(a)に示すRGB色空間と図9(b)に示すXYZ色空間との空間間の変換式をY=AXと線形変換できると仮定すると、下記式(1)のように表される。
Assuming that the conversion equation between the RGB color space shown in FIG. 9A and the XYZ color space shown in FIG. 9B can be linearly converted to Y = AX, it is expressed as the following equation (1). Ru.

ここで、p1→q1、p2→q2、p3→q3に写像されるとすると、各係数aは、下記式(2)〜(10)のように求めることができる。
Here, assuming that p1.fwdarw.q1, p2.fwdarw.q2, and p3.fwdarw.q3 are mapped, the respective coefficients a can be obtained as in the following formulas (2) to (10).

次に、この線形変換マトリックス(Y=AX)を使って、図9(a)に示すRGB色空間上の測色対象のパッチ画像200のRGB値であるPrgb点(座標値は(Pr,Pg,Pb))を図9(b)に示すXYZ色空間上に写像する(ステップS4)。ここで得られたXYZ値は、原点q0からの相対値であるため、測色対象のパッチ画像200のRGB値Prgbに対応する実際のXYZ値Pxyz(座標値は(Px,Py,Pz))は、原点q0(y01,y02,y03)からのオフセット値として、下記式(11)〜(13)のようになる。
Next, using this linear transformation matrix (Y = AX), the Prgb point (coordinate value is (Pr, Pg) which is the RGB value of the patch image 200 to be measured on the RGB color space shown in FIG. , Pb)) are mapped onto the XYZ color space shown in FIG. 9 (b) (step S4). Since the XYZ values obtained here are relative values from the origin q0, actual XYZ values Pxyz (coordinate values are (Px, Py, Pz)) corresponding to the RGB values Prgb of the patch image 200 to be measured These become an offset value from the origin q0 (y01, y02, y03), and it becomes like following formula (11)-(13).

次に、以上のように求めたパッチ画像200のXYZ値Pxyzを、図10(a)に示した変換式によってL*a*b*値に変換し、測色対象のパッチ画像200のRGB値Prgbに対応するL*a*b*値を求める(ステップS5)。これにより、センサ部430の感度が変わったり、照明光源426の波長や強度が変化したりした場合でも、測色対象のパッチ画像200の測色値を正確に求めることができ、高精度の測色を行うことができる。なお、本実施形態では、画像形成装置100が形成したパッチ画像200を測色対象としているが、画像形成装置100が出力した任意の画像を測色対象とすることもできる。例えば、画像形成装置100が画像を出力しながらその画像の一部を測色し、リアルタイムで画像形成装置の出力特性を調整するといった利用が可能である。   Next, the XYZ values Pxyz of the patch image 200 determined as described above are converted to L * a * b * values by the conversion equation shown in FIG. 10A, and the RGB values of the patch image 200 to be measured are obtained. An L * a * b * value corresponding to Prgb is obtained (step S5). Thus, even when the sensitivity of the sensor unit 430 changes or the wavelength or intensity of the illumination light source 426 changes, the colorimetric value of the patch image 200 to be measured can be accurately obtained, and measurement with high accuracy is performed. You can do the color. In the present embodiment, the patch image 200 formed by the image forming apparatus 100 is used as a color measurement target, but an arbitrary image output from the image forming apparatus 100 can also be used as a color measurement target. For example, the image forming apparatus 100 can measure a part of the image while outputting the image, and adjust the output characteristics of the image forming apparatus in real time.

なお、上述した処理動作で使用した図9(c)は、図5に示した基準チャート部400の1次色(YMC)の基準パッチ列401および2次色(RGB)の基準パッチ列402の各パッチのL*a*b*値を、L*a*b*色空間上にプロットしたものである。図5に示した基準チャート部400は、撮像ユニット42の筐体421の内部に配置されるチャート板410上に形成されるため、基準チャート部400を構成するパッチの数が制限されることになる。このため、標準のパッチの中から選別した一部のパッチを用いて、図5に示した基準チャート部400を構成することになる。例えば、Japan Colorは928色あり、その928色の中から選択した一部(例えば72色)を用いて、図5に示す基準チャート部400を構成することになる。しかし、標準のパッチの中から選択された一部のパッチのみを用いて測色を行う場合、測色の精度の低下が懸念される。そこで、基準チャート部400を構成するパッチのRGB値から標準のパッチのRGB値を類推し、標準のパッチのRGB値を用いて測色対象のパッチ画像200の測色を行うことが望ましい。   Note that FIG. 9C used in the processing operation described above corresponds to the reference patch row 401 of the primary color (YMC) and the reference patch row 402 of the secondary color (RGB) of the reference chart portion 400 shown in FIG. The L * a * b * values of each patch are plotted on the L * a * b * color space. Since the reference chart unit 400 shown in FIG. 5 is formed on the chart plate 410 disposed inside the housing 421 of the imaging unit 42, the number of patches constituting the reference chart unit 400 is limited. Become. For this reason, the reference chart unit 400 shown in FIG. 5 is configured by using some of the patches selected from among the standard patches. For example, Japan Color has 928 colors, and a part (for example, 72 colors) selected from the 928 colors is used to constitute the reference chart portion 400 shown in FIG. However, when performing color measurement using only some of the patches selected from the standard patches, there is a concern that the accuracy of the color measurement may be reduced. Therefore, it is desirable to estimate the RGB values of the standard patch from the RGB values of the patch constituting the reference chart section 400, and measure the color of the patch image 200 to be measured using the RGB values of the standard patch.

具体的には、標準のパッチのL*a*b*値を記憶しておき、図12に示すように、センサ部430の撮像により得られた基準チャート部400の各パッチのRGB値を基に、標準の各パッチに対応するRGB値を特定し(ステップS0)、その特定した標準の各パッチのRGB値を基に、測色対象のパッチ画像200のRGB値を内包する4点の検索を行う(ステップS1’)。   Specifically, the L * a * b * values of the standard patches are stored, and as shown in FIG. 12, the RGB values of each patch of the reference chart section 400 obtained by the imaging of the sensor section 430 are Identify the RGB values corresponding to each standard patch (step S0), and search for four points including the RGB values of the patch image 200 to be measured based on the RGB values of each identified standard patch (Step S1 ').

図13に示すように、基準チャート部400の各パッチのRGB値(a)と、その基準チャート部400の各パッチのL*a*b*値(b)とは、変換式αで対応しているため(b=a×α)、基準チャート部400を構成する各パッチのRGB値を基に、変換式αを算出する。また、基準チャート部400の各パッチのL*a*b*値は、標準の各パッチのL*a*b*値の一部であるため、標準の各パッチのRGB値(A)と、標準の各パッチのL*a*b*値(B)とは、上記変換式αで対応することになる(B=A×α)。このため、上記算出した変換式αを基に、標準の各パッチのL*a*b*値に対応するRGB値を特定することができる。これにより、基準チャート部400の各パッチのRGB値を基に、標準の各パッチのL*a*b*値に対応するRGB値を特定することができる。   As shown in FIG. 13, the RGB value (a) of each patch of the reference chart unit 400 and the L * a * b * value (b) of each patch of the reference chart unit 400 correspond to each other by the conversion equation α. (B = a × α), the conversion equation α is calculated based on the RGB values of each patch constituting the reference chart unit 400. Also, since the L * a * b * values of each patch of the reference chart section 400 are a part of the L * a * b * values of each standard patch, the RGB values (A) of each standard patch are The L * a * b * value (B) of each standard patch corresponds to the above conversion equation α (B = A × α). For this reason, it is possible to specify RGB values corresponding to L * a * b * values of each standard patch based on the conversion formula α calculated above. Thereby, based on the RGB values of each patch of the reference chart unit 400, it is possible to specify the RGB value corresponding to the L * a * b * value of each standard patch.

次に、標準の各パッチのL*a*b*値に対応するXYZ値を基に、測定対象のパッチ画像200のRGB値を内包する4点のパッチに対応するXYZ値を検索する(ステップS2’)。   Next, based on XYZ values corresponding to L * a * b * values of each standard patch, search XYZ values corresponding to four patches including RGB values of patch image 200 to be measured (step S2 ').

次に、ステップS2’で検索した4点のパッチに対応するXYZ値を基に、線形変換マトリックスを算出し(ステップS3’)、その算出した線形変換マトリックスを基に、測定対象のパッチ画像200のRGB値をXYZ値に変換する(ステップS4’)。次に、ステップS4’で変換したXYZ値を上述した変換式を用いてL*a*b*値に変換する(ステップS5’)。これにより、標準の各パッチのRGB値やXYZ値を基に、測定対象のパッチ画像200のL*a*b*値を得ることができ、パッチ画像200の測色を高精度に行うことができる。なお、標準のパッチとしては、Japan Colorに限定されるものではなく、例えば米国で使用しているSWOPや欧州で使用しているEuro Press等の標準色を使用することも可能である。   Next, a linear transformation matrix is calculated based on the XYZ values corresponding to the four patches searched in step S2 '(step S3'), and a patch image 200 to be measured is calculated based on the calculated linear transformation matrix. Are converted to XYZ values (step S4 '). Next, the XYZ values converted in step S4 'are converted into L * a * b * values using the above-described conversion formula (step S5'). As a result, L * a * b * values of the patch image 200 to be measured can be obtained based on RGB values and XYZ values of each standard patch, and color measurement of the patch image 200 can be performed with high accuracy. it can. The standard patch is not limited to Japan Color, and it is also possible to use a standard color such as SWOP used in the United States or Euro Press used in Europe.

ところで、本実施形態に係る画像形成装置100は、記録媒体16上にドットマトリクスで画像を形成しており、YMCKなどのインクの重ね合わせにより所望の色を再現している。しかし、画像の位置ずれが存在すると、画像劣化が起こるとともに、上述したパッチ画像200から得られる測色値自体も変化してしまう。   By the way, the image forming apparatus 100 according to the present embodiment forms an image by a dot matrix on the recording medium 16, and reproduces a desired color by superposition of inks such as YMCK. However, when the positional deviation of the image exists, the image deterioration occurs and the colorimetric value itself obtained from the patch image 200 described above also changes.

記録媒体16上に形成した画像の位置ずれが原因で画像の色が変わっている場合に、インクの吐出量だけで画像の色を補正しようとすると、各インクの吐出量のバランスが崩れてしまい、良好な画像が得られなくなる。このため、パッチ画像200の測色を行う前に、画像の位置ずれを計測して補正することが望ましい。   When the color of the image is changed due to the positional deviation of the image formed on the recording medium 16, if the color of the image is to be corrected only by the discharge amount of ink, the balance of the discharge amounts of the inks is lost. , Good images can not be obtained. For this reason, it is desirable to measure and correct the positional deviation of the image before performing the colorimetry of the patch image 200.

<画像の位置ずれ計測方法>
次に、図14乃至図18を参照しながら、本実施形態に係る測色装置を用いた画像の位置ずれ計測方法の具体例について詳細に説明する。図14は、センサ部430が位置ずれ計測用の画像の一例であるテストパターン110と基準チャート部400とを同時に撮像することで得られる画像データの一例を示す図である。図15および図16は、画像の主走査位置ずれを計測する方法を説明する図である。図17は、画像の副走査位置ずれを計測する方法を説明する図である。図18は、センサ部430が位置ずれ計測用の画像の他の例であるテストパターン120と基準チャート部400とを同時に撮像することで得られる画像データの一例を示す図である。
<Method for measuring misalignment of image>
Next, with reference to FIG. 14 to FIG. 18, a specific example of the method for measuring the positional deviation of the image using the color measurement device according to the present embodiment will be described in detail. FIG. 14 is a diagram showing an example of image data obtained by the sensor unit 430 simultaneously imaging the test pattern 110 and the reference chart unit 400, which are an example of an image for measuring misalignment. FIG. 15 and FIG. 16 are diagrams for explaining the method of measuring the main scanning positional deviation of the image. FIG. 17 is a diagram for explaining a method of measuring the sub-scanning positional deviation of an image. FIG. 18 is a diagram showing an example of image data obtained by the sensor unit 430 simultaneously imaging the test pattern 120 and the reference chart unit 400 which are another example of the image for measurement of positional deviation.

画像の位置ずれ計測を行う場合は、まず、画像形成装置100が予め定められた位置ずれ計測用の画像であるテストパターン110を記録媒体16に形成する。そして、測色装置の撮像ユニット42が備えるセンサ部430により、記録媒体16に形成されたテストパターン110と基準チャート部400とを同時に撮像する。その結果、例えば図14に示すようなテストパターン110と基準チャート部400とを含む画像データが取得される。   In the case of measuring the positional deviation of an image, first, the image forming apparatus 100 forms a test pattern 110, which is an image for measuring the positional deviation, determined in advance on the recording medium 16. Then, the sensor unit 430 of the imaging unit 42 of the color measurement device simultaneously images the test pattern 110 and the reference chart unit 400 formed on the recording medium 16. As a result, for example, image data including the test pattern 110 and the reference chart unit 400 as shown in FIG. 14 is acquired.

センサ部430により撮像されたテストパターン110および基準チャート部400の画像データは、画像処理部45での処理が行われた後、撮像ユニット42からインターフェース部46を介して測色制御部50へと送られ、測色制御部50のフレームメモリ51に格納される。そして、演算部53の位置ずれ量算出部532が、フレームメモリ51に格納された画像データを読み出して、画像の位置ずれ計測を行う。   The test pattern 110 captured by the sensor unit 430 and the image data of the reference chart unit 400 are processed by the image processing unit 45, and then sent from the imaging unit 42 to the colorimetry control unit 50 via the interface unit 46. It is sent and stored in the frame memory 51 of the colorimetry control unit 50. Then, the displacement amount calculation unit 532 of the arithmetic unit 53 reads out the image data stored in the frame memory 51, and measures the displacement of the image.

図14に示すテストパターン110の下側の領域の縦線(実線)は、上流側の記録ヘッド6の主走査方向の相対的な位置ずれを計測するためのパターンである。また、テストパターン110の上側の領域の縦線(実線)は、下流側の記録ヘッド6の主走査方向の相対的な位置ずれを計測するためのパターンである。また、テストパターン110の中間の横線(実線)は、上流側の記録ヘッド6と下流側の記録ヘッド6との間の副走査方向の相対的な位置ずれを計測するためのパターンである。なお、図14に示す点線の縦線は、主走査方向の位置ずれがない場合に記録媒体16上に記録される理想的な縦線の位置を示し、実際には記録媒体16上に記録されない縦線である。   Vertical lines (solid lines) in the lower area of the test pattern 110 shown in FIG. 14 are patterns for measuring relative positional deviation in the main scanning direction of the recording head 6 on the upstream side. Further, vertical lines (solid lines) in the upper area of the test pattern 110 are patterns for measuring relative positional deviation in the main scanning direction of the recording head 6 on the downstream side. Further, a horizontal line (solid line) in the middle of the test pattern 110 is a pattern for measuring relative positional deviation in the sub scanning direction between the upstream recording head 6 and the downstream recording head 6. The dotted vertical lines shown in FIG. 14 indicate the positions of ideal vertical lines recorded on the recording medium 16 when there is no positional deviation in the main scanning direction, and are not actually recorded on the recording medium 16 It is a vertical line.

上流側の記録ヘッド6の主走査方向の相対的な位置ずれを計測する場合は、まず、センサ部430により撮像されたテストパターン110の画像データを用いて、記録ヘッド6から所定間隔αずつずらして記録媒体16上に実際に形成した縦線(実線)の間隔を計測し、その記録媒体16上に形成した実際の縦線の位置(実線)と、主走査方向の位置ずれがない場合に記録媒体16上に形成される理想的な縦線の位置(点線)との差分を主走査方向の位置ずれ量として算出する。なお、記録媒体16上に実際に形成した縦線(実線)の間隔は、最も左側に形成した黒の縦線を主走査位置ずれ計測用の基準線として計測する。   When measuring relative positional deviation in the main scanning direction of the recording head 6 on the upstream side, first, image data of the test pattern 110 captured by the sensor unit 430 is used to shift from the recording head 6 by a predetermined interval α Interval between the vertical lines (solid line) actually formed on the recording medium 16 and the position of the actual vertical line (solid line) formed on the recording medium 16 when there is no positional deviation in the main scanning direction The difference with the position (dotted line) of the ideal vertical line formed on the recording medium 16 is calculated as the amount of positional deviation in the main scanning direction. The distance between the vertical lines (solid line) actually formed on the recording medium 16 is measured as the black vertical line formed on the leftmost side as a reference line for measuring the main scanning positional deviation.

具体的には、図15に示すように、最も左側に形成した黒の1つ目の縦線を主走査位置ずれ計測用基準線とし、その基準線と、実際に形成した縦線との間隔(x1、x2、x3)を計測する。これにより、実際の縦線の位置を把握することができる。次に、実際の縦線の位置(実線)と、理想的な縦線の位置(点線)との差分(Δx1、Δx2、Δx3)を計測する。2つ目の実際の縦線の位置と理想的な縦線の位置との差分(Δx1)は、Δx1=x1−αで求めることができる。また、3つ目の実際の縦線の位置と理想的な縦線の位置との差分(Δx2)は、Δx2=x2−2αで求めることができる。また、3つ目の実際の縦線の位置と理想的な縦線の位置との差分(Δx3)は、Δx3=x3−3αで求めることができる。この差分(Δx1、Δx2、Δx3)が上流側の記録ヘッド6の主走査方向の相対的な位置ずれである。したがって、この差分(Δx1、Δx2、Δx3)を基に上流側の記録ヘッド6の主走査方向の位置ずれを補正すれば、記録媒体16上に実際に記録される縦線(実線)の位置が理想的な縦線(点線)の位置となる。   Specifically, as shown in FIG. 15, the first black vertical line formed on the left side is used as a reference line for measuring the main scanning positional deviation, and the distance between the reference line and the vertical line actually formed. Measure (x1, x2, x3). Thereby, the actual position of the vertical line can be grasped. Next, the difference (Δx1, Δx2, Δx3) between the actual vertical line position (solid line) and the ideal vertical line position (dotted line) is measured. The difference (Δx1) between the position of the second actual vertical line and the position of the ideal vertical line can be obtained by Δx1 = x1−α. Also, the difference (Δx2) between the third actual vertical line position and the ideal vertical line position can be obtained by Δx2 = x2−2α. Further, the difference (Δx3) between the position of the third actual vertical line and the position of the ideal vertical line can be obtained by Δx3 = x3−3α. This difference (Δx1, Δx2, Δx3) is the relative positional deviation in the main scanning direction of the recording head 6 on the upstream side. Therefore, if the positional deviation of the recording head 6 on the upstream side in the main scanning direction is corrected based on the difference (.DELTA.x1, .DELTA.x2, .DELTA.x3), the position of the vertical line (solid line) actually recorded on the recording medium 16 It becomes an ideal vertical line (dotted line) position.

また、下流側の記録ヘッド6の主走査方向の相対的な位置ずれを計測する場合は、上述した図15に示す方法を用いて行う。ただし、最も左側に形成した黒の1つ目の縦線の位置は、図16に示すように、主走査位置ずれ計測用基準線の位置とずれている場合がある。このため、最も左側に記録した黒の1つ目の縦線の位置と、主走査位置ずれ計測用基準線の位置との差分(Δx0)を求め、その差分(Δx0)で最も左側に形成した黒の1つ目の縦線の位置を、主走査位置ずれ計測用基準線の位置(理想位置)に補正した後で、図15に示す方法を用いて下流側の記録ヘッド6の主走査方向の相対的な位置ずれを計測し、主走査方向の位置ずれを補正する。   When the relative positional deviation in the main scanning direction of the recording head 6 on the downstream side is measured, the method shown in FIG. 15 described above is used. However, as shown in FIG. 16, the position of the first vertical line of black formed on the leftmost side may be shifted from the position of the reference line for measuring the main scanning position shift. Therefore, the difference (Δx0) between the position of the first black vertical line recorded on the left side and the position of the reference line for measuring the main scanning positional deviation is determined, and the difference (Δx0) is formed on the left side. After the position of the first black vertical line is corrected to the position (ideal position) of the reference line for measuring the main scanning positional deviation, the main scanning direction of the recording head 6 on the downstream side using the method shown in FIG. The relative displacement of the image is measured, and the displacement in the main scanning direction is corrected.

また、上流側の記録ヘッド6と下流側の記録ヘッド6との間の副走査方向のずれを計測する場合は、図14に示す中央の4本の横線を使用する。これら4本の横線のうち、下側の2本の横線は上流側の記録ヘッド6を用いて記録媒体16上に形成された線であり、上側の2本の横線は下流側の記録ヘッド6を用いて記録媒体16上に形成された線である。そして、図17に示すように、それぞれの横線の間の距離(β1、β2)を計測し、その差分(Δβ=β1−β2)を、上流側の記録ヘッド6と下流側の記録ヘッド6との間の副走査方向の位置ずれ量として算出する。この差分(Δβ)を基に、上流側の記録ヘッド6と下流側の記録ヘッド6との間の副走査方向の位置ずれを補正すれば、それぞれの横線の間の距離(β1、β2)が同じになる。   When the deviation in the sub scanning direction between the recording head 6 on the upstream side and the recording head 6 on the downstream side is measured, four central horizontal lines shown in FIG. 14 are used. Of these four horizontal lines, the lower two horizontal lines are lines formed on the recording medium 16 using the upstream recording head 6, and the upper two horizontal lines are the downstream recording head 6 Is a line formed on the recording medium 16 using Then, as shown in FIG. 17, the distances (.beta.1, .beta.2) between the respective horizontal lines are measured, and the difference (.DELTA..beta. =. Beta.1-.beta.2) is calculated by the upstream recording head 6 and the downstream recording head 6. It is calculated as the amount of positional deviation in the sub scanning direction between If the positional deviation in the sub scanning direction between the recording head 6 on the upstream side and the recording head 6 on the downstream side is corrected based on the difference (Δβ), the distances (β1, β2) between the respective horizontal lines become It will be the same.

なお、基準チャート部400の距離計測用ライン405による副走査距離基準線と主走査距離基準線とは絶対的な距離であるため、その副走査距離基準線と主走査距離基準線との絶対距離を予め計測して記憶しておき、基準チャート部400を撮像して得られる図14に示す副走査距離基準線と主走査距離基準線の画像上の距離と、記憶している副走査距離基準線と主走査距離基準線との絶対距離とを比較し、画像上の距離と絶対距離との相対比を算出し、上述した被写体撮像領域のテストパターン110から得られた位置ずれ量に相対比を乗算することで、実際の位置ずれ量を算出することができる。この実際の位置ずれ量を基に、位置ずれ補正を行うことで、高精度な位置ずれ補正を行うことができる。   Since the subscanning distance reference line by the distance measurement line 405 of the reference chart portion 400 and the main scanning distance reference line are absolute distances, the absolute distance between the subscanning distance reference line and the main scanning distance reference line Of the sub-scanning distance reference line and the main scanning distance reference line shown in FIG. 14 which are obtained by imaging the reference chart portion 400 in advance, and the stored sub-scanning distance reference The absolute distance between the line and the main scanning distance reference line is compared, the relative ratio between the distance on the image and the absolute distance is calculated, and the relative ratio to the displacement amount obtained from the test pattern 110 of the object imaging area described above The actual amount of positional deviation can be calculated by multiplying. By performing positional deviation correction based on the actual positional deviation amount, it is possible to perform positional deviation correction with high accuracy.

なお、上述した位置ずれ計測方法は、図14に示すようなラインパターンのテストパターン110を用いて画像の位置ずれ計測する方法である。しかし、画像の位置ずれを計測する方法は、上述した方法に限らず、様々な方法が考えられる。例えば、図18に示すようなドットパターンのテストパターン120を用いて、各記録ヘッド6間の幾何学的な位置ずれを計測することも可能である。   The above-mentioned positional deviation measurement method is a method of measuring positional deviation of an image using a test pattern 110 of a line pattern as shown in FIG. However, the method of measuring the positional deviation of the image is not limited to the method described above, and various methods can be considered. For example, it is also possible to measure the geometrical positional deviation between the recording heads 6 using a test pattern 120 of a dot pattern as shown in FIG.

図18に示すテストパターン120の場合は、第1の枠301内のドットを用いて、上流側の記録ヘッド6の主走査・副走査方向の位置ずれ量を算出することができる。また、第2の枠302内のドットを用いて、下流側の記録ヘッド6の主走査・副走査方向の位置ずれ量を算出することができる。また、第3の枠303内のドットを用いて、上流側の記録ヘッド6と下流側の記録ヘッド6との間の主走査・副走査方向の位置ずれ量を算出することができる。また、第4の枠304内のドットを用いて、キャリッジ5の往復動作による記録ヘッド6の主走査・副走査方向の位置ずれ量を算出することができる。   In the case of the test pattern 120 shown in FIG. 18, it is possible to calculate the amount of positional deviation in the main scanning and sub scanning directions of the recording head 6 on the upstream side using the dots in the first frame 301. Further, using the dots in the second frame 302, the amount of positional deviation in the main scanning and sub scanning directions of the recording head 6 on the downstream side can be calculated. Further, using the dots in the third frame 303, it is possible to calculate the amount of positional deviation in the main scanning and sub scanning directions between the upstream recording head 6 and the downstream recording head 6. Further, using the dots in the fourth frame 304, it is possible to calculate the amount of positional deviation in the main scanning and sub scanning directions of the recording head 6 due to the reciprocation of the carriage 5.

<画像のドット径計測方法>
次に、図19および図20を参照しながら、測色装置を用いた画像のドット径計測方法の具体例について詳細に説明する。図19は、センサ部430がドット径計測用の画像であるテストパターン130と基準チャート部400とを同時に撮像することで得られる画像データの一例を示す図である。図20は、テストパターン130に含まれるドット近傍の画像データからドット径を計測する方法を説明する図である。
<Method of measuring dot diameter of image>
Next, with reference to FIGS. 19 and 20, a specific example of the method of measuring the dot diameter of the image using the color measurement device will be described in detail. FIG. 19 is a view showing an example of image data obtained by the sensor unit 430 simultaneously imaging the test pattern 130 and the reference chart unit 400 which are images for dot diameter measurement. FIG. 20 is a view for explaining a method of measuring the dot diameter from the image data in the vicinity of the dot included in the test pattern 130.

画像のドット径の計測を行う場合は、まず、画像形成装置100が予め定められたドット径計測用の画像であるテストパターン130を記録媒体16に形成する。テストパターン130は、少なくとも1つのドット131を含む。そして、測色装置の撮像ユニット42が備えるセンサ部430により、記録媒体16に形成されたテストパターン130と基準チャート部400とを同時に撮像する。その結果、例えば図19に示すようなテストパターン130と基準チャート部400とを含む画像データが取得される。   When measuring the dot diameter of an image, the image forming apparatus 100 first forms a test pattern 130, which is an image for dot diameter measurement determined in advance, on the recording medium 16. The test pattern 130 includes at least one dot 131. Then, the test pattern 130 formed on the recording medium 16 and the reference chart unit 400 are simultaneously imaged by the sensor unit 430 provided in the imaging unit 42 of the color measurement device. As a result, for example, image data including the test pattern 130 and the reference chart unit 400 as shown in FIG. 19 is acquired.

センサ部430により撮像されたテストパターン130および基準チャート部400の画像データは、画像処理部45での処理が行われた後、撮像ユニット42からインターフェース部46を介して測色制御部50へと送られ、測色制御部50のフレームメモリ51に格納される。そして、演算部53のドット径算出部533が、フレームメモリ51に格納された画像データを読み出して、画像のドット径の計測を行う。   The test pattern 130 captured by the sensor unit 430 and the image data of the reference chart unit 400 are processed by the image processing unit 45, and then sent from the imaging unit 42 to the colorimetry control unit 50 via the interface unit 46. It is sent and stored in the frame memory 51 of the colorimetry control unit 50. Then, the dot diameter calculation unit 533 of the calculation unit 53 reads the image data stored in the frame memory 51 and measures the dot diameter of the image.

ドット径算出部533は、まず、フレームメモリ51から読み出した画像データから、基準チャート部400の距離計測用ライン(主走査・副走査距離基準線)405の四隅にあるチャート位置特定用マーカ407の位置を、パターンマッチング等により特定する。これにより、画像データにおける基準チャート部400の位置を特定することができる。基準チャート部400の位置を特定した後は、パターン列406を構成するドット径計測用パターンの位置を特定する。   From the image data read out from the frame memory 51, the dot diameter calculation unit 533 first generates chart position specifying markers 407 at four corners of the distance measurement line (main scanning / sub scanning distance reference line) 405 of the reference chart unit 400. The position is specified by pattern matching or the like. Thereby, the position of the reference chart part 400 in image data can be specified. After the position of the reference chart portion 400 is specified, the position of the dot diameter measurement pattern forming the pattern row 406 is specified.

次に、ドット径算出部533は、画像データに対する処理によって、テストパターン130に含まれるドット131と、基準チャート部400のパターン列406を構成する各ドット径計測用パターンとを比較し、パターン列406を構成するドット径計測用パターンの中から、テストパターン130に含まれるドット131と同じ大きさのドット径計測用パターンを特定して、画像形成装置100が記録媒体16に出力したドット131の大きさであるドット径を算出する。   Next, the dot diameter calculation unit 533 compares the dots 131 included in the test pattern 130 with each dot diameter measurement pattern constituting the pattern row 406 of the reference chart portion 400 by processing on the image data, The dot diameter measurement pattern having the same size as that of the dots 131 included in the test pattern 130 is specified from the dot diameter measurement patterns constituting the 406, and the dots of the dots 131 output to the recording medium 16 by the image forming apparatus 100. Calculate the dot diameter which is the size.

図20(a)は、テストパターン130に含まれるドット131近傍の画素を表し、図20(b)は、ドット131近傍の画素の値を表している。例えば、図20(a)に示すX軸方向のある一列のラインAを抜き出し、その一列のラインAを構成する各画素の値を直線で結んでいくと、図20(c)に示すセンサ出力値のグラフを得ることができる。ここで、予め定めた閾値を用いて、その閾値を超えるセンサ出力値を検出すると、2つの交点a,bを得ることができる。この2点a,b間の距離を算出することで、ラインAにおけるドット131の大きさを特定することができる。ドット131は、被写体撮像領域のどの領域で検出されるか分からないため、上記のX軸方向におけるドット131の大きさの特定処理をY軸方向に対して全て行う。そして、上記の処理により得られた2点間の距離の中で最も大きな2点間の距離を、X軸方向におけるドット131の大きさとする。   FIG. 20A shows pixels in the vicinity of the dot 131 included in the test pattern 130, and FIG. 20B shows values of pixels in the vicinity of the dot 131. For example, when a row A of lines A in the X-axis direction shown in FIG. 20A is extracted and the values of pixels forming the row A of lines are connected by a straight line, the sensor output shown in FIG. You can get a graph of the values. Here, when a sensor output value exceeding the threshold is detected using a predetermined threshold, two intersection points a and b can be obtained. By calculating the distance between the two points a and b, the size of the dot 131 in the line A can be specified. Since it is not known in which area of the subject imaging area the dot 131 is detected, the above-described process of specifying the size of the dot 131 in the X axis direction is all performed in the Y axis direction. Then, the distance between the largest two points among the distances between the two points obtained by the above processing is taken as the size of the dot 131 in the X-axis direction.

同様に、例えば、図20(a)に示すY軸方向のある一列のラインBを抜き出し、その一列のラインBを構成する各画素の値を直線で結んでいくと、図20(d)に示すセンサ出力値のグラフを得ることができる。ここで、上記と同様の予め定めた閾値を用いて、その閾値を超えるセンサ出力値を検出すると、2つの交点c,dを得ることができる。この2点c,d間の距離を算出することで、ラインBにおけるドット131の大きさを特定することができる。ドット131は、被写体撮像領域のどの領域で検出されるか分からないため、上記のY軸方向のドット131の大きさの特定処理をX軸方向に対して全て行う。そして、上記の処理により得られた2点間の距離の中で最も大きな2点間の距離を、Y軸方向におけるドット131の大きさとする。   Similarly, for example, when one row of line B in the Y-axis direction shown in FIG. 20A is extracted, and the values of pixels forming the one row of line B are connected by a straight line, it is shown in FIG. A graph of the sensor output values shown can be obtained. Here, when a sensor output value exceeding the threshold is detected using the same predetermined threshold as described above, two intersection points c and d can be obtained. The size of the dot 131 in the line B can be specified by calculating the distance between the two points c and d. Since it is not known in which area of the subject imaging area the dot 131 is detected, the above-described process of specifying the size of the dot 131 in the Y axis direction is all performed in the X axis direction. Then, the distance between the largest two points among the distances between the two points obtained by the above processing is taken as the size of the dot 131 in the Y-axis direction.

以上により、テストパターン130に含まれるドット131のX軸方向における大きさおよびY軸方向における大きさを特定でき、センサ部430が撮像した画像におけるドット131の相対的な大きさを特定することができる。なお、図20に示した例では、センサ出力値に対する閾値を180としているが、この値はあくまで一例であり、ドット131のエッジ部分を精度良く抽出できる最適な閾値を用いればよい。   As described above, the size in the X axis direction and the size in the Y axis direction of the dots 131 included in the test pattern 130 can be specified, and the relative size of the dots 131 in the image captured by the sensor unit 430 can be specified. it can. In the example shown in FIG. 20, the threshold value for the sensor output value is 180, but this value is merely an example, and an optimal threshold value that can accurately extract the edge portion of the dot 131 may be used.

以上の処理により得られたドット131の大きさは、センサ部430が撮像した画像におけるドット131の相対的な大きさである。このドット131の相対的な大きさを、画像形成装置100が記録媒体16に出力したドット131の絶対的な大きさであるドット径に置き換えるために、テストパターン130と同時に撮像された基準パターン400に含まれるドット計測用パターン列406を用いる。すなわち、ドット計測用パターン列406を構成する各ドット径計測用パターンのうち、上述した処理により得られたドット131の相対的な大きさに最も近い大きさを持つドット径計測用パターンを特定する。ここで、ドット計測用パターン列406を構成する各ドット径計測用パターンに対応するドット径は予め測定され、記憶されている。したがって、上述した処理により得られたドット131の相対的な大きさに最も近い大きさを持つドット径計測用パターンを特定することで、画像形成装置100が記録媒体16に出力したドット131の絶対的な大きさであるドット径を算出することができる。   The size of the dot 131 obtained by the above processing is the relative size of the dot 131 in the image captured by the sensor unit 430. A reference pattern 400 captured at the same time as the test pattern 130 in order to replace the relative size of the dot 131 with the dot diameter which is the absolute size of the dot 131 output to the recording medium 16 by the image forming apparatus 100. The dot measurement pattern sequence 406 included in FIG. That is, among the dot diameter measurement patterns constituting the dot measurement pattern sequence 406, the dot diameter measurement pattern having the size closest to the relative size of the dots 131 obtained by the above-described processing is specified. . Here, the dot diameter corresponding to each dot diameter measurement pattern constituting the dot measurement pattern sequence 406 is measured in advance and stored. Therefore, by specifying the dot diameter measurement pattern having the size closest to the relative size of the dots 131 obtained by the above-described processing, the absolute value of the dots 131 output to the recording medium 16 by the image forming apparatus 100 can be obtained. It is possible to calculate the dot diameter which is a certain size.

<撮像ユニットの変形例>
次に、撮像ユニット42の変形例について説明する。以下では、第1変形例の撮像ユニット42を撮像ユニット42Aと表記し、第2変形例の撮像ユニット42を撮像ユニット42Bと表記し、第3変形例の撮像ユニット42を撮像ユニット42Cと表記し、第4変形例の撮像ユニット42を撮像ユニット42Dと表記し、第5変形例の撮像ユニット42を撮像ユニット42Eと表記し、第6変形例の撮像ユニット42を撮像ユニット42Fと表記する。なお、各変形例において、上述した撮像ユニット42と共通の構成要素には同一の符号を付し、重複した説明を省略する。
<Modification of Imaging Unit>
Next, a modification of the imaging unit 42 will be described. Hereinafter, the imaging unit 42 of the first modification is described as an imaging unit 42A, the imaging unit 42 of the second modification is described as an imaging unit 42B, and the imaging unit 42 of the third modification is described as an imaging unit 42C. The imaging unit 42 of the fourth modification is described as an imaging unit 42D, the imaging unit 42 of the fifth modification is described as an imaging unit 42E, and the imaging unit 42 of the sixth modification is described as an imaging unit 42F. In addition, in each modification, the same code | symbol is attached | subjected to the same component as the imaging unit 42 mentioned above, and the overlapping description is abbreviate | omitted.

<第1変形例>
図21は、第1変形例の撮像ユニット42Aの縦断面図であり、図4−1に示した撮像ユニット42の縦断面図と同じ位置の断面図である。
First Modified Example
FIG. 21 is a longitudinal sectional view of the imaging unit 42A of the first modified example, and is a sectional view at the same position as the longitudinal sectional view of the imaging unit 42 shown in FIG.

第1変形例の撮像ユニット42Aでは、筐体421の底面部421aに、パッチ画像200を撮像するための開口部425とは別の開口部427が設けられている。そして、この開口部427を筐体421の外側から閉塞するように、チャート板410が配置されている。つまり、上述した撮像ユニット42では、チャート板410が筐体421の底面部421aのセンサ部430と対向する内面側に配置されていたのに対して、第1変形例の撮像ユニット42Aでは、チャート板410が筐体421の底面部421aの記録媒体16と対向する外面側に配置されている。   In the imaging unit 42A of the first modification, the bottom surface 421a of the housing 421 is provided with an opening 427 different from the opening 425 for capturing the patch image 200. And the chart board 410 is arrange | positioned so that this opening part 427 may be obstruct | occluded from the outer side of the housing | casing 421. As shown in FIG. That is, in the imaging unit 42 described above, the chart plate 410 is disposed on the inner surface side facing the sensor unit 430 of the bottom surface portion 421a of the housing 421, but in the imaging unit 42A of the first modification A plate 410 is disposed on the outer surface of the bottom surface 421 a of the housing 421 facing the recording medium 16.

具体的には、例えば、筐体421の底面部421aの外面側に、チャート板410の厚みに相当する深さの凹部が、開口部427と連通するように形成されている。そして、この凹部内に、チャート板410が、基準チャート部400が形成された面をセンサ部430側に向けて配置されている。チャート板410は、例えば、その端部が開口部427の端縁近傍にて接着剤などにより筐体421の底面部421aに接合され、筐体421と一体化されている。   Specifically, for example, a recess with a depth corresponding to the thickness of the chart plate 410 is formed on the outer surface side of the bottom surface 421 a of the housing 421 so as to communicate with the opening 427. Then, the chart plate 410 is disposed in the recess with the surface on which the reference chart portion 400 is formed facing the sensor portion 430 side. For example, the end of the chart plate 410 is bonded to the bottom surface 421 a of the housing 421 with an adhesive or the like near the edge of the opening 427, and is integrated with the housing 421.

以上のように構成される第1変形例の撮像ユニット42Aでは、基準チャート部400が形成されたチャート板410を筐体421の底面部421aの外面側に配置することにより、上述した撮像ユニット42に比べて、センサ部430からパッチ画像200までの光路長とセンサ部430から基準チャート部400までの光路長との差が小さくなる。したがって、センサ部430の被写界深度が比較的浅い場合でも、パッチ画像200と基準チャート部400との双方に焦点の合った画像を撮像することができる。   In the imaging unit 42A of the first modification configured as described above, the imaging unit 42 described above is disposed by arranging the chart plate 410 on which the reference chart portion 400 is formed on the outer surface side of the bottom surface portion 421a of the housing 421. In this case, the difference between the optical path length from the sensor unit 430 to the patch image 200 and the optical path length from the sensor unit 430 to the reference chart unit 400 is smaller. Therefore, even when the depth of field of the sensor unit 430 is relatively shallow, an image focused on both the patch image 200 and the reference chart unit 400 can be captured.

<第2変形例>
図22は、第2変形例の撮像ユニット42Bの縦断面図であり、図4−1に示した撮像ユニット42の縦断面図と同じ位置の断面図である。
Second Modified Example
FIG. 22 is a longitudinal sectional view of an imaging unit 42B of the second modified example, and is a sectional view at the same position as the longitudinal sectional view of the imaging unit 42 shown in FIG.

第2変形例の撮像ユニット42Bでは、第1変形例の撮像ユニット42Aと同様に、筐体421の底面部421aの外面側にチャート板410が配置されている。ただし、第1変形例の撮像ユニット42Aでは、チャート板410が接着剤などによって筐体421の底面部421aに接合され、筐体421と一体化されていたのに対して、第2変形例の撮像ユニット42Bでは、チャート板410が筐体421に対して着脱可能に保持されている。   In the imaging unit 42B of the second modification, as in the imaging unit 42A of the first modification, the chart plate 410 is disposed on the outer surface side of the bottom surface 421a of the housing 421. However, in the imaging unit 42A of the first modification, the chart plate 410 is joined to the bottom surface portion 421a of the housing 421 with an adhesive or the like and integrated with the housing 421, but the second modification In the imaging unit 42 </ b> B, the chart plate 410 is detachably held to the housing 421.

具体的には、例えば、第1変形例の撮像ユニット42Aと同様に、筐体421の底面部421aの外面側に開口部427と連通する凹部が形成され、この凹部内にチャート板410が配置されている。また、第2変形例の撮像ユニット42Bは、凹部内に配置されたチャート板410を筐体421の底面部421aの外面側から押さえ込んで保持する保持部材428を備える。保持部材428は、筐体421の底面部421aに対して取り外し可能に装着されている。したがって、第2変形例の撮像ユニット42Bでは、保持部材428を筐体421の底面部421aから取り外すことにより、チャート板410を取り出すことができる。   Specifically, for example, similarly to the imaging unit 42A of the first modification, a recess communicating with the opening 427 is formed on the outer surface side of the bottom surface 421a of the housing 421, and the chart plate 410 is disposed in the recess It is done. In addition, the imaging unit 42B of the second modified example includes a holding member 428 that holds the chart plate 410 disposed in the concave portion from the outer surface side of the bottom surface 421a of the housing 421. The holding member 428 is removably attached to the bottom surface 421 a of the housing 421. Therefore, in the imaging unit 42B of the second modified example, the chart plate 410 can be taken out by removing the holding member 428 from the bottom surface portion 421a of the housing 421.

以上のように、第2変形例の撮像ユニット42Bでは、チャート板410が筐体421に対して着脱可能に保持され、チャート板410を取り出すことができるので、基準チャート部400の汚れなどによりチャート板410が劣化した場合に、チャート板410を交換する作業を簡単に行うことができる。また、上述したシェーディング補正部452が照明光源426による照度ムラを補正するためのシェーディングデータを得る際に、チャート板410を取り出して代わりに白基準板を配置し、この白基準板をセンサ部430で撮像すれば、シェーディングデータの取得を簡便に行うことができる。   As described above, in the imaging unit 42B of the second modified example, the chart plate 410 is detachably held to the housing 421, and the chart plate 410 can be taken out. When the plate 410 is deteriorated, the operation of replacing the chart plate 410 can be easily performed. In addition, when the shading correction unit 452 described above obtains shading data for correcting uneven illumination by the illumination light source 426, the chart plate 410 is taken out and a white reference plate is disposed instead, and the white reference plate is used as the sensor unit 430. If imaging is performed, it is possible to easily obtain shading data.

<第3変形例>
図23は、第3変形例の撮像ユニット42Cの縦断面図であり、図4−1に示した撮像ユニット42の縦断面図と同じ位置の断面図である。
Third Modified Example
FIG. 23 is a longitudinal sectional view of an imaging unit 42C of the third modified example, and is a sectional view at the same position as the longitudinal sectional view of the imaging unit 42 shown in FIG.

第3変形例の撮像ユニット42Cでは、筐体421に、底面部421aから側壁に亘って大きく開口する開口部425Cが設けられており、この開口部425Cを介してパッチ画像200の撮像を行う。すなわち、上述した撮像ユニット42では、測色対象のパッチ画像200に向かう外光を筐体421により遮断して、パッチ画像200が照明光源426からの照明光のみによって照明されるようにするために、パッチ画像200を撮像するための開口部425を、筐体421の底面部421aのみで開口するように設けていた。これに対して、第3変形例の撮像ユニット42Cは、外光の入り込まない環境に配置されることを前提として、筐体421の底面部421aから側壁に亘って大きく開口する開口部425Cが設けられている。   In the imaging unit 42C of the third modified example, an opening 425C that largely opens from the bottom surface 421a to the side wall is provided in the housing 421, and imaging of the patch image 200 is performed via the opening 425C. That is, in the imaging unit 42 described above, external light traveling toward the patch image 200 to be measured is blocked by the housing 421 so that the patch image 200 is illuminated only by the illumination light from the illumination light source 426. The opening 425 for capturing the patch image 200 is provided so as to open only at the bottom surface 421 a of the housing 421. On the other hand, on the premise that the imaging unit 42C of the third modification is disposed in an environment where outside light does not enter, an opening 425C is provided which opens wide from the bottom surface 421a of the housing 421 to the side wall. It is done.

例えば、図1に示したように、カバー部材2を閉じた状態の外装体1は、その内部を外光の入り込まない環境とすることができる。撮像ユニット42Cは、外装体1の内部に配置されたキャリッジ5に搭載されるので、外光の入り込まない環境に配置することができる。したがって、筐体421の底面部421aから側壁に亘って大きく開口する開口部425Cを設けた構成であっても、照明光源426からの照明光のみによってパッチ画像200を照明することができる。   For example, as shown in FIG. 1, the exterior body 1 in the state in which the cover member 2 is closed can be set as an environment in which outside light does not enter. Since the imaging unit 42C is mounted on the carriage 5 disposed inside the exterior body 1, the imaging unit 42C can be disposed in an environment where outside light does not enter. Therefore, even in the configuration in which the opening 425C that opens wide from the bottom surface 421a to the side wall of the housing 421 is provided, the patch image 200 can be illuminated only by the illumination light from the illumination light source 426.

以上のように、第3変形例の撮像ユニット42Cは、底面部421aから側壁に亘って大きく開口する開口部425Cが設けられているので、筐体421を軽量化することができ、消費電力の削減を図ることができる。   As described above, since the imaging unit 42C of the third modification is provided with the opening 425C that opens wide from the bottom surface 421a to the side wall, the weight of the housing 421 can be reduced, and power consumption can be reduced. It is possible to reduce.

<第4変形例>
図24−1は、第4変形例の撮像ユニット42Dの縦断面図であり、図4−1に示した撮像ユニット42の縦断面図と同じ位置の断面図である。また、図24−2は、筐体421の底面部421aを図24−1中のX3方向から見た平面図である。なお、図24−2では、筐体421の底面部421aにおける照明光源426の垂直投影位置(底面部421aに対して垂直に見下ろしたときに投影される位置)を破線で示している。
Fourth Modified Example
FIG. 24A is a longitudinal cross-sectional view of an imaging unit 42D of the fourth modified example, and is a cross-sectional view at the same position as the longitudinal cross-sectional view of the imaging unit 42 shown in FIG. 24-2 is a plan view of the bottom surface 421a of the housing 421 as viewed in the X3 direction in FIG. 24-1. In FIG. 24B, a vertical projection position of the illumination light source 426 (a position projected when looking down perpendicularly to the bottom surface 421a) on the bottom surface 421a of the housing 421 is indicated by a broken line.

第4変形例の撮像ユニット42Dでは、筐体421の底面部421aにおいて、センサ部430から該底面部421aに対して垂直に下ろした垂線上(つまり、センサ部430の光軸中心)に位置して開口部425Dが設けられ、この開口部425Dを介して被写体(パッチ画像200)の撮像を行う。すなわち、第4変形例の撮像ユニット42Dでは、筐体421の外部の被写体(パッチ画像200)を撮像するための開口部425Dが、センサ部430の撮像範囲において略中心に位置するように設けられている。   In the imaging unit 42D of the fourth modification, the bottom surface 421a of the housing 421 is positioned on a perpendicular line (that is, the center of the optical axis of the sensor unit 430) drawn vertically from the sensor unit 430 to the bottom surface 421a. An opening 425D is provided, and imaging of the subject (patch image 200) is performed through the opening 425D. That is, in the imaging unit 42D of the fourth modification, an opening 425D for imaging a subject (patch image 200) outside the housing 421 is provided to be positioned substantially at the center of the imaging range of the sensor unit 430. ing.

また、第4変形例の撮像ユニット42Dでは、基準チャート部400が形成されたチャート板410Dが、開口部425Dの周囲を取り囲むように、筐体421の底面部421aに配置されている。例えば、チャート板410Dは、開口部425Dを中心とする円環状に形成され、基準チャート部400が形成された面とは逆側の面を接着面として、筐体421の底面部421aの内面側に接着材などにより接着され、筐体421に対して固定された状態で保持されている。   Further, in the imaging unit 42D of the fourth modified example, the chart plate 410D in which the reference chart portion 400 is formed is disposed on the bottom surface portion 421a of the housing 421 so as to surround the opening 425D. For example, the chart plate 410D is formed in an annular shape centering on the opening 425D, and the inner surface side of the bottom surface 421a of the housing 421 is a bonding surface with the surface opposite to the surface on which the reference chart 400 is formed. And is held in a fixed state with respect to the housing 421.

また、第4変形例の撮像ユニット42Dでは、照明光源426として、筐体421の側壁を構成する枠体422の内周側の4隅に配置された4つのLEDを用いる。照明光源426として用いるこれら4つのLEDは、例えば、センサ部430の2次元イメージセンサ431とともに、基板423の内面に実装されている。照明光源426として用いる4つのLEDをこのように配置することにより、被写体(パッチ画像200)と基準チャート部400とを、概ね同一の条件にて照明することができる。   Moreover, in imaging unit 42D of a 4th modification, four LED arrange | positioned at the four corners of the inner peripheral side of the frame 422 which comprises the side wall of the housing | casing 421 as an illumination light source 426 is used. These four LEDs used as the illumination light source 426 are mounted on the inner surface of the substrate 423 together with the two-dimensional image sensor 431 of the sensor unit 430, for example. By arranging the four LEDs used as the illumination light source 426 in this manner, the subject (patch image 200) and the reference chart portion 400 can be illuminated under substantially the same conditions.

以上のように構成される第4変形例の撮像ユニット42Dでは、筐体421の外部の被写体(パッチ画像200)を撮像するための開口部425Dを、筐体421の底面部421aにおけるセンサ部430からの垂線上に設け、さらにその開口部425Dの周囲を取り囲むように、基準チャート部400が形成されたチャート板410Dを配置しているので、被写体(パッチ画像200)および基準チャート部400の撮像を適切に行うことができる。   In the imaging unit 42D of the fourth modification configured as described above, an opening 425D for capturing an object (patch image 200) outside the housing 421 is a sensor section 430 in the bottom surface 421a of the housing 421. And the chart plate 410D on which the reference chart portion 400 is formed so as to surround the opening 425D, the subject (patch image 200) and the reference chart portion 400 are captured. You can do it properly.

<第5変形例>
図25は、第5変形例の撮像ユニット42Eの縦断面図であり、図4−1に示した撮像ユニット42の縦断面図と同じ位置の断面図である。
Fifth Modified Example
FIG. 25 is a longitudinal cross-sectional view of an imaging unit 42E of the fifth modified example, and is a cross-sectional view at the same position as the longitudinal cross-sectional view of the imaging unit 42 shown in FIG.

第5変形例の撮像ユニット42Eでは、第4変形例の撮像ユニット42Dと同様に、照明光源426として、枠体422の内周側の4隅に配置された4つのLEDを用いる。ただし、第5変形例の撮像ユニット42Eでは、被写体(パッチ画像200)や基準チャート部400で正反射される正反射光がセンサ部430の2次元イメージセンサ431に入射しないように、照明光源426として用いるこれら4つのLEDを、第4変形例の撮像ユニット42Dと比べて、より筐体421の底面部421aに近い位置に配置している。   Similar to the imaging unit 42D of the fourth modification, the imaging unit 42E of the fifth modification uses four LEDs arranged at four corners on the inner peripheral side of the frame 422 as the illumination light source 426. However, in the imaging unit 42E of the fifth modified example, the illumination light source 426 so that the subject (patch image 200) and the regular reflection light specularly reflected by the reference chart unit 400 do not enter the two-dimensional image sensor 431 of the sensor unit 430. These four LEDs used as are arranged at a position closer to the bottom surface portion 421a of the housing 421 as compared with the imaging unit 42D of the fourth modified example.

センサ部430の2次元イメージセンサ431のセンサ面において、照明光源426の正反射光が入射する位置は、画素値が飽和するために正確な情報が得られない場合がある。このため、被写体(パッチ画像200)や基準チャート部400で正反射される正反射光がセンサ部430の2次元イメージセンサ431に入射する位置に照明光源426が配置されていると、被写体(パッチ画像200)の測色に必要な情報が得られなくなることが懸念される。そこで、第5変形例の撮像ユニット42Eでは、図25に示すように、照明光源426として用いるこれら4つのLEDを筐体421の底面部421aに近い位置に配置することで、被写体(パッチ画像200)や基準チャート部400で正反射される正反射光がセンサ部430の2次元イメージセンサ431に入射しないようにしている。なお、図25中の一点鎖線の矢印は、正反射光の光路をイメージしたものである。   In the sensor surface of the two-dimensional image sensor 431 of the sensor unit 430, there may be a case where accurate information can not be obtained because the pixel value is saturated at the position where specular light of the illumination light source 426 is incident. Therefore, when the illumination light source 426 is disposed at a position where the regular reflection light specularly reflected by the subject (patch image 200) or the reference chart unit 400 enters the two-dimensional image sensor 431 of the sensor unit 430, the subject (patch There is a concern that the information necessary for the colorimetry of the image 200) can not be obtained. Therefore, in the imaging unit 42E according to the fifth modification, as shown in FIG. 25, the four LEDs used as the illumination light source 426 are disposed at a position close to the bottom surface portion 421a of the housing 421 to obtain a subject (patch image 200). And regular reflected light that is specularly reflected by the reference chart unit 400 is not incident on the two-dimensional image sensor 431 of the sensor unit 430. In addition, the arrow of the dashed-dotted line in FIG. 25 is an image of the optical path of regular reflection light.

以上のように、第5変形例の撮像ユニット42Eでは、被写体(パッチ画像200)や基準チャート部400で正反射される正反射光がセンサ部430の2次元イメージセンサ431に入射しない位置に照明光源426を配置しているので、2次元イメージセンサ431のセンサ面において被写体(パッチ画像200)や基準チャート部400の光学像が結像する位置の画素値が飽和することを有効に抑制し、基準チャート部400が形成されたチャート板410Dを配置しているので、被写体(パッチ画像200)および基準チャート部400の撮像を適切に行うことができる。   As described above, in the imaging unit 42E of the fifth modification, illumination is performed at a position where the subject (patch image 200) or the specularly reflected light specularly reflected by the reference chart unit 400 does not enter the two-dimensional image sensor 431 of the sensor unit 430. Since the light source 426 is disposed, saturation of the pixel value at the position where the optical image of the subject (patch image 200) or the reference chart unit 400 is formed on the sensor surface of the two-dimensional image sensor 431 is effectively suppressed. Since the chart board 410D on which the reference chart portion 400 is formed is disposed, the subject (patch image 200) and the reference chart portion 400 can be appropriately imaged.

なお、第5変形例の撮像ユニット42Eでは、第4変形例の撮像ユニット42Dと同様の開口部425Dやチャート板410Dを有する構成において、被写体(パッチ画像200)や基準チャート部400で正反射される正反射光がセンサ部430の2次元イメージセンサ431に入射しない位置に照明光源426を配置する例を説明した。ただし、上述した撮像ユニット42、第1変形例の撮像ユニット42A、第2変形例の撮像ユニット42B、第3変形例の撮像ユニット42Cの構成において、被写体(パッチ画像200)や基準チャート部400で正反射される正反射光がセンサ部430の2次元イメージセンサ431に入射しない位置に照明光源426を配置するようにしてもよい。この場合も、第5変形例の撮像ユニット42Eと同様の効果を得ることができる。   In the imaging unit 42E of the fifth modification, in the configuration having the opening 425D and the chart plate 410D similar to the imaging unit 42D of the fourth modification, the object (patch image 200) and the reference chart portion 400 are specularly reflected. The example which arrange | positions the illumination light source 426 in the position which the regular reflection light does not inject into the two-dimensional image sensor 431 of the sensor part 430 was demonstrated. However, in the configuration of the imaging unit 42 described above, the imaging unit 42A of the first modification, the imaging unit 42B of the second modification, and the imaging unit 42C of the third modification, the subject (patch image 200) and the reference chart unit 400 The illumination light source 426 may be disposed at a position where the specularly reflected light that is specularly reflected does not enter the two-dimensional image sensor 431 of the sensor unit 430. Also in this case, the same effect as the imaging unit 42E of the fifth modification can be obtained.

<第6変形例>
図26は、第6変形例の撮像ユニット42Fの縦断面図であり、図4−1に示した撮像ユニット42の縦断面図と同じ位置の断面図である。
<Sixth Modified Example>
FIG. 26 is a longitudinal sectional view of an imaging unit 42F of the sixth modification, and is a sectional view at the same position as the longitudinal sectional view of the imaging unit 42 shown in FIG.

第6変形例の撮像ユニット42Fでは、筐体421の内部に、光路長変更部材440が配置されている。光路長変更部材440は、光を透過する屈折率n(nは任意の数)の光学素子である。光路長変更部材440は、筐体421の外部の被写体(パッチ画像200)とセンサ部430との間の光路中に配置され、被写体(パッチ画像200)の光学像の結像面を基準チャート部400の光学像の結像面に近づける機能を持つ。つまり、第6変形例の撮像ユニット42Fでは、被写体(パッチ画像200)とセンサ部430との間の光路中に光路長変更部材440を配置することによって、筐体421の外部の被写体(パッチ画像200)の光学像の結像面と、筐体421の内部の基準チャート部400の結像面とを、ともにセンサ部430の2次元イメージセンサ431のセンサ面に合わせるようにしている。なお、図26では、光路長変更部材440を筐体421の底面部421a上に載置した例を図示しているが、光路長変更部材440は必ずしも底面部421a上に載置する必要はなく、筐体421の外部の被写体(パッチ画像200)とセンサ部430との間の光路中に配置されていればよい。   In the imaging unit 42F of the sixth modification, an optical path length changing member 440 is disposed inside the housing 421. The optical path length changing member 440 is an optical element having a refractive index n (n is an arbitrary number) that transmits light. The optical path length changing member 440 is disposed in the optical path between the subject (patch image 200) outside the housing 421 and the sensor unit 430, and the image forming surface of the optical image of the subject (patch image 200) It has a function to bring it close to the imaging plane of the optical image of 400. That is, in the imaging unit 42F according to the sixth modification, the optical path length changing member 440 is disposed in the optical path between the subject (patch image 200) and the sensor unit 430, so that the subject outside the casing 421 (patch image The image forming plane of the optical image of 200) and the image forming plane of the reference chart unit 400 inside the housing 421 are both aligned with the sensor plane of the two-dimensional image sensor 431 of the sensor unit 430. Although FIG. 26 illustrates an example in which the optical path length changing member 440 is mounted on the bottom surface portion 421a of the housing 421, the optical path length changing member 440 is not necessarily mounted on the bottom surface portion 421a. The sensor unit 430 may be disposed in the optical path between the subject (patch image 200) outside the housing 421 and the sensor unit 430.

光路長変更部材440を光が通過すると、光路長変更部材440の屈折率nに応じて光路長が延び、画像が浮き上がって見える。画像の浮上がり量Cは、光路長変更部材440の光軸方向の長さをLpとすると、以下の式で求めることができる。
C=Lp(1−1/n)
When light passes through the optical path length changing member 440, the optical path length is extended according to the refractive index n of the optical path length changing member 440, and the image appears to be floating. Assuming that the length in the optical axis direction of the optical path length changing member 440 is Lp, the floating amount C of the image can be obtained by the following equation.
C = Lp (1-1 / n)

また、センサ部430の結像レンズ432の主点と基準チャート部400との間の距離をLcとすると、結像レンズ432の主点と光路長変更部材440を透過する光学像の前側焦点面(撮像面)との間の距離Lは、以下の式で求めることができる。
L=Lc+Lp(1−1/n)
In addition, assuming that the distance between the principal point of the imaging lens 432 of the sensor unit 430 and the reference chart unit 400 is Lc, the front focal plane of the optical image transmitted through the principal point of the imaging lens 432 and the optical path length changing member 440 The distance L to the (imaging plane) can be obtained by the following equation.
L = Lc + Lp (1-1 / n)

ここで、光路長変更部材440の屈折率nを1.5とした場合、L=Lc+Lp(1/3)となり、光路長変更部材440を透過する光学像の光路長を光路長変更部材440の光軸方向の長さLpの約1/3だけ長くすることができる。この場合、例えばLp=9[mm]とすれば、L=Lc+3[mm]となるので、センサ部430から基準チャート部400までの距離と被写体(パッチ画像200)までの距離との差が3mmとなる状態で撮像すれば、基準チャート部400の光学像の後側焦点面(結像面)と、被写体(パッチ画像200)の光学像の後側焦点面(結像面)とを、ともにセンサ部430の2次元イメージセンサ431のセンサ面に合わせることができる。   Here, when the refractive index n of the optical path length changing member 440 is 1.5, L = Lc + Lp (1/3), and the optical path length of the optical image transmitted through the optical path length changing member 440 It can be increased by about 1/3 of the length Lp in the optical axis direction. In this case, if Lp = 9 [mm], for example, L = Lc + 3 [mm], so the difference between the distance from the sensor unit 430 to the reference chart unit 400 and the distance to the subject (patch image 200) is 3 mm. If imaging is performed in this state, both the back focal plane (imaging plane) of the optical image of the reference chart portion 400 and the back focal plane (imaging plane) of the optical image of the object (patch image 200) are The sensor surface of the two-dimensional image sensor 431 of the sensor unit 430 can be matched.

以上のように構成される第6変形例の撮像ユニット42Fでは、被写体(パッチ画像200)とセンサ部430との間の光路中に光路長変更部材440を配置することで、被写体(パッチ画像200)の光学像の結像面を基準チャート部400の光学像の結像面に近づけるようにしているので、被写体(パッチ画像200)と基準チャート部400の双方に焦点の合った適切な画像を撮像することができる。   In the imaging unit 42F according to the sixth modification configured as described above, the optical path length changing member 440 is disposed in the optical path between the subject (patch image 200) and the sensor unit 430, thereby obtaining the subject (patch image 200). Since the imaging surface of the optical image of) is brought close to the imaging surface of the optical image of the reference chart section 400, an appropriate image focused on both the subject (patch image 200) and the reference chart section 400 It can be imaged.

<パッチ画像の測色方法の変形例>
次に、図27乃至図33を参照しながら、本実施形態に係る画像形成装置100によるパッチ画像200の測色方法の変形例について詳細に説明する。この変形例の測色方法は、画像形成装置100が初期状態のとき(製造やオーバーフォールなどによって初期状態となっているとき)に実施される前処理と、画像形成装置100の色調整を行う調整時に実施される測色処理とを含む。
<Modification of colorimetry of patch image>
Next, with reference to FIG. 27 to FIG. 33, modified examples of the colorimetry method of the patch image 200 by the image forming apparatus 100 according to the present embodiment will be described in detail. The color measurement method of this modification performs pre-processing that is performed when the image forming apparatus 100 is in the initial state (when it is in the initial state due to manufacturing, overfall, etc.), and performs color adjustment of the image forming apparatus 100. And color measurement processing performed at the time of adjustment.

図27は、基準測色値および基準RGB値を取得する処理と基準値線形変換マトリックスを生成する処理を説明する図である。図27に示すこれらの処理は、前処理として実施される。前処理では、複数の基準パッチKPが配列形成された基準シートKSが用いられる。基準シートKSの基準パッチKPは、撮像ユニット42が備える基準チャート部400のパッチと同等のものである。   FIG. 27 is a diagram for explaining a process of acquiring a reference colorimetric value and a reference RGB value and a process of generating a reference value linear transformation matrix. These processes shown in FIG. 27 are implemented as preprocessing. In the pre-processing, a reference sheet KS in which a plurality of reference patches KP are arrayed is used. The reference patch KP of the reference sheet KS is equivalent to the patch of the reference chart unit 400 provided in the imaging unit 42.

まず、基準シートKSの複数の基準パッチKPの測色値であるLab値とXYZ値のうち、少なくともいずれか(図27の例では、Lab値とXYZ値の双方)が、それぞれのパッチ番号に対応させて、例えば測色制御部50の内部の不揮発性メモリ60などに設けられるメモリテーブルTb1に格納される。基準パッチKCの測色値は、分光器BSなどを用いた測色により事前に得られる値である。基準パッチKCの測色値が既知であれば、その値を用いればよい。以下、メモリテーブルTb1に格納された基準パッチKCの測色値を「基準測色値」という。   First, at least one of Lab values and XYZ values which are colorimetric values of a plurality of reference patches KP of the reference sheet KS (both Lab values and XYZ values in the example of FIG. 27) is assigned to each patch number. In correspondence, for example, it is stored in the memory table Tb1 provided in the non-volatile memory 60 or the like inside the colorimetry control unit 50. The colorimetric value of the reference patch KC is a value obtained in advance by colorimetry using a spectroscope BS or the like. If the colorimetric value of the reference patch KC is known, that value may be used. Hereinafter, the colorimetric value of the reference patch KC stored in the memory table Tb1 is referred to as a "reference colorimetric value".

次に、基準シートKSがプラテン板22上にセットされ、キャリッジ5の移動を制御することで、基準シートKSの複数の基準パッチKCを被写体として、撮像ユニット42による撮像が行われる。そして、撮像ユニット42の撮像により得られた基準パッチKCのRGB値が、不揮発性メモリのメモリテーブルTb1に、パッチ番号に対応して格納される。つまり、メモリテーブルTb1には、基準シートKSに配列形成された複数の基準パッチKCそれぞれの測色値とRGB値が、各基準パッチKCのパッチ番号に対応して格納される。以下、メモリテーブルTb1に格納された基準パッチKCのRGB値を「基準RGB値」という。基準RGB値は、撮像ユニット42の特性を反映した値である。   Next, the reference sheet KS is set on the platen plate 22 and the movement of the carriage 5 is controlled, whereby the imaging unit 42 performs imaging with the plurality of reference patches KC of the reference sheet KS as objects. Then, the RGB values of the reference patch KC obtained by the imaging of the imaging unit 42 are stored in the memory table Tb1 of the non-volatile memory in correspondence with the patch numbers. That is, in the memory table Tb1, the colorimetric values and the RGB values of each of the plurality of reference patches KC arranged and formed on the reference sheet KS are stored corresponding to the patch numbers of the respective reference patches KC. Hereinafter, the RGB values of the reference patch KC stored in the memory table Tb1 will be referred to as "reference RGB values". The reference RGB value is a value reflecting the characteristics of the imaging unit 42.

画像形成装置100の上位CPU107は、基準パッチKCの基準測色値および基準RGB値が不揮発性メモリ60のメモリテーブルTb1に格納されると、同じパッチ番号の基準測色値であるXYZ値と基準RGB値との対に対して、これらを相互に変換する基準値線形変換マトリックスを生成し、不揮発性メモリ60に格納する。メモリテーブルTb1に基準測色値としてLab値のみが格納されている場合は、Lab値をXYZ値に変換する既知の変換式を用いてLab値をXYZ値に変換した後に、基準値線形変換マトリックスを生成すればよい。   When the reference colorimetric value and the reference RGB value of the reference patch KC are stored in the memory table Tb1 of the non-volatile memory 60, the upper CPU 107 of the image forming apparatus 100 determines that the reference colorimetric value of the same patch number is the XYZ value and the reference A reference value linear transformation matrix is generated to convert the pair of RGB values to each other and stored in the non-volatile memory 60. When only the Lab value is stored as the reference colorimetric value in the memory table Tb1, the Lab value is converted to the XYZ value using a known conversion formula for converting the Lab value to the XYZ value, and then the reference value linear conversion matrix You just need to generate

また、撮像ユニット42が基準シートKSの複数の基準パッチKCを撮像する際には、撮像ユニット42に設けられた基準チャート部400も同時に撮像される。この撮像により得られた基準チャート部400の各パッチのRGB値も、パッチ番号に対応させて、不揮発性メモリ60のメモリテーブルTb1に格納される。この前処理によりメモリテーブルTb1に格納された基準チャート部400のパッチのRGB値を「初期基準RGB値」という。図31は、初期基準RGB値の一例を示す図である。図28(a)は初期基準RGB値(RdGdBd)をメモリテーブルTb1に格納した様子を示し、初期基準RGB値と(RdGdBd)ともに、初期基準RGB値(RdGdBd)をLab値に変換した初期基準Lab値(Ldadbd)やXYZ値に変換した初期基準XYZ値(XdYdZd)も対応付けて格納されることを示している。また、図28(b)は基準チャート部400の各パッチの初期基準RGB値をプロットした散布図である。   In addition, when the imaging unit 42 images a plurality of reference patches KC of the reference sheet KS, the reference chart unit 400 provided in the imaging unit 42 is also imaged at the same time. The RGB values of each patch of the reference chart unit 400 obtained by this imaging are also stored in the memory table Tb1 of the non-volatile memory 60 in association with the patch numbers. The RGB values of the patches of the reference chart unit 400 stored in the memory table Tb1 by this pre-processing are referred to as "initial reference RGB values". FIG. 31 is a diagram showing an example of initial reference RGB values. FIG. 28A shows a state in which the initial reference RGB values (RdGdBd) are stored in the memory table Tb1, and both the initial reference RGB values and (RdGdBd) convert the initial reference RGB values (RdGdBd) into Lab values. It is shown that initial reference XYZ values (XdYdZd) converted into values (Ldaddd) and XYZ values are also stored in association. FIG. 28B is a scatter diagram in which the initial reference RGB values of each patch of the reference chart unit 400 are plotted.

以上の前処理が終了した後、画像形成装置100は、外部から入力される画像データや印刷設定等に基づいて、上位CPU107が、キャリッジ5の主走査移動制御、紙搬送部112による記録媒体Pの搬送制御および記録ヘッド6の駆動制御を行って、記録媒体Pを間欠的に搬送させつつ、記録ヘッド6からのインク吐出を制御して、画像を記録媒体Pに出力する。このとき、記録ヘッド6からのインクの吐出量が、機器固有の特性や経時変化などによって変化することがあり、このインクの吐出量が変化すると、ユーザが意図する画像の色とは異なった色で画像形成されることとなって、色再現性が劣化する。そこで、画像形成装置100は、色調整を行う所定のタイミングで、パッチ画像200の測色値を求める測色処理を実施する。そして、測色処理により得られた測色値に基づいて色調整を行うことで、色再現性を高める。   After the above pre-processing is completed, the host CPU 107 controls the main scanning movement of the carriage 5 and the recording medium P by the paper conveyance unit 112 based on image data and print settings input from the outside. The conveyance control and the drive control of the recording head 6 are performed to control the ejection of ink from the recording head 6 while intermittently conveying the recording medium P, and an image is output to the recording medium P. At this time, the discharge amount of the ink from the recording head 6 may change due to the characteristic unique to the device, the change with time, etc. When the discharge amount of the ink changes, the color different from the color of the image intended by the user Image formation is performed, and the color reproducibility is degraded. Therefore, the image forming apparatus 100 performs the color measurement process for obtaining the color measurement value of the patch image 200 at a predetermined timing at which the color adjustment is performed. And color reproducibility is improved by performing color adjustment based on the colorimetric value obtained by the colorimetric process.

図29は、測色処理の概要を説明する図である。画像形成装置100は、色調整を行う調整時に、まず、プラテン板22上にセットされた記録媒体P上に記録ヘッド6からインクを吐出して、測色対象のパッチ画像200を形成する。以下、パッチ画像200が形成された記録媒体Pを「調整シートCS」という。この調整シートCSには、画像形成装置100の調整時における出力特性、特に、記録ヘッド6の出力特性を反映したパッチ画像200が形成されている。なお、測色対象のパッチ画像200を形成するための画像データは、不揮発性メモリ60などに予め格納されている。   FIG. 29 is a diagram for explaining the outline of the color measurement process. At the time of adjustment for performing color adjustment, the image forming apparatus 100 first discharges ink from the recording head 6 onto the recording medium P set on the platen plate 22 to form a patch image 200 to be measured. Hereinafter, the recording medium P on which the patch image 200 is formed is referred to as “adjustment sheet CS”. On this adjustment sheet CS, a patch image 200 reflecting the output characteristics at the time of adjustment of the image forming apparatus 100, in particular, the output characteristics of the recording head 6, is formed. The image data for forming the patch image 200 to be measured is stored in advance in the non-volatile memory 60 or the like.

次に、画像形成装置100は、図29に示すように、この調整シートCSがプラテン板22上にセットされるか、調整シートCSを作成した段階で排紙することなくプラテン板22上に保持された状態において、キャリッジ5の移動を制御して、このプラテン板22上の調整シートCSに形成されたパッチ画像200と対向する位置に撮像ユニット42を移動させる。そして、撮像ユニット42により、パッチ画像200と撮像ユニット42に設けられた基準チャート部400とを同時に撮像する。撮像ユニット42により同時に撮像されたパッチ画像200および基準チャート部400の画像データは、画像処理部45において必要な画像処理が行われた後、測色制御部50に送られて、フレームメモリ51に一時保管される。撮像ユニット42に同時に撮像されてフレームメモリ51に一時保管された画像データのうち、パッチ画像200の画像データ(RGB値)を「測色対象RGB値」、基準チャート部400のパッチの画像データ(RGB値)を「測色時基準RGB値(RdsGdsBds)」という。「測色時基準RGB値(RdsGdsBds)」は、不揮発性メモリ60などに格納される。   Next, as shown in FIG. 29, the image forming apparatus 100 holds the adjustment sheet CS on the platen plate 22 or does not discharge the adjustment sheet CS when the adjustment sheet CS is formed. In this state, the movement of the carriage 5 is controlled to move the imaging unit 42 to a position facing the patch image 200 formed on the adjustment sheet CS on the platen plate 22. Then, the imaging unit 42 simultaneously images the patch image 200 and the reference chart unit 400 provided in the imaging unit 42. The patch image 200 and the image data of the reference chart unit 400, which are simultaneously captured by the imaging unit 42, are subjected to necessary image processing in the image processing unit 45, and then sent to the colorimetry control unit 50. It is temporarily stored. Among the image data captured simultaneously by the imaging unit 42 and temporarily stored in the frame memory 51, the image data (RGB value) of the patch image 200 is “RGB measurement target RGB value”, the image data of the patch of the reference chart unit 400 ( The RGB values are referred to as “color measurement reference RGB values (RdsGdsBds)”. The “color measurement reference RGB value (RdsGdsBds)” is stored in the non-volatile memory 60 or the like.

測色制御部50の測色値算出部531は、後述する基準RGB間線形変換マトリックスを用いて、フレームメモリ51に一時保管された測色対象RGB値を、初期化測色対象RGB値(RsGsBs)に変換する処理を行う(ステップS10)。初期化測色対象RGB値(RsGsBs)は、測色対象RGB値から、前処理を行った初期状態のときから測色処理を行う調整時に至るまでの間に生じる撮像ユニット42の撮像条件の経時変化、例えば、照明光源426の経時変化や2次元イメージセンサ431の経時変化の影響を排除したものである。   The colorimetric value calculation unit 531 of the colorimetry control unit 50 initializes the colorimetric target RGB values temporarily stored in the frame memory 51 using the reference RGB linear conversion matrix, which will be described later, to the initialized colorimetric target RGB values (RsGsBs (Step S10). The initialized colorimetric target RGB values (RsGsBs) are the time elapsed from the colorimetric target RGB values to the imaging condition of the imaging unit 42 which occurs from the time of the initial state where preprocessing has been performed to the time of adjustment when colorimetric processing is performed. For example, the effects of changes over time of the illumination light source 426 and over time of the two-dimensional image sensor 431 are eliminated.

その後、測色値算出部531は、測色対象RGB値から変換された初期化測色対象RGB値(RsGsBs)を対象として、後述する基本測色処理を実行することにより(ステップS20)、測色対象のパッチ画像200の測色値であるLab値を取得する。   After that, the colorimetric value calculation unit 531 performs basic colorimetric processing to be described later on the initialized colorimetric target RGB values (RsGsBs) converted from the colorimetric target RGB values (step S20). Lab values which are colorimetric values of the patch image 200 to be colored are acquired.

図30は、基準RGB間線形変換マトリックスを生成する処理を説明する図であり、図31は、初期基準RGB値と測色時基準RGB値との関係を示す図である。測色値算出部531は、測色対象RGB値を初期化測色対象RGB値(RsGsBs)に変換する処理(ステップS10)を行う前に、この変換に用いる基準RGB間線形変換マトリックスを生成する。すなわち、測色値算出部531は、図30に示すように、画像形成装置100が初期状態のときに前処理として得られた初期基準RGB値(RdGdBd)と、調整時において得られる測色時基準RGB値(RdsGdsBds)とを不揮発性メモリ60から読み出し、測色時基準RGB値RdsGdsBdsを初期基準RGB値RdGdBdに変換する基準RGB間線形変換マトリックスを生成する。そして、測色値算出部531は、生成した基準RGB間線形変換マトリックスを不揮発性メモリ60に格納する。   FIG. 30 is a diagram for explaining the process of generating a linear conversion matrix between reference RGB, and FIG. 31 is a view showing the relationship between the initial reference RGB value and the reference RGB value at the time of color measurement. The colorimetric value calculation unit 531 generates a standard inter-RGB linear conversion matrix used for this conversion before performing the process (step S10) of converting the colorimetric object RGB values into the initialized colorimetric object RGB values (RsGsBs). . That is, as shown in FIG. 30, the colorimetric value calculation unit 531 measures the initial reference RGB values (RdG dBd) obtained as pre-processing when the image forming apparatus 100 is in the initial state, and the color measurement obtained during adjustment. A reference RGB value (RdsGdsBds) is read out from the non-volatile memory 60, and an inter-reference RGB linear conversion matrix is generated to convert the colorimetric reference RGB value RdsGdsBds into the initial reference RGB value RdGdBd. Then, the colorimetric value calculation unit 531 stores the generated reference RGB linear conversion matrix in the non-volatile memory 60.

図31において、図31(a)に白抜き点で示されている点が初期基準RGB値RdGdBdをrgb空間でプロットした点であり、塗りつぶし点が、測色時基準RGB値RdsGdsBdsをrgb空間でプロットした点である。図31(a)から分かるように、測色時基準RGB値RdsGdsBdsの値が初期基準RGB値RdGdBdの値から変動しており、これらのrgb空間上での変動方向は、図31(b)に示すように概ね同じであるが、色相によってずれの方向が異なる。このように、同じ基準チャート部400のパッチを撮像してもRGB値が変動する要因としては、照明光源426の経時変化、2次元イメージセンサ431の経時変化などがある。   In FIG. 31, a point indicated by a white point in FIG. 31A is a point where the initial reference RGB value RdGdBd is plotted in the rgb space, and the filled point corresponds to the colorimetry reference RGB value RdsGdsBds in the rgb space. It is a plotted point. As can be seen from FIG. 31 (a), the value of the colorimetric reference RGB value RdsGdsBds fluctuates from the value of the initial reference RGB value RdGdBd, and the fluctuation direction in the rgb space is as shown in FIG. 31 (b). As shown, they are substantially the same, but the direction of the shift differs depending on the hue. As described above, factors that cause the RGB values to fluctuate even when the patches of the same reference chart unit 400 are imaged include temporal changes of the illumination light source 426, temporal changes of the two-dimensional image sensor 431, and the like.

このように、撮像ユニット42による撮像によって得られるRGB値が変動している状態で、パッチ画像200を撮像することで得られる測色対象RGB値を用いて測色値を求めると、変動分だけ測色値に誤差が発生する虞がある。そこで、初期基準RGB値RdGdBdと測色時基準RGB値RdsGdsBdsとの間で、最小2乗法などの推定法を用いて、測色時基準RGB値RdsGdsBdsを初期基準RGB値RdGdBdに変換する基準RGB間線形変換マトリックスを求め、この基準RGB間線形変換マトリックスを用いて、撮像ユニット42でパッチ画像200を撮像することにより得られる測色対象RGB値を、初期化測色対象RGB値RsGsBsに変換し、変換した初期化測色対象RGB値RsGsBsを対象として、後述する基本測色処理を実行することで、測色対象のパッチ画像200の測色値を精度よく取得できるようにしている。   As described above, when the colorimetric values are obtained using the colorimetric object RGB values obtained by imaging the patch image 200 in a state where the RGB values obtained by imaging by the imaging unit 42 are changing, only the amount of fluctuation is obtained. An error may occur in the colorimetric value. Therefore, between the reference RGB for converting the colorimetric reference RGB value RdsGdsBds into the initial reference RGB value RdGdBd between the initial reference RGB value RdGdBd and the colorimetric reference RGB value RdsGdsBds using an estimation method such as the least squares method. A linear conversion matrix is obtained, and the colorimetric RGB values obtained by imaging the patch image 200 with the imaging unit 42 are converted into initialized colorimetric target RGB values RsGsBs using this reference RGB linear transformation matrix. The basic colorimetric process described later is performed on the converted initial colorimetry object RGB values RsGsBs, so that the colorimetric value of the patch image 200 of the colorimetry object can be obtained with high accuracy.

この基準RGB間線形変換マトリックスは、1次だけでなく、さらに高次の非線形マトリックスであってもよく、rgb空間とXYZ空間間で非線形性が高い場合には、高次のマトリックスとすることで、変換精度を向上させることができる。   This reference RGB-to-RGB linear transformation matrix may be not only the first-order one but also a higher-order non-linear matrix, and if the non-linearity is high between rgb space and XYZ space, it may be a high-order matrix. , Conversion accuracy can be improved.

測色値算出部531は、上述したように、パッチ画像200の撮像により得られる測色対象RGB値を、基準RGB間線形変換マトリックスを用いて初期化測色対象RGB値(RsGsBs)に変換した後(ステップS10)、この初期化測色対象RGB値(RsGsBs)を対象として、ステップS20の基本測色処理を行う。   As described above, the colorimetric value calculation unit 531 converts the colorimetric target RGB values obtained by capturing the patch image 200 into the initialized colorimetric target RGB values (RsGsBs) using the inter-reference RGB linear conversion matrix. After that (step S10), the basic color measurement process of step S20 is performed on the initialized color measurement target RGB value (RsGsBs) as a target.

図32および図33は、基本測色処理を説明する図である。測色値算出部531は、まず、前処理において生成して不揮発性メモリ60に格納した基準値線形変換マトリックスを読み出し、基準値線形変換マトリックスを用いて初期化測色対象RGB値(RsGsBs)を第1XYZ値に変換し、不揮発性メモリ60に格納する(ステップS21)。図32では、初期化測色対象RGB値(3、200、5)が基準値線形変換マトリックスにより第1XYZ値(20、80、10)に変換された例を示している。   32 and 33 are diagrams for explaining the basic colorimetry process. The colorimetric value calculation unit 531 first reads out the reference value linear transformation matrix generated in the pre-processing and stored in the non-volatile memory 60, and uses the reference value linear transformation matrix to initialize the initialization colorimetric target RGB values (RsGsBs). The first XYZ value is converted and stored in the non-volatile memory 60 (step S21). FIG. 32 shows an example in which the initialization colorimetric target RGB values (3, 200, 5) are converted into first XYZ values (20, 80, 10) by the reference value linear conversion matrix.

次に、測色値算出部531は、ステップS21で初期化測色対象RGB値(RsGsBs)から変換された第1XYZ値を、既知の変換式を用いて第1Lab値に変換し、不揮発性メモリ60に格納する(ステップS22)。図32では、第1XYZ値(20、80、10)が既知の変換式により第1Lab値(75、−60、8)に変換された例を示している。   Next, the colorimetric value calculation unit 531 converts the first XYZ values converted from the initialized colorimetric target RGB values (RsGsBs) in step S21 into first Lab values using a known conversion formula, and the nonvolatile memory It stores in 60 (step S22). FIG. 32 shows an example in which the first XYZ values (20, 80, 10) are converted into the first Lab values (75, -60, 8) by a known conversion formula.

次に、測色値算出部531は、前処理において不揮発性メモリ60のメモリテーブルTb1に格納された複数の基準測色値(Lab値)を検索し、該基準測色値(Lab値)のうち、Lab空間上において第1Lab値に対して距離の近い基準測色値(Lab値)を持つ複数のパッチ(近傍色パッチ)の組を選択する(ステップS23)。距離の近いパッチを選択する方法としては、例えば、メモリテーブルTb1に格納されたすべての基準測色値(Lab値)に対して、第1Lab値との距離を算出し、第1Lab値に対して距離の近いLab値(図32では、ハッチングの施されているLab値)を持つ複数のパッチを選択するといった方法を用いることができる。   Next, the colorimetric value calculation unit 531 searches for a plurality of reference colorimetric values (Lab values) stored in the memory table Tb1 of the non-volatile memory 60 in the pre-processing, and calculates the reference colorimetric values (Lab values). Among them, a set of a plurality of patches (nearby color patches) having a reference colorimetric value (Lab value) close to the first Lab value in the Lab space is selected (step S23). As a method of selecting a patch having a close distance, for example, with respect to all reference colorimetric values (Lab values) stored in the memory table Tb1, distances with respect to the first Lab value are calculated, and for the first Lab value It is possible to use a method of selecting a plurality of patches having Lab values close to each other (Lab values hatched in FIG. 32).

次に、測色値算出部531は、図33に示すように、メモリテーブルTb1を参照して、ステップS23で選択した近傍色パッチのそれぞれについて、Lab値と対になっているRGB値(基準RGB値)とXYZ値を取り出して、これら複数のRGB値とXYZ値のなかから、RGB値とXYZ値との組み合わせを選択する(ステップS24)。そして、測色値算出部531は、選択した組み合わせ(選択組)のRGB値をXYZ値に変換するための選択RGB値線形変換マトリックスを、最小二乗法などを用いて求め、求めた選択RGB値線形変換マトリックスを不揮発性メモリ60に格納する(ステップS25)。   Next, as shown in FIG. 33, the colorimetric value calculation unit 531 refers to the memory table Tb1, and for each of the neighboring color patches selected in step S23, an RGB value (a reference An RGB value) and an XYZ value are extracted, and a combination of the RGB value and the XYZ value is selected from among the plurality of RGB values and the XYZ values (step S24). Then, the colorimetric value calculation unit 531 obtains a selected RGB value linear conversion matrix for converting the RGB values of the selected combination (selected group) into XYZ values using the least squares method or the like, and determines the selected RGB values The linear transformation matrix is stored in the non-volatile memory 60 (step S25).

次に、測色値算出部531は、ステップS25で生成した選択RGB値線形変換マトリックスを用いて、初期化測色対象RGB値(RsGsBs)を第2XYZ値に変換する(ステップS26)。さらに、測色値算出部531は、ステップS26で求めた第2XYZ値を、既知の変換式を用いて第2Lab値に変換し(ステップS27)、得られた第2Lab値を、測色対象のパッチ画像200の最終的な測色値とする。画像形成装置100は、以上の測色処理により得られた測色値に基づいて色調整を行うことにより、色再現性が高められる。   Next, the colorimetric value calculation unit 531 converts the initialized colorimetric target RGB values (RsGsBs) into second XYZ values using the selected RGB value linear conversion matrix generated in step S25 (step S26). Furthermore, the colorimetric value calculation unit 531 converts the second XYZ values obtained in step S26 into second Lab values using a known conversion formula (step S27), and the obtained second Lab values are used as colorimetric targets. The final colorimetric value of the patch image 200 is used. The image forming apparatus 100 can improve color reproducibility by performing color adjustment based on the colorimetric values obtained by the above color measurement processing.

<その他の変形例>
上述した実施形態では、画像形成装置100に設けられた測色制御部50で測色処理を行うようにしているが、測色処理は、必ずしも画像形成装置100内部で実行する必要はない。例えば、図34に示すように、画像形成装置100と外部装置500とが通信可能に接続された画像形成システム(測色システム)を構築し、測色制御部50の機能を外部装置500に持たせて、外部装置500において測色処理を行うようにしてもよい。つまり、測色システムは、画像形成装置100に設けられた撮像ユニット42と、外部装置500に設けられた測色制御部50と、これら撮像ユニット42と測色制御部50(画像形成装置100と外部装置500)とを接続する通信手段600と、を備えた構成となる。外部装置500は、例えば、DFE(Digital Front End)と呼ばれるコンピュータを用いることができる。また、通信手段600は、有線や無線によるP2P通信のほか、LANやインターネットなどのネットワークを利用した通信などを利用することができる。
<Other Modifications>
In the embodiment described above, the colorimetry process is performed by the colorimetry control unit 50 provided in the image forming apparatus 100. However, the colorimetry process does not necessarily have to be performed inside the image forming apparatus 100. For example, as shown in FIG. 34, an image forming system (colorimetry system) in which the image forming apparatus 100 and the external device 500 are communicably connected is constructed, and the external device 500 has the function of the colorimetry control unit 50. Then, the color measurement process may be performed in the external device 500. That is, the colorimetry system includes an imaging unit 42 provided in the image forming apparatus 100, a colorimetry control unit 50 provided in the external device 500, and the imaging unit 42 and the colorimetry control unit 50 (image forming apparatus 100 And communication means 600 for connecting to the external device 500). The external device 500 can use, for example, a computer called DFE (Digital Front End). The communication means 600 can use wired or wireless P2P communication, communication using a network such as a LAN or the Internet, or the like.

上記の構成の場合、たとえば、画像形成装置100は、撮像ユニット42で撮像したパッチ画像200などの被写体と基準チャート部400とを含む画像データを、通信手段600を利用して外部装置500に送信する。外部装置500は、画像形成装置100から受信した画像データを用いてパッチ画像200の測色値を算出し、算出したパッチ画像200の測色値に基づいて、画像形成装置100の色再現性を向上させるための色変換パラメータを生成する。そして、外部装置500は、生成した色変換パラメータを、通信手段600を利用して画像形成装置100に送信する。画像形成装置100は、外部装置500から受信した色変換パラメータを保持し、画像形成を行う際には、この色変換パラメータを用いて画像データを補正し、補正後の画像データに基づいて画像形成を行う。これにより、画像形成装置100は色再現性の高い画像形成を行うことができる。   In the case of the above configuration, for example, the image forming apparatus 100 transmits the image data including the subject such as the patch image 200 captured by the imaging unit 42 and the reference chart unit 400 to the external device 500 using the communication unit 600. Do. The external apparatus 500 calculates the colorimetric value of the patch image 200 using the image data received from the image forming apparatus 100, and the color reproducibility of the image forming apparatus 100 is calculated based on the calculated colorimetric value of the patch image 200. Generate color conversion parameters to improve. Then, the external device 500 transmits the generated color conversion parameter to the image forming apparatus 100 using the communication unit 600. The image forming apparatus 100 holds the color conversion parameter received from the external device 500, corrects the image data using this color conversion parameter when forming an image, and forms an image based on the corrected image data. I do. Thereby, the image forming apparatus 100 can perform image formation with high color reproducibility.

また、外部装置500が、パッチ画像200の測色値に基づいて生成した色変換パラメータを保持し、外部装置500において画像データの補正を行うようにしてもよい。すなわち、画像形成装置100は、画像形成を行う際に、画像データを外部装置500に送信する。外部装置500は、画像形成装置100から受信した画像データを、自身が保持する色変換パラメータを用いて補正し、補正した画像データを画像形成装置100に送信する。画像形成装置100は、外部装置500から受信した補正後の画像データに基づいて画像形成を行う。これにより、画像形成装置100は色再現性の高い画像形成を行うことができる。   Further, the external device 500 may hold the color conversion parameter generated based on the colorimetric value of the patch image 200, and the external device 500 may correct the image data. That is, the image forming apparatus 100 transmits image data to the external apparatus 500 when forming an image. The external apparatus 500 corrects the image data received from the image forming apparatus 100 using a color conversion parameter held by itself, and transmits the corrected image data to the image forming apparatus 100. The image forming apparatus 100 forms an image based on the corrected image data received from the external device 500. Thereby, the image forming apparatus 100 can perform image formation with high color reproducibility.

<実施形態の効果>
以上、具体的な例を挙げながら詳細に説明したように、本実施形態の撮像ユニット42は、パッチ画像200などの被写体を含む撮像領域を撮像するセンサ部430と、センサ部430の撮像領域に配置され、被写体とともにセンサ部430により撮像される基準チャート部400とを備える。このため、常に同じ条件で基準チャート部400を含む被写体の画像を安定的に撮像することができる。また、本実施形態に係る測色装置は、センサ部430が撮像したパッチ画像200などの被写体と基準チャート部400とを含む画像データに基づいて、パッチ画像200などの被写体の測色を適切に行うことができる。
<Effect of the embodiment>
As described above in detail, the imaging unit 42 according to the present embodiment includes the sensor unit 430 that captures an imaging area including a subject such as the patch image 200 and the imaging area of the sensor unit 430. And a reference chart unit 400 which is arranged and imaged by the sensor unit 430 together with the subject. Therefore, the image of the subject including the reference chart unit 400 can be stably captured under the same condition. Further, the colorimetry apparatus according to the present embodiment appropriately measures the colorimetry of the subject such as the patch image 200 based on the image data including the subject such as the patch image 200 captured by the sensor unit 430 and the reference chart unit 400. It can be carried out.

また、本実施形態の撮像ユニット42は、被写体(パッチ画像200)が形成された記録媒体16に対して、筐体421の底面部421aを十分に近づけた状態でセンサ部430による画像の撮像を行うことにより、センサ部430から被写体(パッチ画像200)までの光路長と、センサ部430から基準チャート部400までの光路長との差を、センサ部430の被写界深度の範囲内とすることができ、被写体(パッチ画像200)と基準チャート部400の双方に焦点の合った適切な画像を撮像することができる。   Further, the imaging unit 42 according to the present embodiment performs imaging of the image by the sensor unit 430 in a state in which the bottom surface portion 421a of the housing 421 is sufficiently close to the recording medium 16 on which the subject (patch image 200) is formed. By doing this, the difference between the optical path length from the sensor unit 430 to the subject (patch image 200) and the optical path length from the sensor unit 430 to the reference chart unit 400 is made within the range of the depth of field of the sensor unit 430. It is possible to capture an appropriate image focused on both the subject (patch image 200) and the reference chart unit 400.

また、本実施形態に係る画像形成装置100は、本実施形態に係る測色装置を備えているため、測色対象のパッチ画像200を出力しながらパッチ画像200の測色を精度よく行って、出力特性を適切に調整して高品位な画像の出力を行うことができる。   Further, since the image forming apparatus 100 according to the present embodiment includes the color measurement device according to the present embodiment, the color measurement of the patch image 200 is accurately performed while outputting the patch image 200 to be measured. The output characteristics can be appropriately adjusted to output a high quality image.

以上、本発明の具体的な実施形態について詳細に説明したが、本発明は上述した実施形態そのままに限定されるものではなく、実施段階ではその要旨を逸脱しない範囲で様々な変形や変更を加えながら具体化することができる。   Although the specific embodiments of the present invention have been described in detail, the present invention is not limited to the above embodiments as it is, and various modifications and changes may be made without departing from the scope of the present invention at the implementation stage. While it can be embodied.

例えば、上述した実施形態では、基準チャート部400が、測色用の基準パッチ列401〜404と、ドット計測用パターン列406と、距離計測用ライン405およびチャート位置特定用マーカ407とを有する構成である。しかし、基準チャート部400を、測色用の基準パッチ列401〜404と、ドット計測用パターン列406と、距離計測用ライン405およびチャート位置特定用マーカ407のうち、一部のみを有する構成であってもよい。また、基準チャート部400を、測色用のパッチ列401〜404のうち、無彩色の階調パターンであるパッチ列403のみを有する構成や、有彩色のパッチ列401,402,404のみを有する構成とすることもできる。   For example, in the embodiment described above, the reference chart unit 400 includes reference patch rows 401 to 404 for color measurement, a dot measurement pattern row 406, a distance measurement line 405, and a chart position specifying marker 407. It is. However, the reference chart portion 400 is configured to have only a part of the reference patch rows 401 to 404 for color measurement, the dot measurement pattern row 406, the distance measurement line 405, and the chart position specifying marker 407. It may be. Further, the reference chart portion 400 has a configuration having only the patch row 403 which is an achromatic gradation pattern among the patch rows 401 to 404 for color measurement, or only the chromatic patch rows 401, 402, and 404. It can also be configured.

基準チャート部400が測色用の基準パッチ列401〜404を備えない構成の場合、図7に示した測色制御部50の演算部53は、測色値算出部531の機能が不要となる。また、基準チャート部400が距離計測用ライン405を備えない構成の場合、図7に示した測色制御部50の演算部53は、位置ずれ量算出部532の機能が不要となる。また、基準チャート部400がドット計測用パターン列406を備えない構成の場合、図7に示した測色制御部50の演算部53は、ドット径算出部533の機能が不要となる。   When the reference chart unit 400 does not include the reference patch arrays 401 to 404 for color measurement, the operation unit 53 of the colorimetry control unit 50 shown in FIG. 7 does not need the function of the colorimetry value calculation unit 531. . When the reference chart unit 400 does not include the distance measurement line 405, the operation unit 53 of the colorimetry control unit 50 shown in FIG. 7 does not need the function of the positional deviation amount calculation unit 532. When the reference chart unit 400 does not include the dot measurement pattern array 406, the calculation unit 53 of the colorimetry control unit 50 shown in FIG. 7 does not need the function of the dot diameter calculation unit 533.

なお、上述した本実施形態に係る画像形成装置100や測色装置を構成する各部の制御機能は、ハードウェア、または、ソフトウェア、あるいは、両者の複合構成を用いて実現することができる。本実施形態に係る画像形成装置100や測色装置を構成する各部の制御機能をソフトウェアにより実現する場合は、画像形成装置100や測色装置が備えるプロセッサが処理シーケンスを記述したプログラムを実行する。プロセッサにより実行されるプログラムは、例えば、画像形成装置100や測色装置内部のROMなどに予め組み込まれて提供される。また、プロセッサが実行するプログラムを、インストール可能な形式または実行可能な形式のファイルでCD−ROM、フレキシブルディスク(FD)、CD−R、DVD(Digital Versatile Disc)などのコンピュータで読み取り可能な記録媒体に記録されて提供するようにしてもよい。   The control function of each unit constituting the image forming apparatus 100 and the color measurement device according to the present embodiment described above can be realized using hardware, software, or a combined configuration of both. When the control function of each unit constituting the image forming apparatus 100 and the color measuring device according to the present embodiment is realized by software, a processor provided in the image forming device 100 and the color measuring device executes a program in which a processing sequence is described. The program executed by the processor is provided, for example, by being incorporated in advance in the image forming apparatus 100 or a ROM in the color measurement apparatus. Also, a computer readable recording medium such as a CD-ROM, a flexible disk (FD), a CD-R, a DVD (Digital Versatile Disc), etc., in an installable format or an executable format file, of a program executed by a processor. It may be recorded and provided.

また、プロセッサにより実行されるプログラムを、インターネットなどのネットワークに接続されたコンピュータ上に格納し、ネットワーク経由でダウンロードさせることにより提供するように構成してもよい。また、プロセッサにより実行されるプログラムを、インターネットなどのネットワーク経由で提供または配布するように構成してもよい。   Further, the program executed by the processor may be stored on a computer connected to a network such as the Internet and provided by being downloaded via the network. Also, the program executed by the processor may be configured to be provided or distributed via a network such as the Internet.

5 キャリッジ
6 記録ヘッド
16 記録媒体
42,42A,42B,42C,42D,42E,42F 撮像ユニット
50 測色制御部
100 画像形成装置
200 パッチ画像
400 基準チャート部
401〜404 基準パッチ列
406 ドット計測用パターン列
421 筐体
421a 底面部
425,425C,425D 開口部
426 照明光源
430 センサ部
Reference Signs List 5 carriage 6 recording head 16 recording medium 42, 42A, 42B, 42C, 42D, 42F, imaging unit 50 colorimetric control unit 100 image forming apparatus 200 patch image 400 reference chart unit 401 to 404 reference patch array pattern for 406 dots measurement Row 421 Housing 421a Bottom portion 425, 425C, 425D Opening 426 Illumination light source 430 Sensor portion

特許第3129502号公報Patent No. 3129502

Claims (15)

被写体を含む所定の領域を撮像するセンサ部と、
前記所定の領域に配置され、前記被写体とともに前記センサ部により撮像される基準チャート部と、を備えることを特徴とする撮像ユニット。
A sensor unit for imaging a predetermined area including a subject;
An imaging unit comprising: a reference chart unit disposed in the predetermined area and imaged by the sensor unit together with the subject.
前記基準チャート部は、有彩色の複数のパッチを含むことを特徴とする請求項1に記載の撮像ユニット。   The imaging unit according to claim 1, wherein the reference chart unit includes a plurality of chromatic color patches. 前記被写体および前記基準チャート部を照明する照明光源をさらに備えることを特徴とする請求項1に記載の撮像ユニット。   The imaging unit according to claim 1, further comprising an illumination light source that illuminates the subject and the reference chart unit. 前記被写体と対向する第一の面に開口部を有する筐体をさらに備え、
前記センサ部は、前記筐体の内部から前記開口部を介して前記筐体の外部の前記被写体を撮像し、前記開口部を介さずに前記基準チャート部を撮像することを特徴とする請求項1に記載の撮像ユニット。
The apparatus further comprises a housing having an opening on a first surface facing the subject,
The said sensor part images the said to-be-photographed object outside the said housing | casing from the inside of the said housing | casing via the said opening part, and images the said reference | standard chart part not via the said opening part. The imaging unit according to 1.
前記開口部は、前記センサ部から前記第一の面に対して垂直に下ろした垂線上に位置するように、前記筐体の前記第一の面に設けられていることを特徴とする請求項4に記載の撮像ユニット。   The said opening is provided in the said 1st surface of the said housing | casing so that it may be located on the perpendicular drawn from the said sensor part perpendicularly | vertically with respect to the said 1st surface. The imaging unit according to 4. 前記基準チャート部は、前記筐体に対して着脱可能に保持されていることを特徴とする請求項4に記載の撮像ユニット。   The imaging unit according to claim 4, wherein the reference chart unit is detachably held to the housing. 前記基準チャート部は、無彩色の階調パターンを含むことを特徴とする請求項1に記載の撮像ユニット。   The imaging unit according to claim 1, wherein the reference chart unit includes an achromatic gradation pattern. 前記センサ部から前記被写体までの光路長と、前記センサ部から前記基準チャート部までの光路長との差が、前記センサ部の被写界深度の範囲内であることを特徴とする請求項1に記載の撮像ユニット。   The difference between the optical path length from the sensor unit to the subject and the optical path length from the sensor unit to the reference chart unit is within the range of the depth of field of the sensor unit. The imaging unit described in. 前記被写体は画像形成装置が記録媒体に出力した画像であり、
前記基準チャートは、前記画像のドット径を計測するためのドット径計測用パターンを含むことを特徴とする請求項1に記載の撮像ユニット。
The subject is an image output from the image forming apparatus to a recording medium,
The imaging unit according to claim 1, wherein the reference chart includes a dot diameter measurement pattern for measuring a dot diameter of the image.
前記基準チャートは、前記開口部の周囲を取り囲むように前記筐体の前記第一の面に配置されていることを特徴とする請求項5に記載の撮像ユニット。   The imaging unit according to claim 5, wherein the reference chart is disposed on the first surface of the housing so as to surround the periphery of the opening. 前記照明光源は、前記被写体で正反射される正反射光および前記基準チャート部で正反射される正反射光が前記センサ部のイメージセンサに入射しない位置に配置されていることを特徴とする請求項3に記載の撮像ユニット。   The illumination light source is disposed at a position where specular reflection light specularly reflected by the subject and specular reflection light specularly reflected by the reference chart portion do not enter the image sensor of the sensor portion. An imaging unit according to item 3. 被写体を含む所定の領域を撮像するセンサ部と、
前記所定の領域に配置され、前記被写体とともに前記センサ部により撮像される基準チャート部と、
前記センサ部が撮像した前記被写体および前記基準チャート部の画像に基づいて、前記被写体の測色値を算出する算出部と、を備えることを特徴とする測色装置。
A sensor unit for imaging a predetermined area including a subject;
A reference chart unit disposed in the predetermined area and imaged by the sensor unit with the subject;
And a calculator configured to calculate a colorimetric value of the subject based on the subject captured by the sensor unit and the image of the reference chart unit.
記録媒体に画像を出力する画像出力手段と、
請求項12に記載の測色装置と、を備え、
前記測色装置は、前記画像出力手段が出力する画像を前記被写体として該画像の測色値を算出することを特徴とする画像形成装置。
Image output means for outputting an image to a recording medium;
A color measurement device according to claim 12;
The image forming apparatus, wherein the color measurement device calculates a colorimetric value of the image with the image output by the image output unit as the subject.
測色対象の被写体を撮像する撮像ユニットと、前記被写体の測色値を算出する算出部と、を備える測色システムであって、
前記撮像ユニットは、
前記被写体を含む所定の領域を撮像するセンサ部と、
前記所定の領域に配置され、前記被写体とともに前記センサ部により撮像される基準チャート部と、を備え、
前記算出部は、前記撮像ユニットの前記センサ部が撮像した前記被写体および前記基準チャート部の画像に基づいて、前記被写体の測色値を算出することを特徴とする測色システム。
A colorimetric system, comprising: an imaging unit configured to image a subject to be measured; and a calculation unit configured to calculate a colorimetric value of the subject,
The imaging unit is
A sensor unit configured to image a predetermined area including the subject;
A reference chart unit disposed in the predetermined area and imaged by the sensor unit together with the subject,
The color measurement system, wherein the calculation unit calculates the colorimetric value of the subject based on the subject and the image of the reference chart unit captured by the sensor unit of the imaging unit.
センサ部と、基準チャート部と、算出部と、を備える測色装置において実行される測色方法であって、
前記センサ部が、測色対象の被写体とともに前記基準チャート部を撮像する工程と、
前記算出部が、前記センサ部が撮像した前記被写体および前記基準チャート部の画像に基づいて、前記被写体の測色値を算出する工程と、を含むことを特徴とする測色方法。
A colorimetric method to be executed in a colorimetric device including a sensor unit, a reference chart unit, and a calculation unit,
The sensor unit imaging the reference chart unit together with the subject to be measured;
And calculating the colorimetric value of the subject based on the subject captured by the sensor unit and the image of the reference chart unit.
JP2018206234A 2011-11-30 2018-11-01 Imaging unit, color measuring device, image forming device and color measuring system Active JP6852723B2 (en)

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
JP2011262646 2011-11-30
JP2011262646 2011-11-30
JP2012029920 2012-02-14
JP2012029920 2012-02-14

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2017077782A Division JP6428830B2 (en) 2011-11-30 2017-04-10 Image forming apparatus and colorimetric method

Publications (3)

Publication Number Publication Date
JP2019045505A true JP2019045505A (en) 2019-03-22
JP2019045505A5 JP2019045505A5 (en) 2019-09-19
JP6852723B2 JP6852723B2 (en) 2021-03-31

Family

ID=59856885

Family Applications (2)

Application Number Title Priority Date Filing Date
JP2017077782A Active JP6428830B2 (en) 2011-11-30 2017-04-10 Image forming apparatus and colorimetric method
JP2018206234A Active JP6852723B2 (en) 2011-11-30 2018-11-01 Imaging unit, color measuring device, image forming device and color measuring system

Family Applications Before (1)

Application Number Title Priority Date Filing Date
JP2017077782A Active JP6428830B2 (en) 2011-11-30 2017-04-10 Image forming apparatus and colorimetric method

Country Status (1)

Country Link
JP (2) JP6428830B2 (en)

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6142165U (en) * 1984-08-20 1986-03-18 コニカ株式会社 Color image evaluation chart
JP2535024Y2 (en) * 1986-09-13 1997-05-07 悌 清水 Luminous colorimeter
JP3129502B2 (en) * 1992-02-14 2001-01-31 ポーラ化成工業株式会社 Colorimetric method and apparatus
JPH0829259A (en) * 1994-07-18 1996-02-02 Lion Corp Lightness measuring apparatus
JP3912813B2 (en) * 1996-02-23 2007-05-09 株式会社東芝 Color image processing system
JPH11326056A (en) * 1998-05-19 1999-11-26 Silver Seiko Ltd Color proofer and its calibration method
JP2000283850A (en) * 1999-03-29 2000-10-13 Brother Ind Ltd Colorimetric device
JP2001099711A (en) * 1999-09-30 2001-04-13 Minolta Co Ltd Test chart colorimetry system and color output instrument calibration system
JP4220846B2 (en) * 2003-07-03 2009-02-04 パナソニック株式会社 Color test chart and image recording control apparatus
JP4897987B2 (en) * 2005-12-14 2012-03-14 株式会社大日電子 Tint measurement system
JP2009212831A (en) * 2008-03-04 2009-09-17 Seiko Epson Corp Test chart and color calibration method
JP2010083007A (en) * 2008-09-30 2010-04-15 Fujifilm Corp Apparatus, method and program for processing image, and image recording apparatus

Also Published As

Publication number Publication date
JP6428830B2 (en) 2018-11-28
JP6852723B2 (en) 2021-03-31
JP2017161532A (en) 2017-09-14

Similar Documents

Publication Publication Date Title
JP6127448B2 (en) Imaging unit, color measuring device, image forming apparatus, and color measuring system
JP5962239B2 (en) Color measuring device, image forming apparatus and program
JP5958099B2 (en) Color measuring device, image forming apparatus and program
JP5887998B2 (en) Color measuring device, recording device, color measuring method and program
JP6424586B2 (en) Image pickup apparatus, medium type determination apparatus, and image forming apparatus
JP5961985B2 (en) Imaging apparatus, colorimetric apparatus, and image forming apparatus
JP6107264B2 (en) Imaging unit, color measuring device, image forming apparatus, color measuring system, and distance measuring method
JP6543906B2 (en) Image forming apparatus and control method of image forming apparatus
JP6327262B2 (en) Imaging apparatus, colorimetric apparatus, and image forming apparatus
JP6163760B2 (en) Color measuring device, image forming apparatus and color measuring system
JP6048155B2 (en) Color measuring device, image forming apparatus and color measuring system
JP6428830B2 (en) Image forming apparatus and colorimetric method
JP6142537B2 (en) Inkjet recording apparatus, color measuring apparatus and color measuring method
JP6131649B2 (en) Imaging unit, color measuring device, image forming apparatus, and color measuring system
JP5929133B2 (en) Imaging apparatus, colorimetric apparatus, and image forming apparatus
JP6003097B2 (en) Imaging apparatus, colorimetric apparatus, colorimetric system, and image forming apparatus
JP6237834B2 (en) Imaging apparatus, control apparatus, image forming apparatus, and inkjet recording apparatus
JP7151110B2 (en) Imaging device, colorimetric device and image forming device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20181130

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20190807

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20191105

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20191031

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20200616

A601 Written request for extension of time

Free format text: JAPANESE INTERMEDIATE CODE: A601

Effective date: 20200812

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20201015

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20210222

R151 Written notification of patent or utility model registration

Ref document number: 6852723

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151