JP4840604B2 - Image processing apparatus, image processing method, and program - Google Patents
Image processing apparatus, image processing method, and program Download PDFInfo
- Publication number
- JP4840604B2 JP4840604B2 JP2007275929A JP2007275929A JP4840604B2 JP 4840604 B2 JP4840604 B2 JP 4840604B2 JP 2007275929 A JP2007275929 A JP 2007275929A JP 2007275929 A JP2007275929 A JP 2007275929A JP 4840604 B2 JP4840604 B2 JP 4840604B2
- Authority
- JP
- Japan
- Prior art keywords
- image
- data
- overlay
- data storage
- overlay image
- 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
Links
Images
Abstract
Description
本発明は、オーバーレイ画像を重ねて出力画像を描画する画像処理装置に関する。 The present invention relates to an image processing apparatus that draws an output image by overlaying overlay images.
この種の画像処理装置は、予め描画されたオーバーレイ画像を記憶しておき、印刷データを受信すると、記憶されているオーバーレイ画像を用いて出力画像を生成する。したがって、オーバーレイ画像の描画処理が省略されるので、出力画像は、より高速に生成される。 This type of image processing apparatus stores an overlay image drawn in advance and generates an output image using the stored overlay image when print data is received. Accordingly, since the overlay image drawing process is omitted, the output image is generated at a higher speed.
特許文献1では、オーバーレイデータをページ用ビットマップに直接描画する第1描画処理と、オーバーレイ用ビットマップに展開した上でページ用ビットマップにコピーする第2描画処理とを条件によって切り替えて印刷データを描画する手法が開示されている。
In
しかしながら、特許文献1に開示された手法では、記憶されているオーバーレイ画像を用いて生成される出力画像と、このオーバーレイ画像を用いずに生成される出力画像とが異なってしまうことがある。
However, in the technique disclosed in
本発明は、オーバーレイ画像が再描画される必要がある場合においても、正常な印刷結果を得た上で、全てのオーバーレイ画像を描画する場合ほど性能が劣化することを防ぐことができる画像処理装置を提供することを目的とする。 The present invention is an image processing apparatus capable of preventing deterioration in performance as in the case of drawing all overlay images after obtaining a normal printing result even when the overlay image needs to be redrawn. The purpose is to provide.
上記目的を達成するために、本発明に係る画像処理装置は、オーバーレイ画像が描画される過程で生成された中間データを記憶する中間データ記憶手段と、オーバーレイ画像を出力画像に展開する指示が受け付けられた場合、前記中間データ記憶手段に記憶されている中間データに基づいて出力画像を描画する描画手段とを有する。本発明によれば、オーバーレイ画像が再描画される必要がある場合においても、正常な印刷結果を得た上で、全てのオーバーレイ画像を描画する場合ほど性能が劣化することを防ぐことができる。 In order to achieve the above object, an image processing apparatus according to the present invention receives intermediate data storage means for storing intermediate data generated in the process of drawing an overlay image, and an instruction for developing the overlay image into an output image. And a drawing unit for drawing an output image based on the intermediate data stored in the intermediate data storage unit. According to the present invention, even when the overlay image needs to be redrawn, it is possible to prevent the performance from being deteriorated as much as when all the overlay images are drawn after obtaining a normal printing result.
好適には、前記中間データ記憶手段は、オーバーレイ画像が描画される過程で生成されたイメージデータを記憶する。本発明によれば、イメージデータに対して、圧縮解凍、回転、サイズ変換、解像度変換等の処理を施す必要がある場合においても、性能の劣化を、さらに防ぐことができる。 Preferably, the intermediate data storage means stores image data generated in the process of drawing an overlay image. According to the present invention, even when it is necessary to perform processing such as compression / decompression, rotation, size conversion, and resolution conversion on image data, it is possible to further prevent performance degradation.
好適には、前記中間データ記憶手段は、オーバーレイ画像が描画される過程で生成された、当該オーバーレイ画像の部分画像データを記憶する。本発明によれば、画像部分毎に記憶されている複数の部分画像データが部分的なオーバーレイ画像として使用される機会が増加するので、性能の劣化を、さらに防ぐことができる。 Preferably, the intermediate data storage means stores partial image data of the overlay image generated in the process of drawing the overlay image. According to the present invention, the chance that a plurality of partial image data stored for each image portion is used as a partial overlay image is increased, so that deterioration in performance can be further prevented.
本発明に係る画像処理方法は、オーバーレイ画像が描画される過程で生成された中間データを記憶する中間データ記憶手段を有する画像処理装置において、オーバーレイ画像を出力画像に展開する指示を受け付け、前記受け付けられた指示に対応するオーバーレイ画像が描画される過程で生成され、前記中間データ記憶手段に記憶されている中間データに基づいて出力画像を描画する。 An image processing method according to the present invention receives an instruction to expand an overlay image into an output image in an image processing apparatus having intermediate data storage means for storing intermediate data generated in the process of drawing the overlay image, and The output image is drawn based on the intermediate data generated in the process of drawing the overlay image corresponding to the given instruction and stored in the intermediate data storage means.
また、本発明に係るプログラムは、コンピュータと、オーバーレイ画像が描画される過程で生成された中間データを記憶する中間データ記憶手段とを有する画像処理装置において、オーバーレイ画像を出力画像に展開する指示を受け付ける受付ステップと、前記受け付けられた指示に対応するオーバーレイ画像が描画される過程で生成され、前記中間データ記憶手段に記憶されている中間データに基づいて出力画像を描画する描画ステップとを前記画像処理装置のコンピュータに実行させる。 The program according to the present invention provides an instruction to develop an overlay image into an output image in an image processing apparatus having a computer and intermediate data storage means for storing intermediate data generated in the process of drawing the overlay image. A receiving step for receiving, and a drawing step for drawing an output image based on the intermediate data generated in the process of drawing an overlay image corresponding to the received instruction and stored in the intermediate data storage means. The computer of the processor is executed.
本発明に係る画像処理装置によれば、オーバーレイ画像が再描画される必要がある場合においても、正常な印刷結果を得た上で、全てのオーバーレイ画像を描画する場合ほど性能が劣化することを防ぐことができる。 According to the image processing apparatus according to the present invention, even when the overlay image needs to be redrawn, the performance is deteriorated as when all the overlay images are drawn after obtaining a normal print result. Can be prevented.
まず、本発明の背景を説明する。
画像処理装置は、まず、オーバーレイ画像を描画し、次に、可変のページデータを描画して、出力画像を生成することが多い。画像処理装置は、ページ内で複数のオーバーレイ画像を用いることもあるし、ページデータを描画した後にこのページデータに対応するオーバーレイ画像を用いることもある。したがって、可変のページデータとオーバーレイ画像とが、又はオーバーレイ画像同士が重なることがある。
First, the background of the present invention will be described.
In many cases, an image processing apparatus first draws an overlay image and then draws variable page data to generate an output image. The image processing apparatus may use a plurality of overlay images in a page, or may use an overlay image corresponding to the page data after drawing the page data. Therefore, variable page data and overlay images, or overlay images may overlap.
図1は、記憶されているオーバーレイ画像と、可変のページデータに基づくページ画像とを用いて生成された出力結果を例示する図である。
図1(A)は、1ページ分の出力画像を生成するために用いられるオーバーレイ画像1〜4及びページ画像を例示する図である。図1(A)に示すように、オーバーレイ画像1は、ハッチングされた下地画像であり、オーバーレイ画像2は、表の罫線画像であり、オーバーレイ画像3,4は、広告画像である。ここで、オーバーレイ画像2の枠内は、白指定がされていない画像領域であり、オーバーレイ画像3は、白指定がされている画像であり、オーバーレイ画像4は、所定の色で描画された画像である。ページ画像は、可変のページデータに基づいて描画される画像である。
FIG. 1 is a diagram illustrating an output result generated using a stored overlay image and a page image based on variable page data.
FIG. 1A is a diagram illustrating
出力画像には、オーバーレイ画像1が最初に重ねて合成され、ページ画像が次に重ねて描画される。ページ画像が描画された後、さらに、オーバーレイ画像2〜4が、順不同で重ねて合成される。
図1(B)〜図1(D)は、生成された出力結果1〜3を示す。図1(B)に示される出力結果1は、正しい出力結果である。図1(B)に示すように、オーバーレイ画像2の枠内には数値等の文字情報が描画され、オーバーレイ画像3,4は、正しい色で描画されている。
1B to 1D show the generated
図1(C)に示される出力結果2は、オーバーレイ画像1〜4が上書き貼り付け方式で重ねて合成された出力結果を示す。図1(C)に示すように、出力結果2では、オーバーレイ画像2が上書きで重ねられたことにより、ページ画像に含まれる文字情報が消えている。このように、オーバーレイ画像が上書きで重ねられる場合、上書きされた領域に存在した情報は消えてしまう。
The
図1(D)に示される出力結果3は、オーバーレイ画像1〜4が透過貼り付け方式で重ねて合成された出力結果を示す。図1(D)に示すように、出力結果3では、オーバーレイ画像3,4が透かして重ねられたことにより、オーバーレイ画像3の画像領域では、背景色が白抜き部分にかぶっており、オーバーレイ画像4の画像領域では、背景色により広告画像の色が変わっている。このように、オーバーレイ画像が透かして重ねられる場合、重ねられた領域に存在した情報が消えることはない一方、背景色とオーバーレイ画像の色とが混合してしまう。
以下、本発明の実施形態に係る画像処理装置を説明する。
An
Hereinafter, an image processing apparatus according to an embodiment of the present invention will be described.
図2は、本発明の実施形態に係る画像処理装置12を含む画像形成装置10のハードウェア構成を示す図である。
図2に示すように、画像形成装置10は、画像処理装置12と、この画像処理装置12により生成された画像を印刷する印刷部28とを有する。画像処理装置12は、CPU14、メモリ16、ハードディスク駆動装置等の記憶装置18、ユーザインタフェース(UI)装置20、通信インタフェース(IF)22及び印刷IF24を有する。これらの構成要素は、バス26を介して接続されている。
FIG. 2 is a diagram illustrating a hardware configuration of the
As illustrated in FIG. 2, the
UI装置20は、例えば、液晶ディスプレイ、LED(Light Emitting Diode)等の表示装置と、キーボード、マウス等の入力装置とを含む。UI装置20は、タッチパネルにより構成されてもよい。通信IF22は、図示しないネットワークを介して外部のコンピュータとデータの通信を行う。印刷IF24は、印刷部28に対して、画像データを出力する。 The UI device 20 includes, for example, a display device such as a liquid crystal display and an LED (Light Emitting Diode), and an input device such as a keyboard and a mouse. The UI device 20 may be configured with a touch panel. The communication IF 22 performs data communication with an external computer via a network (not shown). The printing IF 24 outputs image data to the printing unit 28.
印刷部28は、例えば、イエロー(Y)、マゼンタ(M)、シアン(C)、黒(K)の各色成分に対応する印刷手段を有する。印刷手段は、電子写真方式により実現されてもよいし、インクジェット方式により実現されてもよい。 For example, the printing unit 28 includes printing means corresponding to each color component of yellow (Y), magenta (M), cyan (C), and black (K). The printing unit may be realized by an electrophotographic method or an ink jet method.
図3は、本発明の実施形態に係る画像処理装置12による画像処理方法を実現し、CPU14上で動作する画像処理プログラム30の機能構成を示すブロック図である。
図3に示すように、画像処理プログラム30は、受信部32、データ配信部34、描画データ生成部36C,36M,36Y,36K、第1のデータ保存部38C,38M,38Y,38K及び第2のデータ保存部40C,40M,40Y,40Kを有する。なお、画像処理プログラム30の全部又は一部の機能は、画像処理装置12に設けられたハードウェアにより実現されてもよい。
FIG. 3 is a block diagram illustrating a functional configuration of an image processing program 30 that runs on the
As shown in FIG. 3, the image processing program 30 includes a
画像処理プログラム30において、受信部32は、図示しない外部のホストコンピュータから送信される印刷データを、通信IF22を介して受信する。印刷データは、文字、図形、イメージ等が所定のページ記述言語(PDL; Page Description Language)等により記載されている。受信部32は、受信された印刷データを、データ配信部34に対して出力する。なお、受信部32は、CD、DVD等の記録媒体を介して読み込まれた印刷データを受け付けてもよい。
In the image processing program 30, the receiving
印刷データには、リソースデータ及びページデータの少なくともいずれかが含まれている。リソースデータは、オーバーレイ画像など再利用可能な画像を描画するためのデータである。ページデータは、例えば、数値、文字、記号等、各ページ画像を描画するための可変データである。 The print data includes at least one of resource data and page data. The resource data is data for drawing a reusable image such as an overlay image. The page data is variable data for drawing each page image, such as numerical values, characters, symbols, and the like.
データ配信部34は、印刷データを、描画データ生成部36C,36M,36Y,36Kに対して配信する。
The
描画データ生成部36C,36M,36Y,36Kは、印刷データに基いて、各色成分の2値画像を描画し、2値画像データを生成する。例えば、描画データ生成部36Cは、シアンに関する2値画像データを生成する。描画データ生成部36C,36M,36Y,36Kは、生成した2値画像データを、1ページ毎、印刷部28C,28M,28Y,28Kに対して出力する。また、描画データ生成部36C,36M,36Y,36Kは、リソースデータに基いて生成された2値画像(オーバーレイ画像)を、第1のデータ保存部38C,38M,38Y,38Kに保存する。
The drawing
さらに、描画データ生成部36C,36M,36Y,36Kは、オーバーレイ画像が描画される過程で生成された中間データを、第2のデータ保存部40C,40M,40Y,40Kに保存する。ここで、中間データは、例えば、圧縮・解凍後のデータ、リソースデータに基いて生成された画像に対して所定の画像処理(回転、サイズ変換、解像度変換など)が施される前後の多値の画像データ、オーバーレイ画像の部分画像領域毎の2値の部分画像データ等である。
Further, the drawing
なお、描画データ生成部36C,36M,36Y,36Kについては、後で詳述する。また、以降、描画データ生成部36C,36M,36Y,36Kなど、複数ある構成要素のいずれかを特定せずに示す場合には、単に描画データ生成部36と略記することがある。
The drawing
第1のデータ保存部38C,38M,38Y,38Kは、描画データ生成部36C,36M,36Y,36Kにより生成された各色成分の2値画像データを記憶する。より具体的には、データ保存部38は、オーバーレイ画像を記憶する。したがって、第1のデータ保存部38は、オーバーレイ画像記憶手段を構成する。第1のデータ保存部38は、メモリ16及び記憶装置18の少なくともいずれかにより実現される。
The first
第2のデータ保存部40C,40M,40Y,40Kは、オーバーレイ画像が描画される過程で生成された中間データを記憶する。したがって、第2のデータ保存部40は、中間データ記憶手段を構成する。第2のデータ保存部40は、第1のデータ保存部38と同様にして実現される。
The second
図4は、描画データ生成部36C,36M,36Y,36Kの詳細な構成を示すブロック図である。
図4に示すように、描画データ生成部36は、データ受付部360、描画制御部362、判定部364、オーバーレイ管理テーブル366、一時記憶部368及び中間データ管理テーブル370を有する。
FIG. 4 is a block diagram illustrating a detailed configuration of the drawing
As illustrated in FIG. 4, the drawing data generation unit 36 includes a
描画データ生成部36において、データ受付部360は、データ配信部34により配信された印刷データを受け付けて、描画制御部362に対して出力する。
In the drawing data generation unit 36, the
オーバーレイ管理テーブル366は、オーバーレイ画像を識別する識別子(オーバーレイID)と、このオーバーレイ画像の第1のデータ保存部38における保存先アドレスと、このオーバーレイ画像に対応するリソースデータの第1のデータ保存部38における保存先アドレスとを含むテーブルである。オーバーレイ管理テーブル366は、メモリ16及び記憶装置18の少なくともいずれかに記憶される。
The overlay management table 366 includes an identifier (overlay ID) for identifying an overlay image, a storage destination address of the overlay image in the first data storage unit 38, and a first data storage unit of resource data corresponding to the overlay image 38 is a table including the storage destination address in FIG. The overlay management table 366 is stored in at least one of the
中間データ管理テーブル370は、中間データを識別する識別子(中間データID)と、この中間データの第2のデータ保存部40における保存先アドレスとを含むテーブルである。中間データ管理テーブル370は、オーバーレイ管理テーブル366と同様にして実現される The intermediate data management table 370 is a table including an identifier (intermediate data ID) for identifying intermediate data and a storage destination address of the intermediate data in the second data storage unit 40. The intermediate data management table 370 is realized in the same manner as the overlay management table 366.
一時記憶部368は、後述する描画制御部362により描画される過程における2値画像及び中間データを記憶する。例えば、一時記憶部368には、生成中のオーバーレイ画像、出力画像等が記憶される。なお、一時記憶部368に記憶される2値画像等は、所定の契機で削除される。
The
判定部364は、第1のデータ保存部38に記憶されているオーバーレイ画像を重ねて描画される画像が正しい出力画像であるか否かを判定する。即ち、判定部364は、事前に描画されて保存されたオーバーレイ画像が、出力画像に影響を及ぼすことなく用いられることが可能か否かを判定する。
The
例えば、判定部364は、第1のデータ保存部38に記憶されているオーバーレイ画像がページに最初に描画される場合、当該ページについて、当該オーバーレイ画像を重ねて描画される画像は正しい出力画像であると判定する。また例えば、判定部364は、第1のデータ保存部38に記憶されているオーバーレイ画像が割付印刷(複数の論理ページが1枚の記録媒体にまとめて印刷される印刷態様)において論理ページに最初に描画される場合、当該論理ページについて、当該オーバーレイ画像を重ねて描画される画像は正しい出力画像であると判定する。ここで、各論理ページは、互いに重ならないようにレイアウトされる。論理ページは、各論理ページの領域外にはみ出る場合、クリッピングされ、他の論理ページ領域に描画されない様に印刷される。また例えば、判定部364は、第1のデータ保存部38に記憶されているオーバーレイ画像が重ねて合成される領域に画像が描画されていない場合、当該オーバーレイ画像を重ねて描画される画像は正しい出力画像であると判定する。
For example, when the overlay image stored in the first data storage unit 38 is first drawn on a page, the
描画制御部362は、描画データ生成部36に含まれる他の構成要素を制御し、データ受付部360により受け付けられた印刷データに基いて画像を描画する。より具体的には、描画制御部362は、印刷データにリソースデータが含まれている場合、リソースデータに基いてオーバーレイ画像を描画し、第1のデータ保存部38に保存する。また、描画制御部362は、このオーバーレイ画像にオーバーレイIDを付与し、オーバーレイID及びこの画像の保存先アドレスをオーバーレイ管理テーブル366に登録する。
The
さらに、描画制御部362は、オーバーレイ画像の描画の過程において生成された中間データを、第2のデータ保存部40に保存する。描画制御部362は、この中間データに中間データIDを付与し、中間データID及びこの中間データの保存先アドレスを中間データ管理テーブル370に登録する。
Furthermore, the
描画制御部362は、印刷データにページデータが含まれている場合、ページデータに基いてページ画像を描画し、出力画像を生成し、1ページ毎、出力画像データを印刷部28に対して出力する。ここで、描画制御部362は、印刷データに含まれる指示・命令を、逐次、解析して、出力画像を生成する。
When the print data includes page data, the
描画制御部362は、オーバーレイ展開指示が印刷データに含まれている場合、上記の判定処理を判定部364に実行させ、判定結果を受け付ける。描画制御部362は、当該オーバーレイ画像を重ねて描画される画像は正しい出力画像である旨の結果を受け付けた場合、オーバーレイ管理テーブル366を参照し、第1のデータ保存部38に記憶されているオーバーレイ画像を読み出し、このオーバーレイ画像を重ねて出力画像を描画する。ここで、描画制御部362は、オーバーレイ画像を、上書き貼り付け方式で重ねてもよいし、透過貼り付け方式で重ねてもよい。
When the overlay development instruction is included in the print data, the
一方、記憶されているオーバーレイ画像を重ねて描画される画像は正しい出力画像ではない旨の結果を受け付けた場合、描画制御部362は、中間データ管理テーブル370を参照し、第2のデータ保存部40に記憶されている中間データに基づいて出力画像を描画する。したがって、描画制御部362は、オーバーレイ画像全体を重ねて出力画像を生成することができない場合、オーバーレイ画像について、記憶されている部分画像を出力画像に重ねる。また、この場合、描画制御部362は、中間処理済みの多値データから2値画像を生成して出力画像を生成してもよい。
On the other hand, when receiving a result indicating that the image drawn by overlaying the stored overlay image is not a correct output image, the
図5は、オーバーレイ管理テーブル366及び中間データ管理テーブル370に記憶される内容を示す図である。
図5(A)に示すように、オーバーレイ管理テーブル366には、オーバーレイIDと、このオーバーレイIDに対応する2値画像(オーバーレイ画像)データの保存先アドレスと、このオーバーレイ画像に対応するリソースデータの保存先とを含むデータが記憶されている。
FIG. 5 is a diagram showing the contents stored in the overlay management table 366 and the intermediate data management table 370.
As shown in FIG. 5A, the overlay management table 366 includes an overlay ID, a storage address of binary image (overlay image) data corresponding to the overlay ID, and resource data corresponding to the overlay image. Data including the storage destination is stored.
図5(B)に示すように、中間データ管理テーブル370は、中間データIDと、この中間データの保存先アドレスとを含むデータが記憶されている。中間データIDは、例えば、オーバーレイIDに枝番が付け加えられた形式である。例えば、オーバーレイIDが00001であるオーバーレイ画像に関しては、2つの中間データ(中間データIDは、000001_001及び00001_002)が記憶されている。 As shown in FIG. 5B, the intermediate data management table 370 stores data including an intermediate data ID and a storage destination address of the intermediate data. The intermediate data ID has, for example, a format in which a branch number is added to the overlay ID. For example, with respect to an overlay image with an overlay ID of 00001, two intermediate data (intermediate data IDs are 000001_001 and 00001_002) are stored.
次に、本発明の実施形態に係る画像処理装置12の動作を説明する。
図6は、本発明の実施形態に係る画像処理装置12がリソースデータを受信した場合に実行される画像処理(S10)のフローチャートを示す。
図6に示すように、ステップ100(S100)において、画像処理プログラム30の受信部32は、送信されたリソースデータを、通信IF22を介して受信する。
ステップ102(S102)において、データ配信部34は、リソースデータを、描画データ生成部36C,36M,36Y,36Kに対して配信する。
Next, the operation of the
FIG. 6 shows a flowchart of image processing (S10) executed when the
As illustrated in FIG. 6, in step 100 (S100), the
In step 102 (S102), the
ステップ104(S104)において、描画データ生成部36のデータ受付部360は、リソースデータを受け付け、描画制御部362は、リソースデータに含まれる指示・命令を解釈し、描画対象の画像がオーバーレイ画像であるか否かを判定する。描画対象の画像がオーバーレイ画像である場合、描画制御部362は、S106の処理に進む。一方、描画対象の画像がオーバーレイ画像でない場合、描画制御部362は、所定の処理を行って画像処理を終了する。
In step 104 (S104), the
ステップ106(S106)において、描画制御部362は、リソースデータに含まれる指示・命令がオーバーレイ終了データか否かを判定する。描画制御部362は、指示・命令がオーバーレイ終了データである場合にはS116の処理に進み、そうでない場合にはS108の処理に進む。
In step 106 (S106), the
ステップ108(S108)において、描画制御部362は、リソースデータに基いてRIP(Raster Image Processor)処理を行ってオーバーレイ画像を描画する。具体的には、描画制御部362は、リソースデータを解釈して、画像のビットマップ展開を行う。
In step 108 (S108), the
ステップ110(S110)において、描画制御部362は、S108の処理で生成された中間データが保存対象であるか否かを判定する。描画制御部362は、中間データが保存対象である場合にはS112の処理に進み、そうでない場合にはS106の処理に戻る。
In step 110 (S110), the
ステップ112(S112)において、描画制御部362は、生成された中間データを第2のデータ保存部40に保存する。
ステップ114(S114)において、描画制御部362は、中間データに中間データIDを付与し、中間データに関するデータを、中間データ管理テーブル370に登録し、S106の処理に戻る。
In step 112 (S112), the
In step 114 (S114), the
ステップ116(S116)において、描画制御部362は、リソースデータを、第1のデータ保存部38に保存する。
ステップ118(S118)において、描画制御部362は、描画されたオーバーレイ画像を第1のデータ保存部38に保存する。
ステップ120(S120)において、描画制御部362は、描画されたオーバーレイ画像に関するデータを、オーバーレイ管理テーブル366に登録する。
In step 116 (S116), the
In step 118 (S118), the
In step 120 (S120), the
図7は、本発明の実施形態に係る画像処理装置12がページデータを受信した場合に実行される画像処理(S20)のフローチャートを示す。
図7に示すように、ステップ200(S200)において、画像処理プログラム30の受信部32は、送信されたページデータを、通信IF22を介して受信する。
ステップ202(S202)において、データ配信部34は、ページデータを、描画データ生成部36C,36M,36Y,36Kに対して配信する。
FIG. 7 shows a flowchart of image processing (S20) executed when the
As shown in FIG. 7, in step 200 (S200), the receiving
In step 202 (S202), the
ステップ204(S204)において、描画データ生成部36のデータ受付部360は、ページデータを受け付け、描画制御部362は、ページデータに含まれる指示・命令を解釈し、指示・命令がオーバーレイ展開指示であるか否かを判定する。指示命令がオーバーレイ展開指示である場合、描画制御部362は、後述するオーバーレイ展開処理(S30)を行って出力画像を描画し、S208の処理に進む。一方、指示・命令がオーバーレイ展開指示でない場合、描画制御部362は、S206の処理に進む。
In step 204 (S204), the
ステップ206(S206)において、描画制御部362は、ページデータに基いてRIP処理を行って出力画像を描画する。
ステップ208(S208)において、描画制御部362は、ページデータを解釈し、1ページ分の出力画像の生成を終了したか否かを判定する。描画制御部362は、1ページ分の出力画像の生成を終了した場合にはS210の処理に進み、そうでない場合にはS204の処理に戻る。
In step 206 (S206), the
In step 208 (S208), the
ステップ210(S210)において、描画制御部362は、生成した1ページ分の出力画像データを、印刷部28に対して出力する。印刷部28C,28M,28Y,28Kは、出力画像データに基いて、各色成分に対応する出力画像を用紙等の記録媒体に印刷する。
In step 210 (S210), the
ステップ212(S212)において、描画制御部362は、ページデータに含まれる全ページ分の出力画像の生成を終了したか否かを判定する。描画制御部362は、全ページ分の出力画像の生成を終了した場合には処理を終了し、そうでない場合にはS204の処理に戻って、次のページに関する処理を行う。
In step 212 (S212), the
図8は、本実施形態におけるオーバーレイ展開処理(S30)のフローチャートを示す。
図8に示すように、S300(S300)において、描画データ生成部36の判定部364は、第1のデータ保存部38に記憶されているオーバーレイ画像が用いられることが可能か否かを判定する。描画制御部362は、記憶されているオーバーレイ画像が用いられることが可能である場合にはS302の処理に進み、そうでない場合にはS304の処理に進む。
FIG. 8 shows a flowchart of overlay development processing (S30) in the present embodiment.
As shown in FIG. 8, in S300 (S300), the
ステップ302(S302)において、描画制御部362は、第1のデータ保存部38に記憶されているオーバーレイ画像を読み出し、出力画像において重ね合わせ処理の対象となる部分画像領域に、当該オーバーレイ画像を貼り付けて合成し、処理を終了する。
In step 302 (S302), the
ステップ304(S304)において、描画制御部362は、第1のデータ保存部38に記憶されているリソースデータの読み出しを開始する。
In step 304 (S304), the
ステップ306(S306)において、描画制御部362は、読み出したリソースデータに基いて描画されるオーバーレイ画像に対応する中間データが保存されているか否かを判定する。描画制御部362は、中間データ保存されている場合にはS308の処理に進み、そうでない場合にはS310の処理に進む。
In step 306 (S306), the
ステップ308(S308)において、描画制御部362は、中間データ管理テーブル370を参照し、第2のデータ保存部40に記憶されている中間データを読み出し、この中間データに基いてオーバーレイ画像を生成して出力画像に貼り付けて合成する。
ステップ310(S310)において、記憶されているリソースデータに基いてRIP処理を行ってオーバーレイ画像を出力画像に描画する。
In step 308 (S308), the
In step 310 (S310), RIP processing is performed based on the stored resource data to render an overlay image on the output image.
ステップ312(S312)において、描画制御部362は、オーバーレイ画像の描画を終了したか否かを判定し、描画を終了した場合には処理を終了し、そうでない場合にはS306の処理に戻る。
In step 312 (S312), the
10 画像形成装置
12 画像処理装置
14 CPU
16 メモリ
18 記憶装置
20 UI装置
22 通信IF
28 印刷部
30 画像処理プログラム
32 受信部
34 データ配信部
36 描画データ生成部
38 第1のデータ保存部
40 第2のデータ保存部
360 データ受付部
362 描画制御部
364 判定部
366 オーバーレイ管理テーブル
368 一時記憶部
370 中間データ管理テーブル
DESCRIPTION OF
16
28 Printing section 30
Claims (7)
前記リソースデータが受け付けられた場合に、当該リソースデータを解釈してオーバーレイ画像を描画し、前記ページデータが受け付けられた場合に、当該ページデータに基づいて、印刷部に対して出力される出力画像を描画する描画データ生成手段と、
前記描画されたオーバーレイ画像を記憶する第1のデータ保存手段と、
オーバーレイ画像が描画される過程で生成された中間データを記憶する第2のデータ保存手段と
を有し、
前記描画データ生成手段は、オーバーレイ画像を出力画像に展開する指示が受け付けられた場合、前記第1のデータ保存手段に記憶されたオーバーレイ画像が用いられることが可能であるか否かを判定し、前記第1のデータ保存手段に記憶されたオーバーレイ画像が用いられることが可能であると判定された場合に、前記第1のデータ保存手段に記憶されたオーバーレイ画像を出力画像に貼り付けて合成し、前記第1のデータ保存手段に記憶されたオーバーレイ画像が用いられることが可能でないと判定された場合に、前記第2のデータ保存手段に記憶されている中間データに基づいてオーバーレイ画像を生成して出力画像に貼り付けて合成する
画像処理装置。 Receiving means for receiving print data, which is print data described in a page description language, and includes at least one of resource data for drawing an overlay image and page data for drawing each page image;
When the resource data is accepted, the resource data is interpreted to draw an overlay image. When the page data is accepted, an output image output to the printing unit based on the page data Drawing data generation means for drawing
First data storage means for storing the rendered overlay image;
Second data storage means for storing intermediate data generated in the process of drawing an overlay image;
Have
The drawing data generation means determines whether or not the overlay image stored in the first data storage means can be used when an instruction to expand the overlay image into an output image is received ; When it is determined that the overlay image stored in the first data storage unit can be used, the overlay image stored in the first data storage unit is pasted to the output image and synthesized. When it is determined that the overlay image stored in the first data storage unit cannot be used , an overlay image is generated based on the intermediate data stored in the second data storage unit Image processing device that pastes and synthesizes the output image .
請求項1に記載の画像処理装置。 The image processing apparatus according to claim 1.
請求項1に記載の画像処理装置。 The image processing apparatus according to claim 1.
請求項1に記載の画像処理装置。 The image processing apparatus according to claim 1, wherein the second data storage unit stores image data generated in a process of drawing an overlay image.
請求項1に記載の画像処理装置。 The image processing apparatus according to claim 1, wherein the second data storage unit stores partial image data of the overlay image generated in the process of drawing the overlay image.
ページ記述言語により記載される印刷データであって、オーバーレイ画像を描画するためのリソースデータと、各ページ画像を描画するためのページデータとの少なくともいずれかを含む印刷データを受け付け、
前記リソースデータが受け付けられた場合に、当該リソースデータを解釈してオーバーレイ画像を描画し、
前記描画されたオーバーレイ画像を前記第1のデータ保存手段に記憶し、
オーバーレイ画像が描画される過程で生成された中間データを前記第2のデータ保存手段に記憶し、
前記ページデータが受け付けられた場合に、当該ページデータに基づいて、印刷部に対して出力される出力画像を描画し、
オーバーレイ画像を出力画像に展開する指示を受け付け、
前記第1のデータ保存手段に記憶されたオーバーレイ画像が用いられることが可能であるか否かを判定し、
前記第1のデータ保存手段に記憶されたオーバーレイ画像が用いられることが可能であると判定された場合に、前記第1のデータ保存手段に記憶されたオーバーレイ画像を出力画像に貼り付けて合成し、
前記第1のデータ保存手段に記憶されたオーバーレイ画像が用いられることが可能でないと判定された場合に、前記第2のデータ保存手段に記憶されている中間データに基づいてオーバーレイ画像を生成して出力画像に貼り付けて合成する
画像処理方法。 An image processing apparatus and a second data storage means a first data storage means and overlay images for storing the overlay image to store intermediate data generated in the process of being drawn,
Print data written in a page description language, which accepts print data including at least one of resource data for drawing an overlay image and page data for drawing each page image;
When the resource data is accepted, interpret the resource data and draw an overlay image,
Storing the rendered overlay image in the first data storage means;
Storing the intermediate data generated in the process of drawing the overlay image in the second data storage means;
When the page data is received, based on the page data, the output image output to the printing unit is drawn,
Accepts an instruction to expand the overlay image into an output image,
Determining whether an overlay image stored in the first data storage means can be used;
When it is determined that the overlay image stored in the first data storage unit can be used, the overlay image stored in the first data storage unit is pasted to the output image and synthesized. ,
When it is determined that the overlay image stored in the first data storage unit cannot be used , an overlay image is generated based on the intermediate data stored in the second data storage unit An image processing method for pasting and compositing to output images .
ページ記述言語により記載される印刷データであって、オーバーレイ画像を描画するためのリソースデータと、各ページ画像を描画するためのページデータとの少なくともいずれかを含む印刷データを受け付けるステップと、
前記リソースデータが受け付けられた場合に、当該リソースデータを解釈してオーバーレイ画像を描画するステップと、
前記描画されたオーバーレイ画像を前記第1のデータ保存手段に記憶するステップと、
オーバーレイ画像が描画される過程で生成された中間データを前記第2のデータ保存手段に記憶するステップと、
前記ページデータが受け付けられた場合に、当該ページデータに基づいて、印刷部に対して出力される出力画像を描画するステップと、
オーバーレイ画像を出力画像に展開する指示を受け付けるステップと、
前記第1のデータ保存手段に記憶されたオーバーレイ画像が用いられることが可能であるか否かを判定するステップと、
前記第1のデータ保存手段に記憶されたオーバーレイ画像が用いられることが可能であると判定された場合に、前記第1のデータ保存手段に記憶されたオーバーレイ画像を出力画像に貼り付けて合成するステップと、
前記第1のデータ保存手段に記憶されたオーバーレイ画像が用いられることが可能でないと判定された場合に、前記第2のデータ保存手段に記憶されている中間データに基づいてオーバーレイ画像を生成して出力画像に貼り付けて合成するステップと
を前記画像処理装置のコンピュータに実行させるプログラム。 An image processing apparatus comprising a computer and a second data storage means a first data storage means and overlay images for storing the overlay image to store intermediate data generated in the process of being drawn,
Receiving print data that is written in a page description language and includes at least one of resource data for rendering an overlay image and page data for rendering each page image;
When the resource data is accepted, interpreting the resource data and rendering an overlay image;
Storing the rendered overlay image in the first data storage means;
Storing intermediate data generated in the process of drawing an overlay image in the second data storage means;
Drawing the output image output to the printing unit based on the page data when the page data is received;
And Luz step receives an instruction to expand the overlay image to the output image,
Determining whether an overlay image stored in the first data storage means can be used;
When it is determined that the overlay image stored in the first data storage unit can be used, the overlay image stored in the first data storage unit is pasted to the output image and synthesized. Steps,
When it is determined that the overlay image stored in the first data storage unit cannot be used , an overlay image is generated based on the intermediate data stored in the second data storage unit A program that causes the computer of the image processing apparatus to execute the step of pasting and synthesizing the output image .
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007275929A JP4840604B2 (en) | 2007-10-24 | 2007-10-24 | Image processing apparatus, image processing method, and program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007275929A JP4840604B2 (en) | 2007-10-24 | 2007-10-24 | Image processing apparatus, image processing method, and program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2009105692A JP2009105692A (en) | 2009-05-14 |
JP4840604B2 true JP4840604B2 (en) | 2011-12-21 |
Family
ID=40706959
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2007275929A Active JP4840604B2 (en) | 2007-10-24 | 2007-10-24 | Image processing apparatus, image processing method, and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4840604B2 (en) |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2000099293A (en) * | 1998-09-18 | 2000-04-07 | Canon Inc | Print controller, data processing method for the same and storage medium storing computer readable program |
JP2001260452A (en) * | 2000-03-17 | 2001-09-25 | Tokyo Denshi Sekkei Kk | Image data producing device, image outputting device, image output controlling device, image outputting system, image data producing method, and recording medium |
JP2002067423A (en) * | 2000-08-31 | 2002-03-05 | Ricoh Co Ltd | Printer |
-
2007
- 2007-10-24 JP JP2007275929A patent/JP4840604B2/en active Active
Also Published As
Publication number | Publication date |
---|---|
JP2009105692A (en) | 2009-05-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4995057B2 (en) | Drawing apparatus, printing apparatus, drawing method, and program | |
JP5028372B2 (en) | Image processing apparatus, image processing method, and image processing program | |
JP4960900B2 (en) | Information processing apparatus and image forming apparatus | |
KR101679681B1 (en) | Image forming apparatus and image forming method | |
JP5732935B2 (en) | Information processing apparatus, print control program, and computer-readable recording medium | |
JP3902907B2 (en) | Image processing apparatus and method, and image forming apparatus | |
JP5397678B2 (en) | Image processing apparatus, image forming apparatus, image processing method, and program | |
JP2006244248A (en) | Image processing device, image processing method, and program for executing image processing method | |
JP2009159494A (en) | Image processing method and image processor | |
JP4840604B2 (en) | Image processing apparatus, image processing method, and program | |
JP2005032144A (en) | Print processing system and print instruction device for use in same | |
JP5171973B2 (en) | Information processing apparatus and control method thereof | |
JP4984328B2 (en) | Image processing apparatus, image processing method, and program | |
JP2009141921A (en) | Image processor, image processing method, and program | |
JP6755644B2 (en) | Character processing device, character processing method, character processing program | |
JP2006287609A (en) | Image composite apparatus and image composite processing program | |
JP2006254199A (en) | Image processing apparatus | |
JP2009141549A (en) | Image processor, image processing method, and program | |
JP2006331259A (en) | Information processing device | |
JP5007291B2 (en) | Image processing apparatus, image processing method, and image processing program | |
JP2002133429A (en) | Plotting information processing device, plotting information processing method, and storage medium | |
JP2010231487A (en) | Image processor, image forming device, image processing method and program | |
JP6079157B2 (en) | Drawing processing apparatus and image forming apparatus | |
JP2004243568A (en) | Image forming apparatus | |
JP2007021730A (en) | Data processor, data processing method and program, and medium recording that program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20090825 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20110214 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20110303 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20110427 |
|
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: 20110907 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20110920 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 4840604 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20141014 Year of fee payment: 3 |
|
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 |