JP6498009B2 - Image processing apparatus and recording ratio determination method - Google Patents

Image processing apparatus and recording ratio determination method Download PDF

Info

Publication number
JP6498009B2
JP6498009B2 JP2015065372A JP2015065372A JP6498009B2 JP 6498009 B2 JP6498009 B2 JP 6498009B2 JP 2015065372 A JP2015065372 A JP 2015065372A JP 2015065372 A JP2015065372 A JP 2015065372A JP 6498009 B2 JP6498009 B2 JP 6498009B2
Authority
JP
Japan
Prior art keywords
recording
gradation
value
image
image quality
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2015065372A
Other languages
Japanese (ja)
Other versions
JP2016182796A (en
Inventor
坪井 仁
仁 坪井
均 松田
均 松田
崇幸 牛山
崇幸 牛山
義朋 丸本
義朋 丸本
秀尚 馬淵
秀尚 馬淵
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP2015065372A priority Critical patent/JP6498009B2/en
Publication of JP2016182796A publication Critical patent/JP2016182796A/en
Application granted granted Critical
Publication of JP6498009B2 publication Critical patent/JP6498009B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Description

本発明は、画像処理装置および記録比率決定方法に関し、詳しくは、サイズの異なるドットを混合して記録するためのそれぞれのドットの記録比率を決定する技術に関するものである。   The present invention relates to an image processing apparatus and a recording ratio determination method, and more particularly to a technique for determining the recording ratio of each dot for mixing and recording dots having different sizes.

この種の技術の一例として、特許文献1には、小ドット。中ドットおよび大ドットの3種類のドットで記録を行う場合に、低階調値の範囲では小ドットのみを用い、次に高い階調範囲では小ドットと中ドットを混在させて用い、さらに高い階調範囲では中ドットと大ドットを混在させて用いることが記載されている。そして、それぞれ階調値で記録比率を適切に定めることにより、バンディング(スジむら)を低減しつつ良好な階調性を実現することを可能としている。   As an example of this type of technology, Patent Document 1 discloses small dots. When recording with three types of dots, medium dots and large dots, only small dots are used in the range of low gradation values, and small dots and medium dots are mixed in the next higher gradation range. In the gradation range, it is described that medium dots and large dots are mixedly used. Then, by appropriately determining the recording ratio with the respective gradation values, it is possible to achieve good gradation while reducing banding (streaks).

特開平11−254662号公報Japanese Patent Laid-Open No. 11-254662

特許文献1に記載の記録比率の決定は、低階調値から高階調値までの所定の階調範囲ごとに小ドット、小ドットおよび中ドット、中ドットおよび大ドットを用い、それぞれの階調値で記録比率を定めるものである。しかし、このような方法では、サイズの異なるドットを混合して用いることによる階調表現の本来の利点が十分に発揮できない場合がある。例えば、比較的低階調値の範囲でも、小ドットのみで記録するよりも、小ドットと大ドットを混合して記録した方が、粒状感などの低減と併せて、より良好な階調表現を実現できる場合がある。   The recording ratio described in Patent Document 1 is determined by using small dots, small dots and medium dots, medium dots and large dots for each predetermined gradation range from a low gradation value to a high gradation value. The recording ratio is determined by the value. However, in such a method, there are cases where the original advantage of gradation expression by using a mixture of dots of different sizes cannot be fully exhibited. For example, even in the range of relatively low gradation values, recording with a mixture of small dots and large dots, compared to recording with only small dots, provides better gradation expression together with reduction of graininess etc. Can be realized.

このように、階調値に拠らずサイズの異なるドットを混合して記録することを前提とした上で、粒状感やバンディングなどの画質評価パラメータを用いて画質を評価し記録比率を決定することは好ましいことである。   As described above, on the assumption that dots of different sizes are mixed and recorded regardless of the gradation value, the recording ratio is determined by evaluating the image quality using image quality evaluation parameters such as graininess and banding. That is preferable.

本発明は、このような記録比率の決定を可能とする画像処理装置および記録比率決定方法を提供することを目的とするものである。   An object of the present invention is to provide an image processing apparatus and a recording ratio determination method that can determine such a recording ratio.

そのために本発明では、サイズの異なる複数種類のドットを記録する際の、階調値ごとの複数種類のドットそれぞれの記録比率を決定する処理を行う画像処理装置であって、前記複数種類のドットの記録比率の組み合わせが異なる複数の記録比率の組み合わせに基づいて作成される複数の評価対象画像であって、記録画像の画質評価に関する画質評価値に影響を及ぼす記録動作パラメータの情報が付加された評価対象画像を、階調値ごとに複数取得する画像取得手段と、前記階調値ごとの複数の評価対象画像それぞれについて前記画質評価値を求める評価値取得手段と、前記階調値ごとの複数の前記画質評価値に対応した複数の記録比率の組み合わせの中から、階調値ごとに1つの記録比率の組み合わせを決定する決定手段と、を具えたことを特徴とする。   Therefore, the present invention is an image processing apparatus that performs processing for determining a recording ratio of each of a plurality of types of dots for each gradation value when recording a plurality of types of dots having different sizes. A plurality of evaluation target images created based on a combination of a plurality of recording ratios having different recording ratio combinations, and information on recording operation parameters that affect the image quality evaluation value relating to the image quality evaluation of the recorded image is added. Image acquisition means for acquiring a plurality of evaluation target images for each gradation value, evaluation value acquisition means for obtaining the image quality evaluation value for each of the plurality of evaluation target images for each gradation value, and a plurality for each gradation value Determining means for determining one recording ratio combination for each gradation value from among a plurality of recording ratio combinations corresponding to the image quality evaluation value of And features.

以上の構成によれば、階調値に拠らずサイズの異なるドットを混合して記録することを前提とした上で、粒状感やバンディングなどの画質評価パラメータを用いて画質を評価し記録比率を決定することが可能となる。   According to the above configuration, on the assumption that dots of different sizes are mixed and recorded regardless of the gradation value, the image quality is evaluated using the image quality evaluation parameters such as graininess and banding, and the recording ratio Can be determined.

本発明の一実施形態に係わるインクジェット記録装置の構成を示す斜視図である。1 is a perspective view illustrating a configuration of an inkjet recording apparatus according to an embodiment of the present invention. (a)および(b)は、図1に示すそれぞれの記録ヘッドにおける、吐出口が設けられた吐出口配設面を示す図である。(A) And (b) is a figure which shows the discharge port arrangement | positioning surface in which each discharge head shown in FIG. 1 was provided with the discharge port. 図1に示す制御部の構成を示すブロック図である。It is a block diagram which shows the structure of the control part shown in FIG. 図3に示した画像処理部による一連の画像処理の構成を示すブロック図である。It is a block diagram which shows the structure of a series of image processing by the image processing part shown in FIG. 図4に示した量子化処理の詳細な処理を示すフローチャートである。It is a flowchart which shows the detailed process of the quantization process shown in FIG. (a)〜(c)は、本実施形態で用いるディザテーブルを示す図である。(A)-(c) is a figure which shows the dither table used by this embodiment. (a)〜(c)は、図6(a)〜(c)に示すディザテーブルを用いて量子化した結果を示す図である。(A)-(c) is a figure which shows the result quantized using the dither table shown to FIG. 6 (a)-(c). 図6(a)〜(c)に示すディザテーブルによって実現される大、中、小ドットの記録比率を示す図である。FIG. 7 is a diagram illustrating recording ratios of large, medium, and small dots that are realized by the dither table illustrated in FIGS. 図9は、本発明の第1実施形態に係る階調値ごとの大、中、小ドットの混合記録比率候補と、画質評価に応じた混合記録比率の選択を説明する図である。FIG. 9 is a diagram for explaining selection of mixed recording ratio candidates of large, medium, and small dots for each gradation value according to the first embodiment of the present invention and mixed recording ratios according to image quality evaluation. 図9の選択処理を示すフローチャートである。10 is a flowchart showing the selection process of FIG. 9. 図10に示すステップ42の混合記録比率候補を作成する処理を示すフローチャートである。It is a flowchart which shows the process which produces the mixed recording ratio candidate of step 42 shown in FIG. 図10のステップ602における、記録画像のシミュレーションの処理を説明するフローチャートである。FIG. 11 is a flowchart for describing a recording image simulation process in step 602 of FIG. 10. FIG. 図12に示すシミュレーションで用いる着弾ばらつきデータの一例を示す図である。FIG. 13 is a diagram illustrating an example of landing variation data used in the simulation illustrated in FIG. 12. 本発明の一実施形態に係るシミュレーションの対象画像であるビットマップデータを模式的に示す図である。It is a figure which shows typically the bitmap data which are the object images of the simulation which concerns on one Embodiment of this invention. 本発明の一実施形態に係るシミュレーション画像のデータを模式的に示す図である。It is a figure which shows typically the data of the simulation image which concerns on one Embodiment of this invention. 本発明の第2実施形態に係る階調値ごとの大、中、小ドットの混合記録比率候補と、画質評価に応じた混合記録比率の選択を説明する図である。It is a figure explaining selection of the mixed recording ratio candidate of large, medium, and small dots for each gradation value according to the second embodiment of the present invention and the mixed recording ratio according to the image quality evaluation. 図16の選択処理を示すフローチャートである。It is a flowchart which shows the selection process of FIG. 本発明の第3実施形態に係る混合記録比率の選択処理を示すフローチャートである。It is a flowchart which shows the selection process of the mixed recording ratio which concerns on 3rd Embodiment of this invention. 本発明の第4実施形態に係る混合記録比率の選択処理を示すフローチャートである。It is a flowchart which shows the selection process of the mixed recording ratio which concerns on 4th Embodiment of this invention. 本発明の第4実施形態に係る、連続する2つの階調値間におけるディザ方式に拠る制約を満たす組み合わせを抽出する処理を説明する図である。It is a figure explaining the process which extracts the combination which satisfy | fills the restrictions based on the dither system between two continuous gradation values based on 4th Embodiment of this invention. 本実施形態で用いた複数ドットのディザテーブルの作成方法を説明する図である。It is a figure explaining the production method of the dither table of multiple dots used in this embodiment.

以下、図面を参照して本発明の実施形態を詳細に説明する。   Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.

<装置構成>
図1は、本発明の一実施形態に係わるインクジェット記録装置(以下、記録装置とも言う)の構成を示す斜視図である。図1に示すように、本実施形態の記録装置1は、用紙などの記録媒体の幅に対応してインク吐出口を配列した、いわゆる、フルラインタイプの記録ヘッド2(2Y,2M,2C,2Bk)を備えている。記録ヘッド2は、イエロー(Y)、マゼンタ(M)、シアン(C)およびブラック(Bk)のインクに対応して設けられる。これら記録ヘッド2のそれぞれは、図2にてその詳細が後述されるように、記録媒体の搬送方向(走査方向:図1に示すX方向)と直交する方向(ノズル配列方向:Y方向)に複数の吐出口を配列している。そして、それぞれの吐出口に対応して設けられたピエゾ素子を駆動することによって対応する吐出口からインクを吐出する。すなち、ピエゾ素子は、ヘッドドライバ2aを介して制御部9に電気的に接続されており、制御部9から送られてくる駆動信号によってピエゾ素子が駆動され、インクが吐出される。そして、本実施形態では、ピエゾ素子を駆動する駆動信号の電気エネルギーを変更することによって、後述する大、中、小の複数種類のドットをそれぞれ形成する量のインク滴を吐出する。本実施形態では、このインク滴の量は5pl、7pl、12plである。
<Device configuration>
FIG. 1 is a perspective view showing a configuration of an ink jet recording apparatus (hereinafter also referred to as a recording apparatus) according to an embodiment of the present invention. As shown in FIG. 1, the recording apparatus 1 according to the present embodiment has a so-called full-line type recording head 2 (2Y, 2M, 2C, etc.) in which ink discharge ports are arranged corresponding to the width of a recording medium such as paper. 2Bk). The recording head 2 is provided corresponding to yellow (Y), magenta (M), cyan (C), and black (Bk) inks. Each of these recording heads 2 is in a direction (nozzle arrangement direction: Y direction) perpendicular to the recording medium conveyance direction (scanning direction: X direction shown in FIG. 1), as will be described in detail later with reference to FIG. A plurality of discharge ports are arranged. Then, by driving a piezo element provided corresponding to each discharge port, ink is discharged from the corresponding discharge port. In other words, the piezo element is electrically connected to the control unit 9 via the head driver 2a, and the piezo element is driven by a drive signal sent from the control unit 9 to eject ink. In the present embodiment, by changing the electric energy of the drive signal for driving the piezo element, an amount of ink droplets that respectively form a plurality of types of large, medium, and small dots, which will be described later, are ejected. In this embodiment, the amount of ink droplets is 5 pl, 7 pl, and 12 pl.

なお、インクの吐出方式は、ピエゾ素子を用いる方式以外に、インクを加熱するヒータを用いる方式、静電素子を用いる方式、MEMS素子を用いる方式など、他の方式を採用することもできる。例えば、ヒータを用いる方式の場合は、上記大、中、小ドットを記録するために、例えば、吐出口などのサイズを異ならせて対応する量のインク滴を吐出するようにすることができる。   In addition to the method using a piezo element, other methods such as a method using a heater for heating ink, a method using an electrostatic element, and a method using a MEMS element can be adopted as the ink discharge method. For example, in the case of a method using a heater, in order to record the large, medium, and small dots, for example, it is possible to eject ink of a corresponding amount by changing the size of the ejection port or the like.

各記録ヘッド2は、Y、M、C、Bkインクをそれぞれ貯留するインクタンク3Y、3M、3C、3Bk(以下、これらをまとめてインクタンク3とも言う)と接続配管4を介して接続されている。これらインクタンク3は、それぞれ独立して着脱することができる。また、記録ヘッド2は、ヘッド移動部10によりプラテン6と対向する方向において昇降される。このヘッド移動部10は、制御部9によりその作動が制御される。   Each recording head 2 is connected to an ink tank 3Y, 3M, 3C, 3Bk (hereinafter collectively referred to as an ink tank 3) for storing Y, M, C, and Bk inks, respectively, via a connection pipe 4. Yes. These ink tanks 3 can be attached and detached independently. The recording head 2 is moved up and down by the head moving unit 10 in a direction facing the platen 6. The operation of the head moving unit 10 is controlled by the control unit 9.

記録ヘッド2の下方には、搬送用ベルト5などによって構成される搬送機構が配置されている。すなわち、搬送用ベルト5は、記録媒体Pを静電吸着によって保持して搬送する。この搬送ベルト5は、ベルト駆動モータ11に連結された駆動ローラに掛け渡され、これによって搬送ベルト5の移動が行われる。搬送用ベルト5は、モータドライバ12によってその作動が切り替えられる。搬送用ベルト5の上流側には、帯電器13が設けられる。帯電器13は、搬送用ベルト5を帯電することにより、記録媒体Pを搬送用ベルト5に吸着させることができる。帯電器13は、帯電器ドライバ13aによってその通電のオン/オフが切り換えられる。一対の給送ローラ14は、搬送用ベルト5上に記録媒体Pを供給する。給送用モータ15は、これら一対の給送ローラ14を駆動回転させる。給送用モータ15は、モータドライバ16によってその作動が制御される。   Below the recording head 2, a transport mechanism including a transport belt 5 is disposed. That is, the conveyance belt 5 conveys the recording medium P while holding the recording medium P by electrostatic adsorption. The conveyor belt 5 is stretched around a driving roller connected to the belt drive motor 11, and the conveyor belt 5 is moved by this. The operation of the conveyor belt 5 is switched by the motor driver 12. A charger 13 is provided on the upstream side of the conveying belt 5. The charger 13 can adsorb the recording medium P to the transport belt 5 by charging the transport belt 5. The charger 13 is turned on / off by a charger driver 13a. The pair of feeding rollers 14 supplies the recording medium P onto the conveying belt 5. The feeding motor 15 drives and rotates the pair of feeding rollers 14. The operation of the feeding motor 15 is controlled by a motor driver 16.

記録ヘッド2の側方には、記録ヘッド2の回復処理を行なうため、記録ヘッド2の配列間隔に対して半ピッチずらした状態でキャップ7が配置される。キャップ移動部8は、制御部9によってその作動が制御され、記録ヘッド2の直下にキャップ7を移動させ、インク吐出口から排出される廃インクをキャップ7に受けさせる。   On the side of the recording head 2, a cap 7 is disposed in a state shifted by a half pitch with respect to the arrangement interval of the recording heads 2 in order to perform recovery processing of the recording head 2. The operation of the cap moving unit 8 is controlled by the control unit 9, and the cap 7 is moved directly below the recording head 2 so that the waste ink discharged from the ink discharge port is received by the cap 7.

なお、図1に示す本実施形態の構成は、記録ヘッド2に対して記録媒体Pが搬送される構成であったが、記録ヘッド2と記録媒体Pとが相対的に移動する構成であれば良く、その構成は特に問わない。例えば、記録ヘッド2が記録媒体Pに対して移動する構成であってもよい。   The configuration of the present embodiment illustrated in FIG. 1 is a configuration in which the recording medium P is transported with respect to the recording head 2. However, as long as the recording head 2 and the recording medium P move relative to each other. The configuration is not particularly limited. For example, the recording head 2 may move with respect to the recording medium P.

図2(a)および(b)は、図1に示すそれぞれの記録ヘッド2における、吐出口が設けられた吐出口配設面を示す図である。図2(a)に示すように、記録ヘッド2は、台形の吐出口ユニット20(アクチュエータユニットである圧電アクチュエータユニット)が、図に示すY方向に4つ配列することによって構成される。これらの台形の吐出口ユニット20は、その斜辺同士が対向することによってY方向において部分的に重複するよう配列されている。これにより、4つの吐出口ユニット全体で吐出口200が所定の配列ピッチで配列することができる。それぞれの吐出口ユニット20は、図2(b)に示すように、4つのチップによって構成され、それぞれのチップでは、Y方向に隣接する吐出口200は600dpi相当のピッチPで配列されている。そして、隣接するチップがそれらの間の吐出口がP/4だけずれるよう配置されることにより、記録ヘッ2全体で、Y方向において2400dpi相当のピッチ(P/4)で吐出口が配列されることになる。   FIGS. 2A and 2B are views showing the ejection opening arrangement surface provided with the ejection openings in each recording head 2 shown in FIG. As shown in FIG. 2A, the recording head 2 is configured by arranging four trapezoidal discharge port units 20 (piezoelectric actuator units which are actuator units) in the Y direction shown in the drawing. These trapezoidal discharge port units 20 are arranged so as to partially overlap in the Y direction with their hypotenuses facing each other. Thereby, the discharge ports 200 can be arranged at a predetermined arrangement pitch in the whole four discharge port units. As shown in FIG. 2B, each discharge port unit 20 is configured by four chips, and in each chip, the discharge ports 200 adjacent in the Y direction are arranged at a pitch P corresponding to 600 dpi. Then, by arranging adjacent chips so that the discharge ports between them are displaced by P / 4, the discharge ports are arranged at a pitch (P / 4) equivalent to 2400 dpi in the Y direction in the entire recording head 2. It will be.

図3は、図1に示す制御部9の構成を示すブロック図である。図3において、制御部9は、その機能的な構成として、データ入力部31と、表示操作部32と、CPU33と、記憶部34と、RAM35と、画像処理部36と、記録ヘッド制御部37とを有している。   FIG. 3 is a block diagram showing a configuration of the control unit 9 shown in FIG. In FIG. 3, the control unit 9 includes, as its functional configuration, a data input unit 31, a display operation unit 32, a CPU 33, a storage unit 34, a RAM 35, an image processing unit 36, and a recording head control unit 37. And have.

CPU33は、装置全体の動作を統括制御する。例えば、記憶部34に格納されたプログラムに従って各部の動作を制御する。記憶部34は、各種データを記憶する。例えば、記憶部34には、記録媒体の種類に関する情報、インクに関する情報、温度や湿度等の環境に関する情報、着弾位置の補正に関する情報(レジ調整情報)、記録ヘッド2に関する情報、各種制御プログラム、3次元LUT等が格納される。データ入力部31は、画像入力機器(例えば、デジタルカメラ、パーソナルコンピュータ)から多値画像データを入力する。RAM35は、CPU33による各種プログラムの実行の際にワークエリアとして使用され、各種演算結果や画像処理結果等を一時的に記憶する。表示操作部32は、ユーザによる指示(例えば、パラメータの設定指示、記録開始の指示)を装置に入力するための操作部(例えば、タッチパネル、ボタン)と、ユーザに各種情報を表示する表示部(例えば、タッチパネル、ディスプレイ)を備えて構成される。   The CPU 33 controls the overall operation of the apparatus. For example, the operation of each unit is controlled according to a program stored in the storage unit 34. The storage unit 34 stores various data. For example, the storage unit 34 includes information regarding the type of recording medium, information regarding ink, information regarding environment such as temperature and humidity, information regarding correction of landing position (registration adjustment information), information regarding the recording head 2, various control programs, A three-dimensional LUT or the like is stored. The data input unit 31 inputs multi-value image data from an image input device (for example, a digital camera or a personal computer). The RAM 35 is used as a work area when the CPU 33 executes various programs, and temporarily stores various calculation results, image processing results, and the like. The display operation unit 32 includes an operation unit (for example, a touch panel and a button) for inputting an instruction (for example, a parameter setting instruction and a recording start instruction) by the user to the apparatus, and a display unit (for example, a display unit for displaying various information to the user). For example, a touch panel and a display) are provided.

画像処理部36は、データ入力部31を介して入力された多値画像データに対して図4にて後述される画像処理を行う。例えば、その画像処理の一つとして、ディザテーブルを用いて多値画像データを4値の記録データに量子化する処理を行う。なお、この処理は、多値誤差拡散法を用いても良いし、また、平均濃度保存法ディザ法等、任意の中間調処理方法を用いてもよい。これにより、画像処理部36は、各ノズルに対応した記録データを生成する。この記録データの生成に際しては、記憶部34に格納されたレジ調整情報に基づいて記録媒体へのインクの着弾位置が調整される。記録ヘッド制御部37は、記録ヘッド2による記録動作を制御する。   The image processing unit 36 performs image processing, which will be described later with reference to FIG. 4, on the multivalued image data input via the data input unit 31. For example, as one of the image processes, a process of quantizing multi-value image data into four-value recording data using a dither table is performed. In this process, a multi-value error diffusion method may be used, or an arbitrary halftone processing method such as an average density preservation method dither method may be used. Thereby, the image processing unit 36 generates recording data corresponding to each nozzle. When generating the recording data, the ink landing position on the recording medium is adjusted based on the registration adjustment information stored in the storage unit 34. The recording head control unit 37 controls the recording operation by the recording head 2.

なお、制御部9の構成は、必ずしもこのような構成に限られない。例えば、これら構成の一部は、例えば、CPU33がRAM35をワーク領域として記憶部34に格納されたプログラムを読み込み実行することで実現されてもよいし、専用回路等のハードウェア構成によって実現されてもよい。   In addition, the structure of the control part 9 is not necessarily restricted to such a structure. For example, a part of these configurations may be realized by the CPU 33 reading and executing a program stored in the storage unit 34 using the RAM 35 as a work area, or by a hardware configuration such as a dedicated circuit. Also good.

図4は、図3に示した画像処理部36による一連の画像処理の構成を示すブロック図である。図4に示すように、画像処理部36は、その処理として前段処理1501、後段処理1502、γ補正1503、量子化処理1504、および印刷データ作成処理1505をそれぞれ実行する。   FIG. 4 is a block diagram showing a configuration of a series of image processing by the image processing unit 36 shown in FIG. As shown in FIG. 4, the image processing unit 36 executes pre-processing 1501, post-processing 1502, γ correction 1503, quantization processing 1504, and print data creation processing 1505 as the processing.

前段処理1501は、モニタに表示する画像の色域を、記録装置1における記録で表現可能な色域に変換する色域変換を行う。具体的には、8ビットで表現された画像データR、G、Bを、記憶部34に格納されている前段処理用の3次元LUTを参照することによって、記録装置1の色域内の8ビットデータR、G、Bに変換する。次いで、後段処理1502は、前段処理1501による変換後のデータR、G、Bが記録装置1に搭載された記録ヘッド2が吐出する4色のインク色C、M、Y、Bkで表現されるように、信号値変換を行う。具体的には、変換後の8ビットデータR、G、Bを、記憶部34に格納されている、後段処理用の3次元LUTを参照することにより、C、M、Y、Bkの8ビットデータに変換する。続くγ補正1503は、後段処理1502で得られたC、M、Y、Kのデータについてγ補正を行う。具体的には、後段処理で得られた8ビットデータC、M、Y、Bkのそれぞれについて記録装置の階調特性に線形的に対応づけられるように1次変換を行う。   The pre-stage processing 1501 performs color gamut conversion for converting the color gamut of the image displayed on the monitor into a color gamut that can be expressed by recording in the recording apparatus 1. Specifically, 8 bits in the color gamut of the recording apparatus 1 are obtained by referring to image data R, G, and B expressed in 8 bits with a three-dimensional LUT for pre-processing stored in the storage unit 34. Convert to data R, G, B. Next, in the post-stage process 1502, the data R, G, and B after the conversion in the pre-stage process 1501 are expressed by the four ink colors C, M, Y, and Bk ejected by the recording head 2 mounted on the recording apparatus 1. Thus, signal value conversion is performed. Specifically, 8-bit data R, G, and B after conversion are referred to a post-processing three-dimensional LUT stored in the storage unit 34, so that 8 bits of C, M, Y, and Bk are stored. Convert to data. The subsequent γ correction 1503 performs γ correction on the C, M, Y, and K data obtained in the subsequent processing 1502. Specifically, primary conversion is performed so that each of the 8-bit data C, M, Y, and Bk obtained in the subsequent processing is linearly associated with the gradation characteristics of the recording apparatus.

量子化処理1504は、γ補正がなされた8ビットデータC、M、Y、Bkのそれぞれに対して、図5などで後述される量子化処理を行う。具体的には、8ビットデータC、M、Y、Bkのそれぞれについて、「大ドットを記録」、「中ドットを記録」、「小ドットを記録」、または「ドットの記録無し」の4つの値のいずれかを示す2ビットデータに変換する。次に、記録データ作成処理1505は、量子化処理1504によって生成された各色の2ビットデータに、記憶部34に格納された記録媒体情報、記録品位情報および給紙方法等のような記録動作に関わる制御情報を付加して、記録データを作成する。以上のようにして生成された記録データは、記録ヘッド制御部37から記録装置1へ供給される。なお、上記の例は、2ビット、4値化の処理の例であるが、ドットのサイズが、例えば4種類である場合には、5値化処理を行うことはもちろんである。   The quantization process 1504 performs a quantization process, which will be described later with reference to FIG. 5, for each of the 8-bit data C, M, Y, and Bk that has been subjected to γ correction. Specifically, for each of the 8-bit data C, M, Y, and Bk, there are four types of “large dot recording”, “medium dot recording”, “small dot recording”, or “no dot recording”. Convert to 2-bit data indicating one of the values. Next, the recording data creation process 1505 performs a recording operation such as recording medium information, recording quality information, and paper feeding method stored in the storage unit 34 on the 2-bit data of each color generated by the quantization process 1504. Record data is created by adding related control information. The recording data generated as described above is supplied from the recording head control unit 37 to the recording apparatus 1. The above example is an example of 2-bit and quaternarization processing. Of course, when there are four types of dot sizes, for example, quinarization processing is performed.

図5は、図4に示した量子化処理1504の詳細な処理を示すフローチャートである。本実施形態の量子化処理は、256画素×256画素サイズのディザテーブルを用いて、それを縦および横方向に繰り返して用いて画像データ全体の量子化処理を行う。   FIG. 5 is a flowchart showing detailed processing of the quantization processing 1504 shown in FIG. The quantization processing of this embodiment uses a dither table of 256 pixels × 256 pixels size and repeats it in the vertical and horizontal directions to perform the quantization processing of the entire image data.

図5において、先ず、ステップ1401で、8ビットの画像データを入力する。ここで入力されるデータは、γ補正1503で処理されたC、M、Y、Kの各色につき256階調を有するデータである。次に、記憶部34に格納された、大、中、小ドットそれぞれのディザテーブルを用いてそれぞれのドットのオン/オフを判定する。図6(a)〜(c)は、本実施形態で用いるディザテーブルを示す図であり、図6(a)は大ドット用テーブル60L、図6(b)は中ドット用テーブル60M、図6(c)は小ドット用テーブル60Sをそれぞれ示している。なお、図示および説明の簡略化のため、8画素×8画素のサイズのテーブルを示している。   In FIG. 5, first, in step 1401, 8-bit image data is input. The data input here is data having 256 gradations for each of the C, M, Y, and K colors processed by the γ correction 1503. Next, on / off of each dot is determined using a dither table for each of large, medium, and small dots stored in the storage unit 34. 6A to 6C are diagrams showing a dither table used in the present embodiment. FIG. 6A shows a large dot table 60L, FIG. 6B shows a medium dot table 60M, and FIG. (C) shows the small dot table 60S. For simplification of illustration and description, a table having a size of 8 pixels × 8 pixels is shown.

ステップ1401で、画像データを入力すると、次にステップ1402で、入力画像の画素が示す階調値LVと、大ドット用ディザテーブル60Lにおいて対応する画素の閾値LTHとを比較する。階調値LVが閾値LTHより大きい場合は、その画素を大ドットのオンに設定する(S1408)。階調値LVが閾値LTH以下の場合は、ステップ1403で、中ドット用のディザテーブル60Mを用いて、同じ画素の階調値LVと、対応する画素の閾値MTHとを比較する。階調値LVが閾値MTHより大きい場合は、その画素を中ドットのオンに設定する(S1407)。階調値LVが閾値MTH以下の場合は、ステップ1404で、小ドット用のディザテーブル60Sを用いて、同じ画素の階調値LVと、対応する画素の閾値STHとを比較する。階調値LVが閾値STHより大きい場合は、その画素を小ドットのオンに設定する(S1406)。階調値LVが閾値MTH以下の場合は、その画素をドット記録なしに設定する(S1405)。総ての画素についてディザ処理が終了するまで、上記と同様の処理を行い(S1409)、4値化された記録データを生成する。   When image data is input in step 1401, next, in step 1402, the gradation value LV indicated by the pixel of the input image is compared with the threshold value LTH of the corresponding pixel in the large dot dither table 60L. When the gradation value LV is larger than the threshold value LTH, the pixel is set to ON of a large dot (S1408). If the gradation value LV is less than or equal to the threshold value LTH, the gradation value LV of the same pixel is compared with the threshold value MTH of the corresponding pixel in step 1403 using the dither table 60M for medium dots. If the gradation value LV is greater than the threshold value MTH, the pixel is set to ON for the medium dot (S1407). If the gradation value LV is less than or equal to the threshold value MTH, in step 1404, the gradation value LV of the same pixel is compared with the threshold value STH of the corresponding pixel using the dither table 60S for small dots. If the gradation value LV is greater than the threshold value STH, the pixel is set to small dot ON (S1406). If the gradation value LV is less than or equal to the threshold value MTH, the pixel is set without dot recording (S1405). Processing similar to the above is performed until dither processing is completed for all pixels (S1409), and quaternary recording data is generated.

上述の量子化処理で用いる、図6(a)〜(c)に示すディザテーブル60L、60M、60Sは、図10にて後述される本発明の一実施形態に係る選択処理によって決定される、図8に示すドット混合記録比率を実現する内容になっている。すなわち、後述の混合記録比率を選択する処理では、画像データが示す0〜255の階調値ごとに大、中、小ドットの混合記録比率が決定される。そして、本実施形態の量子化処理で用いるディザテーブルの内容を、そのテーブルを用いた、図5にて説明した量子化処理によって、上記決定した階調値ごとの大、中、小ドットそれぞれの混合記録比率(記録比率)を実現すようにしたものである。   The dither tables 60L, 60M, and 60S shown in FIGS. 6A to 6C used in the quantization process described above are determined by the selection process according to the embodiment of the present invention described later with reference to FIG. The content is to realize the dot mixed recording ratio shown in FIG. That is, in the process of selecting the mixed recording ratio described later, the mixed recording ratio of large, medium, and small dots is determined for each gradation value of 0 to 255 indicated by the image data. Then, the contents of the dither table used in the quantization process of the present embodiment are changed to the large, medium, and small dots for each gradation value determined by the quantization process described in FIG. 5 using the table. A mixed recording ratio (recording ratio) is realized.

本実施形態で用いている複数ドットのディザテーブルの作成方法について、図21を用いて説明する。まず予め階調毎に決定されている複数ドットの混合比率とマトリックスの要素の数だけ数字が記載されて、かつ、記録に用いるディザテーブルと等しいテーブルを1枚用意する。本説明では説明をわかりやすくするため、図21には3x3のマトリックス上のテーブル1901で階調値を最大7にした。そして、一階調ずつ、1901のテーブルの数値が小さい順にドットを配置していく。その一例が1903、1904、1905であり、1903は階調値1の場合、1904は階調値2の場合、1905が階調値4の場合を示している。そして、これらのドットが配置される最初の階調値から1引いた値がその閾値となる。例えば、1902の表の4の階調値の場合は、小は1個、中は4個、大は1個の比率であり、大ドットを3x3のテーブルの数字が一番低いところに配置し、その後中、小と置いていく。この時大ドットがこの階調で初めて左上におかれたので大ドットのディザテーブルの左上の閾値が3になるといったように複数ドットの閾値を決めていくのである。1906、1907、1908のテーブルはこの混合比率と1901のテーブルで作成された複数ドットのディザテーブルである。   A method of creating a multi-dot dither table used in this embodiment will be described with reference to FIG. First, a table is prepared in which numbers are written in the same number as the number of matrix elements and the mixing ratio of a plurality of dots determined in advance for each gradation and used for recording. In this description, in order to make the description easy to understand, the gradation value is set to 7 at maximum in the table 1901 on the 3 × 3 matrix in FIG. Then, dots are arranged one by one in the order of decreasing numerical values in the 1901 table. One example is 1903, 1904, and 1905, where 1903 indicates a gradation value of 1, 1904 indicates a gradation value of 2, and 1905 indicates a gradation value of 4. A value obtained by subtracting 1 from the first gradation value at which these dots are arranged becomes the threshold value. For example, in the case of 4 gradation values in the table 1902, the ratio is 1 for small, 4 for medium, and 1 for large, and the large dot is arranged at the lowest number in the 3 × 3 table. After that, I'll leave it small and medium. At this time, since the large dot is placed at the upper left for the first time at this gradation, the threshold value of the plurality of dots is determined such that the upper left threshold value of the large dot dither table is 3. Tables 1906, 1907, and 1908 are dither tables of a plurality of dots created by the mixing ratio and the 1901 table.

ここで、ある階調値のドットの混合記録比率とは、例えば、8画素×8画素の所定領域を、その領域の総ての画素の階調値が上記ある階調値であるようなベタ記録を行う場合に、所定領域の画素数に対して、該当するドットが記録される画素(数)の割合をいう。例えば、図8において、階調値128に対する混合記録比率(符号2001で示される各ドットの比率)が、大ドットが23%、中ドットが34%、小ドットが11%とするとき、8画素×8画素の所定領域について各画素の階調値が128のベタ画像を図6(a)〜(c)に示すディザテーブルを用いて量子化すると、上記所定領域では、大ドットが23%、中ドットが34%、小ドットが11%の画素でONとなる。   Here, the mixed recording ratio of dots having a certain gradation value refers to, for example, a predetermined area of 8 pixels × 8 pixels, a solid image in which the gradation values of all the pixels in the area are the certain gradation value. When recording is performed, the ratio of the number of pixels in which a corresponding dot is recorded to the number of pixels in a predetermined area. For example, in FIG. 8, when the mixed recording ratio (ratio of each dot indicated by reference numeral 2001) with respect to the gradation value 128 is 23% for large dots, 34% for medium dots, and 11% for small dots, 8 pixels. When a solid image having a gradation value of 128 for each pixel in a predetermined region of × 8 pixels is quantized using the dither table shown in FIGS. 6A to 6C, the large dot is 23% in the predetermined region. The pixel is ON when the medium dot is 34% and the small dot is 11%.

図7(a)〜(c)は、図6(a)〜(c)に示すディザテーブルを用いて量子化した結果を示す図であり、大、中、小の各ドットが記録オンになる画素を黒塗りして示している。すなわち、8画素×8画素の所定領域について各画素の階調値が128のベタ画像の場合、記録オンの画素の領域に対する割合が上述した、大ドットが23%、中ドットが34%、小ドットが11%の比率となっている。なお、図5に示す量子化処理からも明らかなように、複数のサイズのドットで同じ閾値を持つ画素がある場合、相対的に大きいドットが優先してドットのONが設定させる。そのため、図7(b)、(c)に示す中、小ドットにおいて、階調値128よりも小さい閾値があったとしてもそのドットサイズの記録オンにならない。1つの階調値について、1つの画素には1種類のサイズのドットしか記録できないことからもこのような設定をする。   FIGS. 7A to 7C are diagrams showing the result of quantization using the dither table shown in FIGS. 6A to 6C, in which large, medium, and small dots are turned on. Pixels are shown in black. That is, in the case of a solid image in which the gradation value of each pixel is 128 in a predetermined area of 8 pixels × 8 pixels, the ratio of the recording-on pixel area to the above-described area is 23% for large dots, 34% for medium dots, and small for small areas. The dot has a ratio of 11%. As is clear from the quantization processing shown in FIG. 5, when there are pixels having a plurality of sizes having the same threshold value, relatively large dots are preferentially set to ON. For this reason, in the small dots shown in FIGS. 7B and 7C, even if there is a threshold value smaller than the gradation value 128, recording of the dot size is not turned on. Such a setting is made because only one type of dot size can be recorded in one pixel for one gradation value.

以上のような複数サイズのドットに対応したそれぞれのディザテーブルにおける閾値の決定およびその配置は、図10などで後述される選択処理によって階調値ごとに決定される混合記録比率を満たすように定められる。図6(a)〜(c)に示すディザテーブルは、評価に基づいて、決定された大、中、小それぞれの混合記録比率を総ての階調値で満たすよう作成されている。なお、閾値の配置は、ブルーノイズパターンになることが望ましい。これによれば、記録されるドットの配置を分散したものとすることができる。   The determination of threshold values and their arrangement in each dither table corresponding to dots of a plurality of sizes as described above are determined so as to satisfy the mixed recording ratio determined for each gradation value by a selection process described later with reference to FIG. It is done. The dither tables shown in FIGS. 6A to 6C are created so as to satisfy the mixed recording ratios of large, medium, and small determined based on the evaluation with all the gradation values. Note that it is desirable that the threshold arrangement be a blue noise pattern. According to this, the arrangement of dots to be recorded can be dispersed.

以上説明した画像処理構成における量子化処理1504のディザ処理によって実現される、大、中、小ドットの混合記録比率を決定するための、本発明の一実施形態に係る処理について、次に説明する。なお、以下の説明は、大、中、小ドットの3つサイズのドットを用いて記録する例であるが、3つのサイズに限られないことは以下の説明からも明らかである。また、以下の説明は、Y、M、C、Bkのうちの1つのインク色の大、中、小ドットについて説明するものであるが、他のインク色についても同様の処理を行うことによって混合記録比率を求める。また、それに応じて、インク色ごとの大、中、小ドットそれぞれに対応したディザテーブルを設ける。   A process according to an embodiment of the present invention for determining the mixed recording ratio of large, medium, and small dots that is realized by the dither process of the quantization process 1504 in the image processing configuration described above will be described below. . The following description is an example of recording using three sizes of large, medium, and small dots, but it is also apparent from the following description that the recording is not limited to three sizes. In the following description, the large, medium, and small dots of one of Y, M, C, and Bk are described. However, the same processing is performed for other ink colors as well. Obtain the recording ratio. Accordingly, a dither table corresponding to each of large, medium, and small dots for each ink color is provided.

(第1実施形態)
図9は、本発明の第1実施形態に係る階調値ごとの大、中、小ドットの混合記録比率候補と、画質評価に応じた混合記録比率の選択を説明する図である。また、図10は、上記選択処理を示すフローチャートである。なお、図9では、横軸の入力データの階調値の範囲である0〜255を、0%〜100%とするデューティーで表している。
(First embodiment)
FIG. 9 is a diagram for explaining selection of mixed recording ratio candidates of large, medium, and small dots for each gradation value according to the first embodiment of the present invention and mixed recording ratios according to image quality evaluation. FIG. 10 is a flowchart showing the selection process. In FIG. 9, 0 to 255, which is the range of gradation values of the input data on the horizontal axis, is represented by a duty of 0% to 100%.

なお、本実施形態は、階調値間の混合記録比率に制約がない場合の形態に関するものである。詳しくは、上述した本発明の一実施形態に係る量子化処理のように、ディザテーブルを用いたディザ処理による場合、ある階調値とそれより大きい他の階調値に対するディザ処理を考えた場合、上記ある階調値で記録ONになってドットが記録されるように設定した画素は、より大きな値の上記他の階調値でドットが同じかより大きいドットで記録する方向にしか設定できない。すなわち、より大きな値の上記他の階調値で同じ画素に対して小さいドットで記録に戻したり記録をOFFに設定することができない。その結果として、階調値間で混合記録比率にも制約が生じることになる。このような制約がある場合の混合記録比率の決定については、本発明の第2の実施形態として後述する。本実施形態のように上記制約がない形態としては、例えば、各画素に大、中、小のドットがいずれかしか記録できないのは同じだが、階調間で制約なく大、中、小のドットに変化させられる誤差拡散などでドット配置を決めて記録することを許容する形態があり、本実施形態は、そのような形態における画質評価に応じた混合記録比率の決定に関するものである。   Note that the present embodiment relates to a form in the case where there is no restriction on the mixed recording ratio between gradation values. More specifically, when dither processing using a dither table is performed, such as the quantization processing according to the embodiment of the present invention described above, dither processing for a certain gradation value and other gradation values larger than that is considered. A pixel that is set so that dots are recorded with recording ON at a certain gradation value can be set only in a direction in which dots are recorded with the same or larger dots at the other gradation values having a larger value. . In other words, it is not possible to return to recording with a small dot for the same pixel at the above-described other gradation value and to set recording to OFF. As a result, the mixed recording ratio is restricted between the gradation values. The determination of the mixed recording ratio when there is such a restriction will be described later as a second embodiment of the present invention. As an embodiment without the above-mentioned restriction as in the present embodiment, for example, it is the same that only one large, medium, or small dot can be recorded in each pixel, but large, medium, or small dots can be recorded without restriction between gradations. There is a mode that allows dot placement to be determined and recorded by error diffusion or the like that is changed, and this embodiment relates to determination of a mixed recording ratio according to image quality evaluation in such a mode.

図10において、先ず、ステップ41で、混合記録比率の候補を作成するN個の階調値を離散的に選択する。このN個の階調値は、等間隔でもよいし、粒状性/記録濃度ムラやスジが目立つ低デューティー(低階調値)から中央デューティー(中央の階調値)付近までの階調を細かく刻んだ不均等でもよい。次に、ステップ42で、N個の階調値それぞれで、その階調値に対応する記録濃度を実現する混合記録比率候補を作成する。   In FIG. 10, first, in step 41, N tone values for creating mixed recording ratio candidates are discretely selected. The N gradation values may be equally spaced, and the gradation from the low duty (low gradation value) where the graininess / recording density unevenness and streaks are conspicuous to the vicinity of the central duty (central gradation value) is finely divided. It may be chopped unevenness. Next, in step 42, for each of the N gradation values, a mixed recording ratio candidate that realizes the recording density corresponding to the gradation value is created.

図11は、ステップ42の混合記録比率候補を作成する処理を示すフローチャートである。図11に示す処理において、先ず、ステップ81で、N個の階調値それぞれで、その階調値に対応する所望の記録濃度を実現する混合記録比率候補を探す準備をする。本実施形態のように、小ドット、中ドット、大ドットの3種類のドットを用いる場合、小ドットの混合比率をAs、中ドットの混合比率をAm、大ドットの混合比率をAlとするとき、
As+Am+Al=1を満たすAs、Am、Alについて、0%から100%を例えば10%で刻んだ比率の組み合わせを求め、大、中、小の混合比率As:Am:Alの組み合わせを作成する。なお、上例では、刻み幅は総てのドットサイズで同じであるが、大きいドットは、より小さなドットより少ないドット混合比率の変化で記録濃度が大きく変わるので、各ドットサイズのインク体積(あるいは電子写真方式の場合、トナー重量)などに反比例して細かい刻み幅が望ましい。この組み合わせの数は、k=1〜11について、Σ((k+1)×k/2)通りである。
FIG. 11 is a flowchart showing the process of creating a mixed recording ratio candidate in step 42. In the process shown in FIG. 11, first, in step 81, for each of the N gradation values, preparation is made for searching for a mixed recording ratio candidate that realizes a desired recording density corresponding to the gradation value. When three types of dots, small dots, medium dots, and large dots, are used as in the present embodiment, the small dot mixing ratio is As, the medium dot mixing ratio is Am, and the large dot mixing ratio is Al. ,
For As, Am, and Al satisfying As + Am + Al = 1, a combination of ratios obtained by chopping 0% to 100%, for example, at 10% is obtained, and a combination of large, medium, and small mixing ratios As: Am: Al is created. In the above example, the step size is the same for all dot sizes. However, since the recording density of large dots changes greatly with a change in the dot mixing ratio that is smaller than that of smaller dots, the ink volume (or each dot size) (or In the case of an electrophotographic system, a fine step size is desirable in inverse proportion to the toner weight). The number of combinations is Σ ((k + 1) × k / 2) for k = 1 to 11.

次に、ステップ82で、N個の階調値(入力デューティー)それぞれについて、上記求めた組み合わせの数の、大、中、小ドットの混合比率の組み合わせの中から、その階調値に対応する所望記録濃度となる組み合わせ(混合記録比率候補)を上述したΣ((k+1)×k/2)通りにそれぞれについて、N個の階調値(入力デューティー)それぞれが実現できるような倍率cj倍を各候補番号jについてかけてcj×As、cj×Am、cj×Alの記録比率組み合わせをステップ81で求めた全てのAs:Am:Alの混合比率について求める。倍率cjの求め方としては、大、中、小各ドットのインク滴の体積などから予測して、上記所望記録濃度を実現できる倍率cjを仮で求める。所望記録濃度とは、階調値が大だけで100%記録した場合の0以上1未満のd倍の場合、例えば最大のドットである大ドットだけで100×d%記録した場合の記録濃度として扱う。全ての混合記録比率候補について、この決めた所望記録濃度に合わせるようにしてから、各候補の画質を評価して選ばないといけない。実印字または画像シミュレーションを一部候補について試して倍率cj算出精度が高く、所望記録濃度からのズレが無視できるならば、このまま所望階調の候補とする。倍率cj算出精度が不十分なら、全ての候補について倍率cjを最初に算出した値から実印字または画像シミュレーションをして確認して補正をする。実印字では、倍率cjを何段階か変えて印字する。画像シミュレーションでは、最初に算出した倍率cjでまずはシミュレーションし、所望濃度からのズレに応じて補正すべき量を予測して倍率cjを変えてシミュレーションを1回ないし数回繰り返し、所望記録濃度からのズレが無視できる倍率cjを求める。ただし、記録比率cj×As、cj×Am、cj×Alのそれぞれは記録なしの0〜全画素100%記録の1の間の値しか取れないし、各画素に大・中・小いずれかのドットしか記録できない一般的な場合にはcj×As+cj×Am+cj×Alも記録なしの0〜全画素100%記録の1の間の値しか取れない。そのため、例えば最大のドットである大ドット以外で100%記録しても、高デューティーの階調は実現できないものが存在する。そのような全てのサイズのドットの合計が100%記録に成るまで倍率cjを大きくしても所望記録濃度に達しないものは候補から外す。このようにして求めた組み合わせの中から探す。この探索では、所望記録濃度を実現する混合記録比率の組み合わせがあれば、その複数の組み合わせが選択され、これらが後述する評価対象となる。なお、所望記録濃度から或る誤差に収まっていれば問題ないとして、次のステップ83は省略し、そのまま評価対象としても選択して構わない。 Next, in step 82, for each of the N gradation values (input duty), the number of combinations obtained above corresponds to the gradation value from among the combinations of the mixing ratios of large, medium, and small dots. Magnification c j times so that each of N gradation values (input duty) can be realized for each of the combinations (candidates of mixed recording ratios) that achieve the desired recording density according to Σ ((k + 1) × k / 2) described above. For each candidate number j, the recording ratio combinations of c j × As, c j × Am, and c j × Al are obtained for all As: Am: Al mixing ratios obtained in step 81. The method of obtaining the magnification c j, large, medium, and predicts the like volume of ink droplets of small dots, finding a magnification c j that can realize the desired recording density by temporary. The desired recording density is the recording density when 100 × d% recording is performed with only the largest dot, for example, when the gradation value is 100% with a large gradation value and d times greater than 0 and less than 1. deal with. All the mixed recording ratio candidates must be matched with the determined desired recording density, and then the image quality of each candidate must be evaluated and selected. If the actual printing or image simulation is tried for some candidates and the accuracy of calculating the magnification c j is high and the deviation from the desired recording density can be ignored, the candidate for the desired gradation is used as it is. If the magnification c j calculation accuracy is insufficient, correction is performed by confirming the actual print or image simulation from the value obtained by calculating the magnification c j for all candidates. In actual printing, printing is performed by changing the magnification c j in several steps. The image simulation, initially First simulation magnification c j calculated, repeated once or several times a simulation by changing the magnification c j predicts the amount to be corrected according to the deviation from the desired density, the desired recording density The magnification c j that can ignore the deviation from is obtained. However, each of the recording ratios c j × As, c j × Am, and c j × Al can only take a value between 0 (no recording) and 1 (100% recording of all pixels). In a general case where only such dots can be recorded, c j × As + c j × Am + c j × Al can also take a value between 0 without recording and 1 with 100% recording of all pixels. For this reason, for example, even if printing is performed with 100% other than the largest dot, which is the largest dot, there are some that cannot achieve high duty gradation. Those that do not reach the desired recording density even if the magnification c j is increased until the sum of all the dots of all sizes reaches 100% recording are excluded from the candidates. Search from the combinations obtained in this way. In this search, if there are combinations of mixed recording ratios that achieve the desired recording density, a plurality of combinations are selected, and these are to be evaluated later. If there is no problem as long as it falls within a certain error from the desired recording density, the next step 83 may be omitted and selected as an evaluation target as it is.

なお、上述の処理は、記録濃度が所望のものとなる混合記録比率候補を求めるだけなので、大きな画像を記録する必要は無いので、均一な濃度の測色できる程度に小さなパッチについて、実際の記録または画像シミュレーションをすればよい。このように小さいパッチで済むので、実際の記録では1ページに多数の記録ができるし、画像シミュレーションでは短時間に多数のシミュレーションをすることが出来る。また、入力階調値が大きな値に対応する記録濃度は小さいドットサイズばかりでは濃度が到達しないので、一部の組み合わせは所望の記録濃度を実現できずに候補から外すことができ、そのため、候補数が総ての階調値で同じに成る訳ではない。   Note that the above-described processing only obtains a mixed recording ratio candidate that achieves a desired recording density, so there is no need to record a large image. Alternatively, image simulation may be performed. Since such a small patch is sufficient, a large number of recordings can be performed on one page in actual recording, and a large number of simulations can be performed in a short time in image simulation. In addition, since the recording density corresponding to a large input gradation value cannot be reached only with a small dot size, some combinations cannot be achieved without realizing the desired recording density, and therefore, the candidate can be excluded. The number is not the same for all tone values.

上記探索において、所望記録濃度を実現する混合記録比率の組み合わせが無い場合は、探した上記目的濃度実現できる混合記録比率の組み合わせの前後の倍率cjの組み合わせを用いて補間演算を行い、混合記録比率候補を求める。 In the above search, if there is no combination recording ratio combination that achieves the desired recording density, interpolation calculation is performed using the combination of the magnifications c j before and after the combination recording ratio combination that can achieve the target density that is found. Find ratio candidates.

次にステップ83では、これら2つの混合記録比率の組み合わせに対して補間演算を行い、1つの記録比率の組み合わせを求める。このように、上記求めた複数の組みの中から選択された組み合わせにおける混合記録比率ないしドットの数を調整することにより、所望記録濃度を実現する混合記録比率の組み合わせを求める。これらの組み合わせは、それぞれの階調値について、1つまたはそれ以上得ることができ、後述する画質評価の対象となる。   Next, in step 83, interpolation calculation is performed on the combination of these two mixed recording ratios to obtain one recording ratio combination. In this way, by adjusting the mixed recording ratio or the number of dots in the combination selected from the plurality of obtained combinations, a combination of mixed recording ratios that achieves a desired recording density is obtained. One or more of these combinations can be obtained for each gradation value, and are subject to image quality evaluation described later.

図10を再び参照すると、次のステップ43で、上記求めた候補の混合記録比率の組み合わせの画像を実際に記録し、またはシミュレーション画像を作成する。すなわち、評価対象画像を複数取得する、画像取得を行う。   Referring to FIG. 10 again, in the next step 43, an image of the combination of the obtained candidate mixed recording ratios is actually recorded or a simulation image is created. That is, image acquisition is performed to acquire a plurality of evaluation target images.

図12は、ステップ43における、記録画像のシミュレーションの処理を説明するフローチャートである。なお、このシミュレーションシステムはコンピュータ上で動作するプログラムとして実現することができる。また、シミュレーションにおいて出力される画像の解像度は、数μm程度が望ましい。より細かくすればドット形状の精度は高くなるが、演算時間が長くなるからである。一方、大きくしすぎると、ドット形状の精度が低くなる。さらには、本実施形態では、以下に説明するように、着弾ばらつきを考慮した画像シミュレーションを行うが、その値が反映しにくくなることもある。   FIG. 12 is a flowchart for explaining the recording image simulation processing in step 43. This simulation system can be realized as a program that runs on a computer. Further, the resolution of the image output in the simulation is preferably about several μm. This is because the finer the dot shape, the higher the accuracy of the dot shape, but the longer the computation time. On the other hand, if it is too large, the accuracy of the dot shape is lowered. Furthermore, in this embodiment, as will be described below, image simulation is performed in consideration of landing variation, but the value may be difficult to reflect.

ステップ901では、シミュレーションの対象となる画像の記録データを読み込む。このデータは、図10のステップ601で作成された画像である。すなわち、量子化処理によって4値化されたビットマップデータである。   In step 901, recording data of an image to be simulated is read. This data is the image created in step 601 of FIG. That is, it is bitmap data that has been binarized by quantization processing.

ステップ902では、シミュレーション対象の画像を形成する大、中、小のドットの形状、径、ドットを構成する画素の階調値からなるインクドット情報(記録動作パラメータ)を読み込む。この記録動作パラメータは、インクの着弾位置などに影響を及ぼすものである。なお、これら情報のうち、ドットを構成する画素の階調値は、インクによって記録媒体に形成されるドットの光学濃度に相当する情報である。本実施形態では、ドット形状を真円としたが、必ずしも真円である必要はなく、例えば、吐出されたインクが分裂した主滴とサテライトが記録媒体上で合体して形成される楕円形状としてもよい。さらには記録媒体インクが滲んでできる形状としてもよい。また、さらにドット径に関しては、事前に光学顕微鏡などで取得したデータを本実施形態では使用したが、必ずしも実測値を使用する必要はなく、吐出量、およびインクと記録媒体との接触角等から計算で求めてもよい。また、上例では、インク色としてブラック(Bk)の記録画像のシミュレーションの例として、ドットを構成する画素の階調値を、大、中、小ドットの総てについて最大値(255値)とし同じ値としている。必ずしもこの階調値をすべて同じにする必要はなく、例えば、大、中、小ドットの階調値を互いに異ならせてもよい。さらには、光学顕微鏡等を用いてドットの濃度を測定し、その値を用いてもよい。特に、明度の高いインク色で複数ドットのドット混合記録比率選択処理を行う場合は、低い階調値を使用することが望ましい。   In step 902, ink dot information (recording operation parameters) including the shape, diameter, and tone value of the pixels constituting the dots forming the simulation target image is read. This recording operation parameter affects the ink landing position and the like. Of these pieces of information, the gradation value of the pixels constituting the dots is information corresponding to the optical density of the dots formed on the recording medium with ink. In this embodiment, the dot shape is a perfect circle. However, the dot shape is not necessarily a perfect circle. For example, an elliptical shape formed by combining main droplets and satellites in which ejected ink is split on a recording medium is formed. Also good. Further, the shape may be a shape in which the recording medium ink is blurred. Further, regarding the dot diameter, data acquired in advance with an optical microscope or the like was used in this embodiment, but it is not always necessary to use an actual measurement value. From the ejection amount, the contact angle between the ink and the recording medium, and the like. You may obtain | require by calculation. In the above example, as an example of the simulation of a recording image of black (Bk) as the ink color, the gradation value of the pixels constituting the dot is set to the maximum value (255 value) for all large, medium, and small dots. Same value. The gradation values are not necessarily all the same. For example, the gradation values of large, medium, and small dots may be different from each other. Further, the dot density may be measured using an optical microscope or the like, and the value may be used. In particular, when performing a dot mixture recording ratio selection process of a plurality of dots with a high brightness ink color, it is desirable to use a low gradation value.

ステップ903では、着弾ばらつきデータを読み込む。着弾ばらつきデータとは、記録ヘッドの吐出口ごとの理想着弾位置からのズレ量を表す情報(記録動作パラメータ)である。詳しくは、着弾ばらつきデータには、インクを吐出するとき、その記録ヘッドの吐出特性やそのときの気流などによって所望の位置に着弾しない場合があり、それによる着弾ずれや吐出量誤差が含まれる。また、記録ヘッドの経時的に変化に起因した着弾ゆらぎや吐出量ゆらぎもこれに含まれる。このような誤差は、例えば、予め記録装置でライン状にドットを記録して、その録物から光学顕微鏡などによって測定して得ることができる。シミュレーションでは、記録ヘッドの総ての吐出口について、上記の各データを測定しその結果を入力してもよいが、膨大な量になる。そのため、本実施形態では、100個程度の吐出口の測定値の中心値と標準偏差を算出し、それらの値を読み込み、それが正規分布に従うとして全吐出口の誤差として算出する。図13は、本実施形態のシミュレーションで用いる着弾ばらつきデータの一例を示す図である。このような、大、中、小ドットで、X(記録媒体搬送方向)方向、Y(記録媒体搬送方向と垂直な方向)方向のパラメータを含む7つのパラメータを用いてシミュレーションを行う。また、これらのばらつき量は各色、各ドットサイズで異なるため、それぞれ測定し、7つのパラメータを用意する。   In step 903, landing variation data is read. The landing variation data is information (recording operation parameter) indicating a deviation amount from an ideal landing position for each ejection port of the recording head. Specifically, the landing variation data may not land at a desired position when ink is ejected due to the ejection characteristics of the recording head, the air current at that time, and the like, and includes landing deviation and ejection amount error. This also includes landing fluctuations and ejection amount fluctuations caused by changes in the recording head over time. Such an error can be obtained, for example, by previously recording dots in a line with a recording device and measuring the recorded material with an optical microscope or the like. In the simulation, each of the above data may be measured and the result may be input for all the ejection ports of the recording head, but the amount is enormous. Therefore, in this embodiment, the center value and the standard deviation of the measured values of about 100 discharge ports are calculated, and these values are read and calculated as errors of all the discharge ports according to the normal distribution. FIG. 13 is a diagram illustrating an example of landing variation data used in the simulation of the present embodiment. The simulation is performed using such seven parameters including large, medium, and small dots in the X (recording medium transport direction) direction and the Y (direction perpendicular to the recording medium transport direction) direction. Since these variations differ for each color and each dot size, they are measured and seven parameters are prepared.

次に、ステップ904において、上述したシミュレーションの対象である画像のビットマップデータ(901)と、着弾ばらつきデータ(903)に基づいて、対象画像の総ての画素について、インクの着弾座標(xmm、ymm)を求める。図14は、対象画像のビットマップデータを模式的に示す図である。この図では、対象画像のデータにおける左上の画素を原点(0mm、0mm)とし、画像解像度に応じた各ドットの座標を特定することができる。図に示す例は、画像解像度が600dpiであることから、例えば、画素1601の中ドットの理想の着弾位置の座標は、(0.0423mm、0.1692mm)となる。その理想の着弾位置に、上述した着弾ばらつきデータを加算して、シミュレーションするための着弾位置を定める。例えば、この画素位置に記録するノズルの中ドットの着弾ズレ量が、(0.005mm、0.012mm)の場合、シミュレーションするための着弾位置は、(0.0423+0.005、0.1692+0.012)=(0.0473mm、0.1704mm)となる。このようにして総てのドットの着弾位置を確定する。   Next, in step 904, based on the bitmap data (901) of the image to be simulated and the landing variation data (903), the ink landing coordinates (xmm, ymm). FIG. 14 is a diagram schematically illustrating bitmap data of a target image. In this figure, it is possible to specify the coordinates of each dot according to the image resolution with the upper left pixel in the data of the target image as the origin (0 mm, 0 mm). In the example shown in the figure, since the image resolution is 600 dpi, for example, the coordinates of the ideal landing position of the medium dot of the pixel 1601 are (0.0423 mm, 0.1692 mm). The landing variation data to be simulated is determined by adding the above-described landing variation data to the ideal landing position. For example, when the amount of landing deviation of the middle dot of the nozzle recorded at this pixel position is (0.005 mm, 0.012 mm), the landing position for the simulation is (0.0423 + 0.005, 0.1692 + 0.012). ) = (0.0473 mm, 0.1704 mm). In this way, the landing positions of all dots are determined.

ステップ905では、ステップ904で求めた着弾座標に、ステップ902で読み込んだインクドット情報データに基づくドットデータを順次置いていく。図15は、以上のようにして求めたシミュレーション画像のデータを模式的に示す図である。本実施形態では、シミュレーション画像は、8ビットグレースケールのビットマップ画像である。このように求められたシミュレーション画像のデータは、画質評価(図10のステップ603)に必要な解像度に変換する。本実施形態では、シミュレーション画像の600dpiから画質評価のための800dpiに変換する。なお、この解像度変換は、バイキュービック法を用いる。しかし、画像のフォーマットや解像度や変換方式など必ずしもこれに限定されるものではないことはもちろんである。   In step 905, the dot data based on the ink dot information data read in step 902 is sequentially placed on the landing coordinates obtained in step 904. FIG. 15 is a diagram schematically showing simulation image data obtained as described above. In the present embodiment, the simulation image is an 8-bit grayscale bitmap image. The simulation image data thus obtained is converted into a resolution necessary for image quality evaluation (step 603 in FIG. 10). In this embodiment, the simulation image is converted from 600 dpi to 800 dpi for image quality evaluation. This resolution conversion uses the bicubic method. However, it goes without saying that the image format, resolution, conversion method, and the like are not necessarily limited thereto.

ステップ43で、実際の記録を行う場合は、上述のように作成した画像を図1で説明した記録装置によって記録する。   In step 43, when actual recording is performed, the image created as described above is recorded by the recording apparatus described with reference to FIG.

再び図10を参照すると、ステップ43におけるシミュレーションによる評価対象画像の作成または実際の記録による評価対象画像の記録を行うと、次に、ステップ44で評価対象画像に対する画質評価を行う。すなわち、評価値取得を行う。本実施形態は、画像評価を示す値(画質評価値)として、画像の粒状度を表す評価値と、スジむらを表す評価値を使用する。   Referring again to FIG. 10, when the evaluation target image is created by simulation in step 43 or the evaluation target image is recorded by actual recording, image quality evaluation for the evaluation target image is performed in step 44. That is, evaluation value acquisition is performed. In the present embodiment, an evaluation value representing the granularity of an image and an evaluation value representing streak unevenness are used as a value indicating image evaluation (image quality evaluation value).

画像の粒状度を表す評価値は次のとおりである。評価範囲の明度データI(x,y)をフーリエ変換し、空間周波数特性Fi(u,v)を求める。この空間周波数特性Fi(u,v)に視覚特性VTF2D(u,v)を掛け、ウィーナースペクトルWSVTF(u,v)を求める。   Evaluation values representing the granularity of the image are as follows. The brightness data I (x, y) in the evaluation range is Fourier transformed to obtain the spatial frequency characteristic Fi (u, v). The spatial frequency characteristic Fi (u, v) is multiplied by the visual characteristic VTF2D (u, v) to obtain the Wiener spectrum WSVTF (u, v).

ここで、
M:評価範囲の縦・横画素数
DPI:スキャン解像度
R:DooleyのVTFの式における観察距離
である。そして、このウィーナースペクトルWSVTF(u,v)の積分値を粒状度評価値Gとする。Gの値が大きいほど粒状度が大きいことを表している。
here,
M: Number of vertical and horizontal pixels in the evaluation range
DPI: Scanning resolution
R: Observation distance in Dooley's VTF equation. The integral value of the Wiener spectrum WSVTF (u, v) is set as the granularity evaluation value G. The larger the value of G, the greater the granularity.

次に、画像のスジに対する評価値は次のとおりである。   Next, evaluation values for image streaks are as follows.

評価範囲の画像において、画素のラインの平均明度を求める。画像の位置(x,y)における明度をI(x,y)とすると、ライン平均明度L*1D(y)は、   In the image in the evaluation range, the average brightness of the pixel line is obtained. If the lightness at the position (x, y) of the image is I (x, y), the line average lightness L * 1D (y) is

ここで、
M:評価範囲の横画素数
で求められる。
here,
M: It is obtained from the number of horizontal pixels in the evaluation range.

次に、ライン毎の平均明度をフーリエ変換し、空間周波数特性F(v)を求める。この空間周波数特性F(v)に視覚特性VTF1D(v)を掛け、ウィーナースペクトルWSVTF(v)を求める。   Next, the average brightness for each line is Fourier-transformed to obtain a spatial frequency characteristic F (v). The spatial frequency characteristic F (v) is multiplied by the visual characteristic VTF1D (v) to obtain a Wiener spectrum WSVTF (v).

ここで、
N:評価範囲の縦画素数
DPI:スキャン解像度
R:DooleyのVTFの式における観察距離
である。そして、このウィーナースペクトルWSVTF(v)の積分値を求めスジ評価値Bとする。Bの値が大きいほどスジが大きいことを表している。
here,
N: Number of vertical pixels in the evaluation range
DPI: Scanning resolution
R: Observation distance in Dooley's VTF equation. Then, an integral value of the Wiener spectrum WSVTF (v) is obtained and set as a streak evaluation value B. The larger the value of B, the larger the stripe.

なお、これらの評価値は一例であるため、必ずしもこれに限定されるものではない。例えば、粒状性の評価値であればRMS粒状度、またはISO−TS24790を用いてもよい。   In addition, since these evaluation values are an example, it is not necessarily limited to this. For example, RMS granularity or ISO-TS24790 may be used if the evaluation value is granularity.

<総合評価>
以上のように求めた粒状度評価値G、スジ評価値Bを用いて総合評価値Tを算出する。
T=β×B+G (6)
ここで、
G:粒状度評価値
B:スジ評価値
β:重み付けパラメータ
以上のようにして階調値ごとに総合評価値Tを求める。
<Comprehensive evaluation>
A comprehensive evaluation value T is calculated using the granularity evaluation value G and the streak evaluation value B obtained as described above.
T = β × B + G (6)
here,
G: Evaluation value of granularity
B: Streak evaluation value β: Weighting parameter The overall evaluation value T is obtained for each gradation value as described above.

以上説明した処理によって、図9に示すような、N個の階調値(入力デューティー)に対する画質評価値の関係が得られる。すなわち、図9は、N個の階調値それぞれに対する複数の混合記録比率候補について、総合評価値Tによって評価した結果を候補の画質評価値の大きさで示している。ここで、画質評価値が小さいほど画質が良いと評価される。なお、総合評価値Tは、画質調整の目的に応じて、粒状度だけの値など1つの画質評価値としたり、記録濃度ムラやスジむらだけを評価値としてもよい。   By the processing described above, the relationship of the image quality evaluation value with respect to the N gradation values (input duty) as shown in FIG. 9 is obtained. That is, FIG. 9 shows the result of evaluating the plurality of mixed recording ratio candidates for each of the N gradation values by the overall evaluation value T in terms of the size of the candidate image quality evaluation value. Here, the smaller the image quality evaluation value, the better the image quality. The overall evaluation value T may be one image quality evaluation value such as a value of only the granularity, or only the recording density unevenness and stripe unevenness may be used as the evaluation value according to the purpose of image quality adjustment.

本実施形態では、図9に示す階調値ごとの複数の混合記録比率候補のうち、N個の階調値についてそれぞれの総合評価値T(画質評価値)の和が最も小さい組み合わせを、それぞれの階調値の選択候補比率として選択する。図9に示す破線の円で囲まれた混合記録比率が選択されるものである。本実施形態のように、階調値間の混合記録比率に制約が無い場合は、階調値ごとの最小の画質評価値をもたらす混合記録比率候補を選ぶことにより、総ての階調値における画質評価値の和が最も小さい組み合わせとなる。すなわち、N個の階調値について記録比率決定を行う。   In the present embodiment, among the plurality of mixed recording ratio candidates for each gradation value shown in FIG. 9, the combination having the smallest sum of the total evaluation values T (image quality evaluation values) for the N gradation values is respectively determined. Is selected as the selection candidate ratio of the tone value. The mixed recording ratio surrounded by a broken-line circle shown in FIG. 9 is selected. As in the present embodiment, when there is no restriction on the mixed recording ratio between gradation values, by selecting a mixed recording ratio candidate that provides the minimum image quality evaluation value for each gradation value, The combination with the smallest sum of image quality evaluation values. That is, the recording ratio is determined for N gradation values.

最後に、ステップ46では、以上のようにして選択されたN個の階調値(入力デューティー)ごとの混合記録比率を用い、階調値間で補間を行うことにより、N個の階調値以外の階調値の混合記録比率を求める。これにより、0〜255の総ての階調値について、大、中、小ドットの混合記録比率を求めることができる。   Finally, in step 46, N gradation values are obtained by performing interpolation between gradation values using the mixed recording ratio for each of the N gradation values (input duty) selected as described above. A mixed recording ratio of gradation values other than is obtained. As a result, the mixed recording ratio of large, medium, and small dots can be obtained for all gradation values from 0 to 255.

以上のようにして、求めた混合記録比率は、大、中、小ドットそれぞれの振り分けテーブルに反映される。   As described above, the obtained mixed recording ratio is reflected in the distribution table for each of the large, medium, and small dots.

(第2実施形態)
本実施形態は、上述したように、量子化にディザ法を用いることによって、階調値間の混合記録比率に制約がある形態に関するものである。
(Second Embodiment)
As described above, the present embodiment relates to a form in which the mixed recording ratio between gradation values is restricted by using the dither method for quantization.

図5、図6などで上述したように、小ドット、中ドット、大ドットの3種類のドットを用いる場合、大ドット用のディザテーブルでドットのON/OFFを判定し、次に中ドット用のディザテーブルでドットのON/OFFを判定し、更に小ドット用のディザテーブルでドットのON/OFFを判定し、同じ画素が複数種類のドットで記録ONの場合は一番大きいドットで記録ONとする。このような複数サイズのドットに変換するディザ方式では、上述した、階調値間の混合記録比率に制約が存在する。   As described above with reference to FIGS. 5 and 6, when three types of dots, small dots, medium dots, and large dots, are used, the dot ON / OFF is determined by the dither table for large dots, and then for medium dots. ON / OFF of the dot is determined by the dither table of, and ON / OFF of the dot is further determined by the dither table for small dots, and when the same pixel is recording ON with a plurality of types of dots, recording is ON with the largest dot. And In such a dither method for converting into dots of a plurality of sizes, there is a restriction on the mixed recording ratio between gradation values described above.

階調値dと階調値d+Δdの2つの階調値があって、階調値d+Δdの方が高い(大きい)場合、例えば、小ドット、中ドット、大ドットの3種類のドットの、上記2つの階調値での、小ドットの記録比率をS(d)、S(d+Δd)、中ドットの記録比率をM(d),M(d+Δd)、大ドットの記録比率をL(d),L(d+Δd)とするとき、上記制約は次の関係式によって表すことができる。
L(d)≦L(d+Δd)
L(d)+M(d)≦L(d+Δd)+M(d+Δd)
L(d)+M(d)+S(d)≦L(d+Δd)+M(d+Δd)+S(d+Δd) (7)
When there are two gradation values, gradation value d and gradation value d + Δd, and gradation value d + Δd is higher (larger), for example, three types of dots, small dots, medium dots, and large dots, are described above. With two gradation values, the small dot recording ratios are S (d) and S (d + Δd), the medium dot recording ratios are M (d) and M (d + Δd), and the large dot recording ratio is L (d). , L (d + Δd), the above constraint can be expressed by the following relational expression.
L (d) ≦ L (d + Δd)
L (d) + M (d) ≦ L (d + Δd) + M (d + Δd)
L (d) + M (d) + S (d) ≦ L (d + Δd) + M (d + Δd) + S (d + Δd) (7)

図16は、このような階調値間の混合記録比率に制約が有る形態において、選択された混合記録比率を説明する図であり、図9と同様の図である。また、図17は、上記選択処理を示すフローチャートである。以下では、第1実施形態に係る図10に示す処理と異なる点を説明する。   FIG. 16 is a diagram for explaining the selected mixed recording ratio in a form in which there is a restriction on the mixed recording ratio between gradation values, and is the same diagram as FIG. FIG. 17 is a flowchart showing the selection process. Hereinafter, differences from the processing illustrated in FIG. 10 according to the first embodiment will be described.

図17のステップ54までの処理によって、図16に示す、階調値ごとの複数の混合記録比率候補を得ることができる。そして、次のステップ55では、複数の混合記録比率候補の階調値ごとの総ての組み合わせについて、階調値の画質評価値の和を計算する。すなわち、本実施形態のように、階調値間の混合記録比率に制約が有る場合、階調値が0(1)〜255(n)の全階調値の混合記録比率候補の数k1〜knについて、総ての組み合わせの画質評価値を考慮して適したものを選ぶことが望ましい。そのために、複数の混合記録比率候補の階調値ごとの総ての組み合わせについて、階調値ごとの画質評価値の和を計算する。 Through the processing up to step 54 in FIG. 17, a plurality of mixed recording ratio candidates for each gradation value shown in FIG. 16 can be obtained. In the next step 55, the sum of image quality evaluation values of gradation values is calculated for all combinations of gradation values of a plurality of mixed recording ratio candidates. That is, when the mixed recording ratio between gradation values is limited as in the present embodiment, the number k 1 of mixed recording ratio candidates for all gradation values of gradation values 0 (1) to 255 (n). for to k n, it is desirable to select those suitable in consideration of the image quality evaluation value of all combination. For this purpose, the sum of image quality evaluation values for each gradation value is calculated for all combinations of gradation values of a plurality of mixed recording ratio candidates.

次にステップ56では、画質評価値のN個の階調値の和が最も小さく成るものから順に階調値間の混合記録比率制約、つまり、上記(7)式で示す制約を満たすか否かを調べ、満たすもの中から和が最小となる混合記録比率を選択する。図16において、選択される混合記録比率は、破線の円で示される。このように選択される混合記録比率は、同図に示すように、N個の階調値ごとの最小の画質評価値をもたらしている混合記録比率とは限らない。なお、画質評価値の全階調値の和を計算する際に、各階調値の画質評価値に重みを付けてから全階調の和を計算してもよい。   Next, in step 56, whether or not the mixed recording ratio constraint between the tone values in order from the smallest sum of the N tone values of the image quality evaluation value, that is, the constraint expressed by the above equation (7) is satisfied. And the mixed recording ratio that minimizes the sum is selected from those satisfying the above. In FIG. 16, the selected mixed recording ratio is indicated by a broken-line circle. The mixed recording ratio selected in this way is not necessarily the mixed recording ratio that provides the minimum image quality evaluation value for each of the N gradation values, as shown in FIG. When calculating the sum of all the gradation values of the image quality evaluation value, the sum of all the gradations may be calculated after weighting the image quality evaluation value of each gradation value.

以上のようにして最終的に求められた0〜255に対する混合記録比率は、図6に示したディザテーブルに反映される。   The mixed recording ratio for 0 to 255 finally obtained as described above is reflected in the dither table shown in FIG.

なお、階調値間の混合記録比率に制約として、ディザ方式に拠る制約を例に挙げたが、他の階調値間制約が有る場合、または所定階調において評価値最小のものを選べない場合も本実施形態と同じ手法を用いることができる。画質評価値の全階調の和が最も小さい組み合わせを選ぶために、階調番号1からnまでの全階調の混合記録比率候補に対するk1からknまでの総積算通りの全組み合わせについて考慮して最適なものを選ぶ必要がある。 In addition, as a restriction on the mixed recording ratio between gradation values, a restriction based on the dither method is given as an example. However, when there is a restriction between other gradation values, or a thing with the smallest evaluation value cannot be selected for a predetermined gradation. In this case, the same technique as that of the present embodiment can be used. To choose the smallest combination the sum of all gradations of the image quality evaluation value, consider all combinations of total integration as from k 1 for mixing printing ratio candidate all gradations from gradation numbers 1 to n to k n It is necessary to select the most suitable one.

(第3実施形態)
図18は、本発明の第3実施形態に係る混合記録比率の選択処理を示すフローチャートである。以下では、第2実施形態に係る図17に示す処理と異なる点を説明する。
(Third embodiment)
FIG. 18 is a flowchart showing mixed recording ratio selection processing according to the third embodiment of the present invention. Hereinafter, differences from the processing illustrated in FIG. 17 according to the second embodiment will be described.

上述の第2実施形態では、階調値間の混合記録比率に制約がある場合において、全階調値の組み合わせの総てについて、画質評価値の全階調の和を計算するものである。これに対し、本発明の第2実施形態では、ステップ64の画質評価を終了した後、ステップ65で、求めた画質評価値の中で、画質評価値がある閾値を超えて大きい(画質評価が悪い)ものを候補から削除する。最終的に得られる結果は、第2実施形態と同様、図16に示すものである。   In the second embodiment described above, the sum of all gradations of image quality evaluation values is calculated for all combinations of all gradation values when there is a restriction on the mixed recording ratio between gradation values. On the other hand, in the second embodiment of the present invention, after the image quality evaluation in step 64 is finished, in step 65, the image quality evaluation value obtained is larger than a certain threshold (image quality evaluation is performed). Remove the bad ones from the candidates. The final result is shown in FIG. 16 as in the second embodiment.

これにより、演算負荷や演算時間を低減することが可能となる。   Thereby, it becomes possible to reduce calculation load and calculation time.

(第4実施形態)
図19は、本発明の第4実施形態に係る混合記録比率の選択処理を示すフローチャートである。以下では、第3実施形態に係る図18に示す処理と異なる点を説明する。
(Fourth embodiment)
FIG. 19 is a flowchart showing a mixed recording ratio selection process according to the fourth embodiment of the present invention. Hereinafter, differences from the process illustrated in FIG. 18 according to the third embodiment will be described.

階調値間の混合記録比率に制約が有る場合の上述した第2および第3実施形態では、N個の階調値それぞれで評価された画質評価値の、N個の階調値の組み合わせの総てについて、画質評価値の和を計算するものである。しかし、階調値間の混合記録比率に制約がある場合の画質評価値の全階調値の和を計算しても無駄になる。   In the second and third embodiments described above when the mixed recording ratio between gradation values is limited, the combination of N gradation values of the image quality evaluation values evaluated for each of the N gradation values. The sum of image quality evaluation values is calculated for all. However, it is useless to calculate the sum of all the gradation values of the image quality evaluation value when the mixed recording ratio between gradation values is limited.

そこで、本発明の第4実施形態では、ステップ75で、N個の階調値の中で連続する2つの階調値間におけるディザ方式に拠る上述した制約を満たす組み合わせを抽出する。   Therefore, in the fourth embodiment of the present invention, in step 75, a combination satisfying the above-described restriction based on the dither method between two consecutive gradation values among N gradation values is extracted.

図20は、本実施形態に係る、連続する2つの階調値間におけるディザ方式に拠る制約を満たす組み合わせを抽出する処理を説明する図である。ステップ75では、図20に示すように、階調値番号iにおける混合記録比率候補の1つから階調値番号i+1における1番目からki+1番目までの混合記録比率の全候補について、連続する2つの階調値間の混合記録比率候補について制約を満たすか否かを判断する。そして、満たす候補をその2つの階調値間の混合記録比率候補の組みとして残す。これを階調値番号iにおける混合記録比率候補の1番目〜ki番目までの総ての候補について調べる。同様にして、i=1からn−1までの全階調地番号のそれぞれについて、連続する2つの階調値間の混合記録比率候補について制約を満たすか否かを確認し、満たすものについてその2つの階調値間の混合記録比率候補の組みとして残す。 FIG. 20 is a diagram for explaining processing for extracting a combination satisfying the restriction based on the dither method between two consecutive gradation values according to the present embodiment. In step 75, as shown in FIG. 20, all the mixed recording ratio candidates from one of the mixed recording ratio candidates at gradation value number i to the first to k i + 1th in gradation value number i + 1 are continuously displayed. It is determined whether or not the mixed recording ratio candidate between the two gradation values is satisfied. The candidate to be satisfied is left as a set of mixed recording ratio candidates between the two gradation values. This examined for all candidates until the first to k i-th mixed printing ratio candidate in the gradation value number i. Similarly, for each of all gradation number numbers from i = 1 to n−1, it is confirmed whether or not the restriction is satisfied with respect to the mixed recording ratio candidate between two consecutive gradation values. This is left as a set of mixed recording ratio candidates between two gradation values.

次に、ステップ76で、制約を満たす2つの階調値間の混合記録比率候補の総ての組みについて、N個の階調値の間で、組み合わせる。そして、それらのN個の階調値に渡る制約を満たす組みについて、画質評価値のN個の階調値の和を計算する。そして、次のステップ77では、その中で最小の和となる混合記録比率候補を選択する。最終的に得られる結果は、第2実施形態と同様、図16に示すものである。   Next, in step 76, all combinations of mixed recording ratio candidates between two gradation values satisfying the constraints are combined among N gradation values. Then, the sum of the N gradation values of the image quality evaluation values is calculated for a set that satisfies the constraints over the N gradation values. In the next step 77, a mixed recording ratio candidate that is the smallest sum among them is selected. The final result is shown in FIG. 16 as in the second embodiment.

このようにすることで、さらに演算負荷や演算時間を低減することが可能となる。   By doing in this way, it becomes possible to reduce calculation load and calculation time further.

2 記録ヘッド
9 制御部
36 画像処理部
1504 量子化処理部
2 Recording Head 9 Control Unit 36 Image Processing Unit 1504 Quantization Processing Unit

Claims (11)

サイズの異なる複数種類のドットを記録する際の、階調値ごとの複数種類のドットそれぞれの記録比率を決定する処理を行う画像処理装置であって、
前記複数種類のドットの記録比率の組み合わせが異なる複数の記録比率の組み合わせに基づいて作成される複数の評価対象画像であって、記録画像の画質評価に関する画質評価値に影響を及ぼす記録動作パラメータの情報が付加された評価対象画像を、階調値ごとに複数取得する画像取得手段と、
前記階調値ごとの複数の評価対象画像それぞれについて前記画質評価値を求める評価値取得手段と、
前記階調値ごとの複数の前記画質評価値に対応した複数の記録比率の組み合わせの中から、階調値ごとに1つの記録比率の組み合わせを決定する決定手段と、
を具えたことを特徴とする画像処理装置。
An image processing apparatus that performs processing for determining a recording ratio of each of a plurality of types of dots for each gradation value when recording a plurality of types of dots having different sizes,
A plurality of evaluation target images created based on a combination of a plurality of recording ratios having different combinations of recording ratios of the plurality of types of dots, and a recording operation parameter that affects an image quality evaluation value related to an image quality evaluation of the recorded image Image acquisition means for acquiring a plurality of evaluation target images to which information is added for each gradation value;
Evaluation value acquisition means for obtaining the image quality evaluation value for each of a plurality of evaluation target images for each gradation value;
Determining means for determining one recording ratio combination for each gradation value from among a plurality of recording ratio combinations corresponding to the plurality of image quality evaluation values for each gradation value;
An image processing apparatus comprising:
前記決定手段は、前記階調値ごとの複数の前記画質評価値に対応した複数の記録比率の組み合わせの中から、階調値ごとの前記画質評価値が最も小さい記録比率の組み合わせを、総ての階調値で決定することを特徴とする請求項1に記載の画像処理装置。   The determining means selects all combinations of recording ratios having the smallest image quality evaluation value for each gradation value from among a plurality of recording ratio combinations corresponding to the plurality of image quality evaluation values for each gradation value. The image processing apparatus according to claim 1, wherein the image processing apparatus is determined by the gradation value. 前記決定手段は、前記階調値ごとの複数の前記画質評価値に対応した複数の記録比率の組み合わせであって、階調値間の記録比率に対する所定の制約を満たす記録比率の組み合わせの中から、階調値ごとの前記画質評価値が最も小さい記録比率の組み合わせを、総ての階調値で決定することを特徴とする請求項1に記載の画像処理装置。   The determination means is a combination of a plurality of recording ratios corresponding to the plurality of image quality evaluation values for each gradation value, and among the combinations of recording ratios satisfying a predetermined restriction on the recording ratio between gradation values 2. The image processing apparatus according to claim 1, wherein a combination of recording ratios having the smallest image quality evaluation value for each gradation value is determined by all gradation values. 前記所定の制約は、ディザ法によって量子化する際の階調値間の記録比率に対する制約であることを特徴とする請求項3に記載の画像処理装置。   The image processing apparatus according to claim 3, wherein the predetermined restriction is a restriction on a recording ratio between gradation values when quantization is performed by a dither method. 前記決定手段は、前記階調値ごとの複数の前記画質評価値に対応した複数の記録比率の組み合わせの中から、所定の閾値より大きい画質評価値の記録比率の組み合わせを除いた後、階調値ごとに1つの記録比率の組み合わせを決定することを特徴とする請求項1ないし4のいずれか1項に記載の画像処理装置。   The determining means excludes a combination of recording ratios of image quality evaluation values larger than a predetermined threshold from a plurality of recording ratio combinations corresponding to the plurality of image quality evaluation values for each gradation value, 5. The image processing apparatus according to claim 1, wherein one combination of recording ratios is determined for each value. 前記決定手段は、前記階調値ごとの複数の前記画質評価値に対応した複数の記録比率の組み合わせの中から、前記制約を満たす2つの連続する階調値間の記録比率の組を総ての階調値について求め、該総ての階調値について求めた、前記制約を満たす2つの連続する階調値間の記録比率の組み合わせのうち、階調値ごとの前記画質評価値が最も小さい記録比率の組み合わせを、階調値ごとの1つの記録比率の組み合わせとして決定することを特徴とする請求項3または4に記載の画像処理装置。   The determining means selects all combinations of recording ratios between two consecutive gradation values satisfying the constraint from among a plurality of recording ratio combinations corresponding to the plurality of image quality evaluation values for each gradation value. The image quality evaluation value for each gradation value is the smallest among the combinations of the recording ratios between two consecutive gradation values that satisfy the above-described restrictions obtained for all the gradation values. 5. The image processing apparatus according to claim 3, wherein the combination of recording ratios is determined as a combination of one recording ratio for each gradation value. 前記決定手段は、さらに、複数の階調値それぞれについて決定した記録比率の組み合わせに対して、補間演算を行うことにより、前記複数の階調値以外の階調値について1つの記録比率の組み合わせを決定することを特徴とする請求項1ないし6のいずれか1項に記載の画像処理装置。   The determining means further performs an interpolation operation on the combination of recording ratios determined for each of a plurality of gradation values, thereby obtaining one recording ratio combination for gradation values other than the plurality of gradation values. The image processing apparatus according to claim 1, wherein the image processing apparatus is determined. 前記画質評価値は、粒状度および/またはスジむらであることを特徴とする請求項1ないし7のいずれか1項に記載の画像処理装置。   The image processing apparatus according to claim 1, wherein the image quality evaluation value is granularity and / or stripe unevenness. 前記画像取得手段は、シミュレーションまたは実際の記録によって前記評価対象画像を取得することを特徴とする請求項1ないし8のいずれか1項に記載の画像処理装置。   The image processing apparatus according to claim 1, wherein the image acquisition unit acquires the evaluation target image by simulation or actual recording. 記録手段をさらに具えたことを特徴とする請求項1ないし9のいずれか1項に記載の画像処理装置。   The image processing apparatus according to claim 1, further comprising a recording unit. サイズの異なる複数種類のドットを記録する際の、階調値ごとの複数種類のドットそれぞれの記録比率を決定するための記録比率決定方法であって、
前記複数種類のドットの記録比率の組み合わせが異なる複数の記録比率の組み合わせに基づいて作成される複数の評価対象画像であって、記録画像の画質評価に関する画質評価値に影響を及ぼす記録動作パラメータの情報が付加された評価対象画像を、階調値ごとに複数取得する画像取得工程と、
前記階調値ごとの複数の評価対象画像それぞれについて前記画質評価値を求める評価値取得工程と、
前記階調値ごとの複数の前記画質評価値に対応した複数の記録比率の組み合わせの中から、階調値ごとに1つの記録比率の組み合わせを決定する決定工程と、
を有したことを特徴とする記録比率決定方法。
A recording ratio determination method for determining a recording ratio of each of a plurality of types of dots for each gradation value when recording a plurality of types of dots having different sizes,
A plurality of evaluation target images created based on a combination of a plurality of recording ratios having different combinations of recording ratios of the plurality of types of dots, and a recording operation parameter that affects an image quality evaluation value related to an image quality evaluation of the recorded image An image acquisition step of acquiring a plurality of evaluation target images to which information is added for each gradation value;
An evaluation value acquisition step for obtaining the image quality evaluation value for each of a plurality of evaluation target images for each gradation value;
A determination step of determining one recording ratio combination for each gradation value from among a plurality of recording ratio combinations corresponding to the plurality of image quality evaluation values for each gradation value;
A recording ratio determination method characterized by comprising:
JP2015065372A 2015-03-26 2015-03-26 Image processing apparatus and recording ratio determination method Active JP6498009B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2015065372A JP6498009B2 (en) 2015-03-26 2015-03-26 Image processing apparatus and recording ratio determination method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2015065372A JP6498009B2 (en) 2015-03-26 2015-03-26 Image processing apparatus and recording ratio determination method

Publications (2)

Publication Number Publication Date
JP2016182796A JP2016182796A (en) 2016-10-20
JP6498009B2 true JP6498009B2 (en) 2019-04-10

Family

ID=57242431

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015065372A Active JP6498009B2 (en) 2015-03-26 2015-03-26 Image processing apparatus and recording ratio determination method

Country Status (1)

Country Link
JP (1) JP6498009B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016182798A (en) * 2015-03-26 2016-10-20 キヤノン株式会社 Image processing device and recording ratio determining method

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4032490B2 (en) * 1998-03-09 2008-01-16 セイコーエプソン株式会社 Printing apparatus, printing method, and recording medium
JP3414325B2 (en) * 1998-07-03 2003-06-09 セイコーエプソン株式会社 Printing device and recording medium
JP2003094693A (en) * 1998-07-03 2003-04-03 Seiko Epson Corp Printer and recording medium
JP4296621B2 (en) * 1999-01-06 2009-07-15 セイコーエプソン株式会社 Printing apparatus, printing method, and recording medium
WO2001098086A1 (en) * 2000-06-16 2001-12-27 Fujitsu Limited Image forming device and image forming method
JP2006088373A (en) * 2004-09-21 2006-04-06 Seiko Epson Corp Printing suppressing noise included in printed image
JP4720274B2 (en) * 2005-04-26 2011-07-13 セイコーエプソン株式会社 Apparatus for simulating ink dot shape, method for simulating ink dot shape, and computer program
JP5302838B2 (en) * 2009-09-30 2013-10-02 富士フイルム株式会社 Image processing apparatus, image processing method, image processing program, and X-ray image photographing apparatus
JP2011244054A (en) * 2010-05-14 2011-12-01 Seiko Epson Corp Image processor, image processing method, and image processing program
JP5760478B2 (en) * 2011-02-15 2015-08-12 セイコーエプソン株式会社 Fluid ejecting apparatus and fluid ejecting method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016182798A (en) * 2015-03-26 2016-10-20 キヤノン株式会社 Image processing device and recording ratio determining method

Also Published As

Publication number Publication date
JP2016182796A (en) 2016-10-20

Similar Documents

Publication Publication Date Title
US8792136B2 (en) Processing condition selecting apparatus, processing condition selecting method, and storage medium
JP4720274B2 (en) Apparatus for simulating ink dot shape, method for simulating ink dot shape, and computer program
JP2020035367A (en) Image processing apparatus, image processing method and program
JP6048099B2 (en) Image processing method, image processing program, and information processing apparatus
JP6184196B2 (en) Image processing method and image processing apparatus
JP2009006510A (en) Printer, printing method, and program
JP3925018B2 (en) Printing control apparatus, printing apparatus, printing control method, and recording medium
JP4424468B2 (en) Image processing apparatus, image processing method, image processing program, and print control apparatus
JP7147465B2 (en) Recording control device, recording device and recording control method
JP4780312B2 (en) Printing result prediction apparatus, printing result prediction method, and printing result prediction program
JP6498009B2 (en) Image processing apparatus and recording ratio determination method
JP6004732B2 (en) Data processing apparatus and data processing method
US8833887B2 (en) Control device and control method for controlling printing unit to perform multi-pass printing
JP6272257B2 (en) Printing system, characteristic parameter acquisition method, image processing apparatus, and program
JP6552240B2 (en) Image processing apparatus, image recording apparatus, setting method of dot mixing ratio, and program
EP2413584B1 (en) Image processing apparatus, image processing method, and program
JP6552241B2 (en) Image processing apparatus and recording ratio determination method
US9594989B2 (en) Image-processing device determining dot formation state of target pixel by using gradation value of target pixel
US20210227095A1 (en) Modeling a printed halftone image
JP2007290171A (en) Method for evaluating improvement of printing quality of image, and apparatus and program for evaluating improvement of printing quality of image
JP2016184909A (en) Image processor, image record device, image processing method and program
JP2007261010A (en) Apparatus for searching suitable setting, method for searching suitable setting and program for searching suitable setting
JP2007008177A (en) Printer, printer controlling program, printer controlling method, apparatus for generating data for printing, program for generating data for printing and method for generating data for printing
NL2016503B1 (en) Image processing apparatus, image processing method, and image simulation method
Mao et al. Ink Drop Displacement Model-Based Direct Binary Search

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20180316

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20181219

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20190312

R151 Written notification of patent or utility model registration

Ref document number: 6498009

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151