JP2011076394A - Printer, printing program and printing method - Google Patents

Printer, printing program and printing method Download PDF

Info

Publication number
JP2011076394A
JP2011076394A JP2009227537A JP2009227537A JP2011076394A JP 2011076394 A JP2011076394 A JP 2011076394A JP 2009227537 A JP2009227537 A JP 2009227537A JP 2009227537 A JP2009227537 A JP 2009227537A JP 2011076394 A JP2011076394 A JP 2011076394A
Authority
JP
Japan
Prior art keywords
image
printing
image data
data
color
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.)
Withdrawn
Application number
JP2009227537A
Other languages
Japanese (ja)
Other versions
JP2011076394A5 (en
Inventor
Takayuki Fukuda
隆行 福田
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 JP2009227537A priority Critical patent/JP2011076394A/en
Publication of JP2011076394A publication Critical patent/JP2011076394A/en
Publication of JP2011076394A5 publication Critical patent/JP2011076394A5/en
Withdrawn legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a printer, a printing program and a printing method improving the image quality of a print result. <P>SOLUTION: In printing based on image data composed of at least main image data MID for printing a main image and background image data BID for printing a background image, an overlap of the main image MI and the background image BI when printed on a print medium is detected, and the background image data BID is corrected based on the detection result, to correct the overlapped background image data BID. Printing is performed to the print medium in a predetermined order, based on the corrected background image data BID and main image data MID. <P>COPYRIGHT: (C)2011,JPO&INPIT

Description

本発明は、印刷装置、印刷プログラムおよび印刷方法に関し、特に、画像データに基づいて印刷媒体に印刷する印刷装置、印刷プログラムおよび印刷方法に関する。   The present invention relates to a printing apparatus, a printing program, and a printing method, and more particularly to a printing apparatus, a printing program, and a printing method that print on a printing medium based on image data.

印刷装置において印刷画質の向上は必須課題であり、従来、画像データの階調値に応じて濃色インクと淡色インクの発生比率を調整したり(例えば特許文献1参照)、印刷・測色条件の相違に起因する色ずれを補償する際に参照する補正テーブルを備えさせたり(例えば特許文献2参照)、様々な工夫が行われている。   Improvement of print image quality is an essential issue in a printing apparatus. Conventionally, the generation ratio of dark ink and light ink is adjusted according to the tone value of image data (see, for example, Patent Document 1), and printing / colorimetric conditions Various devices have been devised, such as providing a correction table to be referred to when compensating for color misregistration due to the difference between them (see, for example, Patent Document 2).

特開2004−291459号公報JP 2004-291459 A 特開2008−72366号公報JP 2008-72366 A

近年、白以外の印刷媒体(透明メディア等)に印刷装置で画像を印刷することが増えてきている。このような印刷媒体に印刷する際には、主たる画像を印刷媒体上に形成させるカラー画像の印刷結果における色再現性を向上するために、カラー画像が印刷される範囲に予め下地となる背景画像を印刷することがある。また、この背景画像としては、白ベタの画像のみならずCMYK等のカラーインクを用いて印刷することになるカラー色成分を有するカラー画像やグラデーション画像も用いられる。このように、同じ箇所に重複して複数画像を印刷する手法は、未だ成熟しておらず、さらなる画質の向上が望まれていた。   In recent years, printing of images on printing media other than white (such as transparent media) with a printing apparatus has been increasing. When printing on such a print medium, in order to improve the color reproducibility in the print result of the color image that forms the main image on the print medium, a background image that is a base in advance in the area where the color image is printed May be printed. As the background image, not only a solid white image but also a color image or a gradation image having a color component to be printed using a color ink such as CMYK is used. Thus, the technique of printing a plurality of images in duplicate at the same location has not yet matured, and further improvement in image quality has been desired.

本発明は上記課題に鑑みてなされたものであり、第1の画像データと第2の画像データが有る場合であって、第1の画像データに基づく印刷位置と重複する箇所に第2の画像データに基づく印刷を行う場合に、印刷結果の画質を向上させることが可能な印刷装置、印刷プログラムおよび印刷方法の提供を目的とする。   The present invention has been made in view of the above problems, and includes a case where the first image data and the second image data are present, and the second image is provided at a position overlapping the print position based on the first image data. An object of the present invention is to provide a printing apparatus, a printing program, and a printing method capable of improving the image quality of a printing result when printing based on data.

上記課題を解決するために、本発明の印刷装置は、少なくとも、主画像を印刷するための第1画像データと背景画像を印刷するための第2画像データとから成る画像データに基づいて所定の印刷媒体に印刷する印刷装置であって、上記印刷媒体に印刷されたときの上記主画像と上記背景画像の重複箇所を検出する検出手段と、上記第2画像データを修正することによって上記重複箇所の上記背景画像を修正する画像修正手段と、上記印刷媒体に対して上記第1画像データに基づいて行う主画像の印刷と上記第2データに基づいて行う背景画像の印刷とを所定の順序で行う印刷手段と、を備える構成としてある。   In order to solve the above-described problems, a printing apparatus according to the present invention has at least a predetermined value based on image data including first image data for printing a main image and second image data for printing a background image. A printing apparatus for printing on a print medium, the detection means for detecting an overlap portion of the main image and the background image when printed on the print medium, and the overlap portion by correcting the second image data Image correction means for correcting the background image, and printing of the main image based on the first image data and printing of the background image based on the second data on the print medium in a predetermined order. And a printing unit that performs printing.

上記構成において、主画像と背景画像とは上記印刷手段によって同一の印刷媒体に対して印刷される。そして、その印刷結果は、上記主画像と上記背景画像とを重ね合わせた状態で観察される。主画像は観察者に近い層に形成され、背景画像は主画像よりも観察者から遠い層に形成される。従って、主画像と背景画像とが重複して形成されている部位では、主画像を形成したときの色材密度次第では背景画像が透けて見えるため、主画像の色と背景画像の色とが混ざった色として観察されることになる。   In the above configuration, the main image and the background image are printed on the same print medium by the printing unit. The print result is observed in a state where the main image and the background image are superimposed. The main image is formed in a layer closer to the observer, and the background image is formed in a layer farther from the observer than the main image. Therefore, in the region where the main image and the background image are formed overlappingly, the background image can be seen through depending on the color material density when the main image is formed. It will be observed as a mixed color.

このような色の混じりあいによる主画像の見えの変動を防止するために、まず検出手段が上記主画像と上記背景画像の重複箇所を検出する。上記主画像と上記背景画像の重複箇所は、上記第1画像データの印刷エリア同士と上記第2画像データの印刷エリアの重複領域であってもよいし、上記第1画像データによって実際にインクやトナー等の色材を印刷媒体に付着させる領域と上記第2画像データによって実際にインクやトナー等の色材を印刷媒体に付着させる領域との重複領域であってもよい。後者の方が重複箇所が少なくなるため、上記画像修正手段における背景画像の修正をピンポイントで実行することが出来る。   In order to prevent such a change in the appearance of the main image due to color mixing, the detecting means first detects an overlapping portion of the main image and the background image. The overlapping portion of the main image and the background image may be an overlapping region of the print areas of the first image data and the print area of the second image data, or the ink or It may be an overlapping area between a region where a color material such as toner adheres to the print medium and a region where the color material such as ink or toner actually adheres to the print medium based on the second image data. Since the latter has fewer overlapping portions, the background image correction in the image correction means can be executed in a pinpoint manner.

上記画像修正手段による修正対象は主画像であっても背景画像であってもよいが、印刷結果における重要度の観点から背景よりも主画像の方が重要である場合が多く、画像を修正することによって副次的に発生する画質の低下を極力避けるためにも背景画像を修正対象とする方が好ましい。また背景画像の方が単調な画像であることが多く、背景画像を修正する方が効率的である。このように、重複印刷される一方の画像を修正するための手段を設けることにより、重複印刷による画質の低下を防止する修正を行うことが可能となる。よって、印刷結果の画質を向上させることが可能になる。   The object to be corrected by the image correcting means may be a main image or a background image, but the main image is often more important than the background from the viewpoint of importance in the print result, and the image is corrected. Therefore, it is preferable to use the background image as a correction target in order to avoid the degradation of the image quality that occurs as a result. Also, the background image is often a monotonous image, and it is more efficient to correct the background image. In this way, by providing a means for correcting one of the images that are duplicately printed, it is possible to perform a correction that prevents deterioration in image quality due to the duplicate printing. Therefore, it is possible to improve the image quality of the print result.

本発明の選択的な一態様として、上記画像修正手段は、上記背景画像の上記重複箇所を白画像に修正する構成としてもよい。背景画像の該当箇所を白画像に変更することにより、主画像が背景画像に影響されることがなくなる。また、印刷媒体の種類(白紙、透明フィルム、等)に依らず、主画像を作成者の意図どおりの印刷結果として形成することができるようになる。なお白画像の中でも、該当箇所の印刷媒体の前面を多い尽くすような被覆率で印刷する白画像に変換すると、より確実に主画像を作成者の意図どおりの印刷結果として形成することができるようになる。   As a selective aspect of the present invention, the image correcting unit may correct the overlapping portion of the background image to a white image. By changing the corresponding portion of the background image to a white image, the main image is not affected by the background image. Further, the main image can be formed as a printing result as intended by the creator regardless of the type of printing medium (white paper, transparent film, etc.). Note that even if the white image is converted into a white image that is printed with a coverage that covers the front surface of the print medium at the corresponding location, the main image can be more reliably formed as a print result as intended by the creator. become.

本発明の選択的な一態様として、上記第1画像データには印刷結果における色変動を許容するか否かを示す色変動許容値が設定されており、上記画像修正手段は、上記第1画像データにおいて上記重複箇所の上記主画像の色変動を上記色変動許容値にて許容していない場合には上記重複箇所の上記背景画像を修正し、上記第1画像データにおいて上記重複箇所の上記主画像の色変動を上記色変動許容値にて許容している場合には上記重複箇所の上記背景画像を修正しない構成としてもよい。すなわち、作成者が、背景画像が透過して見えることを念頭において主画像を作成している場合には、色の見えを変更する必要が無いため、このような場合には色の影響を考慮した画像修正処理を行う必要が無い。よって、作成者の意図を依り確実に反映しつつ画質の向上を図れる。   As a selective aspect of the present invention, a color variation allowable value indicating whether or not color variation in a printing result is permitted is set in the first image data. When the color variation of the main image at the overlapping portion is not allowed in the data, the background image at the overlapping portion is corrected, and the main image at the overlapping portion in the first image data is corrected. When the color variation of the image is permitted by the color variation allowable value, the background image at the overlapping portion may not be corrected. In other words, if the creator creates the main image with the background image appearing transparent, it is not necessary to change the color appearance. There is no need to perform the image correction processing. Therefore, it is possible to improve the image quality while reliably reflecting the intention of the creator.

本発明の選択的な一態様として、上記画像修正手段は、上記重複箇所の上記主画像が印刷結果における色変動を許容しないことが予め設定されている特定色である場合に、上記重複箇所の上記背景画像を修正する構成としてもよい。すなわち、作成者が明示的に指定しなくとも、色変動を許容しないことが予め分かっている特定色については、色変動を防止することができるようになる。このような特定色の色変動を防止するためには、予め色変動許容値が自動的に色変動を許容しない値に設定されるようにして実現することもできる。   As a selective aspect of the present invention, the image correction means may be configured to detect the overlapping portion when the main image at the overlapping portion is a specific color set in advance so as not to allow color variation in the printing result. The background image may be corrected. In other words, even if the creator does not explicitly specify it, color variation can be prevented for a specific color that is known in advance to not allow color variation. In order to prevent such a color variation of the specific color, the color variation allowable value can be automatically set in advance to a value that does not allow the color variation.

本発明の選択的な一態様として、上記画像修正手段は、上記背景画像の上記重複箇所にカラー色成分があり且つ上記主画像の上記重複箇所にカラー色成分がある場合には上記背景画像の上記重複箇所を修正し、上記背景画像にカラー色成分があり且つ上記主画像の上記重複箇所にカラー色成分が無い場合には上記背景画像の上記重複箇所を修正せず、上記背景画像の上記重複箇所にカラー色成分が無い場合には上記背景画像の上記重複箇所を修正しない構成としてもよい。すなわち、主画像の該当する重複箇所にカラー色成分が含まれないのであれば、主画像に色変動はそもそも起こらないし、背景画像の重複箇所にカラー色成分が含まれない場合も、主画像に色変動は起こらない。従って、このような場合については画像修正がされないようにすることにより、より適格な画質の向上を実現できる。   As a selective aspect of the present invention, the image correction means may include a color color component at the overlapping portion of the background image and a color color component at the overlapping portion of the main image. The overlapping portion is corrected, and when the background image has a color color component and the overlapping portion of the main image does not have a color component, the overlapping portion of the background image is not corrected, and the background image When there is no color color component in the overlapping portion, the overlapping portion of the background image may not be corrected. That is, if a color color component is not included in a corresponding overlapping portion of the main image, color variation does not occur in the main image, and if a color color component is not included in the overlapping portion of the background image, Color variation does not occur. Therefore, in such a case, the image quality can be improved more appropriately by preventing the image from being corrected.

本発明の選択的な一態様として、上記画像修正手段は、上記第1画像データのインク記録率が所定割合を超える部位と対応する部位の上記背景画像を修正する構成としてもよい。すなわち、仮に主画像の該当重複箇所で色変動が許容されていても、主画像のインク記録率が既にインク定着量の限界に達していれば、その箇所に背景画像を印刷すると印刷ムラや粒状性の悪化を招く結果となる。よってこのような場合も画像修正を行うようにして、画質のさらなる向上を実現できる。   As a selective aspect of the present invention, the image correcting unit may correct the background image of a portion corresponding to a portion where the ink recording rate of the first image data exceeds a predetermined ratio. In other words, even if color variation is allowed at the corresponding overlapping portion of the main image, if the ink recording rate of the main image has already reached the limit of the ink fixing amount, printing a background image at that portion causes printing unevenness and graininess. This results in a deterioration of sex. Therefore, even in such a case, the image quality can be further improved by correcting the image.

上述した印刷装置は、他の機器に組み込まれた状態で実施されたり他の方法とともに実施されたりする等の各種の態様を含む。また、本発明は前記印刷装置を備える印刷システム、上述した装置の構成に対応した工程を有する印刷方法や印刷制御方法、上述した装置の構成に対応した機能をコンピューターに実現させる印刷プログラム、該印刷プログラムを記録したコンピューター読み取り可能な記録媒体、等としても実現可能である。これら印刷システム、印刷方法、印刷制御方法、印刷プログラム、印刷プログラムを記録した媒体、の発明も、上述した作用、効果を奏する。むろん、請求項2〜6に記載した構成も、前記システムや前記方法や前記プログラムや前記記録媒体に適用可能である。   The above-described printing apparatus includes various modes such as being implemented in a state of being incorporated in another device or being implemented together with another method. The present invention also provides a printing system including the printing apparatus, a printing method and a printing control method having steps corresponding to the configuration of the apparatus described above, a printing program for causing a computer to realize a function corresponding to the configuration of the apparatus described above, and the printing It can also be realized as a computer-readable recording medium on which a program is recorded. The inventions of these printing system, printing method, printing control method, printing program, and medium on which the printing program is recorded also have the above-described operations and effects. Needless to say, the configurations described in claims 2 to 6 are also applicable to the system, the method, the program, and the recording medium.

印刷装置の概略的な構成を示した説明図である。It is explanatory drawing which showed the schematic structure of the printing apparatus. PCのハードウェア構成を示したブロック図である。It is the block diagram which showed the hardware constitutions of PC. プリンターのハードウェア構成を示したブロック図である。FIG. 2 is a block diagram illustrating a hardware configuration of a printer. 印刷装置のソフトウェア構成を示したブロック図である。FIG. 2 is a block diagram illustrating a software configuration of a printing apparatus. 主画像と背景画像を概念的に示した説明図である。It is explanatory drawing which showed the main image and the background image notionally. 主画像データと背景画像データの組合せの一例を示した説明図である。It is explanatory drawing which showed an example of the combination of main image data and background image data. 主画像データと背景画像データの組合せの他の例を示した説明図である。It is explanatory drawing which showed the other example of the combination of main image data and background image data. プリンタードライバーの実行する印刷処理の流れを示すフローチャートである。6 is a flowchart illustrating a flow of printing processing executed by a printer driver. 色変換テーブルLUTmの一例を部分的に示した説明図である。It is explanatory drawing which showed an example of the color conversion table LUTm partially. 色変換テーブルLUTbの対応関係の一例を部分的に示した図である。It is the figure which showed partially an example of the correspondence of color conversion table LUTb. 印刷データ作成処理において作成される制御コマンドの一例を示す説明図である。It is explanatory drawing which shows an example of the control command produced in print data creation processing. プリンタードライバーの実行する印刷処理の第二実施形態の流れを示すフローチャートである。6 is a flowchart illustrating a flow of a second embodiment of a printing process executed by a printer driver. フォワードモデルコンバータについて説明する図である。It is a figure explaining a forward model converter. インバースモデルLUT_invの一例を示した説明図である。It is explanatory drawing which showed an example of the inverse model LUT_inv. プリンタードライバーの実行する印刷処理の第3実施形態の流れを示すフローチャートである。10 is a flowchart illustrating a flow of a third embodiment of a printing process executed by a printer driver. プリンターの実行する印刷処理のフローチャートである。5 is a flowchart of print processing executed by a printer. ラスターバッファーおよびヘッドバッファーの詳細構成を示す説明図である。It is explanatory drawing which shows the detailed structure of a raster buffer and a head buffer. プリンターのプリントヘッドの構成を示す説明図である。It is explanatory drawing which shows the structure of the print head of a printer.

以下、下記の順序に従って本発明の実施形態を説明する。
(1)本実施形態の構成:
(2)プリンタードライバーによる印刷処理:
(3)プリンターでの印刷処理:
(4)変形例:
(5)まとめ:
Hereinafter, embodiments of the present invention will be described in the following order.
(1) Configuration of the present embodiment:
(2) Printing process by printer driver:
(3) Printing process on the printer:
(4) Modification:
(5) Summary:

(1)本実施形態の構成:
図1は、本実施形態にかかる印刷装置の構成を概略的に示す説明図である。同図において、本実施形態の印刷装置は、プリンター100とパーソナルコンピューター200(PC200)を備えている。プリンター100は、インクを吐出して印刷媒体上に画像を形成するインクジェット式プリンターである。PC200は、プリンター100に印刷用の画像データや制御コマンド等からなる印刷制御データを出力することにより、プリンター100に印刷を行わせる印刷制御装置として機能する。プリンター100とPC200は、通信ケーブルや無線通信回線等によって通信可能に接続されている。
(1) Configuration of the present embodiment:
FIG. 1 is an explanatory diagram schematically showing a configuration of a printing apparatus according to the present embodiment. In the figure, the printing apparatus of the present embodiment includes a printer 100 and a personal computer 200 (PC 200). The printer 100 is an ink jet printer that discharges ink to form an image on a print medium. The PC 200 functions as a print control apparatus that causes the printer 100 to perform printing by outputting print control data including image data for printing, control commands, and the like to the printer 100. The printer 100 and the PC 200 are communicably connected via a communication cable, a wireless communication line, or the like.

本実施形態のプリンター100は、シアン(C)、マゼンタ(M)、イエロー(Y)、ブラック(K)、ライトシアン(lc)、ライトマゼンタ(lm)、ホワイト(W)の計7色のインクを搭載しており、これらの中から適宜選択された色のインクを用いて印刷を行う。すなわち、プリンター100はWインクを用いることにより、印刷媒体に対して、白色もしくは白色に近い色の下地を形成する印刷を行ったり、カラー画像を印刷したり、下地とカラー画像を所定の順で重複して印刷したりすることができる。   The printer 100 according to the present embodiment uses a total of seven ink colors, cyan (C), magenta (M), yellow (Y), black (K), light cyan (lc), light magenta (lm), and white (W). It is mounted and printing is performed using ink of a color appropriately selected from these. In other words, the printer 100 uses W ink to perform printing to form a white or near-white background on the print medium, print a color image, or place the background and the color image in a predetermined order. Duplicate printing is possible.

(1−1)ハードウェア構成:
図2は、PC200の構成を概略的に示す説明図である。同図に示すように、PC200は、CPU205、RAM210、ROM215、ディスプレイインターフェース225(DIF225)、操作入力機器インターフェース230、ハードディスク235(HD235)、USBインターフェース240を備えている。各部205〜230はバス等の通信回線を介して接続されており、チップセット等の制御コントローラーの制御に従って相互通信可能になっている。ディスプレイインターフェース225には表示装置としてのディスプレイ225aが接続されている。操作入力機器インターフェース230には操作入力機器230aとしてのマウスやキーボードが接続されている。USBインターフェース240は、プリンター100のUSBインターフェース155と通信可能になっている。
(1-1) Hardware configuration:
FIG. 2 is an explanatory diagram schematically showing the configuration of the PC 200. As shown in the figure, the PC 200 includes a CPU 205, a RAM 210, a ROM 215, a display interface 225 (DIF 225), an operation input device interface 230, a hard disk 235 (HD 235), and a USB interface 240. The units 205 to 230 are connected via a communication line such as a bus, and can communicate with each other under the control of a control controller such as a chip set. A display 225a as a display device is connected to the display interface 225. The operation input device interface 230 is connected with a mouse and a keyboard as the operation input device 230a. The USB interface 240 can communicate with the USB interface 155 of the printer 100.

図3は、プリンター100の構成を概略的に示す説明図である。同図に示すように、プリンター100は、CPU105、RAM110、ROM115、プリントヘッド120、ヘッドコントローラー125、CMYKlclmW各色のインクタンクが搭載されたキャリッジ、キャリッジコントローラー135、キャリッジモーター140、印刷媒体送りモーター145、印刷媒体送りコントローラー150、USBインターフェース155、を備えている。各部105,110,115,125,135,150,155は、バス等の通信回線を介して接続されており、チップセット等の制御コントローラーの制御に従って相互通信可能になっている。CPU105はROM115に記憶されているプログラムを適宜RAMをワークエリアとして利用しつつプログラムに従って演算処理を行うことにより、プリンター100全体を制御する制御部として機能する。   FIG. 3 is an explanatory diagram schematically showing the configuration of the printer 100. As shown in the figure, the printer 100 includes a CPU 105, a RAM 110, a ROM 115, a print head 120, a head controller 125, a carriage on which ink tanks of each color CMYKlclmW are mounted, a carriage controller 135, a carriage motor 140, a print medium feed motor 145, A print medium feed controller 150 and a USB interface 155 are provided. Each part 105,110,115,125,135,150,155 is connected via communication lines, such as a bus | bath, and can mutually communicate according to control of control controllers, such as a chipset. The CPU 105 functions as a control unit for controlling the entire printer 100 by performing arithmetic processing according to the program while appropriately using the RAM stored in the ROM 115 as a work area.

プリントヘッド120はインクを吐出するノズル群を備えており、キャリッジに搭載されている。キャリッジモーター140はキャリッジを所定の方向(主走査方向)に移動させる駆動機構であり、キャリッジコントローラー135の制御に従って動作する。印刷媒体送りモーター145は印刷媒体を主走査方向と直交する方向(副走査方向)に搬送する駆動機構であり、印刷媒体送りコントローラー150の制御に従って動作する。プリントヘッド120の各ノズルは各色のインクタンクに対応するように配置されており、ヘッドコントローラー125の制御に従い、対応するインクタンクのから色インクを取得して吐出する。制御部は、キャリッジコントローラー135と印刷媒体送りコントローラー150とヘッドコントローラー125を連動して制御することにより、印刷媒体上に画像を形成する。   The print head 120 includes a group of nozzles that eject ink, and is mounted on a carriage. The carriage motor 140 is a drive mechanism that moves the carriage in a predetermined direction (main scanning direction), and operates according to the control of the carriage controller 135. The print medium feed motor 145 is a drive mechanism that transports the print medium in a direction orthogonal to the main scanning direction (sub-scanning direction), and operates according to the control of the print medium feed controller 150. Each nozzle of the print head 120 is arranged so as to correspond to the ink tank of each color. Under the control of the head controller 125, the color ink is acquired from the corresponding ink tank and discharged. The controller forms an image on the print medium by controlling the carriage controller 135, the print medium feed controller 150, and the head controller 125 in conjunction with each other.

(1−2)ソフトウェア構成
図4は、印刷装置のソフトウェア構成を概略的に示す説明図である。同図に示すように、PC200のHD235には、アプリケーションプログラムAPLとプリンタードライバーPDrv、主画像用の色変換テーブルLUTm、背景画像用の色変換テーブルLUTb、主画像用のハーフトーンリソースHTRm、背景画像用のハーフトーンリソースHTRbが記憶されている。
(1-2) Software configuration
FIG. 4 is an explanatory diagram schematically showing a software configuration of the printing apparatus. As shown in the figure, the HD 235 of the PC 200 includes an application program APL and a printer driver PDrv, a main image color conversion table LUTm, a background image color conversion table LUTb, a main image halftone resource HTRm, and a background image. A halftone resource HTRb is stored.

<アプリケーション>
アプリケーションプログラムAPLは、透明フィルム等の印刷媒体上へ印刷する画像の画像データを作成してプリンタードライバーに出力するアプリケーションプログラムである。このようなアプリケーションプログラムとしては、レタッチプログラムのように画像を加工・修正するアプリケーション、ドロープログラムのようにコンピューター上で画像を描くアプリケーション、ワープロソフトのように文書を作成するアプリケーション等、様々なプログラムが該当する。
<Application>
The application program APL is an application program that creates image data of an image to be printed on a print medium such as a transparent film and outputs the image data to a printer driver. As such application programs, there are various programs such as an application for processing and correcting an image like a retouch program, an application for drawing an image on a computer like a draw program, and an application for creating a document like word processing software. Applicable.

アプリケーションプログラムAPLは、画像や文書そのものを表す主画像と、画像や文書の背景を表す背景画像と、をそれぞれに調整可能であるものとする。また、アプリケーションプログラムAPLは、主画像と背景画像の各々に対応する画像データを作成してプリンタードライバーに出力する機能を有しているものとする。本実施形態においては、主画像に対応する画像データを主画像データMID(主画像データが複数ある場合は適宜「第1」、「第2」・・・などを付し、符号は「MID1」、「MID2」等とする。)、背景画像データに対応する画像データを背景画像データBID(背景画像データが複数ある場合は適宜「第1」、「第2」・・・などを付し、符号は「BID1」、「BID2」等とする。)と記載する。   It is assumed that the application program APL can adjust a main image representing an image or document itself and a background image representing a background of the image or document. The application program APL has a function of creating image data corresponding to each of the main image and the background image and outputting the image data to the printer driver. In the present embodiment, the image data corresponding to the main image is designated as main image data MID (if there are a plurality of main image data, “first”, “second”... Are added as appropriate, and the code is “MID1”. , “MID2”, etc.), image data corresponding to the background image data is assigned background image data BID (if there are a plurality of background image data, “first”, “second”... The code is “BID1”, “BID2”, etc.).

本実施形態においては、主画像データはCMYKの各色データの階調値の組合せで構成され、背景画像データは、CMYKの各色データの階調値に加えて白(W)の濃度の階調値を示す濃度値Tで構成されている。なお、本実施形態では色データとしてCMYKの4色を採用して説明を行うが、色データはCMYKの組合せに限定されるものではなく、RGBの3原色で表されたRGBデータやL***の各値で表されたLabデータであっても構わない。 In this embodiment, the main image data is composed of a combination of gradation values of CMYK color data, and the background image data is gradation values of white (W) density in addition to the gradation values of CMYK color data. It is comprised by the density value T which shows. In the present embodiment, description will be made by adopting four colors of CMYK as color data. However, the color data is not limited to the combination of CMYK, and RGB data represented by three primary colors of RGB or L * a. Lab data represented by each value of * b * may be used.

また、「主画像」と「背景画像」という名称は、必ずしも一方が主要な画像であり他方が従属的な画像であるといった主従の関係があるものに限る必要は無く、画像データを印刷媒体に印刷するときの印刷順と、印刷結果に対して想定されている観察方向に応じて決定される名称に過ぎない。
図5は、主画像と背景画像を概念的に示した説明図である。図5(a)に示すように、例えば、透明フィルム等の印刷媒体上に先に「背景画像」を印刷してからその後「主画像」を印刷することにより、印刷媒体の印刷面側から観察したときの背景として背景画像が印刷され、背景画像の手前側に主画像が形成されるタイプの印刷が可能となる。
また、図5(b)に示すように、透明フィルム上に先に「主画像」を印刷してからその後「背景画像」を印刷することにより、印刷媒体の印刷されていない面側から観察したときの背景として背景画像が印刷され、背景画像の手前側に主画像が形成されるタイプの印刷が可能となる。
また、図5(c)に示すように、印刷媒体の一方の面を表面として表面から観察されることを想定すると、表面に「主画像」を印刷し、裏面に「背景画像」を印刷することにより、観察方向から見ると「主画像」の背景として「背景画像」が印刷されることになる。
図5(a)〜(c)において、「背景画像」のみに注目すると、「背景画像」が観察者の側に印刷される場合(表面背景タイプ)と、「背景画像」が観察者の反対側に印刷される場合(裏面背景タイプ)とに分類することができる。
The names “main image” and “background image” are not necessarily limited to those having a master-slave relationship in which one is a main image and the other is a subordinate image. It is only a name determined according to the printing order when printing and the observation direction assumed for the printing result.
FIG. 5 is an explanatory diagram conceptually showing a main image and a background image. As shown in FIG. 5 (a), for example, by first printing a "background image" on a printing medium such as a transparent film and then printing a "main image", the image is observed from the printing surface side of the printing medium. The background image is printed as a background when the image is printed, and the main image is formed on the front side of the background image.
In addition, as shown in FIG. 5B, the “main image” was first printed on the transparent film, and then the “background image” was printed, which was observed from the non-printed surface side of the print medium. A background image is printed as a background, and a main image is formed on the front side of the background image.
Further, as shown in FIG. 5C, assuming that one surface of the printing medium is observed from the front surface, a “main image” is printed on the front surface and a “background image” is printed on the back surface. Thus, when viewed from the observation direction, the “background image” is printed as the background of the “main image”.
In FIGS. 5A to 5C, focusing only on the “background image”, when the “background image” is printed on the viewer side (surface background type), the “background image” is the opposite of the viewer. When printing on the side (back side background type), it can be classified.

ユーザーは印刷物の使用態様に応じて、主画像と背景画像の何れを先に印刷するかを選択する。すなわち印刷面側から観察される印刷物であれば背景画像を先に印刷するように指定し、印刷面の裏面側から観察される印刷物であれば主画像を先に印刷するように指定することになる。アプリケーションプログラムAPLは、ユーザーにより指定された印刷順を特定するための印刷順指定データsを含む印刷順指定データPODを生成する。
以上のようにして作成した主画像データMIDと背景画像データBIDと印刷順指定データPODとを含んだ印刷データPDを、アプリケーションプログラムはプリンタードライバーPDrvに出力する。
The user selects which of the main image and the background image is printed first according to the usage of the printed matter. That is, if the printed material is observed from the printing surface side, the background image is designated to be printed first, and if the printed material is observed from the back surface side, the main image is designated to be printed first. Become. The application program APL generates printing order designation data POD including printing order designation data s for specifying the printing order designated by the user.
The application program outputs the print data PD including the main image data MID, background image data BID, and print order designation data POD created as described above to the printer driver PDrv.

また、主画像データと背景画像データは、各々1つの画像データであってもよいが、複数の画像データの組合せで構成されてもよい。例えば、主画像データを作成する際に複数の画像レイヤーに分けて作成した場合に、各レイヤーデータを各々1つの画像データとして出力した場合がこれに該当する。   The main image data and the background image data may each be one image data, but may be composed of a combination of a plurality of image data. For example, when main image data is created by dividing it into a plurality of image layers, this corresponds to the case where each layer data is output as one image data.

図6は、主画像データと背景画像データの組合せの一例を示した説明図である。同図は、アプリケーションプログラムAPLから主画像MIを含む主画像データMIDと背景画像BI1を含む第1背景画像データBID1と背景画像BI2を含む第2背景画像データBID2が出力された場合の例である。
同図において、主画像データMIDには、「TEXT」の文字画像が主画像MIとして含まれている。主画像データMIDには、各画素毎、もしくは画像を複数領域に分割して各領域毎に、印刷結果における色変動を許容するか否かの設定値が設定されている。以下の説明では、この設定値を「色変動許容値」と記載することにする。「色変動許容値」が「非許容」に設定されていれば、背景画像BI1,BI2がどのような色であっても、印刷結果の色の見えが変わらないように背景画像BI1,BI2による影響を除去するために画像データを調整する処理を行う。一方、「色変動許容値」が「許容」に設定されていれば、背景画像BI1,BI2の色を調整する処理は行わない。
FIG. 6 is an explanatory diagram showing an example of a combination of main image data and background image data. This figure shows an example in which main image data MID including main image MI, first background image data BID1 including background image BI1, and second background image data BID2 including background image BI2 are output from application program APL. .
In the figure, the main image data MID includes a character image “TEXT” as the main image MI. In the main image data MID, a setting value is set for each pixel or for each region by dividing the image into a plurality of regions and whether or not to allow color variation in the printing result. In the following description, this set value is referred to as “color variation allowable value”. If the “color variation allowable value” is set to “non-permitted”, the background images BI1 and BI2 are used so that the color appearance of the print result does not change regardless of the background images BI1 and BI2. A process for adjusting the image data to remove the influence is performed. On the other hand, if the “color variation allowable value” is set to “allowable”, the process of adjusting the colors of the background images BI1 and BI2 is not performed.

この「色変動許容値」は、通常の画像データに新たなパラメーターとして設けることも出来るが、現状で一般的に利用されている画像データで利用されているパラメーターを流用することもできる。
例えば、フォトショップ等の汎用アプリケーションで利用されるαチャンネルなどのような透過情報TIを利用することができる。透過情報TIは、主画像データの各画素に設定されるものであり、背景画像の透過/非透過を示す情報である。すなわち、色変動許容値の「許容」「非許容」は、完全透過(透過率100%)と完全非透過(透過率0%)に対応するパラメーターとなる。なお、αチャンネルで透過率を0〜100%の間の任意の値に設定することが出来るように、色変動許容値も「許容」と「非許容」の間の任意の度合を設定可能とし、背景からの影響を許容する度合として指定できるようにしてもよい。背景からの影響を許容する度合を設定した場合の例として、後述の変形例にαチャンネルで透過率を0〜100%の間の任意の値に設定した場合について記載してある。
This “color variation allowable value” can be provided as a new parameter in normal image data, but a parameter used in image data that is generally used at present can also be used.
For example, transmission information TI such as an α channel used in general-purpose applications such as Photoshop can be used. The transmission information TI is set for each pixel of the main image data and is information indicating transmission / non-transmission of the background image. That is, “allowable” and “non-permissible” color variation allowable values are parameters corresponding to complete transmission (transmittance 100%) and complete non-transmission (transmittance 0%). In order to set the transmittance to any value between 0 and 100% in the α channel, the color variation tolerance can be set to any degree between “allowable” and “non-allowable”. It may be possible to specify the degree to which the influence from the background is allowed. As an example of setting the degree of allowing the influence from the background, a case where the transmittance is set to an arbitrary value between 0 and 100% in the α channel is described in a later-described modification.

また、「色変動許容値」は、主画像データMIDを解析した解析結果に応じて決定されるようにしてもよい。例えば、主画像データMID全体の各画素データをスキャンしてその画像特徴量を解析することにより主画像データMIDがどのような種類の画像(2値画像、コンピューターグラフィックスで作成された画像、写真画像、コーポレートカラーのような色変動を許容しない特定色を含む画像、文書画像、等)であるかを特定し、この画像種類に応じて色変動許容値を設定することができる。
例えば、主画像データMIDが2値画像やコンピューターグラフィックスで作成された画像やコーポレートカラーのような色変動を許容しない特定色を含む画像である場合は、画像データを作成する際に色を厳密に指定しつつ作成された画像であると判断し、色変動許容値を「非許容」に設定する。また、写真画像であれば背景に影響されない印刷が望まれていると判断してやはり色変動許容値を「非許容」に設定する。一方、文書画像であれば多少の色変動は許容されるものと判断して「許容」に設定する。むろんこれらは一例であり、「許容」となる画像種類と「非許容」となる画像種類が逆であっても構わないし、ユーザーの希望に応じて画像種類毎に色変動許容値をどちらに設定するかを予めUIなどで設定できるようにしておいてもよい。
The “color variation allowable value” may be determined according to an analysis result obtained by analyzing the main image data MID. For example, by scanning each pixel data of the entire main image data MID and analyzing the image feature amount, what kind of image the main image data MID is (a binary image, an image created by computer graphics, a photograph, etc.) Image, an image including a specific color that does not allow color variation such as a corporate color, a document image, etc.), and a color variation allowable value can be set according to the image type.
For example, if the main image data MID is a binary image, an image created by computer graphics, or an image including a specific color that does not allow color variation, such as a corporate color, the color is strictly set when creating the image data. The color variation allowable value is set to “non-permitted”. If the image is a photographic image, it is determined that printing that is not affected by the background is desired, and the color variation allowable value is set to “non-permissible”. On the other hand, if it is a document image, it is determined that some color variation is allowed, and is set to “allow”. Of course, these are only examples, and the image type that is “permitted” and the image type that is “non-permitted” may be reversed, and the color variation allowable value is set for each image type as desired by the user. It may be possible to set in advance using a UI or the like.

図6において、第1背景画像データBID1は、白以外の色で構成される背景画像BI1としてのグラデーション画像を表すものである。すなわち、第1背景画像データBID1は、Wインク以外のCMYKlclmインクで印刷される背景画像である。図6においては、第1背景画像データBID1は、画像右端に近づくほど徐々に色が濃くなる画像としてある。   In FIG. 6, the first background image data BID1 represents a gradation image as the background image BI1 composed of colors other than white. That is, the first background image data BID1 is a background image printed with CMYKlclm ink other than W ink. In FIG. 6, the first background image data BID <b> 1 is an image that gradually becomes darker as it approaches the right edge of the image.

また、図6において、第2背景画像データBID2は白画像で構成された背景画像BI2を表すものであり、画素毎に白の濃度、すなわち白インクのインク記録率やインク被覆率を指定された画像データである。すなわち、第2背景画像データBID2は、CMYKlclmインクを使わずにWインクだけで印刷される背景画像である。図6においては、白画像の濃度を画像の部位毎に異なるように作成された画像を示してあり、画像の左半分は白画像の濃度をN%、画像の中ほどから右4分の1までの濃度をM%、画像の右4分の1の濃度をP%としてある。
後述の印刷処理の第1実施形態と第2実施形態においては、以上説明した図6の各画像データを入力データとして印刷する際に、背景画像BI1や背景画像BI2による主画像MIに対する影響を考慮しつつ行う印刷の例を説明する。
In FIG. 6, the second background image data BID2 represents the background image BI2 composed of a white image, and the white density, that is, the ink recording rate and the ink coverage of white ink are designated for each pixel. Image data. That is, the second background image data BID2 is a background image that is printed with only W ink without using CMYKlclm ink. FIG. 6 shows an image created so that the density of the white image is different for each part of the image. The left half of the image has N% of the density of the white image, and the middle of the image to the right quarter. The density up to 1% is M%, and the density of the right quarter of the image is P%.
In the first and second embodiments of the printing process described later, the influence of the background image BI1 and the background image BI2 on the main image MI is taken into account when printing the image data of FIG. 6 described above as input data. However, an example of printing performed will be described.

図7は、主画像データと背景画像データの組合せの他の例を示した説明図である。同図は、アプリケーションプログラムAPLから第1主画像データMID1と第2主画像データMID2と第1背景画像データBID1と第2背景画像データBID2が出力された場合の例である。第1主画像データMID1とMID2は、レイヤー的に作成されて各々1つの画像データとして出力された画像データである。
図7においては、第1主画像データMID1は、第1主画像MI1としての文字画像「TEXT」が含まれており、この文字画像を構成する各画素は完全透過設定となっている。一方、第2主画像データMID2は、第2主画像としての所定のカラー画像が含まれており、このカラー画像を構成する各画素は完全非透過設定となっている。第1背景画像データBID1、第2背景画像データBID2については、図6と同様である。
これら第1主画像データMID1とMID2は、第1主画像データMID1が上位レイヤーとして作成され第2主画像データMID2が下位レイヤーとして作成されている。これら主画像データMID1,MID2は印刷処理の中で1つの画像データに合成され、プリンター100に出力される際には1つの画像データとして印刷される。ただし、下位レイヤーに対する透過設定が各画像データ毎に設定されているため、合成する前に各画像データに対する背景画像の影響を考慮しておく必要がある。
後述の印刷処理の第3実施形態においては、図7に示した各画像データを入力データとして印刷する際に、背景画像による主画像に対する影響を考慮しつつ行う印刷の例を説明する。
FIG. 7 is an explanatory diagram showing another example of a combination of main image data and background image data. This figure shows an example in which the first main image data MID1, the second main image data MID2, the first background image data BID1, and the second background image data BID2 are output from the application program APL. The first main image data MID1 and MID2 are image data created in layers and each output as one image data.
In FIG. 7, the first main image data MID1 includes a character image “TEXT” as the first main image MI1, and each pixel constituting the character image is set to be completely transparent. On the other hand, the second main image data MID2 includes a predetermined color image as the second main image, and each pixel constituting the color image is set to be completely non-transparent. The first background image data BID1 and the second background image data BID2 are the same as in FIG.
In these first main image data MID1 and MID2, the first main image data MID1 is created as an upper layer and the second main image data MID2 is created as a lower layer. The main image data MID1 and MID2 are combined into one image data during the printing process, and are printed as one image data when output to the printer 100. However, since the transparency setting for the lower layer is set for each image data, it is necessary to consider the influence of the background image on each image data before the composition.
In a third embodiment of the printing process described later, an example of printing performed while considering the influence of the background image on the main image when printing each image data shown in FIG. 7 as input data will be described.

<プリンタードライバー>
図4に示すように、PC200においてプリンター100のプリンタードライバープログラムをオペレーティングソフト等の基本ソフト上で実行することにより、画像データ取得部M1、影響判定部M2、影響除去部M3、色変換部M4、ハーフトーン処理部M5、印刷データ作成部M6、フォワードモデルコンバータM7の各モジュールに相当する機能が実現される。また、プリンター100の制御部でファームウェア等の制御プログラムが実行されることにより、コマンド処理部M11に相当する機能が実現される。
<Printer driver>
As shown in FIG. 4, by executing a printer driver program of the printer 100 on basic software such as operating software in the PC 200, an image data acquisition unit M1, an influence determination unit M2, an influence removal unit M3, a color conversion unit M4, Functions corresponding to the modules of the halftone processing unit M5, the print data creation unit M6, and the forward model converter M7 are realized. In addition, when a control program such as firmware is executed by the control unit of the printer 100, a function corresponding to the command processing unit M11 is realized.

影響判定部M2は、主画像データMIDに基づいて印刷される主画像MIの色味が、背景画像データBIDに基づいて印刷される背景画像BIの影響を受けて変動するか否かを判断するモジュールである。影響判定部M2は、主画像MIが背景画像BIに影響されて変動する場合は、影響除去部M3にその影響を除去するための処理を指示する。影響判定は、例えば、主画像データMIDと背景画像データBIDの画素データ単位で実行され、印刷媒体上の同一位置の印刷に利用される画素データ同士を対比することにより実行することができる。   The influence determination unit M2 determines whether or not the color of the main image MI printed based on the main image data MID varies under the influence of the background image BI printed based on the background image data BID. It is a module. When the main image MI fluctuates due to the influence of the background image BI, the influence determination unit M2 instructs the influence removal unit M3 to perform processing for removing the influence. The influence determination is performed, for example, in units of pixel data of main image data MID and background image data BID, and can be performed by comparing pixel data used for printing at the same position on the print medium.

具体的には、主画像データMIDの画素データが白を除くカラーの色成分(以下、「カラー色成分」と記載する。)を有している場合であって、この画素データと同じ位置に印刷される背景画像データの画素データにカラー色成分を有している場合に、背景画像BIの色が主画像MIの色に影響を及ぼすと判断する。カラー色成分を有するということは、CMYKの少なくとも1色の階調値が0でないことである。また、主画像データMIDの画素データがカラー色成分を有している場合であって、この画素データと同じ位置に印刷される背景画像データBIDの画素データにカラー色成分を有していない場合には、影響が無いものと判断することができる。また、主画像データMIDの画素データがカラー色成分を有していない場合は、影響を受ける対象が無いので、影響がないものと判断することができる。むろん、背景画像データBIDの画素データのカラー色成分が微量と見做しうる許容量以下であれば(画素データの階調値やこれにより発生するインク量が、所定量以下であれば)、主画像MIに影響を与えないと判断するようにしてもよい。   Specifically, the pixel data of the main image data MID has color components other than white (hereinafter referred to as “color color components”), and is located at the same position as the pixel data. When the pixel data of the background image data to be printed has a color component, it is determined that the color of the background image BI affects the color of the main image MI. Having a color component means that the gradation value of at least one color of CMYK is not zero. In addition, the pixel data of the main image data MID has a color component, and the pixel data of the background image data BID printed at the same position as the pixel data does not have a color component. Can be determined to have no effect. Further, when the pixel data of the main image data MID does not have a color component, it is possible to determine that there is no influence because there is no subject to be affected. Of course, if the color color component of the pixel data of the background image data BID is less than an allowable amount that can be regarded as a minute amount (if the gradation value of the pixel data and the amount of ink generated thereby are less than a predetermined amount), It may be determined that the main image MI is not affected.

影響除去部M3は、背景画像データBIDもしくは主画像データMIDの少なくとも一方を修正することにより、背景画像BIによる主画像MIへの影響を除去したり、影響が許容しうる範囲内に収まるように調整する。
背景画像データBIDを修正する場合は、例えば、該当する画素データのCMYK各色の階調値を0に変更したり、この階調値に基づいて作成される各色インクのインク量データB_inkを0に変更したりすることによって主画像MIに対する背景画像BIの影響を除去することができる。むろん、階調値を0に変更するのではなく、画素データに含まれるカラー色成分を表す色データを許容できる範囲内に変更するようにしても構わない。背景画像データBIDを修正する場合の具体的な方法については後述の第1実施形態で説明する。
主画像データMIDを修正する場合は、例えば、背景画像データBIDのカラー色成分の色データによって形成される印刷結果における色味が相殺されるような調整を主画像データMIDに行うことによって、主画像MIに対する背景画像BIの影響を除去することができる。主画像データMIDを修正する場合の具体的な方法については、後述の第2実施形態で説明する。
The influence removing unit M3 corrects at least one of the background image data BID and the main image data MID so as to remove the influence of the background image BI on the main image MI or to keep the influence within a permissible range. adjust.
When correcting the background image data BID, for example, the gradation value of each color of CMYK of the corresponding pixel data is changed to 0, or the ink amount data B_ink of each color ink created based on this gradation value is set to 0. By changing it, the influence of the background image BI on the main image MI can be removed. Of course, instead of changing the gradation value to 0, the color data representing the color component included in the pixel data may be changed within an allowable range. A specific method for correcting the background image data BID will be described in a first embodiment described later.
When correcting the main image data MID, for example, by adjusting the main image data MID so that the color tone in the printing result formed by the color data of the color component of the background image data BID is offset, The influence of the background image BI on the image MI can be removed. A specific method for correcting the main image data MID will be described in a second embodiment described later.

色変換部M4は、HD235に予め記憶された色変換テーブルLUTm,LUTbを適宜参照しつつ、主画像データMIDや背景画像データBIDのCMYK各色の階調値をプリンター100に搭載されている各インク色の階調値に変換する。この各インク色の階調値は、印刷ヘッドのノズルから各画素に対応する範囲内にと出されるインク量に比例する値であるため、インク記録率とも呼ばれる。なお、色変換部M4は、同一色の淡インクと濃インクと階調値を振り分けるための、いわゆる分版処理も同時に行うように構成されている。   The color conversion unit M4 appropriately refers to the color conversion tables LUTm and LUTb stored in advance in the HD 235, and sets the gradation values of the CMYK colors of the main image data MID and the background image data BID for each ink mounted on the printer 100. Convert to color gradation value. The gradation value of each ink color is a value proportional to the amount of ink taken out from the nozzle of the print head within a range corresponding to each pixel, and is also called an ink recording rate. The color conversion unit M4 is configured to simultaneously perform so-called color separation processing for distributing light ink, dark ink, and gradation values of the same color.

ハーフトーン処理部M5は、HD235に予め記憶されたハーフトーンリソースHTRm、HTRbを適宜参照しつつ、各インク色について生成された階調値を画素毎にインクの吐出/非吐出の2値化するとともに、吐出するインクの量を特定したハーフトーン画像データを生成する。
印刷データ作成部M6は、ハーフトーン画像データを受取ってプリンター100で使用される順に並べ替え、一回の主走査にて使用されるデータを単位にして、逐次、プリンター100に出力する。
The halftone processing unit M5 binarizes the gradation value generated for each ink color for each pixel, ink ejection / non-ejection, with reference to the halftone resources HTRm and HTRb stored in advance in the HD 235 as appropriate. At the same time, halftone image data specifying the amount of ink to be ejected is generated.
The print data creation unit M6 receives the halftone image data and rearranges the data in the order used by the printer 100, and sequentially outputs the data to the printer 100 in units of data used in one main scan.

(2)プリンタードライバーによる印刷処理:
(2−1)印刷処理の第1実施形態:
図8は、プリンタードライバーPDrvの実行する印刷処理の流れを示すフローチャートである。同図に示す印刷処理においては、主画像データMIDと第1背景画像データBID1と第2背景画像データBID2と印刷順指定データPODとにより構成される印刷データPDに基づいて印刷を行う。その際、主画像データMIDと第1背景画像データBID1の間、もしくは主画像データMIDと第2背景画像データBID2の間で印刷範囲が重複する場合には、その重複箇所について第1背景画像データBID1と第2背景画像データBID2を修正する。その結果、印刷結果は印刷データPDを作成したユーザーの意図に沿うように修正される。なお、本第1実施形態の印刷処理においては、主画像データMIDは修正されない。
(2) Printing process by printer driver:
(2-1) First Embodiment of Print Processing:
FIG. 8 is a flowchart showing the flow of printing processing executed by the printer driver PDrv. In the printing process shown in the figure, printing is performed based on print data PD composed of main image data MID, first background image data BID1, second background image data BID2, and print order designation data POD. At this time, if the print range overlaps between the main image data MID and the first background image data BID1, or between the main image data MID and the second background image data BID2, the first background image data for the overlapping portion. BID1 and second background image data BID2 are corrected. As a result, the print result is corrected to match the intention of the user who created the print data PD. In the printing process according to the first embodiment, the main image data MID is not corrected.

本第1実施形態の印刷処理は、アプリケーションプログラムAPLから印刷データPDが入力されたときに開始される。処理が開始されると、ステップS100(以下、「ステップ」の記載を省略する。)において、画像データ取得部M1が、アプリケーションプログラムAPLから入力された主画像データMIDと第1背景画像データBID1と第2背景画像データBID2と印刷順指定データPODを取得する。   The printing process of the first embodiment is started when print data PD is input from the application program APL. When the process is started, in step S100 (hereinafter, “step” is omitted), the image data acquisition unit M1 receives the main image data MID input from the application program APL and the first background image data BID1. Second background image data BID2 and printing order designation data POD are acquired.

次にS105において、影響判定部M2が、主画像データMIDによって印刷される印刷結果の見え(色再現)に対し、第1背景画像データBID1や第2背景画像データBID2の印刷結果が影響を与えるか否かを判断する。より具体的には、主画像データMIDを構成する複数の画素データの中から順次1つの画素データM_Pixを選択して取得するとともに、この画素データM_Pixと同じ位置の印刷に利用される第1背景画像データBID1の画素データB1_Pixと第2背景画像データBID2の画素データB2_Pixを選択して取得する。そして、画素データB1_Pix,B2_Pixによる印刷結果が画素データM_Pixによる印刷結果に影響を与えるか否かを判断する。   In step S105, the influence determination unit M2 affects the appearance (color reproduction) of the print result printed by the main image data MID, with the print results of the first background image data BID1 and the second background image data BID2. Determine whether or not. More specifically, first pixel data M_Pix is sequentially selected from a plurality of pixel data constituting the main image data MID, and is used for printing at the same position as the pixel data M_Pix. The pixel data B1_Pix of the image data BID1 and the pixel data B2_Pix of the second background image data BID2 are selected and acquired. Then, it is determined whether or not the printing result based on the pixel data B1_Pix and B2_Pix affects the printing result based on the pixel data M_Pix.

影響を与えるか否かは、以下の複数の方法で判断される。
まず、影響判定部M2は、画素データB1_Pixと画素データB2_Pixの各々がカラー色成分を有しているか否かを判断し、次に画素データM_Pixがカラー色成分を有しているか否かを判断する。
Whether or not to influence is determined by the following plurality of methods.
First, the influence determination unit M2 determines whether each of the pixel data B1_Pix and the pixel data B2_Pix has a color color component, and then determines whether the pixel data M_Pix has a color color component. To do.

影響判定部M2は、画素データB1_Pix,B2_Pixが白色だけで構成されている場合は、背景画像BI1,BI2が主画像MIに影響を与えないと判断してS120に進む。
また、画素データB1_Pix,B2_Pixがカラー色成分を有している場合であっても、画素データM_Pixがカラー色成分を有していない場合には、影響判定部M2は、背景画像BI1,BI2が主画像MIに影響を与えないと判断してS120に進む。
一方、画素データB1_Pix,B2_Pixの少なくとも一方がカラー色成分を有している場合であって、画素データM_Pixがカラー色成分を有している場合には、背景画像BI1,BI2の少なくとも一方が主画像MIに影響を与える可能性があると判断してS110に進む。
If the pixel data B1_Pix, B2_Pix is composed only of white, the influence determination unit M2 determines that the background images BI1 and BI2 do not affect the main image MI and proceeds to S120.
Even when the pixel data B1_Pix and B2_Pix have a color component, if the pixel data M_Pix does not have a color component, the influence determination unit M2 determines that the background images BI1 and BI2 It is determined that the main image MI is not affected, and the process proceeds to S120.
On the other hand, when at least one of the pixel data B1_Pix and B2_Pix has a color component, and the pixel data M_Pix has a color component, at least one of the background images BI1 and BI2 is the main image. It is determined that there is a possibility of affecting the image MI, and the process proceeds to S110.

なお、S105では、背景画像の画素データB1_Pix,B2_PixのCMYK各色データが0であるか否かで判断分岐を行ったが、背景画像の画素データB1_Pix,B2_Pixのカラー色成分が微少量であれば主画像に与える影響も少ないことを考慮して、この微少量を示す所定の閾値以下のカラー色成分を有しているか否かで判断分岐を行ってもよい。この所定の閾値は、実際に印刷を行って各色データ毎に決定したり、色データの組合せごとに決定したりするなど、実験的に決定することができる。   In S105, a determination branch is made based on whether or not the CMYK color data of the pixel data B1_Pix and B2_Pix of the background image is 0. However, if the color data components of the background image pixel data B1_Pix and B2_Pix are very small Considering that the influence on the main image is small, the determination branch may be performed depending on whether or not it has a color color component equal to or smaller than a predetermined threshold value indicating the minute amount. The predetermined threshold value can be determined experimentally, for example, by actually performing printing and determining each color data or determining each color data combination.

ただし、画素データM_Pixが予め指定されている特定の画像を構成する画素データである場合は、背景画像の画素データB1_Pix,B2_Pixのカラー色成分が微少量であるか否かに関わらず、影響があると判断してS110に進むことが好ましい。
例えば、画素データM_Pixが特定色の色を印刷するための色データである場合(CMYK各色データの比率が特定の比率である場合)には、背景画像の画素データB1_Pix,B2_Pixのカラー色成分が微少量であってもS110に進んで、背景画像の画素データB1_Pix,B2_Pixによる主画像の画素データM_Pixへの影響を除去することが好ましい。ここで言う特定色とは、例えば、コーポレートカラー(シンボルカラー)であり、厳密に色彩を固定した印刷を要求される色であり、色の変動を許容しないことを予め指定された色である。
また画素データM_Pixが二値画像の一部を構成する画素であったり、コンピューターによって描いた図形の一部を構成する画素であったりする場合にも、背景画像の画素データB1_Pix,B2_Pixのカラー色成分が微少量であるか否かに関わらず影響があると判断してS110に進むことが好ましい。主画像データMIDには、コンピューターによって描いた図形の画像であるか否かを示すパラメーターや、二値画像であるか否かを示すパラメーターが設定されているものとする。
However, when the pixel data M_Pix is pixel data constituting a specific image specified in advance, there is an influence regardless of whether or not the color color component of the pixel data B1_Pix and B2_Pix of the background image is very small. It is preferable to proceed to S110 by judging that there is.
For example, when the pixel data M_Pix is color data for printing a color of a specific color (when the ratio of CMYK color data is a specific ratio), the color data components of the background image pixel data B1_Pix and B2_Pix are Even if the amount is very small, it is preferable to proceed to S110 and remove the influence of the pixel data B1_Pix, B2_Pix of the background image on the pixel data M_Pix of the main image. The specific color referred to here is, for example, a corporate color (symbol color), which is a color that requires printing with strictly fixed colors, and is a color that is designated in advance so as not to allow color variation.
Even when the pixel data M_Pix is a pixel constituting a part of a binary image or a pixel constituting a part of a figure drawn by a computer, the color data of the pixel data B1_Pix and B2_Pix of the background image It is preferable to determine that there is an effect regardless of whether or not the amount of the component is very small and proceed to S110. In the main image data MID, a parameter indicating whether or not the image is a graphic image drawn by a computer and a parameter indicating whether or not the image is a binary image are set.

S110において、影響判定部M2は、S105で選択された画素データの透過情報TIを参照して、S105で選択された画素データM_Pixが透過設定であるか否かを判断する。すなわち、背景画像BI1,BI2によって主画像MIが影響を受けることを許容する設定であるか否かを判断する。背景画像BI1,BI2が主画像MIを透過して印刷結果に現れることを予め想定して作成された画像データであれば、背景画像BI1,BI2が主画像MIに影響を与えても構わないからである。影響判定部M2は、S105で選択された画素データM_Pixの透過情報TIが透過設定の場合はS120に進み、S105で選択された画素データM_Pixが非透過設定の場合はS115に進む。   In S110, the influence determination unit M2 refers to the transmission information TI of the pixel data selected in S105, and determines whether or not the pixel data M_Pix selected in S105 is a transmission setting. That is, it is determined whether or not the setting allows the main image MI to be affected by the background images BI1 and BI2. The background images BI1 and BI2 may affect the main image MI as long as the background images BI1 and BI2 are image data created in advance assuming that they appear in the print result through the main image MI. It is. The influence determination unit M2 proceeds to S120 if the transmission information TI of the pixel data M_Pix selected in S105 is set to be transparent, and proceeds to S115 if the pixel data M_Pix selected in S105 is set to be non-transparent.

S115において、影響除去部M3は、S105で選択された画素データB1_Pix,B2_Pixに対して、主画像に対する影響を極小化するように色味の補正を行う。本第1実施形態においては、影響除去部M3は、S105で選択された画素データB1_Pix,B2_Pixからカラー色成分を除去する処理を行う。すなわち、影響除去部M3は、画素データB1_Pixを構成する各色データのうち、白色データを除いたCMYK色の階調値を0に変更する。また、影響除去部M3は、画素データB2_Pixを構成する白データの濃度階調値を100%とし、該画素データB2_Pixによって白ベタが印刷されるように変更する。
以上のS105〜S115の処理は、主画像データMIDおよび第1背景画像データBID1と第2背景画像データBID2の全ての画素データがS105で選択されるまで、順次実行される。
以上のS105〜S115の処理を行うことにより、印刷データPDに基づいて印刷された印刷結果において、背景画像BI1,BI2が主画像MIの見えに影響しないようにすることができる。
In S115, the influence removing unit M3 corrects the color of the pixel data B1_Pix and B2_Pix selected in S105 so as to minimize the influence on the main image. In the first embodiment, the influence removing unit M3 performs a process of removing color color components from the pixel data B1_Pix and B2_Pix selected in S105. In other words, the influence removing unit M3 changes the CMYK color gradation value of the color data constituting the pixel data B1_Pix to 0, excluding the white data. Further, the influence removing unit M3 changes the density gradation value of the white data constituting the pixel data B2_Pix to 100%, and changes the white solid to be printed by the pixel data B2_Pix.
The above processes of S105 to S115 are sequentially executed until all pixel data of the main image data MID and the first background image data BID1 and the second background image data BID2 are selected in S105.
By performing the processes of S105 to S115, it is possible to prevent the background images BI1 and BI2 from affecting the appearance of the main image MI in the print result printed based on the print data PD.

S120において、色変換部M4は、主画像データMIDから主画像のインク量データM_inkを作成する。すなわち、色変換部M4は、主画像データMIDの中から1つの画素データM_Pixを選択し、色変換テーブルLUTmを参照しつつ、主画像データMIDの各画素データM_Pixをインク色別の階調値であるインク量データ(インク色別階調値)に変換していく。上述したように、本実施形態では、CMYKlclmWの計7色のインクを用いて印刷を行う。従って、S120の色変換処理では、色変換テーブルLUTmを参照して、CMYK値を7つのインク色のそれぞれの階調値に変換する。   In S120, the color conversion unit M4 creates ink amount data M_ink of the main image from the main image data MID. That is, the color conversion unit M4 selects one pixel data M_Pix from the main image data MID, refers to the color conversion table LUTm, and converts each pixel data M_Pix of the main image data MID to the gradation value for each ink color. Is converted into ink amount data (tone value for each ink color). As described above, in this embodiment, printing is performed using CMYKlclmW inks of a total of seven colors. Therefore, in the color conversion process of S120, the CMYK values are converted into the respective tone values of the seven ink colors with reference to the color conversion table LUTm.

図9は、色変換テーブルLUTmの一例を部分的に示した説明図である。同図に示すように、色変換テーブルLUTmには、予め設定されたCMYK値とインク色であるCMYKlclmの各階調値との対応関係が規定されている。なお、同図に示した色変換テーブルLUTmでは、CMYKの各色データの階調値を0以上100以下の範囲で規定しており、インク色の階調値を0以上255以下の範囲で規定している。また、図9に示すように、本実施形態では主画像データMIDから変換して生成されるインク量データにはCMYKlclmの6色のインクが使用され、Wインクは使用されないようになっている。   FIG. 9 is an explanatory diagram partially showing an example of the color conversion table LUTm. As shown in the figure, the color conversion table LUTm defines the correspondence between preset CMYK values and gradation values of CMYKlclm, which are ink colors. In the color conversion table LUTm shown in the figure, the gradation value of each color data of CMYK is defined in the range of 0 to 100, and the gradation value of the ink color is defined in the range of 0 to 255. ing. Also, as shown in FIG. 9, in this embodiment, six inks of CMYKlclm are used for the ink amount data generated by conversion from the main image data MID, and W ink is not used.

S125において、影響判定部M2は、背景画像BI1,BI2が主画像MIに与える影響を主画像のインク量データM_inkに基づいて判断し、影響があると判断した場合はS130に進み、影響がないと判断した場合はS135に進む。ここで判断する影響とは、印刷ムラや粒状性の悪化に関する影響であり、主画像のインク量データM_inkのインク被覆率に基づいて判断を行う。   In S125, the influence determination unit M2 determines the influence of the background images BI1 and BI2 on the main image MI based on the ink amount data M_ink of the main image. If it is determined that there is an influence, the process proceeds to S130 and there is no influence. If it is determined, the process proceeds to S135. The influence determined here is an influence regarding printing unevenness and deterioration of graininess, and is determined based on the ink coverage of the ink amount data M_ink of the main image.

より具体的には、S125において、影響判定部M2は、まず主画像のインク量データM_inkの中か画素データM_ink_Pixを1つ選択して取得し、この画素データM_ink_Pixによって印刷を行ったときにベタ埋まりするか否かを判断する。ベタ埋まりするか否かの判断は、画素データM_ink_Pixのインク記録率(インク被覆率)が所定の閾値超えるか否かによって行われる。   More specifically, in S125, the influence determination unit M2 first selects and acquires one of the ink amount data M_ink of the main image or the pixel data M_ink_Pix, and performs solid printing when printing is performed using the pixel data M_ink_Pix. Judge whether to fill up or not. The determination of whether or not the image is solid is made based on whether or not the ink recording rate (ink coverage) of the pixel data M_ink_Pix exceeds a predetermined threshold value.

すなわち、影響判定部M2は、画素データM_ink_Pixのインク量データに基づいてインク被覆率を算出し、そのインク記録率が所定の閾値を超える場合はベタ埋まりしていると判断してS310に進み、所定の閾値を超えない場合はベタ埋まりしていいないと判断する。S125で選択された画素データM_ink_Pixがベタ埋まりしていないと判断した場合は、主画像のインク量データM_inkの全画素データについてベタ埋まり判定を完了するまで順次画素データを選択してS125のベタ埋まり判定を行い、主画像のインク量データM_inkの全画素データについてベタ埋まり判定を完了するとS135に進む。   That is, the influence determination unit M2 calculates the ink coverage based on the ink amount data of the pixel data M_ink_Pix, determines that the ink recording rate exceeds a predetermined threshold, determines that it is solid, and proceeds to S310. If the predetermined threshold value is not exceeded, it is determined that the solid filling is not allowed. If it is determined that the pixel data M_ink_Pix selected in S125 is not solid, the pixel data is sequentially selected until the solid filling determination is completed for all the pixel data of the ink amount data M_ink of the main image, and the solid filling in S125 is performed. When the determination is made and the solid filling determination is completed for all the pixel data of the ink amount data M_ink of the main image, the process proceeds to S135.

S130において、影響除去部M3は、S125で選択された画素インク量データM_ink_Pixに対応する位置の画素データM_Pixに対して、色の補償(色味の補正)を行う。本実施形態においては、影響除去部M3は、S125で選択された画素データB1_Pixからカラー色成分を除去する処理を行う。すなわち、影響除去部M3は、S125で選択された画素インク量データM_ink_Pixに対応する位置に印刷された第1背景画像データBID1の画素データB1_Pixと第2背景画像データBID2の画素データB2_Pixを構成する各色データのうち、白色データを除いた色データの階調値を0に変更する。S130の処理が終了すると、主画像のインク量データM_inkの全画素データについてベタ埋まり判定を完了するまで順次画素データを選択してS125のベタ埋まり判定を行い、主画像のインク量データM_inkの全画素データについてベタ埋まり判定を完了するとS135に進む。
以上の処理を行うことにより、第1背景画像データBID1と第2背景画像データBID2は、印刷結果における印刷ムラや粒状性の悪化を防止可能なデータとなる。
In S130, the influence removing unit M3 performs color compensation (color correction) on the pixel data M_Pix at the position corresponding to the pixel ink amount data M_ink_Pix selected in S125. In the present embodiment, the influence removing unit M3 performs a process of removing the color component from the pixel data B1_Pix selected in S125. That is, the influence removing unit M3 configures the pixel data B1_Pix of the first background image data BID1 and the pixel data B2_Pix of the second background image data BID2 printed at the position corresponding to the pixel ink amount data M_ink_Pix selected in S125. Among each color data, the gradation value of the color data excluding the white data is changed to 0. When the process of S130 is completed, pixel data is sequentially selected until the solid filling determination is completed for all the pixel data of the ink amount data M_ink of the main image, and the solid filling determination of S125 is performed, and all of the ink amount data M_ink of the main image is determined. When the solid filling determination is completed for the pixel data, the process proceeds to S135.
By performing the above processing, the first background image data BID1 and the second background image data BID2 become data that can prevent printing unevenness and deterioration of graininess in the printing result.

S135において、ハーフトーン処理部M5は、主画像のインク量データM_inkから1画素のインク色別階調値を取り出し、インク色毎にディザパターンを参照して2値化処理(ハーフトーン処理)を行う。2値化処理は予め設定された主画像用のハーフトーンリソースHTRmを参照して実行される。そして、ハーフトーン処理部M5は、S135の2値化処理を全インク色について実施するまで主画像のインク量データM_inkから順次インク色別階調値を取り出して2値化処理を繰り返す。主画像のインク量データM_inkを構成するインク色別階調値についてS135の2値化処理が完了すると、主画像の2値データMBDが作成される。   In S135, the halftone processing unit M5 extracts the gradation value for each pixel of the ink color from the ink amount data M_ink of the main image, and performs binarization processing (halftone processing) with reference to the dither pattern for each ink color. Do. The binarization process is executed with reference to a preset main image halftone resource HTRm. Then, the halftone processing unit M5 sequentially extracts the gradation values for each ink color from the ink amount data M_ink of the main image and repeats the binarization process until the binarization process of S135 is performed for all ink colors. When the binarization process of S135 is completed for the gradation values for each ink color constituting the ink amount data M_ink of the main image, the binary data MBD of the main image is created.

S140において、第1背景画像データBID1と第2背景画像データBID2を合成した合成背景画像データBID’を作成し、色変換部M4が合成背景画像データBID’に対して色変換処理を行い、色変換後の合成背景画像データBID’に対してハーフトーン処理部M5がハーフトーン処理を行う。
図10は、色変換部M4が背景画像データの色変換を行う際に参照する色変換テーブルLUTbの対応関係の一例を部分的に示した図である。同図に示すように、色変換テーブルLUTbでは、白インクの量を濃度値Tで指定できるようになっている。また、薄めの色で構成される背景画像の印刷に適するように、CMYK各色データの階調値は0〜100の間の0〜15が入力値として設定されており、低めの階調値とインク量との対応関係が規定されている。
色変換部M4は色変換テーブルLUTbを参照しながら合成背景画像データBID’の各画素データをインク量データに変換することにより合成背景画像のインク量データB_inkを作成し、ハーフトーン処理部M5はインク量データB_inkの各画素のインク色別階調値にインク色毎にディザパターンを参照して2値化処理を行って、合成背景画像データBID’の2値データBBDを作成する。なお、本実施形態では、背景画像データの合成を予め行ってから色変換処理とハーフトーン処理を行ったが、各背景画像データを色変換した後で合成を行ってもよいし、ハーフトーン処理まで終了してから合成してもよい。
In S140, composite background image data BID ′ obtained by combining the first background image data BID1 and the second background image data BID2 is created, and the color conversion unit M4 performs color conversion processing on the composite background image data BID ′, The halftone processing unit M5 performs halftone processing on the converted composite background image data BID ′.
FIG. 10 is a diagram partially showing an example of the correspondence relationship of the color conversion table LUTb that is referred to when the color conversion unit M4 performs color conversion of the background image data. As shown in the figure, in the color conversion table LUTb, the amount of white ink can be specified by the density value T. Also, the gradation value of each color data of CMYK is set as an input value of 0 to 15 between 0 and 100 so that it is suitable for printing a background image composed of lighter colors. Correspondence with ink amount is defined.
The color conversion unit M4 creates ink amount data B_ink of the composite background image by converting each pixel data of the composite background image data BID ′ into ink amount data while referring to the color conversion table LUTb, and the halftone processing unit M5 Binarization processing is performed on the gradation value for each ink color of each pixel of the ink amount data B_ink with reference to a dither pattern for each ink color, and binary data BBD of the composite background image data BID ′ is created. In this embodiment, the color conversion process and the halftone process are performed after the background image data is synthesized in advance. However, the composition may be performed after the color conversion of each background image data, or the halftone process. You may synthesize after finishing.

S145において、印刷データ作成部M6は、主画像の2値データMBD、背景画像の2ちデータBBD並びに印刷順指定データPODに基づいて、主画像MIや各背景画像BI1,BI2をプリンター100に印刷させるための制御コマンドを作成する。以下の説明では、主画像MIをプリンター100に印刷させるための制御コマンドを作成する場合を例にとって説明するが、合成背景画像をプリンター100に印刷させるための制御コマンドも同様の処理を行って作成されるものとする。
図11は、印刷データ作成処理において作成される制御コマンドの一例を示す説明図である。制御コマンドは、印刷順指定コマンドと、垂直位置指定コマンドと、水平位置指定コマンドと、各ドットデータ(ラスターデータ)およびインクコードを含んで構成されている。
In S145, the print data creation unit M6 prints the main image MI and the background images BI1 and BI2 on the printer 100 based on the binary data MBD of the main image, the binary data BBD of the background image, and the print order designation data POD. Create a control command to In the following description, a case where a control command for causing the printer 100 to print the main image MI will be described as an example. However, a control command for causing the printer 100 to print a composite background image is also created by performing similar processing. Shall be.
FIG. 11 is an explanatory diagram illustrating an example of a control command created in the print data creation process. The control command includes a printing order designation command, a vertical position designation command, a horizontal position designation command, each dot data (raster data), and an ink code.

印刷順指定コマンドは、アプリケーションプログラムAPLから入力された印刷順指定データPODに基づいて作成される。
図11(a)は印刷順指定コマンドの例である。同図に示すように、印刷順指定コマンドは、コマンド先頭を示す識別子Escと、印刷順指定コマンドであることを示す識別子“j”と、コマンド長(本実施形態においては2バイト)nL,nHと、印刷順指定データsと、を含んで構成されている。例えば、印刷順指定データsの値は、印刷順指定データPODが「M−B印刷」を示す場合は「0」とし、印刷順指定データPODが「B−M印刷」を示す場合は「1」とすることができる。「M−B印刷」とは、主画像を先に印刷して背景画像を後に印刷することを意味し、「M−B印刷」とは背景画像を先に印刷して主画像を後に印刷することを意味する。なお、本明細書では、印刷順指定データPODがアプリケーションプログラムAPLによって作成されることとしたが、プリンタードライバーPDrvによって印刷順指定データPODが作成されてもよいし、アプリケーションプログラムAPLが作成した印刷順指定データPODをプリンタードライバーPDrvによって修正してもよい。
The print order designation command is created based on the print order designation data POD input from the application program APL.
FIG. 11A shows an example of a print order designation command. As shown in the figure, the print order designation command includes an identifier Esc indicating the head of the command, an identifier “j” indicating the print order designation command, and a command length (2 bytes in this embodiment) nL, nH. And printing order designation data s. For example, the value of the printing order designation data s is “0” when the printing order designation data POD indicates “MB printing”, and “1” when the printing order designation data POD indicates “BM printing”. ". “MB printing” means that the main image is printed first and the background image is printed later, and “MB printing” means that the background image is printed first and the main image is printed later. Means that. In this specification, the printing order designation data POD is created by the application program APL. However, the printing order designation data POD may be created by the printer driver PDrv, or the printing order created by the application program APL. The designated data POD may be corrected by the printer driver PDrv.

垂直位置指定コマンドは、ハーフトーン処理部M5の出力した主画像データMIDに対応して作成された主画像の2値データMBDに基づいて作成される。垂直位置指定コマンドは、垂直方向(副走査方向:印刷媒体の搬送方向)の画像の開始位置を指定するコマンドである。垂直位置指定コマンドは、全インクに共通のコマンドとして作成される。   The vertical position designation command is created based on the binary data MBD of the main image created corresponding to the main image data MID output from the halftone processing unit M5. The vertical position designation command is a command for designating a start position of an image in the vertical direction (sub-scanning direction: print medium conveyance direction). The vertical position designation command is created as a command common to all inks.

水平位置指定コマンドは、主画像形成の際の1つのインク色についての水平方向(主走査方向)の画像形成の開始位置を指定するコマンドである。水平位置指定コマンドは、ハーフトーン処理部M5の出力した主画像の2値データMBDの各インク色毎に作成される。印刷データ作成部M6は、1つのインク色についての2値データを参照し、水平方向における前記1つのインク色についての主画像の2値データMBDの開始位置を特定し、この開始位置を指定するための水平位置指定コマンドを作成する。   The horizontal position designation command is a command for designating the image formation start position in the horizontal direction (main scanning direction) for one ink color during main image formation. The horizontal position designation command is generated for each ink color of the binary data MBD of the main image output from the halftone processing unit M5. The print data creation unit M6 refers to the binary data for one ink color, specifies the start position of the binary data MBD of the main image for the one ink color in the horizontal direction, and designates this start position. Create a horizontal position specification command for

図11(b)にはラスターコマンドの例が示してある。同図に示すように、ラスターコマンドは、コマンド先頭を示す識別子Escと、ラスターコマンドであることを示す識別子iと、インクコードrと、1画素あたりのビット数bと、水平方向(X方向)長さ(本実施形態においては2バイト)nL,nHと、垂直方向(Y方向)長さ(本実施形態においては2バイト)mL,mHと、ラスターデータ(ドットデータ)d1,d2,・・・,dnと、を含んでいる。ドットデータは1ラスター毎に作成される。インクコードrは各インク色に固有のコードである。HD235には、各インク色に固有のインク略称とインクコードとが対応付けたインクコード表が保存されており、このインクコード表を参照することにより各インク色のインクコードを検索し、ラスターコマンドに付与するべきインクコードを得ることができる。   FIG. 11B shows an example of a raster command. As shown in the figure, the raster command includes an identifier Esc indicating the head of the command, an identifier i indicating the raster command, an ink code r, a bit number b per pixel, and a horizontal direction (X direction). Length (2 bytes in this embodiment) nL, nH, vertical (Y direction) length (2 bytes in this embodiment) mL, mH, raster data (dot data) d1, d2,. ., Dn. Dot data is created for each raster. The ink code r is a code unique to each ink color. The HD 235 stores an ink code table in which an ink abbreviation unique to each ink color is associated with an ink code. By referring to the ink code table, an ink code of each ink color is searched for, and a raster command is stored. Ink cords to be applied to can be obtained.

S150において、プリンタードライバーPDrvは、S145で作成された主画像の印刷制御データ(印刷順指定コマンド、垂直位置指定コマンド、水平位置指定コマンド、ラスターコマンド)と背景画像の印刷制御データをプリンター100へ送信する。以上で、プリンタードライバーPDrvによる処理が完了する。   In S150, the printer driver PDrv transmits the print control data (print order designation command, vertical position designation command, horizontal position designation command, raster command) and background image print control data generated in S145 to the printer 100. To do. This completes the processing by the printer driver PDrv.

(2−2)印刷処理の第2実施形態:
図12は、プリンタードライバーPDrvの実行する印刷処理の流れを示すフローチャートである。同図に示す印刷処理においては、主画像データMIDと第1背景画像データBID1と第2背景画像データBID2と印刷順指定データPODとにより構成される印刷データPDに基づいて印刷を行う。その際、主画像データMIDと第1背景画像データBID1の間、もしくは主画像データMIDと第2背景画像データBID2の間で印刷範囲が重複する場合には、その重複箇所について主画像データMIDを修正する。その結果、印刷結果は印刷データPDを作成したユーザーの意図に沿うように修正される。なお、本第2実施形態の印刷処理においては、第1背景画像データBID1と第2背景画像データBID2は修正されない。
(2-2) Second Embodiment of Print Processing:
FIG. 12 is a flowchart showing the flow of printing processing executed by the printer driver PDrv. In the printing process shown in the figure, printing is performed based on print data PD composed of main image data MID, first background image data BID1, second background image data BID2, and print order designation data POD. At that time, if the print range overlaps between the main image data MID and the first background image data BID1, or between the main image data MID and the second background image data BID2, the main image data MID is set for the overlapping portion. Correct it. As a result, the print result is corrected to match the intention of the user who created the print data PD. In the printing process of the second embodiment, the first background image data BID1 and the second background image data BID2 are not corrected.

本第2実施形態の印刷処理は、アプリケーションプログラムAPLから印刷データPDが入力されたときに開始される。処理が開始されると、S200において、画像データ取得部M1が、アプリケーションプログラムAPLから入力された主画像データMIDと第1背景画像データBID1と第2背景画像データBID2と印刷順指定データPODを取得する。   The printing process of the second embodiment is started when print data PD is input from the application program APL. When the process is started, in S200, the image data acquisition unit M1 acquires the main image data MID, the first background image data BID1, the second background image data BID2, and the printing order designation data POD input from the application program APL. To do.

次にS205において、影響判定部M2が、主画像データMIDによって印刷される印刷結果の見え(色再現)に対し、第1背景画像データBID1や第2背景画像データBID2の印刷結果が影響を与えるか否かを判断する。この判断処理における判断手法は、第1実施形態と同様である。影響判定部M2は、影響があると判断した場合はS210に進み、影響しないと判断した場合はS220に進む。   In step S205, the influence determination unit M2 affects the appearance (color reproduction) of the print result printed by the main image data MID, with the print results of the first background image data BID1 and the second background image data BID2. Determine whether or not. The determination method in this determination process is the same as in the first embodiment. If the influence determination unit M2 determines that there is an influence, the process proceeds to S210, and if it determines that there is no influence, the process proceeds to S220.

S210において、影響判定部M2は、S205で選択された画素データの透過情報TIを参照して、S205で選択された画素データM_Pixが透過設定であるか否かを判断する。影響判定部M2は、S205で選択された画素データM_Pixの透過情報TIが透過設定の場合はS220に進み、S205で選択された画素データM_Pixが非透過設定の場合はS215に進む。   In S210, the influence determination unit M2 refers to the transmission information TI of the pixel data selected in S205, and determines whether or not the pixel data M_Pix selected in S205 is a transmission setting. The influence determination unit M2 proceeds to S220 when the transmission information TI of the pixel data M_Pix selected at S205 is set to be transparent, and proceeds to S215 when the pixel data M_Pix selected at S205 is set to be non-transparent.

S215において、影響除去部M3は、S105で選択された画素データM_Pixを、背景画像の画素データB1_Pixのカラー色成分によって受ける影響を考慮した色に修正する。なお、本第2実施形態において第2背景画像データBID2はカラー色成分を有していないため、S215では考慮しないが、カラー色成分を有するのであれば第2背景画像データBID2についても考慮する。影響除去部M3は、概略、画素データM_Pixを補色方向に補正することにより、画素データB_Pixによる色の影響を相殺する画素データに補正することになる。本実施形態では実際に印刷されたときの印刷物上における色の見えが、主画像データMIDを白色の印刷物上に印刷したときの見えと一致するような画素データとなるように補正する例を説明する。   In S215, the influence removing unit M3 corrects the pixel data M_Pix selected in S105 to a color that takes into account the influence received by the color color component of the pixel data B1_Pix of the background image. In the second embodiment, since the second background image data BID2 does not have a color component, it is not considered in S215. However, if it has a color component, the second background image data BID2 is also considered. The influence removing unit M3 roughly corrects the pixel data M_Pix in the complementary color direction, thereby correcting the pixel data to cancel out the color influence of the pixel data B_Pix. In the present embodiment, an example is described in which the color appearance on the printed material when actually printed is corrected so that the pixel data matches the appearance when the main image data MID is printed on the white printed material. To do.

図13は、主画像を補正することにより背景画像の影響を除去する手法の説明図である。まず、影響除去部M3は、画素データM_Pixを色変換テーブルLUTmを参照してインク量データに変換するとともに、画素データB1_Pixと画素データB2_Pixを色変換テーブルLUTbを参照してインク量データに変換し、それぞれのインク量データをフォワードモデルコンバータM7に入力することにより、CIELAB表色系におけるデータに変換する。   FIG. 13 is an explanatory diagram of a method for removing the influence of the background image by correcting the main image. First, the influence removing unit M3 converts the pixel data M_Pix into ink amount data with reference to the color conversion table LUTm, and converts the pixel data B1_Pix and pixel data B2_Pix into ink amount data with reference to the color conversion table LUTb. Each ink amount data is input to the forward model converter M7 to be converted into data in the CIELAB color system.

図14(a)は、フォワードモデルコンバータM7について説明する図である。同図に示すように、フォワードモデルコンバータM7は、分光プリンティングモデルコンバーターM71と色算出部M72とを備えている。なお、「フォワードモデル」とは、インク量を機器独立表色系の色彩値(測色値)に変換する変換モデルを意味する。本第2実施形態では、機器独立表色系としてCIE−Lab表色系を採用した場合を例にとって説明している。なお、以下の説明では、CIE−Lab表色系の色彩値を、単に「L***値」または「Lab値」と記載することにする。 FIG. 14A is a diagram for explaining the forward model converter M7. As shown in the figure, the forward model converter M7 includes a spectral printing model converter M71 and a color calculation unit M72. The “forward model” means a conversion model that converts the ink amount into a color value (colorimetric value) of the device independent color system. In the second embodiment, the case where the CIE-Lab color system is adopted as the device independent color system is described as an example. In the following description, the color value of the CIE-Lab color system is simply referred to as “L * a * b * value” or “Lab value”.

図14(a)に示すように、フォワードモデルコンバータM7の前段を構成する分光プリンティングモデルコンバーターM71は、複数種類のインクのインク量データを、そのインク量に応じて印刷されるカラーパッチの分光反射率R(λ)に変換する。なお、本明細書において「カラーパッチ」という用語は、有彩色のパッチに限らず、無彩色のパッチも含む広い意味で使用される。本実施例では、CMYKlclmの6種類のカラーインクを利用可能なカラープリンタを想定しており、分光プリンティングモデルコンバーターM71もこの6種類のカラーインクのインク量を入力としている。但し、プリンターで使用する複数種類のインクとしては、任意のインクセットを利用することが可能である。
色算出部M72は、分光反射率R(λ)からLab値を算出する。このLab値の算出には、予め選択された光源(例えば標準の光D50)がカラーパッチの観察条件として使用される。
なお、分光プリンティングモデルコンバーターM71を作成する方法としては、例えば特表2007−511175号公報に記載された方法を採用することが可能である。
As shown in FIG. 14 (a), the spectral printing model converter M71 that forms the preceding stage of the forward model converter M7 has the spectral reflection of color patches printed according to the ink amount data of a plurality of types of ink. Convert to rate R (λ). In this specification, the term “color patch” is used in a broad sense including not only a chromatic color patch but also an achromatic color patch. In the present embodiment, a color printer that can use six types of color inks CMYKlclm is assumed, and the spectral printing model converter M71 also receives the ink amounts of these six types of color inks. However, an arbitrary ink set can be used as the plurality of types of ink used in the printer.
The color calculation unit M72 calculates a Lab value from the spectral reflectance R (λ). In calculating the Lab value, a preselected light source (for example, standard light D50) is used as a color patch observation condition.
As a method for creating the spectral printing model converter M71, for example, a method described in JP-T-2007-511175 can be employed.

以上のフォワードモデルコンバータM7に各画素データに対応するインク量データを入力することにより、画素データM_PixはL というLab値に変換され、画素データB1_PixはL というLab値に変換されたものとする。
次に、影響除去部M3は、CMYK各色の階調値の任意の組合せにより表現される画素データの中から、以下の(1)に示す目的関数を極小化する、画素データを探索する。ここで言う、画素データは、主画像データMIDを表現するための階調値により表現されるデータである。

Figure 2011076394
By entering the ink amount data corresponding to each pixel data of the above forward model converter M7, pixel data M_Pix is converted into Lab values of L * 1 a * 1 b * 1, pixel data B1_Pix the L * 2 a * that 2 b * 2 and those converted into Lab values.
Next, the influence removing unit M3 searches for pixel data that minimizes the objective function shown in the following (1) from pixel data expressed by an arbitrary combination of gradation values of CMYK colors. Here, the pixel data is data expressed by gradation values for expressing the main image data MID.
Figure 2011076394

上記(1)式において、L はS105で選択された画素データM_PixをフォワードモデルコンバータM7で変換したときのLab値であり、L は主画像データMIDが取りうる任意のCMYK階調値の組合せをフォワードモデルコンバータM7で変換したときのLab値である。上記(1)式の目的関数は、L
とL との和と、L との差分が極小化するようになっている。すなわち、L のフォワードモデルコンバータM7による変換の元となるCMYK値で主画像を印刷しつつ画素データB1_Pixに基づいて印刷したときの色の見えが、画素データM_Pixを白色の印刷媒体上に印刷したときの色の見えと最も近くなったときに、極小化するようになっている。
In the above (1), L * 1 a * 1 b * 1 is the Lab values when converting the pixel data M_Pix selected in S105 by the forward model converter M7, L * x a * x b * x is This is a Lab value when a combination of arbitrary CMYK gradation values that the main image data MID can take is converted by the forward model converter M7. The objective function of equation (1), L * x a * x b * x
And the sum of the L * 2 a * 2 b * 2, the difference between the L * 1 a * 1 b * 1 are adapted to minimize the. That is, the color appearance when printed on the basis of the L * x a * x b * x of the forward model converter M7 pixel data B1_Pix while printing the main image with the underlying CMYK values of conversion by the pixel data M_Pix When the color appears closest to the color when printed on a white print medium, it is minimized.

影響除去部M3は、主画像データMIDが取りうるCMYK階調値の組合せを順次フォワードモデルコンバータM7に入力してLab値に変換し、得られたL を順次上記(1)式に代入することによりCMYK階調値の各組合せに対する評価値を順次算出する。そして、影響除去部M3は、算出された評価値の中で評価値が最小となるL に対応するCMYK階調値の組合せ、すなわち、目標関数を極小化させるCMYK階調値の組合せを探索する。このようにして算出されたCMYK階調値の組合せを、影響除去部M3は、S205で選択した画素データM_Pixの新たな画素データとする。目標関数Eを極小化するL は、L を補色方向にシフトさせる色に対応する。 Effect removal unit M3 is converted into Lab values by entering a combination of CMYK tone value the main image data MID can take sequentially forward model converter M7, resulting L * x a * x b * x sequentially the By substituting into the equation (1), evaluation values for each combination of CMYK gradation values are sequentially calculated. The effect removal unit M3 is a combination of CMYK gradation values evaluation value corresponds to the minimum L * x a * x b * x in the calculated evaluation value, i.e., to minimize the objective function CMYK Search for a combination of gradation values. The effect removal unit M3 uses the combination of CMYK gradation values calculated in this way as new pixel data of the pixel data M_Pix selected in S205. Minimizing the objective function E L * x a * x b * x corresponds to the color shifting the L * 1 a * 1 b * 1 in the complementary direction.

なお、影響除去部M3は、画素データM_Pixを修正する代わりに、フォワードモデルコンバータM7によって評価値が極小化するLab値を、そのままインク量データに変換しても構わない。この場合、影響除去部M3は、インバースモデルLUT_invを参照してLab値からインク量データを算出することになる。すなわち、後述のS220で実行する主画像データMIDの分版処理を行うことなく、主画像データMIDに対応するインク量データM_inkを生成することになる。   Note that the influence removing unit M3 may convert the Lab value at which the evaluation value is minimized by the forward model converter M7 into the ink amount data as it is instead of correcting the pixel data M_Pix. In this case, the influence removing unit M3 calculates the ink amount data from the Lab value with reference to the inverse model LUT_inv. That is, the ink amount data M_ink corresponding to the main image data MID is generated without performing the color separation process of the main image data MID executed in S220 described later.

図14(b)は、インバースモデルLUT_invの一例を示した説明図である。「インバースモデル」とは、機器独立表色系の色彩値をインク量に変換する変換モデルを意味している。同図に示すようにインバースモデルLUT410は、L***値を入力とし、インク量を出力とするルックアップテーブルである。
LUT410は、例えば、L***空間を複数の小セルに区分し、各小セル毎に最適なインク量を選択して登録したものである。この選択は、例えば、そのインク量で印刷されるカラーパッチの画質を考慮して行われる。一般に、或る1つのL***値を再現するインク量の組合せは多数存在する。そこで、LUT410では、ほぼ同じL***値を再現する多数のインク量の組合せの中から、画質等の所望の観点から最適なインク量を選択したものが登録されている。なお、小セル毎に最適なインク量を選択してLUT410を作成する方法としては、例えば前記特表2007−511175号公報に記載された方法を採用することが可能である。
FIG. 14B is an explanatory diagram showing an example of the inverse model LUT_inv. The “inverse model” means a conversion model that converts a color value of the device independent color system into an ink amount. As shown in the figure, the inverse model LUT 410 is a look-up table in which an L * a * b * value is input and an ink amount is output.
For example, the LUT 410 divides the L * a * b * space into a plurality of small cells, and selects and registers an optimum ink amount for each small cell. This selection is performed in consideration of, for example, the image quality of the color patch printed with the ink amount. In general, there are many combinations of ink amounts that reproduce a certain L * a * b * value. Therefore, in the LUT 410, an ink that has an optimum ink amount selected from a desired viewpoint such as image quality is registered from among a large number of ink amount combinations that reproduce substantially the same L * a * b * value. As a method for creating the LUT 410 by selecting an optimal ink amount for each small cell, for example, the method described in the Japanese translations of PCT publication No. 2007-511175 can be employed.

以上のS205〜S215の処理は、主画像データMIDの全ての画素データをS205で選択し終わるまで順次実行される。
以上の処理を行うことにより、主画像データMIDによって印刷される主画像が下地画像の影響で、製作者の意図していない色になってしまうことを防止することができる。
The processes of S205 to S215 are sequentially executed until all pixel data of the main image data MID are selected in S205.
By performing the above processing, it is possible to prevent the main image printed by the main image data MID from becoming a color not intended by the producer due to the influence of the base image.

S220において、色変換部M4は、主画像データMIDの中から1つの画素データM_Pixを選択し、色変換テーブルLUTmを参照しつつ、主画像データM_Pixをインク色別の階調値である主画像のインク量データM_ink(インク色別階調値)に変換する。またS220において、ハーフトーン処理部M5は、主画像のインク量データM_inkから1画素分のインク色別階調値を取り出し、インク色毎にディザパターンを参照して2値化処理(ハーフトーン処理)を行う。これらS220の処理により、主画像の2値データMBDが作成される。これらのS220で行う色変換処理やハーフトーン処理は、S120やS135の処理と同様である。   In S220, the color conversion unit M4 selects one pixel data M_Pix from the main image data MID, refers to the color conversion table LUTm, and converts the main image data M_Pix to a main image that is a gradation value for each ink color. Ink amount data M_ink (tone value for each ink color). In S220, the halftone processing unit M5 extracts the gradation value for each ink color from the ink amount data M_ink of the main image, and binarizes the halftone process by referring to the dither pattern for each ink color. )I do. By the processing of S220, binary data MBD of the main image is created. The color conversion process and the halftone process performed in S220 are the same as the processes in S120 and S135.

S225において、第1背景画像データBID1と第2背景画像データBID2を合成した合成背景画像データBID’を作成すると共に色変換部M4が合成背景画像データBID’に対して色変換処理を行ってインク量データB_inkを作成し、作成されたインク量データB_inkに対してハーフトーン処理部M5がハーフトーン処理を行って、合成背景画像データBID’に対する2値データBBDを作成する。これらS225で行う色変換処理やハーフトーン処理は、S140の処理と同様である。   In S225, the combined background image data BID ′ obtained by combining the first background image data BID1 and the second background image data BID2 is generated, and the color conversion unit M4 performs color conversion processing on the combined background image data BID ′ to generate ink. The amount data B_ink is created, and the halftone processing unit M5 performs halftone processing on the created ink amount data B_ink, thereby creating binary data BBD for the composite background image data BID ′. The color conversion process and the halftone process performed in S225 are the same as the process of S140.

S230において、印刷データ作成部M6は、主画像の2値データMBD,背景画像の2値データBBD並びに印刷順指定データPODに基づいて、主画像MIや各背景画像BI1,BI2をプリンター100に印刷させるための制御コマンドを作成する。S230の印刷データ作成処理は、S145の処理と同様である。   In S230, the print data creation unit M6 prints the main image MI and the background images BI1 and BI2 on the printer 100 based on the binary data MBD of the main image, the binary data BBD of the background image, and the print order designation data POD. Create a control command to The print data creation process in S230 is the same as the process in S145.

S235において、プリンタードライバーPDrvは、S230で作成された印刷制御データ(印刷順指定コマンド、垂直位置指定コマンド、水平位置指定コマンド、ラスターコマンド)をプリンター100へ送信する。以上で、プリンタードライバーPDrvによる処理が完了する。   In step S235, the printer driver PDrv transmits the print control data (print order designation command, vertical position designation command, horizontal position designation command, raster command) created in step S230 to the printer 100. This completes the processing by the printer driver PDrv.

(2−3)印刷処理の第3実施形態:
次に、主画像MIが、図7のように2つの主画像MI1を含む第1主画像データMID1と主画像MI2を含む第2主画像データMID2で構成されている場合の印刷処理について説明する。この印刷処理を、第3実施形態とする。本第3実施形態にかかる印刷処理は、レイヤー的に複数の主画像を重複合成してから印刷するための主画像データが複数入力されたときの処理である。本第3実施形態においては、複数の主画像データのそれぞれについて背景画像データによる影響を除去する処理を行った上でこれらの複数の主画像データを合成し、さらに合成された主画像データについて背景画像データによる影響を除去する処理を行う。このとき、合成前の主画像データについては上述した第1実施形態の手法で背景画像データによる影響を除去し、合成後の主画像データについては上述した第2実施形態の手法で背景画像データによる影響を除去する。
(2-3) Third Embodiment of Print Processing:
Next, the printing process when the main image MI is composed of the first main image data MID1 including the two main images MI1 and the second main image data MID2 including the main image MI2 as shown in FIG. 7 will be described. . This printing process is the third embodiment. The printing process according to the third embodiment is a process when a plurality of main image data for printing after overlapping a plurality of main images in layers is input. In the third embodiment, a process for removing the influence of background image data is performed on each of a plurality of main image data, the plurality of main image data are combined, and the background of the combined main image data Performs processing to remove the influence of image data. At this time, the main image data before composition is removed from the influence of the background image data by the method of the first embodiment described above, and the main image data after composition is determined by the background image data by the method of the second embodiment described above. Remove the effect.

図15は、プリンタードライバーの実行する印刷処理の第3実施形態の流れを示すフローチャートである。同図に示す処理は、詳細部分は第1実施形態の処理と同様であるため、各ステップにおける詳細な説明は省略する。
図15に示す処理では、まずアプリケーションプログラムAPLから第1主画像データMID1と第2主画像データMID2、第1背景画像データBID1と第2背景画像データBID2、印刷順指定データPODを取得し(S300)、第1主画像データMID1と第2主画像データMID2に対して第1背景画像データBID1や第2背景画像データBID2が影響するか否かを判断する(S305)。そして、S305において、第1主画像データMID1と第2主画像データMID2に対して第1背景画像データBID1または第2背景画像データBID2が影響すると判断した場合はS310に進み、第1主画像データMID1と第2主画像データMID2に対して第1背景画像データBID1と第2背景画像データBID2の少なくとも一方が影響しないと判断した場合はS380に進む。
FIG. 15 is a flowchart showing the flow of a third embodiment of the printing process executed by the printer driver. The detailed processing of the processing shown in the figure is the same as that of the first embodiment, and detailed description of each step is omitted.
In the process shown in FIG. 15, first, first main image data MID1, second main image data MID2, first background image data BID1, second background image data BID2, and printing order designation data POD are acquired from the application program APL (S300). ), It is determined whether the first background image data BID1 and the second background image data BID2 affect the first main image data MID1 and the second main image data MID2 (S305). If it is determined in S305 that the first background image data BID1 or the second background image data BID2 has an influence on the first main image data MID1 and the second main image data MID2, the process proceeds to S310, and the first main image data If it is determined that at least one of the first background image data BID1 and the second background image data BID2 does not affect the MID1 and the second main image data MID2, the process proceeds to S380.

S310においては、第1主画像データMID1を構成する各画素データM1_Pixについて透過設定であるか否かを判断し、透過設定の画素データM1_Pixと判断された画素データについては(S310:Yes)、該画素データM1_Pixと対応する位置における第1背景画像データBID1の画素データB1_Pixの階調値を0にするとともに第2背景画像データBID2の画素データB2_Pixの白濃度が100%の白ベタになるようにする処理、すなわち白抜き処理を実行する(S315)。一方、第1主画像データMID1を構成する各画素データM1_Pixのうち非透過設定の画素データについては白抜き処理を行わずにS320に進む(S310:No)。   In S310, it is determined whether or not each pixel data M1_Pix constituting the first main image data MID1 is transmissive setting, and the pixel data determined to be transmissive setting pixel data M1_Pix is determined (S310: Yes). The gradation value of the pixel data B1_Pix of the first background image data BID1 at the position corresponding to the pixel data M1_Pix is set to 0, and the white density of the pixel data B2_Pix of the second background image data BID2 is 100% white solid. Processing, that is, whitening processing is executed (S315). On the other hand, the non-transparent pixel data among the pixel data M1_Pix constituting the first main image data MID1 is not subjected to whitening processing and proceeds to S320 (No in S310).

S320において、色変換部M4は、第1主画像データMID1から主画像のインク量データM1_inkを作成する。そして、影響判定部M2は、背景画像が主画像に与える影響を主画像のインク量データM1_inkに基づいて判断し(S325)、背景画像によって影響されると判断された第1主画像データMID1の画素データM1_Pixと対応する位置の第1背景画像データBID1の画素データB1_PixについてはS330に進んで白抜き処理を実行し(S325:Yes)、背景画像によって影響されないと判断された第1主画像データMID1の画素データM1_Pixと対応する位置の画素データB1_Pixについては白抜き処理を行わずにS335に進む(S325:No)。   In S320, the color conversion unit M4 creates ink amount data M1_ink of the main image from the first main image data MID1. Then, the influence determination unit M2 determines the influence of the background image on the main image based on the ink amount data M1_ink of the main image (S325), and the first main image data MID1 determined to be influenced by the background image. With respect to the pixel data B1_Pix of the first background image data BID1 at a position corresponding to the pixel data M1_Pix, the process proceeds to S330 to execute the whitening process (S325: Yes), and the first main image data determined not to be affected by the background image For pixel data B1_Pix at a position corresponding to the pixel data M1_Pix of MID1, the process proceeds to S335 without performing whitening processing (S325: No).

S310〜S355では、S310〜S330と同様の処理を、第2主画像データMID2と第1背景画像データBID1との間の関係に基づいて行う。
S360では、第1主画像データMID1と第2主画像データMID2とを合成して合成主画像データMID’を作成する。この合成は、フォトショップ等で言う、いわゆるオーバーレイの指定に従って実行される。
In S310 to S355, the same processing as S310 to S330 is performed based on the relationship between the second main image data MID2 and the first background image data BID1.
In S360, the first main image data MID1 and the second main image data MID2 are combined to create combined main image data MID ′. This composition is executed in accordance with the so-called overlay designation in Photoshop or the like.

次に、影響判定部M2が、合成主画像データMID’によって印刷される印刷結果の見え(色再現)に対し、第1背景画像データBID1と第2背景画像データBID2の少なくとも一方の印刷結果が影響を与えるか否かを各画素データ毎に判断する(S365)。影響判定部M2は、影響があると判断した画素データについては該画素データが透過設定であるか否かを判断し(S370)、透過設定になっている場合はS375に進み(S370:Yes)、非透過設定の場合はS385に進む(S370:No)。一方、影響が無いと判断した画素データについては、そのままS385に進む(S365:No)。   Next, with respect to the appearance (color reproduction) of the print result printed by the composite main image data MID ′, the influence determination unit M2 has at least one print result of the first background image data BID1 and the second background image data BID2. It is determined for each pixel data whether or not there is an influence (S365). The influence determination unit M2 determines whether or not the pixel data that is determined to have an influence is the transmission setting (S370), and if it is the transmission setting, the process proceeds to S375 (S370: Yes). In the case of the non-transparent setting, the process proceeds to S385 (S370: No). On the other hand, the pixel data determined to have no influence proceeds to S385 as it is (S365: No).

S375では、影響除去部M3が、背景画像によって影響されると判断された画素データM’_Pixについて、該画素データに対応する位置の第1背景画像データBID1の画素データB1_Pixのカラー色成分によって受ける影響を考慮した色に修正する。このS375での処理は、上記第2実施形態のS215の処理と同様である。合成主画像データMID’の全画素データについてS365〜S375の処理が終了するとS385が実行される。
なお、以降のS385〜S400処理は、上記第2実施形態におけるS220〜235の処理と同様である。
In S375, the influence removing unit M3 receives the pixel data M′_Pix determined to be affected by the background image by the color color component of the pixel data B1_Pix of the first background image data BID1 at the position corresponding to the pixel data. Change to a color that takes effect into account. The process in S375 is the same as the process in S215 of the second embodiment. When the processes of S365 to S375 are completed for all the pixel data of the synthesized main image data MID ′, S385 is executed.
Note that the subsequent processes of S385 to S400 are the same as the processes of S220 to 235 in the second embodiment.

(3)プリンターでの印刷処理:
以上のようにして各実施形態で作成されて出力された印刷制御コマンドがプリンター100に入力されると、プリンター100は印刷制御コマンドに基づいた印刷を実行する。
図16は、プリンター100の実行する印刷処理のフローチャートである。同図に示す処理は、プリンター100の制御部において実行されるコマンド処理部M11によって実行される。
S505では、PC200のプリンタードライバーPDrvから受信した印刷制御データを受信する。
S510では、受信したコマンドの種類を判断し、コマンドの種類に応じてS515〜S530の何れかの処理を行う。すなわち、受信したコマンドが印刷順指定コマンドの場合はS515に進み、受信したコマンドが水平位置指定コマンドの場合はS520に進み、受信したコマンドが垂直位置指定コマンドの場合はS525に進み、受信したコマンドがラスターコマンドの場合はS530に進む。
(3) Printing process on the printer:
When the print control command created and output in each embodiment as described above is input to the printer 100, the printer 100 executes printing based on the print control command.
FIG. 16 is a flowchart of print processing executed by the printer 100. The processing shown in the figure is executed by the command processing unit M11 executed in the control unit of the printer 100.
In step S505, print control data received from the printer driver PDrv of the PC 200 is received.
In S510, the type of the received command is determined, and any one of S515 to S530 is performed according to the type of command. That is, if the received command is a printing order designation command, the process proceeds to S515. If the received command is a horizontal position designation command, the process proceeds to S520. If the received command is a vertical position designation command, the process proceeds to S525. If is a raster command, the process proceeds to S530.

S515では、受信した印刷順指定コマンドによって指定された印刷順指定データPODをRAM130に保存する。S520では、受信した水平位置指定コマンドによって指定された水平位置を、水平方向の印刷開始位置Xとして更新する。S525では、受信した垂直位置指定コマンドによって指定された垂直位置を、垂直方向の印刷開始位置Yとして更新する。S530では、受信したラスターコマンドに含まれるラスターデータをインクコード別のラスターバッファー132へ記憶する。   In S515, the printing order designation data POD designated by the received printing order designation command is stored in the RAM 130. In S520, the horizontal position designated by the received horizontal position designation command is updated as the horizontal print start position X. In step S525, the vertical position designated by the received vertical position designation command is updated as the print start position Y in the vertical direction. In S530, the raster data included in the received raster command is stored in the raster buffer 132 for each ink code.

図17は、ラスターバッファー132およびヘッドバッファー127の詳細構成を示す説明図である。同図の上段にはカラー画像用のラスターバッファー132cを示しており、同図の中段には背景画像用のラスターバッファー132wを示してある。同図に示すように、ラスターバッファー132は、インクコード別に領域が割り当てられている。カラー画像用のラスターバッファー132cは、カラー画像用の各インクコードに対応する領域の集合として構成されており、背景画像用のラスターバッファー132wも、背景画像用の各インクコードに対応する領域の集合として構成されている。
ラスターバッファー132の各領域のX方向のサイズは画像サイズに対応しており、Y方向のサイズはプリントヘッド120の高さの2分の1以上のサイズとなっている。
ラスターバッファー132には、どこまでラスターデータ受信したかを示すY方向のラスターバッファーポインターを有している。
FIG. 17 is an explanatory diagram showing a detailed configuration of the raster buffer 132 and the head buffer 127. The color image raster buffer 132c is shown in the upper part of the figure, and the background image raster buffer 132w is shown in the middle part of the figure. As shown in the figure, the raster buffer 132 is assigned a region for each ink code. The color image raster buffer 132c is configured as a set of regions corresponding to each color ink code, and the background image raster buffer 132w is also a set of regions corresponding to each background image ink code. It is configured as.
The size in the X direction of each area of the raster buffer 132 corresponds to the image size, and the size in the Y direction is more than half the height of the print head 120.
The raster buffer 132 has a raster buffer pointer in the Y direction that indicates how far raster data has been received.

図17の下段には、ヘッドバッファー127を示している。図17に示すように、ヘッドバッファー127は、7つのインク色別に領域が割り当てられている。すなわち、ヘッドバッファー127は、シアン用(C,WC用)の領域と、マゼンタ用(M,WM用)の領域と、イエロー用(Y,WY用)の領域と、ブラック用(K,WK用)の領域と、ライトシアン用(lc,Wlc用)の領域と、ライトマゼンタ用(lm,Wlm用)の領域と、ホワイト用(W,WW用)の領域と、の集合として構成されている。
ヘッドバッファー127の各領域のX方向のサイズは、キャリッジの走査距離に対応しており、Y方向のサイズはプリントヘッド120のノズル列146を構成するノズル数に対応している。またヘッドバッファー127のインク色別の領域のそれぞれは、上流用ヘッドバッファー127uと下流用ヘッドバッファー127lとに2分されている。
The lower part of FIG. 17 shows the head buffer 127. As shown in FIG. 17, the head buffer 127 is allocated with areas for seven ink colors. That is, the head buffer 127 includes a cyan area (for C and WC), a magenta area (for M and WM), a yellow area (for Y and WY), and a black area (for K and WK). ) Area, light cyan (lc and Wlc) areas, light magenta (lm and Wlm) areas, and white (W and WW) areas.
The size in the X direction of each area of the head buffer 127 corresponds to the scanning distance of the carriage, and the size in the Y direction corresponds to the number of nozzles constituting the nozzle row 146 of the print head 120. Each region of the head buffer 127 for each ink color is divided into an upstream head buffer 127u and a downstream head buffer 127l.

図18は、プリンター100のプリントヘッド120の構成を示す説明図である。図18(a)および(b)に示すように、プリントヘッド120は、7つのインク色のそれぞれに対応するノズル列146が設けられている。ノズル列146は、Y方向(印刷媒体送り方向)に沿って伸びるように形成されている。
また、図18(c)に示すように、各ノズル列146は、Y方向に沿って並ぶ32個のノズル群により構成されている。本実施形態においては、ノズル列146を構成するノズル群のうち、印刷媒体送り方向の上流側半分に位置するノズル群(ノズル1〜ノズル16)を上流ノズル群とし、印刷媒体送り方向の下流側半分に位置するノズル群(ノズル17〜ノズル32)を下流ノズル群とする。
FIG. 18 is an explanatory diagram illustrating the configuration of the print head 120 of the printer 100. As shown in FIGS. 18A and 18B, the print head 120 is provided with nozzle rows 146 corresponding to the seven ink colors. The nozzle row 146 is formed so as to extend along the Y direction (print medium feeding direction).
Further, as shown in FIG. 18C, each nozzle row 146 is constituted by 32 nozzle groups arranged along the Y direction. In the present embodiment, among the nozzle groups constituting the nozzle row 146, the nozzle group (nozzle 1 to nozzle 16) located in the upstream half in the print medium feed direction is defined as the upstream nozzle group, and the downstream side in the print medium feed direction. Let the nozzle group (nozzle 17-nozzle 32) located in a half be a downstream nozzle group.

図18(a)に示すように、印刷媒体上に背景画像を先に印刷する際には、プリントヘッド120の各ノズル列146の上流ノズル群を用いて背景画像の形成を行い、下流ノズル群を用いて主画像の形成を行う。また、図18(b)に示すように、印刷媒体上に主画像を先に印刷する際には、プリントヘッド120の各ノズル列146の上流ノズル群を用いて主画像の形成を行い、下流ノズル群を用いて背景画像の印刷を行う。   As shown in FIG. 18A, when the background image is first printed on the print medium, the background image is formed using the upstream nozzle group of each nozzle row 146 of the print head 120, and the downstream nozzle group is formed. Is used to form a main image. As shown in FIG. 18B, when the main image is first printed on the print medium, the upstream nozzle group of each nozzle row 146 of the print head 120 is used to form the main image, and the downstream side. A background image is printed using a nozzle group.

図17に示すように、上流用ヘッドバッファー127uは、上流ノズル群に対応するヘッドバッファーであり、下流用ヘッドバッファー127lは、下流ノズル群に対応するヘッドバッファーである。   As shown in FIG. 17, the upstream head buffer 127u is a head buffer corresponding to the upstream nozzle group, and the downstream head buffer 127l is a head buffer corresponding to the downstream nozzle group.

S535では、プリントヘッド120の高さの2分の1に対応するラスターバッファー132にラスターバッファーが格納されているか否かを判断する。格納されていない場合はS580に進んで、S580でラスらーバッファーポインターを更新する。一方、格納されている場合はS540に進む。   In S535, it is determined whether or not a raster buffer is stored in the raster buffer 132 corresponding to half the height of the print head 120. If not stored, the process proceeds to S580, and the buffer pointer is updated in S580. On the other hand, if it is stored, the process proceeds to S540.

S540では、RAM130に記憶された印刷順指定データPODに基づいて、主画像と背景画像の何れを先に印刷するかを判断する。主画像を先に印刷する場合はS545に進み、背景画像を先に印刷する場合はS550に進む。
S545では、主画像用のラスターバッファー132cから上流用ヘッドバッファー127uへラスターデータを転送すると共に、背景画像用のラスターバッファー132wから下流用ヘッドバッファー127lへラスターデータを転送する。従って、プリントヘッド120の各ノズル列146の上流ノズル群を用いて主画像の形成が行われ、下流ノズル群を用いて背景画像の形成が行われる。
S550では、主画像用のラスターバッファー132cから下流用ヘッドバッファー127lへラスターデータを転送すると共に、背景画像用のラスターバッファー132wから上流用ヘッドバッファー127uへラスターデータを転送する。従って、プリントヘッド120の各ノズル列146の上流ノズル群を用いて背景画像の形成が行われ、下流ノズル群を用いて主画像の形成が行われる。
なお、上流ノズル群と下流ノズル群とでは、物理的な用紙上の印刷位置が異なるため、ラスターバッファー132からラスターデータを転送する際は、上流ノズル群と下流ノズル群との対応するラスターデータが用紙上で対応する位置に印刷されるように、印刷位置の差に相当するタイミング差をつけてラスターバッファー上の転送開始データ位置を決定する。
In S540, based on the print order designation data POD stored in the RAM 130, it is determined which of the main image and the background image is to be printed first. If the main image is printed first, the process proceeds to S545. If the background image is printed first, the process proceeds to S550.
In S545, the raster data is transferred from the main image raster buffer 132c to the upstream head buffer 127u, and the raster data is transferred from the background image raster buffer 132w to the downstream head buffer 127l. Accordingly, the main image is formed using the upstream nozzle group of each nozzle row 146 of the print head 120, and the background image is formed using the downstream nozzle group.
In S550, the raster data is transferred from the raster buffer 132c for the main image to the downstream head buffer 127l, and the raster data is transferred from the raster buffer 132w for the background image to the upstream head buffer 127u. Therefore, the background image is formed using the upstream nozzle group of each nozzle row 146 of the print head 120, and the main image is formed using the downstream nozzle group.
Since the upstream nozzle group and the downstream nozzle group have different physical printing positions on the paper, when the raster data is transferred from the raster buffer 132, the corresponding raster data of the upstream nozzle group and the downstream nozzle group is stored. The transfer start data position on the raster buffer is determined with a timing difference corresponding to the difference in print position so that printing is performed at a corresponding position on the paper.

S555では、印刷媒体送りコントローラー150を制御して、印刷媒体PMの印刷開始位置とプリントヘッド120の位置が副走査方向において一致するように、印刷媒体PMを搬送する。
S560では、キャリッジコントローラー135を制御して、印刷媒体PMの印刷開始位置とプリントヘッド120の位置が主走査方向において一致するように、プリントヘッド120を移動する。
S565では、主走査を行ってプリントヘッド120の副走査方向の長さに相当する範囲分の印刷を実行する。このとき、上流ノズル群による画像の形成と下流ノズル群による画像の形成が並行して実行される。
In S555, the print medium feed controller 150 is controlled to transport the print medium PM so that the print start position of the print medium PM and the position of the print head 120 coincide with each other in the sub-scanning direction.
In S560, the carriage controller 135 is controlled to move the print head 120 so that the print start position of the print medium PM matches the position of the print head 120 in the main scanning direction.
In step S565, main scanning is performed and printing for a range corresponding to the length of the print head 120 in the sub-scanning direction is executed. At this time, the image formation by the upstream nozzle group and the image formation by the downstream nozzle group are executed in parallel.

S570では、ラスターバッファー132のラスターバッファーポインターをクリアする。
S575では、印刷画像PIの全体を印刷完了したか否かを判断する。印刷完了していない場合は、印刷完了したと判断されるまでS505〜S570の処理を繰り返し実行する。印刷完了している場合は、図16の印刷処理を終了する。
In S570, the raster buffer pointer of the raster buffer 132 is cleared.
In S575, it is determined whether printing of the entire print image PI has been completed. If printing has not been completed, the processes of S505 to S570 are repeatedly executed until it is determined that printing has been completed. If printing has been completed, the printing process in FIG. 16 ends.

(4)変形例:
上述した各実施形態においては、透過率が完全透過か完全非透過である場合を例にとって説明を行ったが、主画像データに0%や100%以外の透過率が設定されている可能性もある。このような場合に、上述した第2実施形態の主画像データMIDや第3実施形態の合成主画像データMID’を補正して背景画像データによる影響を除去する処理では、その透過率を考慮する必要がある。
(4) Modification:
In each of the above-described embodiments, the case where the transmittance is complete transmission or complete non-transmission has been described as an example. However, there is a possibility that a transmittance other than 0% or 100% is set in the main image data. is there. In such a case, the transmittance is taken into account in the process of correcting the main image data MID of the second embodiment and the synthesized main image data MID ′ of the third embodiment to remove the influence of the background image data. There is a need.

そこで、本変形例では、主画像データの画素データから作成されたLab値と、背景画像データから作成されたLab値とに、その印刷結果に対する反映度合(その背景画像データにおける画素データのカラー色成分を印刷結果に反映するべき度合)に応じた重み付けを行った目的関数を設定する。例えば、主画像データの画素データに設定されている透過率がT%のとき、目的関数は、以下の式(2)ようにすることができる。

Figure 2011076394

この目的関数を極小化するL に対応するCMYK値は、入力された背景画像データのカラー色成分がT%だけ印刷結果の見えに寄与するように印刷されたときに、主画像データの見えが作成者の意図していたい色の見えからのずれが極小化するようになっている。 Therefore, in this modification, the Lab value created from the pixel data of the main image data and the Lab value created from the background image data are reflected in the print result (the color color of the pixel data in the background image data). An objective function weighted according to the degree to which the component should be reflected in the print result is set. For example, when the transmittance set in the pixel data of the main image data is T%, the objective function can be expressed by the following equation (2).
Figure 2011076394

CMYK values corresponding to the objective function L * x a * x b * x that minimizes when the color-component of the input background image data is printed so as to contribute to the appearance of only the printed result T% Furthermore, the deviation of the appearance of the main image data from the appearance of the color desired by the creator is minimized.

なお、上記式(2)を目的関数として主画像データの画素データを補正した場合は、第1背景画像データBID1の対応する画素データについても、その透過率に応じたLab値((T/100)L 、(T/100)a )、(T/100)b )に対応するCMYK値に修正することになる。むろん、主画像データMIDの場合と同様に、インバースモデルLUTを参照して、直接、透過率に応じたLab値((T/100)L 、(T/100)a )、(T/100)b )からインク量データM_inkを算出してもよい。 When the pixel data of the main image data is corrected using the above equation (2) as the objective function, the Lab value ((T / 100) corresponding to the transmittance of the corresponding pixel data of the first background image data BID1 is also obtained. ) L * 2 , (T / 100) a * 2 ), and (T / 100) b * 2 ) corresponding to CMYK values. Of course, as in the case of the main image data MID, referring to the inverse model LUT, the Lab values ((T / 100) L * 2 , (T / 100) a * 2 ), ( The ink amount data M_ink may be calculated from T / 100) b * 2 ).

(5)まとめ:
以上説明したように、上述した各実施形態のプリンター100によれば、少なくとも主画像を印刷するための主画像データMIDと背景画像を印刷するための背景画像データBIDとから成る画像データに基づいて印刷するときに、印刷媒体に印刷されたときの主画像MIと背景画像BIの重複箇所を検出し、この検出結果に基づいて背景画像データBIDを修正することによって上記重複箇所の背景画像データBIDを修正することができる。このようにして修正された背景画像データBIDと主画像データMIDとに基づく印刷を所定の順序で印刷媒体に対して行うことにより、印刷結果の画質を向上させることが可能となる。
(5) Summary:
As described above, according to the printer 100 of each of the embodiments described above, at least based on the image data including the main image data MID for printing the main image and the background image data BID for printing the background image. When printing, the overlapping part of the main image MI and the background image BI when printed on the printing medium is detected, and the background image data BID of the overlapping part is corrected by correcting the background image data BID based on the detection result. Can be corrected. By performing printing based on the background image data BID thus corrected and the main image data MID on the print medium in a predetermined order, the image quality of the print result can be improved.

なお、本発明は上述した実施形態や変形例に限られず、上述した実施形態および変形例の中で開示した各構成を相互に置換したり組合せを変更したりした構成、公知技術並びに上述した実施形態および変形例の中で開示した各構成を相互に置換したり組合せを変更したりした構成、等も含まれる。   Note that the present invention is not limited to the above-described embodiments and modifications, and the configurations disclosed in the above-described embodiments and modifications are mutually replaced, the combinations are changed, the known technology, and the above-described implementations. Configurations in which the configurations disclosed in the embodiments and modifications are replaced with each other or combinations thereof are also included.

100…プリンター、105…CPU、110…RAM、115…ROM、120…プリントヘッド、125…ヘッドコントローラー、135…キャリッジコントローラー、140…キャリッジモーター、145…印刷媒体送りモーター、150…印刷媒体送りコントローラー、155…USBインターフェース、200…パーソナルコンピューター、205…CPU、210…RAM、215…ROM、225…ディスプレイインターフェース、225a…ディスプレイ、230…操作入力機器インターフェース、230a…操作入力機器、235…ハードディスク、240…USBインターフェース、APL…アプリケーションプログラム、PDrv…プリンタードライバー、M1…画像データ取得部、M2…影響判定部、M3…影響除去部、M4…色変換部、M5…ハーフトーン処理部、M6…印刷データ作成部、M7…フォワードモデルコンバータ、M11…コマンド処理部、M71…分光プリンティングモデルコンバーター、M72…色算出部、PD…印刷データ、POD…印刷順指定データ、MID…主画像データ、MID1…第1主画像データ、MID2…第2主画像データ、M_ink…主画像のインク量データ、MBD…主画像の2値データ、BID…背景画像データ、BID1…第1背景画像データ、BID2…第2背景画像データ、B_ink…背景画像のインク量データ、BBD…背景画像の2値データ、HTRm…主画像用ハーフトーンリソース、HTRb…背景画像用ハーフトーンリソース、LUTm…色変換テーブル、LUTb…色変換テーブル DESCRIPTION OF SYMBOLS 100 ... Printer, 105 ... CPU, 110 ... RAM, 115 ... ROM, 120 ... Print head, 125 ... Head controller, 135 ... Carriage controller, 140 ... Carriage motor, 145 ... Print medium feed motor, 150 ... Print medium feed controller, 155 ... USB interface, 200 ... personal computer, 205 ... CPU, 210 ... RAM, 215 ... ROM, 225 ... display interface, 225a ... display, 230 ... operation input device interface, 230a ... operation input device, 235 ... hard disk, 240 ... USB interface, APL ... application program, PDrv ... printer driver, M1 ... image data acquisition unit, M2 ... influence determination unit, M3 ... exclusion M4 ... color conversion unit, M5 ... halftone processing unit, M6 ... print data creation unit, M7 ... forward model converter, M11 ... command processing unit, M71 ... spectral printing model converter, M72 ... color calculation unit, PD ... printing Data, POD ... Print order designation data, MID ... Main image data, MID1 ... First main image data, MID2 ... Second main image data, M_ink ... Main ink amount data, MBD ... Main image binary data, BID ... Background image data, BID1 ... First background image data, BID2 ... Second background image data, B_ink ... Background ink amount data, BBD ... Background image binary data, HTRm ... Main image halftone resource, HTRb ... Background image halftone resource, LUTm ... color conversion table, LUTb ... color conversion table

Claims (8)

画像データに基づいて印刷媒体に印刷する印刷装置であって
上記画像データは、少なくとも、主画像を印刷するための第1画像データと背景画像を印刷するための第2画像データとから成り、
上記印刷媒体に印刷されたときの上記主画像と上記背景画像の重複箇所を検出する検出手段と、
上記第2画像データを修正することによって上記重複箇所の上記背景画像を修正する画像修正手段と、
上記印刷媒体に対し上記第1画像データに基づいて行う主画像の印刷と上記第2画像データに基づいて行う背景画像の印刷とを所定の順序で行う印刷手段と、
を備えることを特徴とする印刷装置。
A printing apparatus for printing on a printing medium based on image data, wherein the image data includes at least first image data for printing a main image and second image data for printing a background image,
Detecting means for detecting an overlapping portion of the main image and the background image when printed on the print medium;
Image correcting means for correcting the background image of the overlapping portion by correcting the second image data;
Printing means for performing printing of a main image based on the first image data and printing of a background image based on the second image data on the print medium in a predetermined order;
A printing apparatus comprising:
上記画像修正手段は、上記背景画像の上記重複箇所を白画像に修正する請求項1記載の印刷装置。   The printing apparatus according to claim 1, wherein the image correcting unit corrects the overlapping portion of the background image to a white image. 上記第1画像データには印刷結果における色変動を許容するか否かを示す色変動許容値が設定されており、
上記画像修正手段は、上記第1画像データにおいて上記重複箇所の上記主画像の色変動を上記色変動許容値にて許容していない場合には上記重複箇所の上記背景画像を修正し、上記第1画像データにおいて上記重複箇所の上記主画像の色変動を上記色変動許容値にて許容している場合には上記重複箇所の上記背景画像を修正しないことを特徴とする請求項1又は請求項2に記載の印刷装置。
In the first image data, a color variation allowable value indicating whether or not color variation in the printing result is permitted is set.
The image correcting means corrects the background image of the overlapping portion when the color variation allowable value does not allow the color variation of the main image at the overlapping portion in the first image data. 2. The background image of the overlapping portion is not corrected when color variation of the main image at the overlapping portion is allowed by the color variation allowable value in one image data. The printing apparatus according to 2.
上記画像修正手段は、上記重複箇所の上記主画像が印刷結果における色変動を許容しないことが予め設定されている特定色である場合に、上記重複箇所の上記背景画像を修正することを特徴とする請求項1〜請求項3の何れか一項に記載の印刷装置。   The image correcting means corrects the background image of the overlapping portion when the main image of the overlapping portion is a specific color set in advance so as not to allow color variation in the printing result. The printing apparatus according to any one of claims 1 to 3. 上記画像修正手段は、上記背景画像の上記重複箇所にカラー色成分があり且つ上記主画像の上記重複箇所にカラー色成分がある場合には上記背景画像の上記重複箇所を修正し、上記背景画像にカラー色成分があり且つ上記主画像の上記重複箇所にカラー色成分が無い場合には上記背景画像の上記重複箇所を修正せず、上記背景画像の上記重複箇所にカラー色成分が無い場合には上記背景画像の上記重複箇所を修正しないことを特徴とする請求項1〜請求項4の何れか一項に記載の印刷装置。   The image correcting means corrects the overlapping portion of the background image when there is a color color component at the overlapping portion of the background image and a color color component at the overlapping portion of the main image, and the background image When there is no color color component at the overlapping part of the background image without correcting the overlapping part of the background image when there is no color color component at the overlapping part of the main image The printing apparatus according to claim 1, wherein the overlapping portion of the background image is not corrected. 上記画像修正手段は、上記第1画像データのインク記録率が所定割合を超える部位と対応する部位の上記背景画像を修正することを特徴とする請求項1〜請求項5の何れか1項に記載の印刷装置。   The said image correction means corrects the said background image of the site | part corresponding to the site | part corresponding to the ink recording rate of the said 1st image data exceeding a predetermined ratio, The said any one of Claim 1-5 characterized by the above-mentioned. The printing apparatus as described. 画像データに基づいて印刷媒体に印刷する機能をコンピューターに実現させるための印刷プログラムであって
上記画像データは、少なくとも、主画像を印刷するための第1画像データと背景画像を印刷するための第2画像データとから成り、
上記印刷媒体に印刷されたときの上記主画像と上記背景画像の重複箇所を検出する検出機能と、
上記第2画像データを修正することによって上記重複箇所の上記背景画像を修正する画像修正機能と、
上記印刷媒体に対し上記第1画像データに基づいて行う主画像の印刷と上記第2画像データに基づいて行う背景画像の印刷とを所定の順序で行う印刷機能と、
をコンピューターに実現させることを特徴とする印刷プログラム。
A printing program for causing a computer to realize a function of printing on a printing medium based on image data, wherein the image data includes at least first image data for printing a main image and a first image for printing a background image. Consisting of two image data,
A detection function for detecting overlapping portions of the main image and the background image when printed on the print medium;
An image correction function for correcting the background image of the overlapping portion by correcting the second image data;
A printing function for performing, in a predetermined order, printing of a main image based on the first image data and printing of a background image based on the second image data on the print medium;
A printing program characterized in that a computer is realized.
少なくとも主画像を印刷するための第1画像データと背景画像を印刷するための第2画像データとから画像データが成る場合に、これら画像データに基づいて印刷媒体に印刷する印刷方法であって、
上記印刷媒体に印刷されたときの上記主画像と上記背景画像の重複箇所を検出する検出工程と、
上記第2画像データを修正することによって上記重複箇所における上記背景画像を修正する画像修正工程と、
上記印刷媒体に対して上記第1画像データに基づいて行う主画像の印刷と上記第2画像データに基づいて行う背景画像の印刷とを所定の順序で行う印刷工程と、
を備えることを特徴とする印刷方法。
When image data is composed of at least first image data for printing a main image and second image data for printing a background image, a printing method for printing on a print medium based on these image data,
A detection step of detecting an overlapping portion of the main image and the background image when printed on the print medium;
An image correction step of correcting the background image at the overlapping portion by correcting the second image data;
A printing step of performing printing of a main image based on the first image data and printing of a background image based on the second image data on the print medium in a predetermined order;
A printing method comprising:
JP2009227537A 2009-09-30 2009-09-30 Printer, printing program and printing method Withdrawn JP2011076394A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009227537A JP2011076394A (en) 2009-09-30 2009-09-30 Printer, printing program and printing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009227537A JP2011076394A (en) 2009-09-30 2009-09-30 Printer, printing program and printing method

Publications (2)

Publication Number Publication Date
JP2011076394A true JP2011076394A (en) 2011-04-14
JP2011076394A5 JP2011076394A5 (en) 2012-11-08

Family

ID=44020307

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009227537A Withdrawn JP2011076394A (en) 2009-09-30 2009-09-30 Printer, printing program and printing method

Country Status (1)

Country Link
JP (1) JP2011076394A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013041104A (en) * 2011-08-15 2013-02-28 Canon Inc Image processor and method thereof
JP2015050509A (en) * 2013-08-30 2015-03-16 セイコーエプソン株式会社 Recording data creation device, program, recording data creation method, and recording device
US9452250B2 (en) 2009-06-25 2016-09-27 Sorin Group Deutschland Gmbh Device for pumping blood in an extracorporeal circuit
US10213541B2 (en) 2011-07-12 2019-02-26 Sorin Group Italia S.R.L. Dual chamber blood reservoir
US10458833B2 (en) 2014-05-16 2019-10-29 Sorin Group Italia S.R.L. Blood reservoir with fluid volume measurement based on pressure sensor
US11229729B2 (en) 2009-05-29 2022-01-25 Livanova Deutschland Gmbh Device for establishing the venous inflow to a blood reservoir of an extracorporeal blood circulation system

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11229729B2 (en) 2009-05-29 2022-01-25 Livanova Deutschland Gmbh Device for establishing the venous inflow to a blood reservoir of an extracorporeal blood circulation system
US11844892B2 (en) 2009-05-29 2023-12-19 Livanova Deutschland Gmbh Device for establishing the venous inflow to a blood reservoir of an extracorporeal blood circulation system
US9452250B2 (en) 2009-06-25 2016-09-27 Sorin Group Deutschland Gmbh Device for pumping blood in an extracorporeal circuit
US10213541B2 (en) 2011-07-12 2019-02-26 Sorin Group Italia S.R.L. Dual chamber blood reservoir
US11389580B2 (en) 2011-07-12 2022-07-19 Sorin Group Italia S.R.L. Dual chamber blood reservoir
JP2013041104A (en) * 2011-08-15 2013-02-28 Canon Inc Image processor and method thereof
JP2015050509A (en) * 2013-08-30 2015-03-16 セイコーエプソン株式会社 Recording data creation device, program, recording data creation method, and recording device
US10458833B2 (en) 2014-05-16 2019-10-29 Sorin Group Italia S.R.L. Blood reservoir with fluid volume measurement based on pressure sensor

Similar Documents

Publication Publication Date Title
US20140176966A1 (en) Print Controller Generating Print Data Causing Print Executing Unit to Perform Printing Operation
JP2011076394A (en) Printer, printing program and printing method
JP6269172B2 (en) Print control apparatus, print control method, and program
US8899715B2 (en) Image processing apparatus, printing apparatus, and image processing method
JP2009055600A (en) Image processing method, its device, and cpu-readable recording medium
US8730519B2 (en) Image processing device and image-processing method
US8885222B2 (en) Image processing apparatus performing error diffusion process
JP2011140207A (en) Printer using a plurality of color inks including white ink and printing method thereof
JP2012034031A (en) Image processing apparatus, and image processing method
US7497538B2 (en) Method of multipass printing using a plurality of halftone patterns of dots
JP2012034032A (en) Image processing apparatus, and image processing method
US10877709B2 (en) Image processing apparatus, non-transitory recording medium storing image processing program, and image processing method for generating a color chart image data
JP2010076317A (en) Printing device, printing method, and printed matter
JP2023052888A (en) Image processing device, image processing method, and program
JP6252003B2 (en) Printing apparatus, printing method, image processing apparatus, and program
JP2006088660A (en) Image processor and image processing method
JP5493625B2 (en) Printing apparatus, printing program, and printing method
JP5597966B2 (en) Printing apparatus, printing program, and printing method
JP6424696B2 (en) Printing apparatus, printing method, and printing system
JP2018015987A (en) Image processing device, image processing method and program
US7452047B2 (en) Method of printing using error diffused shingling masks
US8848251B2 (en) Halftoning printing with a page-wide-array printer
US9077914B2 (en) Image processing apparatus and control method thereof printing image data having M tones under infrared light
JP2011076393A (en) Printer, printing program and printing method
JP2008061069A (en) Image processing apparatus, image output device, terminal device, and image forming system, and program

Legal Events

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

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20120718

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120920

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20120920

RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20120920

A761 Written withdrawal of application

Free format text: JAPANESE INTERMEDIATE CODE: A761

Effective date: 20130606