JP2005267084A - Image processing method and device - Google Patents

Image processing method and device Download PDF

Info

Publication number
JP2005267084A
JP2005267084A JP2004076894A JP2004076894A JP2005267084A JP 2005267084 A JP2005267084 A JP 2005267084A JP 2004076894 A JP2004076894 A JP 2004076894A JP 2004076894 A JP2004076894 A JP 2004076894A JP 2005267084 A JP2005267084 A JP 2005267084A
Authority
JP
Japan
Prior art keywords
image
processing
unit
character
raster
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
JP2004076894A
Other languages
Japanese (ja)
Inventor
Kazuhiro Soga
和浩 曽我
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fuji Xerox Co Ltd filed Critical Fuji Xerox Co Ltd
Priority to JP2004076894A priority Critical patent/JP2005267084A/en
Publication of JP2005267084A publication Critical patent/JP2005267084A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Processing Or Creating Images (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide an image processing method and a device capable of converting image data described in a page description language or the like into an image file of a comparatively small size, and capable of creating a multilayered image at a comparatively high speed. <P>SOLUTION: An object extracting part 2 extracts objects from the page description language or the like. If the extracted object is a character object, after carrying out a process such as expansion suiting the character object by a character processing part 4, a compression process suiting the character object is carried out by a character compressing part 5. If the detected object is a raster object, after carrying out a process such as expansion suiting the raster object by a raster processing part 6, a compression process suiting the raster object is carried out by a raster compressing part 7. If the extracted object is a figure object, after carrying out a process such as expansion suiting the figure object by a figure processing part 8, a compression process suiting the figure object is carried out by a figure compressing part 9. <P>COPYRIGHT: (C)2005,JPO&NCIPI

Description

本発明は、画像処理方法および装置に関し、特に、多層イメージを生成する画像処理方法および装置に関する。   The present invention relates to an image processing method and apparatus, and more particularly to an image processing method and apparatus for generating a multilayer image.

近年、コンピュータやその周辺機器の技術の発達により、電子文書が利用される機会が増大している。これに伴い、特定のプラットフォームや特定のアプリケーションソフトウェアに依存する形式の電子文書から、これらに依存しない形式の電子文書へ変換する処理に対する需要も増大している。   In recent years, opportunities for using electronic documents are increasing due to the development of technology of computers and peripheral devices. Accordingly, there is an increasing demand for processing for converting an electronic document that depends on a specific platform or specific application software into an electronic document that does not depend on the electronic document.

特定のアプリケーションソフトウェア等に依存しない形式の電子文書としては、イメージフォーマットであるTIFF(Tagged Image File Format)等があるが、最近では、TIFF−FX(RFC2301)のProfile Mで規定されるMRC(Mixed Raster Content)等が注目を集めている。   As an electronic document of a format that does not depend on specific application software, there is an image format such as TIFF (Tagged Image File Format). (Raster Content) has attracted attention.

MRCとは、複数のレイヤで構成される多層イメージのファイルフォーマットであり、例えば、文字(text)を表すイメージとラスタ画像(image)を異なるレイヤとすることで、それぞれに適切な画像処理を施すことができる利点を有するものである。   MRC is a multi-layer image file format composed of a plurality of layers. For example, an image representing a character (text) and a raster image (image) are set to different layers, and appropriate image processing is performed on each. It has the advantage that it can.

通常のイメージから多層イメージへの変換は、TI(text/image)分離処理によりイメージを分離することにより行われることが多い。   The conversion from a normal image to a multilayer image is often performed by separating the images by TI (text / image) separation processing.

なお、イメージに対し、その部分毎に異なる処理を行う技術としては、特許文献1に記載された技術等がある。
特開平5−94521号公報
As a technique for performing different processing on an image for each part, there is a technique described in Patent Document 1.
JP-A-5-94521

しかしながら、TI分離処理により多層イメージを生成する場合には、その処理に時間を要するとともに、正確にイメージを分離することが困難である。   However, when a multilayer image is generated by TI separation processing, it takes time for the processing and it is difficult to accurately separate the images.

また、ページ記述言語等で記述された画像データをイメージに変換する場合には、そのデータサイズが大きなものになってしまうことが多い。   In addition, when image data described in a page description language or the like is converted into an image, the data size often becomes large.

そこで、本発明は、ページ記述言語等で記述された画像データを比較的小さなサイズのイメージファイルに変換することができるとともに、比較的高速で多層イメージを作成することのできる画像処理方法および装置を提供することを目的とする。   Therefore, the present invention provides an image processing method and apparatus capable of converting image data described in a page description language or the like into an image file having a relatively small size and creating a multilayer image at a relatively high speed. The purpose is to provide.

上述した目的を達成するため、請求項1の発明は、描画命令で構成される画像データに基づいて多層イメージを生成する画像処理方法であって、描画命令に基づいて該描画命令により描画されるオブジェクトの種別を特定し、該特定した種別に応じて各描画命令に対する処理を選択し、該選択した処理のそれぞれの処理結果に基づいて多層イメージを生成することを特徴とする。   In order to achieve the above-described object, the invention of claim 1 is an image processing method for generating a multi-layer image based on image data constituted by a drawing command, and is drawn by the drawing command based on the drawing command. A type of the object is specified, a process for each drawing command is selected according to the specified type, and a multilayer image is generated based on each processing result of the selected process.

また、請求項2の発明は、請求項1の発明において、前記処理は、前記描画命令に基づくイメージの描画処理であることを特徴とする。   According to a second aspect of the present invention, in the first aspect of the invention, the process is an image drawing process based on the drawing command.

また、請求項3の発明は、請求項1または2の発明において、前記処理は、前記描画命令に基づいて描画されたイメージの圧縮処理であることを特徴とする。   According to a third aspect of the present invention, in the first or second aspect of the present invention, the processing is compression processing of an image drawn based on the drawing command.

また、請求項4の発明は、請求項1乃至3のいずれかの発明において、前記処理は、前記オブジェクトの種別がラスタイメージの場合と、文字若しくは図形の場合とで異なることを特徴とする。   The invention of claim 4 is characterized in that, in the invention of any one of claims 1 to 3, the processing differs depending on whether the object type is a raster image or a character or a figure.

また、請求項5の発明は、請求項1乃至3のいずれかの発明において、前記処理は、前記オブジェクトの種別がラスタイメージの場合と、文字の場合と、図形の場合とで異なることを特徴とする。   The invention according to claim 5 is the invention according to any one of claims 1 to 3, wherein the processing differs depending on whether the object type is a raster image, a character, or a graphic. And

また、請求項6の発明は、請求項1乃至3のいずれかの発明において、前記オブジェクトの種別が文字の場合に、該オブジェクトのテキスト情報を取得し、該取得したテキスト情報を前記多層イメージに内包させることを特徴とする。   The invention of claim 6 is the invention according to any one of claims 1 to 3, wherein when the type of the object is a character, the text information of the object is acquired, and the acquired text information is converted into the multilayer image. It is characterized by being included.

また、請求項7の発明は、描画命令で構成される画像データに基づいて多層イメージを生成する画像処理装置において、描画命令に基づいて該描画命令により描画されるオブジェクトの種別を特定するオブジェクト種別特定手段と、前記オブジェクト種別特定手段が特定したオブジェクトの種別に応じて各描画命令に対する処理を実行する複数の処理手段と、前記処理手段によるそれぞれの処理結果に基づいて多層イメージを生成する多層イメージ生成手段とを具備することを特徴とする。   According to a seventh aspect of the present invention, in an image processing apparatus that generates a multi-layer image based on image data configured by a drawing command, an object type that specifies a type of an object drawn by the drawing command based on the drawing command Identification means, a plurality of processing means for executing processing for each rendering command in accordance with the type of object specified by the object type specification means, and a multilayer image for generating a multilayer image based on each processing result by the processing means And generating means.

また、請求項8の発明は、請求項7の発明において、前記処理手段は、それぞれ前記描画命令に基づいてイメージを描画する描画処理手段を具備することを特徴とする。   The invention according to claim 8 is the invention according to claim 7, wherein the processing means comprises drawing processing means for drawing an image based on the drawing command.

また、請求項9の発明は、請求項7または8の発明において、前記処理手段は、それぞれ前記描画命令に基づいて描画されたイメージを圧縮する圧縮処理手段を具備することを特徴とする。   The invention according to claim 9 is the invention according to claim 7 or 8, characterized in that the processing means includes compression processing means for compressing an image drawn based on the drawing command.

また、請求項10の発明は、請求項7乃至9のいずれかの発明において、前記処理手段は、前記オブジェクトの種別がラスタイメージの描画命令に対する処理を実行するラスタ処理手段と、前記オブジェクトの種別が文字若しくは図形の描画命令に対する処理を実行する文字図形処理手段とであることを特徴とする。   According to a tenth aspect of the present invention, in the invention according to any one of the seventh to ninth aspects, the processing means includes: a raster processing means for executing a process in response to a raster image rendering command; and a type of the object. Is a character graphic processing means for executing processing for a character or graphic drawing command.

また、請求項11の発明は、請求項7乃至9のいずれかの発明において、前記処理手段は、前記オブジェクトの種別がラスタイメージの描画命令に対する処理を実行するラスタ処理手段と、前記オブジェクトの種別が文字の描画命令に対する処理を実行する文字処理手段と、前記オブジェクトの種別が図形の描画命令に対する処理を実行する図形処理手段とであることを特徴とする。   According to an eleventh aspect of the present invention, in any one of the seventh to ninth aspects, the processing means includes: raster processing means for executing processing in response to a raster image rendering command; Are character processing means for executing processing for a character drawing command, and graphic processing means for executing processing for a graphic drawing command.

また、請求項12の発明は、請求項7乃至9のいずれかの発明において、前記オブジェクトの種別が文字の場合に、該オブジェクトのテキスト情報を抽出するテキスト情報抽出手段をさらに具備し、前記多層イメージ生成手段は、前記テキスト情報抽出手段が抽出したテキスト情報を前記多層イメージに内包させることを特徴とする。   The invention of claim 12 further comprises text information extracting means for extracting text information of the object when the type of the object is character in the invention of any of claims 7 to 9, wherein the multilayer The image generation means includes the text information extracted by the text information extraction means in the multilayer image.

本発明によれば、描画命令に基づいて該描画命令により描画されるオブジェクトの種別を特定し、該特定した種別に応じた処理を実行するように構成したので、正確にオブジェクトを分離することができるとともに、各オブジェクトに応じた最適な処理を実行することができ、比較的サイズの小さなイメージファイルを生成することが可能となる。   According to the present invention, the type of the object drawn by the drawing command is specified based on the drawing command, and the process according to the specified type is executed, so that the object can be accurately separated. In addition, it is possible to execute optimal processing according to each object, and to generate an image file having a relatively small size.

以下、本発明に係る画像処理方法および装置の一実施の形態について、添付図面を参照して詳細に説明する。   Hereinafter, an image processing method and apparatus according to an embodiment of the present invention will be described in detail with reference to the accompanying drawings.

以下の各実施例において説明する画像処理装置は、単体として利用できることはもちろん、プリンタやファックス(インターネットファックス)等の画像形成装置の一部として利用することができる。   The image processing apparatuses described in the following embodiments can be used as a single unit, as well as part of an image forming apparatus such as a printer or a fax machine (Internet fax).

図1は、実施例1における画像処理装置の機能的な構成を示すブロック図である。同図に示すように、画像処理装置100は、データ取得部1とオブジェクト抽出部2、コマンド情報保持部3、文字処理部4、文字圧縮部5、ラスタ処理部6、ラスタ圧縮部7、図形処理部8、図形圧縮部9、処理決定部10、イメージ結合部11、出力部12を具備して構成される。   FIG. 1 is a block diagram illustrating a functional configuration of the image processing apparatus according to the first embodiment. As shown in the figure, the image processing apparatus 100 includes a data acquisition unit 1, an object extraction unit 2, a command information holding unit 3, a character processing unit 4, a character compression unit 5, a raster processing unit 6, a raster compression unit 7, a figure. A processing unit 8, a graphics compression unit 9, a processing determination unit 10, an image combination unit 11, and an output unit 12 are provided.

データ取得部1は、画像データを取得する。取得する画像データは、ページ記述言語やGDI(Graphic Device Interface)、DDI、動画コマンド等の静止画や動画を表示または出力させるための言語やコマンド全般を取り扱う。   The data acquisition unit 1 acquires image data. The acquired image data handles a page description language, GDI (Graphic Device Interface), DDI, a language for displaying or outputting a moving image such as a moving image command, and general commands.

オブジェクト抽出部2は、コマンド情報保持部3が保持する対応情報に基づいて、データ取得部1が取得した画像データから、文字、ラスタイメージ、図形等のオブジェクトを抽出する。   The object extraction unit 2 extracts objects such as characters, raster images, and figures from the image data acquired by the data acquisition unit 1 based on correspondence information held by the command information holding unit 3.

コマンド情報保持部3は、データ取得部1が受付可能な画像データの各言語(命令)やコマンドとオブジェクトの対応情報を保持する。対応情報は、例えば、「lineto」のような線を引くことを意味するコマンドは、図形オブジェクトであるといった情報である。   The command information holding unit 3 holds each language (command) of image data that can be received by the data acquisition unit 1 and correspondence information between commands and objects. The correspondence information is, for example, information that a command that means drawing a line such as “lineto” is a graphic object.

文字処理部4は、オブジェクト抽出部2が抽出した文字オブジェクトをビットマップイメージに展開し、展開したビットマップイメージに対して、文字オブジェクトに適した処理を施す。文字圧縮部5は、文字処理部4が処理を施したビットマップイメージを文字オブジェクトに適した方法で圧縮する。なお、文字処理部4による処理と文字圧縮部5による圧縮方法については後述する。   The character processing unit 4 expands the character object extracted by the object extraction unit 2 into a bitmap image, and performs processing suitable for the character object on the expanded bitmap image. The character compression unit 5 compresses the bitmap image processed by the character processing unit 4 by a method suitable for the character object. The processing by the character processing unit 4 and the compression method by the character compression unit 5 will be described later.

ラスタ処理部6は、オブジェクト抽出部2が抽出したラスタオブジェクトをビットマップイメージに展開し、展開したビットマップイメージに対して、ラスタオブジェクトに適した処理を施す。ラスタ圧縮部7は、ラスタ処理部6が処理を施したビットマップイメージをラスタオブジェクトに適した方法で圧縮する。なお、ラスタ処理部6による処理とラスタ圧縮部7による圧縮方法については後述する。   The raster processing unit 6 expands the raster object extracted by the object extraction unit 2 into a bitmap image, and performs processing suitable for the raster object on the expanded bitmap image. The raster compression unit 7 compresses the bitmap image processed by the raster processing unit 6 by a method suitable for the raster object. The processing by the raster processing unit 6 and the compression method by the raster compression unit 7 will be described later.

図形処理部8は、オブジェクト抽出部2が抽出した図形オブジェクトをビットマップイメージに展開し、展開したビットマップイメージに対して、図形オブジェクトに適した処理を施す。図形圧縮部9は、図形処理部8が処理を施したビットマップイメージを図形オブジェクトに適した方法で圧縮する。なお、図形処理部8による処理と図形圧縮部9による圧縮方法については後述する。   The graphic processing unit 8 expands the graphic object extracted by the object extracting unit 2 into a bitmap image, and performs processing suitable for the graphic object on the expanded bitmap image. The graphic compression unit 9 compresses the bitmap image processed by the graphic processing unit 8 by a method suitable for the graphic object. The processing by the graphic processing unit 8 and the compression method by the graphic compression unit 9 will be described later.

処理決定部10は、オブジェクト毎の処理方法を決定し、決定した処理方法を文字処理部4、ラスタ処理部6、図形処理部8のそれぞれに通知する。通知する処理方法は、予め設定された方法、若しくはユーザにより指定された方法である。   The processing determining unit 10 determines a processing method for each object and notifies the character processing unit 4, the raster processing unit 6, and the graphic processing unit 8 of the determined processing method. The processing method to be notified is a preset method or a method designated by the user.

イメージ結合部11は、文字圧縮部5で圧縮された文字オブジェクトのイメージと、ラスタ圧縮部7で圧縮されたラスタオブジェクトのイメージ、図形圧縮部9で圧縮された図形オブジェクトのイメージを多層イメージに結合する。   The image combining unit 11 combines the character object image compressed by the character compression unit 5, the raster object image compressed by the raster compression unit 7, and the graphic object image compressed by the graphic compression unit 9 into a multilayer image. To do.

出力部12は、イメージ結合部11で結合された多層イメージを出力する。   The output unit 12 outputs the multilayer image combined by the image combining unit 11.

ここで、オブジェクト抽出部2の動作について補足する。例えば、データ取得部1が図2に示すようなデータを取得したとすると、オブジェクト抽出部2は、このデータに含まれる各コマンドが、どのオブジェクトの描画コマンドであるかを、コマンド情報保持部3が保持する対応情報に基づいて判断する。   Here, it supplements about operation | movement of the object extraction part 2. FIG. For example, if the data acquisition unit 1 acquires data as shown in FIG. 2, the object extraction unit 2 determines which object drawing command each command included in this data is a command information holding unit 3. Judged based on the correspondence information held by

図2に示したデータの場合、
100 100 moveto
100 200 rlineto
stroke
は、図形オブジェクトを描画するコマンドであるから、当該コマンドを図形展開部10へ渡す。
In the case of the data shown in FIG.
100 100 moveto
100 200 rlineto
stroke
Is a command for drawing a graphic object, and passes the command to the graphic development unit 10.

また、
10
10
true
[10 0 0 -10 0 10]
{<003B00 002700 0E4940 114920 14B220 FFFFFF 17FF8C 175F41 3803C4 7AAAAA F8EDFC CCCCCC BB6F84 31BFC2>}
imagemask
は、ラスタオブジェクトを描画するコマンドであるから、当該コマンドをラスタ展開部7へ渡す。
Also,
Ten
Ten
true
[10 0 0 -10 0 10]
{<003B00 002700 0E4940 114920 14B220 FFFFFF 17FF8C 175F41 3803C4 7AAAAA F8EDFC CCCCCC BB6F84 31BFC2>}
imagemask
Since this is a command for drawing a raster object, the command is passed to the raster development unit 7.

また、
/Times 10 selectfont
(Letter)show
は、文字オブジェクトを描画するコマンドであるから、当該コマンドを文字展開部4へ渡す。
Also,
/ Times 10 selectfont
(Letter) show
Since this is a command for drawing a character object, the command is passed to the character expansion unit 4.

なお、図2に示したデータ中、「showpage」は、ページ描画を指示するコマンドであるが、オブジェクト抽出部2は、これをページの終わりとして判断し、ページの終わりを文字処理部4、ラスタ処理部6、図形処理部8に通知する。   In the data shown in FIG. 2, “showpage” is a command for instructing page drawing, but the object extraction unit 2 determines this as the end of the page, and determines the end of the page as the character processing unit 4 and the raster. This is notified to the processing unit 6 and the graphic processing unit 8.

次に、各オブジェクトに対する処理を説明する。   Next, processing for each object will be described.

文字オブジェクトは、一般的に解像度が高くないと画質が悪くなる。このため、文字処理部4は、文字オブジェクトを比較的高解像度でビットマップイメージに展開する。また、文字サイズが大きい場合には、低解像度でも画質が悪くなり難いため、一定サイズ以上の文字に対しては、文字処理部4は、比較的低解像度でビットマップイメージに展開する。なお、複数の文字サイズが混在する場合には、それぞれ異なる解像度でビットマップイメージに展開するようにしてもよい。   A character object generally has poor image quality unless the resolution is high. Therefore, the character processing unit 4 develops the character object into a bitmap image with a relatively high resolution. If the character size is large, the image quality is unlikely to deteriorate even at a low resolution, so the character processing unit 4 develops a bitmap image at a relatively low resolution for characters of a certain size or larger. In addition, when a plurality of character sizes are mixed, they may be developed into bitmap images with different resolutions.

また、文字オブジェクトは、可逆圧縮を行っても、十分にデータサイズが小さくなるため、文字圧縮部5は、可逆圧縮処理を行う。   In addition, since the data size of the character object is sufficiently small even if lossless compression is performed, the character compression unit 5 performs lossless compression processing.

ラスタオブジェクトは、一般的に解像度が低いと画質が劣化する。このため、ラスタ処理部6は、比較的高解像でラスタオブジェクトをビットマップイメージに展開する。また、ラスタオブジェクトは、ノイズを含むことも多いため、ラスタ処理部6は、ノイズ除去処理を行う。   A raster object generally deteriorates in image quality when the resolution is low. Therefore, the raster processing unit 6 develops a raster object into a bitmap image with a relatively high resolution. In addition, since the raster object often includes noise, the raster processing unit 6 performs noise removal processing.

また、ラスタオブジェクトは、可逆圧縮ではデータサイズが大きくなってしまうので、ラスタ圧縮部7は、非可逆圧縮を行って、データサイズを小さくする。   In addition, since the data size of the raster object becomes large in the lossless compression, the raster compression unit 7 performs the lossy compression to reduce the data size.

図形オブジェクトは、一般的に解像度が低くても画質が保たれるため、図形処理部8は、比較的的低解像度で図形オブジェクトをビットマップイメージに展開する。ただし、図形オブジェクトが階調表現を含む場合には、その階調を損なうことがないように、図形処理部8は、比較的的高解像度で図形オブジェクトをビットマップイメージに展開する。図形オブジェクトが複数の場合で、階調表現を含むものと含まないものとが混在する場合には、それぞれ異なる解像度でビットマップイメージに展開するようにしてもよい。   Since the graphic object generally maintains the image quality even when the resolution is low, the graphic processing unit 8 develops the graphic object into a bitmap image at a relatively low resolution. However, when the graphic object includes gradation representation, the graphic processing unit 8 develops the graphic object into a bitmap image with a relatively high resolution so as not to impair the gradation. In the case where there are a plurality of graphic objects, and those that include gradation representations and those that do not include gradation representations, they may be developed into bitmap images with different resolutions.

また、図形オブジェクトは、可逆圧縮を行っても、十分にデータサイズが小さくなるため、図形圧縮部9は、可逆圧縮処理を行う。   In addition, even if lossless compression is performed on a graphic object, the data size is sufficiently small, so the graphic compression unit 9 performs lossless compression processing.

次に、イメージ結合部11の処理について説明する。イメージ結合部11は、文字圧縮部5とラスタ圧縮部7、図形圧縮部9でそれぞれ処理が施されたビットマップイメージを多層イメージに結合するとともに、イメージの種類情報を付加する。イメージの結合は、例えば、文字圧縮部5、ラスタ圧縮部7、図形圧縮部9が、それぞれ、図3(a)、図3(b)、図3(c)に示すようなビットマップイメージ(実際には圧縮されている)を出力した場合に、図3(d)に示すようなイメージへ結合する。   Next, processing of the image combining unit 11 will be described. The image combining unit 11 combines the bitmap images processed by the character compression unit 5, raster compression unit 7, and graphic compression unit 9 into a multilayer image and adds image type information. For example, the character compression unit 5, raster compression unit 7, and figure compression unit 9 may combine the bitmap images (FIG. 3A, FIG. 3B, and FIG. 3C) as shown in FIG. When it is output, it is combined with an image as shown in FIG.

イメージ種類情報は、文字オブジェクト、ラスタオブジェクト、図形オブジェクトのいずれのものを含んでいるかを示す情報を有しており、例えば、多層イメージのうちの文字部分のみを印刷または表示しようとする場合等に利用されるものである。   The image type information includes information indicating whether a character object, a raster object, or a graphic object is included. For example, when printing or displaying only a character portion of a multilayer image, etc. It is what is used.

図4は、実施例2における画像処理装置の機能的な構成を示すブロック図である。同図に示すように、画像処理装置200は、データ取得部201とオブジェクト抽出部202、コマンド情報保持部203、文字処理部204、文字圧縮部205、ラスタ処理部206、ラスタ圧縮部207、図形処理部208、図形圧縮部209、処理決定部210、出力部212、テキスト抽出部213、イメージ結合部214を具備して構成される。   FIG. 4 is a block diagram illustrating a functional configuration of the image processing apparatus according to the second embodiment. As shown in the figure, the image processing apparatus 200 includes a data acquisition unit 201, an object extraction unit 202, a command information holding unit 203, a character processing unit 204, a character compression unit 205, a raster processing unit 206, a raster compression unit 207, a graphic A processing unit 208, a graphic compression unit 209, a processing determination unit 210, an output unit 212, a text extraction unit 213, and an image combination unit 214 are configured.

なお、データ取得部201、オブジェクト抽出部202、コマンド情報保持部203、文字処理部204、文字圧縮部205、ラスタ処理部206、ラスタ圧縮部207、図形処理部208、図形圧縮部209、処理決定部210、出力部212は、それぞれ、実施例1における画像処理装置100(図1参照)のデータ取得部1、オブジェクト抽出部2、コマンド情報保持部3、文字処理部4、文字圧縮部5、ラスタ処理部6、ラスタ圧縮部7、図形処理部8、図形圧縮部9、処理決定部10、出力部12と同様の構成であるため、その説明は省略し、テキスト抽出部213とイメージ結合部214についてのみ説明する。   Note that the data acquisition unit 201, object extraction unit 202, command information holding unit 203, character processing unit 204, character compression unit 205, raster processing unit 206, raster compression unit 207, graphic processing unit 208, graphic compression unit 209, processing decision The unit 210 and the output unit 212 are respectively a data acquisition unit 1, an object extraction unit 2, a command information holding unit 3, a character processing unit 4, a character compression unit 5, and the image processing apparatus 100 (see FIG. 1) in the first embodiment. Since the configuration is the same as that of the raster processing unit 6, raster compression unit 7, graphic processing unit 8, graphic compression unit 9, processing determination unit 10, and output unit 12, the description thereof is omitted, and the text extraction unit 213 and the image combining unit are omitted. Only 214 will be described.

テキスト抽出部213は、文字処理部204が処理する文字オブジェクトからテキスト情報(文字コード)を抽出する。   The text extraction unit 213 extracts text information (character code) from the character object processed by the character processing unit 204.

イメージ結合部214は、実施例1における画像処理装置100のイメージ結合部11と同様に、ビットマップイメージの多層イメージへの結合とイメージの種類情報の付加に加えて、テキスト抽出部213が抽出したテキスト情報を結合した多層イメージに内包させる。このテキスト情報は、検索処理等に用いることができる。   Similar to the image combining unit 11 of the image processing apparatus 100 according to the first embodiment, the image combining unit 214 extracts the text image extracted by the text extracting unit 213 in addition to combining the bitmap image with the multilayer image and adding the image type information. The text information is included in the combined multilayer image. This text information can be used for search processing and the like.

なお、イメージ結合部214は、テキスト抽出部213が抽出したテキスト情報を多層イメージに内包する代わりに、別のファイルやメモリ等にテキスト情報を格納し、当該ファイルやメモリのアドレス等を該当する多層イメージと関連付けるようにしてもよい。   Note that instead of including the text information extracted by the text extraction unit 213 in a multilayer image, the image combining unit 214 stores the text information in another file, memory, or the like, and specifies the file, memory address, or the like corresponding to the multilayer information. You may make it relate with an image.

図5は、実施例3における画像処理装置の機能的な構成を示すブロック図である。同図に示すように、画像処理装置300は、データ取得部301とオブジェクト抽出部302、コマンド情報保持部303、ラスタ処理部306、ラスタ圧縮部307、処理決定部310、出力部312、文字・図形処理部315、文字・図形圧縮部316、イメージ結合部317を具備して構成される。   FIG. 5 is a block diagram illustrating a functional configuration of the image processing apparatus according to the third embodiment. As shown in the figure, the image processing apparatus 300 includes a data acquisition unit 301, an object extraction unit 302, a command information holding unit 303, a raster processing unit 306, a raster compression unit 307, a processing determination unit 310, an output unit 312, A graphic processing unit 315, a character / graphic compression unit 316, and an image combining unit 317 are provided.

なお、データ取得部301、オブジェクト抽出部302、コマンド情報保持部303、ラスタ処理部306、ラスタ圧縮部307、処理決定部310、出力部312は、それぞれ、実施例1における画像処理装置100(図1参照)のデータ取得部1、オブジェクト抽出部2、コマンド情報保持部3、ラスタ処理部6、ラスタ圧縮部7、処理決定部10、出力部12と同様の構成であるため、その説明は省略する。   Note that the data acquisition unit 301, the object extraction unit 302, the command information holding unit 303, the raster processing unit 306, the raster compression unit 307, the processing determination unit 310, and the output unit 312 are respectively the image processing apparatus 100 (FIG. The data acquisition unit 1, the object extraction unit 2, the command information holding unit 3, the raster processing unit 6, the raster compression unit 7, the processing determination unit 10, and the output unit 12, are not described here. To do.

文字・図形処理部315は、文字オブジェクトと図形オブジェクトの両者を処理する。文字・図形処理部315が実行する処理は、実施例1における画像処理装置100の文字処理部4が実行する処理と図形処理部8が実行する処理の両者を含むものである。   The character / graphic processing unit 315 processes both character objects and graphic objects. The processing executed by the character / graphic processing unit 315 includes both processing executed by the character processing unit 4 and processing executed by the graphic processing unit 8 of the image processing apparatus 100 according to the first embodiment.

文字・図形圧縮部316は、文字・図形処理部315が展開したビットマップイメージに対して圧縮処理を施す。文字オブジェクトと図形オブジェクトは、いずれも、可逆圧縮で十分にデータサイズを小さくすることができるので、文字・図形圧縮部316は、可逆圧縮処理を行う。   The character / graphic compression unit 316 performs compression processing on the bitmap image developed by the character / graphic processing unit 315. Since both the character object and the graphic object can sufficiently reduce the data size by the lossless compression, the character / graphic compression unit 316 performs the lossless compression process.

イメージ結合部317は、ラスタ圧縮部307が出力するビットマップイメージと文字・図形圧縮部315が出力するビットマップイメージを多層イメージに結合し、これにイメージ種類情報を付加する処理を行う。   The image combining unit 317 performs processing for combining the bitmap image output from the raster compression unit 307 and the bitmap image output from the character / graphic compression unit 315 into a multilayer image and adding image type information thereto.

なお、画像処理装置300に、実施例2における画像処理装置200のテキスト抽出部213に相当する構成を加え、イメージ結合部317がテキスト情報を多層イメージに内包させる処理を行うようにすることも可能である。   Note that it is also possible to add a configuration corresponding to the text extraction unit 213 of the image processing apparatus 200 in the second embodiment to the image processing apparatus 300 so that the image combining unit 317 performs a process of including text information in a multilayer image. It is.

実施例1における画像処理装置の機能的な構成を示すブロック図である。1 is a block diagram illustrating a functional configuration of an image processing apparatus in Embodiment 1. FIG. 画像データの例を示した図である。It is the figure which showed the example of image data. 多層イメージの結合例を示した図である。It is the figure which showed the example of a coupling | bonding of a multilayer image. 実施例2における画像処理装置の機能的な構成を示すブロック図である。6 is a block diagram illustrating a functional configuration of an image processing apparatus according to Embodiment 2. FIG. 実施例3における画像処理装置の機能的な構成を示すブロック図である。FIG. 10 is a block diagram illustrating a functional configuration of an image processing apparatus according to a third embodiment.

符号の説明Explanation of symbols

1 データ取得部
2 オブジェクト抽出部
3 コマンド情報保持部
4 文字処理部
5 文字圧縮部
6 ラスタ処理部
7 ラスタ圧縮部
8 図形処理部
9 図形圧縮部
10 処理決定部
11 イメージ結合部
12 出力部
100 画像処理装置
200 画像処理装置
201 データ取得部
202 オブジェクト抽出部
203 コマンド情報保持部
204 文字処理部
205 文字圧縮部
206 ラスタ処理部
207 ラスタ圧縮部
208 図形処理部
209 図形圧縮部
210 処理決定部
211 出力部
213 テキスト抽出部
214 イメージ結合部
300 画像処理装置
301 データ取得部
302 オブジェクト抽出部
303 コマンド情報保持部
306 ラスタ処理部
307 ラスタ圧縮部
310 処理決定部
312 出力部
315 文字・図形処理部
316 文字・図形圧縮部
317 イメージ結合部
DESCRIPTION OF SYMBOLS 1 Data acquisition part 2 Object extraction part 3 Command information holding part 4 Character processing part 5 Character compression part 6 Raster processing part 7 Raster compression part 8 Graphic processing part 9 Graphic compression part 10 Process determination part 11 Image connection part 12 Output part 100 Image Processing device 200 Image processing device 201 Data acquisition unit 202 Object extraction unit 203 Command information holding unit 204 Character processing unit 205 Character compression unit 206 Raster processing unit 207 Raster compression unit 208 Graphic processing unit 209 Graphic compression unit 210 Processing determination unit 211 Output unit 213 Text extraction unit 214 Image combination unit 300 Image processing device 301 Data acquisition unit 302 Object extraction unit 303 Command information holding unit 306 Raster processing unit 307 Raster compression unit 310 Processing determination unit 312 Output unit 315 Character / graphic processing unit 316 Character / graphic compression unit 317 Image combination unit

Claims (12)

描画命令で構成される画像データに基づいて多層イメージを生成する画像処理方法であって、
描画命令に基づいて該描画命令により描画されるオブジェクトの種別を特定し、該特定した種別に応じて各描画命令に対する処理を選択し、該選択した処理のそれぞれの処理結果に基づいて多層イメージを生成することを特徴とする画像処理方法。
An image processing method for generating a multi-layer image based on image data composed of drawing commands,
The type of the object drawn by the drawing command is specified based on the drawing command, the processing for each drawing command is selected according to the specified type, and the multilayer image is created based on the processing result of the selected processing. An image processing method comprising generating the image processing method.
前記処理は、
前記描画命令に基づくイメージの描画処理であることを特徴とする請求項1記載の画像処理方法。
The process is
The image processing method according to claim 1, wherein the image processing is image drawing processing based on the drawing command.
前記処理は、
前記描画命令に基づいて描画されたイメージの圧縮処理であることを特徴とする請求項1または2に記載の画像処理方法。
The process is
The image processing method according to claim 1, wherein the image processing method is compression processing of an image drawn based on the drawing command.
前記処理は、
前記オブジェクトの種別がラスタイメージの場合と、文字若しくは図形の場合とで異なることを特徴とする請求項1乃至3のいずれかに記載の画像処理方法。
The process is
4. The image processing method according to claim 1, wherein the object type is different between a raster image and a character or graphic.
前記処理は、
前記オブジェクトの種別がラスタイメージの場合と、文字の場合と、図形の場合とで異なることを特徴とする請求項1乃至3のいずれかに記載の画像処理方法。
The process is
4. The image processing method according to claim 1, wherein the object type is different for a raster image, a character, and a graphic.
前記オブジェクトの種別が文字の場合に、該オブジェクトのテキスト情報を取得し、該取得したテキスト情報を前記多層イメージに内包させることを特徴とする請求項1乃至3のいずれかに記載の画像処理方法。 4. The image processing method according to claim 1, wherein when the type of the object is a character, text information of the object is acquired, and the acquired text information is included in the multilayer image. . 描画命令で構成される画像データに基づいて多層イメージを生成する画像処理装置において、
描画命令に基づいて該描画命令により描画されるオブジェクトの種別を特定するオブジェクト種別特定手段と、
前記オブジェクト種別特定手段が特定したオブジェクトの種別に応じて各描画命令に対する処理を実行する複数の処理手段と、
前記処理手段によるそれぞれの処理結果に基づいて多層イメージを生成する多層イメージ生成手段と
を具備することを特徴とする画像処理装置。
In an image processing apparatus that generates a multi-layer image based on image data composed of drawing commands,
An object type specifying means for specifying a type of an object drawn by the drawing command based on the drawing command;
A plurality of processing means for executing processing for each drawing command according to the type of the object specified by the object type specifying means;
An image processing apparatus comprising: a multi-layer image generating unit that generates a multi-layer image based on each processing result of the processing unit.
前記処理手段は、
それぞれ前記描画命令に基づいてイメージを描画する描画処理手段を具備することを特徴とする請求項7記載の画像処理装置。
The processing means includes
8. The image processing apparatus according to claim 7, further comprising drawing processing means for drawing an image based on each drawing command.
前記処理手段は、
それぞれ前記描画命令に基づいて描画されたイメージを圧縮する圧縮処理手段を具備することを特徴とする請求項7または8に記載の画像処理装置。
The processing means includes
9. The image processing apparatus according to claim 7, further comprising compression processing means for compressing an image drawn based on the drawing command.
前記処理手段は、
前記オブジェクトの種別がラスタイメージの描画命令に対する処理を実行するラスタ処理手段と、
前記オブジェクトの種別が文字若しくは図形の描画命令に対する処理を実行する文字図形処理手段と
であることを特徴とする請求項7乃至9のいずれかに記載の画像処理装置。
The processing means includes
Raster processing means for executing processing for a rendering command of a raster image of the object type;
The image processing apparatus according to claim 7, wherein the object type is a character / graphic processing unit that executes processing for a character or graphic drawing command.
前記処理手段は、
前記オブジェクトの種別がラスタイメージの描画命令に対する処理を実行するラスタ処理手段と、
前記オブジェクトの種別が文字の描画命令に対する処理を実行する文字処理手段と、
前記オブジェクトの種別が図形の描画命令に対する処理を実行する図形処理手段と
であることを特徴とする請求項7乃至9のいずれかに記載の画像処理装置。
The processing means includes
Raster processing means for executing processing for a rendering command of a raster image of the object type;
Character processing means for executing processing for a drawing command of the object type being a character;
The image processing apparatus according to claim 7, wherein the object type is a graphic processing unit that executes processing for a graphic drawing command.
前記オブジェクトの種別が文字の場合に、該オブジェクトのテキスト情報を抽出するテキスト情報抽出手段をさらに具備し、
前記多層イメージ生成手段は、
前記テキスト情報抽出手段が抽出したテキスト情報を前記多層イメージに内包させる
ことを特徴とする請求項7乃至9のいずれかに記載の画像処理装置。
A text information extracting means for extracting text information of the object when the type of the object is a character;
The multilayer image generation means includes
The image processing apparatus according to claim 7, wherein text information extracted by the text information extraction unit is included in the multilayer image.
JP2004076894A 2004-03-17 2004-03-17 Image processing method and device Pending JP2005267084A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004076894A JP2005267084A (en) 2004-03-17 2004-03-17 Image processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004076894A JP2005267084A (en) 2004-03-17 2004-03-17 Image processing method and device

Publications (1)

Publication Number Publication Date
JP2005267084A true JP2005267084A (en) 2005-09-29

Family

ID=35091591

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004076894A Pending JP2005267084A (en) 2004-03-17 2004-03-17 Image processing method and device

Country Status (1)

Country Link
JP (1) JP2005267084A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007122255A (en) * 2005-10-26 2007-05-17 Fuji Xerox Co Ltd Image processing device, image processing method and image processing program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007122255A (en) * 2005-10-26 2007-05-17 Fuji Xerox Co Ltd Image processing device, image processing method and image processing program
JP4747780B2 (en) * 2005-10-26 2011-08-17 富士ゼロックス株式会社 Image processing apparatus, image processing method, and image processing program

Similar Documents

Publication Publication Date Title
JP5274305B2 (en) Image processing apparatus, image processing method, and computer program
US8954845B2 (en) Image processing device, method and storage medium for two-way linking between related graphics and text in an electronic document
JP5404303B2 (en) Image processing apparatus, image processing method, and program
US20100315681A1 (en) Image processing apparatus, image processing method, and computer-readable storage medium
JP5171733B2 (en) Image processing apparatus and image processing method
JP2008167314A (en) Image processing apparatus
JP2013125994A (en) Image compression device, image compression method, and computer program
JP4747780B2 (en) Image processing apparatus, image processing method, and image processing program
JP5089308B2 (en) Image processing device
JP5814591B2 (en) Image forming apparatus and image forming method
JP2008042345A (en) Image processing method and image processor
JP2008206073A (en) Image processing apparatus, control method, program, and storage medium
JP2005267084A (en) Image processing method and device
JP2009278242A (en) Image synthesis method, print system, and image synthesis program
JP5441676B2 (en) Image processing apparatus and processing method thereof
JP5612851B2 (en) Information processing apparatus, information processing method, and program
JP2008287440A (en) Image processor and program
JP2001169120A (en) Method, device, and system for image processing
JP4747624B2 (en) Print data generation apparatus and program
US8705141B2 (en) Method and system for efficiently printing simple data using a complex page data stream
JP2007299321A (en) Information processor, information processing method, information processing program and information storage medium
JP5315637B2 (en) Image processing apparatus, electronic document system, and program
JP5622466B2 (en) Image forming apparatus and control method thereof
JP4822960B2 (en) Image processing apparatus and image processing method
JP2013131942A (en) Image processing device