JP6413783B2 - Printing instruction apparatus, printing system, and program - Google Patents

Printing instruction apparatus, printing system, and program Download PDF

Info

Publication number
JP6413783B2
JP6413783B2 JP2015008094A JP2015008094A JP6413783B2 JP 6413783 B2 JP6413783 B2 JP 6413783B2 JP 2015008094 A JP2015008094 A JP 2015008094A JP 2015008094 A JP2015008094 A JP 2015008094A JP 6413783 B2 JP6413783 B2 JP 6413783B2
Authority
JP
Japan
Prior art keywords
image
code
data
code image
photographic
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.)
Active
Application number
JP2015008094A
Other languages
Japanese (ja)
Other versions
JP2016133979A (en
Inventor
将之 岩澤
将之 岩澤
太郎 山崎
太郎 山崎
高野 真一
真一 高野
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.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox Co Ltd
Fujifilm Business Innovation 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 Fuji Xerox Co Ltd, Fujifilm Business Innovation Corp filed Critical Fuji Xerox Co Ltd
Priority to JP2015008094A priority Critical patent/JP6413783B2/en
Publication of JP2016133979A publication Critical patent/JP2016133979A/en
Application granted granted Critical
Publication of JP6413783B2 publication Critical patent/JP6413783B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Description

本発明は、印刷指示装置、印刷システムおよびプログラムに関する。   The present invention relates to a print instruction apparatus, a printing system, and a program.

特許文献1には、画像データから印刷ジョブを生成する印刷ジョブ生成部と、印刷ジョブをハーフトーン処理して描画データを生成するプリンタドライバと、描画データを一時的に格納する記憶部と、記憶部から入力される描画データに基づいて描画を行うプリンタ部とを備えた描画装置が記載されている。   Patent Document 1 discloses a print job generation unit that generates a print job from image data, a printer driver that generates halftone processing of the print job to generate drawing data, a storage unit that temporarily stores drawing data, A drawing apparatus including a printer unit that performs drawing based on drawing data input from the unit is described.

特開2014−78188号公報JP 2014-78188 A

ここで、多階調で表現される写真画像と、コード情報を含むコード画像(例えばQRコード(株式会社デンソーウェーブの登録商標)やバーコードなどが挙げられる)とを有する画像データに基づいて印刷を行う場合について考えてみる。このとき、例えば写真画像およびコード画像の両者にハーフトーン処理を行った場合には、印刷されたコード画像の読取精度が低下する懸念がある。一方、例えば写真画像およびコード画像の両者にハーフトーン処理を行わない場合には、印刷された写真画像の品質が低下する懸念がある。
本発明は、写真画像とコード画像とを含む画像データに基づく印刷を行う場合に、写真画像の品質の低下およびコード画像の読取精度の低下を抑制することを目的とする。
Here, printing is performed based on image data including a photographic image expressed in multiple gradations and a code image including code information (for example, a QR code (registered trademark of DENSO WAVE INCORPORATED) or a barcode). Consider the case of doing. At this time, for example, when halftone processing is performed on both the photographic image and the code image, there is a concern that the reading accuracy of the printed code image may be lowered. On the other hand, for example, when the halftone process is not performed on both the photographic image and the code image, there is a concern that the quality of the printed photographic image is deteriorated.
An object of the present invention is to suppress deterioration in quality of a photographic image and reading accuracy of a code image when printing based on image data including a photographic image and a code image is performed.

請求項1記載の発明は、写真画像とコード画像とを含む画像データを取得する取得手段と、前記取得手段が取得した前記画像データの前記写真画像および前記コード画像を2値化したデータを記憶する記憶手段と、前記記憶手段が記憶した前記2値化したデータに含まれる前記コード画像を検出する検出手段と、前記取得手段が取得した前記画像データの前記写真画像にハーフトーン処理を施す処理手段と、前記処理手段によりハーフトーン処理された前記写真画像および前記検出手段により検出された前記コード画像を印刷装置に出力させる出力手段とを含む印刷指示装置である。
請求項2記載の発明は、前記取得手段は、前記写真画像および前記コード画像がともにイメージオブジェクトに設定された前記画像データを取得し、前記検出手段は、前記画像データにおいて前記イメージオブジェクトに設定されたデータから前記コード画像を検出することを特徴とする請求項1記載の印刷指示装置である。
請求項3記載の発明は、前記検出手段により検出された前記コード画像を多値化する多値化手段をさらに含み、前記出力手段は、前記処理手段によりハーフトーン処理された前記写真画像および前記多値化手段により多値化された前記コード画像を前記印刷装置に出力させることを特徴とする請求項1または2記載の印刷指示装置である。
請求項4記載の発明は、前記出力手段から出力された前記写真画像と前記コード画像とが、前記印刷装置において合成されることを特徴とする請求項1または2記載の印刷指示装置である。
請求項5記載の発明は、前記出力手段は、前記写真画像と前記コード画像とを合成して前記印刷装置に出力させることを特徴とする請求項1または2記載の印刷指示装置である。
請求項6記載の発明は、前記出力手段は、前記写真画像と前記コード画像とを合成した後に制御コードに変換することを特徴とする請求項5記載の印刷指示装置である。
請求項7記載の発明は、写真画像とコード画像とを含む画像データを取得する取得手段と、当該取得手段が取得した当該画像データの当該写真画像および当該コード画像を2値化したデータを記憶する記憶手段と、当該記憶手段が記憶した当該2値化したデータに含まれる当該コード画像を検出する検出手段と、当該取得手段が取得した当該画像データの当該写真画像にハーフトーン処理を施す処理手段と、当該処理手段によりハーフトーン処理された当該写真画像および当該検出手段により検出された当該コード画像を印刷データとして印刷装置に出力させる出力手段とを有する印刷指示装置と、前記印刷指示装置から受け取った前記印刷データを用いて、記録材に画像を印刷する印刷装置とを備える印刷システムである。
請求項8記載の発明は、コンピュータに、写真画像とコード画像とを含む画像データを取得する機能と、取得した前記画像データの前記写真画像および前記コード画像を2値化したデータを記憶させる機能と、記憶した前記2値化したデータに含まれる前記コード画像を検出する機能と、取得した前記画像データの前記写真画像にハーフトーン処理を施す機能と、ハーフトーン処理された前記写真画像および検出された前記コード画像を印刷装置に出力させる機能とを実現させるプログラムである。
The invention described in claim 1 stores acquisition means for acquiring image data including a photographic image and a code image, and data obtained by binarizing the photographic image and the code image of the image data acquired by the acquisition means. Storage means, detection means for detecting the code image included in the binarized data stored in the storage means, and processing for performing halftone processing on the photographic image of the image data acquired by the acquisition means And a printing instruction apparatus that outputs to the printing apparatus the photographic image that has been halftone processed by the processing means and the code image detected by the detection means.
According to a second aspect of the present invention, the acquisition unit acquires the image data in which both the photographic image and the code image are set in an image object, and the detection unit is set in the image object in the image data. The print instruction apparatus according to claim 1, wherein the code image is detected from the acquired data.
The invention according to claim 3 further includes multi-value conversion means for converting the code image detected by the detection means into multi-values, and the output means includes the photographic image halftoned by the processing means and the photographic image a print instruction apparatus according to claim 1 or 2, wherein the to output the code image, which is multi-valued by the multi-level means to the printing apparatus.
According to a fourth aspect of the present invention, in the printing instruction apparatus according to the first or second aspect, the photographic image and the code image output from the output unit are combined in the printing apparatus.
According to a fifth aspect of the present invention, in the print instruction apparatus according to the first or second aspect, the output unit synthesizes the photographic image and the code image and outputs the combined image to the printing apparatus.
A sixth aspect of the present invention is the print instruction apparatus according to the fifth aspect, wherein the output means converts the photographic image and the code image into a control code after being synthesized.
The invention described in claim 7 stores acquisition means for acquiring image data including a photographic image and a code image, and data obtained by binarizing the photographic image and the code image of the image data acquired by the acquisition means. Storage means, detection means for detecting the code image included in the binarized data stored in the storage means, and processing for performing halftone processing on the photographic image of the image data acquired by the acquisition means A print instructing device comprising: an output unit configured to output, as print data, the photographic image halftone processed by the processing unit and the code image detected by the detecting unit to the printing apparatus; A printing system including a printing apparatus that prints an image on a recording material using the received print data.
The invention according to claim 8 is a function of acquiring image data including a photographic image and a code image in a computer, and a function of storing data obtained by binarizing the photographic image and the code image of the acquired image data. A function of detecting the code image included in the stored binarized data, a function of performing halftone processing on the photographic image of the acquired image data, and the photographic image subjected to halftone processing and detection And a function for causing the printing apparatus to output the code image.

請求項1記載の発明によれば、写真画像とコード画像とを含む画像データに基づく印刷を行う場合に、写真画像の品質の低下およびコード画像の読取精度の低下を抑制することができる。
請求項2記載の発明によれば、例えばイメージオブジェクト以外のオブジェクトを含む画像データに基づく印刷を行う場合に、画像データに施す処理を簡易にすることができる。
請求項3記載の発明によれば、2値化された画像データと多値化された画像データとの混在を抑制することができる。
請求項4記載の発明によれば、印刷指示装置における処理を簡易なものとすることができる。
請求項5記載の発明によれば、印刷装置における処理を簡易なものとすることができる。
請求項6記載の発明によれば、制御コードへの変換を容易に行うことが可能になる。
請求項7記載の発明によれば、写真画像とコード画像とを含む画像データに基づく印刷を行う場合に、写真画像の品質の低下およびコード画像の読取精度の低下を抑制することができる。
請求項8記載の発明によれば、写真画像とコード画像とを含む画像データに基づく印刷を行う場合に、写真画像の品質の低下およびコード画像の読取精度の低下を抑制することができる。
According to the first aspect of the present invention, when printing based on image data including a photographic image and a code image is performed, it is possible to suppress a decrease in the quality of the photographic image and a decrease in the reading accuracy of the code image.
According to the second aspect of the present invention, for example, when printing based on image data including an object other than an image object is performed, the processing applied to the image data can be simplified.
According to the third aspect of the present invention, mixing of binarized image data and multi-valued image data can be suppressed.
According to the fourth aspect of the invention, the processing in the print instruction apparatus can be simplified.
According to the fifth aspect of the present invention, the processing in the printing apparatus can be simplified.
According to the sixth aspect of the present invention, the conversion to the control code can be easily performed.
According to the seventh aspect of the present invention, when printing based on image data including a photographic image and a code image is performed, it is possible to suppress a decrease in the quality of the photographic image and a decrease in the reading accuracy of the code image.
According to the eighth aspect of the present invention, when printing based on image data including a photographic image and a code image is performed, it is possible to suppress a decrease in the quality of the photographic image and a decrease in the reading accuracy of the code image.

印刷システムの構成例を示すブロック図である。1 is a block diagram illustrating a configuration example of a printing system. コンピュータ装置のハードウェア構成例を示すブロック図である。It is a block diagram which shows the hardware structural example of a computer apparatus. 実施の形態1における印刷データの作成処理手順を示すフローチャートである。4 is a flowchart illustrating a print data creation processing procedure according to the first embodiment. 印刷対象となる文書(オブジェクトデータ)の一例を示す図である。It is a figure which shows an example of the document (object data) used as printing object. (a)、(b)は写真画像とハーフトーン処理との関係を説明するための図である。(A), (b) is a figure for demonstrating the relationship between a photograph image and a halftone process. (a)、(b)はコード画像とハーフトーン処理との関係を説明するための図である。(A), (b) is a figure for demonstrating the relationship between a code image and a halftone process. 実施の形態2における印刷データの作成処理手順を示すフローチャートである。10 is a flowchart illustrating a print data creation processing procedure according to the second embodiment.

以下、添付図面を参照して、本発明の実施の形態について詳細に説明する。
<実施の形態1>
図1は、本実施の形態が適用される印刷システムの構成例を示すブロック図である。
この印刷システムは、ホスト装置10と、ホスト装置10とネットワーク等を介して接続された印刷装置100とを備える。ここで、ホスト装置10は、使用者から受け付けた指示に基づいて、印刷データの作成を行う。また、印刷装置100は、ホスト装置10から送られてくる印刷データに基づき、用紙等の記録材に画像を印刷する。
Embodiments of the present invention will be described below in detail with reference to the accompanying drawings.
<Embodiment 1>
FIG. 1 is a block diagram illustrating a configuration example of a printing system to which the exemplary embodiment is applied.
The printing system includes a host device 10 and a printing device 100 connected to the host device 10 via a network or the like. Here, the host device 10 creates print data based on an instruction received from the user. The printing apparatus 100 prints an image on a recording material such as paper based on print data sent from the host apparatus 10.

ホスト装置10は、コンピュータ装置20と、コンピュータ装置20に接続される入力装置30および表示装置40とを備える。これらのうち、コンピュータ装置20は、印刷データを作成するための各種処理を実行する。また、入力装置30は、使用者による各種指示の入力を受け付けてコンピュータ装置20に送る。さらに、表示装置40は、コンピュータ装置20から送られた使用者に提示すべき画像を表示する。   The host device 10 includes a computer device 20, an input device 30 and a display device 40 connected to the computer device 20. Among these, the computer device 20 executes various processes for creating print data. Further, the input device 30 receives input of various instructions by the user and sends it to the computer device 20. Further, the display device 40 displays an image to be presented to the user sent from the computer device 20.

印刷指示装置の一例としてのコンピュータ装置20は、アプリケーション21と、プリンタドライバ22と、スプーラ23と、言語モニタ24とを有する。これらのうち、アプリケーション21は、文書の作成等を行うソフトウェアである。また、プリンタドライバ22は、アプリケーション21で作成された文書に基づき、印刷装置100が解釈可能な印刷データを生成する。ここで、プリンタドライバ22は、アプリケーション21から送られてきた文書を構成するオブジェクトを判別し、印刷装置100に送る印刷データとしてPDL(Page Description Language)を生成する。なお、オブジェクトとしては、図形画像を含む図形オブジェクト、文字画像を含む文字オブジェクト、写真画像やコード画像を含むイメージオブジェクトが挙げられる。さらに、スプーラ23は、プリンタドライバ22からの印刷要求に伴い、GDI(Graphics Device Interface)経由で印刷装置100に出力する印刷データを一時的に保持する。さらにまた、言語モニタ24は、印刷装置100との間でデータ等の授受を行う。   A computer apparatus 20 as an example of a print instruction apparatus includes an application 21, a printer driver 22, a spooler 23, and a language monitor 24. Among these, the application 21 is software for creating a document and the like. The printer driver 22 generates print data that can be interpreted by the printing apparatus 100 based on the document created by the application 21. Here, the printer driver 22 determines an object constituting the document sent from the application 21 and generates PDL (Page Description Language) as print data to be sent to the printing apparatus 100. Examples of objects include graphic objects including graphic images, character objects including character images, and image objects including photographic images and code images. Furthermore, the spooler 23 temporarily holds print data to be output to the printing apparatus 100 via GDI (Graphics Device Interface) in response to a print request from the printer driver 22. Furthermore, the language monitor 24 exchanges data and the like with the printing apparatus 100.

そして、プリンタドライバ22は、UI(User Interface)処理部221と、イメージ判定部222と、ハーフトーン処理部223と、イメージ変換部224と、一時バッファ225とを備える。
UI処理部221は、『コード画像最適化モード』を設定する。ここで、コード画像最適化モードは、アプリケーション21により作成される文書に含まれるコード画像の読取精度を向上させるために設定されるモードである。なお、コード画像は、コード情報を含む画像であって、バーコード等の一次元コードやQRコード等の二次元コードが含まれる。そして、コード画像最適化モードは、入力装置30を介して受け付けた使用者の指示により設定される。また、イメージ判定部222は、アプリケーション21から送られてきた文書を構成する各種オブジェクトが、イメージオブジェクトであるか否かを判定する。さらに、ハーフトーン処理部223は、入力されてくるデータにハーフトーン処理を施す。ここで、ハーフトーン処理部223が実行するハーフトーン処理としては、濃度パターン法、ディザ法あるいは誤差拡散法など、各種処理法など、公知の手法のいずれかを用いるものであればよい。さらにまた、イメージ変換部224は、アプリケーション21が作成した多値画像からなる文書を2値化する。また、イメージ変換部224は、このようにして2値化された画像を、必要に応じて多値化する。ここで、2値化された画像とは、各画素が1ビット(0または1)で表現されるものをいう。一方、多値化された画像とは、各画素が2ビット以上で表現されるものをいい、ここでは例えば8ビットで表現されるものとする。そして、一時バッファ225は、イメージ変換部224が作成した2値化された画像データ等を、一時的に記憶する。
The printer driver 22 includes a UI (User Interface) processing unit 221, an image determination unit 222, a halftone processing unit 223, an image conversion unit 224, and a temporary buffer 225.
The UI processing unit 221 sets “code image optimization mode”. Here, the code image optimization mode is a mode set to improve the reading accuracy of the code image included in the document created by the application 21. The code image is an image including code information, and includes a one-dimensional code such as a barcode and a two-dimensional code such as a QR code. The code image optimization mode is set in accordance with a user instruction received via the input device 30. In addition, the image determination unit 222 determines whether or not various objects constituting the document sent from the application 21 are image objects. Further, the halftone processing unit 223 performs halftone processing on the input data. Here, as the halftone processing executed by the halftone processing unit 223, any known method such as various processing methods such as a density pattern method, a dither method, or an error diffusion method may be used. Furthermore, the image conversion unit 224 binarizes a document composed of a multi-value image created by the application 21. Further, the image conversion unit 224 multi-values the binarized image as necessary. Here, the binarized image means an image in which each pixel is expressed by 1 bit (0 or 1). On the other hand, a multi-valued image means an image in which each pixel is expressed by 2 bits or more, and is expressed by 8 bits here, for example. The temporary buffer 225 temporarily stores the binarized image data created by the image conversion unit 224 and the like.

ここで、本実施の形態では、UI処理部221が、取得手段の一例としての機能を有している。また、イメージ判定部222が検出手段の一例として、ハーフトーン処理部223が処理手段および多値化手段の一例として、一時バッファ225が記憶手段の一例として、それぞれ機能している。さらに、スプーラ23および言語モニタ24が、出力手段の一例としての機能を有している。   Here, in the present embodiment, the UI processing unit 221 has a function as an example of an acquisition unit. The image determination unit 222 functions as an example of a detection unit, the halftone processing unit 223 functions as an example of a processing unit and a multi-value conversion unit, and the temporary buffer 225 functions as an example of a storage unit. Further, the spooler 23 and the language monitor 24 have a function as an example of output means.

他方、印刷装置100は、トナーを用いて画像を形成するものであってもよいし、インクを用いて画像を形成するものであってもよい。また、印刷装置100は、単色(モノクロ)の画像を形成するものであってもよいし、複数色(カラー)の画像を形成するものであってもよい。   On the other hand, the printing apparatus 100 may form an image using toner or may form an image using ink. The printing apparatus 100 may form a single color (monochrome) image, or may form a plurality of colors (color).

図2は、コンピュータ装置20のハードウェア構成例を示すブロック図である。
コンピュータ装置20は、例えばパーソナルコンピュータ等により実現される。そして、コンピュータ装置20は、演算手段であるCPU(Central Processing Unit)201と、記憶手段であるメインメモリ202およびHDD(Hard Disk Drive)203とを備える。ここで、CPU201は、OS(Operating System)やアプリケーション21等の各種プログラムを実行する。また、メインメモリ202は、各種プログラムやその実行に用いるデータ等を記憶する記憶領域である。さらに、HDD203は、各種プログラムに対する入力データや各種プログラムからの出力データ等を記憶する記憶領域である。さらに、コンピュータ装置20は、入力装置30、表示装置40および印刷装置100との通信を行うための通信インタフェース(以下、「通信I/F」と表記する)204を備えている。
FIG. 2 is a block diagram illustrating a hardware configuration example of the computer apparatus 20.
The computer device 20 is realized by, for example, a personal computer. The computer device 20 includes a CPU (Central Processing Unit) 201 that is a computing means, a main memory 202 and an HDD (Hard Disk Drive) 203 that are storage means. Here, the CPU 201 executes various programs such as an OS (Operating System) and the application 21. The main memory 202 is a storage area for storing various programs and data used for execution thereof. The HDD 203 is a storage area for storing input data for various programs, output data from the various programs, and the like. Further, the computer device 20 includes a communication interface (hereinafter referred to as “communication I / F”) 204 for communicating with the input device 30, the display device 40, and the printing device 100.

なお、図1に示すコンピュータ装置20を構成するアプリケーション21、プリンタドライバ22、スプーラ23および言語モニタ24の機能は、ソフトウェアとハードウェア資源とが協働することにより実現される。すなわち、コンピュータ装置20に設けられたCPU201が、各部の機能を実現するプログラムを、例えばHDD203の記憶装置からメインメモリ202に読み込んで、これらの各機能を実現する。なお、プログラムは、例えば図示しないネットワークを介してコンピュータ装置20に提供することができる。ただし、これに限られるものではなく、例えばCD−ROM等の記録媒体に格納して提供することも可能である。   Note that the functions of the application 21, the printer driver 22, the spooler 23, and the language monitor 24 that constitute the computer device 20 shown in FIG. 1 are realized by cooperation of software and hardware resources. That is, the CPU 201 provided in the computer device 20 reads a program for realizing the functions of the respective units from, for example, the storage device of the HDD 203 into the main memory 202 to realize these functions. Note that the program can be provided to the computer device 20 via, for example, a network (not shown). However, the present invention is not limited to this. For example, the program can be provided by being stored in a recording medium such as a CD-ROM.

図3は、実施の形態1における印刷データの作成処理手順を示すフローチャートである。
まず、使用者により、アプリケーション21にて文書の作成が行われ、且つ、この文書の印刷指示が行われる。これに伴い、プリンタドライバ22は、アプリケーション21から文書に対応するオブジェクトデータを受信する(ステップ10)。ここで、オブジェクトデータは、画像データの一例である。
FIG. 3 is a flowchart illustrating a print data creation processing procedure according to the first embodiment.
First, a user creates a document using the application 21 and issues a print instruction for the document. Accordingly, the printer driver 22 receives object data corresponding to the document from the application 21 (step 10). Here, the object data is an example of image data.

すると、イメージ判定部222が、受信したオブジェクトデータを解析し、オブジェクトがイメージ形式であるか否か(イメージオブジェクトであるか否か)を判定する(ステップ20)。ステップ20で否定の判断(NO)を行った場合は、後述するステップ150へと進む。   Then, the image determination unit 222 analyzes the received object data and determines whether the object is in an image format (whether it is an image object) (step 20). If a negative determination (NO) is made in step 20, the process proceeds to step 150 described later.

一方、ステップ20において肯定の判断(YES)を行った場合、UI処理部221は、使用者によりコード画像最適化モードが設定されているか否かを判定する(ステップ30)。ステップ30において否定の判断(NO)を行った場合、ハーフトーン処理部223は、このオブジェクト(元のイメージオブジェクト)に対してハーフトーン処理を施し(ステップ140)、後述するステップ150へと進む。   On the other hand, if an affirmative determination (YES) is made in step 20, the UI processing unit 221 determines whether or not the code image optimization mode is set by the user (step 30). If a negative determination (NO) is made in step 30, the halftone processing unit 223 performs halftone processing on this object (original image object) (step 140), and proceeds to step 150 described later.

また、ステップ30において肯定の判断(YES)を行った場合、イメージ変換部224は、このオブジェクト(イメージオブジェクト)を含む文書に関し、ページ毎に2値化変換を施し、得られた画像データ(2値化データ(2値化したデータに対応)と称する)を一時バッファ225に格納させる(ステップ40)。続いて、イメージ判定部222は、ステップ40で得た2値化データについてコード画像判定処理を行い(ステップ50)、コード画像があるか否かを判定する(ステップ60)。なお、ステップ60において否定の判断(NO)を行った場合は、後述するステップ100へと進む。   If an affirmative determination (YES) is made in step 30, the image conversion unit 224 performs binarization conversion for each page on the document including this object (image object) and obtains the obtained image data (2 The digitized data (referred to as binarized data) is stored in the temporary buffer 225 (step 40). Subsequently, the image determination unit 222 performs code image determination processing on the binarized data obtained in step 40 (step 50), and determines whether there is a code image (step 60). If a negative determination (NO) is made in step 60, the process proceeds to step 100 described later.

一方、ステップ60において肯定の判断(YES)を行った場合、イメージ変換部224は、一時バッファ225に格納される2値化データからコード画像と判定された部位(コード画像部と称する)を抜き出してオブジェクト化する(ステップ70)。次いで、プリンタドライバ22では、オブジェクト化されたデータ(コード画像部)を、印刷装置100が解釈可能な制御コード(PDL)に変換する(ステップ80)。その後、ステップ80で得られた制御コード(PDL)は、スプーラ23および言語モニタ24を介して印刷装置100に出力される(ステップ90)。   On the other hand, when an affirmative determination (YES) is made in step 60, the image conversion unit 224 extracts a portion determined as a code image (referred to as a code image unit) from the binarized data stored in the temporary buffer 225. (Step 70). Next, the printer driver 22 converts the objectized data (code image portion) into a control code (PDL) that can be interpreted by the printing apparatus 100 (step 80). Thereafter, the control code (PDL) obtained in step 80 is output to the printing apparatus 100 via the spooler 23 and the language monitor 24 (step 90).

他方、ステップ30において肯定の判断(YES)を行った場合、および、上記ステップ60において否定の判断(NO)を行った場合、ハーフトーン処理部223は、このオブジェクト(元のイメージオブジェクト)に対してハーフトーン処理を施す(ステップ100)。続いて、プリンタドライバ22では、ハーフトーン処理が施されたデータ(コード画像部以外)を、印刷装置100が解釈可能な制御コード(PDL)に変換する(ステップ110)。その後、ステップ110で得られた制御コード(PDL)は、スプーラ23および言語モニタ24を介して印刷装置100に出力される(ステップ120)。   On the other hand, when an affirmative determination (YES) is made in step 30 and a negative determination (NO) is made in step 60, the halftone processing unit 223 performs this object (original image object). Then, halftone processing is performed (step 100). Subsequently, the printer driver 22 converts the data subjected to the halftone process (other than the code image portion) into a control code (PDL) that can be interpreted by the printing apparatus 100 (step 110). Thereafter, the control code (PDL) obtained in step 110 is output to the printing apparatus 100 via the spooler 23 and the language monitor 24 (step 120).

なお、その後、印刷装置100では、ステップ90でコンピュータ装置20から供給される2値化されたコード画像の制御コード(PDL)と、ステップ120でコンピュータ装置20から供給されるハーフトーン処理されたコード画像以外のイメージオブジェクトに対応する画像の制御コード(PDL)とを合成する(ステップ130)。   After that, in the printing apparatus 100, the control code (PDL) of the binarized code image supplied from the computer apparatus 20 in step 90 and the halftoned code supplied from the computer apparatus 20 in step 120 The control code (PDL) of the image corresponding to the image object other than the image is synthesized (step 130).

また、ステップ20において否定の判断(NO)を行った場合、および、ステップ30において否定の判断(NO)を行った後にステップ140にてハーフトーン処理を行った場合、プリンタドライバ22では、このデータを、印刷装置100が解釈可能な制御コード(PDL)に変換する(ステップ150)。その後、ステップ150で得られた制御コード(PDL)は、スプーラ23および言語モニタ24を介して印刷装置100に出力される(ステップ160)。   If a negative determination (NO) is made in step 20 and if a halftone process is performed in step 140 after making a negative determination (NO) in step 30, the printer driver 22 uses this data. Is converted into a control code (PDL) interpretable by the printing apparatus 100 (step 150). Thereafter, the control code (PDL) obtained in step 150 is output to the printing apparatus 100 via the spooler 23 and the language monitor 24 (step 160).

そして、制御コード(PDL)を受け取った印刷装置100は、制御コード(PDL)を解釈して、記録材上に画像の印刷を行う。   Upon receiving the control code (PDL), the printing apparatus 100 interprets the control code (PDL) and prints an image on the recording material.

ではここで、本実施の形態の印刷データの作成処理手順について、具体例を挙げながら説明を行う。
図4は、印刷対象となる文書(オブジェクトデータ)60の一例を示す図である。なお、ここでは、A4サイズ縦長の用紙に画像を印刷する場合を例とする。
Here, the print data creation processing procedure of the present embodiment will be described with a specific example.
FIG. 4 is a diagram illustrating an example of a document (object data) 60 to be printed. Here, the case where an image is printed on A4 size vertically long paper is taken as an example.

図4に示す文書60は、写真画像61と、文字画像62と、図形画像63と、コード画像64とを含んでいる。ここで、写真画像61は、多値(例えば256階調)の階調画像で構成されたイメージオブジェクトである。また、文字画像62は文字オブジェクトであり、図形画像63は図形オブジェクトである。さらに、コード画像64は、同じく多値(例えば256階調)の階調画像で構成されたイメージオブジェクトである。なお、この例において、コード画像64は、QRコードで構成されているものとする。   A document 60 shown in FIG. 4 includes a photographic image 61, a character image 62, a graphic image 63, and a code image 64. Here, the photographic image 61 is an image object composed of multi-value (for example, 256 gradations) gradation images. The character image 62 is a character object, and the graphic image 63 is a graphic object. Further, the code image 64 is an image object composed of multi-value (for example, 256 gradations) gradation images. In this example, it is assumed that the code image 64 is composed of a QR code.

また、図5は、写真画像61とハーフトーン処理との関係を説明するための図である。ここで、図5(a)はハーフトーン処理が施された写真画像61を、図5(b)はハーフトーン処理が施されない写真画像61を、それぞれ示している。   FIG. 5 is a diagram for explaining the relationship between the photographic image 61 and the halftone process. Here, FIG. 5A shows a photographic image 61 that has been subjected to halftone processing, and FIG. 5B shows a photographic image 61 that has not been subjected to halftone processing.

さらに、図6は、コード画像64とハーフトーン処理との関係を説明するための図である。ここで、図6(a)はハーフトーン処理が施されたコード画像64を、図6(b)はハーフトーン処理が施されていないコード画像64を、それぞれ示している。ただし、図6(a)、(b)は、コード画像64の要部を拡大したものとなっている。   Further, FIG. 6 is a diagram for explaining the relationship between the code image 64 and the halftone process. Here, FIG. 6A shows a code image 64 that has undergone halftone processing, and FIG. 6B shows a code image 64 that has not undergone halftone processing. However, FIGS. 6A and 6B are enlarged views of the main part of the code image 64.

コード画像最適化モードが設定されている場合(ステップ30においてYES)、イメージオブジェクトに対し、ページ毎に2値化変換が施され、得られた2値化データが一時バッファ225に格納される(ステップ40)。このとき、2値化データにおいては、写真画像61が図5(b)に示したものとなり、コード画像64が図6(b)に示したものとなる。その後、2値化データからコード画像64(図6(b)参照)が抜き出されてオブジェクト化され(ステップ70)、さらに制御コード(PDL)に変換され(ステップ80)、印刷装置100へ出力される(ステップ90)。   When the code image optimization mode is set (YES in step 30), the image object is subjected to binarization conversion for each page, and the obtained binarized data is stored in the temporary buffer 225 ( Step 40). At this time, in the binarized data, the photographic image 61 is as shown in FIG. 5B, and the code image 64 is as shown in FIG. 6B. Thereafter, the code image 64 (see FIG. 6B) is extracted from the binarized data and converted into an object (step 70), further converted into a control code (PDL) (step 80), and output to the printing apparatus 100. (Step 90).

また、コード画像最適化モードが設定されている場合(ステップ30においてYES)、コード画像64以外のイメージオブジェクトすなわち写真画像61に対し、ハーフトーン処理が施される(ステップ100)。このとき、得られる写真画像61は、図5(a)に示したものとなる。その後、この写真画像61(図5(a)参照)が制御コード(PDL)に変換され(ステップ110)、印刷装置100へ出力される(ステップ120)。   If the code image optimization mode is set (YES in step 30), halftone processing is performed on image objects other than the code image 64, that is, the photographic image 61 (step 100). At this time, the obtained photographic image 61 is as shown in FIG. Thereafter, the photographic image 61 (see FIG. 5A) is converted into a control code (PDL) (step 110) and output to the printing apparatus 100 (step 120).

そして、本実施の形態では、このようにして得られたコード画像64(図6(b)参照)と写真画像61(図5(a)参照)とが、印刷装置100において合成され(ステップ130)、この合成データに基づく印刷が行われる。その結果、用紙上に印刷された画像において、写真画像61は図5(a)に示す状態となり、コード画像64は図6(b)に示す状態となる。   In this embodiment, the code image 64 (see FIG. 6B) and the photographic image 61 (see FIG. 5A) obtained in this way are combined in the printing apparatus 100 (step 130). ), Printing based on the composite data is performed. As a result, in the image printed on the paper, the photographic image 61 is in the state shown in FIG. 5A, and the code image 64 is in the state shown in FIG.

ここで、文書60においてイメージオブジェクトを構成する写真画像61およびコード画像64の両者にハーフトーン処理を施した場合について考えてみる。この場合は、印刷により得られる写真画像61が図5(a)に示すものとなり、また、印刷により得られるコード画像64が図6(a)に示すものとなる。すると、写真画像61の品質は良好なものとなる一方、コード画像64については、画像にぼやけが生じる分、その読取精度が低下してしまうことになる。   Here, consider a case in which halftone processing is performed on both the photographic image 61 and the code image 64 constituting the image object in the document 60. In this case, a photographic image 61 obtained by printing is as shown in FIG. 5A, and a code image 64 obtained by printing is as shown in FIG. Then, while the quality of the photographic image 61 is good, the reading accuracy of the code image 64 is lowered because the image is blurred.

次に、文書60においてイメージオブジェクトを構成する写真画像61およびコード画像64の両者にハーフトーン処理を施さない場合について考えてみる。この場合は、印刷により得られる写真画像61が図5(b)に示すものとなり、また、印刷により得られるコード画像64が図5(b)に示すものとなる。すると、コード画像64の読取精度は良好なものとなる一方、写真画像61については、画像が2値で表現される分、その品質が低下してしまうことになる。   Next, let us consider a case where the halftone process is not performed on both the photographic image 61 and the code image 64 constituting the image object in the document 60. In this case, the photographic image 61 obtained by printing is as shown in FIG. 5B, and the code image 64 obtained by printing is as shown in FIG. 5B. Then, while the reading accuracy of the code image 64 is improved, the quality of the photographic image 61 is deteriorated as much as the image is expressed in binary.

これに対し、本実施の形態では、コード画像最適化モードが設定されている場合に、文書60においてイメージオブジェクトを構成する写真画像61およびコード画像64に関し、写真画像61にはハーフトーン処理を施すとともに、コード画像64にはハーフトーン処理を施さないようにした。この場合は、印刷により得られる写真画像61が図5(a)に示すものとなり、また、印刷により得られるコード画像64が図6(b)に示すものとなる。このような設定を行うことにより、写真画像61の品質が良好なものとなるとともに、コード画像64についても、その読取精度が良好なものとなる。   On the other hand, in the present embodiment, when the code image optimization mode is set, with respect to the photographic image 61 and the code image 64 constituting the image object in the document 60, the photographic image 61 is subjected to halftone processing. At the same time, the code image 64 is not subjected to halftone processing. In this case, a photographic image 61 obtained by printing is shown in FIG. 5A, and a code image 64 obtained by printing is shown in FIG. 6B. By performing such setting, the quality of the photographic image 61 is improved, and the reading accuracy of the code image 64 is also improved.

ここで、QRコードやバーコード等で構成されたコード画像64は、濃淡2値の組み合わせで構成されているため、2値化した画像とした方が正確に判別しやすい。しかしながら、一般的にイメージオブジェクトを構成する画像は、多値で表現されることが多い。そこで、本実施の形態では、コード画像64(QRコード)を検索するための一時バッファ225を用意しておき、オブジェクトデータをページ毎に2値化変換した2値化データ(画像イメージ)を一時バッファ225に格納するようにした。そして、一時バッファ225に格納された2値化データに対してコード画像64の検索を行わせるようにした。これにより、多値化されたオブジェクトデータから検索を行う場合と比較して、コード画像64を判別する精度を向上させることができる。   Here, since the code image 64 composed of a QR code, a bar code, or the like is composed of a combination of light and dark binary values, it is easier to accurately discriminate the binarized image. However, in general, an image constituting an image object is often expressed in multiple values. Therefore, in the present embodiment, a temporary buffer 225 for searching the code image 64 (QR code) is prepared, and binary data (image image) obtained by binarizing and converting object data for each page is temporarily stored. The data is stored in the buffer 225. Then, the code image 64 is searched for the binarized data stored in the temporary buffer 225. Thereby, compared with the case where it searches from the multivalued object data, the precision which discriminate | determines the code image 64 can be improved.

また、本実施の形態では、用紙上に形成されたコード画像64の読み取り品質を確保(向上)させるために、イメージオブジェクトを構成する画像のうち、写真画像61にはハーフトーン処理を施す一方、コード画像64にはハーフトーン処理を施さないようにした。そして、本実施の形態では、印刷装置100に出力するコード画像64については、コード画像64を判別するために作成した2値化データを利用するようにした。これにより、オブジェクトデータからコード画像64を検索するための2値化処理と、多値のコード画像64を2値に変換するための2値化処理とを別々に行わなくてもよくなる。   In the present embodiment, in order to ensure (improve) the reading quality of the code image 64 formed on the paper, among the images constituting the image object, the photographic image 61 is subjected to halftone processing, The code image 64 is not subjected to halftone processing. In the present embodiment, the binarized data created for determining the code image 64 is used for the code image 64 output to the printing apparatus 100. As a result, the binarization process for retrieving the code image 64 from the object data and the binarization process for converting the multi-value code image 64 into binary need not be performed separately.

さらに、本実施の形態では、印刷装置100側で、2値化されたコード画像64のデータとハーフトーン処理済みイメージデータとを合成するようにした。これにより、コンピュータ装置20にかかる負荷を低減することが可能になる。   Further, in the present embodiment, the binarized code image 64 data and the halftone processed image data are synthesized on the printing apparatus 100 side. As a result, the load on the computer device 20 can be reduced.

<実施の形態2>
本実施の形態は、実施の形態1とほぼ同様であるが、印刷データの作成手順が実施の形態1とは異なる。なお、本実施の形態において、実施の形態1と同様のものについては、同じ符号を付してその詳細な説明を省略する。
<Embodiment 2>
The present embodiment is almost the same as the first embodiment, but the print data creation procedure is different from the first embodiment. In the present embodiment, the same components as those in the first embodiment are denoted by the same reference numerals, and detailed description thereof is omitted.

図7は、実施の形態2における印刷データの作成処理手順を示すフローチャートである。
この場合も、まず、使用者により、アプリケーション21にて文書の作成が行われ、且つ、この文書の印刷指示が行われる。これに伴い、プリンタドライバ22は、アプリケーション21から文書に対応するオブジェクトデータを受信する(ステップ210)。
FIG. 7 is a flowchart illustrating a print data creation processing procedure according to the second embodiment.
Also in this case, first, the user creates a document by the application 21 and issues a print instruction for the document. Accordingly, the printer driver 22 receives object data corresponding to the document from the application 21 (step 210).

すると、イメージ判定部222が、受信したオブジェクトデータを解析し、オブジェクトがイメージ形式であるか否か(イメージオブジェクトであるか否か)を判定する(ステップ220)。ステップ220で否定の判断(NO)を行った場合は、後述するステップ320へと進む。   Then, the image determination unit 222 analyzes the received object data and determines whether the object is in an image format (whether it is an image object) (step 220). If a negative determination (NO) is made in step 220, the process proceeds to step 320 described later.

一方、ステップ220において肯定の判断(YES)を行った場合、UI処理部221は、使用者によりコード画像最適化モードが設定されているか否かを判定する(ステップ230)。ステップ230において否定の判断(NO)を行った場合、ハーフトーン処理部223は、このオブジェクト(元のイメージオブジェクト)に対してハーフトーン処理を施し(ステップ310)、後述するステップ320へと進む。   On the other hand, when an affirmative determination (YES) is made in step 220, the UI processing unit 221 determines whether or not the code image optimization mode is set by the user (step 230). If a negative determination (NO) is made in step 230, the halftone processing unit 223 performs halftone processing on this object (original image object) (step 310), and proceeds to step 320 described later.

また、ステップ230において肯定の判断(YES)を行った場合、イメージ変換部224は、このオブジェクト(イメージオブジェクト)を含む文書に関し、ページ毎に2値化変換を施し、得られた2値化データを一時バッファ225に格納させる(ステップ240)。続いて、イメージ判定部222は、ステップ240で得た2値化データについてコード画像判定処理を行い(ステップ250)、コード画像があるか否かを判定する(ステップ260)。なお、ステップ260において否定の判断(NO)を行った場合は、後述するステップ290へと進む。   If the determination in step 230 is affirmative (YES), the image conversion unit 224 performs binarization conversion for each page regarding the document including the object (image object) and obtains the binarized data obtained. Is stored in the temporary buffer 225 (step 240). Subsequently, the image determination unit 222 performs code image determination processing on the binarized data obtained in step 240 (step 250), and determines whether there is a code image (step 260). When a negative determination (NO) is made in step 260, the process proceeds to step 290 described later.

一方、ステップ260において肯定の判断(YES)を行った場合、イメージ変換部224は、一時バッファ225に格納される2値化データからコード画像部を抜き出してオブジェクト化する(ステップ270)。次いで、イメージ変換部224は、オブジェクト化されたデータ(コード画像部)を2値から多値に変換する多値化処理を行い(ステップ280)、後述するステップ300へと進む。   On the other hand, when an affirmative determination (YES) is made in step 260, the image conversion unit 224 extracts the code image portion from the binarized data stored in the temporary buffer 225 and converts it into an object (step 270). Next, the image conversion unit 224 performs multi-value conversion processing for converting object data (code image portion) from binary to multi-value (step 280), and proceeds to step 300 described later.

他方、ステップ230において肯定の判断(YES)を行った場合、および、上記ステップ260において否定の判断(NO)を行った場合、ハーフトーン処理部223は、このオブジェクト(元のイメージオブジェクト)に対してハーフトーン処理を施し(ステップ290)、次のステップ300へと進む。   On the other hand, when an affirmative determination (YES) is made in step 230 and a negative determination (NO) is made in step 260, the halftone processing unit 223 performs this object (original image object). Then, halftone processing is performed (step 290), and the process proceeds to the next step 300.

そして、プリンタドライバ22では、ステップ280で得られた多値化処理済みコード画像のデータと、ステップ290で得られたハーフトーン処理済みイメージデータとを合成する(ステップ300)。   Then, the printer driver 22 synthesizes the multi-value processed code image data obtained in step 280 and the halftone processed image data obtained in step 290 (step 300).

続いて、プリンタドライバ22では、ステップ300で得られた合成データ、ステップ310で得られたハーフトーン処理済みのデータ、または、ステップ220にて否定の判断がなされたデータ(イメージオブジェクト以外のオブジェクトを含むデータ)を、印刷装置100が解釈可能な制御コード(PDL)に変換する(ステップ320)。その後、ステップ320で得られた制御コード(PDL)は、スプーラ23および言語モニタ24を介して印刷装置100に出力される(ステップ330)。   Subsequently, in the printer driver 22, the composite data obtained in step 300, the halftoned data obtained in step 310, or the data for which a negative determination has been made in step 220 (objects other than image objects). (Including data) is converted into a control code (PDL) that can be interpreted by the printing apparatus 100 (step 320). Thereafter, the control code (PDL) obtained in step 320 is output to the printing apparatus 100 via the spooler 23 and the language monitor 24 (step 330).

そして、制御コード(PDL)を受け取った印刷装置100は、制御コード(PDL)を解釈して、記録材上に画像の印刷を行う。   Upon receiving the control code (PDL), the printing apparatus 100 interprets the control code (PDL) and prints an image on the recording material.

ではここで、図4〜図6も参照しつつ、本実施の形態の印刷データの作成手順について、具体例を挙げながら説明を行う。   Here, with reference to FIGS. 4 to 6 as well, the print data creation procedure of the present embodiment will be described with specific examples.

コード画像最適化モードが設定されている場合(ステップ230においてYES)、イメージオブジェクトに対し、ページ毎に2値化変換が施され、得られた2値化データが一時バッファ225に格納される(ステップ240)。このとき、2値化データにおいては、写真画像61が図5(b)に示したものとなり、コード画像64が図6(b)に示したものとなる。その後、2値化データからコード画像64(図6(b)参照)が抜き出されてオブジェクト化され(ステップ270)、さらに多値化される(ステップ280)。このとき、多値が8ビットで表現される場合、例えば、2値データにおける「0」は多値データにおける「0」に、2値データにおける「1」は多値データにおける「255」に、それぞれ変換される。   When the code image optimization mode is set (YES in step 230), the image object is subjected to binarization conversion for each page, and the obtained binarized data is stored in the temporary buffer 225 ( Step 240). At this time, in the binarized data, the photographic image 61 is as shown in FIG. 5B, and the code image 64 is as shown in FIG. 6B. Thereafter, the code image 64 (see FIG. 6B) is extracted from the binarized data to be converted into an object (step 270) and further multi-valued (step 280). At this time, when the multi-value is expressed by 8 bits, for example, “0” in the binary data is “0” in the multi-value data, “1” in the binary data is “255” in the multi-value data, Each is converted.

また、コード画像最適化オードが設定されている場合(ステップ230においてYES)、コード画像64以外のイメージオブジェクトすなわち写真画像61に対し、ハーフトーン処理が施される(ステップ290)。このとき、得られる写真画像61は、図5(a)に示したものとなる。   If the code image optimization order is set (YES in step 230), halftone processing is performed on image objects other than the code image 64, that is, the photographic image 61 (step 290). At this time, the obtained photographic image 61 is as shown in FIG.

本実施の形態では、その後、多値化処理済みコード画像(図6(b)参照)とハーフトーン処理済みイメージデータ(図5(a)参照)とが合成される(ステップ300)。そして、合成された合成データが制御コード(PDL)に変換され(ステップ320)、印刷装置100へ出力される(ステップ330)。   In the present embodiment, the multi-value processed code image (see FIG. 6B) and the halftone processed image data (see FIG. 5A) are then synthesized (step 300). Then, the synthesized data is converted into a control code (PDL) (step 320) and output to the printing apparatus 100 (step 330).

そして、本実施の形態では、印刷装置100において、送られてきた合成データに基づく印刷が行われる。その結果、用紙上に形成された画像において、写真画像61は図5(a)に示す状態となり、コード画像64は図6(b)に示す状態となる。   In this embodiment, the printing apparatus 100 performs printing based on the sent composite data. As a result, in the image formed on the paper, the photographic image 61 is in the state shown in FIG. 5A, and the code image 64 is in the state shown in FIG.

本実施の形態においても、実施の形態1と同様、コード画像最適化モードが設定されている場合に、文書60においてイメージオブジェクトを構成する写真画像61およびコード画像64に関し、写真画像61にはハーフトーン処理を施すとともに、コード画像64にはハーフトーン処理を施さないようにした。この場合は、印刷により得られる写真画像61が図5(a)に示すものとなり、また、印刷により得られるコード画像64が図6(b)に示すものとなる。このような設定を行うことにより、写真画像61の品質が良好なものとなるとともに、コード画像64についても、その読取精度が良好なものとなる。   Also in the present embodiment, as in the first embodiment, when the code image optimization mode is set, the photographic image 61 and the code image 64 constituting the image object in the document 60 are related to the photographic image 61 in half. While tone processing is performed, the code image 64 is not subjected to halftone processing. In this case, a photographic image 61 obtained by printing is shown in FIG. 5A, and a code image 64 obtained by printing is shown in FIG. 6B. By performing such setting, the quality of the photographic image 61 is improved, and the reading accuracy of the code image 64 is also improved.

また、本実施の形態では、実施の形態1と同様、コード画像64(QRコード)を検索するための一時バッファ225を用意しておき、オブジェクトデータをページ毎に2値化変換した2値化データ(画像イメージ)を一時バッファ225に格納するようにした。そして、一時バッファ225に格納された2値化データに対してコード画像64の検索を行わせるようにした。これにより、多値化されたオブジェクトデータから検索を行う場合と比較して、コード画像64を判別する精度を向上させることができる。   In the present embodiment, as in the first embodiment, a temporary buffer 225 for retrieving a code image 64 (QR code) is prepared, and binarization is performed by binarizing and converting object data for each page. Data (image image) is stored in the temporary buffer 225. Then, the code image 64 is searched for the binarized data stored in the temporary buffer 225. Thereby, compared with the case where it searches from the multivalued object data, the precision which discriminate | determines the code image 64 can be improved.

そして、本実施の形態では、2値化した画像データを多値化した場合に、データサイズは大きくなるが画像の内容自体は変化しないことを利用して、2値化したコード画像64を多値に再変換し、ハーフトーン処理が施された写真画像61と合成し、印刷装置100に出力するようにした。これにより、同じデータ内における多値画像と2値画像との混在を抑制することが可能になる。   In the present embodiment, when the binarized image data is multi-valued, the binarized code image 64 is generated using the fact that the data size increases but the image content itself does not change. The value is reconverted to a value, is combined with the photographic image 61 that has been subjected to the halftone process, and is output to the printing apparatus 100. As a result, it is possible to suppress mixing of multi-valued images and binary images in the same data.

なお、実施の形態1、2では、使用者によりコード画像最適化モードが設定されていることを前提条件として、イメージオブジェクトにおけるコード画像64の判別(検索)を行うようにしていたが、これに限られるものではない。すなわち、常時イメージオブジェクトにおけるコード画像64の判別を行うようにしてもかまわない。   In the first and second embodiments, the code image 64 in the image object is determined (searched) on the assumption that the code image optimization mode is set by the user. It is not limited. That is, the code image 64 in the image object may always be discriminated.

10…ホスト装置、20…コンピュータ装置、21…アプリケーション、22…プリンタドライバ、23…スプーラ、24…言語モニタ、30…入力装置、40…表示装置、60…文書、61…写真画像、62…文字画像、63…図形画像、64…コード画像(QRコード)、100…印刷装置、221…UI処理部、222…イメージ判定部、223…ハーフトーン処理部、224…イメージ変換部、225…一時バッファ DESCRIPTION OF SYMBOLS 10 ... Host device, 20 ... Computer device, 21 ... Application, 22 ... Printer driver, 23 ... Spooler, 24 ... Language monitor, 30 ... Input device, 40 ... Display device, 60 ... Document, 61 ... Photo image, 62 ... Text Image 63 63 Graphic image 64 Code image (QR code) 100 Printing device 221 UI processing unit 222 Image determination unit 223 Halftone processing unit 224 Image conversion unit 225 Temporary buffer

Claims (8)

写真画像とコード画像とを含む画像データを取得する取得手段と、
前記取得手段が取得した前記画像データの前記写真画像および前記コード画像を2値化したデータを記憶する記憶手段と、
前記記憶手段が記憶した前記2値化したデータに含まれる前記コード画像を検出する検出手段と、
前記取得手段が取得した前記画像データの前記写真画像にハーフトーン処理を施す処理手段と、
前記処理手段によりハーフトーン処理された前記写真画像および前記検出手段により検出された前記コード画像を印刷装置に出力させる出力手段と
を含む印刷指示装置。
Acquisition means for acquiring image data including a photographic image and a code image;
Storage means for storing data obtained by binarizing the photographic image and the code image of the image data acquired by the acquisition means;
Detecting means for detecting the code image included in the binarized data stored in the storage means;
Processing means for performing halftone processing on the photographic image of the image data acquired by the acquisition means;
A printing instruction apparatus comprising: the photographic image that has been halftone processed by the processing means; and an output means that causes the printing apparatus to output the code image detected by the detection means.
前記取得手段は、前記写真画像および前記コード画像がともにイメージオブジェクトに設定された前記画像データを取得し、
前記検出手段は、前記画像データにおいて前記イメージオブジェクトに設定されたデータから前記コード画像を検出すること
を特徴とする請求項1記載の印刷指示装置。
The acquisition means acquires the image data in which both the photographic image and the code image are set in an image object,
The print instruction apparatus according to claim 1, wherein the detection unit detects the code image from data set in the image object in the image data.
前記検出手段により検出された前記コード画像を多値化する多値化手段をさらに含み、
前記出力手段は、前記処理手段によりハーフトーン処理された前記写真画像および前記多値化手段により多値化された前記コード画像を前記印刷装置に出力させること
を特徴とする請求項1または2記載の印刷指示装置。
Further comprising multi-value conversion means for multi-value the code image detected by the detection means,
3. The output device causes the printing apparatus to output the photographic image that has been halftoned by the processing unit and the code image that has been multi-valued by the multi-value converting unit. Printing instruction device.
前記出力手段から出力された前記写真画像と前記コード画像とが、前記印刷装置において合成されることを特徴とする請求項1または2記載の印刷指示装置。   3. The print instruction apparatus according to claim 1, wherein the photographic image and the code image output from the output unit are combined in the printing apparatus. 前記出力手段は、前記写真画像と前記コード画像とを合成して前記印刷装置に出力させることを特徴とする請求項1または2記載の印刷指示装置。   The print instruction apparatus according to claim 1, wherein the output unit synthesizes the photographic image and the code image and outputs the combined image to the printing apparatus. 前記出力手段は、前記写真画像と前記コード画像とを合成した後に制御コードに変換することを特徴とする請求項5記載の印刷指示装置。   6. The print instruction apparatus according to claim 5, wherein the output unit converts the photographic image and the code image into a control code after synthesizing the photographic image and the code image. 写真画像とコード画像とを含む画像データを取得する取得手段と、当該取得手段が取得した当該画像データの当該写真画像および当該コード画像を2値化したデータを記憶する記憶手段と、当該記憶手段が記憶した当該2値化したデータに含まれる当該コード画像を検出する検出手段と、当該取得手段が取得した当該画像データの当該写真画像にハーフトーン処理を施す処理手段と、当該処理手段によりハーフトーン処理された当該写真画像および当該検出手段により検出された当該コード画像を印刷データとして印刷装置に出力させる出力手段とを有する印刷指示装置と、
前記印刷指示装置から受け取った前記印刷データを用いて、記録材に画像を印刷する印刷装置と
を備える印刷システム。
Acquisition means for acquiring image data including a photographic image and a code image, storage means for storing the photographic image of the image data acquired by the acquisition means and data obtained by binarizing the code image, and the storage means Detecting means for detecting the code image included in the binarized data stored in the memory, processing means for performing a halftone process on the photographic image of the image data acquired by the acquiring means, and half processing by the processing means A print instruction apparatus having output means for outputting the tone-processed photographic image and the code image detected by the detection means to the printing apparatus as print data;
A printing system comprising: a printing device that prints an image on a recording material using the print data received from the print instruction device.
コンピュータに、
写真画像とコード画像とを含む画像データを取得する機能と、
取得した前記画像データの前記写真画像および前記コード画像を2値化したデータを記憶させる機能と、
記憶した前記2値化したデータに含まれる前記コード画像を検出する機能と、
取得した前記画像データの前記写真画像にハーフトーン処理を施す機能と、
ハーフトーン処理された前記写真画像および検出された前記コード画像を印刷装置に出力させる機能と
を実現させるプログラム。
On the computer,
A function of acquiring image data including a photographic image and a code image;
A function of storing the binarized data of the photograph image and the code image of the acquired image data;
A function of detecting the code image included in the stored binary data;
A function of performing a halftone process on the photographic image of the acquired image data;
A program for realizing a function of causing the printing apparatus to output the photographic image subjected to halftone processing and the detected code image.
JP2015008094A 2015-01-19 2015-01-19 Printing instruction apparatus, printing system, and program Active JP6413783B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2015008094A JP6413783B2 (en) 2015-01-19 2015-01-19 Printing instruction apparatus, printing system, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2015008094A JP6413783B2 (en) 2015-01-19 2015-01-19 Printing instruction apparatus, printing system, and program

Publications (2)

Publication Number Publication Date
JP2016133979A JP2016133979A (en) 2016-07-25
JP6413783B2 true JP6413783B2 (en) 2018-10-31

Family

ID=56437998

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015008094A Active JP6413783B2 (en) 2015-01-19 2015-01-19 Printing instruction apparatus, printing system, and program

Country Status (1)

Country Link
JP (1) JP6413783B2 (en)

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006031427A (en) * 2004-07-16 2006-02-02 Ricoh Co Ltd Printer driver, storage medium and symbol code printing method
JP4796486B2 (en) * 2006-12-28 2011-10-19 株式会社リコー Image processing device

Also Published As

Publication number Publication date
JP2016133979A (en) 2016-07-25

Similar Documents

Publication Publication Date Title
US8590775B2 (en) Image processing apparatus, image processing method, and computer readable storage medium
JP5137759B2 (en) Image processing device
JP5928179B2 (en) Control device
JP4673200B2 (en) Print processing system and print processing method
US20180270387A1 (en) Printing apparatus, server, printing method, and control method
JP5684466B2 (en) Method and computer readable medium for processing at least one pixel in a raster image buffer corresponding to objects of multiple object types
US11223743B2 (en) Image processing system, image processing apparatus, method of controlling the image processing apparatus, and storage medium
KR101945581B1 (en) Image processing apparatus, image processing method, and storage medium
JP6015173B2 (en) PRINT SERVER, PRINT SYSTEM, PRINT PROCESSING METHOD, AND PROGRAM
JP6413783B2 (en) Printing instruction apparatus, printing system, and program
JP6507809B2 (en) Printing instruction device, printing system and program
US20090244559A1 (en) Image rasterizing apparatus and image rasterizing method
JP4706884B2 (en) Image processing apparatus, image processing program, and printing apparatus
US9513852B2 (en) Print instruction device, printing system, non-transitory computer readable medium, and print instruction method for increasing quality of a photographic image and read accuracy of a code image
JP6985943B2 (en) Image processing device and its control method and program
JP6372365B2 (en) Printing instruction apparatus, printing system, and program
JP2011228987A (en) Image processing apparatus and image processing program
US7916351B2 (en) Image processing apparatus and method, printer device, and computer readable recording medium
JP2006191294A (en) Image processor, program and image-processing method
JP2007005949A (en) Image forming apparatus, method and program
JP2006044056A (en) Apparatus, method and program for controlling printing
JP2010245672A (en) Image processing device, printing device, image processing method, and image processing program
JP2008181450A (en) Image processing apparatus, image processing system, and image processing program
JP2012105065A (en) Image processing system and program
JP2016178516A (en) Image processing apparatus, image processing method and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20171214

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20180621

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20180703

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20180821

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20180904

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20180917

R150 Certificate of patent or registration of utility model

Ref document number: 6413783

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350