JP2006352214A - Coding device, decoding device, coding method, decoding method and their programs - Google Patents

Coding device, decoding device, coding method, decoding method and their programs Download PDF

Info

Publication number
JP2006352214A
JP2006352214A JP2005172038A JP2005172038A JP2006352214A JP 2006352214 A JP2006352214 A JP 2006352214A JP 2005172038 A JP2005172038 A JP 2005172038A JP 2005172038 A JP2005172038 A JP 2005172038A JP 2006352214 A JP2006352214 A JP 2006352214A
Authority
JP
Japan
Prior art keywords
image
binary
value
encoding
binary image
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2005172038A
Other languages
Japanese (ja)
Inventor
Yutaka Koshi
裕 越
Shunichi Kimura
俊一 木村
Masanori Sekino
雅則 関野
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 JP2005172038A priority Critical patent/JP2006352214A/en
Publication of JP2006352214A publication Critical patent/JP2006352214A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a coding device and a decoding device capable of efficiently coding and decoding a document to such a degree that an alteration mark can be detected. <P>SOLUTION: In a coding program 4, a view image generating section 42 allows a binary threshold to vary depending on the concentration of a pixel value within a predetermined range for input multivalue image to apply binarization processing to the multivalue image, thereby generating a binary image for viewing. A detection image generating section 44 buries data for detecting alteration, for example, into the base of an input multivalue image to generate a multivalue image different from the input multivalue image. A viewing image coding section 460 applies text region coding defined in JBIG2 to code the binary image. A detection image coding section 462 applies halftone region coding to code the multivalue image. A code generating section 46 generates code data including each of the coded data. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は、符号化された文書の改ざん痕を検知する符号化装置及び復号化装置に関する。   The present invention relates to an encoding device and a decoding device that detect tampering of an encoded document.

文書は、文書の内容が確認されうる程度の見読性を保ちつつ適切に圧縮されて、利用者が扱いやすい態様とされることが求められている。一方では、企業の情報、個人情報を含む文書の改ざんを防ぐことが求められている。このため、見読性と改ざん防止とを両立することが重要になっている。
特許文献1は、カラーの入力画像に対して、画像の劣化を抑えながら、下地色や裏写り等の不要画像部を除去する方法を開示する。
特許文献2は、下地が網点領域の場合においても、孤立点を残すことなく下地を除去する方法を開示する。
しかしながら、これらの方法のいずれにおいても、改ざん痕を検知することは考慮されていない。
また、特許文献3は、ユーザにより提供された電子文書を、暗号関数を用いて認定し、文書フィンガープリントを作成する方法を開示する。
しかしながら、改ざん痕検知に必要な下地部分は、高い圧縮率で符号化されると消滅しやすい。
The document is required to be appropriately compressed while maintaining the legibility so that the content of the document can be confirmed, so that the user can easily handle the document. On the other hand, it is required to prevent falsification of documents including company information and personal information. For this reason, it is important to achieve both readability and prevention of tampering.
Patent Document 1 discloses a method for removing an unnecessary image portion such as a background color or show-through while suppressing deterioration of an image with respect to a color input image.
Patent Document 2 discloses a method of removing a background without leaving an isolated point even when the background is a halftone dot region.
However, none of these methods considers the detection of tamper marks.
Patent Document 3 discloses a method for authorizing an electronic document provided by a user using a cryptographic function and creating a document fingerprint.
However, the background portion necessary for tampering detection is likely to disappear when encoded at a high compression rate.

特開2001−094804JP 2001-094804 A 特開2002−354253JP 2002-354253 A 特開平11−338780JP-A-11-338780

本発明は、上述した背景からなされたものであり、改ざん痕を検知しうる程度に効果的に文書を符号化及び復号化する符号化装置及び復号化装置を提供することを目的とする。   The present invention has been made from the above-described background, and an object thereof is to provide an encoding device and a decoding device that effectively encode and decode a document to such an extent that tampering can be detected.

上記目的を達成するために、本発明にかかる第1の符号化装置は、入力された多値画像から2値画像を生成する2値画像生成手段と、前記2値画像生成手段により生成された2値画像と、多値画像とを、異なる手法を用いて符号化して符号データを生成する符号生成手段とを有する。   In order to achieve the above object, a first encoding apparatus according to the present invention is generated by a binary image generating unit that generates a binary image from an input multi-valued image, and the binary image generating unit. Code generation means for generating code data by encoding a binary image and a multi-value image using different methods.

好適には、前記符号生成手段は、前記2値画像生成手段により生成された2値画像を符号化する2値画像符号化手段と、多値画像を符号化する多値画像符号化手段とを有する。
好適には、前記2値画像符号化手段は、JBIG2に規定されるテキスト領域符号化又はジェネリック領域符号化を適用する。
好適には、前記多値画像符号化手段は、多値画像に対して、JBIG2に規定されるハーフトーン領域符号化を適用する。
Preferably, the code generation means includes: a binary image encoding means for encoding the binary image generated by the binary image generation means; and a multi-value image encoding means for encoding a multi-value image. Have.
Preferably, the binary image encoding means applies text region encoding or generic region encoding defined in JBIG2.
Preferably, the multi-level image encoding means applies halftone region encoding defined in JBIG2 to the multi-level image.

本発明にかかる第2の符号化装置は、入力された多値画像から2値画像を生成する2値画像生成手段と、この多値画像から、当該多値画像とは異なる多値画像を生成する多値画像生成手段と、前記2値画像生成手段により生成された2値画像と、前記多値画像生成手段により生成された多値画像とを、異なる手法を用いて符号化して符号データを生成する符号生成手段とを有する。   The second encoding device according to the present invention includes a binary image generating unit that generates a binary image from an input multi-valued image, and generates a multi-valued image different from the multi-valued image from the multi-valued image. The multi-value image generation means, the binary image generated by the binary image generation means, and the multi-value image generated by the multi-value image generation means are encoded using different methods to generate code data. Code generation means for generating.

また、本発明にかかる第3の符号化装置は、入力された多値画像から2値画像を生成する2値画像生成手段と、この多値画像を2値画像に変換する多値2値変換手段と、前記2値画像生成手段により生成された2値画像と、前記多値2値変換手段により変換された2値画像とを、異なる手法を用いて符号化して符号データを生成する符号生成手段とを有する。   The third encoding apparatus according to the present invention includes a binary image generating means for generating a binary image from an input multi-valued image, and a multi-value binary conversion for converting the multi-valued image into a binary image. Code generation for generating code data by encoding the binary image generated by the means, the binary image generation means, and the binary image converted by the multi-value binary conversion means using different methods Means.

好適には、前記符号生成手段は、前記多値2値変換手段により変換された2値画像を、多値画像に変換した後に符号化して符号データを生成する。
好適には、前記符号生成手段は、前記多値2値変換手段により変換された2値画像を、この2値画像が変換される前の多値画像と同一の多値画像に変換する。
Preferably, the code generation unit generates a code data by converting the binary image converted by the multi-level binary conversion unit into a multi-level image and then encoding the binary image.
Preferably, the code generation unit converts the binary image converted by the multi-level binary conversion unit into the same multi-level image as the multi-level image before the binary image is converted.

本発明にかかる第4の符号化装置は、入力された多値画像から2値画像を生成する2値画像生成手段と、この多値画像から、当該多値画像とは異なる多値画像を生成する多値画像生成手段と、複数の層で構成される画像において、前記2値画像生成手段により生成された2値画像を第1の層に割り当て、前記多値画像生成手段により生成された多値画像を第2の層に割り当てる割当手段と、前記割当手段により第1の層に割り当てられた2値画像と、前記割当手段により第2の層に割り当てられた多値画像とを、異なる手法を用いて符号化して符号データを生成する符号生成手段とを有する。   A fourth encoding device according to the present invention includes a binary image generating means for generating a binary image from an input multi-valued image, and generates a multi-valued image different from the multi-valued image from the multi-valued image. In the multi-value image generating means and the image composed of a plurality of layers, the binary image generated by the binary image generating means is assigned to the first layer, and the multi-value image generated by the multi-value image generating means An assigning means for assigning a value image to the second layer, a binary image assigned to the first layer by the assigning means, and a multi-value image assigned to the second layer by the assigning means are different. And code generation means for generating code data by encoding using.

本発明にかかる第1の復号化装置は、異なる手法を適用して符号化された2値画像と多値画像とを含む符号データを受け付ける受付手段と、前記受付手段により受け付けられた符号データに含まれる画像のうち少なくとも多値画像を復号化して画像データを生成する画像生成手段とを有する。   A first decoding apparatus according to the present invention includes: a receiving unit that receives code data including a binary image and a multi-valued image that are encoded by applying different methods; and the code data received by the receiving unit. Image generating means for decoding at least a multi-valued image among the included images and generating image data.

好適には、前記画像生成手段は、JBIG2に規定されるハーフトーン領域復号化を適用して、多値画像を復号化する。   Preferably, the image generation means decodes a multi-valued image by applying halftone region decoding defined in JBIG2.

本発明にかかる第2の復号化装置は、異なる手法を適用して符号化された2値画像と多値画像とを含む符号データを受け付ける受付手段と、前記受付手段により受け付けられた符号データに含まれる多値画像を復号化し、この多値画像に基づいて、2値画像を生成する画像生成手段と、前記画像生成手段により生成された2値画像を、多値画像に変換する2値多値手段とを有する。   A second decoding apparatus according to the present invention includes: a receiving unit that receives code data including a binary image and a multi-valued image that are encoded by applying different methods; and the code data received by the receiving unit. An image generating unit that decodes a multi-valued image included and generates a binary image based on the multi-valued image, and a binary multi-value that converts the binary image generated by the image generating unit into a multi-valued image Value means.

また、本発明にかかる第3の復号化装置は、複数の層で構成され、2値画像と多値画像とを異なる層に含む画像の符号データを受け付ける受付手段と、前記受付手段により受け付けられた符号データに含まれる画像のうち少なくとも多値画像を復号化して多値画像データを生成する画像生成手段とを有する。   The third decoding apparatus according to the present invention comprises a plurality of layers, accepting means for accepting code data of an image including a binary image and a multivalued image in different layers, and accepted by the accepting means. Image generating means for decoding at least the multi-valued image of the images included in the encoded data and generating multi-valued image data.

好適には、前記画像生成は、前記受付手段により受け付けられた符号データに含まれる画像のうち、2値画像をさらに復号化して2値画像データを生成する。   Preferably, the image generation further generates a binary image data by further decoding a binary image among the images included in the code data received by the receiving unit.

本発明にかかる第1の符号化方法は、入力された多値画像から2値画像を生成し、前記生成された2値画像と、多値画像とを、異なる手法を用いて符号化して符号データを生成する。   A first encoding method according to the present invention generates a binary image from an input multi-valued image, encodes the generated binary image and the multi-valued image using different methods, and performs encoding. Generate data.

本発明にかかる第2の符号化方法は、入力された多値画像から2値画像を生成し、この多値画像から、当該多値画像とは異なる多値画像を生成し、前記生成された2値画像と、前記生成された多値画像とを、異なる手法を用いて符号化して符号データを生成する。   The second encoding method according to the present invention generates a binary image from an input multi-value image, generates a multi-value image different from the multi-value image from the multi-value image, and generates the generated multi-value image. Code data is generated by encoding the binary image and the generated multi-value image using different methods.

本発明にかかる第3の符号化方法は、入力された多値画像から2値画像を生成し、この多値画像を2値画像に変換し、前記生成された2値画像と、前記変換された2値画像とを、異なる手法を用いて符号化して符号データを生成する。   A third encoding method according to the present invention generates a binary image from an input multi-valued image, converts the multi-valued image to a binary image, and generates the generated binary image and the converted image. The binary image is encoded using a different method to generate code data.

本発明にかかる第4の符号化方法は、入力された多値画像から2値画像を生成し、この多値画像から、当該多値画像とは異なる多値画像を生成し、複数の層で構成される画像において、前記生成された2値画像を第1の層に割り当て、前記生成された多値画像を第2の層に割り当て、前記第1の層に割り当てられた2値画像と、前記第2の層に割り当てられた多値画像とを、異なる手法を用いて符号化して符号データを生成する。   A fourth encoding method according to the present invention generates a binary image from an input multi-value image, generates a multi-value image different from the multi-value image from the multi-value image, and includes a plurality of layers. In the configured image, the generated binary image is assigned to a first layer, the generated multi-valued image is assigned to a second layer, and the binary image assigned to the first layer; The multi-valued image assigned to the second layer is encoded using a different method to generate code data.

本発明にかかる第1の復号化方法は、異なる手法を適用して符号化された2値画像と多値画像とを含む符号データを受け付け、前記受け付けられた符号データに含まれる画像のうち少なくとも多値画像を復号化して画像データを生成する。   A first decoding method according to the present invention receives code data including a binary image and a multi-value image that are encoded by applying different methods, and includes at least one of images included in the received code data. The multi-valued image is decoded to generate image data.

本発明にかかる第2の復号化方法は、異なる手法を適用して符号化された2値画像と多値画像とを含む符号データを受け付け、前記受け付けられた符号データに含まれる多値画像を復号化し、この多値画像に基づいて、2値画像を生成し、前記生成された2値画像を、多値画像に変換する。   The second decoding method according to the present invention receives code data including a binary image and a multi-value image encoded by applying different methods, and receives a multi-value image included in the received code data. Decoding is performed to generate a binary image based on the multi-valued image, and the generated binary image is converted into a multi-valued image.

本発明にかかる第3の復号化方法は、複数の層で構成され、2値画像と多値画像とを異なる層に含む画像の符号データを受け付け、前記受け付けられた符号データに含まれる画像のうち少なくとも多値画像を復号化して多値画像データを生成する。   A third decoding method according to the present invention includes a plurality of layers, accepts code data of an image including a binary image and a multi-value image in different layers, and stores the image data included in the received code data. Of these, at least the multi-value image is decoded to generate multi-value image data.

本発明にかかる第1のプログラムは、コンピュータを含む符号化装置において、入力された多値画像から2値画像を生成する2値画像生成ステップと、前記生成された2値画像と、多値画像とを、異なる手法を用いて符号化して符号データを生成する符号生成ステップとを前記符号化装置に実行させる。   A first program according to the present invention includes: a binary image generation step of generating a binary image from an input multivalued image in the encoding device including a computer; the generated binary image; and the multivalued image And a code generation step of generating code data by encoding using different methods.

本発明にかかる第2のプログラムは、コンピュータを含む符号化装置において、入力された多値画像から2値画像を生成する2値画像生成ステップと、この多値画像から、当該多値画像とは異なる多値画像を生成する多値画像生成ステップと、前記生成された2値画像と、前記生成された多値画像とを、異なる手法を用いて符号化して符号データを生成する符号生成ステップとを前記符号化装置に実行させる。   The second program according to the present invention includes a binary image generation step of generating a binary image from an input multivalued image in an encoding device including a computer, A multi-value image generation step for generating different multi-value images; a code generation step for generating code data by encoding the generated binary image and the generated multi-value image using different methods; Is executed by the encoding device.

本発明にかかる第3のプログラムは、コンピュータを含む符号化装置において、入力された多値画像から2値画像を生成する2値画像生成ステップと、この多値画像を2値画像に変換する多値2値変換ステップと、前記生成された2値画像と、前記変換された2値画像とを、異なる手法を用いて符号化して符号データを生成する符号生成ステップとを前記符号化装置に実行させる。   A third program according to the present invention includes a binary image generation step for generating a binary image from an input multilevel image and a multi-level image for converting the multilevel image into a binary image in an encoding device including a computer. A value binary conversion step, and a code generation step for generating code data by encoding the generated binary image and the converted binary image using different methods are executed in the encoding device. Let

本発明にかかる第4のプログラムは、コンピュータを含む符号化装置において、入力された多値画像から2値画像を生成する2値画像生成ステップと、この多値画像から、当該多値画像とは異なる多値画像を生成する多値画像生成ステップと、複数の層で構成される画像において、前記生成された2値画像を第1の層に割り当て、前記生成された多値画像を第2の層に割り当てる割当ステップと、前記第1の層に割り当てられた2値画像と、前記第2の層に割り当てられた多値画像とを、異なる手法を用いて符号化して符号データを生成する符号生成ステップとを前記符号化装置に実行させる。   According to a fourth program of the present invention, in a coding apparatus including a computer, a binary image generating step for generating a binary image from an input multivalued image, and the multivalued image from the multivalued image are: In a multi-value image generation step for generating different multi-value images and an image composed of a plurality of layers, the generated binary image is assigned to a first layer, and the generated multi-value image is assigned to a second layer A code for generating code data by encoding a binary image assigned to the first layer and a multi-valued image assigned to the second layer using different methods; And generating the encoding step.

また、本発明にかかる第5のプログラムは、コンピュータを含む復号化装置において、異なる手法を適用して符号化された2値画像と多値画像とを含む符号データを受け付ける受付ステップと、前記受け付けられた符号データに含まれる画像のうち少なくとも多値画像を復号化して画像データを生成する画像生成ステップとを前記復号化装置に実行させる。   A fifth program according to the present invention includes a receiving step of receiving code data including a binary image and a multi-valued image encoded by applying different methods in a decoding device including a computer, and the receiving The decoding apparatus is caused to execute an image generation step of decoding at least a multi-value image among images included in the encoded data and generating image data.

また、本発明にかかる第6のプログラムは、コンピュータを含む復号化装置において、異なる手法を適用して符号化された2値画像と多値画像とを含む符号データを受け付ける受付ステップと、前記受け付けられた符号データに含まれる多値画像を復号化し、この多値画像に基づいて、2値画像を生成する画像生成ステップと、前記生成された2値画像を、多値画像に変換する2値多値ステップとを前記復号化装置に実行させる。   In addition, a sixth program according to the present invention includes a receiving step of receiving code data including a binary image and a multi-valued image encoded by applying different methods in a decoding device including a computer, and the receiving An image generation step of decoding a multi-value image included in the encoded data and generating a binary image based on the multi-value image; and a binary for converting the generated binary image into a multi-value image A multi-value step is executed by the decoding device.

さらに、本発明にかかる第7のプログラムは、コンピュータを含む復号化装置において、複数の層で構成され、2値画像と多値画像とを異なる層に含む画像の符号データを受け付ける受付ステップと、前記受け付けられた符号データに含まれる画像のうち少なくとも多値画像を復号化して多値画像データを生成する画像生成ステップとを前記復号化装置に実行させる。   Furthermore, a seventh program according to the present invention is a decoding step that includes a computer, and includes a reception step of receiving code data of an image that includes a plurality of layers and includes a binary image and a multi-value image in different layers; The decoding apparatus is caused to execute an image generation step of decoding at least a multi-value image among images included in the received code data to generate multi-value image data.

本発明の符号化装置及び復号化装置によれば、改ざん痕を検知しうる程度に効果的に文書を符号化及び復号化することができる。   According to the encoding device and the decoding device of the present invention, it is possible to effectively encode and decode a document to such an extent that tampering can be detected.

本発明の第1の実施形態にかかる符号化装置2及び復号化装置3を説明する。
図1は、本発明にかかる符号化方法及び復号化方法が適応される符号化装置2及び復号化装置3のハードウェア構成を、制御装置20を中心に例示する図である。
図1に例示するように、符号化装置2等は、CPU202及びメモリ204などを含む制御装置20、通信装置22、HDD・CD装置などの記録装置24、及びLCD表示装置あるいはCRT表示装置並びにキーボード・タッチパネルなどを含むユーザインターフェース装置(UI装置)26を有する。
An encoding device 2 and a decoding device 3 according to the first embodiment of the present invention will be described.
FIG. 1 is a diagram illustrating a hardware configuration of an encoding device 2 and a decoding device 3 to which an encoding method and a decoding method according to the present invention are applied, centering on a control device 20.
As illustrated in FIG. 1, the encoding device 2 or the like 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.

符号化装置2及び復号化装置3は、例えば、後述する符号化プログラム4及び復号化プログラム5がプリンタドライバの一部としてインストールされた汎用コンピュータである。符号化装置2は、通信装置22又は記録装置24を介して入力された多値の画像データに対して所定の符号化処理を施して、改ざん痕を検知しうる符号データを生成する。復号化装置3は、図示しないネットワークを介して通信装置22より符号データを取得し、又は記録装置24に記憶されている符号データを取得し、復号化処理を施して、文書が改ざんされているか否かを検知しうるデータを抽出する。   The encoding device 2 and the decoding device 3 are, for example, general-purpose computers in which an encoding program 4 and a decoding program 5 described later are installed as a part of the printer driver. The encoding device 2 performs predetermined encoding processing on the multi-valued image data input via the communication device 22 or the recording device 24, and generates code data that can detect tampering. Whether the decoding device 3 acquires code data from the communication device 22 via a network (not shown), or acquires code data stored in the recording device 24, performs a decoding process, and has the document been falsified? Extract data that can detect whether or not.

図2は、制御装置20により実行され、本発明にかかる符号化方法を実現する符号化プログラム4の機能構成を示す図である。
図2に示すように、符号化プログラム4は、多値画像受付部40、閲覧画像生成部42、検知画像生成部44及び符号生成部46を含み、符号生成部46は、閲覧画像符号化部460及び検知画像符号化部462を含む。
なお、符号化プログラム4の全部又は一部の機能は、プリンタ装置10に設けられた例えばASICなどのハードウェアにより実現されてもよい。また、以降のプログラムも、同様にして実現されうる。
FIG. 2 is a diagram showing a functional configuration of the encoding program 4 that is executed by the control device 20 and realizes the encoding method according to the present invention.
As shown in FIG. 2, the encoding program 4 includes a multi-value image receiving unit 40, a browsing image generation unit 42, a detected image generation unit 44, and a code generation unit 46. The code generation unit 46 includes a browsing image encoding unit. 460 and a detected image encoding unit 462.
Note that all or some of the functions of the encoding program 4 may be realized by hardware such as an ASIC provided in the printer apparatus 10. Further, the subsequent programs can be realized in the same manner.

符号化プログラム4において、多値画像受付部40は、通信装置22又は記録装置24などを介して取得された多値の画像データを入力する。多値画像受付部40は、受け付けられた入力画像の画像データを各色成分のラスタデータ(色成分画像)に変換し、このラスタデータにスクリーン処理を施して、閲覧画像生成部42及び検知画像生成部44に対して出力する。   In the encoding program 4, the multi-value image receiving unit 40 inputs multi-value image data acquired via the communication device 22 or the recording device 24. The multi-value image receiving unit 40 converts the image data of the received input image into raster data (color component image) of each color component, performs screen processing on the raster data, and generates a browsing image generation unit 42 and a detection image generation Output to the unit 44.

閲覧画像生成部42は、多値画像受付部40から入力された多値画像から、2値画像を生成する。閲覧画像生成部42は、例えば、多値画像の所定の範囲内の画素値の濃度(階調値)に応じて、2値化のしきい値を変動させて、多値画像に対して浮動2値化処理を施す。閲覧画像生成部42は、変動されたしきい値に従って、各画素値を黒又は白に2値化して、2値画像を生成する。閲覧画像生成部42は、例えば5×5画素の画像領域に含まれる画素の画素値に基づいて、しきい値を上下に変動させる。閲覧画像生成部42は、符号生成部46に対して、生成された2値画像を出力する。   The browsing image generation unit 42 generates a binary image from the multi-value image input from the multi-value image reception unit 40. For example, the browsing image generation unit 42 changes the binarization threshold according to the density (gradation value) of the pixel value within a predetermined range of the multi-value image, and floats the multi-value image. Binarization processing is performed. The browsing image generation unit 42 binarizes each pixel value into black or white according to the changed threshold value, and generates a binary image. The browsing image generation unit 42 varies the threshold value up and down based on, for example, the pixel values of pixels included in an image region of 5 × 5 pixels. The browsing image generation unit 42 outputs the generated binary image to the code generation unit 46.

なお、閲覧画像生成部42は、固定されたしきい値に従って、多値画像から2値画像を生成してもよいし、多値画像の所定の範囲内の画素値の濃度に応じて、2値の網点画像を生成してもよい。
また、閲覧画像生成部42による2値化処理については、後で詳述する。
The browsing image generation unit 42 may generate a binary image from the multi-valued image according to a fixed threshold value, or 2 according to the density of pixel values within a predetermined range of the multi-valued image. A halftone dot image may be generated.
Further, the binarization processing by the browsing image generation unit 42 will be described in detail later.

検知画像生成部44は、多値画像受付部40から入力された多値画像から、当該多値画像とは異なる多値画像を生成する。検知画像生成部44は、例えば、画像の作成日時等を示すタイムスタンプ情報を多値画像に埋め込む。検知画像生成部44は、タイムスタンプ情報に基づいて、人間には視覚されない画像パターンを生成し、改ざん検知データとして多値画像の下地等に埋め込む。検知画像生成部44は、符号生成部46に対して、生成された多値画像を出力する。   The detection image generation unit 44 generates a multi-value image different from the multi-value image from the multi-value image input from the multi-value image reception unit 40. The detected image generation unit 44 embeds, for example, time stamp information indicating the image creation date and time in the multi-valued image. The detection image generation unit 44 generates an image pattern that is not visible to humans based on the time stamp information, and embeds it in the background of a multi-valued image as tampering detection data. The detected image generation unit 44 outputs the generated multilevel image to the code generation unit 46.

なお、検知画像生成部44は、多値画像受付部40から入力された多値画像を、符号生成部46に対して、そのまま出力してもよい。また、多値画像受付部40は、入力された多値画像を、検知画像生成部44を介さず、符号生成部46に対して直接出力してもよい。   The detected image generation unit 44 may output the multi-value image input from the multi-value image reception unit 40 to the code generation unit 46 as it is. Further, the multi-value image receiving unit 40 may directly output the input multi-value image directly to the code generation unit 46 without using the detected image generation unit 44.

符号生成部46は、閲覧画像生成部42により生成された2値画像と、検知画像生成部44により生成された多値画像とを、異なる手法を用いて符号化する。より具体的には、符号生成部46は、JBIG2に規定されるテキスト領域符号化あるいはジェネリック領域符号化を適用して、2値画像を符号化し、JBIG2に規定されるハーフトーン領域符号化を適用して、多値画像を符号化する。符号生成部46は、これらの符号化されたデータから符号データを生成して、通信装置22に対して出力し、又は記録装置24に保存する。
なお、テキスト領域符号化、ハーフトーン領域符号化等は、後で詳述する。
The code generation unit 46 encodes the binary image generated by the browsing image generation unit 42 and the multi-value image generated by the detection image generation unit 44 using different methods. More specifically, the code generation unit 46 encodes a binary image by applying text region coding or generic region coding defined in JBIG2, and applies halftone region coding defined in JBIG2. Then, the multi-valued image is encoded. The code generation unit 46 generates code data from these encoded data and outputs the code data to the communication device 22 or stores it in the recording device 24.
Text area coding, halftone area coding, etc. will be described in detail later.

符号生成部46の閲覧画像符号化部460は、JBIG2に規定されるテキスト領域符号化あるいはジェネリック領域符号化を適用して、2値画像を符号化する。
検知画像符号化部462は、JBIG2に規定されるハーフトーン領域符号化を適用して、多値画像を符号化する。
The browsing image encoding unit 460 of the code generation unit 46 encodes a binary image by applying text region encoding or generic region encoding specified in JBIG2.
The detected image encoding unit 462 encodes the multi-level image by applying the halftone area encoding specified in JBIG2.

図3は、閲覧画像生成部42によりなされる2値化処理を説明する図であって、図3(A)は、入力画素値と浮動しきい値及び固定しきい値との関係を例示し、図3(B)は、固定しきい値を用いた場合に生成される2値画像を例示し、図3(C)は、浮動しきい値を用いた場合に生成される2値画像を例示し、図3(D)は、2値網点化処理がなされた場合に生成される2値画像を例示する。
図3(A)に例示するように、固定しきい値の場合には、閲覧画像生成部42は、画素値と固定しきい値とを比較して、画素値を2値化する。浮動しきい値の場合には、閲覧画像生成部42は、走査方向に従って入力される画素値に従って、しきい値を上下に変動させる。この場合、閲覧画像生成部42は、所定の範囲に含まれる画素の画素値の例えば平均値に応じて、浮動しきい値を変動させるので、浮動しきい値は、入力画素値の明暗に追従するように、上下に変動する。
FIG. 3 is a diagram for explaining the binarization processing performed by the browsing image generation unit 42. FIG. 3A illustrates the relationship between the input pixel value, the floating threshold value, and the fixed threshold value. FIG. 3B illustrates a binary image generated when a fixed threshold value is used, and FIG. 3C illustrates a binary image generated when a floating threshold value is used. For example, FIG. 3D illustrates a binary image that is generated when the binary halftone processing is performed.
As illustrated in FIG. 3A, in the case of a fixed threshold value, the browsing image generation unit 42 compares the pixel value with the fixed threshold value and binarizes the pixel value. In the case of the floating threshold value, the browsing image generation unit 42 varies the threshold value up and down according to the pixel value input according to the scanning direction. In this case, the browsing image generation unit 42 changes the floating threshold value according to, for example, the average value of the pixel values included in the predetermined range, so that the floating threshold value follows the brightness of the input pixel value. To fluctuate up and down.

図3(B)に例示するように、固定しきい値の場合、わずかな画素値の明暗、細い線等が除去される。
一方、図3(C)に例示するように、浮動しきい値の場合、細い線等が残され、わずかな画素値の明暗も、黒と白とにより表現されて残される。
As illustrated in FIG. 3B, in the case of a fixed threshold value, slight brightness and dark lines, thin lines, and the like of pixel values are removed.
On the other hand, as illustrated in FIG. 3C, in the case of the floating threshold value, a thin line or the like is left, and a slight contrast of the pixel value is also expressed by black and white.

図3(D)に例示するように、2値網点化処理が用いられた場合には、閲覧画像生成部42は、多値画像の所定の範囲の濃度値(階調値)に対応する2値の網点画像に基づいて、多値画像から擬似的に階調表現しうる2値の網点画像を構成して、2値画像を生成する。ここで、網点の大きさは、濃度値に対応している。   As illustrated in FIG. 3D, when the binary halftone processing is used, the browsing image generation unit 42 corresponds to a predetermined range of density values (tone values) of the multi-valued image. Based on the binary halftone image, a binary halftone image that can be expressed in a pseudo gradation from the multivalued image is constructed to generate a binary image. Here, the size of the halftone dot corresponds to the density value.

図4は、閲覧画像符号化部460によりなされるテキスト領域の符号化処理を説明する図であって、図4(A)は、閲覧画像符号化部460に入力される2値画像を例示し、図4(B)は、閲覧画像符号化部460により作成される画像辞書を例示し、図4(C)は、テキスト領域符号化後のデータを例示する。
図4(A)に例示するように、2値画像は、黒と白の2値で構成され、細線等は、除去されている。
FIG. 4 is a diagram for explaining the encoding process of the text area performed by the browsing image encoding unit 460. FIG. 4A illustrates a binary image input to the browsing image encoding unit 460. 4B illustrates an image dictionary created by the browsing image encoding unit 460, and FIG. 4C illustrates data after text region encoding.
As illustrated in FIG. 4A, the binary image is composed of binary values of black and white, and fine lines and the like are removed.

図4(B)に例示するように、閲覧画像符号化部460は、2値画像に含まれる類型的なパターンを画像辞書に登録し、パターンそれぞれに対して、これらのパターンを識別するインデクスを付与して、画像辞書を完成させる。
図4(C)に例示するように、閲覧画像符号化部460は、登録されたパターンと、2値画像の各色成分画像に含まれるパターンとを比較して、インデクスと位置とを対応させたデータを生成し、符号化する。
As illustrated in FIG. 4B, the browsing image encoding unit 460 registers typical patterns included in the binary image in the image dictionary, and sets an index for identifying these patterns for each pattern. To complete the image dictionary.
As illustrated in FIG. 4C, the browsing image encoding unit 460 compares the registered pattern with the pattern included in each color component image of the binary image, and associates the index with the position. Generate and encode data.

また、閲覧画像符号化部460は、JBIG2に規定されるジェネリック領域符号化により、図4(A)に例示される2値画像を符号化してもよい。ジェネリック領域符号化は、2値画像を、画像辞書等を作成することなく符号化する方式である。より具体的には、ジェネリック領域符号化は、局所的な画素の並びの統計(例えば、コンテクスト)を利用して、入力画像を符号化する。   Moreover, the browsing image encoding part 460 may encode the binary image illustrated by FIG. 4 (A) by the generic area encoding prescribed | regulated to JBIG2. Generic region coding is a method of coding a binary image without creating an image dictionary or the like. More specifically, generic region encoding encodes an input image using local pixel array statistics (for example, context).

図5は、ハーフトーン領域の符号化処理を説明する図であり、図5(A)は、符号化対象である多値画像を例示し、図5(B)は、ハーフトーン領域符号化処理において作成される画像辞書を例示し、図5(C)は、この画像辞書を用いて生成された符号データを例示する。
図5(A)に例示するように、本発明にかかる符号化装置2は、多値画像を、直接符号化する。閲覧画像符号化部460は、多値画像の画素毎の濃度値(階調値)を画像辞書に登録して符号化する。
FIG. 5 is a diagram for explaining the encoding process of the halftone region, FIG. 5A illustrates a multi-value image to be encoded, and FIG. 5B illustrates the halftone region encoding process. FIG. 5C illustrates code data generated using this image dictionary.
As illustrated in FIG. 5A, the encoding device 2 according to the present invention directly encodes a multilevel image. The browsing image encoding unit 460 registers and encodes the density value (gradation value) for each pixel of the multilevel image in the image dictionary.

図5(B)に例示するように、閲覧画像符号化部460は、多値画像の濃度値を、インデクスに対応づけて、画像辞書に登録する。インデクスは、それぞれの濃度値を一意に識別する識別情報である。
この画像辞書を用いて、多値画像が符号化されると、図5(C)に例示するような符号データが生成される。符号データは、多値画像における各領域の濃度値(すなわち、インデクス)と、この濃度値が存在する位置を示す位置情報とで構成される。
As illustrated in FIG. 5B, the browsing image encoding unit 460 registers the density value of the multi-valued image in the image dictionary in association with the index. The index is identification information that uniquely identifies each density value.
When a multi-valued image is encoded using this image dictionary, code data as illustrated in FIG. 5C is generated. The code data is composed of density values (that is, indexes) of the respective areas in the multi-valued image and position information indicating positions where the density values exist.

図6は、符号化プログラム4による符号化処理(S10)を示すフローチャートである。
図6に示すように、ステップ100(S100)において、多値画像受付部40は、多値画像データが入力されると、多値画像データを各色成分のラスタデータに変換し、このラスタデータにスクリーン処理を施して、閲覧画像生成部42及び検知画像生成部44に対して出力する。
閲覧画像生成部42は、多値画像受付部40から入力された多値画像につき、例えば、所定の範囲内の画素値の濃度に応じて、2値化のしきい値を変動させて、多値画像に対して2値化処理を施し、2値画像を生成する。閲覧画像生成部42は、符号生成部46の閲覧画像符号化部460に対して、生成された閲覧用2値画像を出力する。
FIG. 6 is a flowchart showing the encoding process (S10) by the encoding program 4.
As shown in FIG. 6, in step 100 (S100), when multi-value image data is input, the multi-value image receiving unit 40 converts the multi-value image data into raster data of each color component, and converts the raster data into this raster data. Screen processing is performed and output to the browsing image generation unit 42 and the detection image generation unit 44.
For the multi-valued image input from the multi-valued image receiving unit 40, the browsing image generation unit 42 varies the threshold value for binarization according to the density of pixel values within a predetermined range, for example. A binarization process is performed on the value image to generate a binary image. The browsing image generation unit 42 outputs the generated browsing binary image to the browsing image encoding unit 460 of the code generation unit 46.

ステップ102(S102)において、検知画像生成部44は、多値画像受付部40から入力された多値画像の下地に、タイムスタンプ情報を埋め込んで、入力された多値画像とは異なる多値画像を生成する。検知画像生成部44は、符号生成部46の検知画像符号化部462に対して、生成された多値画像を出力する。なお、検知画像生成部44は、多値画像受付部40から入力された多値画像を、検知画像符号化部462に対してそのまま出力してもよい。   In step 102 (S102), the detection image generation unit 44 embeds time stamp information in the background of the multi-value image input from the multi-value image reception unit 40, and is different from the input multi-value image. Is generated. The detected image generation unit 44 outputs the generated multilevel image to the detected image encoding unit 462 of the code generation unit 46. The detected image generation unit 44 may output the multi-value image input from the multi-value image receiving unit 40 to the detected image encoding unit 462 as it is.

ステップ104(S104)において、閲覧画像符号化部460は、テキスト領域符号化あるいはジェネリック領域符号化を適用して、2値画像を符号化する。
ステップ106(S106)において、検知画像符号化部462は、ハーフトーン領域符号化を適用して、多値画像を符号化する。
ステップ108(S108)において、符号生成部46は、閲覧画像符号化部460及び検知画像符号化部462により符号化されたデータそれぞれを含む符号データを生成して、通信装置22に対して出力し、又は記録装置24に保存する。
In step 104 (S104), the browsing image encoding unit 460 encodes a binary image by applying text region encoding or generic region encoding.
In step 106 (S106), the detected image encoding unit 462 encodes the multilevel image by applying halftone region encoding.
In step 108 (S108), the code generation unit 46 generates code data including the data encoded by the browsing image encoding unit 460 and the detected image encoding unit 462, and outputs the code data to the communication device 22. Or stored in the recording device 24.

図7は、制御装置20により実行され、本発明にかかる復号化方法を実現する復号化プログラム5の機能構成を示す図である。
図7に示すように、復号化プログラム5は、符号データ受付部50及び画像生成部52を含み、画像生成部52は、閲覧画像復号化部520及び検知画像復号化部522を含む。
FIG. 7 is a diagram showing a functional configuration of the decryption program 5 that is executed by the control device 20 and implements the decryption method according to the present invention.
As illustrated in FIG. 7, the decoding program 5 includes a code data reception unit 50 and an image generation unit 52, and the image generation unit 52 includes a browsing image decoding unit 520 and a detected image decoding unit 522.

復号化プログラム5において、符号データ受付部50は、通信装置22又は記録装置24を介して、異なる手法を適用して符号化された2値画像と多値画像とを含む符号データを受け付け、画像生成部52に対して、これらの画像データを出力する。より具体的には、符号データ受付部50は、画像生成部52の閲覧画像復号化部520に対して2値画像を出力し、検知画像復号化部522に対して多値画像を出力する。ここで、2値画像は、JBIG2に規定されるテキスト領域又はジェネリック領域で符号化された画像であり、多値画像は、ハーフトーン領域で符号化された画像である。   In the decoding program 5, the code data receiving unit 50 receives code data including a binary image and a multi-value image encoded by applying different methods via the communication device 22 or the recording device 24. These image data are output to the generation unit 52. More specifically, the code data receiving unit 50 outputs a binary image to the browsing image decoding unit 520 of the image generation unit 52 and outputs a multi-value image to the detected image decoding unit 522. Here, the binary image is an image encoded in a text region or a generic region defined in JBIG2, and the multi-valued image is an image encoded in a halftone region.

画像生成部52は、符号データ受付部50から入力された画像のうち少なくとも多値画像を復号化して画像データを生成する。画像生成部52は、テキスト領域復号化又はジェネリック領域復号化を適用して、2値画像を復号化し、ハーフトーン領域復号化を適用して、多値画像を復号化する。
なお、画像生成部52は、画像の閲覧及び改ざん検知等に応じて、2値画像のみを復号化してもよいし、2値画像及び多値画像の両方を復号化してもよい。
The image generation unit 52 generates image data by decoding at least the multi-valued image among the images input from the code data receiving unit 50. The image generation unit 52 decodes a binary image by applying text region decoding or generic region decoding, and decodes a multi-value image by applying halftone region decoding.
Note that the image generation unit 52 may decode only a binary image or may decode both a binary image and a multi-valued image in accordance with image browsing, falsification detection, and the like.

画像生成部52の閲覧画像復号化部520は、画像生成部52の制御により、テキスト領域復号化又はジェネリック領域復号化を適用して、符号データ受付部50から入力された2値画像を復号化する。閲覧画像復号化部520は、復号化された2値画像を、通信装置22に対して出力し、又は記録装置24に保存する。   The browsing image decoding unit 520 of the image generation unit 52 decodes the binary image input from the code data reception unit 50 by applying text region decoding or generic region decoding under the control of the image generation unit 52. To do. The browsing image decoding unit 520 outputs the decoded binary image to the communication device 22 or stores it in the recording device 24.

検知画像復号化部522は、画像生成部52の制御により、ハーフトーン領域復号化を適用して、多値画像を復号化する。検知画像復号化部522は、多値画像を、直接、通信装置22に対して出力し、又は記録装置24に保存する。   The detected image decoding unit 522 decodes the multi-value image by applying halftone region decoding under the control of the image generation unit 52. The detected image decoding unit 522 outputs the multi-value image directly to the communication device 22 or stores it in the recording device 24.

図8は、復号化プログラム5による復号化処理(S20)を示すフローチャートである。
図8に示すように、ステップ200(S200)において、符号データ受付部50は、符号化された2値画像と多値画像とを含む符号データを受け付け、閲覧画像復号化部520に対して2値画像を出力し、検知画像復号化部522に対して多値画像を出力する。
FIG. 8 is a flowchart showing the decryption process (S20) by the decryption program 5.
As shown in FIG. 8, in step 200 (S200), the code data receiving unit 50 receives code data including an encoded binary image and a multi-valued image, and provides 2 to the browsing image decoding unit 520. A value image is output, and a multi-value image is output to the detected image decoding unit 522.

ステップ202(S202)において、閲覧画像復号化部520は、テキスト領域復号化又はジェネリック領域復号化を適用して、符号データ受付部50から入力された2値画像を復号化し、記録装置24等に対して2値画像を出力する。
ステップ204(S204)において、検知画像復号化部522は、ハーフトーン領域復号化を適用して、多値画像を復号化し、記録装置24等に対して確認画像を出力する。
In step 202 (S202), the browsing image decoding unit 520 applies text region decoding or generic region decoding, decodes the binary image input from the code data reception unit 50, and stores it in the recording device 24 or the like. On the other hand, a binary image is output.
In step 204 (S204), the detected image decoding unit 522 applies halftone region decoding, decodes the multi-valued image, and outputs a confirmation image to the recording device 24 and the like.

以上説明したように、本実施形態にかかる符号化装置2は、入力された多値画像から2値画像を生成し、多値画像と生成された2値画像とを異なる手法を用いて符号化して符号データを生成するので、文書の見読性と改ざん検知性とを備えた文書を、効率よく符号化することができる。また、符号化装置2は、入力された多値画像から、当該多値画像とは異なる多値画像を生成して符号データを生成するので、改ざん検知性が向上された符号データを生成することができる。特に、符号化装置2は、多値画像に、タイムスタンプ情報を埋め込むので、効果的な改ざん検知がなされる符号データを生成することができる。さらに、符号化装置2は、JBIG2に規定されるテキスト領域符号化又はジェネリック領域符号化を適用して、2値画像を符号化し、ハーフトーン領域符号化を適用して、多値画像を符号化するので、効率よくかつ高速に、符号化処理を行うことができる。   As described above, the encoding device 2 according to the present embodiment generates a binary image from an input multilevel image, and encodes the multilevel image and the generated binary image using different methods. Therefore, it is possible to efficiently encode a document having document readability and falsification detection. In addition, since the encoding device 2 generates code data by generating a multi-value image different from the multi-value image from the input multi-value image, it can generate code data with improved tamper detection. Can do. In particular, since the encoding device 2 embeds the time stamp information in the multi-valued image, it can generate code data for which effective tampering detection is performed. Furthermore, the encoding device 2 applies text region encoding or generic region encoding specified in JBIG2, encodes a binary image, applies halftone region encoding, and encodes a multi-value image. Therefore, the encoding process can be performed efficiently and at high speed.

また、本実施形態にかかる復号化装置3は、異なる手法を適用して符号化された2値画像と多値画像とを含む符号データを受け付け、この符号データに含まれる画像のうち少なくとも多値画像を復号化して画像データを生成するので、改ざん検知時の処理速度を向上させることができる。また、復号化装置3は、符号データに含まれる画像のうち2値画像のみを符号化して画像データを生成してもよいので、閲覧時の処理速度を向上させることができる。また、復号化装置3は、受け付けられた符号データに含まれる2値画像及び多値画像を復号化し、見読性に優れた2値画像を生成し、改ざん検知がなされうる多値画像を生成するので、見読性と改ざん検知性とを両立することができる。さらに、復号化装置3は、JBIG2に規定されるテキスト領域復号化又はジェネリック領域復号化を適用して、2値画像を復号化し、ハーフトーン領域復号化を適用して、多値画像を復号化するので、効率よくかつ高速に復号化処理を行うことができる。   In addition, the decoding device 3 according to the present embodiment receives code data including a binary image and a multi-value image encoded by applying different methods, and at least multi-value among images included in the code data. Since the image data is generated by decoding the image, the processing speed at the time of tampering detection can be improved. Further, since the decoding device 3 may generate image data by encoding only a binary image among images included in the encoded data, the processing speed at the time of browsing can be improved. In addition, the decoding device 3 decodes the binary image and the multi-value image included in the received code data, generates a binary image with excellent readability, and generates a multi-value image that can be tampered with. Therefore, both readability and tampering detection can be achieved. Furthermore, the decoding device 3 decodes a binary image by applying text region decoding or generic region decoding specified in JBIG2, and decodes a multi-value image by applying halftone region decoding. Therefore, the decoding process can be performed efficiently and at high speed.

次に、本発明の第2の実施形態にかかる符号化装置2及び復号化装置3を説明する。
図9は、本実施形態にかかる符号化方法を実現する符号化プログラム6の機能構成を示す図である。
図9に示すように、符号化プログラム6は、多値画像受付部40、閲覧画像生成部42、検知画像生成部44、多値2値変換部60及び符号生成部66を含む。符号生成部66は、閲覧画像符号化部460及び検知画像符号化部660を含み、検知画像符号化部660は、2値多値変換部662、多値画像符号化部664及び2値パターン符号化部666を含む。本実施形態にかかる符号化プログラム6は、改ざん検知用の多値画像を2値画像に変換した後に符号化する点で、第1の実施形態にかかる符号化プログラム4と異なる。
なお、図9に示された各構成のうち、図2に示された構成と実質的に同一のものには同一の符号が付されている。
Next, an encoding device 2 and a decoding device 3 according to the second embodiment of the present invention will be described.
FIG. 9 is a diagram illustrating a functional configuration of the encoding program 6 that realizes the encoding method according to the present embodiment.
As shown in FIG. 9, the encoding program 6 includes a multi-value image receiving unit 40, a browse image generating unit 42, a detected image generating unit 44, a multi-value binary converting unit 60 and a code generating unit 66. The code generation unit 66 includes a browsing image encoding unit 460 and a detected image encoding unit 660. The detected image encoding unit 660 includes a binary multilevel conversion unit 662, a multilevel image encoding unit 664, and a binary pattern code. Including a conversion unit 666. The encoding program 6 according to the present embodiment is different from the encoding program 4 according to the first embodiment in that encoding is performed after converting a multi-value image for falsification detection into a binary image.
9 that are substantially the same as those shown in FIG. 2 are denoted by the same reference numerals.

多値2値変換部60は、検知画像生成部44から入力された多値画像を2値画像に変換して、符号生成部66に対して出力する。多値2値変換部60は、多値画像の画素それぞれを、この画素値に応じた所定の2値パターンに置き換えて、多値画像を2値画像に変換する。例えば、多値2値変換部60は、多値画像の画素それぞれを、4×4画素の2値パターンに置き換える。
なお、多値画像受付部40は、検知画像生成部44を介さずに、多値2値変換部60に対して多値画像を直接出力し、多値2値変換部60は、多値画像受付部40から入力された多値画像を2値画像に変換してもよい。
The multilevel binary conversion unit 60 converts the multilevel image input from the detected image generation unit 44 into a binary image and outputs the binary image to the code generation unit 66. The multi-value binary conversion unit 60 converts the multi-value image into a binary image by replacing each pixel of the multi-value image with a predetermined binary pattern corresponding to the pixel value. For example, the multilevel binary conversion unit 60 replaces each pixel of the multilevel image with a binary pattern of 4 × 4 pixels.
The multi-value image receiving unit 40 directly outputs a multi-value image to the multi-value binary conversion unit 60 without using the detection image generation unit 44, and the multi-value binary conversion unit 60 The multi-valued image input from the receiving unit 40 may be converted into a binary image.

符号生成部66は、閲覧画像生成部42により生成された2値画像と、多値2値変換部60により変換された2値画像とを、異なる手法を用いて符号化して符号データを生成する。より具体的には、符号生成部66は、JBIG2に規定されるテキスト領域符号化あるいはジェネリック領域符号化を適用して、閲覧画像生成部42により生成された2値画像を符号化し、JBIG2に規定されるハーフトーン領域符号化を適用して、多値2値変換部60により変換された2値画像を符号化する。符号生成部66は、これらの符号化されたデータから符号データを生成して、通信装置22に対して出力し、又は記録装置24に保存する。   The code generation unit 66 encodes the binary image generated by the browsing image generation unit 42 and the binary image converted by the multi-level binary conversion unit 60 using different methods to generate code data. . More specifically, the code generation unit 66 encodes the binary image generated by the browsing image generation unit 42 by applying text region encoding or generic region encoding specified in JBIG2, and specifies it in JBIG2. The binary image converted by the multilevel binary conversion unit 60 is encoded by applying the halftone region encoding. The code generation unit 66 generates code data from these encoded data and outputs the code data to the communication device 22 or stores it in the recording device 24.

検知画像符号化部660は、JBIG2に規定されるハーフトーン領域符号化を適用して、2値画像を符号化する。より具体的には、検知画像符号化部660は、多値2値変換部60により変換された2値画像を、多値画像に変換した後に符号化して符号データを生成する。また、検知画像符号化部660は、2値画像を、この2値画像が変換される前の多値画像と同一の多値画像に変換して、この多値画像及び多値化パラメータを符号化する。
なお、検知画像符号化部660によるハーフトーン領域の符号化処理は、後で詳述する。
The detected image encoding unit 660 encodes the binary image by applying the halftone area encoding specified in JBIG2. More specifically, the detected image encoding unit 660 generates code data by converting the binary image converted by the multi-level binary conversion unit 60 into a multi-level image and encoding the binary image. The detected image encoding unit 660 converts the binary image into a multi-value image that is the same as the multi-value image before the binary image is converted, and encodes the multi-value image and the multi-value parameter. Turn into.
The halftone area encoding process performed by the detected image encoding unit 660 will be described in detail later.

検知画像符号化部660の2値多値変換部662は、多値2値変換部60から入力された2値画像を、この2値画像が変換される前の多値画像と同一の多値画像に変換する。例えば、2値多値変換部662は、所定の範囲の2値パターンを、この2値パターンに応じて定められている多値に変換する。検知画像符号化部660は、多値画像符号化部664に対して、変換後の多値画像を出力し、2値パターン符号化部666に対して、2値パターンと多値との組み合わせ(多値化パラメータ)を出力する。   The binary multi-value conversion unit 662 of the detected image encoding unit 660 converts the binary image input from the multi-value binary conversion unit 60 into the same multi-value as the multi-value image before the binary image is converted. Convert to image. For example, the binary multi-value conversion unit 662 converts a binary pattern in a predetermined range into a multi-value determined according to the binary pattern. The detected image encoding unit 660 outputs the converted multi-value image to the multi-value image encoding unit 664, and outputs a combination of the binary pattern and the multi-value to the binary pattern encoding unit 666 ( Multi-value parameter) is output.

多値画像符号化部664は、ハーフトーン領域符号化を適用して、2値多値変換部662から入力された多値画像を符号化する。
2値パターン符号化部666は、エントロピー符号化等(ハフマン符号化、算術符号化又はLZ符号化など)により、多値化パラメータを符号化する。
The multilevel image encoding unit 664 encodes the multilevel image input from the binary multilevel conversion unit 662 by applying halftone region encoding.
The binary pattern encoding unit 666 encodes the multi-value parameter by entropy encoding or the like (Huffman encoding, arithmetic encoding, LZ encoding, or the like).

図10は、ハーフトーン領域の符号化処理を説明する図であり、図10(A)は、ハーフトーン領域符号化処理において作成される画像辞書を例示し、図10(B)は、この画像辞書を用いて生成された符号データ及びその復号画像を例示する。
図10(A)に例示するように、2値画像において、所定の2値パターンが所定の範囲内に存在する場合、それぞれの2値パターンが、インデクス(濃度値)に対応付けられて画像辞書に登録される。
FIG. 10 is a diagram for explaining the encoding process of the halftone area. FIG. 10A illustrates an image dictionary created in the halftone area encoding process, and FIG. 10B illustrates this image. The code data produced | generated using the dictionary and its decoded image are illustrated.
As illustrated in FIG. 10A, in a binary image, when a predetermined binary pattern exists within a predetermined range, each binary pattern is associated with an index (density value) in the image dictionary. Registered in

この画像辞書を用いて、画像が符号化されると、図10(B)に例示するような符号データが生成される。符号データは、2値画像における各領域の濃度値(すなわち、インデクス)と、この濃度値が存在する位置を示す位置情報(格子状の位置)とで構成される。この符号データが復号化されると、画像辞書が参照されて、復号画像が生成される。より具体的には、符号データから復号化された濃度値に基づいて、画像辞書に登録されている2値パターンが選択され、選択された2値パターンが符号データから復号化された位置情報に応じて配置されて、復号画像が生成される。   When an image is encoded using this image dictionary, code data as illustrated in FIG. 10B is generated. The code data is composed of density values (that is, indexes) of respective regions in the binary image and position information (grid-like positions) indicating positions where the density values exist. When this code data is decoded, the image dictionary is referred to and a decoded image is generated. More specifically, based on the density value decoded from the code data, a binary pattern registered in the image dictionary is selected, and the selected binary pattern is converted into position information decoded from the code data. Accordingly, the decoded image is generated.

図11は、符号化プログラム6による符号化処理(S30)を示すフローチャートである。なお、図11に示された各処理のうち、図6に示された処理と実質的に同一の処理には同一の符号が付されている。
図11に示すように、S100〜S104の処理で、閲覧用2値画像及び改ざん検知用の多値画像が、入力された多値画像から生成される。生成された2値画像は、テキスト領域符号化あるいはジェネリック領域符号化が適用されて、符号生成部66の閲覧画像符号化部460により符号化される。また、生成された多値画像は、多値2値変換部60に対して出力される。なお、入力された多値画像が、多値画像受付部40により、多値2値変換部60に対して出力されてもよい。
FIG. 11 is a flowchart showing the encoding process (S30) by the encoding program 6. Of the processes shown in FIG. 11, processes that are substantially the same as the processes shown in FIG. 6 are denoted by the same reference numerals.
As shown in FIG. 11, a binary image for browsing and a multi-value image for tampering detection are generated from the input multi-value image in the processing of S100 to S104. The generated binary image is encoded by the browse image encoding unit 460 of the code generation unit 66 by applying text region encoding or generic region encoding. Further, the generated multi-value image is output to the multi-value binary conversion unit 60. Note that the input multi-value image may be output to the multi-value binary conversion unit 60 by the multi-value image receiving unit 40.

ステップ300(S300)において、多値2値変換部60は、検知画像生成部44から入力された多値画像を2値画像に変換して、符号生成部66に対して出力する。
ステップ306(S306)において、符号生成部66の検知画像符号化部660は、ハーフトーン領域符号化を適用して、多値2値変換部60から入力された2値画像を符号化する。より具体的には、2値多値変換部662は、多値2値変換部60から入力された2値画像を、この2値画像が変換される前の多値画像と同一の多値画像に変換して、多値画像符号化部664に対して出力する。また、2値多値変換部662は、2値パターン符号化部666に対して、多値化パラメータを出力する。多値画像符号化部664は、多値画像を符号化して多値画像符号データを生成し、2値パターン符号化部666は、多値化パラメータを符号化して2値パターン符号データを生成する。
In step 300 (S300), the multi-value binary conversion unit 60 converts the multi-value image input from the detected image generation unit 44 into a binary image and outputs the binary image to the code generation unit 66.
In step 306 (S306), the detected image encoding unit 660 of the code generation unit 66 applies the halftone region encoding to encode the binary image input from the multi-level binary conversion unit 60. More specifically, the binary multi-value conversion unit 662 converts the binary image input from the multi-value binary conversion unit 60 into the same multi-value image as the multi-value image before the binary image is converted. And output to the multi-valued image encoding unit 664. In addition, the binary multilevel conversion unit 662 outputs a multilevel parameter to the binary pattern encoding unit 666. The multilevel image encoding unit 664 encodes the multilevel image to generate multilevel image code data, and the binary pattern encoding unit 666 encodes the multilevel parameter to generate binary pattern code data. .

ステップ308(S308)において、符号生成部66は、閲覧画像符号化部460により生成された2値画像符号データ、多値画像符号化部664により生成された多値画像符号データ、及び2値パターン符号化部666により生成された2値パターン符号データを含む符号データを生成して、通信装置22に対して出力し、又は記録装置24に保存する。   In step 308 (S308), the code generation unit 66 includes the binary image code data generated by the browsing image encoding unit 460, the multi-value image code data generated by the multi-value image encoding unit 664, and the binary pattern. Code data including the binary pattern code data generated by the encoding unit 666 is generated and output to the communication device 22 or stored in the recording device 24.

図12は、本実施形態にかかる復号化方法を実現する復号化プログラム7の機能構成を示す図である。
図12に示すように、復号化プログラム7は、符号データ受付部50、画像生成部72及び2値多値変換部74を含む。画像生成部72は、閲覧画像復号化部520及び検知画像復号化部720を含み、検知画像復号化部720は、多値画像復号部722、2値パターン復号部724及び2値画像復号部726を含む。
なお、図12に示された各構成のうち、図7に示された構成と実質的に同一のものには同一の符号が付されている。
FIG. 12 is a diagram showing a functional configuration of the decryption program 7 for realizing the decryption method according to the present embodiment.
As illustrated in FIG. 12, the decoding program 7 includes a code data reception unit 50, an image generation unit 72, and a binary multi-value conversion unit 74. The image generation unit 72 includes a browsing image decoding unit 520 and a detection image decoding unit 720. The detection image decoding unit 720 includes a multi-value image decoding unit 722, a binary pattern decoding unit 724, and a binary image decoding unit 726. including.
12 that are substantially the same as those shown in FIG. 7 are denoted by the same reference numerals.

復号化プログラム7において、画像生成部72は、符号データ受付部50から入力された符号データに含まれる多値画像を復号化し、この多値画像に基づいて、2値画像を生成して、2値多値変換部74に対して出力する。より具体的には、画像生成部72の検知画像復号化部720は、画像生成部72の制御により、ハーフトーン領域復号化を適用して、符号化された多値画像を復号化し、符号化された2値パターンを復号化し、復号化されたデータに基づいて、2値画像を生成する。   In the decoding program 7, the image generation unit 72 decodes the multilevel image included in the code data input from the code data reception unit 50, generates a binary image based on the multilevel image, The value is output to the multivalue conversion unit 74. More specifically, the detected image decoding unit 720 of the image generation unit 72 applies halftone region decoding under the control of the image generation unit 72 to decode and encode the encoded multi-valued image. The binary pattern thus decoded is decoded, and a binary image is generated based on the decoded data.

検知画像復号化部720の多値画像復号部722は、符号化された多値画像を復号化し、2値パターンと位置との対応データを抽出して、2値画像復号部726に対して出力する。
2値パターン復号部724は、符号化された多値化パラメータを復号化し、図10(A)に示される画像辞書を抽出して、2値画像復号部726に対して出力する。
2値画像復号部726は、画像辞書を参照して、画像のそれぞれの位置に2値パターンを配置し、2値画像を生成して、2値多値変換部74に対して出力する。
The multi-value image decoding unit 722 of the detected image decoding unit 720 decodes the encoded multi-value image, extracts correspondence data between the binary pattern and the position, and outputs the data to the binary image decoding unit 726. To do.
The binary pattern decoding unit 724 decodes the encoded multilevel parameter, extracts the image dictionary shown in FIG. 10A, and outputs the extracted image dictionary to the binary image decoding unit 726.
The binary image decoding unit 726 refers to the image dictionary, arranges a binary pattern at each position of the image, generates a binary image, and outputs the binary image to the binary multi-value conversion unit 74.

2値多値変換部74は、検知画像復号化部720から入力された2値画像を、多値画像に変換する。2値多値変換部74は、符号化プログラム6の2値多値変換部662(図9)と実質的に同一の処理を行うことにより、多値画像復号部722により生成された多値画像と同一の多値画像を生成する。2値多値変換部74は、生成された多値画像を、通信装置22に対して出力し、又は記録装置24に保存する。   The binary multi-value conversion unit 74 converts the binary image input from the detected image decoding unit 720 into a multi-value image. The binary multi-value conversion unit 74 performs substantially the same processing as the binary multi-value conversion unit 662 (FIG. 9) of the encoding program 6, thereby generating a multi-value image generated by the multi-value image decoding unit 722. The same multi-valued image is generated. The binary multi-value conversion unit 74 outputs the generated multi-value image to the communication device 22 or stores it in the recording device 24.

図13は、復号化プログラム7による復号化処理(S40)を示すフローチャートである。なお、図13に示された各処理のうち、図8に示された処理と実質的に同一の処理には同一の符号が付されている。
図13に示すように、S200〜S202の処理で、符号データが受け付けられ、画像生成部72の閲覧画像復号化部520が、テキスト領域復号化あるいはジェネリック領域復号化を適用して、符号データに含まれている2値画像を復号化し、記録装置24等に対して2値画像を出力する。
FIG. 13 is a flowchart showing the decryption process (S40) by the decryption program 7. Of the processes shown in FIG. 13, processes that are substantially the same as those shown in FIG. 8 are denoted by the same reference numerals.
As shown in FIG. 13, code data is received in the processes of S200 to S202, and the browsing image decoding unit 520 of the image generation unit 72 applies text area decoding or generic area decoding to code data. The included binary image is decoded, and the binary image is output to the recording device 24 or the like.

ステップ400(S400)において、画像生成部72の検知画像復号化部720は、ハーフトーン領域復号化を適用して、符号データに含まれている多値画像を復号化し、この多値画像に基づいて、2値画像を生成して、2値多値変換部74に対して出力する。
ステップ402(S402)において、2値多値変換部74は、検知画像復号化部720から入力された2値画像を、多値画像に変換して、記録装置24等に対して確認画像を出力する。
In step 400 (S400), the detected image decoding unit 720 of the image generation unit 72 applies halftone region decoding to decode a multi-value image included in the code data, and based on this multi-value image. Thus, a binary image is generated and output to the binary multi-value conversion unit 74.
In step 402 (S402), the binary multi-value conversion unit 74 converts the binary image input from the detected image decoding unit 720 into a multi-value image, and outputs a confirmation image to the recording device 24 or the like. To do.

以上説明したように、本実施形態にかかる符号化装置2は、入力された多値画像から2値画像を生成し、入力された多値画像を2値画像に変換し、生成された2値画像と前記多値2値変換手段により変換された2値画像とを異なる手法を用いて符号化して符号データを生成する。このため、符号化装置2は、JBIG2に規定されるハーフトーン領域の符号化処理を、効率よく行うことができる。
また、本実施形態にかかる復号化装置3は、異なる手法を適用して符号化された2値画像と多値画像とを含む符号データを受け付け、受け付けられた符号データに含まれる多値画像を復号化し、この多値画像に基づいて2値画像を生成し、この2値画像を多値画像に変換する。このため、復号化装置3は、JBIG2に規定されるハーフトーン領域の復号化処理を、効率よく行うことができる。
As described above, the encoding device 2 according to the present embodiment generates a binary image from an input multivalued image, converts the input multivalued image into a binary image, and generates the generated binary value. Code data is generated by encoding the image and the binary image converted by the multi-value binary conversion means using different methods. For this reason, the encoding device 2 can efficiently perform the encoding process of the halftone area defined in JBIG2.
In addition, the decoding device 3 according to the present embodiment receives code data including a binary image and a multi-value image that are encoded by applying different methods, and receives the multi-value image included in the received code data. Decoding is performed, a binary image is generated based on the multi-valued image, and the binary image is converted into a multi-valued image. For this reason, the decoding apparatus 3 can efficiently perform the decoding process of the halftone area defined in JBIG2.

次に、本発明の第3の実施形態にかかる符号化装置2及び復号化装置3を説明する。
図14は、本実施形態にかかる符号化方法を実現する符号化プログラム8の機能構成を示す図である。
図14に示すように、符号化プログラム8は、多値画像受付部40、閲覧画像生成部42、検知画像生成部44、割当部80及び符号生成部86を含み、符号生成部86は、閲覧画像符号化部860及び検知画像符号化部862を含む。本実施形態にかかる符号化プログラム8は、生成された2値画像を、複数の層で構成される画像の第1の層に割り当て、生成された多値画像を、第2の層に割り当て、それぞれの層の画像を、異なる手法を用いて符号化する点で、第1の実施形態にかかる符号化プログラム4と異なる。
なお、図14に示された各構成のうち、図2に示された構成と実質的に同一のものには同一の符号が付されている。
Next, an encoding device 2 and a decoding device 3 according to the third embodiment of the present invention will be described.
FIG. 14 is a diagram showing a functional configuration of the encoding program 8 that realizes the encoding method according to the present embodiment.
As shown in FIG. 14, the encoding program 8 includes a multi-value image receiving unit 40, a browsing image generation unit 42, a detection image generation unit 44, an allocation unit 80, and a code generation unit 86. An image encoding unit 860 and a detected image encoding unit 862 are included. The encoding program 8 according to the present embodiment assigns the generated binary image to the first layer of an image composed of a plurality of layers, assigns the generated multi-valued image to the second layer, It differs from the encoding program 4 according to the first embodiment in that each layer image is encoded using a different method.
14 that are substantially the same as those shown in FIG. 2 are denoted by the same reference numerals.

符号化プログラム8において、割当部80は、複数の層で構成される画像において、閲覧画像生成部42により生成された2値画像を第1の層に割り当て、検知画像生成部44により生成された多値画像を第2の層に割り当てる。複数の層で構成される画像は、MRC(Mixed Raster Content)形式の画像であり、割当部80は、入力された画像からMRC形式の画像を生成して、符号生成部86に対して出力する。   In the encoding program 8, the assigning unit 80 assigns the binary image generated by the browsing image generating unit 42 to the first layer in the image composed of a plurality of layers, and is generated by the detected image generating unit 44. A multi-valued image is assigned to the second layer. The image composed of a plurality of layers is an MRC (Mixed Raster Content) format image, and the assigning unit 80 generates an MRC format image from the input image and outputs the generated image to the code generation unit 86. .

符号生成部86は、割当部80によりMRC形式の画像の第1の層に割り当てられた2値画像と第2の層に割り当てられた多値画像とを、異なる手法を用いて符号化して符号データを生成する。
閲覧画像符号化部860は、符号生成部86の制御により、例えばJBIG2に規定されるテキスト領域符号化あるいはジェネリック領域符号化を適用して、第1の層に割り当てられている2値画像を符号化する。
検知画像符号化部862は、符号生成部86の制御により、例えばJPEG2000に基づいた符号化手法を適用して、第2の層に割り当てられている多値画像を符号化する。
The code generator 86 encodes the binary image assigned to the first layer of the MRC format image by the assigning unit 80 and the multi-valued image assigned to the second layer by using different methods. Generate data.
The browsing image encoding unit 860 applies, for example, text region encoding or generic region encoding specified in JBIG2 under the control of the code generation unit 86 to encode the binary image assigned to the first layer. Turn into.
The detected image encoding unit 862 encodes a multi-valued image assigned to the second layer by applying an encoding method based on, for example, JPEG2000 under the control of the code generation unit 86.

図15は、符号化プログラム8による符号化処理(S50)を示すフローチャートである。なお、図15に示された各処理のうち、図6に示された処理と実質的に同一の処理には同一の符号が付されている。
図15に示すように、S100〜S102の処理で、閲覧用2値画像及び改ざん検知用の多値画像が、入力された多値画像から生成される。生成された画像それぞれは、割当部80に対して出力される。なお、入力された多値画像が、多値画像受付部40により、割当部80に対して、直接出力されてもよい。
FIG. 15 is a flowchart showing the encoding process (S50) by the encoding program 8. Note that among the processes shown in FIG. 15, processes that are substantially the same as the processes shown in FIG. 6 are denoted by the same reference numerals.
As shown in FIG. 15, in the processes of S <b> 100 to S <b> 102, a browsing binary image and a tampering detection multi-value image are generated from the input multi-value image. Each of the generated images is output to the assigning unit 80. Note that the input multi-value image may be directly output to the assigning unit 80 by the multi-value image receiving unit 40.

ステップ500(S500)において、割当部80は、2値画像を第1の層に割り当て、多値画像を第2の層に割り当て、MRC形式の画像を生成して、符号生成部86に対して出力する。
ステップ504(S504)において、符号生成部86の閲覧画像符号化部860は、例えばJBIG2に規定されるテキスト領域符号化あるいはジェネリック領域符号化を適用して、第1の層に割り当てられている2値画像を符号化する。
ステップ506(S506)において、符号生成部86の検知画像符号化部862は、例えばJPEG2000に基づいた符号化手法を適用して、第2の層に割り当てられている多値画像を符号化する。
In step 500 (S500), the assigning unit 80 assigns a binary image to the first layer, assigns a multi-valued image to the second layer, generates an image in the MRC format, and sends it to the code generating unit 86. Output.
In step 504 (S504), the browse image encoding unit 860 of the code generation unit 86 is assigned to the first layer by applying, for example, text region encoding or generic region encoding specified in JBIG2. The value image is encoded.
In step 506 (S506), the detected image encoding unit 862 of the code generation unit 86 encodes the multilevel image assigned to the second layer by applying an encoding method based on, for example, JPEG2000.

ステップ508(S508)において、符号生成部86は、閲覧画像符号化部860により生成された2値画像符号データ、検知画像符号化部862により生成された多値画像符号データを含む符号データを生成して、通信装置22に対して出力し、又は記録装置24に保存する。   In step 508 (S508), the code generation unit 86 generates code data including the binary image code data generated by the browsing image encoding unit 860 and the multi-value image code data generated by the detected image encoding unit 862. The data is output to the communication device 22 or stored in the recording device 24.

図16は、本実施形態にかかる復号化方法を実現する復号化プログラム9の機能構成を示す図である。
図16に示すように、復号化プログラム9は、符号データ受付部50、画像生成部92及び合成部90を含み、画像生成部92は、閲覧画像復号化部920及び検知画像復号化部922を含む。
なお、図16に示された各構成のうち、図7に示された構成と実質的に同一のものには同一の符号が付されている。
FIG. 16 is a diagram illustrating a functional configuration of the decryption program 9 that realizes the decryption method according to the present embodiment.
As illustrated in FIG. 16, the decoding program 9 includes a code data receiving unit 50, an image generation unit 92, and a synthesis unit 90. The image generation unit 92 includes a browsing image decoding unit 920 and a detected image decoding unit 922. Including.
16 that are substantially the same as those shown in FIG. 7 are denoted by the same reference numerals.

復号化プログラム9において、画像生成部92は、複数の層で構成される符号データであって、2値画像と多値画像とを異なる層に含む画像の符号データに含まれる画像のうち少なくとも多値画像を復号化して多値画像を生成する。さらに、画像生成部92は、この符号データに含まれる画像のうち、2値画像をさらに復号化して2値画像を生成してもよい。画像生成部92は、画像が閲覧される場合には、2値画像のみを生成してもよいし、画像の改ざん検知がなされる場合には、多値画像のみを生成してもよい。画像生成部92は、合成部90に対して、生成された2値画像及び多値画像を出力し、さらに、通信装置22に対して出力し、又は記録装置24に保存する。   In the decoding program 9, the image generation unit 92 is code data composed of a plurality of layers, and at least many of the images included in the code data of an image including a binary image and a multilevel image in different layers. A multi-valued image is generated by decoding the value image. Furthermore, the image generation unit 92 may generate a binary image by further decoding a binary image among images included in the code data. The image generation unit 92 may generate only a binary image when the image is browsed, or may generate only a multi-valued image when alteration of the image is detected. The image generation unit 92 outputs the generated binary image and multi-valued image to the synthesis unit 90, and further outputs them to the communication device 22 or stores them in the recording device 24.

閲覧画像復号化部920は、画像生成部92の制御により、例えばJBIG2に規定されるテキスト領域復号化あるいはジェネリック領域復号化を適用して、2値画像を復号化する。
検知画像復号化部922は、画像生成部92の制御により、例えばJPEG2000に基づいた復号化手法を適用して、多値画像を復号化する。
The browsing image decoding unit 920 decodes the binary image by applying, for example, text region decoding or generic region decoding specified in JBIG2 under the control of the image generation unit 92.
The detected image decoding unit 922 decodes the multi-valued image by applying a decoding method based on, for example, JPEG2000 under the control of the image generation unit 92.

合成部90は、画像生成部92から入力された2値画像と多値画像とを、MRC形式の画像の異なる層に割り当てて、MRC形式の画像(合成画像)を生成して、通信装置22に対して出力し、又は記録装置24に保存する。   The synthesizing unit 90 assigns the binary image and the multi-valued image input from the image generating unit 92 to different layers of the MRC format image to generate an MRC format image (synthesized image), and the communication device 22. Or stored in the recording device 24.

図17は、復号化プログラム9による復号化処理(S60)を示すフローチャートである。なお、図17に示された各処理のうち、図8に示された処理と実質的に同一の処理には同一の符号が付されている。
図17に示すように、S200の処理で、符号データが受け付けられて、画像生成部92に対して出力される。
FIG. 17 is a flowchart showing the decryption process (S60) by the decryption program 9. Of the processes shown in FIG. 17, processes that are substantially the same as the processes shown in FIG. 8 are denoted by the same reference numerals.
As shown in FIG. 17, in the process of S <b> 200, code data is accepted and output to the image generation unit 92.

ステップ602(S602)において、画像生成部92の閲覧画像復号化部920は、例えばJBIG2に規定されるテキスト領域復号化あるいはジェネリック領域復号化を適用して、2値画像を復号化する。画像生成部92は、合成部90に対して、生成された2値画像を出力し、さらに、通信装置22に対して出力し、又は記録装置24に保存する。
ステップ604(S602)において、画像生成部92の検知画像復号化部922は、例えばJPEG2000に基づいた復号化手法を適用して、多値画像を復号化する。画像生成部92は、合成部90に対して、生成された多値画像を出力し、さらに、通信装置22に対して出力し、又は記録装置24に保存する。
In step 602 (S602), the browsing image decoding unit 920 of the image generation unit 92 decodes the binary image by applying, for example, text region decoding or generic region decoding defined in JBIG2. The image generating unit 92 outputs the generated binary image to the synthesizing unit 90, and further outputs it to the communication device 22 or stores it in the recording device 24.
In step 604 (S602), the detected image decoding unit 922 of the image generation unit 92 decodes the multi-valued image by applying a decoding method based on, for example, JPEG2000. The image generation unit 92 outputs the generated multi-value image to the synthesis unit 90, and further outputs it to the communication device 22 or stores it in the recording device 24.

ステップ606(S606)において、合成部90は、画像生成部92から入力された2値画像と多値画像とを、MRC形式の画像の異なる層に割り当てて、MRC形式の画像(合成画像)を生成して、通信装置22に対して出力し、又は記録装置24に保存する。
なお、画像それぞれは、記録装置24に記憶された場合には、適宜読み出され、復号化装置3のUI装置26に表示され、又はプリンタ装置10に出力されて記録媒体に印刷される。
In step 606 (S606), the synthesizing unit 90 assigns the binary image and the multi-valued image input from the image generating unit 92 to different layers of the MRC format image, and the MRC format image (synthesized image). Generated and output to the communication device 22 or stored in the recording device 24.
In addition, when each image is stored in the recording device 24, the image is appropriately read and displayed on the UI device 26 of the decoding device 3, or output to the printer device 10 and printed on a recording medium.

以上説明したように、本実施形態にかかる符号化装置2は、入力された多値画像から2値画像を生成し、この多値画像から当該多値画像とは異なる多値画像を生成し、複数の層で構成される画像において、生成された2値画像を第1の層に割り当て、生成された多値画像を第2の層に割り当て、第1の層に割り当てられた2値画像と第2の層に割り当てられた多値画像とを、異なる手法を用いて符号化して符号データを生成する。このため、符号化装置2は、閲覧時及び改ざん検知時の処理が高速になされうる符号データを生成することができる。
また、本実施形態にかかる復号化装置3は、複数の層で構成され、2値画像と多値画像とを異なる層に含む画像の符号データを受け付け、受け付けられた符号データに含まれる画像のうち少なくとも多値画像を復号化して多値画像を生成するので、改ざん検知時の処理を高速に行うことができる。さらに、復号化装置3は、符号データに含まれる画像のうち2値画像のみを復号化して2値画像を生成するので、閲覧時の処理を高速に行うことができる。
As described above, the encoding device 2 according to the present embodiment generates a binary image from the input multi-value image, generates a multi-value image different from the multi-value image from the multi-value image, In an image composed of a plurality of layers, the generated binary image is assigned to the first layer, the generated multi-valued image is assigned to the second layer, and the binary image assigned to the first layer The multilevel image assigned to the second layer is encoded using a different method to generate code data. For this reason, the encoding device 2 can generate code data that can be processed at high speed during browsing and when tampering is detected.
In addition, the decoding device 3 according to the present embodiment includes a plurality of layers, receives code data of an image including a binary image and a multi-value image in different layers, and stores the image data included in the received code data. Among them, since at least the multi-valued image is decoded to generate the multi-valued image, it is possible to perform processing at the time of tampering detection at high speed. Furthermore, since the decoding device 3 generates a binary image by decoding only the binary image among the images included in the code data, the processing during browsing can be performed at high speed.

本発明にかかる符号化方法及び復号化方法が適応される符号化装置2及び復号化装置3のハードウェア構成を、制御装置20を中心に例示する図である。It is a figure which illustrates the hardware constitutions of the encoding apparatus 2 and the decoding apparatus 3 to which the encoding method and decoding method concerning this invention are applied centering on the control apparatus 20. FIG. 本発明の第1の実施形態にかかる符号化方法を実現する符号化プログラム4の機能構成を示す図である。It is a figure which shows the function structure of the encoding program 4 which implement | achieves the encoding method concerning the 1st Embodiment of this invention. 閲覧画像生成部42によりなされる2値化処理を説明する図であって、図3(A)は、入力画素値と浮動しきい値及び固定しきい値との関係を例示し、図3(B)は、固定しきい値を用いた場合に生成される2値画像を例示し、図3(C)は、浮動しきい値を用いた場合に生成される2値画像を例示し、図3(D)は、2値網点化処理がなされた場合に生成される2値画像を例示する。FIG. 3A illustrates a binarization process performed by the browsing image generation unit 42. FIG. 3A illustrates the relationship between an input pixel value, a floating threshold value, and a fixed threshold value. B) illustrates a binary image generated when a fixed threshold is used, and FIG. 3C illustrates a binary image generated when a floating threshold is used. 3 (D) exemplifies a binary image generated when a binary halftone dot conversion process is performed. 閲覧画像符号化部460によりなされるテキスト領域の符号化処理を説明する図であって、図4(A)は、閲覧画像符号化部460に入力される2値画像を例示し、図4(B)は、閲覧画像符号化部460により作成される画像辞書を例示し、図4(C)は、テキスト領域符号化後のデータを例示する。FIG. 4A is a diagram illustrating a text area encoding process performed by the browsing image encoding unit 460. FIG. 4A illustrates a binary image input to the browsing image encoding unit 460, and FIG. B) illustrates an image dictionary created by the browsing image encoding unit 460, and FIG. 4C illustrates data after text region encoding. ハーフトーン領域の符号化処理を説明する図であり、図5(A)は、符号化対象である多値画像を例示し、図5(B)は、ハーフトーン領域符号化処理において作成される画像辞書を例示し、図5(C)は、この画像辞書を用いて生成された符号データを例示する。FIGS. 5A and 5B are diagrams illustrating a halftone area encoding process. FIG. 5A illustrates a multi-value image to be encoded, and FIG. 5B is created in the halftone area encoding process. An image dictionary is illustrated, and FIG. 5C illustrates code data generated using the image dictionary. 符号化プログラム4による符号化処理(S10)を示すフローチャートである。It is a flowchart which shows the encoding process (S10) by the encoding program 4. 本発明の第1の実施形態にかかる復号化方法を実現する復号化プログラム5の機能構成を示す図である。It is a figure which shows the function structure of the decoding program 5 which implement | achieves the decoding method concerning the 1st Embodiment of this invention. 復号化プログラム5による復号化処理(S20)を示すフローチャートである。It is a flowchart which shows the decoding process (S20) by the decoding program 5. FIG. 本発明の第2の実施形態にかかる符号化方法を実現する符号化プログラム6の機能構成を示す図である。It is a figure which shows the function structure of the encoding program 6 which implement | achieves the encoding method concerning the 2nd Embodiment of this invention. ハーフトーン領域の符号化処理を説明する図であり、図10(A)は、ハーフトーン領域符号化処理において作成される画像辞書を例示し、図10(B)は、この画像辞書を用いて生成された符号データ及びその復号画像を例示する。FIG. 10A illustrates an image dictionary created in the halftone area encoding process, and FIG. 10B uses this image dictionary. The generated code data and its decoded image are illustrated. 符号化プログラム6による符号化処理(S30)を示すフローチャートである。It is a flowchart which shows the encoding process (S30) by the encoding program 6. FIG. 本発明の第2の実施形態にかかる復号化方法を実現する復号化プログラム7の機能構成を示す図である。It is a figure which shows the function structure of the decoding program 7 which implement | achieves the decoding method concerning the 2nd Embodiment of this invention. 復号化プログラム7による復号化処理(S40)を示すフローチャートである。It is a flowchart which shows the decoding process (S40) by the decoding program 7. FIG. 本発明の第3の実施形態にかかる符号化方法を実現する符号化プログラム8の機能構成を示す図である。It is a figure which shows the function structure of the encoding program 8 which implement | achieves the encoding method concerning the 3rd Embodiment of this invention. 符号化プログラム8による符号化処理(S50)を示すフローチャートである。It is a flowchart which shows the encoding process (S50) by the encoding program 8. FIG. 本発明の第3の実施形態にかかる復号化方法を実現する復号化プログラム9の機能構成を示す図である。It is a figure which shows the function structure of the decoding program 9 which implement | achieves the decoding method concerning the 3rd Embodiment of this invention. 復号化プログラム9による復号化処理(S60)を示すフローチャートである。It is a flowchart which shows the decoding process (S60) by the decoding program 9. FIG.

符号の説明Explanation of symbols

2・・・符号化装置
10・・・プリンタ装置
20・・・制御装置
202・・・CPU
204・・・メモリ
22・・・通信装置
24・・・記録装置
26・・・UI装置
3・・・復号化装置
4・・・符号化プログラム
40・・・多値画像受付部
42・・・閲覧画像生成部
44・・・検知画像生成部
46・・・符号生成部
460・・・閲覧画像符号化部
462・・・検知画像符号化部
5・・・復号化プログラム
50・・・符号データ受付部
52・・・画像生成部
520・・・閲覧画像復号化部
522・・・検知画像復号化部
6・・・符号化プログラム
60・・・多値2値変換部
66・・・符号生成部
660・・・検知画像符号化部
662・・・2値多値変換部
664・・・多値画像符号化部
666・・・2値パターン符号化部
7・・・復号化プログラム
72・・・画像生成部
720・・・検知画像復号化部
722・・・多値画像復号部
724・・・2値パターン復号部
726・・・2値画像復号部
74・・・2値多値変換部
8・・・符号化プログラム
80・・・割当部
86・・・符号生成部
860・・・閲覧画像符号化部
862・・・検知画像符号化部
9・・・復号化プログラム
90・・・合成部
92・・・画像生成部
920・・・閲覧画像復号化部
922・・・検知画像復号化部
2 ... Encoding device 10 ... Printer device 20 ... Control device 202 ... CPU
204 ... Memory 22 ... Communication device 24 ... Recording device 26 ... UI device 3 ... Decoding device 4 ... Encoding program 40 ... Multi-valued image receiving unit 42 ... Browsing image generation unit 44... Detection image generation unit 46... Code generation unit 460 .. browsing image encoding unit 462... Detection image encoding unit 5. Reception unit 52 ... Image generation unit 520 ... Browsing image decoding unit 522 ... Detected image decoding unit 6 ... Encoding program 60 ... Multi-level binary conversion unit 66 ... Code generation 660... Detected image encoding unit 662... Binary multilevel conversion unit 664... Multilevel image encoding unit 666... Binary pattern encoding unit 7. Image generation unit 720 ... Detected image decoding unit 722 Multi-level image decoding unit 724 ... Binary pattern decoding unit 726 ... Binary image decoding unit 74 ... Binary multi-level conversion unit 8 ... Encoding program 80 ... Allocation unit 86 ... Code generation unit 860 ... browsing image encoding unit 862 ... detected image encoding unit 9 ... decoding program 90 ... synthesis unit 92 ... image generation unit 920 ... browsing image decoding 922... Detected image decoding unit

Claims (28)

入力された多値画像から2値画像を生成する2値画像生成手段と、
前記2値画像生成手段により生成された2値画像と、多値画像とを、異なる手法を用いて符号化して符号データを生成する符号生成手段と
を有する符号化装置。
Binary image generating means for generating a binary image from the input multi-valued image;
An encoding apparatus comprising: a code generation unit that encodes a binary image generated by the binary image generation unit and a multi-level image using different methods to generate code data.
前記符号生成手段は、
前記2値画像生成手段により生成された2値画像を符号化する2値画像符号化手段と、
多値画像を符号化する多値画像符号化手段と
を有する
請求項1に記載の符号化装置。
The code generation means includes
Binary image encoding means for encoding the binary image generated by the binary image generation means;
The encoding apparatus according to claim 1, further comprising: a multi-level image encoding unit that encodes the multi-level image.
前記2値画像符号化手段は、JBIG2に規定されるテキスト領域符号化又はジェネリック領域符号化を適用する
請求項2に記載の符号化装置。
The encoding apparatus according to claim 2, wherein the binary image encoding means applies text region encoding or generic region encoding specified in JBIG2.
前記多値画像符号化手段は、多値画像に対して、JBIG2に規定されるハーフトーン領域符号化を適用する
請求項2又は3に記載の符号化装置。
The encoding device according to claim 2 or 3, wherein the multi-level image encoding means applies halftone region encoding defined in JBIG2 to the multi-level image.
入力された多値画像から2値画像を生成する2値画像生成手段と、
この多値画像から、当該多値画像とは異なる多値画像を生成する多値画像生成手段と、
前記2値画像生成手段により生成された2値画像と、前記多値画像生成手段により生成された多値画像とを、異なる手法を用いて符号化して符号データを生成する符号生成手段と
を有する符号化装置。
Binary image generating means for generating a binary image from the input multi-valued image;
A multi-value image generating means for generating a multi-value image different from the multi-value image from the multi-value image;
Code generation means for generating code data by encoding the binary image generated by the binary image generation means and the multi-value image generated by the multi-value image generation means using different methods. Encoding device.
入力された多値画像から2値画像を生成する2値画像生成手段と、
この多値画像を2値画像に変換する多値2値変換手段と、
前記2値画像生成手段により生成された2値画像と、前記多値2値変換手段により変換された2値画像とを、異なる手法を用いて符号化して符号データを生成する符号生成手段と
を有する符号化装置。
Binary image generating means for generating a binary image from the input multi-valued image;
Multi-value binary conversion means for converting the multi-value image into a binary image;
Code generation means for generating code data by encoding the binary image generated by the binary image generation means and the binary image converted by the multi-value binary conversion means using different methods. An encoding device having.
前記符号生成手段は、前記多値2値変換手段により変換された2値画像を、多値画像に変換した後に符号化して符号データを生成する
請求項6に記載の符号化装置。
The encoding device according to claim 6, wherein the code generation unit generates code data by encoding the binary image converted by the multi-level binary conversion unit after converting the binary image into a multi-level image.
前記符号生成手段は、前記多値2値変換手段により変換された2値画像を、この2値画像が変換される前の多値画像と同一の多値画像に変換する
請求項7に記載の符号化装置。
The code generation means converts the binary image converted by the multi-value binary conversion means into a multi-value image identical to the multi-value image before the binary image is converted. Encoding device.
入力された多値画像から2値画像を生成する2値画像生成手段と、
この多値画像から、当該多値画像とは異なる多値画像を生成する多値画像生成手段と、
複数の層で構成される画像において、前記2値画像生成手段により生成された2値画像を第1の層に割り当て、前記多値画像生成手段により生成された多値画像を第2の層に割り当てる割当手段と、
前記割当手段により第1の層に割り当てられた2値画像と、前記割当手段により第2の層に割り当てられた多値画像とを、異なる手法を用いて符号化して符号データを生成する符号生成手段と
を有する符号化装置。
Binary image generating means for generating a binary image from the input multi-valued image;
A multi-value image generating means for generating a multi-value image different from the multi-value image from the multi-value image;
In an image composed of a plurality of layers, the binary image generated by the binary image generating means is assigned to the first layer, and the multi-value image generated by the multi-value image generating means is assigned to the second layer. Assigning means to assign;
Code generation for generating code data by encoding the binary image assigned to the first layer by the assigning means and the multi-valued image assigned to the second layer by the assigning means using different methods And a coding device.
異なる手法を適用して符号化された2値画像と多値画像とを含む符号データを受け付ける受付手段と、
前記受付手段により受け付けられた符号データに含まれる画像のうち少なくとも多値画像を復号化して画像データを生成する画像生成手段と
を有する復号化装置。
Receiving means for receiving code data including a binary image and a multi-value image encoded by applying different methods;
A decoding apparatus comprising: an image generation unit configured to decode at least a multi-valued image among images included in the code data received by the reception unit and generate image data.
前記画像生成手段は、JBIG2に規定されるハーフトーン領域復号化を適用して、多値画像を復号化する
請求項10に記載の復号化装置。
The decoding device according to claim 10, wherein the image generation means decodes a multi-valued image by applying halftone region decoding defined in JBIG2.
異なる手法を適用して符号化された2値画像と多値画像とを含む符号データを受け付ける受付手段と、
前記受付手段により受け付けられた符号データに含まれる多値画像を復号化し、この多値画像に基づいて、2値画像を生成する画像生成手段と、
前記画像生成手段により生成された2値画像を、多値画像に変換する2値多値手段と
を有する復号化装置。
Receiving means for receiving code data including a binary image and a multi-value image encoded by applying different methods;
Image generating means for decoding a multi-valued image included in the code data received by the receiving means, and generating a binary image based on the multi-valued image;
A decoding apparatus comprising: binary multi-value means for converting the binary image generated by the image generation means into a multi-value image.
複数の層で構成され、2値画像と多値画像とを異なる層に含む画像の符号データを受け付ける受付手段と、
前記受付手段により受け付けられた符号データに含まれる画像のうち少なくとも多値画像を復号化して多値画像データを生成する画像生成手段と
を有する復号化装置。
A receiving unit configured to receive code data of an image including a plurality of layers and including a binary image and a multi-valued image in different layers;
A decoding device comprising: image generation means for decoding at least a multi-value image among images included in the code data received by the reception means to generate multi-value image data.
前記画像生成は、前記受付手段により受け付けられた符号データに含まれる画像のうち、2値画像をさらに復号化して2値画像データを生成する
請求項13に記載の復号化装置。
The decoding apparatus according to claim 13, wherein the image generation further generates a binary image data by further decoding a binary image among images included in the code data received by the receiving unit.
入力された多値画像から2値画像を生成し、
前記生成された2値画像と、多値画像とを、異なる手法を用いて符号化して符号データを生成する
符号化方法。
Generate a binary image from the input multi-valued image,
An encoding method for generating code data by encoding the generated binary image and the multi-valued image using different methods.
入力された多値画像から2値画像を生成し、
この多値画像から、当該多値画像とは異なる多値画像を生成し、
前記生成された2値画像と、前記生成された多値画像とを、異なる手法を用いて符号化して符号データを生成する
符号化方法。
Generate a binary image from the input multi-valued image,
From this multi-value image, a multi-value image different from the multi-value image is generated,
An encoding method for generating code data by encoding the generated binary image and the generated multi-valued image using different methods.
入力された多値画像から2値画像を生成し、
この多値画像を2値画像に変換し、
前記生成された2値画像と、前記変換された2値画像とを、異なる手法を用いて符号化して符号データを生成する
符号化方法。
Generate a binary image from the input multi-valued image,
Convert this multi-valued image into a binary image,
An encoding method for generating code data by encoding the generated binary image and the converted binary image using different methods.
入力された多値画像から2値画像を生成し、
この多値画像から、当該多値画像とは異なる多値画像を生成し、
複数の層で構成される画像において、前記生成された2値画像を第1の層に割り当て、前記生成された多値画像を第2の層に割り当て、
前記第1の層に割り当てられた2値画像と、前記第2の層に割り当てられた多値画像とを、異なる手法を用いて符号化して符号データを生成する
符号化方法。
Generate a binary image from the input multi-valued image,
From this multi-value image, a multi-value image different from the multi-value image is generated,
In an image composed of a plurality of layers, the generated binary image is assigned to a first layer, the generated multi-valued image is assigned to a second layer,
An encoding method for generating code data by encoding a binary image assigned to the first layer and a multi-value image assigned to the second layer using different methods.
異なる手法を適用して符号化された2値画像と多値画像とを含む符号データを受け付け、
前記受け付けられた符号データに含まれる画像のうち少なくとも多値画像を復号化して画像データを生成する
復号化方法。
Accepts encoded data including a binary image and a multi-valued image encoded by applying different methods;
A decoding method for generating image data by decoding at least a multi-valued image of images included in the received code data.
異なる手法を適用して符号化された2値画像と多値画像とを含む符号データを受け付け、
前記受け付けられた符号データに含まれる多値画像を復号化し、この多値画像に基づいて、2値画像を生成し、
前記生成された2値画像を、多値画像に変換する
復号化方法。
Accepts encoded data including a binary image and a multi-valued image encoded by applying different methods;
Decoding a multi-value image included in the received code data, and generating a binary image based on the multi-value image;
A decoding method for converting the generated binary image into a multi-valued image.
複数の層で構成され、2値画像と多値画像とを異なる層に含む画像の符号データを受け付け、
前記受け付けられた符号データに含まれる画像のうち少なくとも多値画像を復号化して多値画像データを生成する
復号化方法。
Accepts code data of an image composed of a plurality of layers and including a binary image and a multi-value image in different layers,
A decoding method for generating multi-value image data by decoding at least a multi-value image among images included in the received code data.
コンピュータを含む符号化装置において、
入力された多値画像から2値画像を生成する2値画像生成ステップと、
前記生成された2値画像と、多値画像とを、異なる手法を用いて符号化して符号データを生成する符号生成ステップと
を前記符号化装置に実行させるプログラム。
In an encoding device including a computer,
A binary image generation step of generating a binary image from the input multi-valued image;
A program that causes the encoding apparatus to execute a code generation step of generating code data by encoding the generated binary image and multi-valued image using different methods.
コンピュータを含む符号化装置において、
入力された多値画像から2値画像を生成する2値画像生成ステップと、
この多値画像から、当該多値画像とは異なる多値画像を生成する多値画像生成ステップと、
前記生成された2値画像と、前記生成された多値画像とを、異なる手法を用いて符号化して符号データを生成する符号生成ステップと
を前記符号化装置に実行させるプログラム。
In an encoding device including a computer,
A binary image generation step of generating a binary image from the input multi-valued image;
A multi-value image generation step for generating a multi-value image different from the multi-value image from the multi-value image,
A program that causes the encoding device to execute a code generation step of generating code data by encoding the generated binary image and the generated multi-valued image using different methods.
コンピュータを含む符号化装置において、
入力された多値画像から2値画像を生成する2値画像生成ステップと、
この多値画像を2値画像に変換する多値2値変換ステップと、
前記生成された2値画像と、前記変換された2値画像とを、異なる手法を用いて符号化して符号データを生成する符号生成ステップと
を前記符号化装置に実行させるプログラム。
In an encoding device including a computer,
A binary image generation step of generating a binary image from the input multi-valued image;
A multi-value binary conversion step for converting the multi-value image into a binary image;
A program that causes the encoding apparatus to execute a code generation step of generating code data by encoding the generated binary image and the converted binary image using different methods.
コンピュータを含む符号化装置において、
入力された多値画像から2値画像を生成する2値画像生成ステップと、
この多値画像から、当該多値画像とは異なる多値画像を生成する多値画像生成ステップと、
複数の層で構成される画像において、前記生成された2値画像を第1の層に割り当て、前記生成された多値画像を第2の層に割り当てる割当ステップと、
前記第1の層に割り当てられた2値画像と、前記第2の層に割り当てられた多値画像とを、異なる手法を用いて符号化して符号データを生成する符号生成ステップと
を前記符号化装置に実行させるプログラム。
In an encoding device including a computer,
A binary image generation step of generating a binary image from the input multi-valued image;
A multi-value image generation step for generating a multi-value image different from the multi-value image from the multi-value image,
An assigning step of assigning the generated binary image to a first layer and assigning the generated multi-valued image to a second layer in an image composed of a plurality of layers;
A code generation step of generating code data by encoding the binary image assigned to the first layer and the multi-value image assigned to the second layer using different methods; A program to be executed by a device.
コンピュータを含む復号化装置において、
異なる手法を適用して符号化された2値画像と多値画像とを含む符号データを受け付ける受付ステップと、
前記受け付けられた符号データに含まれる画像のうち少なくとも多値画像を復号化して画像データを生成する画像生成ステップと
を前記復号化装置に実行させるプログラム。
In a decoding device including a computer,
A reception step of receiving code data including a binary image and a multi-value image encoded by applying different methods;
A program that causes the decoding device to execute an image generation step of decoding at least a multi-value image among images included in the received code data to generate image data.
コンピュータを含む復号化装置において、
異なる手法を適用して符号化された2値画像と多値画像とを含む符号データを受け付ける受付ステップと、
前記受け付けられた符号データに含まれる多値画像を復号化し、この多値画像に基づいて、2値画像を生成する画像生成ステップと、
前記生成された2値画像を、多値画像に変換する2値多値ステップと
を前記復号化装置に実行させるプログラム。
In a decoding device including a computer,
A reception step of receiving code data including a binary image and a multi-value image encoded by applying different methods;
An image generation step of decoding a multi-valued image included in the received code data and generating a binary image based on the multi-valued image;
A program that causes the decoding device to execute a binary multi-value step of converting the generated binary image into a multi-value image.
コンピュータを含む復号化装置において、
複数の層で構成され、2値画像と多値画像とを異なる層に含む画像の符号データを受け付ける受付ステップと、
前記受け付けられた符号データに含まれる画像のうち少なくとも多値画像を復号化して多値画像データを生成する画像生成ステップと
を前記復号化装置に実行させるプログラム。
In a decoding device including a computer,
An accepting step for receiving code data of an image composed of a plurality of layers and including a binary image and a multi-valued image in different layers;
A program that causes the decoding apparatus to execute an image generation step of decoding at least a multi-value image among images included in the received code data to generate multi-value image data.
JP2005172038A 2005-06-13 2005-06-13 Coding device, decoding device, coding method, decoding method and their programs Pending JP2006352214A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005172038A JP2006352214A (en) 2005-06-13 2005-06-13 Coding device, decoding device, coding method, decoding method and their programs

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005172038A JP2006352214A (en) 2005-06-13 2005-06-13 Coding device, decoding device, coding method, decoding method and their programs

Publications (1)

Publication Number Publication Date
JP2006352214A true JP2006352214A (en) 2006-12-28

Family

ID=37647627

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005172038A Pending JP2006352214A (en) 2005-06-13 2005-06-13 Coding device, decoding device, coding method, decoding method and their programs

Country Status (1)

Country Link
JP (1) JP2006352214A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004072484A (en) * 2002-08-07 2004-03-04 Canon Inc Image processing method and image processor
JP2004341090A (en) * 2003-05-14 2004-12-02 Fuji Xerox Co Ltd Data processor, image data file, data processing method, and program
JP2004363990A (en) * 2003-06-05 2004-12-24 Ricoh Co Ltd Image falsification detecting apparatus and restoring method of storage data thereof

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004072484A (en) * 2002-08-07 2004-03-04 Canon Inc Image processing method and image processor
JP2004341090A (en) * 2003-05-14 2004-12-02 Fuji Xerox Co Ltd Data processor, image data file, data processing method, and program
JP2004363990A (en) * 2003-06-05 2004-12-24 Ricoh Co Ltd Image falsification detecting apparatus and restoring method of storage data thereof

Similar Documents

Publication Publication Date Title
Lee et al. High-payload image hiding with quality recovery using tri-way pixel-value differencing
US6694041B1 (en) Halftone watermarking and related applications
JP4187749B2 (en) Halftone watermarking and related applications
US20070127771A1 (en) Image processing apparatus and method
US8595503B2 (en) Method of self-authenticating a document while preserving critical content in authentication data
US7545938B2 (en) Digital watermarking which allows tampering to be detected on a block-specific basis
WO2005094058A1 (en) Printing medium quality adjusting system, examining watermark medium output device, watermark quality examining device, adjusted watermark medium output device, printing medium quality adjusting method, and examining watermark medium
JP2002325170A (en) Image processing unit and its method, and program code, storage medium
CN110766594A (en) Information hiding method and device, detection method and device and anti-counterfeiting tracing method
US7760399B2 (en) Method and system for encoding color images to black-and-white bitmaps and decoding color images
Hel-Or Watermarking and copyright labeling of printed images
JP2004173072A (en) Code generator, image processor, code generation program, image processing program, and storage medium
JP4595014B2 (en) Digital watermark embedding device and detection device
US7006256B2 (en) Watermarked image generator and method of embedding watermarks into an input image
JP2008153824A (en) Image processor, determination device, change device, and image processing method
JP4687263B2 (en) Encoding device, decoding device, encoding method, decoding method, and programs thereof
JP2007194934A (en) Image formation system, encoded data embedding system, printer, printed matter, image forming program, and recording medium
Roche et al. Image watermarking based on the fractal transform: a draft demonstration
JP2007074362A (en) Coding apparatus, decoding apparatus, coding method, decoding method, and program for them
JP2006352214A (en) Coding device, decoding device, coding method, decoding method and their programs
JP2007081595A (en) Encoder, decoder, encoding method, decoding method and their program
JP4735806B2 (en) Encoding device, decoding device, and programs thereof
JP4753007B2 (en) Image encoding apparatus, image decoding apparatus, and programs thereof
JP4465654B2 (en) Image dictionary creation device, encoding device, encoding method and program thereof
JP4753006B2 (en) Image encoding apparatus, image decoding apparatus, and programs thereof

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

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20091126

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100122

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A821

Effective date: 20100127

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100412

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100611

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20101008