[go: up one dir, main page]

JP2015192308A - Printing apparatus and image processing method - Google Patents

Printing apparatus and image processing method Download PDF

Info

Publication number
JP2015192308A
JP2015192308A JP2014068240A JP2014068240A JP2015192308A JP 2015192308 A JP2015192308 A JP 2015192308A JP 2014068240 A JP2014068240 A JP 2014068240A JP 2014068240 A JP2014068240 A JP 2014068240A JP 2015192308 A JP2015192308 A JP 2015192308A
Authority
JP
Japan
Prior art keywords
image data
dither mask
image
processing
divided
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
JP2014068240A
Other languages
Japanese (ja)
Inventor
紘史 義若
Hiroshi Yoshiwaka
紘史 義若
大輔 松橋
Daisuke Matsuhashi
大輔 松橋
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 JP2014068240A priority Critical patent/JP2015192308A/en
Publication of JP2015192308A publication Critical patent/JP2015192308A/en
Pending legal-status Critical Current

Links

Landscapes

  • Facsimile Image Signal Circuits (AREA)
  • Color, Gradation (AREA)
  • Image Processing (AREA)

Abstract

【課題】ハーフトーン処理の処理時間が長くなることを抑制することが可能な画像処理方法及びこの方法で画像処理を行う印刷装置を提供する。
【解決手段】プリンター11は、画像データの幅方向において画像データを分割した分割画像データを幅方向に配列させる分割部43と、基本ディザマスク34に基づいて、分割画像データの左側から右側に向けてハーフトーン処理を行うハーフトーン処理部47と、分割画像データの境界と、この境界を跨ぐ基本ディザマスク34との幅方向の差であるオフセット量を算出するオフセット量算出部とを備えている。ハーフトーン処理部47は、左側の分割画像データに対して基本ディザマスク34を用い、右側の分割画像データに対して基本ディザマスク34にオフセット量を反映させた反映ディザマスクを用いる。
【選択図】図1
An image processing method capable of suppressing an increase in processing time of halftone processing and a printing apparatus that performs image processing by this method are provided.
A printer includes a dividing unit that arranges divided image data obtained by dividing the image data in the width direction of the image data in the width direction, and a basic dither mask, from the left side to the right side of the divided image data. A halftone processing unit 47 that performs halftone processing, and an offset amount calculation unit that calculates an offset amount that is a difference in the width direction between the boundary of the divided image data and the basic dither mask 34 across the boundary. . The halftone processing unit 47 uses the basic dither mask 34 for the left divided image data, and uses the reflected dither mask that reflects the offset amount in the basic dither mask 34 for the right divided image data.
[Selection] Figure 1

Description

本発明は、印刷装置及び画像処理方法に関する。   The present invention relates to a printing apparatus and an image processing method.

近年、プリンターや複写機等の印刷装置は、出力画像の解像度が例えば2400dpi又は2800dpi以上といった画像の高解像度化にともない大容量のラインメモリーが必要となる。このため、高解像度の画像に対してスムージング処理及びハーフトーン処理等の画像処理が行われるとき、印刷装置のCPUが保持可能な容量よりもラインメモリーが多くなる場合がある。   In recent years, printing apparatuses such as printers and copiers require a large-capacity line memory as the resolution of an output image becomes higher, for example, 2400 dpi or 2800 dpi or higher. For this reason, when image processing such as smoothing processing and halftone processing is performed on a high-resolution image, the line memory may be larger than the capacity that can be held by the CPU of the printing apparatus.

このような高解像度化された画像をCPUが処理するため、CPUは、印刷装置に入力された画像データをその幅方向において複数の画像データに分割し、分割後の画像データのそれぞれについて画像処理を実行する。これにより、CPUが1度に画像処理を行う画像データが小さくなるため、分割後の画像データに画像処理を行うために保持するラインメモリーを小さくすることができる(例えば、特許文献1参照)。   In order for the CPU to process such a high-resolution image, the CPU divides the image data input to the printing apparatus into a plurality of image data in the width direction, and performs image processing for each of the divided image data. Execute. As a result, the image data that the CPU performs image processing at a time is reduced, so that the line memory held for performing image processing on the divided image data can be reduced (see, for example, Patent Document 1).

特開平9−9066号公報JP-A-9-9066

画像データDRに対してハーフトーン処理を行うとき、一例として、図14(a)に示すように、ディザマスクDMが画像データDRの幅方向(主走査方向)及びその幅方向に直交する方向である搬送方向(副走査方向)に並べられる。また、ディザマスクDMが副走査方向に並べられるとき、画質の低下を抑制するため、ディザマスクDMは、主走査方向に所定量ΔXだけシフトして配置される。   When halftone processing is performed on the image data DR, as an example, as shown in FIG. 14A, the dither mask DM is in the width direction (main scanning direction) of the image data DR and in a direction orthogonal to the width direction. They are arranged in a certain transport direction (sub-scanning direction). Further, when the dither mask DM is arranged in the sub-scanning direction, the dither mask DM is arranged shifted by a predetermined amount ΔX in the main scanning direction in order to suppress deterioration in image quality.

このように画像データDRに対してディザマスクDMが配置されるとき、図14(a)に示すように、画像データDRが分割された場合、分割後の左側の画像データDR1と右側の画像データDR2との境界BRをディザマスクDMが跨ぐ場合がある。このため、境界BRを跨ぐディザマスクDMとその右隣のディザマスクDMとの境界MRと、左側の画像データDR1と右側の画像データDR2との境界BRとが一致しない。   When the dither mask DM is arranged on the image data DR as described above, as shown in FIG. 14A, when the image data DR is divided, the divided left image data DR1 and right image data are divided. The dither mask DM may straddle the boundary BR with DR2. For this reason, the boundary MR between the dither mask DM straddling the boundary BR and the right adjacent dither mask DM does not match the boundary BR between the left image data DR1 and the right image data DR2.

このような状態において、左側の画像データDR1及び右側の画像データDR2のそれぞれを一様なディザマスクDMの配置、例えば図14(a)の左側の画像データDR1に対するディザマスクDMの配置のように設定された場合、次の問題が生じる。例えば、左側の画像データDR1の左端に配置されるディザマスクDMと左側の画像データDR1の左端とが一致しており、その関係に合わせる場合、右側の画像データDR2の左端に配置されるディザマスクDMの左端は、左側の画像データDR1と右側の画像データDR2との境界BRに一致するように配置される。このため、図14(b)に示すように、左側の画像データDR1の右端にハーフトーン処理を行うためのディザマスクDM1と、右側の画像データDR2の左端にハーフトーン処理を行うためのディザマスクDM2とが図中のハッチングで示すように重なり合ってしまう。このため、主走査方向において画像データDRに対してディザマスクDMの連続性が失われる。これにより、印刷された画像の品質が低下するおそれがある。   In such a state, each of the left image data DR1 and the right image data DR2 is arranged in a uniform dither mask DM, for example, as in the dither mask DM with respect to the left image data DR1 in FIG. If set, the following problems occur: For example, the dither mask DM arranged at the left end of the left image data DR1 is coincident with the left end of the left image data DR1, and when matching the relationship, the dither mask arranged at the left end of the right image data DR2 The left end of DM is arranged so as to coincide with the boundary BR between the left image data DR1 and the right image data DR2. Therefore, as shown in FIG. 14B, a dither mask DM1 for performing halftone processing on the right end of the left image data DR1, and a dither mask for performing halftone processing on the left end of the right image data DR2. DM2 overlaps as shown by hatching in the figure. For this reason, the continuity of the dither mask DM is lost with respect to the image data DR in the main scanning direction. This may reduce the quality of the printed image.

この問題を解決するため、ディザマスクDM2のマスクテーブル及びディザマスクDM2におけるハーフトーン処理の開始位置をディザマスクDMの連続性を失わないように設定することが考えられる。このディザマスクDM2の設定は、副走査方向にディザマスクDM2が配置される毎に行う。   In order to solve this problem, it is conceivable to set the mask table of the dither mask DM2 and the start position of the halftone process in the dither mask DM2 so as not to lose the continuity of the dither mask DM. This dither mask DM2 is set every time the dither mask DM2 is arranged in the sub-scanning direction.

このようなディザマスクDM2の計算は、印刷装置のCPU(図示略)が行い、その計算結果を、ハーフトーン処理を行うハーフトーン処理部(図示略)に転送する。そして、ハーフトーン処理部は、設定されたディザマスクDM2に基づいて右側の画像データDR2に対してハーフトーン処理を行う。   The calculation of the dither mask DM2 is performed by a CPU (not shown) of the printing apparatus, and the calculation result is transferred to a halftone processing unit (not shown) that performs halftone processing. Then, the halftone processing unit performs halftone processing on the right image data DR2 based on the set dither mask DM2.

しかし、CPUからハーフトーン処理部にディザマスクDM2のマスクテーブル及び計算結果を転送するため、この転送時間分だけハーフトーン処理の処理時間が長くなる。特に副走査方向にディザマスクDM2を配置する毎にディザマスクDM2を設定しているため、ハーフトーン処理の処理時間が顕著に長くなる。   However, since the mask table and calculation result of the dither mask DM2 are transferred from the CPU to the halftone processing unit, the processing time of the halftone processing is increased by this transfer time. In particular, since the dither mask DM2 is set every time the dither mask DM2 is arranged in the sub-scanning direction, the processing time of the halftone process becomes remarkably long.

本発明は、このような実情に鑑みなされたものであり、その目的は、ハーフトーン処理の処理時間が長くなることを抑制することが可能な画像処理方法及びこの方法で画像処理を行う印刷装置を提供することにある。   The present invention has been made in view of such circumstances, and an object of the present invention is to provide an image processing method capable of suppressing an increase in processing time of halftone processing and a printing apparatus that performs image processing using this method. Is to provide.

以下、上記課題を解決するための手段及びその作用効果について記載する。
上記課題を解決する印刷装置は、媒体に画像の印刷を行う印刷装置であって、前記画像の幅方向において前記画像を分割し、分割後の画像を前記幅方向に配列させる分割部と、基本ディザマスクに基づいて、前記分割後の画像のうちの前記幅方向の一方側の画像から他方側の画像に向けてハーフトーン処理を行うハーフトーン処理部と、前記分割後の画像の境界と、前記境界を跨ぐ基本ディザマスクとの前記幅方向の差であるオフセット量を算出するオフセット量算出部とを備え、前記ハーフトーン処理部は、前記分割後の画像の前記一方側の画像に対しては前記基本ディザマスクを用い、前記分割後の画像のうちの前記他方側の画像に対しては前記基本ディザマスクに前記オフセット量を反映させた反映ディザマスクを用いる。
Hereinafter, means for solving the above-described problems and the effects thereof will be described.
A printing apparatus that solves the above-described problem is a printing apparatus that prints an image on a medium. The printing apparatus divides the image in the width direction of the image and arranges the divided images in the width direction; Based on the dither mask, a halftone processing unit that performs a halftone process from an image on one side in the width direction to an image on the other side of the divided image, and a boundary between the divided images, An offset amount calculation unit that calculates an offset amount that is a difference in the width direction from the basic dither mask that straddles the boundary, and the halftone processing unit applies the image on the one side of the image after the division. Uses the basic dither mask, and a reflection dither mask reflecting the offset amount in the basic dither mask is used for the image on the other side of the divided images.

上記構成によれば、ハーフトーン処理部は、分割後の画像のうちの一方側の画像に基本ディザマスクを用いてハーフトーン処理を行い、分割後の画像のうちの他方側の画像に基本ディザマスクにオフセット量を反映させた反映ディザマスクを用いてハーフトーン処理を行う。このため、分割後の各画像に対して共通の基本ディザマスク及び共通の反映ディザマスクを用いるため、基本ディザマスク及び反映ディザマスクが、画像において幅方向に直交する方向に配置される毎に基本ディザマスク及び反映ディザマスクのそれぞれのハーフトーン処理の開始位置及びマスクテーブルを設定する必要がなくなる。このため、基本ディザマスク及び反映ディザマスクの設定毎にこれらハーフトーン処理の開始位置及びマスクテーブルをハーフトーン処理部に転送する必要がなくなるため、ハーフトーン処理部によるハーフトーン処理の処理時間が長くなることを抑制することができる。   According to the above configuration, the halftone processing unit performs halftone processing on the image on one side of the divided images using the basic dither mask, and performs basic dithering on the image on the other side of the divided images. Halftone processing is performed using a reflection dither mask in which the offset amount is reflected on the mask. For this reason, since a common basic dither mask and a common reflection dither mask are used for each divided image, each time the basic dither mask and the reflection dither mask are arranged in the direction orthogonal to the width direction in the image, the basic dither mask is used. There is no need to set the halftone process start position and mask table for each of the dither mask and the reflected dither mask. This eliminates the need to transfer the start position of the halftone process and the mask table to the halftone processing unit every time the basic dither mask and the reflected dither mask are set, so that the processing time of the halftone processing by the halftone processing unit is long. It can be suppressed.

また、上記印刷装置において、前記オフセット量算出部は、前記媒体に噴射する液体の色毎に前記オフセット量を算出することが好ましい。
上記構成によれば、液体の色毎に基本ディザマスク及び反映ディザマスクにおける分割後の画像のハーフトーン処理の開始位置を設定することができるため、液体の色毎に画質の精度の低下を抑制することができる。
In the printing apparatus, it is preferable that the offset amount calculation unit calculates the offset amount for each color of the liquid ejected onto the medium.
According to the above configuration, it is possible to set the start position of the halftone process of the divided image in the basic dither mask and the reflected dither mask for each liquid color, thereby suppressing deterioration in image quality accuracy for each liquid color. can do.

また、上記印刷装置においては、前記ハーフトーン処理が実行される画素に関する情報を記憶する記憶部を有することが好ましい。
上記構成によれば、印刷装置の記憶部にハーフトーン処理が実行される画素に関する情報が記憶されるため、印刷装置にこれら情報を転送する情報処理装置と協同して使用する場合であっても印刷装置側でハーフトーン処理を行うことができる。したがって、情報処理装置の計算容量(記憶容量)を少なくすることができる。
The printing apparatus preferably includes a storage unit that stores information regarding pixels on which the halftone process is performed.
According to the above configuration, since information related to pixels on which halftone processing is performed is stored in the storage unit of the printing apparatus, even when used in cooperation with an information processing apparatus that transfers the information to the printing apparatus. Halftone processing can be performed on the printing apparatus side. Therefore, the calculation capacity (storage capacity) of the information processing apparatus can be reduced.

上記課題を解決する画像処理方法は、媒体に画像の印刷を行う印刷装置の画像処理方法であって、前記画像の幅方向において前記画像を分割し、分割後の画像を前記幅方向に配列させる分割工程と、基本ディザマスクに基づいて、前記分割後の画像のうちの前記幅方向の一方側の画像から他方側の画像に向けてハーフトーン処理を行うハーフトーン処理工程と、前記分割後の画像の境界と、前記境界を跨ぐ基本ディザマスクとの前記幅方向の差であるオフセット量を算出するオフセット量算出工程とを備え、前記ハーフトーン処理工程において、前記分割後の画像の前記一方側の画像に対して前記基本ディザマスクが用いられ、前記分割後の画像の前記他方側の画像に対して前記基本ディザマスクに前記オフセット量を反映させた反映ディザマスクが用いられる。   An image processing method that solves the above problem is an image processing method of a printing apparatus that prints an image on a medium, and divides the image in the width direction of the image and arranges the divided images in the width direction. A halftone process for performing a halftone process from an image on one side in the width direction to an image on the other side of the divided image based on a basic dither mask; and An offset amount calculating step of calculating an offset amount that is a difference in the width direction between a boundary of the image and a basic dither mask that straddles the boundary, and in the halftone processing step, the one side of the divided image The reflected dither in which the basic dither mask is used for the image of the image and the offset amount is reflected in the basic dither mask for the image on the other side of the divided image. Disk is used.

上記方法によれば、ハーフトーン処理工程において、分割後の画像のうちの一方側の画像に基本ディザマスクを用いたハーフトーン処理が行われ、分割後の画像のうちの他方側の画像に基本ディザマスクにオフセット量を反映させた反映ディザマスクを用いたハーフトーン処理が行われる。このため、分割後の各画像に対して共通の基本ディザマスク及び共通の反映ディザマスクを用いるため、基本ディザマスク及び反映ディザマスクが、画像において幅方向に直交する方向に配置される毎に基本ディザマスク及び反映ディザマスクのそれぞれのハーフトーン処理の開始位置及びマスクテーブルを設定する必要がなくなる。このため、これらハーフトーン処理の開始位置及びマスクテーブルを、基本ディザマスク及び反映ディザマスクの設定毎にハーフトーン処理を行うための処理装置に転送する必要がなくなるため、ハーフトーン処理工程におけるハーフトーン処理の処理時間が長くなることを抑制することができる。   According to the above method, in the halftone processing step, halftone processing using a basic dither mask is performed on one image of the divided images, and the other image of the divided images is fundamentally processed. Halftone processing is performed using a reflection dither mask in which the offset amount is reflected in the dither mask. For this reason, since a common basic dither mask and a common reflection dither mask are used for each divided image, each time the basic dither mask and the reflection dither mask are arranged in the direction orthogonal to the width direction in the image, the basic dither mask is used. There is no need to set the halftone process start position and mask table for each of the dither mask and the reflected dither mask. Therefore, it is not necessary to transfer the start position of the halftone process and the mask table to a processing apparatus for performing the halftone process every time the basic dither mask and the reflected dither mask are set. It can suppress that the processing time of a process becomes long.

また、上記画像処理方法において、前記印刷装置は、前記オフセット量算出工程において前記媒体に噴射する液体の色毎に前記オフセット量を算出することが好ましい。
上記方法によれば、液体の色毎に基本ディザマスク及び反映ディザマスクにおける分割後の画像のハーフトーン処理の開始位置を設定することができるため、液体の色毎に画質の精度の低下を抑制することができる。
In the image processing method, it is preferable that the printing apparatus calculates the offset amount for each color of liquid ejected on the medium in the offset amount calculation step.
According to the above method, it is possible to set the start position of the halftone processing of the divided image in the basic dither mask and the reflected dither mask for each liquid color, thereby suppressing deterioration in image quality accuracy for each liquid color. can do.

一実施形態のインクジェット式プリンターの概略構成図。1 is a schematic configuration diagram of an ink jet printer according to an embodiment. 同プリンターが実行する画像処理の処理手順を示すフローチャート。6 is a flowchart illustrating a processing procedure of image processing executed by the printer. 画像が分割されていない状態のスムージング処理の処理方向を示す画像データの模式図。The schematic diagram of the image data which shows the process direction of the smoothing process in the state where the image is not divided | segmented. ハーフトーン処理の一例を示す模式図。The schematic diagram which shows an example of a halftone process. 画像が分割されていない状態の画像データに対するディザマスクの配置を示す画像データの模式図。The schematic diagram of image data which shows arrangement | positioning of the dither mask with respect to the image data of the state in which the image is not divided | segmented. 分割スムージング処理の処理手順を示すフローチャート。The flowchart which shows the process sequence of a division | segmentation smoothing process. (a)〜(c)は分割スムージング処理の処理内容を示す画像データの模式図。(A)-(c) is a schematic diagram of the image data which shows the processing content of a division | segmentation smoothing process. 分割スムージング処理の単位画像データの処理の順番を示す画像データの模式図。The schematic diagram of the image data which shows the order of the process of the unit image data of a division | segmentation smoothing process. 分割ハーフトーン処理の処理手順を示すフローチャート。The flowchart which shows the process sequence of a division | segmentation halftone process. 画像が分割された状態の画像データに対する基本ディザマスクの配置を示す画像データの模式図。The schematic diagram of image data which shows arrangement | positioning of the basic dither mask with respect to the image data in the state where the image was divided | segmented. 反映ディザマスクの作成の説明のための画像データの模式図。The schematic diagram of the image data for description of creation of a reflection dither mask. 第1ディザマスク及び第2ディザマスクの作成の説明のための画像データの模式図。The schematic diagram of the image data for description of creation of the 1st dither mask and the 2nd dither mask. 変形例の分割ハーフトーン処理における基本ディザマスクの配置を示す画像データの模式図。The schematic diagram of the image data which shows arrangement | positioning of the basic dither mask in the division | segmentation halftone process of a modification. (a)及び(b)は従来のプリンターにおいて、画像が分割されていない状態の画像データに対するディザマスクの配置を示す画像データの模式図。(A) And (b) is the schematic diagram of the image data which shows arrangement | positioning of the dither mask with respect to the image data of the state in which the image is not divided | segmented in the conventional printer.

以下、印刷装置をインクジェット式プリンターに具体化した一実施形態を図面に従って説明する。
図1に示すように、印刷装置の一例としてのインクジェット式プリンター(以下、「プリンター11」)は、媒体の一例である長尺シート状の連続紙Pを搬送する搬送装置12と、搬送装置12によって搬送される連続紙Pに対してインク(液体)を噴射して印刷を行う印刷部13とを備えている。また、プリンター11は、搬送装置12と印刷部13とを制御する制御装置30と、印刷部13にインクを供給する4つのカートリッジ14とを備えている。
Hereinafter, an embodiment in which a printing apparatus is embodied in an ink jet printer will be described with reference to the drawings.
As shown in FIG. 1, an ink jet printer (hereinafter “printer 11”) as an example of a printing apparatus includes a transport device 12 that transports a continuous sheet P of a long sheet that is an example of a medium, and a transport device 12. And a printing unit 13 that performs printing by ejecting ink (liquid) onto the continuous paper P conveyed by the printer. The printer 11 includes a control device 30 that controls the transport device 12 and the printing unit 13, and four cartridges 14 that supply ink to the printing unit 13.

搬送装置12は、連続紙Pを繰り出す繰出部15と、繰出部15から繰り出されて印刷部13によって印刷が行われた連続紙Pを巻き取る巻取部17とを備えている。すなわち、図1では、連続紙Pにおける搬送方向Y(以下、「副走査方向Y」とも称する。図1では右方向)の上流側となる左側の位置に繰出部15が配置される一方、下流側となる右側の位置に巻取部17が配置されている。なお、副走査方向Yにおいては、搬送方向Yの上流側を「後側」とし、搬送方向Yの下流側を「前側」としている。   The transport device 12 includes a feeding unit 15 that feeds the continuous paper P, and a winding unit 17 that winds the continuous paper P fed from the feeding unit 15 and printed by the printing unit 13. That is, in FIG. 1, the feeding unit 15 is arranged at the left side which is the upstream side in the transport direction Y (hereinafter also referred to as “sub-scanning direction Y” in FIG. 1) in the continuous paper P, while the downstream side The winding unit 17 is disposed at the right side position. In the sub-scanning direction Y, the upstream side in the transport direction Y is “rear side”, and the downstream side in the transport direction Y is “front side”.

印刷部13は、繰出部15と巻取部17との間の位置に連続紙Pの搬送経路と対向するように配置されている。印刷部13における連続紙Pの搬送経路と対向する面には、連続紙Pにインクを噴射するための複数のノズル13aが形成されている。   The printing unit 13 is disposed at a position between the feeding unit 15 and the winding unit 17 so as to face the conveyance path of the continuous paper P. A plurality of nozzles 13 a for ejecting ink onto the continuous paper P are formed on the surface of the printing unit 13 that faces the transport path of the continuous paper P.

また、印刷部13に対して連続紙Pの搬送経路を挟んで対向する位置には、連続紙Pを支持する支持部材19が配置されている。支持部材19における印刷部13との対向面は、搬送される連続紙Pを支持する水平な支持面19aとされている。   Further, a support member 19 that supports the continuous paper P is disposed at a position facing the printing unit 13 across the conveyance path of the continuous paper P. A surface of the support member 19 that faces the printing unit 13 is a horizontal support surface 19a that supports the continuous paper P being conveyed.

4つのカートリッジ14には、シアン(C)、マゼンタ(M)、イエロー(Y)、ブラック(K)のそれぞれ異なる種類のインクが収容されている。これらカートリッジ14は、4本の供給路14aを介して印刷部13に接続されている。カートリッジ14内のインクは、供給ポンプ(図示略)により印刷部13に供給される。   The four cartridges 14 contain different types of inks of cyan (C), magenta (M), yellow (Y), and black (K). These cartridges 14 are connected to the printing unit 13 via four supply paths 14a. The ink in the cartridge 14 is supplied to the printing unit 13 by a supply pump (not shown).

繰出部15には、連続紙Pの搬送方向Yと直交する方向である連続紙Pの幅方向X(以下、「主走査方向X」とも称する。図1では紙面と直交する方向)に延びる繰出軸16が回転駆動可能に設けられている。繰出軸16には、連続紙Pが予めロール状に巻かれた状態で繰出軸16と一体回転可能に支持されている。そして、繰出軸16が回転駆動することで、繰出軸16から連続紙Pがその搬送経路の下流側に向かって繰り出される。   The feeding unit 15 feeds in the width direction X of the continuous paper P (hereinafter also referred to as “main scanning direction X”, the direction orthogonal to the paper surface in FIG. 1), which is a direction orthogonal to the transport direction Y of the continuous paper P. The shaft 16 is provided so as to be rotationally driven. A continuous paper P is supported on the feeding shaft 16 so as to be integrally rotatable with the feeding shaft 16 in a state where the continuous paper P is wound in a roll shape in advance. Then, when the feeding shaft 16 is driven to rotate, the continuous paper P is fed from the feeding shaft 16 toward the downstream side of the transport path.

繰出軸16の右斜め上方には、繰出軸16から繰り出された連続紙Pを巻き付けて印刷部13側に導くための第1中継ローラー20が回転可能に配置されている。連続紙Pの搬送経路における第1中継ローラー20の下流側には、回転駆動することで第1中継ローラー20側から搬送される連続紙Pを挟持しながら支持面19aに導く給紙ローラー対21が配置されている。   A first relay roller 20 for winding the continuous paper P fed from the feeding shaft 16 and guiding it to the printing unit 13 side is disposed rotatably and obliquely above the feeding shaft 16. On the downstream side of the first relay roller 20 in the transport path of the continuous paper P, a pair of paper feed rollers 21 that are driven to rotate and are guided to the support surface 19a while sandwiching the continuous paper P transported from the first relay roller 20 side. Is arranged.

連続紙Pの搬送経路における支持面19aの下流側には、回転駆動することで連続紙Pにおける印刷済みの領域を支持面19a上から連続紙Pの搬送経路の下流側に連続紙Pを挟持しながら導く排紙ローラー対22が配置されている。連続紙Pの搬送経路における排紙ローラー対22の下流側には、排紙ローラー対22側から搬送される連続紙Pを巻き付けて巻取部17に導くための第2中継ローラー23が回転可能に配置されている。巻取部17は、第2中継ローラー23の右斜め下方に位置している。   On the downstream side of the support surface 19a in the conveyance path of the continuous paper P, the continuous paper P is sandwiched from the support surface 19a to the downstream side of the conveyance path of the continuous paper P by rotating the rotation. A pair of paper discharge rollers 22 is arranged to guide it. The second relay roller 23 for winding the continuous paper P conveyed from the discharge roller pair 22 side and guiding it to the take-up unit 17 is rotatable on the downstream side of the discharge roller pair 22 in the conveyance path of the continuous paper P. Is arranged. The winding unit 17 is located obliquely below and to the right of the second relay roller 23.

巻取部17には、連続紙Pの幅方向Xに延びる巻取軸18が回転駆動可能に設けられている。そして、巻取軸18が回転駆動することで、第2中継ローラー23側から搬送される印刷済みの連続紙Pが巻取軸18によって順次巻き取られる。   A winding shaft 18 extending in the width direction X of the continuous paper P is provided in the winding unit 17 so as to be rotatable. Then, when the winding shaft 18 is rotationally driven, the printed continuous paper P conveyed from the second relay roller 23 side is sequentially wound by the winding shaft 18.

制御装置30は、CPU40、ROM31、RAM32、不揮発性メモリーであり、記憶部の一例としてのEEPROM33、通信部35、及びプリンター制御部36を備えている。CPU40、ROM31、RAM32、EEPROM33、通信部35、及びプリンター制御部36は、バス37を通じて互いに接続されている。   The control device 30 is a CPU 40, a ROM 31, a RAM 32, and a nonvolatile memory, and includes an EEPROM 33, a communication unit 35, and a printer control unit 36 as an example of a storage unit. The CPU 40, ROM 31, RAM 32, EEPROM 33, communication unit 35, and printer control unit 36 are connected to each other through a bus 37.

CPU40は、ROM31に記憶されたプログラムを実行することにより、印刷制御に必要な画像処理を行う。この画像処理は、例えば色変換処理、スムージング処理、ハーフトーン処理、及びラスタライズ処理を含む。   The CPU 40 performs image processing necessary for print control by executing a program stored in the ROM 31. This image processing includes, for example, color conversion processing, smoothing processing, halftone processing, and rasterization processing.

RAM32は、CPU40の演算結果及びその他のデータを一時的に記憶している。EEPROM33には、基本ディザマスク34が記憶されている。基本ディザマスク34は、ハーフトーン処理に使用され、複数の異なる閾値を持つマスクテーブルにより構成されている。基本ディザマスク34は、主走査方向XにM個(Mは自然数)、副走査方向YにL個(Lは自然数)の画素サイズを有する(図4参照)。この基本ディザマスク34は、色毎に異なる画素サイズ及びマスクテーブルを有する。   The RAM 32 temporarily stores calculation results of the CPU 40 and other data. A basic dither mask 34 is stored in the EEPROM 33. The basic dither mask 34 is used for halftone processing, and is composed of a mask table having a plurality of different threshold values. The basic dither mask 34 has a pixel size of M (M is a natural number) in the main scanning direction X and L (L is a natural number) in the sub-scanning direction Y (see FIG. 4). The basic dither mask 34 has a different pixel size and mask table for each color.

通信部35は、例えばパーソナルコンピューター等の情報処理装置により構成された画像生成装置100が生成する印刷用の画像データを受信する。そして、通信部35は、CPU40に画像データを送信する。   The communication unit 35 receives image data for printing generated by the image generation apparatus 100 configured by an information processing apparatus such as a personal computer. Then, the communication unit 35 transmits image data to the CPU 40.

CPU40は、ソフトウェア(プログラム)によりそれぞれ実現される機能部分として、色変換部41、幅算出部42、分割部43、スムージング処理部44、合成部45、オフセット量算出部46、ハーフトーン処理部47、及びラスタライズ処理部48を備えている。   The CPU 40 includes a color conversion unit 41, a width calculation unit 42, a division unit 43, a smoothing processing unit 44, a synthesis unit 45, an offset amount calculation unit 46, and a halftone processing unit 47 as functional parts respectively realized by software (program). And a rasterization processing unit 48.

色変換部41は、通信部35から送信された画像データを受信する。受信した画像データは、レッド(R)、グリーン(G)、及びブルー(B)の3色の色成分からなるRGB画像データである。色変換部41は、RGB画像データに対して色変換処理を行う。色変換処理とは、R・G・Bの階調値からなる画像データをプリンター11で使用するシアン(C)・マゼンタ(M)・イエロー(Y)・ブラック(K)の各色の階調値のデータであるCMYK画像データに変換する処理である。このような処理は、図示しない色変換テーブル(ルックアップテーブル)を参照して行われる。なお、色変換テーブルは、R・G・Bの各階調値の組み合わせで表現される色をC・M・Y・Kの各階調値の組み合わせで表現するために使用される変換テーブルデータである。また、このCMYK画像データは、色毎に256階調値を持つデータとして表現されている。なお、以下の説明において、画像データは、色変換処理後の画像データを示す。   The color conversion unit 41 receives the image data transmitted from the communication unit 35. The received image data is RGB image data including three color components of red (R), green (G), and blue (B). The color conversion unit 41 performs color conversion processing on the RGB image data. Color conversion processing is the gradation value of each color of cyan (C), magenta (M), yellow (Y), and black (K) that uses image data composed of R, G, and B gradation values in the printer 11. This is a process of converting the data into CMYK image data. Such processing is performed with reference to a color conversion table (lookup table) (not shown). The color conversion table is conversion table data used to express a color expressed by a combination of R, G, and B gradation values by a combination of C, M, Y, and K gradation values. . The CMYK image data is expressed as data having 256 gradation values for each color. In the following description, image data represents image data after color conversion processing.

幅算出部42は、画像データの幅方向X、すなわち画像データの主走査方向Xの画素数を算出する。
分割部43は、画像データの主走査方向Xにおいて画像データを分割する。分割部43は、幅算出部42により算出された画像データの主走査方向Xの画素数に応じて画像データを分割する数を設定する。なお、以下の説明において、主走査方向Xに分割された画像データを「分割画像データ」とも称する。
The width calculation unit 42 calculates the number of pixels in the width direction X of the image data, that is, the main scanning direction X of the image data.
The dividing unit 43 divides the image data in the main scanning direction X of the image data. The dividing unit 43 sets the number by which the image data is divided according to the number of pixels in the main scanning direction X of the image data calculated by the width calculating unit 42. In the following description, the image data divided in the main scanning direction X is also referred to as “divided image data”.

スムージング処理部44は、画像データを受信し、画像データに対して、スムージングマトリクス(平滑化フィルター)を用いて、画像データの濃淡を平滑化する。平滑化フィルターとしては、一例として、注目画素の複数の周辺画素の濃度の中央値を注目画素の濃度とするメディアンフィルターを用いることができる。   The smoothing processing unit 44 receives the image data, and smoothes the density of the image data using a smoothing matrix (smoothing filter). As an example of the smoothing filter, a median filter that uses the median density of the peripheral pixels of the pixel of interest as the density of the pixel of interest can be used.

スムージング処理部44は、画像データの各色について個別にスムージング処理を行う。また、スムージング処理部44は、各色の画像データのスムージング処理において、画像データを副走査方向Yにおいて複数個に分割し、その分割後の画像データを1つの処理単位としてスムージング処理を行う。なお、以下の説明において、1つの処理単位となる副走査方向Yに分割された画像データを「単位画像データ」とも称する。   The smoothing processing unit 44 performs a smoothing process on each color of the image data individually. Further, in the smoothing process of the image data of each color, the smoothing processing unit 44 divides the image data into a plurality of pieces in the sub-scanning direction Y, and performs the smoothing process using the divided image data as one processing unit. In the following description, image data divided in the sub-scanning direction Y as one processing unit is also referred to as “unit image data”.

合成部45は、分割部43による分割画像データに対してスムージング処理を行ったとき、スムージング処理後の分割画像データを合成する。
オフセット量算出部46は、分割画像データに対してハーフトーン処理を行うとき、分割画像データに対する基本ディザマスク34の主走査方向Xのオフセット量Qx(図10参照)を算出する。オフセット量Qxは、主走査方向Xに隣り合う分割画像データの境界BD(図10参照)と、この境界を跨ぐ基本ディザマスク34を含み、且つ主走査方向Xに隣り合う基本ディザマスク34の境界との距離を示す。オフセット量算出部46は、C・M・Y・Kの色毎にオフセット量Qxを算出する。
The synthesizing unit 45 synthesizes the divided image data after the smoothing process when the smoothing process is performed on the divided image data by the dividing unit 43.
When the halftone process is performed on the divided image data, the offset amount calculation unit 46 calculates an offset amount Qx (see FIG. 10) of the basic dither mask 34 for the divided image data in the main scanning direction X. The offset amount Qx includes a boundary BD (see FIG. 10) of the divided image data adjacent in the main scanning direction X and a basic dither mask 34 adjacent to the boundary in the main scanning direction X. And the distance. The offset amount calculation unit 46 calculates the offset amount Qx for each of C, M, Y, and K colors.

ハーフトーン処理部47は、分割されていない画像データに対して基本ディザマスク34を用いてハーフトーン処理を行い、分割画像データに対して基本ディザマスク34にオフセット量Qxを反映した反映ディザマスク34a(図11参照)を併用してハーフトーン処理を行う。ハーフトーン処理は、256階調の画像データを印刷用の2階調の画像データに階調変換する処理である。この2階調の画像データは、各色のインクドットについてドットを形成する画素及びドットを形成しない画素からなるドットデータである。   The halftone processing unit 47 performs halftone processing on the undivided image data using the basic dither mask 34, and the reflected dither mask 34a reflecting the offset amount Qx on the basic dither mask 34 on the divided image data. (See FIG. 11) is used together to perform halftone processing. The halftone process is a process for converting the gradation of image data of 256 gradations into image data of two gradations for printing. The two-tone image data is dot data composed of pixels that form dots and pixels that do not form dots for each color ink dot.

ハーフトーン処理部47は、画像データ(分割画像データ)の各色について個別にハーフトーン処理を行う。また、ハーフトーン処理部47は、単位画像データ毎にハーフトーン処理を行う。   The halftone processing unit 47 individually performs halftone processing for each color of the image data (divided image data). The halftone processing unit 47 performs halftone processing for each unit image data.

ラスタライズ処理部48は、ハーフトーン処理部47からのドットデータを受け取り、インターレース処理を行う。インターレース処理は、ドットデータをドットの形成順序を考慮しながらプリンター制御部36に転送すべき順序に並べ替える処理である。その後、インターレース処理が行われた画像データをプリンター制御部36に出力する。   The rasterization processing unit 48 receives the dot data from the halftone processing unit 47 and performs interlace processing. The interlacing process is a process of rearranging dot data in an order to be transferred to the printer control unit 36 in consideration of the dot formation order. Thereafter, the image data subjected to the interlace processing is output to the printer control unit 36.

プリンター制御部36は、ラスタライズ処理部48によりインターレース処理が行われた画像データを読み込み、この画像データに基づいて搬送装置12及び印刷部13を制御する。   The printer control unit 36 reads the image data that has been interlaced by the rasterization processing unit 48 and controls the transport device 12 and the printing unit 13 based on the image data.

次に、図2〜図12を参照して、CPU40が実行する画像処理の処理手順について説明する。なお、図2〜図12を参照する以下の説明において、符号が付されたプリンター11の各構成要素は、図1に記載されたプリンター11の各構成要素を示す。   Next, a processing procedure of image processing executed by the CPU 40 will be described with reference to FIGS. In the following description with reference to FIGS. 2 to 12, each component of the printer 11 denoted by a reference numeral represents each component of the printer 11 described in FIG. 1.

図2に示すように、CPU40は、ステップS10において、色変換処理された画像データの幅方向X(主走査方向X)の画素数を算出し、ステップS20において、画像データの幅方向X(主走査方向X)の画素数が閾値以上か否かを判定する。この閾値は、CPU40が保持可能なラインメモリーの上限値であり、プリンター11の仕様により決められている。   As shown in FIG. 2, the CPU 40 calculates the number of pixels in the width direction X (main scanning direction X) of the color-converted image data in step S10, and in step S20, the CPU 40 calculates the width direction X of the image data (main It is determined whether the number of pixels in the scanning direction X) is equal to or greater than a threshold value. This threshold is an upper limit value of the line memory that can be held by the CPU 40, and is determined by the specifications of the printer 11.

また、画像データの主走査方向Xの画素数は、プリンター11の印刷モードにより異なる。具体的には、印刷品質が高い高解像度の印刷モードが選択された場合、画像データの主走査方向Xの画素数が多くなり、印刷品質が低い低解像度の印刷モードが選択された場合、画像データの主走査方向Xの画素数が少なくなる。   Further, the number of pixels in the main scanning direction X of the image data varies depending on the print mode of the printer 11. Specifically, when a high-resolution print mode with high print quality is selected, the number of pixels in the main scanning direction X of the image data increases, and when a low-resolution print mode with low print quality is selected, the image The number of pixels in the main scanning direction X of data is reduced.

そして、CPU40は、画像データの主走査方向Xの画素数が閾値未満のとき(ステップS20:NO)、ステップS30において画像データを主走査方向Xに分割しない状態でスムージング処理を行う(通常スムージング処理)。その後、CPU40は、ステップS40において画像データを主走査方向Xに分割しない状態でハーフトーン処理を行う(通常ハーフトーン処理)。   Then, when the number of pixels in the main scanning direction X of the image data is less than the threshold value (step S20: NO), the CPU 40 performs the smoothing process without dividing the image data in the main scanning direction X in step S30 (normal smoothing process). ). Thereafter, the CPU 40 performs halftone processing in a state where the image data is not divided in the main scanning direction X in step S40 (normal halftone processing).

通常スムージング処理の処理方法について図3を参照して説明する。なお、以下の説明は、画像データの各色のいずれについても共通である。
CPU40は、画像データについて単位画像データ毎にスムージング処理を行う。スムージング処理は、図中の破線の矢印で示すように、画像データのうちの1行目の単位画像データである画像データDc1の左端から主走査方向Xに順に処理していく。そして、CPU40は、画像データDc1の右端までスムージング処理が完了したとき、画像データの2行目の単位画像データである画像データDc2の左端から主走査方向Xに順に右端まで処理していく。以下、このような処理が画像データの全体にわたり繰り返し行われる。そして、CPU40は、画像データの全色について同様にスムージング処理を行ったとき、通常スムージング処理を終了する。
The normal smoothing processing method will be described with reference to FIG. The following description is common to all the colors of the image data.
The CPU 40 performs a smoothing process on the image data for each unit image data. The smoothing process is sequentially performed in the main scanning direction X from the left end of the image data Dc1, which is the unit image data in the first row of the image data, as indicated by the dashed arrows in the figure. Then, when the smoothing process is completed to the right end of the image data Dc1, the CPU 40 sequentially processes from the left end of the image data Dc2, which is unit image data in the second row of the image data, to the right end in the main scanning direction X. Hereinafter, such processing is repeatedly performed over the entire image data. Then, the CPU 40 ends the normal smoothing process when the smoothing process is similarly performed for all the colors of the image data.

次に、通常ハーフトーン処理の処理方法について図4及び図5を参照して説明する。なお、図4は、図示の都合上、画像データのうちの一部のシアン(C)の画素データについてのみ示している。また、以下の説明は、画像データの他の色のいずれについても当てはまるため、これらを代表してシアン(C)の画像データについて説明する。   Next, a normal halftone processing method will be described with reference to FIGS. FIG. 4 shows only a part of cyan (C) pixel data in the image data for convenience of illustration. The following description applies to any of the other colors of the image data, and therefore, cyan (C) image data will be described as a representative example.

図4に示すとおり、CPU40は、画像データの各画素データである各画素の階調値を、基本ディザマスク34のマスクテーブルの閾値と比較する。そして、CPU40は、各画素の階調値が基本ディザマスク34の対応するマスクテーブルの閾値よりも大きい場合、ドットを形成する。一方、CPU40は、各画素データの階調値が基本ディザマスク34の対応するマスクテーブルの閾値以下の場合、ドットを形成しない。このようにして、CPU40は、2階調の画像データであるドットデータを作成する。   As shown in FIG. 4, the CPU 40 compares the gradation value of each pixel, which is each pixel data of the image data, with the threshold value of the mask table of the basic dither mask 34. Then, the CPU 40 forms a dot when the gradation value of each pixel is larger than the threshold value of the corresponding mask table of the basic dither mask 34. On the other hand, when the gradation value of each pixel data is equal to or less than the threshold value of the corresponding mask table of the basic dither mask 34, the CPU 40 does not form a dot. In this way, the CPU 40 creates dot data that is two-tone image data.

図5に示すように、CPU40は、画像データに対して基本ディザマスク34を配置する。基本ディザマスク34は、印刷品質の向上を目的として、副走査方向Yに隣り合う基本ディザマスク34との間で主走査方向Xに所定量(以下、「シフト量Ms」)だけシフトしている。そして、図中の破線の矢印で示すように、CPU40は、画像データの副走査方向Yの前端かつ主走査方向Xの左端から主走査方向Xに向けて右端まで順に図4を用いて説明したハーフトーン処理を行う。このハーフトーン処理において、例えば1つの基本ディザマスク34に対して副走査方向Yに5個の単位画像データが配置される。5行の単位画像データの左端から右端にわたりハーフトーン処理が行われた後、副走査方向Yに隣り合う基本ディザマスク34を用いて、次の5行の単位画像データについてハーフトーン処理が行われる。このような手順にて画像データの全体にわたりハーフトーン処理が行われる。なお、副走査方向Yに隣り合う基本ディザマスク34のシフト量Msは、各色の画像データ毎に個別に設定されている。   As shown in FIG. 5, the CPU 40 places a basic dither mask 34 on the image data. The basic dither mask 34 is shifted by a predetermined amount (hereinafter referred to as “shift amount Ms”) in the main scanning direction X with respect to the basic dither mask 34 adjacent in the sub scanning direction Y for the purpose of improving the print quality. . 4, the CPU 40 has been described with reference to FIG. 4 in order from the front end in the sub-scanning direction Y of the image data to the right end in the main scanning direction X from the left end in the main scanning direction X. Perform halftone processing. In this halftone process, for example, five unit image data are arranged in the sub-scanning direction Y with respect to one basic dither mask 34. After the halftone process is performed from the left end to the right end of the unit image data of 5 rows, the halftone process is performed on the next unit image data of 5 rows using the basic dither mask 34 adjacent in the sub-scanning direction Y. . With such a procedure, halftone processing is performed on the entire image data. Note that the shift amount Ms of the basic dither mask 34 adjacent in the sub-scanning direction Y is individually set for each color of image data.

また、図2に示すように、CPU40は、画像データの主走査方向Xの画素数が閾値以上のとき(ステップS20:YES)、ステップS50において分割工程の一例として画像データを主走査方向Xに分割する。そして、CPU40は、ステップS60において分割スムージング処理を行い、ステップS60の分割スムージング処理が完了した後、ステップS70において分割ハーフトーン処理を行う。   As shown in FIG. 2, when the number of pixels in the main scanning direction X of the image data is equal to or larger than the threshold value (step S20: YES), the CPU 40 sets the image data in the main scanning direction X as an example of a division process in step S50. To divide. And CPU40 performs a division | segmentation smoothing process in step S60, and after the division | segmentation smoothing process of step S60 is completed, it performs a division | segmentation halftone process in step S70.

分割スムージング処理の詳細な内容について図6〜図8を参照して説明する。なお、以下では、一例として、シアン(C)の画像データが主走査方向Xに2分割された場合について説明する。また、分割スムージング処理の説明の便宜上、画像データのうちの単位画像データについて説明する。   The detailed content of the division smoothing process will be described with reference to FIGS. In the following, a case where cyan (C) image data is divided into two in the main scanning direction X will be described as an example. Further, for convenience of description of the divided smoothing process, unit image data of the image data will be described.

図7(a)に示すように、単位画像データは、分割部43により、主走査方向Xの左側の画像データである第1画像データDdc1と、主走査方向Xの右側の画像データである第2画像データDdc2とに分割される。   As shown in FIG. 7A, the unit image data is divided by the dividing unit 43 so that the first image data Ddc1 that is image data on the left side in the main scanning direction X and the image data that is image data on the right side in the main scanning direction X. Divided into two image data Ddc2.

図6に示すように、CPU40は、ステップS61において、設定工程の一例として第2画像データDdc2に重複領域Dovlを追加する。具体的には、図7(b)に示すように、CPU40は、第2画像データDdc2の主走査方向Xの左端を左方向に(第1画像データDdc1に向けて)延ばし、所定の画素数により形成された重複領域Dovlを追加する。この重複領域Dovlは、第1画像データDdc1の右端に相当する画素データを有する。   As shown in FIG. 6, in step S <b> 61, the CPU 40 adds an overlapping area Dovl to the second image data Ddc <b> 2 as an example of a setting process. Specifically, as shown in FIG. 7B, the CPU 40 extends the left end of the second image data Ddc2 in the main scanning direction X to the left (toward the first image data Ddc1), and has a predetermined number of pixels. The overlapping area Dovl formed by the above is added. This overlapping area Dovl has pixel data corresponding to the right end of the first image data Ddc1.

図6に示すように、CPU40は、ステップS62において、第2画像データDdc2に対してスムージング処理を行う。このスムージング処理は、上述のスムージング処理と同様の処理であり、重複領域Dovlの左端から第2画像データDdc2の右端まで右方向に向けて順に行う。   As illustrated in FIG. 6, the CPU 40 performs a smoothing process on the second image data Ddc2 in step S62. This smoothing process is the same process as the above-described smoothing process, and is performed sequentially from the left end of the overlapping area Dovl to the right end of the second image data Ddc2 in the right direction.

そして、CPU40は、ステップS63において、第1画像データDdc1に対してスムージング処理を行う。具体的には、図7(b)に示すように、CPU40は、第1画像データDdc1については第2画像データDdc2とは反対側(同図では左端側)の画素からスムージング処理を行う。そして次に、CPU40は、ステップS64において、合成工程の一例として、第1画像データDdc1と第2画像データDdc2とを合成する。具体的には、スムージング処理後の第1画像データDdc1の右端が第2画像データDdc2の重複領域Dovlに重なるように第1画像データDdc1を配置する。このとき、図7(c)に示すように、重複領域Dovlの画素データは、スムージング処理後の第1画像データDdc1の右端の画素データにより上書きされる。   In step S63, the CPU 40 performs a smoothing process on the first image data Ddc1. Specifically, as shown in FIG. 7B, the CPU 40 performs the smoothing process on the first image data Ddc1 from the pixel on the opposite side (the left end side in the figure) from the second image data Ddc2. Next, in step S64, the CPU 40 synthesizes the first image data Ddc1 and the second image data Ddc2 as an example of a synthesis process. Specifically, the first image data Ddc1 is arranged so that the right end of the first image data Ddc1 after the smoothing process overlaps the overlapping area Dovl of the second image data Ddc2. At this time, as shown in FIG. 7C, the pixel data of the overlapping region Dovl is overwritten with the pixel data at the right end of the first image data Ddc1 after the smoothing process.

図8に示すように、CPU40は、第2画像データDdc2及び第1画像データDdc1の順にスムージング処理を行い、第1画像データDdc1と第2画像データDdc2とを合成した後、副走査方向Yに隣り合う第1画像データDdc1及び第2画像データDdc2に移行する。そしてCPU40は、その第2画像データDdc2及び第1画像データDdc1の順にスムージング処理を行い、第1画像データDdc1と第2画像データDdc2とを合成する。このような処理順番にて画像データの全体にわたりスムージング処理を行う。   As shown in FIG. 8, the CPU 40 performs the smoothing process in the order of the second image data Ddc2 and the first image data Ddc1, combines the first image data Ddc1 and the second image data Ddc2, and then in the sub-scanning direction Y. Transition to adjacent first image data Ddc1 and second image data Ddc2. Then, the CPU 40 performs smoothing processing in the order of the second image data Ddc2 and the first image data Ddc1, and synthesizes the first image data Ddc1 and the second image data Ddc2. Smoothing processing is performed over the entire image data in such processing order.

図6に示すように、CPU40は、ステップS65において、画像データの全単位画像データについて分割スムージング処理が完了したか否かを判定する。CPU40は、画像データの全データについて分割スムージング処理が完了していないと判定したとき(ステップS65:NO)、ステップS61に移行して分割スムージング処理を行っていない単位画像データについて分割スムージング処理を行う。一方、CPU40は、画像データの全単位画像データについて分割スムージング処理が完了したと判定したとき(ステップS65:YES)、処理を終了する。   As shown in FIG. 6, in step S65, the CPU 40 determines whether or not the division smoothing process has been completed for all unit image data of the image data. When the CPU 40 determines that the division smoothing process has not been completed for all the image data (step S65: NO), the CPU 40 proceeds to step S61 and performs the division smoothing process on the unit image data that has not been subjected to the division smoothing process. . On the other hand, when the CPU 40 determines that the division smoothing process has been completed for all unit image data of the image data (step S65: YES), the process ends.

CPU40は、他の色の画像データについても同様に分割スムージング処理を行い、全色の画像データについて分割スムージング処理が終了したとき、ステップS60の分割スムージング処理(図2参照)が終了する。   The CPU 40 similarly performs the division smoothing process for the image data of other colors, and when the division smoothing process is completed for the image data of all colors, the division smoothing process (see FIG. 2) in step S60 ends.

分割ハーフトーン処理の詳細な内容について図9〜図12を参照して説明する。
なお、一例として分割スムージング処理の場合と同様にシアン(C)の画像データが主走査方向Xに2分割された場合について説明する。
The detailed contents of the divided halftone process will be described with reference to FIGS.
As an example, a case where cyan (C) image data is divided into two in the main scanning direction X as in the case of the division smoothing process will be described.

図9に示すように、CPU40は、ステップS71において、基本ディザマスク34の主走査方向Xのオフセット量Qxを算出して、このオフセット量を加味した反映ディザマスク34a(図11参照)を作成する。次に、CPU40は、ステップS72において、最終行の基本ディザマスク34の副走査方向Yのオフセット量Qyを算出し、このオフセット量Qyに相当する第1ディザマスク34b(図12参照)を作成する。そして、CPU40は、ステップS73において、最終行の反映ディザマスク34aの副走査方向Yのオフセット量Qyを算出し、このオフセット量Qyに相当する第2ディザマスク34c(図12参照)を作成する。   As shown in FIG. 9, in step S71, the CPU 40 calculates an offset amount Qx of the basic dither mask 34 in the main scanning direction X, and creates a reflected dither mask 34a (see FIG. 11) in consideration of this offset amount. . Next, in step S72, the CPU 40 calculates an offset amount Qy in the sub-scanning direction Y of the basic dither mask 34 in the last row, and creates a first dither mask 34b (see FIG. 12) corresponding to the offset amount Qy. . In step S73, the CPU 40 calculates an offset amount Qy in the sub-scanning direction Y of the reflected dither mask 34a in the last row, and creates a second dither mask 34c (see FIG. 12) corresponding to the offset amount Qy.

なお、図10に示すように、基本ディザマスク34の副走査方向Yのオフセット量Qyは、最終行の基本ディザマスク34の後端と画像データの後端との差を示す。反映ディザマスク34aの副走査方向Yのオフセット量Qyは、最終行の反映ディザマスク34aの後端と画像データの後端との差を示す。また、基本ディザマスク34のオフセット量Qy及び反映ディザマスク34aのオフセット量Qyは、互いに等しい。また、これらオフセット量Qyは、他の色の画像データに応じて異なる値となる。   As shown in FIG. 10, the offset amount Qy in the sub-scanning direction Y of the basic dither mask 34 indicates the difference between the rear end of the basic dither mask 34 in the last row and the rear end of the image data. The offset amount Qy in the sub-scanning direction Y of the reflected dither mask 34a indicates the difference between the rear end of the last row of the reflected dither mask 34a and the rear end of the image data. Further, the offset amount Qy of the basic dither mask 34 and the offset amount Qy of the reflection dither mask 34a are equal to each other. These offset amounts Qy have different values depending on the image data of other colors.

反映ディザマスク34aの作成方法について説明する。
図10に示すように、画像データを主走査方向Xに2分割したとき、左側の分割画像データと右側の分割画像データとの境界BD(図中の一点鎖線)と、主走査方向Xに隣り合う基本ディザマスク34の境界BMとが一致しない。
A method of creating the reflected dither mask 34a will be described.
As shown in FIG. 10, when the image data is divided into two in the main scanning direction X, the boundary BD (one-dot chain line in the figure) between the left divided image data and the right divided image data is adjacent to the main scanning direction X. The boundary BM of the matching basic dither mask 34 does not match.

この状態に対して、図11に示すように、反映ディザマスク34aは、左側の分割画像データと右側の分割画像データとの境界BDと、主走査方向Xに並べられた反映ディザマスク34aの左端とが一致するように作成される。   In this state, as shown in FIG. 11, the reflection dither mask 34a has a boundary BD between the left divided image data and the right divided image data, and the left end of the reflection dither mask 34a arranged in the main scanning direction X. Is created to match.

基本ディザマスク34の主走査方向Xのオフセット量Qxは、以下のように算出される。すなわち、CPU40は、図10に示されるように、画像データにおいて使用する基本ディザマスク34のシフト量Ms、及び画像データの左端と基本ディザマスク34の1行目且つ左端に配置された基本ディザマスク34の左端との差である初期オフセット量Qfを取得する。これらシフト量Ms及び初期オフセット量QfはROM31に予め記憶されている。   The offset amount Qx of the basic dither mask 34 in the main scanning direction X is calculated as follows. That is, as shown in FIG. 10, the CPU 40 shifts Ms of the basic dither mask 34 used in the image data, and the basic dither mask arranged at the left end of the image data and the first line and the left end of the basic dither mask 34. An initial offset amount Qf that is a difference from the left end of 34 is acquired. The shift amount Ms and the initial offset amount Qf are stored in the ROM 31 in advance.

次に、CPU40は、画像データに対して基本ディザマスク34をオフセット及びシフトせずに配置したときの左側の分割画像データと右側の分割画像データとの境界BDからのオフセット量(以下、「基準オフセット量Qk」)を算出する。具体的には、基準オフセット量Qkは、左側の分割画像データの主走査方向Xの画素数から基本ディザマスク34の主走査方向Xの画素数を除算したときの余りにより算出される。   Next, the CPU 40 sets an offset amount (hereinafter referred to as “reference”) from the boundary BD between the left divided image data and the right divided image data when the basic dither mask 34 is arranged without offset and shift with respect to the image data. An offset amount Qk ") is calculated. Specifically, the reference offset amount Qk is calculated by the remainder when the number of pixels in the main scanning direction X of the basic dither mask 34 is divided from the number of pixels in the main scanning direction X of the left divided image data.

次に、CPU40は、初期オフセット量Qf及び基準オフセット量Qkに基づいて1行目の基本ディザマスク34の主走査方向Xのオフセット量Qxを算出する。そして、CPU40は、1行目の基本ディザマスク34のうちの左側の分割画像データと右側の分割画像データとの境界BDを跨ぐ基本ディザマスク34にオフセット量Qxを反映させることにより、図11に示すような反映ディザマスク34aが作成される。   Next, the CPU 40 calculates an offset amount Qx in the main scanning direction X of the basic dither mask 34 in the first row based on the initial offset amount Qf and the reference offset amount Qk. Then, the CPU 40 reflects the offset amount Qx in the basic dither mask 34 that straddles the boundary BD between the left divided image data and the right divided image data in the basic dither mask 34 in the first row, thereby making the configuration shown in FIG. A reflection dither mask 34a as shown is created.

第1ディザマスク34b及び第2ディザマスク34cの作成方法について説明する。なお、各ディザマスク34b,34cの作成方法は同様であるため、主に第1ディザマスク34bの作成方法について図10及び図12を参照して説明する。   A method of creating the first dither mask 34b and the second dither mask 34c will be described. Since the method of creating the dither masks 34b and 34c is the same, the method of creating the first dither mask 34b will be mainly described with reference to FIGS.

印刷モードによって、ハーフトーン処理部47に入力される単位画像データのライン数N(副走査方向Yの画素数)が異なる。特に、分割ハーフトーン処理を行う印刷モードの場合、通常ハーフトーン処理を行う印刷モードの場合よりも単位画像データのライン数Nが多くなる。このため、図10に示すように、最終行(5行目)の基本ディザマスク34に対して最終行(14行目)の第1画像データDdc1が副走査方向Yに跨ぐ場合がある。このため、基本ディザマスク34及び反映ディザマスク34aのみでハーフトーン処理が行われる場合、印刷モードによっては画像データの後端にハーフトーン処理が行われないおそれがある。   The number N of lines of unit image data (number of pixels in the sub-scanning direction Y) input to the halftone processing unit 47 differs depending on the print mode. In particular, in the print mode in which the divided halftone process is performed, the number N of lines of unit image data is larger than in the print mode in which the normal halftone process is performed. For this reason, as shown in FIG. 10, the first image data Ddc1 in the last row (14th row) may straddle in the sub-scanning direction Y with respect to the basic dither mask 34 in the last row (5th row). For this reason, when halftone processing is performed only with the basic dither mask 34 and the reflected dither mask 34a, there is a possibility that the halftone processing is not performed on the rear end of the image data depending on the print mode.

本実施形態では、最終行(5行目)の基本ディザマスク34に対して最終行(14行目)の第1画像データDdc1が副走査方向Yに跨ぐ部分に対応するディザマスクとして第1ディザマスク34bを作成する。そして、ハーフトーン処理部47は、画像データにおいて基本ディザマスク34が足りない部分について、第1ディザマスク34bを用いて、ハーフトーン処理を行う。   In this embodiment, the first dither mask is used as a dither mask corresponding to a portion where the first image data Ddc1 in the last row (14th row) straddles the sub-scanning direction Y with respect to the basic dither mask 34 in the last row (5th row). A mask 34b is created. Then, the halftone processing unit 47 performs halftone processing on the portion of the image data where the basic dither mask 34 is insufficient, using the first dither mask 34b.

また、図10に示すように、副走査方向Yに並べられた基本ディザマスク34が主走査方向Xにシフト量Ms分だけシフトするため、第1ディザマスク34bのマスクテーブルは、所定の基本ディザマスク34に対して副走査方向Yに隣り合う2つの基本ディザマスク34のマスクテーブルを用いる。   Also, as shown in FIG. 10, since the basic dither masks 34 arranged in the sub-scanning direction Y are shifted by the shift amount Ms in the main scanning direction X, the mask table of the first dither mask 34b has a predetermined basic dither mask. A mask table of two basic dither masks 34 adjacent to the mask 34 in the sub-scanning direction Y is used.

なお、最終行(5行目)の反映ディザマスク34aに対して最終行(14行目)の第2画像データDdc2が副走査方向Yに跨ぐ部分に対応するディザマスクとして第2ディザマスク34cを作成する。そして基本ディザマスク34と同様に、反映ディザマスク34aは、副走査方向Yに並べるときに主走査方向Xにシフト量Ms分だけシフトするため、第2ディザマスク34cのマスクテーブルは、所定の反映ディザマスク34aに対して副走査方向Yに隣り合う2つの反映ディザマスク34aのマスクテーブルを用いる。   Note that the second dither mask 34c is used as a dither mask corresponding to a portion where the second image data Ddc2 in the last row (14th row) straddles the sub-scanning direction Y with respect to the reflected dither mask 34a in the last row (5th row). create. Similarly to the basic dither mask 34, the reflection dither mask 34a is shifted by the shift amount Ms in the main scanning direction X when arranged in the sub-scanning direction Y, so that the mask table of the second dither mask 34c has a predetermined reflection. A mask table of two reflection dither masks 34a adjacent to the dither mask 34a in the sub-scanning direction Y is used.

そして、図9に示すように、CPU40は、ステップS74において、単位画像データを処理する基本ディザマスク34及び反映ディザマスク34aのアドレスを算出する。なお、各ディザマスク34,34aのアドレスは、各ディザマスク34,34aのマスクテーブルにおいてハーフトーン処理を開始する位置(画素)を示す。   Then, as shown in FIG. 9, in step S74, the CPU 40 calculates the addresses of the basic dither mask 34 and the reflected dither mask 34a for processing the unit image data. The address of each dither mask 34, 34a indicates a position (pixel) at which halftone processing is started in the mask table of each dither mask 34, 34a.

各ディザマスク34,34aのアドレスの算出方法について図10を参照して説明する。各ディザマスク34,34aの算出方法は共通であるため、代表して基本ディザマスク34の算出方法について説明する。   A method of calculating the addresses of the dither masks 34 and 34a will be described with reference to FIG. Since the calculation methods of the dither masks 34 and 34a are common, the calculation method of the basic dither mask 34 will be described as a representative.

基本ディザマスク34は、原則、主走査方向Xの左端且つ副走査方向Yの前端の位置がその基本ディザマスク34におけるハーフトーン処理の開始位置(アドレス)となる。そして、単位画像データ毎に基本ディザマスク34のハーフトーン処理のアドレスが算出される。   In principle, the position of the basic dither mask 34 at the left end in the main scanning direction X and the front end in the sub-scanning direction Y is the start position (address) of halftone processing in the basic dither mask 34. Then, the halftone processing address of the basic dither mask 34 is calculated for each unit image data.

基本ディザマスク34内に単位画像データが含まれる場合、単位画像データの累積のライン数から基本ディザマスク34の副走査方向Yの画素数を除算した結果に基づいて基本ディザマスク34の行数及び上記除算の余りにより基本ディザマスク34内の副走査方向Yの単位画像データの位置が算出される。この場合、基本ディザマスク34のアドレスは、基本ディザマスク34内の副走査方向Yの単位画像データの位置における基本ディザマスク34の左端の画素となる。   When unit image data is included in the basic dither mask 34, the number of rows of the basic dither mask 34 and the number of pixels in the sub-scanning direction Y of the basic dither mask 34 are divided from the cumulative number of lines of unit image data. The position of the unit image data in the sub-scanning direction Y in the basic dither mask 34 is calculated by the remainder of the division. In this case, the address of the basic dither mask 34 is the leftmost pixel of the basic dither mask 34 at the position of the unit image data in the sub-scanning direction Y in the basic dither mask 34.

一方、例えば、3行目の第1画像データDdc1が副走査方向Yにおいて1行目且つ1列目の基本ディザマスク34の後端を跨ぐ場合、その第1画像データDdc1のハーフトーン処理に際しては、2行目且つ1列目の基本ディザマスク34及び2行目且つ2列目の基本ディザマスク34が用いられる。そして、4行目の第1画像データDdc1のハーフトーン処理に際しては、3行目の第1画像データDdc1の基本ディザマスク34を跨ぐ分及びシフト量Msを考慮して2行目の基本ディザマスク34のアドレスを算出する。   On the other hand, for example, when the first image data Ddc1 in the third row straddles the rear end of the basic dither mask 34 in the first row and the first column in the sub-scanning direction Y, the halftone process of the first image data Ddc1 is performed. The basic dither mask 34 in the second row and the first column and the basic dither mask 34 in the second row and the second column are used. When halftone processing is performed on the first image data Ddc1 on the fourth row, the basic dither mask on the second row is considered in consideration of the amount of the first dither mask 34 across the first image data Ddc1 on the third row and the shift amount Ms. 34 addresses are calculated.

このような考えに基づいて、CPU40は、基本ディザマスク34を跨ぐ第1画像データDdc1のライン数である余ライン数Nb、及び基本ディザマスク34の行数を算出する。余ライン数Nbは、基本ディザマスク34を跨ぐ第1画像データDdc1の行数に第1画像データDdc1のライン数を乗算した値に基本ディザマスク34の副走査方向Yの画素数を除算した余りとして算出される。また、基本ディザマスク34の行数は、ハーフトーン処理を行った第1画像データDdc1のライン数の累積値から基本ディザマスク34の副走査方向Yの画素数を除算することにより算出される。   Based on such an idea, the CPU 40 calculates the number of extra lines Nb that is the number of lines of the first image data Ddc1 straddling the basic dither mask 34 and the number of rows of the basic dither mask 34. The number of extra lines Nb is a remainder obtained by dividing the number of pixels in the sub-scanning direction Y of the basic dither mask 34 by the value obtained by multiplying the number of lines of the first image data Ddc1 by the number of lines of the first image data Ddc1 across the basic dither mask 34. Is calculated as The number of rows of the basic dither mask 34 is calculated by dividing the number of pixels in the sub-scanning direction Y of the basic dither mask 34 from the cumulative value of the number of lines of the first image data Ddc1 subjected to the halftone process.

そして、CPU40は、余ライン数Nbに基本ディザマスク34の主走査方向Xの画素数を乗算することにより、基本ディザマスク34を跨ぐ第1画像データDdc1分の基本ディザマスク34のアドレスをオフセットする。そして、CPU40は、基本ディザマスク34を跨ぐ第1画像データDdc1に副走査方向Yに隣り合う第1画像データDdc1の処理開始時の基本ディザマスク34の副走査方向Yのアドレスを算出する。そして、CPU40は、基本ディザマスク34の行数にシフト量Msを乗算することにより、そのときの第1画像データDdc1の処理開始時の基本ディザマスク34の主走査方向Xのアドレスを算出する。例えば、CPU40は、2行目の基本ディザマスク34を用いて、4行目の第1画像データDdc1についてハーフトーン処理を行うとき、基本ディザマスク34のアドレスは、余ライン数Nb分だけ副走査方向Yに移動し、且つシフト量Ms分だけ左方向に移動した図中の点Aとなる。すなわち、点Aの副走査方向Yは、余ライン数Nbの次のライン数(Nb+1)となる。そして、図中にて示すとおり、2行目の基本ディザマスク34を用いて、点Aを基準として、4行目の第1画像データDdc1のハーフトーン処理を行う。   Then, the CPU 40 multiplies the number of extra lines Nb by the number of pixels in the main scanning direction X of the basic dither mask 34 to offset the address of the basic dither mask 34 for the first image data Ddc1 across the basic dither mask 34. . Then, the CPU 40 calculates an address in the sub-scanning direction Y of the basic dither mask 34 at the start of processing of the first image data Ddc1 that is adjacent to the first image data Ddc1 straddling the basic dither mask 34 in the sub-scanning direction Y. Then, the CPU 40 multiplies the number of rows of the basic dither mask 34 by the shift amount Ms to calculate an address in the main scanning direction X of the basic dither mask 34 at the start of processing of the first image data Ddc1 at that time. For example, when the CPU 40 performs halftone processing on the first image data Ddc1 on the fourth row using the basic dither mask 34 on the second row, the address of the basic dither mask 34 is sub-scanned by the number of extra lines Nb. The point A in the figure moves in the direction Y and moves to the left by the shift amount Ms. That is, the sub-scanning direction Y of point A is the number of lines (Nb + 1) next to the number of extra lines Nb. Then, as shown in the figure, using the basic dither mask 34 in the second row, the halftone process of the first image data Ddc1 in the fourth row is performed using the point A as a reference.

そして、CPU40は、ステップS75において、各ディザマスク34,34a,34b,34cのマスクテーブル、並びに基本ディザマスク34及び反映ディザマスク34aのアドレスをハーフトーン処理部47に転送し、ステップS76において、ハーフトーン処理部47によりハーフトーン処理を行う。具体的には、CPU40は、基本ディザマスク34を用いて、1行目の第1画像データDdc1の左端から右端に向けてハーフトーン処理を行う。そして、CPU40は、1行目の第1画像データDdc1が終了した後、反映ディザマスク34aを用いて、1行目の第2画像データDdc2の左端から右端に向けてハーフトーン処理を行う。CPU40は、4行目の第1画像データDdc1についてハーフトーン処理を開始するとき、2行目の基本ディザマスク34の設定されたアドレスに基づいて処理を開始し、同様に4行目の第2画像データDdc2についてハーフトーン処理を開始するとき、反映ディザマスク34aの設定されたアドレスに基づいて処理を開始する。   In step S75, the CPU 40 transfers the mask tables of the dither masks 34, 34a, 34b, and 34c, and the addresses of the basic dither mask 34 and the reflected dither mask 34a to the halftone processing unit 47, and in step S76, the half dither mask 34a and the reflecting dither mask 34a are addressed. Halftone processing is performed by the tone processing unit 47. Specifically, the CPU 40 uses the basic dither mask 34 to perform halftone processing from the left end to the right end of the first image data Ddc1 in the first row. Then, after the first image data Ddc1 in the first row is completed, the CPU 40 performs halftone processing from the left end to the right end of the second image data Ddc2 in the first row using the reflection dither mask 34a. When starting halftone processing for the first image data Ddc1 in the fourth row, the CPU 40 starts processing based on the set address of the basic dither mask 34 in the second row, and similarly, in the second row in the fourth row. When halftone processing is started for the image data Ddc2, processing is started based on the set address of the reflection dither mask 34a.

そして、CPU40は、ステップS77において、画像データの全ラインに対してハーフトーン処理を行ったか否かを判定する。CPU40は、画像データの全ラインに対してハーフトーン処理を行っていない場合(ステップS77:NO)、ステップS76に移行してハーフトーン処理を継続する。またCPU40は、画像データの全てのラインに対してハーフトーン処理を行った場合(ステップS77:YES)、シアン(C)の画像データについての分割ハーフトーン処理を終了する。   In step S77, the CPU 40 determines whether halftone processing has been performed on all the lines of the image data. If the CPU 40 has not performed halftone processing on all the lines of the image data (step S77: NO), the CPU 40 proceeds to step S76 and continues the halftone processing. Further, when the halftone process is performed on all the lines of the image data (step S77: YES), the CPU 40 ends the divided halftone process for the cyan (C) image data.

CPU40は、他の色の画像データについても同様に分割ハーフトーン処理を行う。具体的には、基本ディザマスク34のサイズ、シフト量Ms、及び初期オフセット量Qfは、色毎に異なる。このため、基本ディザマスク34のオフセット量Qx,Qyは、色毎に異なる。したがって、色毎に基本ディザマスク34、反映ディザマスク34a、第1ディザマスク34b、及び第2ディザマスク34cを作成する。そして、各34,34a〜34cを用いてハーフトーン処理を行う。そして、CPU40は、全色の画像データについて分割ハーフトーン処理が終了したとき、ステップS70の分割ハーフトーン処理が終了する。   The CPU 40 similarly performs divided halftone processing on the image data of other colors. Specifically, the size of the basic dither mask 34, the shift amount Ms, and the initial offset amount Qf are different for each color. For this reason, the offset amounts Qx and Qy of the basic dither mask 34 are different for each color. Therefore, the basic dither mask 34, the reflected dither mask 34a, the first dither mask 34b, and the second dither mask 34c are created for each color. Then, halftone processing is performed using each of 34, 34a to 34c. Then, when the divided halftone process is completed for the image data of all colors, the CPU 40 ends the divided halftone process in step S70.

最後に、画像処理において、図2に示すように、CPU40は、通常スムージング処理及び通常ハーフトーン処理、並びに分割スムージング処理及び分割ハーフトーン処理のうちの一方が終了した後、ステップS80においてラスタライズ処理を行い、処理を終了する。   Finally, in the image processing, as shown in FIG. 2, after completing one of the normal smoothing process and the normal halftone process, and the divided smoothing process and the divided halftone process, the CPU 40 performs the rasterization process in step S80. To end the process.

プリンター11の作用について説明する。
まず、分割スムージング処理に関する作用について説明する。
例えば画像データが主走査方向Xに分割されたとき、もし仮に第2画像データDdc2のみでスムージング処理を行う場合、第2画像データDdc2の左端が第1画像データDdc1の右端の画像データが反映されていない処理となる。このため、第1画像データDdc1及び第2画像データDdc2の境界において画像の連続性が失われてしまう。
The operation of the printer 11 will be described.
First, the effect | action regarding a division | segmentation smoothing process is demonstrated.
For example, when the image data is divided in the main scanning direction X, if the smoothing process is performed only with the second image data Ddc2, the left end of the second image data Ddc2 reflects the image data at the right end of the first image data Ddc1. It will not be processed. For this reason, image continuity is lost at the boundary between the first image data Ddc1 and the second image data Ddc2.

そこで、本実施形態では、分割スムージング処理において、第2画像データDdc2の左端に重複領域Dovlが追加される。この重複領域Dovlは、左側の画像データの右端を含む左側の部分の画像データに相当する。このため、重複領域Dovlから右側に向けてスムージング処理を行うことにより、第2画像データDdc2の左端の画像データについてスムージング処理を行うとき、第1画像データDdc1の右端の画像データを含む平滑化フィルターにより処理を行うこととなる。そして、重複領域Dovlが第1画像データDdc1により上書きされることにより、第1画像データDdc1と第2画像データDdc2との境界BDにおける画像の連続性を保つことができる。   Therefore, in the present embodiment, the overlap area Dovl is added to the left end of the second image data Ddc2 in the divided smoothing process. This overlapping area Dovl corresponds to the image data of the left part including the right end of the left image data. For this reason, when performing the smoothing process on the left end image data of the second image data Ddc2 by performing the smoothing process from the overlapping area Dovl to the right side, the smoothing filter including the right end image data of the first image data Ddc1 Will be processed. Then, the continuity of the image at the boundary BD between the first image data Ddc1 and the second image data Ddc2 can be maintained by overwriting the overlapping area Dovl with the first image data Ddc1.

ところで、このような重複領域Dovlを有する第2画像データDdc2を設定し、もし仮に、第1画像データDdc1及び第2画像データDdc2の順にスムージング処理を行う場合、次のような問題が生じる。   By the way, when the second image data Ddc2 having such an overlapping area Dovl is set and the smoothing process is performed in the order of the first image data Ddc1 and the second image data Ddc2, the following problem occurs.

すなわち、スムージング処理が行われた第1画像データDdc1にスムージング処理を行うために第2画像データDdc2を配置すると、重複領域Dovlが第1画像データDdc1の右端と重なるため、第1画像データDdc1の右端が、スムージング処理が行われていない重複領域Dovlに上書きされてしまう。このため、第1画像データDdc1及び第2画像データDdc2の境界部分において画像が平滑化されなくなってしまう。   That is, when the second image data Ddc2 is arranged to perform the smoothing process on the first image data Ddc1 that has been subjected to the smoothing process, the overlap area Dovl overlaps the right end of the first image data Ddc1, and thus the first image data Ddc1 The right end is overwritten on the overlapping area Dovl that has not been subjected to the smoothing process. For this reason, the image is not smoothed at the boundary between the first image data Ddc1 and the second image data Ddc2.

この問題を解決するため、第2画像データDdc2を別の処理領域にコピーし、その処理領域において第2画像データDdc2に対してスムージング処理を行い、重複領域Dovlを切り取った後、第1画像データDdc1に配置する方法が考えられる。しかし、この方法では、第2画像データDdc2に対してスムージング処理をするための専用の処理領域が必要であり、且つ第2画像データDdc2をコピーする必要があるため、スムージング処理部44の容量が増大し、且つスムージング処理の処理時間が長くなる。   In order to solve this problem, the second image data Ddc2 is copied to another processing area, smoothing processing is performed on the second image data Ddc2 in the processing area, the overlapping area Dovl is cut, and then the first image data A method of arranging in Ddc1 is conceivable. However, in this method, a dedicated processing area for performing the smoothing process on the second image data Ddc2 is required, and the second image data Ddc2 needs to be copied. And the processing time of the smoothing process becomes longer.

このような問題に対して、本実施形態では、第2画像データDdc2についてスムージング処理をした後、第1画像データDdc1についてスムージング処理を行い、第1画像データDdc1と第2画像データDdc2とを合成する。このような処理順序により、重複領域Dovlにスムージング処理後の第1画像データDdc1の右端が重ねられて重複領域Dovlがスムージング処理後の第1画像データDdc1により上書きされる。このため、別の処理領域で第2画像データDdc2のスムージング処理を行わない。すなわち、第1画像データDdc1と同じ処理領域にて第2画像データDdc2に対してスムージング処理を行うことができる。   In order to solve such a problem, in the present embodiment, after the smoothing process is performed on the second image data Ddc2, the smoothing process is performed on the first image data Ddc1, and the first image data Ddc1 and the second image data Ddc2 are synthesized. To do. By such a processing order, the right end of the first image data Ddc1 after the smoothing process is overlaid on the overlapping area Dovl, and the overlapping area Dovl is overwritten with the first image data Ddc1 after the smoothing process. For this reason, the smoothing process of the second image data Ddc2 is not performed in another processing area. That is, the smoothing process can be performed on the second image data Ddc2 in the same processing area as the first image data Ddc1.

次に、分割ハーフトーン処理に関する作用について説明する。
左側の分割画像データと右側の分割画像データとの境界BDと、主走査方向Xにおいて隣り合う基本ディザマスク34の境界BMとが一致しない場合、第2画像データDdc2に対して基本ディザマスク34を用いてハーフトーン処理を行うと、ディザマスクの連続性を保つことが難しい。そこで、ディザマスクの連続性を保つため、基本ディザマスク34の配置位置を設定する必要がある。
Next, the operation related to the divided halftone process will be described.
If the boundary BD between the left divided image data and the right divided image data does not coincide with the boundary BM of the basic dither mask 34 adjacent in the main scanning direction X, the basic dither mask 34 is applied to the second image data Ddc2. If halftone processing is used, it is difficult to maintain the continuity of the dither mask. Therefore, in order to maintain the continuity of the dither mask, it is necessary to set the arrangement position of the basic dither mask 34.

この基本ディザマスク34の設定は、そのときどきの位置において適したディザマスクとなるように、且つ基本ディザマスク34の左前端からハーフトーン処理が開始できるように基本ディザマスク34の配置位置を設定する。CPU40は、この設定された基本ディザマスク34をハーフトーン処理部47に転送する。このため、基本ディザマスク34の設定毎に基本ディザマスク34に関する情報をハーフトーン処理部47に転送するため、データの転送時間が長くなり、画像処理の処理時間が長くなる。   The basic dither mask 34 is set such that the position of the basic dither mask 34 is set so that a suitable dither mask is obtained at the current position and halftone processing can be started from the left front end of the basic dither mask 34. . The CPU 40 transfers the set basic dither mask 34 to the halftone processing unit 47. For this reason, since the information related to the basic dither mask 34 is transferred to the halftone processing unit 47 every time the basic dither mask 34 is set, the data transfer time becomes long and the image processing time becomes long.

このような問題を解決するため、本願発明者は、基本ディザマスク34の配置の法則性に着目した。すなわち、左側の分割画像データと右側の分割画像データとの境界BDと、この境界を跨ぐ基本ディザマスク34の左端との差であるオフセット量Qx分だけ右側にシフトさせたディザマスク(反映ディザマスク34a)を主走査方向Xに並べたとき、基本ディザマスク34を主走査方向Xに並べたときとマスクテーブルの値が変わらない。このため、左側の分割画像データにハーフトーン処理を行うとき、反映ディザマスク34aを主走査方向Xに配置することにより、基本ディザマスク34を主走査方向Xに配置したときと同様のハーフトーン処理を行うことができる。   In order to solve such a problem, the inventor of the present application paid attention to the law of arrangement of the basic dither mask 34. That is, a dither mask (reflection dither mask) shifted to the right by an offset amount Qx that is a difference between the boundary BD between the left divided image data and the right divided image data and the left end of the basic dither mask 34 across the boundary. When 34a) is arranged in the main scanning direction X, the value of the mask table does not change from when the basic dither mask 34 is arranged in the main scanning direction X. Therefore, when halftone processing is performed on the left divided image data, the same halftone processing as when the basic dither mask 34 is arranged in the main scanning direction X is performed by arranging the reflection dither mask 34a in the main scanning direction X. It can be performed.

そして、各ディザマスク34,34a〜34cのマスクテーブル、並びに基本ディザマスク34及び反映ディザマスク34aのアドレスをハーフトーン処理が開始される前にハーフトーン処理部47に転送することにより、その転送時間は画像処理の開始前であるため、画像処理の処理時間が長くなることが抑制される。   Then, by transferring the mask table of each dither mask 34, 34a to 34c, and the addresses of the basic dither mask 34 and the reflected dither mask 34a to the halftone processing unit 47 before the halftone processing is started, the transfer time is obtained. Since this is before the start of image processing, an increase in processing time of image processing is suppressed.

そして、各ディザマスク34,34a及びそのアドレスをハーフトーン処理が開始される前にハーフトーン処理部47に転送することにより、その転送時間は画像処理の開始前であるため、画像処理の処理時間が長くなることが抑制される。   Then, by transferring each dither mask 34, 34a and its address to the halftone processing unit 47 before the halftone process is started, the transfer time is before the start of the image process. Is suppressed from becoming longer.

本実施形態のプリンター11によれば、以下に示す効果を得ることができる。
(1)分割スムージング処理において、重複領域Dovlを含めて第2画像データDdc2のスムージング処理が行われるため、第2画像データDdc2の左端は、第1画像データDdc1の右端の画像データを反映した処理となる。このため、第2画像データDdc2に第1画像データDdc1を合成したとき、第1画像データDdc1及び第2画像データDdc2の境界において画像の連続性を保つことができる。
According to the printer 11 of the present embodiment, the following effects can be obtained.
(1) Since the smoothing process of the second image data Ddc2 including the overlapping region Dovl is performed in the divided smoothing process, the left end of the second image data Ddc2 reflects the right end image data of the first image data Ddc1. It becomes. Therefore, when the first image data Ddc1 is combined with the second image data Ddc2, it is possible to maintain image continuity at the boundary between the first image data Ddc1 and the second image data Ddc2.

(2)分割スムージング処理において、各行の単位画像データにおいて第2画像データDdc2及び第1画像データDdc1の順にスムージング処理を行う。このため、第2画像データDdc2を別の処理領域でスムージング処理を行う必要がなくなり、別の処理領域で第2画像データDdc2を処理するために第2画像データDdc2を転送する時間を省略することができる。したがって、処理時間の短縮を図ることができる。また、別の処理領域自体が必要なくなるため、スムージング処理部44の容量の増大を抑制することができる。   (2) In the divided smoothing process, the smoothing process is performed in the order of the second image data Ddc2 and the first image data Ddc1 in the unit image data of each row. Therefore, it is not necessary to perform the smoothing process on the second image data Ddc2 in another processing area, and the time for transferring the second image data Ddc2 in order to process the second image data Ddc2 in another processing area is omitted. Can do. Therefore, the processing time can be shortened. Further, since another processing area itself is not necessary, an increase in the capacity of the smoothing processing unit 44 can be suppressed.

(3)分割ハーフトーン処理において、画像処理の開始前に分割画像データに対応する各ディザマスク34,34a〜34cのマスクテーブル、並びに基本ディザマスク34及び反映ディザマスク34aのアドレスをハーフトーン処理部47に転送し、これらディザマスク34,34a〜34cに基づいてハーフトーン処理が行われる。このため、ハーフトーン処理の実行中における分割画像毎及び行毎にディザマスクを設定する必要がなくなるため、分割画像毎及び行毎にディザマスクのマスクテーブル及びアドレスをハーフトーン処理部47に転送する必要がなくなる。したがって、画像処理の処理時間が短くなる。   (3) In the divided halftone process, the mask table of each dither mask 34, 34a to 34c corresponding to the divided image data, and the addresses of the basic dither mask 34 and the reflected dither mask 34a before the start of the image processing are halftone processing units. 47, and halftone processing is performed based on these dither masks 34, 34a to 34c. For this reason, it is not necessary to set a dither mask for each divided image and for each row during execution of halftone processing, and therefore the dither mask mask table and address are transferred to the halftone processing unit 47 for each divided image and for each row. There is no need. Accordingly, the processing time for image processing is shortened.

特に、画像処理及び印刷制御が並行して行われる場合、画像処理中における基本ディザマスク34の設定により画像処理の処理時間が長いと連続紙Pに画像を適切に印刷することが難しい。この点、本実施形態では、画像処理中に基本ディザマスク34の設定を行わないことにより画像処理の処理時間が短くなるため、連続紙Pに画像を適切に印刷することができる。   In particular, when image processing and print control are performed in parallel, if the processing time of the image processing is long due to the setting of the basic dither mask 34 during the image processing, it is difficult to appropriately print the image on the continuous paper P. In this regard, in this embodiment, since the processing time of the image processing is shortened by not setting the basic dither mask 34 during the image processing, the image can be appropriately printed on the continuous paper P.

(4)分割ハーフトーン処理において、インクの種類毎に基本ディザマスク34のオフセット量及びアドレスを設定しているため、インクの種類に応じて各ディザマスク34,34a〜34cを作成する。インクの種類に応じて適切な各ディザマスク34,34a〜34cを用いてハーフトーン処理を行うことができる。このため、画質の低下を抑制することができる。   (4) Since the offset amount and address of the basic dither mask 34 are set for each ink type in the divided halftone process, the dither masks 34, 34a to 34c are created according to the ink type. Halftone processing can be performed using each dither mask 34, 34a to 34c appropriate for the type of ink. For this reason, it is possible to suppress deterioration in image quality.

(5)基本ディザマスク34に関する情報がEEPROM33に記憶されている。このため、プリンター11をパーソナルコンピューター等の情報処理装置(画像生成装置100)に電気的に接続して協同して使用する場合であっても、プリンター11で画像処理を行い、画像生成装置100側で画像処理を行わない。したがって、画像生成装置100のCPU及びメモリーの画像処理による計算負荷が大きくなることが抑制される。   (5) Information related to the basic dither mask 34 is stored in the EEPROM 33. For this reason, even when the printer 11 is electrically connected to an information processing apparatus (image generation apparatus 100) such as a personal computer and used in cooperation, the printer 11 performs image processing and the image generation apparatus 100 side. Does not perform image processing. Therefore, an increase in calculation load due to image processing of the CPU and the memory of the image generation apparatus 100 is suppressed.

なお、上記実施形態は、以下のような別の実施形態に変更してもよい。
・上記実施形態において、分割部43による画像データの分割後の画像数は3以上とすることもできる。この場合、分割スムージング処理は、画像データのうちの最も右側となる第3画像データ(図示略)の単位画像データから行うことが好ましい。要するに、画像データの主走査方向Xにおいて、スムージング処理の方向と、処理する分割画像データの順番の方向とは互いに反対方向となることが好ましい。また、この場合、分割ハーフトーン処理は、第3画像データに対する反映ディザマスクを作成する。この反映ディザマスクの作成方法は、上述の反映ディザマスク34aの作成方法と同様である。
In addition, you may change the said embodiment into another embodiment as follows.
In the above embodiment, the number of images after the image data is divided by the dividing unit 43 may be three or more. In this case, it is preferable that the division smoothing process is performed from unit image data of third image data (not shown) which is the rightmost of the image data. In short, in the main scanning direction X of image data, it is preferable that the direction of the smoothing process and the order of the divided image data to be processed are opposite to each other. In this case, the divided halftone process creates a reflection dither mask for the third image data. The method of creating the reflection dither mask is the same as the method of creating the reflection dither mask 34a described above.

・上記実施形態の画像処理において、ハーフトーン処理は、256階調のCMYK画像データを印刷用の4階調の画像データに階調変換する処理とすることもできる。この場合、ドットデータとしては、大ドットを形成する画素、中ドットを形成する画素、小ドットを形成する画素、及びドットを形成しない画素とからなる。   In the image processing according to the above-described embodiment, the halftone processing may be processing for converting the gradation of CMYK image data of 256 gradations into image data of 4 gradations for printing. In this case, the dot data includes pixels that form large dots, pixels that form medium dots, pixels that form small dots, and pixels that do not form dots.

・上記実施形態の画像処理において、基本ディザマスク34を図10に示す基本ディザマスク34の配置とは異なるように配置してもよい。例えば、初期オフセット量Qf及びシフト量Msの少なくとも一方を変更してもよい。また、初期オフセット量Qf及びシフト量Msの少なくとも一方を省略してもよい。この基本ディザマスク34の配置の変更に応じて、基本ディザマスク34のオフセット量Qxが変更されるため、反映ディザマスク34aが変更される。   In the image processing of the above embodiment, the basic dither mask 34 may be arranged differently from the arrangement of the basic dither mask 34 shown in FIG. For example, at least one of the initial offset amount Qf and the shift amount Ms may be changed. Further, at least one of the initial offset amount Qf and the shift amount Ms may be omitted. Since the offset amount Qx of the basic dither mask 34 is changed according to the change in the arrangement of the basic dither mask 34, the reflection dither mask 34a is changed.

・上記実施形態の画像処理の分割ハーフトーン処理において、図13に示すように、基本ディザマスク34の後端に第1画像データDdc1のライン数Nに相当するディザマスク34dを追加することもできる。このディザマスク34dのマスクテーブルは、副走査方向Yに隣り合う基本ディザマスク34のマスクテーブルの前端から第1画像データDdc1のライン数Nに対応し、シフト量Msを考慮した基本ディザマスク34のマスクテーブルに相当する。   In the divided halftone processing of the image processing of the above embodiment, a dither mask 34d corresponding to the number N of lines of the first image data Ddc1 can be added to the rear end of the basic dither mask 34 as shown in FIG. . The mask table of the dither mask 34d corresponds to the number N of lines of the first image data Ddc1 from the front end of the mask table of the basic dither mask 34 adjacent in the sub-scanning direction Y, and the basic dither mask 34 considering the shift amount Ms. It corresponds to a mask table.

この構成によれば、1行目と2行目の基本ディザマスク34の境界を3行目の第1画像データDdc1が跨ぐとき、ディザマスク34dにより第1画像データDdc1にハーフトーン処理を行う。そして、4行目の第1画像データDdc1にハーフトーン処理を行うときの2行目の基本ディザマスク34のアドレスは、3行目の第1画像データDdc1の余ラインNb分を副走査方向Yにシフトし、且つシフト量Ms分を主走査方向Xにシフトした位置である点Bに設定される。なお、CPU40は、基本ディザマスク34の行数毎に第1画像データDdc1の余ライン数Nbが異なる場合、基本ディザマスク34の行数に対する第1画像データDdc1の余ライン数Nbを算出する。そして、CPU40は、余ライン数Nb及びシフト量Msに基づいて基本ディザマスク34の行数毎にアドレスを設定する。これら余ライン数Nb及び基本ディザマスク34の行数毎のアドレスは、ハーフトーン処理(ステップS76)の開始前にハーフトーン処理部47に転送される。なお、反映ディザマスク34aについても、ディザマスク34dと同様に反映ディザマスク34aの後端に第2画像データDdc2のライン数に対応し、シフト量Msを考慮したディザマスクを追加することができる。   According to this configuration, when the first image data Ddc1 in the third row crosses the boundary between the basic dither mask 34 in the first row and the second row, halftone processing is performed on the first image data Ddc1 by the dither mask 34d. The address of the basic dither mask 34 in the second row when the halftone process is performed on the first image data Ddc1 in the fourth row is the same as the sub-scanning direction Y in the remaining line Nb of the first image data Ddc1 in the third row. And a point B which is a position where the shift amount Ms is shifted in the main scanning direction X is set. When the number of remaining lines Nb of the first image data Ddc1 is different for each number of rows of the basic dither mask 34, the CPU 40 calculates the number of remaining lines Nb of the first image data Ddc1 with respect to the number of rows of the basic dither mask 34. Then, the CPU 40 sets an address for each number of rows of the basic dither mask 34 based on the number of extra lines Nb and the shift amount Ms. The addresses for the number of extra lines Nb and the number of rows of the basic dither mask 34 are transferred to the halftone processing unit 47 before the start of the halftone process (step S76). As for the reflected dither mask 34a, a dither mask corresponding to the number of lines of the second image data Ddc2 and considering the shift amount Ms can be added to the rear end of the reflected dither mask 34a in the same manner as the dither mask 34d.

・上記実施形態の画像処理において、ハーフトーン処理を行った後にスムージング処理を行ってもよい。
・上記実施形態の画像処理において、分割ハーフトーン処理を行った後に分割スムージング処理を行ってもよい。
In the image processing of the above embodiment, the smoothing process may be performed after the halftone process.
In the image processing of the above embodiment, the division smoothing process may be performed after the division halftone process.

・上記実施形態の分割スムージング処理において、第1画像データDdc1及び第2画像データDdc2の順にスムージング処理をすることもできる。
・上記実施形態において、画像処理の一部を情報処理装置(画像生成装置100)により行ってもよい。
-In the division | segmentation smoothing process of the said embodiment, a smoothing process can also be performed in order of 1st image data Ddc1 and 2nd image data Ddc2.
In the above embodiment, part of the image processing may be performed by the information processing apparatus (image generation apparatus 100).

・上記実施形態の画像処理において、スムージング処理及び分割スムージング処理を省略することもできる。
・印刷装置は、連続紙等の媒体に印刷することのできるものであれば、ドットインパクトプリンターやレーザープリンターであってもよい。また、印刷装置は、印刷機能だけを備えたプリンターに限定されず、複合機であってもよい。さらに、印刷装置は、シリアルプリンターに限らず、ラインプリンター又はページプリンターであってもよい。
In the image processing of the above embodiment, the smoothing process and the divided smoothing process can be omitted.
The printing apparatus may be a dot impact printer or a laser printer as long as it can print on a medium such as continuous paper. The printing apparatus is not limited to a printer having only a printing function, and may be a multifunction machine. Furthermore, the printing apparatus is not limited to a serial printer, and may be a line printer or a page printer.

・媒体は連続紙に限定されず、樹脂製のフィルム、金属箔、金属フィルム、樹脂と金属の複合体フィルム(ラミネートフィルム)、織物、不織布、セラミックシートなどであってもよい。   The medium is not limited to continuous paper, and may be a resin film, a metal foil, a metal film, a resin-metal composite film (laminate film), a woven fabric, a nonwoven fabric, a ceramic sheet, or the like.

・印刷部13から微小量の液滴となって吐出される液体の状態としては、粒状、涙状、糸状に尾を引くものも含むものとする。また、ここでいう液体は、印刷部13から噴射させることができるような材料であればよい。例えば、物質が液相であるときの状態のものであればよく、粘性の高い又は低い液状体、ゾル、ゲル水、その他の無機溶剤、有機溶剤、溶液、液状樹脂のような流状体を含むものとする。また、物質の一状態としての液体のみならず、顔料などの固形物からなる粒子が溶媒に溶解、分散又は混合されたものなども含むものとする。液体がインクである場合、インクとは一般的な水性インク及び油性インク並びにジェルインク、ホットメルトインク等の各種液体組成物を包含するものとする。   The state of the liquid ejected as a minute amount of liquid droplets from the printing unit 13 includes those that are granular, tear-like, or thread-like. The liquid here may be any material that can be ejected from the printing unit 13. For example, it may be in the state when the substance is in a liquid phase, and a liquid material having high or low viscosity, sol, gel water, other inorganic solvents, organic solvents, solutions, liquid materials such as liquid resins are used. Shall be included. Further, not only a liquid as one state of a substance but also a particle in which solid particles such as a pigment are dissolved, dispersed or mixed in a solvent is included. When the liquid is an ink, the ink includes various liquid compositions such as general water-based ink and oil-based ink, gel ink, and hot-melt ink.

11…印刷装置の一例としてのプリンター、33…記憶部の一例としてのEEPROM、34…基本ディザマスク、34a…反映ディザマスク、43…分割部、46…オフセット量算出部、47…ハーフトーン処理部、100…情報処理装置の一例としての画像生成装置、BD…分割後の画像の境界、Qx…オフセット量、X…幅方向(主走査方向)。   DESCRIPTION OF SYMBOLS 11 ... Printer as an example of a printing apparatus, 33 ... EEPROM as an example of a memory | storage part, 34 ... Basic dither mask, 34a ... Reflection dither mask, 43 ... Dividing part, 46 ... Offset amount calculation part, 47 ... Halftone processing part , 100... Image generation device as an example of information processing device, BD... Border of divided image, Qx... Offset amount, X .. width direction (main scanning direction)

Claims (5)

媒体に画像の印刷を行う印刷装置であって、
前記画像の幅方向において前記画像を分割し、分割後の画像を前記幅方向に配列させる分割部と、
基本ディザマスクに基づいて、前記分割後の画像のうちの前記幅方向の一方側の画像から他方側の画像に向けてハーフトーン処理を行うハーフトーン処理部と、
前記分割後の画像の境界と、前記境界を跨ぐ基本ディザマスクとの前記幅方向の差であるオフセット量を算出するオフセット量算出部と
を備え、
前記ハーフトーン処理部は、
前記分割後の画像の前記一方側の画像に対しては前記基本ディザマスクを用い、
前記分割後の画像のうちの前記他方側の画像に対しては前記基本ディザマスクに前記オフセット量を反映させた反映ディザマスクを用いる
印刷装置。
A printing apparatus for printing an image on a medium,
A dividing unit that divides the image in the width direction of the image and arranges the divided images in the width direction;
Based on a basic dither mask, a halftone processing unit that performs halftone processing from an image on one side in the width direction to an image on the other side in the divided image;
An offset amount calculation unit that calculates an offset amount that is a difference in the width direction between a boundary of the image after the division and a basic dither mask across the boundary;
The halftone processing unit
Using the basic dither mask for the one side image of the divided image,
A printing apparatus that uses a reflection dither mask that reflects the offset amount in the basic dither mask for the image on the other side of the divided images.
前記オフセット量算出部は、前記媒体に噴射する液体の色毎に前記オフセット量を算出する
請求項1に記載の印刷装置。
The printing apparatus according to claim 1, wherein the offset amount calculation unit calculates the offset amount for each color of liquid ejected onto the medium.
前記ハーフトーン処理が実行される画素に関する情報を記憶する記憶部を有する
請求項1または2に記載の印刷装置。
The printing apparatus according to claim 1, further comprising: a storage unit that stores information relating to a pixel on which the halftone process is performed.
媒体に画像の印刷を行う印刷装置の画像処理方法であって、
前記画像の幅方向において前記画像を分割し、分割後の画像を前記幅方向に配列させる分割工程と、
基本ディザマスクに基づいて、前記分割後の画像のうちの前記幅方向の一方側の画像から他方側の画像に向けてハーフトーン処理を行うハーフトーン処理工程と、
前記分割後の画像の境界と、前記境界を跨ぐ基本ディザマスクとの前記幅方向の差であるオフセット量を算出するオフセット量算出工程と
を備え、
前記ハーフトーン処理工程において、前記分割後の画像の前記一方側の画像に対して前記基本ディザマスクが用いられ、前記分割後の画像の前記他方側の画像に対して前記基本ディザマスクに前記オフセット量を反映させた反映ディザマスクが用いられる
画像処理方法。
An image processing method for a printing apparatus for printing an image on a medium,
A dividing step of dividing the image in the width direction of the image and arranging the divided images in the width direction;
A halftone processing step of performing halftone processing from one image in the width direction of the divided image toward the other image based on a basic dither mask;
An offset amount calculation step of calculating an offset amount that is a difference in the width direction between the boundary of the image after the division and the basic dither mask straddling the boundary, and
In the halftone processing step, the basic dither mask is used for the image on one side of the divided image, and the offset to the basic dither mask for the image on the other side of the divided image. An image processing method that uses a reflected dither mask that reflects the amount.
前記印刷装置は、前記オフセット量算出工程において前記媒体に噴射する液体の色毎に前記オフセット量を算出する
請求項4の画像処理方法。
The image processing method according to claim 4, wherein the printing apparatus calculates the offset amount for each color of liquid ejected onto the medium in the offset amount calculation step.
JP2014068240A 2014-03-28 2014-03-28 Printing apparatus and image processing method Pending JP2015192308A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2014068240A JP2015192308A (en) 2014-03-28 2014-03-28 Printing apparatus and image processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2014068240A JP2015192308A (en) 2014-03-28 2014-03-28 Printing apparatus and image processing method

Publications (1)

Publication Number Publication Date
JP2015192308A true JP2015192308A (en) 2015-11-02

Family

ID=54426499

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014068240A Pending JP2015192308A (en) 2014-03-28 2014-03-28 Printing apparatus and image processing method

Country Status (1)

Country Link
JP (1) JP2015192308A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2018140605A (en) * 2017-02-28 2018-09-13 キヤノン株式会社 Image processing apparatus and image processing method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2018140605A (en) * 2017-02-28 2018-09-13 キヤノン株式会社 Image processing apparatus and image processing method

Similar Documents

Publication Publication Date Title
JP6011321B2 (en) Print control apparatus and program
CN109863031A (en) Method for minimizing stitching artifacts of overlapping printhead segments
US9083925B2 (en) Image processing apparatus and method therefor
JP2017013407A (en) Print control apparatus and print control method
JP6823957B2 (en) Inkjet printing equipment
JP2017182597A (en) Control device and computer program
JP5957886B2 (en) Data generator for printing
JP7022326B2 (en) Image processing method, color conversion table creation method, image processing device, printing system
US10877709B2 (en) Image processing apparatus, non-transitory recording medium storing image processing program, and image processing method for generating a color chart image data
JP5784442B2 (en) Image processing apparatus, printing apparatus using the same, and program thereof
JP2021146575A (en) Recording device and recording method
JP2018052051A (en) Control device and computer program
JP5910335B2 (en) Printing apparatus and printing method
JP2011173406A (en) Recording device and recording method
WO2019163223A1 (en) Printing apparatus, printing method, and method for creating covering ratio correction table
JP2017030149A (en) Print control apparatus and print control method
JP2015192308A (en) Printing apparatus and image processing method
JP6054850B2 (en) Recording apparatus and recording method
JP2015192309A (en) Printing apparatus and image processing method
US9325880B2 (en) Image processing apparatus adjusting image data including a plurality of sets of component image data
JP2016185608A (en) Assignment mask and how to generate assignment mask
JP6247548B2 (en) Image data generation apparatus, image data generation method, and printing system
JP2013256003A (en) Printing device and printing method
JP5929128B2 (en) Printing device
JP6172257B2 (en) Printing device

Legal Events

Date Code Title Description
RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20160617

RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20160628