JP2014046609A - Liquid ejection apparatus - Google Patents

Liquid ejection apparatus Download PDF

Info

Publication number
JP2014046609A
JP2014046609A JP2012192401A JP2012192401A JP2014046609A JP 2014046609 A JP2014046609 A JP 2014046609A JP 2012192401 A JP2012192401 A JP 2012192401A JP 2012192401 A JP2012192401 A JP 2012192401A JP 2014046609 A JP2014046609 A JP 2014046609A
Authority
JP
Japan
Prior art keywords
data
dot
halftone
pixel
unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2012192401A
Other languages
Japanese (ja)
Inventor
Shuji Otsuka
修司 大▲塚▼
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 JP2012192401A priority Critical patent/JP2014046609A/en
Publication of JP2014046609A publication Critical patent/JP2014046609A/en
Pending legal-status Critical Current

Links

Landscapes

  • Color Image Communication Systems (AREA)
  • Ink Jet (AREA)
  • Particle Formation And Scattering Control In Inkjet Printers (AREA)
  • Record Information Processing For Printing (AREA)
  • Color, Gradation (AREA)
  • Image Processing (AREA)
  • Facsimile Image Signal Circuits (AREA)

Abstract

PROBLEM TO BE SOLVED: To execute processing for halftone and processing for data transfer to a storage part more quickly.SOLUTION: A liquid ejection apparatus comprises: a head; a halftone unit having a plurality of halftone processing parts; a storage part for storing dot data before transferring to the head; and a data transfer part for transferring the dot data to the storage part after storing in a buffer. In image data, a plurality of pixel rows, each row having a plurality of pixels aligned in a second direction, are arranged in a direction crossing the pixel rows. Each halftone processing part processes the pixels from one end toward the other end in order in the second direction. One group in the storage part and the buffer in the data transfer part are respectively constituted by dot data allotted to nozzles aligned in serial form, and can store the dot data for serial ejection timing. When the buffer is filled with the dot data, the data transfer part executes batch transfer to one group in the storage area on the dot data in the buffer.

Description

本発明は、流体噴射装置に関する。   The present invention relates to a fluid ejecting apparatus.

流体噴射装置の一例として、ヘッドに設けられたノズルからインク滴を噴射して用紙に画像を印刷するインクジェットプリンター(以下、プリンター)が挙げられる。一般に、プリンターに入力される画像データは濃淡を多階調で表現したデータであるため、ハーフトーン処理部によってプリンターが表現可能な低階調のドットデータに変換される。そのドットデータに基づいてヘッドがインクを噴射し、用紙に画像が印刷される。例えば、特許文献1では、色材別にそれぞれ独立に動作するハーフトーン処理部(量子化部)が色数分設けられている。   An example of the fluid ejecting apparatus is an ink jet printer (hereinafter referred to as a printer) that ejects ink droplets from nozzles provided in a head to print an image on a sheet. In general, since image data input to a printer is data expressing light and shade with multiple gradations, the image data is converted into low gradation dot data that can be expressed by the printer by a halftone processing unit. The head ejects ink based on the dot data, and an image is printed on the paper. For example, in Patent Document 1, halftone processing units (quantization units) that operate independently for each color material are provided for the number of colors.

特開2008−12866号公報JP 2008-12866 A

しかし、1色の画像データを1つのハーフトーン処理部が処理するのでは、ノズル数が増えたり高解像度で印刷したりする場合に、ハーフトーン処理に時間がかかってしまう。
また、所定方向に並ぶ画素のデータをハーフトーン処理部に順に処理させることで、処理効率を高めることができる。ただし、ハーフトーン処理後のデータを格納するイメージバッファにおいて、所定方向に並ぶ所定数の画素ごとに離れた領域にデータが格納される場合に、所定方向に並ぶ全画素のデータをイメージバッファへ一括転送してしまうと、イメージバッファでのデータの格納効率が悪く、イメージバッファへのデータ転送処理に時間がかかってしまう。
また、1色の画像データを複数のハーフトーン処理部が処理しても、各ハーフトーン処理部が処理したデータを無作為に転送してしまうと、例えば、所定方向に並ぶ全画素のデータをイメージバッファへ一括転送してしまうと、イメージバッファでのデータの格納効率が悪く、イメージバッファへのデータ転送処理に時間がかかってしまう。
However, if one halftone processing unit processes one color image data, halftone processing takes time when the number of nozzles is increased or when printing is performed at a high resolution.
Further, the processing efficiency can be improved by causing the halftone processing unit to sequentially process the data of the pixels arranged in a predetermined direction. However, in the image buffer that stores the data after halftone processing, when data is stored in an area separated by a predetermined number of pixels arranged in a predetermined direction, the data of all pixels arranged in the predetermined direction are collectively stored in the image buffer. If the data is transferred, the data storage efficiency in the image buffer is poor, and it takes time to transfer the data to the image buffer.
In addition, even if a plurality of halftone processing units process one color image data, if the data processed by each halftone processing unit is randomly transferred, for example, the data of all pixels arranged in a predetermined direction are stored. If batch transfer to the image buffer is performed, data storage efficiency in the image buffer is poor, and data transfer processing to the image buffer takes time.

そこで、本発明では、ハーフトーン処理、及び、イメージバッファ(記憶部)へのデータ転送処理をより迅速に行うことを目的とする。   Therefore, an object of the present invention is to perform halftone processing and data transfer processing to an image buffer (storage unit) more quickly.

前記課題を解決する為の主たる発明は、流体を噴射する複数のノズルが第1の方向に並ぶヘッドと、入力された画像データを前記ヘッドが表現可能な階調値であるドットデータに変換する複数のハーフトーン処理部を備えるハーフトーンユニットと、前記ドットデータを前記ヘッドへ転送する前に格納しておく記憶部であって、前記ドットデータの格納領域が複数のグループに分割された記憶部と、前記ハーフトーンユニットからの前記ドットデータをバッファに格納した後に前記記憶部へ転送するデータ転送部と、を備え、前記画像データでは、第2の方向に複数の画素が並ぶ画素の列が前記第2の方向と交差する方向に複数並び、各前記ハーフトーン処理部は、それぞれ割り当てられた前記画素の列に属する画素のデータを、前記第2の方向における一端の画素から他端の画素に向かって順に、前記ドットデータに変換し、前記記憶部内の前記格納領域における1つのグループ、及び、前記データ転送部内の前記バッファは、それぞれ、前記第1の方向に連続して並ぶ第1の数の前記ノズルに割り当てられる前記ドットデータであり、連続する第2の数の噴射タイミングの前記ドットデータを格納可能であり、前記データ転送部は、前記バッファが前記ドットデータで一杯になると、当該バッファ内の前記ドットデータを、前記記憶部内の1つのグループへ一括転送する、ことを特徴とする流体噴射装置である。
本発明の他の特徴は、本明細書、及び添付図面の記載により、明らかにする。
A main invention for solving the above problems is that a head in which a plurality of nozzles for ejecting fluid are arranged in a first direction, and input image data is converted into dot data that is a gradation value that can be expressed by the head. A halftone unit including a plurality of halftone processing units, and a storage unit for storing the dot data before being transferred to the head, wherein the storage region for the dot data is divided into a plurality of groups And a data transfer unit that stores the dot data from the halftone unit in a buffer and then transfers the data to the storage unit, and the image data includes a row of pixels in which a plurality of pixels are arranged in a second direction. A plurality of the halftone processing units are arranged in a direction crossing the second direction, and each of the halftone processing units receives data of pixels belonging to the assigned column of pixels. The dot data is converted in order from the pixel at one end to the pixel at the other end in the direction, and one group in the storage area in the storage unit and the buffer in the data transfer unit are The dot data allocated to the first number of the nozzles continuously arranged in the direction of the dot, and the dot data of the second continuous number of ejection timings can be stored. Is filled with the dot data, the dot data in the buffer is collectively transferred to one group in the storage unit.
Other features of the present invention will become apparent from the description of this specification and the accompanying drawings.

図1Aは印刷システムの全体構成を示すブロック図であり、図1Bはプリンターの概略斜視図である。FIG. 1A is a block diagram showing the overall configuration of the printing system, and FIG. 1B is a schematic perspective view of the printer. 元画像データとイメージバッファIBの構成を説明する図である。It is a figure explaining the structure of original image data and image buffer IB. 図3Aは第1印刷方法を説明する図であり、図3Bは第2印刷方法を説明する図である。FIG. 3A is a diagram for explaining the first printing method, and FIG. 3B is a diagram for explaining the second printing method. 図4Aはディザ法によるハーフトーン処理を説明する図であり、図4Bは誤差拡散法によるハーフトーン処理を説明する図である。FIG. 4A is a diagram for explaining halftone processing by the dither method, and FIG. 4B is a diagram for explaining halftone processing by the error diffusion method. 実施例1におけるハーフトーンユニットとデータ転送ユニットの説明図である。2 is an explanatory diagram of a halftone unit and a data transfer unit in Embodiment 1. FIG. 図6Aは複数のHT処理部の処理対象画素を説明する図であり、図6Bはハーフトーン出力バッファの説明図である。FIG. 6A is a diagram illustrating pixels to be processed by a plurality of HT processing units, and FIG. 6B is a diagram illustrating a halftone output buffer. 実施例2におけるハーフトーンユニットとデータ転送ユニットの説明図である。It is explanatory drawing of the halftone unit and data transfer unit in Example 2. FIG. 実施例3におけるハーフトーンユニットとデータ転送ユニットの説明図である。It is explanatory drawing of the halftone unit and data transfer unit in Example 3. FIG. 実施例4におけるフローである。It is a flow in Example 4.

===開示の概要===
本明細書の記載、及び添付図面の記載により、少なくとも次のことが明らかとなる。
=== Summary of disclosure ===
At least the following will become apparent from the description of the present specification and the accompanying drawings.

即ち、流体を噴射する複数のノズルが第1の方向に並ぶヘッドと、入力された画像データを前記ヘッドが表現可能な階調値であるドットデータに変換する複数のハーフトーン処理部を備えるハーフトーンユニットと、前記ドットデータを前記ヘッドへ転送する前に格納しておく記憶部であって、前記ドットデータの格納領域が複数のグループに分割された記憶部と、前記ハーフトーンユニットからの前記ドットデータをバッファに格納した後に前記記憶部へ転送するデータ転送部と、を備え、前記画像データでは、第2の方向に複数の画素が並ぶ画素の列が前記第2の方向と交差する方向に複数並び、各前記ハーフトーン処理部は、それぞれ割り当てられた前記画素の列に属する画素のデータを、前記第2の方向における一端の画素から他端の画素に向かって順に、前記ドットデータに変換し、前記記憶部内の前記格納領域における1つのグループ、及び、前記データ転送部内の前記バッファは、それぞれ、前記第1の方向に連続して並ぶ第1の数の前記ノズルに割り当てられる前記ドットデータであり、連続する第2の数の噴射タイミングの前記ドットデータを格納可能であり、前記データ転送部は、前記バッファが前記ドットデータで一杯になると、当該バッファ内の前記ドットデータを、前記記憶部内の1つのグループへ一括転送する、ことを特徴とする流体噴射装置である。
このような流体噴射装置によれば、複数のハーフトーン処理部がそれぞれ第2の方向に連続して並ぶ画素のデータを処理するため、ハーフトーン処理を迅速に行うことができる。また、記憶部内の1グループ(アドレスが連続する領域)にドットデータが一括転送されるため、格納効率が高く、記憶部へのデータ転送処理を迅速に行うことができる。
That is, a half provided with a head in which a plurality of nozzles for ejecting fluid are arranged in a first direction and a plurality of halftone processing sections that convert input image data into dot data that is a gradation value that can be expressed by the head. A tone unit; a storage unit for storing the dot data before transferring to the head; a storage unit in which the dot data storage area is divided into a plurality of groups; and the halftone unit A data transfer unit that stores dot data in a buffer and then transfers the data to the storage unit, and in the image data, a row of pixels in which a plurality of pixels are arranged in a second direction intersects the second direction. A plurality of the halftone processing units are arranged such that the pixel data belonging to the assigned column of pixels is transferred from one end pixel to the other end in the second direction. In order toward the pixels, the dot data is converted into the dot data, and one group in the storage area in the storage unit and the buffer in the data transfer unit are arranged in a row in the first direction, respectively. The dot data assigned to the number of nozzles can store the dot data of the second continuous number of ejection timings, and the data transfer unit, when the buffer is filled with the dot data, In the fluid ejecting apparatus, the dot data in the buffer is collectively transferred to one group in the storage unit.
According to such a fluid ejecting apparatus, since the plurality of halftone processing units process the data of the pixels lined up continuously in the second direction, halftone processing can be performed quickly. In addition, since dot data is collectively transferred to one group (area where addresses are continuous) in the storage unit, storage efficiency is high, and data transfer processing to the storage unit can be performed quickly.

かかる流体噴射装置であって、前記ハーフトーンユニットは、前記第1の数の整数倍の前記ハーフトーン処理部を備え、前記データ転送部は、前記整数の数の前記バッファを備えること。
このような流体噴射装置によれば、複数のハーフトーン処理部が記憶部内の同じグループへ一括転送するデータを並行して処理することができ、データ転送部内のバッファをドットデータで早く一杯にし、ドットデータを早く記憶部へ転送することができる。また、記憶部内の異なるグループに格納されるドットデータを、データ転送部内の異なるバッファに格納することができる。
In this fluid ejecting apparatus, the halftone unit includes the halftone processing unit that is an integral multiple of the first number, and the data transfer unit includes the integer number of buffers.
According to such a fluid ejecting apparatus, a plurality of halftone processing units can process in parallel the data that is collectively transferred to the same group in the storage unit, the buffer in the data transfer unit is quickly filled with dot data, The dot data can be quickly transferred to the storage unit. Also, dot data stored in different groups in the storage unit can be stored in different buffers in the data transfer unit.

かかる流体噴射装置であって、前記ヘッドと媒体が前記第1の方向と交差する方向に相対移動しながら前記ノズルから前記媒体に向けて流体が噴射される噴射動作と、前記ヘッドと前記媒体が前記第1の方向に相対移動する搬送動作とが繰り返され、一の前記噴射動作で形成される前記交差する方向に沿うドット列の間に他の前記噴射動作でドット列が形成される方式で流体が噴射され、前記ハーフトーン処理部が、誤差拡散法を行って、前記画素のデータを前記ドットデータに変換し、前記ハーフトーンユニットは、一の前記噴射動作で形成される前記ドット列の間に形成される前記ドット列の数に1を加算した値に前記第1の数を乗算した数の前記ハーフトーン処理部を少なくとも備えること。
このような流体噴射装置であって、複数のハーフトーン処理部が記憶部内の同じグループへ一括転送するデータを並行して処理して、ドットデータを早く記憶部へ転送できるようにしつつ、ハーフトーン処理対象の画素の周辺画素に誤差を拡散することができる。
In the fluid ejecting apparatus, an ejecting operation in which fluid is ejected from the nozzle toward the medium while the head and the medium move relative to each other in a direction intersecting the first direction, and the head and the medium In this method, a transfer operation that moves relatively in the first direction is repeated, and a dot row is formed by another ejection operation between dot rows along the intersecting direction formed by the one ejection operation. The fluid is ejected, and the halftone processing unit performs an error diffusion method to convert the pixel data into the dot data, and the halftone unit includes the dot row formed by one ejection operation. At least the number of the halftone processing units that is obtained by multiplying the value obtained by adding 1 to the number of dot rows formed therebetween and the first number.
In such a fluid ejecting apparatus, a plurality of halftone processing units process data transferred in batch to the same group in the storage unit in parallel so that dot data can be transferred to the storage unit quickly, and halftone The error can be diffused to the peripheral pixels of the pixel to be processed.

かかる流体噴射装置であって、前記ヘッドと媒体が前記第1の方向と交差する方向に相対移動しながら前記ノズルから前記媒体に向けて流体が噴射される噴射動作と、前記ヘッドと前記媒体が前記第1の方向に相対移動する搬送動作とが繰り返され、一の前記噴射動作で形成される前記交差する方向に沿うドット列の間に他の前記噴射動作でドット列が形成されない方式で流体が噴射され、前記ハーフトーンユニットは、少なくとも前記第1の数の前記ハーフトーン処理部を備えること。
このような流体噴射装置によれば、複数のハーフトーン処理部が記憶部内の同じグループへ一括転送するデータを並行して処理することができ、ドットデータを早く記憶部へ転送することができる。
In the fluid ejecting apparatus, an ejecting operation in which fluid is ejected from the nozzle toward the medium while the head and the medium move relative to each other in a direction intersecting the first direction, and the head and the medium The fluid movement is performed in such a manner that a dot row is not formed by another jetting operation between dot rows along the intersecting direction formed by one of the jetting operations by repeating the transporting operation that moves relative to the first direction. And the halftone unit includes at least the first number of the halftone processing units.
According to such a fluid ejecting apparatus, data that a plurality of halftone processing units collectively transfer to the same group in the storage unit can be processed in parallel, and dot data can be transferred to the storage unit quickly.

かかる流体噴射装置であって、前記ハーフトーンユニットは、前記複数のハーフトーン処理部から前記ドットデータを受け取って当該ドットデータを前記データ転送部に出力する出力バッファを備え、前記複数のハーフトーン処理部は、誤差拡散法により、前段の前記画素の列から後段の前記画素の列に向かって順に処理し、前記複数のハーフトーン処理部の中で或る前記画素の列が割り当てられる前記ハーフトーン処理部が前記ドットデータを出力する前記出力バッファの領域の方が、その前記画素の列に隣接する後段の前記画素の列が割り当てられる前記ハーフトーン処理部が前記ドットデータを出力する前記出力バッファの領域よりも、少なくとも誤差拡散範囲分だけ多くの前記ドットデータを格納できること。
このような流体噴射装置によれば、記憶部内の同じグループに格納するドットデータを得るために、前段の画素の列が割り当てられたハーフトーン処理部が先行して処理した画素のデータを格納しておくことができる。
In this fluid ejecting apparatus, the halftone unit includes an output buffer that receives the dot data from the plurality of halftone processing units and outputs the dot data to the data transfer unit, and the plurality of halftone processing The processing unit sequentially processes from the preceding pixel column to the subsequent pixel column by an error diffusion method, and the halftone to which a certain pixel column is assigned in the plurality of halftone processing units. The output buffer from which the halftone processing unit outputs the dot data is assigned to the pixel column in the subsequent stage adjacent to the pixel column in the output buffer region in which the processing unit outputs the dot data The dot data can be stored at least as much as the error diffusion range than the area of.
According to such a fluid ejecting apparatus, in order to obtain dot data to be stored in the same group in the storage unit, the pixel data processed in advance by the halftone processing unit to which the row of pixels in the previous stage is assigned is stored. I can keep it.

かかる流体噴射装置であって、前記ヘッドと媒体が前記第1の方向と交差する方向に相対移動しながら前記ノズルから前記媒体に向けて流体が噴射される噴射動作と、前記ヘッドと前記媒体が前記第1の方向に相対移動する搬送動作とが繰り返され、一の前記噴射動作で形成される前記交差する方向に沿うドット列の間に他の前記噴射動作でドット列が形成される方式で流体が噴射され、前記ハーフトーン処理部が、誤差拡散法を行わずに、前記画素のデータを前記ドットデータに変換し、前記ハーフトーンユニットは、少なくとも前記第1の数の前記ハーフトーン処理部を備えること。
このような流体噴射装置によれば、複数のハーフトーン処理部が記憶部内の同じグループへ一括転送するデータを並行して処理することができ、ドットデータを早く記憶部へ転送することができる。
In the fluid ejecting apparatus, an ejecting operation in which fluid is ejected from the nozzle toward the medium while the head and the medium move relative to each other in a direction intersecting the first direction, and the head and the medium In this method, a transfer operation that moves relatively in the first direction is repeated, and a dot row is formed by another ejection operation between dot rows along the intersecting direction formed by the one ejection operation. The fluid is ejected, and the halftone processing unit converts the pixel data into the dot data without performing an error diffusion method, and the halftone unit includes at least the first number of the halftone processing units. Be provided.
According to such a fluid ejecting apparatus, data that a plurality of halftone processing units collectively transfer to the same group in the storage unit can be processed in parallel, and dot data can be transferred to the storage unit quickly.

かかる流体噴射装置であって、前記データ転送部は、複数の前記バッファを備え、流体の噴射方式に応じて、前記ハーフトーンユニットからの前記ドットデータを複数の前記バッファに格納する方式が異なること。
このような流体噴射装置によれば、記憶部内の異なるグループに格納されるドットデータを、データ転送部内の異なるバッファに格納することができる。
In this fluid ejecting apparatus, the data transfer unit includes a plurality of buffers, and a method of storing the dot data from the halftone unit in the plurality of buffers is different according to a fluid ejecting method. .
According to such a fluid ejecting apparatus, dot data stored in different groups in the storage unit can be stored in different buffers in the data transfer unit.

かかる流体噴射装置であって、流体の噴射方式、及び、ハーフトーン処理方式に応じて、各前記ハーフトーン処理部に割り当てられる前記画素の列が異なること。
このような流体噴射装置によれば、ハーフトーン処理部を有効に使用することができる。例えば、誤差拡散法を行う場合には、ハーフトーン処理対象の画素の周辺画素に誤差を拡散することができ、誤差拡散法を行わない場合には、同じ噴射動作で使用するデータをより多くハーフトーン処理することができる。
In this fluid ejecting apparatus, the column of the pixels assigned to each of the halftone processing units is different depending on the fluid ejecting method and the halftone processing method.
According to such a fluid ejecting apparatus, the halftone processing unit can be used effectively. For example, when the error diffusion method is performed, the error can be diffused to the peripheral pixels of the pixel to be processed with halftone processing, and when the error diffusion method is not performed, more data used in the same ejection operation is more than half. Tone processing can be performed.

以下、「流体噴射装置」をインクジェットプリンター(以下「プリンター」)とし、プリンターとコンピューターが接続された印刷システムを例に挙げて、実施形態を説明する。   Hereinafter, an embodiment will be described by taking a printing system in which a “fluid ejecting apparatus” is an inkjet printer (hereinafter “printer”) and a printer and a computer are connected as an example.

===印刷システム===
図1Aは、印刷システムの全体構成を示すブロック図であり、図1Bは、プリンター1の概略斜視図である。図2は、元画像データとイメージバッファIBの構成を説明する図である。プリンター1はコンピューター30と通信可能に接続されており、印刷すべき画像のデータ(元画像データ)がコンピューター30からプリンター1に入力される。プリンター1は、コントローラー10と、プリンター機構20と、を有する。
=== Printing system ===
FIG. 1A is a block diagram illustrating the overall configuration of the printing system, and FIG. 1B is a schematic perspective view of the printer 1. FIG. 2 is a diagram for explaining the configuration of the original image data and the image buffer IB. The printer 1 is communicably connected to the computer 30, and image data (original image data) to be printed is input from the computer 30 to the printer 1. The printer 1 includes a controller 10 and a printer mechanism 20.

コントローラー10は、プリンター1の全体を制御するメインプロセッサー11と、元画像データに対する処理を行う画像処理プロセッサー12と、データを記憶するメインメモリー13と、各種プロセッサーやコントローラーからの指令信号に応じてメインメモリー13からデータを読み込んだりメインメモリー13にデータを書き込んだりするメモリーコントローラー14と、コンピューター30との間でデータの送受信を仲介するインターフェース部(I/F)15と、プリンター機構20を制御するプリンターコントローラー16と、を有する。これらは、バス17を介して、互いに信号やデータをやり取りすることができるように接続されている。   The controller 10 includes a main processor 11 that controls the entire printer 1, an image processor 12 that performs processing on the original image data, a main memory 13 that stores data, and main signals according to command signals from various processors and controllers. A memory controller 14 that reads data from the memory 13 and writes data to the main memory 13, an interface unit (I / F) 15 that mediates transmission and reception of data between the computer 30, and a printer that controls the printer mechanism 20 And a controller 16. These are connected via a bus 17 so that signals and data can be exchanged with each other.

プリンター機構20は、用紙、布、フィルム等の媒体Sに向けてノズルからインクを噴射するヘッド21と、ヘッド21を移動方向に移動させるキャリッジ22と、ヘッド21の移動方向と交差する方向(ここでは直交する方向)である搬送方向に媒体Sを搬送する搬送ローラー23と、を有する。ヘッド21における媒体Sとの対向面には、イエローインクYを噴射するイエローノズル列と、マゼンタインクMを噴射するマゼンタノズル列と、シアンインクCを噴射するシアンノズル列と、ブラックインクKを噴射するブラックノズル列が設けられている。各ノズル列では、インク(流体)を噴射する400個のノズルが搬送方向(第1の方向)に所定の間隔おきに並んでいる。説明のため、搬送方向下流側に位置するノズルから順に小さい番号を付す(#1,#2…#400)。なお、ノズルからのインク噴射方式は、駆動素子(ピエゾ素子)に電圧をかけてインク室を膨張・収縮させるピエゾ方式でもよいし、発熱素子を用いてノズル内に気泡を発生させ、その気泡によりノズルからインクを噴射させるサーマル方式でもよい。   The printer mechanism 20 includes a head 21 that ejects ink from nozzles toward a medium S such as paper, cloth, and film, a carriage 22 that moves the head 21 in the moving direction, and a direction that intersects the moving direction of the head 21 (here A transport roller 23 that transports the medium S in the transport direction that is perpendicular to (the cross direction). A yellow nozzle row for ejecting yellow ink Y, a magenta nozzle row for ejecting magenta ink M, a cyan nozzle row for ejecting cyan ink C, and a black ink K are ejected on the surface of the head 21 facing the medium S. A black nozzle row is provided. In each nozzle row, 400 nozzles that eject ink (fluid) are arranged at predetermined intervals in the transport direction (first direction). For the sake of explanation, numbers are assigned in order from the nozzles located downstream in the transport direction (# 1, # 2,..., # 400). The ink ejecting method from the nozzle may be a piezo method in which a voltage is applied to the driving element (piezo element) to expand and contract the ink chamber, or a heat generating element is used to generate bubbles in the nozzle. A thermal method in which ink is ejected from the nozzles may be used.

プリンターコントローラー16の制御によって、キャリッジ22がヘッド21を移動方向に移動させつつノズルからインク滴を噴射させる噴射動作と、搬送ローラー23により媒体Sを搬送方向に搬送させる搬送動作とが交互に繰り返される。その結果、先の噴射動作で形成されたドットの位置とは異なる位置に、後の噴射動作でドットが形成されるため、媒体Sに2次元の画像が印刷される。以下、ヘッド21の移動方向への1回の移動(噴射動作)を「パス」とも呼び、先のパスから順に小さい番号を付す(パス1,パス2,パス3…)。   Under the control of the printer controller 16, an ejection operation in which the carriage 22 ejects ink droplets from the nozzles while moving the head 21 in the movement direction and a conveyance operation in which the medium S is conveyed in the conveyance direction by the conveyance roller 23 are alternately repeated. . As a result, since dots are formed by the subsequent ejection operation at positions different from the positions of the dots formed by the previous ejection operation, a two-dimensional image is printed on the medium S. Hereinafter, one movement (injection operation) of the head 21 in the moving direction is also referred to as “pass”, and numbers are assigned in order from the previous pass (pass 1, pass 2, pass 3...).

また、コントローラー10内のメインメモリー13は、コンピューター30から入力された元画像データを格納するバッファ131と、画像処理プロセッサー12により処理されたデータを格納するイメージバッファIBとを有する。元画像データは、RGB色空間で表されるRGBデータであり、図2の左図に示すように、色ごと(RGBごと)に多数の画素が2次元に配置されたデータである。具体的に言えば、ヘッド21の移動方向に対応するX方向に画素が並んだ「画素列」が、媒体Sの搬送方向に対応するY方向に複数並んだデータである。説明の為、X方向左側の画素から順に小さい番号を付し(N1,N2,N3…)、Y方向上側の画素列から順に小さい番号を付す(L1,L2,L3…)。また、元画像データに属する各画素は、その画素に対応する媒体S上の画素(マス目)の濃淡を表す多階調の値(0〜255)、即ち、8ビットのデータを有する。   The main memory 13 in the controller 10 includes a buffer 131 that stores original image data input from the computer 30 and an image buffer IB that stores data processed by the image processor 12. The original image data is RGB data represented in an RGB color space, and is data in which a number of pixels are two-dimensionally arranged for each color (for each RGB) as shown in the left diagram of FIG. Specifically, “pixel rows” in which pixels are arranged in the X direction corresponding to the moving direction of the head 21 is data in which a plurality of pixels are arranged in the Y direction corresponding to the transport direction of the medium S. For the sake of explanation, small numbers are assigned in order from the pixel on the left in the X direction (N1, N2, N3...), And small numbers are given in order from the pixel row on the upper side in the Y direction (L1, L2, L3...). Each pixel belonging to the original image data has a multi-tone value (0 to 255) representing the lightness and darkness of the pixel (square) on the medium S corresponding to the pixel, that is, 8-bit data.

画像処理プロセッサー12は、色変換ユニット121と、ハーフトーンユニット40と、データ転送ユニット50と、を有する。色変換ユニット121は、RGBデータを、ヘッド21が噴射可能なインクの色に応じたYMCKデータに色変換する。また、本実施形態のヘッド21は3種類のサイズのドットを形成可能とし、データ上の1画素に対応する媒体S上の1画素が4階調で表現される(大ドット形成、中ドット形成、小ドット形成、ドットなし)。そのため、ハーフトーンユニット40は、多階調(256階調)のYMCKデータを、ヘッド21が表現可能な低階調(4階調)のYMCKデータ、即ち、2ビットのドットデータに変換する。データ転送ユニット50(データ転送部)は、ハーフトーン処理された4階調のYMCKデータを、バッファに格納した後に、メモリーコントローラー14を介してメインメモリー13内のイメージバッファIBへ転送する。   The image processor 12 includes a color conversion unit 121, a halftone unit 40, and a data transfer unit 50. The color conversion unit 121 converts the RGB data into YMCK data corresponding to the color of ink that can be ejected by the head 21. Further, the head 21 of the present embodiment can form dots of three kinds of sizes, and one pixel on the medium S corresponding to one pixel on the data is expressed by four gradations (large dot formation, medium dot formation). , Small dot formation, no dot). Therefore, the halftone unit 40 converts multi-gradation (256 gradations) YMCK data into low gradation (4 gradations) YMCK data that can be expressed by the head 21, that is, 2-bit dot data. The data transfer unit 50 (data transfer unit) stores the 4-tone YMCK data subjected to the halftone process in the buffer, and then transfers it to the image buffer IB in the main memory 13 via the memory controller 14.

イメージバッファIB(記憶部)は、画像処理プロセッサー12で処理された4階調のYMCKデータ(ドットデータ)を、ヘッド21へ転送する前に格納しておく場所である。イメージバッファIBでは、図2の右図に示すように、色ごと(YMCKごと)に、1画素のデータ(2ビットのドットデータ)を格納するメモリーセルが2次元に配置されている。具体的に言えば、X方向に16個のメモリーセルが並ぶ「メモリーセル列」がY方向に多数並んでいる。   The image buffer IB (storage unit) is a place where the four gradation YMCK data (dot data) processed by the image processor 12 is stored before being transferred to the head 21. In the image buffer IB, as shown in the right diagram of FIG. 2, memory cells storing one pixel data (2-bit dot data) are arranged two-dimensionally for each color (for each YMCK). Specifically, a large number of “memory cell columns” in which 16 memory cells are arranged in the X direction are arranged in the Y direction.

そして、1つのメモリーセル列に格納されたデータが1つのノズルに割り当てられ、Y方向上側のメモリーセル列、即ち、アドレスの小さいメモリーセル列から順に、小さい番号のノズル#1〜#400が割り当てられる。例えば、Y方向の1番上のメモリーセル列(アドレス0001)が、ノズル#1に割り当てられる1〜16番目の画素N1〜N16のデータを格納し、Y方向の上から2番目のメモリーセル列(アドレス0002)が、ノズル#2に割り当てられる1〜16番目の画素N1〜N16のデータを格納する。そして、全ノズル#1〜#400の1〜16番目の画素N1〜N16のデータが格納される領域の下のメモリーセル列(アドレス0401)に、ノズル#1の次の16回の噴射タイミングのデータ、即ち、17〜32番目の画素N17〜N32のデータが格納される。   The data stored in one memory cell row is assigned to one nozzle, and the lower numbered nozzles # 1 to # 400 are assigned in order from the memory cell row on the upper side in the Y direction, that is, the memory cell row having the smallest address. It is done. For example, the first memory cell row (address 0001) in the Y direction stores the data of the 1st to 16th pixels N1 to N16 assigned to the nozzle # 1, and the second memory cell row from the top in the Y direction. (Address 0002) stores data of the 1st to 16th pixels N1 to N16 assigned to the nozzle # 2. Then, in the memory cell row (address 0401) below the area where the data of the 1st to 16th pixels N1 to N16 of all the nozzles # 1 to # 400 are stored, the next 16 injection timings of the nozzle # 1. Data, that is, data of the 17th to 32nd pixels N17 to N32 is stored.

また、イメージバッファIBでは、ドットデータの格納領域が複数のグループに分割され、Y方向に並ぶ8個のメモリーセル列ごとにグループ分けされている。つまり、イメージバッファIBにおける1グループでは、搬送方向に連続して並ぶ8個のノズルに割り当てられるドットデータであり、連続する16回の噴射タイミングのドットデータを格納可能である。なお、連続する16回の噴射タイミングとは、媒体S上の1画素とノズルが対向する16回のタイミングであり、ノズルからインクが噴射されるタイミングだけでなく、ノズルからインクが噴射されないタイミングも含まれる。こうして、イメージバッファIBに格納されたドットデータは、プリンターコントローラー16を介してヘッド21へ転送され、ヘッド21はそのドットデータに基づいてノズルからインクを噴射する。   In the image buffer IB, the dot data storage area is divided into a plurality of groups, and is grouped into eight memory cell columns arranged in the Y direction. That is, one group in the image buffer IB is dot data assigned to eight nozzles arranged in the transport direction and can store dot data at 16 consecutive ejection timings. Note that the continuous 16 ejection timings are 16 timings when one pixel on the medium S and the nozzle face each other, and not only the timing at which ink is ejected from the nozzle, but also the timing at which ink is not ejected from the nozzle. included. Thus, the dot data stored in the image buffer IB is transferred to the head 21 via the printer controller 16, and the head 21 ejects ink from the nozzles based on the dot data.

===印刷方法===
図3Aは、第1印刷方法を説明する図であり、図3Bは、第2印刷方法を説明する図である。図では、或る色の1ノズル列による印刷方法を示し、説明の容易の為に、1ノズル列に属するノズル数を5個(#1〜#5)とする。また、実際のプリンター1ではヘッド21(ノズル列)に対して媒体Sが搬送方向の下流側に搬送されるが、図ではヘッド21を搬送方向の上流側にずらして示す。また、ヘッド21の移動方向に沿うドット列を「ラスターライン」とも呼び、搬送方向の下流側から順に小さい番号を付す(L1,L2…)。また、搬送方向に並ぶノズル(例えばノズル#1と#2)の間隔をノズルピッチと呼び、ここではノズルピッチを180dpiとする。
=== Printing method ===
FIG. 3A is a diagram for explaining the first printing method, and FIG. 3B is a diagram for explaining the second printing method. In the figure, a printing method using one nozzle row of a certain color is shown, and the number of nozzles belonging to one nozzle row is five (# 1 to # 5) for easy explanation. Further, in the actual printer 1, the medium S is transported downstream in the transport direction with respect to the head 21 (nozzle row), but in the drawing, the head 21 is shown shifted to the upstream side in the transport direction. Further, a dot row along the moving direction of the head 21 is also called a “raster line”, and numbers are assigned in order from the downstream side in the transport direction (L1, L2,...). Further, the interval between nozzles (for example, nozzles # 1 and # 2) arranged in the transport direction is called a nozzle pitch, and here, the nozzle pitch is 180 dpi.

第1印刷方法(図3A)は、ヘッド21による1回の噴射動作(パス)で形成されたラスターライン間に、他のパスでラスターラインが形成される印刷方法である(所謂インターレース印刷、マイクロウィーブ印刷である)。図3Aでは、直前のパス(例:パス3)で形成されたラスターライン(例:L3)の直ぐ下に、次のパス(例:パス4)でラスターライン(例:L4)が形成される。そのため、1回のパスで形成される画像の高さよりも短い長さの距離F1で媒体Sが搬送される。また、図3Aでは、1回のパス(例:パス4)で形成されるラスターライン(例:L4とL8)の間に、他のパス(例:パス1〜3)で3本のラスターライン(例:L5〜L7)が形成される。つまり、第1印刷方法では、1回のパスで搬送方向における4ラインおきにラスターラインが形成される。従って、第1印刷方法では、搬送方向の印刷解像度720dpiがノズルピッチ180dpiの4倍となる。   The first printing method (FIG. 3A) is a printing method in which raster lines are formed in another pass between raster lines formed by one ejection operation (pass) by the head 21 (so-called interlaced printing, micro-printing). Weave printing). In FIG. 3A, the raster line (example: L4) is formed in the next path (example: path 4) immediately below the raster line (example: L3) formed in the immediately preceding path (example: path 3). . Therefore, the medium S is transported at a distance F1 having a length shorter than the height of the image formed in one pass. Further, in FIG. 3A, three raster lines are formed in another pass (eg, pass 1 to 3) between raster lines (eg, L4 and L8) formed in one pass (eg, pass 4). (Example: L5 to L7) are formed. That is, in the first printing method, raster lines are formed every four lines in the transport direction in one pass. Therefore, in the first printing method, the printing resolution 720 dpi in the transport direction is four times the nozzle pitch 180 dpi.

第2印刷方法(図3B)は、ヘッド21による1回の噴射動作で形成されるラスターライン間に、他のパスでラスターラインが形成されない印刷方法である(所謂バンド印刷である)。そのため、媒体Sの搬送量F2は、ヘッド21の高さ分(即ち、1回のパスで形成される画像の高さ分)の距離となり、第2印刷方法で印刷される画像では、ヘッド21の高さ分の画像が搬送方向に並ぶ。つまり、第2印刷方法では、1回のパスで搬送方向に連続して並ぶラスターラインが形成される。例えば、パス2で6番目から10番目のラスターラインL6〜L10が形成され、パス3で11番目から15番目のラスターラインL11〜L15が形成される。従って、第2印刷方法では、搬送方向の印刷解像度180dpiがノズルピッチ180dpiと等しくなる。   The second printing method (FIG. 3B) is a printing method in which raster lines are not formed in other passes between raster lines formed by one ejection operation by the head 21 (so-called band printing). Therefore, the transport amount F2 of the medium S is a distance corresponding to the height of the head 21 (that is, the height of the image formed in one pass), and in the image printed by the second printing method, the head 21 The images for the height are arranged in the transport direction. That is, in the second printing method, raster lines that are continuously arranged in the transport direction are formed in one pass. For example, the sixth to tenth raster lines L6 to L10 are formed in pass 2, and the eleventh to fifteenth raster lines L11 to L15 are formed in pass 3. Therefore, in the second printing method, the printing resolution 180 dpi in the transport direction is equal to the nozzle pitch 180 dpi.

===ハーフトーン処理===
図4Aは、ディザ法によるハーフトーン処理を説明する図である。図4Aの左図は、或る色の画像データの一部であり画像データに属する画素の256階調値に応じたドット発生率を示し、図4Aの中央図は、2次元に閾値が並ぶディザマトリクス(一部)を示し、図4Aの右図は、各画素のドット発生の有無を示す。ディザ法は、処理対象画素の値(ここでは256階調値に応じたドット発生率)と、ディザマトリクスの中で処理対象画素の位置に対応する閾値とを比較して、その大小関係に基づきドット発生の有無を判定する方法である。
=== Halftone processing ===
FIG. 4A is a diagram for explaining halftone processing by the dither method. The left figure of FIG. 4A shows the dot occurrence rate according to the 256 gradation values of the pixels belonging to the image data that are part of the image data of a certain color, and the central figure of FIG. A dither matrix (a part) is shown, and the right figure in FIG. 4A shows whether or not dots are generated in each pixel. The dither method compares the value of the pixel to be processed (here, the dot occurrence rate corresponding to the 256 gradation values) with a threshold corresponding to the position of the pixel to be processed in the dither matrix, and based on the magnitude relationship. This is a method for determining the presence or absence of dot generation.

例えば、本実施形態のプリンター1では3種類のサイズのドットが形成される。そのため、まず、処理対象画素の256階調値に応じた大ドットの発生率と、大ドット用ディザマトリクスの閾値とが比較され、大ドット発生率が閾値以上であれば、処理対象画素のデータは大ドットを形成するデータに変換される。大ドット発生率が閾値未満であれば、処理対象画素の256階調値に応じた中ドットの発生率と中ドット用のディザマトリクスの閾値とが比較される。中ドット発生率が閾値以上であれば、処理対象画素のデータは中ドットを形成するデータに変換される。以下、小ドットに関しても同様の判定を行う。なお、小ドット発生率が閾値未満であれば、処理対象画素のデータはドットを形成しないデータに変換される。   For example, in the printer 1 of the present embodiment, three types of size dots are formed. Therefore, first, the large dot occurrence rate corresponding to the 256 gradation value of the processing target pixel is compared with the threshold value of the large dot dither matrix. Is converted into data forming a large dot. If the large dot occurrence rate is less than the threshold value, the medium dot occurrence rate corresponding to the 256 gradation value of the processing target pixel is compared with the threshold value of the dither matrix for the medium dot. If the medium dot occurrence rate is equal to or greater than the threshold, the data of the processing target pixel is converted into data for forming a medium dot. Hereinafter, the same determination is performed for small dots. If the small dot occurrence rate is less than the threshold value, the data of the pixel to be processed is converted into data that does not form dots.

図4Bは、誤差拡散法によるハーフトーン処理を説明する図である。図では、X方向及びY方向に並ぶ画素のうち、黒い画素を処理対象画素とし、斜線の画素をハーフトーン処理済みの画素とし、灰色の画素を処理対象画素から誤差が拡散される画素とする。誤差拡散法では、処理対象画素の値とディザマトリクスの閾値とを比較してドット発生の有無を判定するとともに、その判定で発生した誤差(ドット発生率と閾値との差)を処理対象画素の周辺の未処理の画素に分配する。誤差が割り振られた画素では、割り振られた誤差に自身の画素の値(ドット発生率)を加算した値が閾値と比較され、ドット発生の有無が判定される。   FIG. 4B is a diagram for explaining halftone processing by the error diffusion method. In the figure, among the pixels arranged in the X direction and the Y direction, the black pixel is the processing target pixel, the hatched pixel is the halftoned pixel, and the gray pixel is the pixel in which the error is diffused from the processing target pixel. . In the error diffusion method, the value of the pixel to be processed and the threshold value of the dither matrix are compared to determine the presence or absence of dot generation, and the error (difference between the dot generation rate and the threshold value) generated in the determination is determined for the pixel to be processed. Distribute to surrounding unprocessed pixels. In a pixel to which an error is allocated, a value obtained by adding the value of the own pixel (dot generation rate) to the allocated error is compared with a threshold value to determine whether or not a dot is generated.

本実施形態では、図4Bに示すように、処理対象画素を中心としたX方向に5画素及びY方向に5画素のうち未処理の画素を拡散範囲とする。例えば、X方向に4番目,Y方向に3番目の画素(N4,L3)が処理対象画素である場合、処理ラインL3におけるX方向の5〜6番目の画素N5,N6と、処理ラインより後段の2ラインL4,L5における2〜6番目の画素N2〜N6(計12画素)に、誤差が拡散される。   In the present embodiment, as illustrated in FIG. 4B, an unprocessed pixel among the five pixels in the X direction and the five pixels in the Y direction centering on the processing target pixel is set as a diffusion range. For example, when the fourth pixel in the X direction and the third pixel (N4, L3) in the Y direction are the processing target pixels, the fifth to sixth pixels N5, N6 in the X direction in the processing line L3 and the subsequent stage from the processing line. The error is diffused to the second to sixth pixels N2 to N6 (total 12 pixels) in the two lines L4 and L5.

===比較例===
比較例として、ハーフトーンユニット20が、1色の画像データにつき1個のハーフトーン処理部41(以下、HT処理部)を有する場合を例に挙げる。この場合、ヘッド21に属するノズル数が多かったり、高解像度に画像を印刷したりすると、ハーフトーン処理するデータ数が多く、ハーフトーン処理に時間がかかってしまう。
=== Comparative Example ===
As a comparative example, a case where the halftone unit 20 includes one halftone processing unit 41 (hereinafter referred to as an HT processing unit) for each color of image data will be described as an example. In this case, if the number of nozzles belonging to the head 21 is large or an image is printed at a high resolution, the number of data to be halftone processed is large and the halftone processing takes time.

また、その1個のHT処理部41が2次元に並ぶ画素のデータ(図2の左図参照)を処理する際に、X方向に並ぶ画素を順に処理することで、連続するアドレスの画素を順に処理することができ、HT処理部41が処理対象のデータを読み出す効率(リード効率)を高めることができる。即ち、1個のHT処理部41が、1番目の画素列L1にてX方向に並ぶ全画素(N1〜Nx)を順に処理し終えた後に、2番目の画素列L2にてX方向に並ぶ全画素(N1〜Nx)を処理することで、処理対象データの読み出し効率が高まり、ハーフトーン処理を迅速に行うことができる。   Further, when the one HT processing unit 41 processes pixel data arranged in a two-dimensional manner (see the left diagram in FIG. 2), the pixels arranged in the X direction are sequentially processed, so that pixels having consecutive addresses are processed. Processing can be performed in order, and the efficiency (read efficiency) at which the HT processing unit 41 reads data to be processed can be increased. That is, one HT processing unit 41 sequentially processes all the pixels (N1 to Nx) arranged in the X direction in the first pixel column L1, and then arranges in the X direction in the second pixel column L2. By processing all the pixels (N1 to Nx), the reading efficiency of processing target data is increased, and halftone processing can be performed quickly.

しかし、ハーフトーン処理後のドットデータを格納するイメージバッファIB(図2の右図参照)では、X方向に並ぶ16個のメモリーセルごとにグループ分けされ、アドレスが不連続となっている。そのため、HT処理部41が処理した1番目の画素列L1に属する全画素(N1〜Nx)のデータをイメージバッファIBへ一括転送してしまうと、イメージバッファIBでは、16画素ごとに離れた領域のメモリーセル、即ち、不連続であるアドレスのメモリーセルにデータを格納しなければならない。例えば、図2の右図に示すように、アドレス「0001」のメモリーセルに16画素分のドットデータを格納した後に、離れたアドレス「0401」のメモリーセルに16画素分のドットデータを格納しなければならない。そうすると、イメージバッファIBでのデータの格納効率が悪く、イメージバッファIBへのデータ転送処理に時間がかかってしまう。   However, in the image buffer IB that stores dot data after halftone processing (see the right diagram in FIG. 2), the memory cells are grouped into 16 memory cells arranged in the X direction, and the addresses are discontinuous. Therefore, if the data of all the pixels (N1 to Nx) belonging to the first pixel row L1 processed by the HT processing unit 41 are transferred to the image buffer IB, the image buffer IB has a region separated every 16 pixels. In other words, data must be stored in a memory cell having a discontinuous address. For example, as shown in the right figure of FIG. 2, after dot data for 16 pixels is stored in the memory cell at address “0001”, dot data for 16 pixels is stored in the memory cell at address “0401”. There must be. As a result, the storage efficiency of data in the image buffer IB is poor, and it takes time to transfer data to the image buffer IB.

また、ハーフトーンユニット40が複数のHT処理部41を有したとしても、データ転送ユニット50がドットデータをイメージバッファIBへ無作為に転送してしまうと、イメージバッファIBでのデータの格納効率が悪くなってしまう。例えば、或るHT処理部41が処理した1番目の画素列L1に属する全画素(N1〜Nx)のデータを転送した後に、別のHT処理部41が処理した2番目の画素列L2に属する全画素(N1〜Nx)のデータを転送すると、イメージバッファIBでのデータの格納効率が悪く、イメージバッファIBへのデータ転送処理に時間がかかってしまう。   Even if the halftone unit 40 has a plurality of HT processing units 41, if the data transfer unit 50 randomly transfers the dot data to the image buffer IB, the storage efficiency of the data in the image buffer IB is increased. It gets worse. For example, after transferring the data of all the pixels (N1 to Nx) belonging to the first pixel column L1 processed by a certain HT processing unit 41, it belongs to the second pixel column L2 processed by another HT processing unit 41 When data of all pixels (N1 to Nx) is transferred, the data storage efficiency in the image buffer IB is poor, and the data transfer processing to the image buffer IB takes time.

以上のように、ハーフトーン処理に時間がかかったり、イメージバッファIBへのデータ転送処理に時間がかかったりすると、ヘッド21へのデータ転送が遅れ、印刷開始が遅れたり、印刷が中断したりしてしまう。そこで、本実施形態のプリンター1では、ハーフトーン処理、及び、イメージバッファIBへのデータ転送処理をより迅速に行うことを目的とする。   As described above, if halftone processing takes time or data transfer processing to the image buffer IB takes time, data transfer to the head 21 is delayed, printing start is delayed, or printing is interrupted. End up. Therefore, the printer 1 of the present embodiment aims to perform halftone processing and data transfer processing to the image buffer IB more quickly.

===実施例1===
図5は、実施例1におけるハーフトーンユニット40とデータ転送ユニット50の説明図であり、図6Aは、複数のHT処理部41の処理対象画素の位置を説明する図であり、図6Bは、ハーフトーン出力バッファ42(出力バッファに相当、以下、HT出力バッファ)の説明図である。実施例1では、第1印刷方法(図3A)で画像が印刷され、誤差拡散法(図4B)でハーフトーン処理が行われる。
=== Example 1 ===
FIG. 5 is an explanatory diagram of the halftone unit 40 and the data transfer unit 50 according to the first embodiment. FIG. 6A is a diagram illustrating the positions of the processing target pixels of the plurality of HT processing units 41. FIG. It is explanatory drawing of the halftone output buffer 42 (equivalent to an output buffer, hereafter an HT output buffer). In Example 1, an image is printed by the first printing method (FIG. 3A), and halftone processing is performed by the error diffusion method (FIG. 4B).

そして、ハーフトーンユニット40が、インクの色(YMCK)ごとに、32個のHT処理部41(1)〜41(32)を有する。即ち、第1印刷方法において、一の噴射動作(パス)で形成されるラスターライン(ドット列)の間に形成されるラスターラインの数「3」に「1」を加算した値「4(=3+1)」に、イメージバッファIBの1グループのデータが割り当てられるノズル数「8」を乗算した数「32(=4×8)」のHT処理部41が設けられている。換言すると、第1印刷方法における搬送方向の印刷解像度(720dpi)をノズルピッチ(180dpi)で除算した数「4(=720/180)」に、イメージバッファIBの1グループにおいてY方向に並ぶメモリーセルの数「8」を乗算した数「32」のHT処理部41が設けられている。   The halftone unit 40 includes 32 HT processing units 41 (1) to 41 (32) for each ink color (YMCK). That is, in the first printing method, a value “4” (= “1” is added to the number “3” of raster lines formed between raster lines (dot rows) formed in one ejection operation (pass). 3 + 1) ”is multiplied by the number of nozzles“ 8 ”to which one group of data in the image buffer IB is assigned. The number of HT processing units 41 is“ 32 (= 4 × 8) ”. In other words, the memory cells arranged in the Y direction in one group of the image buffer IB to the number “4 (= 720/180)” obtained by dividing the printing resolution (720 dpi) in the transport direction in the first printing method by the nozzle pitch (180 dpi). The number “32” of HT processing units 41 obtained by multiplying the number “8” is provided.

また、ハーフトーンユニット40は、インクの色(YMCK)ごとに、32個のHT出力バッファ42(1)〜42(32)を有する。HT出力バッファ42は、対応するHT処理部41からハーフトーン処理の結果であるドットデータを受け取って、そのドットデータをデータ転送ユニット50に出力する。   Further, the halftone unit 40 has 32 HT output buffers 42 (1) to 42 (32) for each ink color (YMCK). The HT output buffer 42 receives the dot data that is the result of the halftone process from the corresponding HT processing unit 41 and outputs the dot data to the data transfer unit 50.

データ転送ユニット50は、インクの色(YMCK)ごとに、ハーフトーンユニット40からのドットデータを4個のバッファ51(1)〜51(4)に格納した後に、イメージバッファIBへ転送する。即ち、データ転送ユニット50には、HT処理部41の数「32」を、イメージバッファIBの1グループのデータが割り当てられるノズル数「8」で除算した数「4(=32/8)」のバッファ51(1)〜51(4)が設けられている。   The data transfer unit 50 stores the dot data from the halftone unit 40 for each ink color (YMCK) in the four buffers 51 (1) to 51 (4), and then transfers them to the image buffer IB. That is, the data transfer unit 50 has the number “4” (= 32/8) obtained by dividing the number “32” of the HT processing unit 41 by the number of nozzles “8” to which one group of data of the image buffer IB is assigned. Buffers 51 (1) to 51 (4) are provided.

また、データ転送ユニット50内の各バッファ51(1)〜51(4)の構成は、イメージバッファIBの1グループと同じ構成であり、各バッファ51(1)〜51(4)では、1画素分(2ビット)のデータを格納するメモリーセルがX方向に16個並んだメモリーセル列が、Y方向に8個並ぶ。つまり、各バッファ51(1)〜51(4)は、それぞれ、搬送方向に連続して並ぶ8個のノズルに割り当てられるドットデータであり、連続する16回の噴射タイミングのドットデータを格納することができる。   The configuration of each of the buffers 51 (1) to 51 (4) in the data transfer unit 50 is the same as that of one group of the image buffer IB. In each of the buffers 51 (1) to 51 (4), one pixel Eight memory cell columns in which 16 memory cells storing minute (2 bits) data are arranged in the X direction are arranged in the Y direction. That is, each of the buffers 51 (1) to 51 (4) is dot data assigned to eight nozzles arranged continuously in the transport direction, and stores dot data of 16 consecutive ejection timings. Can do.

このような構成のハーフトーンユニット40及びデータ転送ユニット50において、まず、コンピューター30からプリンター1に元画像データが入力され、メインメモリー13内のバッファ131に元画像データが格納される。その後、画像処理プロセッサー12内の色変換ユニット121が、元画像データを取得し、RGBの256階調データである元画像データをYMCKの256階調データに変換する。   In the halftone unit 40 and the data transfer unit 50 configured as described above, first, original image data is input from the computer 30 to the printer 1, and the original image data is stored in the buffer 131 in the main memory 13. Thereafter, the color conversion unit 121 in the image processor 12 acquires the original image data, and converts the original image data that is RGB 256 gradation data into YMCK 256 gradation data.

そして、ハーフトーンユニット40がYMCKの256階調データをYMCKの4階調データに変換し、データ転送ユニット50がYMCKの4階調データをイメージバッファIBへ転送する。なお、YMCKの256階調データは色ごとに独立してハーフトーン処理されイメージバッファIBへ転送されるが、これらの処理はインクの色に関係なく同じである。よって、説明の簡略のため、以下では、或る1色のデータに対する処理を例に挙げて説明する。   The halftone unit 40 converts YMCK 256 gradation data into YMCK four gradation data, and the data transfer unit 50 transfers the YMCK four gradation data to the image buffer IB. The YMCK 256-gradation data is halftone processed independently for each color and transferred to the image buffer IB. These processes are the same regardless of the ink color. Therefore, for the sake of simplicity, the following description will be made with an example of processing for data of one color.

色変換後のデータ(或る色の256階調データ)では、図5に示すように、ヘッド21の1パス分の画素(N1〜Nx)がX方向(第2の方向)に並んだ画素の列が、X方向と交差するY方向に複数並んでおり、画像を構成するラスターライン順に画素列が並んでいる。32個のHT処理部41は前段の画素列から後段の画素列に向かって順に画素列を処理する。また、実施例1では誤差拡散法を行うため、Y方向に連続して並ぶ32個の画素列が32個のHT処理部41にそれぞれ1画素列ずつ割り当てられる。   In the data after color conversion (256 gradation data of a certain color), as shown in FIG. 5, pixels (N1 to Nx) for one pass of the head 21 are arranged in the X direction (second direction). Are arranged in the Y direction intersecting with the X direction, and the pixel rows are arranged in the order of raster lines constituting the image. The 32 HT processing units 41 sequentially process the pixel columns from the preceding pixel column toward the subsequent pixel column. Further, in the first embodiment, since the error diffusion method is performed, 32 pixel rows arranged continuously in the Y direction are allocated to the 32 HT processing units 41 by one pixel row.

まず、Y方向の上側から連続して並ぶ32個の画素列L1〜L32が32個のHT処理部41に割り当てられる。また、Y方向の4個おきの画素列が割り当てられる計8個のHT処理部41は、イメージバッファIBの同じグループに格納するデータを処理する。例えば、Y方向の最も上側の画素列L1が割り当てられる1番目のHT処理部41(1)から4個おきのHT処理部41(5),41(9)…が、同じパスAで連続する8個のノズル#1〜#8に割り当てられる画素列L1,L5,L9…のデータを処理する。   First, 32 pixel rows L1 to L32 arranged continuously from the upper side in the Y direction are assigned to 32 HT processing units 41. In addition, a total of eight HT processing units 41 to which every fourth pixel column in the Y direction is assigned process data stored in the same group of the image buffer IB. For example, every fourth HT processing unit 41 (5), 41 (9),... Continues from the first HT processing unit 41 (1) to which the uppermost pixel column L1 in the Y direction is assigned in the same path A. Data of the pixel rows L1, L5, L9... Assigned to the eight nozzles # 1 to # 8 is processed.

同様に、2番目の画素列L2が割り当てられる2番目のHT処理部41(2)から4個おきのHT処理部41(6),41(10)…が、同じパスBで連続する8個のノズル#b〜#b+7に割り当てられる画素列L2,L6,L10…のデータを処理し、3番目の画素列L3が割り当てられる3番目のHT処理部41(3)から4個おきのHT処理部41(7),41(11)…が、同じパスCで連続する8個のノズル#c〜#c+7に割り当てられる画素列L3,L7,L11…のデータを処理し、4番目の画素列L4が割り当てられる4番目のHT処理部41(4)から4個おきのHT処理部41(8),41(12)…が、同じパスDで連続する8個のノズル#d〜#d+7に割り当てられる画素列L4,L8,L12…のデータを処理する。   Similarly, every 8th HT processing unit 41 (6), 41 (10),..., From the second HT processing unit 41 (2) to which the second pixel column L2 is assigned, is continuously connected in the same path B. Data of the pixel rows L2, L6, L10... Assigned to the nozzles #b to # b + 7, and every fourth HT processing from the third HT processing unit 41 (3) to which the third pixel row L3 is assigned. Unit 41 (7), 41 (11)... Processes the data of the pixel columns L3, L7, L11... Assigned to the eight nozzles #c to # c + 7 consecutive in the same pass C, and the fourth pixel column. Every fourth HT processing unit 41 (8), 41 (12),... From the fourth HT processing unit 41 (4) to which L4 is assigned to eight nozzles #d to # d + 7 that are consecutive in the same pass D. Data of the assigned pixel columns L4, L8, L12. To management.

そして、32個のHT処理部41は誤差拡散法によりそれぞれ割り当てられた画素列をハーフトーン処理し、各HT処理部41で処理されたドットデータは、そのHT処理部41に対応するHT出力バッファ42に出力される。なお、各HT処理部41は、それぞれ割り当てられた画素列に属する画素のデータを、X方向の左側の画素N1から右側の画素Nxに向かって、処理対象画素を1画素ずつ右側にシフトしながら順に処理する。また、誤差拡散法では、図4Bに示すように、前段の画素列から後段の画素列に誤差が拡散される。そのため、後段の画素列が割り当てられたHT処理部41は、前段の画素列が割り当てられたHT処理部41から誤差を受け取り、誤差を加味してドット発生の有無を判定する。   The 32 HT processing units 41 perform halftone processing on the respective pixel arrays assigned by the error diffusion method, and the dot data processed by each HT processing unit 41 is an HT output buffer corresponding to the HT processing unit 41. 42 is output. Note that each HT processing unit 41 shifts the pixel data belonging to the assigned pixel column from the left pixel N1 in the X direction toward the right pixel Nx by shifting the pixel to be processed one pixel at a time. Process in order. In the error diffusion method, as shown in FIG. 4B, an error is diffused from the preceding pixel column to the subsequent pixel column. For this reason, the HT processing unit 41 to which the subsequent pixel column is assigned receives an error from the HT processing unit 41 to which the previous pixel column is assigned, and determines whether or not a dot has been generated in consideration of the error.

そして、32個のHT処理部41(1)〜41(32)により最初の32個の画素列L1〜L32の処理が終了したら、次の32個の画素列L33〜L64が32個のHT処理部41(1)〜41(32)に割り当てられるというように、全画素列のハーフトーン処理が終了するまで繰り返される。   When the 32 HT processing units 41 (1) to 41 (32) complete the processing of the first 32 pixel columns L1 to L32, the next 32 pixel columns L33 to L64 have 32 HT processes. It is repeated until the halftone process for all the pixel columns is completed, as assigned to the units 41 (1) to 41 (32).

一方、32個のHT出力バッファ42(1)〜42(32)に格納されたドットデータは、データ転送ユニット50内のコントローラー(不図示)によって、4個のバッファ51(1)〜51(4)に格納される。前述のように、1番目のHT処理部41(1)から4個おきのHT処理部41(5)、41(9)…が、同じパスAのノズル#1〜#8に割り当てられるデータ、即ち、イメージバッファIBの同じグループに割り当てられるデータを処理したため、1番目のHT出力バッファ42(1)から4個おきのHT出力バッファ42(5)、42(9)…に格納されているドットデータが同じバッファ51(1)に格納される。   On the other hand, the dot data stored in the 32 HT output buffers 42 (1) to 42 (32) is converted into four buffers 51 (1) to 51 (4) by a controller (not shown) in the data transfer unit 50. ). As described above, every fourth HT processing unit 41 (5), 41 (9)... From the first HT processing unit 41 (1) is assigned to the nozzles # 1 to # 8 in the same pass A. That is, since the data assigned to the same group of the image buffer IB has been processed, the dots stored in every fourth HT output buffer 42 (5), 42 (9)... From the first HT output buffer 42 (1). Data is stored in the same buffer 51 (1).

同様に、2番目のHT出力バッファ42(2)から4個おきのHT出力バッファ42(6)、42(10)…に格納されているドットデータが同じバッファ51(2)に格納され、3番目のHT出力バッファ42(3)から4個おきのHT出力バッファ42(7)、42(11)…に格納されているドットデータが同じバッファ51(3)に格納され、4番目のHT出力バッファ42(4)から4個おきのHT出力バッファ42(8)、42(12)…に格納されているドットデータが同じバッファ51(4)に格納される。その結果、データ転送ユニット50内の各バッファ51(1)〜51(4)に格納されるドットデータが、イメージバッファIBの1グループに格納すべきドットデータと同じになる。   Similarly, dot data stored in every fourth HT output buffer 42 (6), 42 (10)... From the second HT output buffer 42 (2) is stored in the same buffer 51 (2). The dot data stored in every fourth HT output buffer 42 (7), 42 (11)... From the HT output buffer 42 (3) is stored in the same buffer 51 (3), and the fourth HT output. The dot data stored in every fourth HT output buffer 42 (8), 42 (12)... From the buffer 42 (4) is stored in the same buffer 51 (4). As a result, the dot data stored in each of the buffers 51 (1) to 51 (4) in the data transfer unit 50 is the same as the dot data to be stored in one group of the image buffer IB.

そして、各バッファ51(1)〜51(4)が所定数(16画素×8ノズル分)のドットデータで一杯になると、データ転送ユニット50内のコントローラーは、そのバッファ51(1)〜51(4)のドットデータをイメージバッファIBの1グループへ一括転送する(バースト転送する)。詳しくは、書き込み命令(コマンド)と、イメージバッファIBにおける書き込み場所(アドレス)と、書き込むデータ(16画素×8ノズル分のドットデータ)とが、メモリーコントローラー14へ転送され、メモリーコントローラー14がイメージバッファIBの所定のグループにドットデータを格納する。そして、画像データに属する全画素のデータがイメージバッファIBに転送されるまで、処理が繰り返される。   When each of the buffers 51 (1) to 51 (4) is filled with a predetermined number (16 pixels × 8 nozzles) of dot data, the controller in the data transfer unit 50 causes the buffers 51 (1) to 51 ( The dot data of 4) is transferred all at once to one group of the image buffer IB (burst transfer). Specifically, a write command (command), a write location (address) in the image buffer IB, and data to be written (dot data for 16 pixels × 8 nozzles) are transferred to the memory controller 14, and the memory controller 14 receives the image buffer. Dot data is stored in a predetermined group of IB. The process is repeated until the data of all the pixels belonging to the image data are transferred to the image buffer IB.

以上のように、実施例1では、ハーフトーンユニット40がインクの色ごとに32個のHT処理部41を備え、各HT処理部41が、それぞれ割り当てられた画素列に属する画素のデータを、X方向における一端の画素N1から他端の画素Nxに向かって順に処理する。そのため、実施例1では、1色の画像データを1個のHT処理部41が処理する比較例に比べて、ハーフトーン処理を迅速に行うことができる。また、各HT処理部41が、X方向に並ぶ画素、即ち、連続するアドレスの画素を、順に処理するため、HT処理部41による処理対象画素の読み出し効率を高めることができ、ハーフトーン処理を迅速に行うことができる。   As described above, in the first embodiment, the halftone unit 40 includes the 32 HT processing units 41 for each ink color, and each HT processing unit 41 stores the data of the pixels belonging to the allocated pixel columns. Processing is sequentially performed from the pixel N1 at one end to the pixel Nx at the other end in the X direction. Therefore, in the first embodiment, halftone processing can be performed more quickly than in the comparative example in which one HT processing unit 41 processes one color image data. In addition, since each HT processing unit 41 sequentially processes pixels arranged in the X direction, that is, pixels at consecutive addresses, the reading efficiency of the processing target pixel by the HT processing unit 41 can be increased, and halftone processing can be performed. Can be done quickly.

また、イメージバッファIB(記憶部)の1グループ、及び、データ転送ユニット50(データ転送部)内のバッファ51(1)〜51(4)は、それぞれ、搬送方向(第1の方向)に連続して並ぶ8個(第1の数)のノズルに割り当てられるドットデータであり、連続する16回(第2の数)の噴射タイミングのドットデータを格納可能である。そして、データ転送ユニット50は、各バッファ51(1)〜51(4)がドットデータで一杯になると、そのバッファ51(1)〜51(4)内のドットデータをイメージバッファIBの1グループへ一括転送する。
そのため、イメージバッファIBの離れた領域(不連続であるアドレスの領域)にドットデータを格納することがなく、連続するアドレスの領域にドットデータを格納することができる。従って、イメージバッファIBでのデータの格納効率を高めることができ、イメージバッファIBへのデータ転送処理を迅速に行うことができる。
Further, one group of the image buffer IB (storage unit) and the buffers 51 (1) to 51 (4) in the data transfer unit 50 (data transfer unit) are each continuous in the transport direction (first direction). This is dot data assigned to eight (first number) nozzles arranged in a row, and dot data of 16 consecutive (second number) ejection timings can be stored. When the buffers 51 (1) to 51 (4) are filled with dot data, the data transfer unit 50 transfers the dot data in the buffers 51 (1) to 51 (4) to one group of the image buffer IB. Batch transfer.
Therefore, dot data can be stored in a continuous address area without storing the dot data in a distant area (discontinuous address area) of the image buffer IB. Therefore, the data storage efficiency in the image buffer IB can be increased, and the data transfer process to the image buffer IB can be performed quickly.

なお、本実施形態では、イメージバッファIBの1グループ、及び、データ転送ユニット50内の1つのバッファ51(1)〜51(4)が、それぞれ16画素×8ノズル分のドットデータを格納可能とするが、これに限らない。ただし、1バイトの整数倍のデータを格納可能にすることが好ましい。   In this embodiment, one group of the image buffer IB and one buffer 51 (1) to 51 (4) in the data transfer unit 50 can store dot data for 16 pixels × 8 nozzles, respectively. However, it is not limited to this. However, it is preferable that data of an integral multiple of 1 byte can be stored.

また、実施例1では、第1印刷方法(即ち、一の噴射動作で形成されるラスターライン間に他の噴射動作でラスターラインが形成される方式)が実施され、且つ、誤差拡散法が行われる。そして、一の噴射動作で形成されるラスターライン間に形成されるラスターラインの数「3」に「1」を加算した値「4」に、イメージバッファIBの1グループのデータが割り当てられるノズル数(第1の数)「8」を乗算した数「32」のHT処理部41が、ハーフトーンユニット40に設けられる。   In the first embodiment, the first printing method (that is, a method in which raster lines are formed by another ejection operation between raster lines formed by one ejection operation) is performed, and the error diffusion method is performed. Is called. The number of nozzles to which one group of data in the image buffer IB is assigned to a value “4” obtained by adding “1” to the number “3” of raster lines formed between raster lines formed by one ejection operation. (First number) The HT processing unit 41 of the number “32” multiplied by “8” is provided in the halftone unit 40.

そのため、データ転送ユニット50内の同じバッファ51(1)〜51(4)、及び、イメージバッファIBの同じグループに格納するデータが、32個のHT処理部41により並行して処理され、ほぼ同じタイミングで処理される。そのため、データ転送ユニット50内のバッファ51(1)〜(4)をドットデータで早く一杯にすることができ、データ転送ユニット50が保持するデータ量を抑えることができ、ハーフトーン処理済みデータを早くイメージバッファIBへ転送することができる。   Therefore, the data stored in the same group of the same buffers 51 (1) to 51 (4) and the image buffer IB in the data transfer unit 50 are processed in parallel by the 32 HT processing units 41 and are almost the same. Processed with timing. Therefore, the buffers 51 (1) to (4) in the data transfer unit 50 can be quickly filled with dot data, the amount of data held by the data transfer unit 50 can be suppressed, and halftone processed data can be stored. It can be quickly transferred to the image buffer IB.

また、第1印刷方法では1パスで4ラインおきにラスターラインが印刷されるため、Y方向に並ぶ4個おきの画素列のデータが、イメージバッファIBの1グループに格納される。しかし、誤差拡散法ではY方向に連続して並ぶ画素列に誤差を拡散するため、Y方向に連続して並ぶ画素列を並行してハーフトーン処理しなければならない。そこで、HT処理部41の数を32個にすることで、Y方向に連続して並ぶ画素列に誤差を拡散しつつ、イメージバッファIBの同じグループに格納するデータを並行してハーフトーン処理することができる。よって、データ転送ユニット50内のバッファ51(1)〜51(4)をドットデータで早く一杯にすることができ、ハーフトーン処理済みデータを早くイメージバッファIBへ転送することができる。   In the first printing method, since raster lines are printed every four lines in one pass, data of every four pixel columns arranged in the Y direction is stored in one group of the image buffer IB. However, in the error diffusion method, an error is diffused to pixel rows continuously arranged in the Y direction, so that the pixel rows continuously arranged in the Y direction must be subjected to halftone processing in parallel. Therefore, by setting the number of the HT processing units 41 to 32, the data stored in the same group of the image buffer IB is subjected to halftone processing in parallel while diffusing an error to the pixel rows continuously arranged in the Y direction. be able to. Therefore, the buffers 51 (1) to 51 (4) in the data transfer unit 50 can be quickly filled with dot data, and halftone processed data can be transferred to the image buffer IB quickly.

ただし、32個のHT処理部41がY方向に連続して並ぶ32個の画素列を処理することで、異なるパスで使用するデータ、即ち、イメージバッファIBの異なるグループに格納されるデータもほぼ同じタイミングで処理される。そこで、イメージバッファIBの1グループのデータが割り当てられるノズル数「8」の整数倍「4倍」のHT処理部41が設けられる場合、その整数「4」個のバッファ51(1)〜51(4)をデータ転送ユニット50に設ける。そうすることで、イメージバッファIBの異なるグループに格納するデータは異なるバッファ51(1)〜51(4)に格納することができる。従って、データ転送ユニット50内のバッファ51(1)〜51(4)に格納されたドットデータを、イメージバッファIBの1グループへ一括転送することができる。   However, 32 HT processing units 41 process 32 pixel rows arranged in the Y direction, so that data used in different passes, that is, data stored in different groups of the image buffer IB is also almost equal. Processed at the same timing. Therefore, when the HT processing unit 41 having an integer multiple “4 times” of the number of nozzles “8” to which one group of data in the image buffer IB is allocated is provided, the integer “4” buffers 51 (1) to 51 ( 4) is provided in the data transfer unit 50. By doing so, data stored in different groups of the image buffer IB can be stored in different buffers 51 (1) to 51 (4). Accordingly, the dot data stored in the buffers 51 (1) to 51 (4) in the data transfer unit 50 can be collectively transferred to one group of the image buffer IB.

なお、HT処理部41の数を32個よりも多くしてもよいが、32個の整数倍(2倍、3倍…)にすることが好ましい。そうすることで、誤差拡散法を実施しつつ、イメージバッファIBの同じグループに格納するデータをほぼ同じタイミングで処理することができる。   Although the number of HT processing units 41 may be larger than 32, it is preferable that the number of HT processing units 41 is an integer multiple of 32 (2 times, 3 times,...). By doing so, data stored in the same group of the image buffer IB can be processed at almost the same timing while performing the error diffusion method.

また、誤差拡散法を実施する場合、図4Bに示すように、処理ラインにおける処理対象画素(例:N4)よりも処理が進む側(X方向の右側)の2画素(例:N5,N6)と、処理ラインに隣接する後段側の2ラインの5画素(例:N2〜N6)に、誤差が拡散される。そのため、図6Aに示すように、或るライン(例:L31)の処理対象画素(例:N21)よりも、そのラインに隣接する後段側のライン(例:L32)の処理対象画素(例:N16)は、少なくとも誤差拡散範囲分だけ(本実施形態では5画素分だけ)遅らせる必要がある。   When the error diffusion method is performed, as shown in FIG. 4B, two pixels (eg, N5 and N6) on the processing progress side (right side in the X direction) of the processing target pixel (eg, N4) in the processing line. Then, the error is diffused to five pixels (for example, N2 to N6) in the two subsequent lines adjacent to the processing line. Therefore, as illustrated in FIG. 6A, the processing target pixel (example: L32) of the line (example: L32) on the rear stage side adjacent to the line from the processing target pixel (example: N21) of a certain line (example: L31). N16) needs to be delayed by at least the error diffusion range (in this embodiment, by 5 pixels).

例えば、データ転送ユニット50内のバッファ51(1)に1〜16番目の画素N1〜N16のデータを格納する場合、最も後段の32番目のHT処理部41(32)が16番目の画素N16を処理する時点で、その前段の31番目のHT処理部41(31)は21番目の画素N21を処理している必要がある。そのため、31番目のHT処理部41(31)が処理した画素のうち、データ転送ユニット50内のバッファ51(1)に格納できないデータ、即ち、17〜21番目の画素N17〜N21のデータを、31番目のHT出力バッファ42(31)に格納しておく必要がある。   For example, when storing the data of the 1st to 16th pixels N1 to N16 in the buffer 51 (1) in the data transfer unit 50, the 32nd HT processing unit 41 (32) at the rearmost stage stores the 16th pixel N16. At the time of processing, the preceding 31st HT processing unit 41 (31) needs to process the 21st pixel N21. Therefore, among the pixels processed by the 31st HT processing unit 41 (31), data that cannot be stored in the buffer 51 (1) in the data transfer unit 50, that is, data of the 17th to 21st pixels N17 to N21, It is necessary to store in the 31st HT output buffer 42 (31).

そこで、図6Bに示すように、複数のHT処理部41の中で或る画素列L31が割り当てられるHT処理部41(31)がドットデータを出力するHT出力バッファ42(31)の方が、その画素列に隣接する後段の画素列L32が割り当てられるHT処理部41(32)がドットデータを出力するHT出力バッファ42(32)よりも、少なくとも誤差拡散範囲分だけ、ここでは5画素分以上、多くのドットデータを格納できるようにする。   Therefore, as shown in FIG. 6B, the HT output buffer 42 (31) to which the HT processing unit 41 (31) to which a certain pixel row L31 is assigned among the plurality of HT processing units 41 outputs dot data is more The HT processing unit 41 (32) to which the subsequent pixel row L32 adjacent to the pixel row is assigned has at least the error diffusion range, here 5 pixels or more, than the HT output buffer 42 (32) that outputs dot data. , To be able to store a lot of dot data.

そうすることで、データ転送ユニット50の同じバッファ51(1)〜51(4)に格納するデータ、即ち、イメージバッファIBの同じグループに格納するデータを得るために、前段のHT処理部41が先行して処理していた画素のデータを無駄にすることなくHT出力バッファ42が格納しておくことができ、次のタイミングでデータ転送ユニット50内のバッファ51(1)〜51(4)に格納することができる。   By doing so, in order to obtain data to be stored in the same buffer 51 (1) to 51 (4) of the data transfer unit 50, that is, data to be stored in the same group of the image buffer IB, The HT output buffer 42 can store the pixel data that has been processed in advance without wasting it, and the data is transferred to the buffers 51 (1) to 51 (4) in the data transfer unit 50 at the next timing. Can be stored.

===実施例2===
図7は、実施例2におけるハーフトーンユニット40とデータ転送ユニット50を説明する図である。実施例2では、第2印刷方法(図3B)で画像が印刷される。なお、ハーフトーン処理方法はディザ法であっても誤差拡散法であってもよい。
=== Example 2 ===
FIG. 7 is a diagram illustrating the halftone unit 40 and the data transfer unit 50 according to the second embodiment. In Example 2, an image is printed by the second printing method (FIG. 3B). The halftone processing method may be a dither method or an error diffusion method.

そして、実施例2では、ハーフトーンユニット40が、インクの色(YMCK)ごとに、8個のHT処理部41(1)〜41(8)と8個のHT出力バッファ42(1)〜42(8)を備える。即ち、イメージバッファIBの1グループ内のデータが割り当てられるノズル数「8」のHT処理部41が設けられている。また、データ転送ユニット50はインクの色ごとに1個のバッファ51を備える。即ち、HT処理部41の数「8」をイメージバッファIBの1グループ内のデータが割り当てられるノズル数「8」で除算した数「1(=8/8)」のバッファ51が設けられている。また、データ転送ユニット50内のバッファ51とイメージバッファIBの1グループは同じ構成であり、それぞれ16画素×8ノズル分のドットデータを格納できる。なお、誤差拡散法でハーフトーン処理しない場合、HT出力バッファ42を設けずに、HT処理部41が処理した結果をデータ転送ユニット50内のバッファ51に直接出力してもよい。   In the second embodiment, the halftone unit 40 includes eight HT processing units 41 (1) to 41 (8) and eight HT output buffers 42 (1) to 42 for each ink color (YMCK). (8) is provided. That is, the HT processing unit 41 having “8” nozzles to which data in one group of the image buffer IB is assigned is provided. The data transfer unit 50 also includes one buffer 51 for each ink color. That is, a buffer 51 having a number “1 (= 8/8)” obtained by dividing the number “8” of the HT processing unit 41 by the number of nozzles “8” to which data in one group of the image buffer IB is allocated is provided. . One group of the buffer 51 and the image buffer IB in the data transfer unit 50 has the same configuration, and can store dot data for 16 pixels × 8 nozzles. When halftone processing is not performed by the error diffusion method, the result processed by the HT processing unit 41 may be directly output to the buffer 51 in the data transfer unit 50 without providing the HT output buffer 42.

また、実施例2では、色変換後のデータのうちY方向の上側から連続して並ぶ8個の画素列L1〜L8が、まず、8個のHT処理部41にそれぞれ1画素列ずつ割り当てられる。この8個の画素列L1〜L8のデータが、同じパスAで連続する8個のノズル#1〜#8に割り当てられるデータであり、イメージバッファIBの同じグループに格納されるデータである。8個のHT処理部41はそれぞれ割り当てられた画素列を並行して処理し、対応するHT出力バッファ42にハーフトーン処理結果を出力する。最初の8個の画素列L1〜L8の処理が終了したら、次の8個の画素列L9〜L16が8個のHT処理部41(1)〜41(8)に割り当てられる。   In the second embodiment, the eight pixel columns L1 to L8 that are continuously arranged from the upper side in the Y direction in the data after color conversion are first allocated to the eight HT processing units 41 one by one. . The data of the eight pixel rows L1 to L8 is data allocated to eight nozzles # 1 to # 8 that are consecutive in the same pass A, and is data stored in the same group of the image buffer IB. The eight HT processing units 41 process the assigned pixel columns in parallel, and output the halftone processing result to the corresponding HT output buffer 42. When the processing of the first eight pixel columns L1 to L8 is completed, the next eight pixel columns L9 to L16 are assigned to the eight HT processing units 41 (1) to 41 (8).

そして、8個のHT出力バッファ42(1)〜42(8)に格納されたドットデータがデータ転送ユニット50内のバッファ51に格納され、バッファ51が所定数(16画素×8ノズル分)のドットデータで一杯になると、バッファ51内のドットデータがメモリーコントローラー14を介してイメージバッファIBの1グループへ一括転送される。   The dot data stored in the eight HT output buffers 42 (1) to 42 (8) is stored in the buffer 51 in the data transfer unit 50, and the buffer 51 has a predetermined number (16 pixels × 8 nozzles). When the dot data is full, the dot data in the buffer 51 is batch transferred to one group of the image buffer IB via the memory controller 14.

以上のように、実施例2では、第2印刷方法(即ち、一の噴射動作で形成されるラスターライン間に他の噴射動作でラスターラインが形成されない方式)が実施される。そして、イメージバッファIBの1グループ内のデータが割り当てられるノズル数「8」個のHT処理部41がインクの色ごとにハーフトーンユニット40に設けられ、各HT処理部41がX方向に並ぶ画素のデータを順に処理する。また、データ転送ユニット50内のバッファ51とイメージバッファIBの1グループがそれぞれ同じ構成であり、バッファ51内のドットデータがイメージバッファIBへ一括転送される。   As described above, in the second embodiment, the second printing method (that is, a method in which a raster line is not formed by another ejection operation between raster lines formed by one ejection operation) is performed. Then, the HT processing unit 41 having “8” nozzles to which data in one group of the image buffer IB is allocated is provided in the halftone unit 40 for each ink color, and the HT processing units 41 are arranged in the X direction. Are processed in order. Further, one group of the buffer 51 and the image buffer IB in the data transfer unit 50 has the same configuration, and the dot data in the buffer 51 is collectively transferred to the image buffer IB.

そのため、実施例2でも実施例1と同様に、1色の画像データを8個のHT処理部41が処理し、また、HT処理部41による処理対象画素の読み取り効率を高めることができるため、ハーフトーン処理を迅速に行うことができる。また、イメージバッファIBでのデータの格納効率を高めることができ、イメージバッファIBへのデータ転送処理を迅速に行うことができる。   Therefore, in the second embodiment, similarly to the first embodiment, eight HT processing units 41 process one-color image data, and the reading efficiency of the processing target pixels by the HT processing unit 41 can be increased. Halftone processing can be performed quickly. Further, the data storage efficiency in the image buffer IB can be increased, and the data transfer process to the image buffer IB can be performed quickly.

また、イメージバッファIBの同じグループに格納するデータが8個のHT処理部41により並行して処理され、ほぼ同じタイミングで処理されるので、データ転送ユニット50内のバッファ51をドットデータで早く一杯にすることができる。従って、データ転送ユニット50が保持するデータ量を抑えることができ、ハーフトーン処理済みデータを早くイメージバッファIBへ転送することができる。   Further, since the data stored in the same group of the image buffer IB is processed in parallel by the eight HT processing units 41 and processed at almost the same timing, the buffer 51 in the data transfer unit 50 is quickly filled with dot data. Can be. Accordingly, the amount of data held by the data transfer unit 50 can be suppressed, and halftone processed data can be transferred to the image buffer IB quickly.

なお、HT処理部41の数を8個よりも増やしてもよいが、8個の整数倍(2倍、3倍…)にすることが好ましい。そうすることで、イメージバッファIBの同じグループに格納するデータをほぼ同じタイミングで処理できる。また、その場合、イメージバッファIBの異なるグループに格納されるデータも同時に処理されるので、データ転送ユニット50に複数のバッファを設けるとよい。   Note that the number of HT processing units 41 may be increased from eight, but it is preferable that the number of the HT processing units 41 be an integer multiple (two times, three times,. By doing so, data stored in the same group of the image buffer IB can be processed at almost the same timing. In this case, since data stored in different groups of the image buffer IB is also processed at the same time, the data transfer unit 50 may be provided with a plurality of buffers.

===実施例3===
図8は、実施例3におけるハーフトーンユニット40とデータ転送ユニット50を説明する図である。実施例3では、第1印刷方法(図3A)で画像が印刷され、ディザ法(図4A)によりハーフトーン処理が行われる。
=== Example 3 ===
FIG. 8 is a diagram illustrating the halftone unit 40 and the data transfer unit 50 according to the third embodiment. In Example 3, an image is printed by the first printing method (FIG. 3A), and halftone processing is performed by the dither method (FIG. 4A).

そして、実施例3では、実施例2と同様に、ハーフトーンユニット40が、インクの色(YMCK)ごとに、8個のHT処理部41(1)〜41(8)と8個のHT出力バッファ42(1)〜42(8)を備える。即ち、イメージバッファIBの1グループ内のデータが割り当てられるノズル数「8」のHT処理部41が設けられている。なお、HT出力バッファ42を設けずに、HT処理部41が処理した結果をデータ転送ユニット50内のバッファ51に直接出力してもよい。また、データ転送ユニット50はインクの色ごとに1個のバッファ51を備える。即ち、HT処理部41の数「8」をイメージバッファIBの1グループ内のデータが割り当てられるノズル数「8」で除算した数「1(=8/8)」個のバッファ51が設けられている。また、データ転送ユニット50内のバッファ51とイメージバッファIBの1グループは同じ構成であり、それぞれ16画素×8ノズル分のドットデータを格納可能である。   In the third embodiment, as in the second embodiment, the halftone unit 40 includes eight HT processing units 41 (1) to 41 (8) and eight HT outputs for each ink color (YMCK). Buffers 42 (1) to 42 (8) are provided. That is, the HT processing unit 41 having “8” nozzles to which data in one group of the image buffer IB is assigned is provided. Note that the result of processing by the HT processing unit 41 may be directly output to the buffer 51 in the data transfer unit 50 without providing the HT output buffer 42. The data transfer unit 50 also includes one buffer 51 for each ink color. That is, there are provided “1 (= 8/8)” number of buffers 51 obtained by dividing the number “8” of the HT processing unit 41 by the number of nozzles “8” to which data in one group of the image buffer IB is assigned. Yes. One group of the buffer 51 and the image buffer IB in the data transfer unit 50 has the same configuration, and can store dot data for 16 pixels × 8 nozzles.

ただし、実施例3では、色変換後のデータのうちY方向の最も上側の画素列L1から4個おきの8個の画素列L5,L9…L29が、まず、8個のHT処理部41にそれぞれ1画素列ずつ割り当てられる。このY方向に4個おきの8個の画素列L1,L5,L9…L29が、同じパスAで連続する8個のノズル#1〜#8に割り当てられるデータであり、イメージバッファIBの同じグループに格納されるデータである。最初の8個の画素列L1,L5,L9…L29の処理が終了したら、Y方向に4個おきの次の8個の画素列L33,L37,L41…が8個のHT処理部41(1)〜41(8)に割り当てられる。   However, in the third embodiment, every fourth pixel column L5, L9... L29 from the uppermost pixel column L1 in the Y direction in the data after color conversion is first transferred to the eight HT processing units 41. One pixel column is allocated for each. Every four pixel rows L1, L5, L9... L29 in the Y direction are data assigned to eight nozzles # 1 to # 8 that are consecutive in the same pass A, and are the same group in the image buffer IB. Is stored in the data. When the processing of the first eight pixel columns L1, L5, L9... L29 is completed, the next eight pixel columns L33, L37, L41. ) To 41 (8).

そして、8個のHT出力バッファ42(1)〜42(8)に格納されたドットデータは、データ転送ユニット50内のバッファ51に格納され、バッファ51が所定数(16画素×8ノズル分)のドットデータで一杯になると、バッファ51内のドットデータがメモリーコントローラー14を介してイメージバッファIBの1グループへ一括転送される。   The dot data stored in the eight HT output buffers 42 (1) to 42 (8) is stored in the buffer 51 in the data transfer unit 50, and the buffer 51 has a predetermined number (16 pixels × 8 nozzles). When the dot data becomes full, the dot data in the buffer 51 is batch transferred to one group of the image buffer IB via the memory controller 14.

以上のように、実施例3では、第1印刷方法(即ち、一の噴射動作で形成されるラスターライン間に他の前記噴射動作でラスターラインが形成される方式)が実施され、誤差拡散法が行われずにディザ法が行われる。そして、イメージバッファIBの1グループ内のデータが割り当てられるノズル数「8」個のHT処理部41がインクの色ごとにハーフトーンユニット40に設けられ、各HT処理部41がX方向に並ぶ画素のデータを順に処理する。また、データ転送ユニット50内のバッファ51とイメージバッファIBの1グループがそれぞれ同じ構成であり、バッファ51内のドットデータがイメージバッファIBへ一括転送される。   As described above, in the third embodiment, the first printing method (that is, a method in which a raster line is formed by another jetting operation between raster lines formed by one jetting operation) is performed, and an error diffusion method is performed. Dithering is performed without performing the above. Then, the HT processing unit 41 having “8” nozzles to which data in one group of the image buffer IB is allocated is provided in the halftone unit 40 for each ink color, and the HT processing units 41 are arranged in the X direction. Are processed in order. Further, one group of the buffer 51 and the image buffer IB in the data transfer unit 50 has the same configuration, and the dot data in the buffer 51 is collectively transferred to the image buffer IB.

そのため、実施例3でも実施例1と同様に、1色の画像データを8個のHT処理部41が処理し、また、HT処理部41による処理対象画素の読み取り効率を高めることができるため、ハーフトーン処理を迅速に行うことができる。また、イメージバッファIBでのデータの格納効率を高めることができ、イメージバッファIBへのデータ転送処理を迅速に行うことができる。   Therefore, in the third embodiment, similarly to the first embodiment, eight HT processing units 41 process one-color image data, and the reading efficiency of the processing target pixels by the HT processing unit 41 can be increased. Halftone processing can be performed quickly. Further, the data storage efficiency in the image buffer IB can be increased, and the data transfer process to the image buffer IB can be performed quickly.

また、イメージバッファIBの同じグループに格納するデータが8個のHT処理部41により並行して処理され、ほぼ同じタイミングで処理されるので、データ転送ユニット50内のバッファ51をドットデータで早く一杯にすることができる。従って、データ転送ユニット50が保持するデータ量を抑えることができ、ハーフトーン処理済みデータを早くイメージバッファIBへ転送することができる。   Further, since the data stored in the same group of the image buffer IB is processed in parallel by the eight HT processing units 41 and processed at almost the same timing, the buffer 51 in the data transfer unit 50 is quickly filled with dot data. Can be. Accordingly, the amount of data held by the data transfer unit 50 can be suppressed, and halftone processed data can be transferred to the image buffer IB quickly.

また、実施例3では第1印刷方法が実施されるので、Y方向に並ぶ4個おきの画素列のデータが、イメージバッファIBの同じグループに格納される。また、実施例3では誤差拡散法が実施されないため、Y方向に連続して並ぶ画素列を同じタイミングで処理する必要がない。そのため、実施例1とは異なり、8個のHT処理部41がY方向に並ぶ4個おきの画素列を並列に処理することで、HT処理部41の数を抑えつつ、同じ噴射動作(パス)で使用するデータを早くハーフトーン処理してイメージバッファIBへ転送することができる。   Further, since the first printing method is performed in the third embodiment, the data of every fourth pixel row arranged in the Y direction is stored in the same group of the image buffer IB. Further, since the error diffusion method is not performed in the third embodiment, it is not necessary to process the pixel columns continuously arranged in the Y direction at the same timing. Therefore, unlike the first embodiment, eight HT processing units 41 process every fourth pixel row arranged in the Y direction in parallel, thereby reducing the number of HT processing units 41 and performing the same injection operation (pass ) Can be quickly halftoned and transferred to the image buffer IB.

なお、HT処理部41の数を8個よりも増やしてもよいが、8個の整数倍(2倍、3倍…)にすることが好ましい。そうすることで、イメージバッファIBの同じグループに格納するデータをほぼ同じタイミングで処理できる。また、その場合、イメージバッファIBの異なるグループに格納されるデータも同時に処理されるので、データ転送ユニット50に複数のバッファを設けるとよい。   Note that the number of HT processing units 41 may be increased from eight, but it is preferable that the number of the HT processing units 41 be an integer multiple (two times, three times,. By doing so, data stored in the same group of the image buffer IB can be processed at almost the same timing. In this case, since data stored in different groups of the image buffer IB is also processed at the same time, the data transfer unit 50 may be provided with a plurality of buffers.

===実施例4===
図9は、実施例4におけるフローである。実施例4では、実施例1と同様に(図5)、インクの色(YMCK)ごとに、ハーフトーンユニット40が32個のHT処理部41(1)〜41(32)と32個のHT出力バッファ42(1)〜42(32)を備え、データ転送ユニット50が4個のバッファ51(1)〜51(4)を備える。そして、印刷モードに応じて、第1印刷方法と第2印刷方法の一方で画像が印刷され、ディザ法と誤差拡散法の一方でハーフトーン処理が実施される。
=== Example 4 ===
FIG. 9 is a flowchart according to the fourth embodiment. In the fourth embodiment, as in the first embodiment (FIG. 5), for each ink color (YMCK), the halftone unit 40 includes 32 HT processing units 41 (1) to 41 (32) and 32 HT. The output buffers 42 (1) to 42 (32) are provided, and the data transfer unit 50 is provided with four buffers 51 (1) to 51 (4). Then, according to the print mode, an image is printed by one of the first printing method and the second printing method, and halftone processing is performed by one of the dither method and the error diffusion method.

まず、ハーフトーンユニット40及びデータ転送ユニット50内の各コントローラー(不図示)は、印刷方法が第1印刷方法(図3A)に設定されているか否かを判定する(S001)。第2印刷方法(図3B)が設定されている場合(S001→No)、ハーフトーンユニット40内のコントローラーは、Y方向に連続して並ぶ32個の画素列L1〜L32を32個のHT処理部41(1)〜41(32)にそれぞれを1画素列ずつ割り当てる(S007)。そして、Y方向に連続して並ぶ8個の画素列を処理する8個のHT処理部(例:1〜8番のHT処理部41(1)〜41(8))ごとに、その8個のHT処理部41が処理したドットデータを、データ転送ユニット50内の同じバッファ51(1)〜51(4)に格納する(S008)。   First, each controller (not shown) in the halftone unit 40 and the data transfer unit 50 determines whether or not the printing method is set to the first printing method (FIG. 3A) (S001). When the second printing method (FIG. 3B) is set (S001 → No), the controller in the halftone unit 40 performs 32 HT processes on 32 pixel rows L1 to L32 that are continuously arranged in the Y direction. One pixel column is allocated to each of the units 41 (1) to 41 (32) (S007). For each of the eight HT processing units (for example, the 1st to 8th HT processing units 41 (1) to 41 (8)) that process the 8 pixel rows continuously arranged in the Y direction, The dot data processed by the HT processing unit 41 is stored in the same buffers 51 (1) to 51 (4) in the data transfer unit 50 (S008).

一方、第1印刷方法が設定されている場合(S001→Yes)、コントローラーは、ハーフトーン処理方法が誤差拡散法に設定されているか否かを判定する(S002)。誤差拡散法が設定されている場合(S002→Yes)、実施例1(図5)と同様に、Y方向に連続して並ぶ32個の画素列L1〜L32を、32個のHT処理部41(1)〜41(32)にそれぞれを1画素列ずつ割り当てる(S005)。そして、Y方向に並ぶ4個おきの画素列(例:L1,L5,L9…)を処理する8個のHT処理部41ごとに、その8個HT処理部41が処理したドットデータを、データ転送ユニット50内の同じバッファ51(1)〜51(4)に格納する(S006)。   On the other hand, when the first printing method is set (S001 → Yes), the controller determines whether or not the halftone processing method is set to the error diffusion method (S002). When the error diffusion method is set (S002 → Yes), as in the first embodiment (FIG. 5), the 32 pixel rows L1 to L32 continuously arranged in the Y direction are replaced with 32 HT processing units 41. One pixel column is assigned to each of (1) to 41 (32) (S005). For each of the eight HT processing units 41 that process every fourth pixel row arranged in the Y direction (for example, L1, L5, L9...), The dot data processed by the eight HT processing units 41 is stored as data. The data is stored in the same buffers 51 (1) to 51 (4) in the transfer unit 50 (S006).

そして、印刷方法が第1印刷方法に設定され、ハーフトーン処理方法がディザ法に設定されている場合(S002→No)、実施例3(図8)と同様に、Y方向に並ぶ4個おきの32個の画素列(例:L1,L5,L9…)を、32個のHT処理部41(1)〜41(32)にそれぞれを1画素列ずつ割り当てる(S003)。そして、Y方向に並ぶ4個おきの画素列(例:L1,L5,L9…)を処理する8個のHT処理部41であって、連続する8個のHT処理部41ごとに(例:41(1)〜41(8))、その8個のHT処理部41が処理したドットデータを、データ転送ユニット50内の同じバッファ51(1)〜51(4)に格納する(S004)。   Then, when the printing method is set to the first printing method and the halftone processing method is set to the dither method (S002 → No), every four pieces arranged in the Y direction as in the third embodiment (FIG. 8). Are assigned to each of the 32 HT processing units 41 (1) to 41 (32) (S003). Then, there are eight HT processing units 41 that process every fourth pixel row (for example, L1, L5, L9...) Arranged in the Y direction, and each eight consecutive HT processing units 41 (for example: 41 (1) to 41 (8)), the dot data processed by the eight HT processing units 41 are stored in the same buffers 51 (1) to 51 (4) in the data transfer unit 50 (S004).

以上のように、実施例4では、印刷方法、及び、ハーフトーン処理方式に応じて、各HT処理部41(1)〜41(32)に割り当てる画素列を異ならせる。そうすることで、印刷方法やハーフトーン処理方式に応じて、複数のHT処理部41を有効に使用することができる。例えば、誤差拡散法を行う場合には、ハーフトーン処理する処理対象画素の周辺に誤差を拡散することができ、誤差拡散法を行わない場合には、同じ噴射動作(パス)で使用するデータをより多くハーフトーン処理してイメージバッファIBへ転送することができる。   As described above, in the fourth embodiment, the pixel columns assigned to the HT processing units 41 (1) to 41 (32) are made different according to the printing method and the halftone processing method. By doing so, a plurality of HT processing units 41 can be used effectively according to the printing method and the halftone processing method. For example, when the error diffusion method is performed, an error can be diffused around the pixel to be processed for halftone processing. When the error diffusion method is not performed, data used in the same ejection operation (pass) is stored. More halftoning can be performed and transferred to the image buffer IB.

また、印刷方法(流体の噴射方式)に応じて、ハーフトーンユニット40からのドットデータを、データ転送ユニット50内の複数のバッファ51(1)〜51(4)に格納する方式を異ならせる。そうすることで、イメージバッファIBの異なるグループに格納されるドットデータを、データ転送ユニット50内の異なるバッファ51(1)〜51(4)に格納することができる。   Further, the method for storing the dot data from the halftone unit 40 in the plurality of buffers 51 (1) to 51 (4) in the data transfer unit 50 is varied depending on the printing method (fluid ejection method). By doing so, dot data stored in different groups of the image buffer IB can be stored in different buffers 51 (1) to 51 (4) in the data transfer unit 50.

===その他の実施形態===
上記の実施形態は、本発明の理解を容易にするためのものであり、本発明を限定して解釈するためのものではない。本発明は、その趣旨を逸脱することなく、変更、改良され得ると共に、本発明にはその等価物が含まれることはいうまでもない。
=== Other Embodiments ===
The above-described embodiments are for facilitating the understanding of the present invention, and are not intended to limit the present 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.

上記の実施形態では、ヘッドが移動方向に移動しながらインクを噴射する動作と、媒体が搬送方向に搬送される動作とが繰り返されるプリンターを例に挙げているが、これに限らない。例えば、媒体の幅方向にノズルが並んだ固定されたヘッドの下を、幅方向と交差する方向に媒体が通過する際に、ヘッドから媒体に向けてインクが噴射されるプリンターでもよい。また、例えば、印刷領域に搬送された媒体に対して、ヘッドがX方向に移動しながら画像を印刷する動作と、ヘッドがY方向に移動する動作と、を繰り返して画像を印刷し、その後、未だ画像が印刷されていない媒体の部位を印刷領域に搬送するプリンターでもよい。   In the above embodiment, a printer in which the operation of ejecting ink while the head moves in the movement direction and the operation of conveying the medium in the conveyance direction are described as an example, but the present invention is not limited to this. For example, a printer that ejects ink from a head toward a medium when the medium passes under a fixed head in which nozzles are arranged in the width direction of the medium in a direction crossing the width direction may be used. Further, for example, with respect to the medium conveyed to the printing area, the image is printed by repeating the operation of printing the image while the head moves in the X direction and the operation of the head moving in the Y direction. A printer that conveys a portion of a medium on which an image has not yet been printed to a printing area may be used.

上記の実施形態では、流体噴射装置としてインクジェット式プリンターを例に挙げているがこれに限らず、インクジェット技術を応用した各種の流体噴射装置に対して、上記の実施形態と同様の技術を適用してもよい。また、上記実施形態のプリンターが、ファックスやスキャナー装置、コピー装置のような複合的な機器の一部であってもよい。   In the above embodiment, an ink jet printer is exemplified as the fluid ejecting apparatus. However, the present invention is not limited to this, and the same technology as in the above embodiment is applied to various fluid ejecting apparatuses to which the ink jet technology is applied. May be. Further, the printer of the above embodiment may be a part of a complex device such as a fax machine, a scanner device, or a copy device.

1 プリンター、10 コントローラー、11 メインプロセッサー、
12 画像処理プロセッサー、121 色変換ユニット、
13 メインメモリー、131 バッファ、14 メモリーコントローラー、
15 インターフェース部、16 プリンターコントローラー、
20 プリンター機構、21 ヘッド、22 キャリッジ、23 搬送ローラー、
40 ハーフトーンユニット、41 ハーフトーン処理部、
42 ハーフトーン出力バッファ、
50 データ転送ユニット、51 バッファ
1 printer, 10 controller, 11 main processor,
12 image processor, 121 color conversion unit,
13 main memory, 131 buffer, 14 memory controller,
15 interface section, 16 printer controller,
20 printer mechanism, 21 head, 22 carriage, 23 transport roller,
40 halftone unit, 41 halftone processing section,
42 halftone output buffer,
50 data transfer units, 51 buffers

Claims (8)

流体を噴射する複数のノズルが第1の方向に並ぶヘッドと、
入力された画像データを前記ヘッドが表現可能な階調値であるドットデータに変換する複数のハーフトーン処理部を備えるハーフトーンユニットと、
前記ドットデータを前記ヘッドへ転送する前に格納しておく記憶部であって、前記ドットデータの格納領域が複数のグループに分割された記憶部と、
前記ハーフトーンユニットからの前記ドットデータをバッファに格納した後に前記記憶部へ転送するデータ転送部と、
を備え、
前記画像データでは、第2の方向に複数の画素が並ぶ画素の列が前記第2の方向と交差する方向に複数並び、各前記ハーフトーン処理部は、それぞれ割り当てられた前記画素の列に属する画素のデータを、前記第2の方向における一端の画素から他端の画素に向かって順に、前記ドットデータに変換し、
前記記憶部内の前記格納領域における1つのグループ、及び、前記データ転送部内の前記バッファは、それぞれ、前記第1の方向に連続して並ぶ第1の数の前記ノズルに割り当てられる前記ドットデータであり、連続する第2の数の噴射タイミングの前記ドットデータを格納可能であり、
前記データ転送部は、前記バッファが前記ドットデータで一杯になると、当該バッファ内の前記ドットデータを、前記記憶部内の1つのグループへ一括転送する、
ことを特徴とする流体噴射装置。
A head in which a plurality of nozzles for ejecting fluid are arranged in a first direction;
A halftone unit including a plurality of halftone processing units that convert input image data into dot data that is a gradation value that can be expressed by the head;
A storage unit for storing the dot data before transferring to the head, wherein the storage region for the dot data is divided into a plurality of groups;
A data transfer unit that transfers the dot data from the halftone unit to the storage unit after storing the dot data in a buffer;
With
In the image data, a plurality of pixel rows in which a plurality of pixels are arranged in a second direction are arranged in a direction intersecting the second direction, and each of the halftone processing units belongs to the assigned pixel row. Pixel data is converted into the dot data in order from the pixel at one end to the pixel at the other end in the second direction,
One group in the storage area in the storage unit and the buffer in the data transfer unit are the dot data allocated to the first number of the nozzles continuously arranged in the first direction, respectively. The dot data of the second continuous number of ejection timings can be stored;
When the buffer is full of the dot data, the data transfer unit collectively transfers the dot data in the buffer to one group in the storage unit.
A fluid ejecting apparatus.
請求項1に記載の流体噴射装置であって、
前記ハーフトーンユニットは、前記第1の数の整数倍の前記ハーフトーン処理部を備え、前記データ転送部は、前記整数の数の前記バッファを備える、
ことを特徴とする流体噴射装置。
The fluid ejection device according to claim 1,
The halftone unit includes the halftone processing unit that is an integer multiple of the first number, and the data transfer unit includes the integer number of buffers.
A fluid ejecting apparatus.
請求項1または請求項2に記載の流体噴射装置であって、
前記ヘッドと媒体が前記第1の方向と交差する方向に相対移動しながら前記ノズルから前記媒体に向けて流体が噴射される噴射動作と、前記ヘッドと前記媒体が前記第1の方向に相対移動する搬送動作とが繰り返され、一の前記噴射動作で形成される前記交差する方向に沿うドット列の間に他の前記噴射動作でドット列が形成される方式で流体が噴射され、
前記ハーフトーン処理部が、誤差拡散法を行って、前記画素のデータを前記ドットデータに変換し、
前記ハーフトーンユニットは、一の前記噴射動作で形成される前記ドット列の間に形成される前記ドット列の数に1を加算した値に前記第1の数を乗算した数の前記ハーフトーン処理部を少なくとも備える、
ことを特徴とする流体噴射装置。
The fluid ejecting apparatus according to claim 1 or 2,
An ejection operation in which fluid is ejected from the nozzle toward the medium while the head and the medium move relative to each other in a direction intersecting the first direction, and the head and the medium move relative to each other in the first direction. And the conveying operation is repeated, and fluid is ejected in a manner in which dot rows are formed by the other ejection operations between the dot rows along the intersecting direction formed by the one ejection operation,
The halftone processing unit performs an error diffusion method to convert the pixel data into the dot data,
The halftone unit is a number obtained by multiplying the first number by a value obtained by adding 1 to the number of dot rows formed between the dot rows formed by one ejection operation. Comprising at least a part,
A fluid ejecting apparatus.
請求項1または請求項2に記載の流体噴射装置であって、
前記ヘッドと媒体が前記第1の方向と交差する方向に相対移動しながら前記ノズルから前記媒体に向けて流体が噴射される噴射動作と、前記ヘッドと前記媒体が前記第1の方向に相対移動する搬送動作とが繰り返され、一の前記噴射動作で形成される前記交差する方向に沿うドット列の間に他の前記噴射動作でドット列が形成されない方式で流体が噴射され、
前記ハーフトーンユニットは、少なくとも前記第1の数の前記ハーフトーン処理部を備える、
ことを特徴とする流体噴射装置。
The fluid ejecting apparatus according to claim 1 or 2,
An ejection operation in which fluid is ejected from the nozzle toward the medium while the head and the medium move relative to each other in a direction intersecting the first direction, and the head and the medium move relative to each other in the first direction. And the transporting operation is repeated, and the fluid is ejected in a manner in which no dot row is formed in the other jetting operations between the dot rows along the intersecting direction formed by the one jetting operation,
The halftone unit includes at least the first number of the halftone processing units.
A fluid ejecting apparatus.
請求項1から請求項4の何れか1項に記載の流体噴射装置であって、
前記ハーフトーンユニットは、前記複数のハーフトーン処理部から前記ドットデータを受け取って当該ドットデータを前記データ転送部に出力する出力バッファを備え、
前記複数のハーフトーン処理部は、誤差拡散法により、前段の前記画素の列から後段の前記画素の列に向かって順に処理し、
前記複数のハーフトーン処理部の中で或る前記画素の列が割り当てられる前記ハーフトーン処理部が前記ドットデータを出力する前記出力バッファの領域の方が、その前記画素の列に隣接する後段の前記画素の列が割り当てられる前記ハーフトーン処理部が前記ドットデータを出力する前記出力バッファの領域よりも、少なくとも誤差拡散範囲分だけ多くの前記ドットデータを格納できる、
ことを特徴とする流体噴射装置。
The fluid ejection device according to any one of claims 1 to 4,
The halftone unit includes an output buffer that receives the dot data from the plurality of halftone processing units and outputs the dot data to the data transfer unit,
The plurality of halftone processing units sequentially process from the preceding pixel column to the subsequent pixel column by an error diffusion method,
The region of the output buffer in which the halftone processing unit to which the column of a certain pixel is assigned among the plurality of halftone processing units outputs the dot data is in a subsequent stage adjacent to the column of the pixel. The halftone processing unit to which the column of pixels is assigned can store more dot data than the output buffer area that outputs the dot data by at least the error diffusion range.
A fluid ejecting apparatus.
請求項1または請求項2に記載の流体噴射装置であって、
前記ヘッドと媒体が前記第1の方向と交差する方向に相対移動しながら前記ノズルから前記媒体に向けて流体が噴射される噴射動作と、前記ヘッドと前記媒体が前記第1の方向に相対移動する搬送動作とが繰り返され、一の前記噴射動作で形成される前記交差する方向に沿うドット列の間に他の前記噴射動作でドット列が形成される方式で流体が噴射され、
前記ハーフトーン処理部が、誤差拡散法を行わずに、前記画素のデータを前記ドットデータに変換し、
前記ハーフトーンユニットは、少なくとも前記第1の数の前記ハーフトーン処理部を備える、
ことを特徴とする流体噴射装置。
The fluid ejecting apparatus according to claim 1 or 2,
An ejection operation in which fluid is ejected from the nozzle toward the medium while the head and the medium move relative to each other in a direction intersecting the first direction, and the head and the medium move relative to each other in the first direction. And the conveying operation is repeated, and fluid is ejected in a manner in which dot rows are formed by the other ejection operations between the dot rows along the intersecting direction formed by the one ejection operation,
The halftone processing unit converts the pixel data into the dot data without performing an error diffusion method,
The halftone unit includes at least the first number of the halftone processing units.
A fluid ejecting apparatus.
請求項1から請求項6の何れか1項に記載の流体噴射装置であって、
前記データ転送部は、複数の前記バッファを備え、
流体の噴射方式に応じて、前記ハーフトーンユニットからの前記ドットデータを複数の前記バッファに格納する方式が異なる、
ことを特徴とする流体噴射装置。
The fluid ejection device according to any one of claims 1 to 6,
The data transfer unit includes a plurality of the buffers,
Depending on the fluid ejection method, the method of storing the dot data from the halftone unit in a plurality of the buffers is different.
A fluid ejecting apparatus.
請求項1から請求項7の何れか1項に記載の流体噴射装置であって、
流体の噴射方式、及び、ハーフトーン処理方式に応じて、各前記ハーフトーン処理部に割り当てられる前記画素の列が異なる、
ことを特徴とする流体噴射装置。
The fluid ejection device according to any one of claims 1 to 7,
Depending on the fluid ejection method and the halftone processing method, the column of pixels assigned to each of the halftone processing units is different.
A fluid ejecting apparatus.
JP2012192401A 2012-08-31 2012-08-31 Liquid ejection apparatus Pending JP2014046609A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012192401A JP2014046609A (en) 2012-08-31 2012-08-31 Liquid ejection apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012192401A JP2014046609A (en) 2012-08-31 2012-08-31 Liquid ejection apparatus

Publications (1)

Publication Number Publication Date
JP2014046609A true JP2014046609A (en) 2014-03-17

Family

ID=50606753

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012192401A Pending JP2014046609A (en) 2012-08-31 2012-08-31 Liquid ejection apparatus

Country Status (1)

Country Link
JP (1) JP2014046609A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2918440A1 (en) 2014-03-10 2015-09-16 Toyota Jidosha Kabushiki Kaisha Vehicle operation apparatus

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2918440A1 (en) 2014-03-10 2015-09-16 Toyota Jidosha Kabushiki Kaisha Vehicle operation apparatus

Similar Documents

Publication Publication Date Title
JP5211838B2 (en) Correction value calculation method and liquid ejection method
JP5125666B2 (en) Liquid ejection device
JP6095398B2 (en) Recording apparatus and recording method
JP6351286B2 (en) Recording control apparatus and recording control method
JP2009190325A (en) Correction value obtaining method, liquid ejection method, and program
JP2010228227A (en) Method for correcting pixel data, and fluid ejecting apparatus
JP2010035112A (en) Image processing apparatus and method
JP2016172357A (en) Print control unit and print control method
JP6191199B2 (en) Image processing apparatus, image processing apparatus control method, and image processing apparatus control program
JP2014046609A (en) Liquid ejection apparatus
JP2011076156A (en) Apparatus and method for processing image
JP2011005702A (en) Recording apparatus and recording method
US8995017B2 (en) Image processing apparatus and recording apparatus
JP2010228228A (en) Fluid ejecting apparatus and method for correcting pixel data
JP5787474B2 (en) Image processing apparatus, image processing method, and program
JP2009274234A (en) Method of calculating correction value, and method of ejecting liquid
US11386311B2 (en) Recording device and recording method using halftone processing technique
JP2014128952A (en) Image processing device and control program for image processing device
JP2011136501A (en) Printing system, program, and printer
JP6471817B2 (en) Image recording device
JP5230142B2 (en) Inkjet recording apparatus and inkjet recording method
JP2024025162A (en) Printing apparatus and printing method
JP6477074B2 (en) Liquid ejection device
JP2012148533A (en) Printer, printing method, and program
JP2009018487A (en) Liquid discharge method