JP2014157026A - Image forming apparatus, colorimetry method, and colorimetry program - Google Patents

Image forming apparatus, colorimetry method, and colorimetry program Download PDF

Info

Publication number
JP2014157026A
JP2014157026A JP2013026584A JP2013026584A JP2014157026A JP 2014157026 A JP2014157026 A JP 2014157026A JP 2013026584 A JP2013026584 A JP 2013026584A JP 2013026584 A JP2013026584 A JP 2013026584A JP 2014157026 A JP2014157026 A JP 2014157026A
Authority
JP
Japan
Prior art keywords
image
imaging
unit
color
colorimetric
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
JP2013026584A
Other languages
Japanese (ja)
Other versions
JP6107199B2 (en
Inventor
Yuichi Sakurada
裕一 桜田
Nobuyuki Sato
信行 佐藤
Tomokazu Kanzawa
朋和 神沢
Satoshi Hirata
聡 平田
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
Priority to JP2013026584A priority Critical patent/JP6107199B2/en
Publication of JP2014157026A publication Critical patent/JP2014157026A/en
Application granted granted Critical
Publication of JP6107199B2 publication Critical patent/JP6107199B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

PROBLEM TO BE SOLVED: To properly perform colorimetry even when a defective image is included in a part of a colorimetry object.SOLUTION: In an image forming apparatus 1, a plurality of nozzles of a recording head 20 discharge ink drops to form a multi-color image on a recording medium, and a nozzle state detection unit detects a missing state of the image formed by the recording head 20. When a colorimetry subject formed on the recording medium by the recording head 20 is imaged by an imaging unit 30 in a predetermined imaging range for colorimetry, the image forming apparatus 1 performs colorimetry on the basis of an imaging result of the imaging unit 30 in an effective imaging range which is obtained by excluding a detected missing range from the imaging range of the imaging unit 30.

Description

本発明は、画像形成装置、測色方法及び測色プログラムに関し、詳細には、測色対象の一部に不正画像がある場合にも測色を正確に行う画像形成装置、測色方法及び測色プログラムに関する。   The present invention relates to an image forming apparatus, a color measurement method, and a color measurement program. Concerning color programs.

カラーインク噴射式画像形成装置、カラー電子写真式画像形成装置等の画像形成装置は、画質の向上に伴って、比較的印刷部数は少ないが高画像の要求される広告媒体やパンフレット類等のオフセット印刷にも用いられるようになってきている。   Image forming apparatuses such as color ink jet type image forming apparatuses and color electrophotographic image forming apparatuses are offset by advertising media and pamphlets that require a high image but a relatively small number of copies as the image quality improves. It is also used for printing.

高画質の要求されるオフセット印刷では、顧客の要求する印刷物の色と、画像形成装置で実際に印刷出力した印刷出力結果の色とが異なる場合がある。   In offset printing that requires high image quality, the color of the printed matter requested by the customer may differ from the color of the print output result that is actually printed out by the image forming apparatus.

通常、顧客は、ディスプレイ上で印刷物の色の確認を行って、印刷を発注するが、画像形成装置は、それぞれ機種固有の色再現特性があり、ディスプレイ上で確認された色とは、異なった印刷結果となることがある。   Usually, the customer confirms the color of the printed matter on the display and places an order for printing. However, each image forming apparatus has a color reproduction characteristic specific to each model, which is different from the color confirmed on the display. May result in printing.

そこで、従来から、ディスプレイや画像形成装置等のデバイスに依存しない色空間、例えば、Lab色空間、xyz色空間を用いて色再現を行う技術が用いられるようになってきている。   Therefore, conventionally, a technique for performing color reproduction using a color space that does not depend on a device such as a display or an image forming apparatus, such as a Lab color space or an xyz color space, has been used.

そして、画像形成装置は、指定の色を出力するために、色材の量等を制御している。例えば、インク噴射式画像形成装置では、インクの吐出量や印字パターン等を演算制御して、インクヘッドからのインクの吐出量を制御することで、出力色の制御を行なっており、電子写真式画像形成装置では、感光体へのトナーの付着量やレーザビームの光量等を制御することで、出力色の制御を行なっている。   The image forming apparatus controls the amount of color material and the like in order to output a specified color. For example, in an ink jet image forming apparatus, the output color is controlled by controlling the amount of ink discharged from the ink head by calculating and controlling the amount of ink discharged and the print pattern. In the image forming apparatus, the output color is controlled by controlling the amount of toner adhering to the photosensitive member, the amount of laser beam, and the like.

ところが、色材の量、例えば、インク噴射式画像形成装置のインクの吐出量は、ヘッドのノズルの状態やインクの粘性ばらつき、吐出駆動素子(ピエゾ素子等)のばらつき等によって、ばらつきがあり、色再現性にばらつきが生じる。また、インク噴射式画像形成装置のインクの吐出量は、1台の画像形成装置内で経時的に変化したり、画像形成装置毎に各々異なったりし、経時的に、また、画像形成装置毎に画像の色再現にばらつきが発生してしまう。   However, the amount of the color material, for example, the ink discharge amount of the ink jet image forming apparatus varies depending on the state of the nozzle of the head, the viscosity of the ink, the variation of the discharge drive elements (piezo elements, etc.), Variation in color reproducibility occurs. Further, the ink ejection amount of the ink jet type image forming apparatus changes with time in one image forming apparatus or varies for each image forming apparatus. In other words, variations in the color reproduction of the image occur.

そして、従来、筐体と、前記筐体内に配置された測色に使用する基準パターンと、撮像領域の一部の領域で前記基準パターンを撮像し、その他の領域で測色対象を撮像する二次元センサと、前記二次元センサと、前記基準パターン及び前記測色対象の光路上に配置され、当該基準パターンの像を当該二次元センサのセンサ面に結像する結像素子と、前記二次元センサと前記測色対象との光路中に配置され、前記結像素子による前記測色対象の結像位置を前記二次元センサ面とするための屈折率を有する透過部材と、を備えた撮像装置が提案されている(特許文献1参照)。   Conventionally, a case, a reference pattern used for colorimetry arranged in the case, and a part of the image pickup region are picked up by the reference pattern, and a colorimetric object is picked up in another region. A two-dimensional sensor; an imaging element that is disposed on the optical path of the reference pattern and the colorimetric object and forms an image of the reference pattern on a sensor surface of the two-dimensional sensor; An imaging apparatus comprising: a transmissive member disposed in an optical path between the sensor and the color measurement object and having a refractive index for setting the imaging position of the color measurement object by the imaging element as the two-dimensional sensor surface Has been proposed (see Patent Document 1).

すなわち、この従来技術は、基準パターンと測色対象を比較できるように撮像して、実際に画像形成装置が出力する画像の測色を行なっている。   That is, in this conventional technique, an image is captured so that the reference pattern and the colorimetric object can be compared, and the color actually measured by the image forming apparatus is measured.

上記公報記載の従来技術にあっては、基準パターンと測色対象を比較できるように撮像して測色を行なっている。   In the prior art described in the above publication, color measurement is performed by taking an image so that the reference pattern and the color measurement target can be compared.

ところが、測色対象の記録時に、ノズル詰まりやゴミの付着等によって測色対象からドット抜けやドット形成不正等によって部分的に不正画像が発生すると、正確な測色を行うことができない。正確な測色を行うためには、不正画像の発生要因が一時的な原因に起因する場合であっても、不正画像の原因を取り除いた後、再度、測色対象の記録を、不正画像が形成されなくなるまで、繰り返し行う必要がある。その結果、測色の度に不正画像の原因を取り除く作業を行うと、利用性を低下させる。さらに、ノズル詰まりが原因の場合に、ノズル詰まり解消動作を行わせると、インク消費量が増えるだけでなく、その間、測色処理動作が待たされ、測色に必要な時間が長くなるという問題がある。   However, when a color measurement target is recorded, if a fraudulent image is partially generated from the color measurement target due to nozzle clogging, dust adhesion, or the like due to missing dots or incorrect dot formation, accurate color measurement cannot be performed. In order to perform accurate color measurement, even if the cause of the illegal image is due to a temporary cause, after removing the cause of the illegal image, the incorrect image is recorded again. It must be repeated until no longer formed. As a result, if the work of removing the cause of the illegal image is performed every time the color measurement is performed, the usability is lowered. In addition, if nozzle clogging is caused, the nozzle clogging elimination operation not only increases the ink consumption, but also waits for the colorimetric processing operation during that time, increasing the time required for colorimetry. is there.

そこで、本発明は、測色対象の一部に不正画像がある場合にも測色を正確に行うことを目的としている。   Therefore, an object of the present invention is to accurately perform color measurement even when there is an illegal image in a part of the color measurement object.

上記目的を達成するために、請求項1記載の画像形成装置は、被記録媒体に対して複数色の画像を形成する画像形成手段と、前記画像形成手段の形成する画像の欠損状態を検出する画像欠損検出手段と、前記画像形成手段によって前記被記録媒体に形成された測色対象の被写体を所定の撮像範囲にわたって撮像する撮像手段と、前記撮像手段による前記撮像範囲のうち、前記画像欠損検出手段の検出した欠損範囲を除外した範囲を有効撮像範囲として、該有効撮像範囲の該撮像手段による撮像結果に基づいて測色を行う測色手段と、を備えていることを特徴としている。   To achieve the above object, an image forming apparatus according to claim 1 detects an image forming unit that forms an image of a plurality of colors on a recording medium, and a defect state of an image formed by the image forming unit. Image defect detection means, image pickup means for picking up an object to be colorimetrically formed on the recording medium by the image forming means over a predetermined image pickup range, and image loss detection among the image pickup ranges by the image pickup means And a colorimetric unit that performs colorimetry based on an imaging result of the imaging unit in the effective imaging range, with a range excluding the missing range detected by the unit as an effective imaging range.

本発明によれば、測色対象の一部に不正画像がある場合にも測色を正確に行うことができる。   According to the present invention, color measurement can be accurately performed even when there is an illegal image in a part of the color measurement target.

本発明の第1実施例を適用した画像形成装置の概略斜視図。1 is a schematic perspective view of an image forming apparatus to which a first embodiment of the present invention is applied. キャリッジ部分の平面図。The top view of a carriage part. 記録ヘッドの配置図。FIG. 撮像部の概略正面図。The schematic front view of an imaging part. 撮像部と測色調整パッチの位置関係を示す図。The figure which shows the positional relationship of an imaging part and a colorimetry adjustment patch. ノズル状態検出部の概略斜視図。The schematic perspective view of a nozzle state detection part. ノズル状態検出部の概略正面図。The schematic front view of a nozzle state detection part. ノズル状態検出部の概略平面図。The schematic plan view of a nozzle state detection part. 画像形成装置の要部ブロック構成図。FIG. 3 is a block diagram of a main part of the image forming apparatus. カメラコントローラのブロック構成図。The block block diagram of a camera controller. 基準シートから基準測色値と撮像基準RGB値の取得及び第1線形変換マトリックス取得処理の説明図。Explanatory drawing of acquisition of a reference | standard colorimetric value and imaging reference | standard RGB value from a reference | standard sheet | seat, and a 1st linear transformation matrix acquisition process. 色調整処理の説明図。Explanatory drawing of a color adjustment process. 図12の続きの色調整処理を示す図。FIG. 13 is a diagram illustrating color adjustment processing continued from FIG. 12. ノズル欠損がない場合の測色調整色パッチの一例を示す図。The figure which shows an example of the color measurement adjustment color patch when there is no nozzle defect | deletion. ノズル欠損がある場合の測色調整色パッチの一例を示す図。The figure which shows an example of the color measurement adjustment color patch in case there exists a nozzle defect | deletion. 測色調整色パッチ形成に使用する記録ヘッドの一例を示す図。FIG. 4 is a diagram illustrating an example of a recording head used for forming a colorimetric adjustment color patch. ノズル欠損がある場合のシアンとイエローで記録した測色調整色パッチの一例を示す図。The figure which shows an example of the colorimetric adjustment color patch recorded with cyan and yellow when there is a nozzle defect. ノズル欠損があるときにインターレース方式による測色調整色パッチの記録状態の説明図。Explanatory drawing of the recording state of the color measurement adjustment color patch by an interlace method when there exists a nozzle defect. ノズル欠損によるデータ減少を補う方法の説明図。Explanatory drawing of the method of supplementing the data reduction by nozzle defect | deletion. ノズル状態検出処理を示すフローチャート。The flowchart which shows a nozzle state detection process. ノズル欠損検出用パターンの一例を示す図。The figure which shows an example of the pattern for nozzle defect | deletion detection. 測色調整色パターンからのノズル欠損検出処理の説明図。Explanatory drawing of a nozzle defect | deletion detection process from a colorimetry adjustment color pattern. ノズル曲を含むノズル欠損のある測色調整色パッチの一例を示す図。The figure which shows an example of the color measurement adjustment color patch with the nozzle defect | deletion containing a nozzle curvature. 第2実施例の撮像部の上面図。The top view of the image pick-up part of the 2nd example. 図24の撮像部のA−A矢視断面図。AA arrow sectional drawing of the imaging part of FIG. 図24の撮像部のB−B矢視断面図。BB arrow sectional drawing of the imaging part of FIG. 基準チャートの平面図。The top view of a reference | standard chart. 第2実施例の画像形成装置の要部ブロック構成図。FIG. 6 is a block diagram of a main part of an image forming apparatus according to a second embodiment. 撮像部と測色制御部のブロック構成図。The block block diagram of an imaging part and a colorimetry control part. 基準チャートと撮像対象を同時に撮像した画像データの一例を示す図。The figure which shows an example of the image data which imaged the reference | standard chart and the imaging target simultaneously. 初期基準値の一例を示す図。The figure which shows an example of an initial reference value. 第2実施例の色調整処理の説明図。Explanatory drawing of the color adjustment process of 2nd Example. 第3線形変換マトリックス生成処理の説明図。Explanatory drawing of a 3rd linear transformation matrix production | generation process. 初期基準RGB値と測色時基準RGB値の関係を示す図。The figure which shows the relationship between an initial reference | standard RGB value and the reference | standard RGB value at the time of colorimetry. 測色対象撮像側と基準シート撮像側の双方に光路長変更部材が配設されている撮像部の正面断面図。FIG. 3 is a front cross-sectional view of an imaging unit in which optical path length changing members are arranged on both the colorimetric object imaging side and the reference sheet imaging side. 図35のA−A矢視断面図。AA arrow sectional drawing of FIG. 光路長変更部材を備えていない撮像部の正面断面図。The front sectional view of the image pick-up part which is not provided with the optical path length change member. 撮像部の撮像光学系に基づく欠損ノズルによる画像の測色対象外とする範囲決定の説明図。Explanatory drawing of the range determination excluded from the colorimetry object of the image by the defect | deletion nozzle based on the imaging optical system of an imaging part. 測色システムを適用した画像形成システムの要部ブロック構成図。FIG. 2 is a block diagram of a main part of an image forming system to which a color measurement system is applied.

以下、本発明の好適な実施例を添付図面に基づいて詳細に説明する。なお、以下に述べる実施例は、本発明の好適な実施例であるので、技術的に好ましい種々の限定が付されているが、本発明の範囲は、以下の説明によって不当に限定されるものではなく、また、本実施の形態で説明される構成の全てが本発明の必須の構成要件ではない。   Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings. In addition, since the Example described below is a suitable Example of this invention, various technically preferable restrictions are attached | subjected, However, The range of this invention is unduly limited by the following description. However, not all the configurations described in the present embodiment are essential constituent elements of the present invention.

なお、以下で説明する「Lab(Lab値)」は、例えば、CIELAB(CIE 1976 L*a*b*)色空間(の値)を意味する。以下では、説明の便宜のため、「L*a*b*」を「Lab」と表す。本発明は、L*a*b*色空間に限定されるものではなく、L*u*v*色空間等でも構わない。   Note that “Lab (Lab value)” described below means, for example, the CIELAB (CIE 1976 L * a * b *) color space. Hereinafter, for convenience of explanation, “L * a * b *” is represented as “Lab”. The present invention is not limited to the L * a * b * color space, and may be an L * u * v * color space or the like.

図1〜図23は、本発明の画像形成装置、測色方法及び測色プログラムの第1実施例を示す図であり、図1は、本発明の画像形成装置、測色方法及び測色プログラムの第1実施例を適用した画像形成装置1の概略斜視図である。   1 to 23 are diagrams showing a first embodiment of an image forming apparatus, a colorimetric method and a colorimetric program according to the present invention. FIG. 1 shows an image forming apparatus, a colorimetric method and a colorimetric program according to the present invention. 1 is a schematic perspective view of an image forming apparatus 1 to which the first embodiment is applied.

図1において、画像形成装置1は、本体筐体2が、本体フレーム3上に配設されており、本体筐体2内には、図1に両矢印Aで示す主走査方向に主ガイドロッド4と副ガイドロッド5が張り渡されている。主ガイドロッド4は、キャリッジ6を移動可能に支持しており、キャリッジ6には、副ガイドロッド5に係合してキャリッジ6の姿勢を安定化させる連結片6aが設けられている。画像形成装置1は、主ガイドロッド4に沿って無端ベルト状のタイミングベルト7が配設されており、タイミングベルト7は、駆動プーリ8と従動プーリ9との間に張り渡されている。駆動プーリ8は、主走査モータ10によって回転駆動され、駆動プーリ8は、タイミングベルト7に対して所定の張りを与える状態で配設されている。駆動プーリ8は、主走査モータ10によって回転駆動されることで、その回転方向に応じて、タイミングベルト7を主走査方向に回転移動させる。   In FIG. 1, an image forming apparatus 1 has a main body housing 2 disposed on a main body frame 3, and a main guide rod in the main scanning direction indicated by a double arrow A in FIG. 4 and the auxiliary guide rod 5 are stretched over. The main guide rod 4 movably supports the carriage 6, and the carriage 6 is provided with a connecting piece 6 a that engages with the sub guide rod 5 to stabilize the posture of the carriage 6. In the image forming apparatus 1, an endless belt-like timing belt 7 is disposed along a main guide rod 4, and the timing belt 7 is stretched between a driving pulley 8 and a driven pulley 9. The driving pulley 8 is rotationally driven by the main scanning motor 10, and the driving pulley 8 is disposed in a state where a predetermined tension is applied to the timing belt 7. The driving pulley 8 is rotationally driven by the main scanning motor 10 to rotate and move the timing belt 7 in the main scanning direction according to the rotation direction.

キャリッジ6は、タイミングベルト7に連結されており、タイミングベルト7が駆動プーリ8によって主走査方向に回転移動されることで、主ガイドロッド4に沿って主走査方向に往復移動する。   The carriage 6 is connected to a timing belt 7, and is reciprocated in the main scanning direction along the main guide rod 4 when the timing belt 7 is rotationally moved in the main scanning direction by the drive pulley 8.

画像形成装置1は、本体筐体2内の主走査方向両端部位置に、カートリッジ部11と維持機構部12が収納されている。カートリッジ部11は、イエロー(Y)、マゼンタ(M)、シアン(C)、ブラック(K)の各インクをそれぞれ収納するカートリッジが、交換可能に収納されている。カートリッジ部11の各カートリッジは、キャリッジ6が搭載する記録ヘッド(画像形成手段)20の対応する色の記録ヘッド20y、20m、20c、20k(図2参照)と、図示しないパイプで連結されている。カートリッジ部11は、パイプを通して記録ヘッド20y、20m、20c、20kに対してインクを供給する。なお、以下の説明において、記録ヘッド20y、20m、20c、20kを総称するときには、記録ヘッド20という。   In the image forming apparatus 1, the cartridge unit 11 and the maintenance mechanism unit 12 are accommodated at both end positions in the main scanning direction in the main body housing 2. In the cartridge unit 11, cartridges that respectively store yellow (Y), magenta (M), cyan (C), and black (K) inks are replaceably stored. Each cartridge of the cartridge unit 11 is connected to recording heads 20y, 20m, 20c, and 20k (see FIG. 2) of the corresponding color of the recording head (image forming unit) 20 mounted on the carriage 6 by a pipe (not shown). . The cartridge unit 11 supplies ink to the recording heads 20y, 20m, 20c, and 20k through a pipe. In the following description, the recording heads 20y, 20m, 20c, and 20k are collectively referred to as the recording head 20.

画像形成装置1は、後述するように、キャリッジ6を主走査方向に移動させながら、プラテン14(図2参照)上を、主走査方向と直交する副走査方向(図1の矢印B方向)に間欠的に搬送される被記録媒体P(図2参照)にインクを吐出することで、被記録媒体Pに画像を記録出力する。   As will be described later, the image forming apparatus 1 moves on the platen 14 (see FIG. 2) in the sub-scanning direction (arrow B direction in FIG. 1) perpendicular to the main scanning direction while moving the carriage 6 in the main scanning direction. By ejecting ink onto the recording medium P (see FIG. 2) conveyed intermittently, an image is recorded and output on the recording medium P.

すなわち、本実施例の画像形成装置1は、被記録媒体Pを副走査方向に間欠的に搬送し、被記録媒体Pの副走査方向の搬送が停止している間に、キャリッジ6を主走査方向に移動させながら、キャリッジ6に搭載された記録ヘッド20のノズル列からプラテン14上の被記録媒体P上にインクを吐出して、被記録媒体Pに画像を形成する。   That is, the image forming apparatus 1 according to the present embodiment intermittently conveys the recording medium P in the sub-scanning direction, and performs the main scanning of the carriage 6 while the conveyance of the recording medium P in the sub-scanning direction is stopped. While moving in the direction, ink is ejected from the nozzle row of the recording head 20 mounted on the carriage 6 onto the recording medium P on the platen 14 to form an image on the recording medium P.

維持機構部12は、記録ヘッド20の吐出面の清掃、キャッピング、不要なインクの吐出等を行って、記録ヘッド20からの不要なインクの排出や、記録ヘッド20の信頼性の維持を図っている。   The maintenance mechanism unit 12 performs cleaning of the ejection surface of the recording head 20, capping, ejection of unnecessary ink, and the like to discharge unnecessary ink from the recording head 20 and maintain the reliability of the recording head 20. Yes.

画像形成装置1は、被記録媒体Pの搬送部分を開閉可能に、カバー13が設けられており、画像形成装置1のメンテナンス時やジャム発生時に、カバー13を開けることで、本体筐体2内部のメンテナンス作業やジャムの発生した被記録媒体Pの除去等の作業を行うことができる。   The image forming apparatus 1 is provided with a cover 13 that can open and close a conveyance portion of the recording medium P. When the image forming apparatus 1 is maintained or when a jam occurs, the cover 13 is opened so that the inside of the main body housing 2 can be opened. Maintenance work and removal of the recording medium P in which a jam has occurred can be performed.

キャリッジ6は、図2に示すように、記録ヘッド20y、20m、20c、20k(本実施例では、図3に示すように配列されている。)を搭載しており、記録ヘッド20y、20m、20c、20kは、それぞれ上記カートリッジ部11の対応する色のカートリッジにパイプで連結されて、それぞれ対応する色のインクを、対向する被記録媒体Pに吐出する。すなわち、記録ヘッド20yは、イエロー(Y)インクを、記録ヘッド20mは、マゼンタ(M)インクを、記録ヘッド20cは、シアン(C)インクを、記録ヘッド20kは、ブラック(K)インクを、それぞれ吐出する。   As shown in FIG. 2, the carriage 6 is mounted with recording heads 20y, 20m, 20c, and 20k (arranged as shown in FIG. 3 in this embodiment), and the recording heads 20y, 20m, Reference numerals 20c and 20k are connected to the corresponding color cartridges of the cartridge unit 11 by pipes, and respectively discharge the corresponding color inks to the opposed recording medium P. That is, the recording head 20y is yellow (Y) ink, the recording head 20m is magenta (M) ink, the recording head 20c is cyan (C) ink, and the recording head 20k is black (K) ink. Discharge each.

記録ヘッド20は、その吐出面(ノズル面)が、図1の下方(被記録媒体P側)に向くように、キャリッジ6に搭載されており、被記録媒体Pにインクを吐出する。   The recording head 20 is mounted on the carriage 6 so that its ejection surface (nozzle surface) faces downward (recording medium P side) in FIG. 1, and ejects ink onto the recording medium P.

画像形成装置1は、タイミングベルト7、すなわち、主ガイドロッド4に平行に、少なくともキャリッジ6の移動範囲に亘ってエンコーダシート15が配設されており、キャリッジ6には、エンコーダシート15を読み取るエンコーダセンサ21が取り付けられている。画像形成装置1は、エンコーダセンサ21によるエンコーダシート15の読み取り結果に基づいて主走査モータ10の駆動を制御することで、キャリッジ6の主走査方向の移動を制御する。   In the image forming apparatus 1, an encoder sheet 15 is disposed in parallel with the timing belt 7, that is, the main guide rod 4 over at least the movement range of the carriage 6, and the carriage 6 is an encoder that reads the encoder sheet 15. A sensor 21 is attached. The image forming apparatus 1 controls the movement of the carriage 6 in the main scanning direction by controlling the driving of the main scanning motor 10 based on the reading result of the encoder sheet 15 by the encoder sensor 21.

キャリッジ6に搭載されている記録ヘッド20は、図3に示すように、それぞれの記録ヘッド20y、20m、20c、20kが、複数のノズル列で構成されており、プラテン14上を搬送される被記録媒体P上にノズル列からインクを吐出することで、被記録媒体Pに画像を形成する。画像形成装置1では、キャリッジ6の1回の走査で被記録媒体Pに形成できる画像の幅を広く確保するため、キャリッジ6に、上流側の記録ヘッド20と下流側の記録ヘッド20とを搭載している。また、ブラックのインクを吐出する記録ヘッド20kは、黒の印字速度を向上させるために、カラーのインクを吐出する記録ヘッド20y、20m、20cの2倍の数がキャリッジ6に搭載されている。さらに、記録ヘッド20y、20mは、キャリッジ6の往復動作で色の重ね順を合わせて、往路と復路とで色が変わらないようにするために、主走査方向に分割されて隣接する状態で配置されており、記録ヘッド20の各記録ヘッド20y、20m、20c、20kの配置は、図3に示す配置に限るものではない。なお、図3に示す矢印Bは、副走査方向を示している。   As shown in FIG. 3, the recording head 20 mounted on the carriage 6 is composed of a plurality of nozzle rows, each of the recording heads 20y, 20m, 20c, and 20k. An image is formed on the recording medium P by ejecting ink from the nozzle rows onto the recording medium P. In the image forming apparatus 1, an upstream recording head 20 and a downstream recording head 20 are mounted on the carriage 6 in order to ensure a wide width of an image that can be formed on the recording medium P by one scan of the carriage 6. doing. The recording head 20k that discharges black ink is mounted on the carriage 6 twice as many as the recording heads 20y, 20m, and 20c that discharge color ink in order to improve the black printing speed. Further, the recording heads 20y and 20m are arranged adjacent to each other in the main scanning direction so that the colors are aligned in the reciprocating operation of the carriage 6 so that the color does not change between the forward path and the backward path. Therefore, the arrangement of the recording heads 20y, 20m, 20c, and 20k of the recording head 20 is not limited to the arrangement shown in FIG. An arrow B shown in FIG. 3 indicates the sub-scanning direction.

キャリッジ6には、図2に示したように、撮像部30が取り付けられており、撮像部30は、後述する色調整処理時に被写体(測色対象物)を測色するために、被写体を撮像する。   As shown in FIG. 2, an imaging unit 30 is attached to the carriage 6, and the imaging unit 30 images a subject in order to measure a subject (colorimetric object) during color adjustment processing described later. To do.

撮像部(撮像手段)30は、図4に示すように、キャリッジ6に固定されているプリント基板31上に、光源32と受光素子部33が搭載されている。   As shown in FIG. 4, the imaging unit (imaging unit) 30 includes a light source 32 and a light receiving element unit 33 mounted on a printed circuit board 31 fixed to the carriage 6.

光源32は、例えば、LED(Light Emitting Diode)が用いられており、被写体、例えば、被記録媒体Pに記録出力された測色調整色パッチCPに読取光を照射して、その反射光(乱反射光または正反射光)が受光素子部33に入射される。光源32は、図5に示すように、被記録媒体Pに形成される測色調整色パッチCPを取り囲むように、4つ配置されており、測色調整色パッチCPに均一な読取光を照射する。   The light source 32 uses, for example, an LED (Light Emitting Diode), and irradiates the subject, for example, the colorimetric adjustment color patch CP recorded and output on the recording medium P with the reading light, and the reflected light (diffuse reflection). Light or specularly reflected light) is incident on the light receiving element portion 33. As shown in FIG. 5, four light sources 32 are arranged so as to surround the colorimetric adjustment color patch CP formed on the recording medium P, and the colorimetric adjustment color patch CP is irradiated with uniform reading light. To do.

受光素子部33は、CCD(Charge Coupled Device )センサやCMOS(Complementary Metal Oxide Semiconductor )センサ等の2次元イメージセンサ34とレンズ35を備えている。受光素子部33は、光源32から測色調整色パッチCPに出射された読取光の反射光を、レンズ35を通して2次元イメージセンサ34に入射させ、2次元イメージセンサ34が画像データを出力する。   The light receiving element unit 33 includes a two-dimensional image sensor 34 such as a CCD (Charge Coupled Device) sensor or a CMOS (Complementary Metal Oxide Semiconductor) sensor, and a lens 35. The light receiving element unit 33 causes the reflected light of the reading light emitted from the light source 32 to the colorimetric adjustment color patch CP to enter the two-dimensional image sensor 34 through the lens 35, and the two-dimensional image sensor 34 outputs image data.

撮像部30は、光源32から測色調整色パッチCP等の被写体に照射された読取光が、該測色調整色パッチCPで反射された反射光を受光素子部33で光電変換し、後述するように、クロックに同期させてVDATA及び制御信号(HREE、VSYNC)を出力する。   The imaging unit 30 photoelectrically converts reflected light reflected by the colorimetric adjustment color patch CP, which is emitted from the light source 32 onto a subject such as the colorimetric adjustment color patch CP, by the light receiving element unit 33, which will be described later. As described above, VDATA and control signals (HREE, VSYNC) are output in synchronization with the clock.

また、画像形成装置Gkは、図1に示した維持機構部12の設けられているノズル詰まり解消動作位置に、図6〜図8に示すようなノズル状態検出部40が配設されている。   Further, in the image forming apparatus Gk, a nozzle state detection unit 40 as shown in FIGS. 6 to 8 is disposed at a nozzle clogging elimination operation position where the maintenance mechanism unit 12 shown in FIG. 1 is provided.

ノズル状態検出部(画像欠損検出手段)40は、維持機構部12のノズル詰まり解消時にインクを吐出する位置に設けられている廃液タンク12aを挟んで、発光部(発光手段)41と受光部(受光手段)42が配設されている。ノズル状態検出部40は、廃液タンク12aの真上の位置まで主走査方向に移動してきたキャリッジ6に搭載されている記録ヘッド20y、20m、20c、20kの各ノズルから廃液タンク12aに向かって吐出されるインクの有無と方向及び量を検出する。すなわち、ノズル状態検出部40の発光部41は、LD(Laser Diode:レーザーダイオード)等の発光素子41a、コリメートレンズ41b及びアパーチャ41c等を備えており、受光部42は、PD(Photodiode:フォトダイオード)等が用いられている。発光部41は、LD41aからの出射光を、コリメートレンズ41bによって平行光にし、アパーチャ41cによって主走査方向に対して所望の幅の検出光に整形して主走査方向に出射する。受光部42は、発光部41に対して主走査方向の位置から上記検出光の幅よりも副走査方向に位置ずれした状態で配置されており、図8に示すように、記録ヘッド20y〜20kの各ノズルから吐出されたインク滴によって乱反射された乱反射光が入射される。受光部42は、乱反射光が入射されると、そのPDが入射光の光量に応じた値の検出信号Soを出力する。すなわち、ノズル状態検出部40は、発光部41から主走査方向に出射された検出光が、記録ヘッド20y〜20kのノズルから出射されたインク滴によって乱反射された乱反射光を、受光部42が検出して検出信号Soを出力する、いわゆる散乱光検知方式のノズル状態検出部である。   A nozzle state detection unit (image loss detection unit) 40 sandwiches a waste liquid tank 12a provided at a position for discharging ink when the nozzle clogging of the maintenance mechanism unit 12 is eliminated, and a light emitting unit (light emitting unit) 41 and a light receiving unit ( Light receiving means) 42 is provided. The nozzle state detection unit 40 discharges from the nozzles of the recording heads 20y, 20m, 20c, and 20k mounted on the carriage 6 that has moved in the main scanning direction to a position just above the waste liquid tank 12a toward the waste liquid tank 12a. The presence / absence, direction, and amount of ink to be used are detected. That is, the light emitting unit 41 of the nozzle state detection unit 40 includes a light emitting element 41a such as an LD (Laser Diode), a collimating lens 41b, an aperture 41c, and the like, and the light receiving unit 42 includes a PD (Photodiode: photodiode). ) Etc. are used. The light emitting unit 41 converts the emitted light from the LD 41a into parallel light by the collimator lens 41b, shapes the detection light with a desired width with respect to the main scanning direction by the aperture 41c, and emits it in the main scanning direction. The light receiving unit 42 is arranged in a state shifted from the position in the main scanning direction with respect to the light emitting unit 41 in the sub scanning direction with respect to the width of the detection light, and as shown in FIG. 8, the recording heads 20y to 20k. The irregularly reflected light that is irregularly reflected by the ink droplets ejected from each nozzle is incident. When the irregularly reflected light is incident, the light receiving unit 42 outputs a detection signal So having a value corresponding to the amount of incident light. That is, in the nozzle state detection unit 40, the light receiving unit 42 detects irregularly reflected light in which the detection light emitted from the light emitting unit 41 in the main scanning direction is irregularly reflected by the ink droplets emitted from the nozzles of the recording heads 20y to 20k. And a so-called scattered light detection type nozzle state detection unit that outputs a detection signal So.

そして、画像形成装置1は、図9に示すようにブロック構成されており、CPU51、ROM(Read Only Memory)52、RAM(Random Access Memory)53、不揮発性メモリ54、主走査ドライバ55、記録ヘッドドライバ56、紙搬送部57及び副走査ドライバ58等を備えている。また、キャリッジ6は、上記記録ヘッド20、エンコーダセンサ21、撮像部30等を備えているとともに、カメラコントローラ60を搭載している。   The image forming apparatus 1 has a block configuration as shown in FIG. 9, and includes a CPU 51, a ROM (Read Only Memory) 52, a RAM (Random Access Memory) 53, a nonvolatile memory 54, a main scanning driver 55, and a recording head. A driver 56, a paper transport unit 57, a sub-scan driver 58, and the like are provided. The carriage 6 includes the recording head 20, the encoder sensor 21, the imaging unit 30, and the like, and a camera controller 60.

ROM52は、画像形成装置1としての基本プログラム及び測色プログラムと色調整プログラム等のプログラム及び必要なシステムデータ等を記憶する。   The ROM 52 stores a basic program, a colorimetry program, a color adjustment program, and other necessary system data as the image forming apparatus 1.

CPU51は、ROM52内のプログラムに基づいて、RAM53をワークメモリとして利用しつつ、画像形成装置1の各部を制御して、画像形成装置1としての基本処理を実行する。また、CPU51は、ROM52内の測色プログラム及び色調整プログラムに基づいて、測色対象の一部に不正画像がある場合にも撮像部30が撮像したRGB値に基づいて色調整用の測色値を求めて、該測色値に基づいて、画像形成時における色調整処理を正確に実行する。CPU51は、キャリッジ6及び紙搬送部57の制御においては、エンコーダセンサ21からのエンコーダ値に基づいて主走査ドライバ55の駆動を制御して、キャリッジ6主走査方向の移動を制御する。また、CPU51は、副走査ドライバ58を介して、図示しない副走査モータや搬送ローラ等の紙搬送部57の駆動を制御する。さらに、CPU51は、記録ヘッドドライバ56を介して、記録ヘッド20によるインクの吐出タイミング及びインク吐出量を制御する。また、CPU51は、LEDドライバ47を制御して、撮像部30の点灯駆動を制御する。   The CPU 51 executes basic processing as the image forming apparatus 1 by controlling each part of the image forming apparatus 1 while using the RAM 53 as a work memory based on a program in the ROM 52. Further, based on the color measurement program and the color adjustment program in the ROM 52, the CPU 51 performs color adjustment for color adjustment based on the RGB values captured by the imaging unit 30 even when there is an illegal image as a part of the color measurement target. A value is obtained, and color adjustment processing during image formation is accurately executed based on the colorimetric value. The CPU 51 controls the movement of the carriage 6 in the main scanning direction by controlling the driving of the main scanning driver 55 based on the encoder value from the encoder sensor 21 in the control of the carriage 6 and the paper transport unit 57. Further, the CPU 51 controls driving of a paper transport unit 57 such as a sub-scan motor and a transport roller (not shown) via the sub-scan driver 58. Further, the CPU 51 controls the ink ejection timing and the ink ejection amount by the recording head 20 via the recording head driver 56. Further, the CPU 51 controls the LED driver 47 to control the lighting drive of the imaging unit 30.

さらに、CPU51は、ノズル状態検出部40からの各記録ヘッド20y〜20kのノズル状態を検出した検出信号Soが入力され、該検出信号Soから記録ヘッド20y〜20kの各ノズルの状態情報であるノズル欠損情報を取得する。CPU51は、取得したノズル欠損情報を不揮発性メモリ54に格納するとともに、カメラコントローラ60に送信する。また、CPU51は、カメラコントローラ60から撮像部30の撮像した測色結果を取得する。さらに、CPU51は、ノズル抜け検出用のパターンデータ(画像欠損検出用パターン画像)によるノズル抜け検出駆動信号を、記録ヘッドドライバ56へ出力して、記録ヘッド20y〜20kの各ノズルからノズル抜け検出用(ノズル欠損画像検出用)にインク滴の吐出を行わせる。また、CPU51は、測色調整色パッチCPの記録出力時に、ノズル欠損情報に基づいて、欠損ノズルからのインク滴の吐出を停止させて測色調整色パッチCPを形成させるノズル欠損対応測色データを記録ヘッドドライバ56に出力して、記録ヘッド20y〜20kにノズル欠損対応測色調整色パッチCPを被記録媒体Pに形成させる。   Further, the CPU 51 receives a detection signal So that detects the nozzle state of each of the recording heads 20y to 20k from the nozzle state detection unit 40, and the nozzle that is the state information of each nozzle of the recording heads 20y to 20k from the detection signal So. Acquire missing information. The CPU 51 stores the acquired nozzle defect information in the nonvolatile memory 54 and transmits it to the camera controller 60. In addition, the CPU 51 acquires the color measurement result captured by the imaging unit 30 from the camera controller 60. Further, the CPU 51 outputs a nozzle missing detection drive signal based on nozzle missing detection pattern data (image defect detection pattern image) to the recording head driver 56 to detect nozzle missing from each nozzle of the recording heads 20y to 20k. Causes the ink droplets to be ejected (for nozzle defect image detection). Further, the CPU 51, when recording and outputting the color measurement adjustment color patch CP, stops the discharge of ink droplets from the defective nozzle and forms the color measurement adjustment color patch CP based on the nozzle defect information. Is output to the recording head driver 56 to cause the recording heads 20y to 20k to form the color measurement adjustment color patch CP corresponding to the nozzle loss on the recording medium P.

そして、CPU51は、後述するように、画像形成手段である記録ヘッド20によって被記録媒体Pに形成された適宜の測色対象の被写体を所定の撮像範囲にわたって撮像する撮像手段撮像手段である撮像部30による該撮像範囲のうち、ノズル状態検出部40の検出した欠損範囲を除外した範囲を有効撮像範囲として、該有効撮像範囲の該撮像部30による撮像結果に基づいて測色を行う測色手段として機能している。   Then, as will be described later, the CPU 51 captures an appropriate colorimetric subject formed on the recording medium P by the recording head 20 serving as an image forming unit over a predetermined imaging range. Colorimetric means for performing colorimetry based on the imaging result of the imaging unit 30 in the effective imaging range, with the range excluding the missing range detected by the nozzle state detection unit 40 as the effective imaging range. Is functioning as

撮像部30は、上述したように、画像を記録出力する際の画像データの色を、ユーザの意図する色に正確に再現する色調整用の測色値を生成するために、測色時に被記録媒体Pに記録ヘッド20によって形成されたパッチ画像PGを撮像して、撮像したRGB値をCPU51に出力する。   As described above, the image capturing unit 30 generates a color measurement value for color adjustment that accurately reproduces the color of the image data when the image is recorded and output to the color intended by the user. The patch image PG formed by the recording head 20 on the recording medium P is imaged, and the captured RGB values are output to the CPU 51.

また、CPU51は、ノズル状態検出部40の受光部42の出力する検出信号Soに基づいて画像の欠損状態(ノズル欠損(欠損画像))を判断し、欠損判断手段として機能する。   Further, the CPU 51 determines an image defect state (nozzle defect (defect image)) based on the detection signal So output from the light receiving unit 42 of the nozzle state detection unit 40, and functions as a defect determination unit.

そして、カメラコントローラ60は、FPGA(Field Programmable Gate Array)等で構成され、図10に示すように、ブロック構成されている。カメラコントローラ60は、サブCPU61、データ記憶メモリ62、SRAM(Static Random Access Memory)63、PWM(Pulse Width Modulation:パルス幅変調)コントローラ64、I2C(Inter-Integrated Circuit:IスクウェアC)コントローラ65、上位CPUI/F66、VIDEO I/F67及び選択/平均化部68等を備えており、各部は、バス69によって接続されている。カメラコントローラ60と撮像部30の光源32との間には、ドライバ70が配設されている。カメラコントローラ60は、撮像部30、特に、2次元イメージセンサ34における撮影動作、自動露出(AE)動作、自動ホワイトバランス(AWB)調整動作やAF動作、表示等の制御を行い、また、各種制御のための情報入力手段の一つとして内蔵のA/D変換器(ADC)を用いてアナログ情報の把握を行う。   The camera controller 60 is configured by an FPGA (Field Programmable Gate Array) or the like, and is configured as a block as shown in FIG. The camera controller 60 includes a sub CPU 61, a data storage memory 62, an SRAM (Static Random Access Memory) 63, a PWM (Pulse Width Modulation) controller 64, an I2C (Inter-Integrated Circuit: I square C) controller 65, and a host. A CPU I / F 66, a VIDEO I / F 67, a selection / averaging unit 68, and the like are provided, and each unit is connected by a bus 69. A driver 70 is disposed between the camera controller 60 and the light source 32 of the imaging unit 30. The camera controller 60 controls the imaging unit 30, particularly the photographing operation, automatic exposure (AE) operation, automatic white balance (AWB) adjustment operation, AF operation, display, and the like in the two-dimensional image sensor 34, and various controls. Analog information is grasped using a built-in A / D converter (ADC) as one of information input means.

そして、撮像部30の撮像結果に基づいて画像の欠損状態を検出する場合には、サブCPU61は、ROM52内のプログラムに基づいてSRAM63をワークメモリとして利用して、撮像部30の2次元イメージセンサ34から送られてくる画像データに対して、後述するマトリクス演算を行なって欠損ノズルを特定する。したがって、サブCPU61は、画像欠損検出用パターン画像を撮像部30によって撮像させて、該撮像部30の出力するパターン画像データに基づいて、画像の欠損状態を検出する欠損画像判断手段として機能している。この場合、CPU51は、被記録媒体Pに所定の画像欠損検出用パターン画像を記録ヘッド20に形成させ、パターン画像形成制御手段として機能する。   When detecting a missing state of an image based on the imaging result of the imaging unit 30, the sub CPU 61 uses the SRAM 63 as a work memory based on a program in the ROM 52, and the two-dimensional image sensor of the imaging unit 30. The defective nozzle is specified by performing a matrix operation to be described later on the image data sent from 34. Therefore, the sub CPU 61 functions as a missing image determination unit that causes the image defect detection pattern image to be captured by the image capturing unit 30 and detects the image defect state based on the pattern image data output from the image capturing unit 30. Yes. In this case, the CPU 51 causes the recording head 20 to form a predetermined image defect detection pattern image on the recording medium P, and functions as a pattern image formation control unit.

VIDEO I/F67は、2次元イメージセンサ34からクロック(PCLK)に同期して入力されるVIDEO DATA(VDATA)及び制御信号(HREF、VSYNC)を受信し、選択部/平均化処理部68へ出力する。なお、VIDEO DATA(VDATA)は、以下の説明では、適宜、画像データまたはデータという。   The VIDEO I / F 67 receives VIDEO DATA (VDATA) and control signals (HREF, VSYNC) input from the two-dimensional image sensor 34 in synchronization with the clock (PCLK), and outputs them to the selection unit / averaging processing unit 68. To do. Note that VIDEO DATA (VDATA) is appropriately referred to as image data or data in the following description.

選択部/平均化処理部68は、その選択部が、受信したデータ(VIDEO DATA)から所望の位置のデータを選択し、平均化処理部が、該選択データを平均化する。選択部/平均化処理部68は、後述するように、色調整処理時に、データにノズル欠損によるドット抜けが発生している場合は、選択部でドット抜けが発生した箇所のデータを非選択にするように制御し、平均化処理部での平均化対象から除外する。   The selection unit / averaging processing unit 68 selects data at a desired position from the received data (VIDEO DATA), and the averaging processing unit averages the selection data. As will be described later, the selection unit / averaging unit 68 deselects the data where the dot missing has occurred in the selection unit if the missing dot due to the missing nozzle has occurred in the data during the color adjustment process. To exclude them from the objects to be averaged by the averaging processing unit.

I2Cコントローラ65は、上記CPU51またはサブCPU61からの命令に従って、I2Cコントローラ65で2次元イメージセンサ34のレジスタをセットする。   The I2C controller 65 sets the register of the two-dimensional image sensor 34 by the I2C controller 65 in accordance with the instruction from the CPU 51 or the sub CPU 61.

I2Cコントローラ65が、CPU51またはサブCPU61からのノズル欠損情報に基づいて2次元イメージセンサ34による撮像範囲を変えるようにレジスタを設定することで、予めドット抜けが発生している箇所のデータを除外したデータ(VDATA)をカメラコントローラ67へ出力させる。   By setting the register so that the I2C controller 65 changes the imaging range by the two-dimensional image sensor 34 based on the nozzle missing information from the CPU 51 or the sub CPU 61, the data where the dot missing has occurred is excluded in advance. Data (VDATA) is output to the camera controller 67.

PWMコントローラ64は、撮像部30の光源32であるLEDの発光強度を、ドライバ70への駆動信号のPWMのデューティ比を変えることで制御する。   The PWM controller 64 controls the light emission intensity of the LED that is the light source 32 of the imaging unit 30 by changing the PWM duty ratio of the drive signal to the driver 70.

データ記憶メモリ62は、選択部/平均化処理部68が平均化処理したデータ平均値やサブCPU61が演算した計算結果を格納する。   The data storage memory 62 stores the data average value averaged by the selection unit / average processing unit 68 and the calculation result calculated by the sub CPU 61.

上位CPU I/F66は、データ記憶メモリ62に格納されたデータをCPU51へ送信し、また、ノズル抜けデータ等のカメラコントローラ60における制御に関するパラメータをCPU51から受信する。   The host CPU I / F 66 transmits data stored in the data storage memory 62 to the CPU 51 and receives parameters related to control in the camera controller 60 such as nozzle missing data from the CPU 51.

そして、CPU51は、不揮発性メモリ(基準値記憶手段)44に予め記憶されている複数色のパッチ(基準色パッチKP:図11参照)の測色値と撮像部30の2次元イメージセンサ34で該基準色パッチKPを撮像したRGB値を対応させて、不揮発性メモリ54のメモリテーブルTb1(図11参照)に記憶し、また、該メモリテーブルTb1から求めた第1線形変換マトリックスを不揮発性メモリ54に記憶させる。さらに、CPU51は、撮像部30の2次元イメージセンサ34が測色調整パッチCP(図12参照)を撮像した測色対象RGB値を第1線形変換マトリックスで測色空間の第1測色値に変換して、複数色のパッチの測色値のうち該第1測色値に近い近傍点のパッチを選択する近傍点テーブル及び該近傍点の選択第1測色値と対となっている撮像基準RGB値を選択して該撮像基準RGB値と基準測色値とを変換する第2線形変換マトリックスを算出して不揮発性メモリ54に記憶し、上記基準測色値テーブル、第1変換マトリックス、近傍点テーブル及び第2線形変換マトリックスを用いて、測色調整色パッチCPのRGB値を測色値に変換する。   Then, the CPU 51 uses the colorimetric values of a plurality of color patches (reference color patch KP: see FIG. 11) stored in advance in the nonvolatile memory (reference value storage means) 44 and the two-dimensional image sensor 34 of the imaging unit 30. The RGB values obtained by imaging the reference color patch KP are associated with each other and stored in the memory table Tb1 (see FIG. 11) of the nonvolatile memory 54, and the first linear transformation matrix obtained from the memory table Tb1 is stored in the nonvolatile memory. 54. Further, the CPU 51 converts the colorimetric target RGB value obtained by the colorimetric adjustment patch CP (see FIG. 12) by the two-dimensional image sensor 34 of the imaging unit 30 into the first colorimetric value in the colorimetric space using the first linear conversion matrix. An adjacent point table for selecting a patch at a nearby point that is close to the first colorimetric value from among the colorimetric values of a plurality of color patches, and imaging that is paired with the selected first colorimetric value at the neighboring point A second linear conversion matrix for selecting a reference RGB value and converting the imaging reference RGB value and the reference colorimetric value is calculated and stored in the nonvolatile memory 54, and the reference colorimetric value table, the first conversion matrix, Using the neighborhood point table and the second linear conversion matrix, the RGB values of the colorimetric adjustment color patch CP are converted into colorimetric values.

すなわち、画像形成装置1は、ROM、EEPROM(Electrically Erasable and Programmable Read Only Memory)、EPROM、フラッシュメモリ、フレキシブルディスク、CD−ROM(Compact Disc Read Only Memory)、CD−RW(Compact Disc Rewritable)、DVD(Digital Versatile Disk)、SD(Secure Digital)カード、MO(Magneto-Optical Disc)等のコンピュータが読み取り可能な被記録媒体に記録されている本発明の測色方法を実行する測色プログラムを読み込んでROM52または不揮発性メモリ54に導入することで、後述する測色対象の一部に不正画像がある場合にも測色を正確に行って色再現性を実現する測色方法を実行する測色装置を備えた画像形成装置1として構築されている。この測色プログラムは、アセンブラ、C、C++、C#、Java(登録商標)等のレガシープログラミング言語やオブジェクト指向ブログラミング言語等で記述されたコンピュータ実行可能なプログラムであり、上記被記録媒体に格納して頒布することができる。すなわち、撮像部30とCPU51及び不揮発性メモリ54は、全体として、測色装置として機能している。   That is, the image forming apparatus 1 includes a ROM, an EEPROM (Electrically Erasable and Programmable Read Only Memory), an EPROM, a flash memory, a flexible disk, a CD-ROM (Compact Disc Read Only Memory), a CD-RW (Compact Disc Rewritable), a DVD. A color measurement program for executing the color measurement method of the present invention recorded on a computer-readable recording medium such as a (Digital Versatile Disk), an SD (Secure Digital) card, or an MO (Magneto-Optical Disc) is read. A colorimetric device that implements a colorimetric method that realizes color reproducibility by accurately performing colorimetry even when there is an illegal image in a part of the colorimetric object described later by being introduced into the ROM 52 or the nonvolatile memory 54. It is constructed as an image forming apparatus 1 provided with. This color measurement program is a computer-executable program written in a legacy programming language such as assembler, C, C ++, C #, Java (registered trademark) or an object-oriented programming language, and is stored in the recording medium. And can be distributed. That is, the imaging unit 30, the CPU 51, and the nonvolatile memory 54 function as a color measuring device as a whole.

次に、本実施例の作用を説明する。本実施例の画像形成装置1は、測色対象の一部に不正画像がある場合にも測色を正確に行う。   Next, the operation of this embodiment will be described. The image forming apparatus 1 according to the present exemplary embodiment accurately performs color measurement even when there is an illegal image as a part of the color measurement target.

本実施例の画像形成装置1は、図11に示すように、分光器(測色装置)BSによって、基準シートKSに配列形成されている複数の基準色パッチKPの測色結果としての測色値であるLab値とXYZ値のうち、少なくともいずれか(図11では、Lab値とXYZ値の双方)が、不揮発性メモリ54のメモリテーブルTb1にパッチ番号に対応して格納されている。すなわち、Lab値とXYZ値は、既知の変換式を利用して相互に変換することができるため、いずれかを不揮発性メモリ54に格納することで、他方を求めることができるが、双方を不揮発性メモリ54に格納すると、変換処理を省くことができ、処理速度を向上させることができる。なお、以下の説明では、基準シートKSの基準パッチのLab値または/及びXYZ値を、適宜、基準測色値という。   As shown in FIG. 11, the image forming apparatus 1 according to the present exemplary embodiment performs color measurement as a color measurement result of a plurality of reference color patches KP arranged and formed on a reference sheet KS by a spectroscope (color measurement device) BS. At least one of the Lab value and the XYZ value (both the Lab value and the XYZ value in FIG. 11) is stored in the memory table Tb1 of the nonvolatile memory 54 corresponding to the patch number. That is, since the Lab value and the XYZ value can be converted into each other using a known conversion formula, the other can be obtained by storing one in the nonvolatile memory 54, but both are nonvolatile. When stored in the volatile memory 54, the conversion process can be omitted and the processing speed can be improved. In the following description, the Lab value or / and the XYZ value of the reference patch of the reference sheet KS is referred to as a reference colorimetric value as appropriate.

画像形成装置1は、メモリテーブルTb1に基準測色値が不揮発性メモリ54に格納されている状態で、かつ、画像形成装置1が製造またはオバーフォール等によって初期状態であるときに、上記基準シートKSを画像形成装置1のプラテン14上にセットして、キャリッジ6の移動を制御して撮像部30によって該基準シートKSの分光器BSで読み取ったのと同じ基準色パッチKPを読み取る。画像形成装置1は、基準シートKSの基準色パッチKPを撮像部30によって読み取ると、A/Dコンバータ(ADC)によってデジタル変換したRGB値である撮像基準RGB値、すなわち、デバイスに依存するデバイス依存信号を、図11に示すように、不揮発性メモリ54のメモリテーブルTb1に、パッチ番号に対応させて、すなわち、基準測色値に対応させて格納する。   When the reference colorimetric value is stored in the nonvolatile memory 54 in the memory table Tb1 and the image forming apparatus 1 is in the initial state due to manufacturing or overfall, the image forming apparatus 1 KS is set on the platen 14 of the image forming apparatus 1, the movement of the carriage 6 is controlled, and the same reference color patch KP as that read by the spectroscope BS of the reference sheet KS is read by the imaging unit 30. When the image forming unit 30 reads the reference color patch KP of the reference sheet KS with the image capturing unit 30, the image forming apparatus 1 captures the image capturing reference RGB value which is the RGB value digitally converted by the A / D converter (ADC), that is, device dependent. As shown in FIG. 11, the signal is stored in the memory table Tb1 of the nonvolatile memory 54 in correspondence with the patch number, that is, in correspondence with the reference colorimetric value.

画像形成装置1は、基準測色値と撮像基準RGB値を不揮発性メモリ54に格納すると、CPU51が、不揮発性メモリ54に格納されている基準測色値のXYZ値と撮像基準RGB値の対、すなわち、同じパッチ番号のXYZ値と撮像基準RGB値の対に対して、相互に変換する第1線形変換マトリックス(基準値線形変換マトリックス)を算出して、算出した第1線形変換マトリックスを不揮発性メモリ54に格納する。   When the image forming apparatus 1 stores the reference colorimetric value and the imaging reference RGB value in the nonvolatile memory 54, the CPU 51 sets a pair of the XYZ value of the reference colorimetric value and the imaging reference RGB value stored in the nonvolatile memory 54. In other words, a first linear conversion matrix (reference value linear conversion matrix) that is mutually converted is calculated for a pair of XYZ values and imaging reference RGB values of the same patch number, and the calculated first linear conversion matrix is nonvolatile. Stored in the memory 54.

画像形成装置1においては、上記処理を画像形成装置1の初期状態で実行して、実行結果である基準測色値と撮像基準RGB値を不揮発性メモリ54のメモリテーブルTb1に登録した後、第1線形変換マトリックスを算出して、不揮発性メモリ54に格納する。   In the image forming apparatus 1, the above processing is executed in the initial state of the image forming apparatus 1, and after the reference colorimetric values and the imaging reference RGB values as the execution results are registered in the memory table Tb 1 of the nonvolatile memory 54, One linear transformation matrix is calculated and stored in the nonvolatile memory 54.

この状態で、画像形成装置1は、外部から入力される画像データや印刷設定等に基づいて、CPU51が、キャリッジ6の主走査移動制御、紙搬送部57による被記録媒体Pの搬送制御及び記録ヘッド20の駆動制御を行って、被記録媒体Pを間欠的に搬送させつつ、記録ヘッド20の各記録ヘッド20y、20m、20c、20kからのインク吐出を制御して、画像を被記録媒体Pに記録出力する。   In this state, in the image forming apparatus 1, the CPU 51 performs main scanning movement control of the carriage 6, conveyance control of the recording medium P by the paper conveyance unit 57, and recording based on externally input image data, print settings, and the like. While controlling the driving of the head 20 to intermittently transport the recording medium P, the ink ejection from the recording heads 20y, 20m, 20c, and 20k of the recording head 20 is controlled, and the image is recorded on the recording medium P. To record output.

このとき、記録ヘッド20y、20m、20c、20kからのインクの吐出量が、経時変化等によって変化することがあり、このインクの吐出量が変化すると、ユーザが意図する画像の色とは異なった色で画像形成されることとなって、色再現性が劣化する。   At this time, the amount of ink discharged from the recording heads 20y, 20m, 20c, and 20k may change due to a change over time, etc. When the amount of ink discharged changes, the color of the image intended by the user differs. Since an image is formed with colors, the color reproducibility deteriorates.

そこで、画像形成装置1は、所定の色調整処理タイミングで、測色値を求めて外側触知に基づく色調整を行なう色調整処理を実行する。   Therefore, the image forming apparatus 1 executes color adjustment processing for obtaining a colorimetric value and performing color adjustment based on the outer tactile sense at a predetermined color adjustment processing timing.

すなわち、画像形成装置1は、色調整処理タイミングになると、複数の測色調整色パッチ(測色用被写体)CPを、図12に示すように、記録ヘッド20によって被記録媒体Pに形成して測色調整シートCSとして記録出力する。この測色調整シートCSは、複数の測色調整用の色パッチである測色調整色パッチCPが、記録ヘッド20によって形成出力されたものであり、画像形成装置1の色調整処理タイミングにおける出力特性、特に、記録ヘッド20の出力特性を反映した測色調整色パッチCPが形成されている。測色調整色パッチCPの色パッチデータは、予め不揮発性メモリ54に格納されている。   That is, at the timing of color adjustment processing, the image forming apparatus 1 forms a plurality of color measurement adjustment color patches (color measurement subjects) CP on the recording medium P by the recording head 20 as shown in FIG. Recorded and output as a colorimetric adjustment sheet CS. In this color measurement adjustment sheet CS, a plurality of color measurement adjustment color patches CP, which are color patches for color measurement adjustment, are formed and output by the recording head 20, and output at the color adjustment processing timing of the image forming apparatus 1. A colorimetric adjustment color patch CP reflecting the characteristics, particularly the output characteristics of the recording head 20 is formed. The color patch data of the colorimetric adjustment color patch CP is stored in the nonvolatile memory 54 in advance.

そして、画像形成装置1は、後述するように、この測色調整シートCSの複数の測色調整色パッチCPを撮像したRGB値を測色対象RGB値(測色用RGB値)として、不揮発性メモリ54のメモリテーブルTb1に登録されている基準測色値のうち、該測色対象RGB値に変換した測色値に対して距離的に近い近傍の基準測色値(近傍基準測色値)を選択して、測色対象RGB値を、選択した近傍基準測色値に変換する測色値を求める。画像形成装置1は、該測色値に基づいて色変換を行った後の画像データに基づいて、記録ヘッド20によって画像を出力することで、画像形成装置1による形成画像の色再現性を向上させる。   Then, as will be described later, the image forming apparatus 1 uses the RGB values obtained by imaging the plurality of color measurement adjustment color patches CP of the color measurement adjustment sheet CS as the color measurement target RGB values (color measurement RGB values), and is nonvolatile. Among the reference colorimetric values registered in the memory table Tb1 of the memory 54, a reference colorimetric value (neighboring reference colorimetric value) that is close in distance to the colorimetric value converted to the colorimetric target RGB value. To obtain a colorimetric value for converting the colorimetric object RGB value into the selected neighborhood reference colorimetric value. The image forming apparatus 1 improves the color reproducibility of the image formed by the image forming apparatus 1 by outputting an image by the recording head 20 based on the image data after performing color conversion based on the colorimetric value. Let

そこで、画像形成装置1は、この測色調整シートCSがプラテン14上にセットされるか、測色調整シートCSを記録した段階で排紙することなくプラテン14上に保持した状態として、このプラテン14上に位置する測色調整シートCSの複数の測色調整色パッチCPを、キャリッジ6の移動を制御して撮像部30によって撮像する。画像形成装置1は、測色調整シートCSの測色調整色パッチCPを撮像部30によって撮像すると、撮像部30が搭載しているA/D変換器(図示略)によってデジタル変換したRGB値である測色対象RGB値、すなわち、デバイスに依存するデバイス依存信号を、CPU51が、図12に示すように、不揮発性メモリ54に、格納する(ステップS1)。CPU51は、この測色対象RGB値を、上記第1線形変換マトリックスを用いて(ステップS2)、第1XYZ値に変換して(ステップS3)、不揮発性メモリ54に格納する(ステップS4)。例えば、図12では、CPU51は、撮像部30の測色対象RGB値(3、200、5)を、(20、80、10)の第1XYZ値(第1測色値)に変換して、不揮発性メモリ54に格納している。   In view of this, the image forming apparatus 1 sets the color measurement adjustment sheet CS on the platen 14 or holds the color measurement adjustment sheet CS on the platen 14 without discharging it when the color measurement adjustment sheet CS is recorded. The plurality of color measurement adjustment color patches CP of the color measurement adjustment sheet CS positioned on the image 14 are imaged by the imaging unit 30 by controlling the movement of the carriage 6. When the image forming device 30 captures the color measurement adjustment color patch CP of the color measurement adjustment sheet CS by the image capturing unit 30, the image forming apparatus 1 uses RGB values digitally converted by an A / D converter (not shown) mounted on the image capturing unit 30. As shown in FIG. 12, the CPU 51 stores a certain colorimetric target RGB value, that is, a device-dependent signal depending on the device, in the nonvolatile memory 54 (step S1). The CPU 51 converts the colorimetric RGB values into the first XYZ values (step S3) using the first linear conversion matrix (step S2) and stores them in the nonvolatile memory 54 (step S4). For example, in FIG. 12, the CPU 51 converts the colorimetric target RGB values (3, 200, 5) of the imaging unit 30 into the first XYZ values (first colorimetric values) of (20, 80, 10), It is stored in the nonvolatile memory 54.

CPU51は、第1XYZ値を、不揮発性メモリ54のメモリテーブルTb1を参照して、または、既知の変換式を用いて、第1Lab値(第1測色値)に変換して(ステップS5)、不揮発性メモリ54に格納する(ステップS6)。例えば、図12では、CPU51は、第1XYZ値(20、80、10)を、撮像測色値である第1Lab値(75、−60、8)に変換している。   The CPU 51 converts the first XYZ value into a first Lab value (first colorimetric value) with reference to the memory table Tb1 of the nonvolatile memory 54 or using a known conversion formula (step S5). It stores in the non-volatile memory 54 (step S6). For example, in FIG. 12, the CPU 51 converts the first XYZ value (20, 80, 10) into the first Lab value (75, −60, 8) that is the imaged colorimetric value.

次に、CPU51は、図12にLab空間で示すように、不揮発性メモリ54に格納されているメモリテーブルTb1の複数色の色パッチの基準測色値(Lab値)を検索して、該基準測色値(Lab値)のうち、Lab空間上において第1Lab値に対して距離の近い色パッチ(近傍色パッチ)の組みを選択する(ステップS7)。例えば、図12のLab空間の図では、60個の色パッチを選択してLab空間上にプロットしている図が示されている。CPU51は、この距離の近いパッチを選択する方法として、例えば、第1Lab値と、複数の色パッチの基準測色値(Lab値)における全点との距離を算出し、第1測色値である第1Lab値に対して距離の近い色パッチの基準Lab値(図12では、ハッチングの施されている基準Lab値)を選択する方法を用いる。   Next, the CPU 51 searches for a reference colorimetric value (Lab value) of a plurality of color patches in the memory table Tb1 stored in the non-volatile memory 54, as indicated by the Lab space in FIG. Among the colorimetric values (Lab values), a set of color patches (neighboring color patches) that are close in distance to the first Lab value in the Lab space is selected (step S7). For example, in the Lab space diagram of FIG. 12, 60 color patches are selected and plotted on the Lab space. For example, the CPU 51 calculates the distance between the first Lab value and all the points in the reference colorimetric values (Lab values) of a plurality of color patches as a method for selecting a patch having a close distance. A method of selecting a reference Lab value (a reference Lab value that is hatched in FIG. 12) of a color patch that is close to a certain first Lab value is used.

次に、CPU51は、図13に示すように、メモリテーブルTb1を参照して、選択組の第1Lab値と対になっている撮像基準RGB値、すなわち、選択組の第1Labと同じパッチ番号の撮像基準RGB値(選択RGB値)と基準XYZ値の組み合わせを選択する(ステップS8)。CPU51は、選択した組み合わせ(選択組)の撮像基準RGBと基準XYZの組同士で変換するための第2線形変換マトリックスを、最小二乗法を用いて求めて、求めた第2線形変換マトリックスを不揮発性メモリ54に格納する(ステップS9)。   Next, as shown in FIG. 13, the CPU 51 refers to the memory table Tb1 and sets the imaging reference RGB value paired with the first Lab value of the selected set, that is, the same patch number as the first Lab of the selected set. A combination of the imaging reference RGB value (selected RGB value) and the reference XYZ value is selected (step S8). The CPU 51 obtains a second linear transformation matrix to be converted between the imaging reference RGB and reference XYZ pairs of the selected combination (selected set) using the least square method, and the obtained second linear transformation matrix is nonvolatile. Stored in the memory 54 (step S9).

CPU51は、測色対象である測色調整シートCSの各測色調整色パッチCPを撮像部30で撮像してA/Dコンバータでデジタル変換した測色対象RGB値を、該第2線形変換マトリックスを用いて第2測色値である第2XYZ値を求める(ステップS10)。CPU51は、第2XYZ値を既知の変換式を用いて第2Lab値に変換して(ステップS11)、最終的な測色値として取得する(ステップS12)。   The CPU 51 captures the colorimetric RGB values obtained by imaging each colorimetry adjustment color patch CP of the colorimetry adjustment sheet CS, which is the colorimetry target, with the imaging unit 30 and digitally converting it with the A / D converter. Is used to determine the second XYZ value, which is the second colorimetric value (step S10). The CPU 51 converts the second XYZ value into a second Lab value using a known conversion formula (step S11), and obtains it as a final colorimetric value (step S12).

CPU51は、この求めた測色値を用いて色変換を行った画像データに基づいて画像調整し、画像調整した画像データに基づいて記録ヘッド20を駆動させて画像形成する。   The CPU 51 adjusts the image based on the color-converted image data using the obtained colorimetric values, and drives the recording head 20 to form an image based on the image-adjusted image data.

すなわち、本実施例の画像形成装置1は、色調整処理タイミングにおける記録ヘッド20の出力特性を反映している測色調整シートCSの複数の測色調整色パッチCPを撮像して取得したときの測色対象RGB値を、第1線形変換マトリックスを用いて初期状態で基準シートKSを撮像したときの第1Lab値を求めて、メモリテーブルTb1に登録されている複数色のパッチの基準Labのうち、Lab空間上において第1Lab値に対して距離の近い基準Lab値とのパッチの組みを選択して、選択した基準Lab値に対応する測色対象RGB値を、第2線形変換マトリックスを用いてLab値に変換することで、Lab測色値を求めている。そして、CPU51は、この求めた測色値を用いて色変換を行った画像データに基づいて画像調整し、画像調整した画像データに基づいて記録ヘッド20を駆動させて画像形成する。   In other words, the image forming apparatus 1 according to the present embodiment captures and acquires a plurality of color measurement adjustment color patches CP of the color measurement adjustment sheet CS reflecting the output characteristics of the recording head 20 at the color adjustment processing timing. The first Lab value obtained when the reference sheet KS is imaged in the initial state using the first linear transformation matrix as the colorimetric object RGB values is obtained, and the reference Lab of the plurality of color patches registered in the memory table Tb1 is obtained. A pair of patches with a reference Lab value that is close to the first Lab value in the Lab space is selected, and the colorimetric object RGB values corresponding to the selected reference Lab value are selected using the second linear transformation matrix. Lab colorimetric values are obtained by converting them into Lab values. Then, the CPU 51 adjusts the image based on the image data subjected to color conversion using the obtained colorimetric value, and drives the recording head 20 based on the image data subjected to the image adjustment to form an image.

ところが、上記測色調整色パッチCPを形成する際に、記録ヘッド20y〜20kのノズルの一部が詰まっていたり、噴射量が極端に少ない、あるいは、噴射方向が異常に曲がっている等のノズル異常(以下、ノズル欠損という。)が発生していると、上記色調整処理をそのまま行うと、正確な測色値を得ることができず、色調整の正確性を確保することができない。   However, when forming the colorimetric adjustment color patch CP, the nozzles of the recording heads 20y to 20k are clogged, the ejection amount is extremely small, or the ejection direction is bent abnormally. If an abnormality (hereinafter referred to as “nozzle deficiency”) occurs, if the color adjustment process is performed as it is, an accurate colorimetric value cannot be obtained, and the accuracy of color adjustment cannot be ensured.

そこで、本実施例の画像形成装置1は、上記色調整処理の前後のうち、少なくともいずれかのタイミングで、ノズル状態検出部40によって記録ヘッド20y〜20kの各ノズルに欠損が存在するか否か、すなわち、形成される画像に欠損があるか否か検査するノズル状態検出処理(画像欠損状態検出処理)を行う。そして、画像形成装置1は、少なくとも欠損の存在しているノズルの形成する測色調整色パッチCP部分を、測色調整値から除外して、色調整を行う。   Therefore, the image forming apparatus 1 according to the present exemplary embodiment determines whether or not the nozzles of the recording heads 20y to 20k are defective at least at any timing before and after the color adjustment process. That is, nozzle state detection processing (image loss state detection processing) for inspecting whether or not there is a defect in the formed image is performed. Then, the image forming apparatus 1 performs color adjustment by excluding at least the color measurement adjustment color patch CP formed by the missing nozzle from the color measurement adjustment value.

画像形成装置1は、このノズル状態検出処理では、CPU51の制御下で、キャリッジ6を調整機構12の位置まで移動させる。CPU51は、記録ヘッドドライバ56を介して、記録ヘッド20y〜20kの各ノズルから適宜の順番及び適宜の数ずつインク滴を廃液タンク12aに向かって吐出させるとともに、ノズル状態検出部40の動作を制御して、ノズル欠損の有無状態の検出を行う。すなわち、ノズル状態検出部40は、図6〜図8に示したように、発光部41が、ノズルから吐出されるインク滴に向かって検出光を出射し、インク滴で乱反射された乱反射光を受光部42に入射させる。受光部42は、入射光量に応じた検出信号SoをCPU51に出力する。   In this nozzle state detection process, the image forming apparatus 1 moves the carriage 6 to the position of the adjustment mechanism 12 under the control of the CPU 51. The CPU 51 discharges ink droplets from the nozzles of the recording heads 20y to 20k in an appropriate order and in an appropriate number to the waste liquid tank 12a via the recording head driver 56, and controls the operation of the nozzle state detection unit 40. Then, the presence / absence state of the nozzle defect is detected. That is, in the nozzle state detection unit 40, as shown in FIGS. 6 to 8, the light emitting unit 41 emits detection light toward the ink droplets ejected from the nozzle, and the irregularly reflected light irregularly reflected by the ink droplets. The light is incident on the light receiving unit 42. The light receiving unit 42 outputs a detection signal So corresponding to the amount of incident light to the CPU 51.

CPU51は、記録ヘッドドライバ56を介した記録ヘッド20y〜20kの駆動ノズルと検出信号Soに基づいて記録ヘッド20y〜20kのノズルのうち、どのノズルに欠損が発生しているかを検出し、検出したノズル欠損情報を不揮発性メモリ54に格納する。   The CPU 51 detects and detects which nozzle is defective among the nozzles of the recording heads 20y to 20k based on the drive nozzles of the recording heads 20y to 20k and the detection signal So via the recording head driver 56. The nozzle defect information is stored in the nonvolatile memory 54.

そして、CPU51は、検出して不揮発性メモリ54に格納したノズル欠損情報を、カメラコントローラ60に渡す。   Then, the CPU 51 passes the nozzle defect information detected and stored in the nonvolatile memory 54 to the camera controller 60.

カメラコントローラ60は、CPU51から受け取ったノズル欠損情報をデータ記憶メモリ62に格納して、色調整処理におけるデータ処理に利用する。   The camera controller 60 stores the nozzle defect information received from the CPU 51 in the data storage memory 62 and uses it for data processing in color adjustment processing.

すなわち、カメラコントローラ60は、色調整処理時、ノズル欠損情報をデータ記憶メモリ62から読み出して、測色調整色パッチCPに基づく測色対象RGB値の対象から除外して、測色値の取得を行う。   That is, during the color adjustment process, the camera controller 60 reads the nozzle defect information from the data storage memory 62, excludes it from the target of the color measurement target RGB value based on the color measurement adjustment color patch CP, and acquires the color measurement value. Do.

例えば、画像形成装置1は、記録ヘッド20y〜20kによって色パッチデータに基づいて測色調整色パッチCPを被記録媒体Pに形成するが、この測色調整色パッチCPは、ノズル欠損がないときには、例えば、図14に示すように形成される。なお、図14では、縦横それぞれNピクセル(pixel)の四角の測色調整色パッチCPを形成した場合が示されている。そして、測色調整色パッチCPは、ノズル欠損があるときには、例えば、図15に示すように、主走査方向に、ドット抜け(画像欠損)が発生する。   For example, the image forming apparatus 1 forms the colorimetric adjustment color patch CP on the recording medium P based on the color patch data by the recording heads 20y to 20k. For example, it is formed as shown in FIG. FIG. 14 shows a case where a square colorimetric adjustment color patch CP of N pixels (pixels) is formed. In the colorimetric adjustment color patch CP, when there is a nozzle defect, for example, as shown in FIG. 15, dot missing (image defect) occurs in the main scanning direction.

カメラコントローラ60は、このノズル欠損情報(画像欠損情報)に基づいて、測色調整色パッチCPに基づく測色対象RGB値の対象から除外して、測色値の取得を行う。カメラコントローラ60は、この測色対象RGB値の対象から除外する方法として、例えば、選択部/平均化処理部68が、その選択部で、2次元イメージセンサ34からのデータ(VDATA)からノズル欠損情報に対応するノズルからのドットデータ(ドット抜けしている箇所のデータ)を非選択にするように制御する。選択部/平均化処理部68は、選択部が除外した残りのデータを、平均化処理部で平均化する。すなわち、選択部/平均化処理部68は、ドット抜けしているドットデータを、その選択部で非選択にし、その平均化処理部による平均化対象から除外する。   Based on this nozzle defect information (image defect information), the camera controller 60 excludes the color measurement target RGB value based on the color measurement adjustment color patch CP and acquires the color measurement value. As a method of excluding the colorimetric target RGB value from the camera controller 60, for example, the selection unit / averaging processing unit 68 uses the selection unit to perform nozzle missing from data (VDATA) from the two-dimensional image sensor 34. Control is performed so that dot data from the nozzle corresponding to the information (data of a missing dot) is not selected. The selection unit / average processing unit 68 averages the remaining data excluded by the selection unit using the averaging processing unit. That is, the selection unit / averaging processing unit 68 deselects dot data with missing dots by the selection unit and excludes it from the averaging target by the averaging processing unit.

また、カメラコントローラ60は、I2Cコントローラ65が、ノズル欠損情報に基づいて2次元イメージセンサ34による撮像範囲を変えるようにレジスタを設定し、予めノズル欠損が発生している箇所のデータを除外したデータ(VDATA)をVIDEO I/F67へ出力させるようにしてもよい。   In addition, the camera controller 60 sets the register so that the I2C controller 65 changes the imaging range of the two-dimensional image sensor 34 based on the nozzle defect information, and excludes data where the nozzle defect has occurred in advance. (VDATA) may be output to the VIDEO I / F 67.

そして、カメラコントローラ60は、上記いずれかの方法で、ドット抜け(画像欠損)しているデータ(欠損データ)を非選択とする場合、例えば、図15では、ΔMの領域のドットを非選択とする。カメラコントローラ60は、このドット抜けしているドット位置を示すノズル欠損情報(欠損状態)を、上述のように、測色調整色パッチCPの色パッチデータと記録ヘッド20y〜20kの各ノズル番号(No)との関係から求める。   When the camera controller 60 deselects data (missing data) with missing dots (image loss) by any of the methods described above, for example, in FIG. To do. As described above, the camera controller 60 uses the missing nozzle information (missing state) indicating the missing dot position, the color patch data of the colorimetric adjustment color patch CP, and the nozzle numbers of the recording heads 20y to 20k ( No) is obtained from the relationship.

また、カメラコントローラ60は、測色調整色パッチCPを、2色以上のノズルから吐出したインク、例えば、図16に示すシアン用記録ヘッド20cとイエロー用記録ヘッド20yのノズルからインクを吐出して、図17に示すような測色調整色パッチCPを記録する。このような場合、シアン用記録ヘッド20cとイエロー用記録ヘッド20yの複数のノズルに欠損があると、図17に示すように、複数の色の異なる欠損ラインL1、L2、L3が測色調整色パッチCPに形成されることになる。図17の場合、ラインL1は、シアンのノズルに欠損があってイエロラインとなっており、ラインL2は、イエローのノズルに欠損があってシアンラインとなっている。ラインL3は、シアンとイエローの両方のノズルに欠損があって、白ラインとなっている。このような場合、カメラコントローラ60は、測色対象から全てのラインL1、L2、L3を除外する必要がある。そこで、カメラコントローラ60は、複数のノズル列で測色パターンを形成するときには、各ノズル列におけるノズル欠損に対してオア(OR)をとって、ノズル欠損によるデータを測色対象から除外する。   Further, the camera controller 60 ejects the colorimetric adjustment color patch CP from the nozzles of two or more nozzles, for example, from the nozzles of the cyan recording head 20c and the yellow recording head 20y shown in FIG. Then, a colorimetric adjustment color patch CP as shown in FIG. 17 is recorded. In such a case, if a plurality of nozzles of the cyan recording head 20c and the yellow recording head 20y are defective, as shown in FIG. The patch CP will be formed. In the case of FIG. 17, the line L1 is a yellow line with a defect in the cyan nozzle, and the line L2 is a cyan line with a defect in the yellow nozzle. The line L3 is a white line with defects in both the cyan and yellow nozzles. In such a case, the camera controller 60 needs to exclude all the lines L1, L2, and L3 from the color measurement target. Therefore, when forming a colorimetric pattern with a plurality of nozzle rows, the camera controller 60 takes OR (OR) for the nozzle loss in each nozzle row and excludes the data due to the nozzle loss from the color measurement target.

また、画像形成装置1は、インターレース方式で、画像を形成する場合には、図18に示すように、複数回(図18では、4回)のスキャンを行って、測色調整色パッチCPを形成するが、図18にブラックの記録ヘッド20kのノズルにおいて、1つのノズルにノズル欠損があっても、測色調整色パッチCPには、複数(4つ)のドット抜け(スジ)が発生する。   Further, when the image forming apparatus 1 forms an image by the interlace method, as shown in FIG. 18, the image forming apparatus 1 scans a plurality of times (four times in FIG. 18) to obtain the colorimetric adjustment color patch CP. In the nozzle of the black recording head 20k shown in FIG. 18, even if one nozzle has a nozzle defect, a plurality (four) of missing dots (streaks) occur in the colorimetric adjustment color patch CP. .

カメラコントローラ60は、このような場合においても、上述のように、測色調整色パッチCPとノズル番号(No)の関係から欠損ノズルと撮像範囲のラインを対応させ、欠損ノズルによって形成される画像のデータを測色対象から除外する。   Even in such a case, as described above, the camera controller 60 associates the defective nozzle with the line of the imaging range from the relationship between the colorimetric adjustment color patch CP and the nozzle number (No), and the image formed by the defective nozzle. Are excluded from the colorimetric targets.

上述のようにして、図19(a)に示すように、欠損ノズルによって形成される画像のデータを測色対象から除外すると、除外した分だけ平均化の対象となるデータ量が減ることとなる。例えば、1パッチあたり5フレーム撮像するものとすると、5倍のΔM×N×5(ピクセル)分だけ平均化処理から除外される。ところが、ノイズの影響をキャンセルするためには、できるだけ多くの画素を平均化することが望ましい。   As described above, as shown in FIG. 19A, when the data of the image formed by the defective nozzle is excluded from the colorimetric object, the amount of data to be averaged is reduced by the excluded amount. . For example, if 5 frames are captured per patch, the image is excluded from the averaging process by ΔM × N × 5 (pixels), which is 5 times. However, in order to cancel the influence of noise, it is desirable to average as many pixels as possible.

そこで、カメラコントローラ60は、図19(b)に示すように、ノズル欠損が発生すると、1パッチあたりのフレーム数を増やしたり、除外する画素数だけ同一パッチ内でノズル欠損が発生していない箇所のデータを測色範囲に加えることで、ノズル欠損分のデータ量を補充する。   Therefore, as shown in FIG. 19B, the camera controller 60 increases the number of frames per patch when the nozzle defect occurs, or a position where the nozzle defect does not occur in the same patch by the number of pixels to be excluded. By adding this data to the colorimetric range, the data amount corresponding to the missing nozzle is replenished.

すなわち、画像形成装置1は、上記ノズル状態検出処理を図20に示すように行う。まず、画像形成装置1は、CPU51の制御下で、上記ノズル状態検出部40を用いてノズル欠損検知を行うノズル欠損検知動作を実行する(ステップS101)。CPU51は、ノズル欠損検知動作を行なって、ノズル欠損情報を取得すると、該ノズル欠損情報をカメラコントローラ60へ通知する(ステップS102)。   That is, the image forming apparatus 1 performs the nozzle state detection process as shown in FIG. First, under the control of the CPU 51, the image forming apparatus 1 performs a nozzle defect detection operation that performs nozzle defect detection using the nozzle state detection unit 40 (step S101). When the CPU 51 performs the nozzle defect detection operation and acquires the nozzle defect information, the CPU 51 notifies the camera controller 60 of the nozzle defect information (step S102).

カメラコントローラ60は、通知されたノズル欠損情報をデータ記憶メモリ62に保管して、該ノズル欠損情報を利用して、測色対象を制御して、ノズル欠損によるデータを除外して測色を行ない、色調整を実施する(ステップS103)。   The camera controller 60 stores the notified nozzle defect information in the data storage memory 62, controls the colorimetric object using the nozzle defect information, and performs colorimetry by excluding data due to the nozzle defect. Then, color adjustment is performed (step S103).

そして、このノズル欠損によるデータを測色対象から除外する方法としては、カメラコントローラ60は、上述のように、選択部/平均化処理部68が、該当データを平均化処理の対象から排除する方法、I2Cコントローラ65が2次元イメージセンサ34のレジスタにノズル欠損によるデータ領域を撮像範囲から除外した正常範囲(有効撮像範囲)のみを読み取らせて、正常範囲(有効撮像範囲)のデータのみをデータ(VDATA)として出力させる方法等を用いる。   As a method of excluding the data due to the nozzle defect from the colorimetric object, the camera controller 60 uses the method in which the selection unit / averaging process unit 68 excludes the corresponding data from the object of the averaging process as described above. The I2C controller 65 causes the register of the two-dimensional image sensor 34 to read only the normal range (effective imaging range) in which the data area due to the nozzle defect is excluded from the imaging range, and only the data in the normal range (effective imaging range) is data ( VDATA) is used.

なお、上記説明においては、ノズル欠損をノズル状態検出部40の検出結果に基づいて検出しているが、ノズル欠損(画像の欠損状態)の検出方法は、上記方法に限るものではない。例えば、上記色調整処理において、あるいは、色調整を行う前に、記録ヘッド20y〜20kの各ノズルからインク滴を吐出させて被記録媒体Pにノズル欠損検出用パターン(画像欠損検出用パターン画像:図21参照)を形成して、このノズル欠損検出用パターンを撮像部30で撮像することで、ノズル欠損を検出してもよい。   In the above description, the nozzle defect is detected based on the detection result of the nozzle state detection unit 40, but the method of detecting the nozzle defect (image defect state) is not limited to the above method. For example, in the color adjustment process or before performing color adjustment, ink droplets are ejected from the nozzles of the recording heads 20y to 20k, and a nozzle defect detection pattern (image defect detection pattern image: The nozzle defect may be detected by forming the nozzle defect detection pattern with the imaging unit 30 (see FIG. 21).

この場合、例えば、図21に示すように、記録ヘッド20y〜20kが各色あたり副走査方向に、192ノズルを備えているものとすると、図21に小さい丸で示す位置の欠損ノズルから吐出されたインク滴によって形成された画像と、図21に大きい丸で示す位置の欠損ノズル以外の正常ノズルから吐出されたインク滴によって形成された画像によってノズル欠損検出用パターンPnが形成される。この場合、CPU51は、隣接するノズルから吐出されたインクが被記録媒体P上で重ならないように1ノズル空けて1列目を吐出させ、次に、1列目と2列目が重ならないように、キャリッジを移動し、先ほど吐出しなかったノズルから2列目を吐出する。上記吐出方法を全ての色のインクの吐出において適用して、インク滴を吐出させて、図21に示すような孤立点パターンからなるノズル欠損検出用パターンPnを被記録媒体P上に形成する。   In this case, for example, as shown in FIG. 21, if the recording heads 20y to 20k are provided with 192 nozzles in the sub-scanning direction for each color, the ink is ejected from a defective nozzle at a position indicated by a small circle in FIG. A nozzle defect detection pattern Pn is formed by an image formed by ink droplets and an image formed by ink droplets ejected from normal nozzles other than the defective nozzles at positions indicated by large circles in FIG. In this case, the CPU 51 discharges the first row with the first nozzle so that the ink ejected from the adjacent nozzles does not overlap on the recording medium P, and then the first row and the second row do not overlap. Then, the carriage is moved, and the second row is ejected from the nozzle that was not ejected earlier. The above-described ejection method is applied to ejection of all color inks, and ink droplets are ejected to form a nozzle defect detection pattern Pn having an isolated point pattern as shown in FIG.

画像形成装置1は、上記のようにして被記録媒体P上に形成したノズル欠損検出用パターンPnを、撮像部30で撮像することで、ノズル欠損(ノズル抜け)状態を検出する。   The image forming apparatus 1 detects the nozzle defect (nozzle missing) state by imaging the nozzle defect detection pattern Pn formed on the recording medium P as described above with the imaging unit 30.

この場合、図21の場合、1色を96ノズルとして、2列に分けてノズル欠損検出用パターンPnを形成しているが、インク滴サイズや被記録媒体Pのサイズ等に応じて、64ノズル×3列、48ノズル×4列、・・・等に分けたノズル欠損検出用パターンPnを形成してもよい。   In this case, in the case of FIG. 21, one color is 96 nozzles and the nozzle defect detection pattern Pn is formed in two rows, but 64 nozzles are formed depending on the ink droplet size, the size of the recording medium P, and the like. Nozzle defect detection patterns Pn divided into × 3 rows, 48 nozzles × 4 rows, and so on may be formed.

そして、データ記憶メモリ62には、予めノズル欠損が存在しないノズル欠損検出用パターンを撮像部30が読み取ったときの期待パターン画像データが格納されている。サブCPU61は、被記録媒体Pに記録ヘッド20によって形成されたノズル欠損検出用パターンを撮像部30が読み取ったときのパターン画像データを、データ記憶メモリ62の期待パターン画像データと比較することで、ノズル欠損の有無状態の検出を行う。   The data storage memory 62 stores expected pattern image data when the imaging unit 30 reads a nozzle defect detection pattern in which no nozzle defect exists. The sub CPU 61 compares the pattern image data when the imaging unit 30 reads the nozzle defect detection pattern formed on the recording medium P by the recording head 20 with the expected pattern image data in the data storage memory 62. The presence / absence state of a nozzle defect is detected.

また、画像形成装置1は、撮像部30を用いたノズル欠損の検出方法としては、ノズル欠損検出用パターンを形成する方法に限るものではない。例えば、測色調整色パッチCPを撮像部30で撮像する際に、ノズル欠損の有無をも検出してもよい。   The image forming apparatus 1 is not limited to the method for forming the nozzle defect detection pattern as a method for detecting the nozzle defect using the imaging unit 30. For example, the presence or absence of a nozzle defect may be detected when the color measurement adjustment color patch CP is imaged by the imaging unit 30.

この場合、記録ヘッド20y〜20kのノズルにノズル欠損が存在する場合、例えば、図22(a)に示すようなドット抜けしている測色調整色パッチCPが被記録媒体P上に形成される。この測色調整色パッチCPを撮像部30で四角の破線で示す測色範囲(撮像範囲)を読み取ると、図22(a)の最も左の赤の測色調整色パッチCPを読み取った場合、図22(b)に示すようなデータが2次元イメージセンサ34からカメラコントローラ60へ出力される。図22(b)において、破線で示す範囲R1±ΔR1のデータが、R成分の測色結果のデータ分布を示しており、「255」側の小さいデータ分布がノズル欠損により発生したデータ分布を示している。   In this case, when nozzle defects exist in the nozzles of the recording heads 20y to 20k, for example, a colorimetric adjustment color patch CP with missing dots as shown in FIG. 22A is formed on the recording medium P. . When the colorimetry adjustment color patch CP is read by the imaging unit 30 and the colorimetry range (imaging range) indicated by the dashed line in the rectangle is read, when the leftmost red colorimetry adjustment color patch CP in FIG. Data as shown in FIG. 22B is output from the two-dimensional image sensor 34 to the camera controller 60. In FIG. 22B, the data in the range R1 ± ΔR1 indicated by the broken line indicates the data distribution of the R component colorimetry result, and the small data distribution on the “255” side indicates the data distribution generated due to the missing nozzle. ing.

そこで、カメラコントローラ60は、予め測色調整色パッチCPの各色毎に、図22(b)の破線で示されている部分のデータ(図22(b)のR1から一定幅(ΔR1)をもたせた範囲のデータ)をデータ期待値として、予めデータ記憶メモリ62に格納されている。選択部/平均化処理部68の選択部は、2次元イメージセンサ34から送られてきたデータを、この期待値と比較して、大きく外れるデータを、ノズル欠損によるデータと判断して、平均化処理部による平均化処理の対象から除外する。   Therefore, the camera controller 60 gives in advance a certain width (ΔR1) from the data of the portion indicated by the broken line in FIG. 22B (R1 in FIG. 22B) for each color of the colorimetric adjustment color patch CP. Data in a predetermined range) is stored in the data storage memory 62 in advance as an expected data value. The selection unit of the selection unit / averaging processing unit 68 compares the data sent from the two-dimensional image sensor 34 with this expected value, determines that the data that deviates greatly is the data due to the nozzle defect, and averages the data. It excludes from the object of the averaging process by a process part.

なお、カメラコントローラ60は、測色調整色パッチCPが網点で形成される場合には、1ラインにおける平均値をRGB毎に計算し、計算結果の平均値を期待値と比較することで、ノズル欠損か否かを判断する。   When the colorimetric adjustment color patch CP is formed by halftone dots, the camera controller 60 calculates the average value for one line for each RGB and compares the average value of the calculation results with the expected value. It is determined whether there is a nozzle defect.

また、上記説明においては、ノズル状態検出処理においてノズル欠損と判断したノズルから吐出されて形成される測色調整色パッチCPのドット領域を測色対象から除外することで、色調整処理の正確性を向上させている。   In the above description, the accuracy of the color adjustment process is eliminated by excluding the dot area of the color measurement adjustment color patch CP that is ejected from the nozzle determined to be a nozzle defect in the nozzle state detection process from the color measurement target. Has improved.

ところが、ノズル状態検出処理においてノズル欠損と判断したノズルは、ノズル抜けだけではなく、ノズル曲がりも発生することがある。このようなノズル曲がりが発生すると、図23に示すように、ノズル欠損となったラインが白抜けするだけでなく、周辺のラインの濃度が濃くなることがある。   However, the nozzle determined to be a nozzle defect in the nozzle state detection process may cause not only nozzle omission but also nozzle bending. When such a nozzle bend occurs, as shown in FIG. 23, not only the line where the nozzle is missing is whitened but also the density of the surrounding lines may be high.

そこで、CPU51は、記録ヘッド20y〜20kのノズル欠損となったノズルからのインク吐出動作を停止させるように、記録ヘッドドライバ56を介して記録ヘッド20y〜20kの駆動を制御する。   Therefore, the CPU 51 controls the driving of the recording heads 20y to 20k via the recording head driver 56 so as to stop the ink ejection operation from the nozzles in which the nozzles of the recording heads 20y to 20k are missing.

このようにすると、ノズル欠損となっているノズル以外のノズルから吐出されたインク滴による測色調整色パッチCPを正常な状態で形成することができ、より一層色調整処理の正確性を向上させることができる。   In this way, the colorimetric adjustment color patch CP can be formed in a normal state by ink droplets ejected from nozzles other than the nozzle that is nozzle deficient, and the accuracy of color adjustment processing is further improved. be able to.

このように、本実施例の画像形成装置1は、被記録媒体Pに対して複数色の画像を形成する記録ヘッド(画像形成手段)20と、記録ヘッド20の形成する画像の欠損状態を検出するノズル状態検出部40またはCPU51とサブCPU61で構築される画像欠損検出手段と、記録ヘッド20によって被記録媒体Pに形成された測色対象の被写体を所定の撮像範囲にわたって撮像する撮像部(撮像手段)30と、撮像部30による前記撮像範囲のうち、前記画像欠損検出手段の検出した欠損範囲を除外した範囲を有効撮像範囲として、該有効撮像範囲の撮像部30による撮像結果に基づいて測色を行うCPU(測色手段)51と、を備えている。   As described above, the image forming apparatus 1 according to the present embodiment detects a recording head (image forming unit) 20 that forms images of a plurality of colors on the recording medium P, and a defect state of an image formed by the recording head 20. A nozzle state detection unit 40 or an image loss detection unit constructed by the CPU 51 and the sub CPU 61, and an imaging unit (imaging unit) that captures an image of a colorimetric object formed on the recording medium P by the recording head 20 over a predetermined imaging range. Means) and a range obtained by excluding the defect range detected by the image loss detection means from the imaging range by the imaging unit 30 as an effective imaging range, and measured based on the imaging result by the imaging unit 30 of the effective imaging range. CPU (colorimetric means) 51 for performing color.

したがって、記録ヘッド20によって形成される測色対象の被写体に、画像欠損状態がある場合にも、該欠損範囲を除外した有効撮像範囲に基づいて測色することができ、測色対象の一部に不正画像がある場合にも測色を正確に行うことができる。その結果、形成画像の画像品質を向上させることができる。   Therefore, even when the subject to be colorimetric formed by the recording head 20 has an image loss state, color measurement can be performed based on the effective imaging range excluding the loss range, and a part of the colorimetry target Even if there is an illegal image, colorimetry can be performed accurately. As a result, the image quality of the formed image can be improved.

また、本実施例の画像形成装置1は、被記録媒体Pに対して複数色の画像を形成する記録ヘッド20が形成する該画像の欠損状態を検出する画像欠損検出処理ステップと、記録ヘッド20によって被記録媒体Pに形成された測色対象の被写体を所定の撮像範囲にわたって撮像する撮像処理ステップと、前記撮像処理ステップでの前記撮像範囲のうち、前記画像欠損検出処理ステップで検出された欠損範囲を除外した範囲を有効撮像範囲として、該有効撮像範囲の該撮像処理ステップでの撮像結果に基づいて測色を行う測色処理ステップと、を有する測色方法を実行している。   Further, the image forming apparatus 1 of the present embodiment includes an image defect detection processing step for detecting a defect state of the image formed by the recording head 20 that forms an image of a plurality of colors on the recording medium P, and the recording head 20. An imaging process step of imaging a colorimetric object formed on the recording medium P over a predetermined imaging range, and a defect detected in the image defect detection processing step in the imaging range in the imaging process step A color measurement method including a color measurement process step of performing color measurement based on an image pickup result in the image pickup processing step of the effective image pickup range with a range excluding the range as an effective image pickup range is executed.

したがって、記録ヘッド20によって形成される測色対象の被写体に、画像欠損状態がある場合にも、該欠損範囲を除外した有効撮像範囲に基づいて測色することができ、測色対象の一部に不正画像がある場合にも測色を正確に行うことができる。   Therefore, even when the subject to be colorimetric formed by the recording head 20 has an image loss state, color measurement can be performed based on the effective imaging range excluding the loss range, and a part of the colorimetry target Even if there is an illegal image, colorimetry can be performed accurately.

さらに、本実施例の画像形成装置1は、CPU51等の制御プロセッサに、被記録媒体Pに対して複数色の画像を形成する記録ヘッド20が形成する該画像の欠損状態を検出する画像欠損検出処理と、記録ヘッド20によって被記録媒体Pに形成された測色対象の被写体を所定の撮像範囲にわたって撮像する撮像処理と、前記撮像処理での前記撮像範囲のうち、前記画像欠損検出処理で検出された欠損範囲を除外した範囲を有効撮像範囲として、該有効撮像範囲の該撮像処理での撮像結果に基づいて測色を行う測色処理と、を実行させる測色プログラムを搭載している。   Furthermore, the image forming apparatus 1 according to the present embodiment detects an image defect detection that detects a defect state of the image formed by the recording head 20 that forms an image of a plurality of colors on the recording medium P in a control processor such as the CPU 51. Processing, imaging processing for imaging a colorimetric object formed on the recording medium P by the recording head 20 over a predetermined imaging range, and detection by the image loss detection processing among the imaging ranges in the imaging processing A colorimetry program for executing a colorimetry process for performing a colorimetry based on the imaging result of the imaging process of the effective imaging range, with the range excluding the missing area as an effective imaging range, is installed.

したがって、記録ヘッド20によって形成される測色対象の被写体に、画像欠損状態がある場合にも、該欠損範囲を除外した有効撮像範囲に基づいて測色することができ、測色対象の一部に不正画像がある場合にも測色を正確に行うことができる。   Therefore, even when the subject to be colorimetric formed by the recording head 20 has an image loss state, color measurement can be performed based on the effective imaging range excluding the loss range, and a part of the colorimetry target Even if there is an illegal image, colorimetry can be performed accurately.

また、本実施例の画像形成装置1は、前記画像形成手段が、複数のノズルを有し、該ノズルからインク滴を吐出して画像を形成する記録ヘッド20であり、前記画像欠損検出手段が、記録ヘッド20の各ノズルから吐出されるインク滴に向かって検出光を出射する発光部(発光手段)41と、インク滴による検出光の散乱光を受光して受光量に応じた検出信号を出力する受光部(受光手段)42と、受光部42の出力する検出信号に基づいて画像の欠損状態を判断するCPU(欠損判断手段)51と、を備えている。   The image forming apparatus 1 according to the present exemplary embodiment is the recording head 20 in which the image forming unit includes a plurality of nozzles and forms an image by ejecting ink droplets from the nozzles. , A light emitting unit (light emitting means) 41 for emitting detection light toward the ink droplets ejected from each nozzle of the recording head 20, and a detection signal corresponding to the amount of light received by receiving scattered light of the detection light from the ink droplets A light receiving unit (light receiving unit) 42 for outputting, and a CPU (deletion determining unit) 51 for determining a missing state of an image based on a detection signal output from the light receiving unit 42 are provided.

したがって、記録ヘッド20の各ノズルからのインク滴の吐出状態を安価にかつ正確に検出して、画像欠損状態を安価にかつ正確に検出することができる。   Therefore, it is possible to detect the ejection state of the ink droplets from each nozzle of the recording head 20 at a low cost and accurately, and to detect the image defect state at a low cost and accurately.

さらに、本実施例の画像形成装置1は、前記画像欠損検出手段が、被記録媒体Pに所定のノズル欠損検出用パターン(画像欠損検出用パターン画像)を記録ヘッド20に形成させるCPU(パターン画像形成制御手段)51と、該ノズル欠損検出用パターンを撮像部30によって撮像させて、該撮像部30の出力するパターン画像データに基づいて画像の欠損状態を判断するサブCPU(欠損画像判断手段)61と、を備えている。   Furthermore, in the image forming apparatus 1 of the present embodiment, the image defect detection unit causes the recording head 20 to form a predetermined nozzle defect detection pattern (image defect detection pattern image) on the recording medium P (a pattern image). Formation control means) 51 and a sub CPU (defect image determination means) for causing the image pickup unit 30 to pick up the nozzle defect detection pattern and determining the image defect state based on the pattern image data output from the image pickup unit 30. 61.

したがって、ノズル状態検出部40を設けることなく、ノズル欠損(欠損画像)を検出することができ、測色対象の一部に不正画像がある場合にも測色を安価にかつ正確に行うことができる。   Therefore, it is possible to detect a nozzle defect (defect image) without providing the nozzle state detection unit 40, and to perform color measurement inexpensively and accurately even when there is an illegal image in a part of the color measurement target. it can.

また、本実施例の画像形成装置1は、前記欠損画像判断手段としてのサブCPU61が、ノズル欠損検出用パターンを撮像したときに撮像部30の出力するパターン画像データと、予めデータ記憶メモリ62に格納されている欠損の存在しないノズル欠損検出用パターンを該撮像部30が撮像したときに得られる期待パターン画像データとを比較して画像の欠損状態を判断している。   Further, in the image forming apparatus 1 according to the present embodiment, the sub CPU 61 as the missing image determination unit stores the pattern image data output from the imaging unit 30 when the nozzle defect detection pattern is imaged and the data storage memory 62 in advance. It compares the expected pattern image data obtained when the image capturing unit 30 captures the stored nozzle defect detection pattern having no defect, and determines the image defect state.

したがって、ノズル状態検出部40を設けることなく、ノズル欠損(欠損画像)を安価かつ速やかに検出することができ、測色対象の一部に不正画像がある場合にも測色を安価にかつ正確に行うことができる。   Therefore, it is possible to detect a nozzle defect (defect image) inexpensively and quickly without providing the nozzle state detection unit 40, and even when there is an illegal image in a part of the colorimetric object, the colorimetry is inexpensive and accurate. Can be done.

さらに、本実施例の画像形成装置1は、前記画像欠損検出手段が、測色タイミングに、記録ヘッド20の形成する前記測色対象の被写体である測色調整色パッチCPを前記画像欠損検出用パターン画像として、撮像部30に撮像させて、該撮像部30の出力するパターン画像データに基づいて画像の欠損状態を検出してもよい。   Furthermore, in the image forming apparatus 1 according to the present embodiment, the image loss detection unit uses the color measurement adjustment color patch CP that is the subject of the color measurement target formed by the recording head 20 at the color measurement timing. A pattern image may be picked up by the image pickup unit 30 and the image defect state may be detected based on the pattern image data output from the image pickup unit 30.

このようにすると、ノズル欠損を検出するために、ノズル欠損検出用パターンを形成する必要がなく、より一層速やかにかつ安価にノズル欠損(欠損画像)を検出することができ、測色対象の一部に不正画像がある場合にも測色をより一層安価にかつ速やかに行うことができる。   In this way, it is not necessary to form a nozzle defect detection pattern in order to detect the nozzle defect, and the nozzle defect (defect image) can be detected more quickly and inexpensively. Even if there is an illegal image in the part, the color measurement can be performed more inexpensively and promptly.

また、前記測色手段としてのCPU51は、撮像部30による前記撮像範囲から除外した前記欠損範囲を、前記有効撮像範囲のデータによって補完して、前記測色を行っている。   Further, the CPU 51 as the color measurement unit performs the color measurement by complementing the missing range excluded from the imaging range by the imaging unit 30 with the data of the effective imaging range.

したがって、捕食処理におけるデータ数が減少することによる測色の精度の低下を防止することができ、より一層正確に測色を行うことができる。   Therefore, it is possible to prevent a decrease in colorimetric accuracy due to a decrease in the number of data in the predation process, and it is possible to perform colorimetry more accurately.

なお、本実施例の画像形成装置1は、CPU51が、測色後の記録ヘッド20による画像形成に際して、該記録ヘッド20のうち、前記画像欠損検出手段によって欠損の検出された画像を形成する部分の記録ヘッド20、すなわち、吐出曲がり等の発生しているノズルによる画像の形成を禁止している。   In the image forming apparatus 1 according to the present embodiment, when the CPU 51 forms an image with the recording head 20 after color measurement, a part of the recording head 20 that forms an image in which a defect is detected by the image defect detection unit. The recording head 20, that is, the formation of an image by the nozzle in which the discharge curve or the like is generated is prohibited.

したがって、測色を正確に行うことができ、また、形成画像の画像品質を向上させることができる。   Therefore, color measurement can be performed accurately and the image quality of the formed image can be improved.

図24〜図38は、本発明の画像形成装置、測色方法及び測色プログラムの第2実施例を示す図であり、図24は、本発明の画像形成装置、測色方法及び測色プログラムの第2実施例を適用した画像形成装置の撮像部100の平面面図である。   24 to 38 are diagrams showing a second embodiment of the image forming apparatus, colorimetric method, and colorimetric program of the present invention. FIG. 24 is an image forming apparatus, colorimetric method, and colorimetric program of the present invention. It is a top view of the imaging part 100 of the image forming apparatus to which 2nd Example of this is applied.

なお、本実施例は、上記第1実施例の図1に示した画像形成装置1と同様の画像形成装置に適用したものであり、本実施例の説明においては、図示しないが、図1と同様の構成部分については、必要に応じて、第1実施例で用いた符号をそのまま用いて説明する。   The present embodiment is applied to an image forming apparatus similar to the image forming apparatus 1 shown in FIG. 1 of the first embodiment, and although not shown in the description of the present embodiment, FIG. Similar components will be described using the same reference numerals used in the first embodiment as necessary.

画像形成装置1は、その撮像部(撮像手段)100が、図24、図24のA−A矢視断面図である図25及び図25のB−B矢視断面図である図26に示すように、基板101に、基板101側の面が開放されている四角の箱形状の枠体102が、締結部材103によって固定されており、基板101は、図1に示したキャリッジ6に固定されている。   In the image forming apparatus 1, the imaging unit (imaging means) 100 is shown in FIG. 25, which is a sectional view taken along arrows AA in FIGS. 24 and 24, and FIG. 26, which is a sectional view taken along arrows BB in FIG. As described above, a rectangular box-shaped frame body 102 whose surface on the substrate 101 side is open is fixed to the substrate 101 by a fastening member 103, and the substrate 101 is fixed to the carriage 6 shown in FIG. ing.

撮像部100は、基板101の枠体102側の面であってその中央部に、イメージセンサ部104が配設されており、イメージセンサ部104は、CCD(Charge Coupled Device )センサやCMOS(Complementary Metal Oxide Semiconductor )センサ等の2次元イメージセンサ105とレンズ106を備えている。撮像部100は、このイメージセンサ部104の中心を通る副走査方向の中心線Lo上であって、イメージセンサ部104の中心からそれぞれ副走査方向に所定量だけ等間隔で離れた位置の基板101に、1対の照明光源107が搭載されており、照明光源107としては、LED等が用いられている。   The imaging unit 100 is provided with an image sensor unit 104 at the center of the surface of the substrate 101 on the frame body 102 side. The image sensor unit 104 is a CCD (Charge Coupled Device) sensor or a CMOS (Complementary). A two-dimensional image sensor 105 such as a metal oxide semiconductor) sensor and a lens 106 are provided. The imaging unit 100 is located on the center line Lo in the sub-scanning direction passing through the center of the image sensor unit 104 and at a position spaced apart from the center of the image sensor unit 104 by a predetermined amount at equal intervals in the sub-scanning direction. In addition, a pair of illumination light sources 107 are mounted, and as the illumination light sources 107, LEDs or the like are used.

撮像部100は、枠体102が、その基板101とは反対側の面部(以下、底面部という。)102aの下面が、所定の間隔dを有してプラテン14上の被記録媒体Pと対向する状態で、キャリッジ6に取り付けられており、該低面部102aには、中心線Loを中心として、主走査方向にそれぞれ略長方形状の開口部102bと開口部102cが形成されている。間隙dは、後述するように、2次元イメージセンサ105に対する焦点距離を考慮して、小さい方が好ましいが、被記録媒体Pの平面性との関係から、枠体102の下面と被記録媒体Pとが接触しない大きさ、例えば、1mm〜2mm程度に設定されている。   In the imaging unit 100, the lower surface of the surface 102 (hereinafter referred to as a bottom surface) 102 a opposite to the substrate 101 of the frame 102 faces the recording medium P on the platen 14 with a predetermined distance d. In this state, the lower surface portion 102a is formed with a substantially rectangular opening portion 102b and an opening portion 102c in the main scanning direction around the center line Lo. As will be described later, the gap d is preferably small in consideration of the focal length with respect to the two-dimensional image sensor 105, but from the relationship with the flatness of the recording medium P, the lower surface of the frame 102 and the recording medium P are used. Is set to a size such that, for example, 1 mm to 2 mm.

開口部102bは、その被記録媒体P側の面に開口部102bの周囲に沿って所定幅の凹部102dが形成されており、該凹部102dに基準チャートKCが着脱可能にセットされている。枠体102の開口部102bの凹部102dには、基準チャートKCの被記録媒体P側の面を覆って、基準チャートKC該凹部102dに保持させる保持板102eが着脱可能に取り付けられており、開口部102bは、基準チャートKCと保持板102eによって塞がれた状態となっている。保持板102eは、その被記録媒体P側の面が、滑らかな平坦面となっている。   In the opening 102b, a concave portion 102d having a predetermined width is formed on the surface on the recording medium P side along the periphery of the opening 102b, and the reference chart KC is detachably set in the concave portion 102d. A holding plate 102e that covers the surface of the reference chart KC on the recording medium P side and is held in the recess 102d is detachably attached to the recess 102d of the opening 102b of the frame body 102. The portion 102b is closed by the reference chart KC and the holding plate 102e. The holding plate 102e has a smooth flat surface on the recording medium P side.

開口部102cは、被記録媒体Pに形成されている撮像対象体(被写体)である上記基準シートKSの基準色パッチKP及び測色調整シートCSの測色調整色パッチCPを撮像するのに用いられる。開口部102cは、少なくとも、撮像対象の画像を全て撮像可能な大きさであればよいが、枠体102と撮像対象との間に間隙dがあるため、開口部102cの周辺に発生する影を考慮して、撮像対象の撮像領域の大きさよりも若干大きめの開口状態で形成されている。   The opening 102c is used to image the reference color patch KP of the reference sheet KS and the colorimetric adjustment color patch CP of the colorimetry adjustment sheet CS, which are imaging objects (subjects) formed on the recording medium P. It is done. The opening 102c may be at least large enough to capture all images to be imaged. However, since there is a gap d between the frame 102 and the imaging object, a shadow that occurs around the opening 102c is generated. Considering this, it is formed in an opening state that is slightly larger than the size of the imaging region to be imaged.

基準チャートKCは、上記基準シートKSの基準色パッチKP及び色調整処理における撮像対象である測色調整シートCSの測色調整色パッチCPの撮像測色値との比較対象として、撮像部100により基準色パッチKPや測色調整色パッチCPとともに撮影される。すなわち、撮像部100は、枠体102の低面部102aに設けられた開口部102cを通して枠体102の外部にある基準シートKSの基準色パッチKPや測色調整シートCSの測色調整色パッチCPの撮像とともに、枠体102の低面部102aの開口部102b周囲に形成されている凹部102dに装着されている基準チャートKC上の色パッチを、比較対象として撮像する。なお、撮像部100は、2次元イメージセンサ105が画素を順次走査して画像を読み取るため、基準シートKSの基準色パッチKPや測色調整シートCSの測色調整パッチCPと基準チャートKCを順番に読み取っていくことになるが、この場合、1フレーム内に基準色パッチKPや測色調整パッチCPと基準チャートKCの画像を取得する。   The reference chart KC is compared with the reference color patch KP of the reference sheet KS and the imaged colorimetric value of the colorimetric adjustment color patch CP of the colorimetric adjustment sheet CS that is the image pickup object in the color adjustment process. The image is taken together with the reference color patch KP and the colorimetric adjustment color patch CP. That is, the imaging unit 100 includes the reference color patch KP of the reference sheet KS and the colorimetric adjustment color patch CP of the colorimetry adjustment sheet CS that are outside the frame 102 through the opening 102c provided in the lower surface part 102a of the frame 102. In addition, the color patch on the reference chart KC attached to the recess 102d formed around the opening 102b of the lower surface portion 102a of the frame 102 is imaged as a comparison target. Note that since the two-dimensional image sensor 105 sequentially scans the pixels and reads the image, the imaging unit 100 sequentially reads the reference color patch KP of the reference sheet KS, the color measurement adjustment patch CP of the color measurement adjustment sheet CS, and the reference chart KC. In this case, images of the reference color patch KP, the colorimetric adjustment patch CP, and the reference chart KC are acquired within one frame.

この基準チャートKCは、その枠体102内部側の面(上面)に、図27に示すように、上記基準シートKSと同様に、測色用の複数の基準色パッチ列Pa〜Pd、ドット径計測用パターン列Pe、距離計測用ラインlk及びチャート位置特定用マーカmkが形成されている。   As shown in FIG. 27, the reference chart KC has a plurality of reference color patch rows Pa to Pd and dot diameters for color measurement on the inner surface (upper surface) of the frame body 102 as shown in FIG. A measurement pattern row Pe, a distance measurement line lk, and a chart position specifying marker mk are formed.

測色用のパッチ列Pa〜Pdは、YMCの1次色の色パッチを階調順に配列したパッチ列Paと、RGBの2次色の色パッチを階調順に配列したパッチ列Paと、グレースケールのパッチを階調順に配列したパッチ列(無彩色の階調パターン)Pcと、3次色のパッチを配列したパッチ列Pdと、があり、ドット径計測用パターン列Peは、大きさが異なる円形パターンを大きさ順に配列された幾何学形状測定用のパターン列である。   The color measurement patch rows Pa to Pd include a patch row Pa in which YMC primary color patches are arranged in gradation order, a patch row Pa in which RGB secondary color patches are arranged in gradation order, and a gray color. There are a patch array (achromatic gradation pattern) Pc in which patches of a scale are arranged in order of gradation, and a patch array Pd in which patches of a tertiary color are arranged, and the dot diameter measurement pattern array Pe has a size. It is a pattern sequence for measuring a geometric shape in which different circular patterns are arranged in order of size.

距離計測用ラインlkは、測色用のパッチ列Pa〜Pdやドット径計測用パターン列Peを囲む矩形の枠線として形成されている。チャート位置特定用マーカmkは、距離計測用ラインlkの四隅の位置に設けられていて、各パッチ位置を特定するためのマーカである。   The distance measurement line lk is formed as a rectangular frame surrounding the color measurement patch rows Pa to Pd and the dot diameter measurement pattern row Pe. The chart position specifying markers mk are provided at the positions of the four corners of the distance measuring line lk, and are markers for specifying each patch position.

後述する測色制御部120(図29参照)は、撮像部100から取得した基準チャートKCの画像データから距離計測用ラインlkとその四隅のチャート位置特定用マーカmkを特定することで、基準チャートKCの位置及び各パターンの位置を特定する。   The color measurement control unit 120 (see FIG. 29), which will be described later, specifies the distance measurement line lk and the chart position specifying markers mk at the four corners from the image data of the reference chart KC acquired from the imaging unit 100, whereby the reference chart The position of KC and the position of each pattern are specified.

測色用の基準色パッチ列Pa〜Pdを構成する各パッチは、図11同様に、分光器BSを用いて、標準色空間であるLab色空間における表色値(Lab値)が予め計測されており、測色調整シートCSの測色調整色パッチCPを測色する際の基準値となる。なお、基準チャートKCに配置されている測色用のパッチ列Pa〜Pdの構成は、図27に示す配置例に限定されるものではなく、任意のパッチ列を用いることができ、例えば、可能な限り色範囲を広く特定することのできるパッチを用いてもよいし、また、YMCKの1次色のパッチ列Paや、グレースケールのパッチ列Pcは、画像形成装置1に使用されるインクの測色値のパッチで構成されていてもよい。また、基準チャートKCのRGBの2次色パッチ列Paは、画像形成装置1で使用されるインクで発色可能な測色値のパッチで構成されていてもよく、さらに、JapanColor等の測色値が定められた基準色票を用いてもよい。   As shown in FIG. 11, the colorimetric values (Lab values) in the Lab color space, which is the standard color space, are measured in advance for each patch constituting the colorimetric reference color patch rows Pa to Pd using the spectroscope BS. Therefore, the color measurement adjustment color patch CP of the color measurement adjustment sheet CS is a reference value for color measurement. The configuration of the colorimetric patch rows Pa to Pd arranged in the reference chart KC is not limited to the arrangement example shown in FIG. 27, and any patch row can be used. As long as possible, a patch capable of specifying a wide color range may be used, and the YMCK primary color patch row Pa and the gray scale patch row Pc may be used for the ink used in the image forming apparatus 1. It may be composed of patches of colorimetric values. Further, the RGB secondary color patch row Pa of the reference chart KC may be composed of patches of colorimetric values that can be developed with ink used in the image forming apparatus 1, and further, colorimetric values such as JapanColor. May be used.

この基準チャートKCは、枠体102の低面部102aに形成されている開口部102bの被記録媒体P側の面の外周に形成されている凹部102dに配設されているため、被記録媒体P等の撮像対象と同様の焦点距離で、イメージセンサ部104の2次元イメージセンサ105によって撮像することができる。   Since the reference chart KC is disposed in the recess 102d formed on the outer periphery of the surface on the recording medium P side of the opening 102b formed in the lower surface portion 102a of the frame 102, the recording medium P The image can be picked up by the two-dimensional image sensor 105 of the image sensor unit 104 at the same focal length as the image pickup target.

また、基準チャートKCは、枠体102の低面部102aに形成されている開口部102bの被記録媒体P側の面の外周に形成されている凹部102dに、着脱可能にセットされて、被記録媒体P側の面が、該凹部102dに着脱可能に取り付けられている保持板102eで着脱可能に保持されているため、枠体102内に侵入したゴミ等が基準チャートKC表面に付着しても、保持板102eと基準チャートKCを取り外して、基準チャートKCを清浄に清掃した後に、再度、取り付けることができ、基準チャートKCの測定精度を向上させることができる。   Further, the reference chart KC is detachably set in a recess 102d formed on the outer periphery of the surface on the recording medium P side of the opening 102b formed in the lower surface portion 102a of the frame body 102 to be recorded. Since the surface on the medium P side is detachably held by the holding plate 102e that is detachably attached to the concave portion 102d, even if dust or the like entering the frame 102 adheres to the surface of the reference chart KC. Then, after removing the holding plate 102e and the reference chart KC and cleanly cleaning the reference chart KC, it can be attached again, and the measurement accuracy of the reference chart KC can be improved.

撮像部100は、開口部102cを閉止する状態で、該開口部102cを通した被記録媒体Pと2次元イメージセンサ105との光路中に光路長変更部材108が配設されており、光路長変更部材108は、屈折率n(nは、任意の値)の透過部材が用いられている。光路長変更部材108は、図25に示すように、開口部102cよりも大きい外形形状を有し、枠体102内に配置されている。光路長変更部材108の固定位置は、図25に示したように枠体102の内部の開口部102cの位置に限るものではなく、開口部102cと2次元イメージセンサ105との光路中であれば、例えば、枠体102の撮像面側の位置、枠体102の内側であって開口部102から離れた位置等であってもよい。なお、屈折率nの光路長変更部材108を光が通過すると、該光は、光路長変更部材108の屈折率nに応じて光路長が延びて、画像が浮き上がった状態で2次元イメージセンサ105に入射され、この画像の浮上がり量Cは、光路長変更部材108の長さをLpとすると、以下に示す式(1)により求めることができる。   In the imaging unit 100, the optical path length changing member 108 is disposed in the optical path between the recording medium P and the two-dimensional image sensor 105 through the opening 102c in a state where the opening 102c is closed. The changing member 108 is a transmissive member having a refractive index n (n is an arbitrary value). As illustrated in FIG. 25, the optical path length changing member 108 has an outer shape larger than the opening 102 c and is disposed in the frame body 102. The fixing position of the optical path length changing member 108 is not limited to the position of the opening 102c inside the frame 102 as shown in FIG. 25, but may be in the optical path between the opening 102c and the two-dimensional image sensor 105. For example, the position on the imaging surface side of the frame body 102, the position inside the frame body 102 and away from the opening 102, and the like may be used. When the light passes through the optical path length changing member 108 having the refractive index n, the light is extended in accordance with the refractive index n of the optical path length changing member 108, and the two-dimensional image sensor 105 is in a state where the image is lifted. The image floating amount C can be obtained by the following equation (1) when the length of the optical path length changing member 108 is Lp.

C=Lp(1−1/n)・・・(1)
また、基準チャートKC以外の撮像部100の焦点面の焦点距離L、すなわち、光路長変更部材108及び開口部102cを通して撮像される被記録媒体Pの表面までの焦点距離Lは、次式(2)により求めることができる。
C = Lp (1-1 / n) (1)
Further, the focal length L of the focal plane of the imaging unit 100 other than the reference chart KC, that is, the focal length L to the surface of the recording medium P imaged through the optical path length changing member 108 and the opening 102c is expressed by the following equation (2). ).

L=Lc+Lp(1−1/n)・・・(2)
ここで、Lcは、レンズ106の撮像対象側の頂部と基準チャートKCとの間の距離、nは、光路長変更部材108の屈折率である。
L = Lc + Lp (1-1 / n) (2)
Here, Lc is the distance between the top of the lens 106 on the imaging target side and the reference chart KC, and n is the refractive index of the optical path length changing member 108.

したがって、例えば、光路長変更部材108の屈折率nを1.5とした場合、L=Lc+Lp(1−1/1.5)=Lc+Lp(1/3)となり、光路長変更部材108の長さLpの約1/3だけ光路長を長くすることができる。なお、Lp=9[mm]とすると、L=Lc+3[mm]となって、基準チャートKCの結像位置と、被記録媒体Pの撮像面の焦点位置を一致させることができ、基準チャートKCと被記録媒体Pの撮像面を共役関係に設定することができる。   Therefore, for example, when the refractive index n of the optical path length changing member 108 is 1.5, L = Lc + Lp (1-1 / 1.5) = Lc + Lp (1/3), and the length of the optical path length changing member 108 The optical path length can be increased by about 1/3 of Lp. If Lp = 9 [mm], L = Lc + 3 [mm], and the imaging position of the reference chart KC and the focal position of the imaging surface of the recording medium P can be matched, and the reference chart KC And the imaging surface of the recording medium P can be set in a conjugate relationship.

また、撮像部100は、基準チャートKCを照射する照明光と、光路長変更部材108及び開口部102cを通して被記録媒体Pの撮像面に照射する照明光とは、同一の照明光源107からの照明光であり、同じ照明条件で基準チャートKCと被記録媒体Pの撮像面をともに撮像することができる。また、照明光源107は、基準チャートKCと被記録媒体Pの略中間位置である中心線Lo上に配置され、かつ、レンズ106に対して中心線Lo上において対象に2個配置されているため、基準チャートKCと被記録媒体Pの撮像領域を略同一条件で、均一に照明することができる。   The imaging unit 100 uses illumination light from the same illumination light source 107 for illumination light that irradiates the reference chart KC and illumination light that irradiates the imaging surface of the recording medium P through the optical path length changing member 108 and the opening 102c. It is light, and the reference chart KC and the imaging surface of the recording medium P can be imaged together under the same illumination conditions. In addition, the illumination light source 107 is disposed on the center line Lo that is a substantially intermediate position between the reference chart KC and the recording medium P, and two illumination light sources 107 are disposed on the object on the center line Lo with respect to the lens 106. The imaging area of the reference chart KC and the recording medium P can be illuminated uniformly under substantially the same conditions.

さらに、撮像部100は、撮像領域の開口部102cと基準チャートKCの配置条件が、レンズ106の中心と照明光源107を結ぶ中心線Loに対して、略対称に配置されているため、2次元イメージセンサ105の撮像条件を線対称で同一にすることができ、基準チャートKCを用いた2次元イメージセンサ105の色調整処理や測色処理の精度を向上させることができる。   Further, the imaging unit 100 is arranged in two dimensions because the arrangement condition of the aperture 102c of the imaging region and the reference chart KC is arranged substantially symmetrically with respect to the center line Lo connecting the center of the lens 106 and the illumination light source 107. The imaging conditions of the image sensor 105 can be made line symmetrical and the same, and the accuracy of color adjustment processing and color measurement processing of the two-dimensional image sensor 105 using the reference chart KC can be improved.

そして、本実施例の画像形成装置1は、図28に示すようにブロック構成されており、第1実施例の画像形成装置1のブロック構成とは、カメラコントローラが、測色制御部120となるとともに、撮像部100が異なっている。そこで、図28では、第1実施例の図6と同様の構成部分については、同一の符号を付してその説明を省略または簡略化する。   The image forming apparatus 1 according to the present embodiment has a block configuration as shown in FIG. 28. The block configuration of the image forming apparatus 1 according to the first embodiment is that the camera controller is the colorimetric control unit 120. In addition, the imaging unit 100 is different. Therefore, in FIG. 28, the same components as those in FIG. 6 of the first embodiment are denoted by the same reference numerals, and the description thereof is omitted or simplified.

本実施例の画像形成装置1は、図28に示すように、第1実施例の画像形成装置1と同様に、CPU51、ROM52、RAM53、不揮発性メモリ54、主走査ドライバ55、記録ヘッドドライバ56、紙搬送部57、副走査ドライバ58、ノズル状態検出部40、キャリッジ6に搭載されている記録ヘッド20及びエンコーダセンサ21等を備えているとともに、キャリッジ6に搭載されている撮像部100及び測色制御部120等を備えている。   As shown in FIG. 28, the image forming apparatus 1 of the present embodiment is similar to the image forming apparatus 1 of the first embodiment in that a CPU 51, a ROM 52, a RAM 53, a nonvolatile memory 54, a main scanning driver 55, and a recording head driver 56 are used. A paper transport unit 57, a sub-scan driver 58, a nozzle state detection unit 40, a recording head 20 mounted on the carriage 6, an encoder sensor 21, and the like, and an imaging unit 100 and a measurement unit mounted on the carriage 6. A color control unit 120 and the like are provided.

本実施例の画像形成装置1は、第1実施例のCPU51及びカメラコントローラ60が、測色処理を伴う色調整処理を行なっていたが、測色処理については、測色制御部120が測色処理を行い、CPU51は、該測色処理で得られた測色値を用いて画像データを色調整処理して、色調整処理した画像データに基づいて記録ヘッド20を制御することで、色再現性を向上させた状態で画像形成する。また、第1実施例と同様に、CPU51が、ノズル状態検出部40の検出結果に基づいて、欠損ノズルを検出するノズル欠損検出処理を行う。   In the image forming apparatus 1 according to the present embodiment, the CPU 51 and the camera controller 60 according to the first embodiment perform the color adjustment process accompanied by the color measurement process. The color measurement control unit 120 performs the color measurement for the color measurement process. The CPU 51 performs color adjustment processing on the image data using the colorimetric values obtained by the color measurement processing, and controls the recording head 20 based on the image data subjected to the color adjustment processing, thereby reproducing the color. An image is formed in a state where the property is improved. Similarly to the first embodiment, the CPU 51 performs a nozzle defect detection process for detecting a defective nozzle based on the detection result of the nozzle state detection unit 40.

すなわち、撮像部100は、上述したように、色調整処理時に、経時変化等している記録ヘッド20によって被記録媒体Pに形成された測色調整色パッチCPと枠体102の内部に配置された基準チャートKCとをイメージセンサ部104で撮像して、測色調整色パッチCP及び基準チャートKCを撮像した画像データを測色制御部120に出力する。測色制御部120は、撮像部100から取得した色調整処理時にイメージセンサ部104が撮像した測色調整色パッチCPを、第1実施例と同様に、基準シートKSの基準色パッチ(以下、初期基準色パッチという。)を撮像部100で読み取ったときに、読み取って記憶した基準チャートKCのパッチPa〜Peの初期基準時の測色値である初期基準測色値(初期基準Lab値と初期基準XYZ値のうち、少なくともいずれか)に、変換した後に、第1実施例での測色整処理と同様の測色整処理を行なう。したがって、撮像部100と測色制御部120は、全体として、測色装置として機能している。   That is, as described above, the imaging unit 100 is arranged inside the color measurement adjustment color patch CP and the frame body 102 formed on the recording medium P by the recording head 20 that changes with time during the color adjustment processing. The image sensor unit 104 captures the obtained reference chart KC and outputs image data obtained by capturing the colorimetric adjustment color patch CP and the reference chart KC to the colorimetry control unit 120. The color measurement control unit 120 uses the color measurement adjustment color patch CP captured by the image sensor unit 104 during the color adjustment processing acquired from the image capture unit 100 as a reference color patch (hereinafter, referred to as a reference color patch) of the reference sheet KS as in the first embodiment. When the image pickup unit 100 reads the initial reference color patch), the initial reference colorimetric value (initial reference Lab value and the color measurement value at the time of initial reference of the patches Pa to Pe of the reference chart KC read and stored is read. After conversion to at least one of the initial reference XYZ values, the colorimetric adjustment process similar to the colorimetric adjustment process in the first embodiment is performed. Therefore, the imaging unit 100 and the colorimetric control unit 120 function as a colorimetric device as a whole.

そして、撮像部100及び測色制御部120は、図29に示すようにブロック構成されている。撮像部100は、上記イメージセンサ部104、照明光源107を備えているとともに、基板101に、画像処理部110とインターフェイス部111が搭載されており、画像処理部110は、A/D変換部112、シェーディング補正部113、ホワイトバランス補正部114、γ補正部115及び画像フォーマット変換部116を備えている。   The imaging unit 100 and the colorimetric control unit 120 are configured as a block as shown in FIG. The imaging unit 100 includes the image sensor unit 104 and the illumination light source 107, and an image processing unit 110 and an interface unit 111 are mounted on the substrate 101. The image processing unit 110 includes an A / D conversion unit 112. A shading correction unit 113, a white balance correction unit 114, a γ correction unit 115, and an image format conversion unit 116.

画像処理部110は、イメージセンサ部104が撮像して出力するアナログのRGB画像データに対して必要な画像処理を施して測色制御部120に出力する。   The image processing unit 110 performs necessary image processing on the analog RGB image data that the image sensor unit 104 captures and outputs, and outputs the analog RGB image data to the colorimetry control unit 120.

A/D変換部112は、イメージセンサ部104から入力されるアナログのRGB信号をデジタル変換してシェーディング補正部113に出力する。   The A / D conversion unit 112 digitally converts the analog RGB signal input from the image sensor unit 104 and outputs the converted signal to the shading correction unit 113.

シェーディング補正部113は、A/D変換部112から入力されるRGB画像データに対して、イメージセンサ部104の撮像範囲に対する照明光源107からの照明光の照度ムラに起因する画像データの誤差の補正を行って、ホワイトバランス補正部114に出力する。   The shading correction unit 113 corrects an error in image data caused by uneven illumination of illumination light from the illumination light source 107 with respect to the imaging range of the image sensor unit 104 for RGB image data input from the A / D conversion unit 112. And output to the white balance correction unit 114.

ホワイトバランス補正部114は、シェーディング補正後のRGB画像データに対してホワイトバランスを補正して、γ補正部115に出力する。   The white balance correction unit 114 corrects the white balance of the RGB image data after the shading correction, and outputs the corrected data to the γ correction unit 115.

γ補正部115は、ホワイトバランス補正部114から入力される画像データに対して、イメージセンサ部104の感度のリニアリティを補償するように補正して、画像フォーマット変換部116に出力する。   The γ correction unit 115 corrects the image data input from the white balance correction unit 114 so as to compensate for the linearity of sensitivity of the image sensor unit 104 and outputs the corrected data to the image format conversion unit 116.

画像フォーマット変換部116は、γ補正後の画像データを任意のフォーマットに変換して、インターフェイス部111を介して測色制御部120に出力する。   The image format conversion unit 116 converts the image data after γ correction into an arbitrary format and outputs the converted data to the colorimetry control unit 120 via the interface unit 111.

インターフェイス部111は、測色制御部120から送られた各種設定信号、タイミング信号及び光源駆動信号を撮像部100が取得し、また、撮像部100から測色制御部120へ画像データを送るためのインターフェイスである。   The interface unit 111 is used for the imaging unit 100 to acquire various setting signals, timing signals, and light source driving signals sent from the colorimetry control unit 120, and to send image data from the imaging unit 100 to the colorimetry control unit 120. Interface.

測色制御部120は、フレームメモリ121、タイミング信号発生部122、光源駆動制御部123、演算部124及び不揮発性メモリ125等を備え、演算部124は、測色値算出部126を備えている。   The color measurement control unit 120 includes a frame memory 121, a timing signal generation unit 122, a light source drive control unit 123, a calculation unit 124, a nonvolatile memory 125, and the like, and the calculation unit 124 includes a color measurement value calculation unit 126. .

フレームメモリ121は、撮像部100から送られてきたデータ(画像データ)を一時的に記憶するメモリであり、保管した画像データを演算部124に出力する。   The frame memory 121 is a memory that temporarily stores data (image data) sent from the imaging unit 100, and outputs stored image data to the calculation unit 124.

不揮発性メモリ125は、第1実施例の不揮発性メモリ54と同様に、図11に示したように、分光器(測色装置)BSによって、基準シートKSに配列形成されている複数の基準色パッチKPの測色結果の測色値であるLab値とXYZ値のうち、少なくともいずれか(図11では、Lab値とXYZ値の双方)が、基準測色値として、不揮発性メモリ125のメモリテーブルTb1にパッチ番号に対応して格納されている。また、不揮発性メモリ125は、CPU51から送られてくるノズル欠損情報が格納される。   As in the nonvolatile memory 54 of the first embodiment, the nonvolatile memory 125 includes a plurality of reference colors arranged on the reference sheet KS by the spectroscope (colorimetry device) BS as shown in FIG. At least one of the Lab value and the XYZ value (both the Lab value and the XYZ value in FIG. 11), which is the colorimetric value of the colorimetric result of the patch KP, is stored in the nonvolatile memory 125 as the reference colorimetric value. It is stored in the table Tb1 corresponding to the patch number. In addition, the non-volatile memory 125 stores nozzle defect information sent from the CPU 51.

さらに、画像形成装置1は、基準測色値が不揮発性メモリ125のメモリテーブルTb1に格納されている状態で、かつ、画像形成装置1の初期状態において、上記基準シートKSを画像形成装置1のプラテン14上にセットして、キャリッジ6の移動を制御して撮像部100によって該基準シートKSの分光器BSで読み取ったのと同じ基準パッチKPを読み取った撮像基準RGB値を、不揮発性メモリ125のメモリテーブルTb1に、パッチ番号に対応させて、すなわち、基準測色値に対応させて格納するとともに、撮像部100の基準チャートKCの各パッチを撮像してRGB値を取得して、該基準チャートKCの各パッチのRGB値を初期基準RGB値RdGdBdとして、演算部124の制御下で不揮発性メモリ125のメモリテーブルTb1に格納している。   Further, the image forming apparatus 1 stores the reference sheet KS in the image forming apparatus 1 in a state where the reference colorimetric values are stored in the memory table Tb1 of the nonvolatile memory 125 and in the initial state of the image forming apparatus 1. An imaging reference RGB value obtained by setting the same on the platen 14 and controlling the movement of the carriage 6 to read the same reference patch KP as read by the spectroscope BS of the reference sheet KS by the imaging unit 100 is stored in the nonvolatile memory 125. Is stored in correspondence with the patch number, that is, in correspondence with the reference colorimetric value, and each patch of the reference chart KC of the imaging unit 100 is imaged to obtain the RGB value. The RGB value of each patch of the chart KC is set as the initial reference RGB value RdGdBd, and the memory of the nonvolatile memory 125 under the control of the calculation unit 124 It is stored in the Buru Tb1.

なお、初期基準RGB値RdGdBdは、実際には、撮像部100によって基準シートKSの基準色パッチKPを撮像する際に撮像した基準チャートKCの各パッチのRGB値であるが、基準シートKSの基準色パッチKPの数が、例えば、数百パッチと多く、基準色パッチKPをパッチ毎に順番に撮像するため、基準チャートKCも基準色パッチKPの撮像の度に撮像されることとなり、基準チャートKCの撮像データが多数存在することとなる。   The initial reference RGB value RdGdBd is actually the RGB value of each patch of the reference chart KC imaged when the imaging unit 100 images the reference color patch KP of the reference sheet KS. The number of color patches KP is as large as, for example, several hundred patches. Since the reference color patches KP are imaged in order for each patch, the reference chart KC is also imaged every time the reference color patch KP is imaged. There are a lot of KC image data.

そこで、本実施例の画像形成装置1は、測色制御部120が、撮像部100の撮像した基準チャートKCの各パッチのRGB値を所定の撮像領域毎、例えば、パッチの色毎に平均化して、その平均値を、初期基準RGB値RdGdBdとして、不揮発性メモリ125のメモリテーブルTb1に格納する。   Therefore, in the image forming apparatus 1 of the present embodiment, the colorimetry control unit 120 averages the RGB values of each patch of the reference chart KC captured by the imaging unit 100 for each predetermined imaging region, for example, for each color of the patch. Then, the average value is stored in the memory table Tb1 of the nonvolatile memory 125 as the initial reference RGB value RdGdBd.

また、この場合、測色制御部120は、撮像部100が基準シートKSとともに複数回撮像した基準チャートKCの各パッチのRGB値のうち、複数回撮像したRGB値の平均値に限るものではなく、例えば、最初に撮像したRGB値、適宜の回数目に撮像したRGB値、中央値のRGB値等適宜のRGB値を初期基準RGB値RdGdBdとして、設定してもよい。   In this case, the colorimetric control unit 120 is not limited to the average value of the RGB values captured a plurality of times among the RGB values of each patch of the reference chart KC captured by the imaging unit 100 together with the reference sheet KS. For example, an appropriate RGB value such as the RGB value captured first, the RGB value captured at an appropriate number of times, and the median RGB value may be set as the initial reference RGB value RdGdBd.

本実施例の画像形成装置1は、基準測色値と撮像基準RGB値及び初期基準RGB値RdGdBdを不揮発性メモリ125に格納すると、測色値算出部126が、第1実施例の場合と同様に、不揮発性メモリ125に格納されている基準測色値のXYZ値と撮像基準RGB値の対、すなわち、同じパッチ番号のXYZ値と撮像基準RGB値の対に対して、相互に変換する第1線形変換マトリックス(基準値線形変換マトリックス)を算出して、算出した第1線形変換マトリックスを不揮発性メモリ125に格納する。   In the image forming apparatus 1 of the present embodiment, when the reference colorimetric value, the imaging reference RGB value, and the initial reference RGB value RdGdBd are stored in the nonvolatile memory 125, the colorimetric value calculation unit 126 is the same as in the first embodiment. In addition, the XYZ value of the reference colorimetric value stored in the non-volatile memory 125 and the pair of the imaging reference RGB value, that is, the pair of the XYZ value and the imaging reference RGB value of the same patch number are mutually converted. One linear conversion matrix (reference value linear conversion matrix) is calculated, and the calculated first linear conversion matrix is stored in the nonvolatile memory 125.

画像形成装置1においては、上記処理を画像形成装置1の初期状態で実行して、実行結果である基準測色値と撮像基準RGB値及び初期基準RGB値RdGdBdを不揮発性メモリ125のメモリテーブルTb1に登録した後、第1線形変換マトリックスを算出して、不揮発性メモリ125に格納する。   In the image forming apparatus 1, the above processing is executed in the initial state of the image forming apparatus 1, and the reference colorimetric values, imaging reference RGB values, and initial reference RGB values RdGdBd as execution results are stored in the memory table Tb 1 of the nonvolatile memory 125. Then, the first linear transformation matrix is calculated and stored in the nonvolatile memory 125.

さらに、本実施例の画像形成装置1は、後述するように、色調整処理時に、経時変化等している記録ヘッド20によって被記録媒体Pに形成された測色調整色パッチCPと枠体102の内部に配置された基準チャートKCとをイメージセンサ部104で撮像して、測色調整色パッチCP及び基準チャートKCを含む画像データを測色制御部120に出力する。測色制御部120は、撮像部100から取得した色調整処理時にイメージセンサ部104が撮像した測色調整色パッチCPを、基準シートKSの基準色パッチ(以下、初期基準色パッチという。)を撮像部100で読み取ったときに、読み取って記憶した基準チャートKCのパッチPa〜Peの初期基準RGB値RdGdBdに変換した後に、該初期基準RGB値RdGdBdに対して、第1実施例での測色処理と同様の測色処理を行なう。   Further, as will be described later, the image forming apparatus 1 according to the present exemplary embodiment includes a colorimetric adjustment color patch CP and a frame body 102 formed on the recording medium P by the recording head 20 that changes with time during color adjustment processing. The image sensor unit 104 captures an image of the reference chart KC arranged inside the image data, and outputs image data including the colorimetric adjustment color patch CP and the reference chart KC to the colorimetry control unit 120. The color measurement control unit 120 uses the color measurement adjustment color patch CP imaged by the image sensor unit 104 during the color adjustment processing acquired from the imaging unit 100 as a reference color patch (hereinafter referred to as an initial reference color patch) of the reference sheet KS. After conversion to the initial reference RGB values RdGdBd of the patches Pa to Pe of the reference chart KC read and stored when read by the imaging unit 100, the color measurement in the first embodiment is performed on the initial reference RGB values RdGdBd. A colorimetric process similar to the process is performed.

すなわち、演算部124は、測色制御部120の動作を制御するとともに、測色値算出部126が、測色処理を実行して、測色処理の処理結果である測色値をCPU51に出力する。   That is, the arithmetic unit 124 controls the operation of the colorimetric control unit 120, and the colorimetric value calculation unit 126 executes the colorimetric processing and outputs the colorimetric value that is the result of the colorimetric processing to the CPU 51. To do.

そして、CPU51は、該測色値を用いて画像データを色調整処理して、色調整処理した画像データに基づいて記録ヘッド20を制御することで、色再現性を向上させた状態で画像形成する。   Then, the CPU 51 performs color adjustment processing on the image data using the colorimetric values, and controls the recording head 20 based on the color adjustment processed image data, thereby forming an image with improved color reproducibility. To do.

さらに、測色値算出部126は、第1実施例の選択部/平均化処理部68の選択部の機能を実行する。すなわち、測色値算出部126は、撮像部100カラーのデータのうち、不揮発性メモリ125に格納したノズル欠損情報に基づいて、欠損ノズルから吐出されたドット領域のデータを除外して、平均化処理を行う。   Further, the colorimetric value calculation unit 126 executes the function of the selection unit of the selection unit / average processing unit 68 of the first embodiment. In other words, the colorimetric value calculation unit 126 excludes the data of the dot area discharged from the defective nozzle based on the nozzle defect information stored in the nonvolatile memory 125 from the data of the imaging unit 100 color, and performs averaging. Process.

撮像部100と測色制御部120は、全体として、測色装置として機能している。   The imaging unit 100 and the color measurement control unit 120 function as a color measurement device as a whole.

本実施例の画像形成装置1は、ROM、EEPROM、EPROM、フラッシュメモリ、フレキシブルディスク、CD−ROM、CD−RW、DVD、SDカード、MO等のコンピュータが読み取り可能な被記録媒体に記録されている本実施例の測色方法を実行する測色プログラムを読み込んでROM52または不揮発性メモリ125等に導入することで、後述する経時変化を考慮した色再現性を安価にかつ安定して実現するとともに、測色対象の一部に不正画像がある場合にも測色を正確に行う測色方法を実行する測色装置を備えた画像形成装置1として構築されている。この測色プログラムは、アセンブラ、C、C++、C#、Java(登録商標)等のレガシープログラミング言語やオブジェクト指向ブログラミング言語等で記述されたコンピュータ実行可能なプログラムであり、上記被記録媒体に格納して頒布することができる。   The image forming apparatus 1 of the present embodiment is recorded on a computer-readable recording medium such as a ROM, EEPROM, EPROM, flash memory, flexible disk, CD-ROM, CD-RW, DVD, SD card, MO, and the like. By implementing a color measurement program for executing the color measurement method of this embodiment and introducing it into the ROM 52 or the non-volatile memory 125, the color reproducibility considering the temporal change described later can be realized inexpensively and stably. The image forming apparatus 1 includes a color measurement device that executes a color measurement method for accurately performing color measurement even when there is an illegal image in a part of the color measurement target. This color measurement program is a computer-executable program written in a legacy programming language such as assembler, C, C ++, C #, Java (registered trademark) or an object-oriented programming language, and is stored in the recording medium. And can be distributed.

次に、本実施例の作用を説明する。本実施例の画像形成装置1は、経時変化を考慮した色再現性を安価にかつ安定して実現するとともに、測色対象の一部に不正画像がある場合にも測色を正確に行う。   Next, the operation of this embodiment will be described. The image forming apparatus 1 according to the present exemplary embodiment realizes color reproducibility in consideration of changes with time at low cost and stably, and accurately performs color measurement even when there is an illegal image in a part of the color measurement target.

本実施例の画像形成装置1は、図11に示したように、分光器(測色装置)BSによって、基準シートKSに配列形成されている複数の基準色パッチの測色結果を、Lab値とXYZ値のうち、少なくともいずれかを、不揮発性メモリ125のメモリテーブルTb1にパッチ番号に対応して基準測色値として格納されている。   As shown in FIG. 11, the image forming apparatus 1 according to the present embodiment uses the spectroscope (colorimetry device) BS to calculate the color measurement results of the plurality of reference color patches arranged and formed on the reference sheet KS as Lab values. And at least one of the XYZ values is stored as a reference colorimetric value corresponding to the patch number in the memory table Tb1 of the nonvolatile memory 125.

また、画像形成装置1は、メモリテーブルTb1に基準測色値が不揮発性メモリ125に格納されている状態で、かつ、画像形成装置1が製造またはオバーフォール等によって初期状態であるときに、上記基準シートKSを画像形成装置1のプラテン14上にセットして、キャリッジ6の移動を制御して撮像部100によって該基準シートKSの分光器BSで読み取ったのと同じ基準パッチを読み取るとともに、図30に示すように、枠体102の内部に配置された基準チャートKCの各パッチ(初期基準色パッチ)を撮像する。   Further, when the image forming apparatus 1 is in a state where the reference colorimetric values are stored in the nonvolatile memory 125 in the memory table Tb1 and the image forming apparatus 1 is in an initial state due to manufacture, overfall, or the like, The reference sheet KS is set on the platen 14 of the image forming apparatus 1, the movement of the carriage 6 is controlled, and the same reference patch as that read by the spectroscope BS of the reference sheet KS is read by the imaging unit 100. As shown at 30, each patch (initial reference color patch) of the reference chart KC arranged inside the frame 102 is imaged.

画像形成装置1は、基準シートKSの基準パッチと基準チャートKCの各パッチを撮像部100によって撮像すると、基準シートKSの基準パッチを撮像した画像データを画像処理部110で処理したRGB値である撮像基準RGB値、すなわち、デバイスに依存するデバイス依存信号を、測色制御部120の演算部124が、図11に示したように、不揮発性メモリ125のメモリテーブルTb1に、パッチ番号に対応させて、すなわち、基準測色値に対応させて格納するとともに、基準チャートKCの初期基準色パッチを読み取って画像処理部110で処理したRGB値である初期基準RGB値RdGdBdを、図31(a)に示すように、不揮発性メモリ125に格納する。   When the image forming apparatus 1 captures the reference patch of the reference sheet KS and each patch of the reference chart KC by the imaging unit 100, the image forming apparatus 1 has RGB values obtained by processing the image data obtained by capturing the reference patch of the reference sheet KS by the image processing unit 110. As shown in FIG. 11, the calculation unit 124 of the colorimetry control unit 120 associates the imaging reference RGB values, that is, device-dependent signals, with the patch numbers in the memory table Tb1 of the nonvolatile memory 125, as shown in FIG. That is, the initial reference RGB value RdGdBd, which is the RGB value obtained by reading the initial reference color patch of the reference chart KC and processing it by the image processing unit 110 while storing it in correspondence with the reference colorimetric value, is shown in FIG. As shown in FIG.

なお、演算部124は、撮像部100が読み取った基準チャートKCの初期基準色バッチの画像データのうち、所定領域、例えば、図30に破線で示す領域(測色対象領域、撮像範囲)毎に平均値を算出して、初期基準RGB値RdGdBdとしている。このように測色対象領域の多数の画素を平均化して初期基準RGB値RdGdBdを算出すると、ノイズの影響を低減させることができるとともに、bit分解能を向上させることができる。また、図31(b)は、初期基準RGB値RdGdBdをプロットした散布図であり、図31(a)は、初期基準RGB値RdGdBdをLab値に変換した基準Lab値Ldadbd及びXYZ値に変換した基準XYZ値xdydzdも不揮発性メモリ125に登録されている状態を示している。   Note that the calculation unit 124 is provided for each predetermined region, for example, a region (color measurement target region, imaging range) indicated by a broken line in FIG. 30 in the image data of the initial reference color batch of the reference chart KC read by the imaging unit 100. An average value is calculated and set as an initial reference RGB value RdGdBd. When the initial reference RGB value RdGdBd is calculated by averaging a large number of pixels in the colorimetric object region in this way, the influence of noise can be reduced and the bit resolution can be improved. FIG. 31 (b) is a scatter diagram in which the initial reference RGB value RdGdBd is plotted. FIG. 31 (a) is a conversion of the initial reference RGB value RdGdBd into a reference Lab value Ldadbd and an XYZ value converted into Lab values. The reference XYZ value xdydzd also indicates a state registered in the nonvolatile memory 125.

画像形成装置1は、基準測色値と撮像基準RGB値及び初期基準RGB値RdGdBdを不揮発性メモリ125に格納すると、演算部124の測色値算出部126が、不揮発性メモリ125に格納されている基準測色値のXYZ値と撮像基準RGB値の対、すなわち、同じパッチ番号のXYZ値と撮像基準RGB値の対に対して、相互に変換する第1線形変換マトリックスを算出して、算出した第1線形変換マトリックスを不揮発性メモリ125に格納する。   When the image forming apparatus 1 stores the reference colorimetric value, the imaging reference RGB value, and the initial reference RGB value RdGdBd in the nonvolatile memory 125, the colorimetric value calculation unit 126 of the calculation unit 124 is stored in the nonvolatile memory 125. Calculating a first linear conversion matrix for mutual conversion with respect to a pair of XYZ values and imaging reference RGB values of the reference colorimetric values, that is, a pair of XYZ values and imaging reference RGB values of the same patch number The first linear transformation matrix is stored in the nonvolatile memory 125.

この状態で、画像形成装置1は、外部から入力される画像データや印刷設定等に基づいて、CPU51が、キャリッジ6の主走査移動制御、紙搬送部57による被記録媒体Pの搬送制御及び記録ヘッド20の駆動制御を行って、被記録媒体Pを間欠的に搬送させつつ、記録ヘッド20の各記録ヘッド20y、20m、20c、20kからのインク吐出を制御して、画像を被記録媒体Pに記録出力する。   In this state, in the image forming apparatus 1, the CPU 51 performs main scanning movement control of the carriage 6, conveyance control of the recording medium P by the paper conveyance unit 57, and recording based on externally input image data, print settings, and the like. While controlling the driving of the head 20 to intermittently transport the recording medium P, the ink ejection from the recording heads 20y, 20m, 20c, and 20k of the recording head 20 is controlled, and the image is recorded on the recording medium P. To record output.

このとき、記録ヘッド20y、20m、20c、20kからのインクの吐出量が、機器固有の特性や経時変化等によって変化することがあり、このインクの吐出量が変化すると、ユーザが意図する画像の色とは異なった色で画像形成されることとなって、色再現性が劣化する。   At this time, the amount of ink discharged from the recording heads 20y, 20m, 20c, and 20k may change depending on the characteristics unique to the device, changes with time, and the like. An image is formed with a color different from the color, and the color reproducibility deteriorates.

そこで、画像形成装置1は、所定の色調整処理タイミングで、測色値を求めて該測色値に基づいて色調整を行なう色調整処理を実行する。   Therefore, the image forming apparatus 1 executes color adjustment processing for obtaining a colorimetric value and performing color adjustment based on the colorimetric value at a predetermined color adjustment processing timing.

すなわち、画像形成装置1は、色調整処理タイミングになると、第1実施例の場合と同様に、複数の色パッチ(測色調整色パッチ)CPを、図32に示すように、記録ヘッド20によって被記録媒体Pに形成して測色調整シートCSとして記録出力する。この測色調整シートCSは、複数の測色調整用の色パッチである測色調整色パッチCPが、記録ヘッド20によって形成出力されたものであり、画像形成装置1の色調整処理タイミングにおける出力特性、特に、記録ヘッド20の出力特性を反映した測色調整色パッチCPが形成されている。なお、測色調整色パッチCPの色パッチデータは、予め不揮発性メモリ125等に格納されている。   That is, when the color adjustment processing timing comes, the image forming apparatus 1 uses a recording head 20 to add a plurality of color patches (colorimetry adjustment color patches) CP as shown in FIG. 32, as in the first embodiment. It is formed on the recording medium P and recorded and output as a colorimetric adjustment sheet CS. In this color measurement adjustment sheet CS, a plurality of color measurement adjustment color patches CP, which are color patches for color measurement adjustment, are formed and output by the recording head 20, and output at the color adjustment processing timing of the image forming apparatus 1. A colorimetric adjustment color patch CP reflecting the characteristics, particularly the output characteristics of the recording head 20 is formed. Note that the color patch data of the color measurement adjustment color patch CP is stored in advance in the nonvolatile memory 125 or the like.

そして、画像形成装置1は、後述するように、この測色調整シートCSの複数の測色調整色パッチCPを撮像したRGB値を測色対象RGB値(測色用RGB値)として、この測色対象RGB値を初期基準RGB値RdGdBdに変換して、以下、第1実施例と同様に、不揮発性メモリ125のメモリテーブルTb1に登録されている基準測色値のうち、該初期基準RGB値RdGdBdを変換した測色値に対して距離的に近い基準測色値(近傍基準測色値)を選択して、測色対象RGB値を、選択した近傍基準測色値に変換する測色値を求め、該測色値に基づいて色変換を行った後の画像データに基づいて、記録ヘッド20によって画像を出力することで、画像形成装置1による形成画像の色再現性を向上させる。   Then, as will be described later, the image forming apparatus 1 uses the RGB values obtained by imaging the plurality of color measurement adjustment color patches CP of the color measurement adjustment sheet CS as color measurement target RGB values (color measurement RGB values). The color target RGB value is converted into an initial reference RGB value RdGdBd, and the initial reference RGB value of the reference colorimetric values registered in the memory table Tb1 of the non-volatile memory 125 will be hereinafter described in the same manner as in the first embodiment. A colorimetric value for selecting a reference colorimetric value (neighboring reference colorimetric value) close in distance to the colorimetric value obtained by converting RdGdBd and converting the colorimetric target RGB value to the selected neighborhood reference colorimetric value And the image is output by the recording head 20 based on the image data after the color conversion is performed based on the colorimetric value, thereby improving the color reproducibility of the image formed by the image forming apparatus 1.

そこで、画像形成装置1は、図32に示すように、この測色調整シートCSがプラテン14上にセットされるか、測色調整シートCSを記録した段階で排紙することなくプラテン14上に保持した状態として、このプラテン14上の測色調整シートCSの複数の測色調整色パッチCPを、キャリッジ6の移動を制御して撮像部100によって撮像するとともに、撮像部100によって基準チャートKCのパッチを撮像する。   Therefore, as shown in FIG. 32, the image forming apparatus 1 sets the colorimetric adjustment sheet CS on the platen 14 or does not eject the colorimetric adjustment sheet CS when it is recorded. As the held state, a plurality of color measurement adjustment color patches CP of the color measurement adjustment sheet CS on the platen 14 are imaged by the imaging unit 100 while controlling the movement of the carriage 6, and at the same time the reference chart KC is captured by the imaging unit 100. Capture the patch.

画像形成装置1は、測色調整シートCSの測色調整色パッチCPと基準チャートKCのパッチを撮像部100によって撮像すると、撮像部100の画像処理部110で、測色調整シートCSの測色調整色パッチCPの画像データと基準チャートKCのパッチの画像データに対して、必要な画像処理を行なった後、測色調整シートCSの測色調整色パッチCPの画像データ(RGB値)を測色対象RGB値、すなわち、デバイスに依存するデバイス依存信号として、また、基準チャートKCのパッチの画像データ(RGB値)を、測色時基準RGB値RdsGdsBdsとして、測色制御部120に送り、測色制御部120は、図32に示すように、フレームメモリ121に一時保管する(ステップS21)。   When the image forming apparatus 1 captures the color measurement adjustment color patch CP of the color measurement adjustment sheet CS and the patch of the reference chart KC by the image capturing unit 100, the image processing unit 110 of the image capturing unit 100 performs the color measurement of the color measurement adjustment sheet CS. After performing necessary image processing on the image data of the adjustment color patch CP and the image data of the reference chart KC, the image data (RGB value) of the color measurement adjustment color patch CP of the color measurement adjustment sheet CS is measured. The color object RGB values, that is, device-dependent signals depending on the device, and the image data (RGB values) of the patches of the reference chart KC are sent to the color measurement control unit 120 as the color measurement reference RGB values RdsGdsBds. As shown in FIG. 32, the color control unit 120 temporarily stores it in the frame memory 121 (step S21).

なお、測色時基準RGB値RdsGdsBdsは、実際には、撮像部100によって測色調整シートCSの測色調整パッチCPを撮像する際に撮像した基準チャートKCの各パッチのRGB値であるが、測色調整シートCSの測色調整パッチCPの数が、例えば、数百パッチと多く、測色調整シートCSの測色調整パッチCPをパッチ毎に順番に撮像するため、基準チャートKCも測色調整パッチCPの撮像の度に撮像されることとなり、基準チャートKCの撮像データが多数存在することとなる。   Note that the colorimetric reference RGB value RdsGdsBds is actually the RGB value of each patch of the reference chart KC imaged when the imaging unit 100 images the colorimetric adjustment patch CP of the colorimetry adjustment sheet CS. The number of color measurement adjustment patches CP of the color measurement adjustment sheet CS is as large as, for example, several hundred patches. Since the color measurement adjustment patches CP of the color measurement adjustment sheet CS are captured in order for each patch, the reference chart KC is also color measurement. The image is picked up every time the adjustment patch CP is picked up, and a lot of image data of the reference chart KC exists.

そこで、本実施例の画像形成装置1は、測色制御部120が、撮像部100の撮像した基準チャートKCの各パッチのRGB値を所定の撮像領域毎、例えば、パッチの色毎に平均化して、その平均値を、測色時基準RGB値RdsGdsBdsとして、不揮発性メモリ125に一時格納する。   Therefore, in the image forming apparatus 1 of the present embodiment, the colorimetry control unit 120 averages the RGB values of each patch of the reference chart KC captured by the imaging unit 100 for each predetermined imaging region, for example, for each color of the patch. The average value is temporarily stored in the non-volatile memory 125 as the colorimetric reference RGB value RdsGdsBds.

また、この場合、測色制御部120は、撮像部100が測色調整シートCSとともに複数回撮像した基準チャートKCの各パッチのRGB値のうち、複数回撮像したRGB値の平均値に限るものではなく、例えば、最初に撮像したRGB値、適宜の回数目に撮像したRGB値、中央値のRGB値等適宜のRGB値を測色時基準RGB値RdsGdsBdsとして、設定してもよい。   In this case, the colorimetric control unit 120 is limited to the average value of the RGB values imaged a plurality of times among the RGB values of each patch of the reference chart KC imaged a plurality of times by the imaging unit 100 together with the colorimetry adjustment sheet CS. Instead, for example, an appropriate RGB value such as the RGB value captured first, the RGB value captured at an appropriate number of times, and the median RGB value may be set as the colorimetric reference RGB value RdsGdsBds.

測色制御部120は、演算部124の測色値算出部126が、フレームメモリ121に保管された測色対象RGB値を、後述する第3線形変換マトリックスを用いて、初期化測色対象RGB値RsGsBsに変換する(ステップS22、S23)。   The colorimetric control unit 120 uses the third linear transformation matrix (to be described later) to convert the colorimetric RGB values stored in the frame memory 121 to the colorimetric value calculation unit 126 of the calculation unit 124 to initialize the colorimetric RGB data. Conversion to the value RsGsBs (steps S22 and S23).

測色制御部120の演算部124は、変換した初期化測色対象RGB値RsGsBsを、第1実施例の測色対象RGB値として(ステップS24)、第1実施例で実施した測色処理を実行して、Lab測色値を取得する(ステップS25)。   The calculation unit 124 of the color measurement control unit 120 uses the converted initialization color measurement target RGB value RsGsBs as the color measurement target RGB value of the first embodiment (step S24), and performs the color measurement processing performed in the first embodiment. This is executed to obtain the Lab colorimetric value (step S25).

そして、本実施例の画像形成装置1は、演算部124の測色値算出部126が、上記第3線形変換マトリックスを、図33及び図34に示すようにして求める。   In the image forming apparatus 1 according to the present exemplary embodiment, the colorimetric value calculation unit 126 of the calculation unit 124 determines the third linear conversion matrix as illustrated in FIGS. 33 and 34.

すなわち、演算部124の測色値算出部126は、図33に示すように、初期時に撮像部100で基準シートKSの基準色パッチKPを撮像したときに、基準チャートKCのパッチをも撮像して不揮発性メモリ125に格納されている初期基準RGB値RdGdBdと、測色時に撮像部100で測色調整シートCSの測色調整色パッチCPを撮像したときに、基準チャートKCのパッチを撮像して不揮発性メモリ125に格納されている測色時基準RGB値RdsGdsBdsを、不揮発性メモリ125から読み出して、測色時基準RGB値RdsGdsBdsを初期基準RGB値RdGdBdに変換する第3線形変換マトリックスを求め、求めた第3線形変換マトリックスを不揮発性メモリ125に格納する。   That is, as shown in FIG. 33, the colorimetric value calculation unit 126 of the calculation unit 124 also captures the patch of the reference chart KC when the imaging unit 100 captures the reference color patch KP of the reference sheet KS at the initial stage. When the initial reference RGB value RdGdBd stored in the nonvolatile memory 125 and the color measurement adjustment color patch CP of the color measurement adjustment sheet CS are imaged by the imaging unit 100 during color measurement, the patch of the reference chart KC is imaged. The colorimetric reference RGB value RdsGdsBds stored in the nonvolatile memory 125 is read from the nonvolatile memory 125, and a third linear conversion matrix for converting the colorimetric reference RGB value RdsGdsBds to the initial reference RGB value RdGdBd is obtained. The obtained third linear transformation matrix is stored in the nonvolatile memory 125.

すなわち、図34において、図34(a)に白抜き点で示されている点が初期基準RGB値RdGdBdをrgb空間でプロットした点であり、塗りつぶし点が、測色時基準RGB値RdsGdsBdsをrgb空間でプロットした点である。図34(a)から分かるように、測色時基準RGB値RdsGdsBdsの値が初期基準RGB値RdGdBdの値から変動しており、これらのrgb空間上での変動方向は、図34(b)に矢印で示すように、概ね同じであるが、色相によってずれの方向が異なる。このように同じ基準チャートKCのパッチを撮像してもRGB値が変動する原因としては、照明光源107の経時変化、2次元イメージセンサ105の経時変化等がある。   That is, in FIG. 34, the points indicated by white dots in FIG. 34 (a) are points where the initial reference RGB value RdGdBd is plotted in the rgb space, and the filled points are the colorimetric reference RGB values RdsGdsBds as rgb. This is a point plotted in space. As can be seen from FIG. 34 (a), the value of the colorimetric reference RGB value RdsGdsBds varies from the value of the initial reference RGB value RdGdBd, and the direction of variation in the rgb space is shown in FIG. 34 (b). As indicated by the arrows, the directions are generally the same, but the direction of deviation differs depending on the hue. As described above, the reason why the RGB values fluctuate even when the patches of the same reference chart KC are imaged includes a change with time of the illumination light source 107 and a change with time of the two-dimensional image sensor 105.

このように、同じ基準チャートKCのパッチを撮像したときに変動している状態で、測色調整シートCSの測色調整パッチCPを撮像したときの測色対象RGB値を、第1実施例のようにして用いて測色値を求めると、変動分だけ測色値に影響することとなる。   As described above, the RGB values of the color measurement target when the color measurement adjustment patch CP of the color measurement adjustment sheet CS is imaged in the state that is fluctuated when the patches of the same reference chart KC are imaged are the same as those in the first embodiment. When the colorimetric value is obtained in this way, the colorimetric value is affected by the variation.

そこで、本実施例の画像形成装置1は、初期基準RGB値RdGdBdと、測色時基準RGB値RdsGdsBdsとの間で最小2乗法等の推定法を用いて、測色時基準RGB値RdsGdsBdsを初期基準RGB値RdGdBdに変換する第3線形変換マトリクスを求めて、この第3線形変換マトリクスを用いて、撮像部100で測色調整シートCSの測色調整色パッチCPを撮像して不揮発性メモリ125に格納されている測色対象RGB値を、初期化測色対象RGB値RsGsBsに変換し、変換した初期化測色対象RGB値RsGsBsを、第1実施例の測色対象RGB値として、第1実施例で実施した測色処理を実行して、Lab測色値を取得する。   In view of this, the image forming apparatus 1 according to the present exemplary embodiment uses the estimation method such as the least square method between the initial reference RGB value RdGdBd and the colorimetric reference RGB value RdsGdsBds to initially set the colorimetric reference RGB value RdsGdsBds. A third linear conversion matrix to be converted into the reference RGB value RdGdBd is obtained, and the colorimetric adjustment color patch CP of the colorimetry adjustment sheet CS is imaged by the imaging unit 100 using the third linear conversion matrix, and the nonvolatile memory 125 is obtained. The colorimetric object RGB values stored in the first colorimetric object RGB value RsGsBs are converted to the first colorimetric object RGB value RsGsBs of the first embodiment as the colorimetric object RGB value of the first embodiment. The colorimetric processing performed in the embodiment is executed to acquire the Lab colorimetric value.

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

なお、上記撮像部100は、開口部102cを介した被記録媒体Pと2次元イメージセンサ105との光路中に光路長変更部材108が配設されている場合について説明したが、光路長変更部材108は、上記光路中に配設されている場合に限るものではなく、例えば、図35及び図36に示すように、光路長変更部材108の他に、光路長変更部材109を開口部102bに配設されている基準シートKSと2次元イメージセンサのとの光路中に配設してもよい。   The imaging unit 100 has been described with respect to the case where the optical path length changing member 108 is disposed in the optical path between the recording medium P and the two-dimensional image sensor 105 through the opening 102c. 108 is not limited to the case where it is disposed in the optical path. For example, as shown in FIGS. 35 and 36, in addition to the optical path length changing member 108, an optical path length changing member 109 is provided in the opening 102b. You may arrange | position in the optical path of the reference | standard sheet | seat KS and the two-dimensional image sensor which are arrange | positioned.

この場合、光路長変更部材109は、その長さLqを、光路長変更部材108の長さLpよりも短い長さであって、浮き上がり量Cを、上記式(1)から算出して、式(2)から算出される焦点距離Lが、光路長変更部材108を通過する光の焦点距離Lと同じになるように設定されている。   In this case, the optical path length changing member 109 has a length Lq shorter than the length Lp of the optical path length changing member 108, and the lift amount C is calculated from the above formula (1). The focal length L calculated from (2) is set to be the same as the focal length L of the light passing through the optical path length changing member 108.

したがって、このように被記録媒体P側と基準チャートKC側の双方に光路長変更部材108、109を配設すると、被記録媒体Pまでの焦点距離Lと基準チャートKCまでの焦点距離Lを同じにすることができ、より一層正確な測色を行うことができる。   Accordingly, when the optical path length changing members 108 and 109 are arranged on both the recording medium P side and the reference chart KC in this way, the focal length L to the recording medium P and the focal distance L to the reference chart KC are the same. And more accurate colorimetry can be performed.

また、上記撮像部100は、被記録媒体P側の一方または被記録媒体P側と基準チャートKC側の双方に、光路長変更部材108または光路長変更部材108、109を配設しているが、図37に示すように、被記録媒体P側及び基準チャートKC側のいずれにも光路長変更部材を設けなくても、測色処理に必要なデータを取得することができる。この場合、基準チャートKCと被記録媒体Pとは、光路長に差があるが、レンズ106の焦点深度内であれば、測色処理に対しては、問題なく撮像可能である。   In the imaging unit 100, the optical path length changing member 108 or the optical path length changing members 108 and 109 are disposed on one side of the recording medium P or on both the recording medium P side and the reference chart KC side. As shown in FIG. 37, data necessary for the colorimetric processing can be acquired without providing an optical path length changing member on either the recording medium P side or the reference chart KC side. In this case, there is a difference in the optical path length between the reference chart KC and the recording medium P, but if it is within the focal depth of the lens 106, the colorimetric processing can be imaged without any problem.

そして、本実施例においても、CPU51は、上記色調整処理の前後のうち、少なくともいずれかのタイミングで、ノズル状態検出部40によって記録ヘッド20y〜20kの各ノズルに欠損が存在するか否か検査するノズル状態検出処理を行う。そして、CPU51は、ノズル状態検出処理を行って、記録ヘッドドライバ56を介した記録ヘッド20y〜20kの駆動ノズルと検出信号Soから記録ヘッド20y〜20kのノズルのうち、どのノズルに欠損が発生しているかを検出し、検出したノズル欠損情報を不揮発性メモリ54に格納する。   Also in this embodiment, the CPU 51 checks whether or not there is a defect in each nozzle of the recording heads 20y to 20k by the nozzle state detection unit 40 at least at any timing before and after the color adjustment process. Nozzle state detection processing is performed. Then, the CPU 51 performs a nozzle state detection process, and any of the nozzles of the recording heads 20y to 20k from the driving nozzles of the recording heads 20y to 20k and the detection signal So via the recording head driver 56 is defective. The detected nozzle missing information is stored in the nonvolatile memory 54.

そして、CPU51は、検出して不揮発性メモリ54に格納したノズル欠損情報を、測色制御部120に渡す。   Then, the CPU 51 passes the nozzle defect information detected and stored in the nonvolatile memory 54 to the colorimetry control unit 120.

測色制御部120は、その演算部124の測色値算出部126が、CPU51から受け取ったノズル欠損情報を不揮発性メモリ125に格納して、上記色調整処理におけるデータ処理に利用する。   In the color measurement control unit 120, the color measurement value calculation unit 126 of the calculation unit 124 stores the nozzle defect information received from the CPU 51 in the nonvolatile memory 125 and uses it for data processing in the color adjustment processing.

すなわち、測色値算出部126は、色調整処理時、ノズル欠損情報を不揮発性メモリ125から読み出して、測色調整色パッチCPに基づく測色対象RGB値の対象から除外して、測色値の取得を行う。   In other words, the colorimetric value calculation unit 126 reads nozzle missing information from the nonvolatile memory 125 during color adjustment processing, excludes it from the target of the colorimetric target RGB value based on the colorimetric adjustment color patch CP, and sets the colorimetric value. Get the.

そして、本実施例の画像形成装置1では、第1実施例の図15に示したようなノズル欠損がある場合、CPU51は、この場合の欠損ノズルの位置を、予め分かっている測色調整色パッチCPと記録ヘッド20y〜20kのノズル番号(NO)の関係から容易に特定する。   In the image forming apparatus 1 of the present embodiment, when there is a nozzle defect as shown in FIG. 15 of the first embodiment, the CPU 51 determines the position of the defective nozzle in this case in the colorimetric adjustment color that is known in advance. It is easily specified from the relationship between the patch CP and the nozzle numbers (NO) of the recording heads 20y to 20k.

また、CPU51は、ノズル状態検出処理を、撮像部100の撮像データに基づいて実行する場合には、記録ヘッド20y〜20kと撮像部100の位置関係から撮像部100の撮像範囲と測色調整色パッチCPの関係を判断して、欠損ノズルの位置を特定する。   Further, when the nozzle state detection process is executed based on the imaging data of the imaging unit 100, the CPU 51 determines the imaging range of the imaging unit 100 and the colorimetric adjustment color from the positional relationship between the recording heads 20y to 20k and the imaging unit 100. The relationship of the patch CP is determined, and the position of the defective nozzle is specified.

したがって、CPU51は、例えば、図15の場合、測色対象から除外する除外開始ライン(M)を容易に判定することができる。   Therefore, for example, in the case of FIG. 15, the CPU 51 can easily determine the exclusion start line (M) to be excluded from the color measurement target.

なお、除外ライン数(ΔM)は、被記録媒体Pに付着したインク滴のサイズ及び撮像部100の撮像光学系によって異なる。例えば、図38に示すように、被記録媒体Pに付着したインク滴サイズが100umであり、撮像部100の撮像光学系が、画素サイズが2um、倍率が10倍であった場合、除外領域ΔMは、ΔM=100/(2×10)=5ラインとなる。実際には、上下にずれるため、除外領域を、6ライン以上にする必要がある。また、被記録媒体Pによっては、インクのにじみ具合が異なり、インク滴サイズが変わるため、被記録媒体Pに応じて、除外領域のサイズ(除外ライン数)を適宜設定する。   Note that the number of excluded lines (ΔM) varies depending on the size of the ink droplet attached to the recording medium P and the imaging optical system of the imaging unit 100. For example, as shown in FIG. 38, when the ink droplet size attached to the recording medium P is 100 μm, and the imaging optical system of the imaging unit 100 has a pixel size of 2 μm and a magnification of 10 times, the excluded region ΔM ΔM = 100 / (2 × 10) = 5 lines. Actually, since it shifts up and down, it is necessary to make the exclusion region 6 lines or more. In addition, depending on the recording medium P, the degree of ink bleeding differs and the ink droplet size changes. Therefore, the size of the excluded area (number of excluded lines) is appropriately set according to the recording medium P.

また、本実施例の画像形成装置1においても、除外データが多い場合には、第1実施例で説明したように、ノズル欠損分のデータ量を補充してもよい。   Also in the image forming apparatus 1 of the present embodiment, when there is a large amount of exclusion data, as described in the first embodiment, the data amount corresponding to the missing nozzle may be supplemented.

このようにすると、測色精度を向上させることができる。   In this way, colorimetric accuracy can be improved.

さらに、上記各実施例においては、測色処理を、画像形成装置1のCPU51または測色制御部120が行なっているが、測色処理は、画像形成装置1内部で実行する必要はなく、例えば、図39に示すように、画像形成システム(測色システム)200として、画像形成装置210が、外部装置220に接続されていて、画像形成装置210で撮像した画像データを、該外部装置220に出力し、該外部装置220が測色処理を伴う色調整処理を行って、色調整後の画像データを画像形成装置210に出力して、画像形成装置210が、外部装置220からの画像データに基づいて画像形成してもよい。   Further, in each of the embodiments described above, the color measurement process is performed by the CPU 51 or the color measurement control unit 120 of the image forming apparatus 1. However, the color measurement process need not be executed inside the image forming apparatus 1, for example, 39, as an image forming system (color measurement system) 200, an image forming apparatus 210 is connected to an external apparatus 220, and image data captured by the image forming apparatus 210 is stored in the external apparatus 220. The external device 220 performs color adjustment processing that includes colorimetric processing, and outputs the image data after color adjustment to the image forming device 210. The image forming device 210 converts the image data from the external device 220 into image data. An image may be formed based on this.

すなわち、画像形成装置210は、エンジン211、操作表示部212、I/F部213及びその他のI/F部214等を備えており、各部は、バス215により接続されている。   That is, the image forming apparatus 210 includes an engine 211, an operation display unit 212, an I / F unit 213, other I / F units 214, and the like, and each unit is connected by a bus 215.

また、外部装置220は、例えば、通常のハードウェア構成とソフトウェア構成のコンピュータ等を用いることができ、ソフトウェアとして本発明の測色処理を伴う色調整処理を実行する測色プログラムを含む色調整プログラムを導入することで、測色処理を伴う色調整処理を実行する。外部装置220は、CPU221、メモリ部222、画像処理部223、通信I/F部224及びI/F部225等を備えており、各部は、バス226により接続されている。メモリ部222は、ROM227、RAM228及びハードディスク(HDD)229等を備えている。   In addition, the external device 220 can use, for example, a computer having a normal hardware configuration and software configuration, and includes a color adjustment program including a color measurement program that executes a color adjustment process accompanying the color measurement process of the present invention as software. The color adjustment process accompanied by the colorimetric process is executed by introducing. The external device 220 includes a CPU 221, a memory unit 222, an image processing unit 223, a communication I / F unit 224, an I / F unit 225, and the like, and each unit is connected by a bus 226. The memory unit 222 includes a ROM 227, a RAM 228, a hard disk (HDD) 229, and the like.

画像形成装置210は、I/F部213により回線230により外部装置220に接続されており、回線230は、専用線、LAN(Local Area Network)等のネットワーク、インターネット等であって、有線であっても、無線であってもよい。   The image forming apparatus 210 is connected to the external apparatus 220 via a line 230 by an I / F unit 213. The line 230 is a dedicated line, a network such as a LAN (Local Area Network), the Internet, and the like, and is wired. Or wireless.

画像形成装置210は、外部装置220の制御下で、外部装置220から送られてくる画像データに基づいてエンジン211で、被記録媒体に画像を形成出力する。エンジン211は、インク噴射方式等で被記録媒体に画像を形成し、操作表示部212は、各種操作キー及びLCD(Liquid Crystal Display)等のディスプレイ等を備えていて、画像形成装置210の動作に必要な各種操作が操作キーによって行われるとともに、画像形成装置210からユーザに通知する各種情報をディスプレイに表示出力する。その他I/F部214は、拡張ユニットの接続等に使用される。   The image forming apparatus 210 forms and outputs an image on a recording medium by the engine 211 based on the image data sent from the external apparatus 220 under the control of the external apparatus 220. The engine 211 forms an image on a recording medium by an ink ejection method or the like, and the operation display unit 212 includes various operation keys and a display such as an LCD (Liquid Crystal Display). Various necessary operations are performed using the operation keys, and various information notified from the image forming apparatus 210 to the user is displayed on the display. The other I / F unit 214 is used for connecting an expansion unit.

エンジン211は、上記実施例で説明したと同様の主走査方向に移動するキャリッジ6を備えており、該キャリッジ6に、第1実施例で示した撮像部30または第2実施例で示した撮像部100が取り付けられている。画像形成装置210は、外部装置220のCPU221の制御下で、外部装置220から送られてくる測色調整色パッチCPの色パッチデータに基づいて被記録媒体に、該測色調整パッチCPを形成して測色調整シートCSを生成し、生成した測色調整シートCSの測色調整パッチCPを撮像部で読み取って、I/F部213を介して外部装置220に送信する。   The engine 211 includes a carriage 6 that moves in the main scanning direction similar to that described in the above-described embodiment, and the imaging unit 30 illustrated in the first embodiment or the imaging illustrated in the second embodiment is disposed on the carriage 6. Part 100 is attached. The image forming apparatus 210 forms the color measurement adjustment patch CP on the recording medium based on the color patch data of the color measurement adjustment color patch CP sent from the external apparatus 220 under the control of the CPU 221 of the external apparatus 220. Then, the color measurement adjustment sheet CS is generated, and the color measurement adjustment patch CP of the generated color measurement adjustment sheet CS is read by the imaging unit and transmitted to the external device 220 via the I / F unit 213.

外部装置220は、画像形成装置210の動作制御を行う画像形成制御プログラムや本発明の測色処理を伴う色調整処理を行なう色調整プログラム及び必要なデータがハードディスク229またはROM227に格納されており、CPU221がROM227またはハードディスク229内のプログラムに基づいて画像形成装置210を制御することで、画像形成装置210としての基本処理を実行させるとともに、本発明の測色処理を伴う色調整処理を実行する。   The external device 220 stores in the hard disk 229 or the ROM 227 an image formation control program for controlling the operation of the image forming apparatus 210, a color adjustment program for performing color adjustment processing accompanying colorimetric processing of the present invention, and necessary data. The CPU 221 controls the image forming apparatus 210 based on a program in the ROM 227 or the hard disk 229, thereby executing basic processing as the image forming apparatus 210 and executing color adjustment processing accompanying colorimetric processing of the present invention.

ハードディスク229は、上記プログラムを格納するとともに、色調整処理及びノズル状態検出処理を実行するのに必要な各種データ、特に、上記実施例で説明した基準シートKSに配列形成されている複数の基準色パッチKPの測色結果のLab値とXYZ値のうち、少なくともいずれか(図11では、Lab値とXYZ値の双方)、該基準シートKSの基準パッチKPを画像形成装置210の撮像部で読み取ったときの撮像基準RGB値、第1線形変換マトリックス、近傍点のテーブルと第2線形変換マトリックス、また、撮像部が第2実施例の撮像部100であるときには、基準シートKSとともに読み取った基準チャートKCの各色パッチの初期基準RGB値RdGdBd、測色調整シートCSの測色調整色パッチCPを読み取ったときに読み取った基準チャートKCの基準パッチの測色時基準RGB値RdsGdsBds及び測色時基準RGB値RdsGdsBdsを初期基準RGB値RdGdBdに変換する第3線形変換マトリックスが格納される。   The hard disk 229 stores the program and various data necessary for executing the color adjustment process and the nozzle state detection process, in particular, a plurality of reference colors arranged in the reference sheet KS described in the above embodiment. At least one of the Lab and XYZ values of the color measurement result of the patch KP (both the Lab value and the XYZ value in FIG. 11), the reference patch KP of the reference sheet KS is read by the imaging unit of the image forming apparatus 210. Imaging reference RGB values, first linear transformation matrix, neighborhood point table and second linear transformation matrix, and reference chart read together with the reference sheet KS when the imaging unit is the imaging unit 100 of the second embodiment The initial reference RGB value RdGdBd of each color patch of KC and the color measurement adjustment color patch CP of the color measurement adjustment sheet CS were read. Third linear transformation matrix for converting the color measurement at the reference RGB values RdsGdsBds and colorimetry at reference RGB values RdsGdsBds the reference patch of the reference chart KC read to come to an initial reference RGB value RdGdBd is stored.

通信I/F部224は、ネットワーク等の回線を介してスキャナ装置、複合装置、他の外部装置等の画像処理装置に接続されており、画像形成装置210に画像出力させる画像データを受信する。   The communication I / F unit 224 is connected to an image processing apparatus such as a scanner apparatus, a composite apparatus, or another external apparatus via a line such as a network, and receives image data that causes the image forming apparatus 210 to output an image.

画像処理部223は、画像データに対して画像形成装置210のエンジン211で形成出力するのに必要な各種画像処理を施す。   The image processing unit 223 performs various image processes necessary for forming and outputting the image data with the engine 211 of the image forming apparatus 210.

CPU221は、上述のように、画像形成装置210の動作を制御するとともに、第1実施例のCPU51または第2実施例の測色制御部120の演算部124、特に、測色値算出部126が実行する測色処理及びノズル状態検出処理を実行して測色値を求め、該測色値に基づいて画像データに対して色調整を施して、画像形成装置210に出力する。   As described above, the CPU 221 controls the operation of the image forming apparatus 210, and the CPU 51 of the first embodiment or the calculation unit 124 of the color measurement control unit 120 of the second example, in particular, the color measurement value calculation unit 126. The colorimetric processing and nozzle state detection processing to be executed are executed to obtain a colorimetric value, color adjustment is performed on the image data based on the colorimetric value, and the result is output to the image forming apparatus 210.

なお、図39の画像形成システム200では、画像形成装置210の動作を外部装置220が制御しているが、画像形成装置210自体がCPU等のコントローラを備えて、画像形成動作自体については、該コントローラが制御を行い、測色値を求める測色処理のみ、または、測色処理を含む色調整処理についてのみ外部装置220が実行してもよい。   In the image forming system 200 in FIG. 39, the operation of the image forming apparatus 210 is controlled by the external apparatus 220. However, the image forming apparatus 210 itself includes a controller such as a CPU. The external device 220 may execute only the color measurement process for which the controller controls and obtains the color measurement value, or only the color adjustment process including the color measurement process.

このように、少なくとも画像形成装置210の外部装置で測色処理または測色処理を含む色調整処理を実行すると、安価な画像形成装置210においても安価にかつ適切に色再現性を向上させることができる。   As described above, when color adjustment processing including color measurement processing or color measurement processing is executed at least by an external device of the image forming apparatus 210, the color reproducibility can be appropriately improved at low cost even in the inexpensive image forming apparatus 210. it can.

なお、上記説明では、色調整処理を画像形成装置1または外部装置220で行なっているが、色調整処理を行うか否かはユーザによる任意の行為であり、必ずしも画像形成装置1や外部装置220で色調整処理を行う必要はない。実際に画像形成装置が出力している色を測色することで、ユーザはL*a*b*色空間等での測色値を知ることができる。測色値を使った行為は任意であり、例えば、ユーザが画像形成装置や画像形成システムに入力される前の画像の色を変更しても構わない。また、画像形成装置の出力色が入力色からずれている場合にも、ずれた色味を生かして出力することも可能である。このように、色調整処理は、ユーザの任意の行為である。   In the above description, the color adjustment process is performed by the image forming apparatus 1 or the external apparatus 220. However, whether or not the color adjustment process is performed is an arbitrary action by the user, and is not necessarily limited to the image forming apparatus 1 or the external apparatus 220. There is no need to perform color adjustment processing. By measuring the colors actually output by the image forming apparatus, the user can know the colorimetric values in the L * a * b * color space or the like. The act using the colorimetric values is arbitrary. For example, the color of the image before the user inputs it to the image forming apparatus or the image forming system may be changed. In addition, even when the output color of the image forming apparatus is deviated from the input color, it is also possible to output using the shifted color. Thus, the color adjustment process is a user's arbitrary action.

以上、本発明者によってなされた発明を好適な実施例に基づき具体的に説明したが、本発明は上記実施例で説明したものに限定されるものではなく、その要旨を逸脱しない範囲で種々変更可能であることはいうまでもない。   The invention made by the present inventor has been specifically described based on the preferred embodiments. However, the present invention is not limited to that described in the above embodiments, and various modifications can be made without departing from the scope of the invention. It goes without saying that it is possible.

1 画像形成装置
2 本体筐体
3 本体フレーム
4 主ガイドロッド
5 副ガイドロッド
6 キャリッジ
6a 連結片
7 タイミングベルト
8 駆動プーリ
9 従動プーリ
10 主走査モータ
11 カートリッジ部
12 維持機構部
12a 廃液タンク
13 カバー
14 プラテン
15 エンコーダシート
20 記録ヘッド
20y、20m、20c、20k 記録ヘッド
21 エンコーダセンサ
30 撮像部
31 プリント基板
32 光源
33 受光素子部
34 2次元イメージセンサ
35 レンズ
40 ノズル状態検出部
41 発光部
41a 発光素子
41b コリメートレンズ
41c アパーチャ
42 受光部
51 CPU
52 ROM
53 RAM
54 不揮発性メモリ
Tb1 メモリテーブル
55 主走査ドライバ
56 記録ヘッドドライバ
57 紙搬送部
58 副走査ドライバ
60 カメラコントローラ
61 サブCPU
62 データ記憶メモリ
63 SRAM
64 PWMコントローラ
65 I2Cコントローラ
66 上位CPUI/F
67 VIDEO I/F
68 選択/平均化部
69 バス
P 被記録媒体
PG パッチ画像
BS 分光器
KS 基準シート
CS 測色調整シート
CP 測色調整色パッチ
100 撮像部
101 基板
102 枠体
102a 低面部
102b 開口部
102c 開口部
102d 凹部
102e 保持板
103 締結部材
104 イメージセンサ部
105 2次元イメージセンサ
106 レンズ
107 照明光源
108、109 光路長変更部材
110 画像処理部
111 インターフェイス部
112 A/D変換部
113 シェーディング補正部
114 ホワイトバランス補正部
115 γ補正部
116 画像フォーマット変換部
120 測色制御部
121 フレームメモリ
122 タイミング信号発生部
123 光源駆動制御部
124 演算部
125 不揮発性メモリ
126 測色値算出部
200 画像形成システム
210 画像形成装置
211 エンジン
212 操作表示部
213 I/F部
214 その他のI/F部
215 バス
220 外部装置
221 CPU
222 メモリ部
223 画像処理部
224 通信I/F部
225 I/F部
226 バス
227 ROM
228 RAM
229 ハードディスク
230 回線
d 間隙
Lo 中心線
KC 基準チャート
Pa〜Pd 基準色パッチ列
Pe ドット径計測用パターン列
lk 距離計測用ライン
mk チャート位置特定用マーカ
DESCRIPTION OF SYMBOLS 1 Image forming apparatus 2 Main body case 3 Main body frame 4 Main guide rod 5 Sub guide rod 6 Carriage 6a Connection piece 7 Timing belt 8 Drive pulley 9 Drive pulley 10 Main scanning motor 11 Cartridge part 12 Maintenance mechanism part 12a Waste liquid tank 13 Cover 14 Platen 15 Encoder sheet 20 Recording head 20y, 20m, 20c, 20k Recording head 21 Encoder sensor 30 Imaging unit 31 Printed circuit board 32 Light source 33 Light receiving element unit 34 Two-dimensional image sensor 35 Lens 40 Nozzle state detection unit 41 Light emitting unit 41a Light emitting element 41b Collimating lens 41c Aperture 42 Light receiving part 51 CPU
52 ROM
53 RAM
54 Nonvolatile Memory Tb1 Memory Table 55 Main Scan Driver 56 Recording Head Driver 57 Paper Transport Unit 58 Sub Scan Driver 60 Camera Controller 61 Sub CPU
62 Data storage memory 63 SRAM
64 PWM controller 65 I2C controller 66 Host CPU I / F
67 VIDEO I / F
68 Selection / averaging section 69 Bus P Recording medium PG Patch image BS Spectrometer KS Reference sheet CS Color measurement adjustment sheet CP Color measurement adjustment color patch 100 Imaging section 101 Substrate 102 Frame body 102a Lower surface section 102b Opening section 102c Opening section 102d Recessed portion 102e Holding plate 103 Fastening member 104 Image sensor unit 105 Two-dimensional image sensor 106 Lens 107 Illumination light source 108, 109 Optical path length changing member 110 Image processing unit 111 Interface unit 112 A / D conversion unit 113 Shading correction unit 114 White balance correction unit 115 γ correction unit 116 image format conversion unit 120 color measurement control unit 121 frame memory 122 timing signal generation unit 123 light source drive control unit 124 calculation unit 125 nonvolatile memory 126 color measurement value calculation unit 2 0 image forming system 210 the image forming apparatus 211 engine 212 operation display unit 213 I / F unit 214 other I / F section 215 bus 220 external device 221 CPU
222 Memory unit 223 Image processing unit 224 Communication I / F unit 225 I / F unit 226 Bus 227 ROM
228 RAM
229 Hard disk 230 Line d Gap Lo Center line KC Reference chart Pa to Pd Reference color patch row Pe Dot diameter measurement pattern row lk Distance measurement line mk Chart position specifying marker

特開2012−063270号公報JP 2012-063270 A

Claims (8)

被記録媒体に対して複数色の画像を形成する画像形成手段と、
前記画像形成手段の形成する画像の欠損状態を検出する画像欠損検出手段と、
前記画像形成手段によって前記被記録媒体に形成された測色対象の被写体を所定の撮像範囲にわたって撮像する撮像手段と、
前記撮像手段による前記撮像範囲のうち、前記画像欠損検出手段の検出した欠損範囲を除外した範囲を有効撮像範囲として、該有効撮像範囲の該撮像手段による撮像結果に基づいて測色を行う測色手段と、
を備えていることを特徴とする画像形成装置。
Image forming means for forming an image of a plurality of colors on a recording medium;
Image defect detection means for detecting a defect state of an image formed by the image forming means;
Imaging means for imaging a colorimetric object formed on the recording medium by the image forming means over a predetermined imaging range;
Colorimetry that performs colorimetry based on the imaging result of the effective imaging range by the imaging unit, with the range excluding the missing range detected by the image loss detection unit as the effective imaging range among the imaging range by the imaging unit Means,
An image forming apparatus comprising:
前記画像形成手段は、
複数のノズルを有し、該ノズルからインク滴を吐出して前記画像を形成し、
前記画像欠損検出手段は、
前記各ノズルから吐出されるインク滴に向かって検出光を出射する発光手段と、
前記インク滴による前記検出光の散乱光を受光して受光量に応じた検出信号を出力する受光手段と、
前記受光手段の出力する検出信号に基づいて画像の欠損状態を判断する欠損判断手段と、
を備えていることを特徴とする請求項1記載の画像形成装置。
The image forming unit includes:
Having a plurality of nozzles, ejecting ink droplets from the nozzles to form the image,
The image defect detection means includes
Light emitting means for emitting detection light toward the ink droplets ejected from each nozzle;
A light receiving means for receiving the scattered light of the detection light by the ink droplets and outputting a detection signal according to the amount of light received;
A defect determining means for determining a defect state of an image based on a detection signal output from the light receiving means;
The image forming apparatus according to claim 1, further comprising:
前記画像欠損検出手段は、
前記被記録媒体に所定の画像欠損検出用パターン画像を前記画像形成手段に形成させるパターン画像形成制御手段と、
前記画像欠損検出用パターン画像を前記撮像手段によって撮像させて、該撮像手段の出力するパターン画像データに基づいて画像の欠損状態を判断する欠損画像判断手段と、
を備えていることを特徴とする請求項1記載の画像形成装置。
The image defect detection means includes
Pattern image formation control means for causing the image forming means to form a predetermined image defect detection pattern image on the recording medium;
A defect image determining unit that causes the image defect detection image to be captured by the image capturing unit and determines a defect state of the image based on pattern image data output from the image capturing unit;
The image forming apparatus according to claim 1, further comprising:
前記欠損画像判断手段は、
前記撮像手段の出力する前記パターン画像データと、予め欠損の存在しない前記画像欠損検出用パターン画像を該撮像手段が撮像したときに得られる期待パターン画像データとを比較して前記画像の欠損状態を判断することを特徴とする請求項3記載の画像形成装置。
The missing image determination means includes
The pattern image data output from the image pickup means is compared with expected pattern image data obtained when the image pickup means picks up the image defect detection pattern image that does not have a defect in advance. The image forming apparatus according to claim 3, wherein the determination is made.
前記画像欠損検出手段は、
前記測色手段による測色タイミングに、前記画像形成手段の形成する前記測色対象の被写体を前記画像欠損検出用パターン画像として、前記撮像手段に撮像させて、該撮像手段の出力するパターン画像データに基づいて画像の欠損状態を検出することを特徴とする請求項3または請求項4記載の画像形成装置。
The image defect detection means includes
Pattern image data output from the imaging unit by causing the imaging unit to image the subject of the color measurement target formed by the image forming unit as the image defect detection pattern image at the color measurement timing by the color measuring unit. 5. The image forming apparatus according to claim 3, wherein a defect state of the image is detected on the basis of the image quality.
前記測色手段は、
前記撮像手段による前記撮像範囲から除外した前記欠損範囲を、前記有効撮像範囲のデータによって補完して、前記測色を行うことを特徴とする請求項1から請求項5のいずれかに記載の画像形成装置。
The colorimetric means is
The image according to any one of claims 1 to 5, wherein the color measurement is performed by complementing the missing range excluded from the imaging range by the imaging means with data of the effective imaging range. Forming equipment.
被記録媒体に対して複数色の画像を形成する画像形成手段が形成する該画像の欠損状態を検出する画像欠損検出処理ステップと、
前記画像形成手段によって前記被記録媒体に形成された測色対象の被写体を所定の撮像範囲にわたって撮像する撮像処理ステップと、
前記撮像処理ステップでの前記撮像範囲のうち、前記画像欠損検出処理ステップで検出された欠損範囲を除外した範囲を有効撮像範囲として、該有効撮像範囲の該撮像処理ステップでの撮像結果に基づいて測色を行う測色処理ステップと、
を有することを特徴とする測色方法。
An image defect detection processing step for detecting a defect state of the image formed by an image forming unit that forms an image of a plurality of colors on a recording medium;
An imaging process step of imaging a subject to be colorimetrically formed on the recording medium by the image forming unit over a predetermined imaging range;
Based on the imaging result of the effective imaging range in the imaging processing step, the effective imaging range is defined as the effective imaging range of the imaging range in the imaging processing step, excluding the defective range detected in the image defect detection processing step. A colorimetric processing step for performing colorimetry;
A colorimetric method characterized by comprising:
制御プロセッサに、
被記録媒体に対して複数色の画像を形成する画像形成手段が形成する該画像の欠損状態を検出する画像欠損検出処理と、
前記画像形成手段によって前記被記録媒体に形成された測色対象の被写体を所定の撮像範囲にわたって撮像する撮像処理と、
前記撮像処理での前記撮像範囲のうち、前記画像欠損検出処理で検出された欠損範囲を除外した範囲を有効撮像範囲として、該有効撮像範囲の該撮像処理での撮像結果に基づいて測色を行う測色処理と、
を実行させることを特徴とする測色プログラム。
To the control processor,
An image defect detection process for detecting a defect state of the image formed by an image forming unit that forms an image of a plurality of colors on a recording medium;
An imaging process for imaging a colorimetric object formed on the recording medium by the image forming unit over a predetermined imaging range;
Of the imaging range in the imaging process, a range excluding the defective range detected in the image defect detection process is set as an effective imaging range, and colorimetry is performed based on the imaging result in the imaging process of the effective imaging range. Color measurement processing to be performed,
A colorimetric program characterized by causing
JP2013026584A 2013-02-14 2013-02-14 Image forming apparatus, color measurement method, and color measurement program Active JP6107199B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013026584A JP6107199B2 (en) 2013-02-14 2013-02-14 Image forming apparatus, color measurement method, and color measurement program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013026584A JP6107199B2 (en) 2013-02-14 2013-02-14 Image forming apparatus, color measurement method, and color measurement program

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2017045182A Division JP2017149150A (en) 2017-03-09 2017-03-09 Image forming apparatus, colorimetry apparatus, and ink jet recording device

Publications (2)

Publication Number Publication Date
JP2014157026A true JP2014157026A (en) 2014-08-28
JP6107199B2 JP6107199B2 (en) 2017-04-05

Family

ID=51577981

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013026584A Active JP6107199B2 (en) 2013-02-14 2013-02-14 Image forming apparatus, color measurement method, and color measurement program

Country Status (1)

Country Link
JP (1) JP6107199B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20180084035A (en) * 2015-09-30 2018-07-24 컬러 그레일 리서치 Method and related device for determining the reflectance of an object
JP2018176566A (en) * 2017-04-14 2018-11-15 セイコーエプソン株式会社 Printing device and control method
US10889127B2 (en) 2018-03-19 2021-01-12 Ricoh Company, Ltd. Liquid discharge apparatus, defective nozzle detection method, and recording medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6070321A (en) * 1983-09-27 1985-04-22 Matsushita Electric Ind Co Ltd Color recognizing apparatus for color picture
JP2001099711A (en) * 1999-09-30 2001-04-13 Minolta Co Ltd Test chart colorimetry system and color output instrument calibration system
JP2006212985A (en) * 2005-02-04 2006-08-17 Mitsubishi Heavy Ind Ltd Method and apparatus for setting noticeable pixel region for controlling color tone of printing, and method and apparatus for controlling color tone of picture pattern in printing machine
JP2008307903A (en) * 2008-09-29 2008-12-25 Seiko Epson Corp Inkjet recording device
JP2011031633A (en) * 2000-05-01 2011-02-17 Canon Inc Recording apparatus and method
JP2012061661A (en) * 2010-09-15 2012-03-29 Ricoh Co Ltd Recording apparatus, and ejection failure detection method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6070321A (en) * 1983-09-27 1985-04-22 Matsushita Electric Ind Co Ltd Color recognizing apparatus for color picture
JP2001099711A (en) * 1999-09-30 2001-04-13 Minolta Co Ltd Test chart colorimetry system and color output instrument calibration system
JP2011031633A (en) * 2000-05-01 2011-02-17 Canon Inc Recording apparatus and method
JP2006212985A (en) * 2005-02-04 2006-08-17 Mitsubishi Heavy Ind Ltd Method and apparatus for setting noticeable pixel region for controlling color tone of printing, and method and apparatus for controlling color tone of picture pattern in printing machine
JP2008307903A (en) * 2008-09-29 2008-12-25 Seiko Epson Corp Inkjet recording device
JP2012061661A (en) * 2010-09-15 2012-03-29 Ricoh Co Ltd Recording apparatus, and ejection failure detection method

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20180084035A (en) * 2015-09-30 2018-07-24 컬러 그레일 리서치 Method and related device for determining the reflectance of an object
CN108449962A (en) * 2015-09-30 2018-08-24 卡勒格锐研究有限公司 The method and relevant device of reflectivity for determining object
JP2018538513A (en) * 2015-09-30 2018-12-27 カラー・グレイル・リサーチColor Grail Research Method and associated device for determining the reflectance of an object
CN108449962B (en) * 2015-09-30 2020-12-15 卡勒格锐研究有限公司 Method for determining the reflectivity of an object and related device
KR102549763B1 (en) 2015-09-30 2023-06-29 컬러 그레일 리서치 Method and related device for determining the reflectance of an object
JP2018176566A (en) * 2017-04-14 2018-11-15 セイコーエプソン株式会社 Printing device and control method
US10889127B2 (en) 2018-03-19 2021-01-12 Ricoh Company, Ltd. Liquid discharge apparatus, defective nozzle detection method, and recording medium

Also Published As

Publication number Publication date
JP6107199B2 (en) 2017-04-05

Similar Documents

Publication Publication Date Title
JP6107164B2 (en) Color measuring device, image forming apparatus, color measuring method and color measuring system
JP5783194B2 (en) Imaging unit, color measuring device, image forming apparatus, color measuring system, and color measuring method
JP6102321B2 (en) Imaging unit, color measuring device, image forming apparatus, color measuring system, and color measuring method
US9118874B2 (en) Image capturing device, color measuring device, color measuring system, image forming apparatus, and color measuring method
US9355340B2 (en) Image capturing device, color measuring device, color measuring system, and image forming apparatus
JP5962239B2 (en) Color measuring device, image forming apparatus and program
JP6424586B2 (en) Image pickup apparatus, medium type determination apparatus, and image forming apparatus
JP6107167B2 (en) Imaging unit, color measuring device, image forming apparatus, color measuring system, and color measuring method
JP2013195184A (en) Imaging apparatus, colorimetric device, colorimetric system, and image forming apparatus
US9549097B2 (en) Imaging device, image forming apparatus, and method of controlling driving of two-dimensional image sensor
JP6107199B2 (en) Image forming apparatus, color measurement method, and color measurement program
JP2017149150A (en) Image forming apparatus, colorimetry apparatus, and ink jet recording device
JP6003097B2 (en) Imaging apparatus, colorimetric apparatus, colorimetric system, and image forming apparatus
JP6064345B2 (en) Imaging apparatus, colorimetric apparatus, colorimetric system, and image forming apparatus
JP6652174B2 (en) Imaging unit, colorimetric device, image forming apparatus, colorimetric system, and colorimetric method
JP6780716B2 (en) Imaging device, image forming device and color measurement method
JP6852723B2 (en) Imaging unit, color measuring device, image forming device and color measuring system
JP6455612B2 (en) Imaging unit, color measuring device, and image forming apparatus
JP6288192B2 (en) Imaging unit, color measuring device, and image forming apparatus
JP6003457B2 (en) Imaging unit, color measuring device, color measuring system, and image forming apparatus
JP2017143531A (en) Imaging apparatus, mage forming apparatus and colorimetry method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20151207

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20151207

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20161114

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20161122

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20170119

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20170220

R151 Written notification of patent or utility model registration

Ref document number: 6107199

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151