JP2020077948A - Image forming apparatus, gradation correction method, and program - Google Patents

Image forming apparatus, gradation correction method, and program Download PDF

Info

Publication number
JP2020077948A
JP2020077948A JP2018209268A JP2018209268A JP2020077948A JP 2020077948 A JP2020077948 A JP 2020077948A JP 2018209268 A JP2018209268 A JP 2018209268A JP 2018209268 A JP2018209268 A JP 2018209268A JP 2020077948 A JP2020077948 A JP 2020077948A
Authority
JP
Japan
Prior art keywords
gradation
patch
growth
growth step
unit
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
JP2018209268A
Other languages
Japanese (ja)
Other versions
JP7087929B2 (en
Inventor
竹内 英人
Hideto Takeuchi
英人 竹内
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 JP2018209268A priority Critical patent/JP7087929B2/en
Publication of JP2020077948A publication Critical patent/JP2020077948A/en
Application granted granted Critical
Publication of JP7087929B2 publication Critical patent/JP7087929B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Facsimile Image Signal Circuits (AREA)
  • Color, Gradation (AREA)
  • Control Or Security For Electrophotography (AREA)

Abstract

To provide an image forming apparatus, a gradation correction method, and a program with which smooth gradation characteristics can be maintained through gradation correction, and the number of gradations after the correction can be maintained.SOLUTION: An image forming apparatus comprises: an information acquisition unit that acquires a dither matrix and dither information; a patch creation unit that creates a patch for gradation correction obtained by connecting patches of each of gradations in growth steps; a print control unit that prints the patch for gradation correction on a print medium; a patch separation unit that separates an image obtained by reading the patch for gradation correction into patches; a characteristic value acquisition unit that acquires the characteristic values of each patch; a dot characteristic calculation unit that calculates the growth characteristics of one dot based on the difference between the characteristic value of each of the gradations in the growth steps and the characteristic value of the gradation in a growth step immediately therebefore; a gradation characteristic calculation unit that calculates gradations in growth steps approximate to target values of each of the gradations and the number of necessary growth dots; and a correction matrix creation unit that creates a gradation correction dither matrix for performing gradation correction based on a result of the calculation.SELECTED DRAWING: Figure 3

Description

本発明は、画像形成装置、階調補正方法およびプログラムに関する。   The present invention relates to an image forming apparatus, a gradation correction method and a program.

レーザプリンタ等の画像形成装置において、温湿度ならびに出力紙の種類および品質等の印刷環境、消耗部品等の経時劣化、ならびに個々の装置の出力特性のばらつき等によって濃度の出力濃性が変動する問題がある。その対策として、画像形成装置で各階調のパッチを印刷した用紙をスキャナで読み込み、その各階調のパッチの読込値に応じて、出力階調値をガンマ補正することによって画像品質を保つ自動階調補正機能が知られている。   In an image forming apparatus such as a laser printer, the output density of the density changes due to the temperature and humidity, the printing environment such as the type and quality of the output paper, the deterioration of consumable parts over time, and the variation of the output characteristics of each device There is. As a countermeasure, automatic gradation that maintains the image quality by scanning the paper on which the patch of each gradation is printed by the image forming device with a scanner and gamma-correcting the output gradation value according to the read value of the patch of each gradation The correction function is known.

このようなガンマ補正による自動階調補正機能を利用した技術として、固定のディザパターンに対するガンマ補正を行うものがあり、階調値が連続的に変化するグラデーションで構成された補正パターンの色彩値を取得して階調値に対する変換量を求め、変化量が均等になるように露光量を補正する技術が開示されている(例えば特許文献1)。   As a technique using such an automatic gradation correction function by gamma correction, there is one that performs gamma correction on a fixed dither pattern, and the color value of a correction pattern composed of gradations whose gradation values change continuously is used. A technique has been disclosed in which the acquired amount is obtained, the conversion amount for the gradation value is obtained, and the exposure amount is corrected so that the change amount becomes uniform (for example, Patent Document 1).

しかしながら、特許文献1に記載された技術では、取得した色彩値に基づいて各階層レベルの露光量を変更するものであり、全階調の数箇所部分の測色値を使用し、それ以外の階調は補間し、ディザパターンの特性が滑らかでなかった場合であっても滑らかであることを前提に補間して階調補正値を算出しているので、結果として滑らかではない補正値となってしまうという問題がある。さらに、補正結果によっては、同じ階調が連続する場合があり、有効な階調数が減少してしまうという問題もある。   However, in the technique described in Patent Document 1, the exposure amount of each hierarchical level is changed based on the acquired color value, and the colorimetric values of several parts of all the gradations are used, and the other values are used. Since the gradation is interpolated and the gradation correction value is calculated on the assumption that the characteristics of the dither pattern are not smooth, the gradation correction value is calculated. There is a problem that it will end up. Further, depending on the correction result, the same gradation may be continuous, which causes a problem that the number of effective gradations decreases.

本発明は、上述の問題点に鑑みてなされたものであって、階調補正によって滑らかな階調性を保ち、かつ、補正後の階調数を維持することができる画像形成装置、階調補正方法およびプログラムを提供することを目的とする。   The present invention has been made in view of the above problems, and an image forming apparatus capable of maintaining smooth gradation by gradation correction and maintaining the number of gradations after correction, It is intended to provide a correction method and a program.

上述した課題を解決し、目的を達成するために、本発明は、ディザマトリクスおよびディザ情報を取得する情報取得部と、前記情報取得部により取得された前記ディザマトリクスおよび前記ディザ情報に基づいて、各成長ステップ階調のパッチを連結した階調補正用パッチを生成するパッチ生成部と、印刷部に前記階調補正用パッチを印刷媒体に印刷させる印刷制御部と、前記印刷媒体に印刷された前記階調補正用パッチが読取部により読み取られた画像から、前記各成長ステップ階調に対応するパッチに分離するパッチ分離部と、前記パッチ分離部により分離された前記各パッチの特性値を取得する特性値取得部と、前記各成長ステップ階調の前記パッチの特性値と、該各成長ステップ階調の1つ前の成長ステップ階調の前記パッチの特性値との差に基づいて、該各成長ステップ階調における1ドットの成長特性を算出するドット特性算出部と、前記各成長ステップ階調における1ドットの成長特性に基づいて、各階調の目標値に近似する前記成長ステップ階調、および、該成長ステップ階調における必要な成長ドット数を算出する階調特性算出部と、前記階調特性算出部の算出結果に基づいて、階調補正を行うための階調補正ディザマトリクスを生成する補正マトリクス生成部と、を備えたことを特徴とする。   In order to solve the problems described above and achieve the object, the present invention is based on an information acquisition unit that acquires a dither matrix and dither information, and the dither matrix and the dither information acquired by the information acquisition unit, A patch generation unit that generates a tone correction patch in which patches of each growth step tone are connected, a print control unit that causes the printing unit to print the tone correction patch on a print medium, and a print control unit that prints on the print medium. From the image in which the gradation correction patch is read by the reading unit, a patch separating unit that separates into patches corresponding to the growth step gradations and a characteristic value of each patch separated by the patch separating unit are acquired. Based on a difference between the characteristic value of the patch of the growth step gradation and the characteristic value of the patch of the growth step gradation immediately before the growth step gradation. A dot characteristic calculation unit that calculates a growth characteristic of one dot in each growth step gradation, and the growth step gradation that approximates a target value of each gradation based on the growth characteristic of one dot in each growth step gradation, And a gradation characteristic calculation unit for calculating the number of required growth dots in the growth step gradation, and a gradation correction dither matrix for performing gradation correction based on the calculation result of the gradation characteristic calculation unit. And a correction matrix generation unit for performing the above.

本発明によれば、階調補正によって滑らかな階調性を保ち、かつ、補正後の階調数を維持することができる。   According to the present invention, smooth gradation can be maintained by gradation correction, and the number of gradations after correction can be maintained.

図1は、実施形態に係る画像形成装置の全体構成の一例を示す図である。FIG. 1 is a diagram illustrating an example of the overall configuration of the image forming apparatus according to the embodiment. 図2は、実施形態に係る画像形成装置のハードウェア構成の一例を示す図である。FIG. 2 is a diagram illustrating an example of the hardware configuration of the image forming apparatus according to the embodiment. 図3は、実施形態に係る画像形成装置の機能ブロックの構成の一例を示す図である。FIG. 3 is a diagram illustrating an example of a configuration of functional blocks of the image forming apparatus according to the embodiment. 図4は、ベースマトリクスを説明する図である。FIG. 4 is a diagram illustrating the base matrix. 図5は、集約ディザマトリクスの一例を示す図である。FIG. 5 is a diagram showing an example of the aggregated dither matrix. 図6は、ペースマトリクスの成長順を示すベースマトリクス順位情報の一例を示す図である。FIG. 6 is a diagram showing an example of base matrix rank information indicating the growth order of the pace matrix. 図7は、成長ステップ階調を説明する図である。FIG. 7 is a diagram illustrating the growth step gradation. 図8は、ディザ濃度特性グラフの一例を示す図である。FIG. 8 is a diagram showing an example of a dither density characteristic graph. 図9は、階調補正用の各ステップのパッチの一例を示す図である。FIG. 9 is a diagram showing an example of a patch at each step for gradation correction. 図10は、階調補正用パッチの一例を示す図である。FIG. 10 is a diagram showing an example of the gradation correction patch. 図11は、2列に分離した階調補正用パッチの一例を示す図である。FIG. 11 is a diagram showing an example of a tone correction patch separated into two columns. 図12は、分離した各成長ステップ階調のパッチにおいて除外する領域の一例を示す図である。FIG. 12 is a diagram showing an example of regions to be excluded in the patches of the separated growth step gradations. 図13は、実施形態に係る画像形成装置の自動階調補正処理の流れの一例を示すフローチャートの一例である。FIG. 13 is an example of a flowchart showing an example of the flow of automatic gradation correction processing of the image forming apparatus according to the embodiment. 図14は、目標値を超過した成長ステップ階調、および当該成長ステップ階調における必要なドット数の一例を示す図である。FIG. 14 is a diagram showing an example of a growth step gradation that exceeds a target value and a required number of dots in the growth step gradation.

以下に、図面を参照しながら、本発明に係る画像形成装置、階調補正方法およびプログラムの実施形態を詳細に説明する。また、以下の実施形態によって本発明が限定されるものではなく、以下の実施形態における構成要素には、当業者が容易に想到できるもの、実質的に同一のもの、およびいわゆる均等の範囲のものが含まれる。さらに、以下の実施形態の要旨を逸脱しない範囲で構成要素の種々の省略、置換、変更および組み合わせを行うことができる。   Hereinafter, embodiments of an image forming apparatus, a gradation correction method, and a program according to the present invention will be described in detail with reference to the drawings. The present invention is not limited to the following embodiments, and constituent elements in the following embodiments include those that can be easily conceived by those skilled in the art, those that are substantially the same, and those that are within a so-called equivalent range. Is included. Furthermore, various omissions, replacements, changes and combinations of the constituent elements can be made without departing from the scope of the following embodiments.

(画像形成装置の全体構成)
図1は、実施形態に係る画像形成装置の全体構成の一例を示す図である。図1を参照しながら、本実施形態に係る画像形成装置1の全体構成について説明する。
(Overall structure of image forming apparatus)
FIG. 1 is a diagram illustrating an example of the overall configuration of the image forming apparatus according to the embodiment. The overall configuration of the image forming apparatus 1 according to the present embodiment will be described with reference to FIG.

図1に示す本実施形態に係る画像形成装置1は、多階調の入力画像に基づいて、複数の濃度値を切り替えて設定可能な画素を用いて階調を表現する多値ディザ法により画像を形成する画像形成装置である。画像形成装置1の作像エンジン部は、イエロー(Y)、マゼンタ(M)、シアン(C)、ブラック(K)のトナー像を形成するための4つの画像形成ユニットを備えている。また、図1に示すように、画像形成装置1は、中間転写ベルト16と、駆動ローラ17と、ベルトテンションローラ19と、二次転写ローラ20と、二次転写対向ローラ21と、レジストローラ対22と、定着装置23と、クリーニングバックアップローラ27と、ベルトクリーニング装置28と、を備えている。   The image forming apparatus 1 according to the present embodiment shown in FIG. 1 uses a multi-value dither method that expresses gradations by using pixels that can be set by switching a plurality of density values based on an input image of multi-gradation. Is an image forming apparatus for forming a. The image forming engine section of the image forming apparatus 1 includes four image forming units for forming yellow (Y), magenta (M), cyan (C), and black (K) toner images. Further, as shown in FIG. 1, the image forming apparatus 1 includes an intermediate transfer belt 16, a driving roller 17, a belt tension roller 19, a secondary transfer roller 20, a secondary transfer counter roller 21, and a registration roller pair. 22, a fixing device 23, a cleaning backup roller 27, and a belt cleaning device 28.

4つの画像形成ユニットは、互いに異なる色のY、M、C、Kのトナーを用いるが、それ以外は同様の構成になっている。なお、4つの画像形成ユニットは、共通の保持体に保持して画像形成装置1本体に対して一体的に脱着されることで、同時に交換されるような構成であってもよい。   The four image forming units use Y, M, C, and K toners of different colors, but otherwise have the same configuration. Note that the four image forming units may be replaced at the same time by being held in a common holding body and integrally attached to and detached from the main body of the image forming apparatus 1.

ここで、Cトナー像を形成するC用の画像形成ユニットを例にして、その構成を説明する。C用の画像形成ユニットは、図1に示すように、感光体ドラム11Cと、帯電ローラ12Cと、書き込みレーザ光13Cと、現像装置14Cと、一次転写ローラ15Cと、ドラムクリーニング装置18Cと、を含む。   Here, the configuration of the image forming unit for C that forms a C toner image will be described as an example. As shown in FIG. 1, the image forming unit for C includes a photosensitive drum 11C, a charging roller 12C, a writing laser beam 13C, a developing device 14C, a primary transfer roller 15C, and a drum cleaning device 18C. Including.

感光体ドラム11Cは、潜像担持体として機能するドラムである。感光体ドラム11Cは、図示しない駆動手段によって図1に示す矢印方向に回転駆動され、帯電バイアスが印加された帯電ローラ12Cに接触または近接しながら、帯電ローラ12Cとの間で発生する放電によって、表面が一様に帯電される。なお、感光体ドラム11Cを一様に帯電させる方式としては、帯電ローラ12Cのような帯電部材を感光体ドラム11Cに接触または近接させる方式に代えて、帯電チャージャによる方式を採用するものとしてもよい。   The photoconductor drum 11C is a drum that functions as a latent image carrier. The photoconductor drum 11C is rotationally driven in the direction of the arrow shown in FIG. 1 by a driving unit (not shown), and while being in contact with or in proximity to the charging roller 12C to which a charging bias is applied, by the discharge generated with the charging roller 12C The surface is uniformly charged. As a method for uniformly charging the photosensitive drum 11C, a method using a charging charger may be adopted instead of a method in which a charging member such as the charging roller 12C is brought into contact with or close to the photosensitive drum 11C. ..

帯電ローラ12Cは、回転駆動する感光体ドラム11Cに対して、帯電バイアスを印加することにより、感光体ドラム11Cの表面を一様に帯電させるローラである。   The charging roller 12C is a roller that uniformly charges the surface of the photosensitive drum 11C by applying a charging bias to the rotationally driven photosensitive drum 11C.

書き込みレーザ光13Cは、図示しない光書込ユニットから発せられ、帯電した感光体ドラム11Cの表面にC用の静電潜像を形成するレーザ光である。この光書込ユニットは、例えば、光源としてレーザダイオードと、レーザダイオードをパルス幅変調(PWM:Pulse Width Modulation)方式で駆動するレーザ駆動部と、を有し、形成対象の入力画像の画像情報に基づいて制御される。レーザ駆動部は、例えば、後述するプリンタコントローラ100から送られてくる露光制御PWM値と、感光体ドラム11C上の1画素分の領域に書き込みレーザ光13Cを照射可能な時間が1周期に設定された所定の画素クロックとに基づいて、レーザダイオードを駆動する。露光制御PWM値は、各画素ごとに、画素クロックの1周期にうち1画素分の領域に書き込みレーザ光13Cを照射する時間を指定する値であり、各画素における濃度値に応じて設定される値である。各画素の露光制御PWM値は、スキャナコントローラ110またはPC(Personal Computer)等の外部機器から送られてくる画像情報に基づいて、多値ディザ法により生成される。この光書込ユニットからの書込みレーザ光13Cは、例えば、入力画像の画像情報に基づいて画像部と非画像部とを分けて感光体ドラム11Cの表面の主走査方向に光走査される。   The writing laser beam 13C is a laser beam emitted from an optical writing unit (not shown) to form an electrostatic latent image for C on the surface of the charged photosensitive drum 11C. This optical writing unit has, for example, a laser diode as a light source, and a laser driving unit that drives the laser diode by a pulse width modulation (PWM) method, and uses image information of an input image to be formed. It is controlled based on. The laser drive unit sets, for example, an exposure control PWM value sent from the printer controller 100, which will be described later, and a period in which the writing laser beam 13C can be applied to a region of one pixel on the photosensitive drum 11C in one cycle. The laser diode is driven based on the predetermined pixel clock. The exposure control PWM value is a value that specifies, for each pixel, the time for which the writing laser beam 13C is applied to the area for one pixel in one cycle of the pixel clock, and is set according to the density value in each pixel. It is a value. The exposure control PWM value of each pixel is generated by the multi-value dither method based on image information sent from an external device such as the scanner controller 110 or a PC (Personal Computer). The writing laser light 13C from the optical writing unit is optically scanned in the main scanning direction on the surface of the photoconductor drum 11C by dividing the image portion and the non-image portion based on the image information of the input image.

現像装置14Cは、感光体ドラム11Cに担持(形成)されたC用の静電潜像を現像する装置である。   The developing device 14C is a device for developing the C electrostatic latent image carried (formed) on the photosensitive drum 11C.

一次転写ローラ15Cは、感光体ドラム11Cに現像されたC用のトナー像を中間転写ベルト16上に一次転写するローラである。一次転写ローラ15C、15M、15Y、15Kは、それぞれ、無端移動する中間転写ベルト16を感光体ドラム11C、11M、11Y、11Kとの間に挟み込んでいる。これによって、中間転写ベルト16の表面と、感光体ドラム11C、11M、11Y、11Kとが当接するC、M、Y、K用の一次転写ニップが形成されている。一次転写ローラ15Cは、図示しない一次転写バイアス電源によって一次転写バイアスが印加されている。これによって、感光体ドラム11C上のC用のトナー像と、一次転写ローラ15Cとの間に一次転写電界が形成される。C用の感光体ドラム11Cの表面に形成されたYのトナー像は、感光体ドラム11Cの回転に伴ってC用の一次転写ニップに進入する。そして、一次転写電界およびニップ圧の作用により、感光体ドラム11C上から中間転写ベルト16上に一次転写される。なお、一次転写ローラ15M、15Y、15Kに形成されたトナー像についても、同様に、中間転写ベルト16に一次転写される。   The primary transfer roller 15C is a roller that primarily transfers the C toner image developed on the photosensitive drum 11C onto the intermediate transfer belt 16. The primary transfer rollers 15C, 15M, 15Y, and 15K sandwich the endlessly moving intermediate transfer belt 16 between the photosensitive drums 11C, 11M, 11Y, and 11K, respectively. As a result, primary transfer nips for C, M, Y, and K where the surface of the intermediate transfer belt 16 and the photoconductor drums 11C, 11M, 11Y, and 11K contact each other are formed. The primary transfer bias is applied to the primary transfer roller 15C by a primary transfer bias power source (not shown). As a result, a primary transfer electric field is formed between the C toner image on the photoconductor drum 11C and the primary transfer roller 15C. The Y toner image formed on the surface of the C photoconductor drum 11C enters the C primary transfer nip as the photoconductor drum 11C rotates. Then, by the action of the primary transfer electric field and the nip pressure, the primary transfer is performed from the photoconductor drum 11C onto the intermediate transfer belt 16. The toner images formed on the primary transfer rollers 15M, 15Y, and 15K are also primarily transferred to the intermediate transfer belt 16 in the same manner.

ドラムクリーニング装置18Cは、一次転写の工程を経た後、感光体ドラム11Cの表面に付着している転写残トナーを除去する装置である。   The drum cleaning device 18C is a device that removes transfer residual toner adhering to the surface of the photosensitive drum 11C after the primary transfer process.

なお、M、Y、K用の画像形成ユニットの構成は、上述のようなC用の画像形成ユニットの構成と同様である。   The configuration of the M, Y, and K image forming units is similar to that of the C image forming unit as described above.

中間転写ベルト16は、無端状のベルトであって、駆動ローラ17、ベルトテンションローラ19、二次転写対向ローラ21、クリーニングバックアップローラ27、一次転写ローラ15C、15M、15Y、15K等によって張架されている。そして、中間転写ベルト16は、駆動ローラ17による回転駆動により、無端移動され、上述のように、感光体ドラム11C、11M、11Y、11Kに形成されたトナー像が一次転写される。具体的には、感光体ドラム11YからY用のトナー像が一次転写された後、C、M、K用の一次転写ニップを順次通過し、感光体ドラム11Yから一次転写されたY用のトナー像の上に順次重ね合わせられて一次転写される。この重ね合わせの一次転写により、中間転写ベルト16上には4色の重ね合わせトナー像が形成される。   The intermediate transfer belt 16 is an endless belt, and is stretched around a drive roller 17, a belt tension roller 19, a secondary transfer counter roller 21, a cleaning backup roller 27, primary transfer rollers 15C, 15M, 15Y, 15K and the like. ing. Then, the intermediate transfer belt 16 is endlessly moved by being rotationally driven by the driving roller 17, and the toner images formed on the photoconductor drums 11C, 11M, 11Y, and 11K are primarily transferred as described above. Specifically, after the toner image for Y is primarily transferred from the photoconductor drum 11Y, the toner image for Y is primarily transferred from the photoconductor drum 11Y by sequentially passing through the primary transfer nips for C, M, and K. The images are sequentially superposed on the image and primarily transferred. By this primary transfer of superposition, superposed toner images of four colors are formed on the intermediate transfer belt 16.

二次転写ローラ20は、中間転写ベルト16に形成された4色の重ね合わせトナー像を、印刷媒体(用紙等)に二次転写(印刷)するローラである。二次転写ローラ20は、中間転写ベルト16のループ外側方向に、中間転写ベルト16を介して加圧されて配設されており、ループ内側の二次転写対向ローラ21との間に中間転写ベルト16を挟み込んでいる。これによって、二次転写ローラ20は、中間転写ベルト16または印刷媒体(用紙等)に接触しながら回転し、一次転写ローラ15の表面と二次転写対向ローラ21とが当接する二次転写ニップが形成される。二次転写ローラ20は、接地されているのに対し、二次転写対向ローラ21は、図示しない二次転写バイアス電源によって二次転写バイアスが印加される。これによって、二次転写ローラ20と二次転写対向ローラ21との間に、マイナス極性のトナーを二次転写対向ローラ21側から二次転写ローラ20側へ向けて静電移動させる二次転写電界が形成される。   The secondary transfer roller 20 is a roller that secondarily transfers (prints) the four-color superimposed toner images formed on the intermediate transfer belt 16 onto a print medium (paper or the like). The secondary transfer roller 20 is arranged in a direction outside the loop of the intermediate transfer belt 16 under pressure via the intermediate transfer belt 16, and is disposed between the secondary transfer roller 20 and the secondary transfer counter roller 21 inside the loop. 16 are sandwiched. As a result, the secondary transfer roller 20 rotates while contacting the intermediate transfer belt 16 or the print medium (paper or the like), and the secondary transfer nip where the surface of the primary transfer roller 15 and the secondary transfer counter roller 21 come into contact with each other is formed. It is formed. The secondary transfer roller 20 is grounded, while the secondary transfer opposing roller 21 is applied with a secondary transfer bias by a secondary transfer bias power source (not shown). As a result, a secondary transfer electric field that electrostatically moves negative polarity toner from the secondary transfer counter roller 21 side toward the secondary transfer roller 20 side between the secondary transfer roller 20 and the secondary transfer counter roller 21. Is formed.

レジストローラ対22は、図示しない給紙カセットから搬送されてきた印刷媒体(用紙等)を上述の二次転写ニップに送り出すローラである。給紙カセットには、用紙が複数枚重ねた紙束の状態で収容されているこの給紙カセットは、紙束の一番上の用紙に図示しない給紙ローラを当接させており、この給紙ローラを所定のタイミングで回転駆動させることにより、用紙が搬送経路25へ向けて送り出される。レジストローラ対22は、搬送経路25の末端付近に配設されており、給紙カセットから送り出された用紙をローラ間に挟み込むと、すぐに両ローラの回転を停止させる。そして、レジストローラ対22は、挟み込んだ用紙を二次転写ニップ内で中間転写ベルト16上に形成された4色の重ね合わせトナー像に同期させるタイミングで回転駆動を再開して、用紙を二次転写ニップに向けて送り出す。二次転写ニップで用紙に密着された中間転写ベルト16上の4色の重ね合わせトナー像は、二次転写電界およびニップ圧、ならびに二次転写電界の作用によって、用紙上に二次転写され、用紙の白色と相まってフルカラートナー像となる。このようにして表面にフルカラートナー像が形成された用紙は、二次転写ニップを通過すると、二次転写ローラ20および中間転写ベルト16から曲率分離する。   The registration roller pair 22 is a roller that feeds the print medium (paper or the like) conveyed from a paper feed cassette (not shown) to the above-mentioned secondary transfer nip. The paper feed cassette accommodates a plurality of paper sheets in the form of a stack of paper sheets. In this paper feed cassette, a paper feed roller (not shown) is brought into contact with the top paper of the paper bundle. By rotating the paper roller at a predetermined timing, the paper is sent out toward the transport path 25. The registration roller pair 22 is disposed near the end of the transport path 25, and immediately stops the rotation of both rollers when the sheet sent from the paper feed cassette is sandwiched between the rollers. Then, the registration roller pair 22 restarts the rotation drive at the timing of synchronizing the sandwiched paper with the superimposed toner images of four colors formed on the intermediate transfer belt 16 in the secondary transfer nip, and the paper is secondary-printed. Send it toward the transfer nip. The four-color superposed toner images on the intermediate transfer belt 16 that are brought into close contact with the paper at the secondary transfer nip are secondarily transferred onto the paper by the action of the secondary transfer electric field and the nip pressure, and the secondary transfer electric field. Combined with the white color of the paper, it becomes a full-color toner image. The sheet on which the full-color toner image is formed on the surface in this way is separated from the secondary transfer roller 20 and the intermediate transfer belt 16 by the curvature when passing through the secondary transfer nip.

定着装置23は、用紙の搬送経路における二次転写ニップの後段側に配設され、用紙に二次転写されたフルカラートナー像に対して、加熱および加圧することによって、トナーを軟化させ、フルカラー画像を用紙上に定着させる装置である。定着装置23は、ハロゲンランプ等の発熱源を内包する定着ローラと、これに所定の圧力で当接しながら回転する加圧ローラと、によって定着ニップを形成する。定着装置23内に搬送された用紙は、定着ニップにおける加熱および加圧の影響によってフルカラートナー像中のトナーが軟化されて、フルカラー画像が用紙上に定着される。定着装置23から排出された用紙は、画像形成装置1外へと排紙される。   The fixing device 23 is disposed on the rear side of the secondary transfer nip in the sheet conveyance path, and heats and presses the full-color toner image secondary-transferred onto the sheet to soften the toner and thereby the full-color image. Is a device for fixing the paper on the paper. The fixing device 23 forms a fixing nip by a fixing roller that includes a heat source such as a halogen lamp and a pressure roller that rotates while contacting the fixing roller with a predetermined pressure. On the sheet conveyed into the fixing device 23, the toner in the full-color toner image is softened by the influence of heating and pressurization in the fixing nip, and the full-color image is fixed on the sheet. The sheet discharged from the fixing device 23 is discharged to the outside of the image forming apparatus 1.

ベルトクリーニング装置28は、二次転写ニップを通過した中間転写ベルト16に付着している残トナーを除去してクリーニングする装置である。   The belt cleaning device 28 is a device that removes and cleans the residual toner adhering to the intermediate transfer belt 16 that has passed through the secondary transfer nip.

(画像形成装置のハードウェア構成)
図2は、実施形態に係る画像形成装置のハードウェア構成の一例を示す図である。図2を参照しながら、本実施形態に係る画像形成装置1のハードウェア構成について説明する。
(Hardware configuration of image forming apparatus)
FIG. 2 is a diagram illustrating an example of the hardware configuration of the image forming apparatus according to the embodiment. The hardware configuration of the image forming apparatus 1 according to the present embodiment will be described with reference to FIG.

図2に示すように、画像形成装置1は、プリンタコントローラ100と、スキャナコントローラ110と、プリンタ装置120(印刷部)と、スキャナ装置130(読取部)と、入出力装置140と、外部I/F150と、を備えている。上述の各ユニットは、バス160を介して互いに通信可能に接続されている。   As shown in FIG. 2, the image forming apparatus 1 includes a printer controller 100, a scanner controller 110, a printer device 120 (printing unit), a scanner device 130 (reading unit), an input / output device 140, and an external I / O device. And F150. The above units are connected to each other via a bus 160 so that they can communicate with each other.

プリンタコントローラ100は、プリンタ装置120による印刷動作を制御するコントローラである。プリンタコントローラ100は、CPU(Central Processing Unit)101と、ROM(Read Only Memory)102と、RAM(Random Access Memory)103と、I/F104と、記憶装置105と、を有する。   The printer controller 100 is a controller that controls the printing operation of the printer device 120. The printer controller 100 includes a CPU (Central Processing Unit) 101, a ROM (Read Only Memory) 102, a RAM (Random Access Memory) 103, an I / F 104, and a storage device 105.

CPU101は、プリンタコントローラ100の動作全般について制御する演算装置である。CPU101は、ROM102に記憶されたプログラムを実行し、RAM103をワークエリアとして用いて、プリンタコントローラ100全体の動作を制御する。   The CPU 101 is an arithmetic device that controls the overall operation of the printer controller 100. The CPU 101 executes a program stored in the ROM 102, and uses the RAM 103 as a work area to control the overall operation of the printer controller 100.

I/F104は、バス160を介して、スキャナコントローラ110、プリンタ装置120、スキャナ装置130、入出力装置140、および外部I/F150と、データ通信を行うためのインターフェースである。I/F104は、例えば、プリンタ装置120の印刷制御のための指令の送信、および印刷データの転送、ならびに、スキャナコントローラ110を介してスキャナ装置130の読取制御、および読取データの受信等を行うために用いられる。また、I/F104は、入出力装置140の表示内容の制御、および入力データの受信等を行うためにも用いられる。   The I / F 104 is an interface for performing data communication with the scanner controller 110, the printer device 120, the scanner device 130, the input / output device 140, and the external I / F 150 via the bus 160. The I / F 104 performs, for example, transmission of a command for print control of the printer device 120, transfer of print data, read control of the scanner device 130 via the scanner controller 110, reception of read data, and the like. Used for. The I / F 104 is also used to control the display contents of the input / output device 140, receive input data, and the like.

記憶装置105は、制御コード、フォントデータ、後述するディザマトリクスのデータ、およびディザパターン情報等を記憶する装置である。記憶装置105は、例えば、HDD(Hard Disk Drive)、SSD(Solid State Drive)、またはフラッシュメモリ等によって構成される。   The storage device 105 is a device that stores control codes, font data, dither matrix data, which will be described later, and dither pattern information. The storage device 105 is configured by, for example, an HDD (Hard Disk Drive), an SSD (Solid State Drive), a flash memory, or the like.

スキャナコントローラ110は、スキャナ装置130による読み取り動作を制御するコントローラである。スキャナコントローラ110は、読込データ生成装置111と、色変換装置112と、I/F113と、記憶装置114と、を有する。   The scanner controller 110 is a controller that controls the reading operation by the scanner device 130. The scanner controller 110 includes a read data generation device 111, a color conversion device 112, an I / F 113, and a storage device 114.

読込データ生成装置111は、スキャナ装置130により読み取られたRGBの光三原色の測色値を基に、デジタル画像(TIFF(Tagged Image File Format)、JPEG(Joint Photographic Experts Group)等)(読取画像)を生成する装置である。読込データ生成装置111により生成された読取画像のデータは、外部I/F150を介して外部機器に送信されたり、I/F113を介してプリンタコントローラ100に送信される。   The read data generation device 111 is a digital image (TIFF (Tagged Image File Format), JPEG (Joint Photographic Experts Group), or the like) (read image) based on the colorimetric values of the RGB three primary colors read by the scanner device 130. Is a device for generating. The data of the read image generated by the read data generation device 111 is transmitted to an external device via the external I / F 150 or to the printer controller 100 via the I / F 113.

色変換装置112は、スキャナ装置130により読み取られたRGBの光三原色の値をCMYの色三原色およびK色のデータ等に変換する処理を行う装置である。この処理は読込データ生成装置111による読取画像の生成の際に用いられたり、後述する階調補正用パッチの読み込み値の変換等に用いられる。   The color conversion device 112 is a device that converts the values of the RGB light three primary colors read by the scanner device 130 into CMY color three primary colors, K color data, and the like. This processing is used when a read image is generated by the read data generating device 111, and is used for conversion of a read value of a gradation correction patch which will be described later.

I/F113は、バス160を介して、プリンタコントローラ100、プリンタ装置120、スキャナ装置130、入出力装置140、および外部I/F150と、データ通信を行うためのインターフェースである。I/F113は、例えば、スキャナ装置130の読取制御のための指令の送信、および読み取りデータの受信等を行うために用いられる。また、I/F113は、入出力装置140の表示内容の制御、入力データの受信、外部装置への画像データの送信、および機器の状況の伝達等にも用いられる。   The I / F 113 is an interface for performing data communication with the printer controller 100, the printer device 120, the scanner device 130, the input / output device 140, and the external I / F 150 via the bus 160. The I / F 113 is used, for example, for transmitting a command for reading control of the scanner device 130, receiving read data, and the like. The I / F 113 is also used for controlling display contents of the input / output device 140, receiving input data, transmitting image data to an external device, transmitting device status, and the like.

記憶装置114は、読込データ生成装置111により生成さた読取画像等を記憶する装置である。記憶装置114は、例えば、HDD、SSD、またはフラッシュメモリ等によって構成される。   The storage device 114 is a device that stores the read image and the like generated by the read data generation device 111. The storage device 114 is composed of, for example, an HDD, SSD, flash memory, or the like.

プリンタ装置120は、プリンタコントローラ100からの指令に従って、印刷媒体(用紙等)への印刷動作(画像形成処理)を行う装置である。プリンタ装置120は、印刷装置121と、I/F122と、を有する。   The printer device 120 is a device that performs a printing operation (image forming process) on a printing medium (paper or the like) according to a command from the printer controller 100. The printer device 120 includes a printing device 121 and an I / F 122.

印刷装置121は、外部装置またはプリンタコントローラ100から転送された印刷データに基づいて、印刷媒体へ印刷処理を行う装置である。   The printing device 121 is a device that performs print processing on a print medium based on print data transferred from an external device or the printer controller 100.

I/F122は、バス160を介して、プリンタコントローラ100、スキャナコントローラ110、スキャナ装置130、入出力装置140、および外部I/F150と、データ通信を行うためのインターフェースである。I/F122は、例えば、外部装置またはプリンタコントローラ100からの印刷データの受信等を行うために用いられる。   The I / F 122 is an interface for performing data communication with the printer controller 100, the scanner controller 110, the scanner device 130, the input / output device 140, and the external I / F 150 via the bus 160. The I / F 122 is used to receive print data from an external device or the printer controller 100, for example.

スキャナ装置130は、スキャナコントローラ110からの指令に従って、スキャナトレイに配置された画像が印刷された印刷媒体を読み込む装置である。スキャナ装置130は、読取装置131と、I/F132と、を有する。   The scanner device 130 is a device that reads a print medium on which an image arranged on the scanner tray is printed, according to a command from the scanner controller 110. The scanner device 130 includes a reading device 131 and an I / F 132.

読取装置131は、画像が印刷された印刷媒体を読み込みRGBの光三原色の値を取得する装置である。   The reading device 131 is a device that reads a print medium on which an image is printed and acquires the values of RGB three primary colors.

I/F132は、バス160を介して、プリンタコントローラ100、スキャナコントローラ110、プリンタ装置120、入出力装置140、および外部I/F150と、データ通信を行うためのインターフェースである。I/F132は、例えば、スキャナ装置130により読み取られた読取データを、スキャナコントローラ110へ送信する。   The I / F 132 is an interface for performing data communication with the printer controller 100, the scanner controller 110, the printer device 120, the input / output device 140, and the external I / F 150 via the bus 160. The I / F 132 transmits read data read by the scanner device 130 to the scanner controller 110, for example.

入出力装置140は、データを入出力するための装置である。入出力装置140は、入力装置141と、出力装置142と、I/F143と、を有する。   The input / output device 140 is a device for inputting / outputting data. The input / output device 140 includes an input device 141, an output device 142, and an I / F 143.

入力装置141は、例えば、テンキーまたは専用キー等のユーザが操作入力およびデータ入力を行うための装置である。出力装置142は、例えば、LCD(Liquid Crystal Display)、または有機EL(Electro−Luminescence)ディスプレイ等の表示装置である。なお、入力装置141および出力装置142は、双方の機能を併せ持つタッチパネルディスプレイで実現されるものとしてもよい。   The input device 141 is, for example, a device such as a numeric keypad or a dedicated key for a user to perform operation input and data input. The output device 142 is, for example, a display device such as an LCD (Liquid Crystal Display) or an organic EL (Electro-Luminescence) display. The input device 141 and the output device 142 may be realized by a touch panel display having both functions.

I/F143は、バス160を介して、プリンタコントローラ100、スキャナコントローラ110、プリンタ装置120、スキャナ装置130、および外部I/F150と、データ通信を行うためのインターフェースである。I/F143は、例えば、入力装置141により入力されたデータの送信、および、出力装置142に表示させるための表示データの受信等を行うために用いられる。   The I / F 143 is an interface for performing data communication with the printer controller 100, the scanner controller 110, the printer device 120, the scanner device 130, and the external I / F 150 via the bus 160. The I / F 143 is used, for example, to transmit data input by the input device 141, receive display data to be displayed on the output device 142, and the like.

外部I/F150は、画像形成装置1の外部の装置との間でデータ通信を行うためのインターフェースである。外部I/F150は、例えば、外部装置から印刷データを受信し、プリンタコントローラ100へ転送する。   The external I / F 150 is an interface for performing data communication with a device external to the image forming apparatus 1. The external I / F 150 receives print data from an external device and transfers the print data to the printer controller 100, for example.

なお、図2に示した画像形成装置1のハードウェア構成は一例を示すものであり、その他の構成要素を含むものとしてもよい。   The hardware configuration of the image forming apparatus 1 shown in FIG. 2 is an example, and may include other components.

(画像形成装置の機能ブロックの構成)
図3は、実施形態に係る画像形成装置の機能ブロックの構成の一例を示す図である。図3を参照しながら、本実施形態に係る画像形成装置1の機能ブロックの一例について説明する。
(Structure of functional block of image forming apparatus)
FIG. 3 is a diagram illustrating an example of a configuration of functional blocks of the image forming apparatus according to the embodiment. An example of functional blocks of the image forming apparatus 1 according to the present embodiment will be described with reference to FIG.

図3に示すように、画像形成装置1は、パターン情報取得部201(情報取得部)と、階調数算出部202と、パッチサイズ算出部203(サイズ算出部)と、パッチ生成部204と、パッチ印刷制御部205(印刷制御部)と、読込制御部206と、パッチ分離部207と、特性取得部208と、ドット特性算出部209と、階調特性算出部210と、補正マトリクス生成部211と、記憶部212と、入力部213と、通信部214と、を有する。   As shown in FIG. 3, the image forming apparatus 1 includes a pattern information acquisition unit 201 (information acquisition unit), a gradation number calculation unit 202, a patch size calculation unit 203 (size calculation unit), and a patch generation unit 204. A patch print control unit 205 (print control unit), a read control unit 206, a patch separation unit 207, a characteristic acquisition unit 208, a dot characteristic calculation unit 209, a gradation characteristic calculation unit 210, and a correction matrix generation unit. It has 211, the memory | storage part 212, the input part 213, and the communication part 214.

パターン情報取得部201は、後述する成長ステップ階調の数、階層レベル数、ベースマトリクス数、集約ディザマトリクス(ディザマトリクス)およびディザサイズ等を含むディザパターン情報(ディザ情報)を取得する機能部である。パターン情報取得部201は、例えば、記憶部212に記憶されたディザパターン情報を取得、または、通信部214を介して外部からディザパターン情報を取得する。なお、ディザパターン情報(ディザ情報)は、上述の情報をすべて含むものとは限らず、例えば、集約ディザマトリクス(ディザマトリクス)は、ディザパターン情報とは別の情報として取得されるものとしてもよい。   The pattern information acquisition unit 201 is a functional unit that acquires dither pattern information (dither information) including the number of growth step gradations, the number of layer levels, the number of base matrices, the aggregate dither matrix (dither matrix), and the dither size, which will be described later. is there. The pattern information acquisition unit 201 acquires, for example, the dither pattern information stored in the storage unit 212, or acquires the dither pattern information from outside via the communication unit 214. Note that the dither pattern information (dither information) does not necessarily include all of the above information, and for example, the aggregated dither matrix (dither matrix) may be acquired as information different from the dither pattern information. .

ここで、上述のベースマトリクスおよび階層レベル数について、図4を参照しながら説明する。図4は、ベースマトリクスを説明する図である。   Here, the above-mentioned base matrix and the number of hierarchical levels will be described with reference to FIG. FIG. 4 is a diagram illustrating the base matrix.

図4に示すそれぞれ異なるハッチングで示された領域は、プリンタ装置120が印刷媒体(以下、単に用紙として説明する)に印刷する場合に疑似的に濃度の濃淡を疑似的に表現するためのドットを作り出す元となるディザパターンを構成する単位領域であり、これをベースマトリクスと称するものとする。図4に示す各ベースマトリクスを構成するドット内に記載された番号は、当該ベースマトリクス全体としての濃度を濃くする場合に、ドットの階調を変更する順番を示す成長順位を示す。図4に示す例では、各ベースマトリクスは、32個のドットで構成されているので、上述の成長順位として0〜31が割り当てられている。また、図4に示すように、各ペースマトリクスを構成する各ドットの成長順位は、共通である。すなわち、特定のベースマトリクス内の特定の位置のドットの番号と、異なるベースマトリクス内の同一の位置のドットの番号とは同一となる。また、ドットの階調を変更するためには、例えば、1ドットの露光量を1ビット、2ビットまたは4ビット等で表現することにより、段階的な露光量の変更によってドットの濃淡表現が可能となる。そして、この濃淡(露光量)の各段階を階層レベルと称し、各ドットで表現可能な階層レベルの数を階層レベル数と称するものとする。例えば、1ビットの場合は1段階、2ビットの場合は最大で3段階、4ビットの場合は最大で15段階の階層レベル数で濃淡表現が可能となる。また、例えば、階層レベル数が3(すなわち2ビット)の場合、図4に示す1つのベースマトリクスが表現可能な濃度の階調数は、(ベースマトリクス内のドット数)×(階層レベル数)=32×3=96[階調]となる。   The areas indicated by different hatching in FIG. 4 are dots for pseudo-expressing the density of the density when the printer device 120 prints on a print medium (hereinafter, simply described as paper). It is a unit area that constitutes the dither pattern that is the source of generation, and is referred to as a base matrix. The numbers described in the dots forming each base matrix shown in FIG. 4 indicate the growth order indicating the order in which the gradation of dots is changed when the density of the entire base matrix is increased. In the example shown in FIG. 4, since each base matrix is composed of 32 dots, 0 to 31 are assigned as the growth order. Further, as shown in FIG. 4, the growth order of each dot forming each pace matrix is common. That is, the dot number of a specific position in a specific base matrix and the dot number of the same position in a different base matrix are the same. In order to change the gradation of dots, for example, by expressing the exposure amount of 1 dot by 1 bit, 2 bits, or 4 bits, it is possible to express the density of dots by changing the exposure amount stepwise. Becomes Then, each level of this light and shade (exposure amount) is called a hierarchy level, and the number of hierarchy levels that can be represented by each dot is called a hierarchy level number. For example, it is possible to express light and shade with a hierarchy level number of 1 step for 1 bit, 3 steps at maximum for 2 bits, and 15 steps at maximum for 4 bits. Further, for example, when the number of hierarchy levels is 3 (that is, 2 bits), the number of gradations of the density that can be expressed by one base matrix shown in FIG. 4 is (the number of dots in the base matrix) × (the number of hierarchy levels). = 32 × 3 = 96 [gradation].

次に、上述の集約ディザマトリクスおよびディザサイズについて、図5および図6を参照しながら説明する。図5は、集約ディザマトリクスの一例を示す図である。図6は、ペースマトリクスの成長順を示すベースマトリクス順位情報の一例を示す図である。   Next, the above-mentioned aggregated dither matrix and dither size will be described with reference to FIGS. FIG. 5 is a diagram showing an example of the aggregated dither matrix. FIG. 6 is a diagram showing an example of base matrix rank information indicating the growth order of the pace matrix.

図5に示すように、図4に示すベースマトリクスを周期的に配置したものが集約ディザマトリクスである。図5に示す例では、ベースマトリクスを32個含む集約ディザマトリクス501を示している。この集約ディザマトリクスを単位として、濃淡の階調が段階的に切り替えて表現される。この集約ディザマトリクスのサイズを、ディザサイズと称するものとする。   As shown in FIG. 5, an aggregated dither matrix is one in which the base matrix shown in FIG. 4 is periodically arranged. In the example shown in FIG. 5, an aggregated dither matrix 501 including 32 base matrices is shown. Using this aggregate dither matrix as a unit, gradations of light and shade are switched and expressed step by step. The size of this aggregate dither matrix will be referred to as the dither size.

また、上述の成長順位についてはドットに対するものだけではなく、図6に示すように、ベースマトリクス単位でも成長順位が割り当てられている。この集約ディザマトリクスにおける各ベースマトリクスに割り当てられた成長順位の情報を、ベースマトリクス順位情報と称するものとする。図6に示すベースマトリクス順位情報502は、図5に示した集約ディザマトリクス501に対応するベースマトリクス順位情報である。図5に示す集約ディザマトリクス501では、32個のベースマトリクスで構成されているので、図6に示すように、ベースマトリクスの成長順位として0〜31が割り当てられている。   Further, the above-mentioned growth order is not only for dots but also for each base matrix as shown in FIG. The information on the growth rank assigned to each base matrix in the aggregate dither matrix is referred to as base matrix rank information. The base matrix rank information 502 shown in FIG. 6 is base matrix rank information corresponding to the aggregate dither matrix 501 shown in FIG. Since the aggregate dither matrix 501 shown in FIG. 5 is composed of 32 base matrices, 0 to 31 are assigned as the growth order of the base matrix as shown in FIG.

上述した図5に示す集約ディザマトリクス501では、96階調の濃度表現が可能なベースマトリクスを32個含むので、集約ディザマトリクス501全体として表現可能な濃度の階調数は、(ベースマトリクスが表現可能な濃度の階調数)×(ベースマトリクス数)=96×32=3072[階調]となる。なお、上述のベースマトリクス順位情報は、集約ディザマトリクスの情報に含まれるものとしてもよく、または、集約ディザマトリクスとは別の情報として管理されるものとしてもよい。   The above-described aggregated dither matrix 501 shown in FIG. 5 includes 32 base matrices capable of 96-density density expression. The number of possible density gradations × (the number of base matrices) = 96 × 32 = 3072 [gradation]. The base matrix rank information described above may be included in the information of the aggregated dither matrix, or may be managed as information different from the aggregated dither matrix.

次に、上述の成長ステップ階調について、図7を参照しながら説明する。図7は、成長ステップ階調を説明する図である。   Next, the above-mentioned growth step gradation will be described with reference to FIG. FIG. 7 is a diagram illustrating the growth step gradation.

図7では、階層レベル数を3(すなわち2ビット)とし、32個のベースマトリクスを周期的に配置した上述の集約ディザマトリクス501を用いて、すべてのベースマトリクスについて一様に成長させた場合の濃度の状態を示している。実際には、上述のように各ベースマトリクスにも成長順位が割り当てられているわけだが、図7では、すべてのベースマトリクスにおいて同位置のドットが一様に成長した場合の階調を示しており、この場合の階調を成長ステップ階調と称するものとする。すなわち、各成長ステップ階調における1ドットの成長は同一である。この成長ステップ階調の数(ステップ数)は、上述したベースマトリクスが表現可能な濃度の階調数と同じであり、96ステップである。すなわち、図7では、1〜96ステップの各成長ステップ階調の状態を示している。   In FIG. 7, the number of hierarchical levels is set to 3 (that is, 2 bits), and the above-mentioned aggregated dither matrix 501 in which 32 base matrices are periodically arranged is used to uniformly grow all the base matrices. The state of concentration is shown. Actually, the growth order is also assigned to each base matrix as described above, but FIG. 7 shows the gradation when dots at the same position are uniformly grown in all the base matrices. The gradation in this case is referred to as a growth step gradation. That is, the growth of one dot in each growth step gradation is the same. The number of growth step gradations (the number of steps) is the same as the number of gradations of the density that can be expressed by the base matrix, and is 96 steps. That is, FIG. 7 shows the state of each growth step gradation of 1 to 96 steps.

ここで、階調の変更による濃度特性について、1ステップ、2ステップ、3ステップのように、同じドットについての露光量の変更では、階層レベルによって露光量が異なる等の理由で、0ステップ(紙白)→1ステップ、1ステップ→2ステップ、2ステップ→3ステップ間の成長特性が異なる場合がある。また、2ステップ、5ステップ、・・・、89ステップ、92ステップ、95ステップのように、同じ階層レベルの成長でも、周囲のドットの埋められ方の違いによって周囲のドットの帯電の影響、および、隣接するドットのトナー潰れの影響等を受けて、各成長ステップ階調で成長特性が異なる場合もある。   Here, regarding the density characteristic due to the change of the gradation, when the exposure amount for the same dot is changed like 1 step, 2 steps, 3 steps, the exposure amount varies depending on the hierarchical level, and so on. White) → 1 step, 1 step → 2 steps, 2 steps → 3 steps may have different growth characteristics. Further, as in the case of 2 steps, 5 steps, ..., 89 steps, 92 steps, 95 steps, even in the growth of the same hierarchical level, the influence of the charging of the surrounding dots due to the difference in the way the surrounding dots are filled, and In some cases, the growth characteristics may be different in each growth step gradation due to the influence of toner crushing of adjacent dots.

ここで、集約ディザマトリクスを用いた場合における各成長ステップ階調の濃度特性について説明する。図8は、ディザ濃度特性グラフの一例を示す図である。ディザ濃度特性グラフは、集約ディザマトリクスを用いた場合における各成長ステップ階調において測色した場合の濃度のグラフである。図8に示すグラフにおいて、横軸は各成長ステップ階調(ステップ)であり、縦軸は濃度を示す。このうち、図8(a)は、0ステップ(紙白)から96ステップまでの濃度のグラフを示し、図8(b)は、このうち0ステップ〜12ステップの範囲を拡大したグラフである。図8(b)に示すように、各成長ステップ階調において濃度特性にばらつきがあることがわかる。   Here, the density characteristic of each growth step gradation when the aggregated dither matrix is used will be described. FIG. 8 is a diagram showing an example of a dither density characteristic graph. The dither density characteristic graph is a graph of density when colorimetry is performed at each growth step gradation when the aggregated dither matrix is used. In the graph shown in FIG. 8, the horizontal axis represents each growth step gradation (step) and the vertical axis represents the density. Of these, FIG. 8A shows a graph of the density from 0 step (white paper) to 96 steps, and FIG. 8B is a graph in which the range of 0 step to 12 steps is enlarged. As shown in FIG. 8B, it can be seen that the density characteristics vary among the growth step gradations.

従来の自動階調補正では、1枚の用紙に印字できるパッチ数が限られているので、例えば、6ステップおきの間隔で階調補正用のパッチを配した階調補正シートを用い、各パッチ間の階調の濃度特性については、図8(b)に示す破線のグラフのように補間して求めるものとしていた。しかし、実際には、図8(b)に示すように、各成長ステップ階調において濃度特性にばらつきがあるため、補間した濃度特性も実際の濃度特性とは異なっている場合がある。そのため、自動階調補正の結果に影響を与えてしまい、階調性が悪くなる場合がある。この階調性への悪影響を解消するための本実施形態の自動階調補正についての詳細は、後述する。   In the conventional automatic gradation correction, the number of patches that can be printed on one sheet is limited. Therefore, for example, a gradation correction sheet in which gradation correction patches are arranged at intervals of 6 steps is used, and each patch is used. The density characteristics of the gradation between are determined by interpolation as shown by the broken line graph in FIG. However, in reality, as shown in FIG. 8B, since the density characteristics vary among the growth step gradations, the interpolated density characteristics may differ from the actual density characteristics. Therefore, the result of the automatic gradation correction may be affected, and the gradation may deteriorate. The details of the automatic gradation correction of this embodiment for eliminating the adverse effect on the gradation will be described later.

図4に戻り、画像形成装置1の機能ブロックの説明を続ける。   Returning to FIG. 4, the description of the functional blocks of the image forming apparatus 1 will be continued.

階調数算出部202は、パターン情報取得部201により取得されたディザパターン情報を用いて、成長ステップ階調の数を算出する機能部である。例えば、ディザパターン情報に成長ステップ階調の数が含まれる場合、階調数算出部202は、ディザパターン情報から成長ステップ階調の数を抽出するものとすればよい。一方、ディザパターン情報に成長ステップ階調の数が含まれておらず、ペースマトリクスのドット数が含まれる場合、階調数算出部202は、ベースマトリクスのドット数に、階層レベル数を乗じることによって、成長ステップ階調の数を算出することができる。階調数算出部202により算出された成長ステップ階調の数は、後述する階調補正用パッチに含まれるパッチ数となる。   The gradation number calculation unit 202 is a functional unit that calculates the number of growth step gradations using the dither pattern information acquired by the pattern information acquisition unit 201. For example, when the number of growth step gradations is included in the dither pattern information, the gradation number calculation unit 202 may extract the number of growth step gradations from the dither pattern information. On the other hand, when the number of growth step gradations is not included in the dither pattern information and the number of dots in the pace matrix is included, the gradation number calculation unit 202 multiplies the number of dots in the base matrix by the number of hierarchical levels. Thus, the number of growth step gradations can be calculated. The number of growth step gradations calculated by the gradation number calculation unit 202 is the number of patches included in the gradation correction patch described later.

パッチサイズ算出部203は、印刷媒体である用紙のサイズまたは印刷可能範囲と、階調数算出部202により算出された成長ステップ階調の数とから、各成長ステップ階調に対応するパッチのサイズを算出する機能部である。   The patch size calculation unit 203 determines the size of the patch corresponding to each growth step gradation from the size or printable range of the paper as the print medium and the number of growth step gradations calculated by the gradation number calculation unit 202. Is a functional unit that calculates

パッチ生成部204は、パッチサイズ算出部203により算出された各成長ステップ階調のパッチのサイズにより当該各成長ステップ階調の濃度のパッチを生成し、生成した各パッチを連結した階調補正用パッチの印刷データを生成する機能部である。   The patch generation unit 204 generates a patch having the density of each growth step gradation by the size of the patch of each growth step gradation calculated by the patch size calculation unit 203, and connects the generated patches for gradation correction. It is a functional unit that generates patch print data.

パッチ印刷制御部205は、パッチ生成部204により生成された階調補正用パッチの印刷データにより、プリンタ装置120に対して用紙に印刷させる機能部である。   The patch print control unit 205 is a functional unit that causes the printer apparatus 120 to print on paper based on the print data of the gradation correction patch generated by the patch generation unit 204.

ここで、上述の各成長ステップ階調のパッチ、および階調補正用パッチについて、図9〜図11を参照しながら説明する。図9は、階調補正用の各ステップのパッチの一例を示す図である。図10は、階調補正用パッチの一例を示す図である。図11は、2列に分離した階調補正用パッチの一例を示す図である。   Here, the above-mentioned growth step gradation patches and gradation correction patches will be described with reference to FIGS. 9 to 11. FIG. 9 is a diagram showing an example of a patch at each step for gradation correction. FIG. 10 is a diagram showing an example of the gradation correction patch. FIG. 11 is a diagram showing an example of a tone correction patch separated into two columns.

図9に示す各パッチ601は、上述の図7に示した各成長ステップ階調の有効ドットを反映したパッチの画像であり、パッチサイズ算出部203により算出された同一のサイズとなっている。パッチ生成部204は、図9に示す各成長ステップ階調のパッチ601を連結して、図10に示すような階調補正用パッチ611を生成する。この階調補正用パッチ611の印刷データが、実際にプリンタ装置120により印刷されることになる。また、パッチ生成部204は、図10に示すように、階調補正用パッチ611の濃度が濃い側に隣接してダミーパッチ612を生成し、印刷データに含める。ダミーパッチ612は、パッチサイズ算出部203により算出されたサイズのパッチであり、濃度を取得するためのパッチではないダミーのパッチである。このダミーパッチ612は、後述する読込制御部206により生成された階調補正用パッチ611の読込画像から、パッチサイズ算出部203により算出されたサイズでパッチ分離部207により各成長ステップ階調のパッチを分離するために、階調補正用パッチ611の下端を検出するために利用される。すなわち、パッチ分離部207は、後述するように、まず、階調補正用パッチ611の下端に隣接するダミーパッチ612を検出することによって、階調補正用パッチ611の分離開始位置を検出する。また、ダミーパッチ612の濃度は、例えば、100%とすればよい。   Each patch 601 shown in FIG. 9 is an image of a patch in which the effective dots of each growth step gradation shown in FIG. 7 are reflected, and has the same size calculated by the patch size calculation unit 203. The patch generation unit 204 connects the patches 601 of the growth step gradations shown in FIG. 9 to generate a gradation correction patch 611 as shown in FIG. The print data of the gradation correction patch 611 is actually printed by the printer device 120. Further, as shown in FIG. 10, the patch generation unit 204 generates a dummy patch 612 adjacent to the dark side of the tone correction patch 611 and includes it in the print data. The dummy patch 612 is a patch of a size calculated by the patch size calculation unit 203, and is a dummy patch that is not a patch for acquiring the density. This dummy patch 612 has a size calculated by the patch size calculation unit 203 from the read image of the gradation correction patch 611 generated by the read control unit 206 described later, and a patch of each growth step gradation by the patch separation unit 207. Is used to detect the lower end of the tone correction patch 611 in order to separate. That is, as described later, the patch separation unit 207 first detects the separation start position of the gradation correction patch 611 by detecting the dummy patch 612 adjacent to the lower end of the gradation correction patch 611. The density of the dummy patch 612 may be 100%, for example.

また、各成長ステップ階調が多く、階調補正用パッチに含まれる各パッチのサイズが規定のサイズより下回る場合、すなわち、パッチサイズ算出部203により算出された各成長ステップ階調に対応するパッチのサイズが規定のサイズより下回る場合、パッチ生成部204は、図11に示すように、連結した階調補正用パッチを2列に分離して、階調補正用パッチ621a、621bを生成するようにしてもよい。この場合、階調補正用パッチ621aの濃度が濃い側(下端)に隣接してダミーパッチ622aを生成し、階調補正用パッチ621bの濃度が濃い側(下端)に隣接してダミーパッチ622bを生成すればよい。   Further, when there are many growth step gradations and the size of each patch included in the gradation correction patch is smaller than the specified size, that is, the patch corresponding to each growth step gradation calculated by the patch size calculation unit 203. If the size is smaller than the specified size, the patch generation unit 204 separates the connected tone correction patches into two rows to generate tone correction patches 621a and 621b, as shown in FIG. You can In this case, the dummy patch 622a is generated adjacent to the dark side (lower end) of the tone correction patch 621a, and the dummy patch 622b is adjacent to the dark side (lower end) of the tone correction patch 621b. Just generate it.

図4に戻り、画像形成装置1の機能ブロックの説明を続ける。   Returning to FIG. 4, the description of the functional blocks of the image forming apparatus 1 will be continued.

読込制御部206は、パッチ印刷制御部205の制御に基づいてプリンタ装置120により印刷された階調補正用パッチの用紙をスキャナ装置130により読み込ませる機能部である。読込制御部206は、図2に示すスキャナコントローラ110により実現(スキャナコントローラ110で実行されるプログラムにより実現)される。   The reading control unit 206 is a functional unit that causes the scanner device 130 to read the sheet of the gradation correction patch printed by the printer device 120 under the control of the patch printing control unit 205. The read control unit 206 is implemented by the scanner controller 110 shown in FIG. 2 (implemented by a program executed by the scanner controller 110).

パッチ分離部207は、読込制御部206の制御に基づいてスキャナ装置130により読み込まれた階調補正用パッチの読取画像について、階調補正用パッチに隣接するダミーパッチ(例えば図10に示すダミーパッチ612)を検出することによって分離開始位置を検出し、当該位置からパッチサイズ算出部203により算出されたサイズごとに各パッチに分離する機能部である。   The patch separation unit 207 determines a dummy patch (for example, the dummy patch shown in FIG. 10) adjacent to the tone correction patch for the read image of the tone correction patch read by the scanner device 130 under the control of the reading control unit 206. 612), the separation start position is detected, and the patch is separated into each patch for each size calculated by the patch size calculation unit 203 from the position.

ここで、パッチ分離部207により分離されたパッチは、理想的には、各成長ステップ階調に対応したパッチとなるが、正確に各成長ステップ階調のパッチの境界で分離できていない可能性を考慮し、分離した各パッチの縦横の両端部分の数画素を除去する動作を、図12を参照しながら説明する。図12は、分離した各成長ステップ階調のパッチにおいて除外する領域の一例を示す図である。   Here, the patch separated by the patch separation unit 207 is ideally a patch corresponding to each growth step gradation, but it may not be accurately separated at the boundary of the patch of each growth step gradation. In consideration of the above, the operation of removing several pixels at both vertical and horizontal ends of each separated patch will be described with reference to FIG. FIG. 12 is a diagram showing an example of regions to be excluded in the patches of the separated growth step gradations.

例えば、図12に示す分離パッチ631が、パッチ分離部207によって分離されたパッチであるものとすると、パッチ分離部207は、分離パッチ631における縦横の両端部分の数画素の領域631aを除去して、新たに分離後のパッチとする。これによって、各成長ステップ階調に対応するパッチとしての精度の高い特性値を取得することが可能となる。なお、図12に示すように、分離パッチ631の縦および横の双方の両端部分の領域を除去することに限定されるものではなく、パッチの境界で正確に分離できていない可能性があるのは縦方向での境界であるため、縦方向の両端部分の数画素のみを除去するものとしてもよい。   For example, assuming that the separation patch 631 shown in FIG. 12 is a patch separated by the patch separation unit 207, the patch separation unit 207 removes a region 631a of several pixels at both vertical and horizontal end portions of the separation patch 631. , And a new patch after separation. This makes it possible to acquire highly accurate characteristic values as a patch corresponding to each growth step gradation. Note that, as shown in FIG. 12, it is not limited to removing both vertical and horizontal end portions of the separation patch 631, and there is a possibility that the separation cannot be accurately separated at the boundary of the patch. Since is a boundary in the vertical direction, only some pixels at both ends in the vertical direction may be removed.

特性取得部208は、パッチ分離部207により分離された各成長ステップ階調に対応するパッチの画像から、特性値としての濃度を取得する機能部である。なお、特性値としては濃度に限定されるものではなく、例えば、明度であったり、または、独自のデジタル値等であってもよい。または、最も濃度が高いパッチの値を100、紙白のパッチの値を0とした場合の濃度または明度の割合を特性値として取得するものとしてもよい。   The characteristic acquisition unit 208 is a functional unit that acquires the density as the characteristic value from the image of the patch corresponding to each growth step gradation separated by the patch separation unit 207. It should be noted that the characteristic value is not limited to the density, and may be, for example, the lightness or a unique digital value. Alternatively, when the value of the patch having the highest density is 100 and the value of the paper white patch is 0, the density or the ratio of lightness may be acquired as the characteristic value.

ドット特性算出部209は、各成長ステップ階調のパッチの特性値と、1つ前の成長ステップ階調のパッチの特性値との差を算出し、当該差を、集約ディザマトリクスに含まれるベースマトリクスの数で割ることにより、各成長ステップ階調における1ドットの成長特性を算出する機能部である。ここで、上述の差、および各成長ステップ階調における1ドットの成長特性の例を、下記の(表1)に示す。   The dot characteristic calculation unit 209 calculates a difference between the characteristic value of the patch of each growth step gradation and the characteristic value of the patch of the immediately preceding growth step gradation, and the difference is calculated as a base included in the aggregated dither matrix. It is a functional unit that calculates the growth characteristics of one dot at each growth step gradation by dividing by the number of matrices. Here, an example of the above-mentioned difference and the growth characteristics of one dot at each growth step gradation is shown in (Table 1) below.

特性取得部208により取得された各成長ステップ階調に対応するパッチの特性値が、(表1)における「成長ステップ階調特性値」に相当する。ドット特性算出部209により算出される各成長ステップ階調のパッチの特性値と、1つ前の成長ステップ階調のパッチの特性値との差が、(表1)における「成長ステップ階調成長値」に相当する。そして、ドット特性算出部209により当該差を、集約ディザマトリクスに含まれるベースマトリクスの数((表1)の例では32)で割ることにより算出された各成長ステップ階調における1ドットの成長特性が、(表1)における「成長ステップ1ドット特性値」に相当する。   The characteristic value of the patch corresponding to each growth step gradation acquired by the characteristic acquisition unit 208 corresponds to the “growth step gradation characteristic value” in (Table 1). The difference between the characteristic value of the patch of each growth step gradation calculated by the dot characteristic calculation unit 209 and the characteristic value of the patch of the previous growth step gradation is “Growth step gradation growth” in (Table 1). Value. Then, the dot characteristic calculation unit 209 divides the difference by the number of base matrices included in the aggregated dither matrix (32 in the example of (Table 1)) to calculate the growth characteristic of one dot at each growth step gradation. Corresponds to the “growth step 1 dot characteristic value” in (Table 1).

階調特性算出部210は、本実施形態に係る自動階調補正処理により補正する各階調の特性値(濃度等)についての目標値を満たす成長ステップ階調、および、当該成長ステップ階調における必要なドット数を算出する機能部である。各階調の目標値は、例えば、画像形成装置1のメーカにより予め定められているものとすればよい。以下、この目標値を満たす(目標値を超過する)成長ステップ階調、および、当該成長ステップ階調における必要なドット数を、「階調特性」と称する場合がある。ここで、自動階調補正処理により補正する各階調の特性値(濃度等)についての目標値、上述の階調特性、および、階調特性を求めるために必要となる値等をまとめたものを、下記の(表2)に示す。   The gradation characteristic calculation unit 210 is a growth step gradation that satisfies a target value of a characteristic value (density, etc.) of each gradation to be corrected by the automatic gradation correction processing according to the present embodiment, and necessary for the growth step gradation. It is a functional unit that calculates the number of different dots. The target value of each gradation may be set in advance by the manufacturer of the image forming apparatus 1, for example. Hereinafter, the growth step gradation that satisfies the target value (exceeds the target value) and the required number of dots in the growth step gradation may be referred to as “gradation characteristics”. Here, the target values for the characteristic values (density, etc.) of each gradation to be corrected by the automatic gradation correction process, the above-mentioned gradation characteristics, and the values necessary for obtaining the gradation characteristics are summarized. , As shown in (Table 2) below.

(表2)における「目標値」は、本実施形態に係る自動階調補正処理により補正する各階調の特性値(濃度等)についての目標値である。本実施形態に係る自動階調補正処理により補正する階調の数は256(0階調〜255階調)であるものとして説明する。なお、当該階調の数は、256に限定されるものではなく、その他の階調の数であってもよい。   The “target value” in (Table 2) is a target value for the characteristic value (density etc.) of each gradation corrected by the automatic gradation correction processing according to the present embodiment. It is assumed that the number of gradations corrected by the automatic gradation correction processing according to the present embodiment is 256 (0 gradation to 255 gradations). Note that the number of gradations is not limited to 256 and may be other gradations.

(表2)における「目標値超過成長ステップ階調」とは、階調特性のうち、目標値を満たす(目標値を超過する)成長ステップ階調のことを示す。また、(表2)における「目標値超過前成長ステップ階調特性値」とは、「目標値超過成長ステップ階調」の1つ前の成長ステップ階調の特性値を示す。例えば、「目標値超過成長ステップ階調」が3ステップである場合の「目標値超過前成長ステップ階調特性値」は、1つ前の成長ステップ階調である2ステップでの特性値である「0.910」となる。   The “target value excess growth step gradation” in (Table 2) indicates a growth step gradation that satisfies the target value (exceeds the target value) in the gradation characteristics. In addition, the "growth step gradation characteristic value before target value excess" in (Table 2) indicates the characteristic value of the growth step gradation one before the "target value excess growth step gradation". For example, when the “target value excess growth step gradation” is 3 steps, the “growth step gradation characteristic value before target value excess” is a characteristic value in 2 steps which is the growth step gradation one before. It becomes "0.910".

(表2)における「目標値超過成長ステップ1ドット特性値」とは、「目標値超過成長ステップ階調」に対応する「成長ステップ1ドット特性値」を示す。例えば、「目標値超過成長ステップ階調」が4ステップである場合、対応する「成長ステップ1ドット特性値」は(表1)から「0.000625」であるので、これが「目標値超過成長ステップ1ドット特性値」となる。   The “target value excess growth step 1 dot characteristic value” in (Table 2) indicates the “growth step 1 dot characteristic value” corresponding to the “target value excess growth step gradation”. For example, when the "target value excess growth step gradation" is 4 steps, the corresponding "growth step 1 dot characteristic value" is "0.000625" from (Table 1). 1 dot characteristic value ”.

(表2)における「目標値超過成長ステップ必要ドット数」とは、「目標値超過成長ステップ階調」の1つ前の成長ステップ階調の状態から、対応する階調の特性値が「目標値」を超えるのに必要な成長ドット数を示し、これは、階調特性のうち、上述した、目標値を満たす(目標値を超える)成長ステップ階調における必要なドット数に相当する。この「目標値超過成長ステップ必要ドット数」の算出方法については、後述の図13および図14で詳述する。   The "required number of dots in excess of target value overgrowth step" in (Table 2) means that the characteristic value of the corresponding gradation is "target" from the state of the growth step gradation immediately before the "over target value growth step gradation". The number of grown dots required to exceed the “value” is indicated, which corresponds to the required number of dots in the growth step gradation that satisfies the target value (exceeds the target value) among the gradation characteristics. The method of calculating the "target value excess growth step required dot number" will be described in detail later with reference to FIGS. 13 and 14.

(表2)における「予想特性値」とは、階調特性算出部210により算出された階調特性から予想される対象の階調の特性値を示す。また、(表2)における「予想特性値と目標値との差分」は、「予想特性値」と「目標値」との差である。   The “predicted characteristic value” in (Table 2) indicates the characteristic value of the target gradation predicted from the gradation characteristic calculated by the gradation characteristic calculation unit 210. The “difference between the expected characteristic value and the target value” in (Table 2) is the difference between the “estimated characteristic value” and the “target value”.

補正マトリクス生成部211は、階調特性算出部210により算出された階調特性、および、パターン情報取得部201により取得されたディザパターン情報に基づいて、階調補正ディザマトリクスを生成する機能部である。階調補正ディザマトリクスについては、後述の図13で詳述する。   The correction matrix generation unit 211 is a functional unit that generates a gradation correction dither matrix based on the gradation characteristics calculated by the gradation characteristic calculation unit 210 and the dither pattern information acquired by the pattern information acquisition unit 201. is there. The gradation correction dither matrix will be described in detail later with reference to FIG.

上述のパターン情報取得部201、階調数算出部202、パッチサイズ算出部203、パッチ生成部204、パッチ印刷制御部205、パッチ分離部207、特性取得部208、ドット特性算出部209、階調特性算出部210および補正マトリクス生成部211は、例えば、図2に示すプリンタコントローラ100のCPU101により実行されるプログラムにより実現される。なお、パターン情報取得部201、階調数算出部202、パッチサイズ算出部203、パッチ生成部204、パッチ印刷制御部205、パッチ分離部207、特性取得部208、ドット特性算出部209、階調特性算出部210および補正マトリクス生成部211の一部または全部は、ソフトウェアであるプログラムではなく、FPGA(Field−Programmable Gate Array)またはASIC(Application Specific Integrated Circuit)等のハードウェア回路によって実現されてもよい。   The pattern information acquisition unit 201, the gradation number calculation unit 202, the patch size calculation unit 203, the patch generation unit 204, the patch print control unit 205, the patch separation unit 207, the characteristic acquisition unit 208, the dot characteristic calculation unit 209, and the gradation described above. The characteristic calculation unit 210 and the correction matrix generation unit 211 are realized, for example, by a program executed by the CPU 101 of the printer controller 100 shown in FIG. The pattern information acquisition unit 201, the gradation number calculation unit 202, the patch size calculation unit 203, the patch generation unit 204, the patch print control unit 205, the patch separation unit 207, the characteristic acquisition unit 208, the dot characteristic calculation unit 209, and the gradation. Part or all of the characteristic calculation unit 210 and the correction matrix generation unit 211 may be realized by a hardware circuit such as an FPGA (Field-Programmable Gate Array) or an ASIC (Application Specific Integrated Circuit) instead of a program that is software. Good.

記憶部212は、ディザパターン情報、読込制御部206により取得された読込画像、ドット特性算出部209および階調特性算出部210の算出結果(1ドットの成長特性、および階調特性等)、ならびにパッチ生成部204により生成された階調補正用パッチの印刷データ等を記憶する機能部である。記憶部212は、図2に示すプリンタコントローラ100の記憶装置105により実現される。   The storage unit 212 stores the dither pattern information, the read image obtained by the read control unit 206, the calculation results of the dot characteristic calculation unit 209 and the gradation characteristic calculation unit 210 (growth characteristic of one dot, gradation characteristic, etc.), and It is a functional unit that stores print data and the like of the gradation correction patch generated by the patch generation unit 204. The storage unit 212 is realized by the storage device 105 of the printer controller 100 shown in FIG.

入力部213は、例えば、テンキーまたは専用キー等のユーザが操作入力およびデータ入力を受け付ける機能部である。入力部213は、図2に示す入出力装置140の入力装置141により実現される。   The input unit 213 is, for example, a functional unit such as a numeric keypad or a dedicated key that receives a user's operation input and data input. The input unit 213 is realized by the input device 141 of the input / output device 140 shown in FIG.

通信部214は、外部装置との間でデータ通信を行う機能部である。通信部214は、例えば、上述のディザパターン情報を外部装置から受信して、パターン情報取得部201へ送るものとしてもよい。通信部214は、図2に示す外部I/F150により実現される。   The communication unit 214 is a functional unit that performs data communication with an external device. The communication unit 214 may receive the above-mentioned dither pattern information from an external device and send it to the pattern information acquisition unit 201, for example. The communication unit 214 is realized by the external I / F 150 shown in FIG.

なお、図3に示した各機能部は、機能を概念的に示したものであって、このような構成に限定されるものではない。例えば、図3で独立した機能部として図示した複数の機能部を、1つの機能部として構成してもよい。一方、図3の1つの機能部が有する機能を複数に分離し、複数の機能部として構成するものとしてもよい。   It should be noted that each functional unit shown in FIG. 3 conceptually shows a function and is not limited to such a configuration. For example, a plurality of functional units illustrated as independent functional units in FIG. 3 may be configured as one functional unit. On the other hand, the function of one functional unit in FIG. 3 may be divided into a plurality of functions and configured as a plurality of functional units.

(画像形成装置の自動階調補正処理の流れ)
図13は、実施形態に係る画像形成装置の自動階調補正処理の流れの一例を示すフローチャートの一例である。図14は、目標値を超過した成長ステップ階調、および当該成長ステップ階調における必要なドット数の一例を示す図である。図13および図14を参照しながら、本実施形態に係る画像形成装置1の自動階調補正処理の流れについて説明する。
(Flow of automatic gradation correction processing of the image forming apparatus)
FIG. 13 is an example of a flowchart showing an example of the flow of automatic gradation correction processing of the image forming apparatus according to the embodiment. FIG. 14 is a diagram showing an example of a growth step gradation that exceeds a target value and a required number of dots in the growth step gradation. The flow of automatic gradation correction processing of the image forming apparatus 1 according to this embodiment will be described with reference to FIGS. 13 and 14.

<ステップS11>
パターン情報取得部201は、成長ステップ階調の数、階層レベル数、ベースマトリクス数、集約ディザマトリクスおよびディザサイズ等を含むディザパターン情報を取得する。そして、ステップS12へ移行する。
<Step S11>
The pattern information acquisition unit 201 acquires dither pattern information including the number of growth step gradations, the number of hierarchical levels, the number of base matrices, the aggregate dither matrix, the dither size, and the like. Then, the process proceeds to step S12.

<ステップS12>
階調数算出部202は、パターン情報取得部201により取得されたディザパターン情報を用いて、成長ステップ階調の数を算出する。階調数算出部202により算出された成長ステップ階調の数は、階調補正用パッチに含まれるパッチ数となる。そして、ステップS13へ移行する。
<Step S12>
The gradation number calculation unit 202 calculates the number of growth step gradations using the dither pattern information acquired by the pattern information acquisition unit 201. The number of growth step gradations calculated by the gradation number calculation unit 202 is the number of patches included in the gradation correction patch. Then, the process proceeds to step S13.

<ステップS13>
パッチサイズ算出部203は、印刷媒体である用紙のサイズまたは印刷可能範囲と、階調数算出部202により算出された成長ステップ階調の数とから、各成長ステップ階調に対応するパッチのサイズを算出する。そして、ステップS14へ移行する。
<Step S13>
The patch size calculation unit 203 determines the size of the patch corresponding to each growth step gradation from the size or printable range of the paper as the print medium and the number of growth step gradations calculated by the gradation number calculation unit 202. To calculate. Then, the process proceeds to step S14.

<ステップS14>
パッチ生成部204は、パッチサイズ算出部203により算出された各成長ステップ階調のパッチのサイズにより当該各成長ステップ階調の濃度のパッチを生成し、生成した各パッチを連結した階調補正用パッチの印刷データを生成する。また、パッチ生成部204は、階調補正用パッチから各成長ステップ階調のパッチを分離するために用いるダミーパッチを生成し、印刷データに含める。そして、ステップS15へ移行する。
<Step S14>
The patch generation unit 204 generates a patch having a density of each growth step gradation by the size of the patch of each growth step gradation calculated by the patch size calculation unit 203, and connects the generated patches for gradation correction. Generate print data for the patch. In addition, the patch generation unit 204 generates a dummy patch used to separate the patch of each growth step gradation from the gradation correction patch, and includes it in the print data. Then, the process proceeds to step S15.

<ステップS15>
パッチ印刷制御部205は、パッチ生成部204により生成された階調補正用パッチの印刷データにより、プリンタ装置120に対して用紙に印刷させる。そして、ステップS16へ移行する。
<Step S15>
The patch print control unit 205 causes the printer device 120 to print on a sheet based on the print data of the gradation correction patch generated by the patch generation unit 204. Then, the process proceeds to step S16.

<ステップS16>
読込制御部206は、パッチ印刷制御部205の制御に基づいてプリンタ装置120により印刷された階調補正用パッチの用紙をスキャナ装置130により読み込まて、階調補正用パッチの読取画像を得る。そして、ステップS17へ移行する。
<Step S16>
The reading control unit 206 reads the sheet of the gradation correction patch printed by the printer device 120 by the scanner device 130 under the control of the patch printing control unit 205, and obtains the read image of the gradation correction patch. Then, the process proceeds to step S17.

<ステップS17>
パッチ分離部207は、読込制御部206の制御に基づいてスキャナ装置130により読み込まれた階調補正用パッチの読取画像について、階調補正用パッチに隣接するダミーパッチを検出することによって分離開始位置を検出し、当該位置からパッチサイズ算出部203により算出されたサイズごとに各パッチに分離する。パッチ分離部207により分離されたパッチは、各成長ステップ階調に対応したパッチとなる。また、パッチ分離部207は、分離した各パッチにおける縦横の両端部分の数画素の領域を除去して、新たに分離後のパッチとする。そして、ステップS18へ移行する。
<Step S17>
The patch separation unit 207 detects the dummy patch adjacent to the gradation correction patch in the read image of the gradation correction patch read by the scanner device 130 based on the control of the reading control unit 206, thereby detecting the separation start position. Is detected, and each patch is separated from the position by the size calculated by the patch size calculation unit 203. The patches separated by the patch separation unit 207 are patches corresponding to each growth step gradation. Further, the patch separation unit 207 removes the regions of several pixels at both vertical and horizontal end portions of each separated patch to obtain a new separated patch. Then, the process proceeds to step S18.

<ステップS18>
特性取得部208は、パッチ分離部207により分離された各成長ステップ階調に対応するパッチの画像から、特性値としての濃度を取得するなお、特性値としては濃度に限定されるものではなく、例えば、明度であったり、または、独自のデジタル値等であってもよい。または、最も濃度が高いパッチの値を100、紙白のパッチの値を0とした場合の濃度または明度の割合を特性値として取得するものとしてもよい。そして、ステップS19へ移行する。
<Step S18>
The characteristic acquiring unit 208 acquires the density as the characteristic value from the image of the patch corresponding to each growth step gradation separated by the patch separating unit 207. The characteristic value is not limited to the density. For example, it may be brightness or a unique digital value or the like. Alternatively, the ratio of the density or the brightness when the value of the patch with the highest density is 100 and the value of the patch of paper white is 0 may be acquired as the characteristic value. Then, the process proceeds to step S19.

<ステップS19>
ドット特性算出部209は、各成長ステップ階調のパッチの特性値と、1つ前の成長ステップ階調のパッチの特性値との差を算出し、当該差を、集約ディザマトリクスに含まれるベースマトリクスの数で割ることにより、各成長ステップ階調における1ドットの成長特性を算出する。そして、ステップS20へ移行する。
<Step S19>
The dot characteristic calculation unit 209 calculates a difference between the characteristic value of the patch of each growth step gradation and the characteristic value of the patch of the immediately preceding growth step gradation, and the difference is calculated as a base included in the aggregated dither matrix. By dividing by the number of matrices, the growth characteristic of one dot at each growth step gradation is calculated. Then, the process proceeds to step S20.

<ステップS20>
階調特性算出部210は、階調特性として、本実施形態に係る自動階調補正処理により補正する各階調の特性値(濃度等)についての目標値を満たす(目標値を超過する)成長ステップ階調、および、当該成長ステップ階調における必要なドット数を算出する。この算出動作について、図14を参照しながら具体的に説明する。
<Step S20>
The gradation characteristic calculation unit 210 satisfies a target value (exceeds the target value) as a gradation characteristic for a characteristic value (density or the like) of each gradation to be corrected by the automatic gradation correction processing according to the present embodiment. The gradation and the required number of dots in the growth step gradation are calculated. This calculation operation will be specifically described with reference to FIG.

例えば、上述の(表2)に示した0〜255階調のうち、10階調を例にして説明する。階調特性算出部210は、10階調の目標値は「0.108000」であるので、当該目標値を超過する成長ステップ階調は(表1)に示すように4ステップであり、その特性値は「0.1200」であることを特定する。そして、階調特性算出部210は、4ステップの1つ前のステップである3ステップに着目して当該ステップの特性値は、(表1)に示すように、「0.1000」であることを特定する。また、4ステップの成長ステップ階調における1ドットの成長特性は、ドット特性算出部209により「0.000625」と算出されている。ここで、成長ステップ階調が3ステップである場合の濃淡表現を示した画像(集約ディザマトリクスのサイズに対応する画像)を、図14(a)に示す。   For example, of the 0 to 255 gradations shown in (Table 2) above, 10 gradations will be described as an example. Since the target value of 10 gradations is “0.108000”, the gradation characteristic calculation unit 210 has four growth step gradations that exceed the target value, as shown in (Table 1), and its characteristics. It specifies that the value is "0.1200". Then, the gradation characteristic calculation unit 210 pays attention to 3 steps which is one step before 4 steps, and the characteristic value of the step is “0.1000” as shown in (Table 1). Specify. Further, the growth characteristic of 1 dot in the growth step gradation of 4 steps is calculated as “0.000625” by the dot characteristic calculation unit 209. Here, FIG. 14A shows an image (an image corresponding to the size of the aggregated dither matrix) showing a grayscale expression when the growth step gradation is 3 steps.

次に、階調特性算出部210は、3ステップの特性値「0.1000」((表2)では「0.100000」と表記)に、4ステップの1ドットの成長特性である「0.000625」を加算していく。ここで、図14(b)に、3ステップの特性値「0.1000」に、4ステップにおける12ドット分の1ドットの成長特性を加算した状態の濃淡表現を示した画像を示す。この状態では、予想特性値(図14(b)では「予測値」と表記)が、0.1000+0000625×12=0.107500であるので、10階調の目標値「0.108000」に対して未達である。   Next, the gradation characteristic calculation unit 210 uses the characteristic value of “0.1000” in three steps (indicated as “0.100000” in (Table 2)) and “0. "000625" is added. Here, FIG. 14B shows an image showing a grayscale expression in a state where the growth characteristic of 1 dot for 12 dots in 4 steps is added to the characteristic value “0.1000” in 3 steps. In this state, the predicted characteristic value (indicated as “predicted value” in FIG. 14B) is 0.1000 + 0000625 × 12 = 0.107500, so that the target value “0.108000” for 10 gradations is obtained. Not achieved.

そして、図14(c)に、図14(b)の状態からさらに1ドットの成長特性を加算、すなわち、3ステップの特性値「0.1000」に、4ステップにおける13ドット分の1ドットの成長特性を加算した状態の濃淡表現を示した画像を示す。この状態では、階調特性算出部210は、予想特性値を0.1000+0000625×13=0.108125と算出し、10階調の目標値「0.108000」に対して超過したことを検出する。そして、階調特性算出部210は、10階調における目標値を超過する成長ステップ階調である4ステップ、および、当該4ステップにおける必要なドット数としての13ドットを、10階調における階調特性として算出する。   Then, the growth characteristic of 1 dot is added to the state of FIG. 14 (b) to FIG. 14 (c), that is, the characteristic value “0.1000” of 3 steps corresponds to 1 dot of 13 dots in 4 steps. The image which showed the gradation expression of the state which added the growth characteristic is shown. In this state, the gradation characteristic calculation unit 210 calculates the expected characteristic value as 0.1000 + 0000625 × 13 = 0.108125, and detects that the target value “0.108000” for 10 gradations is exceeded. Then, the gradation characteristic calculation unit 210 sets the four gradations, which are the growth step gradations that exceed the target value in the ten gradations, and the 13 dots as the required number of dots in the four steps, to the gradations in the ten gradations. Calculate as a characteristic.

階調特性算出部210は、各階調で算出した階調特性を、記憶部212に記憶させる。なお、階調特性に含まれる、補正する各階調の特性値についての目標値を満たす成長ステップ階調としては、目標値を超過する成長ステップ階調としたが、これに限定されるものではなく、目標値を超過する直前の成長ステップ階調であってもよい。そして、ステップS21へ移行する。   The gradation characteristic calculation unit 210 stores the gradation characteristic calculated for each gradation in the storage unit 212. It should be noted that the growth step gradation that exceeds the target value is defined as the growth step gradation that satisfies the target value of the characteristic value of each gradation to be corrected included in the gradation characteristics, but the invention is not limited to this. The growth step gradation immediately before the target value is exceeded may be used. Then, the process proceeds to step S21.

なお、図14(c)に示したように、予想特性値が目標値を超過した時のドット数を、目標値を超過する成長ステップ階調における必要なドット数としているが、これに限定されるものではなく、予想特性値が目標値を超過する直前のドット数としてもよく、または、超過した時の予想特性値と目標値との差、および、超過する直前の予想特性値と目標値との差のうち小さい方に対応するドット数としてもよい。   Note that, as shown in FIG. 14C, the number of dots when the predicted characteristic value exceeds the target value is set as the required number of dots in the growth step gradation that exceeds the target value, but is not limited to this. However, the number of dots immediately before the expected characteristic value exceeds the target value may be used, or the difference between the expected characteristic value and the target value when the expected characteristic value is exceeded, and the expected characteristic value and the target value immediately before they are exceeded. The number of dots corresponding to the smaller one of the differences may be set.

<ステップS21>
補正マトリクス生成部211は、階調特性算出部210により算出された階調特性、パターン情報取得部201により取得されたディザパターン情報に含まれる集約ディザマトリクスおよびベースマトリクス順位情報に基づいて、階調補正ディザマトリクスを生成する。
<Step S21>
The correction matrix generation unit 211, based on the gradation characteristic calculated by the gradation characteristic calculation unit 210, the aggregate dither matrix and the base matrix rank information included in the dither pattern information acquired by the pattern information acquisition unit 201, the gradation Generate a corrected dither matrix.

階調補正ディザマトリクスの具体的構成としては、例えば、図5に示した集約ディザマトリクス501と同様の構成とし、マトリクス内の各ドットは、単一の値ではなく、階層レベル数だけの要素を有するベクトル値を有するものとする。例えば、階層レベル数が3である場合、マトリクスの各ドットは、第1成分、第2成分、第3成分の3つの成分を有するベクトル値を含む。第1成分は、第1段階の階層レベルに対応し、第2成分は、第2段階の階層レベルに対応し、第3成分は、第3段階の階層レベルに対応する。そして、集約ディザマトリクス501が示すドットの成長順位、および、ベースマトリクス順位情報502が示すベースマトリクスの成長順位に従って、上述の(表2)に示す補正の各階調について、階調が1つ上がった場合に、どのドットがどの段階に成長するか示すために、当該上がった階調の番号を、該当するドットのベクトル値の、該当する成分に格納する。例えば、(表2)の例では、1階調の場合、「目標値超過成長ステップ階調」が1であり、「目標値超過成長ステップ必要ドット数」が27であるので、ベースマトリクス順位情報502におけるベースマトリクスの成長順位が0〜26に対応する各ベースマトリクスにおける、ドットの成長順位が0に対応するベクトル値の第1成分に、階調の番号である「1」を格納する。   As a specific configuration of the gradation correction dither matrix, for example, a configuration similar to that of the aggregated dither matrix 501 shown in FIG. 5 is used. Have vector values. For example, when the number of hierarchical levels is 3, each dot of the matrix includes a vector value having three components of a first component, a second component and a third component. The first component corresponds to the first hierarchical level, the second component corresponds to the second hierarchical level, and the third component corresponds to the third hierarchical level. Then, in accordance with the growth order of the dots indicated by the aggregated dither matrix 501 and the growth order of the base matrix indicated by the base matrix order information 502, the gradation is increased by one for each correction gradation shown in (Table 2) above. In this case, in order to indicate which dot grows to which stage, the increased gradation number is stored in the corresponding component of the vector value of the corresponding dot. For example, in the example of (Table 2), in the case of one gradation, the “target value excess growth step gradation” is 1 and the “target value excess growth step required dot number” is 27, so the base matrix rank information The gradation number "1" is stored in the first component of the vector value corresponding to the dot growth order 0 in each base matrix corresponding to the base matrix growth order 0 to 26 in 502.

次に、1階調から階調が1つ上がった2階調になった場合、「目標値超過成長ステップ階調」が2であり、「目標値超過成長ステップ必要ドット数」が13であるので、ベースマトリクス順位情報502におけるベースマトリクスの成長順位が27〜31に対応する各ベースマトリクスにおける、ドットの成長順位が0に対応するベクトル値の第1成分に、階調の番号である「2」を格納する。さらに、ベースマトリクス順位情報502におけるベースマトリクスの成長順位が0〜13に対応する各ベースマトリクスにおける、ドットの成長順位が0に対応するベクトル値の第2成分にも、階調の番号である「2」を格納する。   Next, when there are two gradations, which is one gradation higher than one gradation, the “target value excess growth step gradation” is 2 and the “target value excess growth step required dot number” is 13. Therefore, in each base matrix corresponding to the growth order of the base matrix in the base matrix order information 502 of 27 to 31, the first component of the vector value corresponding to the dot growth order of 0 is the gradation number "2". Is stored. Further, the second component of the vector value corresponding to the dot growth order 0 in each of the base matrices corresponding to the base matrix growth order 0 to 13 in the base matrix order information 502 is also the gradation number. 2 ”is stored.

また、例えば、20階調から階調が1つ上がった21階調になった場合、20階調での「目標値超過成長ステップ階調」が5であり、「目標値超過成長ステップ必要ドット数」が27であり、21階調での「目標値超過成長ステップ階調」が6であり、「目標値超過成長ステップ必要ドット数」が5であるので、以下のように階調の番号を格納する。「目標値超過成長ステップ階調」が5であるということは、ドットの成長順位が1であるドットが第2段階から第3段階への成長段階にあることが分かる。したがって、ベースマトリクス順位情報502におけるベースマトリクスの成長順位が27〜31に対応する各ベースマトリクスにおける、ドットの成長順位が1に対応するベクトル値の第2成分に、階調の番号である「21」を格納する。さらに、ベースマトリクス順位情報502におけるベースマトリクスの成長順位が0〜4に対応する各ベースマトリクスにおける、ドットの成長順位が1に対応するベクトル値の第3成分に、階調の番号である「21」を格納する。以上のようにして、階調補正ディザマトリクスの各ドットに対応するベクトル値の各成分には、各階調の番号(0〜255)のいずれかが格納されることによって、階調補正ディザマトリクスが生成される。   Further, for example, when the gradation increases from 20 gradations by 1 to 21 gradations, the "target value excess growth step gradation" at 20 gradations is 5, and "target value excess growth step required dots" Since the "number" is 27, the "target value excess growth step gradation" at 21 gradations is 6, and the "target value excess growth step required dot number" is 5, the gradation number is as follows. To store. The fact that the “target value excess growth step gradation” is 5 means that the dot having the dot growth rank of 1 is in the growth stage from the second stage to the third stage. Therefore, the gradation number is “21” in the second component of the vector value corresponding to the dot growth rank of 1 in each base matrix corresponding to the base matrix growth rank of 27 to 31 in the base matrix rank information 502. Is stored. Furthermore, in each base matrix corresponding to the base matrix growth ranks 0 to 4 in the base matrix rank information 502, the third component of the vector value corresponding to the dot growth rank 1 is the gradation number “21”. Is stored. As described above, by storing any one of the gradation numbers (0 to 255) in each component of the vector value corresponding to each dot of the gradation correction dither matrix, the gradation correction dither matrix becomes Is generated.

そして、階調補正ディザマトリクスにより階調補正を行う場合、特定の階調で濃度表現をするとき、各ドットが有するベクトル値の各成分のうち、当該特性の階調以下の成分であってそのうちの最大の成分が示す階層レベルの濃度で表現するものとすればよい。例えば、特定のドットが有するベクトル値が(1,3,5)である場合に、4階調の濃度を表現するとき、4以下の成分である1、3のうちの最大の成分である3に対応する階層レベルである第2段階の濃度で当該特定のドットの濃度表現をするものとすればよい。また、210階調の濃度を表現するときは、210以下の成分である1、3、5のうちの最大の成分である5に対応する階層レベルである第3段階の濃度で当該特定のドットの濃度表現をするものとすればよい。   When performing gradation correction using the gradation correction dither matrix, when performing density expression at a specific gradation, among the components of the vector value that each dot has, the components that are below the gradation of the characteristic It may be expressed by the density of the hierarchical level indicated by the maximum component of. For example, when the vector value of a specific dot is (1, 3, 5), when expressing the density of 4 gradations, the maximum component of 3 which is the component of 4 or less is 3 It is sufficient to express the density of the specific dot with the density of the second stage which is the hierarchical level corresponding to. Further, when expressing the density of 210 gradations, the specific dot is represented by the density of the third stage which is the hierarchical level corresponding to the maximum component 5 of the components 1, 3 and 5 of 210 or less. The density expression may be expressed.

なお、以上のような階調補正ディザマトリクスの構成は一例であって、同様の趣旨で濃度を表現することができれば、どのような構成であってもよい。   Note that the configuration of the tone correction dither matrix as described above is an example, and any configuration may be used as long as the density can be expressed with the same purpose.

以後、プリンタコントローラ100は、この階調補正ディザマトリクスを用いて印刷データに対する階調補正を行ったうえで、プリンタ装置120に印刷処理を行わせる。この階調補正ディザマトリクスによる階調補正によって、印刷の濃淡表現を所定の階調数(上述の例では256の階調数)で正規化して補正する。例えば、階調数を256に正規化する場合は、集約ディザマトリクス全体として表現可能な濃度の階調数は512以上であることが望ましい。   After that, the printer controller 100 performs gradation correction on the print data using the gradation correction dither matrix, and then causes the printer device 120 to perform the printing process. By the gradation correction using this gradation correction dither matrix, the gradation expression of printing is normalized by a predetermined gradation number (256 gradation numbers in the above example) and corrected. For example, when normalizing the number of gradations to 256, it is desirable that the number of gradations of the density that can be expressed as the entire aggregated dither matrix is 512 or more.

以上のステップS11〜S21の流れで、画像形成装置1の自動階調補正処理が行われる。   The automatic gradation correction processing of the image forming apparatus 1 is performed through the flow of steps S11 to S21 described above.

以上のように、本実施形態に係る画像形成装置1は、各成長ステップ階調の濃度のパッチを連結した階調補正用パッチを生成して印刷出力し、印刷出力した階調補正用パッチを読み込んで、階調補正用パッチの画像を各成長ステップ階調に対応するパッチに分離する。そして、画像形成装置1は、分離した各成長ステップ階調のパッチの特性値を取得して、ペースマトリクスの数で割ることにより、各成長ステップ階調における1ドットの成長特性を算出する。そして、画像形成装置1は、補正する各階調の目標値に近似する成長ステップ階調、および当該成長ステップ階調での必要なドット数を算出して、これらに基づいて階調補正ディザマトリクスを生成するものとしている。これによって、特定の濃度で表現する場合に、限られた露光量(階層レベル)の範囲で、対応する成長ステップ階調から成長させるドット数の調整することによって、階調補正を行うことができる。この階調補正によって滑らかな階調性を保つことができ、かつ、各階調は階調特性によって区別されるので、補正後の階調数を維持することができる。また、階調の変化を露光量の調整だけで行う場合と比較して、ハード面でのコストを削減することができる。   As described above, the image forming apparatus 1 according to the present embodiment generates and prints the tone correction patch in which the patches of the density of each growth step tone are connected, and prints the tone correction patch. The image of the gradation correction patch is read and separated into patches corresponding to each growth step gradation. Then, the image forming apparatus 1 obtains the characteristic value of the separated patch of each growth step gradation and divides it by the number of pace matrices to calculate the growth characteristic of one dot at each growth step gradation. Then, the image forming apparatus 1 calculates the growth step gradation that approximates the target value of each gradation to be corrected, and the required number of dots in the growth step gradation, and based on these, creates the gradation correction dither matrix. It is supposed to be generated. Thereby, when expressing with a specific density, gradation correction can be performed by adjusting the number of dots to be grown from the corresponding growth step gradation within a limited exposure amount (hierarchical level) range. .. By this gradation correction, smooth gradation can be maintained, and since each gradation is distinguished by gradation characteristics, the number of gradations after correction can be maintained. In addition, it is possible to reduce the cost in terms of hardware, as compared with the case where the gradation is changed only by adjusting the exposure amount.

なお、上述の実施形態において、画像形成装置1(プリンタコントローラ100)の各機能部の少なくともいずれかがプログラムの実行によって実現される場合、そのプログラムは、ROM等に予め組み込まれて提供される。また、上述の実施形態に係る画像形成装置1(プリンタコントローラ100)で実行されるプログラムは、インストール可能な形式または実行可能な形式のファイルでCD−ROM(Compact Disc Read Only Memory)、フレキシブルディスク(FD)、CD−R(Compact Disk−Recordable)、またはDVD(Digital Versatile Disc)等のコンピュータで読み取り可能な記録媒体に記録して提供するように構成してもよい。また、上述の実施形態に係る画像形成装置1(プリンタコントローラ100)で実行されるプログラムを、インターネット等のネットワークに接続されたコンピュータ上に格納し、ネットワーク経由でダウンロードさせることにより提供するように構成してもよい。また、上述の実施形態に係る画像形成装置1(プリンタコントローラ100)で実行されるプログラムを、インターネット等のネットワーク経由で提供または配布するように構成してもよい。また、上述の実施形態の画像形成装置1(プリンタコントローラ100)で実行されるプログラムは、上述した各機能部のうち少なくともいずれかを含むモジュール構成となっており、実際のハードウェアとしてはCPU(CPU101)が上述の記憶装置(ROM102等)からプログラムを読み出して実行することにより、上述の各機能部が主記憶装置(RAM103等)上にロードされて生成されるようになっている。   In the above-described embodiment, when at least one of the functional units of the image forming apparatus 1 (printer controller 100) is realized by executing a program, the program is provided in advance in a ROM or the like. Further, the program executed by the image forming apparatus 1 (printer controller 100) according to the above-described embodiment is a file in an installable format or an executable format, which is a CD-ROM (Compact Disc Read Only Memory) or a flexible disk ( It may be configured to be recorded and provided on a computer-readable recording medium such as an FD), a CD-R (Compact Disk-Recordable), or a DVD (Digital Versatile Disc). Further, the program executed by the image forming apparatus 1 (printer controller 100) according to the above-described embodiment is stored in a computer connected to a network such as the Internet and is provided by being downloaded via the network. You may. The program executed by the image forming apparatus 1 (printer controller 100) according to the above-described embodiment may be provided or distributed via a network such as the Internet. Further, the program executed by the image forming apparatus 1 (printer controller 100) of the above-described embodiment has a module configuration including at least one of the above-described functional units, and the actual hardware is a CPU ( The CPU 101) reads the program from the above-mentioned storage device (ROM 102 or the like) and executes the program, so that the above-mentioned functional units are loaded onto the main storage device (RAM 103 or the like) and generated.

1 画像形成装置
11C、11M、11Y、11K 感光体ドラム
12C 帯電ローラ
13C 書込みレーザ光
14C 現像装置
15C、15M、15Y、15K 一次転写ローラ
16 中間転写ベルト
17 駆動ローラ
18C ドラムクリーニング装置
19 ベルトテンションローラ
20 二次転写ローラ
21 二次転写対向ローラ
22 レジストローラ対
23 定着装置
25 搬送経路
27 クリーニングバックアップローラ
28 ベルトクリーニング装置
100 プリンタコントローラ
101 CPU
102 ROM
103 RAM
104 I/F
105 記憶装置
110 スキャナコントローラ
111 読込データ生成装置
112 色変換装置
113 I/F
114 記憶装置
120 プリンタ装置
121 印刷装置
122 I/F
130 スキャナ装置
131 読取装置
132 I/F
140 入出力装置
141 入力装置
142 出力装置
143 I/F
150 外部I/F
160 バス
201 パターン情報取得部
202 階調数算出部
203 パッチサイズ算出部
204 パッチ生成部
205 パッチ印刷制御部
206 読込制御部
207 パッチ分離部
208 特性取得部
209 ドット特性算出部
210 階調特性算出部
211 補正マトリクス生成部
212 記憶部
213 入力部
214 通信部
501 集約ディザマトリクス
502 ベースマトリクス順位情報
601 パッチ
611 階調補正用パッチ
612 ダミーパッチ
621a、621b 階調補正用パッチ
622a、622b ダミーパッチ
631 分離パッチ
631a 領域
1 image forming apparatus 11C, 11M, 11Y, 11K photoconductor drum 12C charging roller 13C writing laser light 14C developing device 15C, 15M, 15Y, 15K primary transfer roller 16 intermediate transfer belt 17 drive roller 18C drum cleaning device 19 belt tension roller 20 Secondary transfer roller 21 Secondary transfer counter roller 22 Registration roller pair 23 Fixing device 25 Conveying path 27 Cleaning backup roller 28 Belt cleaning device 100 Printer controller 101 CPU
102 ROM
103 RAM
104 I / F
105 Storage Device 110 Scanner Controller 111 Read Data Generation Device 112 Color Conversion Device 113 I / F
114 storage device 120 printer device 121 printing device 122 I / F
130 Scanner Device 131 Reading Device 132 I / F
140 input / output device 141 input device 142 output device 143 I / F
150 External I / F
160 bus 201 pattern information acquisition unit 202 gradation number calculation unit 203 patch size calculation unit 204 patch generation unit 205 patch print control unit 206 read control unit 207 patch separation unit 208 characteristic acquisition unit 209 dot characteristic calculation unit 210 gradation characteristic calculation unit 210 211 correction matrix generation unit 212 storage unit 213 input unit 214 communication unit 501 aggregated dither matrix 502 base matrix rank information 601 patch 611 gradation correction patch 612 dummy patches 621a, 621b gradation correction patch 622a, 622b dummy patch 631 separation patch 631a area

特開2013−240952号公報JP, 2013-240952, A

Claims (10)

ディザマトリクスおよびディザ情報を取得する情報取得部と、
前記情報取得部により取得された前記ディザマトリクスおよび前記ディザ情報に基づいて、各成長ステップ階調のパッチを連結した階調補正用パッチを生成するパッチ生成部と、
印刷部に前記階調補正用パッチを印刷媒体に印刷させる印刷制御部と、
前記印刷媒体に印刷された前記階調補正用パッチが読取部により読み取られた画像から、前記各成長ステップ階調に対応するパッチに分離するパッチ分離部と、
前記パッチ分離部により分離された前記各パッチの特性値を取得する特性値取得部と、
前記各成長ステップ階調の前記パッチの特性値と、該各成長ステップ階調の1つ前の成長ステップ階調の前記パッチの特性値との差に基づいて、該各成長ステップ階調における1ドットの成長特性を算出するドット特性算出部と、
前記各成長ステップ階調における1ドットの成長特性に基づいて、各階調の目標値に近似する前記成長ステップ階調、および、該成長ステップ階調における必要な成長ドット数を算出する階調特性算出部と、
前記階調特性算出部の算出結果に基づいて、階調補正を行うための階調補正ディザマトリクスを生成する補正マトリクス生成部と、
を備えた画像形成装置。
An information acquisition unit that acquires a dither matrix and dither information,
A patch generation unit that generates a tone correction patch in which patches of each growth step tone are connected based on the dither matrix and the dither information acquired by the information acquisition unit;
A print control unit that causes the print unit to print the gradation correction patch on a print medium;
A patch separation unit that separates the gradation correction patch printed on the print medium from the image read by the reading unit into patches corresponding to the growth step gradations,
A characteristic value acquisition unit that acquires the characteristic value of each patch separated by the patch separation unit,
Based on the difference between the characteristic value of the patch at each growth step gradation and the characteristic value of the patch at the growth step gradation immediately before the respective growth step gradation, 1 A dot characteristic calculation unit that calculates dot growth characteristics,
Based on the growth characteristics of one dot in each growth step gradation, the growth step gradation that approximates the target value of each gradation and the gradation characteristic calculation that calculates the number of necessary growth dots in the growth step gradation Department,
A correction matrix generation unit that generates a gradation correction dither matrix for performing gradation correction based on the calculation result of the gradation characteristic calculation unit;
An image forming apparatus equipped with.
前記情報取得部は、ベースマトリクスごとのドットの成長順位を示す前記ディザマトリクス、および、少なくともドットにおける階層レベルの数を示す情報を含む前記ディザ情報を取得し、
前記パッチ生成部は、前記ディザマトリクスおよび前記ディザ情報に基づいて、前記各ベースマトリクスで同位置のドットが一様に成長した階調である前記成長ステップ階調それぞれの前記パッチを生成し、該パッチを連結することによって前記階調補正用パッチを生成する請求項1に記載の画像形成装置。
The information acquisition unit acquires the dither matrix indicating the growth order of dots for each base matrix, and the dither information including at least information indicating the number of hierarchical levels in dots,
The patch generation unit generates, based on the dither matrix and the dither information, the patch for each of the growth step gradations, which is the gradation in which dots at the same position in each of the base matrices uniformly grow, The image forming apparatus according to claim 1, wherein the gradation correction patch is generated by connecting patches.
前記ディザ情報に基づいて、前記成長ステップ階調の数を算出する階調数算出部と、
前記印刷媒体の印刷可能範囲と、前記階調数算出部により算出された前記成長ステップ階調の数とから、前記パッチのサイズを算出するサイズ算出部と、
をさらに備え、
前記パッチ生成部は、前記成長ステップ階調それぞれの前記パッチを、前記サイズ算出部により算出されたサイズとなるように生成する請求項1または2に記載の画像形成装置。
A gradation number calculation unit that calculates the number of the growth step gradations based on the dither information;
A printable range of the print medium, and a size calculation unit that calculates the size of the patch from the number of the growth step gradations calculated by the gradation number calculation unit;
Further equipped with,
The image forming apparatus according to claim 1, wherein the patch generation unit generates the patches for each of the growth step gradations so as to have a size calculated by the size calculation unit.
前記パッチ生成部は、前記階調補正用パッチと共に、前記パッチと同じ大きさであって該階調補正用パッチに隣接するダミーパッチを生成し、
前記印刷制御部は、前記印刷部に前記階調補正用パッチおよび前記ダミーパッチを印刷媒体に印刷させ、
前記パッチ分離部は、前記印刷媒体に印刷された前記階調補正用パッチが前記読取部により読み取られた画像について、前記ダミーパッチを検出することによって分離開始位置を検出し、該分離開始位置から前記各成長ステップ階調に対応する前記パッチに分離する請求項1〜3のいずれか一項に記載の画像形成装置。
The patch generation unit generates, together with the gradation correction patch, a dummy patch having the same size as the patch and adjacent to the gradation correction patch,
The print control unit causes the print unit to print the gradation correction patch and the dummy patch on a print medium,
The patch separation unit detects a separation start position by detecting the dummy patch in the image in which the gradation correction patch printed on the print medium is read by the reading unit, and from the separation start position, The image forming apparatus according to claim 1, wherein the image is separated into the patches corresponding to the growth step gradations.
前記パッチ分離部は、分離した前記パッチから少なくとも他のパッチの境界近傍の部分を除去する請求項1〜4のいずれか一項に記載の画像形成装置。   The image forming apparatus according to claim 1, wherein the patch separating unit removes at least a portion near a boundary of another patch from the separated patch. 前記印刷制御部は、前記補正マトリクス生成部により生成された前記階調補正ディザマトリクスを用いて印刷データに対する階調補正を行い、該印刷データを前記印刷部に印刷させる請求項1〜5のいずれか一項に記載の画像形成装置。   The print control unit performs gradation correction on print data using the gradation correction dither matrix generated by the correction matrix generation unit, and causes the print unit to print the print data. The image forming apparatus according to item 1. 前記特性値は、前記各成長ステップ階調に対応する前記パッチの濃度または明度である請求項1〜6のいずれか一項に記載の画像形成装置。   The image forming apparatus according to claim 1, wherein the characteristic value is a density or a lightness of the patch corresponding to each of the growth step gradations. 前記特性値は、前記各成長ステップ階調に対応する前記パッチの濃度割合または明度割合である請求項1〜6のいずれか一項に記載の画像形成装置。   The image forming apparatus according to claim 1, wherein the characteristic value is a density ratio or a lightness ratio of the patch corresponding to each of the growth step gradations. ディザマトリクスおよびディザ情報を取得する情報取得ステップと、
取得した前記ディザマトリクスおよび前記ディザ情報に基づいて、各成長ステップ階調のパッチを連結した階調補正用パッチを生成するパッチ生成ステップと、
印刷部に前記階調補正用パッチを印刷媒体に印刷させる印刷制御ステップと、
前記印刷媒体に印刷された前記階調補正用パッチが読取部により読み取られた画像から、前記各成長ステップ階調に対応するパッチに分離するパッチ分離ステップと、
分離した前記各パッチの特性値を取得する特性値取得ステップと、
前記各成長ステップ階調の前記パッチの特性値と、該各成長ステップ階調の1つ前の成長ステップ階調の前記パッチの特性値との差に基づいて、該各成長ステップ階調における1ドットの成長特性を算出するドット特性算出ステップと、
前記各成長ステップ階調における1ドットの成長特性に基づいて、各階調の目標値に近似する前記成長ステップ階調、および、該成長ステップ階調における必要な成長ドット数を算出する階調特性算出ステップと、
前記階調特性算出ステップの算出結果に基づいて、階調補正を行うための階調補正ディザマトリクスを生成する補正マトリクス生成ステップと、
を有する階調補正方法。
An information acquisition step of acquiring a dither matrix and dither information,
A patch generation step for generating a tone correction patch in which patches of each growth step tone are connected based on the obtained dither matrix and the dither information;
A print control step of causing the print section to print the gradation correction patch on a print medium;
A patch separation step of separating the gradation correction patch printed on the print medium from the image read by the reading unit into patches corresponding to the growth step gradations;
A characteristic value acquisition step of acquiring the characteristic value of each of the separated patches,
Based on the difference between the characteristic value of the patch at each growth step gradation and the characteristic value of the patch at the growth step gradation immediately before the respective growth step gradation, 1 A dot characteristic calculation step for calculating dot growth characteristics,
Based on the growth characteristics of one dot in each growth step gradation, the growth step gradation that approximates the target value of each gradation and the gradation characteristic calculation that calculates the number of necessary growth dots in the growth step gradation Steps,
A correction matrix generating step of generating a gradation correction dither matrix for performing gradation correction based on the calculation result of the gradation characteristic calculating step;
A gradation correction method having.
ディザマトリクスおよびディザ情報を取得する情報取得ステップと、
取得した前記ディザマトリクスおよび前記ディザ情報に基づいて、各成長ステップ階調のパッチを連結した階調補正用パッチを生成するパッチ生成ステップと、
印刷部に前記階調補正用パッチを印刷媒体に印刷させる印刷制御ステップと、
前記印刷媒体に印刷された前記階調補正用パッチが読取部により読み取られた画像から、前記各成長ステップ階調に対応するパッチに分離するパッチ分離ステップと、
分離した前記各パッチの特性値を取得する特性値取得ステップと、
前記各成長ステップ階調の前記パッチの特性値と、該各成長ステップ階調の1つ前の成長ステップ階調の前記パッチの特性値との差に基づいて、該各成長ステップ階調における1ドットの成長特性を算出するドット特性算出ステップと、
前記各成長ステップ階調における1ドットの成長特性に基づいて、各階調の目標値に近似する前記成長ステップ階調、および、該成長ステップ階調における必要な成長ドット数を算出する階調特性算出ステップと、
前記階調特性算出ステップの算出結果に基づいて、階調補正を行うための階調補正ディザマトリクスを生成する補正マトリクス生成ステップと、
をコンピュータに実行させるためのプログラム。
An information acquisition step of acquiring a dither matrix and dither information,
A patch generation step for generating a tone correction patch in which patches of each growth step tone are connected based on the obtained dither matrix and the dither information;
A print control step of causing the print section to print the gradation correction patch on a print medium;
A patch separation step of separating the gradation correction patch printed on the print medium from the image read by the reading unit into patches corresponding to the growth step gradations;
A characteristic value acquisition step of acquiring the characteristic value of each of the separated patches,
Based on the difference between the characteristic value of the patch at each growth step gradation and the characteristic value of the patch at the growth step gradation immediately before the respective growth step gradation, 1 A dot characteristic calculation step for calculating dot growth characteristics,
Based on the growth characteristics of one dot in each growth step gradation, the growth step gradation that approximates the target value of each gradation and the gradation characteristic calculation that calculates the number of necessary growth dots in the growth step gradation Steps,
A correction matrix generation step of generating a gradation correction dither matrix for performing gradation correction based on the calculation result of the gradation characteristic calculation step;
A program that causes a computer to execute.
JP2018209268A 2018-11-06 2018-11-06 Image forming device, gradation correction method and program Active JP7087929B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2018209268A JP7087929B2 (en) 2018-11-06 2018-11-06 Image forming device, gradation correction method and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2018209268A JP7087929B2 (en) 2018-11-06 2018-11-06 Image forming device, gradation correction method and program

Publications (2)

Publication Number Publication Date
JP2020077948A true JP2020077948A (en) 2020-05-21
JP7087929B2 JP7087929B2 (en) 2022-06-21

Family

ID=70724464

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018209268A Active JP7087929B2 (en) 2018-11-06 2018-11-06 Image forming device, gradation correction method and program

Country Status (1)

Country Link
JP (1) JP7087929B2 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006072173A (en) * 2004-09-06 2006-03-16 Fuji Xerox Co Ltd Printer and gradation correcting method thereof
JP2007068083A (en) * 2005-09-02 2007-03-15 Seiko Epson Corp Image processing system, printer, image processing apparatus, image processing method, control program and recording medium for recording the same
JP2014027649A (en) * 2012-06-22 2014-02-06 Ricoh Co Ltd Image forming apparatus
JP2014150515A (en) * 2013-01-08 2014-08-21 Ricoh Co Ltd Image forming apparatus
JP2016161851A (en) * 2015-03-04 2016-09-05 コニカミノルタ株式会社 Image formation device and test pattern generation method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006072173A (en) * 2004-09-06 2006-03-16 Fuji Xerox Co Ltd Printer and gradation correcting method thereof
JP2007068083A (en) * 2005-09-02 2007-03-15 Seiko Epson Corp Image processing system, printer, image processing apparatus, image processing method, control program and recording medium for recording the same
JP2014027649A (en) * 2012-06-22 2014-02-06 Ricoh Co Ltd Image forming apparatus
JP2014150515A (en) * 2013-01-08 2014-08-21 Ricoh Co Ltd Image forming apparatus
JP2016161851A (en) * 2015-03-04 2016-09-05 コニカミノルタ株式会社 Image formation device and test pattern generation method

Also Published As

Publication number Publication date
JP7087929B2 (en) 2022-06-21

Similar Documents

Publication Publication Date Title
JP4146987B2 (en) Image forming apparatus
JP5840159B2 (en) Image forming apparatus
JP5171165B2 (en) Image forming apparatus
JP4208442B2 (en) Image forming apparatus
JP2012242780A (en) Image forming apparatus and image forming method
JP2007006204A (en) Image forming device
JP5120402B2 (en) Image forming apparatus and image forming method
JP2010085744A (en) Image forming apparatus and gradation characteristic correction method
JP6115813B2 (en) Image forming apparatus
US7796150B2 (en) Image forming apparatus with multi-color dot image formation
JP4558022B2 (en) Image processing apparatus and image forming apparatus
JP7087929B2 (en) Image forming device, gradation correction method and program
JP2007088561A (en) Image processor and processing method
JP6776514B2 (en) Image formation system
JP2005331980A (en) Image forming device
JP2008114481A (en) Control device, image forming apparatus, image forming system, method for calibration, and program
JP3790738B2 (en) Composite copier having printer output function
JP2014027649A (en) Image forming apparatus
US11960218B2 (en) Image forming and correction apparatus
JP5807504B2 (en) Image forming apparatus
JP6604767B2 (en) Image forming apparatus
JP5932730B2 (en) Image forming apparatus
JP6859632B2 (en) Image forming apparatus, image forming system and image density correction method
JP6099621B2 (en) Image forming apparatus
JP4507107B2 (en) Image processing apparatus and image processing method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20210806

TRDD Decision of grant or rejection written
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20220509

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20220510

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20220523

R151 Written notification of patent or utility model registration

Ref document number: 7087929

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151