JPH08179689A - Image data processing device and image data processing method - Google Patents
Image data processing device and image data processing methodInfo
- Publication number
- JPH08179689A JPH08179689A JP6336694A JP33669494A JPH08179689A JP H08179689 A JPH08179689 A JP H08179689A JP 6336694 A JP6336694 A JP 6336694A JP 33669494 A JP33669494 A JP 33669494A JP H08179689 A JPH08179689 A JP H08179689A
- Authority
- JP
- Japan
- Prior art keywords
- image
- image data
- encrypted
- input
- 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.)
- Pending
Links
- 238000012545 processing Methods 0.000 title claims abstract description 34
- 238000003672 processing method Methods 0.000 title claims description 6
- 238000000034 method Methods 0.000 claims description 25
- 230000008569 process Effects 0.000 claims description 19
- 238000006243 chemical reaction Methods 0.000 abstract description 6
- 238000004891 communication Methods 0.000 description 17
- 230000005540 biological transmission Effects 0.000 description 6
- 238000010586 diagram Methods 0.000 description 5
- 230000006870 function Effects 0.000 description 3
- 230000004913 activation Effects 0.000 description 1
- 239000002131 composite material Substances 0.000 description 1
- 238000012790 confirmation Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000010438 heat treatment Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000008707 rearrangement Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
Landscapes
- Image Processing (AREA)
Abstract
(57)【要約】
【目的】 任意の画像データを暗号化して画像の形式で
出力し、出力した画像を読み取って復号する画像処理装
置を提供することである。
【構成】 暗号化対象の画像をイメージリーダ12から
読み込む。制御部22は読み込んだ画像を複数の画像ブ
ロックに分割し、暗号化鍵に従って並べ変え、更に、白
黒反転、ミラー変換を行う。さらに、暗号化画像を印刷
制御部15を制御して印刷する。暗号化画像を復号する
場合、暗号化画像をイメージリーダ12により読み込
む。制御部22は、暗号化鍵に従って白黒反転、ミラー
変換を行い、各画像ブロックを並べ変えて復号する。復
号した画像を印刷制御部15を制御して印刷する。
(57) [Summary] [Object] To provide an image processing device that encrypts arbitrary image data, outputs the encrypted image data in the form of an image, and reads and decrypts the output image. [Configuration] An image to be encrypted is read from the image reader 12. The control unit 22 divides the read image into a plurality of image blocks, rearranges them according to the encryption key, and further performs black-and-white inversion and mirror conversion. Further, the encrypted image is printed by controlling the print control unit 15. When decrypting an encrypted image, the image reader 12 reads the encrypted image. The control unit 22 performs black-and-white inversion and mirror conversion according to the encryption key, rearranges the image blocks, and decrypts them. The decrypted image is printed by controlling the print control unit 15.
Description
【0001】[0001]
【産業上の利用分野】この発明は、画像データを読み込
んで暗号化して印刷し、印刷された暗号化画像を読み込
んで復号する画像データ処理装置に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image data processing apparatus for reading image data, encrypting and printing the image data, and reading and decoding the printed encrypted image.
【0002】[0002]
【従来の技術】郵便や人目に曝される可能性のある場所
において、書類を取り交わす場合に、第三者に対し内容
を秘密にしたい場合、書類の内容を暗号化することが考
えられる。2. Description of the Related Art When exchanging a document at a place where it may be exposed to the mail or the public, it is conceivable to encrypt the content of the document when it is desired to keep the content secret to a third party.
【0003】[0003]
【発明が解決しようとする課題】この場合、所定の暗号
化・復号化の手順にのっとり手作業で文書を作成するこ
とになるが、手作業で文書を暗号化・復号化することは
非常に手間がかかるものであった。また、手作業ではな
く自動的に暗号化・復号化させる場合にあっては、電気
信号上でデータを暗号化・復号化するものであり、暗号
化されたデータを目的とする相手に渡すためには、電話
回線、無線等を介して送信するか、或いは暗号化された
データが記憶されているメモリ自体を送付する必要があ
った。In this case, a document is manually created according to a predetermined encryption / decryption procedure, but it is very difficult to manually encrypt / decrypt the document. It was time-consuming. Also, in the case of automatically encrypting / decrypting instead of manual work, data is encrypted / decrypted on an electric signal, and the encrypted data is passed to the intended other party. It was necessary to send the data via a telephone line, wireless, or the like, or to send the memory itself storing the encrypted data.
【0004】この発明は、上記事情に鑑みてなされたも
ので、任意のデータを暗号化して画像の形式で印刷出力
したり、通信回線で送った相手側で印刷出力し、一方、
郵送あるいは通信で受け取った印刷画像を読み込んで復
号する画像データ処理装置及び画像処理方法を提供する
ことを目的とする。また、この発明は紙等の基本的な記
録媒体を利用して簡単な操作で暗号化し、人目に曝され
る場所において書類を取り交わしても第三者に内容が知
られることのない画像データ処理装置を提供することを
他の目的とする。The present invention has been made in view of the above circumstances, and encrypts arbitrary data and prints it out in the form of an image, or prints it out on the other side sent via a communication line.
An object is to provide an image data processing device and an image processing method for reading and decoding a print image received by mail or communication. In addition, the present invention uses a basic recording medium such as paper to perform encryption by a simple operation, and image data processing in which contents are not known to a third party even if documents are exchanged in a place exposed to the eyes. Another purpose is to provide a device.
【0005】[0005]
【課題を解決するための手段】上述の目的を達成するた
め、この発明の第1の観点に係る画像データ処理装置
は、画像データを読み込む画像データ読み込み手段と、
前記画像データ読み込み手段により読み込まれた原画像
の画像データを暗号化画像の画像データに変換する暗号
化手段と、前記データ読み込み手段から読み込まれた暗
号化画像の画像データを復号化して原画像の画像データ
に変換する復号化手段と、前記暗号化手段により得られ
た前記暗号化画像の画像データ及び前記復号化手段によ
り得られた前記原画像の画像データを記録媒体に印刷す
る印刷手段と、を備えることを特徴とする。In order to achieve the above-mentioned object, an image data processing apparatus according to a first aspect of the present invention comprises image data reading means for reading image data,
An encryption unit for converting the image data of the original image read by the image data reading unit into the image data of the encrypted image, and the image data of the encrypted image read by the data reading unit for decrypting the original image Decoding means for converting into image data, printing means for printing on the recording medium the image data of the encrypted image obtained by the encrypting means and the image data of the original image obtained by the decrypting means, It is characterized by including.
【0006】また、この発明の第2の観点に係る画像デ
ータ処理方法は、原画像を入力する原画像入力ステップ
と、前記画像入力ステップにより入力された原画像を複
数の微小画像に分割して、並べ替える暗号化ステップ
と、前記暗号化ステップにより並べ変えられた微小画像
からなる暗号化画像を出力する暗号化画像出力ステップ
と、前記暗号化画像出力ステップにおいて出力された暗
号化画像を入力する暗号化画像入力ステップと、前記暗
号化画像入力ステップで入力された暗号化画像を複数の
微小画像に分割し、並べ変えることにより、原画像を復
号する復号ステップと、前記復号ステップにより復号さ
れた原画像を出力する復号画像出力ステップと、を備え
ることを特徴とする。In the image data processing method according to the second aspect of the present invention, an original image input step of inputting an original image, and the original image input by the image input step is divided into a plurality of minute images. , An encryption step for rearranging, an encrypted image output step for outputting an encrypted image composed of minute images rearranged by the encryption step, and an encrypted image output for the encrypted image output step are inputted. An encrypted image input step, a decryption step of decrypting the original image by dividing the encrypted image input in the encrypted image input step into a plurality of minute images and rearranging them, and the decrypted step And a decoded image output step of outputting an original image.
【0007】また、この発明の第3の観点に係る画像デ
ータ処理装置は、画像データを読み込む画像データ読み
込み手段と、前記画像データ読み込み手段により読み込
まれた原画像の画像データを暗号化画像の画像データを
変換する暗号化手段と、この暗号化手段で得られた前記
暗号化画像の画像データを送信するデータ送信手段と、
暗号化画像の画像データを受信するデータ受信手段と、
前記データ受信手段により受信された暗号化画像の画像
データを復号化して原画像の画像データに変換する復号
化手段と、前記暗号化手段により得られた前記暗号化画
像の画像データ及び前記復号化手段により得られた前記
原画像の画像データを記録媒体に印刷する印刷手段と、
を備えることを特徴とする。An image data processing apparatus according to a third aspect of the present invention is an image data reading means for reading image data, and image data of an original image read by the image data reading means is an image of an encrypted image. Encryption means for converting data, data transmission means for transmitting image data of the encrypted image obtained by the encryption means,
Data receiving means for receiving the image data of the encrypted image,
Decoding means for decoding the image data of the encrypted image received by the data receiving means and converting it into the image data of the original image, the image data of the encrypted image obtained by the encryption means, and the decryption Printing means for printing the image data of the original image obtained by means on a recording medium,
It is characterized by including.
【0008】また、この発明の第4の観点に係る画像デ
ータ処理方法は、原画像を入力する原画像入力ステップ
と、前記画像入力ステップにより入力された原画像を複
数の微小画像に分割して、並べ替える暗号化ステップ
と、前記暗号化ステップにより並べ変えられた微小画像
からなる暗号化画像を送信するステップと、前記送信ス
テップにより送信された暗号化画像を受信する受信ステ
ップと、前記受信ステップにより受信した暗号化画像を
出力する暗号化画像出力ステップと、前記暗号化画像出
力ステップにおいて出力された暗号化画像を入力する暗
号化画像入力ステップと、前記暗号化画像入力ステップ
で入力された暗号化画像を複数の微小画像に分割し、並
べ変えることにより、原画像を復号する復号ステップ
と、前記復号ステップにより復号された原画像を出力す
る復号画像出力ステップと、を備えることを特徴とす
る。An image data processing method according to a fourth aspect of the present invention is an original image input step of inputting an original image, and dividing the original image input by the image input step into a plurality of minute images. An encryption step of rearranging, a step of transmitting an encrypted image composed of minute images rearranged by the encryption step, a receiving step of receiving the encrypted image transmitted by the transmitting step, and the receiving step The encrypted image output step of outputting the encrypted image received by the encrypted image input step, the encrypted image input step of inputting the encrypted image output in the encrypted image output step, and the encryption input in the encrypted image input step A decoding step of decoding the original image by dividing the digitized image into a plurality of minute images and rearranging the minute images; Characterized in that it comprises a and a decoded image output step of outputting a more decrypted original image.
【0009】[0009]
【作用】上記構成とすることにより、この発明の第1及
び第2の観点にかかる画像データ処理装置及び方法によ
れば、入力した(読み込んだ)画像を暗号化して出力
(印刷)することができる。出力された画像を見てもそ
の内容を認識することができない。従って、画像の状態
で通常の郵便等の通信手段を用いて伝送しても、文書の
内容が漏洩する虞れがない。また、受信者は原画像を復
号して内容を確認できる。With the above configuration, according to the image data processing apparatus and method according to the first and second aspects of the present invention, the input (read) image can be encrypted and output (printed). it can. The contents cannot be recognized even when looking at the output image. Therefore, there is no fear that the contents of the document will be leaked even if the image is transmitted using a communication means such as ordinary mail. Further, the receiver can decode the original image and check the contents.
【0010】また、この発明の第3及び第4の観点にか
かる画像データ処理装置及び方法によれば、入力した
(読み込んだ)画像を暗号化して、出力(印刷)するこ
となく相手側に送信することができる。また、受信した
暗号化画像を暗号状態のまま出力(印刷)し、これを復
号して内容を確認できる。According to the image data processing apparatus and method according to the third and fourth aspects of the present invention, the input (read) image is encrypted and transmitted to the other side without being output (printed). can do. In addition, the received encrypted image can be output (printed) in the encrypted state and decrypted to check the content.
【0011】[0011]
【実施例】以下、この発明の実施例を図面を参照して説
明する。 (第1実施例)図1は、この発明の画像データ処理装置
をワードプロセッサに適用した第1の実施例の回路構成
を示す。Embodiments of the present invention will be described below with reference to the drawings. (First Embodiment) FIG. 1 shows a circuit configuration of a first embodiment in which the image data processing device of the present invention is applied to a word processor.
【0012】図1のワードプロセッサは、キー入力部1
1と、イメージリーダ12と、A/D変換部13、表示
部14と、印刷制御部15と、印刷ヘッド16と、紙送
りモータ17と、キャリッジ駆動モータ18と、ROM
(リードオンリメモリ)19と、文字フォントメモリ2
0と、RAM(ランダムアクセスメモリ)21と、制御
部22とを備えている。The word processor of FIG. 1 has a key input unit 1
1, an image reader 12, an A / D converter 13, a display 14, a print controller 15, a print head 16, a paper feed motor 17, a carriage drive motor 18, and a ROM.
(Read-only memory) 19 and character font memory 2
0, a RAM (random access memory) 21, and a control unit 22.
【0013】キー入力部11は、画像読み込みモード、
文字入力モード、印刷モード等の動作モードを設定する
為のモードキー、通常の印刷を指示するための印刷キ
ー、暗号化された画像を印刷する暗号化印刷キー、復号
した画像を印刷する復号化印刷キー、文字を入力するた
めの文字キー、数字を入力するための数値キー、実行キ
ーなどの種々のデータ・命令を入力するためのキーを備
える。The key input unit 11 has an image reading mode,
A mode key for setting operation modes such as character input mode and print mode, a print key for instructing normal printing, an encrypted print key for printing an encrypted image, and a decryption for printing a decrypted image. It is provided with keys for inputting various data / commands such as a print key, a character key for inputting characters, a numerical key for inputting numbers, and an execution key.
【0014】イメージリーダ12は、CCD等から構成
され、任意の画像を読み込み、アナログ画像信号に変換
して、A/D変換部13に出力する。A/D変換部13
は、イメージリーダ12から供給されたアナログ画像信
号をディジタル画像信号に変換し、制御部22に供給す
る。The image reader 12 is composed of a CCD or the like, reads an arbitrary image, converts it into an analog image signal, and outputs it to the A / D converter 13. A / D converter 13
Converts the analog image signal supplied from the image reader 12 into a digital image signal and supplies the digital image signal to the control unit 22.
【0015】表示部14は種々の表示データを表示す
る。印刷ヘッド16は、例えば、印刷制御部15の通電
制御により発熱する発熱素子を備えるサーマルヘッドか
らなり、熱溶融性インクリボンを加熱して用紙(記録
紙)にドットパターンを印刷する。The display unit 14 displays various display data. The print head 16 is, for example, a thermal head including a heating element that generates heat by controlling the energization of the print control unit 15, and heats the heat-meltable ink ribbon to print a dot pattern on a sheet (recording sheet).
【0016】紙送りモータ17は、プラテンを駆動し、
記録紙を副走査方向に搬送する。キャリッジ駆動モータ
18は、印刷ヘッド16を含むキャリッジを主走査方向
に往復移動させ、また、印刷ヘッド16をプラテンに対
してアップ・ダウンさせて、用紙に接触させ或いは開離
させる。The paper feed motor 17 drives the platen,
The recording paper is conveyed in the sub scanning direction. The carriage drive motor 18 reciprocates the carriage including the print head 16 in the main scanning direction, and also moves the print head 16 up and down with respect to the platen to contact or separate the paper.
【0017】印刷制御部15は、印刷ヘッドドライバ
と、紙送りモータドライバと、キャリッジ駆動モータド
ライバとを有し、印刷動作を制御する。The print controller 15 has a print head driver, a paper feed motor driver, and a carriage drive motor driver, and controls the printing operation.
【0018】ROM(リードオンリメモリ)19は、制
御部22の動作プログラム、例えば、図6に示す画像デ
ータの読み込み、暗号化、復号化、印刷等の動作、或い
は、データ入力動作等を実行するためのプログラムその
他の書き換え不要な情報を格納する。文字フォントメモ
リ20は、文字フォントデータを記憶する。A ROM (Read Only Memory) 19 executes an operation program of the control unit 22, for example, operations such as image data reading, encryption, decryption and printing shown in FIG. 6, or data input operation. Stores programs and other information that does not require rewriting. The character font memory 20 stores character font data.
【0019】制御部22は、CPU(中央制御装置)等
から構成され、ROM19に記憶されたプログラムに従
って、システム全体を制御すると共に後述する画像デー
タの読み込み、暗号化、復号化、印刷等の処理を行う。The control unit 22 is composed of a CPU (central control unit) and the like, controls the entire system in accordance with a program stored in the ROM 19, and processes such as image data reading, encryption, decryption, printing, which will be described later. I do.
【0020】RAM(ランダムアクセスメモリ)21
は、図2に示すように、モードレジスタ21Aと、入力
データメモリ21Bと、印刷データメモリ21Cと、画
像メモリ21Dと、暗号化鍵メモリ21Eと、データ処
理メモリ21Fと、画像ブロック位置メモリ21Gとを
備える。RAM (random access memory) 21
2, as shown in FIG. 2, a mode register 21A, an input data memory 21B, a print data memory 21C, an image memory 21D, an encryption key memory 21E, a data processing memory 21F, and an image block position memory 21G. Equipped with.
【0021】モードレジスタ21Aは、画像読み込みモ
ード、文字入力モード、印刷モード、暗号化印刷モー
ド、復号化印刷モード等の各動作モードに応じたモード
フラグを記憶する。入力データメモリ21Bは、キー入
力部11から入力された文字データ(コードデータ)等
を記憶する。印刷データメモリ21Cは印刷対象のビッ
トパターンデータを記憶する。The mode register 21A stores a mode flag corresponding to each operation mode such as an image reading mode, a character input mode, a print mode, an encrypted print mode, a decrypted print mode and the like. The input data memory 21B stores character data (code data) input from the key input unit 11. The print data memory 21C stores bit pattern data to be printed.
【0022】画像メモリ21Dは、イメージリーダ12
により読み込んだ画像データをビットマップパターンで
記憶する。暗号化鍵メモリ21Eは、読み込んだ画像デ
ータを暗号化或いは復号化するための暗号化鍵或いは復
号化鍵を記憶する。この暗号化鍵及び復号化鍵はキー入
力部11から入力される。暗号化鍵及び復号化鍵の詳細
は後述する。The image memory 21D includes an image reader 12
The image data read by is stored as a bitmap pattern. The encryption key memory 21E stores an encryption key or a decryption key for encrypting or decrypting the read image data. The encryption key and the decryption key are input from the key input unit 11. Details of the encryption key and the decryption key will be described later.
【0023】データ処理メモリ21Fは、画像データの
分割並び換え、白黒反転、ミラー反転の際に、一時的に
データの変換処理を行い、処理した内容で画像メモリ2
1Dの内容を書き換える際に使用される作業領域であ
る。画像ブロック位置メモリ21Gは、画像を分割して
得られる画像ブロックの位置データ(アドレス)を記憶
する。The data processing memory 21F temporarily performs data conversion processing at the time of division rearrangement of image data, black-and-white inversion, and mirror inversion, and the image memory 2 according to the processed contents.
This is a work area used when rewriting the contents of 1D. The image block position memory 21G stores the position data (address) of the image block obtained by dividing the image.
【0024】次に、この実施例で使用する画像データの
暗号化の手法について説明する。この実施例において
は、暗号化対象の画像(原画像)を図3に示すように、
縦65mm、横50mmの画像とする。暗号化対象画像は、
図3に示すように、縦横13×10、計130の画像ブ
ロックに分割される。これらの画像ブロックには、図示
するように画像ブロック番号1〜130が付されてい
る。Next, a method of encrypting image data used in this embodiment will be described. In this embodiment, the image to be encrypted (original image) is as shown in FIG.
The image is 65 mm long and 50 mm wide. The image to be encrypted is
As shown in FIG. 3, it is divided into 130 × 10 image blocks in total. Image block numbers 1 to 130 are assigned to these image blocks as illustrated.
【0025】画像データの暗号化はこれらの画像ブロッ
クを、暗号化鍵に従って、画像ブロック単位で並べ替え
を行った後、各画像ブロック内の画像データをミラー反
転又は白黒反転することにより行われる暗号化鍵は4桁
の数字「P1P2P3P4」からなる。The image data is encrypted by rearranging these image blocks in image block units according to the encryption key and then mirror-reversing or black-and-white inversion of the image data in each image block. The activation key consists of a 4-digit number "P1P2P3P4".
【0026】第1桁の値P1は第1の暗号化パラメータ
であり、第1〜第130画像ブロックを、画像ブロック
単位で(P1+2)画像ブロック上位方向にシフトする
ことを指示する。オーバーフローした画像ブロックは第
1画像ブロックにシフトする。例えば、P1=1の場
合、シフト量は3画像ブロックとなり、例えば、第1画
像ブロック〜第127画像ブロックは第4〜第130画
像ブロックとされ、第128画像ブロック〜第130画
像ブロックは第1〜第3画像ブロックとされる。The first digit value P1 is the first encryption parameter, and indicates to shift the first to 130th image blocks in the image block unit (P1 + 2) toward the upper side of the image block. The overflowed image block is shifted to the first image block. For example, when P1 = 1, the shift amount is 3 image blocks, for example, the 1st image block to the 127th image block are the 4th to 130th image blocks, and the 128th image block to the 130th image block are the 1st image blocks. ~ The third image block.
【0027】第2桁の値P2は第2の暗号化パラメータ
であり、第1〜第130の画像ブロックを、画像ブロッ
ク行(横方向に並ぶ10画像ブロック)単位で、(P2
+2)画像ブロック下方向にシフトすることを指示す
る。オーバーフローした画像ブロック行は第1画像ブロ
ック行にシフトする。例えば、P2=2の場合、シフト
量は4画像ブロック行となり、例えば、第1画像ブロッ
ク行の第1画像ブロック〜第10画像ブロックは、第5
画像ブロック行の第41画像ブロック〜第50画像ブロ
ックとされる。同様に、第13画像ブロック行の第12
1画像ブロック〜第130画像ブロックは、第4画像ブ
ロック行の第31画像ブロック〜第40画像ブロックと
される。The second digit value P2 is a second encryption parameter, and the first to 130th image blocks are divided into image block rows (10 image blocks arranged in the horizontal direction) by (P2
+2) Instruct to shift the image block downward. The overflowed image block row is shifted to the first image block row. For example, when P2 = 2, the shift amount is four image block rows, and for example, the first image block to the tenth image block of the first image block row are the fifth image block rows.
The 41st image block to the 50th image block in the image block row. Similarly, the 12th of the 13th image block row
The 1st image block to the 130th image block are the 31st image block to the 40th image block in the fourth image block row.
【0028】第3位の値P3は第3の暗号化パラメータ
であり、第1〜第130の画像ブロックを、画像ブロッ
ク列(縦方向に並ぶ13画像ブロック)単位で、(P3
+2)画像ブロック右方向にシフトすることを指示す
る。オーバーフローした画像ブロック列は第1画像ブロ
ック列にシフトする。例えば、P3=3の場合、シフト
量は5画像ブロック列となり、例えば、第1画像ブロッ
ク列の、第1、11、〜、121画像ブロックは、第6
画像ブロック列の第6、16、〜、126画像ブロック
とされる。同様に、第9画像ブロック列の第9、19、
〜、129画像ブロックは、第4画像ブロック列の第
4、14、〜、124画像ブロックとされる。The third-order value P3 is a third encryption parameter, and the first to 130th image blocks are (P3) in units of image block rows (13 image blocks arranged in the vertical direction).
+2) Instruct to shift to the right in the image block. The overflowed image block sequence is shifted to the first image block sequence. For example, when P3 = 3, the shift amount is 5 image block strings, and for example, the 1st, 11th to 121st image blocks of the 1st image block string are the 6th image block strings.
The sixth, 16th to 126th image blocks in the image block sequence are set. Similarly, the 9th, 19th,
The ~ 129 image blocks are the fourth, 14th, ~ 124th image blocks of the fourth image block sequence.
【0029】第4位の値P4は第4の暗号化パラメータ
であり、並び替え後の第1〜第130の画像ブロックの
画像データを、白黒反転及びミラー反転を行うか否かを
指示するパラメータである。ここで、白黒反転は各画像
ブロックの画像の白黒を反転する処理を意味する。ま
た、ミラー反転は各画像ブロックの画像を鏡像に変換す
る処理を意味する。白黒反転は、例えば、各画像ブロッ
ク内のビットデータの値”1”又は”0”を反転するこ
とにより、実現できる。また、ミラー反転は各画像ブロ
ック内の各ドット行の第1ビットデータと第40ビット
データを入れ替え、第2ビットデータと第39ビットデ
ータを入れ替え、・・・・・・、第20ビットデータと第21
ビットデータを入れ替えることにより実現できる。The value P4 of the fourth place is a fourth encryption parameter, and is a parameter for instructing whether the image data of the rearranged first to 130th image blocks is subjected to black-and-white inversion and mirror inversion. Is. Here, the black and white inversion means a process of inverting the black and white of the image of each image block. Mirror inversion means a process of converting the image of each image block into a mirror image. The black-and-white inversion can be realized, for example, by inverting the bit data value “1” or “0” in each image block. In addition, mirror inversion replaces the 1st bit data and the 40th bit data of each dot row in each image block, the 2nd bit data and the 39th bit data, ..., and the 20th bit data. 21st
It can be realized by exchanging bit data.
【0030】例えば、P4=0、1、2の場合、白黒反
転とミラー反転は共に「有り」となり、P4=3、4、
5の場合、白黒反転とミラー反転は「有り」と「なし」
となり、P4=6、7、8の場合、白黒反転とミラー反
転は「なし」と「有り」となり、P4=9の場合、白黒
反転とミラー反転は共に「なし」となる。For example, when P4 = 0, 1, and 2, both black and white inversion and mirror inversion are “present”, and P4 = 3, 4,
In case of 5, black-and-white inversion and mirror inversion are “Yes” and “No”
In the case of P4 = 6, 7, and 8, the black-and-white inversion and the mirror inversion become “none” and “exist”, and in the case of P4 = 9, the black-and-white inversion and the mirror inversion both become “none”.
【0031】ここで、暗号化対象画像の画像ブロック1
に白地に黒で右矢印「→」が描かれており、暗号化パラ
メータが、「1230」であったと仮定する。この場
合、第1パラメータP1により、第1画像ブロックは3
画像ブロック上位方向にシフトして、第4画像ブロック
となる。そして、第2パラメータP2により、第4画像
ブロックは4画像ブロック行上位行方向にシフトして、
第44画像ブロックとなる。そして、第3パラメータP
3により、第44画像ブロックは5画像ブロック列上位
方向シフトして、第49画像ブロックとなる。そして、
第4パラメータにより、第49画像ブロックの白黒反転
とミラー反転は「有り」となり、第49画像ブロックの
画像データは黒地に白抜きの左矢印「←」となる。Here, the image block 1 of the image to be encrypted
It is assumed that the right arrow “→” is drawn in black on a white background and the encryption parameter is “1230”. In this case, the first image block is 3 by the first parameter P1.
The image block is shifted upward to become the fourth image block. Then, by the second parameter P2, the fourth image block is shifted in the upper row direction by four image block rows,
This is the 44th image block. Then, the third parameter P
By 3, the 44th image block is shifted upward by 5 image block columns to become the 49th image block. And
According to the fourth parameter, black-and-white inversion and mirror inversion of the 49th image block is “present”, and image data of the 49th image block is a white left arrow “←” on a black background.
【0032】このような処理が全画像ブロックに対して
実行されて、暗号化が完了する。The above processing is executed for all the image blocks to complete the encryption.
【0033】復号化は、上述の各処理の逆の動作を行え
ばよい。即ち、第4パラメータP4に従って白黒反転と
ミラー反転を行い、第3パラメータP3に従って(P3+
2)画像ブロック列数だけ画像ブロック列を下位列方向
にシフトし、第2パラメータP2に従って(P2+2)画
像ブロック行数だけ画像ブロック行を下位方向にシフト
し、第1パラメータP1に従って各画像ブロックを(P1
+2)画像ブロック数だけ下位方向にシフトする。Decoding may be performed by performing the reverse operation of the above-mentioned processing. That is, black-and-white inversion and mirror inversion are performed according to the fourth parameter P4, and (P3 +
2) The image block row is shifted in the lower column direction by the number of image block rows, the image block row is shifted in the lower direction by (P2 + 2) image block rows according to the second parameter P2, and each image block is shifted according to the first parameter P1. (P1
+2) Shift in the lower direction by the number of image blocks.
【0034】尚、復号化の為に暗号化された画像をイメ
ージリーダ12で読み込むと、図4に示すように、暗号
化画像(暗号化した後の画像)とイメージリーダ12の
向きが正確に一致しないため、暗号化画像を傾いた状態
で読み込み、正確に復号化できなくなる虞れがある。そ
こで、この実施例では、暗号化画像を印刷する時に暗号
化画像の周囲に図5に示すようなガイド枠を印刷してお
く。ガイド枠を構成する各位置マークの長さは各画像ブ
ロックのサイズに等しい。復号化画像を斜めに読み込ん
だ場合、各位置マークの位置から計算により各画像ブロ
ックの位置及びその中の各ドットの位置を正確に求める
ことができる。When the image that has been encrypted for decryption is read by the image reader 12, the orientation of the encrypted image (image after encryption) and the image reader 12 is correct, as shown in FIG. Since they do not match, the encrypted image may be read in a tilted state and may not be decrypted correctly. Therefore, in this embodiment, when the encrypted image is printed, a guide frame as shown in FIG. 5 is printed around the encrypted image. The length of each position mark forming the guide frame is equal to the size of each image block. When the decoded image is read obliquely, the position of each image block and the position of each dot therein can be accurately obtained from the position of each position mark.
【0035】例えば、図4に示すように、第4行第2列
の画像ブロックB4−2の先頭アドレス(左上のアドレ
スをいい、図4では点Qで示す)は位置マークF1とF
2とを結ぶ直線L1と、位置マークF3とF4を結ぶ直
線L2との交点から求めることができる。各画像ブロッ
ク内の各ドットの座標は先頭アドレスと直線L1とL2
で示される傾きから計算により求めることができる。For example, as shown in FIG. 4, the start address of the image block B4-2 in the fourth row and second column (referred to as the upper left address, which is indicated by point Q in FIG. 4) is the position marks F1 and F
It can be obtained from the intersection of a straight line L1 connecting 2 with a straight line L2 connecting the position marks F3 and F4. The coordinates of each dot in each image block are the start address and the straight lines L1 and L2.
It can be calculated from the slope shown by.
【0036】次に、任意の画像を入力し(読み込み)、
暗号化し、印刷するまでの動作を図1〜図6を参照して
説明する。Next, input (read) an arbitrary image,
The operation up to encryption and printing will be described with reference to FIGS.
【0037】画像を読み込む場合、使用者は、キー入力
部11の読み込みキーを操作して、制御部22に画像の
読み込みを指示する。この指示に応答し、制御部22
は、RAM21内のモードレジスタ21Aに読み込みモ
ードフラグを設定し、イメージリーダ12及びA/D変
換部13を制御する。使用者がイメージリーダ12を走
査して画像を読み込むと、読み込んだ画像信号はA/D
変換部13を介して制御部22に供給される。制御部2
2は供給された画像データを画像データメモリ21Dに
ビットマップパターンで書き込む。When reading an image, the user operates the read key of the key input unit 11 to instruct the control unit 22 to read the image. In response to this instruction, the control unit 22
Sets a read mode flag in the mode register 21A in the RAM 21 and controls the image reader 12 and the A / D converter 13. When the user scans the image reader 12 and reads an image, the read image signal is A / D.
It is supplied to the control unit 22 via the conversion unit 13. Control unit 2
2 writes the supplied image data in the image data memory 21D in a bitmap pattern.
【0038】次に、画像メモリ21Dに展開された画像
データを暗号化して印刷する処理について図6を参照し
て説明する。まず、使用者はキー入力部11のキーを操
作して、印刷モードを設定する。続いて、使用者は、画
像を暗号化して印刷するために、「暗号化印刷キー」を
操作する。このキー操作はフローチャートのステップS
1を介してステップS2で検出される。制御部22は、
RAM21のモードレジスタ21Aに暗号化印刷モード
フラグを設定する。Next, the process of encrypting and printing the image data expanded in the image memory 21D will be described with reference to FIG. First, the user operates the keys of the key input unit 11 to set the print mode. Next, the user operates the “encrypted print key” to encrypt and print the image. This key operation is performed in step S of the flowchart.
1 is detected in step S2. The control unit 22
The encrypted print mode flag is set in the mode register 21A of the RAM 21.
【0039】続いて、制御部22はRAM21内の暗号
化鍵メモリ21E、データ処理メモリ21F、画像ブロ
ックの位置メモリ21Gをクリアする(ステップS
3)。続いて、制御部22は、暗号化鍵を入力させるた
め、表示部14に例えば「暗号化鍵?」と表示し、暗号
化鍵の入力を要求する。暗号化鍵が4桁の数字で構成さ
れるため、4桁の数字が入力されたか否かをステップS
5でチェックし、4桁の数字が入力されるまでステップ
S4,S5を繰り返す。Subsequently, the control unit 22 clears the encryption key memory 21E, the data processing memory 21F and the image block position memory 21G in the RAM 21 (step S).
3). Subsequently, in order to input the encryption key, the control unit 22 displays “Encryption key?” On the display unit 14 and requests the input of the encryption key. Since the encryption key is composed of four-digit numbers, it is determined in step S whether four-digit numbers have been input.
Check in step 5, and repeat steps S4 and S5 until a 4-digit number is input.
【0040】4桁の数字が入力されたことをステップS
5で確認すると、制御部22は暗号化鍵の登録を要求す
るため、表示部14に例えば、「ENTRY?」を表示
させる(ステップS6)。実行キーが操作されると(ス
テップS7)、入力データメモリ21Bに保持されてい
た暗号化鍵を暗号化鍵メモリ21Eに格納する(ステッ
プS8)。なお、取り消しキーが操作された場合には、
ステップS4にリターンする。It is confirmed in step S that a four-digit number has been input.
If the confirmation is made in step 5, the control unit 22 requests the registration of the encryption key, so that the display unit 14 displays, for example, "ENTRY?" (Step S6). When the execution key is operated (step S7), the encryption key held in the input data memory 21B is stored in the encryption key memory 21E (step S8). If the cancel key is operated,
The process returns to step S4.
【0041】暗号化鍵が登録されると、制御部22は、
画像メモリ21D上の暗号化画像データを複数の画像ブ
ロックに論理的に分割する(ステップS9)。制御部2
2は、分割した各画像ブロックの先頭アドレス(左上の
位置のアドレス)を検出して、RAM21の画像ブロッ
ク位置メモリ21Gに格納する。When the encryption key is registered, the control unit 22
The encrypted image data on the image memory 21D is logically divided into a plurality of image blocks (step S9). Control unit 2
2 detects the start address (address of the upper left position) of each divided image block and stores it in the image block position memory 21G of the RAM 21.
【0042】続いて、画像ブロックを並び替える処理を
行う(ステップS10)。即ち、登録された暗号化鍵の
第1桁の値P1に基づいて、各画像ブロックを上位方向
に画像ブロック単位でシフトし、登録された暗号化鍵の
第2桁の値P2に基づいて、各画像ブロック行を上位方
向に画像ブロック行単位でシフトし、登録された暗号化
鍵の第3桁の値に基づいて、各画像ブロック列を上位方
向に画像ブロック列単位でシフトする。これらの作業
は、データ処理メモリ21Fを用いて行う。Then, a process for rearranging the image blocks is performed (step S10). That is, based on the first digit value P1 of the registered encryption key, each image block is shifted in the upper direction in image block units, and based on the second digit value P2 of the registered encryption key, Each image block row is shifted in the upper direction in image block row units, and each image block row is shifted in the upper direction in image block row units based on the value of the third digit of the registered encryption key. These operations are performed using the data processing memory 21F.
【0043】次に、登録された暗号化鍵の第4桁の値に
基づいて、必要に応じて白黒反転処理とミラー反転処理
を各画像ブロックに施す(ステップS11〜S16)。
この作業もデータ処理メモリ21Fを用いて行う。Next, based on the value of the fourth digit of the registered encryption key, black-and-white inversion processing and mirror inversion processing are performed on each image block as needed (steps S11 to S16).
This work is also performed using the data processing memory 21F.
【0044】続いて、復号の際の位置決めのため、画像
メモリ21D上で上述のガイド枠(位置マーク)を付加
する(ステップS17)。その後、画像メモリ21D上
の画像データを1印刷ライン分ずつプリントデータメモ
リ21Cに転送し、更に、1行分ずつ切り出して、印刷
制御部15に送る。印刷制御部15は、印刷ヘッド1
6、紙送りモータ17、キャリッジ駆動モータ18を制
御して画像を印刷する(ステップS33)。Subsequently, the above-described guide frame (position mark) is added on the image memory 21D for positioning at the time of decoding (step S17). After that, the image data on the image memory 21D is transferred to the print data memory 21C one print line at a time, further cut out one line at a time, and sent to the print control unit 15. The print control unit 15 uses the print head 1
6, the paper feed motor 17 and the carriage drive motor 18 are controlled to print an image (step S33).
【0045】暗号化された画像を受け取った場合、その
ままでは内容を判別できないため、これを復号化する必
要がある。この場合、使用者は、発送者より暗号化の際
に使用した暗号化鍵を取得すると共に前述の読み込み動
作と同様の処理によりイメージリーダ12を用いて暗号
化画像をガイド枠と共に読み込む。When the encrypted image is received, the content cannot be determined as it is, so it is necessary to decrypt it. In this case, the user obtains the encryption key used for encryption from the sender and reads the encrypted image together with the guide frame using the image reader 12 by the same process as the above-mentioned reading operation.
【0046】読み込みが完了すると、キー入力部11の
復号化印刷キーを操作する。このキー操作は、ステップ
S1とS2を介してステップS18で検出され、処理は
ステップS19に進み、RAM21のモードレジスタ2
1Aに復号化印刷モードフラグを設定する。なお、操作
されたキーが印刷キー、暗号化印刷キー、複合化印刷キ
ーのいずれでもない場合は、他の処理(ステップS3
4)が実効される。When the reading is completed, the decryption print key of the key input unit 11 is operated. This key operation is detected in step S18 via steps S1 and S2, and the process proceeds to step S19 where the mode register 2 of the RAM 21
The decryption print mode flag is set to 1A. If the operated key is neither the print key, the encrypted print key, nor the composite print key, another process (step S3)
4) is put into effect.
【0047】ステップS19において、制御部22はR
AM21内の暗号化鍵メモリ21E、データ処理メモリ
21F、画像ブロック位置メモリ21Gをクリアする
(ステップS19)。続いて、表示部14に例えば「復
号化鍵?」と表示し、復号化鍵の入力を要求する(ステ
ップS20)。なお、この復号化鍵は、前記暗号化鍵と
全く同一の4桁の数字とするが、暗号化鍵に対応した、
例えばP4、P3、P2、P1とした逆並びの異なる4
桁の数字としてもよい。4桁の数字が入力されたか否か
をステップS21でチェックし、4桁の数字が入力され
るまでステップS20,S21を繰り返す。4桁の数字
が入力されたことをステップS21で確認すると、制御
部22は復号化鍵の登録を要求するため、表示部14に
例えば、「ENTRY?」を表示させる(ステップS2
2)。実行キーが操作されると(ステップS23)、入
力された復号化鍵を暗号化鍵メモリ21Eに格納する
(ステップS24)。また、取り消しキーが操作された
場合には、ステップS20にリターンする。In step S19, the control unit 22 controls R
The encryption key memory 21E, the data processing memory 21F, and the image block position memory 21G in the AM 21 are cleared (step S19). Subsequently, for example, "decryption key?" Is displayed on the display unit 14 to request the input of the decryption key (step S20). The decryption key is a 4-digit number that is exactly the same as the encryption key, but it corresponds to the encryption key.
For example, 4 with different reverse arrangement, such as P4, P3, P2, and P1.
It may be a digit number. It is checked in step S21 whether a 4-digit number is input, and steps S20 and S21 are repeated until a 4-digit number is input. When it is confirmed in step S21 that a four-digit number has been input, the control unit 22 requests registration of the decryption key, so that the display unit 14 displays, for example, "ENTRY?" (Step S2).
2). When the execution key is operated (step S23), the input decryption key is stored in the encryption key memory 21E (step S24). If the cancel key is operated, the process returns to step S20.
【0048】復号化鍵が登録されると、制御部22は、
画像メモリ21D上のガイド枠の位置から各画像ブロッ
クの先頭アドレス及び、画像の傾きを求める(ステップ
S25)。復号されるべき各ドットの位置をこの段階で
全て計算しても良い。When the decryption key is registered, the control unit 22
From the position of the guide frame on the image memory 21D, the start address of each image block and the inclination of the image are obtained (step S25). The positions of each dot to be decoded may be calculated at this stage.
【0049】次に、登録された復号化鍵の第4桁の値P
4に基づいて、白黒反転処理とミラー反転処理を各画像
ブロックに施す(ステップS26〜S31)。この作業
はデータ処理メモリ21Fを用いて行う。Next, the fourth digit value P of the registered decryption key
Based on 4, the black and white reversal process and the mirror reversal process are applied to each image block (steps S26 to S31). This work is performed using the data processing memory 21F.
【0050】続いて、各画像ブロックを元の状態に並び
替える(ステップS32)。即ち、まず、復号化鍵の第
3桁の値P3に基づいて、各画像ブロック列を下位方向
にシフトする。次に、登録された復号化鍵の第2桁P2
の値に基づいて、各画像ブロック行を下位方向にシフト
し、復号化鍵の第1桁の値P1に基づいて、各画像ブロ
ックを下位方向にシフトする。これらの作業は、データ
処理メモリ21Fを用いて行う。Subsequently, the image blocks are rearranged to the original state (step S32). That is, first, each image block string is shifted in the lower direction based on the third digit value P3 of the decryption key. Next, the second digit P2 of the registered decryption key
Each image block row is shifted in the lower direction based on the value of, and each image block is shifted in the lower direction based on the value P1 of the first digit of the decryption key. These operations are performed using the data processing memory 21F.
【0051】このようにして、画像メモリ21D上に復
号化された画像データが得られると、制御部22は、画
像メモリ21D上の画像データを1印刷ライン分ずつプ
リントデータメモリ21Cに転送し、更に、1行分ずつ
切り出して、印刷制御部15に送る。印刷制御部15
は、印刷ヘッド16、紙送りモータ17、キャリッジ駆
動モータ18を制御して画像を印刷する。In this way, when the decoded image data is obtained in the image memory 21D, the control unit 22 transfers the image data in the image memory 21D to the print data memory 21C one print line at a time, Further, it is cut out line by line and sent to the print control unit 15. Print control unit 15
Controls the print head 16, the paper feed motor 17, and the carriage drive motor 18 to print an image.
【0052】このようにして、任意の画像を読み込んで
暗号化して任意の記録媒体に印刷して他者に送信するこ
とができる。例えば、媒体としてはがきを選択してこれ
を郵送し、或いは、普通紙に印刷してこれをファクシミ
リ送信等することができる。この画像が第三者の目に触
れてもその内容が漏れることはない。また、他者から送
られて来た暗号化画像を読み込んで復号化して印刷し、
その内容を確認することができる。従って、第三者に通
信内容を知られることなく、通常の通信手段を用いて文
書や画像を互いに通信することができる。しかも、画像
の形式で暗号化通信を行うことができるので、コンピュ
ータ通信(パソコン通信)等の複雑な手順を踏まなくて
も簡単に秘密通信を行うことができる。In this way, an arbitrary image can be read, encrypted, printed on an arbitrary recording medium, and transmitted to another person. For example, a postcard can be selected as a medium and mailed, or it can be printed on plain paper and sent by facsimile. Even if this image is seen by a third party, its contents will not be leaked. Also, read the encrypted image sent from others, decrypt it, and print it.
You can check the contents. Therefore, the documents and images can be communicated with each other using a normal communication means without the third party knowing the communication contents. In addition, since encrypted communication can be performed in the form of an image, secret communication can be easily performed without complicated steps such as computer communication (personal computer communication).
【0053】なお、画像をイメージリーダ12で読み込
んで暗号化する例を説明したが、キー入力部11から入
力した文書(テキストデータ等)を暗号化して印刷し、
さらにこれを復号することも可能である。この場合、通
常のワードプロセッサにおける文字入力動作により、キ
ー入力部11から文字(文字コード)を入力し、入力デ
ータメモリ21Bに格納する。続いて、文字フォントメ
モリ(キャラクタジェネレータ)から入力データメモリ
21Bに格納された文字コードに対応するフォントを読
み出し、RAM21上の画像メモリ21Dに展開する。
画像メモリ21D上に展開されたパターンデータをステ
ップS2〜S17の処理により暗号化して印刷する。Although an example in which an image is read by the image reader 12 and encrypted is described, a document (text data or the like) input from the key input unit 11 is encrypted and printed,
It is also possible to decrypt this. In this case, a character (character code) is input from the key input unit 11 by a character input operation in a normal word processor and stored in the input data memory 21B. Then, the font corresponding to the character code stored in the input data memory 21B is read from the character font memory (character generator) and is developed in the image memory 21D on the RAM 21.
The pattern data developed on the image memory 21D is encrypted and printed by the processing of steps S2 to S17.
【0054】また、通常の印刷が指示された場合には、
フローはステップS1からステップS33に進み、画像
メモリ21D上の画像をそのまま印刷する。When normal printing is instructed,
The flow proceeds from step S1 to step S33, and the image on the image memory 21D is printed as it is.
【0055】(第2実施例)上記実施例では、暗号化し
た画像を用紙に印刷して送信したが、例えば、この発明
をファクシミリ装置に適用し、読み込んだ画像を暗号化
し、これを印刷することなしに相手側に直接送信するこ
とも可能である。この場合、受信側では、通常のファク
シミリと同様に一旦暗号化画像のまま印刷し、これをイ
メージリーダを用いて読み込んで復号化する。(Second Embodiment) In the above embodiment, the encrypted image is printed on a sheet and transmitted. However, for example, the present invention is applied to a facsimile apparatus, the read image is encrypted, and this is printed. It is also possible to directly send to the other party without a matter. In this case, on the receiving side, the encrypted image is once printed as it is, as in a normal facsimile, and the image is read using an image reader and decrypted.
【0056】このようなファクシミリ装置に関する第2
実施例を以下に説明する。第2実施例のファクシミリ装
置の構成を図7に示す。図7のファクシミリ装置は、キ
ー入力部31と、画像読み込み部32と、表示部33
と、印刷部34と、ROM35と、RAM36と、受信
部37と、送信部38と制御部39とを備えている。Second related to such a facsimile machine
Examples will be described below. FIG. 7 shows the configuration of the facsimile apparatus according to the second embodiment. The facsimile apparatus of FIG. 7 has a key input unit 31, an image reading unit 32, and a display unit 33.
The printing unit 34, the ROM 35, the RAM 36, the receiving unit 37, the transmitting unit 38, and the control unit 39.
【0057】キー入力部31は、暗号化された画像を送
信する暗号化送信キー、復号した画像を印刷する復号化
印刷キー、相手先ファクシミリ番号等を入力するための
数値キー、実行キーなどの種々のキーを備える。The key input unit 31 includes an encrypted transmission key for transmitting an encrypted image, a decryption print key for printing a decrypted image, a numerical key for inputting a destination facsimile number, an execution key, etc. Equipped with various keys.
【0058】画像読み込み部32は、第1実施例の、イ
メージリーダ12とA/D変換部13の機能を有する。The image reading section 32 has the functions of the image reader 12 and the A / D conversion section 13 of the first embodiment.
【0059】表示部33はデータを表示する。印刷部3
4は、感熱紙に印刷するもの、感光ドラム上にトナー像
を形成してこれを媒体に転写する静電写真方式のもの等
の構成を有する。The display unit 33 displays the data. Printing section 3
Reference numeral 4 has a configuration such as one for printing on thermal paper, or one for electrostatic photography in which a toner image is formed on a photosensitive drum and transferred to a medium.
【0060】ROM(リードオンリメモリ)35は、制
御部39の動作プログラム、例えば、図8〜図10に示
す画像データの読み込み、暗号化、送信、受信、復号
化、印刷等の動作を実行するためのプログラムその他の
書き換え不要な情報を格納する。RAM(ランダムアク
セスメモリ)36は、各種情報を記憶する。A ROM (Read Only Memory) 35 executes an operation program of the control unit 39, for example, operations such as reading, encryption, transmission, reception, decryption, printing of image data shown in FIGS. Stores programs and other information that does not require rewriting. A RAM (random access memory) 36 stores various kinds of information.
【0061】受信部37は電話回線等の通信回線に接続
され、ファクシミリ信号を受信する。送信部38は電話
回線等の通信回線に接続され、通常の画像のファクシミ
リ信号或いは暗号化した画像のファクシミリ信号等を送
信する。制御部39はROM19に記憶されたプログラ
ムに従って、システム全体を制御すると共に後述する画
像データの読み込み、暗号化、復号化、印刷等の処理を
行う。The receiving section 37 is connected to a communication line such as a telephone line and receives a facsimile signal. The transmitter 38 is connected to a communication line such as a telephone line and transmits a facsimile signal of a normal image or a facsimile signal of an encrypted image. The control unit 39 controls the entire system according to the program stored in the ROM 19 and also performs processing such as image data reading, encryption, decryption, and printing described later.
【0062】次に、上記構成のファクシミリ装置の動作
を図8〜図10を参照して説明する。まず、図8に示す
ように、暗号化された画像データを送信する場合、画像
読み込み部32で画像データを読み込み(ステップT
1)、RAM36内の画像メモリに記憶させる(ステッ
プT2)。この状態で、使用者は、送信先のファクシミ
リ番号と暗号送信キー、暗号化鍵をキー入力部31から
入力する。制御部39は第1実施例と同様に、入力され
た暗号化鍵に基づいて、RAM36に格納された画像を
暗号化し、ガイド枠を付加する(ステップT3)。続い
て、制御部39は、ランレングス法等を用いて暗号化さ
れた画像をファクシミリ通信用の画像データに変換す
る。送信部38はこの暗号化画像データを送信する(ス
テップT4)。Next, the operation of the facsimile apparatus having the above configuration will be described with reference to FIGS. First, as shown in FIG. 8, when transmitting encrypted image data, the image reading unit 32 reads the image data (step T
1) The image is stored in the image memory in the RAM 36 (step T2). In this state, the user inputs the facsimile number of the transmission destination, the encryption transmission key, and the encryption key from the key input unit 31. Similar to the first embodiment, the control unit 39 encrypts the image stored in the RAM 36 based on the input encryption key and adds the guide frame (step T3). Subsequently, the control unit 39 converts the image encrypted by using the run length method or the like into image data for facsimile communication. The transmitter 38 transmits the encrypted image data (step T4).
【0063】一方、暗号化画像データがファクシミリ送
信されて来た場合、図9に示すように、受信部37はこ
れを受信し(ステップT11)、制御部39に供給す
る。制御部39は受信データを伸長し、印刷部34によ
り暗号化画像データをそのまま印刷して出力する(ステ
ップT12)。この受信処理は、受信データを伸長して
印刷する通常のファクシミリ受信時の動作と同一であ
る。On the other hand, when the encrypted image data is sent by facsimile, the receiving unit 37 receives it (step T11) and supplies it to the control unit 39, as shown in FIG. The control unit 39 decompresses the received data, and the printing unit 34 prints the encrypted image data as it is and outputs it (step T12). This reception processing is the same as the operation at the time of normal facsimile reception in which received data is expanded and printed.
【0064】受信して印刷した暗号化画像を復号する場
合、使用者は画像読み込み部32により、暗号化画像デ
ータを印刷したものをガイド枠と共に読み込み、RAM
36に格納する(ステップT21)。次に、暗号化鍵あ
るいはそれに対応した復号化鍵を入力すると共に復号印
刷キーを操作する。制御部39は入力された鍵に従って
画像メモリに格納された画像データを復号する(ステッ
プT22)。そして、復号された画像データを印刷部に
より印刷する(ステップT23)。When decrypting the encrypted image received and printed, the user uses the image reading unit 32 to read the printed encrypted image data together with the guide frame, and then to the RAM.
The data is stored in 36 (step T21). Next, the encryption key or the corresponding decryption key is input and the decryption print key is operated. The control unit 39 decrypts the image data stored in the image memory according to the input key (step T22). Then, the decrypted image data is printed by the printing unit (step T23).
【0065】このように、第2実施例によれば、暗号化
された画像を印刷することなく、ファクシミリ通信で送
信し、受信者側で復号して印刷することができる。As described above, according to the second embodiment, the encrypted image can be transmitted by facsimile communication, and can be decrypted and printed by the receiver side without printing.
【0066】なお、この発明は上記実施例に限定され
ず、種々の変形及び応用が可能である。例えば、第2実
施例では、ファクシミリ通信により暗号化画像データを
伝送したが、他の有線又は無線通信により画像データを
伝送してもよい。また、暗号化の為のシフト方向、シフ
ト量等は例示であり、任意に変更できる。また、上記実
施例で使用した暗号化及び復号化のアルゴリズムは一例
にすぎず、他の任意の暗号化・復号化アルゴリズムを使
用することができる。The present invention is not limited to the above embodiment, and various modifications and applications are possible. For example, in the second embodiment, the encrypted image data is transmitted by facsimile communication, but the image data may be transmitted by other wired or wireless communication. Further, the shift direction, the shift amount, etc. for encryption are examples, and can be arbitrarily changed. Also, the encryption and decryption algorithms used in the above embodiments are merely examples, and other arbitrary encryption / decryption algorithms can be used.
【0067】上記実施例においては、画像の読み込みか
ら印刷までの一連の処理を行う画像データ処理装置にこ
の発明を適用したが、この発明はこれに限定されない。
例えば、画像を読み込んで暗号化して印刷する機能のみ
を有する装置、暗号化画像データを復号する機能のみを
有する装置を配置してもよい。Although the present invention is applied to the image data processing apparatus which performs a series of processes from image reading to printing in the above embodiment, the present invention is not limited to this.
For example, a device having only a function of reading an image, encoding and printing the image, and a device having only a function of decrypting encrypted image data may be arranged.
【0068】[0068]
【発明の効果】以上説明したように、この発明によれ
ば、入力して暗号化し、これを印刷したものを用いて通
信を行うことができる。従って、任意の文書を通常の通
信手段を用いて、しかも、機密性を保持した状態で通信
することができる。As described above, according to the present invention, it is possible to perform communication by using an input, encryption, and a print of this. Therefore, it is possible to communicate an arbitrary document by using a normal communication means while maintaining confidentiality.
【図1】この発明の第1実施例にかかる画像データ処理
装置を適用したワードプロセッサの構成を示す回路ブロ
ック図である。FIG. 1 is a circuit block diagram showing a configuration of a word processor to which an image data processing device according to a first embodiment of the present invention is applied.
【図2】図1に示すRAMの構成例を示すメモリマップ
である。FIG. 2 is a memory map showing a configuration example of a RAM shown in FIG.
【図3】画像を暗号化する手法を説明するための図であ
る。FIG. 3 is a diagram for explaining a method of encrypting an image.
【図4】画像に対しイメージリーダが傾いた状態を示す
図である。FIG. 4 is a diagram showing a state in which an image reader is tilted with respect to an image.
【図5】暗号化画像とガイド枠との関係を示す図であ
る。FIG. 5 is a diagram showing a relationship between an encrypted image and a guide frame.
【図6】画像を読み込んで暗号化して印刷する処理、及
び、暗号化された画像を読み込んで復号して印刷する処
理を説明するためのフローチャートである。FIG. 6 is a flowchart for explaining a process of reading an image, encrypting it, and printing it, and a process of reading an encrypted image, decrypting it, and printing it.
【図7】この発明の第2実施例にかかる画像データ処理
装置を適用したファクシミリ装置の構成を示す回路ブロ
ック図である。FIG. 7 is a circuit block diagram showing a configuration of a facsimile apparatus to which the image data processing apparatus according to the second embodiment of the present invention is applied.
【図8】画像を読み込んで暗号化し、暗号化した画像デ
ータをファクシミリ送信する処理を説明するフローチャ
ートである。FIG. 8 is a flowchart illustrating a process of reading an image, encrypting the image, and transmitting the encrypted image data by facsimile.
【図9】ファクシミリ送信されて来た画像データを受信
して印刷する処理を説明するフローチャートである。FIG. 9 is a flowchart illustrating a process of receiving image data transmitted by facsimile and printing the image data.
【図10】受信した暗号化画像データから元画像を復元
して印刷する処理を説明するフローチャートである。FIG. 10 is a flowchart illustrating a process of restoring an original image from received encrypted image data and printing the image.
11…キー入力部、12…イメージリーダ、13・・・A
/D変換部、14・・・表示部、15・・・印刷制御部、16
・・・印刷ヘッド、17…紙送りモータ、18…キャリッ
ジ駆動モータ、19…ROM、20…文字フォントメモ
リ、21…RAM、22・・・制御部、31…キー入力
部、32…画像読み込み部、33・・・表示部、34・・・印
刷部、35・・・ROM、36・・・RAM、37…受信部、
38…送信部、39…制御部11 ... Key input unit, 12 ... Image reader, 13 ... A
/ D conversion unit, 14 ... Display unit, 15 ... Print control unit, 16
... print head, 17 ... paper feed motor, 18 ... carriage drive motor, 19 ... ROM, 20 ... character font memory, 21 ... RAM, 22 ... control section, 31 ... key input section, 32 ... image reading section , 33 ... Display unit, 34 ... Printing unit, 35 ... ROM, 36 ... RAM, 37 ... Receiving unit,
38 ... Transmission unit, 39 ... Control unit
フロントページの続き (51)Int.Cl.6 識別記号 庁内整理番号 FI 技術表示箇所 H04L 9/10 9/12 Continued on the front page (51) Int.Cl. 6 Identification number Agency reference number FI Technical display location H04L 9/10 9/12
Claims (7)
手段と、 前記画像データ読み込み手段により読み込まれた原画像
の画像データを暗号化画像の画像データに変換する暗号
化手段と、 前記画像データ読み込み手段から読み込まれた暗号化画
像の画像データを復号化して原画像の画像データに変換
する復号化手段と、 前記暗号化手段により得られた前記暗号化画像の画像デ
ータ及び前記復号化手段により得られた前記原画像の画
像データを記録媒体に印刷する印刷手段と、 を備えることを特徴とする画像データ処理装置。1. An image data reading unit for reading image data, an encryption unit for converting image data of an original image read by the image data reading unit into image data of an encrypted image, and the image data reading unit. Decoding means for decoding the image data of the read encrypted image and converting it to the image data of the original image, the image data of the encrypted image obtained by the encrypting means, and the decrypting means An image data processing apparatus comprising: a printing unit that prints the image data of the original image on a recording medium.
手段と、 前記画像データ読み込み手段により読み込まれた原画像
の画像データを暗号化画像の画像データに変換する暗号
化手段と、 前記暗号化手段で得られた前記暗号化画像の画像データ
を送信するデータ送信手段と、 暗号化画像の画像データを受信するデータ受信手段と、 前記データ受信手段により受信された暗号化画像の画像
データを復号化して原画像の画像データに変換する復号
化手段と、 前記暗号化手段により得られた前記暗号化画像の画像デ
ータ及び前記復号化手段により得られた前記原画像の画
像データを記録媒体に印刷する印刷手段と、 を備えることを特徴とする画像データ処理装置。2. An image data reading means for reading image data, an encryption means for converting the image data of the original image read by the image data reading means into image data of an encrypted image, and the encryption means. Data transmitting means for transmitting the image data of the encrypted image, data receiving means for receiving the image data of the encrypted image, and decrypting the image data of the encrypted image received by the data receiving means to obtain the original data. Decoding means for converting into image data of the image, printing means for printing the image data of the encrypted image obtained by the encrypting means and the image data of the original image obtained by the decrypting means on a recording medium An image data processing device comprising:
力手段を備え、 前記暗号化手段は、前記入力手段から入力された暗号化
鍵に基づいて前記画像データを作成し、前記復号化手段
は、前記入力手段から入力される暗号化画像の暗号化の
際の暗号化鍵に対応する復号化鍵に基づいて暗号化画像
データを復号化することを特徴とする請求項1又は2に
記載の画像データ処理装置。3. An input means for inputting an encryption key and a decryption key is further provided, wherein the encryption means creates the image data based on the encryption key input from the input means, and performs the decryption. 3. The encryption unit decrypts the encrypted image data based on a decryption key corresponding to the encryption key used when encrypting the encrypted image input from the input unit. The image data processing device according to.
アに分割して並べ替え、且つ、エリア毎にデータの反転
処理を行うことにより暗号化画像データを生成すること
を特徴とする請求項1又は2に記載の画像データ処理装
置。4. The encryption means generates encrypted image data by dividing the image data into a plurality of areas and rearranging them, and performing a data inversion process for each area. The image data processing device according to 1 or 2.
する位置合わせ指標を前記暗号化画像データと共に記録
媒体に印刷することを特徴とする請求項4に記載の画像
データ処理装置。5. The image data processing apparatus according to claim 4, wherein the printing means prints alignment indexes corresponding to the plurality of areas on a recording medium together with the encrypted image data.
微小画像に分割して、並べ替える暗号化ステップと、 前記暗号化ステップにより並べ変えられた微小画像から
なる暗号化画像を出力する暗号化画像出力ステップと、 前記暗号化画像出力ステップにおいて出力された暗号化
画像を入力する暗号化画像入力ステップと、 前記暗号化画像入力ステップで入力された暗号化画像を
複数の微小画像に分割し、並べ変えることにより、原画
像を復号する復号ステップと、 前記復号ステップにより復号された原画像を出力する復
号画像出力ステップと、 を備えることを特徴とする画像データ処理方法。6. An original image input step of inputting an original image, an encryption step of dividing the original image input by the image input step into a plurality of minute images and rearranging them, and rearranging by the encryption step. An encrypted image output step of outputting an encrypted image formed of the minute image, an encrypted image input step of inputting the encrypted image output in the encrypted image output step, and an input of the encrypted image input step A decrypted step of decrypting the original image by dividing the encrypted image into a plurality of minute images and rearranging them, and a decrypted image output step of outputting the original image decrypted by the decryption step. Characteristic image data processing method.
微小画像に分割して、並べ替える暗号化ステップと、 前記暗号化ステップにより並べ変えられた微小画像から
なる暗号化画像を送信するステップと、 前記送信ステップにより送信された暗号化画像を受信す
る受信ステップと、 前記受信ステップにより受信した暗号化画像を出力する
暗号化画像出力ステップと、 前記暗号化画像出力ステップにおいて出力された暗号化
画像を入力する暗号化画像入力ステップと、 前記暗号化画像入力ステップで入力された暗号化画像を
複数の微小画像に分割し、並べ変えることにより、原画
像を復号する復号ステップと、 前記復号ステップにより復号された原画像を出力する復
号画像出力ステップと、 を備えることを特徴とする画像データ処理方法。7. An original image input step of inputting an original image, an encryption step of dividing the original image input by the image input step into a plurality of minute images and rearranging the minute images, and rearranging by the encryption step. A step of transmitting an encrypted image composed of the minute image, a receiving step of receiving the encrypted image transmitted by the transmitting step, and an encrypted image outputting step of outputting the encrypted image received by the receiving step. , An encrypted image input step of inputting the encrypted image output in the encrypted image output step, and dividing the encrypted image input in the encrypted image input step into a plurality of minute images and rearranging them A decoding step for decoding the original image, and a decoded image output step for outputting the original image decoded by the decoding step. An image data processing method, comprising:
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP6336694A JPH08179689A (en) | 1994-12-26 | 1994-12-26 | Image data processing device and image data processing method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP6336694A JPH08179689A (en) | 1994-12-26 | 1994-12-26 | Image data processing device and image data processing method |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH08179689A true JPH08179689A (en) | 1996-07-12 |
Family
ID=18301843
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP6336694A Pending JPH08179689A (en) | 1994-12-26 | 1994-12-26 | Image data processing device and image data processing method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH08179689A (en) |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2008053576A1 (en) | 2006-10-31 | 2008-05-08 | Fujitsu Limited | Image encryption/decryption device, method, and program |
EP2096858A2 (en) | 2008-02-28 | 2009-09-02 | Fujitsu Limited | Image decrypting apparatus, image encrypting apparatus, and image decrypting method |
JP2009200847A (en) * | 2008-02-21 | 2009-09-03 | Fujitsu Ltd | Image encryption apparatus, image decryption apparatus, image encryption method, image decryption method, and image encryption program |
EP2104331A1 (en) | 2008-03-21 | 2009-09-23 | Fujitsu Limited | Image processing apparatus and image processing method for partial encryption of image blocks |
EP2107792A1 (en) | 2008-03-31 | 2009-10-07 | Fujitsu Limited | Image encryption apparatus and image decryption apparatus |
US20100091337A1 (en) * | 2007-05-31 | 2010-04-15 | Pfu Limited | Paper medium information encrypting system, decrypting system, program and method |
JP2013117929A (en) * | 2011-12-05 | 2013-06-13 | Ricoh Co Ltd | Printing system and printing method |
US8509425B2 (en) | 2007-05-31 | 2013-08-13 | Pfu Limited | Image processing system, program and method |
US8515062B2 (en) | 2007-05-30 | 2013-08-20 | Fujitsu Limited | Image encryption/decryption apparatus, method and program |
US8873744B2 (en) | 2008-05-29 | 2014-10-28 | Pfu Limited | Electronic document processing system |
US8948385B2 (en) | 2007-05-31 | 2015-02-03 | Pfu Limited | Electronic document encrypting system, decrypting system, program and method |
-
1994
- 1994-12-26 JP JP6336694A patent/JPH08179689A/en active Pending
Cited By (18)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2008053576A1 (en) | 2006-10-31 | 2008-05-08 | Fujitsu Limited | Image encryption/decryption device, method, and program |
US8433067B2 (en) | 2006-10-31 | 2013-04-30 | Fujitsu Limited | Device, method, and program for image encryption/decryption |
US8515062B2 (en) | 2007-05-30 | 2013-08-20 | Fujitsu Limited | Image encryption/decryption apparatus, method and program |
US8948385B2 (en) | 2007-05-31 | 2015-02-03 | Pfu Limited | Electronic document encrypting system, decrypting system, program and method |
US8810862B2 (en) | 2007-05-31 | 2014-08-19 | Pfu Limited | Paper medium information encrypting system, decrypting system, program and method |
US8509425B2 (en) | 2007-05-31 | 2013-08-13 | Pfu Limited | Image processing system, program and method |
US20100091337A1 (en) * | 2007-05-31 | 2010-04-15 | Pfu Limited | Paper medium information encrypting system, decrypting system, program and method |
JP2009200847A (en) * | 2008-02-21 | 2009-09-03 | Fujitsu Ltd | Image encryption apparatus, image decryption apparatus, image encryption method, image decryption method, and image encryption program |
US8170208B2 (en) | 2008-02-28 | 2012-05-01 | Fujitsu Limited | Image decrypting apparatus, image encrypting apparatus, and image decrypting method |
CN102227125A (en) * | 2008-02-28 | 2011-10-26 | 富士通株式会社 | Image decryption device, image encryption device and image decryption method |
EP2096858A2 (en) | 2008-02-28 | 2009-09-02 | Fujitsu Limited | Image decrypting apparatus, image encrypting apparatus, and image decrypting method |
EP2104331A1 (en) | 2008-03-21 | 2009-09-23 | Fujitsu Limited | Image processing apparatus and image processing method for partial encryption of image blocks |
US8843756B2 (en) | 2008-03-21 | 2014-09-23 | Fujitsu Limited | Image processing apparatus and image processing method |
US8306221B2 (en) | 2008-03-31 | 2012-11-06 | Fujitsu Limited | Image encryption apparatus and image decryption apparatus |
JP2009244775A (en) * | 2008-03-31 | 2009-10-22 | Fujitsu Ltd | Image encryption apparatus and image decryption apparatus |
EP2107792A1 (en) | 2008-03-31 | 2009-10-07 | Fujitsu Limited | Image encryption apparatus and image decryption apparatus |
US8873744B2 (en) | 2008-05-29 | 2014-10-28 | Pfu Limited | Electronic document processing system |
JP2013117929A (en) * | 2011-12-05 | 2013-06-13 | Ricoh Co Ltd | Printing system and printing method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6542261B1 (en) | Method and apparatus for sending or receiving a secure fax | |
US5692048A (en) | Method and apparatus for sending secure facsimile transmissions and certified facsimile transmissions | |
JPH08179689A (en) | Image data processing device and image data processing method | |
CN101971607B (en) | Method and apparatus for secured facsimile transmission | |
JP4665663B2 (en) | Image transmission / reception system, image reception processing apparatus, program, and method | |
US5737454A (en) | Facsimile system having a function of processing a personal message and a method therefor | |
JP5393038B2 (en) | Information processing apparatus, information processing method and system | |
JP2003029629A (en) | Device for signing on paper medium document, device for verifying signature on paper medium document | |
JP2009130675A (en) | Facsimile communication apparatus and facsimile communication system | |
KR20040087541A (en) | Encryption Method of Secret Document using Digital Composite Apparatus | |
JPH08331394A (en) | Facsimile system | |
JP2008311972A (en) | Communication device | |
KR100233404B1 (en) | Received document security method in a fax | |
JP2006279831A (en) | Wireless connection setting system, wireless terminal, and connection data output device | |
JPH10322492A (en) | Image encryption device capable of paper copy print | |
JP3823874B2 (en) | Communication device | |
JP2008040630A (en) | Job processor, job processing program and job processing method | |
JP2004502966A (en) | Methods and systems for securely transmitting data | |
JP2000354147A (en) | Image input output device | |
JP4250303B2 (en) | Printing device | |
JP4145267B2 (en) | Information distribution system and information distribution method | |
JPH10301727A (en) | PRINT MANAGEMENT SYSTEM, PRINT MANAGEMENT METHOD, AND COMPUTER-READABLE RECORDING MEDIUM CONTAINING PRINT MANAGEMENT CONTROL PROGRAM | |
JPH08289160A (en) | Image communication equipment | |
JP2000341492A (en) | Compound facsimile machine | |
JP2009071767A (en) | Image processor |