JP2007152844A - Printer and its control method - Google Patents
Printer and its control method Download PDFInfo
- Publication number
- JP2007152844A JP2007152844A JP2005353902A JP2005353902A JP2007152844A JP 2007152844 A JP2007152844 A JP 2007152844A JP 2005353902 A JP2005353902 A JP 2005353902A JP 2005353902 A JP2005353902 A JP 2005353902A JP 2007152844 A JP2007152844 A JP 2007152844A
- Authority
- JP
- Japan
- Prior art keywords
- mask
- data
- processing
- area
- image 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
Links
Images
Abstract
Description
本発明は、印刷装置及びその制御方法に関し、特に、複数種類のマスク処理を、装置の規模を小さく抑えつつ、柔軟に行なうことのできる印刷装置及びその制御方法に関する。 The present invention relates to a printing apparatus and a control method therefor, and more particularly, to a printing apparatus and a control method therefor that can perform a plurality of types of mask processing flexibly while keeping the scale of the apparatus small.
インクを吐出する複数のノズルを備えるヘッドが印刷媒体上を走査しながら印刷を行うインクジェットプリンタなどの印刷装置においては、各ノズルのハード特性やインク吐出特性などが画像上に集中して画質が劣化してしまうことを防ぐために、従来から、幾つかの画質向上のための技術が紹介されている。 In a printing apparatus such as an ink jet printer that performs printing while a head having a plurality of nozzles that eject ink scans the print medium, the hardware characteristics and ink ejection characteristics of each nozzle are concentrated on the image and the image quality deteriorates. In order to prevent this, some techniques for improving image quality have been introduced.
例えば、下記特許文献1または特許文献2には、インターレース方式という技術が開示されている。また、下記特許文献3および特許文献4には、シングリング方式またはマルチスキャン方式と呼ばれる技術が開示されている。
For example, the following
さらに、前記ノズル特性等を印刷対象の画像上で分散させるための技術としてマスク処理と呼ばれるものがある。かかる処理は、マスクデータと呼ばれる0と1の羅列からなるデータを収めたマスクテーブルというものを用いて、印刷に用いられる各ドットの画像データに対してマスキングを行い、ヘッドの1回の走査で印刷される画像データを分散させるものである。 Furthermore, there is a technique called mask processing as a technique for dispersing the nozzle characteristics and the like on an image to be printed. Such processing is performed by masking image data of each dot used for printing by using a mask table containing data consisting of 0 and 1 data called mask data, and scanning the head once. The image data to be printed is distributed.
また、このマスク処理にも幾つかの種類があり、例えば、複数のノズルを副走査方向に備えるノズル列において、その上端部および下端部に備えられるノズルで印刷される画像データについて上記マスク処理を行なうPOL(パートオーバーラップ)方式や、画像の全域にわたって処理を行う分散方式などがある。 There are also several types of mask processing. For example, in a nozzle row having a plurality of nozzles in the sub-scanning direction, the above mask processing is performed on image data printed by nozzles provided at the upper end and lower end thereof. There are a POL (part overlap) method for performing, a distributed method for performing processing over the entire area of the image, and the like.
従来、このような複数種類のマスク処理を行う場合には、種類毎にそれに適した分散の効果を十分に得るために、種類毎に前記マスクテーブルを備えていた。例えば、前記POL方式と分散方式を行なう印刷装置では、各方式に対してマスクテーブルを用意するため2つのマスクテーブルを備えていた。
しかしながら、前述のように、マスク処理の種類毎にマスクテーブルを備える方法では、マスク処理の高速化のために当該マスク処理をハードウェア化する際に、各マスクテーブル用の各メモリがチップ上に備えられることになり、それらの物理的占有面積が大きく、チップの小型化の障害となると共に、コストアップの要因となってしまう。 However, as described above, in the method of providing a mask table for each type of mask processing, when the mask processing is implemented in hardware for speeding up the mask processing, each memory for each mask table is on the chip. Therefore, the physical occupation area is large, which becomes an obstacle to downsizing of the chip and increases the cost.
また、各マスク処理毎にその処理専用のマスクテーブルをメモリとして設けると、同じ装置で新たに異なるマスクデータを用いた異なる種類のマスク処理を行なおうとするような場合に、メモリ容量などの点から既存のメモリを有効に使用できない場合も考えられ、柔軟性に乏しい。 In addition, when a mask table dedicated to each mask process is provided as a memory for each mask process, in the case where different types of mask processes using different mask data are newly performed on the same apparatus, the memory capacity, etc. Therefore, there is a case where existing memory cannot be used effectively, which is not flexible.
そこで、本発明の目的は、ノズル特性等の影響を分散させる複数種類のマスク処理を、装置の規模を小さく抑えつつ、柔軟に行なうことのできる印刷装置及びその制御方法を提供することである。 SUMMARY OF THE INVENTION An object of the present invention is to provide a printing apparatus and a control method thereof that can flexibly perform a plurality of types of mask processing for dispersing the influence of nozzle characteristics and the like while keeping the scale of the apparatus small.
上記の目的を達成するために、本発明の一つの側面は、1つのラスタ内の画像データを、印刷ヘッドの複数の走査に分散させるためのマスク処理を、複数種類実行可能な印刷装置が、複数の領域に分割され、当該各領域内に、前記マスク処理のためのデータであって互いに属性を異にする複数種類のマスクデータを格納する、1のマスクテーブルと、実行する前記マスク処理の種類に応じた前記マスクデータが格納されている前記マスクテーブルの領域内で、前記マスクデータを用いて当該マスク処理を実行するマスク処理手段とを有することである。 To achieve the above object, according to one aspect of the present invention, there is provided a printing apparatus capable of executing a plurality of types of mask processing for distributing image data in one raster to a plurality of scans of a print head. A plurality of types of mask data that is divided into a plurality of areas and stores a plurality of types of mask data having different attributes from each other in each area, and the mask process to be executed And a mask processing means for executing the mask processing using the mask data within the area of the mask table in which the mask data corresponding to the type is stored.
更に、上記の発明において、その好ましい態様は、前記マスク処理手段は、前記実行するマスク処理の種類に基いて、前記マスクテーブルの所定の領域内における先頭位置を決定する制御部と、前記決定された先頭位置から前記マスクデータを読み出し、当該読み出したマスクデータを用いて当該マスク処理を実行する実行部とを備えることを特徴とする。 Furthermore, in the above invention, a preferable aspect thereof is that the mask processing means is configured to determine the start position in a predetermined area of the mask table based on a type of the mask processing to be executed. And an execution unit that reads the mask data from the head position and executes the mask process using the read mask data.
更に、上記の発明において、一つの態様は、前記マスクテーブルは、前記領域のサイズ及び格納するマスクデータを変更することが可能であり、前記制御部は、前記マスク処理を実行する際に、前記実行部に対して、用いるマスクデータが格納される前記領域を指定することを特徴とする。 Furthermore, in the above invention, according to one aspect, the mask table can change a size of the area and mask data to be stored, and the control unit performs the mask process when the mask process is performed. The area for storing mask data to be used is specified for the execution unit.
更にまた、上記の発明において、好ましい態様は、前記制御部による前記先頭位置の決定は、前記マスク処理の対象としている画像データのラスタ位置及び色に基づいて行なわれることを特徴とする。 Furthermore, in the above-mentioned invention, a preferred aspect is characterized in that the determination of the head position by the control unit is performed based on a raster position and a color of image data to be masked.
上記の目的を達成するために、本発明の別の側面は、1つのラスタ内の画像データを、印刷ヘッドの複数の走査に分散させるためのマスク処理を、複数種類実行可能な印刷装置の制御方法において、前記印刷装置は、複数の領域に分割され、当該各領域内に、前記マスク処理のためのデータであって互いに属性を異にする複数種類のマスクデータを格納する、1のマスクテーブルを備え、前記マスク処理を実行する際に、当該実行するマスク処理の種類に応じた前記マスクデータが格納されている前記マスクテーブルの領域内で、前記マスクデータを用いて当該マスク処理が実行されるように制御することである。 In order to achieve the above object, another aspect of the present invention provides a printing apparatus control capable of executing a plurality of types of mask processing for distributing image data in one raster to a plurality of scans of a print head. In the method, the printing apparatus is divided into a plurality of areas, and each mask area stores a plurality of types of mask data that are data for the mask processing and have different attributes from each other. And when the mask process is executed, the mask process is executed using the mask data in the area of the mask table in which the mask data corresponding to the type of the mask process to be executed is stored. Is to control.
本発明の更なる目的及び、特徴は、以下に説明する発明の実施の形態から明らかになる。 Further objects and features of the present invention will become apparent from the embodiments of the invention described below.
以下、図面を参照して本発明の実施の形態例を説明する。しかしながら、かかる実施の形態例が、本発明の技術的範囲を限定するものではない。なお、図において、同一又は類似のものには同一の参照番号又は参照記号を付して説明する。 Embodiments of the present invention will be described below with reference to the drawings. However, such an embodiment does not limit the technical scope of the present invention. In the drawings, the same or similar elements are denoted by the same reference numerals or reference symbols.
図1は、本発明を適用した印刷装置の実施の形態例に係る構成図である。図1のプリンタ1が本発明を適用した印刷装置であり、使用するマスクデータが異なる複数種類のマスク処理において共用する1のマスクテーブルを備え、当該マスクテーブルを分割して前記異なるマスクデータをそれぞれ格納し、マスク処理の際には、その処理に対応するマスクデータが格納されているマスクテーブル内の領域においてマスクデータが使用されるように指示することにより、複数種類のマスク処理を装置規模を小さく抑えつつ、柔軟に行なおうとするものである。
FIG. 1 is a configuration diagram according to an embodiment of a printing apparatus to which the present invention is applied. The
本実施の形態例に係るプリンタ1は、一例として、カラーで印刷可能なインクジェットプリンタであり、図1に示すように、I/F2、CPU3、画像処理ユニット4、メモリ10、ローカルバス9、DSP11、及びヘッド12(印刷ヘッド)等で構成されている。
The
ホストコンピュータなど外部から送信される印刷要求とその画像データは、I/F2を介してメモリ10に格納される。その後、受信された圧縮されている画像データに対して、画像処理ユニット4、DSP11等により、解凍処理、色変換処理、二値化処理、及びマスク処理がそれぞれ行なわれ、処理後のデータがヘッド12に出力される。ヘッド12では、転送される画像データに基づいて順次インクを吐出し、印刷媒体への印字を実行する。なお、本プリンタ1では、C(シアン)M(マゼンタ)Y(イエロー)K(ブラック)の4色のインクを吐出して印刷するものとする。
A print request and its image data transmitted from the outside such as a host computer are stored in the
I/F2は、ホストコンピュータなどプリンタ1外部とのインターフェースを司る部分であり、CPU3は、上記各種の画像処理を制御する部分である。また、メモリ10は、画像処理ユニット4の外部に設けられたユニット外メモリであり、外部から受信した状態及び前述した各画像処理の処理後の状態における各画像データをそれぞれ所定領域に格納する。従って、解凍処理後のデータ、二値化処理後のデータ、マスク処理後のデータなどがそれぞれメモリ10に格納される。本プリンタ1の特徴であるマスク処理部7は、メモリ10に格納された二値化処理後のデータを読み出して処理し、処理後のデータをメモリ10に書き戻す。
The I / F 2 is a part that controls an interface with the outside of the
次に、画像処理ユニット4は、図1に示すように、パス制御部5、解凍部6、マスク処理部7、及びヘッド出力部8等を有し、具体的には、ASICで構成される。パス制御部5は、前記I/F2を介してプリンタ1に入力されたデータの転送制御を行う部分であり、解凍部6は、圧縮されている画像データの前記解凍処理を行なう部分である。
Next, as shown in FIG. 1, the
マスク処理部7は、本プリンタ1の特徴部分であり、二値化処理後の画像データに対して、ヘッド12の1回の走査で印刷される画像データを分散させるためのマスク処理を行う。また、当該マスク処理部7には、マスク処理に用いられる1のマスクテーブル71が備えられる。
The
図2は、マスクテーブル71を例示した図である。図2に示されるように、マスクテーブル71は、縦横256の「1」又は「0」の数字で構成されるものであり、これらの数字をマスクデータと呼ぶ。また、「1」又は「0」の一つのマスクデータは、1ドットの画像データに対応するものである。ここで、本プリンタ1のマスクテーブル71は、二つの領域(領域Aと領域B)に分割されており、それら各領域には互いに異なる属性を有するマスクデータが収められている。
FIG. 2 is a diagram illustrating the mask table 71. As shown in FIG. 2, the mask table 71 is composed of 256 “1” or “0” numbers, and these numbers are referred to as mask data. One mask data of “1” or “0” corresponds to 1-dot image data. Here, the mask table 71 of the
この例では、領域Aには、上記「1」、「0」の数字が規則的に配置されたマスクデータが収められ、領域Bには、「1」、「0」の数字が不規則に配置されたマスクデータが収められる。そして、本プリンタ1では、2種類のマスク処理(マスク処理Aとマスク処理B)が実行可能であり、マスク処理Aでは、領域Aに格納されたマスクデータを使用する必要があり、また、マスク処理Bでは、領域Bに格納されたマスクデータを使用する必要がある。例えば、前述したPOL方式のマスク処理では、1ラスタ(印刷画像における主走査方向の1ライン)について使用されるノズルを規則的に分散させる場合があり、このような場合がマスク処理Aに相当し、また、前述した分散方式のマスク処理等では、使用されるノズルを不規則に分散させるのでマスク処理Bに相当する。
In this example, the area A contains the mask data in which the numbers “1” and “0” are regularly arranged, and the area B contains the numbers “1” and “0” irregularly. The arranged mask data is stored. The
このように、備えられている1のマスクテーブル71が複数の領域に分割されて、各領域に属性の異なるマスクデータがそれぞれ収められていることが、本プリンタ1の大きな特徴である。なお、マスクテーブル71は、マスク処理部7が有するメモリ(図示せず)に収められ、上記マスクテーブル71のサイズは一例であって、他のサイズにすることも可能である。また、この例では、マスクテーブル71が2領域に分割されて各領域に半分ずつの容量が割当てられているが、領域の数、各領域の容量は必要に応じて変えても構わない。
As described above, the main feature of the
なお、マスク処理部7による具体的な処理内容については後述する。
The specific processing content by the
次に、ヘッド出力部8は、マスク処理後の画像データを読み込んで、ヘッド12に順次出力する部分である。
Next, the head output unit 8 is a part that reads the image data after the mask processing and sequentially outputs it to the
DSP11は、前述した色変換処理及び二値化処理を行うプロセッサ(Digital Signal Processor)であり、メモリ10内に格納された所定の画像データを読み出して処理を実行し、処理後のデータを再びメモリ10に書き戻す。
The
また、図1に示すように、画像処理ユニット4の各処理部とメモリ10は、各処理部で必要となるメモリ10とのデータ通信を高速に行なうためのローカルバス9でつながれている。かかるローカルバス9は、いわゆるデータバスであり、画像処理ユニット4内の各処理部とCPU3をつなぐCPUバスは、画像処理ユニット4内において図示を省略している。
As shown in FIG. 1, each processing unit of the
最後に、ヘッド12は、インクの色毎(CMYK毎)にノズル列121を有し、主走査方向に移動しながら、ヘッド出力部8から転送される各色の画像データに従って順次インク吐出を行い印刷媒体に印字を実施する部分である。図3は、ヘッド12に備えられるノズル列121を模式的に示した図である。
Finally, the
図3に示すように、各色のノズル列121は、副走査方向に256のノズル122(例えば、Cの色は、C1〜C256)を有し、4つのノズル列121は、全体として主走査方向に移動しながらインク吐出を行なっていく。なお、備えられるノズル122の数256は一例であって、他の数であっても構わない。
As shown in FIG. 3, each color nozzle row 121 has 256 nozzles 122 (for example, C colors are C1 to C256) in the sub-scanning direction, and the four nozzle rows 121 as a whole are in the main scanning direction. Ink is discharged while moving to the position. The
以上説明したような構成を有する本プリンタ1では、前述したように、マスク処理について特徴を有し、以下、このマスク処理について具体的な処理内容を説明する。図4は、画像データに対するマスク処理の手順を例示したフローチャートである。図4には、本プリンタ1におけるマスク処理の処理単位である、1ラスタの画像データ(1色分)に対してある種類のマスク処理を行う場合について示されている。
As described above, the
まず、CPU3は、処理対象の画像データ(ラスタ)に対して行なうマスク処理の種類を決定する(ステップS1)。本実施の形態例では、前述のように、マスク処理Aとマスク処理Bが行なわれるので、今回の処理でどちらの処理を行なうかが決定される。かかる決定は、当該画像データの印字を行なうノズル122の位置やこれまでの処理経緯等に基づいて行なわれる。
First, the
次に、CPU3は、当該マスク処理に用いるマスクデータを指定するために、前記マスクテーブル71上における先頭位置を決定する(ステップS2)。この先頭位置とは、マスクテーブル71上のデータ読み出しポインタの位置であり、マスクテーブル71に収められているデータをこの位置から順番に読み出してマスク処理に使うことを意味するものである。
Next, the
かかる先頭位置の決定は、まず、前記決定したマスク処理の種類に応じたマスクテーブル71の領域内で行なわれる。すなわち、マスク処理Aを行なう場合には、そのためのマスクデータを格納した領域A内で先頭位置が決定され、マスク処理Bを行なう場合には、そのためのマスクデータを格納した領域B内で先頭位置が決定される。 The determination of the head position is first performed in the area of the mask table 71 corresponding to the determined mask processing type. That is, when the mask process A is performed, the head position is determined in the area A storing the mask data for that purpose, and when the mask process B is performed, the head position is determined within the area B where the mask data is stored. Is determined.
また、各領域内での位置の決定は、処理対象データのラスタ位置及び色等に基づいて行なわれ、特に、不規則にデータが配置された領域Bにおいては、近傍のラスタに対して、また、同一ラスタの異なる色に対して行なわれるマスク処理において使用されるマスクデータの、マスクテーブル71上での位置が十分に離れるように行なわれる。例えば、同一ラスタの異なる色に対しては、前記先頭位置が、領域内において他の色から上下左右にずれた位置として決定される。また、ラスタ位置及び色ごとに全く不作為に領域内の任意の位置を決定するようにしても良い。 In addition, the position in each area is determined based on the raster position and color of the processing target data. In particular, in the area B where data is irregularly arranged, for the neighboring raster, The mask data used in the mask processing performed for different colors of the same raster is performed so that the position on the mask table 71 is sufficiently separated. For example, for different colors of the same raster, the head position is determined as a position shifted vertically and horizontally from other colors in the region. Further, an arbitrary position in the region may be determined at random for each raster position and color.
このようにして、先頭位置が決定されると、CPU3は、マスク処理部7に対して当該画像データについてのマスク処理を指示する(ステップS3)。具体的には、処理の実行指示と共に、処理対象のラスタ位置、前記決定されたマスク処理の種類、及び前記決定された先頭位置がマスク処理部7に知らされる。先頭位置については、マスクテーブル71の先頭(図2に示すテーブルの左上)からの位置(アドレス)、あるいは、使用する前記領域内での位置(アドレス)等で示される。
When the head position is determined in this way, the
前記指示を受けたマスク処理部7は、まず、メモリ10から処理対象のラスタの画像データを読み込む(ステップS4)。図5及び図6は、マスク処理B及びマスク処理Aをそれぞれ説明するための図である。図5の(a)は、印刷媒体1面分の画像データを模式的に示したものであり、ラスタ(i)の画像データは、図に示すように、左から順番に主走査方向に、1ドット毎にi1、i2、、、、と並んでいる。前記画像データの読み込みでは、例えば、このラスタ(i)の画像データが読み込まれる。
The
次に、マスク処理部7は、自らが備える前記マスクテーブル71の、前記指示された先頭位置からマスクデータを読み出す(ステップS5)。図5の(b)には、前記指定された先頭位置が例示されている。なお、図5は、処理の種類がマスク処理Bの場合であるので、マスクテーブル71のうちの領域Bについてのみ示されている。図において上向きの矢印で指し示される位置が、例えば、この先頭位置であり、この位置に収められている「1」のデータから右方向に読み出されて(図の太線で囲われた部分)、マスクデータとして用いられる。すなわち、この例では、先頭位置から、「1、1、0、0、1、、、、」というデータが読み出される。なお、マスクテーブル71上における先頭位置からのデータ読み出しの順番については、後述する。
Next, the
図6は、前述のとおり、マスク処理Aの場合について例示されており、この場合には、例えば、図6の(a)に示すラスタ(j)の画像データがマスク処理部7に読み込まれ、そして、図6の(b)に示される領域A内の先頭位置(図において上向きの矢印で指し示される位置)から「0、1、0、1、、、、」という規則的に配置されたマスクデータが読み出される。 FIG. 6 illustrates the case of the mask processing A as described above. In this case, for example, the image data of the raster (j) shown in FIG. And it is regularly arranged “0, 1, 0, 1,...” From the head position (position indicated by the upward arrow in the figure) in the area A shown in FIG. Mask data is read out.
次に、マスク処理部7は、前記読み込んだ画像データと前記読み出したマスクデータとの乗算を行なう(ステップS6)。具体的には、画像データとマスクデータを、それぞれ一つずつ順番に取り出して掛け合わせて行く処理を行なう。図5の例では、図5の(a)に示すラスタ(i)の画像データ、i1、i2、i3、i4、i5、、、と、図5の(b)に示す先頭位置からのマスクデータ、「1、1、0、0、1、、、、」とが一つずつ順番に掛け合わされる。かかる乗算の結果が図5の(c)に示されている。すなわち、画像データi1には、最初のマスクデータ「1」が掛けられてそのままのデータとして残り、画像データi2には、2番目のマスクデータ「1」が掛けられて、これもそのままのデータとして残り、また、画像データi3には、3番目のマスクデータ「0」が掛けられて0という計算結果になっている。
Next, the
また、図6の例では、図6の(a)に示すラスタ(j)の画像データ、j1、j2、j3、j4、j5、、、と、図6の(b)に示す先頭位置からのマスクデータ、「0、1、0、1、0、、、、」とが一つずつ順番に掛け合わされる。かかる乗算の結果は、同様に、図6の(c)に示されているようになる。 In the example of FIG. 6, the image data of the raster (j) shown in FIG. 6A, j1, j2, j3, j4, j5, and the start position shown in FIG. The mask data “0, 1, 0, 1, 0,...” Are multiplied one by one in order. Similarly, the result of such multiplication is as shown in FIG.
このように、画像データにマスクデータを掛けることにより、「0」であるマスクデータに対応する画像データについては、元の値に関わらず0の値となり、当該画像データに対応するヘッド12におけるインク吐出については行なわないことになる。従って、これら画像データについては、マスキングされたことになり、後述する、当該ラスタについての2回目の処理においてインク吐出の対象となるように処理される。なお、画像データ、i1、i2、、、及びj1、j2、、、は、1ビットのデータであってもよいし2ビットのデータであってもよい。1ビットのデータの場合はDSP11が二値化の際に1ドットあたり1ビットデータを出力するが、2ビットのデータの場合、同様にDSP11が処理の際に1ドットあたり2ビットデータを出力する。簡単のためにDSP11が処理した後のデータを二値化後のデータと統一して呼んでいる。
In this way, by multiplying the image data by the mask data, the image data corresponding to the mask data of “0” becomes a value of 0 regardless of the original value, and the ink in the
次に、マスク処理部7は、前記演算された後の画像データをメモリ10に書き戻す(ステップS7)。図5及び図6の例では、前述した図5の(c)及び図6の(c)に示したデータが書き戻される。そして、その後、当該書き戻された画像データがヘッド出力部8を介してヘッド12に転送され、当該画像データに基づくインク吐出がなされる。例えば、ここでマスク処理を行なった画像データがCの色のデータである場合には、当該ラスタのCの画像データが、例えば、C1のノズル122で印字されることになる。
Next, the
これで1処理単位のマスク処理が終了するが、当該ラスタの画像データについては、前述のように、マスキングされている部分が残っているので、今回の印字において、当該ラスタについて全て印字されるわけではなく、今回マスキングされた部分の処理が後で行なわれることになる。 This completes the masking process for each processing unit. However, as described above, the masked portion remains in the image data of the raster, so that the entire raster is printed in the current printing. Instead, the process of the masked part will be performed later.
かかる後半の処理は、プリンタ1における各種の処理が推移し、所定のタイミングで、再び、当該ラスタの同一色の画像データについての同一種類のマスク処理を行なう際に行なわれる。図5及び図6の例では、図5の(a)及び図6の(a)に示したラスタ(i)及びラスタ(j)の画像データについて2回目のマスク処理が行なわれる。
The latter half of the process is performed when various processes in the
かかる処理では、図4に基いて説明した1回目の処理と同様に処理が行われるが、1回目の処理において決定した前記先頭位置はCPU3によって記憶されており、その記憶された先頭位置が当該2回目の処理にも用いられる。また、画像データとマスクデータとの乗算(S6)では、1回目と異なり、画像データに、読み出したマスクデータを反転した後に乗算する。すなわち、読み出されたマスクデータが「1」である場合には「0」として、また、読み出されたマスクデータが「0」である場合には「1」として、乗算を行う。
In this process, the same process as the first process described with reference to FIG. 4 is performed, but the head position determined in the first process is stored by the
図5の例では、前述のように、マスクデータ、「1、1、0、0、1、、、、」が読み出され、「0、0、1、1、0、、、、」と反転されて、画像データ、i1、i2、i3、i4、i5、、、と掛け合わされる。 In the example of FIG. 5, as described above, the mask data “1, 1, 0, 0, 1,...” Is read and “0, 0, 1, 1, 0,. Inverted and multiplied with the image data, i1, i2, i3, i4, i5,.
図5の(d)は、その演算結果を示したものである。今回は、i3、i4等の画像データ残され、i1、i2等はマスキングされることになる。このことは、図6に示す例の場合も同様であり、乗算の結果は、図6の(d)に示すようになる。 FIG. 5D shows the calculation result. This time, image data such as i3 and i4 is left, and i1, i2 and the like are masked. This also applies to the example shown in FIG. 6, and the result of multiplication is as shown in FIG. 6 (d).
その後、この結果がメモリ10に書き戻され、その後、1回目と同様に、当該書き戻された画像データがヘッド出力部8を介してヘッド12に転送されて、当該画像データに基づくインク吐出がなされることになる。
Thereafter, the result is written back to the
なお、今回のインク吐出は、当然に、前記1回目と異なるヘッド12のパス(走査)で行なわれるが、マスク処理の効果を出すために、1回目とは異なるノズル122で行なわれる。例えば、画像データがCの色のデータである場合には、1回目のインク吐出をC1のノズル122で行ない、2回目をC226で行なうようにする。
The ink ejection of this time is naturally performed by a pass (scanning) of the
このようにして、今回着目したラスタの1色の画像データについての1種類のマスク処理が終了し、当該ラスタの画像データが二つの異なるノズル122により打ち分けられることになる。従って、当該ラスタ内において、各ノズル特性の影響が分散されることになる。 In this way, one type of mask processing for the image data of one color of the raster focused this time is completed, and the image data of the raster is divided by two different nozzles 122. Accordingly, the influence of each nozzle characteristic is dispersed in the raster.
以上、図4に基づいた説明では、1ラスタの画像データを単位としてマスク処理を行なうこととしたが、画像処理ユニット4における他の処理との関係で、このマスク処理の処理単位は変更されても構わない。例えば、1色の画像データについて4ラスタ一緒に処理を行ってもよい。かかる場合においても、1ラスタに着目すれば、図4に基いて説明した処理と同様にマスク処理が行なわれることになる。
As described above, in the description based on FIG. 4, the mask processing is performed in units of one raster image data. However, the processing unit of this mask processing is changed in relation to other processing in the
なお、前述したマスク処理において、前記先頭位置からマスクテーブル71の右方向にマスクデータを読み出して使用し、1ラスタに含まれる画像データの数が多くマスクテーブル71のその行に含まれるマスクデータが尽きてしまった場合には、その下の行のデータを順次使用することができる。図7は、マスクテーブル71内でのデータの使用順序を例示した図である。 In the mask processing described above, the mask data is read out from the head position in the right direction of the mask table 71 and used, and the number of image data included in one raster is large, and the mask data included in the row of the mask table 71 is If it is exhausted, the data in the lower row can be used sequentially. FIG. 7 is a diagram exemplifying the data use order in the mask table 71.
図7に示す例は、前述の通り、先頭位置の行についてデータが尽きた場合に、順次下の行のデータを左端から右端へと使用する場合であるが、当然に、他の領域のデータを使用するのは好ましくないので、図に示すように、各領域内でデータが使用されるようにしている。すなわち、マスク処理Aでは、使用されるマスクデータは、領域Aの右下に達した後は領域Aの左上へと移行する。同様に、マスク処理Bで使用されるマスクデータは、領域Bの右下に達した後は領域Bの左上へと移行する。 The example shown in FIG. 7 is a case where the data in the lower row is used sequentially from the left end to the right end when the data for the head position row is exhausted as described above. Since it is not preferable to use the data, data is used in each area as shown in the figure. That is, in the mask process A, the mask data to be used moves to the upper left of the area A after reaching the lower right of the area A. Similarly, the mask data used in the mask process B shifts to the upper left of the area B after reaching the lower right of the area B.
図7に示した方法とは異なり、先頭位置の行についてデータが尽きた場合に、その行の左端に戻って、その行内で循環させる使用順序を取ることもできるが、図7に示した循環方法とすることにより、マスク処理Bではマスクデータの同一パターンの出現周期が長くなり、分散の効果を向上させることができる。 Unlike the method shown in FIG. 7, when data is exhausted for the row at the top position, it is possible to return to the left end of the row and use the order of circulation in the row, but the circulation shown in FIG. By adopting the method, in the mask process B, the appearance cycle of the same pattern of the mask data becomes long, and the effect of dispersion can be improved.
なお、以上の説明では、マスクテーブル71(を格納するメモリ)を既定の領域サイズに分割していたが、この領域サイズは、すなわち分割の仕方は、固定にする必要はなく、必要な際に、異なる領域サイズに変更できるようにしてもよい。この場合には、CPU3が、必要なタイミングで、所望の領域サイズに所望のマスクデータが収められるように、マスクテーブル71の書き換えを行なう。そして、マスク処理の際には、CPU3がマスク処理部7への指示(図4のステップS3)において、今回使用するマスクデータが収められている領域の情報も合わせて伝達するようにする。例えば、マスクテーブル71の全領域のうち上から(始めから)80ライン(行)までの領域内でマスクデータが使用されるように指示する。かかる指示を受けて、マスク処理部7は、当該領域内で、合わせて指示される先頭位置からマスクデータを使用するように処理を行なう。
In the above description, the mask table 71 (memory for storing the mask table 71) is divided into a predetermined area size. However, this area size, that is, the way of division does not need to be fixed, and when necessary. Alternatively, it may be possible to change to a different area size. In this case, the
また、前述の例では、2種類のマスク処理が行なわれる場合を説明したが、3種類以上のマスク処理が行われても良く、この場合にも、マスクテーブル71は、各種類用のマスクデータを格納する複数の領域に分割され、処理の種類に応じた領域内でマスクデータが使用される。さらに、本プリンタ1が実行可能な全てのマスク処理について、使用するマスクデータの領域を制限しなくても良い。例えば、マスク処理Aについては、マスクテーブル71の領域A内でのみデータを使用するが、マスク処理Bについては、マスクテーブル71の全域のデータを使用するようにしても良い。
In the above example, the case where two types of mask processing are performed has been described, but three or more types of mask processing may be performed. In this case as well, the mask table 71 stores the mask data for each type. Are divided into a plurality of areas, and mask data is used in an area corresponding to the type of processing. Further, it is not necessary to limit the area of the mask data to be used for all mask processes that can be executed by the
以上説明したように、本実施の形態例に係るプリンタ1では、使用するマスクデータが異なる複数種類のマスク処理に対して1のマスクテーブルを共用し、前記異なるマスクデータは、前記1のマスクテーブルを分割した各領域に収められる。そして、マスク処理の際には、そのマスク処理に応じたマスクデータが収められている領域内でマスクデータが使用されるように制御される。従って、使用するマスクデータが異なる複数種類のマスク処理を行う場合であっても1つのマスクテーブル71で済み、マスク処理を行なう部分をハードウェア化する際に、装置の小型化に寄与することができる。
As described above, in the
また、マスクデータの前記各領域内での使用開始位置は、処理対象データのラスタ位置及び色等に基づいて決定され、特に、不規則にマスクデータが配置された領域においては、近傍のラスタに対して、また、同一ラスタの異なる色に対して、マスクテーブル71上での位置が十分に離れるように決定される。従って、マスクデータの量が多くなくても十分に分散の効果を得られ、マスクテーブル自体を小さくすることが可能であり、さらに、装置の小型化に寄与することができる。 The use start position of the mask data in each area is determined based on the raster position and color of the data to be processed. In particular, in the area where the mask data is irregularly arranged, the raster data in the vicinity is displayed. On the other hand, the position on the mask table 71 is determined to be sufficiently separated for different colors of the same raster. Therefore, even if the amount of mask data is not large, a sufficient dispersion effect can be obtained, the mask table itself can be reduced, and further, the apparatus can be reduced in size.
さらに、前述したような、マスクテーブル71の書き換えが可能であり、マスク処理の指示の際に使用するマスクデータの領域も指示する構成とすれば、同一の装置で異なるマスク処理を実行できるように変更することが可能となり、柔軟性のある自由度の高い印刷装置を提供することができる。 Furthermore, if the mask table 71 can be rewritten as described above and the mask data area used when instructing the mask process is also designated, different mask processes can be executed by the same apparatus. It is possible to provide a flexible and highly flexible printing apparatus.
本発明の保護範囲は、上記の実施の形態に限定されず、特許請求の範囲に記載された発明とその均等物に及ぶものである。 The protection scope of the present invention is not limited to the above-described embodiment, but covers the invention described in the claims and equivalents thereof.
1 プリンタ、 2 I/F、 3 CPU(マスク処理手段、制御部)、 4 画像処理ユニット、 5 パス制御部、 6 解凍部、 7 マスク処理部(マスク処理手段、実行部)、 8 ヘッド出力部、 9 ローカルバス、 10 メモリ、 11 DSP、 12 ヘッド、 71 マスクテーブル、 121 ノズル列、 122 ノズル
DESCRIPTION OF
Claims (5)
複数の領域に分割され、当該各領域内に、前記マスク処理のためのデータであって互いに属性を異にする複数種類のマスクデータを格納する、1のマスクテーブルと、
実行する前記マスク処理の種類に応じた前記マスクデータが格納されている前記マスクテーブルの領域内で、前記マスクデータを用いて当該マスク処理を実行するマスク処理手段とを有する
ことを特徴とする印刷装置。 A printing apparatus capable of executing a plurality of types of mask processing for distributing image data in one raster to a plurality of scans of a print head,
One mask table that is divided into a plurality of areas and stores a plurality of types of mask data that are data for the mask processing and have different attributes from each other in each of the areas;
And a mask processing means for executing the mask processing using the mask data within the area of the mask table in which the mask data corresponding to the type of the mask processing to be executed is stored. apparatus.
前記マスク処理手段は、
前記実行するマスク処理の種類に基いて、前記マスクテーブルの所定の領域内における先頭位置を決定する制御部と、
前記決定された先頭位置から前記マスクデータを読み出し、当該読み出したマスクデータを用いて当該マスク処理を実行する実行部とを備える
ことを特徴とする印刷装置。 In claim 1,
The mask processing means includes
Based on the type of mask processing to be executed, a control unit that determines a head position in a predetermined area of the mask table;
A printing apparatus comprising: an execution unit that reads the mask data from the determined head position and executes the mask process using the read mask data.
前記マスクテーブルは、前記領域のサイズ及び格納するマスクデータを変更することが可能であり、
前記制御部は、前記マスク処理を実行する際に、前記実行部に対して、用いるマスクデータが格納される前記領域を指定する
ことを特徴とする印刷装置。 In claim 2,
The mask table can change the size of the area and the mask data to be stored,
The control unit designates the area in which mask data to be used is stored for the execution unit when executing the mask process.
前記制御部による前記先頭位置の決定は、前記マスク処理の対象としている画像データのラスタ位置及び色に基づいて行なわれる
ことを特徴とする印刷装置。 In claim 2 or claim 3,
The printing apparatus according to claim 1, wherein the determination of the head position by the control unit is performed based on a raster position and a color of image data to be masked.
前記印刷装置は、複数の領域に分割され、当該各領域内に、前記マスク処理のためのデータであって互いに属性を異にする複数種類のマスクデータを格納する、1のマスクテーブルを備え、
前記マスク処理を実行する際に、当該実行するマスク処理の種類に応じた前記マスクデータが格納されている前記マスクテーブルの領域内で、前記マスクデータを用いて当該マスク処理が実行されるように制御する
ことを特徴とする印刷装置の制御方法。 A printing apparatus control method capable of executing a plurality of types of mask processing for dispersing image data in one raster to a plurality of scans of a print head,
The printing apparatus is provided with one mask table that is divided into a plurality of areas, and stores a plurality of types of mask data that are data for the mask processing and have different attributes in each area.
When executing the mask processing, the mask processing is executed using the mask data in the area of the mask table in which the mask data corresponding to the type of the mask processing to be executed is stored. A method for controlling a printing apparatus, comprising: controlling the printing apparatus.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005353902A JP2007152844A (en) | 2005-12-07 | 2005-12-07 | Printer and its control method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005353902A JP2007152844A (en) | 2005-12-07 | 2005-12-07 | Printer and its control method |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2007152844A true JP2007152844A (en) | 2007-06-21 |
Family
ID=38237790
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2005353902A Pending JP2007152844A (en) | 2005-12-07 | 2005-12-07 | Printer and its control method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2007152844A (en) |
-
2005
- 2005-12-07 JP JP2005353902A patent/JP2007152844A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP2008037032A (en) | Data processing apparatus, liquid droplet discharge device, and program | |
JP2009279864A (en) | Image processor, image recording system and program | |
JP6413353B2 (en) | Printing apparatus and printing method | |
JP2008155474A (en) | Ink jet recording method and inkjet recorder | |
JP7027796B2 (en) | Printing device and printing control device | |
JP4314243B2 (en) | Recording apparatus and data processing apparatus | |
JP2011076156A (en) | Apparatus and method for processing image | |
JP2018089806A (en) | Recording device and recording method | |
JP2008273014A (en) | Recorder and its control method | |
JP6054850B2 (en) | Recording apparatus and recording method | |
JP2011042048A (en) | Image processor, recording apparatus, and image processing method | |
JP4661454B2 (en) | Printing apparatus and printing method | |
JP4765590B2 (en) | Printing apparatus and control method thereof | |
JP2007142797A (en) | Image processor, printer driver, printing system, and program | |
JP2007152844A (en) | Printer and its control method | |
JP2018089804A (en) | Recording device and recording method | |
US8537406B2 (en) | Data processing apparatus, data processing method, and storage medium capable of suppressing an increase in processing load in determination of a color range | |
JP2006231915A (en) | Printer, printing program, printing method, image processor, image processing program, image processing method, and recording medium with program recorded | |
JP2006001054A (en) | Inkjet recorder, inkjet recording method, data generator and program | |
JP2004255700A5 (en) | ||
JP2009292102A (en) | Recording device and its method | |
JP6880707B2 (en) | Image processing equipment, printing equipment, and computer programs | |
JP2024060699A (en) | Image Processing Device | |
JP5960104B2 (en) | Image processing apparatus and image processing method | |
JP6929618B2 (en) | Recording device, recording method and recording unit |