Image processing method and device based on privacy protection
By decomposing the target image into sub-images and performing distributed storage, the problem of insufficient privacy information security in image processing is solved, and both privacy protection and accurate restoration are achieved.
Patent Information
- Application Number
- CN202210059045.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-01-19
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2042-01-19
AI Technical Summary
The security of private information during image processing is weak and can easily lead to privacy leaks.
Use a pre-trained image decomposition model to decompose the target image into multiple sub-images, and perform distributed storage according to the storage space identification information of the sub-images. Generate and store index information between the image identification information and the storage space identification information to avoid privacy. Information leakage.
It improves the security of private information in images, ensures privacy protection while accurately restoring image information, and takes into account the needs of privacy protection and accurate restoration.
Smart Images

Figure CN114419067B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of image processing technology, and in particular to an image processing method and device based on privacy protection. Background Art
[0002] In recent years, biometric technology has been widely used, bringing great convenience to people's lives. For example, public transportation places such as airports and high-speed rail stations use facial recognition systems to identify passengers; supermarkets, fast food restaurants, etc. use facial recognition checkout machines for automatic checkout. These devices equipped with biometric technology collect users' biometric information (such as facial images) and transmit, calculate and store it to identify users. However, in the process of collecting, transmitting and calculating users' biometric information, the user's privacy information may be leaked, causing inconvenience to the user. Summary of the invention
[0003] On the one hand, one or more embodiments of the present specification provide an image processing method based on privacy protection, comprising: obtaining a target image with privacy information. Decomposing the target image into multiple sub-images using a pre-trained image decomposition model, wherein the image decomposition model is obtained by model training based on multiple sample images and an image decomposition-type neural network. Determining first identification information of a first storage space corresponding to each of the sub-images. According to the first identification information of the first storage space, each of the sub-images is associated with the image identification information of the target image and stored in the corresponding first storage space, and index information between the image identification information and each of the first identification information is generated and stored.
[0004] On the other hand, one or more embodiments of the present specification provide an image processing device based on privacy protection, including:
[0005] The first acquisition module acquires a target image with privacy information. The decomposition module decomposes the target image into multiple sub-images using a pre-trained image decomposition model, wherein the image decomposition model is obtained by model training based on multiple sample images and an image decomposition neural network. The first determination module determines the first identification information of the first storage space corresponding to each of the sub-images. The first storage module associates each of the sub-images with the image identification information of the target image and stores them in the corresponding first storage space according to the first identification information of the first storage space, and generates and stores index information between the image identification information and each of the first identification information.
[0006] On another aspect, one or more embodiments of the present specification provide an image processing device based on privacy protection, including a processor and a memory electrically connected to the processor, the memory storing a computer program, and the processor being used to call and execute the computer program from the memory to achieve: obtaining a target image with privacy information. Decomposing the target image into multiple sub-images using a pre-trained image decomposition model, the image decomposition model being obtained by model training based on multiple sample images and an image decomposition-type neural network. Determining first identification information of a first storage space corresponding to each of the sub-images. Based on the first identification information of the first storage space, each of the sub-images is associated with the image identification information of the target image and stored in the corresponding first storage space, and generating and storing index information between the image identification information and each of the first identification information.
[0007] On the other hand, an embodiment of the present specification provides a storage medium for storing a computer program, wherein the computer program can be executed by a processor to implement the following process: obtaining a target image with privacy information. Decomposing the target image into multiple sub-images using a pre-trained image decomposition model, wherein the image decomposition model is obtained by model training based on multiple sample images and an image decomposition neural network. Determining first identification information of a first storage space corresponding to each of the sub-images. According to the first identification information of the first storage space, each of the sub-images is associated with the image identification information of the target image and stored in the corresponding first storage space, and generating and storing index information between the image identification information and each of the first identification information. BRIEF DESCRIPTION OF THE DRAWINGS
[0008] In order to more clearly illustrate one or more embodiments of this specification or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in one or more embodiments of this specification. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0009] Figure 1 is a schematic flow chart of an image processing method based on privacy protection according to an embodiment of this specification;
[0010] Figure 2 is a schematic flow chart of a training method for an image decomposition model according to an embodiment of this specification;
[0011] Figure 3 A schematic flowchart of an image processing method based on privacy protection according to another embodiment of this specification;
[0012] Figure 4 is a schematic scene diagram of a storage device in an image processing method based on privacy protection according to an embodiment of this specification;
[0013] Figure 5 is a schematic block diagram of an image processing device based on privacy protection according to an embodiment of this specification;
[0014] Figure 6 It is a schematic block diagram of an image processing device based on privacy protection according to an embodiment of the present specification. DETAILED DESCRIPTION
[0015] One or more embodiments of the present specification provide an image processing method and apparatus based on privacy protection to solve the problem of weak security of privacy information during image processing.
[0016] In order to enable those skilled in the art to better understand the technical solutions in one or more embodiments of this specification, the technical solutions in one or more embodiments of this specification will be clearly and completely described below in conjunction with the drawings in one or more embodiments of this specification. Obviously, the described embodiments are only part of the embodiments of this specification, not all of the embodiments. Based on one or more embodiments of this specification, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of one or more embodiments of this specification.
[0017] Figure 1 is a schematic flow chart of an image processing method based on privacy protection according to an embodiment of this specification, such as Figure 1 As shown, the method includes the following steps S102-S108:
[0018] S102, acquiring a target image with privacy information.
[0019] Among them, the target image with privacy information can be an image marked with a privacy label by the user, or an image with privacy properties intelligently identified by a computer, such as a face image, a medical image, etc.
[0020] S104, using a pre-trained image decomposition model, decompose the target image into multiple sub-images.
[0021] The image decomposition model is obtained by model training based on multiple sample images and an image decomposition neural network. The training method of the image decomposition model will be described in detail in the following embodiments and will not be described in detail here.
[0022] Image decomposition neural networks such as the UNET network have a U-shaped symmetrical structure, with a feature extraction network on the left and a feature fusion network on the right. Through feature extraction and feature fusion, the UNET network can segment images of specific areas in the target image. For example, for a face image with private information, the image decomposition model can be used to decompose it into sub-images in the upper half and sub-images in the lower half.
[0023] It should be noted that when the target image is decomposed into multiple sub-images in this embodiment, there is no limitation on the decomposition method of the target image. The decomposition method may be decomposition from the pixel dimension, such as determining the contour information in the target image according to the pixel features, and then decomposing the target image according to the contour information; or, the decomposition method may be decomposition from the region dimension, such as specifying multiple regions of the target image to be decomposed, and decomposing the target image according to the multiple regions; or, the decomposition method may be decomposition from the vector feature dimension, such as first determining the vector feature sequence corresponding to the target image, and then dividing (i.e., decomposing) the vector feature sequence into multiple feature sub-sequences; and so on.
[0024] S106: Determine first identification information of the first storage space corresponding to each sub-image.
[0025] In this embodiment, if the decomposed sub-image includes multiple sub-images, the first storage space also includes multiple sub-images. The multiple first storage spaces may be different storage spaces virtually isolated in the same storage device, or may be multiple storage devices physically isolated.
[0026] S108, according to the first identification information of the first storage space, each sub-image is associated with the image identification information of the target image and stored in the corresponding first storage space, and index information between the image identification information and each first identification information is generated and stored.
[0027] The image identification information and the index information between each first identification information may be stored in a first storage space corresponding to any sub-image, or may be stored in another storage space different from the first storage space.
[0028] The index information between the image identification information and each first identification information can be used to restore the target image. When restoring the target image, the first identification information of the first storage space where each sub-image corresponding to the target image is stored can be found according to the image identification information and index information of the target image, and then each sub-image can be found and obtained according to the first identification information, and the target image can be restored by combining each sub-image.
[0029] By using the technical solution of one or more embodiments of the present specification, a target image with privacy information is decomposed into multiple sub-images by using a pre-trained image decomposition model, and the identification information of the storage space corresponding to each sub-image is determined, and then each sub-image is associated with the image identification information of the target image and stored in the corresponding storage space according to the identification information, so that each sub-image after the target image is decomposed can be distributed and stored in different storage spaces, thereby avoiding the risk of privacy information leakage in the image when all image information of the target image is stored in the same storage space, and improving the security of privacy information in the image. In addition, by generating and storing index information between the image identification information and the identification information of each storage space, the target image can be accurately restored based on the index information while improving privacy security, taking into account the user's needs for privacy protection and accurate restoration of image information.
[0030] In one embodiment, the target image includes an original image and noise data. When acquiring the target image, the original image and the noise data corresponding to the original image may be acquired first; and then the noise data may be used to perform desensitization processing on the original image to obtain the target image.
[0031] The noise data may be randomly generated or pre-specified, which is not limited in this embodiment.
[0032] In this embodiment, the original image contains privacy information. The original data is desensitized by using noise data, and then the desensitized target image is decomposed and the sub-images are distributedly stored, thereby achieving multi-faceted privacy protection effects in the image processing process and ensuring the security of privacy information in the image processing process to the greatest extent.
[0033] Of course, the target image can also be the original image itself. That is, the original image containing the private information is used as the target image, and the target image is decomposed and distributedly stored, which can still ensure the security of the private information during the image processing process.
[0034] In one embodiment, if the target image includes an original image and noise data, the noise data may be associated with the image identification information and stored in the second storage space, and index information between the image identification information and the second identification information corresponding to the second storage space may be generated and stored.
[0035] The second storage space may be the same as or different from the first storage space. When the first storage space and the second storage space are different, the second storage space may be another storage space on the same storage device that is virtually isolated from the first storage space, or another storage device that is physically isolated from the first storage space.
[0036] In this embodiment, by storing noise data in association with image identification information, and storing index information between the image identification information and the second identification information corresponding to the second storage space, the image can be restored to the original image based on the index information. For example, after obtaining each sub-image stored in the first storage space, each sub-image is used to first restore the target image; and then the noise data stored in the second storage space is used to denoise the target data, thereby restoring the original image.
[0037] In one embodiment, the image decomposition model includes multiple ones, and the number of the image decomposition models is the same as the number of sub-images. Each image decomposition model is used to decompose different regional images in the target image. Based on this, the target image can be input into each image decomposition model respectively, so as to output each sub-image corresponding to the target image.
[0038] Of course, the image decomposition model may also include only one, in which case the output of the image decomposition model should include multiple data. Based on this, after the target image is input into the image decomposition model, the image decomposition model can output each sub-image corresponding to the target image.
[0039] In one embodiment, the image decomposition model can be trained by following the steps A1-A3.
[0040] Step A1, obtaining multiple sample images.
[0041] The sample images include private information.
[0042] Step A2, determining constraints for training the image decomposition model.
[0043] In step A3, multiple sample images are used as input data of multiple image decomposition neural networks respectively, and sample sub-images corresponding to the sample images are used as output data of the image decomposition neural network. Model training is performed according to constraint conditions to obtain multiple image decomposition models.
[0044] Assuming that each sample image is to be decomposed into two sample sub-images, two image decomposition neural networks can be used to fit each sample sub-image respectively. For example, if sample image X is decomposed into sample sub-images A and Y, sample image X can be input into two image decomposition neural networks respectively, and the training process can be constrained according to the constraints, so as to train two image decomposition models. When the two image decomposition models input sample image X, they output sample sub-image A and sample sub-image Y respectively.
[0045] In this embodiment, the constraint condition may include at least one of the following:
[0046] (1) The feature difference between the sample image and the corresponding sample sub-images is greater than or equal to a first preset threshold.
[0047] The feature difference between the sample image and the sample sub-image can be characterized from at least one level such as image pixel value, image content feature, etc. The difference between the image pixel values can characterize the difference between the sample image and the sample sub-image at the pixel level, and the difference between the image content features can characterize the difference between the sample image and the sample sub-image at the image content level. The greater the feature difference between the sample image and the sample sub-image, the greater the feature difference between the sub-image decomposed by the trained image decomposition model and the target image, thereby preventing the sub-image from being stolen and restored to the target image.
[0048] (2) The feature difference between the sample image and the corresponding sample restored image is less than a second preset threshold; the sample restored image is restored based on each sample sub-image corresponding to the sample image; the feature difference includes pixel feature difference and / or content feature difference.
[0049] The feature difference between the sample image and the sample restored image can also be characterized from at least one level such as image pixel value, image content feature, etc. The difference between the image pixel values can characterize the difference between the sample image and the sample restored image at the pixel level, and the difference between the image content features can characterize the difference between the sample image and the sample restored image at the image content level. The smaller the feature difference between the sample image and the sample restored image, the smaller the feature difference between the sub-image decomposed by the trained image decomposition model and the target image after the restoration process, thereby avoiding the situation where the image privacy security cannot be improved while accurately restoring the image.
[0050] (3) The values of the sample sub-image should be as sparse as possible.
[0051] For example, the sample image X is decomposed into sample sub-images A and Y. The value of the sample sub-image corresponding to the sample image X can be expressed as [A, Y], and [A, Y] should be as sparse as possible. The advantage of such a constraint is that for the same sample image, the value of the sample sub-image corresponding to it [A, Y] can be countless. If the value density is large, the model training process will inevitably be very complicated. If the value density is small, that is, it is relatively sparse, it can reduce the workload of model training to a certain extent, thereby improving the efficiency of model training.
[0052] Of course, the sparsity of the sample sub-image values is inversely proportional to the model accuracy. In other words, the sparser the sample sub-image values are, the lower the accuracy of the trained image decomposition model will be; conversely, the greater the density of the sample sub-image values is, the higher the accuracy of the trained image decomposition model will be. In practical applications, the sparsity of the sample sub-image values can be determined based on the balance between the sparsity of the sample sub-image values and the model accuracy.
[0053] In one embodiment, the image decomposition model includes only one, that is, after the target image is input into the image decomposition model, the image decomposition model can output each sub-image corresponding to the target image. Based on this, when training the image decomposition model, multiple sample images can be input into an image decomposition neural network, and the model training is performed according to the constraint conditions, so as to obtain the image decomposition model.
[0054] The definition of the constraint condition is the same as that in the previous embodiment and will not be repeated here.
[0055] The image decomposition model includes two implementation modes, one or more, which are the same in terms of the model training process and the definition of constraint conditions. The only difference is that the model training parameter settings of the image decomposition neural network are different.
[0056] When the image decomposition model includes only one, the model training parameters are: the input data is a sample image, and the output data is N sample sub-images of the sample image, where N is a positive integer greater than 1.
[0057] When there are multiple image decomposition models, multiple image decomposition neural networks are also required, and the model training parameters are: the input data of each image decomposition neural network is the sample image, and the output data is the corresponding sample sub-image, that is, each image decomposition neural network is only used to fit one of the sample sub-images. For example, if the sample image X is decomposed into sample sub-images A and Y, the model training parameters can be set as: the input data of the two image decomposition neural networks are both sample image X, the output data of one image decomposition neural network is sample sub-image A, and the output data of the other image decomposition neural network is sample sub-image Y.
[0058] In one embodiment, after the target image is decomposed and distributedly stored, it can be restored according to the following steps B1-B3:
[0059] Step B1, in response to a restoration request for a target image, determining each first identification information corresponding to the target image according to the image identification information and index information between each first identification information and the image identification information of the target image.
[0060] Step B2: acquiring each sub-image corresponding to the target image from each first storage space corresponding to each first identification information.
[0061] Step B3: combining the sub-images into a target image according to a preset combination rule.
[0062] Among them, the preset combination rule corresponds to the decomposition method of the target image. As mentioned in the above embodiment, the decomposition method of the target image can be decomposition from the pixel dimension, such as determining the contour information in the target image according to the pixel features, and then decomposing the target image according to the contour information; or, the decomposition method can also be decomposition from the region dimension, such as specifying multiple regions of the target image to be decomposed, and decomposing the target image according to the multiple regions; or, the decomposition method can also be decomposition from the vector feature dimension, such as first determining the vector feature sequence corresponding to the target image, and then dividing (i.e., decomposing) the vector feature sequence into multiple feature subsequences; and so on.
[0063] Correspondingly, if the target image is decomposed from the pixel dimension, the preset combination rule is: combine the pixels of each sub-image. If the target image is decomposed from the region dimension, the preset combination rule is: splice the image regions corresponding to each sub-image, and the splicing position corresponds to the decomposition position. If the target image is decomposed from the vector feature dimension, the preset combination rule is: splice the vector feature sequences corresponding to each sub-image, and the splicing order corresponds to the decomposition order.
[0064] In this embodiment, since the index information only stores the image identification information and the first identification information of each first storage space, and each sub-image after the target image is decomposed is distributed and stored in different first storage spaces, the privacy security of the image during the image processing process can be maximized. In addition, the storage location of each sub-image can be accurately known through the index information, so as to accurately restore the target image, taking into account the accurate restoration of the image after distributed storage.
[0065] In one embodiment, the target image includes an original image and noise data. After the target image is decomposed and distributedly stored, the original image can be restored according to the following steps C1-C4:
[0066] Step C1, in response to a request to restore the original image, determines the first identification information and the second identification information corresponding to the target image according to the image identification information, the index information between the first identification information corresponding to the first storage space and the second identification information corresponding to the second storage space, and the image identification information of the target image.
[0067] The first storage space is used to store each sample sub-image; the second storage space is used to store noise data.
[0068] Step C2, respectively acquiring each sub-image corresponding to the target image from each first storage space corresponding to each first identification information; and acquiring noise data corresponding to the target image from the second storage space corresponding to the second identification information.
[0069] Step C3, combining the sub-images into a target image according to a preset combination rule.
[0070] The definition of the preset combination rule is the same as that in the previous embodiment and will not be repeated here.
[0071] Step C4, using the noise data to perform denoising on the target image to obtain the original image.
[0072] In this embodiment, since the index information only stores the image identification information, the first identification information of each first storage space, and the second identification information of the second storage space, and each sub-image and noise data after the target image is decomposed are distributed and stored in different storage spaces, the privacy security of the image during the image processing process can be maximized. In addition, the storage location of each sub-image and noise data can be accurately known through the index information, so as to accurately restore the original image, taking into account the accurate restoration of the image after distributed storage.
[0073] In one embodiment, before restoring the original image (or target image), the image processing permissions of the user who issued the restoration request may be verified: first, the permission information of the user who issued the restoration request is determined; second, based on the permission information, it is determined whether the user has the permission to restore the original image (or target image); if so, each sub-image and noise data is obtained, and then the image is restored using each sub-image and noise data.
[0074] In this embodiment, judging whether the user has the authority to restore the original image (or target image) is actually to verify whether the user has the authority to obtain the index information. If the index information is stored in the index server, and each sub-image and noise data are stored in other storage devices, then by setting the use authority of the index server, only users with the authority to obtain the index information can obtain the index information in the index server, and then obtain the corresponding sub-image and noise data according to the index information.
[0075] In this embodiment, the image privacy security is ensured to a greater extent by verifying the user's image processing authority and obtaining each sub-image and noise data only when the user has the authority to restore the original image (or target image).
[0076] In one embodiment, each first storage space is physically isolated, that is, each sub-image corresponding to the target image is distributed and stored in different storage devices. When restoring the target image, the user needs to obtain each sub-image from different storage devices, that is, each storage device needs to transmit the corresponding sub-image through the network. This situation is likely to cause a bottleneck in network transmission, resulting in low data reading efficiency. To speed up data reading efficiency. After storing the index information between the image identification information and the first identification information of each first storage space, each sub-image can be associated with the image identification information and cached to multiple third storage spaces in the designated memory, and each third storage space is virtually isolated. And establish the index information between the image identification information and the third identification information of each third storage space. When receiving a restoration request for the target image, each sub-image corresponding to the target image can be obtained from each third storage space according to the image identification information; and then the sub-images are combined to obtain the target image.
[0077] In this embodiment, the designated memory may be a storage space in an index server for storing index information, and multiple mutually isolated storage spaces may be pre-created locally on the index server for caching each sub-image. That is, for each sub-image stored in different storage devices, before restoring the target image, each sub-image may be cached in the index server where the index information is located. In this way, when restoring the target image, the user may directly obtain each sub-image in the local storage space according to the index information, thereby greatly improving data reading efficiency.
[0078] In one embodiment, the sub-images corresponding to the target images can be determined to be pre-cached locally in the index server by reading the index information in the index server. Before each sub-image is cached in association with the image identification information in multiple third storage spaces in the designated memory, the response information of the restoration request for the target image can be determined first, and the response information includes the response frequency and / or the number of responses, which can reflect the reading of the index information in the index server; if the response information meets the preset response condition, each sub-image is cached in association with the image identification information in multiple third storage spaces in the designated memory; wherein the preset response condition includes at least one of the following: the response frequency is greater than or equal to the preset frequency threshold, and the number of responses is greater than or equal to the preset number threshold.
[0079] In this embodiment, by pre-caching the sub-images of the target image corresponding to the index information with a large number of responses and a high response frequency locally on the index server, a part of the sub-images with a high response frequency are cached locally in a targeted manner to avoid affecting the network transmission efficiency when these sub-images are read at a high frequency.
[0080] The following is an explanation of the privacy protection-based image processing method provided in this specification through one or more specific embodiments.
[0081] For ease of understanding, we first convert the image decomposition problem into a linear equation solving problem, as shown in the following formula (1).
[0082] X=AY+B(1)
[0083] In the above formula (1), X represents the original image, A and Y represent the two sub-images into which the original image is decomposed, and B represents the noise data corresponding to the original image. X, A, Y, and B have the same resolution and dimension. Formula (1) can be understood as: after the original image X is desensitized using the noise data B, the resulting image can be represented as XB; then the desensitized image XB is decomposed to obtain sub-images A and Y. If the relationship between X, A, Y, and B is represented in the form of a sequence, it can be understood as: the original image X is decomposed into a sub-image sequence [A, Y, B], where A and Y are sub-images decomposed using the image decomposition model, and B is the noise data for desensitizing the original image X.
[0084] the following Figure 2 and Figure 3 The embodiments shown are all based on formula (1).
[0085] Figure 2 1 is a schematic flow chart of a training method for an image decomposition model according to an embodiment of the present specification. In this embodiment, the image decomposition model includes multiple ones, which are used to decompose the original image X into sub-images A and Y respectively. In this embodiment, the UNET network is selected as the image decomposition neural network. Figure 2 As shown, the method includes the following steps S201-S204:
[0086] S201, obtaining a plurality of sample images X including privacy information, and determining noise data B corresponding to the sample images.
[0087] S202, determining constraints for training an image decomposition model.
[0088] The constraint conditions may include: (1) the feature difference between the sample image X and the corresponding sample sub-images A and Y is greater than or equal to a first preset threshold; (2) the feature difference between the sample image X and the corresponding sample restored images A and Y is less than a second preset threshold; the sample restored image is restored based on the sample sub-images A and Y corresponding to the sample image X; the feature difference includes pixel feature difference and / or content feature difference. (3) the values of the sample sub-image X are as sparse as possible.
[0089] In this embodiment, when determining the content feature difference between X, A, and Y, X, A, and Y can be respectively input into a VGG (Visual Geometry Group) network. The VGG network is a network for extracting image features, which can extract content features from X, A, and Y respectively, and then determine the content feature difference between X, A, and Y.
[0090] S203, input the sample image X and the noise data B into two UNET networks respectively.
[0091] In this step, X and B can be input into two different channels in the UNET network. The UNET network can first perform image synthesis on X and B, that is, use the noise data B to desensitize the sample image X, and perform model training based on the image synthesized by X and B.
[0092] Among the two UNET networks, one UNET network is used to fit the sample sub-image A, and the other UNET network is used to fit the sample sub-image Y.
[0093] S204, performing model training according to the constraint conditions to obtain two image decomposition models.
[0094] During the model training process, according to the above constraints, the feature difference between the sample image X and the corresponding sample sub-images A and Y should be large to ensure that the sample image cannot be easily restored; at the same time, the feature difference between the sample image X and the corresponding sample restored image Z should be small to ensure the accurate restoration of the sample image.
[0095] Based on the above formula (1), if the Euclidean distance is used to represent the difference between the sample image X and the sample restored image Z, the following expression (2) can be used to represent it:
[0096] ||AY-(XB)||(2)
[0097] In expression (2), "||||" represents the modulus value, AY represents the first image obtained by combining the sample sub-image A and the sample sub-image Y; XB represents the second image after the sample image X is desensitized using the noise data B. Then, the smaller the value of ||AY-(XB)|| is, the smaller the difference between the first image and the second image is, thereby ensuring the accurate restoration of the image.
[0098] Figure 3 FIG. 1 is a schematic flow chart of an image processing method based on privacy protection according to another embodiment of the present specification. In this embodiment, the target image includes an original image and noise data. Figure 3 As shown, the method includes the following steps S301-S308:
[0099] S301, obtaining an original image with private information and randomly generating noise data.
[0100] S302, inputting the original image and noise data into a plurality of pre-trained image decomposition models to obtain a plurality of sub-images corresponding to the original image.
[0101] In this embodiment, the original image X and the noise data B are input into the image decomposition model to obtain output data: sub-image A and sub-image Y.
[0102] S303: Determine first identification information of a first storage space corresponding to each sub-image, and second identification information of a second storage space corresponding to the noise data.
[0103] S304, according to the first identification information and the second identification information, each sub-image is associated with the image identification information of the target image and stored in the corresponding first storage space, and the noise data is associated with the image identification information of the target image and stored in the second storage space.
[0104] In this embodiment, the first storage space and the second storage space are physically isolated different storage devices. For example, sub-image A is stored in storage device 1, sub-image Y is stored in storage device 2, and noise data B is stored in storage device 3. Storage device 1, storage device 2, and storage device 3 are physically isolated from each other.
[0105] S305: Generate index information between the image identification information, each first identification information and the second identification information, and store the index information in an index server.
[0106] The index server is physically isolated from storage device 1, storage device 2, and storage device 3. Figure 4 As shown, the index server can be connected to storage device 1, storage device 2, and storage device 3 respectively for transmission of sub-images. Storage device 1, storage device 2, and storage device 3 can be connected or not connected.
[0107] S306: When receiving a request from the user to restore the original image, verify the user's authority to read the index information.
[0108] S307: If the authority verification is passed, the identification information of the storage server corresponding to each sub-image and noise data corresponding to the original image is determined according to the image identification information and index information carried in the restoration request.
[0109] S308, acquiring each sub-image and noise data from each storage server according to the identification information of each storage server.
[0110] Assuming that sub-image A is stored in storage device 1, sub-image Y is stored in storage device 2, and noise data B is stored in storage device 3, the index server determines that the user has the authority to read the index information, determines the above storage information, and then obtains sub-image A from storage device 1, obtains sub-image Y from storage device 2, and obtains noise data B from storage device 3.
[0111] S309, restoring the original data according to each sub-image and the noise data.
[0112] In this embodiment, after S305, the original image may be deleted to avoid leakage of the original image. In this way, only the sub-images and noise data stored in different storage spaces are retained, and the original image cannot be restored to an unauthorized user, thereby enhancing the privacy security of the original image.
[0113] The above formula (1) shows the relationship between the original image and each sub-image and noise data, so the original image can be restored by formula (1).
[0114] In the above specific embodiments, the case where the original image and noise data are decomposed into two sub-images is listed. That is, the original image X and noise data B are decomposed into sub-images A and Y. It should be noted that the embodiment of the present application does not limit the number of sub-images and noise data. For example, multiple noise data can be used to desensitize the original image, and the composite image of the original image and multiple noise data can be decomposed into 3 or more sub-images.
[0115] Assume that two noise data B1, B2 and B are randomly generated, and the original image X is decomposed into two sub-images. After the original image X and the noise data B1 and B2 are input into the image decomposition model, it can be decomposed into sub-images A-B1 and Y-B2. After the sub-images and noise data are combined, the sub-image sequence [A-B1, Y-B2, B1, B2] can be obtained.
[0116] By adopting the technical solution of this embodiment, the original image with privacy information and noise data are decomposed into multiple sub-images by using a pre-trained image decomposition model, and the identification information of the storage space corresponding to each sub-image and noise data is determined, and then each sub-image and noise data is associated with the image identification information of the original image and stored in the corresponding storage space according to the identification information, so that each sub-image after the original image is decomposed can be distributed and stored in different storage spaces, thereby avoiding the risk of privacy information leakage in the image when all image information of the original image is stored in the same storage space, and improving the security of privacy information in the image. In addition, by generating and storing index information between the image identification information and the identification information of each storage space, the original image can be accurately restored based on the index information while improving privacy security, taking into account the user's needs for privacy protection and accurate restoration of image information.
[0117] In summary, specific embodiments of the present subject matter have been described. Other embodiments are within the scope of the appended claims. In some cases, the actions recorded in the claims can be performed in a different order and still achieve the desired results. In addition, the processes depicted in the accompanying drawings do not necessarily require the specific order or sequential order shown to achieve the desired results. In some embodiments, multitasking and parallel processing can be advantageous.
[0118] The above is an image processing method based on privacy protection provided by one or more embodiments of this specification. Based on the same idea, one or more embodiments of this specification also provide an image processing device based on privacy protection.
[0119] Figure 5 is a schematic block diagram of an image processing device based on privacy protection according to an embodiment of this specification, such as Figure 5 As shown, the image processing device based on privacy protection includes:
[0120] A first acquisition module 510, acquiring a target image with privacy information;
[0121] A decomposition module 520 decomposes the target image into multiple sub-images using a pre-trained image decomposition model; the image decomposition model is obtained by model training based on multiple sample images and an image decomposition neural network;
[0122] A first determining module 530 determines first identification information of a first storage space corresponding to each of the sub-images;
[0123] The first storage module 540 associates each of the sub-images with the image identification information of the target image and stores them in the corresponding first storage space according to the first identification information of the first storage space; and generates and stores index information between the image identification information and each of the first identification information.
[0124] In one embodiment, the target image includes an original image and noise data;
[0125] The first acquisition module 510 includes:
[0126] An acquisition unit, acquiring the original image and the noise data corresponding to the original image;
[0127] The desensitization unit performs desensitization processing on the original image using the noise data to obtain the target image.
[0128] In one embodiment, the apparatus further comprises:
[0129] A second storage module, storing the noise data in association with the image identification information in a second storage space;
[0130] The third storage module generates and stores index information between the image identification information and the second identification information corresponding to the second storage space.
[0131] In one embodiment, the image decomposition model includes a plurality of images; the number of the image decomposition models is the same as the number of the sub-images;
[0132] The decomposition module 520 includes:
[0133] The target image is input into each of the image decomposition models respectively to output each of the sub-images corresponding to the target image.
[0134] In one embodiment, the apparatus further comprises:
[0135] A third acquisition module is used to acquire a plurality of sample images;
[0136] A third determination module determines constraint conditions for training the image decomposition model;
[0137] A model training module, which uses the plurality of sample images as input data of the plurality of image decomposition neural networks respectively, uses the sample sub-images corresponding to the sample images as output data of the image decomposition neural networks, and performs model training according to the constraint conditions to obtain the plurality of image decomposition models;
[0138] Among them, the constraint conditions include at least one of the following: the feature difference between the sample image and the corresponding sample sub-images is greater than or equal to a first preset threshold, and the feature difference between the sample image and the corresponding sample restored image is less than a second preset threshold; the sample restored image is restored based on the sample sub-images corresponding to the sample image; the feature difference includes pixel feature difference and / or content feature difference.
[0139] In one embodiment, the apparatus further comprises:
[0140] a second determining module, after generating and storing the image identification information and the index information between each of the first identification information, in response to a restoration request for the original image, determining each of the first identification information and the second identification information corresponding to the target image according to the index information and the image identification information of the target image;
[0141] A second acquisition module, respectively acquiring each of the sub-images corresponding to the target image from each of the first storage spaces corresponding to each of the first identification information; and acquiring the noise data corresponding to the target image from the second storage space corresponding to the second identification information;
[0142] A combination module, combining the sub-images into the target image according to a preset combination rule;
[0143] The denoising processing module performs denoising on the target image using the noise data to obtain the original image.
[0144] In one embodiment, the apparatus further comprises:
[0145] a fourth determining module, which determines the authority information of the user who issues the restoration request before respectively acquiring the sub-images corresponding to the target image from the first storage spaces corresponding to the first identification information;
[0146] A judgment module, judging whether the user has the authority to restore the original image according to the authority information;
[0147] The first execution module, if yes, executes the step of acquiring each of the sub-images and the noise data.
[0148] In one embodiment, the first storage spaces are physically isolated from each other;
[0149] The device also includes:
[0150] a fourth storage module, after generating and storing the image identification information and the index information between each of the first identification information, caching each of the sub-images in association with the image identification information to a plurality of third storage spaces in a designated memory; each of the third storage spaces is virtually isolated;
[0151] a fourth acquisition module, in response to a restoration request for the target image, acquiring each of the sub-images corresponding to the target image from each of the third storage spaces according to the image identification information;
[0152] The combining module combines the sub-images to obtain the target image.
[0153] In one embodiment, the apparatus further comprises:
[0154] A fifth determination module, before caching each of the sub-images in association with the image identification information into a plurality of third storage spaces in the designated memory, determines response information of the restoration request for the target image; the response information includes a response frequency and / or a response number;
[0155] A second execution module, if the response information satisfies a preset response condition, executes the step of associating each of the sub-images with the image identification information and caching them in a plurality of third storage spaces in a designated memory;
[0156] The preset response condition includes at least one of the following: the response frequency is greater than or equal to a preset frequency threshold, and the number of responses is greater than or equal to a preset number threshold.
[0157] The device using one or more embodiments of the present specification decomposes the target image with privacy information into multiple sub-images by using a pre-trained image decomposition model, and determines the identification information of the storage space corresponding to each sub-image, and then stores each sub-image in association with the image identification information of the target image in the corresponding storage space according to the identification information, so that each sub-image after the target image is decomposed can be distributed and stored in different storage spaces, thereby avoiding the risk of privacy information leakage in the image when all image information of the target image is stored in the same storage space, and improving the security of privacy information in the image. In addition, by generating and storing index information between the image identification information and the identification information of each storage space, the target image can be accurately restored based on the index information while improving privacy security, taking into account the user's needs for privacy protection and accurate restoration of image information.
[0158] Those skilled in the art should understand that the above-mentioned privacy protection-based image processing device can be used to implement the privacy protection-based image processing method described above, and the detailed description should be similar to the description of the method part above. To avoid tediousness, it will not be repeated here.
[0159] Based on the same idea, one or more embodiments of this specification also provide an image processing device based on privacy protection, such as Figure 6 As shown. The image processing device based on privacy protection may have relatively large differences due to different configurations or performances, and may include one or more processors 601 and memory 602, and the memory 602 may store one or more storage applications or data. Among them, the memory 602 can be a short-term storage or a persistent storage. The application stored in the memory 602 may include one or more modules (not shown in the figure), and each module may include a series of computer executable instructions in the image processing device based on privacy protection. Furthermore, the processor 601 can be configured to communicate with the memory 602 to execute a series of computer executable instructions in the memory 602 on the image processing device based on privacy protection. The image processing device based on privacy protection may also include one or more power supplies 603, one or more wired or wireless network interfaces 604, one or more input and output interfaces 605, and one or more keyboards 606.
[0160] Specifically, in this embodiment, the image processing device based on privacy protection includes a memory and one or more programs, wherein the one or more programs are stored in the memory, and the one or more programs may include one or more modules, and each module may include a series of computer executable instructions for the image processing device based on privacy protection, and the one or more programs are configured to be executed by one or more processors, including computer executable instructions for performing the following:
[0161] Acquire a target image with private information;
[0162] Decomposing the target image into a plurality of sub-images by using a pre-trained image decomposition model; the image decomposition model is obtained by model training based on a plurality of sample images and an image decomposition neural network;
[0163] Determine first identification information of the first storage space corresponding to each of the sub-images;
[0164] According to the first identification information of the first storage space, each of the sub-images is associated with the image identification information of the target image and stored in the corresponding first storage space; and index information between the image identification information and each of the first identification information is generated and stored.
[0165] One or more embodiments of the present specification also propose a storage medium that stores one or more computer programs. The one or more computer programs include instructions that, when executed by an electronic device that includes multiple applications, enable the electronic device to perform the various processes of the above-mentioned privacy-protection-based image processing method embodiment and achieve the same technical effect. To avoid repetition, they are not repeated here.
[0166] The systems, devices, modules or units described in the above embodiments may be implemented by computer chips or entities, or by products with certain functions. A typical implementation device is a computer. Specifically, the computer may be, for example, a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.
[0167] For the convenience of description, the above devices are described in terms of functions and are divided into various units. Of course, when implementing one or more embodiments of this specification, the functions of each unit can be implemented in the same or multiple software and / or hardware.
[0168] Those skilled in the art will appreciate that one or more embodiments of this specification may be provided as methods, systems, or computer program products. Therefore, one or more embodiments of this specification may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, one or more embodiments of this specification may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0169] One or more embodiments of the present specification are described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to the embodiments of the present specification. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0170] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0171] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process in the computer or other programmable device. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0172] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0173] The memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.
[0174] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transit media), such as modulated data signals and carrier waves.
[0175] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.
[0176] One or more embodiments of the present specification may be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types. The present specification may also be practiced in distributed computing environments where tasks are performed by remote processing devices connected through a communication network. In a distributed computing environment, program modules may be located in local and remote computer storage media, including storage devices.
[0177] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0178] The above description is only one or more embodiments of this specification and is not intended to limit this specification. For those skilled in the art, one or more embodiments of this specification may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of one or more embodiments of this specification shall be included in the scope of the claims of one or more embodiments of this specification.
Claims
1. An image processing method based on privacy protection, comprising: Acquire a target image with private information; Decomposing the target image into a plurality of sub-images using one or more pre-trained image decomposition models; The image decomposition model is obtained by model training based on multiple sample images and an image decomposition neural network; Determine first identification information of the first storage space corresponding to each of the sub-images; According to the first identification information of the first storage space, each of the sub-images is associated with the image identification information of the target image and stored in the corresponding first storage space; and index information between the image identification information and each of the first identification information is generated and stored; The image decomposition model is trained by the following method: Acquire a plurality of the sample images; determining constraints for training the image decomposition model; Using the plurality of sample images as input data of one or more image decomposition neural networks respectively, using the sample sub-images corresponding to the sample images as output data of the image decomposition neural networks, and performing model training according to the constraint conditions to obtain one or more image decomposition models; The constraint condition includes at least one of the following: the feature difference between the sample image and the corresponding sample sub-images is greater than or equal to a first preset threshold, and the feature difference between the sample image and the corresponding sample restored image is less than a second preset threshold; the sample restored image is restored based on the sample sub-images corresponding to the sample image; The feature difference includes a pixel feature difference and / or a content feature difference.
2. The method according to claim 1, wherein the target image comprises an original image and noise data; The step of acquiring the target image having the privacy information comprises: Acquire the original image and the noise data corresponding to the original image; The original image is desensitized using the noise data to obtain the target image.
3. The method according to claim 2, further comprising: storing the noise data in association with the image identification information in a second storage space; Generate and store index information between the image identification information and the second identification information corresponding to the second storage space.
4. The method according to claim 1, wherein the image decomposition model comprises a plurality of image decomposition models; the number of the image decomposition models is the same as the number of the sub-images; The method of decomposing the target image into a plurality of sub-images by using a pre-trained image decomposition model comprises: The target image is input into each of the image decomposition models respectively to output each of the sub-images corresponding to the target image.
5. The method according to claim 3, after generating and storing the image identification information and the index information between each of the first identification information, further comprising: In response to a request for restoring the original image, determining each of the first identification information and the second identification information corresponding to the target image according to the index information and the image identification information of the target image; Respectively acquiring the sub-images corresponding to the target image from the first storage spaces corresponding to the first identification information; and acquiring the noise data corresponding to the target image from the second storage spaces corresponding to the second identification information; Combining the sub-images into the target image according to a preset combination rule; The target image is subjected to denoising processing using the noise data to obtain the original image.
6. The method according to claim 5, before acquiring the sub-images corresponding to the target image from the first storage spaces corresponding to the first identification information, the method further comprises: Determining permission information of a user who issues the restore request; According to the permission information, determining whether the user has permission to restore the original image; If yes, the step of acquiring each of the sub-images and the noise data is performed.
7. The method according to claim 1, wherein the first storage spaces are physically isolated from each other; After the image identification information and the index information between each of the first identification information are generated and stored, the method further includes: Associating each of the sub-images with the image identification information and caching them in a plurality of third storage spaces in a designated memory; and virtually isolating each of the third storage spaces; In response to a restoration request for the target image, acquiring each of the sub-images corresponding to the target image from each of the third storage spaces according to the image identification information; The sub-images are combined to obtain the target image.
8. The method according to claim 7, before caching each of the sub-images in association with the image identification information into a plurality of third storage spaces in a designated memory, further comprising: Determining response information to the restoration request for the target image; The response information includes response frequency and / or response times; If the response information satisfies a preset response condition, the step of associating each of the sub-images with the image identification information and caching them in a plurality of third storage spaces in a designated memory is performed; The preset response condition includes at least one of the following: the response frequency is greater than or equal to a preset frequency threshold, and the number of responses is greater than or equal to a preset number threshold.
9. An image processing device based on privacy protection, comprising: A first acquisition module acquires a target image with privacy information; A decomposition module, decomposing the target image into a plurality of sub-images using one or more pre-trained image decomposition models; The image decomposition model is obtained by model training based on multiple sample images and an image decomposition neural network; A first determining module determines first identification information of a first storage space corresponding to each of the sub-images; A first storage module, according to the first identification information of the first storage space, associates each of the sub-images with the image identification information of the target image and stores them in the corresponding first storage space; and generates and stores index information between the image identification information and each of the first identification information; The image decomposition model is trained by the following method: Acquire a plurality of the sample images; determining constraints for training the image decomposition model; Using the plurality of sample images as input data of one or more image decomposition neural networks respectively, using the sample sub-images corresponding to the sample images as output data of the image decomposition neural networks, and performing model training according to the constraint conditions to obtain one or more image decomposition models; The constraint condition includes at least one of the following: the feature difference between the sample image and the corresponding sample sub-images is greater than or equal to a first preset threshold, and the feature difference between the sample image and the corresponding sample restored image is less than a second preset threshold; the sample restored image is restored based on the sample sub-images corresponding to the sample image; The feature difference includes a pixel feature difference and / or a content feature difference.
10. The apparatus according to claim 9, wherein the target image comprises an original image and noise data; The first acquisition module includes: An acquisition unit, acquiring the original image and the noise data corresponding to the original image; The desensitization unit performs desensitization processing on the original image using the noise data to obtain the target image.
11. The apparatus according to claim 10, further comprising: A second storage module, storing the noise data in association with the image identification information in a second storage space; The third storage module generates and stores index information between the image identification information and the second identification information corresponding to the second storage space.
12. The apparatus according to claim 11, further comprising: a second determining module, after generating and storing the image identification information and the index information between each of the first identification information, in response to a restoration request for the original image, determining each of the first identification information and the second identification information corresponding to the target image according to the index information and the image identification information of the target image; A second acquisition module, respectively acquiring each of the sub-images corresponding to the target image from each of the first storage spaces corresponding to each of the first identification information; and acquiring the noise data corresponding to the target image from the second storage space corresponding to the second identification information; A combination module, combining the sub-images into the target image according to a preset combination rule; The denoising processing module performs denoising on the target image using the noise data to obtain the original image.
13. An image processing device based on privacy protection, comprising a processor and a memory electrically connected to the processor, the memory storing a computer program, and the processor being configured to call and execute the computer program from the memory to implement: Acquire a target image with private information; Decomposing the target image into a plurality of sub-images by using one or more pre-trained image decomposition models; the image decomposition models are obtained by model training based on a plurality of sample images and an image decomposition neural network; Determine first identification information of the first storage space corresponding to each of the sub-images; According to the first identification information of the first storage space, each of the sub-images is associated with the image identification information of the target image and stored in the corresponding first storage space; and index information between the image identification information and each of the first identification information is generated and stored; The image decomposition model is trained by the following method: Acquire a plurality of the sample images; determining constraints for training the image decomposition model; Using the plurality of sample images as input data of one or more image decomposition neural networks respectively, using the sample sub-images corresponding to the sample images as output data of the image decomposition neural networks, and performing model training according to the constraint conditions to obtain one or more image decomposition models; The constraint condition includes at least one of the following: the feature difference between the sample image and the corresponding sample sub-images is greater than or equal to a first preset threshold, and the feature difference between the sample image and the corresponding sample restored image is less than a second preset threshold; the sample restored image is restored based on the sample sub-images corresponding to the sample image; The feature difference includes a pixel feature difference and / or a content feature difference.
14. A storage medium for storing a computer program, wherein the computer program can be executed by a processor to implement the following process: Acquire a target image with private information; Decomposing the target image into a plurality of sub-images by using one or more pre-trained image decomposition models; the image decomposition models are obtained by model training based on a plurality of sample images and an image decomposition neural network; Determine first identification information of the first storage space corresponding to each of the sub-images; According to the first identification information of the first storage space, each of the sub-images is associated with the image identification information of the target image and stored in the corresponding first storage space; and index information between the image identification information and each of the first identification information is generated and stored; The image decomposition model is trained by the following method: Acquire a plurality of the sample images; determining constraints for training the image decomposition model; Using the plurality of sample images as input data of one or more image decomposition neural networks respectively, using the sample sub-images corresponding to the sample images as output data of the image decomposition neural networks, and performing model training according to the constraint conditions to obtain one or more image decomposition models; The constraint condition includes at least one of the following: the feature difference between the sample image and the corresponding sample sub-images is greater than or equal to a first preset threshold, and the feature difference between the sample image and the corresponding sample restored image is less than a second preset threshold; the sample restored image is restored based on the sample sub-images corresponding to the sample image; The feature difference includes a pixel feature difference and / or a content feature difference.
Citation Information
Patent Citations
Method, device and terminal for processing and displaying images
CN106228077A
Image access method and system
CN110032877A
Ear medical image segmentation method and device, electronic equipment and storage medium
CN113538530A
