JP2014197349A - Picture processing device, information processing method, and program - Google Patents

Picture processing device, information processing method, and program Download PDF

Info

Publication number
JP2014197349A
JP2014197349A JP2013073322A JP2013073322A JP2014197349A JP 2014197349 A JP2014197349 A JP 2014197349A JP 2013073322 A JP2013073322 A JP 2013073322A JP 2013073322 A JP2013073322 A JP 2013073322A JP 2014197349 A JP2014197349 A JP 2014197349A
Authority
JP
Japan
Prior art keywords
image
image data
transmission
data
unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2013073322A
Other languages
Japanese (ja)
Inventor
克俊 園木
Katsutoshi Sonoki
克俊 園木
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP2013073322A priority Critical patent/JP2014197349A/en
Publication of JP2014197349A publication Critical patent/JP2014197349A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Editing Of Facsimile Originals (AREA)
  • Record Information Processing For Printing (AREA)
  • Processing Or Creating Images (AREA)
  • Image Generation (AREA)

Abstract

PROBLEM TO BE SOLVED: To efficiently perform drawing processing on a picture including plural mutually-different images.SOLUTION: A picture processing device comprises: determination means for determining whether or not plural pieces of mutually different image data in a picture having the plural pieces of image data are a transmission image, for each drawing unit of the picture; and drawing means for performing transmission processing on image data determined that it is not a transmission image by the determination means, for each drawing unit, so as to combine the plural pieces of image data and draw an output picture, and for omitting the transmission processing on image data determined that it is a transmission image.

Description

本発明は、画像処理装置、情報処理方法及びプログラムに関する。   The present invention relates to an image processing apparatus, an information processing method, and a program.

一般にスキャナ等を用いて紙面上の画像を、後述する高圧縮PDFや高圧縮XPS等の高圧縮データに変換する際に、紙面上の文字データを1つの大きなイメージデータ(以下、単にイメージという)としてタグ登録する方法がある。これは、スキャナが、文字データの1つ1つをイメージとしてタグ登録するとデータサイズが非常に大きくなるためである。また、スキャナは、文字データの色毎にマスクイメージを保持するようにすることで、高圧縮データのサイズを小さくすることができる。これにより、スキャナは、HDD等の記憶領域に多くのデータを保存することができる。また、データの高圧縮化は、スキャナ等からクラウドシステムへサイズの大きなデータを送信する際に、ネットワーク帯域が狭くて送信が遅くなるという問題に対しても有利である。
一方、印刷機で高圧縮データを印刷する際に、印刷時間が長くなるといった問題がある。これは、印刷機が高圧縮データを処理するために透過演算処理(以下、単に透過処理という)や大量のROP(Raster Operation)処理等を行う必要があるためである。そこで、特許文献1の技術は、透過処理を要するデータに対して画像処理を行う場合、透過処理の処理対象であるデータに対して透過処理が必要であるか否かを判定し、必要ないと判定した場合、透過処理を伴わない処理に置き換える。より具体的には、特許文献1の技術は、パターンイメージ、ソースイメージ及びROPコマンド等の情報から構成される置換条件に基づいて前記判定を行い、透過処理が必要ないと判定した場合、透過処理を伴う処理を、透過処理を伴わない処理に置き換える。上記の場合、特許文献1の技術は、ROP処理をROP3からROP2に置き換えている。これにより、特許文献1の技術は、ROP処理の時間を短縮することができる。
Generally, when converting an image on paper using a scanner or the like into high-compression data such as high-compression PDF or high-compression XPS described later, character data on the paper is converted into one large image data (hereinafter simply referred to as an image). There is a method of tag registration. This is because the data size becomes very large when the scanner registers each character data tag as an image. Also, the scanner can reduce the size of the highly compressed data by holding a mask image for each color of character data. As a result, the scanner can store a large amount of data in a storage area such as an HDD. High data compression is also advantageous for the problem of slow transmission due to a narrow network bandwidth when transmitting large data from a scanner or the like to a cloud system.
On the other hand, when printing highly compressed data with a printing machine, there is a problem that the printing time becomes long. This is because the printing press needs to perform transparency calculation processing (hereinafter simply referred to as transparency processing), a large amount of ROP (Raster Operation) processing, and the like in order to process highly compressed data. Therefore, in the technique of Patent Document 1, when image processing is performed on data that requires transparency processing, it is determined whether or not transparency processing is necessary for data that is a processing target of transparency processing. If it is determined, it is replaced with a process that does not involve a transparent process. More specifically, the technique disclosed in Patent Document 1 performs the above determination based on a replacement condition configured from information such as a pattern image, a source image, and an ROP command. Is replaced with a process that does not involve a transparent process. In the above case, the technique of Patent Document 1 replaces the ROP process from ROP3 to ROP2. Thereby, the technique of patent document 1 can shorten the time of a ROP process.

特開2005−182692号公報JP 2005-182692 A

しかしながら、特許文献1の技術は、フォントデータ等のオブジェクト単位で透過処理の置き換えや省略を行っているため、フォントデータ等を1つのマスクイメージとして処理するような高圧縮データには対応することができない。即ち、特許文献1の技術は、高圧縮データを処理する場合には、描画処理に要する時間を短縮することができないといった問題がある。
本発明は、上記課題を鑑みてなされたものであり、互いに重なる複数のイメージを含む画像に対して、効率よく描画処理を行うことができる技術を提供することを目的とする。
However, since the technique of Patent Document 1 replaces or omits transparency processing in units of objects such as font data, it can cope with high-compression data that processes font data or the like as one mask image. Can not. That is, the technique of Patent Document 1 has a problem that when processing highly compressed data, the time required for drawing processing cannot be shortened.
The present invention has been made in view of the above problems, and an object of the present invention is to provide a technique capable of efficiently performing a drawing process on an image including a plurality of images overlapping each other.

そこで、本発明の画像処理装置は、互いに重なる複数のイメージデータを含む画像における前記複数のイメージデータが透過イメージであるか否かを前記画像の描画単位毎に判定する判定手段と、前記判定手段により透過イメージでないと判定されたイメージデータに対しては前記描画単位毎に透過処理を行うことにより前記複数のイメージデータを合成して出力画像を描画し、透過イメージであると判定されたイメージデータに対しては前記透過処理を省略する描画手段と、を有する。   Therefore, the image processing apparatus according to the present invention includes a determination unit that determines, for each drawing unit of the image, whether the plurality of image data in the image including the plurality of image data overlapping each other is a transparent image, and the determination unit The image data determined to be a transparent image is rendered for the image data determined to be a transparent image by combining the plurality of image data by performing a transparent process for each rendering unit. And a drawing means for omitting the transparent process.

本発明によれば、互いに重なる複数のイメージを含む画像に対して、効率よく描画処理を行うことができる。   According to the present invention, it is possible to efficiently perform drawing processing on an image including a plurality of images that overlap each other.

プリンタのハードウェア構成等の一例を示す図である。2 is a diagram illustrating an example of a hardware configuration of a printer. FIG. プリンタコントローラのハードウェア構成の一例を示す図である。2 is a diagram illustrating an example of a hardware configuration of a printer controller. FIG. プリンタのソフトウェア構成等の一例を示す図である。FIG. 3 is a diagram illustrating an example of a software configuration of a printer. レンダリング処理の一例を示す図である。It is a figure which shows an example of a rendering process. 描画オブジェクトの重なりの一例を示す図である。It is a figure which shows an example of the overlap of a drawing object. 画像データ等の一例を示す図である。It is a figure which shows an example of image data etc. 実施形態1における処理の一例を示すフローチャートである。5 is a flowchart illustrating an example of processing in the first embodiment. 疑似透過パターンの一例を示す図である。It is a figure which shows an example of a pseudo transmission pattern. 実施形態2における処理の一例を示すフローチャートである。10 is a flowchart illustrating an example of processing in the second embodiment.

以下、本発明の実施形態について図面に基づき説明する。   Embodiments of the present invention will be described below with reference to the drawings.

<実施形態1>
(プリンタの構成)
図1は、プリンタ(印刷装置)102のハードウェア構成等の一例を示す図である。なお、プリンタ102は、画像処理装置の一例である。
プリンタ102は、プリンタコントローラ103と、プリンタエンジン105と、操作パネル104とを有する。
プリンタコントローラ103は、プリンタ102全体を制御するコントローラである。プリンタコントローラ103は、ホストコンピュータ(以下、ホストという)等の外部機器101からコードデータ(各種ページ記述言語データ(以下、PDLデータという))等を受信する。そして、プリンタコントローラ103は、受信したPDLデータを解析することによってイメージデータ(以下、単にイメージという)を生成し、インターフェースを介してプリンタエンジン105に送信して出力する。
<Embodiment 1>
(Printer configuration)
FIG. 1 is a diagram illustrating an example of a hardware configuration of a printer (printing apparatus) 102. The printer 102 is an example of an image processing apparatus.
The printer 102 includes a printer controller 103, a printer engine 105, and an operation panel 104.
The printer controller 103 is a controller that controls the entire printer 102. The printer controller 103 receives code data (various page description language data (hereinafter referred to as PDL data)) and the like from an external device 101 such as a host computer (hereinafter referred to as a host). The printer controller 103 generates image data (hereinafter simply referred to as an image) by analyzing the received PDL data, and transmits the data to the printer engine 105 via an interface for output.

また、プリンタ102は、スキャナ装置を有していてもよく、スキャナ装置を介して読み取ったデータに基づいて生成したイメージを印刷出力することができる。更に、プリンタ102は、スキャナ装置を介して読み取ったデータから高圧縮データを生成することができ、生成した高圧縮データを印刷出力することができる。プリンタコントローラ103は、印刷対象が高圧縮データの場合、高圧縮データに対してROP処理を伴うレンダリング処理をすることにより展開したイメージを、インターフェースを介してプリンタエンジン105に送信して出力する。なお、プリンタコントローラ103は、外部機器101から高圧縮データを受信して印刷出力する場合においても、同様にROP処理を伴うレンダリング処理をすることにより展開したイメージをプリンタエンジン105に送信して出力する。
ここで、高圧縮データについて説明する。高圧縮データとは、圧縮率と、画質とを両立させるために、データの成分毎に構造化されて圧縮されたデータである。高圧縮データの一例として、高圧縮PDFや高圧縮XPS等がある。例えばPDFやXPS等のような文書の構造を記述することができるフォーマットである場合、プリンタ102は、圧縮率と、画質とを両立させるために文字領域、背景領域及び画像領域のデータを抽出する。そして、プリンタ102は、抽出した各領域のデータを最も適した圧縮方法で圧縮し、更に、それらを合成することで圧縮率と、画質とが両立可能な高圧縮データを生成することができる。
プリンタエンジン105は、電子写真プロセスにより、プリンタコントローラ103から受信したイメージの出力画像を用紙上に形成する。プリンタエンジン105は、各印刷プロセスの処理を行う各機構と、前記各機構を制御するエンジン制御部とを有する。
操作パネル104は、ユーザインターフェースであり、プリンタ102に対してユーザが所望する動作を指示するための入力装置である。
The printer 102 may have a scanner device, and can print out an image generated based on data read via the scanner device. Further, the printer 102 can generate high-compression data from the data read via the scanner device, and can print out the generated high-compression data. When the print target is high-compression data, the printer controller 103 transmits an image developed by performing rendering processing with ROP processing to the high-compression data to the printer engine 105 via the interface and outputs the image. In the case where the printer controller 103 receives high-compression data from the external device 101 and prints it out, the printer controller 103 similarly sends the image developed by performing the rendering process with the ROP process to the printer engine 105 and outputs it. .
Here, the highly compressed data will be described. Highly compressed data is data that is structured and compressed for each data component in order to achieve both compression ratio and image quality. Examples of high-compression data include high-compression PDF and high-compression XPS. For example, in the case of a format that can describe the structure of a document such as PDF or XPS, the printer 102 extracts data of a character area, a background area, and an image area in order to achieve both compression ratio and image quality. . Then, the printer 102 compresses the extracted data of each area by the most suitable compression method, and further synthesizes them, thereby generating high-compression data that can achieve both compression rate and image quality.
The printer engine 105 forms an output image of the image received from the printer controller 103 on a sheet by an electrophotographic process. The printer engine 105 includes mechanisms that perform processing of each printing process, and an engine control unit that controls the mechanisms.
The operation panel 104 is a user interface, and is an input device for instructing the printer 102 of an operation desired by the user.

(プリンタコントローラの構成)
図2は、プリンタコントローラ103のハードウェア構成の一例を示す図である。
プリンタコントローラ103は、CPU202、HDD209、操作パネルI/F201、ホストI/F203、RAM204、ROM205、RIP206、エンジンI/F207及びシステムバス208を有する。
CPU202は、プリンタコントローラ103全体を制御する。CPU202は、ROM205やHDD209等に保存されている制御コードやプログラムをRAM204にロードして実行することにより、RIP206を除くプリンタコントローラ103の機能(ソフトウェア構成)を実現する。CPU202は、操作パネル104を介して受け付けたユーザの指示に応じて各種の制御を行う。また、CPU202は、外部機器101との間で通信されるデータの送受信を制御する。
RAM204は、CPU202が動作するためのシステムワークメモリであり、入力された画像データを一時的に記憶するための画像メモリでもある。
ROM205は、CPU202が実行する制御コードやプログラム等を保存するメモリである。
HDD209は、画像データやPDLデータ等のプリンタ102で扱う各種データや、CPU202が実行するプログラム等を保存するハードディスクドライブである。
(Configuration of printer controller)
FIG. 2 is a diagram illustrating an example of a hardware configuration of the printer controller 103.
The printer controller 103 includes a CPU 202, HDD 209, operation panel I / F 201, host I / F 203, RAM 204, ROM 205, RIP 206, engine I / F 207, and system bus 208.
The CPU 202 controls the entire printer controller 103. The CPU 202 implements the functions (software configuration) of the printer controller 103 excluding the RIP 206 by loading control codes and programs stored in the ROM 205, HDD 209, and the like into the RAM 204 and executing them. The CPU 202 performs various controls in accordance with user instructions received via the operation panel 104. The CPU 202 controls transmission / reception of data communicated with the external device 101.
A RAM 204 is a system work memory for the CPU 202 to operate, and is also an image memory for temporarily storing input image data.
A ROM 205 is a memory that stores control codes, programs, and the like executed by the CPU 202.
The HDD 209 is a hard disk drive that stores various data handled by the printer 102 such as image data and PDL data, a program executed by the CPU 202, and the like.

ホストI/F203は、プリンタコントローラ103と、外部機器101との間で通信制御を行うためのインターフェースである。
エンジンI/F207は、プリンタコントローラ103と、プリンタエンジン105との間で通信制御を行うためのインターフェースである。
ラスタイメージプロセッサ(RIP)206は、ホストI/F203を介してプリンタコントローラ103が受信したPDLデータ等をビットマップデータに展開してHDD209等に保存する。また、RIP206は、HDD209等に保存されている高圧縮データに対してROP処理を伴うレンダリング処理をすることにより展開したビットマップデータをHDD209等に保存する。そして、CPU202は、RIP206により展開されHDD209等に保存されたビットマップデータをエンジンI/F207を介してビデオ信号としてプリンタエンジン105に送信する。なお、RIP206のCPUは、RIPの記憶領域に保存されているプログラムを実行することによりRIP206の機能及び後述のフローチャートにおけるRIP206の処理を実現する。なお、プリンタ102が実行するフローチャートの処理は、情報処理の一例である。
操作パネルI/F201は、プリンタコントローラ103と、操作パネル104との間のインターフェースである。CPU202は、ユーザによる操作パネル104の入力操作に基づく指示を、操作パネルI/F201介して受け付ける。
以上の構成が、システムバス208上に相互に接続されるように配置されている。
The host I / F 203 is an interface for performing communication control between the printer controller 103 and the external device 101.
An engine I / F 207 is an interface for performing communication control between the printer controller 103 and the printer engine 105.
A raster image processor (RIP) 206 develops PDL data received by the printer controller 103 via the host I / F 203 into bitmap data and stores the bitmap data in the HDD 209 or the like. Further, the RIP 206 stores the bitmap data developed by performing the rendering process with the ROP process on the highly compressed data stored in the HDD 209 or the like in the HDD 209 or the like. Then, the CPU 202 transmits the bitmap data developed by the RIP 206 and stored in the HDD 209 or the like to the printer engine 105 via the engine I / F 207 as a video signal. Note that the CPU of the RIP 206 realizes the functions of the RIP 206 and the processing of the RIP 206 in the flowchart described later by executing a program stored in the RIP storage area. Note that the processing of the flowchart executed by the printer 102 is an example of information processing.
An operation panel I / F 201 is an interface between the printer controller 103 and the operation panel 104. The CPU 202 receives an instruction based on an input operation of the operation panel 104 by the user via the operation panel I / F 201.
The above configuration is arranged on the system bus 208 so as to be connected to each other.

(ソフトウェアの構成)
図3は、プリンタ102のソフトウェア構成等の一例を示す図である。
プリンタコントローラ部のCPU202は、HDD209等に保存されているプログラムを実行することにより、プリンタ通信部301、プロトコル制御部302、パネル入出力制御部306及び印刷制御部308の機能を実現する。また、RIP206は、CPUと、プログラム等を保存する記憶領域と、を有している。そして、RIP206のCPUは、RIPの記憶領域に保存されているプログラムを実行することにより、PDLデータ解析部303及びデータ描画部304の機能を実現する。
プリンタ通信部301は、ホストI/F203を介して外部機器101との通信を制御する。また、プリンタ通信部301は、外部機器101から受信したPDLデータや高圧縮データ等をドキュメント記憶部307に保存する。
プロトコル制御部302は、外部との通信を行うためにネットワークプロトコルを解析したり、送信したりする。
PDLデータ解析部303は、ドキュメント記憶部307に保存されたデータを解析し、図4に示される中間データ401に変換する。そして、PDLデータ解析部303は、変換した中間データ401をドキュメント記憶部307に保存する。なお、PDLデータ解析部303は、ドキュメント記憶部307に保存されたPDLデータ等を解析し、描画オブジェクト毎に中間データ401に変換することもできる。ここで、描画オブジェクトとは、例えば文字(テキストオブジェクト)、図形(グラフィックオブジェクト)、写真(イメージオブジェクト)等のデータのことである。
データ描画部304は、図4で後述するスキャンラインレンダリング処理402により、ドキュメント記憶部307に保存されている中間データ401をビットマップデータに描画展開する。データ描画部304は、展開したビットマップデータをページメモリ305に逐次保存する。
(Software configuration)
FIG. 3 is a diagram illustrating an example of the software configuration of the printer 102.
The CPU 202 of the printer controller unit implements the functions of the printer communication unit 301, the protocol control unit 302, the panel input / output control unit 306, and the print control unit 308 by executing programs stored in the HDD 209 and the like. The RIP 206 has a CPU and a storage area for storing programs and the like. The CPU of the RIP 206 implements the functions of the PDL data analysis unit 303 and the data drawing unit 304 by executing a program stored in the RIP storage area.
The printer communication unit 301 controls communication with the external device 101 via the host I / F 203. In addition, the printer communication unit 301 stores PDL data, highly compressed data, and the like received from the external device 101 in the document storage unit 307.
The protocol control unit 302 analyzes and transmits a network protocol in order to communicate with the outside.
The PDL data analysis unit 303 analyzes the data stored in the document storage unit 307 and converts it into intermediate data 401 shown in FIG. The PDL data analysis unit 303 stores the converted intermediate data 401 in the document storage unit 307. Note that the PDL data analysis unit 303 can also analyze the PDL data stored in the document storage unit 307 and convert it into intermediate data 401 for each drawing object. Here, the drawing object refers to data such as characters (text objects), figures (graphic objects), photographs (image objects), and the like.
The data drawing unit 304 draws and develops intermediate data 401 stored in the document storage unit 307 into bitmap data by a scanline rendering process 402 described later with reference to FIG. The data drawing unit 304 sequentially stores the developed bitmap data in the page memory 305.

ページメモリ305は、RAM204やHDD209等により実現されるメモリであり、データ描画部304が展開したビットマップデータを一時的に保持するメモリである。
パネル入出力制御部306は、操作パネルI/F201を介して操作パネル104に対する入出力を制御する。また、パネル入出力制御部306は、ページメモリ305が一時的に保持しているビットマップデータに基づくプレビュー画像を操作パネル104に表示する。
ドキュメント記憶部307は、入力文書の一塊(ジョブ)単位にベクターデータ、中間データ401を包含するデータファイルを記憶する記憶部であり、RAM204やHDD209等によって実現される。
印刷制御部308は、ページメモリ305に保存されているビットマップデータをビデオ信号に変換処理し、エンジンI/F207を介してプリンタエンジン105へ画像転送する。
プリンタエンジン105は、受け取ったビデオ信号を記録紙に永久可視画像形成(出力)するための印刷機構である。
なお、プリンタ通信部301、プロトコル制御部302、PDLデータ解析部303、データ描画部304、パネル入出力制御部306及び印刷制御部308の各機能は、ハードウェアにより実現されるようにしてもよい。
The page memory 305 is a memory realized by the RAM 204, the HDD 209, and the like, and is a memory that temporarily holds the bitmap data developed by the data drawing unit 304.
Panel input / output control unit 306 controls input / output to / from operation panel 104 via operation panel I / F 201. The panel input / output control unit 306 displays a preview image based on the bitmap data temporarily stored in the page memory 305 on the operation panel 104.
The document storage unit 307 is a storage unit that stores a data file including vector data and intermediate data 401 for each block (job) of the input document, and is realized by the RAM 204, the HDD 209, or the like.
The print control unit 308 converts the bitmap data stored in the page memory 305 into a video signal, and transfers the image to the printer engine 105 via the engine I / F 207.
The printer engine 105 is a printing mechanism for forming (outputting) a received video signal on a recording sheet as a permanent visible image.
The functions of the printer communication unit 301, the protocol control unit 302, the PDL data analysis unit 303, the data drawing unit 304, the panel input / output control unit 306, and the print control unit 308 may be realized by hardware. .

(スキャンラインレンダリング処理)
図4は、スキャンラインレンダリング処理402の一例を示す図である。
中間データ401は、PDLデータ解析部303がドキュメント記憶部307に保存されたデータを中間コードに変換したデータである。
スキャンラインレンダリング処理402は、輪郭書き出し処理403、重なり整列処理404、色塗り処理405及び色合成処理406により構成される処理である。
まず、データ描画部304は、中間データ401に含まれる描画オブジェクトから輪郭情報を取得する(輪郭書き出し処理403)。ここで、データ描画部304は、1ピクセル毎(描画単位毎)に1スキャンライン分の輪郭情報を取得する。輪郭情報は、描画オブジェクトの輪郭の開始点位置及び輪郭幅の2つの情報を含んでいる。図5の例は、データ描画部304が取得した描画オブジェクト502及び描画オブジェクト503の輪郭開始及び終了毎の輪郭情報を示している。また、重なり情報504から508までは、データ描画部304が取得した輪郭情報に基づいて分割された領域毎における描画オブジェクトの重なり情報を示している。なお、図5は、描画オブジェクトの重なりの一例を示す図である。
(Scanline rendering process)
FIG. 4 is a diagram illustrating an example of the scanline rendering process 402.
The intermediate data 401 is data obtained by converting data stored in the document storage unit 307 into an intermediate code by the PDL data analysis unit 303.
The scan line rendering process 402 is a process constituted by an outline writing process 403, an overlap alignment process 404, a color painting process 405, and a color composition process 406.
First, the data drawing unit 304 acquires contour information from a drawing object included in the intermediate data 401 (contour writing process 403). Here, the data drawing unit 304 acquires contour information for one scan line for each pixel (for each drawing unit). The contour information includes two pieces of information, that is, the starting point position of the contour of the drawing object and the contour width. The example of FIG. 5 shows the contour information for each of the contour start and end of the rendering object 502 and the rendering object 503 acquired by the data rendering unit 304. In addition, overlap information 504 to 508 indicates overlap information of drawing objects for each region divided based on the outline information acquired by the data drawing unit 304. FIG. 5 is a diagram illustrating an example of overlapping drawing objects.

次に、データ描画部304は、輪郭情報と、描画オブジェクト同士の重なりの上下関係の情報(レベル情報)とに基づいて、紙面に対して描画オブジェクトが正しい順番で並ぶように整列させる(重なり整列処理404)。図5の例では、データ描画部304は、1スキャンラインにおける重なり整列処理404により、分割された領域毎に描画オブジェクトのレベル情報に基づいて重なりを整列させている。また、図5の例では、重なり情報506が示す領域において最も描画オブジェクトの重なりの数が多くなる(レベル数が高くなる)。なお、データ描画部304は、描画データ501の背景のレベル情報をレベル0としている。
次に、データ描画部304は、整列済みの重なり情報に対して、輪郭で区切られる1つ1つの区間に対して色情報を付加する(色塗り処理405)。データ描画部304は、色塗り処理405を1スキャンラインに対して行う。また、データ描画部304は、レベル情報毎の描画オブジェクトの色情報を中間データ401から取得する。データ描画部304は、描画オブジェクト502及び503に示されるように重なり合う描画オブジェクトがある場合、後述の色合成処理406を実行する。
Next, the data drawing unit 304 aligns the drawing objects so that they are arranged in the correct order on the paper surface based on the contour information and the information (level information) of the overlapping relationship between the drawing objects (overlapping alignment). Process 404). In the example of FIG. 5, the data drawing unit 304 aligns the overlap for each divided area based on the level information of the drawing object by the overlap alignment process 404 in one scan line. In the example of FIG. 5, the number of overlapping drawing objects is the largest in the area indicated by the overlapping information 506 (the number of levels is increased). The data drawing unit 304 sets the level information of the background of the drawing data 501 to level 0.
Next, the data drawing unit 304 adds color information to each section divided by the contour with respect to the aligned overlap information (color painting process 405). The data drawing unit 304 performs the color painting process 405 for one scan line. Further, the data drawing unit 304 acquires the color information of the drawing object for each level information from the intermediate data 401. When there are overlapping drawing objects as indicated by the drawing objects 502 and 503, the data drawing unit 304 executes a color composition process 406 described later.

次に、データ描画部304は、色情報が付加された整列済みの重なり情報に基づいて、輪郭で区切られた領域、かつ、前記区切られた領域のうち他の輪郭で区切られた領域と重なっている部分に対して中間データ401に従った重なりルールを適用する。即ち、データ描画部304は、前記重なりルールに基づいて画像データを合成する(色合成処理406)。
ここで、重なりルールの一例として、ROP(Raster OPerator)と、αブレンドとがある。
ROPとは、領域同士が重なっている部分に、前面側と、背面側との色値を表現するbit同士に基づいて論理演算するルールである。重なりルールとしてROPが指定された場合、データ描画部304は、前面側と、背面側との領域を表現する色値の間で論理演算した結果を出力する。
αブレンドとは、輪郭で区切られた領域同士で重なっている部分に対して、前面側と、背面側との色を混ぜて、出力するときの双方の割合比を指定するルールである。
データ描画部304は、色合成処理409において重なりルールを適用し、重なっている領域の前面の領域と、背面の領域との情報に基づいて出力する色を決定する。より具体的には、データ描画部304は、重なり情報505、507に示されるように、レベル0と、レベル1とにおける画像データの合成に関しては色合成無しのため、上位レベルの描画オブジェクトの色情報をビットマップデータ407として描画する。一方、データ描画部304は、重なり情報506に示されるように、レベル2以上の描画オブジェクトが存在する領域においては、前記重なりルールを適用し、レベル1と、レベル2とにおける画像データの色情報に基づく色合成を行う。データ描画部304は、色合成処理406して生成した画像データを、1ピクセル毎の色情報を含むビットマップデータ407として出力する。
Next, the data drawing unit 304 overlaps the area delimited by the outline and the area delimited by the other outline among the delimited areas based on the aligned overlap information to which the color information is added. The overlapping rule according to the intermediate data 401 is applied to the portion that is present. That is, the data drawing unit 304 synthesizes image data based on the overlap rule (color synthesis process 406).
Here, examples of the overlapping rule include ROP (Raster Operator) and α blend.
ROP is a rule for performing a logical operation based on bits representing color values on the front side and the back side in a region where regions overlap. When ROP is designated as the overlapping rule, the data drawing unit 304 outputs a result of logical operation between the color values representing the area on the front side and the back side.
The α blend is a rule that specifies the ratio of both ratios when the colors of the front side and the back side are mixed and output with respect to the overlapping portions of the regions delimited by the outline.
The data drawing unit 304 applies an overlap rule in the color composition process 409 and determines a color to be output based on information on the front area and the back area of the overlapping area. More specifically, as shown in the overlap information 505 and 507, the data drawing unit 304 has no color composition regarding the composition of the image data at the level 0 and the level 1, and therefore the color of the drawing object at the higher level. Information is rendered as bitmap data 407. On the other hand, as shown in the overlap information 506, the data drawing unit 304 applies the overlap rule in an area where drawing objects of level 2 or higher exist, and color information of image data at levels 1 and 2 Color synthesis based on The data drawing unit 304 outputs the image data generated by the color synthesis processing 406 as bitmap data 407 including color information for each pixel.

なお、本実施形態では、データ描画部304が、輪郭書き出し処理403と、重なり整列処理404と、色塗り処理405と、色合成処理406とから構成されるスキャンラインレンダリング処理402を実行するものとした。しかし、スキャンラインレンダリング処理402は、以下の構成により実現されてもよい。
例えば、プリンタ102は、輪郭書き出し処理部と、重なり整列処理部と、色塗り処理部と、合成処理部との4つの専用処理ハードウェアモジュール(以下、単に専用処理モジュールという)を有していてもよい。そして、プリンタ102は、前記4つの専用処理モジュールにより、スキャンラインレンダリング処理402を実現するようにしてもよい。より具体的には、プリンタ102のRIP206が複数のサブCPUを有しており、そのサブCPUを前記4つの専用処理モジュールに割当てる。また、各専用処理モジュールは、FIFOにより接続されている。即ち、各専用処理モジュールは、次の処理を行う専用処理モジュールに対して、FIFOを介して、画像データ(専用命令コマンド)を送信する。
In this embodiment, the data drawing unit 304 executes a scan line rendering process 402 including an outline writing process 403, an overlap alignment process 404, a color painting process 405, and a color composition process 406. did. However, the scanline rendering process 402 may be realized by the following configuration.
For example, the printer 102 has four dedicated processing hardware modules (hereinafter simply referred to as dedicated processing modules), which are an outline writing processing unit, an overlap alignment processing unit, a color painting processing unit, and a composition processing unit. Also good. The printer 102 may realize the scan line rendering process 402 by the four dedicated processing modules. More specifically, the RIP 206 of the printer 102 has a plurality of sub CPUs, and the sub CPUs are assigned to the four dedicated processing modules. Each dedicated processing module is connected by a FIFO. That is, each dedicated processing module transmits image data (dedicated command command) via the FIFO to the dedicated processing module that performs the next processing.

図6は、データ描画部304が色塗り処理405後に出力する画像データ等の一例を示す図である。また、図6は、前記4つの専用処理モジュールによりスキャンラインレンダラを実現した場合に、色塗り処理部から色合成処理部に送信される画像データ等の一例を示す図である。
描画インストラクション551及び描画インストラクション552は、データ描画部304がスキャンラインレンダリング処理402における各処理で扱う画像データである。
描画インストラクション551は、描画オブジェクトの種類553、描画ピクセル数554、レベル数555、ROP種別556及び透過処理のフラグ557の情報で構成される。
描画オブジェクトの種類553は、データ描画部304が色塗り処理405により色情報を付加した文字、図形及び写真といった画像データの属性情報を示す。
描画ピクセル数554は、データ描画部304が輪郭書き出し処理403により取得した輪郭情報に基づく描画オブジェクトの描画領域の情報をピクセル数で示している。
FIG. 6 is a diagram illustrating an example of image data or the like output after the color painting process 405 by the data drawing unit 304. FIG. 6 is a diagram illustrating an example of image data transmitted from the color painting processing unit to the color synthesis processing unit when a scanline renderer is realized by the four dedicated processing modules.
The drawing instruction 551 and the drawing instruction 552 are image data that the data drawing unit 304 handles in each process in the scanline rendering process 402.
The drawing instruction 551 includes information of a drawing object type 553, a drawing pixel number 554, a level number 555, an ROP type 556, and a transparency processing flag 557.
A drawing object type 553 indicates attribute information of image data such as characters, graphics, and photographs to which the data drawing unit 304 added color information by the color painting process 405.
The drawing pixel number 554 indicates the information of the drawing area of the drawing object based on the outline information acquired by the data drawing unit 304 by the outline writing process 403 by the number of pixels.

レベル数555は、データ描画部304が重なり整列処理404により整列させた同じ領域内に存在する描画オブジェクトの数の情報を示す。
ROP種別556は、データ描画部304が色塗り処理405において中間データ401から取得したROP2、ROP3といった重なりルールに関する論理演算の情報を示す。
透過処理のフラグ557は、データ描画部304による色塗り処理405において、同じ領域内の重なりあう描画オブジェクトが透過表現を含むデータ(透過処理を要するデータ)であるか否かを判定するためのフラグ情報(1又は0)である。なお、透過処理のフラグ557は、透過情報の一例である。
描画インストラクション552は、データ描画部304による色塗り処理405において、描画オブジェクトの種類553が示す画像データの属性情報に対応するイメージの先頭アドレス558の情報を示している。本実施形態において、データ描画部304による色合成処理406は、重なりあうイメージ同士が透過処理の処理対象である場合において実行される処理である。そのため、データ描画部304は、描画インストラクション551の描画オブジェクトの種類553が示す画像データの属性情報によっては、画像データの情報を変更してもよい。即ち、前記4つの専用処理モジュールによりスキャンラインレンダラが実現された場合、色塗り処理部は、色合成処理部に送信する画像データを変更してもよい。
The level number 555 indicates information on the number of drawing objects existing in the same area that the data drawing unit 304 has arranged by the overlap alignment processing 404.
The ROP type 556 indicates logical operation information regarding overlap rules such as ROP2 and ROP3 acquired from the intermediate data 401 by the data rendering unit 304 in the color painting process 405.
The transparency processing flag 557 is a flag for determining whether or not drawing objects overlapping in the same region are data including transparency expression (data requiring transparency processing) in the color painting processing 405 by the data rendering unit 304. Information (1 or 0). The transparency processing flag 557 is an example of transparency information.
The drawing instruction 552 indicates information of the start address 558 of the image corresponding to the attribute information of the image data indicated by the drawing object type 553 in the color painting process 405 by the data drawing unit 304. In the present embodiment, the color composition process 406 by the data drawing unit 304 is a process that is executed when images that overlap each other are processing objects of the transparent process. Therefore, the data drawing unit 304 may change the information of the image data depending on the attribute information of the image data indicated by the drawing object type 553 of the drawing instruction 551. That is, when the scan line renderer is realized by the four dedicated processing modules, the color painting processing unit may change the image data transmitted to the color synthesis processing unit.

次に、プリンタ102が高圧縮データを印刷処理する際に、処理時間を改善させることができる描画処理方法について、図7のフローチャートを用いて説明する。
まず、フローチャートの説明の前に、従来技術による高圧縮データの印刷処理において、課題となっている点について簡単に説明する。
プリンタ102のプリンタコントローラ103は、外部機器101からネットワークを介して高圧縮データを受信する。そして、プリンタコントローラ103は、外部機器101から受信した高圧縮データをHDD209へ保存する。なお、プリンタコントローラ103は、プリンタ102のスキャナで読み取られて生成された高圧縮データをHDD209へ保存することもできる。
PDLデータ解析部303は、HDD209の高圧縮データから解析した中間データ401をドキュメント記憶部307に保存する。
データ描画部304は、PDLデータ解析部303で生成された中間データ401に基づいて、スキャンラインレンダリング処理402を実行する。
Next, a drawing processing method capable of improving the processing time when the printer 102 prints highly compressed data will be described with reference to the flowchart of FIG.
First, prior to the description of the flowchart, a brief description will be given of the problems in the high-compression data printing process according to the prior art.
The printer controller 103 of the printer 102 receives highly compressed data from the external device 101 via the network. Then, the printer controller 103 stores the highly compressed data received from the external device 101 in the HDD 209. Note that the printer controller 103 can also store in the HDD 209 highly compressed data generated by being read by the scanner of the printer 102.
The PDL data analysis unit 303 stores the intermediate data 401 analyzed from the highly compressed data of the HDD 209 in the document storage unit 307.
The data drawing unit 304 executes a scan line rendering process 402 based on the intermediate data 401 generated by the PDL data analysis unit 303.

プリンタ102は、高圧縮データの保存にあたり、タグでイメージを登録することでデータ内の情報量を少量に抑えるため、データ内部の文字情報をマスクイメージとして登録している。そのため、プリンタ102は、文字データを1文字毎に登録するのではなく、1枚のイメージ属性のデータである1ビットの画像イメージ情報として登録するので、イメージを描画するときに大量のROP処理を必要とする。また、プリンタ102は、高圧縮データの文字の色情報によってイメージをタグ登録しているため、複数の文字の色毎に同じ領域内で重なるマスクイメージがある。更に、プリンタ102は、透過処理対象のイメージを含む高圧縮データに対して、1ピクセル毎に画像処理を行う必要がある。そのため、プリンタ102は、高圧縮データを処理する際に、透過処理が必要ない領域においても透過処理を伴うROP処理をしていたため、イメージのデータ量によっては大量のROP処理が必要となる。そのため、プリンタ102は、妥当な時間で印刷処理を完了させることができなかった。
そこで、プリンタ102は、図7に示されるフローチャートの処理を実行することにより、高圧縮データの印刷処理における処理時間を改善させることができる。
The printer 102 registers character information in the data as a mask image in order to keep the amount of information in the data small by registering an image with a tag when storing highly compressed data. Therefore, the printer 102 does not register character data for each character, but registers it as 1-bit image image information that is data of one image attribute. Therefore, when the image is drawn, a large amount of ROP processing is performed. I need. In addition, since the printer 102 tag-registers the image based on the character color information of the highly compressed data, there is a mask image that overlaps in the same area for each color of the plurality of characters. Furthermore, the printer 102 needs to perform image processing for each pixel on highly compressed data including an image to be transparently processed. For this reason, when processing high-compressed data, the printer 102 performs ROP processing that involves transparency processing even in an area that does not require transparency processing, so a large amount of ROP processing is required depending on the amount of image data. Therefore, the printer 102 cannot complete the printing process in a reasonable time.
Therefore, the printer 102 can improve the processing time in the printing process of high-compression data by executing the processing of the flowchart shown in FIG.

図7は、実施形態1における処理の一例を示すフローチャートである。
S601において、データ描画部304は、処理対象の高圧縮データを構成する全てのレベルのイメージの合成処理が完了したか否かを判定する。より具体的には、データ描画部304は、先頭アドレス558の情報に基づいて全てのレベルのイメージに対する合成処理が完了したか否かを判定する。S601において、データ描画部304は、全てのレベルのイメージの合成処理が完了したと判定した場合、処理を終了する。一方、データ描画部304は、全てのレベルのイメージの合成処理が完了していないと判定した場合、処理をS602に進める。
S602において、データ描画部304は、処理対象の高圧縮データにおけるROP種別がROP3であり、かつ、イメージ同士の合成であるか否かを判定する。より具体的には、データ描画部304は、描画インストラクション551におけるROP種別556の情報と、描画オブジェクトの種類553の情報とに基づいて、前記判定を行う。ここで、ROP3処理とは、前景イメージに対して透過処理を行うことにより背景領域にROP処理してイメージを描画する処理である。本実施形態は、プリンタ102が透過処理対象のイメージを含む高圧縮データに対して描画処理を行うことを前提としているため、データ描画部304は、S602でROP種別がROP3であるか否かを判定する。S602において、データ描画部304は、ROP3であり、かつ、イメージ同士の合成であると判定した場合、処理をS603に進める。一方、データ描画部304は、ROP3であり、かつ、イメージ同士の合成ではないと判定した場合、処理をS604に進める。
FIG. 7 is a flowchart illustrating an example of processing in the first embodiment.
In step S <b> 601, the data drawing unit 304 determines whether or not the composition processing of all levels of images constituting the high-compression data to be processed has been completed. More specifically, the data drawing unit 304 determines whether or not the synthesis process for all levels of images has been completed based on the information of the head address 558. If the data rendering unit 304 determines in step S601 that the image synthesis processing for all levels has been completed, the processing is terminated. On the other hand, if the data rendering unit 304 determines that the image synthesis processing for all levels has not been completed, the process advances to step S602.
In step S602, the data drawing unit 304 determines whether or not the ROP type in the high-compression data to be processed is ROP3 and the images are combined. More specifically, the data drawing unit 304 performs the determination based on the information on the ROP type 556 and the information on the drawing object type 553 in the drawing instruction 551. Here, the ROP3 process is a process of drawing an image by performing a ROP process on the background area by performing a transparency process on the foreground image. Since this embodiment is based on the premise that the printer 102 performs drawing processing on highly compressed data including an image to be transparently processed, the data drawing unit 304 determines whether or not the ROP type is ROP3 in S602. judge. In step S602, if the data drawing unit 304 determines that the image is ROP3 and is a combination of images, the process advances to step S603. On the other hand, if the data rendering unit 304 determines that it is ROP3 and is not a combination of images, the process advances to step S604.

S603において、データ描画部304は、処理中のイメージが透過であるか否かを1スキャンライン上において1ピクセル毎に判定する。より具体的には、データ描画部304は、描画インストラクション551における透過処理のフラグ557の情報から、1スキャンライン上において1ピクセル毎に処理中のイメージが透過であるか否かを判定する。S603において、データ描画部304は、処理中のイメージが透過であると判定した場合、処理をS605に進める。一方、データ描画部304は、処理中のイメージが透過でないと判定した場合、処理をS604に進める。即ち、データ描画部304は、処理中のイメージが透過であると判定した場合、前記イメージに対するROP3処理を1スキャンライン毎に省略する。ここで、「透過」について説明する。PDLデータ解析部303は、解析したデータの透過度が予め定められた閾値以上の場合、前記データを透過イメージとみなす。一方、PDLデータ解析部303は、解析したデータの透過度が予め定められた閾値以上でない場合、前記データを透過でないイメージとみなす。そして、データ描画部304は、PDLデータ解析部303による判定結果に基づく透過処理のフラグ557の情報から処理中のイメージが透過であるか否かを判定する。
S604において、データ描画部304は、通常のROP処理を実行する。即ち、データ描画部304は、1ピクセル単位でROP処理を実行し、処理をS605に進める。
S605において、データ描画部304は、次のレベルのイメージに対して同様の処理を行うために、処理をS601に戻す。
以上のように、データ描画部304は、図7のフローチャートに示される処理を実行することにより、高圧縮データを構成する各レベルのイメージに対するROP処理を省略することができるか否かを判定する。そして、データ描画部304は、前記判定の結果に基づいてROP処理を1スキャンライン毎に省略することにより、高圧縮データに対する描画処理の処理時間を改善させることができる。また、図7のフローチャートに示される処理は、高圧縮データの描画処理に限らず、透過処理対象のマスクイメージを含む画像に対しても有効である。
In step S <b> 603, the data drawing unit 304 determines whether or not the image being processed is transparent for each pixel on one scan line. More specifically, the data drawing unit 304 determines whether or not the image being processed is transparent for each pixel on one scan line, based on the information of the transmission processing flag 557 in the drawing instruction 551. If the data rendering unit 304 determines in step S603 that the image being processed is transparent, the process advances to step S605. On the other hand, if the data rendering unit 304 determines that the image being processed is not transparent, the process advances to step S604. That is, when the data drawing unit 304 determines that the image being processed is transparent, the data drawing unit 304 omits ROP3 processing for the image for each scan line. Here, “transmission” will be described. The PDL data analysis unit 303 regards the data as a transmission image when the transparency of the analyzed data is equal to or greater than a predetermined threshold. On the other hand, if the transparency of the analyzed data is not equal to or greater than a predetermined threshold, the PDL data analysis unit 303 regards the data as a non-transparent image. Then, the data drawing unit 304 determines whether or not the image being processed is transparent from the information of the transmission processing flag 557 based on the determination result by the PDL data analysis unit 303.
In step S604, the data drawing unit 304 executes normal ROP processing. That is, the data drawing unit 304 executes ROP processing in units of one pixel, and advances the processing to S605.
In step S605, the data drawing unit 304 returns the processing to step S601 in order to perform the same processing on the next level image.
As described above, the data drawing unit 304 determines whether or not the ROP process for each level image constituting the highly compressed data can be omitted by executing the process shown in the flowchart of FIG. . The data drawing unit 304 can improve the processing time of the drawing process for the highly compressed data by omitting the ROP process for each scan line based on the determination result. Further, the processing shown in the flowchart of FIG. 7 is not limited to drawing processing of high-compression data, but is also effective for an image including a mask image to be transparently processed.

<実施形態2>
例えば図8に示されるように疑似透過(例えば網目状のパターン)のイメージのように、1ピクセル毎にパターンが異なるイメージがある。
図8は、疑似透過パターンのイメージ(疑似透過イメージ)の一例を示す図である。
このようなイメージの場合、データ描画部304は、1ピクセル毎にイメージを読み込んで透過処理を省略することができるか否かを判定するようにすると、妥当な時間で処理を完了させることができない。そこで、データ描画部304は、予め定められた数のピクセル分のイメージを抽出することによって、透過処理を省略できるか否かを判定する。
本実施形態では、データ描画部304の処理対象のイメージが疑似透過のパターン(ここでは、網目状のパターンとする)である場合の処理について説明する。
図9は、本実施形態の処理の一例を示すフローチャートである。
S701において、データ描画部304は、処理対象のイメージから先頭の32ピクセル分のイメージを抽出する。ここでは、データ描画部304が先頭から連続する32ピクセル分のイメージを抽出するようにしたが、ピクセルの数はこれに限る必要はない。また、データ描画部304は、必ずしもイメージの先頭から抽出処理を行う必要はない。即ち、データ描画部304は、処理対象のイメージから、予め定められた数のピクセル分(描画単位数分)のイメージを並び順に連続して抽出する。
<Embodiment 2>
For example, as shown in FIG. 8, there is an image having a different pattern for each pixel, such as an image of pseudo-transmission (for example, a mesh pattern).
FIG. 8 is a diagram illustrating an example of a pseudo-transparent pattern image (pseudo-transparent image).
In the case of such an image, if the data drawing unit 304 reads an image for each pixel and determines whether or not the transparency process can be omitted, the process cannot be completed in a reasonable time. . Therefore, the data drawing unit 304 determines whether or not the transparency process can be omitted by extracting an image for a predetermined number of pixels.
In the present embodiment, a process when the image to be processed by the data drawing unit 304 is a pseudo-transparent pattern (here, a mesh pattern) will be described.
FIG. 9 is a flowchart illustrating an example of processing according to the present embodiment.
In step S <b> 701, the data drawing unit 304 extracts an image for the first 32 pixels from the processing target image. Here, the data drawing unit 304 extracts an image of 32 pixels continuous from the top, but the number of pixels is not limited to this. Further, the data drawing unit 304 does not necessarily have to perform extraction processing from the top of the image. That is, the data drawing unit 304 continuously extracts images for a predetermined number of pixels (for the number of drawing units) from the processing target image in the arrangement order.

S702において、データ描画部304は、処理対象のイメージが疑似透過のパターン(ここでは、網目状のパターンとする)であるか否かを判定する。S702において、データ描画部304は、処理対象のイメージが疑似透過のパターンであると判定した場合、処理をS704に進める。一方、データ描画部304は、処理対象のイメージが疑似透過のパターンでないと判定した場合、処理をS703に進める。ここで、疑似透過のパターン情報は、0101の交互の数値となるため、疑似透過のパターンを有するイメージの情報は、0x555555555又は0xaaaaaaaaの何れかの値となる。データ描画部304は、上記の情報に基づいて疑似透過パターンであるか否かを判定する。これにより、データ描画部304は、1ピクセル毎に上記の判定を行う必要がなくなるため、描画処理の処理時間を改善させることができる。また、疑似透過パターンであるか否かの判定方法は上記の方法に限る必要はなく、その他の方法を用いてもよい。例えば、データ描画部304は、描画インストラクション551に付加された情報に基づいて疑似透過パターンであるか否かを判定するようにしてもよい。なお、S702の処理は、透過判定処理の一例である。
S704において、データ描画部304は、ROP3処理を省略しない通常のROP処理を行う。
S703において、データ描画部304は、実施形態1で説明した図7のフローチャートに示される処理を実行する。
以上のように、データ描画部304は、処理対象のイメージから予め定められた数のピクセル分のイメージを並び順に抽出することによって、疑似透過のパターンを有するイメージであるか否かを判定する。これにより、データ描画部304は、処理対象のイメージが疑似透過のパターンを有するイメージである場合、1ピクセル毎に透過処理の省略判定を行わずにすむため、描画処理の処理時間を改善させることができる。
In step S <b> 702, the data drawing unit 304 determines whether the processing target image is a pseudo-transparent pattern (here, a mesh pattern). If the data drawing unit 304 determines in step S702 that the image to be processed is a pseudo-transparent pattern, the process advances to step S704. On the other hand, if the data rendering unit 304 determines that the image to be processed is not a pseudo-transparent pattern, the process advances to step S703. Here, since the pseudo-transparent pattern information is an alternating numerical value of 0101, the information of the image having the pseudo-transparent pattern is either 0x555555555 or 0xaaaaaaaaa. The data drawing unit 304 determines whether or not the pseudo rendering pattern is based on the above information. As a result, the data drawing unit 304 does not need to make the above determination for each pixel, so that the processing time of the drawing process can be improved. Moreover, the determination method of whether it is a pseudo-transmission pattern does not need to be restricted to said method, You may use another method. For example, the data drawing unit 304 may determine whether the pattern is a pseudo-transparent pattern based on information added to the drawing instruction 551. Note that the process of S702 is an example of a transmission determination process.
In step S704, the data drawing unit 304 performs normal ROP processing that does not omit ROP3 processing.
In step S <b> 703, the data drawing unit 304 executes the process shown in the flowchart of FIG. 7 described in the first embodiment.
As described above, the data drawing unit 304 determines whether or not the image has a pseudo-transparent pattern by extracting images of a predetermined number of pixels from the processing target image in order. As a result, when the image to be processed is an image having a pseudo-transparent pattern, the data drawing unit 304 does not have to perform the omission determination of the transmission process for each pixel, so that the processing time of the drawing process is improved. Can do.

<その他の実施形態>
また、本実施形態は、以下の処理を実行することによっても実現される。即ち、上述した実施形態の機能を実現するソフトウェア(プログラム)を、ネットワーク又は各種記憶媒体を介してシステム或いは装置に供給し、そのシステム或いは装置のコンピュータ(又はCPUやMPU等)がプログラムを読み出して実行する処理である。
<Other embodiments>
Moreover, this embodiment is implement | achieved also by performing the following processes. That is, software (program) that realizes the functions of the above-described embodiments is supplied to a system or apparatus via a network or various storage media, and a computer (or CPU, MPU, etc.) of the system or apparatus reads the program. It is a process to be executed.

以上、上述した各実施形態によれば、プリンタ102は、互いに重なる複数のイメージを含む高圧縮データに対して、効率よく描画処理を行うことができる。   As described above, according to each of the embodiments described above, the printer 102 can efficiently perform drawing processing on highly compressed data including a plurality of images that overlap each other.

以上、本発明の好ましい形態について詳述したが、本実施形態は係る特定の実施形態に限定されるものではなく、特許請求の範囲に記載された本発明の要旨の範囲内において、種々の変形・変更が可能である。   The preferred embodiment of the present invention has been described in detail above, but the present embodiment is not limited to the specific embodiment, and various modifications can be made within the scope of the gist of the present invention described in the claims.・ Change is possible.

Claims (13)

互いに重なる複数のイメージデータを含む画像における前記複数のイメージデータが透過イメージであるか否かを前記画像の描画単位毎に判定する判定手段と、
前記判定手段により透過イメージでないと判定されたイメージデータに対しては前記描画単位毎に透過処理を行うことにより前記複数のイメージデータを合成して出力画像を描画し、透過イメージであると判定されたイメージデータに対しては前記透過処理を省略する描画手段と、
を有する画像処理装置。
Determining means for determining, for each drawing unit of the image, whether or not the plurality of image data in an image including a plurality of image data overlapping each other is a transparent image;
The image data determined to be a non-transparent image by the determining means is subjected to a transparent process for each drawing unit, and the output image is drawn by combining the plurality of image data, and is determined to be a transparent image. Rendering means for omitting the transparency processing for the obtained image data;
An image processing apparatus.
前記複数のイメージデータから、前記描画単位毎に透過情報を取得する取得手段を更に有し、
前記判定手段は、前記取得手段により取得された透過情報に基づいて、前記複数のイメージデータが透過イメージであるか否かを前記描画単位毎に判定する請求項1記載の画像処理装置。
An acquisition unit that acquires transmission information for each drawing unit from the plurality of image data;
The image processing apparatus according to claim 1, wherein the determination unit determines, for each drawing unit, whether the plurality of image data are transmission images based on the transmission information acquired by the acquisition unit.
前記判定手段は、前記複数のイメージデータの透過度が予め定められた閾値以上であるか否かを示す前記透過情報に基づいて、前記複数のイメージデータが透過イメージであるか否かを前記描画単位毎に判定する請求項2記載の画像処理装置。   The determination means determines whether the plurality of image data are transmission images based on the transmission information indicating whether the transmission of the plurality of image data is equal to or higher than a predetermined threshold value. The image processing apparatus according to claim 2, wherein determination is made for each unit. 前記判定手段は、スキャンライン上のイメージデータが全て透過イメージであるか否かを前記描画単位毎に判定し、
前記描画手段は、前記判定手段によりスキャンライン上のイメージデータが全て透過イメージであると判定されたスキャンライン毎に前記透過処理を省略する請求項1乃至3何れか1項記載の画像処理装置。
The determination unit determines whether or not all image data on a scan line is a transmission image for each drawing unit,
4. The image processing apparatus according to claim 1, wherein the drawing unit omits the transmission processing for each scan line in which the determination unit determines that all image data on the scan line is a transmission image. 5.
前記複数のイメージデータから、予め定められた数の描画単位数分の透過情報を抽出する抽出手段と、
前記抽出手段により抽出された透過情報に基づいて、前記複数のイメージデータが疑似透過イメージであるか否かを判定する透過判定手段と、
を更に有し、
前記描画手段は、前記透過判定手段により疑似透過イメージであると判定されたイメージデータに対して前記透過処理を前記描画単位毎に行うことで前記出力画像を描画する請求項1記載の画像処理装置。
Extraction means for extracting transmission information for a predetermined number of drawing units from the plurality of image data;
Based on the transmission information extracted by the extraction unit, a transmission determination unit that determines whether or not the plurality of image data are pseudo transmission images;
Further comprising
The image processing apparatus according to claim 1, wherein the rendering unit renders the output image by performing the transparency process for each rendering unit on the image data determined to be a pseudo-transparent image by the transparency determining unit. .
前記判定手段は、前記透過判定手段により疑似透過イメージでないと判定されたイメージデータが透過イメージであるか否かを前記描画単位毎に判定する請求項5記載の画像処理装置。   The image processing apparatus according to claim 5, wherein the determination unit determines, for each drawing unit, whether the image data determined to be a pseudo-transparent image by the transmission determination unit is a transmission image. 前記透過判定手段は、前記透過情報に基づいて、透過のイメージと、透過でないイメージとが描画単位毎に交互に並ぶ場合、前記イメージデータを疑似透過イメージと判定する請求項5又は6記載の画像処理装置。   The image according to claim 5 or 6, wherein the transmission determination unit determines that the image data is a pseudo transmission image when a transmission image and a non-transmission image are alternately arranged for each drawing unit based on the transmission information. Processing equipment. 前記透過判定手段により疑似透過イメージでないと判定されたイメージデータから、前記描画単位毎に透過情報を取得する取得手段を更に有し、
前記判定手段は、前記取得手段により取得された透過情報に基づいて、前記イメージデータが透過イメージであるか否かを前記描画単位毎に判定する請求項6又は7記載の画像処理装置。
From the image data determined not to be a pseudo-transparent image by the transmission determination means, further comprising an acquisition means for acquiring transmission information for each drawing unit,
The image processing apparatus according to claim 6, wherein the determination unit determines, for each drawing unit, whether the image data is a transmission image based on the transmission information acquired by the acquisition unit.
前記判定手段は、前記疑似透過イメージでないと判定されたイメージデータの透過度が予め定められた閾値以上であるか否かを示す前記透過情報に基づいて、前記イメージデータが透過イメージであるか否かを前記描画単位毎に判定する請求項8記載の画像処理装置。   The determination means determines whether the image data is a transmission image based on the transmission information indicating whether the transparency of the image data determined not to be the pseudo-transmission image is equal to or higher than a predetermined threshold. The image processing apparatus according to claim 8, wherein the determination is made for each drawing unit. 前記判定手段は、スキャンライン上の前記疑似透過イメージでないと判定されたイメージデータが全て透過イメージであるか否かを前記描画単位毎に判定し、
前記描画手段は、前記判定手段によりスキャンライン上のイメージデータが全て透過イメージであると判定されたスキャンライン毎に前記透過処理を省略する請求項6乃至9何れか1項記載の画像処理装置。
The determination means determines, for each drawing unit, whether or not all the image data determined to be not the pseudo-transparent image on the scan line is a transmission image,
10. The image processing apparatus according to claim 6, wherein the drawing unit omits the transmission processing for each scan line in which the determination unit determines that all image data on the scan line is a transmission image.
前記複数のイメージデータを透過処理により合成する処理は、ROP処理である請求項1乃至10何れか1項記載の画像処理装置。   The image processing apparatus according to claim 1, wherein the process of combining the plurality of image data by a transparent process is an ROP process. 画像処理装置が実行する情報処理方法であって、
互いに重なる複数のイメージデータを含む画像における前記複数のイメージデータが透過イメージであるか否かを前記画像の描画単位毎に判定する判定ステップと、
前記判定ステップにより透過イメージでないと判定されたイメージデータに対しては前記描画単位毎に透過処理を行うことにより前記複数のイメージデータを合成して出力画像を描画し、透過イメージであると判定されたイメージデータに対しては前記透過処理を省略する描画ステップと、
を含む情報処理方法。
An information processing method executed by an image processing apparatus,
A determination step of determining, for each drawing unit of the image, whether or not the plurality of image data in an image including a plurality of image data overlapping each other is a transparent image;
The image data determined to be a non-transparent image by the determination step is subjected to a transparent process for each drawing unit, and the output image is drawn by combining the plurality of image data, and is determined to be a transparent image. A drawing step for omitting the transparency processing for the obtained image data;
An information processing method including:
コンピュータに、
互いに重なる複数のイメージデータを含む画像における前記複数のイメージデータが透過イメージであるか否かを前記画像の描画単位毎に判定する判定ステップと、
前記判定ステップにより透過イメージでないと判定されたイメージデータに対しては前記描画単位毎に透過処理を行うことにより前記複数のイメージデータを合成して出力画像を描画し、透過イメージであると判定されたイメージデータに対しては前記透過処理を省略する描画ステップと、
を実行させるためのプログラム。
On the computer,
A determination step of determining, for each drawing unit of the image, whether or not the plurality of image data in an image including a plurality of image data overlapping each other is a transparent image;
The image data determined to be a non-transparent image by the determination step is subjected to a transparent process for each drawing unit, and the output image is drawn by combining the plurality of image data, and is determined to be a transparent image. A drawing step for omitting the transparency processing for the obtained image data;
A program for running
JP2013073322A 2013-03-29 2013-03-29 Picture processing device, information processing method, and program Pending JP2014197349A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013073322A JP2014197349A (en) 2013-03-29 2013-03-29 Picture processing device, information processing method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013073322A JP2014197349A (en) 2013-03-29 2013-03-29 Picture processing device, information processing method, and program

Publications (1)

Publication Number Publication Date
JP2014197349A true JP2014197349A (en) 2014-10-16

Family

ID=52358071

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013073322A Pending JP2014197349A (en) 2013-03-29 2013-03-29 Picture processing device, information processing method, and program

Country Status (1)

Country Link
JP (1) JP2014197349A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017103563A (en) * 2015-11-30 2017-06-08 キヤノン株式会社 Image processing apparatus and image processing method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017103563A (en) * 2015-11-30 2017-06-08 キヤノン株式会社 Image processing apparatus and image processing method

Similar Documents

Publication Publication Date Title
JP5643574B2 (en) Image processing apparatus and image processing method
JP5531531B2 (en) Image processing system and image processing program
JP2018147259A (en) Information processing device, program, storage medium, and information processing method
JP2007272784A (en) Image processing apparatus and its method
US20150077773A1 (en) Image forming method, non-transitory computer readable storage medium stored with program for image forming system, and image forming system
JP2015188212A (en) Print data processing apparatus and program
JP2012200955A (en) Image processing system
JP2014117861A (en) Image formation apparatus and image formation apparatus control method
JP6120824B2 (en) Image processing apparatus, image processing method, and program
JP6904717B2 (en) Image processing equipment, its control method, and programs
JP2013126178A (en) Image processor and control program of the same
JP2014197349A (en) Picture processing device, information processing method, and program
US9336468B2 (en) Image forming apparatus, image forming method, and medium
US10579316B2 (en) Image processing apparatus that performs rendering processing, method of rendering processing, and storage medium
US20150261486A1 (en) Image processing apparatus and image processing method
JP5171973B2 (en) Information processing apparatus and control method thereof
JP2017097463A (en) Print control system, print control device, and program
JP6755644B2 (en) Character processing device, character processing method, character processing program
JP6492895B2 (en) Print data processing apparatus and program
JP2013122661A (en) Image processing device, image processing method and program
JP7150487B2 (en) Information processing device, information processing method, and program
US10755150B2 (en) Image processing apparatus that performs pixel synthesis processing and image processing method
JP2013148969A (en) Image processing device and image processing method
JP2009066926A (en) Image processing device and image forming system
JP5202265B2 (en) Image processing apparatus, program, and control method for image processing apparatus