JP2006305958A - Printer, computer program, and printing method - Google Patents

Printer, computer program, and printing method Download PDF

Info

Publication number
JP2006305958A
JP2006305958A JP2005133703A JP2005133703A JP2006305958A JP 2006305958 A JP2006305958 A JP 2006305958A JP 2005133703 A JP2005133703 A JP 2005133703A JP 2005133703 A JP2005133703 A JP 2005133703A JP 2006305958 A JP2006305958 A JP 2006305958A
Authority
JP
Japan
Prior art keywords
density
reading
pattern
printing
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2005133703A
Other languages
Japanese (ja)
Inventor
Masahiko Yoshida
昌彦 吉田
Keigo Yamazaki
啓吾 山▲崎▼
Tatsuya Nakano
龍也 中野
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.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
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 Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP2005133703A priority Critical patent/JP2006305958A/en
Publication of JP2006305958A publication Critical patent/JP2006305958A/en
Pending legal-status Critical Current

Links

Abstract

<P>PROBLEM TO BE SOLVED: To achieve a printer which can obtain more suitable information for making correction. <P>SOLUTION: Correction information for making correction to suppress density irregularities between train regions is acquired on the basis of the read result of a density of a center part in a movement direction in each train region where each dot train constituting a specific density pattern printed by discharging ink from nozzles on the basis of image data for printing an image of a specific density is formed. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は、画像の濃度ムラを抑制する印刷装置、コンピュータプログラム、及び、印刷方法に関する。   The present invention relates to a printing apparatus, a computer program, and a printing method for suppressing image density unevenness.

媒体としての用紙にインクを吐出して画像を形成する印刷装置として、インクジェットプリンタ(以下、プリンタという。)が知られている。このプリンタは、キャリッジの移動方向に移動する複数のノズルからインクを吐出して用紙にドットを形成するドット形成動作と、搬送ユニットにより前記用紙を前記移動方向と交差する交差方向(以下、搬送方向ともいう)に搬送する搬送動作とを交互に繰り返す。これにより、移動方向に沿う複数のドットから構成された複数のラスタラインが交差方向に複数形成され、画像が印刷される。(たとえば、特許文献1を参照)。このような、プリンタでは濃度ムラの発生を抑制するために、所定濃度にて印刷させた画像を読み取り、読み取った情報に基づいて印刷すべき画像の画像データを補正する場合がある。
特開平6−166247号公報
2. Related Art Inkjet printers (hereinafter referred to as printers) are known as printing apparatuses that form images by ejecting ink onto paper as a medium. The printer includes a dot forming operation in which ink is ejected from a plurality of nozzles moving in the carriage movement direction to form dots on a sheet, and a crossing direction (hereinafter referred to as a conveyance direction) in which the sheet is intersected with the movement direction by a conveyance unit. The transfer operation is also alternately repeated. Thereby, a plurality of raster lines composed of a plurality of dots along the moving direction are formed in the intersecting direction, and an image is printed. (For example, see Patent Document 1). In order to suppress the occurrence of density unevenness in such a printer, an image printed at a predetermined density may be read, and image data of an image to be printed may be corrected based on the read information.
JP-A-6-166247

しかしながら、上記のようなプリンタでは、用紙に吐出されたインクの滲み等により、画像の端部において、本来印刷すべき領域よりインクが広がってしまう畏れがある。このため、印刷された画像の領域は不明瞭であり、例えば、上記のように画像データを補正するために画像を読み取った際に、画像のエッジ部分において本来読み取られるべきでない領域まで読み取られることにより、補正をするための適切な情報が得られず、画像データを適切に補正することができない畏れがあるという課題があった。   However, in the printer as described above, there is a possibility that the ink spreads more than the area to be originally printed at the edge of the image due to bleeding of the ink discharged onto the paper. For this reason, the area of the printed image is unclear. For example, when the image is read to correct the image data as described above, the area that should not be read at the edge portion of the image is read. Thus, there is a problem that appropriate information for correction cannot be obtained and image data cannot be corrected appropriately.

本発明は、かかる課題に鑑みてなされたものであり、その目的とするところは、補正をするためのより適切な情報を得ることが可能な印刷装置、コンピュータプログラム、及び、印刷方法を実現することにある。   SUMMARY An advantage of some aspects of the invention is that it realizes a printing apparatus, a computer program, and a printing method capable of obtaining more appropriate information for correction. There is.

主たる発明は、所定方向に沿って複数設けられ、画像を印刷するための画像データに基づいて、前記所定方向と交差する移動方向に移動されつつインクを吐出して媒体にドット列を形成するためのノズルと、特定濃度の画像を印刷するための画像データに基づいて印刷された特定濃度パターンを構成する各ドット列における前記移動方向の中央部分の濃度の読み取り結果に基づいて補正情報を取得し、各々の前記ノズルにて前記移動方向に沿うドット列が形成された列領域間の濃度ムラを抑制すべく、前記補正情報に基づいて前記画像を印刷するための前記画像データを補正するためのコントローラと、を有することを特徴とする印刷装置である。   The main invention is to form a dot row on a medium by ejecting ink while being moved in a moving direction intersecting the predetermined direction based on image data for printing an image provided in plural along a predetermined direction. Correction information is acquired based on the result of reading the density of the central portion in the moving direction in each dot row constituting the specific density pattern printed based on the image data for printing the image of the specific density and the nozzle of And correcting the image data for printing the image based on the correction information so as to suppress density unevenness between the row regions in which the dot rows along the moving direction are formed by the nozzles. And a controller.

本発明の他の特徴は、本明細書及び添付図面の記載により明らかにする。   Other features of the present invention will become apparent from the description of the present specification and the accompanying drawings.

本明細書の記載、及び添付図面の記載により、少なくとも次のことが明らかにされる。   At least the following will be made clear by the description of the present specification and the accompanying drawings.

所定方向に沿って複数設けられ、画像を印刷するための画像データに基づいて、前記所定方向と交差する移動方向に移動されつつインクを吐出して媒体にドット列を形成するためのノズルと、特定濃度の画像を印刷するための画像データに基づいて前記ノズルからインクを吐出させて印刷した特定濃度パターンを構成する各ドット列が形成された各列領域における、前記移動方向の中央部分の濃度の読み取り結果に基づいて、各々の前記列領域間の濃度ムラを抑制すべく補正するための補正情報を、取得し、前記補正情報に基づいて画像を印刷するための画像データを補正するためのコントローラと、を有することを特徴とする印刷装置。
このような印刷装置によれば、補正情報を取得する際には、特定濃度パターンを構成する各ドット列が形成された列領域の移動方向における中央部分の濃度の読み取り結果のみが用いられるので、取得される補正情報には、特定濃度パターンのエッジ付近における濃度の読み取り結果が含まれない。このため、補正するためのより適切な濃度の読み取り結果に基づいて適切な補正情報を得ることが可能である。
A plurality of nozzles provided along a predetermined direction, and based on image data for printing an image, ejecting ink while moving in a moving direction intersecting the predetermined direction to form a dot row on the medium; The density of the central portion in the moving direction in each row region in which each dot row forming a specific density pattern printed by ejecting ink from the nozzles based on image data for printing an image of a specific density is formed Correction information for correcting to suppress density unevenness between each of the row regions is acquired based on the read result, and image data for printing an image is corrected based on the correction information. And a controller.
According to such a printing apparatus, when acquiring the correction information, only the density reading result of the central portion in the moving direction of the row area in which each dot row constituting the specific density pattern is formed is used. The acquired correction information does not include the density reading result near the edge of the specific density pattern. For this reason, it is possible to obtain appropriate correction information based on a reading result of a more appropriate density for correction.

ここで、用紙等の媒体上に仮想的に定められた矩形状の領域を、印刷解像度に応じて大きさや形が定められる「単位領域」としたときに、「列領域」とは、移動方向に並ぶ複数の単位領域によって構成される領域のことをいう。例えば、「単位領域」は、印刷解像度が720dpi(移動方向)×720dpi(搬送方向)の場合、約35.28μm×35.28μm(≒1/720インチ×1/720インチ)の大きさの正方形状の領域になる。また、印刷解像度が360dpi×720dpiの場合、「単位領域」は、約70.56μm×35.28μm(≒1/360インチ×1/720インチ)の大きさの長方形状の領域になる。そして、理想的にインク滴が吐出された場合には、この単位領域の中心位置にインク滴が着弾し、その後インク滴が媒体上で広がって単位領域にドットが形成される。そして、「列領域」は、例えば印刷解像度が720dpi×720dpiの場合、搬送方向に約35.28μm(≒1/720インチ)の幅の帯状の領域となり、移動方向に移動するノズルから理想的にインク滴が断続的に吐出されると、この列領域にドット列が形成される。   Here, when a rectangular region virtually defined on a medium such as paper is defined as a “unit region” whose size and shape are determined according to the print resolution, the “row region” refers to the movement direction An area composed of a plurality of unit areas arranged in a row. For example, the “unit area” is a square having a size of about 35.28 μm × 35.28 μm (≈ 1/720 inch × 1/720 inch) when the printing resolution is 720 dpi (moving direction) × 720 dpi (transport direction). It becomes a shape area. When the print resolution is 360 dpi × 720 dpi, the “unit region” is a rectangular region having a size of about 70.56 μm × 35.28 μm (≈ 1/360 inch × 1/720 inch). When ink droplets are ideally ejected, the ink droplets land at the center position of the unit region, and then the ink droplets spread on the medium to form dots in the unit region. For example, when the print resolution is 720 dpi × 720 dpi, the “row region” is a band-like region having a width of about 35.28 μm (≈ 1/720 inch) in the transport direction, and is ideally formed from the nozzle moving in the movement direction. When ink droplets are ejected intermittently, a dot row is formed in this row region.

かかる印刷装置において、前記特定濃度パターンと、当該特定濃度パターンと濃度が異なる他の特定濃度パターンとが前記移動方向に並べられて前記媒体に印刷され、他の特定濃度パターンを構成する各ドット列が形成された各列領域における前記移動方向の中央部分の濃度の読み取り結果に基づいて、前記他の特定濃度パターンに対応する補正情報を取得することが望ましい。
このような印刷装置によれば、前記補正情報は、特定濃度パターン及び他の濃度パターン毎に取得されるので、複数の濃度に対応する補正情報に基づいて、画像データをより適切に補正することが可能である。
In such a printing apparatus, the specific density pattern and another specific density pattern having a density different from the specific density pattern are arranged in the movement direction and printed on the medium, and each dot row constituting the other specific density pattern It is preferable to obtain correction information corresponding to the other specific density pattern based on the reading result of the density of the central portion in the moving direction in each row region where the pattern is formed.
According to such a printing apparatus, since the correction information is acquired for each specific density pattern and other density patterns, the image data is corrected more appropriately based on correction information corresponding to a plurality of densities. Is possible.

かかる印刷装置において、前記特定濃度パターンと、前記他の特定濃度パターンとは隣接していることを特徴とする。
このような印刷装置によれば、特定濃度パターンと他の特定濃度パターンとを隣接させることにより、印刷される特定濃度パターン及び他の特定濃度パターンが媒体に占める領域を狭くすることが可能である。また、特定濃度パターンと他の特定濃度パターンとが隣接していても、補正情報を取得する際には、特定濃度パターン及び他の特定濃度パターンを構成する各ドット列の移動方向における中央部分の濃度の読み取り結果のみが用いられるので、より適切な補正情報を取得することが可能である。
In this printing apparatus, the specific density pattern and the other specific density pattern are adjacent to each other.
According to such a printing apparatus, it is possible to narrow a region occupied by the printed specific density pattern and the other specific density pattern on the medium by making the specific density pattern and another specific density pattern adjacent to each other. . Further, even when the specific density pattern and another specific density pattern are adjacent to each other, when acquiring correction information, the central portion in the moving direction of each dot row constituting the specific density pattern and the other specific density pattern is obtained. Since only the density reading result is used, more appropriate correction information can be acquired.

かかる印刷装置において、前記読み取り結果として、前記中央部分における互いに異なる部分の読取濃度の平均値を用いることが望ましい。
このような印刷装置によれば、補正情報を取得するための読み取り結果は、各ドット列の移動方向における中央部分の1つの濃度だけでなく、中央部分における互いに異なる部分の複数の濃度を読み取った複数の読取濃度の平均値なので、中央部分の濃度としてより正確な濃度に基づいて補正情報を取得することが可能である。
In such a printing apparatus, it is preferable that an average value of reading densities of different portions in the central portion is used as the reading result.
According to such a printing apparatus, the reading result for obtaining the correction information is not only a single density of the central part in the movement direction of each dot row, but also a plurality of densities of different parts in the central part. Since it is an average value of a plurality of read densities, it is possible to obtain correction information based on a more accurate density as the density of the central portion.

かかる印刷装置において、前記特定濃度パターン及び前記他の特定濃度パターンは、前記特定濃度パターンと前記移動方向に間隔を隔てて配置された前記所定方向に沿う罫線とともに、補正用パターンとして媒体に印刷され、前記中央部分は前記罫線を基準として特定されることが望ましい。
このような印刷装置によれば、特定濃度パターン及び他の特定濃度パターンと同様に印刷された罫線を基準として、特定濃度パターン及び他の特定濃度パターンの位置を特定するので、媒体に対する印刷位置のずれ等を含むことなく正確に特定濃度パターン及び他の特定濃度パターンの位置を特定することが可能である。
In this printing apparatus, the specific density pattern and the other specific density pattern are printed on the medium as a correction pattern together with the specific density pattern and the ruled line along the predetermined direction arranged at an interval in the moving direction. The center portion is preferably specified with reference to the ruled line.
According to such a printing apparatus, the positions of the specific density pattern and the other specific density pattern are specified on the basis of the ruled line printed in the same manner as the specific density pattern and the other specific density pattern. It is possible to accurately specify the positions of the specific density pattern and other specific density patterns without including a shift or the like.

かかる印刷装置において、前記補正用パターンを読み取るための読取部を有し、前記画像データは、前記媒体に形成される単位領域毎の階調値を示しており、前記読取部は、前記特定濃度を示す階調値に基づいて印刷された特定濃度パターン及び他の前記特定濃度を示す階調値に基づいて印刷された前記他の特定濃度パターンが有する前記単位領域の濃度を、前記読取部における最小読取領域毎の濃度データとして読み取ることが望ましい。
このような印刷装置によれば、画像データに示された階調値にて印刷された補正用パターンの各単位領域における濃度を、濃度データとして読み取ることが可能である。このため、画像データに示された階調値と、この階調値に基づいて印刷された補正用パターンの濃度データとを対応付けることが可能である。
In this printing apparatus, the image forming apparatus includes a reading unit for reading the correction pattern, the image data indicates a gradation value for each unit area formed on the medium, and the reading unit has the specific density. The density of the unit area included in the specific density pattern printed based on the gradation value indicating the color density and the other specific density pattern printed based on the other gradation value indicating the specific density is determined in the reading unit. It is desirable to read as density data for each minimum reading area.
According to such a printing apparatus, it is possible to read the density in each unit area of the correction pattern printed with the gradation value indicated in the image data as density data. Therefore, it is possible to associate the gradation value indicated in the image data with the density data of the correction pattern printed based on the gradation value.

かかる印刷装置において、前記コントローラは、前記罫線において前記移動方向に並ぶ前記最小読取領域の濃度データに基づいて、前記移動方向の濃度分布における重心位置を検出し、検出された前記濃度分布における重心位置に基づいて、前記移動方向における前記罫線の位置を検出することが望ましい。
このような印刷装置によれば、罫線において移動方向に並ぶ最小読取領域の濃度データに基づいて、移動方向の濃度分布における重心位置を検出することにより、罫線の位置を検出するので、個々の最小読取領域の濃度データのみから罫線の位置を検出する場合より、信頼性が高いため、確実かつ正確に罫線の位置を検出することが可能である。
In the printing apparatus, the controller detects a centroid position in the density distribution in the moving direction based on density data of the minimum reading area arranged in the moving direction on the ruled line, and the centroid position in the detected density distribution. It is desirable to detect the position of the ruled line in the moving direction based on
According to such a printing apparatus, the position of the ruled line is detected by detecting the position of the center of gravity in the density distribution in the moving direction based on the density data of the minimum reading area arranged in the moving direction on the ruled line. Since the position of the ruled line is detected only from the density data of the reading area, the reliability is higher than that of the ruled line, so that the position of the ruled line can be detected reliably and accurately.

かかる印刷装置において、前記読取部の読取解像度は、前記補正用パターンが印刷される印刷解像度より高いことが望ましい。
このような印刷装置によれば、読取部の読取解像度は、補正用パターンが印刷される印刷解像度より高いので、印刷された罫線が例えば1ドットの幅の罫線であったとしても、交差方向に複数の最小読取領域に亘って濃度データが存在することになる。このため、罫線を読み取った際により正確な濃度データを取得することが可能である。
In such a printing apparatus, it is preferable that the reading resolution of the reading unit is higher than the printing resolution at which the correction pattern is printed.
According to such a printing apparatus, the reading resolution of the reading unit is higher than the printing resolution at which the correction pattern is printed. Therefore, even if the printed ruled line is a ruled line having a width of 1 dot, for example, Density data exists over a plurality of minimum reading areas. For this reason, it is possible to acquire more accurate density data when the ruled line is read.

また、所定方向に沿って複数設けられ、画像を印刷するための画像データに基づいて、前記所定方向と交差する移動方向に移動されつつインクを吐出して媒体にドット列を形成するためのノズルと、特定濃度の画像を印刷するための画像データに基づいて前記ノズルからインクを吐出させて印刷した特定濃度パターンを構成する各ドット列が形成された各列領域における、前記移動方向の中央部分の濃度の読み取り結果に基づいて、各々の前記列領域間の濃度ムラを抑制すべく補正するための補正情報を、取得し、前記補正情報に基づいて画像を印刷するための画像データを補正するためのコントローラと、を有し、前記特定濃度パターンと、当該特定濃度パターンと濃度が異なる他の特定濃度パターンとが前記移動方向に隣接されて前記媒体に印刷され、他の特定濃度パターンを構成する各ドット列が形成された各列領域における前記移動方向の中央部分の濃度の読み取り結果に基づいて、前記他の特定濃度パターンに対応する補正情報を取得し、前記読み取り結果として、前記中央部分における互いに異なる部分の読取濃度の平均値を用い、前記特定濃度パターン及び前記他の特定濃度パターンは、前記特定濃度パターンと前記移動方向に間隔を隔てて配置された前記所定方向に沿う罫線とともに、補正用パターンとして媒体に印刷され、前記中央部分は前記罫線を基準として特定され、前記補正用パターンを読み取るための読取部を有し、前記画像データは、前記媒体に形成される単位領域毎の階調値を示しており、前記読取部は、前記特定濃度を示す階調値に基づいて印刷された特定濃度パターン及び他の前記特定濃度を示す階調値に基づいて印刷された前記他の特定濃度パターンが有する前記単位領域の濃度を、前記読取部における最小読取領域毎の濃度データとして読み取り、前記コントローラは、前記罫線において前記移動方向に並ぶ前記最小読取領域の濃度データに基づいて、前記移動方向の濃度分布における重心位置を検出し、検出された前記濃度分布における重心位置に基づいて、前記移動方向における前記罫線の位置を検出し、前記読取部の読取解像度は、前記補正用パターンが印刷される印刷解像度より高いことを特徴とする印刷装置である。
このような印刷装置によれば、既述のほぼ全ての効果を奏するため、本発明の目的がより有効に達成される。
A plurality of nozzles provided along a predetermined direction for ejecting ink while moving in a moving direction intersecting the predetermined direction based on image data for printing an image to form a dot row on a medium And a central portion in the moving direction in each row region in which each dot row forming a specific density pattern printed by ejecting ink from the nozzles based on image data for printing an image of a specific density is formed Correction information for correcting to suppress density unevenness between the row regions is acquired based on the read result of the density, and image data for printing an image is corrected based on the correction information. And the specific density pattern and another specific density pattern having a density different from the specific density pattern are adjacent to each other in the movement direction. Correction information corresponding to the other specific density pattern is obtained based on the reading result of the density of the central portion in the moving direction in each row region in which each dot row constituting the other specific density pattern is formed. The average density value of the different portions in the central portion is used as the reading result, and the specific density pattern and the other specific density patterns are spaced apart from the specific density pattern in the moving direction. Along with the arranged ruled lines along the predetermined direction, the correction pattern is printed on the medium, the central portion is specified on the basis of the ruled lines, and has a reading unit for reading the correction pattern, and the image data is The gradation value for each unit area formed on the medium is shown, and the reading unit prints based on the gradation value indicating the specific density. The density of the unit area of the other specific density pattern printed based on the specified specific density pattern and the gradation value indicating the other specific density is read as density data for each minimum reading area in the reading unit. The controller detects the centroid position in the density distribution in the moving direction based on the density data of the minimum reading area arranged in the moving direction on the ruled line, and based on the detected centroid position in the density distribution, The position of the ruled line in the movement direction is detected, and the reading resolution of the reading unit is higher than the printing resolution at which the correction pattern is printed.
According to such a printing apparatus, the effects of the present invention can be achieved more effectively because the above-described effects can be achieved.

また、所定方向に沿って複数設けられ、画像を印刷するための画像データに基づいて、前記所定方向と交差する移動方向に移動されつつインクを吐出して媒体にドット列を形成するためのノズルを有する印刷装置に、特定濃度の画像を印刷するための画像データに基づいて前記ノズルからインクを吐出させて印刷した特定濃度パターンを構成する各ドット列が形成された各列領域における、前記移動方向の中央部分の濃度の読み取り結果に基づいて、各々の前記列領域間の濃度ムラを抑制すべく補正するための補正情報を、取得させ、前記補正情報に基づいて画像を印刷するための画像データを補正させる機能を実現するためのコンピュータプログラムも実現可能である。   A plurality of nozzles provided along a predetermined direction for ejecting ink while moving in a moving direction intersecting the predetermined direction based on image data for printing an image to form a dot row on a medium The movement in each row region in which each dot row constituting a specific density pattern printed by ejecting ink from the nozzles based on image data for printing an image of a specific density on a printing apparatus having An image for acquiring correction information for correcting to suppress density unevenness between the row regions based on the density reading result of the central portion in the direction, and printing an image based on the correction information A computer program for realizing a function of correcting data can also be realized.

また、所定方向に沿って複数設けられ、画像を印刷するための画像データに基づいて、前記所定方向と交差する移動方向に移動されつつインクを吐出して媒体にドット列を形成するためのノズルを用い、特定濃度の画像を印刷するための画像データに基づいて前記ノズルからインクを吐出させて印刷した特定濃度パターンを印刷させるステップと、前記特定濃度パターンを構成する各ドット列が形成された各列領域における、前記移動方向の中央部分の濃度の読み取り結果に基づいて、各々の前記列領域間の濃度ムラを抑制すべく補正するための補正情報を、取得するステップと、前記補正情報に基づいて画像を印刷するための画像データを補正するステップとを有すること、を特徴とする印刷方法も実現可能である。   A plurality of nozzles provided along a predetermined direction for ejecting ink while moving in a moving direction intersecting the predetermined direction based on image data for printing an image to form a dot row on a medium And printing a specific density pattern printed by ejecting ink from the nozzles based on image data for printing an image of a specific density, and each dot row constituting the specific density pattern is formed Obtaining correction information for correcting density unevenness between the row regions based on the density reading result of the central portion in the moving direction in each row region; and And a step of correcting image data for printing an image based on the printing method.

===印刷装置の構成===
本実施形態の印刷装置としての印刷システムの実施形態について、図面を参照しながら説明する。
図1は、印刷システムの外観構成を示した説明図、図2は印刷システムの主要部を説明するためのブロック図である。この印刷システム700は、印刷部としてのインクジェットプリンタ1(以下、単にプリンタ1という)と、読取部としてのスキャナ400と、コンピュータ720と、表示装置704と、入力装置708と、記録再生装置710とを備えている。プリンタ1は、用紙、布、フィルム等の媒体に画像を印刷することが可能である。なお、以下の説明では、代表的な媒体である用紙S(図5参照)を例に挙げて説明する。
=== Configuration of Printing Apparatus ===
An embodiment of a printing system as a printing apparatus according to the present embodiment will be described with reference to the drawings.
FIG. 1 is an explanatory diagram showing an external configuration of a printing system, and FIG. 2 is a block diagram for explaining a main part of the printing system. The printing system 700 includes an inkjet printer 1 as a printing unit (hereinafter simply referred to as printer 1), a scanner 400 as a reading unit, a computer 720, a display device 704, an input device 708, and a recording / reproducing device 710. It has. The printer 1 can print an image on a medium such as paper, cloth, or film. In the following description, a sheet S (see FIG. 5), which is a typical medium, will be described as an example.

コンピュータ720は、プリンタ1及びスキャナ400と通信可能に接続され、アプリケーションプログラムやプリンタドライバ725(図10参照)等がインストールされており、プリンタ1に画像を印刷させるため、当該画像に応じた印刷データをプリンタ1に出力する。また、スキャナ400が有する操作部やコンピュータ720の操作によりスキャナ400から読み込んだ原稿の情報をコンピュータ720内のメモリに取り込んだり、取り込んだ情報を加工することも可能である。   The computer 720 is communicably connected to the printer 1 and the scanner 400, and has an application program, a printer driver 725 (see FIG. 10) installed therein, and print data corresponding to the image to cause the printer 1 to print an image. Is output to the printer 1. In addition, it is also possible to take in the information of the original read from the scanner 400 by operating the operation unit of the scanner 400 or the computer 720 into the memory in the computer 720, or to process the taken-in information.

本実施形態のコントローラ100は、コンピュータ720とプリンタ1が有するプリンタコントローラ60と、スキャナ400が有するスキャナコントローラ103とを有し、各々インターフェースを介して接続されている。   The controller 100 according to this embodiment includes a computer 720, a printer controller 60 included in the printer 1, and a scanner controller 103 included in the scanner 400, which are connected to each other via an interface.

プリンタコントローラ60は、プリンタ1の制御を行うためのコントローラである。このプリンタコントローラ60は、インターフェース(不図示)を介してコンピュータ720接続されており、CPU、メモリ63、プリンタ1が有する各ユニットを制御するためのユニット制御回路64、を有している。また、プリンタコントローラ60は、コンピュータ720との間でデータの送受信を行うとともに、CPUは、メモリ63に格納されているプログラムに従って、ユニット制御回路64を介して各ユニット20,30,40を制御する。メモリ63は、実行するプログラムを格納する領域や作業領域等を確保するためのものであり、RAM、EEPROM、ROM等の記憶手段を有し、本実施形態では、メモリ63の一部領域に後述する補正情報としての補正値も記憶されている。   The printer controller 60 is a controller for controlling the printer 1. The printer controller 60 is connected to a computer 720 via an interface (not shown), and includes a CPU, a memory 63, and a unit control circuit 64 for controlling each unit of the printer 1. The printer controller 60 transmits and receives data to and from the computer 720, and the CPU controls each unit 20, 30, 40 via the unit control circuit 64 in accordance with a program stored in the memory 63. . The memory 63 is for securing an area for storing a program to be executed, a work area, and the like, and includes storage means such as a RAM, an EEPROM, and a ROM. In this embodiment, a part of the memory 63 will be described later. Correction values as correction information to be stored are also stored.

スキャナコントローラ103は、スキャナ400の制御を行うためのコントローラである。このスキャナコントローラ103は、インターフェース(不図示)を介してコンピュータ720と接続されており、CPU、EEPROM、RAM、プログラムROM等からなるメモリ117と、スキャナ400が有するCCDイメージセンサ14を駆動するためのCCD駆動制御回路と、パルスモータ183を駆動するためのパルスモータ駆動制御回路と、露光ランプ7を制御するための露光ランプ制御回路とを有している。   The scanner controller 103 is a controller for controlling the scanner 400. The scanner controller 103 is connected to a computer 720 via an interface (not shown), and drives a memory 117 including a CPU, EEPROM, RAM, program ROM, and the like, and a CCD image sensor 14 included in the scanner 400. It has a CCD drive control circuit, a pulse motor drive control circuit for driving the pulse motor 183, and an exposure lamp control circuit for controlling the exposure lamp 7.

スキャナコントローラ103のCPUは、CCD駆動制御回路、パルスモータ駆動制御回路、露光ランプ制御回路、と各々電気的に接続され、コンピュータ720からの制御信号に基づいて各駆動制御回路を制御する。   The CPU of the scanner controller 103 is electrically connected to a CCD drive control circuit, a pulse motor drive control circuit, and an exposure lamp control circuit, and controls each drive control circuit based on a control signal from the computer 720.

入力装置708は、例えばキーボード708Aやマウス708Bであり、アプリケーションプログラムの操作やプリンタドライバ725の設定等の入力に用いられる。記録再生装置710は、例えば、フレキシブルディスクドライブ装置710AやCD−ROMドライブ装置710Bが用いられる。   The input device 708 is, for example, a keyboard 708A or a mouse 708B, and is used to input application program operations, printer driver 725 settings, and the like. As the recording / reproducing device 710, for example, a flexible disk drive device 710A or a CD-ROM drive device 710B is used.

プリンタドライバ725は、表示装置704に印刷条件等を設定するための画面等を表示させる機能を実現させるほか、アプリケーションプログラムから出力された画像データを印刷データに変換する機能を実現させるためのプログラムである。このプリンタドライバ725は、フレキシブルディスクやCD−ROMなどの記録媒体(コンピュータ読み取り可能な記録媒体)に記録されている。また、このプリンタドライバ725は、インターネットを介してコンピュータ720にダウンロードすることも可能である。そして、このプログラムは、各種の機能を実現するためのコードから構成されている。   The printer driver 725 is a program for realizing a function of displaying a screen for setting printing conditions and the like on the display device 704 and a function of converting image data output from the application program into print data. is there. The printer driver 725 is recorded on a recording medium (computer-readable recording medium) such as a flexible disk or a CD-ROM. The printer driver 725 can also be downloaded to the computer 720 via the Internet. And this program is comprised from the code | cord | chord for implement | achieving various functions.

なお、ここでは「印刷装置」を、コンピュータと接続された印刷システムとしたが、プリンタ1単体、及び、プリンタ1とスキャナ400とがケーブルにて接続され形態やプリンタ1とスキャナ400とが単一の筐体に設けられている形態であって、単一のコントローラにて動作するものであっても良い。   Here, the “printing apparatus” is a printing system connected to a computer, but the printer 1 alone and the printer 1 and the scanner 400 are connected by a cable, and the printer 1 and the scanner 400 are a single unit. It is a form provided in the housing | casing, Comprising: You may operate | move with a single controller.

===スキャナの構成===
図3は、スキャナ400の構成を説明するための正面図、図4は、スキャナ400の構成を説明するための平面図である。尚、図4においては、説明の便宜上、原稿台カバー13を外している。
=== Configuration of Scanner ===
FIG. 3 is a front view for explaining the configuration of the scanner 400, and FIG. 4 is a plan view for explaining the configuration of the scanner 400. In FIG. 4, the document table cover 13 is removed for convenience of explanation.

スキャナ400は、原稿5が載置される原稿台ガラス12と、原稿台ガラス12に載置された原稿5の読み取り面を原稿台ガラス12側に押圧するための原稿台カバー13と、原稿台ガラス12を介して対向し原稿5と一定の間隔を保ちながら原稿5に沿って走査する読取キャリッジ16と、読取キャリッジ16を走査するための駆動部18と、読取キャリッジ16の移動方向を所定の方向に規制するための規制ガイド6と、読取キャリッジ16を支持するための支持レール4と、を有している。   The scanner 400 includes an original table glass 12 on which an original document 5 is placed, an original table cover 13 for pressing the reading surface of the original document 5 placed on the original table glass 12 toward the original table glass 12, and an original table. A reading carriage 16 that faces the glass 12 and scans along the document 5 while keeping a certain distance from the document 5, a drive unit 18 for scanning the reading carriage 16, and a moving direction of the reading carriage 16 is set to a predetermined value. A regulation guide 6 for regulating the direction and a support rail 4 for supporting the reading carriage 16 are provided.

読取キャリッジ16は、原稿台ガラス12を介して原稿5に光を照射するための光源としての露光ランプ7と、原稿5による反射光を集光させるレンズ8と、原稿5による反射光をレンズ8に導くための4枚のミラー9と、レンズ8を透過した反射光を受光するCCDイメージセンサ14と、前記規制ガイド6と係合するガイド受け部15とを有している。   The reading carriage 16 includes an exposure lamp 7 as a light source for irradiating the document 5 with light through the document table glass 12, a lens 8 for condensing the reflected light from the document 5, and the reflected light from the document 5 to the lens 8. 4, a CCD image sensor 14 that receives the reflected light transmitted through the lens 8, and a guide receiving portion 15 that engages with the regulation guide 6.

CCDイメージセンサ14は、光信号を電気信号に変換するためのフォトダイオードが列状に配置されたリニアセンサで構成されている。CCDイメージセンサ14は、読取キャリッジ16の移動方向(以下、副走査方向という)にほぼ直交する方向(以下、主走査方向という)に沿わされて配置され、各フォトダイオードにより所定時間内に照射された光量が検出される。   The CCD image sensor 14 is composed of a linear sensor in which photodiodes for converting an optical signal into an electric signal are arranged in a line. The CCD image sensor 14 is arranged along a direction (hereinafter referred to as a main scanning direction) substantially orthogonal to a moving direction of the reading carriage 16 (hereinafter referred to as a sub-scanning direction), and is irradiated within a predetermined time by each photodiode. The amount of light detected is detected.

規制ガイド6及び支持レール4は、原稿読取領域を挟むように主走査方向に間隔を隔てるとともに、それらの長手方向が副走査方向に沿わされて設けられている。
規制ガイド6は、ステンレス製の円筒材で形成され、読取キャリッジ16の主走査方向における一方の端部側に2カ所設けられたスラスト軸受でなるガイド受け部15を貫通している。読取キャリッジ16に設けられた2カ所に設けられたガイド受け部15は、読取キャリッジ16を安定させて走査させるために、副走査方向に間隔が隔てられている。
支持レール4は、原稿台ガラス12と平行な支持面4aを有し、この支持面4aに読取キャリッジ16のガイド受け部15とは反対側の端部が載置されている。すなわち、読取キャリッジ16のCCDイメージセンサ14は、規制ガイド6と支持レール4とに支持された状態にて、原稿台ガラス12と平行になるように構成されている。
The regulation guide 6 and the support rail 4 are provided so as to be spaced apart in the main scanning direction so as to sandwich the document reading area, and their longitudinal directions are along the sub-scanning direction.
The regulation guide 6 is formed of a stainless steel cylindrical material, and penetrates through guide receiving portions 15 formed of thrust bearings provided at two positions on one end side in the main scanning direction of the reading carriage 16. The guide receiving portions 15 provided at two positions provided on the reading carriage 16 are spaced apart in the sub-scanning direction in order to scan the reading carriage 16 stably.
The support rail 4 has a support surface 4a parallel to the document table glass 12, and an end portion of the reading carriage 16 opposite to the guide receiving portion 15 is placed on the support surface 4a. That is, the CCD image sensor 14 of the reading carriage 16 is configured to be parallel to the document table glass 12 while being supported by the regulation guide 6 and the support rail 4.

駆動部18は、読取キャリッジ16に固定された環状のタイミングベルト181と、このタイミングベルト181と噛み合うプーリ182を備え、副走査方向における一方の端部側に配置されたパルスモータ183と、他方の端部側に配置されてタイミングベルト181に張力を付与するアイドラプーリ184とで構成されている。そして、読取キャリッジ16は、タイミングベルト181に主走査方向における一端16aが固定され、環状のタイミングベルト181がパルスモータ183により搬送されることにより規制ガイド6に沿って移動する。   The drive unit 18 includes an annular timing belt 181 fixed to the reading carriage 16 and a pulley 182 that meshes with the timing belt 181, a pulse motor 183 disposed on one end side in the sub-scanning direction, and the other The idler pulley 184 is arranged on the end side and applies tension to the timing belt 181. The reading carriage 16 moves along the regulation guide 6 by fixing the timing belt 181 with one end 16a in the main scanning direction and conveying the annular timing belt 181 by the pulse motor 183.

パルスモータ183は、コントローラ100のスキャナコントローラ103により駆動されるが、パルスモータ183の速度に応じて変更される読取キャリッジ16の走査速度により、読み取った画像を副走査方向に拡大及び縮小することが可能となる。   The pulse motor 183 is driven by the scanner controller 103 of the controller 100. The read image can be enlarged and reduced in the sub-scanning direction by the scanning speed of the reading carriage 16 that is changed according to the speed of the pulse motor 183. It becomes possible.

また、スキャナ400は、原稿読取方向の上流側に読取キャリッジ16が、基準の位置(以下、ホームポジションという)に到達したことを検出するためのホームポジションセンサ2(以下、HPセンサという)を有している。HPセンサ2は、透過型光学センサであり、読取キャリッジ16を原稿読取方向と反対の方向に移動させた際に、読取キャリッジ16から突設された遮光板(不図示)が、HPセンサ2の光を遮ることにより、読取キャリッジ16がホームポジションに到達したことが検出される。読取キャリッジ16の位置は、このホームポジションを基準とし、HPセンサ2にて検出された後に、パルスモータに与えられたパルス数と1パルスによる読取キャリッジ16の移動量に基づいて、スキャナコントローラ103にて管理される。   The scanner 400 has a home position sensor 2 (hereinafter referred to as an HP sensor) for detecting that the reading carriage 16 has reached a reference position (hereinafter referred to as a home position) on the upstream side in the document reading direction. is doing. The HP sensor 2 is a transmissive optical sensor, and a light-shielding plate (not shown) protruding from the reading carriage 16 when the reading carriage 16 is moved in the direction opposite to the original reading direction is an HP sensor 2. By blocking the light, it is detected that the reading carriage 16 has reached the home position. The position of the reading carriage 16 is determined by the scanner controller 103 based on the number of pulses given to the pulse motor and the amount of movement of the reading carriage 16 by one pulse after being detected by the HP sensor 2 with reference to this home position. Managed.

原稿台ガラス12の上面、すなわち原稿載置面12aには、読取キャリッジ16による原稿読取方向の上流側に原稿5の先端が突き当てられる原稿規制板11が設けられている。この原稿規制板11の原稿5が突き当てられる原稿突当部位11aの位置が、スキャナ400の原稿読取開始位置、すなわち、読み込んだデータの基準位置となる。   On the upper surface of the document table glass 12, that is, the document placement surface 12a, a document regulating plate 11 is provided on which the leading edge of the document 5 abuts on the upstream side in the document reading direction by the reading carriage 16. The position of the document abutting portion 11a against which the document 5 of the document restriction plate 11 is abutted becomes the document reading start position of the scanner 400, that is, the reference position of the read data.

そして、スキャナ400では、露光ランプ7の光を原稿5に照射し、その反射光を4枚のミラー9及びレンズ8を介してCCDイメージセンサ14上に結像させつつ、読取キャリッジ16を原稿5に沿って移動させる。このとき、CCDイメージセンサ14が受光した光量を示す電圧値を所定の周期で読み込むことにより、1周期の間に読取キャリッジ16が移動した距離分の画像をライン状のデータとして取り込んでいく。   In the scanner 400, the light from the exposure lamp 7 is irradiated onto the document 5, and the reflected light is imaged on the CCD image sensor 14 via the four mirrors 9 and the lens 8, while the reading carriage 16 is placed on the document 5. Move along. At this time, a voltage value indicating the amount of light received by the CCD image sensor 14 is read in a predetermined cycle, and an image corresponding to the distance moved by the reading carriage 16 in one cycle is captured as line data.

===プリンタの構成===
<プリンタの構成について>
図5は、本実施形態のプリンタ1の全体構成の概略図、図6は、本実施形態のプリンタ1の全体構成の側断面図、図7は、ヘッド41の下面におけるノズルの配列を示す説明図である。以下、これらの図を参照して、本実施形態のプリンタ1の基本的な構成について説明する。
=== Configuration of Printer ===
<About printer configuration>
FIG. 5 is a schematic diagram of the overall configuration of the printer 1 of the present embodiment, FIG. 6 is a side sectional view of the overall configuration of the printer 1 of the present embodiment, and FIG. FIG. Hereinafter, the basic configuration of the printer 1 of the present embodiment will be described with reference to these drawings.

本実施形態のインクジェットプリンタ1は、搬送ユニット20、キャリッジユニット30、ヘッドユニット40、センサ50、及びプリンタコントローラ60を有する。外部装置であるコンピュータ720から印刷データを受信したプリンタ1は、プリンタコントローラ60によって各ユニット(搬送ユニット20、キャリッジユニット30、ヘッドユニット40)を制御する。プリンタコントローラ60は、コンピュータ720から受信した印刷データに基づいて、各ユニットを制御し、用紙Sに画像を印刷する。プリンタ1内の状況はセンサ50によって監視されており、センサ50は、検出結果をプリンタコントローラ60に出力する。プリンタコントローラ60は、センサ50から出力された検出結果及びコンピュータ720の指令信号等に基づいて、各ユニットを制御する。   The ink jet printer 1 according to the present embodiment includes a transport unit 20, a carriage unit 30, a head unit 40, a sensor 50, and a printer controller 60. The printer 1 that has received print data from the computer 720 as an external device controls each unit (conveyance unit 20, carriage unit 30, and head unit 40) by the printer controller 60. The printer controller 60 controls each unit based on the print data received from the computer 720 and prints an image on the paper S. The situation in the printer 1 is monitored by a sensor 50, and the sensor 50 outputs a detection result to the printer controller 60. The printer controller 60 controls each unit based on the detection result output from the sensor 50 and the command signal of the computer 720.

搬送ユニット20は、用紙Sを搬送する搬送機構として機能し、用紙Sを印刷可能な位置に搬送し、また、印刷時に所定の方向(以下では、搬送方向という)に所定の搬送量にて搬送させるためのものである。   The transport unit 20 functions as a transport mechanism that transports the paper S, transports the paper S to a printable position, and transports the paper S by a predetermined transport amount in a predetermined direction (hereinafter referred to as a transport direction) during printing. It is for making it happen.

搬送ユニット20は、給紙ローラ21と、搬送モータ22(PFモータともいう)と、搬送ローラ23と、プラテン24と、排紙ローラ25とを有する。給紙ローラ21は、紙挿入口に挿入された用紙Sをプリンタ1内に給紙するためのローラである。給紙ローラ21はD形の断面形状をしており、円周部分の長さは、搬送ローラ23までの搬送距離よりも長く設定されている。このため、円周部分が用紙表面から離れた状態から給紙ローラを1回転させることにより、用紙Sを円周部分の長さだけ搬送させて用紙Sの先端を搬送ローラ23まで到達させることが可能である。搬送モータ22は、紙を搬送方向に搬送するためのモータであり、たとえばDCモータにより構成される。搬送ローラ23は、給紙ローラ21によって給紙された用紙Sを印刷可能な領域まで搬送するローラであり、搬送モータ22によって駆動される。プラテン24は、印刷中の用紙Sを、用紙Sの裏面側から支持する。排紙ローラ25は、プラテン24より搬送方向の下流側にて、用紙Sを搬送方向へ搬送するためのローラである。この排紙ローラ25は、搬送ローラ23と同期して回転する。   The transport unit 20 includes a paper feed roller 21, a transport motor 22 (also referred to as a PF motor), a transport roller 23, a platen 24, and a paper discharge roller 25. The paper feed roller 21 is a roller for feeding the paper S inserted into the paper insertion slot into the printer 1. The paper feed roller 21 has a D-shaped cross-sectional shape, and the length of the circumferential portion is set longer than the transport distance to the transport roller 23. For this reason, by rotating the paper feed roller once from a state in which the circumferential portion is separated from the paper surface, the paper S can be transported by the length of the circumferential portion and the leading edge of the paper S can reach the transport roller 23. Is possible. The transport motor 22 is a motor for transporting paper in the transport direction, and is constituted by, for example, a DC motor. The transport roller 23 is a roller that transports the paper S fed by the paper feed roller 21 to a printable area, and is driven by the transport motor 22. The platen 24 supports the paper S being printed from the back side of the paper S. The paper discharge roller 25 is a roller for transporting the paper S in the transport direction downstream of the platen 24 in the transport direction. The paper discharge roller 25 rotates in synchronization with the transport roller 23.

キャリッジユニット30は、キャリッジ31とキャリッジモータ32(以下では、CRモータともいう。)とを備える。キャリッジモータ32は、キャリッジ31を所定の方向(以下では、キャリッジ移動方向という。)に往復移動させるためのモータであり、たとえばDCモータにより構成される。このキャリッジ31は、インクを収容するインクカートリッジ90を着脱可能に保持している。また、このキャリッジ31には、吐出部としてのノズルからインクを吐出するヘッド41が取り付けられている。このため、キャリッジ31の往復移動によって、ヘッド41及びノズルもキャリッジ移動方向(移動方向)に往復移動する。   The carriage unit 30 includes a carriage 31 and a carriage motor 32 (hereinafter also referred to as a CR motor). The carriage motor 32 is a motor for reciprocating the carriage 31 in a predetermined direction (hereinafter referred to as a carriage movement direction), and is constituted by a DC motor, for example. The carriage 31 detachably holds an ink cartridge 90 that stores ink. The carriage 31 is attached with a head 41 for ejecting ink from nozzles serving as ejection units. For this reason, as the carriage 31 reciprocates, the head 41 and the nozzle also reciprocate in the carriage movement direction (movement direction).

ヘッドユニット40は、用紙Sにインクを吐出するためのものである。このヘッドユニット40は、ヘッド41を有する。このヘッド41は、複数のノズルを有しており、各ノズルから断続的にインクを吐出する。そして、ヘッド41がキャリッジ移動方向に移動しつつ、ノズルからインクを断続的に吐出することにより、キャリッジ移動方向に沿ってドット列としてのラスタラインが用紙Sに形成される。なお、ノズルの配置、ヘッド41の構成、このヘッド41を駆動するための駆動回路、及びヘッド41の駆動方法については、後で説明する。   The head unit 40 is for ejecting ink onto the paper S. The head unit 40 has a head 41. The head 41 has a plurality of nozzles, and ejects ink intermittently from each nozzle. Then, the head 41 moves in the carriage movement direction, and ink is intermittently ejected from the nozzles, so that a raster line as a dot row is formed on the paper S along the carriage movement direction. The arrangement of the nozzles, the configuration of the head 41, the driving circuit for driving the head 41, and the driving method of the head 41 will be described later.

センサ50には、リニア式エンコーダ51、ロータリー式エンコーダ52、紙検出センサ53、及び紙幅センサ54等が含まれる。リニア式エンコーダ51は、キャリッジ移動方向の位置を検出するためのものであり、キャリッジ移動方向に沿って架設された帯状のスリット板と、キャリッジ31に取り付けられ、スリット板に形成されたスリットを検出するフォトインタラプタを有する。ロータリー式エンコーダ52は、搬送ローラ23の回転量を検出するためのものであり、搬送ローラ23の回転に伴って回転する円盤状のスリット板と、スリット板に形成されたスリットを検出するフォトインタラプタを有する。   The sensor 50 includes a linear encoder 51, a rotary encoder 52, a paper detection sensor 53, a paper width sensor 54, and the like. The linear encoder 51 is for detecting a position in the carriage movement direction, and detects a slit formed in the slit plate and a belt-like slit plate installed along the carriage movement direction. A photo interrupter. The rotary encoder 52 is for detecting the amount of rotation of the transport roller 23, and is a disc-shaped slit plate that rotates as the transport roller 23 rotates, and a photo interrupter that detects a slit formed in the slit plate. Have

紙検出センサ53は、印刷される用紙Sの先端位置を検出するためのものである。この紙検出センサ53は、給紙ローラ21が用紙Sを搬送ローラ23に向かって搬送する途中で、用紙Sの先端位置を検出できる位置に設けられている。なお、紙検出センサ53は、機械的な機構によって用紙Sの先端を検出するメカニカルセンサである。詳しく言うと、紙検出センサ53は紙搬送方向に回転可能なレバーを有し、このレバーは用紙Sの搬送経路内に突出するように配置されている。そして、用紙Sの搬送に伴い、用紙先端がレバーに接触し、レバーが回転させられる。このため、紙検出センサ53は、このレバーの動きをフォトインタラプタ等によって検出することで、用紙Sの先端位置及び用紙Sの有無を検出する。   The paper detection sensor 53 is for detecting the leading end position of the paper S to be printed. The paper detection sensor 53 is provided at a position where the front end position of the paper S can be detected while the paper feed roller 21 is transporting the paper S toward the transport roller 23. The paper detection sensor 53 is a mechanical sensor that detects the leading edge of the paper S by a mechanical mechanism. More specifically, the paper detection sensor 53 has a lever that can rotate in the paper transport direction, and this lever is disposed so as to protrude into the transport path of the paper S. As the paper S is transported, the leading edge of the paper comes into contact with the lever, and the lever is rotated. Therefore, the paper detection sensor 53 detects the position of the leading edge of the paper S and the presence or absence of the paper S by detecting the movement of the lever with a photo interrupter or the like.

紙幅センサ54は、キャリッジ31に取り付けられている。本実施形態では、図7に示すように、搬送方向の位置に関して、一番上流側にあるノズルとほぼ同じ位置に取り付けられている。この紙幅センサ54は、反射型の光学センサであり、発光部から用紙Sに照射された光の反射光を受光部にて受光し、受光部での受光強度に基づいて用紙Sの有無を検出する。そして、紙幅センサ54は、キャリッジ31によって移動しながら用紙Sの端部の位置を検出し、用紙Sの幅を検出する。また、紙幅センサ54は、状況に応じて、用紙Sの先端も検出できる。   The paper width sensor 54 is attached to the carriage 31. In the present embodiment, as shown in FIG. 7, the position in the transport direction is attached at substantially the same position as the nozzle on the most upstream side. The paper width sensor 54 is a reflection type optical sensor that receives the reflected light of the light irradiated on the paper S from the light emitting unit at the light receiving unit and detects the presence or absence of the paper S based on the received light intensity at the light receiving unit. To do. The paper width sensor 54 detects the position of the edge of the paper S while being moved by the carriage 31 and detects the width of the paper S. The paper width sensor 54 can also detect the leading edge of the paper S depending on the situation.

<ノズルの配置及びヘッドの構成について>
図7に示すように、ヘッド41の下面には、ブラックインクノズル列Nkと、シアンインクノズル列Ncと、マゼンタインクノズル列Nmと、イエローインクノズル列Nyが形成されている。各ノズル列は、各色のインクを吐出するための吐出口であるノズルを、n個(例えば、n=180)備えている。各ノズル列の複数のノズルは、キャリッジ31の移動方向と交差する方向、すなわち用紙Sの搬送方向に沿って、一定の間隔(ノズルピッチ:k・D)でそれぞれ整列している。ここで、Dは、搬送方向における最小のドットピッチ、つまり、用紙Sに形成されるドットの最高解像度での間隔である。また、kは、1以上の整数である。例えば、ノズルピッチが180dpi(1/180インチ)であって、搬送方向のドットピッチが720dpi(1/720インチ)である場合、k=4である。図示の例において、各ノズル列のノズルは、下流側のノズルほど小さな数の番号が付されている(♯1〜♯n)。つまり、ノズル♯1は、ノズル♯nよりも搬送方向の下流側に位置している。そして、このようなノズル列をヘッド41に設けると、一回のドット形成動作でドットが形成される範囲が広くなり、印刷時間の短縮化が図れる。また、これらのノズル列は、インクの色毎に備えられているので、これらの各ノズル列から適宜インクを吐出させることで、多色印刷を行うことができる。
<Regarding nozzle arrangement and head configuration>
As shown in FIG. 7, on the lower surface of the head 41, a black ink nozzle row Nk, a cyan ink nozzle row Nc, a magenta ink nozzle row Nm, and a yellow ink nozzle row Ny are formed. Each nozzle row includes n nozzles (for example, n = 180) that are ejection ports for ejecting ink of each color. The plurality of nozzles in each nozzle row are aligned at a constant interval (nozzle pitch: k · D) along the direction intersecting the moving direction of the carriage 31, that is, along the transport direction of the paper S. Here, D is a minimum dot pitch in the transport direction, that is, an interval at the highest resolution of dots formed on the paper S. K is an integer of 1 or more. For example, when the nozzle pitch is 180 dpi (1/180 inch) and the dot pitch in the transport direction is 720 dpi (1/720 inch), k = 4. In the illustrated example, the nozzles in each nozzle row are assigned a smaller number (# 1 to #n) toward the downstream nozzle. That is, the nozzle # 1 is located downstream of the nozzle #n in the transport direction. If such a nozzle array is provided in the head 41, the range in which dots are formed by a single dot forming operation is widened, and the printing time can be shortened. Further, since these nozzle rows are provided for each color of ink, multi-color printing can be performed by appropriately discharging ink from these nozzle rows.

また、各ノズルはインクを収容したインクカートリッジ90と連通するインク流路を有しており、インク流路の途中には圧力室(図示せず)が設けられている。各圧力室は、各ノズルからインク滴を吐出させるために設けられた駆動素子としてのたとえばピエゾ素子(図示せず)により、その容積が収縮、膨張するように構成されている。   Each nozzle has an ink flow path communicating with an ink cartridge 90 containing ink, and a pressure chamber (not shown) is provided in the middle of the ink flow path. Each pressure chamber is configured such that its volume contracts and expands by, for example, a piezo element (not shown) as a drive element provided to eject ink droplets from each nozzle.

<ヘッドの駆動について>
図8は、ヘッド41の駆動回路の説明図である。この駆動回路は、前述のユニット制御回路64内に設けられている。図示するように、駆動回路は、原駆動信号発生部644Aと、駆動信号整形部644Bとを備えている。本実施形態では、この駆動回路が、ノズル列毎、即ち、ブラック(K)、シアン(C)、マゼンタ(M)及びイエロー(Y)の各色のノズル列ごとに各々設けられ、ノズル列ごとに個別にピエゾ素子の駆動が行われるようになっている。図中に各信号名の最後に付されたかっこ内の数字は、その信号が供給されるノズルの番号を示している。
<About driving the head>
FIG. 8 is an explanatory diagram of a drive circuit for the head 41. This drive circuit is provided in the unit control circuit 64 described above. As illustrated, the drive circuit includes an original drive signal generation unit 644A and a drive signal shaping unit 644B. In this embodiment, this drive circuit is provided for each nozzle row, that is, for each nozzle row of each color of black (K), cyan (C), magenta (M), and yellow (Y). The piezo elements are individually driven. In the figure, the number in parentheses at the end of each signal name indicates the number of the nozzle to which the signal is supplied.

前述したピエゾ素子は、駆動パルスW1,W2(図9を参照)が供給される毎に変形して圧力室内のインクに圧力変動を生じさせる。即ち、ピエゾ素子は、その両端に設けられた電極間に所定時間幅の電圧が印加されると、電圧の印加時間に応じて変形し、圧力室の一部を区画する弾性膜(側壁)を変形させる。このピエゾ素子の変形に応じて圧力室の容積が変化し、圧力室の容積変化によって圧力室内のインクに圧力変動が生じる。そして、インクに生じた圧力変動により、対応するノズル♯1〜♯nからインク滴が吐出される。   The above-described piezo element is deformed each time the driving pulses W1 and W2 (see FIG. 9) are supplied to cause pressure fluctuations in the ink in the pressure chamber. That is, when a voltage of a predetermined time width is applied between the electrodes provided at both ends of the piezoelectric element, the piezoelectric element is deformed according to the voltage application time, and an elastic film (side wall) that partitions a part of the pressure chamber is formed. Deform. The volume of the pressure chamber changes according to the deformation of the piezo element, and the pressure fluctuation occurs in the ink in the pressure chamber due to the volume change of the pressure chamber. Ink drops are ejected from the corresponding nozzles # 1 to #n due to pressure fluctuations generated in the ink.

原駆動信号発生部644Aは、各ノズル♯1〜♯nに共通して用いられる原駆動信号ODRVを生成する。本実施形態における原駆動信号ODRVは、印刷解像度に対応する一単位領域分の距離をキャリッジ31が移動する時間内に、2種類の駆動パルスW1,W2を1回ずつ出力する信号である。
駆動信号整形部644Bには、原信号発生部から原駆動信号ODRVとともに、印刷信号PRT(i)が入力される。印刷信号PRT(i)は、前記した2ビットの印刷データに基づいてレベルが変化する信号である。駆動信号整形部644Bは、印刷信号PRT(i)のレベルに応じて、原駆動信号ODRVを整形し、駆動信号DRV(i)として各ノズル♯1〜♯nのピエゾ素子に向けて出力する。各ノズル♯1〜♯nのピエゾ素子は、駆動信号整形部644Bからの駆動信号DRVに基づき駆動される。
The original drive signal generator 644A generates an original drive signal ODRV that is used in common by the nozzles # 1 to #n. The original drive signal ODRV in the present embodiment is a signal that outputs two types of drive pulses W1 and W2 once each within a time during which the carriage 31 moves a distance corresponding to one unit area corresponding to the print resolution.
The drive signal shaping unit 644B receives the print signal PRT (i) together with the original drive signal ODRV from the original signal generation unit. The print signal PRT (i) is a signal whose level changes based on the above-described 2-bit print data. The drive signal shaping unit 644B shapes the original drive signal ODRV according to the level of the print signal PRT (i) and outputs it as the drive signal DRV (i) to the piezoelectric elements of the nozzles # 1 to #n. The piezo elements of the nozzles # 1 to #n are driven based on the drive signal DRV from the drive signal shaping unit 644B.

<ヘッドの駆動信号について>
図9は、各信号を説明するタイミングチャートである。すなわち、同図には、原駆動信号ODRVと、印刷信号PRT(i)と、駆動信号DRV(i)の各信号のタイミングチャートが示されている。
<About the head drive signal>
FIG. 9 is a timing chart illustrating each signal. That is, FIG. 3 shows a timing chart of each signal of the original drive signal ODRV, the print signal PRT (i), and the drive signal DRV (i).

原駆動信号ODRVは、ノズル♯1〜♯nに対して共通に用いられる信号であり、原駆動信号発生部644Aから駆動信号整形部644Bに出力される。本実施形態の原駆動信号ODRVは、印刷解像度に対応する一単位領域分の距離をキャリッジ31が移動する時間(以下、一単位領域区間という。)内において、第1パルスW1と第2パルスW2との2つのパルスを有している。そして、第1パルスW1はノズルから小サイズのインク滴(以下、小インク滴という。)を吐出させるための駆動パルスである。また、第2パルスW2はノズルから中サイズのインク滴(以下、中インク滴という。)を吐出させるための駆動パルスである。すなわち、第1パルスW1をピエゾ素子に供給することで、ノズルからは小インク滴が吐出される。そして、この小インク滴が用紙Sに着弾すると、小サイズのドット(小ドット)が形成される。同様に、第2パルスW2をピエゾ素子に供給することで、ノズルからは中インク滴が吐出される。そして、この中インク滴が用紙Sに着弾すると、中サイズのドット(中ドット)が形成される。   The original drive signal ODRV is a signal used in common for the nozzles # 1 to #n, and is output from the original drive signal generation unit 644A to the drive signal shaping unit 644B. The original drive signal ODRV of the present embodiment includes the first pulse W1 and the second pulse W2 within the time during which the carriage 31 moves a distance corresponding to one unit area corresponding to the printing resolution (hereinafter referred to as one unit area section). And have two pulses. The first pulse W1 is a drive pulse for ejecting a small size ink droplet (hereinafter referred to as a small ink droplet) from the nozzle. The second pulse W2 is a drive pulse for discharging a medium size ink droplet (hereinafter referred to as a medium ink droplet) from the nozzle. That is, by supplying the first pulse W1 to the piezo element, a small ink droplet is ejected from the nozzle. When the small ink droplets land on the paper S, small sized dots (small dots) are formed. Similarly, by supplying the second pulse W2 to the piezo element, a medium ink droplet is ejected from the nozzle. When the medium ink droplets land on the paper S, medium-sized dots (medium dots) are formed.

印刷信号PRT(i)は、コンピュータ等から転送された印刷データにおいて各単位領域に対して割り当てられている各単位領域データに対応した信号である。つまり、印刷信号PRT(i)は、印刷データに含まれる単位領域データに応じた信号である。本実施形態の印刷信号PRT(i)は、一単位領域に対して2ビットの情報を有する信号になる。なお、この印刷信号PRT(i)の信号レベルに応じて、駆動信号整形部644Bは、原駆動信号ODRVを整形し、駆動信号DRV(i)を出力する。   The print signal PRT (i) is a signal corresponding to each unit area data assigned to each unit area in the print data transferred from the computer or the like. That is, the print signal PRT (i) is a signal corresponding to the unit area data included in the print data. The print signal PRT (i) of the present embodiment is a signal having 2-bit information for one unit area. Note that the drive signal shaping unit 644B shapes the original drive signal ODRV according to the signal level of the print signal PRT (i) and outputs the drive signal DRV (i).

この駆動信号DRVは、印刷信号PRTのレベルに応じて原駆動信号ODRVを遮断することによって得られる信号である。すなわち、印刷データが「1」のとき、印刷信号PRTはHighレベルとなり、駆動信号整形部644Bは、原駆動信号ODRVの対応する駆動パルスをそのまま通過させて駆動信号DRV(i)とする。一方、印刷データが「0」のとき、印刷信号PRTがLowレベルとなり、駆動信号整形部644Bは、原駆動信号ODRVの対応する駆動パルスを遮断する。そして、駆動信号整形部644Bからの駆動信号DRV(i)は、対応するピエゾ素子に対し、個別に供給される。また、ピエゾ素子は、供給された駆動信号DRV(i)に応じて駆動される。   This drive signal DRV is a signal obtained by blocking the original drive signal ODRV in accordance with the level of the print signal PRT. That is, when the print data is “1”, the print signal PRT is at a high level, and the drive signal shaping unit 644B passes the drive pulse corresponding to the original drive signal ODRV as it is to obtain the drive signal DRV (i). On the other hand, when the print data is “0”, the print signal PRT becomes the low level, and the drive signal shaping unit 644B blocks the drive pulse corresponding to the original drive signal ODRV. Then, the drive signal DRV (i) from the drive signal shaping unit 644B is individually supplied to the corresponding piezoelectric element. Further, the piezo element is driven according to the supplied drive signal DRV (i).

印刷信号PRT(i)が2ビットデータ「01」に対応しているとき、第1パルスW1のみが一単位領域区間の前半で出力される。これにより、ノズルから小さいインク滴が吐出され、用紙Sには小ドットが形成される。また、印刷信号PRT(i)が2ビットデータ「10」に対応しているとき、第2パルスW2のみが一単位領域区間の後半で出力される。これにより、ノズルから中インク滴が吐出され、用紙Sに中ドットが形成される。また、印刷信号PRT(i)が2ビットデータ「11」に対応しているとき、第1パルスW1と第2パルスW2とが一単位領域区間で出力される。これにより、ノズルから小インク滴と中インク滴とが続けて吐出され、用紙Sには大サイズのドット(大ドット)が形成される。すなわち、プリンタ1は、複数種類(ここでは3種類)のサイズのドットを形成可能である。また、印刷信号PRT(i)が2ビットデータ「00」に対応しているとき、第1パルスW1及び第2パルスW2のいずれも一単位領域区間で出力されない。これにより、ノズルからはいずれのサイズのインク滴も吐出されず、用紙Sにはドットが形成されない。   When the print signal PRT (i) corresponds to the 2-bit data “01”, only the first pulse W1 is output in the first half of one unit area section. As a result, small ink droplets are ejected from the nozzles, and small dots are formed on the paper S. When the print signal PRT (i) corresponds to the 2-bit data “10”, only the second pulse W2 is output in the second half of the one unit area section. As a result, medium ink droplets are ejected from the nozzles, and medium dots are formed on the paper S. When the print signal PRT (i) corresponds to the 2-bit data “11”, the first pulse W1 and the second pulse W2 are output in one unit region section. As a result, small ink droplets and medium ink droplets are continuously ejected from the nozzles, and large-sized dots (large dots) are formed on the paper S. That is, the printer 1 can form dots of a plurality of types (here, three types). When the print signal PRT (i) corresponds to the 2-bit data “00”, neither the first pulse W1 nor the second pulse W2 is output in one unit region section. As a result, no ink droplets of any size are ejected from the nozzles, and no dots are formed on the paper S.

以上説明したとおり、一単位領域区間における駆動信号DRV(i)は、印刷信号PRT(i)の4つの異なる値に応じて互いに異なる4種類の波形を有するように整形されている。   As described above, the drive signal DRV (i) in one unit region section is shaped to have four different waveforms according to four different values of the print signal PRT (i).

===プリンタドライバ===
<プリンタドライバについて>
図10は、プリンタドライバ725が行う基本的な処理の概略的な説明図である。なお、既に説明した構成要素については、同じ符号を付して説明は省略する。
コンピュータ720では、コンピュータ720に搭載されたオペレーティングシステムの下、ビデオドライバ722、アプリケーションプログラム721、プリンタドライバ725などのコンピュータプログラムが動作している。
ビデオドライバ722は、アプリケーションプログラム721やプリンタドライバ725からの表示命令に従って、所定の画面を表示装置704に表示する機能を有する。
=== Printer driver ===
<About the printer driver>
FIG. 10 is a schematic explanatory diagram of basic processing performed by the printer driver 725. In addition, about the component already demonstrated, the same code | symbol is attached | subjected and description is abbreviate | omitted.
In the computer 720, computer programs such as a video driver 722, an application program 721, and a printer driver 725 are operating under an operating system installed in the computer 720.
The video driver 722 has a function of displaying a predetermined screen on the display device 704 in accordance with a display command from the application program 721 or the printer driver 725.

アプリケーションプログラム721は、例えば、画像編集などを行う機能を有し、画像に関するデータ(画像データ)を作成するためのプログラムである。ユーザーは、アプリケーションプログラム721のユーザーインタフェースを介して、アプリケーションプログラム721により編集した画像を印刷する指令を与えることができる。アプリケーションプログラム721は、印刷指令を受けると、プリンタドライバ725に画像データを出力したりする。   The application program 721 has a function of performing image editing, for example, and is a program for creating data relating to an image (image data). The user can give an instruction to print an image edited by the application program 721 via the user interface of the application program 721. Upon receiving a print command, the application program 721 outputs image data to the printer driver 725.

プリンタドライバ725は、アプリケーションプログラム721から画像データを受け取り、受け取った画像データを印刷可能な印刷データに変換し、変換した印刷データをプリンタ1に出力する。画像データは、印刷される画像の各単位領域に対応するデータとして単位領域データを有している。そして、各単位領域データは、RGB又はCMYK等の色ごとの階調値にて表現されており、後述する各処理の段階に応じて、階調値等が変換され、最終的に前記印刷データの段階では、用紙上に形成されるドットに対応する印刷データ(ドットの色や大きさ等のデータ)に変換される。ここで、画像データが示している各単位領域に対応する階調値は、各単位領域が当該階調値にて設定された濃度であることを示しており、例えば、ブラックインクにて印刷する場合では、濃度0(白色)を示す階調値は「0」であり、濃度100%(黒色)を示す階調値は「255」が設定されている。   The printer driver 725 receives image data from the application program 721, converts the received image data into printable print data, and outputs the converted print data to the printer 1. The image data has unit area data as data corresponding to each unit area of the image to be printed. Each unit area data is expressed by a gradation value for each color such as RGB or CMYK, and the gradation value is converted according to each processing stage described later, and finally the print data At this stage, the print data (data such as the color and size of the dots) corresponding to the dots formed on the paper is converted. Here, the gradation value corresponding to each unit area indicated by the image data indicates that each unit area has a density set by the gradation value. For example, printing is performed with black ink. In this case, the gradation value indicating density 0 (white) is “0”, and the gradation value indicating density 100% (black) is set to “255”.

印刷データは、プリンタ1が解釈できる形式のデータであって、前記単位領域データと、各種のコマンドデータとを有するデータである。コマンドデータとは、プリンタ1に特定の動作の実行を指示するためのデータであり、例えば搬送量を示すデータである。   The print data is data in a format that can be interpreted by the printer 1, and is data having the unit area data and various command data. The command data is data for instructing the printer 1 to execute a specific operation, for example, data indicating the carry amount.

プリンタドライバ725は、アプリケーションプログラム721から出力された画像データや、スキャナ400にて読み取られた画像データを印刷データに変換するため、解像度変換処理、色変換処理、画像データ補正処理、ハーフトーン処理、ラスタライズ処理などを行う。以下、プリンタドライバ725が行う各種の処理について説明する。   The printer driver 725 converts the image data output from the application program 721 and the image data read by the scanner 400 into print data, so that resolution conversion processing, color conversion processing, image data correction processing, halftone processing, Perform rasterization processing. Hereinafter, various processes performed by the printer driver 725 will be described.

解像度変換処理は、アプリケーションプログラム721から出力された画像データ(テキストデータ、イメージデータなど)やを、用紙Sに画像を印刷する際の解像度(印刷するときのドットの間隔であり、印刷解像度ともいう)に変換する処理である。例えば、印刷解像度が720×720dpiに指定されている場合には、アプリケーションプログラム721から受け取った画像データを720×720dpiの解像度の画像データに変換する。   The resolution conversion process is the resolution when printing image data (text data, image data, etc.) output from the application program 721 or an image on the paper S (the interval between dots when printing, and is also called the print resolution). ). For example, when the print resolution is specified as 720 × 720 dpi, the image data received from the application program 721 is converted into image data having a resolution of 720 × 720 dpi.

この変換方法としては、単位領域データの補間や間引きなどがある。例えば、画像データの解像度が指定された印刷解像度よりも低い場合には、線形補間等を行って隣り合う単位領域データ同士の間に新たな単位領域データを生成する。逆に、画像データの解像度が印刷解像度よりも高い場合には、一定の割合で単位領域データを間引く等して、画像データの解像度を前記印刷解像度に揃える。   This conversion method includes interpolation and thinning of unit area data. For example, when the resolution of the image data is lower than the designated print resolution, new unit area data is generated between adjacent unit area data by performing linear interpolation or the like. On the contrary, when the resolution of the image data is higher than the print resolution, the resolution of the image data is made equal to the print resolution by thinning out the unit area data at a constant rate.

また、この解像度変換処理においては、画像データを、印刷する印刷領域(実際にインクが吐出される領域をいう。)のサイズに対応させて加工するサイズ調整も行う。
なお、アプリケーションプログラム721から出力された画像データ中の各単位領域データは、RGB色空間により表される多段階(例えば256段階)の階調値である。以下、RGBの階調値を示す単位領域データのことをRGB単位領域データと言い、また、RGB単位領域データから構成される画像データをRGB画像データと言う。
In this resolution conversion processing, image data is also adjusted in size so as to correspond to the size of a print area to be printed (an area where ink is actually ejected).
Each unit area data in the image data output from the application program 721 is a multi-level (for example, 256 levels) gradation value represented by an RGB color space. Hereinafter, unit region data indicating RGB gradation values is referred to as RGB unit region data, and image data composed of RGB unit region data is referred to as RGB image data.

色変換処理は、前記RGB画像データの各RGB単位領域データを、CMYK色空間により表される多段階(例えば256段階)の階調値を示すデータに変換する処理である。ここでCMYKとは、プリンタ1が有するインクの色である。すなわち、Cはシアンを、Mはマゼンタを、Yはイエローを、Kはブラックをそれぞれ意味する。以下、CMYKの階調値を示す単位領域データのことをCMYK単位領域データといい、CMYK単位領域データから構成される画像データのことをCMYK画像データという。色変換処理は、RGBの階調値とCMYKの階調値とを対応づけたテーブル(色変換ルックアップテーブルLUT)をプリンタドライバ725が参照することによって行われる。   The color conversion process is a process of converting each RGB unit area data of the RGB image data into data indicating gradation values of multiple levels (for example, 256 levels) represented by a CMYK color space. Here, CMYK is the color of ink that the printer 1 has. That is, C means cyan, M means magenta, Y means yellow, and K means black. Hereinafter, unit area data indicating CMYK gradation values is referred to as CMYK unit area data, and image data composed of CMYK unit area data is referred to as CMYK image data. The color conversion processing is performed by the printer driver 725 referring to a table (color conversion lookup table LUT) in which RGB gradation values and CMYK gradation values are associated with each other.

画像データ補正処理は、多色印刷された画像中の列領域間の濃度ムラを抑制するために、列領域毎に実行される処理である。画像データ補正処理については後で詳述する。   The image data correction process is a process executed for each row region in order to suppress density unevenness between the row regions in the multicolor printed image. The image data correction process will be described in detail later.

ハーフトーン処理は、多段階の階調値を有するCMYK単位領域データを、プリンタ1が表現可能な、少段階の階調値を有するCMYK単位領域データに変換する処理である。例えば、ハーフトーン処理により、256段階の階調値を示すCMYK単位領域データが、4段階の階調値を示す2ビットのCMYK単位領域データに変換される。この2ビットのCMYK単位領域データは、各色について、例えば、「ドットの形成なし」(2進数の値として「00」)、「小ドットの形成」(同じく「01」)、「中ドットの形成」(同じく「10」)、「大ドットの形成」(同じく「11」)を示すデータである。   The halftone process is a process for converting CMYK unit area data having multi-stage gradation values into CMYK unit area data having small-stage gradation values that can be expressed by the printer 1. For example, CMYK unit area data indicating 256 gradation values is converted into 2-bit CMYK unit area data indicating 4 gradation values by halftone processing. This 2-bit CMYK unit area data includes, for example, “no dot formation” (binary value “00”), “small dot formation” (also “01”), “medium dot formation” for each color. (Also “10”) and “large dot formation” (also “11”).

このようなハーフトーン処理には、例えばディザ法等が利用され、プリンタ1がドットを分散して形成できるような2ビットのCMKY単位領域データを作成する。また、このハーフトーン処理に用いる方法は、ディザ法に限るものではなく、γ補正法や誤差拡散法等を利用しても良い。   For such a halftone process, for example, a dither method or the like is used, and 2-bit CMKY unit area data is created so that the printer 1 can form dots dispersedly. Further, the method used for the halftone process is not limited to the dither method, and a γ correction method, an error diffusion method, or the like may be used.

ラスタライズ処理は、前記ハーフトーン処理がなされたCMYK画像データを、プリンタ1に転送すべきデータ順に変更する処理である。ラスタライズ処理されたデータは、前記印刷データとしてプリンタ1に出力される。   The rasterizing process is a process for changing the CMYK image data subjected to the halftone process in the order of data to be transferred to the printer 1. The rasterized data is output to the printer 1 as the print data.

尚、このプリンタドライバ725の各処理は、スキャナ400にて読み取られた画像データに対しても実行可能であり、たとえば、スキャナ400にて読み取られたRGBの各成分の画像データに対し、解像度変換処理、色変換処理、画像データ補正処理、ハーフトーン処理、ラスタライズ処理を実行することにより、印刷データを生成し、スキャナ400にて読み取られた画像データに基づいてプリンタ1にて用紙等に画像を印刷することが可能である。   Each process of the printer driver 725 can also be executed on image data read by the scanner 400. For example, resolution conversion is performed on image data of RGB components read by the scanner 400. Print data is generated by executing processing, color conversion processing, image data correction processing, halftone processing, and rasterization processing, and an image is printed on a sheet or the like by the printer 1 based on the image data read by the scanner 400 It is possible to print.

===印刷動作について===
図11は、印刷時の動作のフローチャートである。以下に説明される各動作は、プリンタコントローラ60が、メモリ内に格納されたプログラムに従って、各ユニットを制御することにより実行される。このプログラムは、各動作を実行するためのコードを有する。
=== About printing operation ===
FIG. 11 is a flowchart of the operation during printing. Each operation described below is executed by the printer controller 60 controlling each unit in accordance with a program stored in the memory. This program has code for executing each operation.

印刷命令受信(S001):プリンタコントローラ60は、インターフェースを介してコンピュータ720から印刷命令を受信する。この印刷命令は、コンピュータ720から送信される印刷データのヘッダに含まれている。そして、プリンタコントローラ60は、受信した印刷データに含まれる各種コマンドの内容を解析し、各ユニットを用いて、以下の給紙動作、搬送動作、ドット形成動作等を行う。   Print command reception (S001): The printer controller 60 receives a print command from the computer 720 via the interface. This print command is included in the header of print data transmitted from the computer 720. The printer controller 60 analyzes the contents of various commands included in the received print data, and performs the following paper feed operation, transport operation, dot formation operation, and the like using each unit.

給紙動作(S002):プリンタコントローラ60は、給紙動作を行う。給紙動作とは、印刷対象となる用紙Sを移動させて、印刷開始位置(所謂、頭出し位置)に位置決めする処理である。すなわち、プリンタコントローラ60は、給紙ローラ21を回転させ、印刷すべき用紙Sを搬送ローラ23まで送る。続いて、プリンタコントローラ60は、搬送ローラ23を回転させ、給紙ローラ21から送られてきた用紙Sを印刷開始位置に位置決めする。なお、用紙Sが印刷開始位置に位置決めされたとき、ヘッド41の少なくとも一部のノズルは、用紙Sと対向している。   Paper Feed Operation (S002): The printer controller 60 performs a paper feed operation. The paper feeding operation is a process of moving the paper S to be printed and positioning it at a printing start position (so-called cueing position). That is, the printer controller 60 rotates the paper feed roller 21 and sends the paper S to be printed to the transport roller 23. Subsequently, the printer controller 60 rotates the transport roller 23 to position the paper S sent from the paper feed roller 21 at the print start position. When the paper S is positioned at the printing start position, at least some of the nozzles of the head 41 are opposed to the paper S.

ドット形成動作(S003):プリンタコントローラ60は、ドット形成動作を行う。ドット形成動作とは、キャリッジ移動方向に沿って移動するヘッド41からインクを断続的に吐出させ、用紙Sにドットを形成する動作である。このときプリンタコントローラ60は、キャリッジモータ32を駆動し、キャリッジ31をキャリッジ移動方向に移動させる。また、プリンタコントローラ60は、キャリッジ31が移動している間に、印刷データに基づいてヘッド41からインクを吐出させる。そして、ヘッド41から吐出されたインクが用紙S上に着弾すれば、前述したように、用紙S上にドットが形成される。このとき、キャリッジ31を移動させつつノズルからインクを吐出させると、用紙S上に移動方向に沿ったラスタライン(ドット列)が形成される。   Dot Forming Operation (S003): The printer controller 60 performs a dot forming operation. The dot forming operation is an operation of forming dots on the paper S by intermittently ejecting ink from the head 41 moving along the carriage movement direction. At this time, the printer controller 60 drives the carriage motor 32 to move the carriage 31 in the carriage movement direction. Further, the printer controller 60 discharges ink from the head 41 based on the print data while the carriage 31 is moving. When the ink ejected from the head 41 lands on the paper S, dots are formed on the paper S as described above. At this time, when ink is ejected from the nozzles while moving the carriage 31, a raster line (dot row) along the moving direction is formed on the paper S.

搬送動作(S004):プリンタコントローラ60は、搬送動作を行う。搬送動作とは、用紙Sを、ヘッド41に対し、搬送方向に沿って相対的に移動させる処理である。プリンタコントローラ60は、搬送モータ22を駆動し、搬送ローラ23を回転させて用紙Sを搬送方向に搬送する。この搬送動作により、ヘッド41は、前記したドット形成動作によって既に形成されたドットの位置とは異なる位置に、ドットを形成することが可能になる。   Transport Operation (S004): The printer controller 60 performs a transport operation. The transport operation is a process of moving the paper S relative to the head 41 along the transport direction. The printer controller 60 drives the carry motor 22 and rotates the carry roller 23 to carry the paper S in the carrying direction. By this transport operation, the head 41 can form dots at positions different from the positions of dots already formed by the dot formation operation described above.

排紙判断(S005):プリンタコントローラ60は、印刷中の用紙Sについて排紙の判断を行う。この判断時において、印刷中の用紙Sに印刷するためのデータが残っていれば、排紙は行われない。そして、プリンタコントローラ60は、印刷するためのデータがなくなるまでドット形成動作と搬送動作とを交互に繰り返し、ドットから構成される画像を徐々に用紙Sに印刷する。印刷中の用紙Sに印刷するためのデータがなくなったならば、プリンタコントローラ60は、その用紙Sを排出する。すなわち、プリンタコントローラ60は、排紙ローラ25を回転させることにより、印刷した用紙Sを外部に排出する。なお、排紙を行うか否かの判断は、印刷データに含まれる排紙コマンドに基づいて行っても良い。   Paper discharge determination (S005): The printer controller 60 determines paper discharge for the paper S being printed. At the time of this determination, if data for printing on the paper S being printed remains, the paper is not discharged. Then, the printer controller 60 alternately repeats the dot formation operation and the conveyance operation until there is no data to be printed, and gradually prints an image composed of dots on the paper S. When there is no more data to be printed on the paper S being printed, the printer controller 60 discharges the paper S. That is, the printer controller 60 discharges the printed paper S to the outside by rotating the paper discharge roller 25. Note that whether or not to discharge paper may be determined based on a paper discharge command included in the print data.

印刷終了判断(S006):プリンタコントローラ60は、印刷を続行するか否かの判断を行う。次の用紙Sに印刷を行う場合には、給紙動作(S002)により新たな用紙を給紙し印刷を続行し、印刷を続行する。次の用紙Sに印刷を行わない場合には、印刷動作を終了する。   Print end determination (S006): The printer controller 60 determines whether or not to continue printing. When printing on the next sheet S, a new sheet is fed by the sheet feeding operation (S002), printing is continued, and printing is continued. If printing is not performed on the next sheet S, the printing operation is terminated.

===画像中の濃度ムラの発生原因について===
CMYKのインクを用いて多色印刷された画像中に生じる濃度ムラは、基本的には、その各インク色でそれぞれに生じる濃度ムラが原因である。このため、各インク色の濃度ムラをそれぞれ別々に抑制することによって、多色印刷された画像中の濃度ムラを抑制することとする。
=== Regarding Cause of Density Unevenness in Image ===
Density unevenness that occurs in an image printed in multiple colors using CMYK inks is basically caused by density unevenness that occurs in each ink color. For this reason, density unevenness in an image printed in multiple colors is suppressed by suppressing density unevenness of each ink color separately.

そこで、以下では、いずれかの色のインクにて単色印刷された画像中に生じる濃度ムラの発生原因について説明する。図12は、単色印刷された画像中において用紙Sの搬送方向に生じる濃度ムラを説明するための図である。   Therefore, in the following, the cause of density unevenness occurring in an image printed in a single color with any color ink will be described. FIG. 12 is a diagram for explaining density unevenness that occurs in the transport direction of the paper S in a single-color printed image.

図12に例示した搬送方向の濃度ムラは、キャリッジ移動方向に沿って平行な横縞状に見えている。このような横縞状の濃度ムラは、たとえば、ノズル毎のインク吐出量のばらつきによって発生するが、ノズルの加工精度のばらつきによっても発生する。すなわち、ノズルの加工精度のばらつきにより、ノズルが吐出するインクの飛行方向もばらつく。この飛行方向のばらつきにより、用紙Sに着弾したインクによるドット形成位置が、目標形成位置に対して搬送方向にずれる場合がある。この場合には、必然的に、これらドットが構成するラスタラインの形成位置も搬送方向に関して目標形成位置からずれてしまう。このため、搬送方向に隣り合うラスタライン同士の間隔が、周期的に空いたり詰まったりした状態となる。これを巨視的に見ると横縞状の濃度ムラとなって見えてしまうのである。すなわち、隣り合うラスタライン同士の間隔が相対的に広がったり狭くなったりすることにより、列領域内に本来形成されるドットより多くのドット又はドットの一部が形成された列領域は巨視的に濃く見え、列領域内に本来形成されるべきドットやドットの一部が隣接する列領域に形成されてしまった場合には、その列領域は巨視的に薄く見えるのである。ここで、ラスタラインとは、キャリッジ31を移動させつつインクを断続的に吐出することによって、キャリッジ移動方向に沿って形成されるドット列を示している。   The density unevenness in the conveyance direction illustrated in FIG. 12 appears as horizontal stripes parallel to the carriage movement direction. Such horizontal stripe-shaped density unevenness occurs due to, for example, variations in the ink discharge amount for each nozzle, but also due to variations in the processing accuracy of the nozzles. In other words, the flying direction of the ink ejected by the nozzles varies due to variations in nozzle processing accuracy. Due to the variation in the flight direction, the dot formation position by the ink that has landed on the paper S may shift in the transport direction with respect to the target formation position. In this case, the raster line formation position formed by these dots is inevitably shifted from the target formation position in the transport direction. For this reason, the interval between the raster lines adjacent in the transport direction is periodically vacated or clogged. When viewed macroscopically, it appears as horizontal stripe-shaped density unevenness. That is, when the interval between adjacent raster lines is relatively widened or narrowed, a row region in which more dots or a part of dots are formed in a row region is macroscopically formed. When the dots appear dark and dots or a part of the dots that should be originally formed in the row areas are formed in adjacent row areas, the row areas appear macroscopically thin. Here, the raster line indicates a dot row formed along the carriage movement direction by intermittently ejecting ink while moving the carriage 31.

なお、濃度ムラの発生原因は、他のインク色に関しても当てはまることである。そして、CMYKのうちの1色でもこの傾向があれば、多色印刷の画像中には濃度ムラが顕れてしまう。   The cause of density unevenness is also applicable to other ink colors. If this tendency is observed even in one color of CMYK, density unevenness appears in a multicolor image.

===本実施形態に係る画像の印刷方法について==
図13は、本実施形態に係る画像の印刷方法に関連する工程等の流れを示すフローチャートである。以下、このフローチャートを参照して、各工程の概略を説明する。まず、製造ラインにおいてプリンタ1が組み立てられる(S110)。次に、いくつかの特定濃度に対応づけられ、列領域毎に濃度を補正するための調整情報としての補正値が設定され、プリンタ1に記憶されている処理が検査担当の作業者などにより実行される(S120)。この補正値は、印刷すべき画像のデータとして供給された各単位領域に対応する階調値を補正するためにラスタラインが形成される列領域毎に設定される値である。
=== Regarding the Image Printing Method According to the Present Embodiment ==
FIG. 13 is a flowchart showing a flow of processes and the like related to the image printing method according to the present embodiment. Hereinafter, the outline of each process will be described with reference to this flowchart. First, the printer 1 is assembled on the production line (S110). Next, correction values corresponding to some specific densities are set as adjustment information for correcting the density for each row area, and the processing stored in the printer 1 is executed by an operator in charge of inspection. (S120). This correction value is a value set for each row region in which a raster line is formed in order to correct the gradation value corresponding to each unit region supplied as image data to be printed.

本実施形態においては、5種類の特定濃度に対応付けられた階調値に基づいて印刷されるサブパターンを有する補正用パターンをインク色毎に印刷し、印刷された補正用パターンの各サブパターンを構成するラスタラインが形成された列領域の濃度を各々検出し、列領域毎に検出された濃度の平均値を算出し、算出された濃度の平均値を目標濃度として、各列領域の濃度が目標濃度になるように、画像データの階調値を補正することにより、各列領域間における濃度ムラを抑える。このため、まず、5種類の特定濃度のうちのいくつかの特定濃度を示す階調値を補正するための補正値を求める。すなわち、補正用パターンは特定濃度のみ印刷され、実際に印刷した補正用パターンの濃度を読み取った読取濃度データに基づいて、印刷された特定濃度のうちのいずれかの特定濃度に対応する補正値を求める。そして、補正値に対応する特定濃度以外の他の濃度については、補正値に基づいて得られた特定濃度の補正後の階調値を線形補間することにより各濃度に対応する補正後の階調値を求めることとする。   In the present embodiment, a correction pattern having a sub-pattern to be printed based on gradation values associated with five types of specific densities is printed for each ink color, and each printed sub-pattern of the correction pattern is printed. The density of each row area is detected by detecting the density of each row area in which the raster lines constituting the image are formed, calculating the average value of the density detected for each row area, and using the calculated density average value as the target density By correcting the gradation value of the image data so that becomes the target density, density unevenness between the row regions is suppressed. For this reason, first, correction values for correcting gradation values indicating some specific densities among the five types of specific densities are obtained. That is, the correction pattern is printed only at a specific density, and based on the read density data obtained by reading the density of the actually printed correction pattern, a correction value corresponding to any one of the printed specific densities is obtained. Ask. For other densities other than the specific density corresponding to the correction value, the corrected gradation corresponding to each density is obtained by linearly interpolating the corrected gradation value of the specific density obtained based on the correction value. The value is to be obtained.

次に、プリンタ1が出荷される(S130)。そして、このプリンタ1を購入したユーザーによって画像の本印刷が行われるが、本印刷の際には、プリンタ1は、記憶されている列領域毎の補正値に基づいて画像データの濃度を補正し、補正した画像データに基づいて画像を用紙Sに印刷する(S140)。ここで本印刷とは、補正用パターン等の所定のテストパターンの印刷に対し、ユーザー等が行う自然画等、所望の画像の印刷をいう。本実施形態に係る補正値の設定(ステップS120)について詳述する。   Next, the printer 1 is shipped (S130). The user who has purchased the printer 1 performs the actual printing of the image. At the time of the actual printing, the printer 1 corrects the density of the image data based on the stored correction value for each row area. Then, an image is printed on the paper S based on the corrected image data (S140). Here, the main printing refers to printing of a desired image such as a natural image performed by a user or the like for printing a predetermined test pattern such as a correction pattern. The correction value setting (step S120) according to the present embodiment will be described in detail.

<ステップS120:濃度ムラを抑制するための補正値の設定>
図14は、補正値を設定する処理の手順を示すフローチャートである。以下、このフローチャートを参照し、補正値の設定手順について説明する。
<Step S120: Setting Correction Value for Suppressing Density Unevenness>
FIG. 14 is a flowchart illustrating a procedure of processing for setting a correction value. Hereinafter, the correction value setting procedure will be described with reference to this flowchart.

補正値を設定する方法は、まず補正値を設定する対象となるプリンタにて補正用パターンCPを印刷するステップ(S200)、補正用パターンを読み取るためのスキャナを初期設定するステップ(S210)、印刷された補正用パターンCPを読み取るステップ(S220)、読み取ったデータの傾きを検出するステップ(S230)、読み取ったデータの傾きを調整するステップ(S240)、傾き調整したデータにおける所望の領域の最も端のラスタラインの位置を検出するステップ(S250)、副走査方向における補正用パターンのエッジを検出するステップ(S260)、検出した最端ラスタライン間に相当するデータと列領域を対応付けるためにデータを変換するステップ(S270)、変換されたデータに基づいて各列領域の濃度の平均値を算出するステップ(S280)、算出された濃度の平均値に基づいて特定濃度の補正値を算出するステップ(S290)、算出された補正値をメモリに記憶するステップ(S300)を有する。以下、各ステップについて説明する。本実施形態においては、補正用パターンとして印刷する特定濃度を示す特定階調値を、例えば濃度10%、30%、50%、70%、100%に相当する5種類の階調値とする。ここで、設定可能な濃度範囲は濃度0から濃度100%であり、濃度0に対応する階調値は、最低値の「0」であり、濃度100%に対応する階調値は最高値の「255」である。   The method for setting the correction value is as follows. First, the correction pattern CP is printed by the printer for which the correction value is to be set (S200), the scanner for reading the correction pattern is initially set (S210), and printing. A step of reading the corrected correction pattern CP (S220), a step of detecting the inclination of the read data (S230), a step of adjusting the inclination of the read data (S240), and the extreme end of the desired area in the adjusted data. The step of detecting the position of the raster line (S250), the step of detecting the edge of the correction pattern in the sub-scanning direction (S260), and the data corresponding to the data corresponding to the detected endmost raster line and the column region. Converting (S270), each column region based on the converted data A step of calculating an average value of density (S280), a step of calculating a correction value of a specific density based on the calculated average value of density (S290), and a step of storing the calculated correction value in a memory (S300) Have. Hereinafter, each step will be described. In the present embodiment, the specific gradation values indicating the specific density to be printed as the correction pattern are, for example, five kinds of gradation values corresponding to densities of 10%, 30%, 50%, 70%, and 100%. Here, the settable density range is density 0 to density 100%, the gradation value corresponding to density 0 is the lowest value “0”, and the gradation value corresponding to density 100% is the highest value. “255”.

(1)ステップS200:補正用パターンCPの印刷
ステップS200において、インク色毎に補正用パターンCPを用紙Sに印刷する。ここでは、検査担当などの作業者は、検査ラインに設置されたコンピュータ720にプリンタ1を通信可能な状態に接続し、このプリンタ1によって補正用パターンCPを印刷する。すなわち、作業者は、コンピュータ720のユーザーインタフェースを介し、補正用パターンCPを印刷させる操作をする。この操作により、コンピュータ720は、メモリに格納されている補正用パターンCPの印刷データをプリンタ1に出力する。プリンタ1は、印刷データに基づいて用紙Sに補正用パターンCPを印刷する。なお、この補正用パターンCPを印刷するプリンタ1は、補正値の設定対象となるプリンタ1である。つまり、補正値の設定は、プリンタ1毎に行われる。
(1) Step S200: Printing Correction Pattern CP In step S200, the correction pattern CP is printed on the paper S for each ink color. Here, an operator in charge of inspection connects the printer 1 to a communicable state with a computer 720 installed on the inspection line, and prints the correction pattern CP by the printer 1. That is, the operator performs an operation for printing the correction pattern CP via the user interface of the computer 720. By this operation, the computer 720 outputs the print data of the correction pattern CP stored in the memory to the printer 1. The printer 1 prints the correction pattern CP on the paper S based on the print data. Note that the printer 1 that prints the correction pattern CP is the printer 1 for which correction values are set. That is, the correction value is set for each printer 1.

<<補正用パターン>>
図15は、印刷された補正用パターンCPの一例を説明するための図である。図示するように、本実施形態の補正用パターンCPは1枚の用紙に色毎に4つ印刷される。各補正用パターンCPは互いに濃度が異なる複数のサブパターンSPを有し、インク色毎にそれぞれに印刷される。この例では、インク色毎に上述した5種類の特定濃度を示す特定階調値に基づいてサブパターンSPがそれぞれ印刷されている。ここで5種類の特定濃度のうち、いずれかの特定濃度示す特定階調値に基づいてサブパターンSPが特定濃度パターンであり、その他のサブパターンSPが、この特定濃度パターンと濃度が異なる他の特定濃度パターンに相当する。
<< Correction pattern >>
FIG. 15 is a diagram for explaining an example of the printed correction pattern CP. As shown in the drawing, four correction patterns CP of this embodiment are printed for each color on one sheet. Each correction pattern CP has a plurality of sub-patterns SP having different densities, and is printed for each ink color. In this example, the sub patterns SP are printed based on the specific gradation values indicating the above-described five specific densities for each ink color. Here, among the five types of specific densities, the sub pattern SP is a specific density pattern based on a specific gradation value indicating any one of the specific densities, and the other sub patterns SP are different in density from the specific density pattern. It corresponds to a specific density pattern.

補正用パターンCPの各サブパターンSPを印刷するための印刷データは、各濃度に相当する特定階調値が、用紙上に1つのドットを形成するための仮想領域、すなわち単位領域のすべてに割り付けられたCMYK画像データを想定し、想定したCMYK画像データを、プリンタドライバにてハーフトーン処理及びラスタライズ処理した場合に生成される印刷データである。このため、メモリに格納されている補正用パターンCPの印刷データは、各濃度を示す階調値に基づいて、理想的なプリンタにて帯形状の各サブパターンSPが印刷された際に、それぞれ均一な濃度になるように設定されている。すなわち、理想的なプリンタにて印刷された各サブパターンSPは、それぞれに、搬送方向に沿って、ほぼ一定の濃度で印刷されることになる。ここで、理想的なプリンタとは、設計通りに加工・製造されたプリンタであり、ノズルから吐出されたインク滴により目標位置にドットが形成されるプリンタを示している。図15では、説明の便宜上、補正用パターンCP毎に印刷されたインク色を示す文字が印刷されているが、インク色を示す文字は印刷されている必要はない。また、以下の説明において、補正用パターンは最初に印刷されるラスタライン側、すなわち印刷された用紙の搬送時における先端側を補正用パターンにおいても先端側と称し、最後に印刷されるラスタライン側、すなわち印刷された用紙の搬送時における後端側を補正用パターンにおいても後端側と称する。   In the print data for printing each sub-pattern SP of the correction pattern CP, a specific gradation value corresponding to each density is assigned to all of the virtual areas, that is, the unit areas for forming one dot on the paper. This is print data generated when the assumed CMYK image data is assumed and the assumed CMYK image data is subjected to halftone processing and rasterization processing by a printer driver. For this reason, the print data of the correction pattern CP stored in the memory is printed when each band-shaped sub-pattern SP is printed by an ideal printer based on the gradation value indicating each density. The density is set to be uniform. That is, each sub-pattern SP printed by an ideal printer is printed at a substantially constant density along the transport direction. Here, the ideal printer is a printer that is processed and manufactured as designed, and indicates a printer in which dots are formed at target positions by ink droplets ejected from nozzles. In FIG. 15, for the sake of convenience of explanation, characters indicating the ink color printed for each correction pattern CP are printed, but the characters indicating the ink color need not be printed. In the following description, the correction pattern is the raster line side that is printed first, that is, the leading end side during conveyance of the printed paper is also referred to as the leading end side in the correction pattern, and the last printed raster line side. That is, the rear end side when the printed paper is conveyed is also referred to as the rear end side in the correction pattern.

5つのサブパターンSPを有するインク色毎の補正用パターンCP同士の相違点は、基本的にインク色だけである。このため、以下では、4つの補正用パターンCPを代表して、ブラック(K)の5つのサブパターンSPを有する補正用パターンCPkについて説明する。   The difference between the correction patterns CP for each ink color having the five sub-patterns SP is basically only the ink color. Therefore, in the following, the correction pattern CPk having the five sub patterns SP of black (K) will be described as a representative of the four correction patterns CP.

本実施形態の補正用パターンCPは、図15に示すように、1枚の用紙にK,C,M,Yの色毎に4つ印刷されている。そして、各補正用パターンCPは、上記5種類の特定階調値に基づいて、5種類の濃度にて各々、用紙の搬送方向に長い帯形状のサブパターンSPが印刷され、5つのサブパターンSPは、キャリッジ移動方向に並べられ、互いに隣接させて配置されている。すなわち、各補正用パターンCPは5つのサブパターンSPからなるサブパターン群を有している。   As shown in FIG. 15, four correction patterns CP of this embodiment are printed on one sheet for each of K, C, M, and Y colors. Each correction pattern CP is printed with a strip-shaped sub-pattern SP that is long in the paper transport direction at five different densities based on the five specific gradation values. Are arranged in the carriage movement direction and adjacent to each other. That is, each correction pattern CP has a sub pattern group composed of five sub patterns SP.

また、前述したように、多色印刷における濃度ムラの抑制は、その多色印刷に用いられるインク色毎にそれぞれ行われるが、それぞれ抑制に用いられる方法は同じである。このため、以下の説明は、ブラック(K)に代表させて行い、以下の説明においては、ブラック(K)の一色についてだけ記載している箇所も有るが、その他のC,M,Yのインク色についても同様である。   Further, as described above, suppression of density unevenness in multicolor printing is performed for each ink color used for the multicolor printing, but the method used for the suppression is the same. For this reason, the following description will be made on behalf of black (K). In the following description, there is a place where only one color of black (K) is described, but other C, M, and Y inks are used. The same applies to the color.

ブラック(K)の補正用パターンCPkは、5種類の濃度のサブパターンSPka,SPkb,SPkc,SPkd,SPkeがキャリッジ移動方向に沿って並べられている。すなわち、各サブパターンSPka,SPkb,SPkc,SPkd,SPkeは、キャリッジ移動方向に沿って形成された複数のラスタライン(ドット列)が、キャリッジ移動方向と交差する方向となる搬送方向に沿って複数並べられて構成されている。そして、各サブパターンSPka,SPkb,SPkc,SPkd,SPkeにて搬送方向の同じ位置に形成されたドットにて構成されるラスタラインは、キャリッジ31の同一の移動動作の際に同じノズルからインクが吐出されて形成されている。   In the black (K) correction pattern CPk, five types of density sub-patterns SPka, SPkb, SPkc, SPkd, and SPke are arranged along the carriage movement direction. That is, each of the sub-patterns SPka, SPkb, SPkc, SPkd, and SPke has a plurality of raster lines (dot rows) formed along the carriage movement direction and a plurality of them along the conveyance direction that intersects the carriage movement direction. It is arranged side by side. A raster line composed of dots formed at the same position in the transport direction in each of the sub-patterns SPka, SPkb, SPkc, SPkd, and SPke receives ink from the same nozzle during the same movement operation of the carriage 31. It is formed by being discharged.

ところで、プリンタ1は、画像を印刷する際にインクを吐出しつつキャリッジ31を移動させる動作と、用紙を搬送させる動作とを交互に繰り返す。このため、用紙の搬送量及び使用ノズル数により決定される所定幅のブロック毎に、設定されたノズルにて印刷されることになる。すなわち、画像は基本的に所定幅の複数のブロックが搬送方向につなげられて形成されることになり、1枚の用紙に画像を印刷する際には各ノズルにて形成されたドットが同じように配置されるブロックが複数存在する。このため、補正用パターンCPは、各ラスタラインが互いに異なるノズルにて形成される前記ブロックが少なくとも1つ含まれるように設定されている。   Incidentally, the printer 1 alternately repeats the operation of moving the carriage 31 while ejecting ink and the operation of transporting paper when printing an image. For this reason, printing is performed with the set nozzles for each block having a predetermined width determined by the amount of paper transport and the number of nozzles used. That is, the image is basically formed by connecting a plurality of blocks having a predetermined width in the transport direction, and when the image is printed on one sheet, the dots formed by the nozzles are the same. There are a plurality of blocks arranged in. Therefore, the correction pattern CP is set so as to include at least one block in which each raster line is formed by different nozzles.

また、色毎に形成された補正用パターンCPにおいては、用紙の搬送方向に沿って複数並べられたラスタラインのうち最も端に位置する最端ラスタラインが、キャリッジ移動方向において、他のラスタラインより広い領域に亘って延出された1ドット幅の延出部Lを有している。この延出部Lは、補正用パターンCPの先端側に位置する最端ラスタラインLsと、後端側に位置する最端ラスタラインLeが、他のラスタラインより長く延出され、濃度100%の濃度にて形成されている。ここで、先端側の最端ラスタラインLs及び後端側の最端ラスタラインLeにおいて、延出部Lと、5つのサブパターンSPにて構成されている部分(以下、主要部という)Mとは必ずしも繋がっている必要はなく、主要部Mを印刷する際におけるキャリッジ31の移動動作と同一の移動動作において、最端ラスタラインを形成するノズルからインクが吐出されて延出部Lが形成されていればよい。すなわち、延出部Lは各補正用パターンCPの傾きを検出するためにキャリッジ31の移動方向に沿って形成された罫線であって、本実施形態では、各補正用パターンCPの先端側の最端ラスタラインLsの延出部Lが、画像の傾きを検出するための被検出部に相当する。   In addition, in the correction pattern CP formed for each color, the outermost raster line located at the end of the plurality of raster lines arranged along the paper conveyance direction is another raster line in the carriage movement direction. It has an extended portion L with a width of 1 dot extending over a wider area. In the extended portion L, the outermost raster line Ls located on the front end side of the correction pattern CP and the outermost raster line Le located on the rear end side are extended longer than the other raster lines, and the density is 100%. It is formed with the density | concentration of. Here, in the extreme end raster line Ls on the front end side and the extreme end raster line Le on the rear end side, an extended portion L and a portion (hereinafter referred to as a main portion) M constituted by five sub patterns SP, Are not necessarily connected, and in the same movement operation as the movement of the carriage 31 when printing the main part M, ink is ejected from the nozzles forming the outermost raster line, and the extension part L is formed. It only has to be. In other words, the extending portion L is a ruled line formed along the moving direction of the carriage 31 to detect the inclination of each correction pattern CP. The extended portion L of the end raster line Ls corresponds to a detected portion for detecting the inclination of the image.

さらに、各色の補正用パターンCPには、先端側の延出部Lと後端側の延出部Lとの間を繋ぎ、サブパターンSPと平行に配置され、ドットが1列に配置されて構成される罫線としての単ドットラインJが、サブパターンSPと間隔を隔てて設けられている。   Furthermore, the correction pattern CP for each color is connected between the extended portion L on the front end side and the extended portion L on the rear end side, is arranged in parallel with the sub-pattern SP, and dots are arranged in one row. A single dot line J as a ruled line is provided at a distance from the sub-pattern SP.

本実施形態においては、色毎に形成される4つ補正用パターンCPが1枚の用紙に印刷された例を示したが、補正用パターンCPは、インターレース方式やバンド送り方式といった各印刷方式に応じて、用紙搬送量及び各ノズルのインク吐出タイミングを異ならせて印刷方式毎に1枚の用紙に印刷される。すなわち、これらインターレース方式、バンド送り方式等により印刷された画像のラスタラインと、各ラスタラインを形成するノズルは、印刷方式により互いに異なるため、ラスタラインが形成されるべき列領域毎の濃度ムラを抑制するための補正用パターンは、本印刷にて実際に用いられる用紙搬送量及び各ノズルのインク吐出タイミング、すなわち各印刷方式及び各印刷処理モードにて印刷されることが望ましい。例えば、バンド送り方式であれば、ノズル列の長さ分だけ用紙を搬送し、ノズルピッチと同じピッチのラスタラインを形成する印刷処理モードにて少なくとも1ブロック分印刷する。インターレース方式であれば、本印刷にて用紙の先端及び後端部分を印刷する、微少量だけ用紙を搬送して特定の僅かなノズルにて印刷する処理モードと、先端及び後端以外の部分を印刷する、用紙を定量的に搬送しつつ可及的に多くのノズルを用いてラスタラインを形成する印刷処理モードとを少なくとも1ブロック分ずつ印刷する。また、用紙に余白無く印刷する所謂フチ無し印刷の場合には、プラテン24に設けられた溝24a(図6参照)と対向するノズルのみにて、用紙の先端及び後端部分と同様に印刷するモードと、先端及び後端以外の部分にて、用紙を定量的に搬送しつつ可及的に多くのノズルを用いてラスタラインを形成する印刷処理モードとを、少なくとも1ブロック分ずつ印刷する。このように本印刷と同じ用紙搬送量及び各ノズルのインク吐出タイミングにて印刷する各印刷モードにて、印刷された各補正用パターンに基づいて得られる補正値を用いて濃度補正することにより補正の精度が向上し、濃度ムラを確実に抑制することが可能である。   In the present embodiment, an example is shown in which four correction patterns CP formed for each color are printed on one sheet of paper. However, the correction pattern CP is used for each printing method such as an interlace method or a band feeding method. Accordingly, printing is performed on one sheet for each printing method by changing the sheet conveyance amount and the ink discharge timing of each nozzle. That is, since the raster lines of the image printed by the interlace method, the band feeding method, and the like and the nozzles that form each raster line are different from each other depending on the printing method, the density unevenness for each row region in which the raster line is to be formed is reduced. It is desirable that the correction pattern for suppression is printed in the paper conveyance amount actually used in the main printing and the ink ejection timing of each nozzle, that is, in each printing method and each printing processing mode. For example, in the case of the band feeding method, the paper is conveyed by the length of the nozzle row, and printing is performed for at least one block in a print processing mode in which raster lines having the same pitch as the nozzle pitch are formed. If the interlace method is used, the leading and trailing edge portions of the paper are printed in the main printing, the processing mode in which a small amount of the paper is conveyed and printed with a specific few nozzles, and the portions other than the leading and trailing edges. Printing is performed at least for one block at a time with a print processing mode in which raster lines are formed using as many nozzles as possible while quantitatively conveying paper. In the case of so-called borderless printing for printing without margins, printing is performed in the same manner as the leading and trailing edge portions of the sheet using only the nozzles facing the grooves 24a (see FIG. 6) provided in the platen 24. The mode and the print processing mode in which raster lines are formed using as many nozzles as possible while quantitatively transporting the paper at portions other than the front end and the rear end are printed at least one block at a time. In this way, correction is performed by correcting the density using the correction value obtained based on each printed correction pattern in each print mode in which printing is performed with the same paper conveyance amount and ink ejection timing of each nozzle as in the main printing. Therefore, it is possible to reliably suppress uneven density.

本実施形態においては、各色5種類の特定濃度に対応する階調値に基づいて印刷した補正用パターンを用いる例について説明したが、各色の特定濃度、すなわち、階調値の種類は5種類に限らない。階調値の種類を多くすると、より適切な濃度補正を行うことができるが、補正用パターンを印刷する工程、補正パターン読み取って補正値を設定する工程、及び補正処理等に費やす時間が増大し、一方、階調値の種類を少なくすると、適切な補正がなされない畏れがあるため、特定濃度の階調値は5種類程度とすることが望ましい。   In the present embodiment, an example of using a correction pattern printed based on gradation values corresponding to five types of specific densities of each color has been described. However, the specific density of each color, that is, the types of gradation values, are five types. Not exclusively. If the number of gradation values is increased, more appropriate density correction can be performed, but the time spent for the process of printing the correction pattern, the process of reading the correction pattern and setting the correction value, and the correction process increases. On the other hand, if the number of gradation values is reduced, appropriate correction may not be performed. Therefore, it is desirable that the gradation value of a specific density be about five kinds.

(2)ステップS210:スキャナを初期設定するステップ
印刷した補正用パターンCPを読み取るためのスキャナ400では初期設定動作が実行される。初期設定動作は、スキャナ400の電源が投入された際に実行されていても良い。スキャナ400は、読取キャリッジ16を所定方向に移動させて、読取キャリッジ16の位置を検出する。また、露光ランプ7を点灯させて発光量を安定させると共に、基準濃度の原稿を読み込みCCDイメージセンサ14の出力を検出して必要光量の確認及びゲインの調整を実行する。そして、読取キャリッジ16をホームポジションに移動させて待機状態とする。このようなスキャナ400の初期設定処理は、プリンタ1にて補正用パターンCPを印刷する際に並行して行ってもよい。
(2) Step S210: Step of Initializing Scanner In the scanner 400 for reading the printed correction pattern CP, an initial setting operation is executed. The initial setting operation may be executed when the power of the scanner 400 is turned on. The scanner 400 detects the position of the reading carriage 16 by moving the reading carriage 16 in a predetermined direction. Further, the exposure lamp 7 is turned on to stabilize the light emission amount, and a reference density original is read, and the output of the CCD image sensor 14 is detected to check the necessary light amount and adjust the gain. Then, the reading carriage 16 is moved to the home position to enter a standby state. Such initial setting processing of the scanner 400 may be performed in parallel when the correction pattern CP is printed by the printer 1.

(3)ステップS220:補正用パターンCPを読み取るステップ
図15に示す各補正用パターンの濃度はスキャナ400にて読み取る。
本実施形態のスキャナ400の読取解像度は、プリンタ1の印刷解像度より高く、印刷された補正用パターンにおける単位領域の副走査方向における幅は、CCDイメージセンサ14が有する1つのフォトダイオードにて読み取る幅の約4倍に設定されている。すなわち、理想的なラスタラインは、スキャナ400にて読み取ることが可能な最小単位である最小読取領域の副走査方向における幅の約4つ分に相当する。
(3) Step S220: Step of Reading Correction Pattern CP The density of each correction pattern shown in FIG.
The reading resolution of the scanner 400 of this embodiment is higher than the printing resolution of the printer 1, and the width of the unit area in the printed correction pattern in the sub-scanning direction is the width read by one photodiode of the CCD image sensor 14. Is set to about 4 times. That is, an ideal raster line corresponds to about four widths in the sub-scanning direction of the minimum reading area, which is the minimum unit that can be read by the scanner 400.

図16は、補正用パターンを読み取る際の読取基準位置及び読取領域を説明するための図である。
補正用パターンを読み取る際には、プリンタ1にて補正用パターンCPが印刷された用紙(以下、補正用原稿という)の先端部を、原稿規制板11の原稿突当部位11aに突き当てるとともに、主走査方向の基準位置に補正用原稿の先端における一方の角部を位置させて、補正用原稿を原稿台ガラス12上に載置する。ここで、補正用原稿の先端における一方の角部が位置決めされる位置を絶対基準位置Pとする。
FIG. 16 is a diagram for explaining a reading reference position and a reading area when reading a correction pattern.
When reading the correction pattern, the front end of the paper (hereinafter referred to as a correction document) on which the correction pattern CP is printed by the printer 1 is abutted against the document abutting portion 11a of the document restriction plate 11, and One corner of the leading edge of the correction document is positioned at the reference position in the main scanning direction, and the correction document is placed on the document table glass 12. Here, the position where one corner of the leading edge of the correction document is positioned is defined as an absolute reference position P.

そして、読取キャリッジ16を副走査方向に移動させつつ、各補正用パターンを含む所定サイズの領域におけるCCDイメージセンサ14の出力を位置情報と共にメモリ117に記憶する。本実施形態では、シアンの補正用パターンは絶対基準位置Pに対し、主走査方向に距離SX1副走査方向に距離SY1の位置を、マゼンタの補正用パターンは絶対基準位置Pに対し、主走査方向に距離SX2副走査方向に距離SY1の位置を、イエローの補正用パターンは、絶対基準位置Pに対し、主走査方向に距離SX1副走査方向に距離SY1の位置を、ブラックの補正用パターンは、絶対基準位置Pに対し、主走査方向に距離SX1副走査方向に距離SY1の位置を、各補正用パターンを読み取る際の基準位置(以下、読取基準位置という)Pc、Pm、Py、Pkとして、それぞれ主走査方向に幅SW1副走査方向に長さSH1の領域の画像を読み取るように設定されている。すなわち、スキャナ400は、読取キャリッジ16を副走査方向に移動させ、CCDイメージセンサ14に結像される画像の位置(読み取り位置)が原稿突当部位11aとなる位置に読取キャリッジ16が到達した後、距離SY1だけ移動したときにCCDイメージセンサ14の出力を取り込み始める。このとき、読取基準位置Pcから主走査方向に幅SW1の範囲に配置されているフォトダイオードの出力がシアンの補正用パターンCPcの測定値としての読取濃度データとして、また、読取基準位置Pmから主走査方向に幅SW1の範囲に配置されているフォトダイオードの出力がマゼンタの補正用パターンCPmの測定値としての読取濃度データとして、周期的に読み取られ各最小読取領域の位置情報と対応付けられてメモリ117に記憶される。シアンとマゼンタとの補正用パターンCPc、CPmの読み取りは、読取キャリッジ16が読取基準位置Pc及び読取基準位置Pmから長さSH1移動する間継続して実行される。   Then, while moving the reading carriage 16 in the sub-scanning direction, the output of the CCD image sensor 14 in an area of a predetermined size including each correction pattern is stored in the memory 117 together with position information. In the present embodiment, the cyan correction pattern has a distance SX1 in the main scanning direction with respect to the absolute reference position P, the distance SY1 in the sub-scanning direction, and the magenta correction pattern has a position in the main scanning direction with respect to the absolute reference position P. The distance SX2 is the position of the distance SY1 in the sub-scanning direction, the yellow correction pattern is relative to the absolute reference position P, the distance SX1 in the main scanning direction is the position of the distance SY1, and the black correction pattern is With respect to the absolute reference position P, the position of distance SY1 in the main scanning direction and the distance SY1 in the sub-scanning direction is set as reference positions (hereinafter referred to as reading reference positions) Pc, Pm, Py, and Pk for reading each correction pattern. Each is set to read an image of an area having a length SH1 in the main scanning direction and a width SW1 in the sub-scanning direction. In other words, the scanner 400 moves the reading carriage 16 in the sub-scanning direction, and after the reading carriage 16 reaches the position where the position (reading position) of the image formed on the CCD image sensor 14 becomes the document abutting portion 11a. When the distance SY1 moves, the output of the CCD image sensor 14 starts to be captured. At this time, the output of the photodiode arranged in the range of the width SW1 in the main scanning direction from the reading reference position Pc is used as reading density data as a measured value of the cyan correction pattern CPc, and from the reading reference position Pm. The output of the photodiode arranged in the range of the width SW1 in the scanning direction is periodically read as reading density data as a measurement value of the magenta correction pattern CPm, and is associated with position information of each minimum reading region. Stored in the memory 117. The cyan and magenta correction patterns CPc and CPm are continuously read while the reading carriage 16 moves from the reading reference position Pc and the reading reference position Pm by the length SH1.

そして、読取キャリッジ16が絶対基準位置Pから距離SY2だけ移動したときにCCDイメージセンサ14の出力を再び取り込み始める。このとき、読取基準位置Pyから主走査方向に幅SW1の範囲に配置されているフォトダイオードの出力がイエローの補正用パターンCPyの測定値としての読取濃度データとして、また、読取基準位置Pkから主走査方向に幅SW1の範囲に配置されているフォトダイオードの出力がブラックの補正用パターンCPkの測定値としての読取濃度データとして、周期的に読み取られ各最小読取領域の位置情報と対応付けられてメモリ117に記憶される。イエローとブラックとの補正用パターンCPy、CPkの読み取りは、読取キャリッジ16が読取基準位置Py及び読取基準位置Pkから長さSH1移動する間継続して実行される。このようにして、各補正用パターンCPを含む領域のデータが、CCDイメージセンサ14が有するフォトダイオードのサイズ、読取キャリッジ16の移動速度、光学系における投影倍率、及び、CCDイメージセンサ14の読み込み速度にて規定される最小読取領域毎の読取濃度データとして、各最小読取領域の位置情報と対応付けられてメモリ117に記憶される。本実施形態では、スキャナ400の読取解像度を例えば2880dpiとし、最小読取領域を一辺が1/2880インチの領域としている。   Then, when the reading carriage 16 moves from the absolute reference position P by the distance SY2, the output of the CCD image sensor 14 is started again. At this time, the output of the photodiode arranged in the range of the width SW1 in the main scanning direction from the reading reference position Py is used as reading density data as a measurement value of the yellow correction pattern CPy, and from the reading reference position Pk. The output of the photodiode arranged in the range of the width SW1 in the scanning direction is periodically read as read density data as a measurement value of the black correction pattern CPk, and is associated with the position information of each minimum reading region. Stored in the memory 117. Reading of the correction patterns CPy and CPk for yellow and black is continuously executed while the reading carriage 16 moves the reading reference position Py and the reading reference position Pk by the length SH1. In this way, the data of the area including each correction pattern CP includes the size of the photodiode of the CCD image sensor 14, the moving speed of the reading carriage 16, the projection magnification in the optical system, and the reading speed of the CCD image sensor 14. Is stored in the memory 117 in association with the position information of each minimum reading area. In the present embodiment, the reading resolution of the scanner 400 is, for example, 2880 dpi, and the minimum reading area is an area having a side of 1/2880 inches.

このとき読み取られた読取濃度データは、各インク色においてフォトダイオードの出力の最大値(白レベル)が読取濃度「0」に対応付けられ、出力の最小値(最高濃度レベル)が読取濃度「255」として記憶される。   In the read density data read at this time, the maximum value (white level) of the photodiode output in each ink color is associated with the read density “0”, and the minimum output value (maximum density level) is the read density “255”. Is stored.

(4)ステップS230:読み取ったデータの傾きを検出するステップ
補正用パターンCPは、プリンタ1にて印刷されたパターンであるため、プリンタ1の用紙搬送特性により、必ずしも用紙に傾くことなく印刷されているとは限らない。また、正確に搬送された用紙に傾くことなく補正用パターンが印刷されたとしても、原稿台ガラス上に載置されたときに正確に配置されていない場合などは、補正用パターンが傾いた状態にて読み取られてしまう畏れがある。
(4) Step S230: A step of detecting the inclination of the read data Since the correction pattern CP is a pattern printed by the printer 1, the correction pattern CP is not necessarily inclined to the paper due to the paper conveyance characteristics of the printer 1. Not necessarily. Even if the correction pattern is printed without tilting on the correctly conveyed paper, the correction pattern is tilted when it is not placed correctly when placed on the platen glass. There is a fear of being read in.

ところで、補正用パターンCPの読取濃度データに基づいて生成される補正値により実行される補正は、ラスタラインが形成された列領域間の濃度ムラを抑制するための補正であり、補正値は列領域毎に生成される。このため、傾いた状態の補正用パターンCPをスキャナ400にて読み取ると、副走査方向に沿って1つの列領域を読み取ったつもりであっても、複数の異なる列領域に跨って読取濃度データが読み取られる畏れがあり、誤った読取濃度データが1列領域の読取濃度データとして扱われて、正しい補正値が得られない畏れがある。   By the way, the correction executed by the correction value generated based on the read density data of the correction pattern CP is a correction for suppressing density unevenness between the column regions where the raster lines are formed. Generated for each area. For this reason, when the correction pattern CP in the tilted state is read by the scanner 400, the read density data is spread over a plurality of different row regions even if it is intended to read one row region along the sub-scanning direction. There is a possibility that reading is performed, and erroneous reading density data is handled as reading density data of one row region, and a correct correction value may not be obtained.

このため、ステップS220にて読み取ったブラックの補正用パターンCPkの読取濃度データを用いて、ブラックの補正用パターンCPkの傾きを検出し、傾きがなくなるように調整する。   Therefore, using the read density data of the black correction pattern CPk read in step S220, the inclination of the black correction pattern CPk is detected and adjusted so that the inclination disappears.

図17は、ブラックの補正用パターンの傾きを検出する処理を説明するための図である。
図示するようにブラックの補正用パターンCPkが、傾いて読み取られたとする。図中の一点鎖線は、読み取られた領域全体を示している。
FIG. 17 is a diagram for explaining processing for detecting the inclination of the black correction pattern.
As shown in the figure, it is assumed that the black correction pattern CPk is read with an inclination. A one-dot chain line in the figure indicates the entire read area.

本実施形態では、補正用パターンの傾きを検出する際に、各補正用パターンを構成するラスタラインのうち副走査方向において最も端に位置する最端ラスタラインの延出部Lを検出する。延出部Lは、副走査方向において他のラスタラインが印刷されていない部位に印刷されているので、副走査方向の読取濃度データにて濃度分布における重心位置を延出部Lの位置として検出することが可能である。ここでは、副走査方向において補正用原稿の先端側に位置する最端ラスタラインの位置を、主走査方向において間隔を隔てた2カ所にて検出し、検出された2カ所の位置の相違により傾きを検出する。すなわち、CCDイメージセンサ14が有し、間隔を隔てた2つのフォトダイオードにて読み取られた読取濃度データを抽出し、抽出された2カ所の読取濃度データの、副走査方向における読取基準位置Pkと、副走査方向の濃度分布において重心位置との距離を比較して傾きを検出する。   In the present embodiment, when detecting the inclination of the correction pattern, the extended portion L of the outermost raster line located at the end in the sub-scanning direction among the raster lines constituting each correction pattern is detected. Since the extension L is printed at a portion where no other raster line is printed in the sub-scanning direction, the center of gravity position in the density distribution is detected as the position of the extension L from the read density data in the sub-scanning direction. Is possible. Here, the position of the outermost raster line located on the leading end side of the correction document in the sub-scanning direction is detected at two positions spaced apart in the main scanning direction, and the inclination is determined by the difference between the two detected positions. Is detected. That is, the CCD image sensor 14 has read density data read by two photodiodes spaced apart from each other, and the read reference data Pk in the sub-scanning direction of the extracted read density data at two locations is extracted. In the density distribution in the sub-scanning direction, the inclination is detected by comparing the distance to the center of gravity position.

補正用パターンの傾きを検出する処理は、スキャナ400に接続されているコンピュータ720にて実行される所定のプログラムにより行われる。   The process of detecting the inclination of the correction pattern is performed by a predetermined program executed by the computer 720 connected to the scanner 400.

コンピュータ720にて補正用パターンの傾きを検出するプログラムが実行されると、スキャナ400のメモリ117に記憶されている、ステップS220にて読み取られた読取濃度データが参照され、読取基準位置Pkから主走査方向に距離KX1、及び、距離KX2の位置に配置されているフォトダイオードにて読み取られた読取濃度データを、読取基準位置Pkから副走査方向にKY0の距離分だけ抽出する。   When the computer 720 executes a program for detecting the inclination of the correction pattern, the reading density data read in step S220 stored in the memory 117 of the scanner 400 is referred to, and the main data is read from the reading reference position Pk. The reading density data read by the photodiodes arranged at the distances KX1 and KX2 in the scanning direction is extracted from the reading reference position Pk by the distance KY0 in the sub-scanning direction.

このとき、図17のように補正用パターンが傾いて読み取られていると、距離KX1の位置に相当するフォトダイオードと、距離KX2の位置に相当するフォトダイオードとにより読み取られた読取濃度データにおいて、副走査方向における読取基準位置Pkと、副走査方向の濃度分布における重心位置までの距離が相違する。   At this time, when the correction pattern is tilted and read as shown in FIG. 17, in the read density data read by the photodiode corresponding to the position of the distance KX1 and the photodiode corresponding to the position of the distance KX2. The distance from the reading reference position Pk in the sub-scanning direction to the barycentric position in the density distribution in the sub-scanning direction is different.

図18は、距離KX1と距離KX2とにおける読取基準位置Pkから副走査方向の濃度分布における重心位置までの距離の相違を説明するための図である。
距離KX1の位置と、距離KX2の位置とに相当するフォトダイオードによりそれぞれ読み取られた読取濃度データは、図18に示すようなグラフとなり、それらの読取基準位置Pkから副走査方向の濃度分布における重心位置までの距離は相違する。
FIG. 18 is a diagram for explaining a difference in distance from the reading reference position Pk to the center of gravity position in the density distribution in the sub-scanning direction at the distance KX1 and the distance KX2.
The read density data read by the photodiodes corresponding to the position of the distance KX1 and the position of the distance KX2 is a graph as shown in FIG. 18, and the center of gravity in the density distribution in the sub-scanning direction from the read reference position Pk. The distance to the position is different.

すなわち、主走査方向の距離(KX2―KX1)に対し、副走査方向の濃度分布における重心位置は、距離(KY1−KY2)だけ相違することになる。このため、補正用パターンの傾き角度θは(式1)にて求められる。
θ=tan―1{(KY1−KY2)/(KX2―KX1)}…(式1)
このとき、コンピュータ720は、読み取られた補正パターンは、角度θだけ傾いていることを検出する。
That is, the center-of-gravity position in the density distribution in the sub-scanning direction differs from the distance (KX2-KX1) in the main scanning direction by the distance (KY1-KY2). For this reason, the inclination angle θ of the correction pattern is obtained by (Equation 1).
θ = tan −1 {(KY1−KY2) / (KX2−KX1)} (Formula 1)
At this time, the computer 720 detects that the read correction pattern is inclined by the angle θ.

(5)ステップ240:読み取ったデータの傾きを調整するステップ
読み取られた読取濃度データが傾いていることを検出したコンピュータ720は、メモリ117に記憶されている読取濃度データを、検出した角度θに基づいて、傾きをなくすように、読取濃度データに対応付けられた位置情報に基づいて、画像を回転させるイメージにてデータを加工する所謂、画像データの回転処理を実行する。
図19は、検出された傾きに基づいて画像データの回転処理を実行した後の読取濃度データのイメージを示す図である。
図示するように、読み取られた読取濃度データについて画像データ回転処理を実行することにより、読み取った画像データに基づく画像を回転させたように、補正用パターンの傾きを調整することが可能である。このように、傾きを調整した読取濃度データは、補正パターンを構成する各ラスタラインの方向と、読み取られた読取濃度データにおいて対応するラスタラインが形成されるべき列領域に相当するデータにて形成されるラスタラインの方向とが一致することになる。
(5) Step 240: Step of adjusting the inclination of the read data The computer 720 that has detected that the read density data that has been read is tilted changes the read density data stored in the memory 117 to the detected angle θ. Based on the position information associated with the read density data, so-called image data rotation processing is performed to process the data with an image that rotates the image so as to eliminate the inclination.
FIG. 19 is a diagram illustrating an image of the read density data after the image data rotation process is executed based on the detected inclination.
As shown in the drawing, by executing the image data rotation process on the read reading density data, it is possible to adjust the inclination of the correction pattern as if the image based on the read image data was rotated. As described above, the read density data adjusted in inclination is formed by data corresponding to the direction of each raster line constituting the correction pattern and the column region in which the corresponding raster line is to be formed in the read read density data. The direction of the raster line to be coincided with.

(6)傾き調整したデータの所望領域のデータを取り出す処理
傾き調整したデータ、すなわち、傾くことなく補正用パターンCPが正しく配置された状態にて読み取られたと相当される読取濃度データには、補正用パターンの読取濃度データ以外に余白部分の読取濃度データも含まれており、補正用パターンを構成する列領域の位置が明確でない。また、印刷された補正用パターンにおける列領域の副走査方向の幅は、スキャナ400の最小読取領域(読取解像度)の4倍であるため、読取濃度データにおける副走査方向のデータ数と、補正用パターンにおける列領域の数とは一致しない。さらに、スキャナ400にて読み取られた補正用パターンは印刷されたものなので、インクの滲み等により、ラスタラインの副走査方向における幅が理想的な幅に印刷されているとは限らない。また、補正用原稿を読み取る際の読取キャリッジの速度や、CCDイメージセンサ14のデータ取り込みタイミングの誤差等により、補正用パターンを読み取ったときの最小読取領域の4倍に相当する幅が、ラスタラインの副走査方向の幅と一致するとは限らない。このため、傾き調整された読取濃度データにおける補正用パターンCPの主要部Mに相当する読取濃度データを抽出し、抽出された読取濃度データと、補正用パターンCPを構成する各列領域とを対応付ける処理を実行する。
(6) Processing for extracting data of desired area of tilt-adjusted data For data whose tilt has been adjusted, that is, read density data equivalent to that read when correction pattern CP is correctly arranged without tilting, correction is performed. In addition to the read density data of the pattern for use, the read density data of the blank portion is also included, and the position of the row area constituting the correction pattern is not clear. Further, since the width in the sub-scanning direction of the row area in the printed correction pattern is four times the minimum reading area (reading resolution) of the scanner 400, the number of data in the sub-scanning direction in the read density data and the correction It does not match the number of column regions in the pattern. Furthermore, since the correction pattern read by the scanner 400 is printed, the width of the raster line in the sub-scanning direction is not always printed due to ink bleeding or the like. Further, due to the speed of the reading carriage when reading the correction document, the error of the data capture timing of the CCD image sensor 14, etc., the width corresponding to four times the minimum reading area when the correction pattern is read is a raster line. This does not necessarily match the width in the sub-scanning direction. For this reason, the read density data corresponding to the main portion M of the correction pattern CP in the read density data adjusted in inclination is extracted, and the extracted read density data is associated with each row area constituting the correction pattern CP. Execute the process.

まず、傾き調整された読取濃度データから、補正用パターンCPの主要部Mの読取濃度データを抽出する。   First, the read density data of the main part M of the correction pattern CP is extracted from the read density data whose inclination has been adjusted.

<補正用パターンの主要部に相当する読取濃度データの抽出>
傾き調整された読取濃度データから、補正用パターンCPの主要部Mに相当する読取濃度データを抽出する際には、補正用パターンCPの主要部Mにおいて副走査方向におけるエッジを2カ所検出し、このエッジ間に相当する読取濃度データを補正用パターンCPの主要部Mの読取濃度データとして抽出する。補正用パターンCPの主要部Mにおけるエッジの検出は、傾き調整された読取濃度データから、補正用パターンCPの主要部Mにおいて副走査方向の最も端に位置する最端ラスタラインのエッジを検出することにより実現される。本実施形態においては、最端ラスタラインのエッジを、補正用パターンの最端ラスタラインの延出部Lを用いて検出する。
<Extraction of reading density data corresponding to main part of correction pattern>
When reading density data corresponding to the main part M of the correction pattern CP is extracted from the read density data adjusted in inclination, two edges in the sub-scanning direction are detected in the main part M of the correction pattern CP. Read density data corresponding to between the edges is extracted as read density data of the main portion M of the correction pattern CP. The detection of the edge in the main part M of the correction pattern CP is performed by detecting the edge of the outermost raster line located at the extreme end in the sub-scanning direction in the main part M of the correction pattern CP from the read density data whose inclination has been adjusted. Is realized. In this embodiment, the edge of the endmost raster line is detected using the extended portion L of the endmost raster line of the correction pattern.

[第1実施例]
・ステップS250:最端ラスタラインの位置を検出するステップ
図20は、補正用パターンの最端ラスタラインの延出部を用いてエッジを検出する処理の第1実施例を説明するための図である。
[First embodiment]
Step S250: Step for Detecting the Position of the Endmost Raster Line FIG. 20 is a diagram for explaining a first embodiment of processing for detecting an edge using the extended portion of the endmost raster line of the correction pattern. is there.

最端ラスタラインの位置を検出する処理は、例えば図19に示すように、傾き調整された読取濃度データにおいて、読取基準位置Pkから主走査方向に距離KX1、及び、距離KX2の位置に相当するフォトダイオードにて読み取られた読取濃度データを用いて実行される。ここで、補正用パターンは、副走査方向に2本の最端ラスタラインを有するため、最端ラスタラインの位置の検出は、各最端ラスタラインについて行われる。すなわち、補正用原稿の先端側の最端ラスタラインLsの位置を検出するための読取濃度データとして、読取基準位置Pkから副走査方向に距離KY0分に相当する読取濃度データが抽出され、補正用原稿の後端側の最端ラスタラインLeの位置を検出するための読取濃度データとして、読取基準位置Pkに対し副走査方向に距離KY3だけ離れた位置から副走査方向に距離KY0分に相当する読取濃度データが抽出される。   For example, as shown in FIG. 19, the processing for detecting the position of the most extreme raster line corresponds to the positions of the distance KX1 and the distance KX2 in the main scanning direction from the reading reference position Pk in the read density data whose inclination is adjusted. This is executed using read density data read by a photodiode. Here, since the correction pattern has two endmost raster lines in the sub-scanning direction, the position of the endmost raster line is detected for each endmost raster line. That is, reading density data corresponding to the distance KY0 in the sub-scanning direction is extracted from the reading reference position Pk as reading density data for detecting the position of the most extreme raster line Ls on the leading end side of the correction document. As reading density data for detecting the position of the most recent raster line Le on the trailing edge side of the document, it corresponds to a distance KY0 in the sub-scanning direction from a position separated by a distance KY3 in the sub-scanning direction from the reading reference position Pk. Reading density data is extracted.

図20の中央部分に、距離KX1、及び、距離KX2の位置に相当するフォトダイオードにて読み取られた最端ラスタラインL周辺の読取濃度データのイメージを示し、その左側には、距離KX1における読取濃度データのイメージをグラフにて示しており、右側には、距離KX2における読取濃度データのイメージをグラフにて示している。   The central portion of FIG. 20 shows an image of the read density data around the outermost raster line L read by the photodiode corresponding to the position of the distance KX1 and the distance KX2, and on the left side is the read at the distance KX1. An image of density data is shown in a graph, and on the right side, an image of read density data at a distance KX2 is shown in a graph.

図20の例では、最端ラスタライン周辺の読取濃度データのなかに、余白部分とは異なり濃度を有する最小読取領域rが副走査方向に8つ検出されている。延出部Lは1本のラスタライン(1つの列領域に形成されるラスタライン)なので、本来は、副走査方向に並ぶ4つの最小読取領域として検出されるはずである。すなわち、濃度が検出された8つの最小読取領域r1〜r8のうち、4つの最小読取領域rは延出部Lを示すデータであり、残りの4つの最小読取領域rは本来存在しないはずである。このため、延出部Lを示す4つの最小読取領域を特定し、それら4つの最小読取領域のうち、補正用パターンCPの外側に位置する最小読取領域の外側のエッジを補正用パターンCPの主要部Mにおけるエッジとして検出する。以下の説明においては、先端側の最端ラスタラインのエッジを検出する処理を中心に説明し、先端側の最端ラスタラインと後端側の最端ラスタラインとで処理が相違する点については、各々説明する。   In the example of FIG. 20, eight minimum reading regions r having a density different from the blank portion are detected in the reading density data around the endmost raster line in the sub-scanning direction. Since the extending portion L is one raster line (raster line formed in one row region), it should be originally detected as the four minimum reading regions arranged in the sub-scanning direction. That is, of the eight minimum reading regions r1 to r8 in which the density is detected, the four minimum reading regions r are data indicating the extension L, and the remaining four minimum reading regions r should not exist originally. . For this reason, the four minimum reading areas indicating the extended portion L are specified, and the edge outside the minimum reading area located outside the correction pattern CP among the four minimum reading areas is the main of the correction pattern CP. Detect as an edge in part M. In the following explanation, the processing for detecting the edge of the most extreme raster line on the front end side will be mainly described, and the difference in processing between the extreme end raster line on the front end side and the extreme end raster line on the rear end side will be described. Each will be described.

コンピュータ720には、補正用パターンを印刷した際の印刷解像度と、印刷された補正用パターンをスキャナ400にて読み取った際の読取解像度とを示す情報が記憶されている。コンピュータ720は、記憶されている印刷解像度と読取解像度とに基づいて、延出部Lの副走査方向における幅に含まれる、連続する最小読取領域の数を算出する。本実施形態では、「4」が算出される。また、算出された最小読取領域の数が偶数の場合には、延出部Lの副走査方向における幅の中央からエッジまでの距離を求めるために、算出された最小読取領域の数の半数も算出する。本実施形態では、「2」が算出される。   The computer 720 stores information indicating the printing resolution when the correction pattern is printed and the reading resolution when the printed correction pattern is read by the scanner 400. The computer 720 calculates the number of continuous minimum reading areas included in the width of the extending portion L in the sub-scanning direction based on the stored printing resolution and reading resolution. In the present embodiment, “4” is calculated. Further, when the calculated number of minimum reading areas is an even number, in order to obtain the distance from the center of the width in the sub-scanning direction of the extending portion L to the edge, half of the calculated number of the minimum reading areas is also calculated. calculate. In the present embodiment, “2” is calculated.

コンピュータ720は、主走査方向に距離KX1、及び、距離KX2に位置する最小読取領域における、読取基準位置Pkから副走査方向に距離KY0分に相当する読取濃度データ(以下、先端側読取濃度データという)、及び、読取基準位置Pkに対し副走査方向に距離KY3だけ離れた位置から副走査方向に距離KY0分に相当する読取濃度データ(以下、後端側読取濃度データという)を抽出する。   The computer 720 reads the reading density data corresponding to the distance KY0 in the sub-scanning direction from the reading reference position Pk in the minimum reading area located at the distance KX1 and the distance KX2 in the main scanning direction (hereinafter referred to as leading edge side reading density data). ), And reading density data corresponding to the distance KY0 in the sub-scanning direction (hereinafter referred to as rear-end side reading density data) is extracted from a position separated by the distance KY3 in the sub-scanning direction from the reading reference position Pk.

抽出した先端側読取濃度データに基づいて、副走査方向の濃度分布における重心位置を、距離KX1、及び、距離KX2についてそれぞれ検出する。図20の例では、距離KX1の副走査方向の濃度分布における重心位置として、第4最小読取領域r4の中心より下端側の位置g1が検出され、距離KX2の副走査方向の濃度分布における重心位置として、第5最小読取領域r5の中心より上端側の位置g2が検出される。   Based on the extracted front end side read density data, the center of gravity position in the density distribution in the sub-scanning direction is detected for each of the distance KX1 and the distance KX2. In the example of FIG. 20, the position g1 on the lower end side from the center of the fourth minimum reading region r4 is detected as the barycentric position in the density distribution in the sub-scanning direction at the distance KX1, and the barycentric position in the density distribution in the sub-scanning direction at the distance KX2 As a result, a position g2 on the upper end side from the center of the fifth minimum reading region r5 is detected.

副走査方向の濃度分布における2つの重心位置が検出されると、コンピュータ720は、それらの中央の位置を検出する。図20の例では、第4最小読取領域r4と第5最小読取領域r5との境界部分が、最端ラスタラインLの中央の位置として検出される。このとき、最端ラスタラインLの中央の位置として検出された位置が、2つの最小読取領域の境界部分でない場合、例えば、第5最小読取領域r5の中心より下端側の位置g3が検出された場合には、位置g3を含む最小読取領域の位置g3に近い側のエッジ、すなわち第5最小読取領域r5と第6最小読取領域r6との境界部分が、最端ラスタラインLの中央の位置として検出されるように設定されている。   When two barycentric positions in the density distribution in the sub-scanning direction are detected, the computer 720 detects the center position between them. In the example of FIG. 20, the boundary portion between the fourth minimum reading region r4 and the fifth minimum reading region r5 is detected as the center position of the outermost raster line L. At this time, when the position detected as the center position of the outermost raster line L is not the boundary portion between the two minimum reading areas, for example, the position g3 on the lower end side from the center of the fifth minimum reading area r5 is detected. In this case, the edge near the position g3 of the minimum reading area including the position g3, that is, the boundary portion between the fifth minimum reading area r5 and the sixth minimum reading area r6 is the center position of the outermost raster line L. It is set to be detected.

・ステップ260:副走査方向における補正用パターンのエッジを検出するステップ
コンピュータ720は、検出された2つの最小読取領域r4,r5の境界部分の位置情報と、算出された延出部Lの副走査方向における幅内に含まれる最小読取領域の数の半数「2」から、補正用パターンCPの主要部Mにおけるエッジを検出する。
例えば、図20の場合では、濃度が検出された8つの最小読取領域r1〜r8のうち、副走査方向の先端側から第4最小読取領域r4と第5最小読取領域r5の境界部分が、最端ラスタラインLの中央の位置、すなわち延出部Lの中央として検出されているので、この延出部Lの中央から補正用パターンCPの2つ外側の最小読取領域のエッジを補正用パターンCPのエッジとして検出する。
Step 260: Step of detecting the edge of the correction pattern in the sub-scanning direction The computer 720 detects the position information of the boundary portion between the two detected minimum reading areas r4 and r5, and the sub-scan of the calculated extension portion L. An edge in the main portion M of the correction pattern CP is detected from “2”, which is half the number of minimum reading areas included in the width in the direction.
For example, in the case of FIG. 20, the boundary between the fourth minimum reading region r4 and the fifth minimum reading region r5 from the front end side in the sub-scanning direction is the highest among the eight minimum reading regions r1 to r8 in which the density is detected. Since the center position of the end raster line L, that is, the center of the extension portion L is detected, the edge of the minimum reading area two outside the correction pattern CP from the center of the extension portion L is used as the correction pattern CP. Detected as an edge.

そして、図20が補正用パターンの先端側に位置する延出部Lを読み取った際の読取濃度データであれば、最端ラスタラインLsの中央の位置として検出された第4最小読取領域r4と第5最小読取領域r5の境界部分より補正用パターンCPの外側方向の2つ目に位置する第3最小読取領域r3の先端側のエッジを補正用パターンCPの先端側のエッジとして検出する。そして、第3最小読取領域r3より外側の最小読取領域列のデータを補正用パターンCPに対応する読取濃度データから削除するトリミング処理を行う。   Then, if FIG. 20 is read density data when the extended portion L located on the leading end side of the correction pattern is read, the fourth minimum reading region r4 detected as the center position of the outermost raster line Ls and An edge on the leading end side of the third minimum reading region r3 located second in the outward direction of the correction pattern CP from the boundary portion of the fifth minimum reading region r5 is detected as an edge on the leading end side of the correction pattern CP. Then, a trimming process is performed to delete the data in the minimum reading area column outside the third minimum reading area r3 from the reading density data corresponding to the correction pattern CP.

また、図20が補正用パターンの後端側に位置する延出部Lを読み取った際の読取濃度データであれば、最端ラスタラインLeの中央の位置として検出された第4最小読取領域r4と第5最小読取領域r5の境界部分より補正用パターンCPの外側方向の2つ目に位置する第6最小読取領域r6の後端側のエッジを補正用パターンCPの後端側のエッジとして検出する。そして、第6最小読取領域r6より外側の最小読取領域列のデータを補正用パターンCPに対応する読取濃度データから削除するトリミング処理を行う。   Further, if FIG. 20 is read density data when the extension portion L located on the rear end side of the correction pattern is read, the fourth minimum reading region r4 detected as the center position of the outermost raster line Le. The edge of the rear end side of the sixth minimum reading region r6 located second in the outward direction of the correction pattern CP from the boundary portion between the correction pattern CP and the fifth minimum reading region r5 is detected as the rear end side edge of the correction pattern CP. To do. Then, a trimming process is performed to delete the data in the minimum reading area column outside the sixth minimum reading area r6 from the reading density data corresponding to the correction pattern CP.

次に、副走査方向における延出部の幅に含まれる、連続する最小読取領域の数が奇数の場合に、延出部を用いてエッジを検出する処理を説明する。
算出された副走査方向における延出部の幅に含まれる、連続する最小読取領域の数が奇数の場合には、算出された最小読取領域の数より1小さい数の半数を算出する。例えば、算出された延出部の副走査方向における幅に含まれる、連続する最小読取領域の数が「3」の場合には、「1」が算出される。そして、距離KX1の副走査方向の濃度分布における重心位置、及び、距離KX2の副走査方向の濃度分布における重心位置に基づいて、最端ラスタラインLの中央の位置が、図20に示す位置g1と検出されたとする(ステップ:S250)。この場合には、検出された最端ラスタラインLの中央の位置g1が含まれる最小読取領域、すなわち、第4最小読取領域r4が延出部において、副走査方向の中央に位置する中央最小読取領域として検出される。
Next, a process for detecting an edge using the extension when the number of continuous minimum reading areas included in the width of the extension in the sub-scanning direction is an odd number will be described.
If the number of consecutive minimum reading areas included in the calculated width of the extending portion in the sub-scanning direction is an odd number, half the number is calculated by one less than the calculated number of minimum reading areas. For example, when the number of consecutive minimum reading areas included in the calculated width of the extending portion in the sub-scanning direction is “3”, “1” is calculated. Then, based on the gravity center position in the density distribution in the sub-scanning direction at the distance KX1 and the gravity center position in the density distribution in the sub-scanning direction at the distance KX2, the center position of the outermost raster line L is a position g1 shown in FIG. (Step: S250). In this case, the minimum reading area including the center position g1 of the detected endmost raster line L, that is, the fourth minimum reading area r4 is the center minimum reading located at the center in the sub-scanning direction in the extending portion. Detected as a region.

そして、コンピュータ720は、検出された中央最小読取領域r4の位置情報と、算出された「1」とから、補正用パターンCPの主要部Mにおけるエッジとして、最小読取領域r3の先端側のエッジ、及び、最小読取領域r5の後端側のエッジを検出する(ステップ:S260)。   Then, the computer 720 uses the detected position information of the central minimum reading region r4 and the calculated “1” as an edge in the main portion M of the correction pattern CP as an edge on the leading end side of the minimum reading region r3, Then, an edge on the rear end side of the minimum reading area r5 is detected (step: S260).

[第2実施例]
・ステップS250:最も端のラスタラインの位置を検出するステップ
図21は、補正用パターンの最端ラスタラインの延出部を用いてエッジを検出する処理の第2実施例を説明するための図である。
図21の左側のグラフは、傾き調整された読取濃度データにおいて、CCDイメージセンサ14における1つのフォトダイオードにて読み取られたデータのうち、最端ラスタライン周辺の読取濃度データのイメージをグラフにて示している。また、図21の右側の図は、左側のグラフのような濃度を示す読取濃度データであったときに、読み取られた画像における延出部Lのイメージを示す図である。図21では、最端ラスタライン周辺の読取濃度データとして、読取基準位置Pkから主走査方向に距離KX1の位置に相当するフォトダイオードにて読み取られた読取濃度データであって、読取基準位置Pkから副走査方向に距離KY0分に相当する読取濃度データを示している。
[Second Embodiment]
Step S250: Step of Detecting the Position of the Endmost Raster Line FIG. 21 is a diagram for explaining a second embodiment of processing for detecting an edge using the extended portion of the endmost raster line of the correction pattern. It is.
The graph on the left side of FIG. 21 shows an image of the read density data around the outermost raster line among the data read by one photodiode in the CCD image sensor 14 in the read density data whose inclination has been adjusted. Show. Further, the diagram on the right side of FIG. 21 is a diagram showing an image of the extending portion L in the read image when the read density data indicates the density as in the graph on the left side. In FIG. 21, as read density data around the endmost raster line, read density data read by a photodiode corresponding to a position at a distance KX1 in the main scanning direction from the read reference position Pk, from the read reference position Pk. Reading density data corresponding to the distance KY0 is shown in the sub-scanning direction.

コンピュータ720には、補正用パターンを印刷した際の印刷解像度と、印刷された補正用パターンをスキャナ400にて読み取った際の読取解像度とを示す情報が記憶されており、コンピュータ720が記憶されている印刷解像度と読取解像度とに基づいて、延出部Lの副走査方向における幅に含まれる、連続する最小読取領域の数「4」、及び、その半数「2」を算出することは、第1実施例と同じである。   The computer 720 stores information indicating the printing resolution when the correction pattern is printed and the reading resolution when the printed correction pattern is read by the scanner 400. The computer 720 stores the information. Calculating the number of consecutive minimum reading areas “4” and the half thereof “2” included in the width of the extending portion L in the sub-scanning direction based on the print resolution and the reading resolution being The same as in the first embodiment.

コンピュータ720は、読取基準位置Pkから副走査方向に距離KY0分に相当する読取濃度データ、及び、読取基準位置Pkに対し副走査方向に距離KY3だけ離れた位置から副走査方向に距離KY0分に相当する読取濃度データから、濃度がピークとなる最小読取領域を検出し、その位置情報を記憶する。このとき、延出部Lの副走査方向における幅に含まれる、連続する最小読取領域の数が偶数である場合には、濃度がピークとなる最小読取領域は、濃度が高い側から2つの最小読取領域を検出し、その位置情報を記憶する。すなわち、検出された2つの最小読取領域の中間である境界部分が延出部Lの中央であることが検出される。図21の例では、濃度がピークとなる最小読取領域として、第4、第5最小読取領域r4,r5が検出され、その位置情報が記憶される。そして検出された最小読取領域r4,r5の中間が延出部Lの中央であることが検出される。   The computer 720 sets the reading density data corresponding to the distance KY0 in the sub-scanning direction from the reading reference position Pk, and the distance KY0 in the sub-scanning direction from the position separated by the distance KY3 in the sub-scanning direction from the reading reference position Pk. From the corresponding reading density data, the minimum reading area where the density reaches a peak is detected, and the position information is stored. At this time, when the number of continuous minimum reading areas included in the width of the extending portion L in the sub-scanning direction is an even number, the minimum reading area where the density reaches a peak is the two minimum reading areas from the higher density side. The reading area is detected and the position information is stored. That is, it is detected that the boundary portion that is the middle between the two detected minimum reading regions is the center of the extension L. In the example of FIG. 21, the fourth and fifth minimum reading areas r4 and r5 are detected as the minimum reading areas where the density reaches a peak, and the position information is stored. Then, it is detected that the middle of the detected minimum reading areas r4 and r5 is the center of the extension L.

以下、ステップ260において、検出された2つの最小読取領域の境界部分の位置情報と、算出された延出部Lの副走査方向における幅内に含まれる最小読取領域の数の半数「2」とから、補正用パターンCPの主要部Mにおけるエッジを検出する処理は、第1実施例と同じである。   Hereinafter, in step 260, the position information of the boundary portion between the two minimum reading areas detected and half the number “2” of the number of the minimum reading areas included in the calculated width of the extending portion L in the sub-scanning direction. Thus, the processing for detecting the edge in the main portion M of the correction pattern CP is the same as that in the first embodiment.

次に、副走査方向における延出部の幅に含まれる、連続する最小読取領域の数が奇数の場合に、延出部を用いてエッジを検出する処理を説明する。
算出された副走査方向における延出部の幅に含まれる、連続する最小読取領域の数が奇数の場合に、濃度がピークとなる最小読取領域として、濃度が最も高い最小読取領域、例えば第4最小読取領域r4が検出されたとする。この場合には、濃度が最も高い第4最小読取領域r4が、延出部Lにおいて副走査方向の中央に位置する中央最小読取領域として検出される。
そして、コンピュータ720は、検出された中央最小読取領域r4の位置情報と、算出された「1」とから、補正用パターンCPの主要部Mにおけるエッジを、最小読取領域r3の先端側のエッジ、及び、最小読取領域r5の後端側のエッジとして検出する(ステップ:S260)。
Next, a process for detecting an edge using the extension when the number of continuous minimum reading areas included in the width of the extension in the sub-scanning direction is an odd number will be described.
When the number of consecutive minimum reading areas included in the calculated width of the extending portion in the sub-scanning direction is an odd number, the minimum reading area having the highest density, for example, a fourth reading area as the minimum reading area where the density reaches a peak It is assumed that the minimum reading area r4 is detected. In this case, the fourth minimum reading region r4 having the highest density is detected as the central minimum reading region located at the center in the sub-scanning direction in the extending portion L.
Then, the computer 720 determines the edge of the main portion M of the correction pattern CP from the detected position information of the central minimum reading region r4 and the calculated “1”, the edge on the leading end side of the minimum reading region r3, Then, it is detected as an edge on the rear end side of the minimum reading region r5 (step: S260).

第2実施例の場合には、位置の検出を最小読取領域単位で行うため、エッジを検出するための処理は容易であるが、検出される位置の精度は低くなる。また、延出部の中央の位置を濃度のピークとなる最小読取領域にて特定するため、読み取る位置により濃度のばらつきの影響が大きくなり、また、ごみ等による誤検知も生じ易いため、濃度分布における重心位置により延出部の中央の位置を特定する第1実施例の方がより安定した結果を得ることが可能である。   In the case of the second embodiment, since the position is detected in units of the minimum reading area, the processing for detecting the edge is easy, but the accuracy of the detected position is lowered. In addition, since the center position of the extended portion is specified by the minimum reading area where the density peak is reached, the influence of density variation increases depending on the reading position, and erroneous detection due to dust etc. is likely to occur. It is possible to obtain a more stable result in the first embodiment in which the position of the center of the extending portion is specified by the position of the center of gravity.

(7)ステップ270:補正用パターンが有するラスタラインの数に対応すべくデータを変換するステップ(検出した最端ラスタライン間に相当するデータと列領域を対応付けるためにデータを変換するステップ)
コンピュータ720は、検出された補正用パターンCPの先端側のエッジを有する最小読取領域の読取濃度データから後端側のエッジを有する最小読取領域の読取濃度データを補正用パターンCPの読取濃度データとして抽出する。
次にコンピュータ720は、補正用パターンの読取濃度データとして抽出したデータと、補正用パターンCPが有するラスタライン数とに基づいて、各列領域に対応する読取濃度データに変換する。すなわち、補正用パターンCPの読取濃度データとして抽出したデータをすべて用いて、例えばバイキュービック法等により、各列領域に1つの読取濃度データが対応するように変換する。このとき、主走査方向においては、4つの読取濃度データが1つの単位領域に対応する単位領域データとして変換される。変換された後の読取濃度データは、補正用パターンCPを構成する各単位領域に対応する濃度を示す単位領域濃度データである。
(7) Step 270: A step of converting the data so as to correspond to the number of raster lines included in the correction pattern (a step of converting the data so as to associate the data corresponding to the detected endmost raster lines with the row region).
The computer 720 uses the read density data of the minimum reading area having the trailing edge as the reading density data of the correction pattern CP from the read density data of the minimum reading area having the leading edge of the detected correction pattern CP. Extract.
Next, the computer 720 converts the data extracted as the read density data of the correction pattern and the read density data corresponding to each column area based on the number of raster lines included in the correction pattern CP. That is, using all the data extracted as the read density data of the correction pattern CP, conversion is performed so that one read density data corresponds to each row region by, for example, the bicubic method. At this time, in the main scanning direction, four read density data are converted as unit area data corresponding to one unit area. The read density data after the conversion is unit area density data indicating the density corresponding to each unit area constituting the correction pattern CP.

(8)ステップ280:変換されたデータに基づいて各列領域の濃度の平均値を算出するステップ
次にコンピュータ720は、変換されたデータの補正用パターンCPの主要部Mに相当する単位領域濃度データから、補正パターンCPの主要部Mを構成するラスタラインが形成されるべき列領域において、濃度毎のサブパターンSPに含まれる列領域毎に複数の単位領域の単位領域濃度データを抽出して平均値を算出する。
(8) Step 280: Step of calculating the average value of the density of each row area based on the converted data Next, the computer 720 calculates the unit area density corresponding to the main part M of the correction pattern CP of the converted data. From the data, unit area density data of a plurality of unit areas is extracted for each row area included in the sub-pattern SP for each density in the row area where the raster line constituting the main part M of the correction pattern CP is to be formed. The average value is calculated.

コンピュータ720のメモリには、補正用パターンCPの単ドットラインJと、各サブパターンSPとの主走査方向における距離を示す位置情報が記憶されている。   The memory of the computer 720 stores position information indicating the distance in the main scanning direction between the single dot line J of the correction pattern CP and each sub-pattern SP.

コンピュータ720は、変換されたデータの所定の列領域、例えば副走査方向における中央の列領域が有する単位領域の単位領域濃度データを抽出し、主走査方向において読取基準位置側から単位領域濃度データを参照し、濃度分布における重心位置を検出することにより、単ドットラインJの中央の位置を検出する。単ドットラインJの中央の検出方法は、補正用パターンCPの副走査方向における延出部Lの中央の検出方法と、方向のみが異なり他は同様である。   The computer 720 extracts unit area density data of a predetermined row area of the converted data, for example, a unit area of a central row area in the sub-scanning direction, and extracts the unit area density data from the reading reference position side in the main scanning direction. The center position of the single dot line J is detected by referring to and detecting the position of the center of gravity in the density distribution. The method for detecting the center of the single dot line J is the same as the method for detecting the center of the extended portion L in the sub-scanning direction of the correction pattern CP except for the direction.

検出した単ドットラインJの位置、及び、メモリに記憶されている単ドットラインJと各サブパターンSPka、SPkb、SPkc、SPkd、SPkeとの主走査方向における距離を示す位置情報とに基づいて、各サブパターンSPka、SPkb、SPkc、SPkd、SPkeを構成しているラスタラインが形成されるべき各列領域が有する複数の単位領域の単位領域濃度データを抽出し、抽出した複数の単位領域濃度データの平均値を求め、各列領域の濃度データとする。   Based on the detected position of the single dot line J and position information indicating the distance in the main scanning direction between the single dot line J and each sub pattern SPka, SPkb, SPkc, SPkd, SPke stored in the memory, The unit area density data of a plurality of unit areas of each column area in which the raster lines forming the sub-patterns SPka, SPkb, SPkc, SPkd, and SPke are to be formed are extracted, and the plurality of extracted unit area density data Is obtained as density data for each row region.

図22は、各サブパターンを構成している各列領域が有する単位領域の単位領域濃度データを抽出する処理を説明するための図である。ここでは、補正用パターンCPにおいて最も単ドットラインJに近い側に配置されているサブパターンSPka(濃度10%のサブパターン)を例に説明する。   FIG. 22 is a diagram for explaining a process of extracting unit area density data of unit areas included in each column area constituting each subpattern. Here, a description will be given by taking as an example a sub-pattern SPka (sub-pattern having a density of 10%) arranged on the side closest to the single dot line J in the correction pattern CP.

コンピュータ720は、列領域毎に、単ドットラインJの中央の位置を検出した後に、コンピュータ720のメモリに記憶されている位置情報に基づいて、検出した単ドットラインJの中央の位置を基準として、主走査方向にX2だけ離れた位置から幅W3の領域に存在する濃度10%のサブパターンの中央部分における互いに異なる部分としての複数の単位領域の単位領域濃度データを抽出する。すなわち、濃度10%のサブパターンうち、主走査方向における両側の幅W4に存在する単位領域を除く、中央部分の複数の単位領域の単位領域濃度データを抽出する。そして、例えば抽出した中央部分に含まれるすべての単位領域濃度データの平均値を算出して、濃度10%のサブパターンにおける当該列領域の濃度データとする。このようにして濃度10%のサブパターンSPkaが有する列領域毎の濃度データを、補正用パターンの先端側の列領域から後端側の列領域まで求める。   The computer 720 detects the center position of the single dot line J for each row region, and then uses the detected center position of the single dot line J as a reference based on the position information stored in the memory of the computer 720. Then, unit area density data of a plurality of unit areas as different parts in the central part of the 10% density sub-pattern existing in the area of width W3 from the position separated by X2 in the main scanning direction is extracted. That is, unit area density data of a plurality of unit areas in the central portion excluding unit areas existing in the width W4 on both sides in the main scanning direction from the 10% density sub-pattern. Then, for example, the average value of all the unit area density data included in the extracted central portion is calculated and used as density data of the row area in the 10% density sub-pattern. In this way, density data for each row area of the 10% density sub-pattern SPka is obtained from the front end side row area to the rear end side row area of the correction pattern.

また、単ドットラインJの中央を検出した位置を基準として主走査方向にX2+W3だけ離れた位置から幅W3の領域に存在する濃度30%のサブパターンSPkb、単ドットラインJの中央を検出した位置を基準として主走査方向にX2+W3×2だけ離れた位置から幅W3の領域に存在する濃度50%のサブパターンSPkc、単ドットラインJの中央を検出した位置を基準として主走査方向にX2+W3×3だけ離れた位置から幅W3の領域に存在する濃度70%のサブパターンSPkd、単ドットラインJを検出した位置を基準として主走査方向にX2+W3×4だけ離れた位置から幅W3の領域に存在する濃度100%のサブパターンSPkeについても同様である。   In addition, the position where the center of the single dot line J is detected, the position where the center of the single dot line J is detected, the sub pattern SPkb having a density of 30% existing in the region of the width W3 from the position separated by X2 + W3 in the main scanning direction with the position where the center of the single dot line J is detected With reference to the position where the center of the single dot line J is detected with the sub-pattern SPkc having a density of 50% present in the area of the width W3 from the position separated by X2 + W3 × 2 in the main scanning direction as a reference, X2 + W3 × 3 in the main scanning direction. A sub-pattern SPkd having a density of 70% and a position where a single dot line J is detected present in a region with a width W3 from a position separated by a distance, and present in a region with a width W3 from a position separated by X2 + W3 × 4 in the main scanning direction. The same applies to the sub pattern SPke having a density of 100%.

すなわち、各サブパターンSPkb、SPkc、SPkd、SPkeの幅W3のうち、主走査方向の両側から幅W4を除く中央部分における互いに異なる複数の単位領域の単位領域濃度データを抽出し、抽出した複数の単位領域濃度データに基づいて列領域毎の単位領域濃度データの平均値を算出する。算出された単位領域濃度データの平均値を、読取濃度値とする。ここで、読取濃度値は、スキャナ400にて読み取られた読取濃度データに基づく単位領域濃度データの平均値を算出しただけなので、読取濃度データと同じように、濃度が最も低い白色レベルの場合に「0」、濃度が最も高い最高濃度レベルの場合に「255」として表現する。   That is, out of the width W3 of each sub-pattern SPkb, SPkc, SPkd, SPke, unit area density data of a plurality of unit areas different from each other in the central portion excluding the width W4 from both sides in the main scanning direction is extracted. Based on the unit area density data, an average value of the unit area density data for each row area is calculated. An average value of the calculated unit area density data is set as a read density value. Here, since the reading density value is simply the average value of the unit area density data based on the reading density data read by the scanner 400, the reading density value is the same as the reading density data when the density is the lowest white level. “0” is expressed as “255” when the density is the highest density level.

本実施形態においては、各サブパターンSPの中央部分に含まれるすべての単位領域の単位領域濃度データの平均値を求める例について説明したが、必ずしも中央部分に含まれるすべての単位領域の平均値でなくても良い。しかしながら、特に濃度が低いサブパターンSPの場合には、ドットが形成されていない単位領域が多くなり、単位領域毎の単位領域濃度データの相違が大きくなるため、できるだけ多くの単位領域の単位領域濃度データの平均値を求めることが望ましい。   In the present embodiment, the example of obtaining the average value of the unit region density data of all the unit regions included in the central portion of each sub-pattern SP has been described. However, the average value of all the unit regions included in the central portion is not necessarily used. It is not necessary. However, particularly in the case of the subpattern SP having a low density, the number of unit areas in which dots are not formed increases, and the difference in unit area density data for each unit area increases, so that the unit area density of as many unit areas as possible. It is desirable to obtain the average value of the data.

(9)ステップ290:読取濃度値に基づいて特定濃度の補正値を算出するステップ
算出した読取濃度値に基づいて2つの特定濃度における補正値を算出する。
本実施形態では、サブパターンSPが有する列領域の濃度の平均値をサブパターンSPに対応付けられた特定濃度の目標濃度値とし、各列領域の濃度が目標濃度値になるように、印刷データの階調値を補正することにより、各列領域間における濃度ムラを抑えることとしている。このため、まず特定濃度毎に各サブパターンSPを構成する列領域の濃度の平均値を算出する。算出された濃度の平均値が、各特定濃度における目標濃度値である。
(9) Step 290: Step of calculating a correction value of a specific density based on the read density value Calculate a correction value at two specific densities based on the calculated read density value.
In the present embodiment, the print data is set such that the average value of the density of the row areas of the sub-pattern SP is the target density value of the specific density associated with the sub-pattern SP, and the density of each row area is the target density value. By correcting the tone values of the above, density unevenness between the respective row regions is suppressed. For this reason, first, the average value of the densities of the row regions constituting each sub-pattern SP is calculated for each specific density. The average value of the calculated densities is the target density value at each specific density.

次に、算出した目標濃度値に基づいて各列領域の補正値を求める。ここで、補正値は必ずしもすべての特定濃度にて求める必要はなく、いくつかの特定濃度に対応する補正値を求めておけばよい。本実施形態では、2つの特定濃度、特定濃度30%、及び特定濃度50%について、補正値を算出することとする。   Next, a correction value for each row region is obtained based on the calculated target density value. Here, the correction values do not necessarily have to be obtained for all the specific densities, and it is only necessary to obtain correction values corresponding to some specific densities. In the present embodiment, correction values are calculated for two specific densities, a specific density of 30%, and a specific density of 50%.

図23は、特定濃度における補正値の求め方の概念を説明するための図である。
図示するように、特定濃度3における所定の列領域の読取濃度値と目標濃度値とを比較し、列領域Aのように、列領域Aの読取濃度値が目標濃度値より大きい場合には、特定濃度3より濃度が低い特定濃度(ここでは濃度1)における列領域Aの読取濃度値を用い、列領域Bのように読取濃度値が目標濃度値より小さい場合には、特定濃度3より濃度が高い特定濃度(ここでは濃度5)における列領域Bの読取濃度値を用いて補正値を求める。
FIG. 23 is a diagram for explaining the concept of how to obtain a correction value at a specific density.
As shown in the drawing, the read density value of the predetermined row area at the specific density 3 is compared with the target density value, and when the read density value of the row area A is larger than the target density value as in the row area A, When the read density value of the row area A at a specific density lower than the specific density 3 (here density 1) is used, and the read density value is smaller than the target density value as in the row area B, the density is higher than the specific density 3. The correction value is obtained by using the read density value of the row region B at a specific density with high density (here, density 5).

例えば、特定濃度50%における所定の列領域の読取濃度値と目標濃度値とを比較し、読取濃度値が目標濃度値より大きい場合には、特定濃度10%における同一列領域の読取濃度値を用い、読取濃度値が目標濃度値より小さい場合には、特定濃度100%における同一列領域の読取濃度値を用いて補正値を求める。これは、所定の列領域における目標濃度値に当該所定の列領域を印刷するために指定すべき階調値は、特定濃度50%における当該所定の列領域の読取濃度値が目標濃度値より大きい場合には、特定濃度50%の読取濃度値と特定濃度10%の読取濃度値との間に存在し、特定濃度50%における当該所定の列領域の読取濃度値が、目標濃度値より小さい場合には、特定濃度50%の読取濃度値と特定濃度100%の読取濃度値との間に存在するからである。   For example, the read density value of a predetermined row area at a specific density of 50% is compared with the target density value. If the read density value is larger than the target density value, the read density value of the same row area at the specific density of 10% is set. If the read density value is smaller than the target density value, the correction value is obtained using the read density value of the same row area at the specific density of 100%. This is because the gradation value to be specified for printing the predetermined row area at the target density value in the predetermined row area is such that the read density value of the predetermined row area at a specific density of 50% is larger than the target density value. In such a case, the reading density value exists between the reading density value of the specific density of 50% and the reading density value of the specific density of 10%, and the reading density value of the predetermined row region at the specific density of 50% is smaller than the target density value. This is because a reading density value having a specific density of 50% and a reading density value having a specific density of 100% exist.

そして、特定濃度50%における補正値α50は(式2)(式3)にて求められる。
特定濃度50%の読取濃度値が目標濃度値より大きい場合
α50=(C50−C10)×(T−Z50)/{(Z10−Z50)×C50
…(式2)
T :目標濃度値
50:補正前の濃度50%における階調値
10:補正前の濃度10%における階調値
50:濃度50%の読取濃度値
10:濃度10%の読取濃度値
特定濃度50%の読取濃度値が目標濃度値より小さい場合
α50=(C100−C50)×(T−Z50)/{(Z100−Z50)×C50
…(式3)
100:補正前の濃度100%における階調値
100:濃度100%の読取濃度値
The correction value α 50 at the specific density of 50% is obtained by (Expression 2) and (Expression 3).
When the reading density value of the specific density 50% is larger than the target density value α 50 = (C 50 −C 10 ) × (T−Z 50 ) / {(Z 10 −Z 50 ) × C 50 }
... (Formula 2)
T: target density value C 50: gradation value C 10 in a concentration of 50% before correction: gradation value Z 50 at a concentration of 10% before correction: concentration of 50% of the read density value Z 10: 10% strength reading density When the read density value of the specific density 50% is smaller than the target density value α 50 = (C 100 −C 50 ) × (TZ 50 ) / {(Z 100 −Z 50 ) × C 50 }
... (Formula 3)
C 100 : gradation value at a density of 100% before correction Z 100 : read density value at a density of 100%

上記実施形態においては、特定濃度50%における補正値α50を求める際に、特定濃度10%及び100%の読取濃度値を用いる例について説明したが、使用する特定濃度は、求めようとする特定濃度値を挟む2つの特定濃度値であれば構わない。しかしながら、指定する階調値の変化に対し、出力される濃度ができるだけリニアに変化するように補正値が設定できるように、使用する特定濃度を決定することが望ましい。 In the above-described embodiment, the example in which the read density values of 10% and 100% are used to determine the correction value α 50 at the specific density of 50% has been described. However, the specific density to be used is the specific density to be obtained. Any two specific density values sandwiching the density value may be used. However, it is desirable to determine the specific density to be used so that the correction value can be set so that the output density changes as linearly as possible with respect to the designated gradation value change.

本実施形態においては、5種類の特定濃度のうち、特定濃度50%と濃度30%とについて補正値αを求めることとする。濃度30%における補正値α30を求める際には、例えば濃度10%の読取濃度値と、濃度70%の読取濃度値を用い(式4)(式5)にて求めることとする。
特定濃度30%の読取濃度値が目標濃度値より大きい場合
α30=(C30−C10)×(T−Z30)/{(Z10−Z30)×C30
…(式4)
T :目標濃度値
30:補正前の濃度30%における階調値
10:補正前の濃度10%における階調値
30:濃度30%の読取濃度値
10:濃度10%の読取濃度値
特定濃度30%の読取濃度値が目標濃度値より小さい場合
α30=(C70−C30)×(T−Z30)/{(Z70−Z30)×C30
…(式5)
70:補正前の濃度70%における階調値
70:濃度70%の読取濃度値
このようにして、各列領域に対する補正値が2種類の特定濃度ごとに求められメモリに記憶される(S300)。
In the present embodiment, the correction value α is obtained for a specific density of 50% and a density of 30% among the five types of specific densities. When calculating the correction value α 30 at a density of 30%, for example, a read density value of 10% density and a read density value of 70% density are obtained by (Equation 4) and (Equation 5).
When the reading density value at a specific density of 30% is larger than the target density value α 30 = (C 30 −C 10 ) × (T−Z 30 ) / {(Z 10 −Z 30 ) × C 30 }
... (Formula 4)
T: target density value C 30: gradation value C 10 in a concentration of 30% before correction: gradation value Z 30 at a concentration of 10% before correction: concentration of 30% of the read density value Z 10: 10% strength reading density When the read density value of the specific density 30% is smaller than the target density value α 30 = (C 70 −C 30 ) × (TZ 30 ) / {(Z 70 −Z 30 ) × C 30 }
... (Formula 5)
C 70 : gradation value at a density of 70% before correction Z 70 : read density value at a density of 70% In this way, correction values for each row region are obtained for each of two types of specific densities and stored in a memory ( S300).

求められた補正値α50は、印刷すべき画像の画像データとして与えられた階調値に基づいて印刷すると、列領域間にて濃度ムラが発生するため、この濃度ムラを抑えるために、与えられた階調値を補正すべき割合を、列領域毎に示したものである。本実施形態では、画像データは階調値0〜255にて各単位領域の濃度を示しており、階調値0〜255により濃度0〜100%を256階調にて表現するように設定されている。すなわち、画像データにて指定される階調値の変化率と印刷されるべき濃度を示す階調値の変化率は等しい。このため、画像データにより濃度50%を指定する階調値、例えば「128」が指定された際には、補正後の階調値は、「128×(1+α50)」となる。また、濃度30%の場合には、画像データにより濃度30%を指定する階調値、例えば「77」が指定された際には、補正後の階調値は、「77×(1+α30)」となる。 Since the obtained correction value α 50 is printed based on the gradation value given as the image data of the image to be printed, density unevenness occurs between the row regions. The ratio for correcting the obtained gradation value is shown for each row region. In the present embodiment, the image data indicates the density of each unit area with a gradation value of 0 to 255, and is set so that the gradation value of 0 to 100% is expressed with 256 gradations by the gradation value of 0 to 255. ing. That is, the change rate of the gradation value specified by the image data is equal to the change rate of the gradation value indicating the density to be printed. For this reason, when a gradation value designating a density of 50%, for example, “128” is designated by the image data, the corrected gradation value is “128 × (1 + α 50 )”. In the case of a density of 30%, when a gradation value that designates a density of 30% is designated by image data, for example, “77”, the gradation value after correction is “77 × (1 + α 30 ). "

濃度30%、濃度50%以外の濃度に対する補正後の階調値は、求められた濃度30%、濃度50%の補正値に基づいて補正された濃度30%及び濃度50%の階調値、濃度0及び濃度100%の階調値を補間して求める。このとき、濃度0を指定する階調値は「0」、濃度100%を指定する階調値は「255」であり、それぞれ階調値の極値であるため補正しない。すなわち、濃度0及び濃度100%における補正値α,α100は、いずれも「0」である。 The gradation values after correction for the densities other than the density 30% and the density 50% are the obtained density 30%, the density values corrected based on the correction value of the density 50%, and the gradation values of the density 50%, It is obtained by interpolating gradation values of density 0 and density 100%. At this time, the gradation value designating the density 0 is “0” and the gradation value designating the density 100% is “255”, which are extreme values of the gradation values, and are not corrected. That is, the correction values α 0 and α 100 at the density 0 and 100% are both “0”.

図24は、算出された補正値に基づいて画像データを補正する処理の概念を説明するための図である。
図示するように、例えば画像データとして階調値Fが与えられた場合には、濃度0の階調値「0」と濃度30%の補正後の階調値「77×(1+α30)」との間で一次補間されて求められた補正後の階調値F′に変換される。画像データとして階調値Gが与えられた場合には、濃度30%の補正後の階調値「77×(1+α30)」と、濃度50の補正後の階調値「128×(1+α50)」との間で一次補間されて求められた補正後の階調値G′に変換される。画像データとして階調値Hが与えられた場合には、濃度50の補正後の階調値「128×(1+α50)」と濃度100%の階調値「255」との間で一次補間されて求められた補正後の階調値H′に変換される。
FIG. 24 is a diagram for explaining the concept of processing for correcting image data based on a calculated correction value.
As shown in the figure, for example, when a gradation value F is given as image data, a gradation value “0” with a density of 0 and a gradation value “77 × (1 + α 30 ) after correction with a density of 30% are obtained. Is converted into a corrected gradation value F ′ obtained by linear interpolation. When the gradation value G is given as image data, the gradation value after correction of 30% density “77 × (1 + α 30 )” and the gradation value after correction of density 50 “128 × (1 + α 50). ) ”Is converted into a corrected gradation value G ′ obtained by linear interpolation. When the gradation value H is given as the image data, linear interpolation is performed between the gradation value “128 × (1 + α 50 )” after correction of the density 50 and the gradation value “255” of the density 100%. Converted to the corrected gradation value H ′.

そして、プリンタドライバは、印刷すべき画像データとともに印刷指令を検出すると、まず、前述した解像度変換処理、色変換処理を実行する。そして、色変換処理された画像データの各単位領域の階調値を列領域毎及びインクの色毎に、記憶されている2つの補正値に基づいて補正後の階調値を求め、求められた新たな階調値の画像データに変換する。変換された画像データにハーフトーン処理、ラスタライズ処理を実行し印刷データとしてプリンタ1に出力する。そして、プリンタ1では、入力された印刷データに基づいて画像を印刷する。   When the printer driver detects the print command together with the image data to be printed, the printer driver first executes the resolution conversion process and the color conversion process described above. Then, the gradation value of each unit area of the color-converted image data is obtained by obtaining the corrected gradation value based on the two stored correction values for each row area and each ink color. The image data is converted into image data having a new gradation value. Halftone processing and rasterization processing are executed on the converted image data and output to the printer 1 as print data. The printer 1 prints an image based on the input print data.

本実施形態の印刷システム700によれば、補正値を取得する際には、特定濃度パターンとしてのサブパターンSPを構成する各ラスタラインが形成された列領域の移動方向における中央部分のみの濃度の読み取り結果が用いられるので、取得される補正値には、特定濃度パターンのエッジ付近における濃度の読み取り結果が含まれない。このため、補正をするためのより適切な濃度の読み取り結果に基づいて適切な補正値を得ることが可能である。特に、本実施形態では、補正用パターンCPが有する複数のサブパターンSPの読み取り結果に基づいて、複数の補正値が取得されるので、複数濃度に対応する補正値に基づいて、画像データをより適切に補正することが可能である。   According to the printing system 700 of the present embodiment, when acquiring the correction value, the density of only the central portion in the moving direction of the row area in which each raster line forming the sub-pattern SP as the specific density pattern is formed. Since the reading result is used, the acquired correction value does not include the reading result of the density near the edge of the specific density pattern. For this reason, it is possible to obtain an appropriate correction value based on a reading result of a more appropriate density for correction. In particular, in the present embodiment, a plurality of correction values are acquired based on the reading results of the plurality of sub-patterns SP included in the correction pattern CP. Therefore, the image data is further converted based on the correction values corresponding to the plurality of densities. It is possible to correct appropriately.

また、本実施形態の補正用パターンCPは、特定濃度のサブパターンSPと、このサブパターンSPと濃度が異なる他の特定濃度のサブパターンSPとが隣接しているので、印刷される補正用パターンCPが用紙Sに占める領域を狭くすることが可能である。また、濃度が互いに異なるサブパターンSP同士が隣接していても、補正値を取得する際には、各サブパターンSPを構成する各ラスタラインが形成された列領域の、移動方向における中央部分のみの濃度の読み取り結果が用いられるので、隣接するサブパターンSPの濃度が互いの読取濃度データに影響を及ぼす畏れがない。このため、より適切な補正値を取得することが可能である。   In addition, the correction pattern CP of the present embodiment has a specific density sub-pattern SP and another specific density sub-pattern SP having a density different from that of the sub-pattern SP. It is possible to narrow the area occupied by the CP on the paper S. Even when the sub-patterns SP having different densities are adjacent to each other, when acquiring the correction value, only the central portion in the moving direction of the row region in which each raster line constituting each sub-pattern SP is formed. Therefore, the density of adjacent sub-patterns SP may not affect the read density data of each other. For this reason, it is possible to acquire a more appropriate correction value.

さらに、補正値を取得するための読み取り結果は、各ラスタラインが形成された列領域の、移動方向における中央部分の1つ単位領域の濃度だけでなく、中央部分における互いに異なる部分の複数の単位領域の濃度を読み取った複数の読取濃度データの平均値なので、中央部分の濃度としてより正確な濃度に基づいて補正値を取得することが可能である。   Further, the reading result for obtaining the correction value is not only the density of one unit area of the central part in the moving direction of the row area where each raster line is formed, but also a plurality of units of different parts in the central part. Since the average value of a plurality of read density data obtained by reading the density of the region, it is possible to obtain a correction value based on a more accurate density as the density of the central portion.

また、各サブパターンSPと同様に印刷された単ドットラインの中央の位置を基準として、各サブパターンSPの位置を特定するので、用紙に対する印刷位置のずれ等を含むことなく正確に各々のサブパターンSPの位置を特定することが可能である。このため、各サブパターンSPが印刷された各列領域に対応する正確な単位領域濃度データに基づいて適切な補正値を取得することが可能である。   Further, since the position of each sub-pattern SP is specified with reference to the center position of a single dot line printed in the same manner as each sub-pattern SP, each sub-pattern SP can be accurately detected without including a printing position shift with respect to the paper. It is possible to specify the position of the pattern SP. For this reason, it is possible to acquire an appropriate correction value based on accurate unit area density data corresponding to each row area where each sub-pattern SP is printed.

また、スキャナ400は、特定濃度を示す階調値に基づいて印刷された各サブパターンSPが有する単位領域の濃度を、スキャナ400における最小読取領域毎の濃度データとして読み取るので、画像データに示された階調値にて印刷された補正用パターンCPの各単位領域における濃度を、濃度データとして読み取ることが可能である。このため、画像データに示された階調値と、この階調値に基づいて印刷された補正用パターンCPの濃度データとを対応付けることが可能である。   Further, the scanner 400 reads the density of the unit area of each sub-pattern SP printed based on the gradation value indicating the specific density as density data for each minimum reading area in the scanner 400, so that it is indicated in the image data. It is possible to read the density in each unit area of the correction pattern CP printed with the gradation value as density data. Therefore, it is possible to associate the gradation value shown in the image data with the density data of the correction pattern CP printed based on this gradation value.

また、罫線において移動方向に並ぶ最小読取領域の濃度データに基づいて、移動方向の濃度分布における重心位置を検出することにより、罫線の位置を検出するので、個々の最小読取領域の濃度データのみから罫線の位置を検出する場合より、信頼性が高いため、確実かつ正確に罫線の位置を検出することが可能である。   Further, since the position of the ruled line is detected by detecting the barycentric position in the density distribution in the moving direction based on the density data of the minimum reading area arranged in the moving direction on the ruled line, only the density data of the individual minimum reading area is detected. Since the reliability is higher than when detecting the position of the ruled line, the position of the ruled line can be detected reliably and accurately.

さらに、本実施形態にではスキャナ400の読取解像度は、補正用パターンCPが印刷される印刷解像度より高いこととしたので、印刷された罫線が例えば1ドットの幅の罫線であったとしても、交差方向(主走査方向)に複数の最小読取領域に亘って濃度データが存在することになる。このため、罫線を読み取った際により正確な濃度データを取得することが可能である。   Further, in the present embodiment, the reading resolution of the scanner 400 is higher than the printing resolution at which the correction pattern CP is printed. Therefore, even if the printed ruled line is a ruled line having a width of 1 dot, for example, Density data exists over a plurality of minimum reading areas in the direction (main scanning direction). For this reason, it is possible to acquire more accurate density data when the ruled line is read.

===その他の実施の形態===
上記の実施形態は、主として印刷システムについて記載されているが、その中には、プリンタ1、印刷装置、印刷方法等の開示が含まれていることは言うまでもない。
また、一実施形態としての印刷システム等を説明したが、上記の実施形態は、本発明の理解を容易にするためのものであり、本発明を限定して解釈するためのものではない。本発明は、その趣旨を逸脱することなく、変更、改良され得ると共に、本発明にはその等価物が含まれることは言うまでもない。特に、以下に述べる実施形態であっても、本発明に含まれるものである。
また、本実施形態においては、用紙搬送方向に発生する濃度ムラを補正する印刷システム及び印刷方法について説明したが、上記補正により、例えばヘッドが搭載されたキャリッジの移動に伴う振動などプリンタ1を構成する機構に起因して、搬送方向に沿う方向に発生する縦縞状の濃度ムラにも適用可能である。
=== Other Embodiments ===
The above embodiments are mainly described for the printing system, but it goes without saying that the disclosure of the printer 1, the printing apparatus, the printing method, and the like is included therein.
Moreover, although the printing system etc. as one embodiment were demonstrated, said embodiment is for making an understanding of this invention easy, and is not for limiting and interpreting this invention. The present invention can be changed and improved without departing from the gist thereof, and it is needless to say that the present invention includes equivalents thereof. In particular, the embodiments described below are also included in the present invention.
In this embodiment, the printing system and the printing method for correcting the density unevenness generated in the paper conveyance direction have been described. However, the printer 1 is configured by the above correction, such as vibration caused by the movement of the carriage on which the head is mounted. This is also applicable to vertical stripe-shaped density unevenness that occurs in the direction along the transport direction due to the mechanism that performs this.

<プリンタについて>
前述の実施形態では、印刷部としてプリンタ1が説明されていたが、これに限られるものではない。例えば、カラーフィルタ製造装置、染色装置、微細加工装置、半導体製造装置、表面加工装置、三次元造形機、液体気化装置、有機EL製造装置(特に高分子EL製造装置)、ディスプレイ製造装置、成膜装置、DNAチップ製造装置などのインクジェット技術を応用した各種の記録装置に、本実施形態と同様の技術を適用しても良い。また、これらの方法や製造方法も応用範囲の範疇である。
<About the printer>
In the above-described embodiment, the printer 1 has been described as the printing unit. However, the present invention is not limited to this. For example, color filter manufacturing apparatus, dyeing apparatus, fine processing apparatus, semiconductor manufacturing apparatus, surface processing apparatus, three-dimensional modeling machine, liquid vaporization apparatus, organic EL manufacturing apparatus (particularly polymer EL manufacturing apparatus), display manufacturing apparatus, film formation The same technique as that of the present embodiment may be applied to various recording apparatuses to which an ink jet technique is applied such as an apparatus and a DNA chip manufacturing apparatus. These methods and manufacturing methods are also within the scope of application.

<インクについて>
前述の実施形態は、プリンタ1のノズルから染料インク又は顔料インクをノズルから吐出していた。しかし、ノズルから吐出するインクは、このようなインクに限られるものではない。
<About ink>
In the above-described embodiment, dye ink or pigment ink is ejected from the nozzles of the printer 1 from the nozzles. However, the ink ejected from the nozzle is not limited to such ink.

<ノズルについて>
前述の実施形態では、圧電素子を用いてインクを吐出していた。しかし、インクを吐出する方式は、これに限られるものではない。例えば、熱によりノズル内に気泡を発生させる方式など、他の方式を用いてもよい。
<About nozzle>
In the above-described embodiment, ink is ejected using a piezoelectric element. However, the method of ejecting ink is not limited to this. For example, other methods such as a method of generating bubbles in the nozzle by heat may be used.

<インクを吐出するキャリッジ移動方向について>
前述の実施形態では、キャリッジ31の往方向の移動時にのみインクを吐出する単方向印刷を例に説明したが、これに限るものではなく、キャリッジ31の往復たる双方向移動時にインクを吐出する所謂双方向印刷を行っても良い。
<About the carriage moving direction for ejecting ink>
In the above-described embodiment, unidirectional printing in which ink is ejected only when the carriage 31 moves in the forward direction has been described as an example. However, the present invention is not limited to this, and so-called ink ejection is performed when the carriage 31 reciprocates in both directions. Bidirectional printing may be performed.

<印刷に用いるインク色について>
前述の実施形態では、シアン(C)、マゼンタ(M)、イエロー(Y)、ブラック(K)の4色のインクを用紙S上に吐出してドットを形成する多色印刷を例に説明したが、インク色はこれに限るものではない。例えばこれらインク色に加えて、ライトシアン(薄いシアン、LC)及びライトマゼンタ(薄いマゼンタ、LM)等のインクを用いても良い。
また、逆に、上記4つのインク色のいずれか一つだけを用いて単色印刷を行っても良い。
<Ink colors used for printing>
In the above-described embodiment, multicolor printing in which dots are formed by ejecting four colors of ink of cyan (C), magenta (M), yellow (Y), and black (K) onto the paper S has been described as an example. However, the ink color is not limited to this. For example, in addition to these ink colors, ink such as light cyan (light cyan, LC) and light magenta (light magenta, LM) may be used.
Conversely, monochrome printing may be performed using only one of the four ink colors.

印刷システムの外観構成を示した説明図である。It is explanatory drawing which showed the external appearance structure of the printing system. 印刷システムの主要部を説明するためのブロック図である。It is a block diagram for demonstrating the principal part of a printing system. スキャナの構成を説明するための正面図である。It is a front view for demonstrating the structure of a scanner. スキャナの構成を説明するための平面図である。It is a top view for demonstrating the structure of a scanner. 本実施形態のプリンタの全体構成の概略図である。1 is a schematic diagram of an overall configuration of a printer according to an embodiment. 本実施形態のプリンタの全体構成の側断面図である。1 is a side sectional view of an overall configuration of a printer according to an embodiment. ヘッドの下面におけるノズルの配列を示す説明図である。It is explanatory drawing which shows the arrangement | sequence of the nozzle in the lower surface of a head. ヘッドの駆動回路の説明図である。It is explanatory drawing of the drive circuit of a head. 各信号を説明するタイミングチャートである。It is a timing chart explaining each signal. プリンタドライバが行う基本的な処理の概略的な説明図である。FIG. 3 is a schematic explanatory diagram of basic processing performed by a printer driver. 印刷時の動作のフローチャートである。It is a flowchart of the operation | movement at the time of printing. 単色印刷された画像中において用紙の搬送方向に生じる濃度ムラを説明するための図である。FIG. 6 is a diagram for explaining density unevenness that occurs in a paper transport direction in an image printed in monochrome. 本実施形態に係る画像の印刷方法に関連する工程等の流れを示すフローチャートである。6 is a flowchart showing a flow of processes and the like related to the image printing method according to the embodiment. 補正値を設定する処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of the process which sets a correction value. 印刷された補正用パターンCPの一例を説明するための図である。It is a figure for demonstrating an example of printed correction pattern CP. 補正用パターンを読み取る際の読取基準位置及び読取領域を説明するための図である。It is a figure for demonstrating the reading reference position and reading area at the time of reading the pattern for a correction | amendment. ブラックの補正用パターンの傾きを検出する処理を説明するための図である。It is a figure for demonstrating the process which detects the inclination of the pattern for a correction | amendment of black. 距離KX1と距離KX2とにおける読取基準位置Pkから副走査方向の濃度分布における重心位置までの距離の相違を説明するための図である。FIG. 6 is a diagram for explaining a difference in distance from a reading reference position Pk to a center of gravity position in a density distribution in the sub-scanning direction at a distance KX1 and a distance KX2. 検出された傾きに基づいて画像データの回転処理を実行した後の読取濃度データのイメージを示す図である。It is a figure which shows the image of the reading density data after performing the rotation process of image data based on the detected inclination. 補正用パターンの最端ラスタラインの延出部を用いてエッジを検出する処理を説明するための図である。It is a figure for demonstrating the process which detects an edge using the extension part of the most end raster line of the pattern for a correction | amendment. 副走査方向に奇数の最小読取領域がラスタラインの幅に相当する際に延出部を用いてエッジを検出する処理を説明するための図である。It is a figure for demonstrating the process which detects an edge using an extension part when an odd minimum reading area | region is equivalent to the width | variety of a raster line in a subscanning direction. 各サブパターンを構成している各列領域が有する単位領域の単位領域濃度データを抽出する処理を説明するための図である。It is a figure for demonstrating the process which extracts the unit area | region density data of the unit area | region which each row area | region which comprises each sub pattern has. 特定濃度における補正値の求め方の概念を説明するための図である。It is a figure for demonstrating the concept of how to obtain | require the correction value in specific density. 算出された補正値に基づいて画像データを補正する処理の概念を説明するための図である。It is a figure for demonstrating the concept of the process which correct | amends image data based on the calculated correction value.

符号の説明Explanation of symbols

1 プリンタ(インクジェットプリンタ),2 HPセンサ、4 支持レール、
4a 支持面、5 原稿、6 規制ガイド、7 露光ランプ、8 レンズ、9 ミラー、
11 原稿規制板、11a 原稿突当部位、12 原稿台ガラス、
12a 原稿載置面、13 原稿台カバー、14 CCDイメージセンサ、
15 ガイド受け部、16 読取キャリッジ、16a 読取キャリッジの一端、
18 駆動部、20 搬送ユニット,21 給紙ローラ,22 搬送モータ、
23 搬送ローラ,24 プラテン,24a 溝、25 排紙ローラ、
30 キャリッジユニット,31 キャリッジ,40 ヘッドユニット,41 ヘッド、
50 センサ、51 リニア式エンコーダ、52 ロータリー式エンコーダ、
53 紙検出センサ、54 紙幅センサ、60 プリンタコントローラ、
63 メモリ、64 ユニット制御回路、644A 原駆動信号発生部、
644B 駆動信号整形部、
90 インクカートリッジ、100 コントローラ、103 スキャナコントローラ、
117 メモリ、181 タイミングベルト、182 プーリ,183 パルスモータ、
184 アイドラプーリ,400 スキャナ、700印刷システム、
704 表示装置、708 入力装置、708A キーボード、708B マウス、
710 記録再生装置、710A フレキシブルディスクドライブ装置、
710B CD−ROMドライブ装置、720 コンピュータ、
721 アプリケーションプログラム、722 ビデオドライバ、
725 プリンタドライバ、CP 補正用パターン、
CPc シアンの補正用パターン、CPk ブラックの補正用パターン、
CPm マゼンタの補正用パターン、CPy イエローの補正用パターン、L 延出部、
Ls 先端側の最端ラスタライン、Le 後端側の最端ラスタライン、
M 補正用パターンの主要部、Nc シアンインクノズル列、
Nk ブラックインクノズル列、Nm マゼンタインクノズル列、
Ny イエローインクノズル列、J 単ドットライン、P 絶対基準位置、
Pc シアンの読取基準位置、Pk ブラックの読取基準位置、
Pm マゼンタの読取基準位置、Py イエローの読取基準位置、
R1〜R4 最小読取領域列、r1〜r8 最小読取領域、S 用紙、
SP サブパターン、SPka〜SPke サブパターン
1 printer (inkjet printer), 2 HP sensor, 4 support rails,
4a Support surface, 5 Document, 6 Regulation guide, 7 Exposure lamp, 8 Lens, 9 Mirror,
11 Document restriction plate, 11a Document abutting part, 12 Document platen glass,
12a Document placement surface, 13 Document table cover, 14 CCD image sensor,
15 Guide receiving portion, 16 reading carriage, 16a one end of the reading carriage,
18 drive unit, 20 transport unit, 21 paper feed roller, 22 transport motor,
23 transport roller, 24 platen, 24a groove, 25 paper discharge roller,
30 carriage unit, 31 carriage, 40 head unit, 41 head,
50 sensors, 51 linear encoders, 52 rotary encoders,
53 Paper detection sensor, 54 Paper width sensor, 60 Printer controller,
63 memory, 64 unit control circuit, 644A original drive signal generator,
644B drive signal shaping unit,
90 ink cartridge, 100 controller, 103 scanner controller,
117 memory, 181 timing belt, 182 pulley, 183 pulse motor,
184 idler pulley, 400 scanner, 700 printing system,
704 display device, 708 input device, 708A keyboard, 708B mouse,
710 recording / reproducing apparatus, 710A flexible disk drive apparatus,
710B CD-ROM drive, 720 computer,
721 application program, 722 video driver,
725 Printer driver, CP correction pattern,
CPc Cyan correction pattern, CPk Black correction pattern,
CPm magenta correction pattern, CPy yellow correction pattern, L extension,
Ls Endmost raster line on the front end side, Le Endmost raster line on the rear end side,
M main part of correction pattern, Nc cyan ink nozzle row,
Nk black ink nozzle row, Nm magenta ink nozzle row,
Ny yellow ink nozzle row, J single dot line, P absolute reference position,
Pc Cyan reading reference position, Pk black reading reference position,
Pm Magenta reading reference position, Py yellow reading reference position,
R1 to R4 minimum reading area row, r1 to r8 minimum reading area, S paper,
SP sub-pattern, SPka-SPke sub-pattern

Claims (11)

所定方向に沿って複数設けられ、画像を印刷するための画像データに基づいて、前記所定方向と交差する移動方向に移動されつつインクを吐出して媒体にドット列を形成するためのノズルと、
特定濃度の画像を印刷するための画像データに基づいて前記ノズルからインクを吐出させて印刷した特定濃度パターンを構成する各ドット列が形成された各列領域における、前記移動方向の中央部分の濃度の読み取り結果に基づいて、各々の前記列領域間の濃度ムラを抑制すべく補正するための補正情報を、取得し、
前記補正情報に基づいて画像を印刷するための画像データを補正するためのコントローラと、
を有することを特徴とする印刷装置。
A plurality of nozzles provided along a predetermined direction, and based on image data for printing an image, ejecting ink while moving in a moving direction intersecting the predetermined direction to form a dot row on the medium;
The density of the central portion in the moving direction in each row region in which each dot row forming a specific density pattern printed by ejecting ink from the nozzles based on image data for printing an image of a specific density is formed Correction information for correcting to suppress density unevenness between the row regions, based on the read result of
A controller for correcting image data for printing an image based on the correction information;
A printing apparatus comprising:
請求項1に記載の印刷装置において、
前記特定濃度パターンと、当該特定濃度パターンと濃度が異なる他の特定濃度パターンとが前記移動方向に並べられて前記媒体に印刷され、
他の特定濃度パターンを構成する各ドット列が形成された各列領域における前記移動方向の中央部分の濃度の読み取り結果に基づいて、前記他の特定濃度パターンに対応する補正情報を取得することを特徴とする印刷装置。
The printing apparatus according to claim 1,
The specific density pattern and another specific density pattern having a density different from the specific density pattern are arranged in the moving direction and printed on the medium,
Correction information corresponding to the other specific density pattern is acquired based on the density reading result of the central portion in the moving direction in each row region where each dot row constituting the other specific density pattern is formed. Characteristic printing device.
請求項2に記載の印刷装置において、
前記特定濃度パターンと、前記他の特定濃度パターンとは隣接していることを特徴とする印刷装置。
The printing apparatus according to claim 2,
The printing apparatus, wherein the specific density pattern and the other specific density pattern are adjacent to each other.
請求項1乃至請求項3のいずれかに記載の印刷装置において、
前記読み取り結果として、前記中央部分における互いに異なる部分の読取濃度の平均値を用いることを特徴とする印刷装置。
The printing apparatus according to any one of claims 1 to 3,
The printing apparatus according to claim 1, wherein an average value of reading densities of different portions in the central portion is used as the reading result.
請求項2乃至請求項4のいずれかに記載の印刷装置において、
前記特定濃度パターン及び前記他の特定濃度パターンは、前記特定濃度パターンと前記移動方向に間隔を隔てて配置された前記所定方向に沿う罫線とともに、補正用パターンとして媒体に印刷され、
前記中央部分は前記罫線を基準として特定されることを特徴とする印刷装置。
The printing apparatus according to any one of claims 2 to 4,
The specific density pattern and the other specific density pattern are printed on a medium as a correction pattern, together with the specific density pattern and ruled lines along the predetermined direction arranged at intervals in the moving direction,
The printing apparatus according to claim 1, wherein the central portion is specified based on the ruled line.
請求項5に記載の印刷装置において、
前記補正用パターンを読み取るための読取部を有し、
前記画像データは、前記媒体に形成される単位領域毎の階調値を示しており、
前記読取部は、前記特定濃度を示す階調値に基づいて印刷された特定濃度パターン及び他の前記特定濃度を示す階調値に基づいて印刷された前記他の特定濃度パターンが有する前記単位領域の濃度を、前記読取部における最小読取領域毎の濃度データとして読み取ることを特徴とする印刷装置。
The printing apparatus according to claim 5, wherein
A reading unit for reading the correction pattern;
The image data indicates a gradation value for each unit area formed on the medium,
The reading unit includes the unit area included in the specific density pattern printed based on the gradation value indicating the specific density and the other specific density pattern printed based on the other gradation value indicating the specific density. The printing apparatus is characterized in that the density is read as density data for each minimum reading area in the reading unit.
請求項6に記載の印刷装置において、
前記コントローラは、前記罫線において前記移動方向に並ぶ前記最小読取領域の濃度データに基づいて、前記移動方向の濃度分布における重心位置を検出し、検出された前記濃度分布における重心位置に基づいて、前記移動方向における前記罫線の位置を検出することを特徴とする印刷装置。
The printing apparatus according to claim 6.
The controller detects a centroid position in the density distribution in the movement direction based on density data of the minimum reading area arranged in the movement direction on the ruled line, and based on the detected centroid position in the density distribution, A printing apparatus that detects a position of the ruled line in a moving direction.
請求項6または請求項7に記載の印刷装置において、
前記読取部の読取解像度は、前記補正用パターンが印刷される印刷解像度より高いことを特徴とする印刷装置。
The printing apparatus according to claim 6 or 7,
The printing apparatus according to claim 1, wherein a reading resolution of the reading unit is higher than a printing resolution at which the correction pattern is printed.
所定方向に沿って複数設けられ、画像を印刷するための画像データに基づいて、前記所定方向と交差する移動方向に移動されつつインクを吐出して媒体にドット列を形成するためのノズルと、
特定濃度の画像を印刷するための画像データに基づいて前記ノズルからインクを吐出させて印刷した特定濃度パターンを構成する各ドット列が形成された各列領域における、前記移動方向の中央部分の濃度の読み取り結果に基づいて、各々の前記列領域間の濃度ムラを抑制すべく補正するための補正情報を、取得し、
前記補正情報に基づいて画像を印刷するための画像データを補正するためのコントローラと、
を有し、
前記特定濃度パターンと、当該特定濃度パターンと濃度が異なる他の特定濃度パターンとが前記移動方向に隣接されて前記媒体に印刷され、
他の特定濃度パターンを構成する各ドット列が形成された各列領域における前記移動方向の中央部分の濃度の読み取り結果に基づいて、前記他の特定濃度パターンに対応する補正情報を取得し、
前記読み取り結果として、前記中央部分における互いに異なる部分の読取濃度の平均値を用い、
前記特定濃度パターン及び前記他の特定濃度パターンは、前記特定濃度パターンと前記移動方向に間隔を隔てて配置された前記所定方向に沿う罫線とともに、補正用パターンとして媒体に印刷され、
前記中央部分は前記罫線を基準として特定され、
前記補正用パターンを読み取るための読取部を有し、
前記画像データは、前記媒体に形成される単位領域毎の階調値を示しており、
前記読取部は、前記特定濃度を示す階調値に基づいて印刷された特定濃度パターン及び他の前記特定濃度を示す階調値に基づいて印刷された前記他の特定濃度パターンが有する前記単位領域の濃度を、前記読取部における最小読取領域毎の濃度データとして読み取り、
前記コントローラは、前記罫線において前記移動方向に並ぶ前記最小読取領域の濃度データに基づいて、前記移動方向の濃度分布における重心位置を検出し、検出された前記濃度分布における重心位置に基づいて、前記移動方向における前記罫線の位置を検出し、
前記読取部の読取解像度は、前記補正用パターンが印刷される印刷解像度より高く、
前記読取解像度と前記印刷解像度とを示す情報をそれぞれ有し、
前記コントローラは、前記読取解像度と前記印刷解像度とに基づいて、前記罫線の前記移動方向の幅内に含まれる、連続する前記最小読取領域の数を算出し、
算出された前記連続する前記最小読取領域の数が偶数の場合には、
検出された前記ピークとなる2つの前記濃度データを有する最小読取領域の中間を、前記移動方向における前記罫線の位置として検出し、
算出された前記連続する前記最小読取領域の数が奇数の場合には、
検出された前記ピークとなる前記濃度データを有する最小読取領域を、前記移動方向における前記罫線の位置として検出することを特徴とする印刷装置。
A plurality of nozzles provided along a predetermined direction, and based on image data for printing an image, ejecting ink while moving in a moving direction intersecting the predetermined direction to form a dot row on the medium;
The density of the central portion in the moving direction in each row region in which each dot row forming a specific density pattern printed by ejecting ink from the nozzles based on image data for printing an image of a specific density is formed Correction information for correcting to suppress density unevenness between the row regions, based on the read result of
A controller for correcting image data for printing an image based on the correction information;
Have
The specific density pattern and another specific density pattern having a density different from the specific density pattern are printed on the medium adjacent to the moving direction,
Based on the reading result of the density of the central portion in the moving direction in each row region where each dot row constituting the other specific density pattern is formed, the correction information corresponding to the other specific density pattern is acquired,
As the reading result, an average value of reading densities of different portions in the central portion is used,
The specific density pattern and the other specific density pattern are printed on a medium as a correction pattern, together with the specific density pattern and ruled lines along the predetermined direction arranged at intervals in the moving direction,
The central portion is identified with reference to the ruled line;
A reading unit for reading the correction pattern;
The image data indicates a gradation value for each unit area formed on the medium,
The reading unit includes the unit area included in the specific density pattern printed based on the gradation value indicating the specific density and the other specific density pattern printed based on the other gradation value indicating the specific density. Is read as density data for each minimum reading area in the reading unit,
The controller detects a centroid position in the density distribution in the movement direction based on density data of the minimum reading area arranged in the movement direction on the ruled line, and based on the detected centroid position in the density distribution, Detect the position of the ruled line in the moving direction,
The reading resolution of the reading unit is higher than the printing resolution at which the correction pattern is printed,
Each having information indicating the reading resolution and the printing resolution;
The controller calculates the number of continuous minimum reading areas included in the width of the ruled line in the moving direction based on the reading resolution and the printing resolution;
When the calculated number of the continuous minimum reading areas is an even number,
Detecting the middle of the minimum reading area having the two density data as the detected peak as the position of the ruled line in the moving direction;
When the calculated number of the consecutive minimum reading areas is an odd number,
A printing apparatus that detects a minimum reading area having the detected density data as the peak as a position of the ruled line in the moving direction.
所定方向に沿って複数設けられ、画像を印刷するための画像データに基づいて、前記所定方向と交差する移動方向に移動されつつインクを吐出して媒体にドット列を形成するためのノズルを有する印刷装置に、
特定濃度の画像を印刷するための画像データに基づいて前記ノズルからインクを吐出させて印刷した特定濃度パターンを構成する各ドット列が形成された各列領域における、前記移動方向の中央部分の濃度の読み取り結果に基づいて、各々の前記列領域間の濃度ムラを抑制すべく補正するための補正情報を、取得させ、
前記補正情報に基づいて画像を印刷するための画像データを補正させる機能を実現するためのコンピュータプログラム。
A plurality of nozzles are provided along a predetermined direction, and ejecting ink while moving in a moving direction intersecting with the predetermined direction based on image data for printing an image to form a dot row on a medium. In the printing device,
The density of the central portion in the moving direction in each row region in which each dot row forming a specific density pattern printed by ejecting ink from the nozzles based on image data for printing an image of a specific density is formed Correction information for correcting to suppress density unevenness between each of the row regions based on the read result of
A computer program for realizing a function of correcting image data for printing an image based on the correction information.
所定方向に沿って複数設けられ、画像を印刷するための画像データに基づいて、前記所定方向と交差する移動方向に移動されつつインクを吐出して媒体にドット列を形成するためのノズルを用い、特定濃度の画像を印刷するための画像データに基づいて前記ノズルからインクを吐出させて印刷した特定濃度パターンを印刷させるステップと、
前記特定濃度パターンを構成する各ドット列が形成された各列領域における、前記移動方向の中央部分の濃度の読み取り結果に基づいて、各々の前記列領域間の濃度ムラを抑制すべく補正するための補正情報を、取得するステップと、
前記補正情報に基づいて画像を印刷するための画像データを補正するステップと、
を有することを特徴とする印刷方法。

A plurality of nozzles are provided along a predetermined direction for ejecting ink while moving in a moving direction intersecting the predetermined direction based on image data for printing an image to form a dot row on a medium. A step of printing a specific density pattern printed by ejecting ink from the nozzles based on image data for printing an image of a specific density;
In order to correct the density unevenness between the row regions based on the density reading result of the central portion in the moving direction in each row region where the dot rows constituting the specific density pattern are formed. Obtaining the correction information of
Correcting image data for printing an image based on the correction information;
A printing method characterized by comprising:

JP2005133703A 2005-04-28 2005-04-28 Printer, computer program, and printing method Pending JP2006305958A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005133703A JP2006305958A (en) 2005-04-28 2005-04-28 Printer, computer program, and printing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005133703A JP2006305958A (en) 2005-04-28 2005-04-28 Printer, computer program, and printing method

Publications (1)

Publication Number Publication Date
JP2006305958A true JP2006305958A (en) 2006-11-09

Family

ID=37473389

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005133703A Pending JP2006305958A (en) 2005-04-28 2005-04-28 Printer, computer program, and printing method

Country Status (1)

Country Link
JP (1) JP2006305958A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10214025B2 (en) 2017-03-03 2019-02-26 Brother Kogyo Kabushiki Kaisha Image processing apparatus and non-transitory computer-readable medium storing image processing program
US10556444B2 (en) 2017-02-23 2020-02-11 Brother Kogyo Kabushiki Kaisha Image processing apparatus and non-transitory computer-readable medium storing image processing program
JP2020201106A (en) * 2019-06-10 2020-12-17 コニカミノルタ株式会社 Image inspection device and image forming system

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10556444B2 (en) 2017-02-23 2020-02-11 Brother Kogyo Kabushiki Kaisha Image processing apparatus and non-transitory computer-readable medium storing image processing program
US10214025B2 (en) 2017-03-03 2019-02-26 Brother Kogyo Kabushiki Kaisha Image processing apparatus and non-transitory computer-readable medium storing image processing program
JP2020201106A (en) * 2019-06-10 2020-12-17 コニカミノルタ株式会社 Image inspection device and image forming system
JP7234812B2 (en) 2019-06-10 2023-03-08 コニカミノルタ株式会社 Image inspection device and image forming system

Similar Documents

Publication Publication Date Title
US7726765B2 (en) Printing method, storage medium, medium, printing apparatus, method for detecting end of image, method for detecting carrying unevenness of medium, and device for detecting carrying unevenness of medium
JP2006305952A (en) Printer, computer program, printing method, and medium
JP2006192636A (en) Liquid delivering system, liquid delivering apparatus, liquid delivering method, program and liquid delivering controlling apparatus
US20080152413A1 (en) Printing Method, Storage Medium Having Program Stored Thereon, and Printing System
US7661787B2 (en) Printing method, computer-readable medium, printing apparatus, method of manufacturing printing apparatus, printing system, and correction pattern
JP2007038662A (en) Inkjet recording apparatus and method for recording its dot pattern
JP2007015269A (en) Recorder and method for controlling recording position
US8075085B2 (en) Printing apparatus and printing method
JP2005205691A (en) Printing device, printing method and printing system
JP2012011664A (en) Recording apparatus and recording position adjusting method thereof
JP4513346B2 (en) Printing apparatus, printing method, and printing system
JP2009226803A (en) Density correcting method
JP2006305958A (en) Printer, computer program, and printing method
JP4650087B2 (en) Printing apparatus, computer program, and image edge detection method
JP2005246938A (en) Printer, computer program, printing system, and printing method
JP4635489B2 (en) Correction value setting method for correcting image density
JP2006346938A (en) Printer, computer program, printing system, and printing method
US20060262330A1 (en) Image processing method, correction-value acquiring method, and printing method
JP2008060922A (en) Method of correcting measured printing darkness value, printing method, corrected value calculation method, and method of manufacturing printing apparatus
JP2005225195A (en) Printer, printing method and system
JP4715315B2 (en) Printing apparatus, computer program, printing system, and printing method
JP2006007533A (en) Setting method of correction value, and test pattern for density correction
JP4561261B2 (en) Printing system, printing apparatus, printing method, and program
JP2005319636A (en) Print method, print method of print pattern, reading method, printer, reader, and print system
JP2005225131A (en) Printer, computer program, printing system, method of printing, and correction pattern