Nothing Special   »   [go: up one dir, main page]

WO2010061456A1 - Information processing device, information processing method and image processing program - Google Patents

Information processing device, information processing method and image processing program Download PDF

Info

Publication number
WO2010061456A1
WO2010061456A1 PCT/JP2008/071555 JP2008071555W WO2010061456A1 WO 2010061456 A1 WO2010061456 A1 WO 2010061456A1 JP 2008071555 W JP2008071555 W JP 2008071555W WO 2010061456 A1 WO2010061456 A1 WO 2010061456A1
Authority
WO
WIPO (PCT)
Prior art keywords
display
information
image
displayed
display element
Prior art date
Application number
PCT/JP2008/071555
Other languages
French (fr)
Japanese (ja)
Inventor
高田 裕昭
Original Assignee
株式会社Pfu
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 株式会社Pfu filed Critical 株式会社Pfu
Priority to PCT/JP2008/071555 priority Critical patent/WO2010061456A1/en
Publication of WO2010061456A1 publication Critical patent/WO2010061456A1/en

Links

Images

Classifications

    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09CCIPHERING OR DECIPHERING APPARATUS FOR CRYPTOGRAPHIC OR OTHER PURPOSES INVOLVING THE NEED FOR SECRECY
    • G09C5/00Ciphering apparatus or methods not provided for in the preceding groups, e.g. involving the concealment or deformation of graphic data such as designs, written or printed messages
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules

Definitions

  • the present invention relates to a technique for encrypting and decrypting an electronic document.
  • 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
  • encryption key There is a technique for encrypting an image by reversing black and white and mirror reversal (see Patent Document 1).
  • 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.
  • the computerized information is easy to duplicate and spreads rapidly over a network such as the Internet. Therefore, there is a problem that the influence when important information is leaked is enormous. For this reason, in order to prevent leakage of information, conventionally, computerized information is encrypted.
  • the digitized information is usually encrypted by being subjected to encryption processing such as conversion as binary data, the encrypted data cannot be opened unless it is decrypted (such as on a display). There was a problem that it cannot be viewed.
  • the conventional method even if the information to be concealed is a part of the digitized information, the entire digitized information is encrypted. Was difficult.
  • an object of the present invention is to encrypt or decrypt a part of electronic information with a simple operation.
  • the present invention acquires a digital image of an area covered by a transparent display area, encrypts the digital image, and displays the encrypted image instead of the original display information. With this output, part of the electronic information can be encrypted with a simple operation.
  • the present invention relates to an information processing apparatus connected to a display device, the display element being displayed in a part of a display area of the display device, wherein at least a part of the display element is transmissively displayed.
  • the transparent display element display means for causing the display device to display the transparent display element that allows the display information covered by the display element to be visually recognized, and among the display information displayed in the display area, Information acquisition means for acquiring display information covered by a transparent display element as a digital image, encryption means for encrypting the digital image acquired by the information acquisition means based on an encryption key, and the transparent display
  • An information processing apparatus comprising: encrypted image output means for outputting the encrypted image so that the encrypted image encrypted by the encryption means is displayed instead of the display information covered by the element. That.
  • the present invention is also an information processing apparatus connected to a display device, wherein the display element is displayed in a part of a display area of the display device, and at least a part of the display element is transparently displayed.
  • the transparent display element display means for displaying on the display device a transparent display element that allows the display information covered by the display element to be visually recognized, and the transparent display among the display information displayed in the display area.
  • Information acquisition means for acquiring display information covered by an element as an encrypted image
  • decryption means for decoding the encrypted image acquired by the information acquisition means based on a decryption key
  • the transparent display element An information processing apparatus comprising: decoded information output means for outputting the decoded information so that the decoded information decoded by the decoding means is displayed instead of the covered display information.
  • the information processing apparatus is a computer connectable to a display device.
  • the display device may be any device that displays information in response to a signal output from the information processing device.
  • the display device includes a display device that displays a two-dimensional image, such as a liquid crystal display or a CRT (Cathode Ray Tube) display, which is conventionally used as a monitor for a computer.
  • a display device capable of performing typical display may be used.
  • a configuration other than the display device main body may be used as the display area. For example, a projector or the like that projects an image other than the display device main body corresponds to this.
  • the display information displayed by the display device includes general information that can be displayed by the information processing device, such as characters and graphics. Further, when displaying these pieces of information on a display device connected to the information processing device, the display information may be associated with display position information for specifying a display position in the display area.
  • the display position information is, for example, information indicating the coordinates at which a window is displayed in an information processing apparatus equipped with a multi-window system, the size of the window, etc., each display element (character, graphic, etc.) displayed in the desktop or window Information indicating the coordinates, size, and information indicating the coordinates of the pixels.
  • the display position information may be specified by information other than the coordinates and size, for example, a vector or a pixel number.
  • the display information covered by the display element (in other words, the display information superimposed on the back of the display element) is transmitted and visible.
  • a display element is used.
  • display elements displayed by the display device there are those called a desktop gadget, a widget, etc. in addition to a window in a computer equipped with a multi-window system, and generally, an input device such as a mouse or a keyboard is used. It is a display element that can be rearranged in accordance with an input user instruction.
  • the information processing apparatus further includes an input receiving unit that receives an input that indicates the display position of the transparent display element, and the transparent display element display unit is based on the instruction received by the input receiving unit.
  • the transparent display element may be displayed at the display position.
  • the transmissive display element actually transmits color information of a portion where the transmissive display element is displayed.
  • the transmissive display element By combining with the color information of the image of the part covered by the display element (the part corresponding to the back of the transparent display element) and adjusting it, it is displayed as if the image on the back is transparent from the user, and the display element The covered part is made visible.
  • a specific method for displaying the transmissive display element a method for performing three-dimensional display, a translucent display film, and the like as well as a method for adjusting color information that is generally used at present.
  • Various methods such as a method of making the back surface visible by displaying on the screen may be adopted.
  • the transparent display element according to the present invention is for providing an image encryption function or a decryption function as the above-exemplified window or desktop gadget.
  • the present invention acquires display information covered by such a transparent display element, that is, information that can be seen through the transparent display element when viewed from the user, and uses the acquired digital image as an image. It is characterized in that it is encrypted or decrypted and displayed in place of the original display information.
  • the transparent display element display means causes the display device to display the transparent display element in association with display position information for specifying a display position in the display area, and the information acquisition means includes the transparent display element.
  • the display information covered by the element may be acquired based on the display position information of the information and the display position information of the transparent display element. More specifically, the information acquisition means associates a display position specified using display position information associated with the display information, among the display information displayed in the display area, with the transparent display element.
  • the display information covered by the transmissive display element may be acquired by extracting display information that overlaps the display position specified using the displayed display position information.
  • transparent display elements such as a conventional document creation application and a spreadsheet application without individually creating an application having a function of encrypting or decrypting a part of an electronic document or the like. It is possible to easily add an encryption function or a decryption function that is not originally provided in an application relating to a window or the like displayed in the back by using the function of the transparent display element without the need for modification or change of the application.
  • the technology for displaying such a transparent element has been used only for the purpose of increasing the amount of information visible to the user or for the purpose of enhancing the aesthetics, whereas at least one of the display elements is used.
  • the transparent display element By utilizing the characteristic that the part is transparent, it is possible to arrange the transparent display element on the confidential information by user operation, acquire the information, and encrypt or decrypt the image.
  • an electronic document refers to a document including some information such as an electronic document, a chart, an illustration.
  • the present invention replaces a portion covered with a transparent window in an electronic document with an encrypted encrypted image or decrypted decrypted information, so that an encryption target portion is visually encrypted.
  • An electronic document or a decrypted electronic document can be generated.
  • the encrypted image output means may output the display information covered by the transparent display element to replace the display information, or the decrypted information output means may You may output so that this display information may be substituted with respect to the file containing the display information covered by the said transparent display element. That is, when the display information covered by the transparent display element is information displayed by, for example, a document creation application, the display information is cut out for the document creation application, and an encrypted image or decrypted information is used instead. To display a part of the information displayed by the document creation application in an encrypted or decrypted state, and furthermore, an electronic document related to the information displayed by the document creation application Can be replaced with encrypted or decrypted information.
  • 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.
  • 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.
  • 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.
  • a part of electronic information can be encrypted or decrypted with a simple operation.
  • FIG. 7 is a diagram illustrating a state in which an encryption process using a transparent window is performed from the state illustrated in FIG. 6 and an electronic document including an encrypted image is displayed in a window of a document creation application. It is a figure which shows the outline of a function structure of the information processing apparatus which concerns on embodiment. It is a flowchart which shows the flow of the decoding process by the decoding application based on embodiment. It is a figure which shows the process outline
  • FIG. 1 is a diagram illustrating an outline of a hardware configuration of an information processing apparatus 200 according to the present embodiment.
  • the information processing apparatus 200 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 an HDD (Hard Disk Drive) 103, and a ROM (Read Only Memory) 104, etc. And is connected to a display 105 as a display device, a mouse 106 and a keyboard 107 as input devices, and the like.
  • a CPU Central Processing Unit
  • main storage device such as a RAM (Random Access Memory) 102
  • an auxiliary storage device such as an HDD (Hard Disk Drive) 103
  • ROM Read Only Memory
  • FIG. 2 is a diagram illustrating an outline of a functional configuration of the information processing apparatus 200 according to the present embodiment.
  • the computer according to the present embodiment is covered by the transparent display element display unit 21 that displays the transparent window on the display 105 by the CPU interpreting and executing the encrypted application program expanded in the RAM 102 or the ROM 104, and the transparent window.
  • the information acquisition unit 22 that acquires the display information
  • the input reception unit 23 that receives various inputs from the user such as an input that indicates the display position of the transparent window
  • It functions as an information processing apparatus 200 that includes an encryption unit 11 that converts an encrypted image and an encrypted image output unit 12 that outputs the converted encrypted image.
  • each of these functional units is realized by the CPU executing each software module included in the encrypted application program.
  • each of these functional units is implemented by a dedicated processor or the like. It may be realized.
  • the computer according to the present embodiment is managed by an OS (Operating System) having a multi-window system, and the encryption application program is installed in the HDD of this computer.
  • OS Operating System
  • the transparent display element display unit 21 displays a transparent window on the display 105 in response to the activation of the encryption application program.
  • the transparent window according to the present embodiment functions as a transparent display element according to the present invention by transparently displaying part or all of the window as a display element.
  • the transparent display element according to the present invention only needs to be displayed as a user interface for providing a certain function, and other than what is usually called a window, what is called a so-called desktop gadget or widget. There may be.
  • the transparent window may be displayed by using an API (Application Program Interface) of the OS or an API of a program execution environment (for example, Adobe Air (registered trademark)) installed in the OS.
  • an API Application Program Interface
  • a program execution environment for example, Adobe Air (registered trademark)
  • the transparent window is attached with information (referred to as a “window identifier” in the present embodiment) for identifying the window, as with other windows displayed using the functions of the OS and the program execution environment.
  • the display position information of the window is stored in the RAM 102 or the HDD 103 in association with the window identifier. That is, in the present embodiment, the display position of the transparent window is managed by the OS and the program execution environment.
  • the information acquisition unit 22 acquires information on a portion covered by the transparent portion of the transparent window, that is, a portion seen through the transparent window from the display information displayed on the display 105.
  • the information acquisition part 22 acquires the information of the part covered with the transparent window as a digital image which is a set of pixels.
  • the window position information described above is used when such information is acquired. A more specific method for acquiring information will be described later.
  • FIG. 3 is a flowchart showing a flow of encryption processing by the encryption application according to the present embodiment.
  • the process shown in this flowchart starts when the user clicks on the icon of the encrypted application using a transparent window, and the OS of the information processing apparatus 200 is instructed to start the application. Is done.
  • the processing order described below is an example, and the specific processing order may be appropriately changed according to the embodiment.
  • a transparent window is displayed.
  • the transmissive display element display unit 21 displays a transmissive window so as to occupy a part of the display area of the display 105.
  • the display 105 in the present embodiment is a display device that displays in a display area where a two-dimensional image can be displayed. For this reason, the transmissive display element display unit 21 acquires color information of a portion where the transmissive portions of the transmissive window overlap, and adjusts the color information so that a part of the window is seen from the user's perspective, An image is displayed on the display 105 so that the covered information can be seen through.
  • the display position of the transparent window displayed here is managed by associating the window identifier and display position information indicating the display position in the display area.
  • the display position information of the transparent window is recorded in the RAM 102 or the HDD 103 in association with the window identifier. Thereafter, the process proceeds to step S102.
  • step S102 the display position of the transparent window is updated.
  • the input receiving unit 23 updates the display position of the transparent window according to an instruction to update the display position of the transparent window by a user operation using an input device such as the mouse 106 and the keyboard 107.
  • the input receiving unit 23 issues an instruction to update the display position (including the shape and size of the transparent window) based on a so-called drag-and-drop operation using the mouse 106 or an operation using the direction key.
  • the transparent window is received and moved to the designated position, and the transparent window is enlarged or reduced to the designated size.
  • the specific display position instruction operation may be performed by another input method using another input device, and the display position instruction may not be based on a user operation.
  • a function for designating a predetermined area or a function for designating an area in which a preset keyword is displayed, and an instruction to update the display position so that a transparent window is displayed to cover these areas. May be issued. Thereafter, the process proceeds to step S103.
  • FIG. 4 is a diagram showing a state in which the transparent window 303 according to the present embodiment is moved to a position where the transparent window 303 is superimposed on the spreadsheet application window 300 and covers display information to be encrypted.
  • a window 300 of an electronic document handled by a spreadsheet application is displayed, and a transparent window 303 is displayed superimposed on the window 300.
  • the transparent window 303 is displayed in a position and size covering the area (here, a so-called cell) 302 containing information that the user wants to encrypt in the window 300.
  • an encryption start instruction is accepted.
  • the input receiving unit 23 receives an input of an encryption start instruction by a user operation using an input device such as the mouse 106 and the keyboard 107. That is, after starting the encryption application, the user displays the transparent window on the display, then moves the transparent window to the position where the information to be encrypted is displayed, and instructs the information processing apparatus to start encryption. To start encryption using a transparent window.
  • a user operation for instructing to start encryption an operation of clicking a predetermined position using the mouse 106, a gesture operation using the mouse 106, a command operation using the keyboard 107, and the like are employed. It's okay. Thereafter, the process proceeds to step S104.
  • step S104 information on the portion covered by the transparent window is acquired.
  • the information acquisition unit 22 is covered with the transparent window by extracting display information included in the display position of the transparent window displayed in step S101 from the display information displayed on the display 105. Get part information.
  • the display information is acquired as an image as a set of pixels.
  • the information acquisition unit 22 cuts out a portion corresponding to the area indicated by the display position information (coordinates, size, etc.) of the transparent window from the image information drawn for the output of the display 105, so that the digital to be encrypted is obtained. Get an image.
  • the process proceeds to step S105.
  • step S105 encryption is performed.
  • the encryption unit 11 generates an encrypted image according to the digital image and the encryption key acquired in step S104. Also, as the encryption key used at this time, a preset key may be used, or an encryption key input interface is displayed and input by the user each time encryption processing is performed. Also good. Details of the encryption processing will be described later. Thereafter, the process proceeds to step S106.
  • an encrypted image is output.
  • the encrypted image output unit 12 deletes the code corresponding to the part to be encrypted from the displayed electronic document, and instead of the deleted code, the encrypted image data itself or the encrypted image
  • An encrypted electronic document is generated by inserting a link to. More specifically, the encrypted image output unit 12 covers the application related to the window (window 300 in the example of FIG. 3) on which the display information to be encrypted is displayed with a transparent window.
  • the selected part (cell 302 in the example of FIG. 3) is selected and deleted, and a series of operations for inserting the encrypted image generated at the deletion position (cell 302) is performed.
  • the encrypted image output unit 12 reproduces the user operation for replacing the display information with the encrypted image with respect to the display information to be encrypted, For any application, part of the information can be encrypted. However, the encrypted image may be delivered internally instead of reproducing the user operation. Thereafter, the processing shown in this flowchart ends.
  • FIG. 5 is a diagram showing an image of the electronic document including the encrypted image output by the encrypted image output unit 12 and the transparent window 303 used for encryption in the present embodiment.
  • FIG. 5 shows a state in which the encryption process by the transparent window 303 is performed from the state shown in FIG. 4 and an electronic document including the encrypted image 302B is displayed in the window 300 of the spreadsheet application.
  • the encrypted image output unit 12 deletes the code corresponding to the text portion 302 from the original electronic document, and inserts the encrypted image 302B in place of the deleted code, thereby encrypting the spreadsheet application. Generate an electronic document.
  • FIG. 6 is a diagram showing a state in which the transparent window 303 according to the present embodiment is moved to a position where the transparent window 303 is superimposed on the document creation application window 300B and covers the display information to be encrypted.
  • FIG. 7 is a diagram illustrating a state in which the encryption process using the transparent window 303 is performed from the state illustrated in FIG. 6 and the electronic document including the encrypted image 301B is displayed in the window 300B of the document creation application.
  • the electronic document includes a character string 301 and a graphic 304.
  • a part of the character string 301 and the graphic 304 are covered with a transparent window 303 as display information to be encrypted.
  • the encrypted image 301B generated by the encryption application is inserted into the electronic document instead of a part of the character string 301 and the graphic 304.
  • the partial encryption of the electronic document using the transparent window according to the present embodiment is not limited to the electronic document handled by the spreadsheet application exemplified by using FIG. 4 and FIG. It can be seen that the present invention can be applied to a wide range of electronic documents such as an electronic document handled by a document creation application. That is, the partial encryption using the transparent window according to the present embodiment has an interface capable of editing the displayed electronic document by basic user operations such as selection, deletion, and insertion. It can be applied to any application as long as it is an application.
  • FIG. 8 is a diagram illustrating an outline of a functional configuration of the information processing apparatus 500 according to the present embodiment.
  • the computer according to the present embodiment is covered with a transparent display element display unit 21 that displays a transparent window on the display 105 by the CPU interpreting and executing the decryption application program expanded in the RAM 102 or the ROM 104, and the transparent window.
  • An information acquisition unit 22 that acquires display information, an input reception unit 23 that receives various inputs from the user, such as an input that indicates the display position of a transparent window, and decrypts information (encrypted image) acquired by the information acquisition unit 22
  • It functions as an information processing apparatus 500 including a decryption unit 14 that converts to decrypted information based on a key, and a decrypted information output unit 501 that outputs decrypted information.
  • the hardware configuration of the information processing apparatus 500 is substantially the same as that of the information processing apparatus 200, and thus the description thereof is omitted (see FIG. 1).
  • the information acquisition unit 22 acquires an encrypted image included in the electronic document encrypted by the information processing apparatus 200.
  • the acquired encrypted image may be selected by a user operation, or may be automatically selected by detecting a regular pattern included in the encrypted image.
  • the encrypted image according to the present embodiment has a regular pattern generated by converting the pixel value of the input image, as will be described later.
  • the decrypted information output unit 501 generates a decrypted electronic document.
  • the digital image decrypted by the decryption unit 14 is output instead of the encrypted image in the portion where the encrypted image is output when the encrypted electronic document is output without being decrypted.
  • the decrypted information output unit 501 deletes the code (image data itself or link information) corresponding to the encrypted image from the encrypted electronic document, and describes a link to the decrypted digital image instead of the deleted code. By doing so, a decrypted electronic document is generated.
  • the image data itself may be replaced from the encrypted image to the decrypted image without changing the code.
  • the decoded information output unit 501 detects characters in the digital image decoded by the decoding unit 14 using a so-called OCR (Optical Character Recognition) technique, thereby identifying the characters in the digital image as characters.
  • An electronic document including character information by code may be generated.
  • the generated electronic document is preferably an electronic document in a format that can be handled by the same application as the application that generated the electronic document before encryption.
  • the electronic document generation unit 501 detects and specifies the format, charts and illustrations included in the digital image, and the arrangement thereof, so that the electronic document is close to the electronic document before being encrypted. Can be generated more accurately. By restoring the electronic document close to the electronic document before being encrypted, the decrypted information can be handled as the electronic document, and the convenience for the user is improved.
  • FIG. 9 is a flowchart showing a flow of decryption processing by the decryption application according to the present embodiment.
  • the processing shown in this flowchart is started when the user clicks on the decryption application icon using the transparent window and the OS of the information processing apparatus 200 is instructed to start the application.
  • the processing order described below is an example, and the specific processing order may be appropriately changed according to the embodiment.
  • step S201 a transparent window is displayed.
  • the transmissive display element display unit 21 displays a transmissive window so as to occupy a part of the display area of the display 105.
  • the details of the transparent window display process are the same as in step S101 described in the encryption process, and a description thereof will be omitted. Thereafter, the process proceeds to step S202.
  • step S202 the display position of the transparent window is updated.
  • the input receiving unit 23 updates the display position of the transparent window according to an instruction to update the display position of the transparent window by a user operation using an input device such as the mouse 106 and the keyboard 107.
  • the user uses an input device such as the mouse 106 and the keyboard 107 to display the transparent window at a position covering the encryption area.
  • FIG. 5 and FIG. 7 described above are diagrams showing an image at the time when the encryption process is completed. However, a state in which a transparent window is arranged at a position covering the encrypted image to be decrypted in the decryption process is also shown. The same.
  • the details of the process are the same as step S102 described in the encryption process, and thus the description thereof is omitted.
  • the indication of the display position may not be based on the user operation.
  • the position where the encrypted image is displayed is automatically detected based on the function for designating a predetermined area, the positioning marker described later, the regularity of the encrypted image, and the like.
  • An instruction to update the display position may be issued so that the transparent window is displayed so as to cover these areas by the function of designating the areas where the converted image is displayed. Thereafter, the process proceeds to step S203.
  • a decryption start instruction is accepted.
  • the input receiving unit 23 receives an input of a decoding start instruction by a user operation using an input device such as the mouse 106 and the keyboard 107. That is, after starting the decryption application, the user displays a transparent window on the display, then moves the transparent window to the position where the encrypted image to be decrypted is displayed, and instructs the information processing apparatus to start decryption. By giving, decoding using a transparent window is started.
  • a user operation for a decoding start instruction an operation of clicking a predetermined position using the mouse 106, a gesture operation using the mouse 106, a command operation using the keyboard 107, and the like are employed. Good. Thereafter, the process proceeds to step S204.
  • step S204 an encrypted image is acquired.
  • the information acquisition unit 22 acquires information on a portion covered by the transparent window by extracting display information included in the display position of the transparent window displayed in step S101 from the display information displayed on the display 105. To do.
  • the details of the image acquisition process are the same as in step S104 described in the encryption process, and a description thereof will be omitted. Thereafter, the process proceeds to step S205.
  • step S205 decryption is performed.
  • the decryption unit 14 decrypts the encrypted image to generate a digital image that has been decrypted.
  • a preset key may be used, or a decryption key input interface may be displayed and input by the user each time decryption processing is performed. . Details of the decoding process will be described later. Thereafter, the process proceeds to step S206.
  • step S206 the decrypted information is output.
  • the decrypted information output unit 501 deletes the encrypted image (or link information to the encrypted image) from the electronic document including the encrypted image covered by the transparent window, and replaces the deleted code with the decrypted information.
  • a decrypted electronic document is generated by inserting the information.
  • partial encryption and partial decryption of an electronic document are realized by using different transparent windows for the encryption application and the decryption application.
  • the encryption is performed in a single transparent window. It is also possible to have both functions of decoding and decoding.
  • FIG. 10 is a diagram showing a processing outline (part 1) of the encryption process and the decryption process.
  • an encryption unit 11 in the first to third aspects, referred to as encryption units 11A, 11B, and 11C, respectively
  • 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.
  • the decryption unit 14 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.
  • FIG. 11 is a diagram showing a process outline (part 2) of the encryption process and the decryption process.
  • 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.
  • FIG. 12 is a diagram showing an outline of the encryption processing in the first mode.
  • the encryption unit 11 ⁇ / b> A includes an encryption area determination unit 31, an image conversion unit 32, a pixel value conversion unit 33, and a marker addition unit 34.
  • the encryption area designating unit 31 selects an area to be encrypted from the input image including the area to be encrypted.
  • FIG. 13 is a diagram showing an example of selecting an encryption area. That is, as shown in FIG. 13A, 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. 13B 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.
  • 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.
  • FIG. 14 is a diagram showing an input example of the encryption key.
  • the example shown in FIG. 14 is an example of an encryption key and binary data generated by the encryption key.
  • a numerical value “1234” as an encryption key is input as binary data “100011010010”
  • a character string “ango” as an encryption key is input as binary data “01100001011011100110011101101111”.
  • 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.
  • the scramble process will be described.
  • 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.
  • FIG. 15 is a diagram illustrating an example of the scramble process in the image conversion unit.
  • 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.
  • 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.
  • the image area 62 that has undergone the above-described exchange processing 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.
  • 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.
  • FIG. 16 is a diagram illustrating another example of the scramble process in the image conversion unit.
  • a method of exchanging pixels in units of minute regions as shown in FIG. 16 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).
  • FIG. 17 is a diagram showing a modification of the shape of the micro area in the scramble processing.
  • a triangle as shown in FIG. 17A can be used in addition to the quadrangle shown in FIG.
  • minute regions having different shapes and sizes can coexist.
  • FIG. 18 is a diagram showing compression processing in the image conversion unit.
  • the input image 41 is a binary image
  • the image of the area 42 selected by the encryption area designating unit 31 is first compressed as shown in FIG. 18A, and shown in FIG. A binary string 71 is created.
  • the compression methods here include all kinds of compression, such as run-length compression used when transferring binary image data 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.
  • FIG. 19 is a diagram showing a process for converting the converted data into an image. Subsequent to the compression of the area 42 as shown in FIG. 18, each bit of the binary string 71, which is the converted compressed data, is “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.
  • the size of the rectangular image 81 depends on the compression rate of the selected region 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.
  • 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.
  • a compression ratio 1/16 or more is required.
  • a method in which information in the selected area 42 is dropped in advance and a method using an irreversible compression method are effective.
  • the encryption process for enlarging and compressing the compressed data described above can recognize the enlarged black and white block even when the encrypted image is read with a low resolution camera, for example, so that the encrypted image can be correctly decrypted.
  • 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.
  • FIG. 20 is a diagram illustrating an example (part 1) of the pixel value conversion process in the pixel value conversion unit.
  • 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.
  • the conversion is performed such that the scrambled image 63 shown in FIG. 20A is inverted at the colored portion of the checkered pattern (checkered) image 91 shown in FIG.
  • the converted image 92 in which the encrypted image 44 as a whole forms a substantially grid-like striped pattern is obtained.
  • 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.
  • the process of inverting the pixel value may be a process of adding a specified value.
  • the checkered pattern image 91 shown in FIG. 20B is substantially the same size as the scrambled image 63 shown in FIG. 20A, 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.
  • FIG. 21 is a diagram illustrating an example (part 2) of the pixel value conversion process 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 areas with high accuracy, it is also conceivable to convert the pixel value only at the boundary part as shown in FIG. Further, by performing pixel value conversion while shifting little by little with respect to the minute area as shown in FIG. 21B, 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. 21C, 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.
  • the shape of the minute region is not a square having a uniform size, but a triangle (FIG. 17A) or different sizes and shapes coexist as shown in FIG. 17 (FIG. 17B). ) 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.
  • 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 regularity is somewhat lost.
  • the statistical properties of the entire encrypted image are used to encrypt the image. The position can be detected.
  • 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.
  • 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.
  • FIG. 22 is a diagram showing 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, such as those in the shape of a Chinese character “field” like 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).
  • 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.
  • 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.
  • FIG. 23 is a diagram showing an example of an encrypted image.
  • the encrypted image 44 as shown in FIG. 23 is finally generated by the processing of the encryption unit 11A.
  • the encrypted image 44 includes a converted image 92 and a positioning marker 121.
  • FIG. 24 shows an example in which a grayscale image is encrypted.
  • 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.
  • FIG. 25 is a diagram showing an outline of the decryption process in the first mode.
  • 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.
  • 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.
  • the encryption area detection unit 142 detects an encrypted image area based on the positional relationship between the three positioning markers detected by the marker detection unit 141.
  • FIG. 26 is a diagram showing a process of detecting the encryption area from the positioning marker.
  • (A) of FIG. 26 when at least three positioning markers 152 are detected from the encrypted image 151 by the marker detection unit 141, as shown in (B), one encrypted 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.
  • FIG. 27 is a flowchart showing the flow of the encryption area detection process.
  • 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.
  • 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.
  • 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.
  • step S1605 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.
  • step S1605: Yes if the positional relationship between the selected three positioning markers 152 is a substantially right triangle (step S1605: Yes), 1 is substituted into the detection flag reg_detect in step S1607.
  • 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 the 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.
  • 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.
  • the pattern period (width) is first 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.
  • FFT Fast Fourier Transform
  • FIG. 28 is a diagram showing an example in which the encrypted position is detected.
  • 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.
  • 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.
  • FIG. 29 is a diagram showing an overall image of 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. 29 (A)) encryption is performed ((B) in FIG. 29), 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 processing is terminated ((C) in FIG. 29).
  • the check mark 182 is not detected ((D) in FIG. 29)
  • 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.
  • FIG. 30 is a diagram showing an outline of the encryption processing in the second mode.
  • 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.
  • the encryption area designating unit 31 selects an area to be encrypted from the input image including the area to be encrypted.
  • 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 an arbitrary 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.
  • 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.
  • FIG. 31 is a diagram showing an outline of the decoding process in the second mode.
  • 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.
  • the encryption 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.
  • FIG. 32 is a diagram for explaining an encryption area detection method.
  • (A) of FIG. 32 when the encrypted image 211 is subjected to frequency analysis, as shown in (B), 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.
  • 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.
  • 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.
  • FIG. 33 is a diagram for explaining a method of detecting the encryption position (horizontal direction).
  • the encrypted position 221 is detected as shown in 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.
  • 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.
  • FIG. 34 is a diagram showing an example of erroneous detection of the encrypted position.
  • 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.
  • FIG. 35 is a diagram showing an outline of the encryption processing in the third mode.
  • 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.
  • 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.
  • 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.
  • FIG. 36 is a diagram showing an outline of the decoding process in the third mode.
  • 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.
  • the marker detection unit 141 detects a positioning marker by the same method as the first mode
  • the subsequent encryption region detection unit 142 detects the encryption region by the same method as the first mode.
  • 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.
  • 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.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • General Health & Medical Sciences (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

It is an object to encrypt or decode a part of electronic information with simple work. In order to achieve the object, an information processing device is provided with a transmissive display element display means (21) that makes a display device display a transmissive window displayed on a display (105), an information acquisition means (22) that acquires display information covered with the transmissive window out of the display information displayed on the display (105) as a digital image, an encryption means (11) that encrypts the acquired digital image, and an encrypted image output means (12) that outputs the encrypted image so that an image encrypted by the encryption means (11) is displayed in place of the display information covered with the transmissive window.

Description

情報処理装置、画像処理方法および画像処理用プログラムInformation processing apparatus, image processing method, and image processing program
 本発明は、電子ドキュメントの暗号化および復号を行うための技術に関する。 The present invention relates to a technique for encrypting and decrypting an electronic document.
 印刷物の暗号化を扱った技術として、まず画像全体を複数のブロックに分割し、入力パスワード(暗号鍵)から得られるパラメータに基づき分割ブロックの画像を並び替え、さらにパラメータで指定されるブロックの画像を白黒反転およびミラー反転して画像を暗号化する技術がある(特許文献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
 電子化された情報は複製が容易であり、かつインターネット等のネットワークを通じて広範囲に急速に拡散するために、重要な情報が漏洩してしまった場合の影響が甚大であるという問題がある。このため、情報の漏洩を防止するために、従来、電子化情報の暗号化が行われている。 The computerized information is easy to duplicate and spreads rapidly over a network such as the Internet. Therefore, there is a problem that the influence when important information is leaked is enormous. For this reason, in order to prevent leakage of information, conventionally, computerized information is encrypted.
 しかし、電子化情報は、通常バイナリデータとして変換等の暗号化処理が施されることで暗号化されるため、暗号化されたデータは、復号を行わなければデータそのものを開けない(ディスプレイ等に表示して閲覧できない)という問題があった。特に、従来の方法では、電子化情報のうち秘匿すべき情報が一部であったとしても、電子化情報の全体が暗号化されるために、一部のみを秘匿してユーザに閲覧させることは困難であった。 However, since the digitized information is usually encrypted by being subjected to encryption processing such as conversion as binary data, the encrypted data cannot be opened unless it is decrypted (such as on a display). There was a problem that it cannot be viewed. In particular, in the conventional method, even if the information to be concealed is a part of the digitized information, the entire digitized information is encrypted. Was difficult.
 また、電子化情報の一部を暗号化する場合には、電子化情報の一部を暗号化するための専用のソフトウェアが必要となる。このため、従来から用いられている文書作成アプリケーションや表計算アプリケーション等において、一部のみを暗号化したい場合には、このような専用ソフトウェアに、他のアプリケーション、例えば、文書作成アプリケーションや表計算アプリケーション等のファイル形式を扱うための互換性を持たせる必要がある。 Also, when encrypting part of the digitized information, dedicated software for encrypting part of the digitized information is required. For this reason, when it is desired to encrypt only a part of a conventionally used document creation application, spreadsheet application, etc., other applications such as a document creation application, a spreadsheet application, etc. It is necessary to provide compatibility for handling file formats such as.
 本発明は、上記した問題に鑑み、電子情報の一部を、簡易な作業で暗号化または復号することを課題とする。 In view of the above problems, an object of the present invention is to encrypt or decrypt a part of electronic information with a simple operation.
 本発明は、上記した課題を解決するために、透過表示領域に覆われた領域のデジタル画像を取得し、このデジタル画像を暗号化して、元の表示情報に代えて暗号化画像が表示されるよう出力することで、電子情報の一部を、簡易な作業で暗号化することを可能にした。 In order to solve the above-described problems, the present invention acquires a digital image of an area covered by a transparent display area, encrypts the digital image, and displays the encrypted image instead of the original display information. With this output, part of the electronic information can be encrypted with a simple operation.
 詳細には、本発明は、表示装置に接続される情報処理装置であって、前記表示装置の表示領域の一部に表示される表示要素であって、該表示要素の少なくとも一部が透過表示されることで、該表示要素に覆われた表示情報を視認可能とする透過表示要素を、該表示装置に表示させる透過表示要素表示手段と、前記表示領域に表示された表示情報のうち、前記透過表示要素に覆われた表示情報を、デジタル画像として取得する情報取得手段と、前記情報取得手段によって取得された前記デジタル画像を、暗号鍵に基づいて暗号化する暗号化手段と、前記透過表示要素に覆われた表示情報に代えて、前記暗号化手段によって暗号化された暗号化画像が表示されるよう、該暗号化画像を出力する、暗号化画像出力手段と、を備える情報処理装置である。 Specifically, the present invention relates to an information processing apparatus connected to a display device, the display element being displayed in a part of a display area of the display device, wherein at least a part of the display element is transmissively displayed. The transparent display element display means for causing the display device to display the transparent display element that allows the display information covered by the display element to be visually recognized, and among the display information displayed in the display area, Information acquisition means for acquiring display information covered by a transparent display element as a digital image, encryption means for encrypting the digital image acquired by the information acquisition means based on an encryption key, and the transparent display An information processing apparatus comprising: encrypted image output means for outputting the encrypted image so that the encrypted image encrypted by the encryption means is displayed instead of the display information covered by the element. That.
 また、本発明は、表示装置に接続される情報処理装置であって、前記表示装置の表示領域の一部に表示される表示要素であって、該表示要素の少なくとも一部が透過表示されることで、該表示要素に覆われた表示情報を視認可能とする透過表示要素を、該表示装置に表示させる透過表示要素表示手段と、前記表示領域に表示された表示情報のうち、前記透過表示要素に覆われた表示情報を、暗号化画像として取得する情報取得手段と、前記情報取得手段によって取得された前記暗号化画像を、復号鍵に基づいて復号する復号手段と、前記透過表示要素に覆われた表示情報に代えて、前記復号手段によって復号された復号済情報が表示されるよう、該復号済情報を出力する、復号済情報出力手段と、を備える情報処理装置である。 The present invention is also an information processing apparatus connected to a display device, wherein the display element is displayed in a part of a display area of the display device, and at least a part of the display element is transparently displayed. Thus, the transparent display element display means for displaying on the display device a transparent display element that allows the display information covered by the display element to be visually recognized, and the transparent display among the display information displayed in the display area. Information acquisition means for acquiring display information covered by an element as an encrypted image, decryption means for decoding the encrypted image acquired by the information acquisition means based on a decryption key, and the transparent display element An information processing apparatus comprising: decoded information output means for outputting the decoded information so that the decoded information decoded by the decoding means is displayed instead of the covered display information.
 本発明に係る情報処理装置は、表示装置に接続可能なコンピュータである。ここで、表示装置は、情報処理装置から出力された信号を受けて情報の表示を行うものであればよい。表示装置には、従来コンピュータ用のモニタとして用いられている液晶ディスプレイやCRT(Cathode Ray Tube)ディスプレイ等、2次元画像の表示を行う表示装置の他、3次元画像の表示を行うことでより立体的な表示を行うことが可能な表示装置が用いられてもよい。また、表示装置による表示領域としては、表示装置本体に設けられた表示領域の他、表示装置本体以外の構成が表示領域として用いられてもよい。例えば、表示装置本体以外に映像を投影するプロジェクタ等がこれにあたる。 The information processing apparatus according to the present invention is a computer connectable to a display device. Here, the display device may be any device that displays information in response to a signal output from the information processing device. The display device includes a display device that displays a two-dimensional image, such as a liquid crystal display or a CRT (Cathode Ray Tube) display, which is conventionally used as a monitor for a computer. A display device capable of performing typical display may be used. In addition to the display area provided in the display device main body, a configuration other than the display device main body may be used as the display area. For example, a projector or the like that projects an image other than the display device main body corresponds to this.
 本発明において、表示装置によって表示される表示情報には、文字やグラフィック等、情報処理装置によって表示可能な情報全般が含まれるものとする。また、これらの情報を情報処理装置に接続された表示装置に表示させるにあたって、表示情報は、表示領域における表示位置を特定するための表示位置情報と関連付けられてもよい。表示位置情報とは、例えば、マルチウィンドウシステムを備える情報処理装置においてウィンドウが表示される座標や、ウィンドウのサイズ等を示す情報、デスクトップやウィンドウ内に表示される各表示要素(文字、グラフィック等)の座標、サイズを示す情報、更には画素の座標を示す情報等である。但し、表示位置情報は、座標およびサイズ以外の情報、例えばベクトルやピクセル番号等で特定されてもよい。 In the present invention, the display information displayed by the display device includes general information that can be displayed by the information processing device, such as characters and graphics. Further, when displaying these pieces of information on a display device connected to the information processing device, the display information may be associated with display position information for specifying a display position in the display area. The display position information is, for example, information indicating the coordinates at which a window is displayed in an information processing apparatus equipped with a multi-window system, the size of the window, etc., each display element (character, graphic, etc.) displayed in the desktop or window Information indicating the coordinates, size, and information indicating the coordinates of the pixels. However, the display position information may be specified by information other than the coordinates and size, for example, a vector or a pixel number.
 本発明では、表示装置によって表示される様々な表示要素のうち、該表示要素に覆われた表示情報(換言すると、該表示要素の奥に重ねられた表示情報)を透過して視認可能な透過表示要素が用いられる。表示装置によって表示される表示要素としては、マルチウィンドウシステムを備えるコンピュータにおけるウィンドウの他、デスクトップガジェット、ウィジェット等と称されるものがあり、一般的には、マウスやキーボード等の入力装置を介して入力されたユーザの指示に従って再配置可能な表示要素である。 In the present invention, among various display elements displayed by the display device, the display information covered by the display element (in other words, the display information superimposed on the back of the display element) is transmitted and visible. A display element is used. As display elements displayed by the display device, there are those called a desktop gadget, a widget, etc. in addition to a window in a computer equipped with a multi-window system, and generally, an input device such as a mouse or a keyboard is used. It is a display element that can be rearranged in accordance with an input user instruction.
 即ち、本発明に係る情報処理装置は、前記透過表示要素の表示位置を指示する入力を受け付ける入力受付手段を更に備え、前記透過表示要素表示手段は、前記入力受付手段によって受け付けられた指示に基づく表示位置に、前記透過表示要素を表示させてもよい。 That is, the information processing apparatus according to the present invention further includes an input receiving unit that receives an input that indicates the display position of the transparent display element, and the transparent display element display unit is based on the instruction received by the input receiving unit. The transparent display element may be displayed at the display position.
 透過表示要素は、従来コンピュータ用のモニタとして用いられている液晶ディスプレイやCRTディスプレイ等、2次元画像の表示を行う表示装置では、実際には透過表示要素が表示される部分の色情報を、透過表示要素に覆われる部分(透過表示要素の背面にあたる部分)の画像の色情報と合成して調整することで、ユーザから背面の画像があたかも透過しているかのように表示して、表示要素に覆われた部分を視認可能とするものである。但し、透過表示要素を表示する具体的な手法としては、このような現在一般的に用いられている色情報を調整する手法以外にも、3次元表示を行う方法や、透光性の表示膜に表示することで背面を視認可能にする方法等、様々な手法が採用されてよい。 In a display device that displays a two-dimensional image, such as a liquid crystal display or a CRT display, which is conventionally used as a monitor for a computer, the transmissive display element actually transmits color information of a portion where the transmissive display element is displayed. By combining with the color information of the image of the part covered by the display element (the part corresponding to the back of the transparent display element) and adjusting it, it is displayed as if the image on the back is transparent from the user, and the display element The covered part is made visible. However, as a specific method for displaying the transmissive display element, a method for performing three-dimensional display, a translucent display film, and the like as well as a method for adjusting color information that is generally used at present. Various methods such as a method of making the back surface visible by displaying on the screen may be adopted.
 また、本発明に係る透過表示要素は、上記例示したウィンドウやデスクトップガジェットとして、画像の暗号化機能または復号機能を提供するためのものである。本発明は、このような透過表示要素に覆われた表示情報、即ち、ユーザから見てこの透過表示要素の下に透けて見える情報を取得して、取得された情報であるデジタル画像を画像として暗号化または復号し、元の表示情報に代えて表示させる点で特徴を有する。 Further, the transparent display element according to the present invention is for providing an image encryption function or a decryption function as the above-exemplified window or desktop gadget. The present invention acquires display information covered by such a transparent display element, that is, information that can be seen through the transparent display element when viewed from the user, and uses the acquired digital image as an image. It is characterized in that it is encrypted or decrypted and displayed in place of the original display information.
 なお、前記透過表示要素表示手段は、前記透過表示要素を、前記表示領域における表示位置を特定するための表示位置情報と関連付けて、該表示装置に表示させ、前記情報取得手段は、前記透過表示要素に覆われた表示情報を、該情報の表示位置情報および前記透過表示要素の表示位置情報に基づいて取得してもよい。より具体的には、前記情報取得手段は、前記表示領域に表示された表示情報のうち、該表示情報に関連付けられた表示位置情報を用いて特定された表示位置が、前記透過表示要素に関連付けられた表示位置情報を用いて特定された表示位置に重なる表示情報を抽出することで、前記透過表示要素に覆われた表示情報を取得してもよい。 The transparent display element display means causes the display device to display the transparent display element in association with display position information for specifying a display position in the display area, and the information acquisition means includes the transparent display element. The display information covered by the element may be acquired based on the display position information of the information and the display position information of the transparent display element. More specifically, the information acquisition means associates a display position specified using display position information associated with the display information, among the display information displayed in the display area, with the transparent display element. The display information covered by the transmissive display element may be acquired by extracting display information that overlaps the display position specified using the displayed display position information.
 このような特徴を有することで、電子ドキュメント等の一部を暗号化または復号する機能を備えるアプリケーションを個別に作成することなく、また、従来の文書作成アプリケーションや表計算アプリケーション等、透過表示要素の奥に表示されているウィンドウ等に係るアプリケーションが本来備えない暗号化機能または復号機能を、アプリケーションの改造や変更の必要なく、透過表示要素の機能によって簡易に追加することが可能である。更に、従来、このような透過要素を表示するための技術が、専らユーザの視認可能な情報量を高める目的や、美観を高める目的にのみ用いられていたのに対して、表示要素の少なくとも一部が透過するという特性を利用して、ユーザ操作によって秘匿情報の上に透過表示要素を配置させ、情報を取得して画像の暗号化または復号を行うことが可能となる。 By having such characteristics, it is possible to create transparent display elements such as a conventional document creation application and a spreadsheet application without individually creating an application having a function of encrypting or decrypting a part of an electronic document or the like. It is possible to easily add an encryption function or a decryption function that is not originally provided in an application relating to a window or the like displayed in the back by using the function of the transparent display element without the need for modification or change of the application. Further, conventionally, the technology for displaying such a transparent element has been used only for the purpose of increasing the amount of information visible to the user or for the purpose of enhancing the aesthetics, whereas at least one of the display elements is used. By utilizing the characteristic that the part is transparent, it is possible to arrange the transparent display element on the confidential information by user operation, acquire the information, and encrypt or decrypt the image.
 ここで、電子ドキュメントとは、電子化された文書、図表、イラスト等の何らかの情報を含むドキュメントをいう。本発明は、電子ドキュメント中の透過ウィンドウで覆われた部分を、暗号化された暗号化画像、または復号された復号済情報で置き換えることで、暗号化対象部分が視覚的に暗号化された暗号化電子ドキュメント、または復号済電子ドキュメントを生成することを可能とした。 Here, an electronic document refers to a document including some information such as an electronic document, a chart, an illustration. The present invention replaces a portion covered with a transparent window in an electronic document with an encrypted encrypted image or decrypted decrypted information, so that an encryption target portion is visually encrypted. An electronic document or a decrypted electronic document can be generated.
 また、前記暗号化画像出力手段は、前記透過表示要素に覆われた表示情報を表示するアプリケーションに対して、該表示情報を置き換えるように出力してもよいし、前記復号済情報出力手段は、前記透過表示要素に覆われた表示情報を含むファイルに対して、該表示情報を置き換えるように出力してもよい。即ち、透過表示要素に覆われた表示情報が、例えば文書作成アプリケーションによって表示されている情報である場合、この文書作成アプリケーションに対して、この表示情報を切り取り、代わりに暗号化画像または復号済情報を挿入するように出力することで、文書作成アプリケーションによって表示されている情報の一部を、暗号化または復号された状態で表示させ、更に、文書作成アプリケーションによって表示されている情報に係る電子ドキュメントの一部を、暗号化または復号された情報に置き換えることが出来る。 The encrypted image output means may output the display information covered by the transparent display element to replace the display information, or the decrypted information output means may You may output so that this display information may be substituted with respect to the file containing the display information covered by the said transparent display element. That is, when the display information covered by the transparent display element is information displayed by, for example, a document creation application, the display information is cut out for the document creation application, and an encrypted image or decrypted information is used instead. To display a part of the information displayed by the document creation application in an encrypted or decrypted state, and furthermore, an electronic document related to the information displayed by the document creation application Can be replaced with encrypted or decrypted information.
 更に、本発明は、コンピュータが実行する方法、又はコンピュータを上記各手段として機能させるためのプログラムとしても把握することが可能である。また、本発明は、そのようなプログラムをコンピュータその他の装置、機械等が読み取り可能な記録媒体に記録したものでもよい。ここで、コンピュータ等が読み取り可能な記録媒体とは、データやプログラム等の情報を電気的、磁気的、光学的、機械的、または化学的作用によって蓄積し、コンピュータ等から読み取ることができる記録媒体をいう。 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, a part of electronic information can be encrypted or decrypted with a simple operation.
実施形態に係る情報処理装置のハードウェア構成の概略を示す図である。It is a figure which shows the outline of the hardware constitutions of the information processing apparatus which concerns on embodiment. 実施形態に係る情報処理装置の機能構成の概略を示す図である。It is a figure which shows the outline of a function structure of the information processing apparatus which concerns on embodiment. 実施形態に係る、暗号化アプリケーションによる暗号化処理の流れを示すフローチャートである。It is a flowchart which shows the flow of the encryption process by the encryption application based on Embodiment. 実施形態に係る透過ウィンドウが、表計算アプリケーションのウィンドウに重畳表示され、暗号化の対象となる表示情報を覆う位置まで移動された状態を示す図である。It is a figure which shows the state which the transparent window which concerns on embodiment was superimposed on the window of the spreadsheet application, and was moved to the position which covers the display information used as the object of encryption. 実施形態において、暗号化画像出力部によって出力された暗号化画像を含む電子ドキュメント、および暗号化に用いられた透過ウィンドウのイメージを示す図である。In an embodiment, it is a figure showing an image of an electronic document containing an encryption picture outputted by an encryption picture output part, and a transparent window used for encryption. 実施形態に係る透過ウィンドウが、文書作成アプリケーションのウィンドウに重畳表示され、暗号化の対象となる表示情報を覆う位置まで移動された状態を示す図である。It is a figure which shows the state which the transparent window based on embodiment was superimposed on the window of the document preparation application, and was moved to the position which covers the display information used as the object of encryption. 図6に示された状態から、透過ウィンドウによる暗号化処理が行われ、文書作成アプリケーションのウィンドウに、暗号化画像を含む電子ドキュメントが表示されている状態を示す図である。FIG. 7 is a diagram illustrating a state in which an encryption process using a transparent window is performed from the state illustrated in FIG. 6 and an electronic document including an encrypted image is displayed in a window of a document creation application. 実施形態に係る情報処理装置の機能構成の概略を示す図である。It is a figure which shows the outline of a function structure of the information processing apparatus which concerns on embodiment. 実施形態に係る、復号アプリケーションによる復号処理の流れを示すフローチャートである。It is a flowchart which shows the flow of the decoding process by the decoding application based on embodiment. 暗号化処理および復号処理の処理概要(その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は、本実施形態に係る情報処理装置200のハードウェア構成の概略を示す図である。情報処理装置200は、CPU(Central Processing Unit)101、RAM(Random Access Memory)102等の主記憶装置、HDD(Hard Disk Drive)103等の補助記憶装置、およびROM(Read Only Memory)104、等を有するコンピュータであり、更に、表示装置としてのディスプレイ105、および入力装置としてのマウス106、キーボード107等に接続されている。
<Encryption of electronic documents>
First, an encryption application for performing partial encryption of an electronic document using a transparent window according to the present invention will be described. FIG. 1 is a diagram illustrating an outline of a hardware configuration of an information processing apparatus 200 according to the present embodiment. The information processing apparatus 200 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 an HDD (Hard Disk Drive) 103, and a ROM (Read Only Memory) 104, etc. And is connected to a display 105 as a display device, a mouse 106 and a keyboard 107 as input devices, and the like.
 図2は、本実施形態に係る情報処理装置200の機能構成の概略を示す図である。本実施形態に係るコンピュータは、RAM102又はROM104に展開された暗号化アプリケーションプログラムをCPUが解釈及び実行することで、ディスプレイ105に透過ウィンドウを表示させる透過表示要素表示部21と、透過ウィンドウに覆われた表示情報を取得する情報取得部22と、透過ウィンドウの表示位置を指示する入力等ユーザからの各種入力を受け付ける入力受付部23と、情報取得部22によって取得された情報を暗号鍵に基づいて暗号化画像に変換する暗号化部11と、変換された暗号化画像を出力する暗号化画像出力部12と、を備える情報処理装置200として機能する。 FIG. 2 is a diagram illustrating an outline of a functional configuration of the information processing apparatus 200 according to the present embodiment. The computer according to the present embodiment is covered by the transparent display element display unit 21 that displays the transparent window on the display 105 by the CPU interpreting and executing the encrypted application program expanded in the RAM 102 or the ROM 104, and the transparent window. The information acquisition unit 22 that acquires the display information, the input reception unit 23 that receives various inputs from the user such as an input that indicates the display position of the transparent window, and the information acquired by the information acquisition unit 22 based on the encryption key It functions as an information processing apparatus 200 that includes an encryption unit 11 that converts an encrypted image and an encrypted image output unit 12 that outputs the converted encrypted image.
 なお、本実施形態では、これらの各機能部は、暗号化アプリケーションプログラムに含まれる各ソフトウェアモジュールがCPUによって実行されることで実現されているが、これらの各機能部は、専用のプロセッサ等によって実現されてもよい。また、本実施形態に係るコンピュータは、マルチウィンドウシステムを備えたOS(Operating System)によって管理され、上記暗号化アプリケーションプログラムは、このコンピュータのHDDにインストールされている。 In this embodiment, each of these functional units is realized by the CPU executing each software module included in the encrypted application program. However, each of these functional units is implemented by a dedicated processor or the like. It may be realized. The computer according to the present embodiment is managed by an OS (Operating System) having a multi-window system, and the encryption application program is installed in the HDD of this computer.
 透過表示要素表示部21は、暗号化アプリケーションプログラムの起動を受けて、ディスプレイ105に透過ウィンドウを表示させる。ここで、本実施形態に係る透過ウィンドウは、表示要素としてのウィンドウの一部または全部が透過表示されることで、本発明に係る透過表示要素として機能する。但し、本発明に係る透過表示要素は、何らかの機能を提供するためのユーザインターフェースとして表示されるものであればよく、通常ウィンドウと呼ばれるもの以外にも、所謂デスクトップガジェット、ウィジェットと称されるものであってもよい。なお、透過ウィンドウは、OSのAPI(Application Program Interface)や、OSにインストールされたプログラム実行環境(例えば、Adobe Air(登録商標)等)のAPIを用いることで表示されてよい。 The transparent display element display unit 21 displays a transparent window on the display 105 in response to the activation of the encryption application program. Here, the transparent window according to the present embodiment functions as a transparent display element according to the present invention by transparently displaying part or all of the window as a display element. However, the transparent display element according to the present invention only needs to be displayed as a user interface for providing a certain function, and other than what is usually called a window, what is called a so-called desktop gadget or widget. There may be. Note that the transparent window may be displayed by using an API (Application Program Interface) of the OS or an API of a program execution environment (for example, Adobe Air (registered trademark)) installed in the OS.
 また、透過ウィンドウには、OSやプログラム実行環境の機能を用いて表示される他のウィンドウと同様、ウィンドウを識別するための情報(本実施形態では「ウィンドウ識別子」と称する)が付され、このウィンドウの表示位置情報が、ウィンドウ識別子と関連付けられてRAM102またはHDD103に保存される。即ち、本実施形態では、透過ウィンドウの表示位置は、OSやプログラム実行環境によって管理される。 The transparent window is attached with information (referred to as a “window identifier” in the present embodiment) for identifying the window, as with other windows displayed using the functions of the OS and the program execution environment. The display position information of the window is stored in the RAM 102 or the HDD 103 in association with the window identifier. That is, in the present embodiment, the display position of the transparent window is managed by the OS and the program execution environment.
 情報取得部22は、ディスプレイ105に表示されている表示情報のうち、透過ウィンドウの透過部分に覆われた部分、即ち、ユーザから見て透過ウィンドウを介して透けて見える部分の情報を取得する。ここで、情報取得部22は、透過ウィンドウに覆われた部分の情報を、画素の集合であるデジタル画像として取得する。上述したウィンドウの位置情報は、このような情報を取得する際に用いられる。情報を取得するより具体的な方法については、後述する。 The information acquisition unit 22 acquires information on a portion covered by the transparent portion of the transparent window, that is, a portion seen through the transparent window from the display information displayed on the display 105. Here, the information acquisition part 22 acquires the information of the part covered with the transparent window as a digital image which is a set of pixels. The window position information described above is used when such information is acquired. A more specific method for acquiring information will be described later.
 図3は、本実施形態に係る、暗号化アプリケーションによる暗号化処理の流れを示すフローチャートである。本フローチャートに示された処理は、ユーザによって、透過ウィンドウを用いた暗号化アプリケーションのアイコンがクリック等されることで、情報処理装置200のOSにこのアプリケーションの起動が指示されたことを契機として開始される。また、以下に説明する処理順序は一例であり、具体的な処理順序は、実施の形態に応じて適宜変更されてよい。 FIG. 3 is a flowchart showing a flow of encryption processing by the encryption application according to the present embodiment. The process shown in this flowchart starts when the user clicks on the icon of the encrypted application using a transparent window, and the OS of the information processing apparatus 200 is instructed to start the application. Is done. Further, the processing order described below is an example, and the specific processing order may be appropriately changed according to the embodiment.
 ステップS101では、透過ウィンドウが表示される。透過表示要素表示部21は、ディスプレイ105の表示領域の一部領域を占めるように、透過ウィンドウを表示する。ここで、本実施形態におけるディスプレイ105は、2次元の画像を表示可能な表示領域に表示を行う表示装置である。このため、透過表示要素表示部21は、透過ウィンドウの透過部分が重なる部分の色情報を取得し、この色情報を調整することで、ユーザから見てウィンドウの一部が透過し、該部分に覆われた情報が透けて見えるような画像を、ディスプレイ105に表示させる。なお、ここで表示される透過ウィンドウの表示位置は、ウィンドウ識別子と表示領域における表示位置を示す表示位置情報とが関連付けられることで管理される。透過ウィンドウの表示位置情報は、ウィンドウ識別子と関連付けられて、RAM102またはHDD103等に記録される。その後、処理はステップS102へ進む。 In step S101, a transparent window is displayed. The transmissive display element display unit 21 displays a transmissive window so as to occupy a part of the display area of the display 105. Here, the display 105 in the present embodiment is a display device that displays in a display area where a two-dimensional image can be displayed. For this reason, the transmissive display element display unit 21 acquires color information of a portion where the transmissive portions of the transmissive window overlap, and adjusts the color information so that a part of the window is seen from the user's perspective, An image is displayed on the display 105 so that the covered information can be seen through. The display position of the transparent window displayed here is managed by associating the window identifier and display position information indicating the display position in the display area. The display position information of the transparent window is recorded in the RAM 102 or the HDD 103 in association with the window identifier. Thereafter, the process proceeds to step S102.
 ステップS102では、透過ウィンドウの表示位置が更新される。入力受付部23は、マウス106やキーボード107等の入力装置を用いたユーザ操作による、透過ウィンドウの表示位置の更新指示に従って、透過ウィンドウの表示位置を更新する。例えば、入力受付部23は、ユーザによる、マウス106を用いた所謂ドラッグアンドドロップ操作や、方向キーを用いた操作等に基づいて、表示位置(透過ウィンドウの形状やサイズを含む)の更新指示を受け付け、指示された位置まで透過ウィンドウを移動させ、指示されたサイズまで透過ウィンドウを拡大または縮小する。但し、具体的な表示位置の指示操作は、その他の入力装置によるその他の入力方法によってもよいし、また、表示位置の指示は、ユーザ操作に基づくものでなくてもよい。例えば、予め定められた領域を指定する機能や、予め設定されたキーワードが表示されている領域を指定する機能によって、これらの領域を覆うように透過ウィンドウが表示されるよう、表示位置の更新指示が発行されてもよい。その後、処理はステップS103へ進む。 In step S102, the display position of the transparent window is updated. The input receiving unit 23 updates the display position of the transparent window according to an instruction to update the display position of the transparent window by a user operation using an input device such as the mouse 106 and the keyboard 107. For example, the input receiving unit 23 issues an instruction to update the display position (including the shape and size of the transparent window) based on a so-called drag-and-drop operation using the mouse 106 or an operation using the direction key. The transparent window is received and moved to the designated position, and the transparent window is enlarged or reduced to the designated size. However, the specific display position instruction operation may be performed by another input method using another input device, and the display position instruction may not be based on a user operation. For example, a function for designating a predetermined area or a function for designating an area in which a preset keyword is displayed, and an instruction to update the display position so that a transparent window is displayed to cover these areas. May be issued. Thereafter, the process proceeds to step S103.
 図4は、本実施形態に係る透過ウィンドウ303が、表計算アプリケーションのウィンドウ300に重畳表示され、暗号化の対象となる表示情報を覆う位置まで移動された状態を示す図である。ディスプレイ105には、表計算アプリケーションによって扱われる電子ドキュメントのウィンドウ300が表示されており、更に、透過ウィンドウ303が、ウィンドウ300に重畳して表示されている。ここで、透過ウィンドウ303は、ウィンドウ300内において、ユーザが暗号化したい情報を含む領域(ここでは、所謂セル)302を覆う位置および大きさで表示される。 FIG. 4 is a diagram showing a state in which the transparent window 303 according to the present embodiment is moved to a position where the transparent window 303 is superimposed on the spreadsheet application window 300 and covers display information to be encrypted. On the display 105, a window 300 of an electronic document handled by a spreadsheet application is displayed, and a transparent window 303 is displayed superimposed on the window 300. Here, the transparent window 303 is displayed in a position and size covering the area (here, a so-called cell) 302 containing information that the user wants to encrypt in the window 300.
 ステップS103では、暗号化開始指示が受け付けられる。入力受付部23は、マウス106やキーボード107等の入力装置を用いたユーザ操作による、暗号化開始指示の入力を受け付ける。即ち、ユーザは、暗号化アプリケーションを起動することで透過ウィンドウをディスプレイに表示させた後、透過ウィンドウを暗号化したい情報が表示されている位置まで移動させ、情報処理装置に対して暗号化開始指示を与えることで、透過ウィンドウを用いた暗号化を開始させる。この際、暗号化開始指示のためのユーザ操作としては、マウス106を用いて所定の位置をクリックする操作のほか、マウス106を用いたジェスチャ操作や、キーボード107を用いたコマンド操作等が採用されてよい。その後、処理はステップS104へ進む。 In step S103, an encryption start instruction is accepted. The input receiving unit 23 receives an input of an encryption start instruction by a user operation using an input device such as the mouse 106 and the keyboard 107. That is, after starting the encryption application, the user displays the transparent window on the display, then moves the transparent window to the position where the information to be encrypted is displayed, and instructs the information processing apparatus to start encryption. To start encryption using a transparent window. At this time, as a user operation for instructing to start encryption, an operation of clicking a predetermined position using the mouse 106, a gesture operation using the mouse 106, a command operation using the keyboard 107, and the like are employed. It's okay. Thereafter, the process proceeds to step S104.
 ステップS104では、透過ウィンドウに覆われた部分の情報が取得される。具体的には、情報取得部22は、ディスプレイ105に表示された表示情報のうち、ステップS101で表示された透過ウィンドウの表示位置に含まれる表示情報を抽出することで、透過ウィンドウに覆われた部分の情報を取得する。ここで、表示情報は、画素の集合としての画像として取得される。情報取得部22は、ディスプレイ105出力のために描画された画像情報から、透過ウィンドウの表示位置情報(座標やサイズ等)が示す領域に相当する部分を切り出すことで、暗号化の対象となるデジタル画像を取得する。情報取得部22によって透過ウィンドウに覆われた部分の情報が取得されると、処理はステップS105へ進む。 In step S104, information on the portion covered by the transparent window is acquired. Specifically, the information acquisition unit 22 is covered with the transparent window by extracting display information included in the display position of the transparent window displayed in step S101 from the display information displayed on the display 105. Get part information. Here, the display information is acquired as an image as a set of pixels. The information acquisition unit 22 cuts out a portion corresponding to the area indicated by the display position information (coordinates, size, etc.) of the transparent window from the image information drawn for the output of the display 105, so that the digital to be encrypted is obtained. Get an image. When the information of the part covered by the transparent window is acquired by the information acquisition unit 22, the process proceeds to step S105.
 ステップS105では、暗号化が行われる。暗号化部11は、ステップS104で取得されたデジタル画像および暗号鍵に従って、暗号化画像を生成する。また、この際用いられる暗号鍵としては、予め設定されたものが用いられてもよいし、暗号化処理の都度、暗号鍵入力用のインターフェースを表示してユーザに入力させたものが用いられてもよい。暗号化処理の詳細については後述する。その後、処理はステップS106へ進む。 In step S105, encryption is performed. The encryption unit 11 generates an encrypted image according to the digital image and the encryption key acquired in step S104. Also, as the encryption key used at this time, a preset key may be used, or an encryption key input interface is displayed and input by the user each time encryption processing is performed. Also good. Details of the encryption processing will be described later. Thereafter, the process proceeds to step S106.
 ステップS106では、暗号化画像が出力される。暗号化画像出力部12は、表示されている電子ドキュメントから、暗号化の対象となった部分に該当するコードを削除し、削除されたコードに代えて、暗号化画像データ自体、または暗号化画像へのリンクを挿入することで、暗号化電子ドキュメントを生成する。より具体的には、暗号化画像出力部12は、暗号化の対象となった表示情報が表示されているウィンドウ(図3の例では、ウィンドウ300)に係るアプリケーションに対して、透過ウィンドウによって覆われている部分(図3の例では、セル302)を選択および削除し、削除位置(セル302)に生成された暗号化画像を挿入する、一連の操作を行う。即ち、本実施形態によれば、暗号化画像出力部12が、暗号化対象となった表示情報に対して、該表示情報を暗号化画像で置換するユーザ操作を擬似的に再現することで、どのようなアプリケーションに対しても、情報の一部を暗号化することが可能である。但し、暗号化画像は、ユーザ操作の再現ではなく、内部的に引き渡されてもよい。その後、本フローチャートに示された処理は終了する。 In step S106, an encrypted image is output. The encrypted image output unit 12 deletes the code corresponding to the part to be encrypted from the displayed electronic document, and instead of the deleted code, the encrypted image data itself or the encrypted image An encrypted electronic document is generated by inserting a link to. More specifically, the encrypted image output unit 12 covers the application related to the window (window 300 in the example of FIG. 3) on which the display information to be encrypted is displayed with a transparent window. The selected part (cell 302 in the example of FIG. 3) is selected and deleted, and a series of operations for inserting the encrypted image generated at the deletion position (cell 302) is performed. That is, according to the present embodiment, the encrypted image output unit 12 reproduces the user operation for replacing the display information with the encrypted image with respect to the display information to be encrypted, For any application, part of the information can be encrypted. However, the encrypted image may be delivered internally instead of reproducing the user operation. Thereafter, the processing shown in this flowchart ends.
 図5は、本実施形態において、暗号化画像出力部12によって出力された暗号化画像を含む電子ドキュメント、および暗号化に用いられた透過ウィンドウ303のイメージを示す図である。図5は、図4に示された状態から、透過ウィンドウ303による暗号化処理が行われ、表計算アプリケーションのウィンドウ300に、暗号化画像302Bを含む電子ドキュメントが表示されている状態を示す。暗号化画像出力部12は、元の電子ドキュメントから、テキスト部分302に該当するコードを削除し、削除されたコードに代えて、暗号化画像302Bを挿入することで、表計算アプリケーションに、暗号化電子ドキュメントを生成させる。 FIG. 5 is a diagram showing an image of the electronic document including the encrypted image output by the encrypted image output unit 12 and the transparent window 303 used for encryption in the present embodiment. FIG. 5 shows a state in which the encryption process by the transparent window 303 is performed from the state shown in FIG. 4 and an electronic document including the encrypted image 302B is displayed in the window 300 of the spreadsheet application. The encrypted image output unit 12 deletes the code corresponding to the text portion 302 from the original electronic document, and inserts the encrypted image 302B in place of the deleted code, thereby encrypting the spreadsheet application. Generate an electronic document.
 また、図6は、本実施形態に係る透過ウィンドウ303が、文書作成アプリケーションのウィンドウ300Bに重畳表示され、暗号化の対象となる表示情報を覆う位置まで移動された状態を示す図であり、図7は、図6に示された状態から、透過ウィンドウ303による暗号化処理が行われ、文書作成アプリケーションのウィンドウ300Bに、暗号化画像301Bを含む電子ドキュメントが表示されている状態を示す図である。電子ドキュメントには、文字列301および図形304が含まれ、ここでは、文字列301の一部および図形304が、暗号化の対象となる表示情報として、透過ウィンドウ303に覆われる。そして、暗号化アプリケーションによって生成された暗号化画像301Bは、文字列301の一部および図形304に代えて、電子ドキュメント内に挿入される。 FIG. 6 is a diagram showing a state in which the transparent window 303 according to the present embodiment is moved to a position where the transparent window 303 is superimposed on the document creation application window 300B and covers the display information to be encrypted. FIG. 7 is a diagram illustrating a state in which the encryption process using the transparent window 303 is performed from the state illustrated in FIG. 6 and the electronic document including the encrypted image 301B is displayed in the window 300B of the document creation application. . The electronic document includes a character string 301 and a graphic 304. Here, a part of the character string 301 and the graphic 304 are covered with a transparent window 303 as display information to be encrypted. Then, the encrypted image 301B generated by the encryption application is inserted into the electronic document instead of a part of the character string 301 and the graphic 304.
 図6および図7によれば、本実施形態に係る透過ウィンドウを用いた電子ドキュメントの一部暗号化が、図4および図5を用いて例示した表計算アプリケーションによって扱われる電子ドキュメントに限らず、文書作成アプリケーションによって扱われる電子ドキュメント等、広範な電子ドキュメントに適用可能であることが分かる。即ち、本実施形態に係る透過ウィンドウを用いた一部暗号化は、表示された電子ドキュメントに対して、選択、削除、挿入等の基本的なユーザ操作による編集を行うことが可能なインターフェースを有するアプリケーションであれば、どのようなアプリケーションに対しても適用することが出来る。 According to FIG. 6 and FIG. 7, the partial encryption of the electronic document using the transparent window according to the present embodiment is not limited to the electronic document handled by the spreadsheet application exemplified by using FIG. 4 and FIG. It can be seen that the present invention can be applied to a wide range of electronic documents such as an electronic document handled by a document creation application. That is, the partial encryption using the transparent window according to the present embodiment has an interface capable of editing the displayed electronic document by basic user operations such as selection, deletion, and insertion. It can be applied to any application as long as it is an application.
 <電子ドキュメントの復号>
 次に、本発明に係る透過ウィンドウを用いた、電子ドキュメントの一部復号を行うための復号アプリケーションについて説明する。図8は、本実施形態に係る情報処理装置500の機能構成の概略を示す図である。本実施形態に係るコンピュータは、RAM102又はROM104に展開された復号アプリケーションプログラムをCPUが解釈及び実行することで、ディスプレイ105に透過ウィンドウを表示させる透過表示要素表示部21と、透過ウィンドウに覆われた表示情報を取得する情報取得部22と、透過ウィンドウの表示位置を指示する入力等ユーザからの各種入力を受け付ける入力受付部23と、情報取得部22によって取得された情報(暗号化画像)を復号鍵に基づいて復号済の情報に変換する復号部14と、復号済の情報を出力する復号済情報出力部501と、を備える情報処理装置500として機能する。なお、情報処理装置500のハードウェア構成は、情報処理装置200と概略同様であるため、説明を省略する(図1を参照)。
<Decryption of electronic document>
Next, a decryption application for performing partial decryption of an electronic document using a transparent window according to the present invention will be described. FIG. 8 is a diagram illustrating an outline of a functional configuration of the information processing apparatus 500 according to the present embodiment. The computer according to the present embodiment is covered with a transparent display element display unit 21 that displays a transparent window on the display 105 by the CPU interpreting and executing the decryption application program expanded in the RAM 102 or the ROM 104, and the transparent window. An information acquisition unit 22 that acquires display information, an input reception unit 23 that receives various inputs from the user, such as an input that indicates the display position of a transparent window, and decrypts information (encrypted image) acquired by the information acquisition unit 22 It functions as an information processing apparatus 500 including a decryption unit 14 that converts to decrypted information based on a key, and a decrypted information output unit 501 that outputs decrypted information. Note that the hardware configuration of the information processing apparatus 500 is substantially the same as that of the information processing apparatus 200, and thus the description thereof is omitted (see FIG. 1).
 情報取得部22は、上記情報処理装置200によって暗号化された電子ドキュメントに含まれる暗号化画像を取得する。取得される暗号化画像は、ユーザ操作によって選択されることとしてもよいし、暗号化画像が有する規則的な模様を検出することによって自動的に選択されてもよい。本実施形態に係る暗号化画像は、後述するように、入力画像の画素値を変換することで生成された規則的な模様を有する。 The information acquisition unit 22 acquires an encrypted image included in the electronic document encrypted by the information processing apparatus 200. The acquired encrypted image may be selected by a user operation, or may be automatically selected by detecting a regular pattern included in the encrypted image. The encrypted image according to the present embodiment has a regular pattern generated by converting the pixel value of the input image, as will be described later.
 復号済情報出力部501は、復号済電子ドキュメントを生成する。復号済電子ドキュメントは、暗号化電子ドキュメントが復号を経ずにそのまま出力された場合に暗号化画像が出力される部分に、暗号化画像に代えて、復号部14によって復号されたデジタル画像が出力される電子ドキュメントである。復号済情報出力部501は、暗号化電子ドキュメントから暗号化画像に該当するコード(画像データ自体またはリンク情報)を削除し、削除されたコードに代えて、復号済のデジタル画像へのリンクを記載することで、復号済電子ドキュメントを生成する。但し、コードの変更は行わずに、画像データ自体を暗号化画像から復号済画像へ置き換えることとしてもよい。 The decrypted information output unit 501 generates a decrypted electronic document. In the decrypted electronic document, the digital image decrypted by the decryption unit 14 is output instead of the encrypted image in the portion where the encrypted image is output when the encrypted electronic document is output without being decrypted. Electronic document. The decrypted information output unit 501 deletes the code (image data itself or link information) corresponding to the encrypted image from the encrypted electronic document, and describes a link to the decrypted digital image instead of the deleted code. By doing so, a decrypted electronic document is generated. However, the image data itself may be replaced from the encrypted image to the decrypted image without changing the code.
 また、復号済情報出力部501は、所謂OCR(Optical Character Recognition)の技術を用いて、復号部14によって復号されたデジタル画像中の文字を検出および特定することで、デジタル画像中の文字を文字コードによる文字情報として含む電子ドキュメントを生成してもよい。復号されたデジタル画像から文字コードや書式情報等を復元することで、暗号化に使用された電子ドキュメントと同一またはそれに近い電子ドキュメントを得ることが出来る。なお、生成される電子ドキュメントは、暗号化される前の電子ドキュメントが生成されたアプリケーションと同一のアプリケーションにおいて取り扱い可能な形式の電子ドキュメントであることが好ましい。また、電子ドキュメント生成部501は、文字の他に、書式や、デジタル画像に含まれる図表、イラスト、およびその配置等を検出および特定することで、暗号化される前の電子ドキュメントに近い電子ドキュメントをより正確に生成することが出来る。暗号化される前の電子ドキュメントに近い電子ドキュメントを復元することで、復号された情報を電子ドキュメントとして取り扱うことが可能となり、ユーザの利便性が向上する。 In addition, the decoded information output unit 501 detects characters in the digital image decoded by the decoding unit 14 using a so-called OCR (Optical Character Recognition) technique, thereby identifying the characters in the digital image as characters. An electronic document including character information by code may be generated. By restoring the character code, format information, and the like from the decrypted digital image, an electronic document that is the same as or close to the electronic document used for encryption can be obtained. The generated electronic document is preferably an electronic document in a format that can be handled by the same application as the application that generated the electronic document before encryption. In addition to the characters, the electronic document generation unit 501 detects and specifies the format, charts and illustrations included in the digital image, and the arrangement thereof, so that the electronic document is close to the electronic document before being encrypted. Can be generated more accurately. By restoring the electronic document close to the electronic document before being encrypted, the decrypted information can be handled as the electronic document, and the convenience for the user is improved.
 図9は、本実施形態に係る、復号アプリケーションによる復号処理の流れを示すフローチャートである。本フローチャートに示された処理は、ユーザによって、透過ウィンドウを用いた復号アプリケーションのアイコンがクリック等されることで、情報処理装置200のOSにこのアプリケーションの起動が指示されたことを契機として開始される。また、以下に説明する処理順序は一例であり、具体的な処理順序は、実施の形態に応じて適宜変更されてよい。 FIG. 9 is a flowchart showing a flow of decryption processing by the decryption application according to the present embodiment. The processing shown in this flowchart is started when the user clicks on the decryption application icon using the transparent window and the OS of the information processing apparatus 200 is instructed to start the application. The Further, the processing order described below is an example, and the specific processing order may be appropriately changed according to the embodiment.
 ステップS201では、透過ウィンドウが表示される。透過表示要素表示部21は、ディスプレイ105の表示領域の一部領域を占めるように、透過ウィンドウを表示する。透過ウィンドウ表示処理の詳細に関しては、暗号化処理において説明したステップS101と概略同様であるため、説明を省略する。その後、処理はステップS202へ進む。 In step S201, a transparent window is displayed. The transmissive display element display unit 21 displays a transmissive window so as to occupy a part of the display area of the display 105. The details of the transparent window display process are the same as in step S101 described in the encryption process, and a description thereof will be omitted. Thereafter, the process proceeds to step S202.
 ステップS202では、透過ウィンドウの表示位置が更新される。入力受付部23は、マウス106やキーボード107等の入力装置を用いたユーザ操作による、透過ウィンドウの表示位置の更新指示に従って、透過ウィンドウの表示位置を更新する。ユーザは、マウス106やキーボード107等の入力装置を用いて、透過ウィンドウを、暗号化領域を覆う位置に表示させる。上記説明した図5および図7は、暗号化処理が完了した時点のイメージを示す図であるが、復号処理において復号の対象となる暗号化画像を覆う位置に透過ウィンドウが配置された状態についても、同様である。処理の詳細に関しては、暗号化処理において説明したステップS102と概略同様であるため、説明を省略する。また、表示位置の指示は、ユーザ操作に基づくものでなくてもよい。例えば、予め定められた領域を指定する機能や、後述する位置決めマーカーや、暗号化画像の有する規則性等に基づいて暗号化画像が表示されている位置を自動的に検出し、検出された暗号化画像が表示されている領域を指定する機能によって、これらの領域を覆うように透過ウィンドウが表示されるよう、表示位置の更新指示が発行されてもよい。その後、処理はステップS203へ進む。 In step S202, the display position of the transparent window is updated. The input receiving unit 23 updates the display position of the transparent window according to an instruction to update the display position of the transparent window by a user operation using an input device such as the mouse 106 and the keyboard 107. The user uses an input device such as the mouse 106 and the keyboard 107 to display the transparent window at a position covering the encryption area. FIG. 5 and FIG. 7 described above are diagrams showing an image at the time when the encryption process is completed. However, a state in which a transparent window is arranged at a position covering the encrypted image to be decrypted in the decryption process is also shown. The same. The details of the process are the same as step S102 described in the encryption process, and thus the description thereof is omitted. Further, the indication of the display position may not be based on the user operation. For example, the position where the encrypted image is displayed is automatically detected based on the function for designating a predetermined area, the positioning marker described later, the regularity of the encrypted image, and the like. An instruction to update the display position may be issued so that the transparent window is displayed so as to cover these areas by the function of designating the areas where the converted image is displayed. Thereafter, the process proceeds to step S203.
 ステップS203では、復号開始指示が受け付けられる。入力受付部23は、マウス106やキーボード107等の入力装置を用いたユーザ操作による、復号開始指示の入力を受け付ける。即ち、ユーザは、復号アプリケーションを起動することで透過ウィンドウをディスプレイに表示させた後、透過ウィンドウを復号したい暗号化画像が表示されている位置まで移動させ、情報処理装置に対して復号開始指示を与えることで、透過ウィンドウを用いた復号を開始させる。この際、復号開始指示のためのユーザ操作としては、マウス106を用いて所定の位置をクリックする操作のほか、マウス106を用いたジェスチャ操作や、キーボード107を用いたコマンド操作等が採用されてよい。その後、処理はステップS204へ進む。 In step S203, a decryption start instruction is accepted. The input receiving unit 23 receives an input of a decoding start instruction by a user operation using an input device such as the mouse 106 and the keyboard 107. That is, after starting the decryption application, the user displays a transparent window on the display, then moves the transparent window to the position where the encrypted image to be decrypted is displayed, and instructs the information processing apparatus to start decryption. By giving, decoding using a transparent window is started. At this time, as a user operation for a decoding start instruction, an operation of clicking a predetermined position using the mouse 106, a gesture operation using the mouse 106, a command operation using the keyboard 107, and the like are employed. Good. Thereafter, the process proceeds to step S204.
 ステップS204では、暗号化画像が取得される。情報取得部22は、ディスプレイ105に表示された表示情報のうち、ステップS101で表示された透過ウィンドウの表示位置に含まれる表示情報を抽出することで、透過ウィンドウに覆われた部分の情報を取得する。画像取得処理の詳細に関しては、暗号化処理において説明したステップS104と概略同様であるため、説明を省略する。その後、処理はステップS205へ進む。 In step S204, an encrypted image is acquired. The information acquisition unit 22 acquires information on a portion covered by the transparent window by extracting display information included in the display position of the transparent window displayed in step S101 from the display information displayed on the display 105. To do. The details of the image acquisition process are the same as in step S104 described in the encryption process, and a description thereof will be omitted. Thereafter, the process proceeds to step S205.
 ステップS205では、復号が行われる。復号部14は、暗号化画像を復号することで、暗号化が解除されたデジタル画像を生成する。この際用いられる復号鍵としては、予め設定されているものが用いられてもよいし、復号処理の都度、復号鍵入力用のインターフェースを表示してユーザに入力させたものが用いられてもよい。復号処理の詳細については後述する。その後、処理はステップS206へ進む。 In step S205, decryption is performed. The decryption unit 14 decrypts the encrypted image to generate a digital image that has been decrypted. As the decryption key used at this time, a preset key may be used, or a decryption key input interface may be displayed and input by the user each time decryption processing is performed. . Details of the decoding process will be described later. Thereafter, the process proceeds to step S206.
 ステップS206では、復号済情報が出力される。復号済情報出力部501は、透過ウィンドウに覆われた暗号化画像を含む電子ドキュメントから、暗号化画像(または暗号化画像へのリンク情報)を削除し、削除されたコードに代えて、復号済情報を挿入することで、復号済の電子ドキュメントを生成する。復号済情報を用いて暗号化画像を置換する具体的な処理の詳細は、置換の対象が異なることを除いて、図3のフローチャートに示したステップS106の処理と概略同様であるため、説明を省略する。その後、本フローチャートに示された処理は終了する。 In step S206, the decrypted information is output. The decrypted information output unit 501 deletes the encrypted image (or link information to the encrypted image) from the electronic document including the encrypted image covered by the transparent window, and replaces the deleted code with the decrypted information. A decrypted electronic document is generated by inserting the information. The details of the specific processing for replacing the encrypted image using the decrypted information are substantially the same as the processing in step S106 shown in the flowchart of FIG. 3 except that the replacement target is different. Omitted. Thereafter, the processing shown in this flowchart ends.
 本実施形態に拠れば、閲覧制限が設定された重要情報と閲覧制限が設定されていない情報とを含む電子ドキュメントを、この電子ドキュメントから重要情報を取り除かずに配布し、復号鍵を知るユーザのみに対して暗号化部分に記載された情報を閲覧させるようにすることが可能となる。また、透過ウィンドウを重ねて画像処理を行い、透過ウィンドウが重ねられた位置の情報を、画像処理結果で置換することで、電子ドキュメントのデータ形式に拘らず、電子ドキュメントの一部を暗号化または復号することが可能となる。 According to this embodiment, only a user who knows a decryption key by distributing an electronic document including important information for which viewing restrictions are set and information for which browsing restrictions are not set without removing the important information from the electronic document. It is possible to browse information described in the encrypted part. In addition, by performing image processing with overlapping transparent windows and replacing the information of the position where the transparent windows are overlapped with the image processing results, a part of the electronic document can be encrypted or encrypted regardless of the data format of the electronic document. Decoding is possible.
 なお、本実施形態では、暗号化アプリケーションおよび復号アプリケーションについて夫々異なる透過ウィンドウを用いることで、電子ドキュメントの一部暗号化および一部復号を実現しているが、単一の透過ウィンドウに、暗号化および復号の双方の機能を備えることとしてもよい。 In this embodiment, partial encryption and partial decryption of an electronic document are realized by using different transparent windows for the encryption application and the decryption application. However, the encryption is performed in a single transparent window. It is also possible to have both functions of decoding and decoding.
 <暗号化部および復号部>
 次に、上記実施形態における、暗号化部および復号部による暗号化処理および復号処理の概要を説明する。
<Encryption unit and decryption unit>
Next, an outline of encryption processing and decryption processing by the encryption unit and the decryption unit in the embodiment will be described.
 図10は、暗号化処理および復号処理の処理概要(その1)を示す図である。図10において、暗号化部11(第1乃至第3の各態様においては、それぞれ暗号化部11A、11B、11Cという。)は、入力されたデジタル画像と暗号化方法を示す暗号鍵とに基づいて、前記デジタル画像の一部を暗号化した暗号化画像を出力する。プリンタ出力部12は、暗号化部11により暗号化されたデジタル画像を紙などの印刷可能な物理的媒体に印刷する。スキャナ(カメラ)読み込み部13は、プリンタ出力部12により出力された印刷画像を、スキャナまたはカメラを用いて読み込む。 FIG. 10 is a diagram showing a processing outline (part 1) of the encryption process and the decryption process. In FIG. 10, an encryption unit 11 (in the first to third aspects, referred to as encryption units 11A, 11B, and 11C, respectively) is based on an input digital image and an encryption key indicating an 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.
 図11は、暗号化処理および復号処理の処理概要(その2)を示す図である。図11に示したように、本発明を適用した第1の態様乃至第3の態様における暗号化処理および復号処理は、暗号化部11により暗号化されたデジタル画像をプリンタやスキャナを介さずに電子文書画像のまま復号部14に入力し、復号画像を得ることも可能である。 FIG. 11 is a diagram showing a process outline (part 2) of the encryption process and the decryption process. As shown in FIG. 11, 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, the 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.
 図12は、第1の態様における暗号化処理の概要を示す図である。図12において、暗号化部11Aは、暗号化領域決定部31、画像変換部32、画素値変換部33およびマーカー付加部34を備えている。 FIG. 12 is a diagram showing an outline of the encryption processing in the first mode. In FIG. 12, the encryption unit 11 </ b> A 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.
 図13は、暗号化領域を選択する例を示す図である。すなわち、暗号化領域指定部31は、図13の(A)に示すように、暗号化したい領域を含むデジタル画像(入力画像)41から暗号化する領域42を選択する。この領域42が後述する画像変換部32および画素値変換部33の処理により、図13の(B)に示したように変換画像43に変換され、デジタル画像41が変換画像43を含む暗号化画像44に変換される。 FIG. 13 is a diagram showing an example of selecting an encryption area. That is, as shown in FIG. 13A, 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. 13B 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.
 図12の説明に戻る。暗号化領域指定部31により暗号化する領域42が選択されると、画像変換部32において暗号化する領域42および暗号鍵を入力し、暗号鍵に対応する変換方法で暗号化する領域42の画像を視覚的に変換する。その際の変換パラメータは、入力の暗号鍵から得られるバイナリデータにより作成する。 Returning to the explanation 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.
 図14は、暗号鍵の入力例を示す図である。図14に示した例は、暗号鍵と、暗号鍵により生成されるバイナリデータの例である。例えば、暗号鍵としての数値「1234」は、バイナリデータ「100011010010」として入力され、暗号鍵としての文字列「ango」は、バイナリデータ「01100001011011100110011101101111」として入力される。 FIG. 14 is a diagram showing an input example of the encryption key. The example shown in FIG. 14 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.
 図15は、画像変換部におけるスクランブル処理の一例を示す図である。図15の(A)に示したように、まず暗号化領域指定部31により選択された領域42を縦方向に分割し、暗号鍵61のバイナリ列の各ビットを分割された領域42の境界に左から順に対応させ、ビットが「1」の場合は隣り合う分割列を交換し、ビットが「0」の場合は何もしない処理を左側から順に行なう。分割境界の数に対してバイナリ列のビット数が足りない場合は、足りなくなった位置から同じバイナリ列を繰り返して領域42の右端まで交換処理を行なう。 FIG. 15 is a diagram illustrating an example of the scramble process in the image conversion unit. As shown in FIG. 15A, 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.
 続いて、図15の(B)に示すように、上記交換処理を行なった画像領域62を横方向に分割し、暗号鍵61のバイナリ列の各ビットを分割された画像領域62の境界に上から順番に対応させ、縦分割で行ったのと同様の交換処理を行単位で上から順に行なう。 Subsequently, as shown in FIG. 15B, the image area 62 that has undergone the above-described exchange processing 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.
 すると、図15の(C)に示すように、各分割画像に交換処理を行った結果、元の領域42がスクランブル処理された処理画像であるスクランブル画像63が得られる。 Then, as shown in FIG. 15C, as a result of performing the exchange process on each divided image, a scrambled image 63 that 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.
 図16は、画像変換部におけるスクランブル処理の他の例を示す図である。図15を用いて説明したスクランブル処理とはまた別のスクランブル処理法として、図16に示したように微小領域単位で画素の交換を行う方法も可能である。すなわち、入力画像を矩形状の微小領域に分割し、分割された微小領域同士を交換する。これにより、上述の横方向と縦方向(行と列)の交換による方法よりもスクランブルの場合の数が多くなり、暗号強度を高めることができる。 FIG. 16 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. 15, a method of exchanging pixels in units of minute regions as shown in FIG. 16 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).
 図17は、スクランブル処理における微小領域の形の変形例を示す図である。さらにスクランブル処理の際の微小領域の形は、図16に示した四角形の他に、例えば図17の(A)に示したような三角形を用いることも可能である。また図17の(B)に示したように、形や大きさの異なる微小領域を共存させることもできる。 FIG. 17 is a diagram showing a modification of the shape of the micro area in the scramble processing. Further, as the shape of the micro area in the scramble processing, for example, a triangle as shown in FIG. 17A can be used in addition to the quadrangle shown in FIG. Further, as shown in FIG. 17B, minute regions having different shapes and sizes can coexist.
 次に、画像を圧縮処理することによる変換方法について説明する。 Next, a conversion method by compressing an image will be described.
 図18は、画像変換部における圧縮処理を示す図である。入力画像41が二値画像の場合に、まず図18の(A)に示したように暗号化領域指定部31により選択された領域42の画像を圧縮して、図18の(B)に示したようなバイナリ列71を作成する。ここでの圧縮法は、ファクシミリ装置での二値画像データ転送の際に用いられるランレングス圧縮や、二値画像の標準圧縮方式であるJBIG(Joint Bi-level Image experts Group)圧縮など、あらゆる圧縮方式が適用可能である。 FIG. 18 is a diagram showing compression processing in the image conversion unit. When the input image 41 is a binary image, the image of the area 42 selected by the encryption area designating unit 31 is first compressed as shown in FIG. 18A, and shown in FIG. A binary string 71 is created. The compression methods here include all kinds of compression, such as run-length compression used when transferring binary image data 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.
 図19は、変換データを画像化する処理を示す図である。図18に示したような領域42の圧縮に続いて、変換圧縮データであるバイナリ列71の各ビットを、図19(B)に示したように、ビットが「0」ならば「白」、ビットが「1」ならば「黒」である指定サイズの方形に拡大して方形画像(処理画像)81を作成し、暗号化する画像の領域42に白黒の方形画像81として配列させる。 FIG. 19 is a diagram showing a process for converting the converted data into an image. Subsequent to the compression of the area 42 as shown in FIG. 18, each bit of the binary string 71, which is the converted compressed data, is “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 region 42, the size of the rectangular image 81 depends on the compression rate of the selected region 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.
 上記の圧縮データを拡大して画像化する暗号化処理により、例えば低解像度のカメラで暗号化画像を読み取った場合でも拡大された白黒のブロックを認識できるため、暗号化画像を正しく復号できる。 The encryption process for enlarging and compressing the compressed data described above can recognize the enlarged black and white block even when the encrypted image is read with a low resolution camera, for example, so that the encrypted image can be correctly decrypted.
 図12の説明に戻る。画素値変換部33では、画像変換部32で変換された処理画像63内の画素を一定の間隔を置いて変換し、変換画像43が概ね格子状の縞模様を成すようにする。 Returning to the explanation 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.
 図20は、画素値変換部における画素値変換処理の例(その1)を示す図である。画素値変換部33では、画像変換部32により領域42がスクランブルされた処理画像63の画素を、一定の間隔で変換し、暗号化画像44が全体として概ね格子状の縞模様を成すようにする。例えば図20に示したように、図20の(A)に示したスクランブル画像63を(B)に示した市松模様(チェッカー模様)画像91の有色部分で反転処理するような変換を実行することにより、(C)に示したように暗号化画像44が全体として概ね格子状の縞模様を成す変換画像92が得られる。これにより、生成される縞状の模様は、暗号化画像44を復号する際に暗号化領域内の各画素の詳細な位置を検出するために用いられる。 FIG. 20 is a diagram illustrating an example (part 1) of the pixel value conversion process 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. 20, the conversion is performed such that the scrambled image 63 shown in FIG. 20A is inverted at the colored portion of the checkered pattern (checkered) 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 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.
 また、図20の(B)に示した市松模様画像91は、(A)に示したスクランブル画像63と略同サイズであるが、スクランブル画像63より小さいサイズを用いることにより、スクランブル画像63の周辺以外の中心部分のみ反転処理するようにしてもよい。 Also, the checkered pattern image 91 shown in FIG. 20B is substantially the same size as the scrambled image 63 shown in FIG. 20A, 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.
 図21は、画素値変換部における画素値変換処理の例(その2)を示す図である。また、画素値を変換する領域42は、図21の(A)から(C)に示したように種々の形状を適用することが可能である。画素値変換は小領域間の境界位置を高精度に検出することを目的とした処理であるため、例えば図21の(A)のように境界部分のみ画素値変換することも考えられる。また、図21の(B)のように微小領域に対して少しずつずらしながら画素値変換を行うことで、変換と非変換の境界がより細かい間隔で現れるため、復号処理において暗号化画像44の画素位置をさらに詳細に検出できる。また、図21の(C)ように微小領域の境界が交差する部分のみに画素値変換を行えば、紙などに印刷した画像をスキャナやカメラで読み込んで復号する際の画質の劣化を最小限に抑えることができる。 FIG. 21 is a diagram illustrating an example (part 2) of the pixel value conversion process 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 areas with high accuracy, it is also conceivable to convert the pixel value only at the boundary part as shown in FIG. Further, by performing pixel value conversion while shifting little by little with respect to the minute area as shown in FIG. 21B, 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. 21C, 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.
 ここで、微小領域の形が均一な大きさの四角形ではなく、図17に示したように三角形(図17の(A))や異なる大きさ、形が共存する場合(図17の(B))は、上述の変換例に限らず形状に応じた方法で画素値変換を行う必要があることを追記しておく。 Here, the shape of the minute region is not a square having a uniform size, but a triangle (FIG. 17A) or different sizes and shapes coexist as shown in FIG. 17 (FIG. 17B). ) 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.
 図12の説明に戻る。マーカー付加部34では、画素値変換部33で変換処理された変換画像92の四隅のうち、例えば右下以外の三箇所に位置決めマーカーを付加し暗号化画像44を作成する。 Returning to the explanation 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.
 図22は、暗号化処理で用いる位置決めマーカーの例を示す図である。本第1の態様で用いる位置決めマーカーは、図22の(A)に示すように丸十字の形をしたものとする。位置決めマーカーの形をより広く言えば、実線の円または多角形とその周と交わる複数の線で構成されるものであればよい。このような例として、図22の(B)の位置決めマーカーのように漢字の「田」の形をしたものや、(C)の位置決めマーカーのように中心から三つの線が円周に向かって放射線状に出ているもの、(D)の位置決めマーカーのように線が途中で切れているもの、などが挙げられる。 FIG. 22 is a diagram showing 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, such as those in the shape of a Chinese character “field” like 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.
 図23は、暗号化画像の例を示す図である。以上の暗号化部11Aの処理により、最終的には図23に示すような暗号化画像44が生成される。暗号化画像44には、変換画像92と位置決めマーカー121が含まれる。 FIG. 23 is a diagram showing an example of an encrypted image. The encrypted image 44 as shown in FIG. 23 is finally generated by the 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.
 図24は、グレースケールの画像を暗号化した例である。図24において、(A)に示したグレースケール画像131は、暗号化部11Aの処理により、(B)に示すように変換画像133と位置決めマーカー134を含む暗号化画像132が生成される。 FIG. 24 shows an example in which a grayscale image is encrypted. In FIG. 24, 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.
 図25は、第1の態様における復号処理の概要を示す図である。図25において、復号部14Aは、マーカー検出部141、暗号化領域検出部142、暗号化位置検出部143および画像逆変換部144を備えている。 FIG. 25 is a diagram showing an outline of the decryption process in the first mode. In FIG. 25, 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 an encrypted image area based on the positional relationship between the three positioning markers detected by the marker detection unit 141.
 図26は、位置決めマーカーから暗号化領域を検出する過程を示す図である。図26の(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. 26 is a diagram showing a process of detecting the encryption area from the positioning marker. As shown in (A) of FIG. 26, when at least three positioning markers 152 are detected from the encrypted image 151 by the marker detection unit 141, as shown in (B), one encrypted 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.
 図27は、暗号化領域検出処理の流れを示すフローチャートである。暗号化領域検出部142で実行される暗号化領域検出処理は、まず、ステップS1601において、マーカー検出部141によって検出された位置決めマーカー152の数を変数nに代入し、ステップS1602において、暗号化領域153の検出用フラグreg_detectに0を代入する。 FIG. 27 is a flowchart showing the flow of the encryption 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 selected three 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 the 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.
 図25の説明に戻る。暗号化位置検出部143は、暗号化画像151の復号を正確に行なうために、暗号化領域検出部142により検出された暗号化領域153の端の部分が規則的な画素分布を成すことを利用して、周波数解析やパターンマッチングなどにより暗号化領域153内の各画素の詳細な位置を検出する。この検出は、画素値変換部33の画素値変換(反転)処理により暗号化画像151の全体が周期的な模様を成すという性質を利用する。 Returning to the explanation 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, the pattern period (width) is first 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.
 また、暗号化画像にエッジ検出フィルタ(ラプラシアンフィルタ等)をかけると境界部分が直線状になる性質を利用して、境界位置をハフ変換により検出することも可能である。 Also, it is possible to detect the boundary position by Hough transform by utilizing the property that the boundary part becomes linear when an edge detection filter (Laplacian filter or the like) is applied to the encrypted image.
 図28は、暗号化位置が検出された例を示す図である。暗号化されたデジタル画像41が複雑である場合は、暗号化画像44の周期性が著しく損なわれる部分が出てくる可能性もある。このような場合、模様の周期と境界位置の計算に用いる画像領域を周期性の比較的強い部分に限定して暗号化位置検出を行なう方法が有効である。 FIG. 28 is a diagram showing 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.
 図25の説明に戻る。画像逆変換部144は、暗号化位置検出部143により検出された暗号化位置情報とユーザにより入力された復号鍵とを用いて、暗号化画像44を復号鍵に対応する方法で画像変換部32による変換処理の逆変換処理を実行し、復号画像を生成する。復号の処理手順は、暗号化処理と逆の手順で実現されるため説明を省略する。以上が本発明を適用した第1の態様についての説明である。 Returning to the explanation 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.
 図29は、第2の態様の全体イメージを示す図である。第2の態様は、暗号化処理の前に、暗号化画像183の復号の妥当性を検証するための特定のチェック用マーク182を、暗号化する領域181の任意の場所に付加して(図29の(A))暗号化を行ない(図29の(B))、暗号化画像183を復号した後に事前に付加したチェック用マーク182が復号画像184から検出されれば正しく復号されたとして復号処理を終了する(図29の(C))。チェック用マーク182が検出されない場合(図29の(D))は、暗号化位置を補正し、チェック用マーク182が検出されるまで、または指定の基準を満たすまで復号処理を繰り返す。 FIG. 29 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. 29 (A)) encryption is performed ((B) in FIG. 29), 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 processing is terminated ((C) in FIG. 29). When the check mark 182 is not detected ((D) in FIG. 29), 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.
 図30は、第2の態様における暗号化処理の概要を示す図である。図30において、暗号化部11Bは、暗号化領域決定部31、チェック用マーク付加部192、画像変換部32および画素値変換部33を備えている。 FIG. 30 is a diagram showing an outline of the encryption processing in the second mode. 30, 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 an arbitrary 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.
 図31は、第2の態様における復号処理の概要を示す図である。図31において、復号部14Bは、暗号化領域検出部201、暗号化位置検出部143、画像逆変換部144、チェック用マーク検出部204および暗号化位置補正部205を備えている。 FIG. 31 is a diagram showing an outline of the decoding process in the second mode. In FIG. 31, 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 encryption 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.
 図32は、暗号化領域の検出方法を説明するための図である。図32の(A)に示したように、暗号化画像211を周波数解析すると、(B)に示すように、ある周波数(その周波数の整数倍の周波数)のパワーが突出する領域を「周期性強」214と表現している。暗号化領域内では画素分布の周期性が強くなる傾向にあるため、これにより大まかな暗号化領域と縞模様の周期を検出することができる。 FIG. 32 is a diagram for explaining an encryption area detection method. As shown in (A) of FIG. 32, when the encrypted image 211 is subjected to frequency analysis, as shown in (B), 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.
 図31の説明に戻る。暗号化位置検出部143は、暗号化領域検出部201による暗号化の大まかな領域を特定した後、暗号化領域をさらに正確に検出し、同時に暗号化領域内の各画素の詳細な位置を検出する。位置検出の一例として、まず暗号化領域検出部201で求めた縞模様の周期と画素絶対値差分の分布により画素値変換の境界位置(オフセット)を求め、そこからさらに画素絶対値差分が相対的に大きい領域を絞り込む方法が考えられる。また、第1の態様の暗号化位置検出部143と同様、暗号化位置検出にハフ変換を用いることも可能である。 Returning to the explanation 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.
 図33は、暗号化位置(横方向)の検出方法を説明するための図である。上述のような暗号化領域の検出処理を横方向、縦方向それぞれに行なうと、図33のように暗号化位置221が検出される。 FIG. 33 is a diagram for explaining a method of detecting the 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.
 図31の説明に戻る。画像逆変換部144は、暗号化位置情報と復号鍵を用いて第1の態様と同様の方法を行ない復号画像を生成する。 Returning to the explanation 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.
 図34は、暗号化位置の検出を誤った例を示す図である。図34に示したように、暗号化画像の端を見落としてしまう場合(取りこぼしライン231)が考えられる。そこで、チェック用マーク221の検出に失敗した場合は、暗号化位置を表すラインを左右端と上下端に追加または削除して画像逆変換処理を行ない、チェック用マーク221が検出できるかどうかを各々検討する。ラインをどのように追加または削除してもチェック用マーク221を検出できない場合は、復号画像を出力せずに処理を終了する。以上が本発明を適用した第2の態様についての説明である。 FIG. 34 is a diagram showing an example of erroneous detection of the encrypted position. As shown in FIG. 34, 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.
 図35は、第3の態様における暗号化処理の概要を示す図である。図35において、暗号化部11Cは、暗号化領域決定部31、チェック用マーク付加部192、画像変換部32、画素値変換部33およびマーカー付加部34を備えている。 FIG. 35 is a diagram showing an outline of the encryption processing in the third mode. 35, 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.
 図36は、第3の態様における復号処理の概要を示す図である。図36において、復号部14Cは、マーカー検出部141、暗号化領域検出部142、暗号化位置検出部143、画像逆変換部144、チェック用マーク検出部204および暗号化位置補正部205を備えている。 FIG. 36 is a diagram showing an outline of the decoding process in the third mode. 36, 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 the first mode, and the subsequent encryption region detection unit 142 detects the encryption region by the same method as 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 (11)

  1.  表示装置に接続される情報処理装置であって、
     前記表示装置の表示領域の一部に表示される表示要素であって、該表示要素の少なくとも一部が透過表示されることで、該表示要素に覆われた表示情報を視認可能とする透過表示要素を、該表示装置に表示させる透過表示要素表示手段と、
     前記表示領域に表示された表示情報のうち、前記透過表示要素に覆われた表示情報を、デジタル画像として取得する情報取得手段と、
     前記情報取得手段によって取得された前記デジタル画像を、暗号鍵に基づいて暗号化する暗号化手段と、
     前記透過表示要素に覆われた表示情報に代えて、前記暗号化手段によって暗号化された暗号化画像が表示されるよう、該暗号化画像を出力する、暗号化画像出力手段と、
     を備える情報処理装置。
    An information processing apparatus connected to a display device,
    A display element displayed in a part of a display area of the display device, wherein at least a part of the display element is transparently displayed so that display information covered by the display element is visible Transparent display element display means for displaying the element on the display device;
    Of the display information displayed in the display area, information acquisition means for acquiring display information covered by the transparent display element as a digital image;
    Encryption means for encrypting the digital image acquired by the information acquisition means based on an encryption key;
    An encrypted image output means for outputting the encrypted image so that the encrypted image encrypted by the encryption means is displayed instead of the display information covered by the transparent display element;
    An information processing apparatus comprising:
  2.  前記暗号化画像出力手段は、前記透過表示要素に覆われた表示情報を表示するアプリケーションに対して、該表示情報を置き換えるように出力される、
     請求項1に記載の情報処理装置。
    The encrypted image output means is output so as to replace the display information for an application that displays the display information covered by the transparent display element.
    The information processing apparatus according to claim 1.
  3.  前記表示情報は、前記表示装置の表示領域における表示位置を特定するための表示位置情報と関連付けられ、
     前記透過表示要素表示手段は、前記透過表示要素を、前記表示領域における表示位置を特定するための表示位置情報と関連付けて、該表示装置に表示させ、
     前記情報取得手段は、前記透過表示要素に覆われた表示情報を、該情報の表示位置情報および前記透過表示要素の表示位置情報に基づいて取得する、
     請求項1または2に記載の情報処理装置。
    The display information is associated with display position information for specifying a display position in a display area of the display device,
    The transmissive display element display means associates the transmissive display element with display position information for specifying a display position in the display area, and causes the display device to display the display position information.
    The information acquisition means acquires the display information covered by the transparent display element based on the display position information of the information and the display position information of the transparent display element;
    The information processing apparatus according to claim 1 or 2.
  4.  前記情報取得手段は、前記表示領域に表示された表示情報のうち、該表示情報に関連付けられた表示位置情報を用いて特定された表示位置が、前記透過表示要素に関連付けられた表示位置情報を用いて特定された表示位置に重なる表示情報を抽出することで、前記透過表示要素に覆われた表示情報を取得する、
     請求項1から3の何れか一項に記載の情報処理装置。
    The information acquisition means includes display position information associated with the transparent display element, the display position identified using the display position information associated with the display information among the display information displayed in the display area. By extracting display information that overlaps the display position specified by using the display information covered by the transparent display element,
    The information processing apparatus according to any one of claims 1 to 3.
  5.  前記透過表示要素の表示位置を指示する入力を受け付ける入力受付手段を更に備え、
     前記透過表示要素表示手段は、前記入力受付手段によって受け付けられた指示に基づく表示位置に、前記透過表示要素を表示させる、
     請求項1から4の何れか一項に記載の情報処理装置。
    An input receiving means for receiving an input for instructing a display position of the transparent display element;
    The transparent display element display means displays the transparent display element at a display position based on an instruction received by the input receiving means;
    The information processing apparatus according to any one of claims 1 to 4.
  6.  表示装置に接続される情報処理装置であって、
     前記表示装置の表示領域の一部に表示される表示要素であって、該表示要素の少なくとも一部が透過表示されることで、該表示要素に覆われた表示情報を視認可能とする透過表示要素を、該表示装置に表示させる透過表示要素表示手段と、
     前記表示領域に表示された表示情報のうち、前記透過表示要素に覆われた表示情報を、暗号化画像として取得する情報取得手段と、
     前記情報取得手段によって取得された前記暗号化画像を、復号鍵に基づいて復号する復号手段と、
     前記透過表示要素に覆われた表示情報に代えて、前記復号手段によって復号された復号済情報が表示されるよう、該復号済情報を出力する、復号済情報出力手段と、
     を備える情報処理装置。
    An information processing apparatus connected to a display device,
    A display element displayed in a part of a display area of the display device, wherein at least a part of the display element is transparently displayed so that display information covered by the display element is visible Transparent display element display means for displaying the element on the display device;
    Among the display information displayed in the display area, information acquisition means for acquiring display information covered by the transparent display element as an encrypted image;
    Decryption means for decrypting the encrypted image acquired by the information acquisition means based on a decryption key;
    In place of the display information covered by the transparent display element, decoded information output means for outputting the decoded information so that the decoded information decoded by the decoding means is displayed;
    An information processing apparatus comprising:
  7.  前記復号済情報出力手段は、前記透過表示要素に覆われた表示情報を含むファイルに対して、該表示情報を置き換えるように出力される、
     請求項6に記載の情報処理装置。
    The decoded information output means is output so as to replace the display information with respect to a file including display information covered by the transparent display element.
    The information processing apparatus according to claim 6.
  8.  表示装置に接続されるコンピュータに、
     前記表示装置の表示領域の一部に表示される表示要素であって、該表示要素の少なくとも一部が透過表示されることで、該表示要素に覆われた表示情報を視認可能とする透過表示要素を、該表示装置に表示させる透過表示要素表示ステップと、
     前記表示領域に表示された表示情報のうち、前記透過表示要素に覆われた表示情報を、デジタル画像として取得する情報取得ステップと、
     前記情報取得ステップで取得された前記デジタル画像を、暗号鍵に基づいて暗号化する暗号化ステップと、
     前記透過表示要素に覆われた表示情報に代えて、前記暗号化ステップで暗号化された暗号化画像が表示されるよう、該暗号化画像を出力する、暗号化画像出力ステップと、
     を実行させる画像処理方法。
    To the computer connected to the display device,
    A display element displayed in a part of a display area of the display device, wherein at least a part of the display element is transparently displayed so that display information covered by the display element is visible A transparent display element display step for displaying the element on the display device;
    Among the display information displayed in the display area, an information acquisition step of acquiring display information covered by the transmissive display element as a digital image;
    An encryption step of encrypting the digital image acquired in the information acquisition step based on an encryption key;
    An encrypted image output step for outputting the encrypted image so that the encrypted image encrypted in the encryption step is displayed instead of the display information covered by the transparent display element;
    An image processing method for executing
  9.  表示装置に接続されるコンピュータに、
     前記表示装置の表示領域の一部に表示される表示要素であって、該表示要素の少なくとも一部が透過表示されることで、該表示要素に覆われた表示情報を視認可能とする透過表示要素を、該表示装置に表示させる透過表示要素表示ステップと、
     前記表示領域に表示された表示情報のうち、前記透過表示要素に覆われた表示情報を、暗号化画像として取得する情報取得ステップと、
     前記情報取得ステップで取得された前記暗号化画像を、復号鍵に基づいて復号する復号ステップと、
     前記透過表示要素に覆われた表示情報に代えて、前記復号ステップで復号された復号済情報が表示されるよう、該復号済情報を出力する、復号済情報出力ステップと、
     を実行させる画像処理方法。
    To the computer connected to the display device,
    A display element displayed in a part of a display area of the display device, wherein at least a part of the display element is transparently displayed so that display information covered by the display element is visible A transparent display element display step for displaying the element on the display device;
    Among the display information displayed in the display area, an information acquisition step of acquiring display information covered by the transparent display element as an encrypted image;
    A decryption step of decrypting the encrypted image acquired in the information acquisition step based on a decryption key;
    A decoded information output step for outputting the decoded information so that the decoded information decoded in the decoding step is displayed instead of the display information covered by the transparent display element;
    An image processing method for executing
  10.  表示装置に接続されるコンピュータによって実行されることで、該コンピュータを、
     前記表示装置の表示領域の一部に表示される表示要素であって、該表示要素の少なくとも一部が透過表示されることで、該表示要素に覆われた表示情報を視認可能とする透過表示要素を、該表示装置に表示させる透過表示要素表示手段と、
     前記表示領域に表示された表示情報のうち、前記透過表示要素に覆われた表示情報を、デジタル画像として取得する情報取得手段と、
     前記情報取得手段によって取得された前記デジタル画像を、暗号鍵に基づいて暗号化する暗号化手段と、
     前記透過表示要素に覆われた表示情報に代えて、前記暗号化手段によって暗号化された暗号化画像が表示されるよう、該暗号化画像を出力する、暗号化画像出力手段と、
     として機能させる画像処理用プログラム。
    By being executed by a computer connected to a display device, the computer is
    A display element displayed in a part of a display area of the display device, wherein at least a part of the display element is transparently displayed so that display information covered by the display element is visible Transparent display element display means for displaying the element on the display device;
    Of the display information displayed in the display area, information acquisition means for acquiring display information covered by the transparent display element as a digital image;
    Encryption means for encrypting the digital image acquired by the information acquisition means based on an encryption key;
    An encrypted image output means for outputting the encrypted image so that the encrypted image encrypted by the encryption means is displayed instead of the display information covered by the transparent display element;
    Image processing program to function as
  11.  表示装置に接続されるコンピュータによって実行されることで、該コンピュータを、
     前記表示装置の表示領域の一部に表示される表示要素であって、該表示要素の少なくとも一部が透過表示されることで、該表示要素に覆われた表示情報を視認可能とする透過表示要素を、該表示装置に表示させる透過表示要素表示手段と、
     前記表示領域に表示された表示情報のうち、前記透過表示要素に覆われた表示情報を、暗号化画像として取得する情報取得手段と、
     前記情報取得手段によって取得された前記暗号化画像を、復号鍵に基づいて復号する復号手段と、
     前記透過表示要素に覆われた表示情報に代えて、前記復号手段によって復号された復号済情報が表示されるよう、該復号済情報を出力する、復号済情報出力手段と、
     として機能させる画像処理用プログラム。
    By being executed by a computer connected to a display device, the computer is
    A display element displayed in a part of a display area of the display device, wherein at least a part of the display element is transparently displayed so that display information covered by the display element is visible Transparent display element display means for displaying the element on the display device;
    Among the display information displayed in the display area, information acquisition means for acquiring display information covered by the transparent display element as an encrypted image;
    Decryption means for decrypting the encrypted image acquired by the information acquisition means based on a decryption key;
    Decoded information output means for outputting the decoded information so that the decoded information decoded by the decoding means is displayed instead of the display information covered by the transparent display element;
    Image processing program to function as
PCT/JP2008/071555 2008-11-27 2008-11-27 Information processing device, information processing method and image processing program WO2010061456A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/JP2008/071555 WO2010061456A1 (en) 2008-11-27 2008-11-27 Information processing device, information processing method and image processing program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2008/071555 WO2010061456A1 (en) 2008-11-27 2008-11-27 Information processing device, information processing method and image processing program

Publications (1)

Publication Number Publication Date
WO2010061456A1 true WO2010061456A1 (en) 2010-06-03

Family

ID=42225349

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2008/071555 WO2010061456A1 (en) 2008-11-27 2008-11-27 Information processing device, information processing method and image processing program

Country Status (1)

Country Link
WO (1) WO2010061456A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012221210A (en) * 2011-04-08 2012-11-12 Sharp Corp Information processor, electronic apparatus and image processing system
CN114915697A (en) * 2022-05-12 2022-08-16 中国电子科技集团公司信息科学研究院 Optical image encryption method, system and storage medium based on physical window function

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05250124A (en) * 1992-03-06 1993-09-28 Hitachi Ltd Data processor and its display data conversion method
JP2000315998A (en) * 1999-01-24 2000-11-14 Hiroichi Okano Method and system for encrypting image
JP2004234426A (en) * 2003-01-31 2004-08-19 Toshiba Corp Window management program, application management program, application program, and window display device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05250124A (en) * 1992-03-06 1993-09-28 Hitachi Ltd Data processor and its display data conversion method
JP2000315998A (en) * 1999-01-24 2000-11-14 Hiroichi Okano Method and system for encrypting image
JP2004234426A (en) * 2003-01-31 2004-08-19 Toshiba Corp Window management program, application management program, application program, and window display device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012221210A (en) * 2011-04-08 2012-11-12 Sharp Corp Information processor, electronic apparatus and image processing system
CN114915697A (en) * 2022-05-12 2022-08-16 中国电子科技集团公司信息科学研究院 Optical image encryption method, system and storage medium based on physical window function
CN114915697B (en) * 2022-05-12 2023-06-16 中国电子科技集团公司信息科学研究院 Optical image encryption method, system and storage medium based on physical window function

Similar Documents

Publication Publication Date Title
JP4348381B2 (en) Image encryption / decryption device, method and program
JP5491860B2 (en) Electronic document encryption system, program and method
JP5192039B2 (en) Electronic document processing system, method and program
US8433067B2 (en) Device, method, and program for image encryption/decryption
JP4800420B2 (en) Paper medium information encryption system, decryption system, program and method
CN107610038B (en) Watermark display method, device and system
US8509425B2 (en) Image processing system, program and method
US9152810B2 (en) Information output system, method, and program for tampering detection
US20100316222A1 (en) Image processing system
EP2133853B1 (en) Image encryption apparatus and image decryption apparatus
EP2587785B1 (en) Image processing device and image processing method
JP2009206990A (en) Image decrypting apparatus, image encrypting apparatus, image decrypting method, and image decrypting program
JP5077486B2 (en) Image encryption / decryption device, method, and program
JP2007282200A (en) Information embedding apparatus, information embedding method, information embedding program, information extracting apparatus, information extracting method, information extracting program, and recording medium
WO2010061456A1 (en) Information processing device, information processing method and image processing program
US7952750B2 (en) Image processing apparatus and image processing method
JP4866959B2 (en) Image processing system
JP4796150B2 (en) Image encryption / decryption device, method and program
JP2020090032A (en) Embedding device, extraction device and program

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 08878413

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 08878413

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: JP