JPWO2008146504A1 - Image processing system - Google Patents

Image processing system Download PDF

Info

Publication number
JPWO2008146504A1
JPWO2008146504A1 JP2009516195A JP2009516195A JPWO2008146504A1 JP WO2008146504 A1 JPWO2008146504 A1 JP WO2008146504A1 JP 2009516195 A JP2009516195 A JP 2009516195A JP 2009516195 A JP2009516195 A JP 2009516195A JP WO2008146504 A1 JPWO2008146504 A1 JP WO2008146504A1
Authority
JP
Japan
Prior art keywords
image
area
information
encrypted
encryption
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.)
Granted
Application number
JP2009516195A
Other languages
Japanese (ja)
Other versions
JP4866959B2 (en
Inventor
康治 井波
康治 井波
睦 長島
睦 長島
仁司 吉尾
仁司 吉尾
清司 真田
清司 真田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
PFU Ltd
Original Assignee
PFU 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
Priority claimed from PCT/JP2007/061112 external-priority patent/WO2008146391A1/en
Application filed by PFU Ltd filed Critical PFU Ltd
Priority to JP2009516195A priority Critical patent/JP4866959B2/en
Publication of JPWO2008146504A1 publication Critical patent/JPWO2008146504A1/en
Application granted granted Critical
Publication of JP4866959B2 publication Critical patent/JP4866959B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Facsimile Transmission Control (AREA)
  • Editing Of Facsimile Originals (AREA)

Abstract

ユーザに処理対象の画像を作成する手間をかけることなく、暗号化や復号等の画像処理を簡易に行うことが可能な画像処理システムを提供することを課題とし、電子データの内容を描画するための描画情報の入力を受け付ける描画情報入力受付部21と、受け付けられた描画情報に基づいてデジタル画像を生成するデジタル画像生成部15と、生成されたデジタル画像における暗号化の対象となる部分領域を特定するための領域指定情報とこの部分領域を暗号化する際に用いられる鍵情報とを含む定義情報を取得する定義情報取得部23と、部分領域の画像を鍵情報に基づいて変換することで暗号化画像を生成する暗号化部11と、暗号化画像を出力する出力部12と、を備えた。To provide an image processing system that can easily perform image processing such as encryption and decryption without taking the user to create an image to be processed, in order to render the contents of electronic data A drawing information input receiving unit 21 for receiving the drawing information input, a digital image generating unit 15 for generating a digital image based on the received drawing information, and a partial area to be encrypted in the generated digital image. A definition information acquisition unit 23 for acquiring definition information including area specifying information for specifying and key information used when encrypting the partial area, and converting an image of the partial area based on the key information. An encryption unit 11 that generates an encrypted image and an output unit 12 that outputs the encrypted image are provided.

Description

本発明は、電子データを暗号化する技術に関する。   The present invention relates to a technique for encrypting electronic data.

印刷物の暗号化を扱った技術として、まず画像全体を複数のブロックに分割し、入力パスワード(暗号鍵)から得られるパラメータに基づき分割ブロックの画像を並び替え、さらにパラメータで指定されるブロックの画像を白黒反転およびミラー反転して画像を暗号化する技術がある(特許文献1を参照)。暗号化画像を復号する際は、画像の外側に位置決め用の枠を付加しパスワード(復号鍵)を入力後、暗号化と逆の手順で元の画像を復号する。   As a technology dealing with encryption of printed matter, the entire image is first divided into a plurality of blocks, the images of the divided blocks are rearranged based on the parameters obtained from the input password (encryption key), and the image of the block specified by the parameters There is a technique for encrypting an image by reversing black and white and mirror reversal (see Patent Document 1). When decrypting an encrypted image, a positioning frame is added to the outside of the image, a password (decryption key) is input, and then the original image is decrypted in the reverse procedure of encryption.

また、バイナリデータを表す所定の大きさの白黒の方形をマトリックス状に並べ、印刷物に埋め込む技術がある(特許文献2を参照)。さらに、復号の際に画像化された位置がわかるように、印刷物には位置決め用のシンボルがマトリックスの所定の位置に付加される。この位置決めシンボルを基準として、スキャナやカメラなどで画像を撮影し埋め込まれた情報を復号する。
特開平8−179689号公報 特許第2938338号公報
In addition, there is a technique in which black and white squares of a predetermined size representing binary data are arranged in a matrix and embedded in a printed material (see Patent Document 2). Further, a positioning symbol is added to the printed matter at a predetermined position in the matrix so that the imaged position can be known at the time of decoding. Using this positioning symbol as a reference, an image is taken with a scanner or camera, and the embedded information is decoded.
Japanese Patent Application Laid-Open No. 8-17989 Japanese Patent No. 2938338

従来、暗号鍵に基づいて画像処理を行い、画像を暗号化する技術がある。しかし、画像を暗号化する場合、紙媒体の文書であればスキャナ取り込みを行うことが必要となり、電子データの文書であれば、画素の集合としての画像(所謂ビットマップ形式の画像等)を生成することが必要となる。特に、電子データの文書では、その文書を扱うアプリケーションが画像形式での出力機能を有していない場合には、暗号化用の画像を取得することが困難となり、暗号化を行うにあたってユーザに大きな手間を強いることとなる。   Conventionally, there is a technique for performing image processing based on an encryption key to encrypt an image. However, when encrypting an image, it is necessary to capture the scanner if the document is a paper medium. If the document is an electronic data document, an image as a set of pixels (such as a bitmap format image) is generated. It is necessary to do. In particular, in an electronic data document, if an application that handles the document does not have an output function in an image format, it is difficult to obtain an image for encryption, and it is difficult for the user to perform encryption. It will be time consuming.

本発明は、上記した問題に鑑み、ユーザに処理対象の画像を作成する手間をかけることなく、暗号化や復号等の画像処理を簡易に行うことが可能な画像処理システムを提供することを課題とする。   In view of the above-described problems, the present invention provides an image processing system capable of easily performing image processing such as encryption and decryption without requiring the user to create an image to be processed. And

本発明は、上記した課題を解決するために、以下の手段を採用した。即ち、本発明は、電子データの内容を描画するための描画情報の入力を受け付ける描画情報入力受付手段と、前記描画情報入力受付手段によって入力が受け付けられた描画情報に基づいて、画素の集合としてのデジタル画像を生成するデジタル画像生成手段と、前記デジタル画像生成手段によって生成された前記デジタル画像における暗号化の対象となる部分領域を特定するための領域指定情報と、該部分領域を暗号化する際に用いられる鍵情報とを含む定義情報を取得する定義情報取得手段と、前記領域指定情報に基づいて特定される前記部分領域の画像を、前記鍵情報に基づいて変換することで、該部分領域の画像が暗号化された暗号化画像を生成する暗号化手段と、前記暗号化手段によって生成された、前記電子データの内容に対応する前記暗号化画像を出力する出力手段と、を備える画像処理システムである。   The present invention employs the following means in order to solve the above-described problems. That is, the present invention provides a drawing information input receiving means for receiving drawing information input for drawing the contents of electronic data, and a set of pixels based on the drawing information received by the drawing information input receiving means. A digital image generating means for generating a digital image, area designation information for specifying a partial area to be encrypted in the digital image generated by the digital image generating means, and encrypting the partial area Definition information acquisition means for acquiring definition information including key information used at the time, and by converting an image of the partial area specified based on the area designation information based on the key information, An encryption unit for generating an encrypted image obtained by encrypting an image of the area, and a content corresponding to the content of the electronic data generated by the encryption unit. And output means for outputting the encrypted image is an image processing system comprising a.

ここで、電子データとは、文書、図表、イラスト等の何らかの情報を含むデータをいう。これらの電子データは、例えば文書作成アプリケーション、表計算アプリケーション、イラスト作成アプリケーション等によって電子ファイルとして作成される。デジタル画像生成手段は、描画情報入力受付手段によって受け付けられた描画情報を用いることによって、電子データを表示または印刷する際のイメージを、画素の集合としてのデジタル画像(例えば、ビットマップデータ)として生成する。描画情報とは、電子データをディスプレイに表示または紙媒体に印刷等するための、文字や書式情報、レイアウト等を指定する情報である。即ち、本発明によれば、電子データを扱うアプリケーションが画像出力に対応していない場合であっても、ユーザに暗号化処理で用いるデジタル画像を作成する手間をかけることなく、暗号鍵を用いた暗号化や復号等の画像処理を簡易に行うことが可能となる。   Here, the electronic data refers to data including some information such as documents, charts, and illustrations. Such electronic data is created as an electronic file by, for example, a document creation application, a spreadsheet application, an illustration creation application, or the like. The digital image generating means generates an image when displaying or printing electronic data as a digital image (for example, bitmap data) as a set of pixels by using the drawing information received by the drawing information input receiving means. To do. The drawing information is information for designating characters, format information, layout, and the like for displaying electronic data on a display or printing on a paper medium. That is, according to the present invention, even when an application that handles electronic data does not support image output, the encryption key is used without requiring the user to create a digital image for use in encryption processing. Image processing such as encryption and decryption can be easily performed.

本発明に係る暗号化では、デジタル画像の一部の領域を指定して暗号化することが可能である。ここで、本発明では、暗号化の対象となる部分領域を、領域指定情報を用いて指定することとしている。領域指定情報は、デジタル画像上の領域を特定するための情報を有する。領域を特定するための情報としては、位置情報やサイズ情報、ベクトル情報等がある。   In the encryption according to the present invention, it is possible to specify and encrypt a partial area of a digital image. Here, in the present invention, the partial area to be encrypted is designated using the area designation information. The area designation information includes information for specifying an area on the digital image. Information for specifying the region includes position information, size information, vector information, and the like.

また、本発明は、画素の集合としてのデジタル画像の少なくとも一部が暗号鍵に基づいて変換されたことで生成された暗号化画像を取得する暗号化画像取得手段と、前記暗号化画像における復号の対象となる復号領域を特定するための領域指定情報と、該部分領域を復号する際に用いられる復号鍵とを含む定義情報を取得する定義情報取得手段と、前記領域指定情報に基づいて特定される前記復号領域の画像を、前記復号鍵に基づいて変換することで、該復号領域の画像が復号されたデジタル画像を生成する復号手段と、前記復号手段によって生成された前記デジタル画像を出力する出力手段と、を備える画像処理システムである。   The present invention also provides an encrypted image acquisition means for acquiring an encrypted image generated by converting at least a part of a digital image as a set of pixels based on an encryption key, and decryption in the encrypted image Definition information acquisition means for acquiring definition information including region specification information for specifying a decryption region to be subject to decryption and a decryption key used for decrypting the partial region, and specification based on the region specification information A decoding means for generating a digital image obtained by decoding the image in the decoding area by converting the image in the decoding area based on the decoding key, and outputting the digital image generated by the decoding means And an output means.

これによって、閲覧を制限したい情報について暗号化を行うことで、閲覧権限を有さない者に対して重要な情報の閲覧を制限しつつ、復号鍵を用いて復号し、元のデジタル画像を出力することで、閲覧権限を有する者に対しては情報の閲覧を許可することが可能となる。本発明に係る画像処理システムによれば、暗号化された情報は画像であるため、重要な情報のみを暗号化した状態でディスプレイ等に表示したり、紙媒体に印刷して回覧したりすることが可能であり、更に、必要なときに暗号化された部分を元に戻す(復号する)ことが可能である。   As a result, by encrypting the information that you want to restrict browsing, you can use the decryption key to decrypt and output the original digital image while restricting the browsing of important information for those who do not have browsing authority By doing so, it becomes possible to permit browsing of information to a person having browsing authority. According to the image processing system of the present invention, since the encrypted information is an image, only important information is encrypted and displayed on a display or the like, or printed on a paper medium and circulated. In addition, the encrypted part can be restored (decrypted) when necessary.

ここで、前記暗号化手段は、例えば、前記部分領域の画像を、鍵情報に基づいて処理画像に変換し、前記処理画像の画素値を規則的に変換することで、復号の際に暗号化位置の特定に用いられる規則性を有する変換画像を含む、前記暗号化画像を生成し、前記復号手段は、前記復号領域のうち画素値が規則的に変換されている暗号化位置を検出し、前記暗号化位置と復号鍵とに基づいて前記復号領域をデジタル画像に復号する。暗号化処理時に画素値が規則的に変換されることで、復号処理時に、この規則性に基づいて暗号化位置を検出することが出来、精度の高い復号が可能となる。   Here, the encryption means, for example, converts the image of the partial area into a processed image based on key information, and regularly converts the pixel value of the processed image, thereby encrypting at the time of decryption. Generating the encrypted image including a converted image having regularity used for specifying a position, and the decoding means detects an encrypted position in which pixel values are regularly converted in the decryption area; The decryption area is decrypted into a digital image based on the encrypted position and the decryption key. Since the pixel values are regularly converted during the encryption process, the encrypted position can be detected based on the regularity during the decryption process, thereby enabling highly accurate decryption.

また、本発明に係る画像処理システムは、予め定義された複数の前記定義情報を、該定義情報を識別するための識別情報と関連付けて保持する定義情報保持手段を更に備え、前記定義情報取得手段は、前記識別情報に基づいて、前記定義情報保持手段によって保持される複数の前記定義情報から、前記暗号化手段による暗号化画像の生成または前記復号手段によるデジタル画像の生成に用いられる前記領域指定情報および前記鍵情報を含む前記定義情報を取得してもよい。   The image processing system according to the present invention further comprises definition information holding means for holding a plurality of predefined definition information in association with identification information for identifying the definition information, wherein the definition information acquisition means The region designation used for generation of an encrypted image by the encryption unit or generation of a digital image by the decryption unit from a plurality of the definition information held by the definition information holding unit based on the identification information The definition information including information and the key information may be acquired.

これによって、複数の定義情報を予め定義しておき、暗号化や復号の画像処理毎に適切な定義情報を取得して使用することが可能となる。   As a result, a plurality of definition information can be defined in advance, and appropriate definition information can be acquired and used for each encryption or decryption image processing.

ここで、本発明に係る画像処理システムは、前記定義情報保持手段によって保持される複数の前記定義情報のうち、予めユーザによって指定された前記定義情報に係る識別情報を保持するユーザ指定内容保持手段を更に備え、前記定義情報取得手段は、前記定義情報保持手段によって保持される複数の前記定義情報から、前記ユーザ指定内容保持手段によって保持される前記識別情報に係る前記定義情報を取得してもよい。   Here, the image processing system according to the present invention includes a user-specified content holding unit that holds identification information related to the definition information designated in advance by a user among the plurality of definition information held by the definition information holding unit. The definition information acquisition unit may acquire the definition information related to the identification information held by the user-specified content holding unit from a plurality of the definition information held by the definition information holding unit. Good.

これによって、暗号化処理または復号処理の都度定義情報を選択したり、新たに領域指定情報や鍵情報を設定したりする必要なく、大量の電子データを続けて暗号化または復号することが出来る。   As a result, a large amount of electronic data can be continuously encrypted or decrypted without having to select definition information each time encryption processing or decryption processing, or newly set region designation information or key information.

また、本発明に係る画像処理システムは、前記デジタル画像生成手段によって生成された前記デジタル画像、または前記暗号化画像取得手段によって取得された前記暗号化画像から、前記識別情報を取得する識別情報取得手段を更に備え、前記定義情報取得手段は、前記定義情報保持手段によって保持される複数の前記定義情報から、前記識別情報取得手段によって取得された前記識別情報に係る前記定義情報を取得してもよい。   In addition, the image processing system according to the present invention provides an identification information acquisition for acquiring the identification information from the digital image generated by the digital image generation unit or the encrypted image acquired by the encrypted image acquisition unit. And the definition information acquisition means may acquire the definition information related to the identification information acquired by the identification information acquisition means from a plurality of the definition information held by the definition information holding means. Good.

デジタル画像または暗号化画像に含まれる識別情報を取得し、この識別情報に係る定義情報を取得することによって、ユーザが暗号化または復号の対象となる画像の内容から、何れの定義情報を用いて暗号化または復号を行うべきかを判断して定義情報を選択する必要なく、画像処理を行うことが可能となる。   By acquiring the identification information included in the digital image or the encrypted image and acquiring the definition information related to this identification information, the user can use any definition information from the contents of the image to be encrypted or decrypted. It is possible to perform image processing without having to determine whether encryption or decryption should be performed and select definition information.

ここで、前記識別情報取得手段は、例えば、前記デジタル画像または前記暗号化画像に含まれる文字、記号、模様および色のうち少なくとも何れかを画像から検出することで、前記識別情報を取得する。より具体的には、識別情報取得手段は、画像中のバーコードや文字列、記号等から、識別情報を取得してもよい。   Here, the identification information acquisition unit acquires the identification information by detecting at least one of characters, symbols, patterns, and colors included in the digital image or the encrypted image, for example. More specifically, the identification information acquisition unit may acquire identification information from a barcode, character string, symbol, or the like in the image.

また、本発明は、電子データに基づいて、画素の集合としてのデジタル画像を生成するデジタル画像生成手段と、前記デジタル画像生成手段によって生成された前記デジタル画像における暗号化の対象となる部分領域を指定する暗号化領域指定手段と、前記暗号化領域指定手段によって指定された部分領域の画像を、暗号鍵に基づいて処理画像に変換する画像変換手段と、前記画像変換手段によって変換された処理画像の画素値を規則的に変換することで、復号の際に前記部分領域の位置の特定に用いられる規則性を有する変換画像を生成する画素値変換手段と、前記画素値変換手段によって処理された変換画像を含む暗号化画像を出力する出力手段と、を備え、前記暗号化領域指定手段は、前記デジタル画像上の領域を特定するための領域指定情報によって示された領域を、暗号化の対象となる部分領域として指定する、電子データ暗号化システムである。   The present invention also provides a digital image generating means for generating a digital image as a set of pixels based on electronic data, and a partial area to be encrypted in the digital image generated by the digital image generating means. An encryption area specifying means for specifying, an image converting means for converting an image of the partial area specified by the encryption area specifying means into a processed image based on an encryption key, and a processed image converted by the image converting means The pixel values are regularly converted to generate a converted image having regularity used for specifying the position of the partial area at the time of decoding, and processed by the pixel value conversion means Output means for outputting an encrypted image including a converted image, and the encrypted area specifying means is an area for specifying an area on the digital image. The region indicated by the constant information is designated as the partial area to be encrypted, an electronic data encryption system.

ここで、電子データとは、文書、図表、イラスト等の何らかの情報を含むデータをいう。本発明では、このデジタル画像を基に暗号化領域指定手段、画像変換手段および画素値変換手段によって暗号化画像が生成され、出力される。   Here, the electronic data refers to data including some information such as documents, charts, and illustrations. In the present invention, an encrypted image is generated and output by the encryption area designating unit, the image converting unit, and the pixel value converting unit based on the digital image.

また、本発明の電子データ暗号化システムは、前記電子データに含まれる情報に基づいて、前記領域指定情報を取得する領域指定情報取得手段を更に備えてもよい。   The electronic data encryption system according to the present invention may further include region designation information acquisition means for acquiring the region specification information based on information included in the electronic data.

ここで、電子データに含まれる情報とは、ユーザによって直接閲覧される情報、即ち、文書、図表、イラスト等に直接関係する情報であってもよいし、この電子データについての情報、即ち、所謂メタデータであってもよい。このような情報に基づいて領域指定情報を取得することで、電子データを指定するのみで自動的に最適な領域指定情報が選択される電子データ暗号化システムを構成することが可能となる。   Here, the information included in the electronic data may be information directly browsed by the user, that is, information directly related to a document, a chart, an illustration, or the like, or information about the electronic data, that is, so-called information. It may be metadata. By acquiring the area designation information based on such information, it is possible to configure an electronic data encryption system in which optimum area designation information is automatically selected simply by designating electronic data.

例えば、本発明の電子データ暗号化システムは、前記領域指定情報を、該領域指定情報を識別するための識別情報と関連付けて保持する領域指定情報保持手段を更に備え、前記領域指定情報取得手段は、前記領域指定情報保持手段によって保持された前記領域指定情報のうち、入力された前記識別情報に関連付けられた前記領域指定情報を取得してもよい。   For example, the electronic data encryption system of the present invention further comprises area designation information holding means for holding the area designation information in association with identification information for identifying the area designation information, and the area designation information acquisition means includes: Of the area designation information held by the area designation information holding means, the area designation information associated with the input identification information may be acquired.

識別情報は、複数種類の領域指定情報の夫々に対して各領域指定情報を識別可能に関連付けられた情報であり、暗号化の対象領域を指定するにあたって領域指定情報を指定するために用いられる情報である。   The identification information is information associated with each of the plurality of types of area designation information so that each area designation information can be identified, and is information used for designating the area designation information when designating the encryption target area. It is.

また、本発明の電子データ暗号化システムは、前記電子データに含まれる前記識別情報を取得する識別情報取得手段を更に備え、前記領域指定情報取得手段は、前記領域指定情報保持手段によって保持された領域指定情報のうち、前記識別情報取得手段によって取得された識別情報に関連付けられた前記領域指定情報を取得してもよい。   The electronic data encryption system of the present invention further includes identification information acquisition means for acquiring the identification information included in the electronic data, and the area designation information acquisition means is held by the area designation information holding means. Of the area designation information, the area designation information associated with the identification information acquired by the identification information acquisition means may be acquired.

電子データに含まれる識別情報を取得することによって、電子データと、その電子データに基づいて生成されたデジタル画像のうちどの部分を暗号化すればよいのかを示した領域指定情報とを関連づけることが可能となる。   By acquiring the identification information included in the electronic data, it is possible to associate the electronic data with region designation information indicating which part of the digital image generated based on the electronic data should be encrypted. It becomes possible.

また、本発明の電子データ暗号化システムは、前記電子データ中の文字列を、所定の文字列であるキーワードと比較することで、該電子データ中に含まれる該キーワードを検出するキーワード検出手段を更に備え、前記領域指定情報取得手段は、前記キーワード検出手段によって検出されたキーワードに対応する領域を特定するための前記領域指定情報を生成することで、前記領域指定情報を取得してもよい。   The electronic data encryption system according to the present invention further includes a keyword detection unit that detects the keyword included in the electronic data by comparing a character string in the electronic data with a keyword that is a predetermined character string. Further, the area designation information acquisition unit may acquire the area designation information by generating the area designation information for specifying an area corresponding to the keyword detected by the keyword detection unit.

キーワードには、重要な情報そのものの他に、重要な情報がその前後に記載される文字列(例えば、「住所」や「氏名」)等が用いられることが好ましい。このようにすることで、領域指定情報を予め複数種類用意し、暗号化時に領域指定情報を選択するという作業を行うことなく、電子データに基づいて生成されたデジタル画像のうち重要な情報が記録されていると推測される領域を自動的に暗号化することが可能となる。   In addition to the important information itself, it is preferable to use a character string (for example, “address” or “name”) in which the important information is written before and after the keyword. In this way, multiple types of area designation information are prepared in advance, and important information is recorded in the digital image generated based on the electronic data without performing the operation of selecting the area designation information at the time of encryption. It is possible to automatically encrypt the area that is presumed to have been performed.

また、本発明において、前記領域指定情報取得手段は、暗号化対象である第一の部分領域および第二の部分領域を指定する前記領域指定情報を取得し、前記画像変換手段は、前記第一の部分領域と前記第二の部分領域とを、それぞれ異なる暗号鍵に基づいて処理画像に変換してもよい。   In the present invention, the area designation information acquisition unit acquires the area designation information for designating a first partial area and a second partial area to be encrypted, and the image conversion unit The partial area and the second partial area may be converted into processed images based on different encryption keys.

即ち、本発明に拠れば、異なる領域の暗号化に対して、異なる暗号鍵を使用することで、暗号鍵によるアクセスコントロールや、セキュリティレベルの設定が施された電子データ暗号化を行うことが可能となる。   That is, according to the present invention, by using different encryption keys for encryption in different areas, it is possible to perform electronic data encryption with access control using the encryption key and security level setting. It becomes.

また、本発明は、紙媒体を撮像することで、紙媒体上の暗号化画像を取得する暗号化画像取得手段と、前記暗号化画像取得手段によって取得された前記暗号化画像における暗号化された領域を、復号の対象となる復号領域として指定する復号領域指定手段と、前記復号領域指定手段によって指定された復号領域のうち画素値が規則的に変換されている暗号化位置を検出する暗号化位置検出手段と、前記暗号化位置検出手段によって検出された暗号化位置と復号鍵とに基づいて前記復号領域をデジタル画像に復号する復号手段と、前記復号手段によって復号されたデジタル画像中の文字を検出および特定し、該デジタル画像中の文字を文字コードによる文字情報として含む電子データを生成する電子データ生成手段と、を備え、前記復号領域指定手段は、前記暗号化画像上の領域を特定するための領域指定情報によって示された領域を、復号領域として指定する、電子データ復号システムである。   The present invention also provides an encrypted image acquisition unit that acquires an encrypted image on a paper medium by imaging the paper medium, and the encrypted image acquired by the encrypted image acquisition unit. A decoding area designating unit for designating an area as a decoding area to be decrypted, and encryption for detecting an encryption position in which pixel values are regularly converted in the decoding area designated by the decoding area designating unit A position detection unit; a decryption unit that decrypts the decryption area into a digital image based on the encrypted position and the decryption key detected by the encrypted position detection unit; and a character in the digital image decrypted by the decryption unit. Electronic data generating means for detecting and specifying the electronic data, and generating electronic data including characters in the digital image as character information based on a character code. Means a region indicated by the region designation information for specifying an area on the encrypted image is designated as decryption area, an electronic data decoding system.

復号されたデジタル画像中の文字を検出および特定し、該デジタル画像中の文字を文字コードによる文字情報として含む電子データを生成することで、暗号化前の電子データと同一または近似の電子データが復元される。即ち、本発明に拠れば、復号された情報を電子データとして取り扱うことが可能となり、利便性が向上する。   By detecting and specifying characters in the decrypted digital image and generating electronic data including the characters in the digital image as character information based on character codes, electronic data that is the same as or approximate to the electronic data before encryption is obtained. Restored. That is, according to the present invention, the decrypted information can be handled as electronic data, and convenience is improved.

更に、本発明は、コンピュータが実行する方法、又はコンピュータを上記各手段として機能させるためのプログラムとしても把握することが可能である。また、本発明は、そのようなプログラムをコンピュータその他の装置、機械等が読み取り可能な記録媒体に記録したものでもよい。ここで、コンピュータ等が読み取り可能な記録媒体とは、データやプログラム等の情報を電気的、磁気的、光学的、機械的、または化学的作用によって蓄積し、コンピュータ等から読み取ることができる記録媒体をいう。   Furthermore, the present invention can also be grasped as a method executed by a computer or a program for causing a computer to function as each of the above means. Further, the present invention may be a program in which such a program is recorded on a recording medium readable by a computer, other devices, machines, or the like. Here, a computer-readable recording medium is a recording medium that stores information such as data and programs by electrical, magnetic, optical, mechanical, or chemical action and can be read from a computer or the like. Say.

本発明によって、ユーザに処理対象の画像を作成する手間をかけることなく、暗号化や復号等の画像処理を簡易に行うことが可能な画像処理システムを提供することが可能となる。   According to the present invention, it is possible to provide an image processing system that can easily perform image processing such as encryption and decryption without requiring the user to create an image to be processed.

実施形態に係る画像処理システムのハードウェア構成の概略を示す図である。It is a figure showing the outline of the hardware constitutions of the image processing system concerning an embodiment. 実施形態に係る画像処理システムの機能構成の概略を示す図である。1 is a diagram illustrating an outline of a functional configuration of an image processing system according to an embodiment. 実施形態における画像処理プログラムの位置づけを示す図である。It is a figure which shows the positioning of the image processing program in embodiment. 実施形態における定義情報テーブルの構成を示す図である。It is a figure which shows the structure of the definition information table in embodiment. 実施形態における、事前定義処理の流れを示すフローチャートである。It is a flowchart which shows the flow of a predefined process in embodiment. 実施形態において、領域指定のために表示される電子データのプレビュー画面を示す図である。In an embodiment, it is a figure showing a preview screen of electronic data displayed for field specification. 実施形態における、定義情報を設定するためにディスプレイに表示される、定義情報設定インターフェースを示す図である。It is a figure which shows the definition information setting interface displayed on a display in order to set definition information in embodiment. 実施形態における、定義情報指定処理の流れを示すフローチャートである。It is a flowchart which shows the flow of the definition information designation | designated process in embodiment. 実施形態における暗号化処理の流れを示すフローチャートである。It is a flowchart which shows the flow of the encryption process in embodiment. 実施形態における復号処理の流れを示すフローチャートである。It is a flowchart which shows the flow of the decoding process in embodiment. 実施形態において、復号領域指定のために表示される暗号化画像のプレビュー画面を示す図である。In an embodiment, it is a figure showing a preview screen of an encryption picture displayed for decoding field specification. 実施形態に係る電子データ暗号化システムの機能構成の概略を示す図である。It is a figure which shows the outline of a function structure of the electronic data encryption system which concerns on embodiment. 実施形態における電子データ暗号化プログラムの位置づけを示す図である。It is a figure which shows the position of the electronic data encryption program in embodiment. 実施形態における領域指定情報テーブルの構成を示す図である。It is a figure which shows the structure of the area | region designation | designated information table in embodiment. 実施形態における電子データ暗号化の流れを示すフローチャートである。It is a flowchart which shows the flow of the electronic data encryption in embodiment. 実施形態に係る電子データ復号システムの機能構成の概略を示す図である。It is a figure which shows the outline of a function structure of the electronic data decoding system which concerns on embodiment. 実施形態における電子データ復号処理の流れを示すフローチャートである。It is a flowchart which shows the flow of the electronic data decoding process in embodiment. 実施形態に係る電子データ暗号化システムの機能構成の概略を示す図である。It is a figure which shows the outline of a function structure of the electronic data encryption system which concerns on embodiment. 暗号化の対象となる情報とともに、識別情報がメタデータ内に含まれる電子データの例を示す図である。It is a figure which shows the example of the electronic data in which identification information is contained in metadata with the information used as the object of encryption. 実施形態における電子データ暗号化の流れを示すフローチャートである。It is a flowchart which shows the flow of the electronic data encryption in embodiment. 実施形態に係る電子データ暗号化システムの機能構成の概略を示す図である。It is a figure which shows the outline of a function structure of the electronic data encryption system which concerns on embodiment. キーワードが含まれる電子データの表示イメージを示す図である。It is a figure which shows the display image of the electronic data containing a keyword. 実施形態における電子データ暗号化の流れを示すフローチャートである。It is a flowchart which shows the flow of the electronic data encryption in embodiment. 複数の暗号鍵を使用して暗号化される電子データの表示イメージを示す図である。It is a figure which shows the display image of the electronic data encrypted using a some encryption key. 暗号化処理および復号処理の処理概要(その1)を示す図である。It is a figure which shows the process outline | summary (the 1) of an encryption process and a decoding process. 暗号化処理および復号処理の処理概要(その2)を示す図である。It is a figure which shows the process outline | summary (the 2) of an encryption process and a decoding process. 第1の態様における暗号化処理の概要を示す図である。It is a figure which shows the outline | summary of the encryption process in a 1st aspect. 暗号化領域を選択する例を示す図である。It is a figure which shows the example which selects an encryption area | region. 暗号鍵の入力例を示す図である。It is a figure which shows the example of input of an encryption key. 画像変換部におけるスクランブル処理の一例を示す図である。It is a figure which shows an example of the scramble process in an image conversion part. 画像変換部におけるスクランブル処理の他の例を示す図である。It is a figure which shows the other example of the scramble process in an image conversion part. スクランブル処理における微小領域の形の変形例を示す図である。It is a figure which shows the modification of the shape of the micro area | region in a scramble process. 画像変換部における圧縮処理を示す図である。It is a figure which shows the compression process in an image conversion part. 変換データを画像化する処理を示す図である。It is a figure which shows the process which images conversion data. 画素値変換部における画素値変換処理の例(その1)を示す図である。It is a figure which shows the example (the 1) of the pixel value conversion process in a pixel value conversion part. 画素値変換部における画素値変換処理の例(その2)を示す図である。It is a figure which shows the example (the 2) of the pixel value conversion process in a pixel value conversion part. 暗号化処理で用いる位置決めマーカーの例を示す図である。It is a figure which shows the example of the positioning marker used by an encryption process. 暗号化画像の例を示す図である。It is a figure which shows the example of an encryption image. グレースケールの画像を暗号化した例である。This is an example in which a grayscale image is encrypted. 第1の態様における復号処理の概要を示す図である。It is a figure which shows the outline | summary of the decoding process in a 1st aspect. 位置決めマーカーから暗号化領域を検出する過程を示す図である。It is a figure which shows the process of detecting an encryption area | region from a positioning marker. 暗号化領域検出処理の流れを示すフローチャートである。It is a flowchart which shows the flow of an encryption area | region detection process. 暗号化位置が検出された例を示す図である。It is a figure which shows the example by which the encryption position was detected. 第2の態様の全体イメージを示す図である。It is a figure which shows the whole image of a 2nd aspect. 第2の態様における暗号化処理の概要を示す図である。It is a figure which shows the outline | summary of the encryption process in a 2nd aspect. 第2の態様における復号処理の概要を示す図である。It is a figure which shows the outline | summary of the decoding process in a 2nd aspect. 暗号化領域の検出方法を説明するための図である。It is a figure for demonstrating the detection method of an encryption area | region. 暗号化位置(横方向)の検出方法を説明するための図である。It is a figure for demonstrating the detection method of an encryption position (horizontal direction). 暗号化位置の検出を誤った例を示す図である。It is a figure which shows the example which detected the detection of the encryption position incorrectly. 第3の態様における暗号化処理の概要を示す図である。It is a figure which shows the outline | summary of the encryption process in a 3rd aspect. 第3の態様における復号処理の概要を示す図である。It is a figure which shows the outline | summary of the decoding process in a 3rd aspect.

本発明の実施の形態について、図面に基づいて説明する。   Embodiments of the present invention will be described with reference to the drawings.

図1は、実施形態に係る画像処理システムのハードウェア構成の概略を示す図である。画像処理システム900は、コンピュータ100と、コンピュータ100に接続されたスキャナ106およびプリンタ107とを備える。ここで、コンピュータ100は、CPU(Central Processing Unit)101、RAM(Random Access Memory)102等の主記憶装置、HDD(Hard Disk Drive)103等の補助記憶装置、ROM(Read Only Memory)104、ディスプレイ108等の表示装置、マウス110/キーボード111等の入力装置、およびUSB(Universal Serial Bus)インターフェース105を有するコンピュータであり、USBインターフェース105には、スキャナ106およびプリンタ107が接続されている。   FIG. 1 is a diagram illustrating an outline of a hardware configuration of an image processing system according to the embodiment. The image processing system 900 includes a computer 100, and a scanner 106 and a printer 107 connected to the computer 100. Here, the computer 100 includes a CPU (Central Processing Unit) 101, a main storage device such as a RAM (Random Access Memory) 102, an auxiliary storage device such as a HDD (Hard Disk Drive) 103, a ROM (Read Only Memory) 104, a display. The computer includes a display device such as 108, an input device such as a mouse 110 / keyboard 111, and a USB (Universal Serial Bus) interface 105. A scanner 106 and a printer 107 are connected to the USB interface 105.

<第一の実施形態>
図2は、本実施形態に係る画像処理システム900の機能構成の概略を示す図である。図1に示されたコンピュータシステムは、HDD103から読み出され、RAM102に展開された画像処理プログラムをCPU101が実行することで、外部アプリケーションから入力された印刷または表示のための描画情報を受け付ける描画情報入力受付部21と、受け付けられた描画情報に基づいてデジタル画像を取得するデジタル画像生成部15と、生成されたデジタル画像の少なくとも一部を暗号化することで暗号化画像を生成する暗号化部11と、生成された暗号化画像を出力する出力部12と、暗号化部11によって暗号化される領域等を指定するための情報を含む定義情報を保持する定義情報保持部22と、定義情報保持部22から定義情報を取得する定義情報取得部23と、ユーザに対して各種設定および設定内容の確認を行うためのユーザインターフェースを提供するユーザインターフェース出力部25と、ユーザによる入力を受け付けるユーザ入力受付部26と、ユーザによって指定された定義情報を識別するための情報を保持するユーザ指定内容保持部24と、デジタル画像から定義情報を識別するための情報を取得する識別情報取得部18と、を備える画像処理システム900として機能する。
<First embodiment>
FIG. 2 is a diagram showing an outline of a functional configuration of the image processing system 900 according to the present embodiment. The computer system shown in FIG. 1 receives drawing information for printing or display input from an external application by causing the CPU 101 to execute an image processing program read from the HDD 103 and expanded in the RAM 102. The input receiving unit 21, the digital image generating unit 15 that acquires a digital image based on the received drawing information, and the encrypting unit that generates an encrypted image by encrypting at least a part of the generated digital image 11, an output unit 12 that outputs the generated encrypted image, a definition information holding unit 22 that holds definition information including information for designating an area to be encrypted by the encryption unit 11, and definition information Definition information acquisition unit 23 that acquires definition information from the holding unit 22 and various settings and confirmation of setting contents for the user A user interface output unit 25 that provides a user interface to perform, a user input reception unit 26 that receives input from the user, a user-specified content storage unit 24 that stores information for identifying definition information specified by the user, The image processing system 900 includes an identification information acquisition unit 18 that acquires information for identifying definition information from a digital image.

図1に示されたコンピュータシステムは、更に、暗号化された暗号化画像を復号するために、HDD103から読み出され、RAM102に展開された画像処理プログラムをCPU101が実行することで、電子ファイル等から暗号化画像を取得する暗号化画像取得部13と、取得されたデジタル画像の少なくとも一部を復号することで復号済のデジタル画像を生成する復号部14と、復号されたデジタル画像に基づいて電子データを生成する電子データ生成部501と、を備える画像処理システム900として機能する。なお、定義情報取得部23、定義情報保持部22、ユーザ指定内容保持部24、識別情報取得部18、等の定義情報を処理する各機能部は、暗号化画像の復号処理においても用いられる。   The computer system shown in FIG. 1 further executes an image processing program read from the HDD 103 and expanded in the RAM 102 in order to decrypt the encrypted image, so that the CPU 101 executes an electronic file or the like. An encrypted image acquisition unit 13 for acquiring an encrypted image from the image, a decryption unit 14 for generating a decrypted digital image by decrypting at least a part of the acquired digital image, and based on the decrypted digital image The image processing system 900 includes an electronic data generation unit 501 that generates electronic data. Note that each function unit that processes definition information, such as the definition information acquisition unit 23, the definition information storage unit 22, the user-specified content storage unit 24, and the identification information acquisition unit 18, is also used in the decryption process of the encrypted image.

なお、本実施形態では、本発明に係るシステムを、暗号化および復号の双方の機能を備えた画像処理システムとして説明しているが、本発明に係る画像処理システムは、暗号化の機能を備えた暗号化システム、または復号の機能を備えた復号システムとして実施されてもよい。   In the present embodiment, the system according to the present invention has been described as an image processing system having both encryption and decryption functions. However, the image processing system according to the present invention has an encryption function. The encryption system may be implemented as a decryption system having a decryption function.

図3は、本実施形態における画像処理プログラムの位置づけを示す図である。画像処理プログラムは、各種アプリケーションに対して、所謂プリンタドライバに相当する機能を提供する。画像処理プログラムを、コンピュータ上にこのように実装することで、ユーザに暗号化の前処理としてビットマップ形式のデジタル画像を生成させる手間をかけることなく、通常の印刷処理と同様の操作によって、電子データに基づく暗号化画像を生成することが可能である。   FIG. 3 is a diagram showing the positioning of the image processing program in the present embodiment. The image processing program provides a function corresponding to a so-called printer driver for various applications. By implementing the image processing program on the computer in this way, the electronic processing can be performed by the same operation as the normal printing process without requiring the user to generate a bitmap format digital image as a pre-encryption process. It is possible to generate an encrypted image based on the data.

描画情報入力受付部21は、文書作成アプリケーションや表計算アプリケーション等、暗号化対象となり得る何らかの電子データを開いているアプリケーションから入力された描画情報を受け付ける。ここで受け付けられる描画情報は、紙媒体等への印刷やディスプレイ108等への表示に用いられる情報であり、文字コードや書式情報、描画のためのベクトルデータおよび画素情報、等を含んでよい。   The drawing information input receiving unit 21 receives drawing information input from an application that opens some electronic data that can be encrypted, such as a document creation application or a spreadsheet application. The drawing information accepted here is information used for printing on a paper medium or the like or display on the display 108 or the like, and may include a character code, format information, vector data and pixel information for drawing, and the like.

デジタル画像生成部15は、描画情報入力受付部21によって受け付けられた描画情報に基づいて、画素形式によるデジタル画像を生成する。デジタル画像生成部15は、描画情報に係る電子データを紙媒体等へ印刷した場合またはディスプレイ108等へ表示した場合のイメージを、所謂ビットマップ形式のデジタル画像へ変換する。通常、文書データであれば文字コードや書式情報からなるが、この文書データを表示または印刷した場合のイメージをビットマップ形式の画像として生成することで、暗号化部11による画像の暗号化を施すことが可能となる。   The digital image generation unit 15 generates a digital image in a pixel format based on the drawing information received by the drawing information input reception unit 21. The digital image generation unit 15 converts an image when electronic data related to drawing information is printed on a paper medium or the like or displayed on the display 108 or the like into a digital image in a so-called bitmap format. Normally, it consists of character code and format information if it is document data, but the encryption unit 11 encrypts the image by generating an image when the document data is displayed or printed as a bitmap format image. It becomes possible.

暗号化部11は、デジタル画像生成部15によって生成されたデジタル画像における暗号化の対象となる部分領域を指定する暗号化領域指定部31と、指定された部分領域の画像を、暗号鍵に基づいて処理画像に変換する画像変換部32と、変換された処理画像の画素値を規則的に変換することによって、復号の際に部分領域の位置の特定に用いられる規則性を有する変換画像を生成する画素値変換部33とを有する。暗号化部11による暗号化処理の詳細については後述する。   The encryption unit 11 includes an encryption area designating unit 31 that designates a partial area to be encrypted in the digital image generated by the digital image generation unit 15, and an image of the designated partial area based on the encryption key. The converted image having the regularity used for specifying the position of the partial area at the time of decoding is generated by regularly converting the pixel values of the converted processed image and the image conversion unit 32 that converts the processed image into a processed image. And a pixel value conversion unit 33. Details of the encryption processing by the encryption unit 11 will be described later.

出力部12は、暗号化部11によって生成された暗号化画像の情報を含む電子ファイルを、HDD103等の記憶装置へ出力する。但し、出力は、モニタ等の表示装置への出力であってもよいし、プリンタ107による印刷出力であってもよい。   The output unit 12 outputs an electronic file including information on the encrypted image generated by the encryption unit 11 to a storage device such as the HDD 103. However, the output may be an output to a display device such as a monitor, or a print output by the printer 107.

暗号化画像取得部13は、ユーザ操作によって指定された電子ファイルから、暗号化画像を取得する。なお、暗号化画像取得部13は、スキャナ106やデジタルカメラ等、紙媒体を撮像可能な装置を用いて紙媒体を撮像することで、紙媒体上の情報を暗号化画像として取得してもよい。   The encrypted image acquisition unit 13 acquires an encrypted image from an electronic file designated by a user operation. The encrypted image acquisition unit 13 may acquire information on the paper medium as an encrypted image by imaging the paper medium using an apparatus capable of imaging the paper medium, such as the scanner 106 or a digital camera. .

復号部14は、暗号化画像取得部13によって取得された暗号化画像における復号の対象となる領域を指定する復号領域指定部(暗号化領域検出部)142と、指定された復号領域のうち画素値が規則的に変換されている暗号化位置を検出する暗号化位置検出部143と、検出された暗号化位置と復号鍵とに基づいて前記復号領域をデジタル画像に復号する逆変換部(復号部)144とを有する。復号部14による復号処理の詳細については後述する。   The decryption unit 14 includes a decryption region designation unit (encryption region detection unit) 142 that designates a region to be decrypted in the encrypted image acquired by the encrypted image acquisition unit 13, and a pixel in the designated decryption region An encrypted position detector 143 that detects an encrypted position in which values are regularly converted, and an inverse converter (decryption) that decrypts the decryption area into a digital image based on the detected encrypted position and decryption key. Part) 144. Details of the decoding process by the decoding unit 14 will be described later.

電子データ生成部501は、所謂OCR(Optical Character Recognition)の技術を用いて、復号部14によって復号されたデジタル画像中の文字を検出および特定することで、デジタル画像中の文字を文字コードによる文字情報として含む電子データを生成する。復号されたデジタル画像から電子データを生成することで、暗号化に使用された電子データと同一またはそれに近い電子データを得ることが出来る。なお、生成される電子データは、暗号化される前の電子データが生成されたアプリケーションと同一のアプリケーションにおいて取り扱い可能な形式の電子データであることが好ましい。また、電子データ生成部501は、文字の他に、書式や、デジタル画像に含まれる図表、イラスト、およびその配置等を検出および特定することで、暗号化される前の電子データに近い電子データをより正確に生成することが出来る。   The electronic data generation unit 501 detects and specifies characters in the digital image decoded by the decoding unit 14 by using a so-called OCR (Optical Character Recognition) technique, whereby the characters in the digital image are converted into characters by character codes. Electronic data included as information is generated. By generating electronic data from the decrypted digital image, electronic data that is the same as or close to the electronic data used for encryption can be obtained. The generated electronic data is preferably electronic data in a format that can be handled by the same application as the application that generated the electronic data before encryption. In addition to characters, the electronic data generation unit 501 detects and specifies formats, charts, illustrations included in digital images, and their arrangement, so that electronic data close to the electronic data before encryption is obtained. Can be generated more accurately.

定義情報保持部22は、デジタル画像上の位置を示す位置情報によって暗号化の対象となる部分領域を指定するための領域指定情報と、該部分領域の暗号化/復号に用いられる鍵情報(本実施形態では、暗号鍵および復号鍵として、共通鍵を用いる)と、を含む定義情報を、一意の識別情報と関連付けて、定義情報テーブルで管理する。   The definition information holding unit 22 includes area designation information for designating a partial area to be encrypted by position information indicating a position on the digital image, and key information (this book) used for encryption / decryption of the partial area. In the embodiment, definition information including a common key as an encryption key and a decryption key is managed in a definition information table in association with unique identification information.

識別情報取得部18は、暗号化処理または復号処理に用いられる定義情報を識別するために、暗号化前のデジタル画像または復号前の暗号化画像から、これらの画像に含まれる識別情報を取得する。ここで、識別情報は、例えばバーコードや文字列、記号等として画像に含まれる。但し、識別情報は、メタデータとして電子データまたは電子ファイルに含まれてもよい。また、ユーザ指定内容保持部24は、ユーザによって指定された定義情報に関連付けられた識別情報を、設定ファイルまたはレジストリ等に保持することで、ユーザによる指定内容を保存する。   The identification information acquisition unit 18 acquires identification information included in these images from a digital image before encryption or an encrypted image before decryption in order to identify definition information used for encryption processing or decryption processing. . Here, the identification information is included in the image as, for example, a barcode, a character string, a symbol, or the like. However, the identification information may be included in electronic data or an electronic file as metadata. Also, the user-specified content holding unit 24 stores the identification information associated with the definition information specified by the user in a setting file or a registry, thereby storing the user-specified content.

定義情報取得部23は、識別情報取得部18によってデジタル画像または暗号化画像から取得された識別情報や、ユーザ指定内容保持部24によって保持されている識別情報をキーとして定義情報テーブルを検索し、対応する定義情報を取得する。これによって、ユーザに適切な領域指定情報を選択させる手間や、適切な鍵情報を入力させる手間をかけることなく、自動的に最適な定義情報を使用して暗号化または復号を行うことが出来る。   The definition information acquisition unit 23 searches the definition information table using the identification information acquired from the digital image or the encrypted image by the identification information acquisition unit 18 or the identification information held by the user-specified content holding unit 24 as a key, Get the corresponding definition information. As a result, encryption or decryption can be automatically performed using the optimum definition information without the trouble of the user selecting appropriate area designation information and the trouble of inputting appropriate key information.

図4は、本実施形態における定義情報テーブルの構成を示す図である。定義情報テーブルには、デジタル画像中の領域を示すための位置情報を含む領域指定情報と、暗号化/復号に用いられる鍵情報(暗号鍵/復号鍵)と、を含む定義情報が、一意の識別情報と関連付けられて記録される。領域指定情報は、デジタル画像中の暗号化領域または復号領域を指定するための位置情報等を含む情報である。暗号化領域/復号領域を指定するために用いられる情報としては、デジタル画像中の位置を示す位置情報や、サイズ情報、ベクトル情報等がある。暗号化領域/復号領域は、これらの情報の何れか一つ以上を用いて指定される。例えば、後述する暗号化処理では、矩形の暗号化領域/復号領域を指定するために、3点の位置情報を用いる。位置情報は、一般にx軸と、該x軸に直交するy軸とを用いて、cm、インチ、ピクセル等の単位を用いて表すことが出来る(図3を参照)。また、デジタル画像の幅または長さを単位として、x軸およびy軸におけるデジタル画像の端からの位置を割合(%)で示してもよい。他に、デジタル画像の全てのピクセルに対して番号を割り当て(例えば、左上のピクセルから右下のピクセルまで連番を割り当てる)、この番号を用いて位置を特定する方法等も考えられる。   FIG. 4 is a diagram showing the configuration of the definition information table in the present embodiment. In the definition information table, definition information including area designation information including position information for indicating an area in a digital image and key information (encryption key / decryption key) used for encryption / decryption is unique. Recorded in association with identification information. The area designation information is information including position information for designating an encryption area or a decryption area in the digital image. Information used for designating the encryption area / decryption area includes position information indicating a position in the digital image, size information, vector information, and the like. The encryption area / decryption area is specified using any one or more of these pieces of information. For example, in an encryption process to be described later, three-point position information is used to designate a rectangular encryption area / decryption area. The position information can be generally expressed using units such as cm, inches, and pixels using the x-axis and the y-axis orthogonal to the x-axis (see FIG. 3). Further, the position from the end of the digital image on the x-axis and the y-axis may be indicated by a percentage (%) with the width or length of the digital image as a unit. In addition, a method of assigning a number to all the pixels of the digital image (for example, assigning a serial number from the upper left pixel to the lower right pixel) and specifying the position using this number may be considered.

また、領域指定情報が暗号化の対象となる部分領域として指定する位置は、デジタル画像生成の基礎となった電子データにおける、暗号化対象の情報が記録されている位置に対応する。例えば、文書データにおいて、社会保障番号(Social Security Number)や電子メールアドレス等の個人情報が暗号化の対象となる重要情報であった場合、生成されたデジタル画像においてこれらの情報が配置されている領域が、領域指定情報によって指定される。このため、領域指定情報は、図4に示すように、文書データの書式に従って予め用意されていてもよいし、文書データの内容に応じて暗号化の都度生成されてもよい。   The position designated by the area designation information as the partial area to be encrypted corresponds to the position where the information to be encrypted is recorded in the electronic data that is the basis of digital image generation. For example, in document data, when personal information such as a social security number or an e-mail address is important information to be encrypted, the information is arranged in the generated digital image. An area is designated by area designation information. Therefore, the area designation information may be prepared in advance according to the format of the document data as shown in FIG. 4, or may be generated every time encryption is performed according to the contents of the document data.

図5は、本実施形態における、事前定義処理の流れを示すフローチャートである。本フローチャートに示された処理は、暗号化処理または復号処理の前に、暗号化または復号において用いられる領域指定情報および鍵情報を含む定義情報を作成し、定義情報テーブルに保存するための処理であり、ユーザによって事前定義処理を行うことを指示する操作が行われたことを契機として実行される。なお、本フローチャートに示された事前定義処理は、暗号化対象となり得る何らかの電子データを開いているアプリケーションにおいて開かれた印刷メニュー内のプリンタ一覧から画像処理プログラムが選択され、ここで定義情報の設定開始が指示されたことによって、実行されてもよい。   FIG. 5 is a flowchart showing the flow of the predefined process in the present embodiment. The process shown in this flowchart is a process for creating definition information including area designation information and key information used in encryption or decryption and storing it in the definition information table before encryption or decryption. Yes, triggered by the user performing an operation to instruct to perform the predefined process. The pre-definition process shown in this flowchart is performed by selecting an image processing program from a printer list in a print menu opened in an application that opens some electronic data that can be encrypted, and setting definition information here. It may be executed by instructing the start.

ステップS11からステップS13では、定義情報を設定するために用いられるサンプルデジタル画像等が読み込まれて表示され、暗号化対象領域の指定および暗号鍵の指定が行われる。はじめに、ユーザインターフェース出力部25は、ユーザによって指定されたデジタル画像を含むプレビュー画面600を生成し、ディスプレイ108に表示する(ステップS11)。   In step S11 to step S13, a sample digital image or the like used for setting definition information is read and displayed, and an encryption target area and an encryption key are specified. First, the user interface output unit 25 generates a preview screen 600 including a digital image designated by the user and displays it on the display 108 (step S11).

図6は、本実施形態において、領域指定のために表示される電子データのプレビュー画面600を示す図である。プレビュー画面600には、定義情報の定義に用いられるデジタル画像601が表示され、ユーザ入力受付部26は、マウス110等の入力機器を用いた範囲指定操作による、暗号化/復号の対象となる領域の指定を受け付ける(ステップS12)。本実施形態では、例えば、ディスプレイ108に表示されたデジタル画像601上の、暗号化対象の矩形領域602の左上頂点としたい位置でマウス110の主ボタンを押し込み、そのまま矩形領域602の右下頂点としたい位置までマウス操作によってディスプレイ108上のポインタ603を移動させ、主ボタンを解放することで、暗号化対象の領域を指定することが出来る。但し、暗号化対象としたい領域の選択方法は、その他の方法が用いられてもよい。   FIG. 6 is a diagram showing an electronic data preview screen 600 displayed for area designation in the present embodiment. On the preview screen 600, a digital image 601 used for defining definition information is displayed, and the user input receiving unit 26 is an area to be encrypted / decrypted by a range specifying operation using an input device such as the mouse 110. Is accepted (step S12). In the present embodiment, for example, the main button of the mouse 110 is pressed at a position on the digital image 601 displayed on the display 108 to be the upper left vertex of the rectangular area 602 to be encrypted, and the lower right vertex of the rectangular area 602 is The encryption target area can be designated by moving the pointer 603 on the display 108 to the desired position and releasing the main button. However, other methods may be used as a method for selecting an area to be encrypted.

暗号化対象領域が指定されると、ユーザインターフェース出力部25は、鍵情報の入力を促すダイアログをディスプレイ108に表示する(図示は省略する)。ここで、ユーザ入力受付部26は、ユーザに新たな鍵情報(暗号鍵/復号鍵)を入力するか、以前に入力した鍵情報から選択させることで、今回指定された領域の暗号化/復号に用いる鍵情報を受け付ける(ステップS13)。   When the encryption target area is designated, the user interface output unit 25 displays a dialog for prompting input of key information on the display 108 (not shown). Here, the user input acceptance unit 26 inputs new key information (encryption key / decryption key) to the user or selects from previously input key information to encrypt / decrypt the area designated this time. The key information used for is received (step S13).

なお、本実施形態に係る領域指定情報では、ページ番号情報とページ内の位置情報とを組み合わせることで、複数ページに亘る電子データについて、ページ毎に異なる暗号化対象領域を設定することが出来る。このため、電子データが複数ページに亘る場合、ページ一覧としての所謂サムネイル604を表示することで、ユーザによる一覧性を高めることとしてもよい。また、本実施形態に係る画像処理システム900では、このプレビュー画面600で範囲が選択された状態で、次に説明する定義情報設定インターフェース700を表示させることが出来る。   In the area designation information according to the present embodiment, by combining page number information and position information within a page, different encryption target areas can be set for each page of electronic data over a plurality of pages. For this reason, when electronic data covers a plurality of pages, the so-called thumbnail 604 as a page list may be displayed to improve the listability by the user. In the image processing system 900 according to the present embodiment, a definition information setting interface 700 described below can be displayed in a state where a range is selected on the preview screen 600.

ステップS14では、暗号化対象領域を調整し、決定するための定義情報設定インターフェース700が表示される。ユーザインターフェース出力部25は、プレビュー画面600において領域および暗号鍵の指定がされた状態で、ユーザによって所定の操作がなされたことを契機として、定義情報設定インターフェース700をディスプレイ108に表示する(ステップS14)。   In step S14, a definition information setting interface 700 for adjusting and determining the encryption target area is displayed. The user interface output unit 25 displays the definition information setting interface 700 on the display 108 when a predetermined operation is performed by the user in a state where the area and the encryption key are specified on the preview screen 600 (step S14). ).

図7は、本実施形態における、定義情報を設定するためにディスプレイ108に表示される、定義情報設定インターフェース700を示す図である。定義情報設定インターフェース700には、定義情報をユーザが識別するための定義情報の名称を入力するための名称入力欄701、暗号化モードを選択するための選択メニュー702、プレビュー画面600で選択された領域の詳細内容が表示され、またこれらの内容を調節するための領域指定情報表示欄703、プレビューの縮小画像が表示されるプレビュー欄704、プレビュー画面600に戻るためのプレビュー画面表示ボタン705、設定内容を定義情報テーブルに保存するための保存ボタン706、および設定内容を定義情報テーブルに保存して事前定義処理を終了する終了ボタン707等が表示される。   FIG. 7 is a diagram showing a definition information setting interface 700 displayed on the display 108 for setting definition information in the present embodiment. The definition information setting interface 700 is selected by a name input field 701 for inputting a name of definition information for the user to identify the definition information, a selection menu 702 for selecting an encryption mode, and a preview screen 600. Detailed contents of the area are displayed, an area designation information display field 703 for adjusting these contents, a preview field 704 for displaying a preview reduced image, a preview screen display button 705 for returning to the preview screen 600, a setting A save button 706 for saving the contents in the definition information table, an end button 707 for saving the setting contents in the definition information table and ending the pre-definition process are displayed.

ここで、設定内容の変更、例えば領域指定情報の変更が必要な場合には、プレビュー画面表示ボタン705を選択してプレビュー画面600を再び表示させて範囲選択をし直す、または領域指定情報表示欄703に表示された内容を選択して数値の調整を行う、等の方法で、設定内容の変更を行うことが出来る。また、定義情報によって定義される電子データが複数ページに亘る電子データである場合、領域指定情報表示欄703には、各ページにおける暗号化対象の領域を示す情報が表示される。なお、単一ページ内における複数個所を暗号化対象の領域として指定することも可能である。   Here, when it is necessary to change the setting contents, for example, to change the area designation information, the user selects the preview screen display button 705 to display the preview screen 600 again to reselect the area, or to display the area designation information display field. The setting content can be changed by a method such as selecting the content displayed in 703 and adjusting the numerical value. When the electronic data defined by the definition information is electronic data over a plurality of pages, the area designation information display field 703 displays information indicating the area to be encrypted in each page. Note that it is possible to designate a plurality of locations in a single page as an encryption target area.

ステップS15では、指定された暗号化対象領域と暗号鍵とが関連付けられて、定義情報テーブルに保存される(ステップS15)。この際、定義情報保持部22は、定義情報を、一意の識別情報と関連付けて定義情報テーブルに保存する。なお、この識別情報は、定義情報保持部22によって自動的に生成されたものでもよいし、ユーザによって指定された定義情報の名称であってもよい。ユーザは、定義情報設定インターフェース700において設定内容を確認し、保存ボタン706または終了ボタン707等を選択することで事前定義を完了する。その後、本フローチャートに示された処理は終了する。   In step S15, the designated encryption target area and the encryption key are associated with each other and stored in the definition information table (step S15). At this time, the definition information holding unit 22 stores the definition information in the definition information table in association with the unique identification information. The identification information may be automatically generated by the definition information holding unit 22 or may be the name of the definition information designated by the user. The user confirms the setting contents in the definition information setting interface 700, and selects the save button 706 or the end button 707 to complete the pre-definition. Thereafter, the processing shown in this flowchart ends.

図8は、本実施形態における、定義情報指定処理の流れを示すフローチャートである。定義情報指定処理は、定義情報テーブル中の複数の定義情報から、暗号化処理または復号処理に用いられる定義情報を予め指定しておくための処理である。定義情報指定処理によって予め定義情報が指定されていることで、ユーザは、暗号化処理または復号処理の都度定義情報を選択したり、新たに領域指定情報や鍵情報を設定したりする必要なく、大量の電子データを続けて暗号化または復号することが出来る。本フローチャートに示された処理は、ユーザによって定義情報の指定を行うことを指示する操作が行われたことを契機として実行される。なお、本フローチャートに示された処理は、文書作成アプリケーションや表計算アプリケーション等、暗号化対象となり得る何らかの電子データを開いているアプリケーションにおいて開かれた印刷メニュー内のプリンタ一覧から画像処理プログラムが選択され、ここで画像処理プログラムの設定画面(所謂「プロパティ」)が呼び出されたことを契機として、実行されてよい。   FIG. 8 is a flowchart showing the flow of definition information designation processing in the present embodiment. The definition information specifying process is a process for specifying in advance definition information used for encryption or decryption from a plurality of definition information in the definition information table. Since the definition information is designated in advance by the definition information designation process, the user does not need to select definition information every time the encryption process or the decryption process, or newly set area designation information or key information. Large amounts of electronic data can be continuously encrypted or decrypted. The processing shown in this flowchart is executed in response to an operation that instructs the user to specify definition information. The processing shown in this flowchart is performed by selecting an image processing program from a printer list in a print menu opened in an application that opens some electronic data that can be encrypted, such as a document creation application or a spreadsheet application. Here, the image processing program setting screen (so-called “property”) may be called as a trigger.

はじめに、ユーザインターフェース出力部25は、事前定義処理(図5を参照)において定義された定義情報の一覧をディスプレイ108に表示する(ステップS21)。ここで、定義情報の一覧は、リスト形式やプルダウンメニュー形式等で表示され、ユーザによって所望の定義情報を選択することが可能となっている。ユーザ入力受付部26は、ユーザによって選択された所望の定義情報の指示操作を受け付ける(ステップS22)。そして、ユーザ指定内容保持部24は、受け付けられた指示操作に係る定義情報に関連付けられた識別情報(図4を参照)を、以降の暗号化処理または復号処理において自動的に適用される定義情報として保持する(ステップS23)。その後、本フローチャートに示された処理は終了する。   First, the user interface output unit 25 displays a list of definition information defined in the predefinition process (see FIG. 5) on the display 108 (step S21). Here, the list of definition information is displayed in a list format, a pull-down menu format, or the like, and the user can select desired definition information. The user input receiving unit 26 receives an instruction operation for desired definition information selected by the user (step S22). Then, the user-specified content holding unit 24 automatically applies the identification information (see FIG. 4) associated with the definition information related to the accepted instruction operation in the subsequent encryption process or decryption process. (Step S23). Thereafter, the processing shown in this flowchart ends.

本実施形態では、このようにして、暗号化処理または復号処理の前に予め定義情報が設定され、実際に用いる定義情報が指定されることで、複数の電子データが続けて処理される際にも、電子データが入力される都度ユーザによって適用される定義情報が指定される必要が生じない。このため、大量の定型電子データを一括して暗号化または復号するバッチ処理等の際に、ユーザの手間を著しく軽減することが可能である。   In this embodiment, in this way, definition information is set in advance before encryption processing or decryption processing, and definition information to be actually used is specified, so that when a plurality of electronic data are processed in succession, However, it is not necessary to specify definition information to be applied by the user every time electronic data is input. For this reason, it is possible to remarkably reduce the user's trouble at the time of batch processing for collectively encrypting or decrypting a large amount of fixed form electronic data.

図9は、本実施形態における暗号化処理の流れを示すフローチャートである。本フローチャートに示された処理は、ユーザが文書作成アプリケーションや表計算アプリケーション等、暗号化対象となり得る何らかの電子データを開いているアプリケーションにおいて印刷メニューを呼び出し、ここで画像処理プログラムによる出力指示を行ったことを契機として開始される。   FIG. 9 is a flowchart showing the flow of encryption processing in the present embodiment. In the processing shown in this flowchart, the user calls a print menu in an application that opens some electronic data that can be encrypted, such as a document creation application or a spreadsheet application, and performs an output instruction by an image processing program. It starts with this.

ステップS30およびステップS31では、描画情報が受け付けられ、デジタル画像が生成される。描画情報入力受付部21は、外部アプリケーションから入力された描画情報を受け付け(ステップS30)、デジタル画像生成部15は、受け付けられた描画情報に基づいて印刷または表示イメージのビットマップデータを作成することで、デジタル画像を生成する(ステップS31)。その後、処理はステップS32へ進む。   In steps S30 and S31, drawing information is received and a digital image is generated. The drawing information input receiving unit 21 receives drawing information input from an external application (step S30), and the digital image generating unit 15 creates bitmap data of a print or display image based on the received drawing information. Thus, a digital image is generated (step S31). Thereafter, the process proceeds to step S32.

ステップS32およびステップS33では、プレビュー画面600を出力するか否かが判定され、プレビュー画面600を出力する設定であった場合に、プレビュー画面600が出力される。ユーザインターフェース出力部25は、予め設定されていた設定内容に基づいて、図6に示すプレビュー画面600を出力するか否かを判定し(ステップS32)、出力する設定がされている場合には、ユーザに処理対象の電子データの内容および暗号化対象領域を確認させるために、ステップS31において取得した描画情報に基づくプレビュー画面600を生成し、ディスプレイ108に表示させる(ステップS33)。プレビュー画面600を出力する設定ではない場合には、処理はステップS35へ進む。   In step S32 and step S33, it is determined whether or not the preview screen 600 is output. If the setting is such that the preview screen 600 is output, the preview screen 600 is output. The user interface output unit 25 determines whether or not to output the preview screen 600 shown in FIG. 6 based on the setting contents set in advance (step S32). In order to make the user confirm the contents of the electronic data to be processed and the encryption target area, a preview screen 600 based on the drawing information acquired in step S31 is generated and displayed on the display 108 (step S33). If it is not set to output the preview screen 600, the process proceeds to step S35.

ステップS34では、定義情報テーブルに保持されている定義情報を使用するか否かが判定される。定義情報取得部23は、画像処理プログラムに関連する設定内容を参照するか、またはユーザに問合せることで、以降の暗号化処理において、定義情報テーブルから定義情報を読み出して使用するか、またはユーザから新たに入力される領域指定および鍵情報を使用するかを判定する。定義情報テーブルに保持されている定義情報を使用すると判定された場合、処理はステップS35へ進む。定義情報テーブルの定義情報を使用せずに、ユーザから新たに入力される領域指定および鍵情報を使用する場合、処理はステップS36へ進む。   In step S34, it is determined whether or not the definition information held in the definition information table is to be used. The definition information acquisition unit 23 reads the definition information from the definition information table and uses it in the subsequent encryption processing by referring to the setting contents related to the image processing program or inquiring of the user, or from the user. It is determined whether to use newly specified area designation and key information. If it is determined that the definition information held in the definition information table is to be used, the process proceeds to step S35. When the area designation and key information newly input from the user are used without using the definition information in the definition information table, the process proceeds to step S36.

ステップS35では、暗号化に用いられる定義情報が読み出される。定義情報取得部23は、暗号化に用いる領域指定情報および暗号鍵を含む定義情報を、定義情報テーブルから読み出す。ここで、定義情報取得部23は、予め定義情報指定処理(図8を参照)等で事前に指定された定義情報を示す識別情報が、ユーザ指定内容保持部24に保持されている場合、この識別情報に係る定義情報を、定義情報テーブルから取得する。事前指定がされていない場合、識別情報取得部18は、デジタル画像中に含まれる識別情報をバーコード認識やOCR等の手段で取得する。そして、定義情報取得部23は、識別情報取得部18によって取得された識別情報に係る定義情報を読み出す。識別情報は、バーコードや文字列等の形式で、デジタル画像中に含ませることが出来る。これによって、ユーザが電子ファイルや紙媒体の内容に基づいて適切な定義情報を選択することなく、暗号化を行うことが可能となる。なお、本実施形態では、デジタル画像中にイメージ(印刷または表示された場合に視認可能なイメージ)として含まれる識別情報を、バーコード認識やOCR等の手段で取得することとしているが、電子ファイル中に、描画時には通常表示されないデータ(所謂メタデータ)として識別情報を含ませることとしてもよい。   In step S35, definition information used for encryption is read. The definition information acquisition unit 23 reads definition information including area designation information and an encryption key used for encryption from the definition information table. Here, when the identification information indicating the definition information designated in advance in the definition information designation process (see FIG. 8) or the like is held in the user designated content holding unit 24, the definition information acquisition unit 23 Definition information related to identification information is acquired from a definition information table. When the prior designation is not performed, the identification information acquisition unit 18 acquires the identification information included in the digital image by means such as barcode recognition or OCR. Then, the definition information acquisition unit 23 reads definition information related to the identification information acquired by the identification information acquisition unit 18. The identification information can be included in the digital image in the form of a barcode or a character string. Thus, encryption can be performed without the user selecting appropriate definition information based on the contents of the electronic file or paper medium. In the present embodiment, identification information included as an image (an image that can be visually recognized when printed or displayed) in a digital image is acquired by means such as barcode recognition or OCR. The identification information may be included as data that is not normally displayed at the time of drawing (so-called metadata).

これによって、ユーザによる定義情報を指定する手間が省略され、作業効率を向上させることが出来る。特に、複数パターンの定型書式の文書類をまとめて暗号化する場合に、定型書式に応じた識別情報を、定型書式のテンプレートに含ませておくことで、非常に簡便に暗号化を行うことが可能である。なお、後述する復号処理においても識別情報を取得し、対応する定義情報を取得することとしてもよい。   This saves the user from having to specify the definition information, thereby improving work efficiency. In particular, when encrypting documents in a fixed format with multiple patterns, it is very easy to encrypt by including identification information according to the fixed format in the template of the fixed format. Is possible. In addition, it is good also as acquiring identification information and corresponding definition information also in the decoding process mentioned later.

また、ユーザ指定内容保持部24に保持される識別情報やデジタル画像中に含まれる識別情報を取得することが出来ず、暗号化処理において用いられる定義情報が未決定の場合には、定義情報の選択画面が表示され、ユーザに定義情報の選択を促すこととしてもよい(図8を参照)。その後、処理はステップS38へ進む。   If the identification information held in the user-specified content holding unit 24 or the identification information included in the digital image cannot be acquired and the definition information used in the encryption process is not yet determined, the definition information A selection screen may be displayed to prompt the user to select definition information (see FIG. 8). Thereafter, the process proceeds to step S38.

ステップS36およびステップS37では、暗号化対象領域および暗号鍵の入力が受け付けられる。ステップS34で定義情報テーブルに保持されている定義情報を使用しないと判定された場合、ユーザ入力受付部26は、プレビュー画面600において、ユーザのマウス操作等に基づく暗号化対象領域の入力を受け付け(ステップS36)、更に、入力された暗号化対象領域の暗号化に用いる暗号鍵の入力を受け付ける(ステップS37)。暗号化対象領域および暗号鍵の入力を受け付ける処理の流れは、図5を用いて説明した事前定義処理と概ね同様である。ここで入力された暗号化対象領域および暗号鍵は、定義情報として定義情報テーブルに保存されてもよい。また、暗号化対象領域および暗号鍵を定義情報として保存する際には、自動的に保存されることとしてもよいし、保存の可否を指定するチェックボックスや、ユーザへ保存の可否を問合せるダイアログによって、ユーザの判断を受けることとしてもよい。その後、処理はステップS38へ進む。   In step S36 and step S37, the input of the encryption target area and the encryption key is accepted. When it is determined in step S34 that the definition information held in the definition information table is not used, the user input receiving unit 26 receives an input of the encryption target area based on the user's mouse operation or the like on the preview screen 600 ( In step S36), an input of an encryption key used for encryption of the input encryption target area is received (step S37). The flow of processing for receiving the input of the encryption target area and the encryption key is substantially the same as the pre-defined processing described with reference to FIG. The encryption target area and the encryption key input here may be stored in the definition information table as definition information. In addition, when saving the encryption target area and the encryption key as definition information, they may be saved automatically, or by a check box for specifying whether or not to save, and a dialog for inquiring whether or not to save the user. It is good also as receiving a user's judgment. Thereafter, the process proceeds to step S38.

ステップS38では、暗号化が行われる。暗号化部11は、デジタル画像の、ステップS35で読み出された領域指定情報によって示された領域またはステップS36で入力された暗号化対象領域を、ステップS35で読み出された暗号鍵またはステップS37で入力された暗号鍵に基づいて暗号化することで、暗号化画像を生成する。暗号化処理の詳細については後述する。その後、処理はステップS39へ進む。   In step S38, encryption is performed. The encryption unit 11 uses the encryption key read in step S35 or the step S37 for the area indicated by the area designation information read in step S35 or the encryption target area input in step S36 of the digital image. The encrypted image is generated by performing the encryption based on the encryption key input in. Details of the encryption processing will be described later. Thereafter, the process proceeds to step S39.

ステップS39では、暗号化画像が出力される。出力部12は、ステップS38で生成された暗号化画像の情報を含む電子ファイルを、HDD103等の記憶装置へ出力する。なお、出力部12は、暗号化画像を、プリンタ107を用いて紙媒体へ印刷(出力)してもよい。その後、本フローチャートに示された処理は終了する。   In step S39, an encrypted image is output. The output unit 12 outputs the electronic file including the encrypted image information generated in step S38 to a storage device such as the HDD 103. The output unit 12 may print (output) the encrypted image on a paper medium using the printer 107. Thereafter, the processing shown in this flowchart ends.

本実施形態によれば、電子データに基づく画像の一部を暗号化することで、重要な情報の閲覧を制限しつつ、他の情報の閲覧を許可することが可能である。即ち、個人情報等の重要な情報が一部に含まれる電子データを扱う作業等において、個人情報等が記載された部分のみを暗号化し、作業に必要な情報は暗号化しないことで、個人情報等の重要な情報が含まれる文書を用いた作業を、情報漏えいを発生させることなく行うことが出来る。   According to the present embodiment, by encrypting a part of an image based on electronic data, it is possible to permit browsing of other information while restricting browsing of important information. In other words, when working with electronic data that contains some important information such as personal information, only the part containing the personal information is encrypted, and the information necessary for the work is not encrypted. It is possible to perform a work using a document including important information such as information without causing information leakage.

なお、出力される暗号化画像には、バーコードやOCR読み取り可能な情報が付加されてもよい。ここで、暗号化画像に付加されるバーコードやOCR読み取り可能な情報は、暗号化処理に用いられた定義情報を識別可能な情報を含む情報である。付加される情報には、例えば、定義情報テーブルに保存された定義情報を識別するための一意の識別情報(図4を参照)が含まれる。これによって、ユーザが電子ファイルまたはこの電子ファイルが印刷された紙媒体の内容から、何れの定義情報を用いて暗号化処理が行われたかを判断する手間をかけることなく、暗号化された情報の復号を行うことが可能となる。   It should be noted that bar code or OCR readable information may be added to the output encrypted image. Here, the barcode or OCR readable information added to the encrypted image is information including information that can identify the definition information used for the encryption processing. The added information includes, for example, unique identification information (see FIG. 4) for identifying definition information stored in the definition information table. As a result, the user can save the encrypted information without taking the trouble of determining which definition information is used for the encryption process from the contents of the electronic file or the paper medium on which the electronic file is printed. Decoding can be performed.

図10は、本実施形態における復号処理の流れを示すフローチャートである。本フローチャートに示された処理は、図9に示された処理等によって生成された暗号化画像の情報を含む電子ファイルの復号開始を指示する操作が、ユーザによって行われたことを契機として開始される。   FIG. 10 is a flowchart showing the flow of the decoding process in this embodiment. The process shown in this flowchart is started when the user performs an operation to instruct the start of decryption of the electronic file including the information of the encrypted image generated by the process shown in FIG. The

ステップS41では、暗号化画像が取得される。ユーザは、図9に示された処理等によって生成された暗号化画像の情報を含む電子ファイルを指定する操作を行う。ユーザによる操作を受け付けた暗号化画像取得部13は、指定された電子ファイルをRAM102に展開することで、暗号化画像を取得する。なお、電子ファイルからではなく、暗号化画像が記録された紙媒体から暗号化画像が取得されてもよい。この場合、ユーザはスキャナ106に復号したい暗号化情報が記録された紙媒体をセットした上で、コンピュータ100のインターフェースを通じて取得開始の指示を与える操作を行う。そして、指示の入力を受け付けた暗号化画像取得部13は、スキャナ106を制御して紙媒体を撮像させ、撮像結果を暗号化画像に変換することで、暗号化画像を取得する。その後、処理はステップS42へ進む。   In step S41, an encrypted image is acquired. The user performs an operation of designating an electronic file including information on the encrypted image generated by the processing shown in FIG. The encrypted image acquisition unit 13 that has received an operation by the user acquires the encrypted image by developing the designated electronic file in the RAM 102. Note that the encrypted image may be acquired not from the electronic file but from a paper medium on which the encrypted image is recorded. In this case, the user performs an operation of giving an acquisition start instruction through the interface of the computer 100 after setting the paper medium on which the encryption information to be decrypted is recorded in the scanner 106. Then, the encrypted image acquisition unit 13 that has received the instruction input controls the scanner 106 to image a paper medium, and converts the imaging result into an encrypted image, thereby acquiring an encrypted image. Thereafter, the process proceeds to step S42.

ステップS42およびステップS43では、ユーザに処理対象の暗号化画像の内容および復号対象領域を確認させるためのプレビュー画面600bを出力するか否かが判定され、プレビュー画面600bを出力する設定であった場合に、プレビュー画面600bが出力される。処理の詳細は図9において示したステップS32およびステップS33と同様であるため、説明を省略する。プレビュー画面600bを出力する設定がされていない場合には、処理はステップS45へ進む。   In step S42 and step S43, it is determined whether or not to output a preview screen 600b for allowing the user to confirm the content of the encrypted image to be processed and the decryption target area, and the setting is to output the preview screen 600b. In addition, a preview screen 600b is output. Details of the processing are the same as those in step S32 and step S33 shown in FIG. If it is not set to output the preview screen 600b, the process proceeds to step S45.

図11は、本実施形態において、復号領域指定のために表示される暗号化画像のプレビュー画面600bを示す図である。プレビュー画面600bには、復号対象の暗号化画像601bが表示され、ユーザは、マウス110等の入力機器を用いて範囲指定を行うことで、復号の対象となる領域602bを簡易に指定することが出来る。領域指定の具体的な方法は、暗号化対象領域の指定方法と概略同様であるため、説明を省略する。   FIG. 11 is a diagram showing a preview screen 600b of an encrypted image displayed for specifying a decryption area in the present embodiment. An encrypted image 601b to be decrypted is displayed on the preview screen 600b, and the user can easily designate a region 602b to be decrypted by designating a range using an input device such as the mouse 110. I can do it. A specific method for specifying the area is substantially the same as the method for specifying the encryption target area, and thus the description thereof is omitted.

ステップS44では、定義情報テーブルに保持されている定義情報を使用するか否かが判定される。処理の詳細は暗号化処理におけるステップS34と概略同様であるため、説明を省略する。定義情報テーブルに保持されている定義情報を使用すると判定された場合、処理はステップS35へ進む。定義情報テーブルの定義情報を使用せずに、ユーザから新たに入力される領域指定および鍵情報を使用する場合、処理はステップS36へ進む。   In step S44, it is determined whether to use definition information held in the definition information table. The details of the process are substantially the same as in step S34 in the encryption process, and a description thereof will be omitted. If it is determined that the definition information held in the definition information table is to be used, the process proceeds to step S35. When the area designation and key information newly input from the user are used without using the definition information in the definition information table, the process proceeds to step S36.

ステップS45では、復号に用いられる定義情報が読み出される。定義情報取得部23は、復号に用いる領域指定情報および復号鍵を含む定義情報を、定義情報テーブルから読み出す。定義情報を定義情報テーブルから取得する方法としては、ユーザ指定内容保持部24に保持された事前指定のないように基づく方法や、暗号化画像中に含まれる識別情報を取得する方法、選択画面を表示してユーザに選択させる方法等があり、処理の詳細は暗号化処理と概略同様であるため、説明を省略する。その後、処理はステップS48へ進む。   In step S45, definition information used for decoding is read. The definition information acquisition unit 23 reads definition information including region designation information and a decryption key used for decryption from the definition information table. As a method for acquiring definition information from the definition information table, there is a method based on the absence of prior designation held in the user-specified content holding unit 24, a method for obtaining identification information included in an encrypted image, and a selection screen. There is a method of displaying and allowing the user to select, and the details of the process are the same as those of the encryption process, and thus the description thereof is omitted. Thereafter, the process proceeds to step S48.

ステップS46およびステップS47では、復号対象領域および復号鍵の入力が受け付けられる。ユーザ入力受付部26は、プレビュー画面600bにおいて、ユーザのマウス操作等に基づく復号対象領域の入力を受け付け(ステップS46)、更に、入力された復号対象領域の復号に用いる復号鍵の入力を受け付ける(ステップS47)。復号対象領域および復号鍵の入力を受け付ける処理の流れは、図5を用いて説明した事前定義処理と概ね同様である。この際、暗号化処理と同様、入力内容は、定義情報として定義情報テーブルに保存されてもよい。その後、処理はステップS48へ進む。   In step S46 and step S47, input of a decryption target area and a decryption key is accepted. In the preview screen 600b, the user input receiving unit 26 receives an input of a decryption target area based on a user's mouse operation or the like (step S46), and further receives an input of a decryption key used for decryption of the input decryption target area ( Step S47). The flow of processing for receiving the input of the decryption target area and the decryption key is almost the same as the pre-defined processing described with reference to FIG. At this time, the input content may be stored in the definition information table as definition information, as in the encryption process. Thereafter, the process proceeds to step S48.

但し、復号対象領域は自動選択されてもよい。復号部14は、暗号化処理の際に画素値が規則的に変換されたことによって復号領域の画像が有する規則性や、復号領域の位置を特定するために付加されたマーカー等に基づいて、暗号化画像中の復号対象領域の検出および位置特定をすることが出来る。   However, the decoding target area may be automatically selected. The decryption unit 14 is based on the regularity of the image in the decryption area due to the regular conversion of pixel values during the encryption process, the marker added to identify the position of the decryption area, and the like. It is possible to detect and locate the decryption target area in the encrypted image.

ステップS48およびステップS49では、復号が行われ、復号されたデジタル画像が出力される。復号部14は、暗号化画像中の、ステップS45で読み出された領域指定情報によって示された領域またはステップS46で入力された復号対象領域を、ステップS45で読み出された復号鍵またはステップS47で入力された復号鍵に基づいて復号することで、暗号化が解除されたデジタル画像を生成する(ステップS48)。復号処理の詳細については後述する。そして、出力部12は、ステップS48で生成されたデジタル画像の情報を含む電子ファイルを、HDD103等の記憶装置へ出力する(ステップS49)。その後、本フローチャートに示された処理は終了する。   In step S48 and step S49, decoding is performed and a decoded digital image is output. The decryption unit 14 uses the decryption key read in step S45 or the step S47 for the region indicated by the region designation information read in step S45 or the decryption target region input in step S46 in the encrypted image. The decrypted digital image is generated by decrypting based on the decryption key input in (step S48). Details of the decoding process will be described later. Then, the output unit 12 outputs the electronic file including the digital image information generated in step S48 to a storage device such as the HDD 103 (step S49). Thereafter, the processing shown in this flowchart ends.

なお、本フローチャートに示した処理では、復号されたデジタル画像の情報を含む電子ファイルを出力して処理を終了することとしているが、OCR等を用いることで、暗号化処理の際にアプリケーションから入力された描画情報の元となった電子データまたはこの電子データに近いデータを復元することとしてもよい。電子データ生成部501は、ステップS48で生成されたデジタル画像中の文字を検出および特定することで、デジタル画像中の文字を文字コードによる文字情報として含む電子データを生成する。暗号化前の電子データを復元することで、復号された情報を電子データとして取り扱うことが可能となり、利便性が向上する。   In the process shown in this flowchart, an electronic file including decrypted digital image information is output and the process is terminated. However, by using OCR or the like, input is performed from an application during the encryption process. The electronic data that is the basis of the drawn drawing information or data close to the electronic data may be restored. The electronic data generation unit 501 generates electronic data including the characters in the digital image as character information based on the character code by detecting and specifying the characters in the digital image generated in step S48. By restoring the electronic data before encryption, the decrypted information can be handled as electronic data, and convenience is improved.

なお、本発明に係る画像処理システムは、電子データ暗号化システム、または電子データ復号システムとして実施されてもよい。以下に、画像処理システムを電子データ暗号化システムまたは電子データ復号システムとして実施した場合の実施形態について説明する。なお、以下に示す実施形態における電子データ暗号化システムまたは電子データ復号システムのハードウェア構成は、図1に示した画像処理システムのハードウェア構成と概略同様である。   The image processing system according to the present invention may be implemented as an electronic data encryption system or an electronic data decryption system. Hereinafter, an embodiment in which the image processing system is implemented as an electronic data encryption system or an electronic data decryption system will be described. Note that the hardware configuration of the electronic data encryption system or electronic data decryption system in the embodiment described below is substantially the same as the hardware configuration of the image processing system shown in FIG.

<第二の実施形態>
図12は、本実施形態に係る電子データ暗号化システム200の機能構成の概略を示す図である。電子データ暗号化システム200は、HDD103から読み出され、RAM102に展開された電子データ暗号化プログラムをCPU101が実行することで、紙媒体を撮像してデジタル画像を取得するデジタル画像生成部15と、生成されたデジタル画像の少なくとも一部を暗号化することで暗号化画像を生成する暗号化部11と、生成された暗号化画像を出力する出力部12と、暗号化部11によって暗号化される領域を指定するための情報を保持する領域指定情報保持部16と、ユーザに対して選択肢を表示し、選択結果の入力を受け付ける領域指定情報取得部19Aと、として機能する。
<Second Embodiment>
FIG. 12 is a diagram showing an outline of a functional configuration of the electronic data encryption system 200 according to the present embodiment. The electronic data encryption system 200 includes a digital image generation unit 15 that captures a digital image by capturing an image of a paper medium by causing the CPU 101 to execute an electronic data encryption program read from the HDD 103 and expanded in the RAM 102. The encryption unit 11 that generates an encrypted image by encrypting at least a part of the generated digital image, the output unit 12 that outputs the generated encrypted image, and the encryption unit 11 encrypts the digital image. It functions as an area designation information holding unit 16 that holds information for designating an area, and an area designation information acquisition unit 19A that displays options for the user and receives an input of a selection result.

デジタル画像生成部15は、電子データに基づいて、画素形式によるデジタル画像を生成する。デジタル画像生成部15は、選択された電子データを印刷した場合または表示した場合のイメージを、所謂ビットマップ形式のデジタル画像へ変換する。通常、文書データであれば文字コードや書式情報からなるが、この文書データを表示または印刷した場合のイメージをビットマップ形式の画像として生成することで、暗号化部11による画像の暗号化を施すことが可能となる。   The digital image generation unit 15 generates a digital image in a pixel format based on electronic data. The digital image generation unit 15 converts an image when the selected electronic data is printed or displayed into a so-called bitmap format digital image. Normally, it consists of character code and format information if it is document data, but the encryption unit 11 encrypts the image by generating an image when the document data is displayed or printed as a bitmap format image. It becomes possible.

領域指定情報保持部16は、デジタル画像上の位置を示す位置情報を含む領域指定情報を、暗号化の対象となる部分領域を指定するための領域指定情報として保持する。複数の領域指定情報は、一意の識別情報と関連付けて、領域指定情報テーブルで管理される。   The area designation information holding unit 16 holds area designation information including position information indicating a position on the digital image as area designation information for designating a partial area to be encrypted. The plurality of area designation information is managed in the area designation information table in association with the unique identification information.

図13は、本実施形態における電子データ暗号化プログラムの位置づけを示す図である。電子データ暗号化プログラムは、各種アプリケーションに対して、所謂プリンタドライバに相当する機能を提供する。電子データ暗号化プログラムを、コンピュータ上にこのように実装することで、ユーザは、通常の印刷処理と同様の操作によって、電子データに基づく印刷物を簡易に暗号化することが可能である。   FIG. 13 is a diagram showing the positioning of the electronic data encryption program in the present embodiment. The electronic data encryption program provides a function corresponding to a so-called printer driver for various applications. By mounting the electronic data encryption program on the computer in this way, the user can easily encrypt the printed matter based on the electronic data by the same operation as the normal printing process.

図14は、本実施形態における領域指定情報テーブルの構成を示す図である。領域指定情報テーブルには、デジタル画像中の領域を示すための位置情報を含む領域指定情報が、一意の識別情報と関連付けられて記録される。領域指定情報については、第一の実施形態において説明したものと概略同様であるため、説明を省略する。   FIG. 14 is a diagram showing the configuration of the area designation information table in the present embodiment. In the area designation information table, area designation information including position information for indicating an area in the digital image is recorded in association with unique identification information. Since the area designation information is substantially the same as that described in the first embodiment, the description thereof is omitted.

また、領域指定情報が暗号化の対象となる部分領域として指定する位置は、デジタル画像生成の基礎となった電子データにおける、暗号化対象の情報が記録されている位置に対応する。例えば、文書データにおいて、「重要事項記載欄」が暗号化の対象となる重要情報であった場合、生成されたデジタル画像においてこの「重要事項記載欄」が配置されている領域が、領域指定情報によって指定される。このため、領域指定情報は、図14に示すように、文書データの書式に従って予め用意されていてもよいし、文書データの内容に応じて暗号化の都度生成されてもよい。領域指定情報を、暗号化の都度生成する場合の処理については、第三の実施形態において説明する。   The position designated by the area designation information as the partial area to be encrypted corresponds to the position where the information to be encrypted is recorded in the electronic data that is the basis of digital image generation. For example, in the document data, when the “important item description column” is the important information to be encrypted, the area where the “important item description column” is arranged in the generated digital image is the region designation information. Specified by. For this reason, the area designation information may be prepared in advance according to the format of the document data as shown in FIG. 14, or may be generated every time encryption is performed according to the contents of the document data. A process for generating the area designation information every time encryption is described in the third embodiment.

図15は、本実施形態における電子データ暗号化の流れを示すフローチャートである。本フローチャートに示された処理は、ユーザ操作に基づいて電子データ暗号化プログラムがHDD103より読み出されてRAM102に展開され、CPU101によって実行されることで開始される。   FIG. 15 is a flowchart showing a flow of electronic data encryption in the present embodiment. The processing shown in this flowchart is started when an electronic data encryption program is read from the HDD 103 based on a user operation, loaded in the RAM 102, and executed by the CPU 101.

ステップS101では、デジタル画像が生成される。ユーザは、文書作成アプリケーション等を使用している状態で、アプリケーションのメニューから、印刷の出力先として、電子データ暗号化プログラムを選択し、印刷開始の指示を与える。指示の入力を受け付けたデジタル画像生成部15は、アプリケーション等から電子データを取得し、印刷または表示イメージのビットマップデータを作成することでデジタル画像を生成する。その後、処理はステップS102へ進む。   In step S101, a digital image is generated. While using a document creation application or the like, the user selects an electronic data encryption program as a print output destination from an application menu and gives an instruction to start printing. The digital image generation unit 15 that has received an instruction input acquires electronic data from an application or the like, and generates a digital image by creating bitmap data of a print or display image. Thereafter, the process proceeds to step S102.

ステップS102では、領域指定情報が指定される。領域指定情報取得部19Aは、領域指定情報保持部16より領域指定情報の候補を読み出し、読み出した領域指定情報に基づいてユーザに選択させるためのインターフェースをディスプレイ108に表示する。領域指定情報取得部19Aは、ユーザの選択の入力を受け付け、ユーザの選択に係る領域指定情報を特定する。その後、処理はステップS103へ進む。   In step S102, area designation information is designated. The area designation information acquisition unit 19A reads the area designation information candidates from the area designation information holding unit 16, and displays an interface for allowing the user to select based on the read area designation information on the display 108. The area designation information acquisition unit 19A receives an input of user selection and specifies area designation information related to the user selection. Thereafter, the process proceeds to step S103.

ステップS103では、暗号化が行われる。暗号化部11は、デジタル画像の、ステップS102で特定された領域指定情報によって示された領域を暗号化することで、暗号化画像を生成する。暗号化処理の詳細については後述する。その後、処理はステップS104へ進む。   In step S103, encryption is performed. The encryption unit 11 generates an encrypted image by encrypting the area indicated by the area designation information specified in step S102 of the digital image. Details of the encryption processing will be described later. Thereafter, the process proceeds to step S104.

ステップS104では、暗号化画像が出力される。コンピュータ100は、CPU101が電子データ暗号化プログラムを実行することで、ステップS103で生成された暗号化画像を、プリンタ107を用いて紙媒体へ印刷(出力)する。その後、本フローチャートに示された処理は終了する。   In step S104, an encrypted image is output. The computer 100 prints (outputs) the encrypted image generated in step S <b> 103 onto a paper medium using the printer 107 when the CPU 101 executes the electronic data encryption program. Thereafter, the processing shown in this flowchart ends.

図16は、本実施形態に係る電子データ復号システム500の機能構成の概略を示す図である。電子データ復号システム500は、HDD103から読み出され、RAM102に展開された電子データ復号プログラムをCPU101が実行することで、紙媒体を撮像して紙媒体上の暗号化画像を取得する暗号化画像取得部13と、取得されたデジタル画像の少なくとも一部を復号することで復号済のデジタル画像を生成する復号部14と、復号されたデジタル画像に基づいて電子データを生成する電子データ生成部501と、として機能する。   FIG. 16 is a diagram showing an outline of a functional configuration of the electronic data decoding system 500 according to the present embodiment. In the electronic data decryption system 500, the CPU 101 executes an electronic data decryption program that is read from the HDD 103 and expanded in the RAM 102, thereby capturing an encrypted image on the paper medium by capturing an image on the paper medium. Unit 13, a decoding unit 14 that generates a decoded digital image by decoding at least a part of the acquired digital image, an electronic data generation unit 501 that generates electronic data based on the decoded digital image, and , Function as.

暗号化画像取得部13は、紙媒体を撮像することで、紙媒体上の情報を暗号化画像として取得する。本実施形態では、スキャナ106およびスキャナドライバを実行するコンピュータ100が暗号化画像取得部13に相当する。但し、暗号化画像は、デジタルカメラ等、その他の紙媒体を撮像可能な装置を用いて取得されてもよい。   The encrypted image acquisition unit 13 acquires information on the paper medium as an encrypted image by imaging the paper medium. In the present embodiment, the computer 100 that executes the scanner 106 and the scanner driver corresponds to the encrypted image acquisition unit 13. However, the encrypted image may be acquired using a device capable of capturing other paper media such as a digital camera.

図17は、本実施形態における電子データ復号処理の流れを示すフローチャートである。本フローチャートに示された処理は、ユーザ操作に基づいて電子データ復号プログラムがHDD103より読み出されてRAM102に展開され、CPU101によって実行されることで開始される。   FIG. 17 is a flowchart showing the flow of the electronic data decoding process in the present embodiment. The processing shown in this flowchart is started when an electronic data decoding program is read from the HDD 103 based on a user operation, expanded in the RAM 102, and executed by the CPU 101.

ステップS201では、暗号化画像が取得される。ユーザは、スキャナ106に復号したい暗号化情報が記録された紙媒体をセットした上で、コンピュータ100のインターフェースを通じて取得開始の指示を与える。指示の入力を受け付けた暗号化画像取得部13は、スキャナ106を制御して紙媒体を撮像させ、撮像結果を暗号化画像に変換することで、暗号化画像を取得する。その後、処理はステップS202へ進む。   In step S201, an encrypted image is acquired. The user sets a paper medium on which encrypted information to be decrypted is recorded in the scanner 106 and gives an instruction to start acquisition through the interface of the computer 100. The encrypted image acquisition unit 13 that has received an instruction input controls the scanner 106 to image a paper medium, and converts the imaging result into an encrypted image, thereby acquiring an encrypted image. Thereafter, the process proceeds to step S202.

ステップS202では、復号が行われる。復号部14は、暗号化画像中の、暗号化された領域を検出し、この領域を復号することで、暗号化が解除されたデジタル画像を生成する。復号処理の詳細については後述する。その後、処理はステップS203へ進む。   In step S202, decoding is performed. The decryption unit 14 detects an encrypted area in the encrypted image, and decrypts this area to generate a digital image that has been decrypted. Details of the decoding process will be described later. Thereafter, the process proceeds to step S203.

ステップS203では、電子データが生成される。電子データ生成部501は、ステップS202で生成されたデジタル画像中の文字を検出および特定することで、デジタル画像中の文字を文字コードによる文字情報として含む電子データを生成する。その後、本フローチャートに示された処理は終了する。   In step S203, electronic data is generated. The electronic data generation unit 501 detects electronic characters in the digital image generated in step S202, thereby generating electronic data including the characters in the digital image as character information based on character codes. Thereafter, the processing shown in this flowchart ends.

このように、復号処理においては、暗号化部分を自動的に検出し、検出された領域を復号することで、復号鍵を知るユーザのみに対して暗号化部分に記載された情報を閲覧させるようにすることが可能である。但し、暗号化処理と同様の領域情報選択インターフェースを表示し、ユーザが選択した領域情報に従って復号領域を決定することとしてもよい。ユーザによって指定された領域に、上記復号領域の自動検出処理を加味することで、復号精度を向上させることが出来る。また、復号されたデジタル画像を解析し、暗号化前の電子データを復元することで、復号された情報を電子データとして取り扱うことが可能となり、利便性が向上する。   Thus, in the decryption process, the encrypted portion is automatically detected, and the detected area is decrypted so that only the user who knows the decryption key can view the information described in the encrypted portion. It is possible to However, it is also possible to display a region information selection interface similar to the encryption process and determine the decryption region according to the region information selected by the user. The decoding accuracy can be improved by adding the automatic detection processing of the decoding area to the area specified by the user. Also, by analyzing the decrypted digital image and restoring the electronic data before encryption, the decrypted information can be handled as electronic data, and convenience is improved.

本実施形態に拠れば、重要な情報の漏洩を防止することが可能となる。また、紙媒体に出力されることで、コピー機等を使用して複製を作成した場合には暗号化された画像の像が劣化し、複製を繰り返すと復号が不可能になるという効果を得ることが可能である。これにより、コピー機によって重要な書類が安易に複製され、重要情報が流出してしまうことを防止出来る。さらに、暗号化画像が印刷される紙媒体に、コピー機等による複製を作成すると「複写」等の像が現れる特殊な紙媒体(所謂コピー偽造防止用紙)を用いるか、このような文字が現れるための像を暗号化画像の印刷と同時に印刷することで、安易な複製を抑制したり、浮かび上がった像が重なることで暗号化画像にノイズが入り、複製からは復号出来ないようにすることが可能である。   According to this embodiment, it is possible to prevent leakage of important information. In addition, by outputting to a paper medium, when a copy is created using a copier or the like, an encrypted image image is deteriorated, and it is impossible to decrypt the image when the copy is repeated. It is possible. Thereby, it is possible to prevent important documents from being easily copied by the copying machine and leaking important information. Furthermore, a special paper medium (so-called copy forgery prevention paper) on which an image such as “copy” appears when a copy is made on a paper medium on which an encrypted image is printed, or such characters appear. By printing the image for the encrypted image at the same time as printing the encrypted image, it is possible to suppress easy copying, or noise may enter the encrypted image due to overlapping of the floating images, so that the image cannot be decrypted Is possible.

なお、本実施形態では、暗号化システム200と復号システム500を異なるシステムとして説明しているが、本発明は、暗号化および復号の双方の機能を備えた、電子データ暗号化/電子データ復号システムとして実施されてもよい。これは、以下に説明する第二、第四の実施形態についても同様である。   In this embodiment, the encryption system 200 and the decryption system 500 are described as different systems. However, the present invention is an electronic data encryption / decryption system having both encryption and decryption functions. May be implemented. The same applies to the second and fourth embodiments described below.

<第三の実施形態>
図18は、本実施形態に係る電子データ暗号化システム200Bの機能構成の概略を示す図である。本実施形態に係る電子データ暗号化システム200Bは、上記第二の実施形態と同様、デジタル画像生成部15、暗号化部11、出力部12、および領域指定情報保持部16を備え、更に、紙媒体上に記録された識別情報を取得する識別情報取得部18、および取得された識別情報に従って関連する領域指定情報を取得する領域指定情報取得部19Bを備える。
<Third embodiment>
FIG. 18 is a diagram illustrating an outline of a functional configuration of the electronic data encryption system 200B according to the present embodiment. Similar to the second embodiment, the electronic data encryption system 200B according to the present embodiment includes a digital image generation unit 15, an encryption unit 11, an output unit 12, and an area designation information holding unit 16, and further includes paper. An identification information acquisition unit 18 that acquires identification information recorded on the medium, and an area specification information acquisition unit 19B that acquires related area specification information according to the acquired identification information.

識別情報取得部18は、デジタル画像を暗号化するための領域指定情報を識別するために、デジタル画像の基となった電子データ(電子ファイル)に含まれる識別情報を取得する。識別情報は、電子ファイルのメタデータ(ファイルヘッダ)として電子データに含まれている。図19は、暗号化の対象となる情報とともに、識別情報801がメタデータ803内に含まれる電子データ800の例を示す図である。この識別情報801は、この識別情報801が含まれる電子データ800のうち、電子データ800を基に生成されたデジタル画像804の部分領域802を暗号化する領域として指示する領域指示情報に関連付けられている。   The identification information acquisition unit 18 acquires identification information included in the electronic data (electronic file) that is the basis of the digital image in order to identify region designation information for encrypting the digital image. The identification information is included in the electronic data as metadata (file header) of the electronic file. FIG. 19 is a diagram illustrating an example of electronic data 800 in which identification information 801 is included in metadata 803 along with information to be encrypted. This identification information 801 is associated with area designation information that designates the partial area 802 of the digital image 804 generated based on the electronic data 800 of the electronic data 800 including the identification information 801 as an area to be encrypted. Yes.

領域指定情報取得部19Bは、識別情報取得部18によって取得された識別情報をキーとして領域指定情報保持部16に保持された領域指定情報を検索し、対応する領域指定情報を取得する。即ち、電子データに、該電子データにおける暗号化すべき部分を指定する領域指定情報の識別情報を、予めメタデータとして保持させておくことで、ユーザに適切な領域指定情報を選択させる手間をかけることなく、自動的に最適な領域指定情報が選択され、暗号化すべき部分を暗号化することが出来る。   The area designation information acquisition unit 19B searches the area designation information held in the area designation information holding unit 16 using the identification information acquired by the identification information acquisition unit 18 as a key, and acquires corresponding area designation information. In other words, it takes time and effort for the user to select appropriate area designation information by preliminarily storing, as metadata, identification information of area designation information that designates a portion to be encrypted in the electronic data. The optimum area designation information is automatically selected, and the part to be encrypted can be encrypted.

図20は、本実施形態における電子データ暗号化の流れを示すフローチャートである。本フローチャートに示された処理は、ユーザ操作に基づいて電子データ暗号化プログラムがHDD103より読み出されてRAM102に展開され、CPU101によって実行されることで開始される。   FIG. 20 is a flowchart showing a flow of electronic data encryption in the present embodiment. The processing shown in this flowchart is started when an electronic data encryption program is read from the HDD 103 based on a user operation, loaded in the RAM 102, and executed by the CPU 101.

ステップS301では、デジタル画像が生成される。処理の詳細については、先述のステップS101と概略同様であるため、説明を省略する。その後、処理はステップS302へ進む。   In step S301, a digital image is generated. Details of the processing are substantially the same as in step S101 described above, and a description thereof will be omitted. Thereafter, the process proceeds to step S302.

ステップS302では、識別情報が取得される。識別情報取得部18は、ステップS301で取得されたデジタル画像の基となった電子データのメタデータから、識別情報を取得する。その後、処理はステップS303へ進む。   In step S302, identification information is acquired. The identification information acquisition unit 18 acquires identification information from the metadata of the electronic data that is the basis of the digital image acquired in step S301. Thereafter, the process proceeds to step S303.

ステップS303では、領域指定情報が取得される。領域指定情報取得部19Bは、ステップS302で取得した識別情報に基づいて、領域指定情報保持部16に保持された領域指定情報を検索し、対応する領域指定情報を取得する。その後、処理はステップS304へ進む。   In step S303, area designation information is acquired. The area designation information acquisition unit 19B searches the area designation information held in the area designation information holding unit 16 based on the identification information acquired in step S302, and acquires the corresponding area designation information. Thereafter, the process proceeds to step S304.

ステップS304およびステップS305に示された処理は、上記ステップS103およびステップS104に示された処理と概略同様であるため、説明を省略する。   Since the processes shown in steps S304 and S305 are substantially the same as the processes shown in steps S103 and S104, the description thereof is omitted.

識別情報を取得し、対応する領域指定情報が選択されるようにすることで、ユーザによる領域指定情報を指定する手間が省略され、作業効率を向上させることが出来る。特に、複数パターンの定型書式の文書類をまとめて暗号化する場合に、定型書式に応じた識別情報を、定型書式のテンプレートのメタデータに含ませておくことで、非常に簡便に暗号化を行うことが可能である。   By acquiring the identification information and selecting the corresponding area designation information, the user's trouble of designating the area designation information is omitted, and the work efficiency can be improved. In particular, when encrypting documents in a fixed format with multiple patterns, it is very easy to encrypt by including identification information according to the fixed format in the metadata of the template of the fixed format. Is possible.

第二の実施形態と同様、復号処理においては、暗号化部分を自動的に検出し、検出された領域を復号することで、復号鍵を知るユーザのみに対して暗号化部分に記載された情報を閲覧させるようにすることが可能である。但し、復号処理においても識別情報を取得し、対応する復号領域を決定することとしてもよい。印刷された紙媒体にバーコード等を印刷し、バーコード認識やOCR等の技術を用いることで、紙媒体から識別情報を得ることが出来る。識別情報に従って指定された領域に、上記復号領域の自動検出処理を加味することで、復号精度を向上させることが出来る。   As in the second embodiment, in the decryption process, the encrypted part is automatically detected, and the detected area is decrypted, so that the information described in the encrypted part is only for users who know the decryption key. Can be viewed. However, the identification information may be acquired also in the decoding process, and the corresponding decoding area may be determined. Identification information can be obtained from the paper medium by printing a barcode or the like on the printed paper medium and using a technique such as barcode recognition or OCR. Decoding accuracy can be improved by adding the automatic detection processing of the decoding area to the area specified according to the identification information.

<第四の実施形態>
図21は、本実施形態に係る電子データ暗号化システム200Cの機能構成の概略を示す図である。本実施形態に係る電子データ暗号化システム200Cは、上記第二の実施形態と同様、デジタル画像生成部15、暗号化部11、出力部12、および領域指定情報保持部16を備え、更に、紙媒体上に記録された情報から所定のキーワードを検出するキーワード検出部10、および検出されたキーワードに対応する位置に従って関連する領域指定情報を取得する領域指定情報取得部19Cを備える。
<Fourth embodiment>
FIG. 21 is a diagram showing an outline of a functional configuration of the electronic data encryption system 200C according to the present embodiment. As in the second embodiment, the electronic data encryption system 200C according to this embodiment includes a digital image generation unit 15, an encryption unit 11, an output unit 12, and an area designation information holding unit 16, and further includes paper. A keyword detection unit 10 that detects a predetermined keyword from information recorded on the medium, and a region specification information acquisition unit 19C that acquires related region specification information according to a position corresponding to the detected keyword are provided.

キーワード検出部10は、デジタル画像生成部15によって生成されたデジタル画像の基となった電子データから文字列を読み取り、読み取られた文字列を、所定の文字列であるキーワードと比較することで、電子データに含まれるキーワードを検出する。ここで、キーワードとは、電子データから、暗号化すべき情報の有無、およびデジタル画像化した際の暗号化すべき情報の位置を抽出するために設定された文字列である。図22は、キーワードが含まれる電子データ1100の表示イメージを示す図である。例えば、キーワードとして、「氏名」および「住所」が設定されている場合、電子データ1100にこれらのキーワードが含まれているか否かが判定され、含まれている場合、デジタル画像化した際にこれらのキーワードが記載される位置1101の位置情報が取得される。即ち、これらのキーワードに続く文字列が、氏名や住所等の個人情報であると推定できるため、自動的に暗号化すべき情報およびこの情報が記載された領域1102を示す領域指定情報を得ることが出来る。この際、氏名であれば一般に多く用いられている人名を網羅した人名リスト、住所であれば住所リストを参照することで、検出の精度を向上させることが出来る。   The keyword detection unit 10 reads a character string from the electronic data that is the basis of the digital image generated by the digital image generation unit 15, and compares the read character string with a keyword that is a predetermined character string. Detect keywords in electronic data. Here, the keyword is a character string set for extracting the presence / absence of information to be encrypted from the electronic data and the position of the information to be encrypted when digitalized. FIG. 22 is a diagram showing a display image of electronic data 1100 including a keyword. For example, when “name” and “address” are set as keywords, it is determined whether or not these keywords are included in the electronic data 1100. If they are included, they are converted into digital images. The position information of the position 1101 where the keyword is described is acquired. That is, since it can be estimated that the character string following these keywords is personal information such as name and address, information to be automatically encrypted and area designation information indicating the area 1102 in which this information is described can be obtained. I can do it. In this case, the accuracy of detection can be improved by referring to a name list that covers names generally used for a name and an address list for an address.

本実施形態に係る領域指定情報取得部19Cは、キーワード検出手段によって検出されたキーワードに対応する領域を特定するための前記領域指定情報を生成する。一般には、キーワードに続く文字列の領域を特定するための領域指定情報である。但し、キーワードとして暗号化したい文字列そのものが設定されている場合、キーワード検出手段によって検出されたキーワードが記載された領域を示す情報が、領域指定情報となる。   The area designation information acquisition unit 19C according to the present embodiment generates the area designation information for specifying the area corresponding to the keyword detected by the keyword detection unit. Generally, this is area designation information for specifying the area of the character string following the keyword. However, when the character string itself to be encrypted is set as a keyword, information indicating an area in which the keyword detected by the keyword detecting unit is described becomes area specifying information.

図23は、本実施形態における電子データ暗号化の流れを示すフローチャートである。本フローチャートに示された処理は、ユーザ操作に基づいて電子データ暗号化プログラムがHDD103より読み出されてRAM102に展開され、CPU101によって実行されることで開始される。   FIG. 23 is a flowchart showing a flow of electronic data encryption in the present embodiment. The processing shown in this flowchart is started when an electronic data encryption program is read from the HDD 103 based on a user operation, loaded in the RAM 102, and executed by the CPU 101.

ステップS401では、デジタル画像が生成される。処理の詳細については、先述のステップS101と概略同様であるため、説明を省略する。その後、処理はステップS402へ進む。   In step S401, a digital image is generated. Details of the processing are substantially the same as in step S101 described above, and a description thereof will be omitted. Thereafter, the process proceeds to step S402.

ステップS402では、キーワードが検出される。キーワード検出部10は、ステップS401で生成されたデジタル画像の基となった電子データを検索することで、所定のキーワードを検出する。その後、処理はステップS403へ進む。   In step S402, a keyword is detected. The keyword detection unit 10 detects a predetermined keyword by searching the electronic data that is the basis of the digital image generated in step S401. Thereafter, the process proceeds to step S403.

ステップS403では、領域指定情報が取得される。領域指定情報取得部19Cは、ステップS402で検出されたキーワードの位置に従って、キーワードに対応する領域を特定するための領域指定情報を生成する。具体的には、キーワードが、暗号化したい情報のタイトルである場合、そのキーワードに続く情報が記載された領域を示す領域指定情報が生成される。また、キーワードが、暗号化したい情報そのものを示す場合、そのキーワードが記載された領域を示す領域指定情報が生成される。領域指定情報が領域を指定する方法としては、第二の実施形態において説明した方法と同様に、位置情報、サイズ情報、ベクトル情報等が用いられる。その後、処理はステップS404へ進む。   In step S403, area designation information is acquired. The area designation information acquisition unit 19C generates area designation information for specifying an area corresponding to the keyword according to the keyword position detected in step S402. Specifically, when the keyword is a title of information to be encrypted, area designation information indicating an area in which information following the keyword is described is generated. Further, when the keyword indicates information itself to be encrypted, area designation information indicating an area in which the keyword is described is generated. As the method for designating the region by the region designation information, position information, size information, vector information, and the like are used as in the method described in the second embodiment. Thereafter, the process proceeds to step S404.

ステップS404およびステップS405に示された処理は、上記ステップS103およびステップS104に示された処理と概略同様であるため、説明を省略する。   Since the processes shown in steps S404 and S405 are substantially the same as the processes shown in steps S103 and S104, the description thereof is omitted.

近年、個人情報保護の重要性が非常に高まっているが、個人情報等の重要情報は、「氏名」「住所」「電話番号」等の特定のキーワードに続いて記載されていることが多い。本実施形態に拠れば、暗号化対象の電子データから、キーワードを検出し、対応する部分を自動的に暗号化することで、様々な書式で記載された情報を暗号化する際の作業量を低減することが出来る。   In recent years, the importance of protecting personal information has increased greatly, but important information such as personal information is often described following specific keywords such as “name”, “address”, and “phone number”. According to this embodiment, a keyword is detected from electronic data to be encrypted, and the corresponding part is automatically encrypted, thereby reducing the amount of work when encrypting information described in various formats. It can be reduced.

第二の実施形態と同様、復号処理においては、暗号化部分を自動的に検出し、検出された領域を復号することで、復号鍵を知るユーザのみに対して暗号化部分に記載された情報を閲覧させるようにすることが可能である。但し、復号処理においてもキーワードを検出し、対応する復号領域を決定することとしてもよい。OCRの技術を用いることで、印刷された紙媒体からキーワードを検出することが出来る。検出されたキーワードの位置情報に、上記復号領域の自動検出処理を加味することで、復号精度を向上させることが出来る。   As in the second embodiment, in the decryption process, the encrypted part is automatically detected, and the detected area is decrypted, so that the information described in the encrypted part is only for users who know the decryption key. Can be viewed. However, in the decryption process, a keyword may be detected and a corresponding decryption area may be determined. By using the OCR technology, keywords can be detected from printed paper media. Decoding accuracy can be improved by adding the above-described decoding area automatic detection processing to the detected keyword position information.

また、上記第一から第四の実施形態において、一の電子データがデジタル画像化された際の複数の領域を、夫々異なる暗号鍵で暗号化することとしてもよい。図24は、複数の暗号鍵を使用して暗号化される電子データ1300の表示イメージを示す図である。領域1301A、1301B、1301C、1301Dがある場合に、これらの領域1301A、1301B、1301C、1301Dを、対応する暗号鍵1302A、1302B、1302C、1302Dで暗号化することで、領域ごとに閲覧権限を設定することが可能となる。   In the first to fourth embodiments, a plurality of areas when one electronic data is converted into a digital image may be encrypted with different encryption keys. FIG. 24 is a diagram showing a display image of electronic data 1300 encrypted using a plurality of encryption keys. If there are areas 1301A, 1301B, 1301C, and 1301D, the viewing authority is set for each area by encrypting these areas 1301A, 1301B, 1301C, and 1301D with the corresponding encryption keys 1302A, 1302B, 1302C, and 1302D. It becomes possible to do.

<暗号化部および復号部>
次に、上記第一の実施形態から第四の実施形態における、暗号化部および復号部による暗号化処理および復号処理の概要を説明する。
<Encryption unit and decryption unit>
Next, an overview of encryption processing and decryption processing by the encryption unit and the decryption unit in the first to fourth embodiments will be described.

図25は、暗号化処理および復号処理の処理概要(その1)を示す図である。図25において、暗号化部11(第1乃至第3の各態様においては、それぞれ暗号化部11A、11B、11Cという。)は、入力されたデジタル画像と暗号化方法を示す暗号鍵とに基づいて、前記デジタル画像の一部を暗号化した暗号化画像を出力する。プリンタ出力部12は、暗号化部11により暗号化されたデジタル画像を紙などの印刷可能な物理的媒体に印刷する。スキャナ(カメラ)読み込み部13は、プリンタ出力部12により出力された印刷画像を、スキャナまたはカメラを用いて読み込む。   FIG. 25 is a diagram showing a process outline (part 1) of the encryption process and the decryption process. In FIG. 25, the encryption unit 11 (in the first to third modes, referred to as encryption units 11A, 11B, and 11C, respectively) is based on the input digital image and the encryption key indicating the encryption method. Thus, an encrypted image obtained by encrypting a part of the digital image is output. The printer output unit 12 prints the digital image encrypted by the encryption unit 11 on a printable physical medium such as paper. The scanner (camera) reading unit 13 reads the print image output from the printer output unit 12 using a scanner or a camera.

そして、復号部14(第1乃至第3の各態様においては、それぞれ復号部14A、14B、14Cという。)は、プリンタ出力部12により出力された印刷画像と入力された復号鍵とにより復号画像を得る。この入力された復号鍵が正しい場合に限り暗号化画像を適切に復号でき、暗号化部11による暗号化で隠された情報を見ることができる。   Then, the decryption unit 14 (in the first to third aspects, referred to as decryption units 14A, 14B, and 14C, respectively) decrypts the print image output by the printer output unit 12 and the input decryption key. Get. Only when the input decryption key is correct, the encrypted image can be properly decrypted, and the information hidden by the encryption by the encryption unit 11 can be viewed.

図26は、暗号化処理および復号処理の処理概要(その2)を示す図である。図26に示したように、本発明を適用した第1の態様乃至第3の態様における暗号化処理および復号処理は、暗号化部11により暗号化されたデジタル画像をプリンタやスキャナを介さずに電子文書画像のまま復号部14に入力し、復号画像を得ることも可能である。   FIG. 26 is a diagram illustrating a process outline (part 2) of the encryption process and the decryption process. As shown in FIG. 26, the encryption process and the decryption process in the first to third aspects to which the present invention is applied perform the digital image encrypted by the encryption unit 11 without using a printer or a scanner. It is also possible to input the electronic document image as it is to the decoding unit 14 to obtain a decoded image.

次に、本発明を適用した第1の態様乃至第3の態様をそれぞれ説明する。まず、本発明を適用した第1の態様について説明する。   Next, first to third aspects to which the present invention is applied will be described. First, the 1st aspect to which this invention is applied is demonstrated.

図27は、第1の態様における暗号化処理の概要を示す図である。図27において、暗号化部11Aは、暗号化領域決定部31、画像変換部32、画素値変換部33およびマーカー付加部34を備えている。   FIG. 27 is a diagram showing an outline of the encryption processing in the first mode. In FIG. 27, the encryption unit 11A includes an encryption area determination unit 31, an image conversion unit 32, a pixel value conversion unit 33, and a marker addition unit 34.

暗号化領域指定部31は、暗号化したい領域を含む入力画像から暗号化する領域を選択する。   The encryption area designating unit 31 selects an area to be encrypted from the input image including the area to be encrypted.

図28は、暗号化領域を選択する例を示す図である。すなわち、暗号化領域指定部31は、図28の(A)に示すように、暗号化したい領域を含むデジタル画像(入力画像)41から暗号化する領域42を選択する。この領域42が後述する画像変換部32および画素値変換部33の処理により、図28の(B)に示したように変換画像43に変換され、デジタル画像41が変換画像43を含む暗号化画像44に変換される。   FIG. 28 is a diagram illustrating an example of selecting an encryption area. That is, as shown in FIG. 28A, the encryption area designating unit 31 selects the area 42 to be encrypted from the digital image (input image) 41 including the area to be encrypted. This area 42 is converted into a converted image 43 as shown in FIG. 28B by the processing of the image conversion unit 32 and the pixel value conversion unit 33 described later, and the digital image 41 is an encrypted image including the converted image 43. 44.

図27の説明に戻る。暗号化領域指定部31により暗号化する領域42が選択されると、画像変換部32において暗号化する領域42および暗号鍵を入力し、暗号鍵に対応する変換方法で暗号化する領域42の画像を視覚的に変換する。その際の変換パラメータは、入力の暗号鍵から得られるバイナリデータにより作成する。   Returning to the description of FIG. When the area 42 to be encrypted is selected by the encryption area designating unit 31, the area 42 to be encrypted and the encryption key are input in the image conversion unit 32, and the image of the area 42 to be encrypted by the conversion method corresponding to the encryption key Is visually transformed. The conversion parameter at that time is created from binary data obtained from the input encryption key.

図29は、暗号鍵の入力例を示す図である。図29に示した例は、暗号鍵と、暗号鍵により生成されるバイナリデータの例である。例えば、暗号鍵としての数値「1234」は、バイナリデータ「100011010010」として入力され、暗号鍵としての文字列「ango」は、バイナリデータ「01100001011011100110011101101111」として入力される。   FIG. 29 is a diagram illustrating an input example of the encryption key. The example shown in FIG. 29 is an example of an encryption key and binary data generated by the encryption key. For example, a numerical value “1234” as an encryption key is input as binary data “100011010010”, and a character string “ango” as an encryption key is input as binary data “01100001011011100110011101101111”.

画像変換方法として、本第1の態様では、画像を微小領域に分割して微小領域を並べ替える処理(スクランブル処理という。)による変換方法と、画像を圧縮処理することによる変換方法の2つを示す。   As the image conversion method, in the first aspect, there are two methods: a conversion method by dividing the image into minute regions and rearranging the minute regions (referred to as scramble processing) and a conversion method by compressing the image. Show.

まず、スクランブル処理について説明する。スクランブル処理は、まず、選択された領域42の画像を一定の大きさの微小領域に分割して、次に、暗号鍵から得られるバイナリデータにより微小領域の並び替えを行なう。   First, the scramble process will be described. In the scramble process, first, the image of the selected area 42 is divided into small areas of a certain size, and then the small areas are rearranged by binary data obtained from the encryption key.

図30は、画像変換部におけるスクランブル処理の一例を示す図である。図30の(A)に示したように、まず暗号化領域指定部31により選択された領域42を縦方向に分割し、暗号鍵61のバイナリ列の各ビットを分割された領域42の境界に左から順に対応させ、ビットが「1」の場合は隣り合う分割列を交換し、ビットが「0」の場合は何もしない処理を左側から順に行なう。分割境界の数に対してバイナリ列のビット数が足りない場合は、足りなくなった位置から同じバイナリ列を繰り返して領域42の右端まで交換処理を行なう。   FIG. 30 is a diagram illustrating an example of the scramble process in the image conversion unit. As shown in FIG. 30A, first, the area 42 selected by the encryption area designating unit 31 is divided in the vertical direction, and each bit of the binary string of the encryption key 61 is used as the boundary of the divided area 42. Corresponding in order from the left, when the bit is “1”, adjacent divided columns are exchanged, and when the bit is “0”, nothing is performed in order from the left. When the number of bits in the binary string is insufficient with respect to the number of division boundaries, the same binary string is repeated from the position where the binary string is insufficient, and the exchange processing is performed up to the right end of the region 42.

続いて、図30の(B)に示すように、上記交換処理を行なった画像領域62を横方向に分割し、暗号鍵61のバイナリ列の各ビットを分割された画像領域62の境界に上から順番に対応させ、縦分割で行ったのと同様の交換処理を行単位で上から順に行なう。   Subsequently, as shown in FIG. 30B, the image area 62 subjected to the exchange process is divided in the horizontal direction, and each bit of the binary string of the encryption key 61 is moved up to the boundary of the divided image area 62. The same exchange processing as that performed in the vertical division is performed in order from the top in line units.

すると、図30の(C)に示すように、各分割画像に交換処理を行った結果、元の領域42がスクランブル処理された処理画像であるスクランブル画像63が得られる。   Then, as shown in FIG. 30C, as a result of performing the exchange process on each divided image, a scrambled image 63 which is a processed image obtained by scrambled the original area 42 is obtained.

このスクランブル処理例の拡張法として、横方向、縦方向ともに2度以上行なうこともでき、また2度目以降の交換において分割領域の大きさを変えることも可能である。さらに、横方向と縦方向で分割領域の交換に別のバイナリ列を用いることもできる。これらの拡張法は、入力画像のサイズが小さく、かつ暗号鍵のビット長が長い場合に、異なる暗号鍵から全く同じ処理画像が生成されてしまうのを防ぐ手段として特に有効である。   As an expansion method of this scramble processing example, the horizontal direction and the vertical direction can be performed twice or more, and the size of the divided area can be changed in the second and subsequent replacements. Furthermore, another binary string can be used for exchanging the divided areas in the horizontal direction and the vertical direction. These extension methods are particularly effective as means for preventing the same processed image from being generated from different encryption keys when the size of the input image is small and the bit length of the encryption key is long.

図31は、画像変換部におけるスクランブル処理の他の例を示す図である。図30を用いて説明したスクランブル処理とはまた別のスクランブル処理法として、図31に示したように微小領域単位で画素の交換を行う方法も可能である。すなわち、入力画像を矩形状の微小領域に分割し、分割された微小領域同士を交換する。これにより、上述の横方向と縦方向(行と列)の交換による方法よりもスクランブルの場合の数が多くなり、暗号強度を高めることができる。   FIG. 31 is a diagram illustrating another example of the scramble process in the image conversion unit. As another scramble processing method different from the scramble processing described with reference to FIG. 30, a method of exchanging pixels in units of minute regions as shown in FIG. 31 is also possible. That is, the input image is divided into rectangular minute areas, and the divided minute areas are exchanged. As a result, the number of scrambles is increased and the encryption strength can be increased as compared with the above-described method using the exchange between the horizontal direction and the vertical direction (row and column).

図32は、スクランブル処理における微小領域の形の変形例を示す図である。さらにスクランブル処理の際の微小領域の形は、図31に示した四角形の他に、例えば図32の(A)に示したような三角形を用いることも可能である。また図32の(B)に示したように、形や大きさの異なる微小領域を共存させることもできる。   FIG. 32 is a diagram showing a modification of the shape of the minute area in the scramble process. Further, as the shape of the minute area in the scramble processing, for example, a triangle as shown in FIG. 32A can be used in addition to the quadrangle shown in FIG. Further, as shown in FIG. 32B, minute regions having different shapes and sizes can coexist.

次に、画像を圧縮処理することによる変換方法について説明する。   Next, a conversion method by compressing an image will be described.

図33は、画像変換部における圧縮処理を示す図である。入力画像41が二値画像の場合に、まず図33の(A)に示したように暗号化領域指定部31により選択された領域42の画像を圧縮して、図33の(B)に示したようなバイナリ列71を作成する。ここでの圧縮法は、ファクシミリ装置での二値画像データ転送の際に用いられるランレングス圧縮や、二値画像の標準圧縮方式であるJBIG(Joint Bi−level Image experts Group)圧縮など、あらゆる圧縮方式が適用可能である。   FIG. 33 is a diagram illustrating compression processing in the image conversion unit. When the input image 41 is a binary image, first, the image in the area 42 selected by the encryption area designating unit 31 is compressed as shown in FIG. 33A, and the input image 41 is shown in FIG. A binary string 71 is created. The compression method here includes all types of compression, such as run-length compression used for binary image data transfer in a facsimile machine, and JBIG (Joint Bi-level Image experts Group) compression, which is a standard compression method for binary images. The method is applicable.

図34は、変換データを画像化する処理を示す図である。図33に示したような領域42の圧縮に続いて、変換圧縮データであるバイナリ列71の各ビットを、図34(B)に示したように、ビットが「0」ならば「白」、ビットが「1」ならば「黒」である指定サイズの方形に拡大して方形画像(処理画像)81を作成し、暗号化する画像の領域42に白黒の方形画像81として配列させる。   FIG. 34 is a diagram showing a process for imaging the converted data. Subsequent to the compression of the area 42 as shown in FIG. 33, each bit of the binary string 71 which is the converted compressed data is converted into “white” if the bit is “0” as shown in FIG. If the bit is “1”, the rectangular image (processed image) 81 is created by enlarging the rectangle to a specified size of “black”, and arranged as a monochrome rectangular image 81 in the area 42 of the image to be encrypted.

変換圧縮データ(バイナリ列71)を選択された領域42の画像内に収まるよう配列させたい場合、方形画像81のサイズは選択された領域42の圧縮率に依存してくる。例えば圧縮率が1/4以下であれば方形画像81のサイズは高々2×2ピクセルであり、1/16以下ならば高々4×4ピクセルである。   When it is desired to arrange the converted compressed data (binary string 71) so as to fit within the image of the selected area 42, the size of the rectangular image 81 depends on the compression ratio of the selected area 42. For example, if the compression ratio is 1/4 or less, the size of the square image 81 is 2 × 2 pixels at most, and if it is 1/16 or less, the size is 4 × 4 pixels.

一方、予め方形画像81のサイズを指定し、かつ圧縮データを選択された領域42の画像内に収めたい場合は、最初の画像圧縮処理において方形画像81のサイズに依存した圧縮率を達成する必要がある。例えば方形を4×4ピクセルのサイズにする場合は1/16以上の圧縮率が必要となる。この場合には、選択された領域42の情報を予め落として圧縮する方法や、非可逆な圧縮方式を用いる方法が有効である。   On the other hand, when the size of the square image 81 is designated in advance and it is desired to store the compressed data in the image of the selected area 42, it is necessary to achieve a compression ratio depending on the size of the square image 81 in the first image compression processing. There is. For example, when the square is 4 × 4 pixels in size, a compression ratio of 1/16 or more is required. In this case, a method in which information in the selected area 42 is dropped in advance and a method using an irreversible compression method are effective.

上記の圧縮データを拡大して画像化する暗号化処理により、例えば低解像度のカメラで暗号化画像を読み取った場合でも拡大された白黒のブロックを認識できるため、暗号化画像を正しく復号できる。   With the encryption processing for enlarging and compressing the compressed data, for example, the enlarged monochrome block can be recognized even when the encrypted image is read with a low-resolution camera, so that the encrypted image can be correctly decrypted.

図27の説明に戻る。画素値変換部33では、画像変換部32で変換された処理画像63内の画素を一定の間隔を置いて変換し、変換画像43が概ね格子状の縞模様を成すようにする。   Returning to the description of FIG. The pixel value conversion unit 33 converts the pixels in the processed image 63 converted by the image conversion unit 32 at regular intervals so that the converted image 43 forms a substantially grid-like striped pattern.

図35は、画素値変換部における画素値変換処理の例(その1)を示す図である。画素値変換部33では、画像変換部32により領域42がスクランブルされた処理画像63の画素を、一定の間隔で変換し、暗号化画像44が全体として概ね格子状の縞模様を成すようにする。例えば図35に示したように、図35の(A)に示したスクランブル画像63を(B)に示した市松模様(チェッカー模様)画像91の有色部分で反転処理するような変換を実行することにより、(C)に示したように暗号化画像44が全体として概ね格子状の縞模様を成す変換画像92が得られる。これにより、生成される縞状の模様は、暗号化画像44を復号する際に暗号化領域内の各画素の詳細な位置を検出するために用いられる。   FIG. 35 is a diagram illustrating an example (part 1) of the pixel value conversion processing in the pixel value conversion unit. In the pixel value conversion unit 33, the pixels of the processed image 63 in which the area 42 is scrambled by the image conversion unit 32 are converted at regular intervals so that the encrypted image 44 forms a generally grid-like striped pattern as a whole. . For example, as shown in FIG. 35, conversion is performed such that the scrambled image 63 shown in FIG. 35A is inverted at the colored portion of the checkered pattern (checkered pattern) image 91 shown in FIG. As a result, as shown in (C), the converted image 92 in which the encrypted image 44 as a whole forms a substantially grid-like striped pattern is obtained. Thereby, the generated striped pattern is used to detect the detailed position of each pixel in the encryption area when the encrypted image 44 is decrypted.

これらの一連の処理に関して、別の変換を実施することも可能である。例えば画素値を反転する処理は、指定の値を加算する処理であってもよい。   It is also possible to carry out another conversion for these series of processes. For example, the process of inverting the pixel value may be a process of adding a specified value.

また、図35の(B)に示した市松模様画像91は、(A)に示したスクランブル画像63と略同サイズであるが、スクランブル画像63より小さいサイズを用いることにより、スクランブル画像63の周辺以外の中心部分のみ反転処理するようにしてもよい。   Also, the checkered pattern image 91 shown in FIG. 35B is approximately the same size as the scrambled image 63 shown in FIG. 35A, but by using a size smaller than the scrambled image 63, the periphery of the scrambled image 63 is displayed. Only the center part other than the above may be reversed.

図36は、画素値変換部における画素値変換処理の例(その2)を示す図である。また、画素値を変換する領域42は、図36の(A)から(C)に示したように種々の形状を適用することが可能である。画素値変換は小領域間の境界位置を高精度に検出することを目的とした処理であるため、例えば図36の(A)のように境界部分のみ画素値変換することも考えられる。また、図36の(B)のように微小領域に対して少しずつずらしながら画素値変換を行うことで、変換と非変換の境界がより細かい間隔で現れるため、復号処理において暗号化画像44の画素位置をさらに詳細に検出できる。また、図36の(C)ように微小領域の境界が交差する部分のみに画素値変換を行えば、紙などに印刷した画像をスキャナやカメラで読み込んで復号する際の画質の劣化を最小限に抑えることができる。   FIG. 36 is a diagram illustrating an example (part 2) of the pixel value conversion processing in the pixel value conversion unit. Further, various shapes can be applied to the region 42 where the pixel value is converted as shown in FIGS. Since the pixel value conversion is a process aimed at detecting the boundary position between the small regions with high accuracy, it is also conceivable to convert the pixel value only at the boundary part as shown in FIG. Also, by performing pixel value conversion while shifting little by little with respect to the minute area as shown in FIG. 36B, the boundary between conversion and non-conversion appears at finer intervals. The pixel position can be detected in more detail. In addition, if pixel value conversion is performed only on a portion where the boundaries of minute regions intersect as shown in FIG. 36C, image quality degradation when reading and decoding an image printed on paper or the like with a scanner or camera is minimized. Can be suppressed.

ここで、微小領域の形が均一な大きさの四角形ではなく、図32に示したように三角形(図32の(A))や異なる大きさ、形が共存する場合(図32の(B))は、上述の変換例に限らず形状に応じた方法で画素値変換を行う必要があることを追記しておく。   Here, when the shape of the minute region is not a square having a uniform size, as shown in FIG. 32, a triangle (FIG. 32A) and different sizes and shapes coexist (FIG. 32B). ) Is not limited to the above-described conversion example, it is added that it is necessary to perform pixel value conversion by a method according to the shape.

上述したように、本発明においては、暗号化位置を表す規則的な模様を、特許文献1のように入力画像に上書きして生成するのではなく、入力画像の画素値を変換することで生成している。したがって、従来の技術のように暗号化画像の端部分の画像情報が位置検出のために犠牲にされることがなく、元の画像情報に位置検出情報を共存させる形で効率よく暗号化を行なえる。   As described above, in the present invention, the regular pattern representing the encrypted position is not generated by overwriting the input image as in Patent Document 1, but is generated by converting the pixel value of the input image. is doing. Therefore, unlike the prior art, the image information at the end of the encrypted image is not sacrificed for position detection, and the original image information can be efficiently encrypted in the form of coexisting position detection information. The

なお、模様を構成する部分に何らかの画像情報が含まれるとその規則性が多少崩れてしまうが、後述の復号部14の処理で述べるように暗号化画像全体の統計的な性質を用いることで暗号化位置を検出することができる。   Note that if some image information is included in the portion constituting the pattern, the regularity is somewhat lost. However, as described in the process of the decryption unit 14 described later, the statistical properties of the entire encrypted image are used to encrypt the image. The position can be detected.

図27の説明に戻る。マーカー付加部34では、画素値変換部33で変換処理された変換画像92の四隅のうち、例えば右下以外の三箇所に位置決めマーカーを付加し暗号化画像44を作成する。   Returning to the description of FIG. The marker adding unit 34 adds the positioning markers to, for example, three places other than the lower right among the four corners of the converted image 92 converted by the pixel value converting unit 33 to create the encrypted image 44.

マーカー付加部34は、暗号化された領域42の位置を特定するための位置決めマーカーを、変換画像92の四隅のうち例えば右下以外の三箇所に配置する。   The marker adding unit 34 arranges positioning markers for specifying the position of the encrypted area 42 at, for example, three positions other than the lower right among the four corners of the converted image 92.

図37は、暗号化処理で用いる位置決めマーカーの例を示す図である。本第1の態様で用いる位置決めマーカーは、図37の(A)に示すように丸十字の形をしたものとする。位置決めマーカーの形をより広く言えば、実線の円または多角形とその周と交わる複数の線で構成されるものであればよい。このような例として、図37の(B)の位置決めマーカーのように漢字の「田」の形をしたものや、(C)の位置決めマーカーのように中心から三つの線が円周に向かって放射線状に出ているもの、(D)の位置決めマーカーのように線が途中で切れているもの、などが挙げられる。   FIG. 37 is a diagram illustrating an example of a positioning marker used in the encryption process. The positioning marker used in the first mode is assumed to have a round cross shape as shown in FIG. If the shape of the positioning marker is more broadly described, it may be constituted by a solid circle or polygon and a plurality of lines intersecting with the circumference. As an example of this, three lines from the center toward the circumference like those in the shape of a Chinese character “field” like the positioning marker in FIG. 37B or the positioning marker in FIG. Examples include those that appear in a radial pattern, and those in which the line is cut halfway like the positioning marker of (D).

また、位置決めマーカーの色の構成は、最も単純には背景が白で前景を黒にすればよいが、これに限らず変換画像92の色(画素値)分布に応じて適宜変更しても差し支えない。また背景と前景に決まった色を指定するのではなく、背景の色はデジタル画像41のままで前景の画素値を反転するなどして位置決めマーカーを形作る方法も考えられる。このようにすれば、位置決めマーカー部分の入力画像情報も保持されたまま画像の暗号化を行なえる。   In addition, the color configuration of the positioning marker may be the simplest as long as the background is white and the foreground is black, but is not limited thereto, and may be appropriately changed according to the color (pixel value) distribution of the converted image 92. Absent. In addition, instead of designating a predetermined color for the background and the foreground, a method of forming a positioning marker by inverting the foreground pixel values while the background color remains the digital image 41 may be considered. In this way, it is possible to encrypt the image while retaining the input image information of the positioning marker portion.

図38は、暗号化画像の例を示す図である。以上の暗号化部11Aの処理により、最終的には図38に示すような暗号化画像44が生成される。暗号化画像44には、変換画像92と位置決めマーカー121が含まれる。   FIG. 38 is a diagram illustrating an example of an encrypted image. The encrypted image 44 as shown in FIG. 38 is finally generated by the above processing of the encryption unit 11A. The encrypted image 44 includes a converted image 92 and a positioning marker 121.

さらに、本第1の態様の暗号化方法において、画像変換部32で「微小領域を並べ替える処理(スクランブル処理)」を用いた場合は、二値画像だけでなくグレースケールやカラーの画像に対しても暗号化処理を適用できる。   Furthermore, in the encryption method according to the first aspect, when “processing for rearranging minute regions (scramble processing)” is used in the image conversion unit 32, not only binary images but also grayscale or color images are used. Even encryption processing can be applied.

図39は、グレースケールの画像を暗号化した例である。図39において、(A)に示したグレースケール画像131は、暗号化部11Aの処理により、(B)に示すように変換画像133と位置決めマーカー134を含む暗号化画像132が生成される。   FIG. 39 shows an example in which a grayscale image is encrypted. In FIG. 39, the grayscale image 131 shown in (A) generates an encrypted image 132 including a converted image 133 and a positioning marker 134 as shown in (B) by the processing of the encryption unit 11A.

次に、復号部14Aの説明を行なう。   Next, the decoding unit 14A will be described.

図40は、第1の態様における復号処理の概要を示す図である。図40において、復号部14Aは、マーカー検出部141、暗号化領域検出部142、暗号化位置検出部143および画像逆変換部144を備えている。   FIG. 40 is a diagram showing an outline of the decoding process in the first mode. In FIG. 40, the decryption unit 14A includes a marker detection unit 141, an encryption area detection unit 142, an encryption position detection unit 143, and an image reverse conversion unit 144.

マーカー検出部141は、一般的な画像認識技術を用いて、上述のマーカー付加部34により付加した位置決めマーカーの位置を暗号化画像から検出する。検出方法としては、パターンマッチングや図形の連結性に関する解析などが適用可能である。   The marker detection unit 141 detects the position of the positioning marker added by the marker adding unit 34 from the encrypted image using a general image recognition technique. As a detection method, pattern matching, analysis on graphic connectivity, or the like can be applied.

暗号化領域検出部142は、マーカー検出部141により検出された3つの位置決めマーカーの位置関係に基づいて、暗号化されている画像の領域を検出する。   The encryption area detection unit 142 detects the area of the encrypted image based on the positional relationship between the three positioning markers detected by the marker detection unit 141.

図41は、位置決めマーカーから暗号化領域を検出する過程を示す図である。図41の(A)に示されたように、マーカー検出部141によって暗号化画像151から少なくとも3つの位置決めマーカー152が検出されると、(B)に示すように、1つの暗号化領域153を検出することができる。すなわち、3つの位置決めマーカー152は、長方形の暗号化領域153の四隅に配置されているため、これら3つの点(位置決めマーカー152の位置)を線で結んで得られる図形はおおよそ直角三角形になる。そこで、位置決めマーカー152が3つ以上検出された場合は、3つの位置決めマーカー152の位置関係が直角三角形に近い形状で構成される領域を含み、3つの位置決めマーカー152の位置を4つの角部分のうち3つの角部分とする長方形を暗号化領域153とする。なお、検出位置決めマーカー152の数が2つ以下の場合は、対応する暗号化領域153を特定できないため、暗号化画像は存在しないとして復号処理を終了する。   FIG. 41 is a diagram illustrating a process of detecting an encryption area from a positioning marker. As shown in FIG. 41A, when at least three positioning markers 152 are detected from the encrypted image 151 by the marker detection unit 141, as shown in FIG. 41B, one encryption area 153 is stored. Can be detected. That is, since the three positioning markers 152 are arranged at the four corners of the rectangular encryption area 153, the figure obtained by connecting these three points (positions of the positioning markers 152) with lines is approximately a right triangle. Therefore, when three or more positioning markers 152 are detected, the positional relationship of the three positioning markers 152 includes an area configured in a shape close to a right triangle, and the positions of the three positioning markers 152 are set to four corner portions. A rectangle having three corners is defined as an encryption area 153. If the number of detected positioning markers 152 is two or less, the corresponding encrypted area 153 cannot be specified, and therefore the decryption process is terminated because there is no encrypted image.

図42は、暗号化領域検出処理の流れを示すフローチャートである。暗号化領域検出部142で実行される暗号化領域検出処理は、まず、ステップS1601において、マーカー検出部141によって検出された位置決めマーカー152の数を変数nに代入し、ステップS1602において、暗号化領域153の検出用フラグreg_detectに0を代入する。   FIG. 42 is a flowchart showing the flow of the encrypted area detection process. In the encryption area detection process executed by the encryption area detection unit 142, first, in step S1601, the number of positioning markers 152 detected by the marker detection unit 141 is substituted into a variable n, and in step S1602, the encryption area detection process is performed. 0 is substituted into the detection flag reg_detect 153.

そして、ステップS1603において、位置決めマーカー152の数が代入された変数nが3以上であるか否かを判断し、変数nが3以上でなければ、すなわち変数nが2以下であれば(ステップS1603:No)、本暗号化領域検出処理を含む復号処理を終了する。   In step S1603, it is determined whether or not the variable n to which the number of positioning markers 152 is assigned is 3 or more. If the variable n is not 3 or more, that is, if the variable n is 2 or less (step S1603). : No), the decryption process including the present encrypted area detection process is terminated.

他方、変数nが3以上であれば(ステップS1603:Yes)、ステップS1604において、マーカー検出部141によって検出された位置決めマーカー152のうちの3つの位置決めマーカー152を選択し、ステップS1605において、その選択した3つの位置決めマーカー152の位置関係が略直角三角形であるか否かを判断する。   On the other hand, if the variable n is 3 or more (step S1603: Yes), in step S1604, three positioning markers 152 among the positioning markers 152 detected by the marker detection unit 141 are selected, and the selection is performed in step S1605. It is determined whether or not the positional relationship between the three positioning markers 152 is a substantially right triangle.

選択した3つの位置決めマーカー152の位置関係が略直角三角形でなければ(ステップS1605:No)、ステップS1606において、マーカー検出部141によって検出された位置決めマーカー152の3点の組み合わせが全て終了したか否かを判断し、終了していなければ(ステップS1606:No)、ステップS1604に戻って他の3点を選択し、終了した場合(ステップS1606:Yes)、ステップS1608に進む。   If the positional relationship between the three selected positioning markers 152 is not a substantially right triangle (step S1605: No), whether or not all three combinations of the positioning markers 152 detected by the marker detection unit 141 have been completed in step S1606. If not completed (step S1606: No), the process returns to step S1604 to select the other three points, and if completed (step S1606: Yes), the process proceeds to step S1608.

他方、選択した3つの位置決めマーカー152の位置関係が略直角三角形であれば(ステップS1605:Yes)、ステップS1607において、検出用フラグreg_detectに1を代入する。   On the other hand, if the positional relationship between the three selected positioning markers 152 is a substantially right triangle (step S1605: Yes), 1 is substituted into the detection flag reg_detect in step S1607.

そして、ステップS1608において、検出用フラグreg_detectに1が代入されているか、すなわち、3点の位置関係が直角三角形となる3つの位置決めマーカー152を検出することができたか否かを判断し、reg_detectに1が代入されていれば(ステップS1608:Yes)、暗号化位置検出部143の処理に進み、reg_detectに1が代入されていなければ(ステップS1608:No)、本暗号化領域検出処理を含む復号処理を終了する。   In step S1608, it is determined whether 1 is assigned to the detection flag reg_detect, that is, whether or not the three positioning markers 152 whose three-point positional relationship is a right triangle can be detected, and reg_detect is set. If 1 is assigned (step S1608: Yes), the process proceeds to the process of the encrypted position detection unit 143. If 1 is not assigned to reg_detect (step S1608: No), decryption including the encryption area detection process is performed. The process ends.

図40の説明に戻る。暗号化位置検出部143は、暗号化画像151の復号を正確に行なうために、暗号化領域検出部142により検出された暗号化領域153の端の部分が規則的な画素分布を成すことを利用して、周波数解析やパターンマッチングなどにより暗号化領域153内の各画素の詳細な位置を検出する。この検出は、画素値変換部33の画素値変換(反転)処理により暗号化画像151の全体が周期的な模様を成すという性質を利用する。   Returning to the description of FIG. The encrypted position detecting unit 143 uses the fact that the end portion of the encrypted area 153 detected by the encrypted area detecting unit 142 forms a regular pixel distribution in order to correctly decrypt the encrypted image 151. Then, the detailed position of each pixel in the encryption area 153 is detected by frequency analysis or pattern matching. This detection uses the property that the entire encrypted image 151 forms a periodic pattern by the pixel value conversion (inversion) processing of the pixel value conversion unit 33.

一つの検出方法として、まず模様の周期(幅)を画像の横方向および縦方向に関して高速フーリエ変換(Fast Fourier Transform:FFT)などの周波数解析法で求め、その後テンプレートマッチングなどによりの境界位置(オフセット)を検出する方法が考えられる。   As one detection method, first, the period (width) of the pattern is obtained by a frequency analysis method such as Fast Fourier Transform (FFT) in the horizontal and vertical directions of the image, and then the boundary position (offset) by template matching or the like. ) Can be considered.

また、暗号化画像にエッジ検出フィルタ(ラプラシアンフィルタ等)をかけると境界部分が直線状になる性質を利用して、境界位置をハフ変換により検出することも可能である。   In addition, it is possible to detect the boundary position by Hough transform by using the property that the boundary portion becomes linear when an edge detection filter (Laplacian filter or the like) is applied to the encrypted image.

図43は、暗号化位置が検出された例を示す図である。暗号化されたデジタル画像41が複雑である場合は、暗号化画像44の周期性が著しく損なわれる部分が出てくる可能性もある。このような場合、模様の周期と境界位置の計算に用いる画像領域を周期性の比較的強い部分に限定して暗号化位置検出を行なう方法が有効である。   FIG. 43 is a diagram illustrating an example in which the encrypted position is detected. When the encrypted digital image 41 is complicated, there is a possibility that a portion where the periodicity of the encrypted image 44 is significantly impaired appears. In such a case, it is effective to perform the encryption position detection by limiting the image area used for the calculation of the pattern period and the boundary position to a portion having a relatively strong periodicity.

図40の説明に戻る。画像逆変換部144は、暗号化位置検出部143により検出された暗号化位置情報とユーザにより入力された復号鍵とを用いて、暗号化画像44を復号鍵に対応する方法で画像変換部32による変換処理の逆変換処理を実行し、復号画像を生成する。復号の処理手順は、暗号化処理と逆の手順で実現されるため説明を省略する。以上が本発明を適用した第1の態様についての説明である。   Returning to the description of FIG. The image reverse conversion unit 144 uses the encrypted position information detected by the encrypted position detection unit 143 and the decryption key input by the user to convert the encrypted image 44 into the image conversion unit 32 by a method corresponding to the decryption key. The inverse conversion process of the conversion process by is executed to generate a decoded image. The decryption processing procedure is realized by the reverse procedure of the encryption processing, and thus the description thereof is omitted. The above is the description of the first aspect to which the present invention is applied.

次に、本発明を適用した第2の態様について説明する。   Next, a second mode to which the present invention is applied will be described.

図44は、第2の態様の全体イメージを示す図である。第2の態様は、暗号化処理の前に、暗号化画像183の復号の妥当性を検証するための特定のチェック用マーク182を、暗号化する領域181の任意の場所に付加して(図44の(A))暗号化を行ない(図44の(B))、暗号化画像183を復号した後に事前に付加したチェック用マーク182が復号画像184から検出されれば正しく復号されたとして復号処理を終了する(図44の(C))。チェック用マーク182が検出されない場合(図44の(D))は、暗号化位置を補正し、チェック用マーク182が検出されるまで、または指定の基準を満たすまで復号処理を繰り返す。   FIG. 44 is a diagram showing an overall image of the second mode. In the second mode, a specific check mark 182 for verifying the validity of the decryption of the encrypted image 183 is added to an arbitrary place in the area 181 to be encrypted before the encryption process (see FIG. 44 (A)) encryption is performed ((B) in FIG. 44), and if the check mark 182 added in advance after decrypting the encrypted image 183 is detected from the decrypted image 184, it is decrypted as correctly decrypted. The process ends ((C) in FIG. 44). When the check mark 182 is not detected ((D) in FIG. 44), the encryption position is corrected, and the decryption process is repeated until the check mark 182 is detected or until a specified criterion is satisfied.

図45は、第2の態様における暗号化処理の概要を示す図である。図45において、暗号化部11Bは、暗号化領域決定部31、チェック用マーク付加部192、画像変換部32および画素値変換部33を備えている。   FIG. 45 is a diagram showing an outline of the encryption processing in the second mode. 45, the encryption unit 11B includes an encryption area determination unit 31, a check mark addition unit 192, an image conversion unit 32, and a pixel value conversion unit 33.

第1の態様と同様、暗号化領域指定部31は、暗号化したい領域を含む入力画像から暗号化する領域を選択する。   As in the first mode, the encryption area designating unit 31 selects an area to be encrypted from the input image including the area to be encrypted.

そして、チェック用マーク付加部192は、暗号化画像183の復号の妥当性を検証するための特定のチェック用マーク182を暗号化する領域181の任意の場所に付け加える。チェック用マーク182は、なるべく画像情報が少ない画素分布の平坦な領域に付加するのが望ましい。   Then, the check mark adding unit 192 adds a specific check mark 182 for verifying the validity of the decryption of the encrypted image 183 to any place in the area 181 to be encrypted. It is desirable to add the check mark 182 to a flat region having a pixel distribution with as little image information as possible.

指定位置にチェック用マーク182を付け加えた後、第1の態様と同様、画像変換部32において暗号化する領域181および暗号鍵を入力し、暗号鍵に対応する変換方法で暗号化する領域181の画像を視覚的に変換し、画素値変換部33では、画像変換部32で変換された処理画像内の画素を一定の間隔を置いて変換し、変換画像が概ね格子状の縞模様を成すようにする。   After adding the check mark 182 to the designated position, the area 181 to be encrypted and the encryption key are input in the image conversion unit 32 and the area 181 to be encrypted by the conversion method corresponding to the encryption key, as in the first mode. The image is visually converted, and the pixel value conversion unit 33 converts the pixels in the processed image converted by the image conversion unit 32 at regular intervals so that the converted image forms a substantially grid-like striped pattern. To.

図46は、第2の態様における復号処理の概要を示す図である。図46において、復号部14Bは、暗号化領域検出部201、暗号化位置検出部143、画像逆変換部144、チェック用マーク検出部204および暗号化位置補正部205を備えている。   FIG. 46 is a diagram showing an outline of the decoding process in the second mode. 46, the decryption unit 14B includes an encryption area detection unit 201, an encryption position detection unit 143, an image reverse conversion unit 144, a check mark detection unit 204, and an encryption position correction unit 205.

まず初めに、暗号化領域検出部201は、暗号化画像183の大まかな領域を検出する。暗号化部11Bの暗号化処理により、暗号化画像183の画素分布はおおよそ市松模様状になっているため、それぞれ横方向と縦方向に関してFFTなどの周波数解析を行なうと、縞の周期に対応する周波数のパワーが際立って強くなる。   First, the encrypted area detection unit 201 detects a rough area of the encrypted image 183. Since the pixel distribution of the encrypted image 183 is approximately checkered by the encryption processing of the encryption unit 11B, performing frequency analysis such as FFT in the horizontal direction and the vertical direction respectively corresponds to the fringe period. The power of the frequency becomes remarkably strong.

図47は、暗号化領域の検出方法を説明するための図である。図47の(A)に示したように、暗号化画像211を周波数解析すると、(B)に示すように、ある周波数(その周波数の整数倍の周波数)のパワーが突出する領域を「周期性強」214と表現している。暗号化領域内では画素分布の周期性が強くなる傾向にあるため、これにより大まかな暗号化領域と縞模様の周期を検出することができる。   FIG. 47 is a diagram for explaining an encryption area detection method. As shown in FIG. 47A, when the encrypted image 211 is subjected to frequency analysis, as shown in FIG. 47B, a region where the power of a certain frequency (a frequency that is an integer multiple of the frequency) protrudes is expressed as “periodicity”. It is expressed as “strong” 214. Since the periodicity of the pixel distribution tends to be strong in the encryption area, it is possible to detect the approximate encryption area and period of the striped pattern.

図46の説明に戻る。暗号化位置検出部143は、暗号化領域検出部201による暗号化の大まかな領域を特定した後、暗号化領域をさらに正確に検出し、同時に暗号化領域内の各画素の詳細な位置を検出する。位置検出の一例として、まず暗号化領域検出部201で求めた縞模様の周期と画素絶対値差分の分布により画素値変換の境界位置(オフセット)を求め、そこからさらに画素絶対値差分が相対的に大きい領域を絞り込む方法が考えられる。また、第1の態様の暗号化位置検出部143と同様、暗号化位置検出にハフ変換を用いることも可能である。   Returning to the description of FIG. The encryption position detection unit 143 identifies a rough area for encryption by the encryption area detection unit 201, and then more accurately detects the encryption area, and at the same time, detects the detailed position of each pixel in the encryption area. To do. As an example of position detection, first, a boundary position (offset) of pixel value conversion is obtained from the period of the striped pattern obtained by the encryption area detection unit 201 and the distribution of pixel absolute value difference, and the pixel absolute value difference is further relative from there. A method of narrowing a large area can be considered. In addition, as with the encrypted position detection unit 143 of the first aspect, it is possible to use Hough transform for detecting the encrypted position.

図48は、暗号化位置(横方向)の検出方法を説明するための図である。上述のような暗号化領域の検出処理を横方向、縦方向それぞれに行なうと、図48のように暗号化位置221が検出される。   FIG. 48 is a diagram for explaining a method of detecting an encryption position (horizontal direction). When the encryption area detection process as described above is performed in the horizontal and vertical directions, the encrypted position 221 is detected as shown in FIG.

図46の説明に戻る。画像逆変換部144は、暗号化位置情報と復号鍵を用いて第1の態様と同様の方法を行ない復号画像を生成する。   Returning to the description of FIG. The image inverse transform unit 144 performs the same method as the first mode using the encrypted position information and the decryption key, and generates a decrypted image.

チェック用マーク検出部204は、画像逆変換部144で復号した復号画像からチェック用マークの検出を試みる。検出方法は第1の態様におけるマーカー検出処理と同様であるため説明を省略する。そして、チェック用マークが検出された場合は復号画像を出力して処理を完了する。チェック用マークが検出されない場合は暗号化位置補正部205において暗号化位置を補正し、チェック用マークが検出されるまで、または指定の基準を満たすまで復号処理(画像逆変換処理)をやり直す。   The check mark detection unit 204 attempts to detect a check mark from the decoded image decoded by the image inverse conversion unit 144. Since the detection method is the same as the marker detection process in the first aspect, the description is omitted. If a check mark is detected, a decoded image is output and the process is completed. If the check mark is not detected, the encryption position correction unit 205 corrects the encrypted position, and repeats the decryption process (image reverse conversion process) until the check mark is detected or until the specified standard is satisfied.

図49は、暗号化位置の検出を誤った例を示す図である。図49に示したように、暗号化画像の端を見落としてしまう場合(取りこぼしライン231)が考えられる。そこで、チェック用マーク221の検出に失敗した場合は、暗号化位置を表すラインを左右端と上下端に追加または削除して画像逆変換処理を行ない、チェック用マーク221が検出できるかどうかを各々検討する。ラインをどのように追加または削除してもチェック用マーク221を検出できない場合は、復号画像を出力せずに処理を終了する。以上が本発明を適用した第2の態様についての説明である。   FIG. 49 is a diagram illustrating an example in which the detection of the encrypted position is incorrect. As shown in FIG. 49, a case where the end of the encrypted image is overlooked (missing line 231) can be considered. Therefore, when the detection of the check mark 221 fails, the lines indicating the encryption position are added or deleted at the left and right ends and the upper and lower ends, and image reverse conversion processing is performed to determine whether the check mark 221 can be detected. consider. If the check mark 221 cannot be detected no matter how the line is added or deleted, the process ends without outputting the decoded image. The above is the description of the second aspect to which the present invention is applied.

次に、本発明を適用した第3の態様について説明する。本発明の第3の実施形態では、第1の態様で示した暗号化領域を特定する位置決めマーカーと、第2態様の復号画像の妥当性を判断するためのチェック用マークの両方を用いて画像の暗号化、復号を行なう。これら位置検出用の位置決めマーカーと復号画像確認用のチェック用マークの2種類を用いることで、正しい復号鍵が入力された場合の画像復号誤りを低減できる。   Next, a third mode to which the present invention is applied will be described. In the third embodiment of the present invention, an image using both the positioning marker for specifying the encryption area shown in the first mode and the check mark for determining the validity of the decrypted image of the second mode. Encrypt / decrypt. By using these two types of positioning markers for position detection and check marks for confirming the decrypted image, it is possible to reduce image decryption errors when a correct decryption key is input.

図50は、第3の態様における暗号化処理の概要を示す図である。図50において、暗号化部11Cは、暗号化領域決定部31、チェック用マーク付加部192、画像変換部32、画素値変換部33およびマーカー付加部34を備えている。   FIG. 50 is a diagram showing an outline of the encryption processing in the third mode. 50, the encryption unit 11C includes an encryption area determination unit 31, a check mark addition unit 192, an image conversion unit 32, a pixel value conversion unit 33, and a marker addition unit 34.

まず暗号化領域指定部31で暗号化する画像領域を選択し、チェック用マーク付加部192で第2の態様と同様の方法で復号検証用のチェック用マークを付け加える。チェック用マークを付加した後、画像変換部32と画素値変換部33において、第1の態様1および2と同様の方法で画像処理を行ない画像を暗号化し、マーカー付加部34で暗号化領域検出用の位置決めマーカーを第1の態様と同様の方法で付加する。これら各処理の内容は、第1の態様または第2の態様と同様であるため説明を省略する。   First, an image area to be encrypted is selected by the encryption area specifying unit 31, and a check mark for decryption verification is added by the check mark adding unit 192 in the same manner as in the second mode. After adding the check mark, the image conversion unit 32 and the pixel value conversion unit 33 perform image processing in the same manner as in the first aspect 1 and 2 to encrypt the image, and the marker addition unit 34 detects the encrypted area. A positioning marker is added in the same manner as in the first embodiment. Since the contents of these processes are the same as those in the first aspect or the second aspect, description thereof is omitted.

図51は、第3の態様における復号処理の概要を示す図である。図51において、復号部14Cは、マーカー検出部141、暗号化領域検出部142、暗号化位置検出部143、画像逆変換部144、チェック用マーク検出部204および暗号化位置補正部205を備えている。   FIG. 51 is a diagram showing an outline of the decoding process in the third mode. In FIG. 51, the decryption unit 14C includes a marker detection unit 141, an encryption area detection unit 142, an encryption position detection unit 143, an image reverse conversion unit 144, a check mark detection unit 204, and an encryption position correction unit 205. Yes.

まずマーカー検出部141において第1の態様と同様の方法で位置決めマーカーを検出し、続く暗号化領域検出部142で第1の態様と同様の方法で暗号化領域を検出する。さらに暗号化位置検出部143において、第1の態様と同様の方法で暗号化領域内の各画素の詳細な位置を検出する。また、画像逆変換部144、チェック用マーク検出部204および暗号化位置補正部205で実行される各処理手順は、第2の態様と同様であるため説明を省略する。以上が本発明を適用した第3の態様についての説明である。   First, the marker detection unit 141 detects a positioning marker by the same method as in the first mode, and the subsequent encryption region detection unit 142 detects the encryption region by the same method as in the first mode. Further, the encrypted position detection unit 143 detects the detailed position of each pixel in the encryption area by the same method as in the first mode. In addition, the processing procedures executed by the image reverse conversion unit 144, the check mark detection unit 204, and the encrypted position correction unit 205 are the same as those in the second mode, and thus description thereof is omitted. The above is the description of the third aspect to which the present invention is applied.

Claims (25)

電子データの内容を描画するための描画情報の入力を受け付ける描画情報入力受付手段と、
前記描画情報入力受付手段によって入力が受け付けられた描画情報に基づいて、画素の集合としてのデジタル画像を生成するデジタル画像生成手段と、
前記デジタル画像生成手段によって生成された前記デジタル画像における暗号化の対象となる部分領域を特定するための領域指定情報と、該部分領域を暗号化する際に用いられる鍵情報とを含む定義情報を取得する定義情報取得手段と、
前記領域指定情報に基づいて特定される前記部分領域の画像を、前記鍵情報に基づいて変換することで、該部分領域の画像が暗号化された暗号化画像を生成する暗号化手段と、
前記暗号化手段によって生成された、前記電子データの内容に対応する前記暗号化画像を出力する出力手段と、
を備える画像処理システム。
Drawing information input receiving means for receiving input of drawing information for drawing the contents of electronic data;
Digital image generating means for generating a digital image as a set of pixels based on drawing information received by the drawing information input receiving means;
Definition information including area designation information for specifying a partial area to be encrypted in the digital image generated by the digital image generation means, and key information used for encrypting the partial area. Definition information acquisition means to acquire;
An encryption means for generating an encrypted image obtained by encrypting the image of the partial area by converting the image of the partial area specified based on the area specifying information based on the key information;
Output means for outputting the encrypted image corresponding to the content of the electronic data generated by the encryption means;
An image processing system comprising:
前記暗号化手段は、前記部分領域の画像を、鍵情報に基づいて処理画像に変換し、前記処理画像の画素値を規則的に変換することで、復号の際に暗号化位置の特定に用いられる規則性を有する変換画像を含む、前記暗号化画像を生成する、
請求項1に記載の画像処理システム。
The encryption unit converts the image of the partial area into a processed image based on key information, and regularly converts the pixel value of the processed image to be used for specifying an encryption position at the time of decryption. Generating the encrypted image, including a converted image having regularity to be
The image processing system according to claim 1.
画素の集合としてのデジタル画像の少なくとも一部が暗号鍵に基づいて変換されたことで生成された暗号化画像を取得する暗号化画像取得手段と、
前記暗号化画像における復号の対象となる復号領域を特定するための領域指定情報と、該部分領域を復号する際に用いられる復号鍵とを含む定義情報を取得する定義情報取得手段と、
前記領域指定情報に基づいて特定される前記復号領域の画像を、前記復号鍵に基づいて変換することで、該復号領域の画像が復号されたデジタル画像を生成する復号手段と、
前記復号手段によって生成された前記デジタル画像を出力する出力手段と、
を備える画像処理システム。
Encrypted image acquisition means for acquiring an encrypted image generated by converting at least a part of a digital image as a set of pixels based on an encryption key;
Definition information obtaining means for obtaining definition information including region designation information for specifying a decryption region to be decrypted in the encrypted image, and a decryption key used when decrypting the partial region;
Decoding means for generating a digital image obtained by decoding the image of the decoding area by converting the image of the decoding area specified based on the area specifying information based on the decoding key;
Output means for outputting the digital image generated by the decoding means;
An image processing system comprising:
前記復号手段は、前記復号領域のうち画素値が規則的に変換されている暗号化位置を検出し、前記暗号化位置と復号鍵とに基づいて前記復号領域をデジタル画像に復号する、
請求項3に記載の画像処理システム。
The decryption means detects an encrypted position where pixel values are regularly converted in the decryption area, and decrypts the decryption area into a digital image based on the encrypted position and a decryption key.
The image processing system according to claim 3.
予め定義された複数の前記定義情報を、該定義情報を識別するための識別情報と関連付けて保持する定義情報保持手段を更に備え、
前記定義情報取得手段は、前記識別情報に基づいて、前記定義情報保持手段によって保持される複数の前記定義情報から、前記暗号化手段による暗号化画像の生成または前記復号手段によるデジタル画像の生成に用いられる前記領域指定情報および前記鍵情報を含む前記定義情報を取得する、
請求項1から4の何れか一項に記載の画像処理システム。
A definition information holding unit that holds a plurality of the definition information defined in advance in association with identification information for identifying the definition information;
The definition information acquisition unit is configured to generate an encrypted image by the encryption unit or a digital image by the decryption unit from the plurality of definition information held by the definition information holding unit based on the identification information. Obtaining the definition information including the area designation information and the key information used;
The image processing system according to any one of claims 1 to 4.
前記定義情報保持手段によって保持される複数の前記定義情報のうち、予めユーザによって指定された前記定義情報に係る識別情報を保持するユーザ指定内容保持手段を更に備え、
前記定義情報取得手段は、前記定義情報保持手段によって保持される複数の前記定義情報から、前記ユーザ指定内容保持手段によって保持される前記識別情報に係る前記定義情報を取得する、
請求項5に記載の画像処理システム。
Of the plurality of definition information held by the definition information holding means, further comprising user-specified content holding means for holding identification information related to the definition information designated in advance by the user,
The definition information acquisition means acquires the definition information related to the identification information held by the user-specified content holding means from a plurality of the definition information held by the definition information holding means.
The image processing system according to claim 5.
前記デジタル画像生成手段によって生成された前記デジタル画像、または前記暗号化画像取得手段によって取得された前記暗号化画像から、前記識別情報を取得する識別情報取得手段を更に備え、
前記定義情報取得手段は、前記定義情報保持手段によって保持される複数の前記定義情報から、前記識別情報取得手段によって取得された前記識別情報に係る前記定義情報を取得する、
請求項5または6に記載の画像処理システム。
An identification information acquisition unit that acquires the identification information from the digital image generated by the digital image generation unit or the encrypted image acquired by the encrypted image acquisition unit;
The definition information acquisition means acquires the definition information related to the identification information acquired by the identification information acquisition means from a plurality of the definition information held by the definition information holding means.
The image processing system according to claim 5 or 6.
前記識別情報取得手段は、前記デジタル画像または前記暗号化画像に含まれる文字、記号、模様および色のうち少なくとも何れかを画像から検出することで、前記識別情報を取得する、
請求項7に記載の画像処理システム。
The identification information acquisition means acquires the identification information by detecting at least one of characters, symbols, patterns, and colors included in the digital image or the encrypted image from the image.
The image processing system according to claim 7.
コンピュータを、
電子データの内容を描画するための描画情報の入力を受け付ける描画情報入力受付手段と、
前記描画情報入力受付手段によって入力が受け付けられた描画情報に基づいて、画素の集合としてのデジタル画像を生成するデジタル画像生成手段と、
前記デジタル画像生成手段によって生成された前記デジタル画像における暗号化の対象となる部分領域を特定するための領域指定情報と、該部分領域を暗号化する際に用いられる鍵情報とを含む定義情報を取得する定義情報取得手段と、
前記領域指定情報に基づいて特定される前記部分領域の画像を、前記鍵情報に基づいて変換することで、該部分領域の画像が暗号化された暗号化画像を生成する暗号化手段と、
前記暗号化手段によって生成された、前記電子データの内容に対応する前記暗号化画像を出力する出力手段と、
として機能させる画像処理プログラム。
Computer
Drawing information input receiving means for receiving input of drawing information for drawing the contents of electronic data;
Digital image generating means for generating a digital image as a set of pixels based on drawing information received by the drawing information input receiving means;
Definition information including area designation information for specifying a partial area to be encrypted in the digital image generated by the digital image generation means, and key information used for encrypting the partial area. Definition information acquisition means to acquire;
An encryption means for generating an encrypted image obtained by encrypting the image of the partial area by converting the image of the partial area specified based on the area specifying information based on the key information;
Output means for outputting the encrypted image corresponding to the content of the electronic data generated by the encryption means;
An image processing program that functions as
コンピュータを、
画素の集合としてのデジタル画像の少なくとも一部が暗号鍵に基づいて変換されたことで生成された暗号化画像を取得する暗号化画像取得手段と、
前記暗号化画像における復号の対象となる復号領域を特定するための領域指定情報と、該部分領域を復号する際に用いられる復号鍵とを含む定義情報を取得する定義情報取得手段と、
前記領域指定情報に基づいて特定される前記復号領域の画像を、前記復号鍵に基づいて変換することで、該復号領域の画像が復号されたデジタル画像を生成する復号手段と、
前記復号手段によって生成された前記デジタル画像を出力する出力手段と、
として機能させる画像処理プログラム。
Computer
Encrypted image acquisition means for acquiring an encrypted image generated by converting at least a part of a digital image as a set of pixels based on an encryption key;
Definition information obtaining means for obtaining definition information including region designation information for specifying a decryption region to be decrypted in the encrypted image, and a decryption key used when decrypting the partial region;
Decoding means for generating a digital image obtained by decoding the image of the decoding area by converting the image of the decoding area specified based on the area specifying information based on the decoding key;
Output means for outputting the digital image generated by the decoding means;
An image processing program that functions as
コンピュータを、
予め定義された複数の前記定義情報を、該定義情報を識別するための識別情報と関連付けて保持する定義情報保持手段として更に機能させ、
前記定義情報取得手段は、前記識別情報に基づいて、前記定義情報保持手段によって保持される複数の前記定義情報から、前記暗号化手段による暗号化画像の生成または前記復号手段によるデジタル画像の生成に用いられる前記領域指定情報および前記鍵情報を含む前記定義情報を取得する、
請求項9または10に記載の画像処理プログラム。
Computer
A plurality of definition information defined in advance, further functioning as definition information holding means for holding in association with identification information for identifying the definition information;
The definition information acquisition unit is configured to generate an encrypted image by the encryption unit or a digital image by the decryption unit from the plurality of definition information held by the definition information holding unit based on the identification information. Obtaining the definition information including the area designation information and the key information used;
The image processing program according to claim 9 or 10.
コンピュータシステムによって、
電子データの内容を描画するための描画情報の入力を受け付ける描画情報入力受付ステップと、
前記描画情報入力受付ステップで入力が受け付けられた描画情報に基づいて、画素の集合としてのデジタル画像を生成するデジタル画像生成ステップと、
前記デジタル画像生成ステップで生成された前記デジタル画像における暗号化の対象となる部分領域を特定するための領域指定情報と、該部分領域を暗号化する際に用いられる鍵情報とを含む定義情報を取得する定義情報取得ステップと、
前記領域指定情報に基づいて特定される前記部分領域の画像を、前記鍵情報に基づいて変換することで、該部分領域の画像が暗号化された暗号化画像を生成する暗号化ステップと、
前記暗号化ステップで生成された、前記電子データの内容に対応する前記暗号化画像を出力する出力ステップと、
が実行される画像処理方法。
By computer system
A drawing information input receiving step for receiving drawing information input for drawing the contents of electronic data;
A digital image generating step for generating a digital image as a set of pixels based on the drawing information received in the drawing information input receiving step;
Definition information including area designation information for specifying a partial area to be encrypted in the digital image generated in the digital image generation step, and key information used for encrypting the partial area. A definition information acquisition step to be acquired;
An encryption step of generating an encrypted image in which the image of the partial area is encrypted by converting the image of the partial area specified based on the area specifying information based on the key information;
An output step of outputting the encrypted image corresponding to the content of the electronic data generated in the encryption step;
Is an image processing method.
コンピュータシステムによって、
画素の集合としてのデジタル画像の少なくとも一部が暗号鍵に基づいて変換されたことで生成された暗号化画像を取得する暗号化画像取得ステップと、
前記暗号化画像における復号の対象となる復号領域を特定するための領域指定情報と、該部分領域を復号する際に用いられる復号鍵とを含む定義情報を取得する定義情報取得ステップと、
前記領域指定情報に基づいて特定される前記復号領域の画像を、前記復号鍵に基づいて変換することで、該復号領域の画像が復号されたデジタル画像を生成する復号ステップと、
前記復号ステップで生成された前記デジタル画像を出力する出力ステップと、
が実行される電子データ復号方法。
By computer system
An encrypted image acquisition step of acquiring an encrypted image generated by converting at least a part of a digital image as a set of pixels based on an encryption key;
A definition information acquisition step for acquiring definition information including region designation information for specifying a decryption region to be decrypted in the encrypted image, and a decryption key used when decrypting the partial region;
A decoding step of generating a digital image obtained by decoding the image of the decoding area by converting the image of the decoding area specified based on the area specifying information based on the decoding key;
An output step of outputting the digital image generated in the decoding step;
Is an electronic data decoding method.
コンピュータシステムによって、
予め定義された複数の前記定義情報を、該定義情報を識別するための識別情報と関連付けて保持する定義情報保持ステップが更に実行され、
前記定義情報取得ステップでは、前記識別情報に基づいて、前記定義情報保持ステップによって保持される複数の前記定義情報から、前記暗号化ステップにおける暗号化画像の生成または前記復号ステップにおけるデジタル画像の生成に用いられる前記領域指定情報および前記鍵情報を含む前記定義情報が取得される、
請求項12または13に記載の画像処理方法。
By computer system
A definition information holding step for holding a plurality of the definition information defined in advance in association with identification information for identifying the definition information is further executed,
In the definition information acquisition step, based on the identification information, from the plurality of definition information held by the definition information holding step, to generate an encrypted image in the encryption step or to generate a digital image in the decryption step The definition information including the area designation information and the key information to be used is acquired.
The image processing method according to claim 12 or 13.
電子データに基づいて、画素の集合としてのデジタル画像を生成するデジタル画像生成手段と、
前記デジタル画像生成手段によって生成された前記デジタル画像における暗号化の対象となる部分領域を指定する暗号化領域指定手段と、
前記部分領域の画像を、暗号鍵に基づいて処理画像に変換する画像変換手段と、
前記処理画像の画素値を規則的に変換することで、復号の際に前記部分領域の位置の特定に用いられる規則性を有する変換画像を生成する画素値変換手段と、
前記変換画像を含む暗号化画像を出力する出力手段と、
を備え、
前記暗号化領域指定手段は、前記デジタル画像上の領域を特定するための領域指定情報によって示された領域を、暗号化の対象となる部分領域として指定する、
電子データ暗号化システム。
Digital image generating means for generating a digital image as a set of pixels based on electronic data;
An encryption area specifying means for specifying a partial area to be encrypted in the digital image generated by the digital image generating means;
Image conversion means for converting the image of the partial area into a processed image based on an encryption key;
Pixel value conversion means for generating a converted image having regularity used for specifying the position of the partial region at the time of decoding by regularly converting the pixel value of the processed image;
Output means for outputting an encrypted image including the converted image;
With
The encryption area designating unit designates an area indicated by area designation information for identifying an area on the digital image as a partial area to be encrypted.
Electronic data encryption system.
前記電子データに含まれる情報に基づいて、前記領域指定情報を取得する領域指定情報取得手段を更に備える、
請求項15に記載の電子データ暗号化システム。
Based on information included in the electronic data, further comprising region designation information obtaining means for obtaining the region designation information.
The electronic data encryption system according to claim 15.
前記領域指定情報を、該領域指定情報を識別するための識別情報と関連付けて保持する領域指定情報保持手段を更に備え、
前記領域指定情報取得手段は、前記領域指定情報保持手段によって保持された前記領域指定情報のうち、入力された前記識別情報に関連付けられた前記領域指定情報を取得する、
請求項16に記載の電子データ暗号化システム。
An area designation information holding means for holding the area designation information in association with identification information for identifying the area designation information;
The area designation information acquisition means acquires the area designation information associated with the input identification information among the area designation information held by the area designation information holding means.
The electronic data encryption system according to claim 16.
前記電子データに含まれる前記識別情報を取得する識別情報取得手段を更に備え、
前記領域指定情報取得手段は、前記領域指定情報保持手段によって保持された領域指定情報のうち、前記識別情報取得手段によって取得された識別情報に関連付けられた前記領域指定情報を取得する、
請求項17に記載の電子データ暗号化システム。
Further comprising identification information acquisition means for acquiring the identification information included in the electronic data;
The region designation information acquisition unit acquires the region designation information associated with the identification information acquired by the identification information acquisition unit among the region designation information held by the region designation information holding unit.
The electronic data encryption system according to claim 17.
前記電子データ中の文字列を、所定の文字列であるキーワードと比較することで、該電子データ中に含まれる該キーワードを検出するキーワード検出手段を更に備え、
前記領域指定情報取得手段は、前記キーワード検出手段によって検出されたキーワードに対応する領域を特定するための前記領域指定情報を生成することで、前記領域指定情報を取得する、
請求項16に記載の電子データ暗号化システム。
A keyword detection unit for detecting the keyword included in the electronic data by comparing a character string in the electronic data with a keyword that is a predetermined character string;
The area designation information acquisition means acquires the area designation information by generating the area designation information for specifying an area corresponding to the keyword detected by the keyword detection means,
The electronic data encryption system according to claim 16.
前記領域指定情報取得手段は、暗号化対象である第一の部分領域および第二の部分領域を指定する前記領域指定情報を取得し、
前記画像変換手段は、前記第一の部分領域と前記第二の部分領域とを、それぞれ異なる暗号鍵に基づいて処理画像に変換する、
請求項16から請求項19の何れかに記載の電子データ暗号化システム。
The area designation information acquisition means acquires the area designation information for designating a first partial area and a second partial area to be encrypted,
The image conversion means converts the first partial area and the second partial area into processed images based on different encryption keys, respectively.
The electronic data encryption system according to any one of claims 16 to 19.
紙媒体を撮像することで、紙媒体に記録された暗号化画像を取得する暗号化画像取得手段と、
前記暗号化画像取得手段によって取得された前記暗号化画像における暗号化された領域を、復号の対象となる復号領域として指定する復号領域指定手段と、
前記復号領域のうち画素値が規則的に変換されている暗号化位置を検出する暗号化位置検出手段と、
前記暗号化位置と復号鍵とに基づいて前記復号領域をデジタル画像に復号する復号手段と、
前記復号手段によって復号されたデジタル画像中の文字を検出および特定し、該デジタル画像中の文字を文字コードによる文字情報として含む電子データを生成する電子データ生成手段と、
を備え、
前記復号領域指定手段は、前記暗号化画像上の領域を特定するための領域指定情報によって示された領域を、復号領域として指定する、
電子データ復号システム。
An encrypted image acquisition means for acquiring an encrypted image recorded on the paper medium by imaging the paper medium;
Decryption area designating means for designating an encrypted area in the encrypted image obtained by the encrypted image obtaining means as a decryption area to be decrypted;
Encrypted position detecting means for detecting an encrypted position in which pixel values are regularly converted in the decryption area;
Decryption means for decrypting the decryption area into a digital image based on the encrypted position and a decryption key;
Electronic data generating means for detecting and identifying characters in the digital image decoded by the decoding means, and generating electronic data including the characters in the digital image as character information by a character code;
With
The decryption area designating unit designates an area indicated by area designation information for identifying an area on the encrypted image as a decryption area.
Electronic data decoding system.
コンピュータを、
電子データに基づいて、画素の集合としてのデジタル画像を生成するデジタル画像生成手段と、
前記デジタル画像生成手段によって生成された前記デジタル画像における暗号化の対象となる部分領域を指定する暗号化領域指定手段と、
前記部分領域の画像を、暗号鍵に基づいて処理画像に変換する画像変換手段と、
前記処理画像の画素値を規則的に変換することで、復号の際に前記部分領域の位置の特定に用いられる規則性を有する変換画像を生成する画素値変換手段と、
前記変換画像を含む暗号化画像を出力する出力手段と、
として機能させ、
前記暗号化領域指定手段は、前記デジタル画像上の領域を特定するための領域指定情報によって示された領域を、暗号化の対象となる部分領域として指定する、
電子データ暗号化プログラム。
Computer
Digital image generating means for generating a digital image as a set of pixels based on electronic data;
An encryption area specifying means for specifying a partial area to be encrypted in the digital image generated by the digital image generating means;
Image conversion means for converting the image of the partial area into a processed image based on an encryption key;
Pixel value conversion means for generating a converted image having regularity used for specifying the position of the partial region at the time of decoding by regularly converting the pixel value of the processed image;
Output means for outputting an encrypted image including the converted image;
Function as
The encryption area designating unit designates an area indicated by area designation information for identifying an area on the digital image as a partial area to be encrypted.
Electronic data encryption program.
紙媒体撮像装置が接続されるコンピュータを、
紙媒体を撮像することで、紙媒体に記録された暗号化画像を取得する暗号化画像取得手段と、
前記暗号化画像取得手段によって取得された前記暗号化画像における暗号化された領域を、復号の対象となる復号領域として指定する復号領域指定手段と、
前記復号領域のうち画素値が規則的に変換されている暗号化位置を検出する暗号化位置検出手段と、
前記暗号化位置と復号鍵とに基づいて前記復号領域をデジタル画像に復号する復号手段と、
前記復号手段によって復号されたデジタル画像中の文字を検出および特定し、該デジタル画像中の文字を文字コードによる文字情報として含む電子データを生成する電子データ生成手段と、
として機能させ、
前記復号領域指定手段は、前記暗号化画像上の領域を特定するための領域指定情報によって示された領域を、復号領域として指定する、
電子データ復号プログラム。
A computer to which a paper medium imaging device is connected;
An encrypted image acquisition means for acquiring an encrypted image recorded on the paper medium by imaging the paper medium;
Decryption area designating means for designating an encrypted area in the encrypted image obtained by the encrypted image obtaining means as a decryption area to be decrypted;
Encrypted position detecting means for detecting an encrypted position in which pixel values are regularly converted in the decryption area;
Decryption means for decrypting the decryption area into a digital image based on the encrypted position and a decryption key;
Electronic data generating means for detecting and identifying characters in the digital image decoded by the decoding means, and generating electronic data including the characters in the digital image as character information by a character code;
Function as
The decryption area designating unit designates an area indicated by area designation information for identifying an area on the encrypted image as a decryption area.
Electronic data decryption program.
コンピュータシステムによって、
電子データに基づいて、画素の集合としてのデジタル画像を生成するデジタル画像生成ステップと、
前記デジタル画像生成ステップで生成された前記デジタル画像における暗号化の対象となる部分領域を指定する暗号化領域指定ステップと、
前記部分領域の画像を、暗号鍵に基づいて処理画像に変換する画像変換ステップと、
前記処理画像の画素値を規則的に変換することで、復号の際に前記部分領域の位置の特定に用いられる規則性を有する変換画像を生成する画素値変換ステップと、
前記変換画像を含む暗号化画像を出力する出力ステップと、
が実行され、
前記暗号化領域指定ステップでは、前記デジタル画像上の領域を特定するための領域指定情報によって示された領域が、暗号化の対象となる部分領域として指定される、
電子データ暗号化方法。
By computer system
A digital image generating step for generating a digital image as a set of pixels based on electronic data;
An encryption area specifying step for specifying a partial area to be encrypted in the digital image generated in the digital image generation step;
An image conversion step of converting the image of the partial area into a processed image based on an encryption key;
A pixel value conversion step for generating a converted image having regularity used for specifying the position of the partial region at the time of decoding by regularly converting the pixel values of the processed image;
An output step of outputting an encrypted image including the converted image;
Is executed,
In the encryption area designation step, an area indicated by area designation information for identifying an area on the digital image is designated as a partial area to be encrypted.
Electronic data encryption method.
紙媒体撮像装置を有するコンピュータシステムによって、
紙媒体を撮像することで、紙媒体に記録された暗号化画像を取得する暗号化画像取得ステップと、
前記暗号化画像取得ステップで取得された前記暗号化画像における暗号化された領域を、復号の対象となる復号領域として指定する復号領域指定ステップと、
前記復号領域のうち画素値が規則的に変換されている暗号化位置を検出する暗号化位置検出ステップと、
前記暗号化位置と復号鍵とに基づいて前記復号領域をデジタル画像に復号する復号ステップと、
前記復号ステップで復号されたデジタル画像中の文字を検出および特定し、該デジタル画像中の文字を文字コードによる文字情報として含む電子データを生成する電子データ生成ステップと、
が実行され、
前記復号領域指定ステップでは、前記暗号化画像上の領域を特定するための領域指定情報によって示された領域が、復号領域として指定される、
電子データ復号方法。
By a computer system having a paper medium imaging device,
An encrypted image acquisition step of acquiring an encrypted image recorded on the paper medium by imaging the paper medium;
A decryption area designating step of designating an encrypted area in the encrypted image obtained in the encrypted image obtaining step as a decryption area to be decrypted;
An encrypted position detecting step for detecting an encrypted position in which pixel values are regularly converted in the decryption area; and
A decryption step of decrypting the decryption area into a digital image based on the encrypted position and a decryption key;
An electronic data generation step of detecting and specifying characters in the digital image decoded in the decoding step, and generating electronic data including the characters in the digital image as character information by a character code;
Is executed,
In the decryption area designation step, an area indicated by area designation information for specifying an area on the encrypted image is designated as a decryption area.
Electronic data decoding method.
JP2009516195A 2007-05-31 2008-01-31 Image processing system Active JP4866959B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009516195A JP4866959B2 (en) 2007-05-31 2008-01-31 Image processing system

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
JPPCT/JP2007/061112 2007-05-31
PCT/JP2007/061112 WO2008146391A1 (en) 2007-05-31 2007-05-31 Electronic data encryption system, decryption system, program and method for the same
PCT/JP2008/051483 WO2008146504A1 (en) 2007-05-31 2008-01-31 Picture processing system
JP2009516195A JP4866959B2 (en) 2007-05-31 2008-01-31 Image processing system

Publications (2)

Publication Number Publication Date
JPWO2008146504A1 true JPWO2008146504A1 (en) 2010-08-19
JP4866959B2 JP4866959B2 (en) 2012-02-01

Family

ID=45782007

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009516195A Active JP4866959B2 (en) 2007-05-31 2008-01-31 Image processing system

Country Status (1)

Country Link
JP (1) JP4866959B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113114871A (en) * 2021-04-15 2021-07-13 福建技术师范学院 Digital image steganography method and system
CN116665851B (en) * 2023-05-23 2024-04-05 江苏康医通科技有限公司 Medical image management method, device, computer equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004032538A (en) * 2002-06-27 2004-01-29 Canon Inc Information processing apparatus and information processing method
JP2006080623A (en) * 2004-09-07 2006-03-23 Canon Inc Information processing method and apparatus, and computer program and computer-readable storage medium
WO2008053576A1 (en) * 2006-10-31 2008-05-08 Fujitsu Limited Image encryption/decryption device, method, and program

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004032538A (en) * 2002-06-27 2004-01-29 Canon Inc Information processing apparatus and information processing method
JP2006080623A (en) * 2004-09-07 2006-03-23 Canon Inc Information processing method and apparatus, and computer program and computer-readable storage medium
WO2008053576A1 (en) * 2006-10-31 2008-05-08 Fujitsu Limited Image encryption/decryption device, method, and program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113114871A (en) * 2021-04-15 2021-07-13 福建技术师范学院 Digital image steganography method and system
CN116665851B (en) * 2023-05-23 2024-04-05 江苏康医通科技有限公司 Medical image management method, device, computer equipment and storage medium

Also Published As

Publication number Publication date
JP4866959B2 (en) 2012-02-01

Similar Documents

Publication Publication Date Title
JP4800420B2 (en) Paper medium information encryption system, decryption system, program and method
JP5192039B2 (en) Electronic document processing system, method and program
JP5491860B2 (en) Electronic document encryption system, program and method
WO2009110055A1 (en) Image processing system, method, and program
US8509425B2 (en) Image processing system, program and method
JP5011233B2 (en) Information output system, method and program for falsification detection
US8515062B2 (en) Image encryption/decryption apparatus, method and program
EP2264995B1 (en) Image processing apparatus, image processing method, and computer program
JP4975459B2 (en) Copy management system, output device, copy device, and computer program
US7596271B2 (en) Image processing system and image processing method
CN103108096B (en) Image processing system and image forming device controlling method
JP5541360B2 (en) Image processing apparatus and image processing method
US20160080602A1 (en) Image processing apparatus, image processing method, and non-transitory computer-readable storage medium
JP2008154106A (en) Concealing method, image processor and image forming apparatus
JP2007194962A (en) Image forming device
JP2006303563A (en) Image processor
JP4692614B2 (en) Printing apparatus and program
JP2008288686A (en) Image reader, image processing system, and image processing program
JP2012221210A (en) Information processor, electronic apparatus and image processing system
JP4866959B2 (en) Image processing system
JP4259462B2 (en) Image processing apparatus and image processing method
JP4692615B2 (en) Printing apparatus and program
JP4853308B2 (en) Image processing apparatus and image processing program
WO2010061456A1 (en) Information processing device, information processing method and image processing program
JP4796150B2 (en) Image encryption / decryption device, method and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20100727

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110726

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110926

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20111101

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20111114

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

Free format text: PAYMENT UNTIL: 20141118

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 4866959

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150