JP4753006B2 - Image encoding apparatus, image decoding apparatus, and programs thereof - Google Patents

Image encoding apparatus, image decoding apparatus, and programs thereof Download PDF

Info

Publication number
JP4753006B2
JP4753006B2 JP2005143430A JP2005143430A JP4753006B2 JP 4753006 B2 JP4753006 B2 JP 4753006B2 JP 2005143430 A JP2005143430 A JP 2005143430A JP 2005143430 A JP2005143430 A JP 2005143430A JP 4753006 B2 JP4753006 B2 JP 4753006B2
Authority
JP
Japan
Prior art keywords
halftone dot
dot pattern
image
dictionary
binary halftone
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
Application number
JP2005143430A
Other languages
Japanese (ja)
Other versions
JP2006324713A (en
Inventor
裕 越
雅則 関野
俊一 木村
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox Co Ltd
Fujifilm Business Innovation Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fuji Xerox Co Ltd, Fujifilm Business Innovation Corp filed Critical Fuji Xerox Co Ltd
Priority to JP2005143430A priority Critical patent/JP4753006B2/en
Publication of JP2006324713A publication Critical patent/JP2006324713A/en
Application granted granted Critical
Publication of JP4753006B2 publication Critical patent/JP4753006B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、様々な濃度の2値画像を符号化する画像符号化装置に関する。   The present invention relates to an image encoding device that encodes binary images of various densities.

JBIG2に規定されるテキスト領域においては、部分画像(シンボル)が、辞書として登録される。このシンボルは、辞書のインデクスと位置とにより表現される。テキスト領域符号化が2値網点画像データに対して適用されると、類型的な網点パターンがシンボルとして登録される。   In the text area defined by JBIG2, partial images (symbols) are registered as a dictionary. This symbol is expressed by a dictionary index and position. When text region encoding is applied to binary halftone image data, a typical halftone dot pattern is registered as a symbol.

2値網点画像においては、黒画素の塊が連続して網点を構成する。これらの網点は、網点を構成する黒画素が、他の網点を構成する黒画素と離れている場合には、一つのシンボルとして容易に切り出される。
しかしながら、網点濃度が高い領域においては、網点を構成する黒画素が、他の網点を構成する黒画素と連続するので、網点それぞれが適切に切り出されることが困難である。
このため、シンボルは、複数の網点を含むシンボルとして辞書に登録され、この辞書が用いられる場合には、高い圧縮率で圧縮されることは期待できない。
In a binary halftone dot image, a block of black pixels continuously forms a halftone dot. These halftone dots are easily cut out as one symbol when the black pixels constituting the halftone dots are separated from the black pixels constituting the other halftone dots.
However, in the region where the halftone dot density is high, the black pixels constituting the halftone dots are continuous with the black pixels constituting the other halftone dots, and it is difficult to appropriately cut out each halftone dot.
For this reason, symbols are registered in a dictionary as symbols including a plurality of halftone dots, and when this dictionary is used, it cannot be expected to be compressed at a high compression rate.

尚、特許文献1においては、シンボルを辞書に記憶することにより、グラフィックデータを符号化する方法が開示されているが、この方法では、位置情報及びシンボル情報に加えて色情報(CLUT変換テーブル等)が辞書に記憶されるので、符号化は効率よくなされない。
特開2000−101446
In Patent Document 1, a method of encoding graphic data by storing symbols in a dictionary is disclosed, but in this method, in addition to position information and symbol information, color information (CLUT conversion table or the like) is disclosed. ) Is stored in the dictionary, so encoding is not performed efficiently.
JP 2000-101446 A

本発明は、上述した背景からなされたものであり、2値網点画像を高圧縮率で圧縮できる画像符号化装置及び画像復号化装置を提供することを目的とする。   The present invention has been made from the above-described background, and an object thereof is to provide an image encoding device and an image decoding device capable of compressing a binary halftone image at a high compression rate.

上記目的を達成するために、本発明に係る第1の画像符号化装置は、2値網点パターンとこの2値網点パターンの特徴とを含む入力画像を入力する入力手段と、前記入力手段により入力された入力画像に対してスクリーン処理を施し、2値網点パターンの特徴を抽出する網点特徴抽出手段と、前記網点特徴抽出手段により抽出された2値網点パターンの特徴に基づいて、2値網点パターンを識別する辞書を作成する辞書作成手段と、前記辞書作成手段により作成された辞書に基づいて、入力画像を符号化する符号化手段とを有する。 In order to achieve the above object, a first image encoding device according to the present invention includes an input means for inputting an input image including a binary halftone dot pattern and features of the binary halftone dot pattern, and the input means. Screen processing is performed on the input image input by step (b) to extract the characteristics of the binary halftone dot pattern, and based on the features of the binary halftone dot pattern extracted by the halftone dot feature extraction means. And a dictionary creating means for creating a dictionary for identifying a binary halftone dot pattern, and an encoding means for coding an input image based on the dictionary created by the dictionary creating means.

好適には、前記符号化手段は、前記辞書作成手段により作成された辞書に基づいて、JBIG2に規定されるテキスト領域符号化により入力画像を符号化する。
好適には、前記入力手段は、2値網点パターンの特徴として、少なくとも2値網点パターンの周期、位相、形状並びにサイズのいずれかを含む入力画像を入力する。
好適には、前記符号化手段は、2値網点パターンを識別する識別情報と、この2値網点パターンが入力画像において現れる位置とを、互いに対応づけて符号化する。
Preferably, the encoding means encodes the input image by text region encoding defined in JBIG2 based on the dictionary created by the dictionary creating means.
Preferably, the input means inputs an input image including at least one of the period, phase, shape and size of the binary halftone dot pattern as a characteristic of the binary halftone dot pattern.
Preferably, the encoding means encodes the identification information for identifying the binary halftone dot pattern and the position where the binary halftone dot pattern appears in the input image in association with each other.

また、本発明に係る第2の画像符号化装置は、2値網点パターンを含む入力画像に対してスクリーン処理を施し、2値網点パターンの特徴を抽出する抽出手段と、前記抽出手段により抽出された2値網点パターンの特徴に基づいて、2値網点パターンを識別する辞書を作成する辞書作成手段と、前記辞書作成手段により作成された辞書に基づいて、入力画像を符号化する符号化手段とを有する。 The second image encoding apparatus according to the present invention performs screen processing on an input image including a binary halftone dot pattern and extracts features of the binary halftone dot pattern; A dictionary creating means for creating a dictionary for identifying the binary halftone dot pattern based on the extracted binary halftone dot pattern characteristics, and an input image is encoded based on the dictionary created by the dictionary creating means. Encoding means.

好適には、前記抽出手段は、少なくとも2値網点パターンの周期、位相、形状並びにサイズのいずれかを抽出する。
好適には、前記符号化手段は、2値網点パターンを識別する識別情報と、この2値網点パターンが入力画像において現れる位置とを、互いに対応づけて符号化する。
Preferably, the extraction unit extracts at least one of the period, phase, shape, and size of the binary halftone dot pattern.
Preferably, the encoding means encodes the identification information for identifying the binary halftone dot pattern and the position where the binary halftone dot pattern appears in the input image in association with each other.

本発明に係る画像復号化装置は、2値網点パターンとこの2値網点パターンの特徴とを含む入力画像を入力し、この入力画像にスクリーン処理を施して抽出される2値網点パターンの特徴に基づいて、2値網点パターンを識別する辞書を作成し、この辞書に基づいて入力画像を符号化して生成された符号データに基づいて、この符号データを復号化する復号化手段と、前記復号化手段による復号結果と、辞書とを用いて、復号画像を生成する画像生成手段とを有する。 An image decoding apparatus according to the present invention inputs an input image including a binary halftone dot pattern and features of the binary halftone dot pattern, and performs a screen process on the input image to extract a binary halftone dot pattern And a decoding means for decoding the code data based on code data generated by encoding an input image based on the dictionary, and creating a dictionary for identifying a binary halftone dot pattern based on the characteristics of And an image generation means for generating a decoded image using a decoding result by the decoding means and a dictionary.

好適には、前記復号化手段は、2値網点パターンの識別情報と、この2値網点パターンが入力画像において現れる位置とを復号化する。
好適には、前記画像生成手段は、前記復号化手段により復号化された2値網点パターンの識別情報と、この2値網点パターンが入力画像において現れる位置とをさらに用いて、復号画像を生成する。
Preferably, the decoding means decodes the binary halftone dot pattern identification information and the position where the binary halftone dot pattern appears in the input image.
Preferably, the image generating means further uses the identification information of the binary halftone dot pattern decoded by the decoding means and the position at which the binary halftone dot pattern appears in the input image, to obtain a decoded image. Generate.

本発明に係る第1のプログラムは、コンピュータを含む画像符号化装置において、2値網点パターンとこの2値網点パターンの特徴とを含む入力画像を入力する入力ステップと、前記入力された入力画像に対してスクリーン処理を施し、2値網点パターンの特徴を抽出する網点特徴抽出ステップと、前記抽出された2値網点パターンの特徴に基づいて、2値網点パターンを識別する辞書を作成する辞書作成ステップと、前記作成された辞書に基づいて、入力画像を符号化する符号化ステップとを前記画像符号化装置のコンピュータに実行させる。 A first program according to the present invention includes: an input step of inputting an input image including a binary halftone dot pattern and features of the binary halftone dot pattern in an image encoding device including a computer; and the input input A halftone dot feature extracting step for performing screen processing on the image and extracting features of the binary halftone dot pattern, and a dictionary for identifying the binary halftone dot pattern based on the extracted binary halftone dot pattern features And a coding step for coding an input image based on the created dictionary.

また、本発明に係る第2のプログラムは、コンピュータを含む画像符号化装置において、2値網点パターンを含む入力画像に対してスクリーン処理を施し、2値網点パターンの特徴を抽出する抽出ステップと、前記抽出された2値網点パターンの特徴に基づいて、2値網点パターンを識別する辞書を作成する辞書作成ステップと、前記作成された辞書に基づいて、入力画像を符号化する符号化ステップとを前記画像符号化装置のコンピュータに実行させる。 In addition, the second program according to the present invention is an extraction step of performing screen processing on an input image including a binary halftone dot pattern and extracting features of the binary halftone dot pattern in an image encoding device including a computer. A dictionary creating step for creating a dictionary for identifying the binary dot pattern based on the extracted binary dot pattern features; and a code for encoding the input image based on the created dictionary To the computer of the image encoding device.

さらに、本発明に係る第3のプログラムは、コンピュータを含む画像復号化装置において、2値網点パターンとこの2値網点パターンの特徴とを含む入力画像を入力し、この入力画像にスクリーン処理を施して抽出される2値網点パターンの特徴に基づいて、2値網点パターンを識別する辞書を作成し、この辞書に基づいて入力画像を符号化して生成された符号データに基づいて、この符号データを復号化する復号化ステップと、前記復号化された結果と、辞書とを用いて、復号画像を生成する画像生成ステップとを前記画像復号化装置のコンピュータに実行させる。 Furthermore, a third program according to the present invention inputs an input image including a binary halftone dot pattern and features of the binary halftone dot pattern in an image decoding device including a computer, and performs screen processing on the input image. Based on the characteristics of the binary halftone dot pattern extracted by applying a dictionary for identifying the binary halftone dot pattern, based on the code data generated by encoding the input image based on this dictionary, The computer of the image decoding apparatus is caused to execute a decoding step for decoding the code data, an image generation step for generating a decoded image using the decoded result, and a dictionary.

本発明の画像符号化装置によれば、2値網点画像を高圧縮率で圧縮できる。   According to the image encoding device of the present invention, a binary halftone image can be compressed at a high compression rate.

まず、本発明の理解を助けるために、その背景及び概略を説明する。
2値画像の符号化方式として、JBIG2のハーフトーン領域符号化が提案されている。
図1は、ハーフトーン領域の符号化処理を説明する図であり、図1(A)は、符号化対象である2値画像を例示し、図1(B)は、ハーフトーン領域符号化処理において作成される画像辞書を例示し、図1(C)は、この画像辞書を用いて生成された符号データ及びその復号画像を例示する。
図1(A)に例示するように、2値の画像要素(本例では、文字画像「A」)は、濃度値(階調値)に応じた複数の網点パターンで構成され、擬似的に階調表現される。網点パターンの大きさは、濃度値に対応している。本例では、文字画像「A」が均一な濃度を有するため、均一な大きさの網点パターンが文字画像「A」を構成している。JBIG2のハーフトーン領域符号化処理は、これら2値網点パターンを濃度値に対応付けて画像辞書に登録し、網点パターンで構成された2値画像を符号化する。
First, in order to help understanding of the present invention, its background and outline will be described.
As a binary image encoding method, JBIG2 halftone region encoding has been proposed.
1A and 1B are diagrams for explaining a halftone area encoding process. FIG. 1A illustrates a binary image to be encoded, and FIG. 1B illustrates a halftone area encoding process. FIG. 1C illustrates code data generated using the image dictionary and its decoded image.
As illustrated in FIG. 1A, a binary image element (in this example, a character image “A”) is composed of a plurality of halftone dot patterns corresponding to density values (tone values), and is simulated. Is expressed in gradation. The size of the halftone dot pattern corresponds to the density value. In this example, since the character image “A” has a uniform density, a halftone dot pattern of a uniform size constitutes the character image “A”. In the halftone area encoding process of JBIG2, these binary halftone dot patterns are registered in the image dictionary in association with the density values, and a binary image composed of the halftone dot patterns is encoded.

図1(B)に例示するように、入力画像において、大きさの異なる複数の網点パターンが存在する場合に、それぞれの網点パターンがインデクス(濃度値)に対応付けられて画像辞書に登録される。このインデクスは、それぞれの網点パターンを一意に識別する識別情報であり、本例では、濃度値である。
この画像辞書を用いて、入力画像が符号化されると、図1(C)に例示するような符号データが生成される。符号データは、入力画像における各領域の濃度値(すなわち、インデクス)と、この濃度値が存在する位置を示す位置情報(格子状の位置)とで構成される。
そして、この符号データが復号化され、画像辞書が参照されて、復号画像が生成される。具体的には、符号データから復号化された濃度値に基づいて、画像辞書に登録されている網点パターンが選択され、選択された網点パターンが符号データから復号化された位置情報に応じて配置されて、復号画像が生成される。
As illustrated in FIG. 1B, when a plurality of halftone dot patterns having different sizes exist in the input image, each halftone dot pattern is associated with an index (density value) and registered in the image dictionary. Is done. This index is identification information for uniquely identifying each halftone dot pattern, and is a density value in this example.
When an input image is encoded using this image dictionary, code data as illustrated in FIG. 1C is generated. The code data is composed of density values (that is, indexes) of respective regions in the input image and position information (grid-like positions) indicating positions where the density values exist.
Then, the code data is decoded, and an image dictionary is referred to generate a decoded image. Specifically, based on the density value decoded from the code data, a halftone dot pattern registered in the image dictionary is selected, and the selected halftone dot pattern corresponds to the position information decoded from the code data. And a decoded image is generated.

図2は、エッジが存在する2値の入力画像をハーフトーン領域符号化処理により符号化した場合の画像辞書及び復号画像を例示する図である。
図2に例示するように、入力画像は、より解像度の低い多値化されて、濃度値が、2値網点パターンとして画像辞書に登録される。入力画像がハーフトーン領域符号化処理により符号化されると、その復号画像においては、文字画像「A」のエッジ情報が失われてしまう場合がある。
FIG. 2 is a diagram illustrating an image dictionary and a decoded image when a binary input image having an edge is encoded by a halftone region encoding process.
As illustrated in FIG. 2, the input image is multi-valued with lower resolution, and the density value is registered in the image dictionary as a binary halftone dot pattern. When the input image is encoded by the halftone area encoding process, the edge information of the character image “A” may be lost in the decoded image.

また、JBIG2では、テキスト領域符号化が提案されている。テキスト領域符号化処理では、入力画像において出現する類型的な画像パターン(シンボル)を、この画像パターンを識別するインデクスに対応付けて画像辞書(シンボル辞書)に登録し、このシンボル辞書を用いて、入力画像を符号化する。テキスト領域符号化が網点画像に適用されると、入力画像のエッジ領域に存在する各網点画像(エッジ情報を有する網点画像)が、それぞれ網点パターンとしてシンボル辞書に登録されるため、エッジ情報が保持された復号画像が得られる。このため、テキスト領域符号化処理は、ハーフトーン領域符号化処理より、画質の劣化を防ぐことができる。   In JBIG2, text area encoding has been proposed. In the text region encoding process, a typical image pattern (symbol) appearing in an input image is registered in an image dictionary (symbol dictionary) in association with an index for identifying the image pattern, and this symbol dictionary is used, Encode the input image. When text region encoding is applied to a halftone image, each halftone image (halftone image having edge information) existing in the edge region of the input image is registered in the symbol dictionary as a halftone pattern. A decoded image holding the edge information is obtained. For this reason, the text area encoding process can prevent image quality deterioration more than the halftone area encoding process.

図3は、テキスト領域符号化処理を説明する図であり、図3(A)は、入力画像が低濃度である場合を例示し、図3(B)は、入力画像が高濃度である場合を例示する。
図3(A)に例示するように、テキスト領域符号化処理では、入力画像に含まれる全ての網点パターンがシンボル辞書に登録される。入力画像が低濃度である場合には、それぞれの網点パターンは、互いに離れているので、個別の網点パターンと認識される。網点パターンが、シンボル辞書に登録されると、インデクスが、各網点パターンに対して付与される。網点パターンは、付与されたインデクスにより、一意に識別される。入力画像は、インデクスと、このインデクスが付与されたシンボルが入力画像において現れる位置とを対応づけて、テキスト領域符号化により符号化される。
図3(B)に例示するように、入力画像が高濃度である場合には、網点パターンは、隣接する網点パターンと黒画素が連続して構成される。この場合、網点パターンは、ひとつの大きな塊として、シンボル辞書に登録されうる。
3A and 3B are diagrams for explaining the text region encoding process. FIG. 3A illustrates the case where the input image has a low density, and FIG. 3B illustrates the case where the input image has a high density. Is illustrated.
As illustrated in FIG. 3A, in the text region encoding process, all halftone dot patterns included in the input image are registered in the symbol dictionary. When the input image has a low density, the respective halftone dot patterns are separated from each other, and thus are recognized as individual halftone dot patterns. When a halftone dot pattern is registered in the symbol dictionary, an index is assigned to each halftone dot pattern. The halftone dot pattern is uniquely identified by the assigned index. The input image is encoded by text region encoding by associating an index with a position where a symbol to which the index is added appears in the input image.
As illustrated in FIG. 3B, when the input image has a high density, the halftone dot pattern is composed of a continuous halftone dot pattern and a black pixel. In this case, the halftone dot pattern can be registered in the symbol dictionary as one large block.

[画像処理装置]
図4は、本発明に係る画像処理装置2による符号化処理を例示する図である。
図4に示すように、画像処理装置2は、2値網点パターンを含む2値入力画像を入力すると、網点パターンの特徴に基づいて、シンボル辞書を作成する。網点パターンの特徴は、入力画像データに含まれており、例えば、少なくとも網点パターンの周期、位相、形状並びにサイズのいずれかである。画像処理装置2は、作成されたシンボル辞書に基づいて、網点パターンを識別する識別情報(インデクス)と、この2値網点パターンが入力画像において現れる位置とを、互いに対応づけて、テキスト領域符号化により符号化して、符号データを生成する。また、画像処理装置2は、入力画像に網点パターンの特徴が含まれていない場合においても、網点パターンの特徴を抽出して、シンボル辞書を作成する。
このため、画像処理装置2は、高解像度網点画像(2400dpi〜9600dpi)を、効率よく高画質に符号化できる。
[Image processing device]
FIG. 4 is a diagram illustrating an encoding process by the image processing apparatus 2 according to the present invention.
As shown in FIG. 4, when a binary input image including a binary halftone dot pattern is input, the image processing apparatus 2 creates a symbol dictionary based on the characteristics of the halftone dot pattern. The characteristics of the halftone dot pattern are included in the input image data, and are, for example, at least one of the period, phase, shape, and size of the halftone dot pattern. The image processing device 2 associates identification information (index) for identifying a halftone dot pattern with a position where the binary halftone dot pattern appears in the input image based on the created symbol dictionary, Encoding is performed by encoding to generate code data. Further, the image processing apparatus 2 creates a symbol dictionary by extracting the features of the halftone dot pattern even when the features of the halftone dot pattern are not included in the input image.
For this reason, the image processing apparatus 2 can efficiently encode a high-resolution halftone image (2400 dpi to 9600 dpi) with high image quality.

[第1実施形態]
本発明の第1の実施形態に係る画像処理装置2を説明する。
[First Embodiment]
An image processing apparatus 2 according to the first embodiment of the present invention will be described.

[ハードウェア構成]
本実施形態における画像処理装置2のハードウェア構成を説明する。
図5は、本発明に係る符号化方法及び復号化方法が適応される画像処理装置2のハードウェア構成を、制御装置20を中心に例示する図である。本発明に係る画像符号化装置及び画像復号化装置は、画像処理装置2により実現される。
図5に例示するように、画像処理装置2は、CPU202及びメモリ204などを含む制御装置20、通信装置22、HDD・CD装置などの記録装置24、並びに、LCD表示装置あるいはCRT表示装置およびキーボード・タッチパネルなどを含むユーザインターフェース装置(UI装置)26を有する。
画像処理装置2は、例えば、後述する符号化プログラム4及び復号化プログラム5がプリンタドライバの一部としてインストールされた汎用コンピュータであり、通信装置22又は記録装置24などを介して画像データを取得し、取得された画像データを符号化又は復号化してプリンタ装置10に送信する。また、画像処理装置2は、プリンタ装置10のスキャナ機能より光学的に読み取られた画像データを取得し、取得された画像データを符号化してもよい。
[Hardware configuration]
A hardware configuration of the image processing apparatus 2 in the present embodiment will be described.
FIG. 5 is a diagram illustrating a hardware configuration of the image processing apparatus 2 to which the encoding method and the decoding method according to the present invention are applied, centering on the control apparatus 20. The image encoding device and the image decoding device according to the present invention are realized by the image processing device 2.
As illustrated in FIG. 5, the image processing apparatus 2 includes a control device 20 including a CPU 202 and a memory 204, a communication device 22, a recording device 24 such as an HDD / CD device, an LCD display device or a CRT display device, and a keyboard. A user interface device (UI device) 26 including a touch panel and the like is included.
The image processing apparatus 2 is a general-purpose computer in which, for example, an encoding program 4 and a decoding program 5 described later are installed as a part of a printer driver, and acquires image data via the communication apparatus 22 or the recording apparatus 24. The obtained image data is encoded or decoded and transmitted to the printer apparatus 10. Further, the image processing apparatus 2 may acquire image data optically read by the scanner function of the printer apparatus 10 and encode the acquired image data.

[符号化プログラム]
図6は、制御装置20(図5)により実行され、本発明に係る符号化方法を実現する第1の符号化プログラム4の機能構成を例示する図である。
図6に例示するように、符号化プログラム4は、ラスタ生成部400、シンボル辞書作成部402、シンボル位置生成部404及び符号化部406を含む。
なお、符号化プログラム4の全部又は一部の機能は、プリンタ装置10に設けられたASICなどにより実現されてもよい。
[Encoding program]
FIG. 6 is a diagram illustrating a functional configuration of the first encoding program 4 which is executed by the control device 20 (FIG. 5) and realizes the encoding method according to the present invention.
As illustrated in FIG. 6, the encoding program 4 includes a raster generation unit 400, a symbol dictionary creation unit 402, a symbol position generation unit 404, and an encoding unit 406.
Note that all or some of the functions of the encoding program 4 may be realized by an ASIC provided in the printer apparatus 10 or the like.

符号化プログラム4において、ラスタ生成部400は、通信装置22又は記録装置24などを介して取得されたPDL(Page
Description Language)形式の入力画像データを入力する。この入力画像データには、2値網点パターンを含む2値入力画像と、この2値網点パターンの特徴とが含まれる。2値網点パターンの特徴は、スクリーン処理に関するパラメータであり、例えば少なくとも2値網点パターンの周期、位相、形状並びにサイズのいずれかである。これらのパラメータに関しては後述する。このようにして、ラスタ生成部400は、2値網点パターンとこの2値網点パターンの特徴とを含む入力手段を構成する。
In the encoding program 4, the raster generation unit 400 uses a PDL (Page acquired through the communication device 22 or the recording device 24).
Enter the input image data in the Description Language format. The input image data includes a binary input image including a binary halftone dot pattern and features of the binary halftone dot pattern. The characteristic of the binary halftone dot pattern is a parameter relating to screen processing, and is at least one of the period, phase, shape, and size of the binary halftone dot pattern, for example. These parameters will be described later. In this way, the raster generation unit 400 constitutes an input unit that includes a binary halftone dot pattern and the characteristics of this binary halftone dot pattern.

ラスタ生成部400は、入力画像を各色成分のラスタデータ(色成分画像)に変換して、シンボル辞書作成部402及びシンボル位置生成部404に対して出力する。また、ラスタ生成部400は、入力画像データに含まれる2値網点パターンの特徴を、シンボル辞書作成部402に対して出力する。なお、以降、2値網点パターンを網点パターンと略記する場合がある。   The raster generation unit 400 converts the input image into raster data (color component image) of each color component, and outputs it to the symbol dictionary creation unit 402 and the symbol position generation unit 404. The raster generation unit 400 outputs the characteristics of the binary halftone dot pattern included in the input image data to the symbol dictionary creation unit 402. Hereinafter, the binary halftone dot pattern may be abbreviated as a halftone dot pattern.

シンボル辞書作成部402は、ラスタ生成部400から入力された2値網点パターンの周期等に基づいて、入力画像の符号化処理に適用されるシンボル辞書を作成し、シンボル位置生成部404に対して出力する。
より具体的には、シンボル辞書作成部402は、ラスタ生成部400から入力された網点パターンの周期、位相、形状並びにサイズに基づいて、入力画像から、各色成分画像で出現する網点パターン(シンボル)を抽出する。さらに、シンボル辞書作成部402は、抽出されたシンボルに対して、それぞれのシンボルを識別するインデクスを付与する。即ち、シンボル辞書作成部402は、シンボルにインデクスを対応づけてシンボル辞書を作成する。インデクスは、例えば、入力画像毎に個別に生成される識別情報であり、入力画像からシンボルが抽出される順番でそのシンボルに付与されるシリアル番号等であってもよい。このようにして、シンボル辞書作成部402は、2値網点パターンを識別する辞書を作成する辞書作成手段を構成する。
The symbol dictionary creation unit 402 creates a symbol dictionary to be applied to the encoding process of the input image based on the period of the binary halftone dot pattern input from the raster generation unit 400 and the symbol position generation unit 404 Output.
More specifically, the symbol dictionary creation unit 402, based on the period, phase, shape, and size of the halftone dot pattern input from the raster generation unit 400, from the input image, a halftone dot pattern ( Symbol). Further, the symbol dictionary creation unit 402 gives an index for identifying each symbol to the extracted symbols. That is, the symbol dictionary creation unit 402 creates a symbol dictionary by associating an index with a symbol. The index is, for example, identification information generated individually for each input image, and may be a serial number assigned to the symbol in the order in which the symbol is extracted from the input image. In this manner, the symbol dictionary creation unit 402 constitutes a dictionary creation unit that creates a dictionary for identifying a binary halftone dot pattern.

シンボル位置生成部404は、シンボル辞書に登録されたシンボルと、各色成分画像に含まれる網点パターンとを比較して、いずれかのシンボルと一致又は類似する網点パターンを特定し、この網点パターンに対応するインデクスと、この網点パターンの位置情報とを対応づけるシンボル・位置対応データを生成する。シンボル位置生成部404は、生成されたシンボル・位置対応データを、符号化部406に対して出力する。   The symbol position generation unit 404 compares a symbol registered in the symbol dictionary with a halftone dot pattern included in each color component image, identifies a halftone dot pattern that matches or resembles any symbol, and this halftone dot Symbol / position correspondence data for associating the index corresponding to the pattern with the position information of the halftone dot pattern is generated. The symbol position generation unit 404 outputs the generated symbol / position correspondence data to the encoding unit 406.

符号化部406は、シンボル位置生成部404により生成されたシンボル・位置対応データを、JBIG2に規定されるテキスト領域符号化により符号化して符号データを生成し、この符号データを記録装置24(図5)又はプリンタ装置10などに出力する。さらに、符号化部406は、シンボル辞書をエントロピー符号化(ハフマン符号化、算術符号化又はLZ符号化など)により符号化してもよい。
このようにして、シンボル位置生成部404及び符号化部406は、作成されたシンボル辞書に基づいて、入力画像を符号化する符号化手段を構成する。
The encoding unit 406 generates code data by encoding the symbol / position correspondence data generated by the symbol position generation unit 404 by text region encoding specified in JBIG2, and generates the code data in the recording device 24 (FIG. 5) or output to the printer 10 or the like. Furthermore, the encoding unit 406 may encode the symbol dictionary by entropy encoding (Huffman encoding, arithmetic encoding, LZ encoding, or the like).
In this manner, the symbol position generation unit 404 and the encoding unit 406 constitute an encoding unit that encodes an input image based on the created symbol dictionary.

図7は、シンボル辞書の作成において用いられる網点パターンの特徴を説明する図である。
図7に示すように、網点パターンの特徴は、あらかじめ処理されるスクリーン処理において用いられるスクリーン単位領域を表す値であって、少なくとも網点パターンの周期、位相、形状並びにサイズのいずれかを含む。スクリーン単位領域は、例えば5×5のマトリクスの形状、サイズである。スクリーン単位領域の形状は、例えば主走査方向に対して45度の配列で、周期的に配列されうる形状であってもよい。スクリーン単位領域の位置は、図中の位相、周期により特定される。このため、網点パターンが、黒画素が隣接する網点パターンの黒画素と連続して構成される場合においても、シンボル辞書作成部402(図6)は、網点パターンの特徴に基づいて、網点パターンを適切に抽出して、シンボルとしてシンボル辞書に登録しうる。
FIG. 7 is a diagram for explaining the characteristics of a halftone dot pattern used in creating a symbol dictionary.
As shown in FIG. 7, the feature of the halftone dot pattern is a value representing a screen unit area used in a preprocessed screen process, and includes at least one of the period, phase, shape, and size of the halftone dot pattern. . The screen unit area has, for example, a 5 × 5 matrix shape and size. The shape of the screen unit region may be a shape that can be periodically arranged, for example, at an angle of 45 degrees with respect to the main scanning direction. The position of the screen unit area is specified by the phase and period in the figure. For this reason, even when the halftone dot pattern is configured continuously with the black pixels of the halftone dot pattern adjacent to the black pixels, the symbol dictionary creation unit 402 (FIG. 6) is based on the features of the halftone dot patterns. A halftone dot pattern can be appropriately extracted and registered in the symbol dictionary as a symbol.

図8は、2値網点パターンの符号化処理を説明する図であり、図8(A)は、高濃度の入力画像を例示し、図8(B)は、入力画像から作成されるシンボル辞書を例示し、図8(C)は、入力画像から生成されるシンボル・位置対応データを例示する。
図8(A)に例示するように、入力画像には、複数の網点パターンが含まれ、高濃度の網点パターンは、黒画素が隣接する網点パターンの黒画素と連続して構成される。
図8(B)に例示するように、シンボル辞書作成部402は、抽出されたシンボルをシンボル辞書に登録し、シンボルそれぞれに対して、これらのシンボルを識別するインデクス(識別情報)を付与して、シンボル辞書を完成させる。
図8(C)に例示するように、シンボル位置生成部404は、登録されたシンボルと、入力画像の各色成分画像に含まれる網点パターンとを比較して、シンボル・位置対応データを生成する。符号化部406は、シンボル位置生成部404に生成されたシンボル・位置対応データを、JBIG2に規定されるテキスト領域符号化により符号化する。
8A and 8B are diagrams for explaining a binary halftone dot pattern encoding process. FIG. 8A illustrates a high-density input image, and FIG. 8B illustrates symbols created from the input image. FIG. 8C illustrates a symbol / position correspondence data generated from an input image.
As illustrated in FIG. 8A, the input image includes a plurality of halftone dot patterns, and the high-density halftone dot pattern is continuously formed with the black pixels of the halftone dot pattern adjacent to the black pixels. The
As illustrated in FIG. 8B, the symbol dictionary creation unit 402 registers the extracted symbols in the symbol dictionary, and assigns an index (identification information) for identifying these symbols to each symbol. Complete the symbol dictionary.
As illustrated in FIG. 8C, the symbol position generation unit 404 compares the registered symbol with the halftone dot pattern included in each color component image of the input image to generate symbol / position correspondence data. . The encoding unit 406 encodes the symbol / position correspondence data generated by the symbol position generation unit 404 by text region encoding defined in JBIG2.

[符号データ]
図9は、符号化プログラム4(図6)により生成される符号データを例示する図である。
図9に例示するように、符号データには、データの属性情報などが含まれたヘッダ、作成されたシンボル辞書、及びインデクスと位置情報とが対応づけられてテキスト領域符号化により符号化されたデータが含まれている。
[Code data]
FIG. 9 is a diagram illustrating code data generated by the encoding program 4 (FIG. 6).
As illustrated in FIG. 9, the encoded data includes a header including data attribute information and the like, a created symbol dictionary, and an index and position information associated with each other and encoded by text region encoding. Contains data.

[符号化動作]
図10は、符号化プログラム4による符号化処理(S10)を示すフローチャートである。
図10に示すように、ステップ100(S100)において、ラスタ生成部400は、PDLファイルが入力画像として入力されると、入力されたPDLファイルに基づいて、網点パターンの周期、位相、形状並びにサイズを取得し、シンボル辞書作成部402に対して出力する。また、ラスタ生成部400は、入力画像データを色成分画像に変換して、シンボル辞書作成部402及びシンボル位置生成部404に対して出力する。
[Encoding operation]
FIG. 10 is a flowchart showing the encoding process (S10) by the encoding program 4.
As shown in FIG. 10, in step 100 (S100), when the PDL file is input as an input image, the raster generation unit 400, based on the input PDL file, the period, phase, shape and halftone dot pattern. The size is acquired and output to the symbol dictionary creation unit 402. The raster generation unit 400 converts the input image data into a color component image and outputs the color component image to the symbol dictionary creation unit 402 and the symbol position generation unit 404.

ステップ102(S102)において、シンボル辞書作成部402は、ラスタ生成部400から入力された網点パターンの周期、位相、形状並びにサイズに基づいて、各色成分画像で出現する網点パターンを抽出して、シンボルとしてシンボル辞書に登録する。さらに、シンボル辞書作成部402は、抽出されたシンボルそれぞれを識別するインデクスを付与して、シンボル辞書を作成する。   In step 102 (S102), the symbol dictionary creation unit 402 extracts a halftone dot pattern that appears in each color component image based on the period, phase, shape, and size of the halftone dot pattern input from the raster generation unit 400. And register it as a symbol in the symbol dictionary. Furthermore, the symbol dictionary creation unit 402 creates an index dictionary by assigning an index for identifying each extracted symbol.

ステップ104(S104)において、シンボル位置生成部404は、各色成分画像において、シンボル辞書を用いて、シンボルと一致又は類似する網点パターンを特定し、このシンボルに対応するインデクスと、この網点パターンが現れる位置とを対応づけるシンボル・位置対応データを生成する。   In step 104 (S104), the symbol position generation unit 404 uses the symbol dictionary in each color component image to identify a halftone dot pattern that matches or is similar to the symbol, an index corresponding to the symbol, and the halftone dot pattern. Symbol / position correspondence data for associating with the position where the symbol appears is generated.

ステップ106(S106)において、符号化部406は、シンボル位置生成部404により生成されたシンボル・位置対応データを、JBIG2に規定されるテキスト領域符号化により符号化する。
ステップ108(S108)において、符号化部406は、符号化されたデータから、図9に示される符号データを生成して、この符号データをプリンタ装置10等に出力する。
In step 106 (S106), the encoding unit 406 encodes the symbol / position correspondence data generated by the symbol position generation unit 404 by text region encoding defined in JBIG2.
In step 108 (S108), the encoding unit 406 generates code data shown in FIG. 9 from the encoded data, and outputs the code data to the printer device 10 or the like.

[復号化プログラム]
図11は、制御装置20(図5)により実行され、本発明に係る画像復号化方法を実現する復号化プログラム5の機能構成を例示する図である。
図11に示すように、復号化プログラム5は、復号処理部500及び復号画像生成部502を含む。なお、復号化プログラム5の全部又は一部の機能は、プリンタ装置10に設けられたASICなどにより実現されてもよい。
[Decryption program]
FIG. 11 is a diagram illustrating a functional configuration of the decoding program 5 which is executed by the control device 20 (FIG. 5) and implements the image decoding method according to the present invention.
As illustrated in FIG. 11, the decoding program 5 includes a decoding processing unit 500 and a decoded image generation unit 502. Note that all or some of the functions of the decryption program 5 may be realized by an ASIC provided in the printer apparatus 10 or the like.

復号化プログラム5において、復号処理部500は、符号化プログラム4が、2値網点パターンとこの2値網点パターンの特徴とを含む入力画像を入力し、この入力画像に含まれる2値網点パターンの特徴に基づいて、2値網点パターンを識別する辞書を作成し、この辞書に基づいて入力画像を符号化して生成した符号データに基づいて、この符号データを、テキスト領域復号化により復号化する。復号処理部500は、復号化された結果を、復号画像生成部502に対して出力する。   In the decoding program 5, the decoding processing unit 500 receives an input image including the binary halftone dot pattern and the characteristics of the binary halftone dot pattern, and the binary network included in the input image. A dictionary for identifying a binary halftone dot pattern is created based on the characteristics of the point pattern, and the code data is generated by decoding the text area based on the code data generated by encoding the input image based on the dictionary. Decrypt. The decoding processing unit 500 outputs the decoded result to the decoded image generation unit 502.

復号画像生成部502は、復号処理部500により復号化されたインデクスと、シンボルの位置と、シンボル辞書とを用いて、復号画像を生成する。より具体的には、復号画像生成部502は、インデクスに基づいてシンボル辞書から対応するシンボルを選択し、この選択されたシンボルを、復号化された位置情報に基づいて復号画像に配置して、復号画像を生成する。   The decoded image generation unit 502 generates a decoded image using the index decoded by the decoding processing unit 500, the position of the symbol, and the symbol dictionary. More specifically, the decoded image generation unit 502 selects a corresponding symbol from the symbol dictionary based on the index, arranges the selected symbol in the decoded image based on the decoded position information, A decoded image is generated.

[復号化動作]
図12は、復号化プログラム5による復号化処理(S20)を示すフローチャートである。
図12に示すように、ステップ200(S200)において、復号処理部500(図11)は、入力された符号データ(図9)を、テキスト領域符号化により復号化して、シンボルを識別するインデクスと、対応する位置情報とを取得する。
ステップ202(S202)において、復号画像生成部502は、インデクスに基づいてシンボル辞書から対応するシンボルを選択し、この選択されたシンボルを、復号化された位置情報に基づいて復号画像に配置して、復号画像を生成して出力する。
[Decryption operation]
FIG. 12 is a flowchart showing the decryption process (S20) by the decryption program 5.
As shown in FIG. 12, in step 200 (S200), the decoding processing unit 500 (FIG. 11) decodes input code data (FIG. 9) by text region encoding, and an index for identifying symbols. , Corresponding position information is acquired.
In step 202 (S202), the decoded image generation unit 502 selects a corresponding symbol from the symbol dictionary based on the index, and arranges the selected symbol in the decoded image based on the decoded position information. Then, a decoded image is generated and output.

以上説明したように、本実施形態における画像処理装置2は、2値網点パターンを含む入力画像を、テキスト領域符号化により符号化するので、ハーフトーン領域符号化に伴う画質の劣化を回避することができる。
また、本実施形態における画像処理装置2は、2値網点パターンの周期、位相、形状並びにサイズに基づいて、入力画像からシンボルを抽出するので、網点パターンの黒画素が隣接する網点パターンの黒画素と連続する場合においても、シンボルを適切に抽出して、高い圧縮率で符号化することができる。
As described above, the image processing apparatus 2 according to the present embodiment encodes an input image including a binary halftone dot pattern by text region encoding, and thus avoids deterioration in image quality due to halftone region encoding. be able to.
Further, since the image processing apparatus 2 in the present embodiment extracts symbols from the input image based on the period, phase, shape, and size of the binary halftone dot pattern, the halftone dot pattern in which the black pixels of the halftone dot pattern are adjacent to each other. Even in the case of continuous with the black pixels, it is possible to appropriately extract symbols and encode them at a high compression rate.

[第2実施形態]
本発明の第2の実施形態に係る画像処理装置2を説明する。
図13は、本発明に係る符号化方法を実現する第2の符号化プログラム6の機能構成を例示する図である。
図13に例示するように、符号化プログラム6は、ラスタ生成部400、網点特徴抽出部600、シンボル辞書作成部402、シンボル位置生成部404及び符号化部406を含む。符号化プログラム6は、網点特徴抽出部600が、スクリーン処理を施して、2値網点パターンの少なくとも周期、位相、形状並びにサイズのいずれかを抽出する点で、符号化プログラム4(図6)と異なる。
なお、図13に示す各構成のうち、図6に示された構成と実質的に同一なものには同一の符号が付されている。
[Second Embodiment]
An image processing apparatus 2 according to the second embodiment of the present invention will be described.
FIG. 13 is a diagram illustrating a functional configuration of the second encoding program 6 that realizes the encoding method according to the present invention.
As illustrated in FIG. 13, the encoding program 6 includes a raster generation unit 400, a halftone dot feature extraction unit 600, a symbol dictionary creation unit 402, a symbol position generation unit 404, and an encoding unit 406. The encoding program 6 is such that the halftone dot feature extraction unit 600 performs screen processing to extract at least one of the period, phase, shape, and size of the binary halftone dot pattern (see FIG. 6). ) Is different.
Of the components shown in FIG. 13, components that are substantially the same as those shown in FIG. 6 are denoted by the same reference numerals.

符号化プログラム6において、ラスタ生成部400は、PDL形式の入力画像データを入力し、入力画像データに含まれる入力画像を各色成分のラスタデータ(色成分画像)に変換して、網点特徴抽出部600、シンボル辞書作成部402及びシンボル位置生成部404に対して出力する。
網点特徴抽出部600は、ラスタ生成部400から入力される色成分画像に対してスクリーン処理を施し、スクリーン処理により得られた網点パターンの特徴(周期、位相、形状並びにサイズ)を、シンボル辞書作成部402に対して出力する。
In the encoding program 6, the raster generation unit 400 receives input image data in PDL format, converts the input image included in the input image data into raster data (color component image) of each color component, and extracts halftone dot features. Output to unit 600, symbol dictionary creation unit 402, and symbol position generation unit 404.
A halftone dot feature extraction unit 600 performs screen processing on the color component image input from the raster generation unit 400, and displays the dot pattern features (period, phase, shape, and size) obtained by the screen processing as symbols. Output to the dictionary creation unit 402.

図14は、符号化プログラム6におけるスクリーン処理を説明する図であり、図14(A)は、スクリーン単位領域の形状及びしきい値パラメータを示し、図14(B)は、スクリーン単位領域と位相との関係を示し、図14(C)及び図14(D)は、スクリーン処理を施された網点パターンを例示する。
図14(A)に示すように、網点パターンの特徴は、網点特徴抽出部600により、しきい値パラメータ(しきい値マトリクス)と、入力画像の画素値とを比較して抽出される。スクリーン単位領域は、それぞれの網点パターンが配置されうる領域であり、例えば5×5画素のサイズ、形状である。また、本例のしきい値パラメータは、25階調の網点パターンに対応する。
また、図14(B)に示すように、スクリーン単位領域は、例えば主走査方向における位相により特定される。また、スクリーン単位領域は、所定の周期により入力画像の画素値と比較されうる。
14A and 14B are diagrams for explaining the screen processing in the encoding program 6. FIG. 14A shows the shape of the screen unit area and threshold parameters, and FIG. 14B shows the screen unit area and the phase. FIG. 14C and FIG. 14D illustrate a halftone dot pattern subjected to screen processing.
As shown in FIG. 14A, the feature of the halftone dot pattern is extracted by the halftone dot feature extraction unit 600 by comparing the threshold parameter (threshold matrix) with the pixel value of the input image. . The screen unit area is an area where each halftone dot pattern can be arranged, and has a size and shape of 5 × 5 pixels, for example. The threshold parameter of this example corresponds to a halftone dot pattern.
Further, as shown in FIG. 14B, the screen unit area is specified by the phase in the main scanning direction, for example. Further, the screen unit area can be compared with the pixel value of the input image at a predetermined cycle.

網点特徴抽出部600は、入力画像に対してスクリーン処理を施して、網点データを特定し、この網点データの周期、位相、形状並びにサイズを抽出する。図14(C)に例示するように、入力画像における領域が中濃度である場合には、スクリーン単位領域における黒画素が隣接する単位領域の黒画素と連続することはない。一方、図14(D)に例示するように、入力画像における領域が高濃度である場合には、黒画素が隣接する単位領域の黒画素と連続する。この場合においても、網点パターンの特徴は、スクリーン処理により抽出される。このようにして、網点特徴抽出部600は、入力画像から網点パターンの特徴を抽出する。   The halftone dot feature extraction unit 600 performs screen processing on the input image, identifies halftone dot data, and extracts the period, phase, shape, and size of the halftone dot data. As illustrated in FIG. 14C, when the area in the input image has a medium density, the black pixel in the screen unit area does not continue to the black pixel in the adjacent unit area. On the other hand, as illustrated in FIG. 14D, when the area in the input image has a high density, the black pixels are continuous with the black pixels in the adjacent unit areas. Also in this case, the features of the halftone dot pattern are extracted by screen processing. In this way, the halftone dot feature extraction unit 600 extracts halftone dot pattern features from the input image.

図15は、符号化プログラム6による符号化処理(S30)を示すフローチャートである。
図15に示すように、ステップ300(S300)において、ラスタ生成部400は、PDLファイルが入力画像として入力されると、色成分画像に変換して、網点特徴抽出部600、シンボル辞書作成部402及びシンボル位置生成部404に対して出力する。網点特徴抽出部600は、入力された色成分画像に対してスクリーン処理を施して、網点パターンの周期、位相、形状並びにサイズを抽出して、シンボル辞書作成部402に対して出力する。
FIG. 15 is a flowchart showing the encoding process (S30) by the encoding program 6.
As shown in FIG. 15, in step 300 (S300), when the PDL file is input as an input image, the raster generation unit 400 converts the PDL file into a color component image, and converts the halftone dot feature extraction unit 600, symbol dictionary creation unit. 402 and the symbol position generation unit 404. The halftone dot feature extraction unit 600 performs screen processing on the input color component image to extract the period, phase, shape, and size of the halftone dot pattern, and outputs the extracted result to the symbol dictionary creation unit 402.

ステップ102(S102)において、シンボル辞書作成部402は、抽出された網点パターンの周期、位相、形状並びにサイズに基づいて、シンボル辞書を作成する。
ステップ104(S104)において、シンボル位置生成部404は、作成されたシンボル辞書を用いて、シンボル・位置対応データを生成する。
ステップ106(S106)において、符号化部406は、シンボル・位置対応データを、テキスト領域符号化により符号化して、符号データを生成する。
In step 102 (S102), the symbol dictionary creation unit 402 creates a symbol dictionary based on the extracted halftone dot pattern period, phase, shape, and size.
In step 104 (S104), the symbol position generation unit 404 generates symbol / position correspondence data using the created symbol dictionary.
In step 106 (S106), the encoding unit 406 encodes the symbol / position correspondence data by text region encoding to generate code data.

以上説明したように、本実施形態における画像処理装置2は、入力画像から2値網点パターンの周期、位相、形状並びにサイズを抽出し、これらのパラメータを用いてシンボル辞書を作成するので、これらのパラメータが入力画像データに含まれていない場合においても、シンボルを適切に抽出して、高い圧縮率で符号化することができる。   As described above, the image processing apparatus 2 in the present embodiment extracts the period, phase, shape, and size of the binary halftone dot pattern from the input image and creates a symbol dictionary using these parameters. Even when the above parameter is not included in the input image data, symbols can be appropriately extracted and encoded at a high compression rate.

ハーフトーン領域の符号化処理を説明する図であり、図1(A)は、符号化対象である2値画像を例示し、図1(B)は、ハーフトーン領域符号化処理において作成される画像辞書を例示し、図1(C)は、この画像辞書を用いて生成された符号データ及びその復号画像を例示する。FIG. 1A illustrates a halftone area encoding process. FIG. 1A illustrates a binary image to be encoded, and FIG. 1B is created in the halftone area encoding process. An image dictionary is illustrated, and FIG. 1C illustrates code data generated using the image dictionary and a decoded image thereof. エッジが存在する2値の入力画像をハーフトーン領域符号化処理により符号化した場合の画像辞書及び復号画像を例示する図である。It is a figure which illustrates the image dictionary and decoded image at the time of encoding the binary input image in which an edge exists by a halftone area | region encoding process. テキスト領域符号化処理を説明する図であり、図3(A)は、入力画像が低濃度である場合を例示し、図3(B)は、入力画像が高濃度である場合を例示する。FIGS. 3A and 3B illustrate a text area encoding process. FIG. 3A illustrates a case where the input image has a low density, and FIG. 3B illustrates a case where the input image has a high density. 本発明に係る画像処理装置2による符号化処理を例示する図である。It is a figure which illustrates the encoding process by the image processing apparatus 2 which concerns on this invention. 本発明に係る符号化方法及び復号化方法が適応される画像処理装置2のハードウェア構成を、制御装置20を中心に例示する図である。It is a figure which illustrates the hardware constitutions of the image processing apparatus 2 to which the encoding method and decoding method which concern on this invention are applied centering on the control apparatus 20. FIG. 制御装置20(図5)により実行され、本発明に係る符号化方法を実現する第1の符号化プログラム4の機能構成を例示する図である。It is a figure which illustrates the functional structure of the 1st encoding program 4 which is performed by the control apparatus 20 (FIG. 5), and implement | achieves the encoding method which concerns on this invention. シンボル辞書の作成において用いられる2値網点パターンの特徴を説明する図である。It is a figure explaining the characteristic of the binary dot pattern used in preparation of a symbol dictionary. 2値網点パターンの符号化処理を説明する図であり、図8(A)は、高濃度の入力画像を例示し、図8(B)は、入力画像から作成されるシンボル辞書を例示し、図8(C)は、入力画像から生成されるシンボル・位置対応データを例示する。FIGS. 8A and 8B illustrate a binary halftone dot pattern encoding process. FIG. 8A illustrates a high-density input image, and FIG. 8B illustrates a symbol dictionary created from the input image. FIG. 8C illustrates symbol / position correspondence data generated from the input image. 符号化プログラム4(図6)により生成される符号データを例示する図である。It is a figure which illustrates the code data produced | generated by the encoding program 4 (FIG. 6). 符号化プログラム4による符号化処理(S10)を示すフローチャートである。It is a flowchart which shows the encoding process (S10) by the encoding program 4. 制御装置20(図5)により実行され、本発明に係る復号化方法を実現する復号化プログラム5の機能構成を例示する図である。It is a figure which illustrates the functional structure of the decoding program 5 which is performed by the control apparatus 20 (FIG. 5) and implement | achieves the decoding method which concerns on this invention. 復号化プログラム5による復号化処理(S20)を示すフローチャートである。It is a flowchart which shows the decoding process (S20) by the decoding program 5. FIG. 、本発明に係る符号化方法を実現する第2の符号化プログラム6の機能構成を例示する図である。FIG. 3 is a diagram illustrating a functional configuration of a second encoding program 6 that realizes an encoding method according to the present invention. 符号化プログラム6におけるスクリーン処理を説明する図であり、図14(A)は、スクリーン単位領域の形状及びしきい値パラメータを示し、図14(B)は、スクリーン単位領域と位相との関係を示し、図14(C)及び図14(D)は、スクリーン処理を施された2値網点パターンを例示する。14A and 14B are diagrams for explaining screen processing in the encoding program 6. FIG. 14A shows the shape of the screen unit area and threshold parameters, and FIG. 14B shows the relationship between the screen unit area and the phase. FIGS. 14C and 14D illustrate binary halftone dot patterns that have undergone screen processing. 符号化プログラム6による符号化処理(S30)を示すフローチャートである。It is a flowchart which shows the encoding process (S30) by the encoding program 6. FIG.

符号の説明Explanation of symbols

2・・・画像処理装置
10・・・プリンタ装置
20・・・制御装置
202・・・CPU
204・・・メモリ
22・・・通信装置
24・・・記録装置
4・・・符号化プログラム
400・・・ラスタ生成部
402・・・シンボル辞書作成部
404・・・シンボル位置生成部
406・・・符号化部
5・・・復号化プログラム
500・・・復号処理部
502・・・復号画像生成部
6・・・符号化プログラム
600・・・網点特徴抽出部
2 ... Image processing device 10 ... Printer device 20 ... Control device 202 ... CPU
204 ... Memory 22 ... Communication device 24 ... Recording device 4 ... Coding program 400 ... Raster generator 402 ... Symbol dictionary generator 404 ... Symbol position generator 406 ... Encoding unit 5: decoding program 500 ... decoding processing unit 502 ... decoded image generation unit 6 ... encoding program 600 ... halftone dot feature extraction unit

Claims (13)

2値網点パターンとこの2値網点パターンの特徴とを含む入力画像を入力する入力手段と、
前記入力手段により入力された入力画像に対してスクリーン処理を施し、2値網点パターンの特徴を抽出する網点特徴抽出手段と、
前記網点特徴抽出手段により抽出された2値網点パターンの特徴に基づいて、2値網点パターンを識別する辞書を作成する辞書作成手段と、
前記辞書作成手段により作成された辞書に基づいて、入力画像を符号化する符号化手段と
を有する画像符号化装置。
Input means for inputting an input image including a binary halftone dot pattern and features of the binary halftone dot pattern;
Halftone dot feature extracting means for performing screen processing on the input image input by the input means and extracting features of a binary halftone dot pattern;
A dictionary creating means for creating a dictionary for identifying a binary halftone dot pattern based on the features of the binary halftone dot pattern extracted by the halftone dot feature extracting means ;
An image coding apparatus comprising: coding means for coding an input image based on the dictionary created by the dictionary creating means.
前記符号化手段は、前記辞書作成手段により作成された辞書に基づいて、JBIG2に規定されるテキスト領域符号化により入力画像を符号化するThe encoding means encodes an input image based on the text area encoding defined in JBIG2 based on the dictionary created by the dictionary creating means.
請求項1に記載の画像符号化装置。  The image encoding device according to claim 1.
前記入力手段は、2値網点パターンの特徴として、少なくとも2値網点パターンの周期、位相、形状並びにサイズのいずれかを含む入力画像を入力する
請求項1に記載の画像符号化装置。
The image coding apparatus according to claim 1, wherein the input unit inputs an input image including at least one of a period, a phase, a shape, and a size of the binary halftone dot pattern as a characteristic of the binary halftone dot pattern.
前記符号化手段は、2値網点パターンを識別する識別情報と、この2値網点パターンが入力画像において現れる位置とを、互いに対応づけて符号化する
請求項1に記載の画像符号化装置。
The image encoding device according to claim 1, wherein the encoding means encodes identification information for identifying a binary halftone dot pattern and a position at which the binary halftone dot pattern appears in an input image in association with each other. .
2値網点パターンを含む入力画像に対してスクリーン処理を施し、2値網点パターンの特徴を抽出する抽出手段と、
前記抽出手段により抽出された2値網点パターンの特徴に基づいて、2値網点パターンを識別する辞書を作成する辞書作成手段と、
前記辞書作成手段により作成された辞書に基づいて、入力画像を符号化する符号化手段と
を有する画像符号化装置。
Extracting means for performing screen processing on an input image including a binary halftone dot pattern and extracting features of the binary halftone dot pattern;
A dictionary creating means for creating a dictionary for identifying a binary halftone dot pattern based on the characteristics of the binary halftone dot pattern extracted by the extracting means;
An image coding apparatus comprising: coding means for coding an input image based on the dictionary created by the dictionary creating means.
前記抽出手段は、少なくとも2値網点パターンの周期、位相、形状並びにサイズのいずれかを抽出する
請求項に記載の画像符号化装置。
The image encoding device according to claim 5 , wherein the extraction unit extracts at least one of a period, a phase, a shape, and a size of a binary halftone dot pattern.
前記符号化手段は、2値網点パターンを識別する識別情報と、この2値網点パターンが入力画像において現れる位置とを、互いに対応づけて符号化する
請求項に記載の画像符号化装置。
The image encoding device according to claim 5 , wherein the encoding means encodes identification information for identifying a binary halftone dot pattern and a position at which the binary halftone dot pattern appears in an input image in association with each other. .
2値網点パターンとこの2値網点パターンの特徴とを含む入力画像を入力し、この入力画像にスクリーン処理を施して抽出される2値網点パターンの特徴に基づいて、2値網点パターンを識別する辞書を作成し、この辞書に基づいて入力画像を符号化して生成された符号データに基づいて、この符号データを復号化する復号化手段と、
前記復号化手段による復号結果と、辞書とを用いて、復号画像を生成する画像生成手段と
を有する画像復号化装置。
An input image including a binary halftone dot pattern and a feature of the binary halftone dot pattern is input, and based on the feature of the binary halftone dot pattern extracted by performing screen processing on the input image , a binary halftone dot is obtained. A decoding unit for creating a dictionary for identifying a pattern and decoding the code data based on code data generated by encoding an input image based on the dictionary;
An image decoding apparatus comprising: an image generation unit configured to generate a decoded image using a decoding result obtained by the decoding unit and a dictionary.
前記復号化手段は、2値網点パターンの識別情報と、この2値網点パターンが入力画像において現れる位置とを復号化する
請求項に記載の画像復号化装置。
The image decoding apparatus according to claim 8 , wherein the decoding unit decodes the identification information of the binary halftone dot pattern and the position where the binary halftone dot pattern appears in the input image.
前記画像生成手段は、前記復号化手段により復号化された2値網点パターンの識別情報と、この2値網点パターンが入力画像において現れる位置とをさらに用いて、復号画像を生成する
請求項に記載の画像復号化装置。
The image generating means generates a decoded image by further using the binary halftone dot pattern identification information decoded by the decoding means and the position where the binary halftone dot pattern appears in the input image. 10. The image decoding device according to 9 .
コンピュータを含む画像符号化装置において、
2値網点パターンとこの2値網点パターンの特徴とを含む入力画像を入力する入力ステップと、
前記入力された入力画像に対してスクリーン処理を施し、2値網点パターンの特徴を抽出する網点特徴抽出ステップと、
前記抽出された2値網点パターンの特徴に基づいて、2値網点パターンを識別する辞書を作成する辞書作成ステップと、
前記作成された辞書に基づいて、入力画像を符号化する符号化ステップと
を前記画像符号化装置のコンピュータに実行させるプログラム。
In an image encoding device including a computer,
An input step for inputting an input image including a binary halftone dot pattern and features of the binary halftone dot pattern;
A halftone dot feature extracting step of performing screen processing on the input image and extracting a characteristic of a binary halftone dot pattern;
Creating a dictionary for identifying a binary halftone dot pattern based on the extracted binary halftone dot pattern characteristics;
A program for causing a computer of the image encoding device to execute an encoding step of encoding an input image based on the created dictionary.
コンピュータを含む画像符号化装置において、
2値網点パターンを含む入力画像に対してスクリーン処理を施し、2値網点パターンの特徴を抽出する抽出ステップと、
前記抽出された2値網点パターンの特徴に基づいて、2値網点パターンを識別する辞書を作成する辞書作成ステップと、
前記作成された辞書に基づいて、入力画像を符号化する符号化ステップと
を前記画像符号化装置のコンピュータに実行させるプログラム。
In an image encoding device including a computer,
An extraction step of performing screen processing on an input image including a binary halftone dot pattern and extracting features of the binary halftone dot pattern;
Creating a dictionary for identifying a binary halftone dot pattern based on the extracted binary halftone dot pattern characteristics;
A program for causing a computer of the image encoding device to execute an encoding step of encoding an input image based on the created dictionary.
コンピュータを含む画像復号化装置において、
2値網点パターンとこの2値網点パターンの特徴とを含む入力画像を入力し、この入力画像にスクリーン処理を施して抽出される2値網点パターンの特徴に基づいて、2値網点パターンを識別する辞書を作成し、この辞書に基づいて入力画像を符号化して生成された符号データに基づいて、この符号データを復号化する復号化ステップと、
前記復号化された結果と、辞書とを用いて、復号画像を生成する画像生成ステップと
を前記画像復号化装置のコンピュータに実行させるプログラム。
In an image decoding apparatus including a computer,
An input image including a binary halftone dot pattern and a feature of the binary halftone dot pattern is input, and based on the feature of the binary halftone dot pattern extracted by performing screen processing on the input image , a binary halftone dot is obtained. A decoding step of creating a dictionary for identifying a pattern and decoding the code data based on code data generated by encoding an input image based on the dictionary;
A program for causing a computer of the image decoding apparatus to execute an image generation step of generating a decoded image using the decoded result and a dictionary.
JP2005143430A 2005-05-17 2005-05-17 Image encoding apparatus, image decoding apparatus, and programs thereof Expired - Fee Related JP4753006B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005143430A JP4753006B2 (en) 2005-05-17 2005-05-17 Image encoding apparatus, image decoding apparatus, and programs thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005143430A JP4753006B2 (en) 2005-05-17 2005-05-17 Image encoding apparatus, image decoding apparatus, and programs thereof

Publications (2)

Publication Number Publication Date
JP2006324713A JP2006324713A (en) 2006-11-30
JP4753006B2 true JP4753006B2 (en) 2011-08-17

Family

ID=37544098

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005143430A Expired - Fee Related JP4753006B2 (en) 2005-05-17 2005-05-17 Image encoding apparatus, image decoding apparatus, and programs thereof

Country Status (1)

Country Link
JP (1) JP4753006B2 (en)

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0723238A (en) * 1993-06-24 1995-01-24 Fujitsu Ltd Picture data compression and decoding device
JPH10150575A (en) * 1996-11-20 1998-06-02 Toshiba Corp System and method for processing image
JP4001482B2 (en) * 2001-12-27 2007-10-31 富士通株式会社 Image compression method, decompression method and program

Also Published As

Publication number Publication date
JP2006324713A (en) 2006-11-30

Similar Documents

Publication Publication Date Title
JP5132517B2 (en) Image processing apparatus and image processing method
JP4732250B2 (en) Information processing apparatus, control method, and computer program
JP5132530B2 (en) Image coding apparatus, image processing apparatus, and control method thereof
JP4364809B2 (en) Image processing apparatus, image processing method, program, and recording medium
US20060182358A1 (en) Coding apparatus, decoding apparatus, data file, coding method, decoding method, and programs thereof
JP4781198B2 (en) Image processing apparatus and method, computer program, and computer-readable storage medium
JPH11168632A (en) Binary expression processing method for dither image, method for uncompressing dither image expressed in compression binary representation and compression and uncompression system for dither image
JP4371026B2 (en) Printing system and printer
JP2007060203A (en) Data compression apparatus and data compression program
JP4753006B2 (en) Image encoding apparatus, image decoding apparatus, and programs thereof
JP4683374B2 (en) Encoding apparatus, encoding method, and program
JP4753007B2 (en) Image encoding apparatus, image decoding apparatus, and programs thereof
KR101454208B1 (en) Method and apparatus for encoding/decoding halftone image
JP4446797B2 (en) Document restoration apparatus, document restoration method, document restoration program, and recording medium
JP4465654B2 (en) Image dictionary creation device, encoding device, encoding method and program thereof
JP4656457B2 (en) Image processing system
JP4687263B2 (en) Encoding device, decoding device, encoding method, decoding method, and programs thereof
JP4735806B2 (en) Encoding device, decoding device, and programs thereof
JP4311663B2 (en) Document conversion apparatus, document conversion method, document conversion program, and recording medium
JP4741317B2 (en) Data compression apparatus and data compression program
JP2004350182A (en) Data processing apparatus, data file, data processing method, and program
JP4461481B2 (en) Image dictionary creation device, encoding device, data file, decoding device, encoding method, decoding method, and programs thereof
JP4683375B2 (en) Encoding device, decoding device, encoding method, decoding method, and programs thereof
JP5523177B2 (en) Image coding apparatus and control method thereof
JP4529681B2 (en) Image data compression method and apparatus

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20080317

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20101025

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20101027

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20101222

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20110427

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: 20110510

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140603

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