JP4645396B2 - Image processing device - Google Patents
Image processing device Download PDFInfo
- Publication number
- JP4645396B2 JP4645396B2 JP2005289694A JP2005289694A JP4645396B2 JP 4645396 B2 JP4645396 B2 JP 4645396B2 JP 2005289694 A JP2005289694 A JP 2005289694A JP 2005289694 A JP2005289694 A JP 2005289694A JP 4645396 B2 JP4645396 B2 JP 4645396B2
- Authority
- JP
- Japan
- Prior art keywords
- image
- extracted
- image data
- control unit
- database
- 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.)
- Expired - Fee Related
Links
Images
Landscapes
- Control Or Security For Electrophotography (AREA)
- Editing Of Facsimile Originals (AREA)
Description
本発明は、プリンタ等の画像形成装置に出力する画像形成指示を受信して処理する画像形成装置に関する。 The present invention relates to an image forming apparatus that receives and processes an image forming instruction output to an image forming apparatus such as a printer.
近年では、パーソナルコンピュータ装置等で生成した複数ページ分のドキュメントのデータを元に印刷用の入校ドキュメントを生成することが広く行なわれている。この場合に、複数のページに亘って分散して配置されている絵柄同士を比較して例えば色合わせなどを行ないたいという要望がある。
従来からT/I分離などの技術によって文字部分と絵柄部分とを分離する技術は多種あったが(例えば特許文献1を参照)、従来のT/I分離技術は、抽出した絵柄と文字部分とに対してそれぞれ異なる画像処理を行うだけで、上記のような要望に応えるための処理などは行なわれていない。 Conventionally, there have been various techniques for separating a character part and a pattern part by a technique such as T / I separation (see, for example, Patent Document 1). However, the conventional T / I separation technique uses an extracted picture and a character part. However, only different image processing is performed, and processing for responding to the above demand is not performed.
本発明は上記実情に鑑みて為されたもので、複数のページに亘って分散して配置されている絵柄同士を比較して例えば色合わせなどを行ないたいという要望に応えることができる画像処理装置を提供することを、その目的の一つとする。 The present invention has been made in view of the above circumstances, and is an image processing apparatus capable of meeting a demand for, for example, color matching by comparing patterns arranged dispersed over a plurality of pages. Is one of its purposes.
上記従来例の問題点を解決するための本発明は、画像処理装置であって、複数の画像要素を含んだ画像データを受信し、前記画像データに含まれる複数の画像要素のうち、所定の抽出条件を満足する画像要素を抽出し、予め規定されたフォーマットのドキュメントに埋め込んで出力することを特徴としている。 The present invention for solving the problems of the above conventional example is an image processing apparatus, which receives image data including a plurality of image elements, and among predetermined image elements included in the image data, An image element satisfying the extraction condition is extracted, embedded in a document of a predetermined format, and output.
ここで前記受信した画像データには、複数のページ分の画像を含み、前記抽出条件は、絵柄の画像要素を抽出する条件であり、前記フォーマットは、絵柄と、当該絵柄の抽出元のページ及び位置を表す抽出元領域情報の記述とを配列したフォーマットであることとしてもよい。 Here, the received image data includes images for a plurality of pages, the extraction condition is a condition for extracting an image element of a pattern, and the format is a pattern, a page from which the pattern is extracted, It may be a format in which the description of the extraction source area information representing the position is arranged.
また、抽出した画像要素と、画像データにおける各抽出した画像要素の抽出元の位置を表す抽出元領域情報とを関連づけて記憶し、当該抽出した画像要素群に対し、画像要素の置換、または画像要素に対する画像処理の少なくとも一方の指示を受け入れて、当該指示に従って処理し、画像形成指示を受信して、前記処理後の画像要素群に含まれる各画像を、関連づけて記憶されている抽出元領域情報に従って、画像データ内に配置して、当該配置後の画像データについて画像形成処理を実行することとしてもよい。 Further, the extracted image element is stored in association with extraction source area information indicating the position of the extraction source of each extracted image element in the image data, and the extracted image element group is replaced with an image element or an image. An extraction source region that receives at least one instruction for image processing for an element, processes according to the instruction, receives an image formation instruction, and stores each image included in the processed image element group in association with each other According to the information, the image data may be arranged in the image data and the image forming process may be executed on the image data after the arrangement.
さらに、本発明の一態様は、画像処理方法であって、複数の画像要素を含んだ画像データを受信する工程と、前記画像データに含まれる複数の画像要素のうち、所定の抽出条件を満足する画像要素を抽出し、予め規定されたフォーマットのドキュメントに埋め込んで出力する工程と、を、コンピュータに実行させることを特徴としている。 Furthermore, one embodiment of the present invention is an image processing method, the method including receiving image data including a plurality of image elements, and satisfying a predetermined extraction condition among the plurality of image elements included in the image data. And a step of causing a computer to execute a process of extracting image elements to be embedded, outputting the image elements by embedding them in a document of a predetermined format.
また、本発明の別の態様は、プログラムであって、コンピュータに、複数の画像要素を含んだ画像データを受信する手順と、前記画像データに含まれる複数の画像要素のうち、所定の抽出条件を満足する画像要素を抽出し、予め規定されたフォーマットのドキュメントに埋め込んで出力する手順と、を実行させることを特徴としている。 According to another aspect of the present invention, there is provided a program, wherein a computer receives image data including a plurality of image elements, and a predetermined extraction condition among the plurality of image elements included in the image data. The image element satisfying the above is extracted, embedded in a document of a predetermined format, and output.
本発明の実施の形態について図面を参照しながら説明する。本発明の実施の形態に係る画像処理装置は、例えばプリンタサーバ1として実現され、図1に例示するように、ネットワークを介して画像形成指示を出力するクライアント装置2に接続され、また、画像形成装置としてのプリンタ3に接続されている。また、このプリンタサーバ1は、図1に示すように、制御部11と、記憶部12と、通信部13と、プリンタインタフェース14とを含んで構成されている。
Embodiments of the present invention will be described with reference to the drawings. An image processing apparatus according to an embodiment of the present invention is realized, for example, as a
制御部11は、CPU等であり、記憶部12に格納されているプログラムに従って動作する。本実施の形態の制御部11は、通信部13を介してクライアント装置2から受信した形成処理の対象となる画像データから、抽出条件を満足する画像要素を抽出して、予め規定されたフォーマットのドキュメントに埋め込んで出力する。この制御部11の処理の内容については後に詳しく述べる。
The
記憶部12は、RAM(Random Access Memory)や、ROM(Read Only Memory)などの記憶素子を含むコンピュータ可読な記録媒体である。また、この記憶部12は、ハードディスク等のディスクデバイスを含んでもよい。記憶部12は、制御部11によって実行されるプログラムを格納している。またこの記憶部12は、制御部11のワークメモリとしても動作する。
The
通信部13は、ネットワークインタフェースであり、ネットワークを介して受信されるデータを制御部11に出力する。またこの通信部13は、制御部11から入力される指示に従って、データをネットワークを介して、例えばクライアント装置2へ送出する。
The
プリンタインタフェース14は、例えばシリアルインタフェース等であり、制御部11から入力される指示に従って、形成の対象となるビットマップ画像データをプリンタへ出力する。
The
本実施の形態では、このプリンタサーバ1に対してクライアント装置2側からまず、ジョブとして画像データが送出され、次いでジョブについての画像形成指示が受信されるものとする。ここでジョブには、画像データとして複数のページ分のビットマップ画像のデータが含まれるものとする。制御部11は、このビットマップ画像のデータを、そのままプリンタ3側へ送出する。また、このビットマップ画像のデータには、図2にその概要を例示するように、一般に文字部分(T)と、絵柄部分(G)とがそれぞれ画像要素として含まれている。なお、以下の例では抽出条件として絵柄部分を抽出する条件が設定されているものとする。
In this embodiment, it is assumed that image data is first transmitted as a job from the
記憶部12には、予め抽出した画像要素を含めるドキュメントのフォーマットを規定する情報が格納されている。ここでは、抽出した画像要素と、その抽出元に関する情報(抽出元領域情報)とを配列したコラムを、1ページあたり2つ配置するフォーマットを規定する情報が格納されているものとする(図3)。
The
制御部11は、ジョブを受信すると、固有の識別子(ジョブID)を発行して、このジョブIDとジョブに係る画像データとを関連づけて記憶部12に格納する。
When the
また制御部11は、図4に示すように、ジョブに含まれる複数ページ分のビットマップ画像データについて、各ページのビットマップ画像データについて文字と絵柄部分とを分離する処理(T/I分離処理)を実行する(S1)。
Further, as shown in FIG. 4, the
ここでT/I分離処理は、例えば有意画素が連続している領域を画定し、当該領域に外接する外接矩形の面積が予め定めたしきい値を超える場合に絵柄と判断し、超えない場合に文字と判断するものなどがある。 Here, the T / I separation process defines, for example, a region in which significant pixels are continuous, and if the area of a circumscribed rectangle circumscribing the region exceeds a predetermined threshold value, it is determined as a design and does not exceed There are things that are judged to be characters.
そしてT/I分離処理の結果、各ページについて絵柄として画定された領域内の画像を抽出し、抽出元となったビットマップ画像データに係るジョブIDに関連づけて記憶部12に格納する(S2)。このとき、制御部11は、絵柄の抽出元となった画像のページ番号や、領域の座標情報など(抽出元領域情報)を併せて取得し、抽出した画像に関連づけて、抽出画像データベースとして格納する(図5)。
As a result of the T / I separation process, an image in an area defined as a pattern for each page is extracted, and stored in the
制御部11は、抽出画像データベースに格納された絵柄の画像(ビットマップデータ)を、予め定められたファイルフォーマットの画像に変換する(S3)。ここでファイルフォーマットは、例えばJPEG(Joint Picture Experts Group)や、TIFF(Tagged Image File Format)などである。
The
制御部11は、変換後の画像のデータを、記憶部12から読み出したフォーマットに編集して、ドキュメントを生成する(S4)。
The
具体例として図3に示したフォーマットの場合、制御部11は抽出した順に、各コラムの絵柄部分に抽出した画像を配置するとともに、関連づけて記憶部12に格納されているページ番号や領域の座標情報など抽出元領域情報を埋め込んだ画像を生成する。また、ここで制御部11は、抽出した画像のサイズが、ドキュメントのフォーマットにおいて予め定められたサイズ範囲を超えている場合は、埋め込む画像のサイズが、予め定めたサイズ範囲になるよう必要に応じて縮小処理した画像を生成する。例えば、サイズ範囲が、ドキュメントのフォーマットにおいて、LX×LY(画素)と定められている場合に、抽出した画像のサイズX×Yが、
(1)X≦LX、かつY≦LYであれば、縮小は行なわない。
また、
(2)X≦LX、かつY>LYであれば、縮小率α=Y/LYを演算して、画像のサイズを、αX×αY倍に縮小する。
(3)X>LX、かつY≦LYであれば、縮小率α=X/LXを演算して、画像のサイズを、αX×αY倍に縮小する。
さらに、
(4)X>LX、かつY>LYであれば、XとYとのうち、小さい方の値Pと、それに対応するサイズ範囲の情報LPとを用い、縮小率α=P/LPを演算して、画像のサイズを、αX×αY倍に縮小する。例えば、X<Yであれば、P=X、LP=LXであり、縮小率α=X/LXとなる。
In the case of the format shown in FIG. 3 as a specific example, the
(1) If X ≦ LX and Y ≦ LY, no reduction is performed.
Also,
(2) If X ≦ LX and Y> LY, the reduction ratio α = Y / LY is calculated to reduce the image size to αX × αY times.
(3) If X> LX and Y ≦ LY, the reduction ratio α = X / LX is calculated to reduce the image size to αX × αY times.
further,
(4) If X> LX and Y> LY, the smaller value P of X and Y and the information LP in the corresponding size range are used to calculate the reduction rate α = P / LP Then, the image size is reduced to αX × αY times. For example, if X <Y, P = X, LP = LX, and the reduction ratio α = X / LX.
そして制御部11は、ここで生成した画像をプリンタ3に出力して形成させる(S5)。
Then, the
利用者は、抽出画像データベースに格納された情報を、クライアント装置2側からダウンロードして編集する。例えば利用者は、ダウンロードした抽出画像データベース内の画像を、別の画像に差し替えて、再度プリンタサーバ1へアップロードする。また、差し替えだけでなく、色補正などを各画像に対して一括して行なってもよい。プリンタサーバ1では、ネットワークを介して編集後の抽出画像データベースを受け入れて、受信した抽出画像データベースを、当該抽出画像データベースに含まれるジョブIDと同じジョブIDに関連づけられた抽出画像データベースに置き換えて記憶部12に格納する。
The user downloads and edits the information stored in the extracted image database from the
また本実施の形態では、このように画像の差し替えや色補正などの編集を行った後の画像の一覧を生成させてもよい。この場合、利用者は、クライアント装置2から一覧の生成を要求する。プリンタサーバ1の制御部11は、この要求を受信して、図4に示した処理S3以降の処理を実行し(図4の(A))、抽出画像データベースに格納されている、編集後の画像について、各画像の抽出元領域情報とともにその一覧を、予め規定されたフォーマットに従って配列してプリンタ3にて印刷させる。
In this embodiment, a list of images after editing such as image replacement and color correction may be generated. In this case, the user requests the list generation from the
制御部11は、さらにジョブIDとともに、当該ジョブIDに係る画像形成を行なうべき旨の指示をクライアント装置2から受信すると、当該ジョブIDに関連づけられたビットマップ画像データを記憶部12から読み出す。
When the
また、制御部11は、当該ジョブIDに関連づけられた抽出画像データベースを記憶部12から読み出して、当該読み出した抽出画像データベースに含まれる各画像のデータを、各画像に関連づけられている抽出元領域情報を参照しながら、ビットマップ画像データの対応する位置に埋め込む。そして当該埋め込んだ後のジョブをプリンタ3へ送出する。
In addition, the
本実施の形態によると、例えば、図2に示したビットマップ画像データに対して、第1の画像として、第1ページ目の絵柄領域(G)内の画像が抽出され、その領域を表す抽出領域情報(「1ページ目、左上隅の座標が(sx,sy)」などといった情報)に関連づけて抽出画像データベースとして保持される。 According to the present embodiment, for example, for the bitmap image data shown in FIG. 2, an image in the design area (G) of the first page is extracted as the first image, and the extraction represents the area. It is stored as an extracted image database in association with area information (information such as “first page, upper left corner coordinate is (sx, sy)”).
同様に、この抽出画像データベースには、第2ページ目の絵柄領域内の画像や、第3ページの絵柄領域内の画像などが格納される。制御部11は、この抽出画像データベース内の画像の一覧をプリンタ3に出力して印刷させる。
Similarly, the extracted image database stores an image in the pattern area of the second page, an image in the pattern area of the third page, and the like. The
利用者は、この一覧を参照して抽出画像データベースを取得し、当該抽出画像データベース内の画像に対して必要な処理(差し替えや、色補正等)を行ない、画像処理後の抽出画像データベースをプリンタサーバ1に対してアップロードする。また利用者は、画像形成の指示をプリンタサーバ1に対して送信する。
The user refers to this list to obtain the extracted image database, performs necessary processing (replacement, color correction, etc.) on the image in the extracted image database, and prints the extracted image database after image processing to the printer. Upload to
プリンタサーバ1は、画像形成の指示において処理の対象となったジョブIDに関連づけられたジョブと、抽出画像データベースとを読み出す。そして、抽出画像データベース内の各画像(利用者によって処理がされた画像)を、読み出したジョブに含まれるビットマップ画像データに埋め戻す。例えば、上記のように、「1ページ目、左上隅の座標が(sx,sy)」を表す抽出領域情報に関連づけられている画像は、1ページ目の(sx,sy)を左上隅として貼付ける。これにより元の絵柄の画像が処理後の画像に置き換えられる。
The
プリンタサーバ1は、こうして処理後の画像に置き換えたビットマップ画像データをプリンタ3に出力する。
The
なお、ここまでの説明では、画像形成の指示に係る画像のデータは、ビットマップ画像データであるとしているが、ポストスクリプト(登録商標)など、ページ記述言語にて記述された画像であってもよい。この場合、プリンタサーバ1は、当該記述された画像をビットマップ画像データに展開(ラスタライズ)してから、上記処理を行えばよい。また、図3に例示した一覧用のドキュメントのフォーマットや、画像の形式(ファイルフォーマット)は、利用者が生成して記憶部12に登録可能としてもよい。
In the above description, the image data related to the image formation instruction is bitmap image data. However, even image data described in a page description language such as PostScript (registered trademark) may be used. Good. In this case, the
1 プリンタサーバ、2 クライアント装置、3 プリンタ、11 制御部、12 記憶部、13 通信部、14 プリンタインタフェース。 1 printer server, 2 client device, 3 printer, 11 control unit, 12 storage unit, 13 communication unit, 14 printer interface.
Claims (1)
抽出した画像要素と、画像データにおける各抽出した画像要素の抽出元の位置を表す抽出元領域情報とを関連づけて抽出画像データベースを生成する手段と、
当該抽出画像データベースに含まれる画像要素の各々に対し、画像要素の置換、または画像要素に対する画像処理の少なくとも一方の指示を受け入れて、当該指示に従って処理を行う手段と、
前記処理前または処理後の前記抽出した画像要素の各々を、予め規定されたフォーマットのドキュメントに埋め込んで出力する手段と、
画像形成指示を受信して、前記処理後の各画像を、それぞれに関連づけて記憶されている抽出元領域情報で表される画像データ内の位置に配置して、当該配置後の画像データについて画像形成処理を実行する手段と、
を含むことを特徴とする画像処理装置。 Means for receiving image data including a plurality of image elements, and extracting image elements satisfying a predetermined extraction condition among the plurality of image elements included in the image data ;
Means for generating an extracted image database by associating the extracted image elements with extraction source region information indicating the position of the extraction source of each extracted image element in the image data ;
Means for accepting at least one instruction of image element replacement or image processing for the image element for each of the image elements included in the extracted image database, and performing processing according to the instruction;
Means for embedding and outputting each of the extracted image elements before or after the processing in a document of a predetermined format;
An image forming instruction is received, and the processed images are arranged at positions in the image data represented by the extraction source area information stored in association with the images, and the image data after the arrangement is imaged Means for performing the forming process;
The image processing apparatus characterized by comprising a.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005289694A JP4645396B2 (en) | 2005-10-03 | 2005-10-03 | Image processing device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005289694A JP4645396B2 (en) | 2005-10-03 | 2005-10-03 | Image processing device |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2007104169A JP2007104169A (en) | 2007-04-19 |
JP4645396B2 true JP4645396B2 (en) | 2011-03-09 |
Family
ID=38030687
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2005289694A Expired - Fee Related JP4645396B2 (en) | 2005-10-03 | 2005-10-03 | Image processing device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4645396B2 (en) |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002305644A (en) * | 2001-04-04 | 2002-10-18 | Sharp Corp | Device and method for editing image, image forming device, program and recording medium |
-
2005
- 2005-10-03 JP JP2005289694A patent/JP4645396B2/en not_active Expired - Fee Related
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002305644A (en) * | 2001-04-04 | 2002-10-18 | Sharp Corp | Device and method for editing image, image forming device, program and recording medium |
Also Published As
Publication number | Publication date |
---|---|
JP2007104169A (en) | 2007-04-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP2006023945A (en) | Image processing system and image processing method | |
US20060114484A1 (en) | Image processing apparatus and method therefor | |
JP4150842B2 (en) | Image recognition apparatus, image recognition method, and computer-readable recording medium on which image recognition program is recorded | |
JP2005184848A (en) | Quick processing system of raster intensive collar document and its method | |
US8139237B2 (en) | Image generating apparatus, image processing apparatus, recording medium and computer readable recording medium | |
US8199967B2 (en) | Image processing apparatus, image processing method, and storage medium | |
JP6808583B2 (en) | Image processing equipment, image processing systems, image processing methods, and programs | |
US20070127085A1 (en) | Printing system, printing method and program thereof | |
JP2006025129A (en) | System and method for image processing | |
JP4143655B2 (en) | Image processing apparatus, image processing method, program, storage medium, and system | |
JP4645396B2 (en) | Image processing device | |
JP2023035051A (en) | Inspection device, control method thereof, inspection system, image formation apparatus and program | |
JP4164458B2 (en) | Information processing apparatus and method, computer program, and computer-readable storage medium | |
JP2004153331A (en) | Method for processing image | |
JP2005157928A (en) | Stamp processor, electronic approval system, program and recording medium | |
JP2008148263A (en) | Image forming apparatus, and its control method | |
JP2008287440A (en) | Image processor and program | |
JP4305343B2 (en) | Image processing device | |
JP4379280B2 (en) | Information processing apparatus and information processing method | |
JP2007142986A (en) | Image processor and image processing method | |
JP4345623B2 (en) | Image processing device | |
JP2009141525A (en) | Apparatus and method of processing image | |
JP2008119992A (en) | Information processor and information processing program | |
JP2009147705A (en) | Apparatus and method for processing image and program | |
JP2007299321A (en) | Information processor, information processing method, information processing program and information storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
RD02 | Notification of acceptance of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7422 Effective date: 20071113 |
|
RD04 | Notification of resignation of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7424 Effective date: 20071115 |
|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20080924 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20100728 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20100817 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20101015 |
|
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: 20101109 |
|
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: 20101122 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20131217 Year of fee payment: 3 |
|
R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
LAPS | Cancellation because of no payment of annual fees |