Image processing apparatus, control method, and program
Patent Information
- Application Number
- JP2021174069
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2021-10-25
- Publication Date
- 2024-10-30
- Estimated Expiration
- 2041-10-25
AI Technical Summary
Existing image processing techniques fail to protect images with removed masks from being captured and redistributed by unauthorized users, allowing sensitive information to be exposed.
An image processing apparatus that adds protection information to images, determining user authority and controlling image display and saving processes to ensure sensitive areas remain protected, even when images are duplicated or saved.
Ensures that newly saved images retain the same protection as the original, preventing unauthorized access and redistribution of sensitive information.
Smart Images

Figure 00000000_0000_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to an image processing technology for saving or displaying an image with restricted viewing.
Background Art
[0002] Conventionally, from the viewpoint of privacy protection, there is a technology for applying a mask such as mosaic processing to a part of an image. Patent Document 1 describes a medical image system that masks a protected part from a screenshot and attaches it to an email. However, if a mask is permanently applied to an image, it is necessary to switch between an image provided to a user who does not want to view it and an image provided to a user who may view it.
[0003] Therefore, Non-Patent Document 1 proposes a technology for displaying an image with the mask removed to a user having viewing authority and displaying an image in which a protected part is replaced with another image to a user not having viewing authority. Patent Document 2 describes a technology that discriminates whether image data has been re-saved or remains the original image data by attaching specific information to the image data and making the specific information disappear during re-saving.
Prior Art Documents
Patent Documents
[0004]
Patent Document 1
Patent Document 2
Non-Patent Documents
[0005]
Non-Patent Document 1
Summary of the Invention
Problems to be Solved by the Invention
[0006] However, if a user with viewing privileges views an image with the mask removed and then takes and saves a screenshot of the screen, the unmasked image will be saved, potentially leading to the redistribution of images that can be viewed by users without viewing privileges.
[0007] This invention has been made in view of the above problems, and its purpose is to realize a technology that enables the same level of protection for newly saved images as for the original image when generating and saving a new image from an original image. [Means for solving the problem]
[0008] To solve the above problems and achieve the objective, the present invention provides an image processing apparatus comprising: an image processing means for generating an image to be saved; and a control means for controlling the image processing means in response to an instruction to generate and save a second image from a first image. When the image processing means saves the second image in response to the instruction, it adds to the second image protective information recorded in the first image, which is used to protect at least a portion of the image, and saves the second image.
[0009] Furthermore, the image processing apparatus of the present invention comprises an image processing means for generating an image to be displayed, and a control means for controlling the image processing means in response to an instruction to display an image, wherein the image processing means comprises a protection information determination means for determining whether or not protection information for protecting at least a part of the image is recorded in the image to be displayed, and a viewing permission determination means for determining whether or not the user has viewing permission for the image to be displayed. [Effects of the Invention]
[0010] According to the present invention, when a new image is generated and saved from the original image, the newly saved image can be protected in the same way as the original image. [Brief explanation of the drawing]
[0011] [Figure 1]A block diagram showing the device configuration of Embodiment 1. [Figure 2] A flowchart illustrating the image saving process of Embodiment 1. [Figure 3] An explanatory diagram of the image saving instruction in Embodiment 1. [Figure 4] Data structure diagram of image information from Embodiment 1. [Figure 5] A block diagram showing the device configuration of Embodiment 2. [Figure 6] An explanatory diagram of the display image of Embodiment 2. [Figure 7] A flowchart illustrating the image display and image saving processes of Embodiment 2. [Figure 8] An explanatory diagram of the image generation instructions for Embodiment 2. [Figure 9] A diagram illustrating the method for updating image information and protection information in Embodiment 3. [Modes for carrying out the invention]
[0012] The embodiments will be described in detail below with reference to the attached drawings. Note that the following embodiments do not limit the invention as defined in the claims. While the embodiments describe multiple features, not all of these features are essential to the invention, and the features may be combined in any way. Furthermore, in the attached drawings, identical or similar configurations are given the same reference numerals, and redundant descriptions are omitted.
[0013] The following describes embodiments in which the image processing apparatus of the present invention is applied to information processing devices such as personal computers (PCs) and information processing terminals such as smart devices and tablet PCs. However, the invention is not limited to these embodiments and may also be applied to imaging devices such as digital cameras capable of capturing images.
[0014] [Embodiment 1] In Embodiment 1, when duplicating a screenshot or an image on the display screen and saving new image information, if protection information for protecting at least a part of the image from being viewed is recorded in the original image information to be saved, an example of a configuration that enables saving the new image information with the protection information added will be described.
[0015] <Device Configuration> First, referring to FIG. 1, the configuration and functions of the image processing apparatus according to this embodiment will be described.
[0016] FIG. 1 is a block diagram showing the configuration of the image processing apparatus according to this embodiment.
[0017] The image processing apparatus 101 includes a control unit 102, a memory 103, a storage unit 104, an operation unit 105, a display unit 106, an image processing unit 107, a communication unit 108, and a bus 109.
[0018] The control unit 102 includes arithmetic processing processors such as a CPU and an MPU that comprehensively control the entire image processing apparatus 101. The control unit 102 realizes the processing of the embodiments described later by executing the programs stored in the storage unit 104 described later.
[0019] The memory 103 is a RAM or the like used as a work area for expanding constants, variables for the operation of the control unit 102, programs read from the storage unit 104, etc. Further, the memory 103 is used as a buffer memory for temporarily holding data and commands (instructions) output to the control unit 102.
[0020] The storage unit 104 is a ROM, a memory card, a hard disk, etc. that store an OS (operating system) which is basic software executed by the control unit 102, and applications that realize application functions in cooperation with this OS. The storage unit 104 stores programs for the control unit 102 to execute the processing of Embodiments 1 and 2 described later.
[0021] The operation unit 105 is an operating component such as a mouse or keyboard that accepts user input and outputs various instructions to the control unit 102. The operation unit 105 is also integrally formed with the display unit 106 and includes a touch panel for operating images, UI screens, etc.
[0022] The display unit 106 is a display device such as a display or monitor made of an LCD or organic EL. The display unit 106 displays images held by the image processing device 101, as well as web pages and images received via the network by the communication unit 108, which will be described later. The display unit 106 also displays a UI screen for interactive operation.
[0023] The image processing unit 107 includes a GPU that performs processes such as image transformation, image color conversion, image compositing, and reading / writing additional information (metadata) recorded in the image information file. The image processing unit 107 also performs processes to generate image information from web pages and images displayed on the display unit 106.
[0024] The image processing unit 107 includes a protection information determination unit 110 and a protection information storage unit 111. The protection information determination unit 110 determines whether or not protection information is recorded in the image information to be saved. The protection information storage unit 111 adds the protection information recorded in the image information to be saved to the newly saved image information and saves it.
[0025] In this embodiment, the image information to be saved is the original image information used to generate screenshots and duplicate images.
[0026] Protected information is information used to protect protected areas contained in at least a portion of the image information being saved, by masking or other methods to prevent viewing. Protected areas include people's faces and confidential information contained in the image. In the case of screenshots, multiple images are displayed on one screen, so there may be multiple protected areas. The protection information, as described later in Figure 6, includes encrypted data of the protected area and coordinate data indicating the position for restoring the decrypted image from the masked protected area. The protection information is recorded either as metadata within the image information or as a separate metadata file.
[0027] Key information is required to decrypt encrypted data contained in protected information. Therefore, the presence or absence of key information determines whether the protected area of the image information to be stored or displayed is viewable or inaccessible. Key information may be included in the protected information, but in Embodiment 2, in order to restrict viewing by users without viewing privileges as described later, it is desirable to manage it separately from the protected information and obtain it from an external source via a network or the like.
[0028] The communication unit 108 is an interface that enables communication with networks such as the Internet and LAN (Local Area Network).
[0029] Bus 109 connects the components 102 to 108 of the image processing device 101 to enable data exchange.
[0030] <Image saving process> Next, the image saving process of this embodiment will be described with reference to Figure 2.
[0031] Figure 2 is a flowchart showing the image saving process of this embodiment.
[0032] The process shown in Figure 2 is achieved when the control unit 102 of the image processing device 101 executes a program stored in the memory unit 104 and controls each component of the image processing device 101. Furthermore, the process shown in Figure 2 is initiated when a user operates the operation unit 105 to input a screenshot instruction or a copy instruction to the control unit 102 while a web page or image is displayed on the display unit 106 of the image processing device 101.
[0033] In the following, it is assumed that the image information to be saved may or may not have protection information recorded on it.
[0034] In step S201, when the control unit 102 receives an image save instruction from the operation unit 105, it generates image information to be saved from the image displayed on the display unit 106 and waits in the memory 103, holding the image information to be saved and the image save instruction until the control unit 102 is able to perform the image save process. When the control unit 102 is able to perform the image save process, the control unit 102 outputs the image information to be saved and the image save instruction to the image processing unit 107.
[0035] Figure 4 is a data structure diagram of image information. As shown in Figure 4, image information 401 includes metadata 402 and image data 403. Protection information 402a is recorded in metadata 402. Image information 401 may consist only of an image file containing image data 403, or there may be a metadata file containing metadata 402 as a separate file.
[0036] In this embodiment, there are no restrictions on the metadata format; any format capable of recording protection information is acceptable, such as Exif. Image data 403 is pixel data, but depending on the file format, it may also be spatially frequency-converted data, compressed data, or encrypted data. In this embodiment, image data 403 may be stored in any file format. It may also be a file format that includes metadata, such as JPEG or TIFF. Furthermore, even if it is a file format that does not have metadata to record protection information, such as bitmap or RAW, a metadata file that records protection information as a separate file may be used in conjunction with it.
[0037] In step S202, when the image processing unit 107 receives the image information to be saved and an image saving instruction from the control unit 102, the protection information determination unit 110 determines whether or not protection information is recorded in the image information to be saved. If the protection information determination unit 110 determines that protection information is recorded in the information to be saved, the process proceeds to S203. If the protection information determination unit 110 determines that protection information is not recorded in the image information to be saved, the process proceeds to S204.
[0038] In step S203, the protection information storage unit 111 adds the protection information determined in S202 to the newly saved image information. Then, the image processing unit 107 outputs the newly saved image information with the added protection information to the storage unit 104. At this point, the image processing unit 107 may also output an image saving completion notification to the control unit 102.
[0039] In step S204, the storage unit 104 stores the newly acquired image information to be saved from the image processing unit 107.
[0040] While the storage of image information is intended to involve recording the image information 401 as a file in a designated location on the file system, in systems that are always running or systems that do not require the permanent retention of screenshots or duplicate images, the image information 401 can be stored in the storage unit 104 instead of being recorded as a file, and then read from the storage unit 104 for use as needed.
[0041] Note that the timing at which the image processing unit 107 outputs the image saving completion notification to the control unit 102 may be after the processing in step S204. In this case, when the storage unit 104 saves the newly saved image information, it outputs the image saving completion notification to the image processing unit 107. When the image processing unit 107 receives the image saving completion notification, it outputs the image saving completion notification to the control unit 102. Alternatively, the image processing unit 107 may not output the image saving completion notification to the control unit 102, but instead output the image saving completion notification to the control unit 102 after the storage unit 104 has saved the newly saved image information.
[0042] There are several possible patterns for sending and receiving image saving instructions. Figure 3 illustrates three examples of these patterns. In Figure 3, UI301 is the UI screen displayed on the display unit 106. OS302 and application 303 are software executed on the image processing device 101. Possible patterns for sending and receiving image saving instructions include those shown in Figures 3(a) to (c). Figure 3(a) shows a configuration where UI301 outputs an image saving instruction to OS302, and OS302 saves the image information as a function of the OS302. Figure 3(b) shows a configuration where UI301 sends an image saving instruction to OS302, OS302 sends an image saving instruction to application 303, and application 303 saves the image information as a function of the application 303. Figure 3(c) shows a configuration where UI301 sends an image saving instruction to application 303, and application 303 saves the image information as a function of the application 303.
[0043] In the pattern shown in Figure 3(a), it is conceivable that in step S201, the OS 302 inputs an image save command and executes the processing from step S202 onward. In the pattern shown in Figure 3(b), in step S201, the OS 302 inputs an image save command and outputs an image save command to application 303. Subsequently, it is conceivable that application 303 inputs an image save command, executes the processing from step S202 onward, and then application 303 outputs an image save command completion notification to the OS 302. In the pattern shown in Figure 3(c), it is conceivable that in step S201, application 303 inputs an image save command and executes the processing from step S202 onward.
[0044] As a further detail of the patterns in Figures 3(b) and 3(c), there are cases where application 303 has an image display function, and cases where application 303 does not have an image display function and only saves screenshots of the displayed screen.
[0045] In the image saving process of this embodiment, newly saved image information is masked so that the protected area cannot be viewed if protection information is attached. Key information is required to make the protected area viewable. Therefore, even if the newly saved image information is redistributed, the protected area can be protected so that it cannot be viewed.
[0046] As described above, according to this embodiment, when generating and saving a new image from an image to which protection information has been added, the newly saved image can also be protected in the same way as the original image by adding protection information to the newly saved image before saving it.
[0047] [Embodiment 2] Next, Embodiment 2 will be described with reference to Figure 5.
[0048] Embodiment 2 describes an example of a configuration that controls whether the protected area of the image information to be displayed is viewable or not, depending on whether the user has viewing privileges, and a configuration that controls whether or not to add protection information to the image information to be saved before saving it.
[0049] The image processing apparatus 501 of Embodiment 2 includes, in addition to the configuration shown in Figure 1 of Embodiment 1, an image processing unit 107 which is equipped with a viewing permission determination unit 502. The other configurations are the same as those shown in Figure 1 of Embodiment 1.
[0050] The protection information determination unit 110 determines whether or not protection information is recorded in the image information to be saved or the image information to be displayed. The protection information storage unit 111 adds the protection information recorded in the image information to be saved to the newly saved image information and saves it. The image processing unit 107 generates a display image that has been masked so that the protected area cannot be viewed for the newly displayed image information, based on the protection information recorded in the image information to be displayed.
[0051] In this embodiment, the image information to be displayed includes images held by the image processing device 501, web pages and images received via the network by the communication unit 108, and screenshots and duplicate images saved by the image saving process of Embodiment 1, and is the original image information for generating the display image. The image information to be saved is also the original image information for generating screenshots and duplicate images. Protection information will be described later in Figure 6.
[0052] In the following, it is assumed that the image information to be displayed may or may not have protection information recorded on it. Furthermore, it is assumed that the user may or may not have the key information to view the protection information of the displayed image information.
[0053] <Image Display Processing> First, referring to Figure 7(a), we will explain the process of controlling whether the protected area of the image information to be displayed is viewable or not, depending on whether the user has viewing permission.
[0054] Figure 7(a) is a flowchart showing the image display process of this embodiment.
[0055] The process shown in Figure 7(a) is realized by the control unit 102 of the image processing device 501 executing a program stored in the storage unit 104 and controlling each component of the image processing device 501. Furthermore, the process shown in Figure 7(a) is started when the control unit 102 receives an instruction from the user to display image information on the display unit 106 by operating the operation unit 105.
[0056] In step S701, the control unit 102 reads the image information to be displayed and holds the image information and image generation instructions in the memory 103 while waiting until the control unit 102 is ready to process the image. When the control unit 102 is ready to process the image, it outputs the image information and image generation instructions to the image processing unit 107. The storage unit 104 may also store image information acquired from an external source via a network.
[0057] In step S702, when the image processing unit 107 receives the image information to be displayed and an image generation instruction from the control unit 102, the protection information determination unit 110 determines whether or not protection information is recorded in the image information to be displayed. If the protection information determination unit 110 determines that protection information is recorded in the image information to be displayed, the process proceeds to S703. If the protection information determination unit 110 determines that protection information is not recorded in the image information to be displayed, the process proceeds to S705.
[0058] In step S703, the access permission determination unit 502 determines whether the user has access permission to view the image information to be displayed. If the access permission determination unit 502 determines that the user has access permission to view the image information to be displayed, the process proceeds to S704. If the access permission determination unit 502 determines that the user does not have access permission to view the image information to be displayed, the process proceeds to S705. To determine whether there are access restrictions, for example, the image processing device 501 can determine whether it has key information for the protection information recorded in the image information to be displayed. The key information may be obtained from an external source via a network or the like and stored in the storage unit 104 of the image processing device 501, or it may be obtained via the network at the time of determining whether there are access permissions.
[0059] In step S704, the image processing unit 107 generates a display image in which the protected area of the image information to be displayed is viewable, based on the protection information recorded in the image information to be displayed, and proceeds to step S706.
[0060] In step S705, the image processing unit 107 generates a display image in which the protected area of the image information to be displayed is made inaccessible, and proceeds to step S706.
[0061] Figure 6 is an explanatory diagram of the display image of this embodiment.
[0062] Assume that the image information to be displayed is an image in which the protected area 601 is not viewable, as shown in Figure 6(b). In this case, if the image information to be displayed contains protection information or if the user has viewing rights, the encrypted image information of the protected area 601 in Figure 6(c) is decrypted using the key information and restored to the image in Figure 6(b), resulting in a displayed image, i.e., an image in which the protected area 601 is viewable, as shown in Figure 6(a). On the other hand, if the image information to be displayed does not contain protection information or if the user does not have viewing rights, the image in Figure 6(b), i.e., the image in which the protected area 601 is not viewable, as shown in Figure 6(a), is generated.
[0063] In this embodiment, the metadata 402 of the image information 401 in Figure 4 contains, as protection information, encrypted image information of the protected area 601 in Figure 6(c), key information for decrypting the encrypted image of the protected area 601 in Figure 6(c), and coordinate data indicating the position for restoring the decrypted image of the protected area 601 in Figure 6(c) to the image in which the protected area 601 has been masked as shown in Figure 6(b). Note that the key information does not necessarily have to be recorded in the metadata 402; it may be held by the image processing device 501 or obtained from an external source via a network, as long as it can be acquired during decryption.
[0064] Coordinate data could include, for example, the coordinate information (X,Y) of the top-left point if the image of the protected area 601 in Figure 6(c) is rectangular and contains metadata describing the image size. If the metadata describing the image size in Figure 6(c) is not included, or if the image is decoded at a size different from the image size described in the metadata of Figure 6(c), then in addition to the coordinate information (X,Y) of the top-left point, the coordinate data of the width W and height H should also be recorded in the metadata. When restoring the image in Figure 6(a), this coordinate data is used for restoration.
[0065] In step S706, the image processing unit 107 outputs the display image generated in step S704 or S705 and an image generation completion notification to the control unit 102. When the control unit 102 receives the image generation completion notification from the image processing unit 107, it outputs the display image to the display unit 106. The display unit 106 displays the display image input from the control unit 102.
[0066] In the image display processing of this embodiment, if the image information to be displayed contains protection information or if the user has viewing rights, the protected area will be displayed as viewable. However, if the image information to be displayed does not contain protection information or if the user does not have viewing rights, the protected area will be displayed as inaccessible.
[0067] In this embodiment, an example of a configuration that controls whether the protected area of the image information to be displayed is viewable or not depending on whether the user has viewing privileges has been described, but the embodiment is not limited to this. For example, even when displaying on a display device other than the image processing device 501 of this embodiment, the image in Figure 6(c) is encrypted and recorded in the metadata 402 as protected information for the image information to be displayed, so the image to be displayed is the image in Figure 6(b). Thus, even when displaying on a display device other than the image processing device 501 of this embodiment, if the user does not have viewing privileges for the image information to be displayed, the image can be displayed in a way that the protected area cannot be viewed, as in the image in Figure 6(b).
[0068] Note that there are several possible patterns for the exchange of image generation instructions. Figure 8 illustrates three examples of patterns. Possible forms of image generation instruction exchange include those shown in Figures 8(a) to (c). Figure 8(a) shows a form in which UI301 outputs an image generation instruction to OS302, OS302 controls viewing restrictions as a function, and generates the display image. Figure 8(b) shows a form in which UI301 sends an image generation instruction to OS302, OS302 sends an image generation instruction to application 803, application 803 controls viewing restrictions as a function, and generates the display image. Figure 8(c) shows a form in which UI301 sends an image generation instruction to application 803, application 803 controls viewing restrictions as a function, and generates the display image.
[0069] As described above, the image display processing of this embodiment makes it possible to control whether the protected area of the image information to be displayed is viewable or not.
[0070] Furthermore, in this embodiment, it is also possible to control whether or not to add protection information to the image information to be saved and save it, depending on whether or not the user has viewing privileges.
[0071] <Image Saving Process> Next, referring to Figure 7(b), we will explain the process of controlling whether or not to add protection information to the image information to be saved and save it, depending on whether or not the user has viewing permission.
[0072] Figure 7(b) is a flowchart showing the image saving process of this embodiment.
[0073] The process shown in Figure 7(b) is realized by the control unit 102 of the image processing device 501 executing a program stored in the storage unit 104 and controlling each component of the image processing device 501. Furthermore, the process shown in Figure 7(b) is started when the user operates the operation unit 105 and inputs a screenshot instruction or a copy instruction to the control unit 102 while image information to be displayed, such as a web page or a playback image, is displayed on the display unit 106 of the image processing device 501.
[0074] Steps S711 and S712 perform the same processing as steps S201 and S202 in Figure 2.
[0075] In step S712, if the protection information determination unit 110 determines that protection information is recorded in the image information to be saved, the process proceeds to S713. If the protection information determination unit 110 determines that protection information is not recorded in the image information to be saved, the process proceeds to S714.
[0076] In step S713, the access permission determination unit 502 determines whether the user has access permission to view the image information to be saved. If the access permission determination unit 502 determines that the user has access permission to view the image information to be saved, the process proceeds to S714. If the access permission determination unit 502 determines that the user does not have access permission to view the image information to be saved, the process proceeds to S715.
[0077] Steps S714 and S715 perform the same processing as steps S203 and S204 in Figure 2.
[0078] In the image saving process of this embodiment, protection information is recorded in the image information to be saved, and if the user has viewing rights for the image information to be saved, the newly saved image information is masked so that the protected area 601 cannot be viewed, as shown in Figure 6(b). Key information is required to make the protected area viewable. Therefore, even if the newly saved image information is redistributed, the protected area can be protected so that it cannot be viewed.
[0079] Furthermore, if the image information to be saved does not contain protection information, or if the user does not have permission to view the image information to be saved, there is no need to add protection information to the newly saved image information. In this case, as shown in Figure 6(b), only the image information that has been masked so that the protected area 601 cannot be viewed will be saved.
[0080] Thus, according to the image saving process of this embodiment, it is possible to control whether or not to add protection information to the image information to be saved and save it, depending on whether or not the user has viewing rights.
[0081] Note that the timing at which the image processing unit 107 outputs the image saving completion notification to the control unit 102 may be after the processing in step S715. In this case, when the control unit 102 outputs the image saving completion notification to the display unit 106, the image processing unit 107 outputs the image saving completion notification to the control unit 102. Alternatively, the image processing unit 107 may not output the image saving completion notification to the control unit 102, but may output the image saving completion notification to the control unit 102 after the display unit 106 has displayed the image.
[0082] Although application 303 in Figures 3(b) and 3(c) and application 803 in Figures 8(b) and 8(c) are logically separate applications, they may be the same application.
[0083] [Embodiment 3] Next, Embodiment 3 will be described with reference to Figure 9.
[0084] Embodiment 3 describes an example in which, when the image information to be saved is not displayed at its original image size, the protection information of the image information to be saved is updated and displayed.
[0085] In this embodiment, when adding protection information to newly saved image information in step S203 of Figure 2 and step S714 of Figure 7(b), the protection information contained in the metadata 402 is updated, and the updated protection information is added.
[0086] The metadata 402 of the image information 401 contains, as protection information, the encrypted image of Figure 6(c), the key information used to decrypt the encrypted image of Figure 6(c), and coordinate data indicating the position where the image of Figure 6(c) is restored in the image of Figure 6(b). For example, if the image of Figure 6(c) is a rectangular image, the coordinate data could be coordinate information indicating the coordinates (X,Y) of the top-left point.
[0087] However, as shown in Figures 8(b) and 8(c), when an image generated as a function of application 803 is displayed, the displayed image may not be displayed at the original image size as in Figure 6(a) or Figure 6(b), as shown in Figure 9. In this case, the image information to be saved (screenshot image) will be saved at a size different from the original image size. Also, the display position of the image will be offset (X0,Y0) within the entire original image. Furthermore, the image decrypted from the encrypted image in Figure 6(c) will no longer have the width W and height H dimensions. Also, when decrypting the encrypted image in Figure 6(c) and restoring it to the image in Figure 6(b), it is necessary to restore it to a different position from the coordinates (X,Y) of the image in Figure 6(b), which is the protection information before the update.
[0088] Therefore, in this embodiment, when adding protection information to newly saved image information in step S203 of Figure 2, the display size of the image information to be saved is obtained, and the horizontal and vertical screen scales are calculated from the obtained display size and the size of the original image information (the image information to be saved before the display size was changed). The width W' and height H' of the image, which are the display size of the image in Figure 6(c), are determined from the image size of the protection information before the update in Figure 6(c), the width W and height H, and the obtained scale. In addition, the coordinates (X',Y') of the image information to be saved after the update are determined from the coordinates (X0,Y0) of the position offset from the image position in Figure 6(a) or Figure 6(b), the coordinates (X,Y) of the image in Figure 6(b), which is the protection information before the update, and the obtained scale.
[0089] The information obtained as described above is used as updated protection information, and the encrypted image of Figure 6(c), the key information used to decrypt the encrypted image of Figure 6(c), and coordinate data indicating the position where the image of Figure 6(c) is restored in the image of Figure 9 are added to the metadata 402 of the newly saved image information. The coordinate data consists of coordinate information indicating the coordinates (X',Y') of the top-left point, and the width W' and height H'.
[0090] According to this embodiment, if the displayed image is not displayed at its original size, the protection information of the newly saved image information can be updated to match the displayed image and then saved.
[0091] [Other embodiments] The present invention can also be realized by supplying a program that implements one or more functions of each embodiment to a system or device via a network or storage medium, and by having one or more processors in the computer of that system or device read and execute the program. Furthermore, the present invention can also be realized by a circuit (e.g., an ASIC) that implements one or more functions.
[0092] The invention is not limited to the embodiments described above, and various modifications and variations are possible without departing from the spirit and scope of the invention. Accordingly, claims are attached to disclose the scope of the invention. [Explanation of symbols]
[0093] 101, 501...Image processing device, 102...Control unit, 103...Memory, 104...Storage unit, 105...Operation unit, 106...Display unit, 107...Image processing unit, 108...Communication unit, 110...Protection information determination unit, 111...Protection information storage unit, 502...Viewing permission determination unit
Claims
1. image processing means for generating an image to be saved; a control means for controlling the image processing means in response to an instruction to generate a second image from a first image and store the second image; The image processing means An image processing device characterized in that, when saving the second image in accordance with the instruction, protection information recorded in the first image, which is for protecting at least a portion of the image, is added to the second image and saved.
2. The image processing means a protection information determination means for determining whether the protection information is recorded in the first image; 2. The image processing apparatus according to claim 1, further comprising protection information storage means for adding the protection information determined by the protection information determination means to the second image and storing the added protection information.
3. the second image includes an image that has been processed so that a protected area included in at least a part of the first image cannot be viewed; The image processing device described in claim 2, characterized in that the protection information records at least data in which the image in the protection area is encrypted and data indicating the position to restore the image in the protection area decrypted for the second image.
4. the image processing means includes a viewing authority determination means for determining whether or not a user has a viewing authority for the first image; 4. The image processing device according to claim 3, wherein, when the viewing authority determination means determines that the user does not have the viewing authority, the protection information storage means stores the second image without adding the protection information to it.
5. 5. The image processing apparatus according to claim 4, wherein the viewing authority determining means determines whether or not the user has the viewing authority based on the presence or absence of information for decrypting the encrypted data.
6. An image processing device as described in any one of claims 3 to 5, characterized in that the image processing means updates the size of the image of the protection area in the protection information to be added to the second image and data indicating the position at which the image of the protection area is to be restored relative to the second image based on the size of the first image and the size at which the first image is displayed.
7. The image processing device according to claim 1 , wherein the second image is a screenshot image or a duplicate image of the first image.
8. image processing means for generating an image to be displayed; a control means for controlling the image processing means in response to an instruction to display an image, The image processing means a protection information determination means for determining whether protection information for protecting at least a part of the image is recorded in the image to be displayed; and a viewing authority determining means for determining whether or not a user has viewing authority for the image to be displayed.
9. the image processing means generates an image in which a protected area of the image to be displayed is viewable when the protected information determination means determines that the protected information is recorded in the image to be displayed and when the viewing authority determination means determines that the user has the viewing authority; The image processing device described in claim 8, characterized in that if the protection information determination means determines that the protection information is not recorded in the image to be displayed or if the viewing authority determination means determines that the user does not have the viewing authority, an image is generated in which the protected area of the image to be displayed is not viewable.
10. the protection information includes at least encrypted data of an image of a protection area included in at least a part of the image to be displayed, and data indicating a position where the image of the protection area decrypted with respect to the image to be displayed is to be restored; 10. The image processing apparatus according to claim 8, wherein the viewing authority determining means determines whether or not the user has the viewing authority based on the presence or absence of information for decrypting the encrypted data.
11. A control method for an image processing device, comprising: receiving an instruction to generate and store a second image from the first image; A control method characterized by having a step of adding protection information added to the first image, which is for protecting at least a portion of the image, to the second image and saving it when the second image is saved in accordance with the instruction.
12. A control method for an image processing device, comprising: an image processing step for generating an image to be displayed in response to an instruction to display the image; The image processing step includes: a step of determining whether protection information for protecting at least a part of the image is recorded in the image to be displayed; and determining whether or not the user has a viewing authority for the image to be displayed.
13. A program for causing a computer to function as the control means and image processing means of the image processing apparatus according to any one of claims 1 to 10.
