Image interpolation method and device, processing equipment, and storage medium

The resolution of the target image is reconstructed through the deep autoencoder, and the noisy sample image is used for unsupervised learning, which solves the problems of poor image interpolation effect and large calculation amount in the existing technology, and achieves efficient and accurate image interpolation effect. .

CN114494011BActive Publication Date: 2024-09-03UNITED IMAGING RES INST OF INNOVATIVE MEDICAL EQUIP
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202111678494.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-31
Publication Date
2024-09-03
Estimated Expiration
2041-12-31

AI Technical Summary

Technical Problem

Image interpolation methods in the existing technology are ineffective and computationally intensive, making it difficult to generate high-quality, high-resolution images.

Method used

A deep autoencoder is used to reconstruct the resolution of the target image. By training the deep autoencoder, the noisy sample image is used for unsupervised machine learning to denoise and generate a high-resolution image. The deep autoencoder does not require annotation information, which reduces the Processing costs.

Benefits of technology

Efficient and accurate image interpolation is achieved, higher resolution images are generated, processing costs are reduced, and the impact of noise information is avoided.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114494011B
    Figure CN114494011B
Patent Text Reader

Abstract

The present application relates to an image interpolation method and apparatus, a processing device, and a storage medium, wherein the method comprises: obtaining a target image; inputting the target image into a deep autoencoder, and reconstructing the resolution of the target image using the deep autoencoder to generate an output image; the deep autoencoder is configured to be trained in the following manner: obtaining multiple noisy sample images, wherein the noisy sample images are configured to be generated by adding noise to the original sample images; constructing the deep autoencoder, wherein the deep autoencoder is provided with training parameters; respectively inputting the multiple noisy sample images into the deep autoencoder to generate a predicted image; and iteratively adjusting the training parameters based on the difference between the predicted image and the original sample image until the difference meets the preset requirements. The self-learning of the deep autoencoder does not require labeling information, thereby reducing the processing cost of the original sample image.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of medical imaging technology, and in particular to an image interpolation method and apparatus, a processing device, and a storage medium. Background Art

[0002] Image interpolation is the process of generating a high-resolution image from a low-resolution image under a model-based framework to restore the lost information in the image. Image interpolation methods mainly include nearest neighbor interpolation, linear interpolation, bilinear interpolation, bisquare interpolation, bicubic interpolation and other high-order methods. Image interpolation technology is widely used in various types of images, typically including military radar images, medical images, satellite remote sensing images, astronomical observation images, geological exploration data images, biomedical slices and microscopic images, and other special images and daily people and scenery images.

[0003] In the related technologies, linear interpolation is simple, fast and has low computational complexity, but the interpolation result is prone to blurring and the interpolation effect needs to be improved. Although sinc interpolation can make the interpolated result smoother, it has a large computational complexity and low processing efficiency.

[0004] Therefore, an accurate and efficient image interpolation method is urgently needed in the relevant technology. Summary of the invention

[0005] The embodiments of the present application provide an image interpolation method, apparatus, processing device and storage medium to at least solve the problems of poor image interpolation effect and large amount of calculation in the related art.

[0006] In a first aspect, an embodiment of the present application provides an image interpolation method, comprising:

[0007] Get the target image;

[0008] The target image is input into a deep autoencoder, and the resolution of the target image is reconstructed by using the deep autoencoder to generate an output image; the deep autoencoder is set to be trained in the following manner:

[0009] Acquire a plurality of noisy sample images, where the noisy sample images are set to be generated by adding noise to the original sample images;

[0010] Constructing the deep autoencoder, wherein the deep autoencoder is provided with training parameters;

[0011] Inputting the multiple noisy sample images into the deep autoencoder respectively to generate predicted images;

[0012] Based on the difference between the predicted image and the original sample image, the training parameters are iteratively adjusted until the difference meets a preset requirement.

[0013] Optionally, in one embodiment of the present application, the acquiring a plurality of noisy sample images includes:

[0014] Get the original sample image;

[0015] Inserting a plurality of null values ​​into the original sample image to obtain an enlarged image;

[0016] Acquire a noise mask image, in which a preset proportion of pixels in the noise mask image are non-null values;

[0017] The enlarged image and the noise mask image are added to obtain the noisy sample image.

[0018] Optionally, in one embodiment of the present application, the positions of the non-null value pixels in the noise mask image do not overlap with the positions of the pixels with inserted null values ​​in the enlarged image.

[0019] Optionally, in one embodiment of the present application, inserting a plurality of null values ​​into the original sample image to obtain an enlarged image includes:

[0020] Preprocessing the original sample image includes: when it is determined that the proportion of zero-value pixels in the original sample image is greater than a preset threshold, adding a preset pixel value to each pixel of the original sample image to obtain a preprocessed sample image;

[0021] A plurality of null values ​​are inserted into the preprocessed sample image to obtain an enlarged image.

[0022] Optionally, in one embodiment of the present application, the deep autoencoder includes an encoder and a decoder, and correspondingly, the inputting the target image into the deep autoencoder for reconstructing the image resolution, and outputting the image after the resolution of the target image is reconstructed by the deep autoencoder, comprises:

[0023] Inputting the target image into the encoder, and downsampling the target image by the encoder to obtain an intermediate image with a lower feature space dimension than the target image;

[0024] The intermediate image is input into the decoder to perform resolution reconstruction on the intermediate image to obtain an image with reconstructed resolution.

[0025] Optionally, in one embodiment of the present application, inputting the target image into a deep autoencoder for reconstructing image resolution, and outputting an image after reconstructing the resolution of the target image through the deep autoencoder, comprises:

[0026] Dividing the target image into a plurality of image blocks;

[0027] Inputting the plurality of image blocks respectively into a deep autoencoder for reconstructing image resolution, and outputting image blocks after reconstructing the resolution of the image blocks through the deep autoencoder;

[0028] The image blocks after resolution reconstruction are spliced ​​into an output image corresponding to the target image.

[0029] In a second aspect, an embodiment of the present application provides an image interpolation device, including:

[0030] An image acquisition module, used for acquiring a target image;

[0031] An image resolution reconstruction module is used to input the target image into a deep autoencoder used for reconstructing the image resolution, and the deep autoencoder outputs an image after the resolution of the target image is reconstructed; wherein the deep autoencoder is trained using an unsupervised machine learning method using multiple noisy sample images, and the noisy sample images are set to be generated by adding noise to the original sample images.

[0032] In a third aspect, an embodiment of the present application provides a processing device, including a memory and a processor, wherein the memory stores a computer program, and the processor is configured to run the computer program to execute the image interpolation method.

[0033] In a fourth aspect, an embodiment of the present application provides a non-volatile computer-readable storage medium having computer program instructions stored thereon, wherein the computer program instructions implement the image interpolation method when executed by a processor.

[0034] In a fifth aspect, an embodiment of the present application provides a computer program product, comprising a computer-readable code, or a non-volatile computer-readable storage medium carrying a computer-readable code. When the computer-readable code runs in a processor of an electronic device, the processor in the electronic device executes the image interpolation method.

[0035] Details of one or more embodiments of the present application are set forth in the following drawings and description to make other features, objects, and advantages of the present application more readily apparent.

[0036] In an embodiment of the present application, using the original sample image to verify the predicted image is equivalent to constructing a feedforward mechanism between the original sample image and the predicted image, so that the deep autoencoder can self-learn the original sample image. On the one hand, the deep autoencoder can learn the useful information in the noisy sample image, that is, the feature information in the original sample image, and based on the verification of the predicted image by the original sample image, the deep autoencoder filters out the noise information in the noisy sample image, so that the deep autoencoder has the ability to denoise the image and generate an image with higher resolution. On the other hand, the self-learning of the deep autoencoder does not require the annotation of information in the original sample image, thereby reducing the processing cost of the original sample image. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:

[0038] Figure 1 is a method flow chart of an image interpolation method provided in an embodiment of the present application;

[0039] Figure 2 This is a schematic diagram of a scenario provided by an embodiment of the present application;

[0040] Figure 3 This is a schematic diagram of a scenario provided by an embodiment of the present application;

[0041] Figure 4 This is a schematic diagram of a scenario provided by an embodiment of the present application;

[0042] Figure 5 is a schematic diagram of the module structure of the image interpolation device provided in an embodiment of the present application;

[0043] Figure 6 It is a schematic diagram of the module structure of the processing device provided in the embodiment of the present application;

[0044] Figure 7 It is a conceptual partial view of the computer program product provided by the embodiment of the present application. DETAILED DESCRIPTION

[0045] In order to make the purpose, technical solutions and advantages of the present application clearer, the present application is described and illustrated below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not intended to limit the present application. Based on the embodiments provided in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present application. In addition, it can also be understood that although the efforts made in this development process may be complex and lengthy, for ordinary technicians in the field related to the contents disclosed in the present application, some changes such as design, manufacturing or production based on the technical contents disclosed in the present application are only conventional technical means, and should not be understood as insufficient contents disclosed in the present application.

[0046] Reference to "embodiments" in this application means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those of ordinary skill in the art that the embodiments described in this application may be combined with other embodiments without conflict.

[0047] Unless otherwise defined, the technical terms or scientific terms involved in this application should be understood by people with ordinary skills in the technical field to which this application belongs. The words "one", "a", "a", "the" and the like involved in this application do not indicate a quantitative limitation, and may represent the singular or plural. The terms "include", "comprise", "have" and any of their variations involved in this application are intended to cover non-exclusive inclusions; for example, a process, method, system, product or device that includes a series of steps or modules (units) is not limited to the listed steps or units, but may also include steps or units that are not listed, or may also include other steps or units inherent to these processes, methods, products or devices. The words "connect", "connected", "coupled" and the like involved in this application are not limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. The "multiple" involved in this application refers to greater than or equal to two. "And / or" describes the association relationship of associated objects, indicating that there can be three relationships, for example, "A and / or B" can represent: A exists alone, A and B exist at the same time, and B exists alone. The terms "first", "second", "third" and the like involved in the present application are merely used to distinguish similar objects and do not represent a specific ordering of the objects.

[0048] The image interpolation method described in this application is described in detail below with reference to the accompanying drawings. Figure 1It is a flowchart of an embodiment of the image interpolation method provided by the present application. Although the present application provides the method operation steps as shown in the following embodiments or drawings, more or fewer operation steps may be included in the method based on routine or no creative labor. In the steps where there is no necessary causal relationship logically, the execution order of these steps is not limited to the execution order provided in the embodiments of the present application. In the actual image interpolation process or when the method is executed, the method can be executed in the method sequence shown in the embodiments or drawings or in parallel (for example, in a parallel processor or multi-threaded processing environment).

[0049] Specifically, an implementation of the image interpolation method provided by the present application is as follows: Figure 1 As shown, the method may include:

[0050] S101: Acquire a target image.

[0051] S103: Input the target image into a deep autoencoder, and use the deep autoencoder to reconstruct the resolution of the target image to generate an output image.

[0052] In an embodiment of the present application, the target image may include medical imaging images, military radar images, satellite remote sensing images, astronomical observation images, geological exploration data images, biomedical slices, microscopic images, daily people and scenery images, and other types of images. The present application does not impose any restrictions on the image type.

[0053] In the embodiment of the present application, the deep autoencoder can be used to reconstruct the resolution of the target image to achieve interpolation of the target image and obtain an output image with higher resolution. The working principle of the deep autoencoder is first explained below. The deep autoencoder is a deep learning model based on self-supervised learning. The label of the deep autoencoder is taken from its input data. Therefore, in the process of training the deep autoencoder, there is no need to label the training data, and the processing cost of the training data is low. Figure 2 As shown, the deep autoencoder includes two components, an encoder and a decoder, and both the encoder and the decoder are implemented using neural networks. Among them, the encoder is mainly used to compress the input data and compress the input data into a lower-dimensional compressed representation. Compared with the linear compression method, the encoder in the deep autoencoder can perform nonlinear compression on the input data to obtain a compressed representation after dimensionality reduction. The compressed representation is a hidden variable in the deep autoencoder and can better maintain the discrimination of the input data. In other words, the compressed representation can retain the most informative features in the input data. Based on this, the decoder can reconstruct output data with more information.

[0054] Based on the working principle of the above-mentioned deep autoencoder, each embodiment of the present application applies the deep autoencoder to image processing, and improves the processing and training constraints of constructing image samples. Specifically, in one embodiment of the present application, the input of the target image to the deep autoencoder for reconstructing the image resolution, and the image after the resolution of the target image is reconstructed by the deep autoencoder output, may include:

[0055] S201: inputting the target image into the encoder, and downsampling the target image by the encoder to obtain an intermediate image with a lower feature space dimension than the target image;

[0056] S203: Input the intermediate image into the decoder to perform resolution reconstruction on the intermediate image to obtain an image with reconstructed resolution.

[0057] In an embodiment of the present application, the encoder can downsample the target image to a low dimension and extract the most representative information from the target image. Wherein, downsampling the target image may include reducing the size of the target image. The downsampling method in the related art mainly includes sampling pixels at intervals from the image to generate a downsampled image, such as sampling pixels in even rows and even columns. However, this downsampling method cannot retain the feature information in the image. In an embodiment of the present application, a deep neural network is used to perform dimensionality reduction sampling on the target image. The trained deep neural network can flexibly extract the information that best reflects the characteristics of the target image from the target image. In this way, the deep autoencoder can learn to remove noise from the target image and perform image interpolation on the target image.

[0058] In one embodiment of the present application, the deep autoencoder is configured to be trained in the following manner:

[0059] S103-1: Acquire a plurality of noisy sample images, where the noisy sample images are generated by adding noise to original sample images;

[0060] S103-3: construct the deep autoencoder, wherein the deep autoencoder is provided with training parameters;

[0061] S103-5: Inputting the multiple noisy sample images into the deep autoencoder respectively to generate a predicted image;

[0062] S103-7: Based on the difference between the predicted image and the original sample image, iteratively adjust the training parameters until the difference meets a preset requirement.

[0063] In the present application embodiment, Figure 3 As shown, noise can be added to the original sample image to generate a noisy sample image. The multiple original sample images may include images of the same type that meet the training objectives. For example, when it is necessary to train to obtain interpolation reconstruction of face images, the multiple original sample images may all be face images. For another example, when it is necessary to interpolate and reconstruct medical images, the multiple original sample images may all be medical images. Among them, the medical images may include magnetic resonance imaging (MRI) images, functional magnetic resonance imaging images (FMRI), positron emission computed tomography (PET) images, electronic computed tomography (CT) images, etc. This application does not limit the type of the medical images.

[0064] In an embodiment of the present application, using the original sample image to verify the predicted image is equivalent to constructing a feedforward mechanism between the original sample image and the predicted image, so that the deep autoencoder can self-learn the original sample image. On the one hand, the deep autoencoder can learn the useful information in the noisy sample image, that is, the feature information in the original sample image, and based on the verification of the predicted image by the original sample image, the deep autoencoder filters out the noise information in the noisy sample image, so that the deep autoencoder has the ability to denoise the image and generate an image with higher resolution. On the other hand, the self-learning of the deep autoencoder does not require the annotation of information in the original sample image, thereby reducing the processing cost of the original sample image.

[0065] In one embodiment of the present application, noise may be added to the original sample image by setting a noise mask image. Specifically, in one embodiment of the present application, the step of acquiring multiple noisy sample images may include:

[0066] S301: Acquire an original sample image;

[0067] S303: inserting a plurality of null values ​​into the original sample image to obtain an enlarged image;

[0068] S305: Acquire a noise mask image, in which a preset proportion of pixels in the noise mask image are non-null values;

[0069] S307: Add the enlarged image and the noise mask image to obtain the noisy sample image.

[0070] In an embodiment of the present application, multiple null values ​​may be inserted into the original sample image before image interpolation, wherein the pixel positions where the null values ​​are inserted are the pixel positions that need to be interpolated and reconstructed. The number of inserted null values ​​(i.e., the magnification of the original sample image) may be set according to the requirements for the reconstruction resolution. The higher the image resolution after reconstruction, the more null values ​​are inserted into the original sample image, and the more the image is magnified. Figure 4 The process of enlarging the original sample image is shown, as shown in FIG. Figure 4 As shown, for an original sample image of size 2 × 2, 5 null values ​​can be inserted into the image to obtain an enlarged image of size 3 × 3. Of course, the position of inserting the null value can also be set as needed, and the null value can be inserted at the position where the resolution needs to be improved.

[0071] In practical applications, for many types of images, especially medical images, there are a large number of pixels with a value of 0, and in many algorithms, the null value of an image pixel defaults to a value of 0. Based on this, in order to prevent the pixels in the original sample image from being confused with the inserted null value, a numerical value may be added to each pixel in the original sample image so that the pixel is distinguished from the inserted null value. Specifically, in one embodiment of the present application, inserting multiple null values ​​in the original sample image to obtain an enlarged image may include:

[0072] S401: Preprocessing the original sample image, including: when it is determined that the proportion of zero-value pixels in the original sample image is greater than a preset threshold, adding a preset pixel value to each pixel of the original sample image to obtain a preprocessed sample image;

[0073] S403: inserting a plurality of null values ​​into the preprocessed sample image to obtain an enlarged image.

[0074] In the embodiment of the present application, the proportion of zero-value pixels in the original sample image may be counted first, and when it is determined that the proportion is greater than a preset threshold, a preset pixel value is determined to be added to each pixel of the original sample image, for example, the preset threshold may be set to 10%, 5%, etc. For example, the added preset pixel value may be a very small value, such as a value of 1, 2, etc., which is not limited here.

[0075] In the embodiment of the present application, the role of the noise mask image is to damage the enlarged image, that is, to add a certain amount of damaged pixels, which can also be called noise pixels, to the enlarged image. Therefore, the size of the noise mask image can be the same as the size of the enlarged image. The noise mask image may include a Gaussian noise image, and the Gaussian noise image can be generated using a Gaussian noise generation function. For example, in Matlab, the randn(M, N) function can be used to automatically generate a Gaussian noise image with a mean of 0, a variance of 1, and a size of M×N. Of course, the noise mask image may also include other types of noise such as Rayleigh noise, gamma noise, uniform noise, salt and pepper noise, etc., which are not limited in the present application. Figure 4 As shown, the noise ratio in the noise mask image is 1 / 3, that is, it contains 3 noise pixels. After adding the enlarged image and the noise mask image, the noisy sample image can be generated. Of course, preprocessing the original sample image can also include normalizing the data at the original sample, such as normalizing the pixel values ​​of the image. Normalizing the original sample image can make the pixel values ​​of each pixel point be at the same order of magnitude and eliminate the dimensional influence between the pixel values.

[0076] In the embodiment of the present application, the noisy sample image is input into the deep autoencoder to generate a predicted image, and based on the difference between the predicted image and the original sample image, the training parameters of the deep autoencoder are iteratively adjusted until the difference meets the preset requirements. Here, since each pixel in the original sample image has a corresponding mapping position in the noisy sample image, such as Figure 4 As shown, pixel points a, b, c, and d are located at the four corners of the noisy sample image. Then, the noisy sample image is input into the deep autoencoder, and the deep autoencoder reconstructs the noisy sample image. For the reconstructed predicted image, its ideal state is to be able to completely or almost completely restore the original sample image, that is, it should meet the following conditions: the pixel value at the mapping position in the predicted image corresponding to the original sample image matches the original sample image. In other words, Figure 4 As shown, in the predicted image, the pixel value of pixel A should match the pixel value of pixel a in the original sample image, the pixel value of pixel B should match the pixel value of pixel b in the original sample image, and so on. Then, based on the differences between the pixels A, B, C, D in the predicted image and the pixels a, b, c, d in the original sample image, respectively, adjusting the training parameters of the deep autoencoder can enable the deep autoencoder to have a higher resolution reconstruction effect.

[0077] In the embodiment of the present application, in order to fully utilize each pixel in the original sample image to determine the error between the predicted image and the original sample image, the position of the non-null value pixel in the noise mask image and the position of the pixel with the null value inserted in the enlarged image can be set to be non-coincident. In this way, it can be avoided that the noise pixel in the noise mask image damages the pixel in the original sample image, so that the damaged pixel cannot be used as a reference value for determining the error.

[0078] In one embodiment of the present application, the error function between the predicted image and the original sample image can be constructed using the Huber loss function, which can be specifically expressed by the following expression:

[0079]

[0080] Where N is the number of pixels in the original sample image, y i is the pixel value of the i-th pixel in the original sample image, represents the pixel value of the pixel point in the predicted image corresponding to the i-th pixel point in the original sample image, δ is a hyperparameter, which can be set according to the accuracy requirement of the deep autoencoder.

[0081] Of course, in other embodiments, the error function between the predicted image and the original sample image can also be constructed using loss functions such as Mean Square Error (MSE), Mean Absolute Error (MAE), Focal loss, etc., and this application does not limit this. After determining the error function, the training parameters of the deep autoencoder can be adjusted using an optimization algorithm (such as a gradient descent method) until the difference between the predicted image and the original sample image meets the preset requirements. The difference meeting the preset requirements may include the error value between the predicted image and the original sample image being less than a preset threshold, or the number of iterations meeting a certain number, etc., and this application does not limit this.

[0082] In practical applications, many sample images are large in size. Based on this, in the embodiment of the present application, the noisy sample image can be divided into multiple sample image blocks, and the multiple sample image blocks are used to iteratively adjust the deep autoencoder. Dividing a large sample image into smaller sample image blocks and then iteratively training can accelerate the convergence speed of the deep autoencoder and improve the training efficiency of the deep autoencoder.

[0083] After training a deep autoencoder that meets the preset requirements, in the process of reconstructing the resolution of the target object using the deep autoencoder, first, the target image can be processed as follows: insert null values ​​into the target image to obtain an enlarged image of the target image. Of course, in order to distinguish the original pixel position in the target image from the position where the null value is inserted, a preset pixel value, such as a value of 1, 2, etc., can be added to each pixel point of the target image before inserting the null value. Then, the enlarged image of the target image can be input into the deep autoencoder, and the deep autoencoder is used to interpolate the null value pixel points in the target image to generate the output image. Of course, if the preset pixel value is added to the pixel point of the target image before the image interpolation, correspondingly, the preset pixel value needs to be subtracted from the corresponding pixel point of the output image.

[0084] Of course, the target image can also be processed in blocks to speed up the processing efficiency of the target image. Specifically, in one embodiment of the present application, the target image is input into a deep autoencoder for reconstructing the image resolution, and the deep autoencoder outputs an image after the resolution of the target image is reconstructed, including:

[0085] S501: Divide the target image into multiple image blocks;

[0086] S503: Inputting the plurality of image blocks into a deep autoencoder for reconstructing image resolution respectively, and outputting image blocks after reconstructing the image blocks through the deep autoencoder;

[0087] S505: splicing the image blocks after resolution reconstruction into an output image corresponding to the target image.

[0088] In the embodiment of the present application, after the target image is divided into a plurality of image blocks, each image block is reconstructed for resolution to determine the image block after resolution reconstruction corresponding to each image block, and finally the image blocks after resolution reconstruction are spliced ​​into the output image corresponding to the target object. In one example, a larger image can be divided into 16*16 image blocks, and then each 16*16 image block is reconstructed for resolution, and then the reconstructed images are spliced ​​into the output image corresponding to the target object.

[0089] The image interpolation method provided in each embodiment of the present application uses a deep autoencoder to perform image interpolation on the target image to obtain an output image with higher resolution. In the process of training the deep autoencoder, a feedforward mechanism can be constructed between the predicted image and the original sample image, so that the deep autoencoder can self-learn the original sample image. On the one hand, the deep autoencoder can learn the feature information in the noisy sample image that belongs to the original sample image, and remove the added noise, so that the deep autoencoder has image denoising capabilities and generates images with higher resolution. On the other hand, the self-learning of the deep autoencoder does not require annotation information in the original sample image, thereby reducing the processing cost of the original sample image.

[0090] On the other hand, the present application also provides an image interpolation device, such as Figure 5 As shown, the image interpolation device 500 may include:

[0091] An image acquisition module 501 is used to acquire a target image;

[0092] The image resolution reconstruction module 503 is used to input the target image into a deep autoencoder for reconstructing the image resolution, and the deep autoencoder outputs an image after the resolution of the target image is reconstructed; wherein the deep autoencoder is trained by unsupervised machine learning using multiple noisy sample images, and the noisy sample images are set to be generated by adding noise to the original sample images.

[0093] The embodiment of the present application further provides a processing device 600, which can be a physical device or a cluster of physical devices, or a virtualized cloud device, such as at least one cloud computing device in a cloud computing cluster. For ease of understanding, the present application uses the processing device 600 as an independent physical device to illustrate the structure of the processing device 600.

[0094] like Figure 6As shown, the processing device 600 includes: a processor and a memory for storing processor executable instructions; wherein the processor is configured to implement the above-mentioned device when executing the instructions. The processing device 600 includes a memory 601, a processor 603, a bus 605 and a communication interface 607. The memory 601, the processor 603 and the communication interface 607 communicate through the bus 601. The bus 605 can be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus, etc. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 6 The communication interface 607 is used for communicating with the outside.

[0095] The processor 603 may be a central processing unit (CPU). The memory 601 may include a volatile memory, such as a random access memory (RAM). The memory 601 may also include a non-volatile memory, such as a read-only memory (ROM), a flash memory, a HDD or a SSD.

[0096] The memory 601 stores executable codes, and the processor 603 executes the executable codes to perform the aforementioned test scenario construction method.

[0097] An embodiment of the present application provides a computer-readable storage medium on which computer program instructions are stored. When the computer program instructions are executed by a processor, the above method is implemented.

[0098] An embodiment of the present application provides a computer program product, including a computer-readable code, or a non-volatile computer-readable storage medium carrying the computer-readable code. When the computer-readable code runs in a processor of an electronic device, the processor in the electronic device executes the above method.

[0099] In some embodiments, the disclosed methods may be implemented as computer program instructions encoded in a machine-readable format on a computer-readable storage medium or on other non-transitory media or articles of manufacture. Figure 7Schematically illustrates a conceptual partial view of an example computer program product arranged according to at least some embodiments presented herein, the example computer program product comprising a computer program for executing a computer process on a computing device. In one embodiment, the example computer program product 700 is provided using a signal bearing medium 701. The signal bearing medium 701 may include one or more program instructions 702, which when executed by one or more processors may provide the above-described Figure 1 The functions or parts of the functions described. In addition, Figure 7 Program instructions 702 in also describe example instructions.

[0100] In some examples, the signal-bearing medium 701 may include a computer-readable medium 703, such as, but not limited to, a hard drive, a compact disk (CD), a digital video disk (DVD), a digital tape, a memory, a read-only memory (ROM) or a random access memory (RAM), etc. In some embodiments, the signal-bearing medium 701 may include a computer-recordable medium 704, such as, but not limited to, a memory, a read / write (R / W) CD, a R / W DVD, etc. In some embodiments, the signal-bearing medium 701 may include a communication medium 705, such as, but not limited to, a digital and / or analog communication medium (e.g., a fiber optic cable, a waveguide, a wired communication link, a wireless communication link, etc.). Thus, for example, the signal-bearing medium 701 may be communicated by a wireless form of communication medium 705 (e.g., a wireless communication medium that complies with the IEEE 802.11 standard or other transmission protocol). One or more program instructions 702 may be, for example, computer executable instructions or logic implementation instructions. In some examples, such as for Figure 2 The computing device of the computing device described can be configured to provide various operations, functions, or actions in response to the program instructions 702 communicated to the computing device by one or more of the computer-readable medium 703, the computer-recordable medium 704, and / or the communication medium 705. It should be understood that the arrangement described here is only for the purpose of example. Thus, it will be understood by those skilled in the art that other arrangements and other elements (e.g., machines, interfaces, functions, sequences, and functional groups, etc.) can be used instead, and some elements can be omitted together according to the desired results. In addition, many of the elements described are functional entities that can be implemented as discrete or distributed components or in any appropriate combination and position in combination with other components.

[0101] The flow chart and block diagram in the accompanying drawings show the possible architecture, function and operation of the device, system and computer program product according to multiple embodiments of the present application. In this regard, each square frame in the flow chart or block diagram can represent a part of a module, program segment or instruction, and a part of the module, program segment or instruction includes one or more executable instructions for realizing the logical function of the specification. In some alternative implementations, the function marked in the square frame can also occur in a sequence different from that marked in the accompanying drawings. For example, two continuous square frames can actually be executed substantially in parallel, and they can also be executed in the opposite order sometimes, depending on the function involved.

[0102] It should also be noted that each box in the block diagram and / or flowchart, and the combination of boxes in the block diagram and / or flowchart, can be implemented by hardware (such as a circuit or ASIC (Application Specific Integrated Circuit)) that performs the corresponding function or action, or can be implemented by a combination of hardware and software, such as firmware.

[0103] Although the invention is described herein in conjunction with various embodiments, in the process of practicing the claimed invention, those skilled in the art may understand and implement other variations of the disclosed embodiments by reviewing the drawings, the disclosure, and the appended claims. A single processor or other unit may implement several functions listed in the claims. The fact that certain measures are recited in mutually different dependent claims does not mean that these measures cannot be combined to produce good results.

[0104] The embodiments of the present application have been described above, and the above description is exemplary, not exhaustive, and is not limited to the disclosed embodiments. Many modifications and changes will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The selection of terms used herein is intended to best explain the principles of the embodiments, practical applications, or improvements to the technology in the market, or to enable other persons of ordinary skill in the art to understand the embodiments disclosed herein.

Claims

1. An image interpolation method, characterized in that: include: Get the target image; The target image is input into a deep autoencoder, and the resolution of the target image is reconstructed by using the deep autoencoder to generate an output image; the deep autoencoder is set to be trained in the following manner: Acquire a plurality of noisy sample images, where the noisy sample images are set to be generated by adding noise to the original sample images; Constructing the deep autoencoder, wherein the deep autoencoder is provided with training parameters; Inputting the multiple noisy sample images into the deep autoencoder respectively to generate predicted images; Iteratively adjusting the training parameters based on the difference between the predicted image and the original sample image until the difference meets a preset requirement; The step of acquiring a plurality of noisy sample images comprises: Get the original sample image; Inserting a plurality of null values ​​into the original sample image to obtain an enlarged image; Acquire a noise mask image, in which a preset proportion of pixels in the noise mask image are non-null values; The enlarged image and the noise mask image are added to obtain the noisy sample image.

2. The image interpolation method according to claim 1, characterized in that: The positions of the non-null value pixels in the noise mask image do not overlap with the positions of the pixels with inserted null values ​​in the enlarged image.

3. The image interpolation method according to claim 1, characterized in that: The inserting a plurality of null values ​​into the original sample image to obtain an enlarged image comprises: Preprocessing the original sample image includes: when it is determined that the proportion of zero-value pixels in the original sample image is greater than a preset threshold, adding a preset pixel value to each pixel of the original sample image to obtain a preprocessed sample image; A plurality of null values ​​are inserted into the preprocessed sample image to obtain an enlarged image.

4. The image interpolation method according to claim 1, characterized in that: The deep autoencoder includes an encoder and a decoder. Correspondingly, the target image is input into a deep autoencoder for reconstructing the image resolution, and the deep autoencoder outputs an image after the resolution of the target image is reconstructed, including: Inputting the target image into the encoder, and downsampling the target image by the encoder to obtain an intermediate image with a lower feature space dimension than the target image; The intermediate image is input into the decoder to perform resolution reconstruction on the intermediate image to obtain an image with reconstructed resolution.

5. The image interpolation method according to claim 1, characterized in that: The step of inputting the target image into a deep autoencoder for reconstructing the image resolution, and outputting an image after the resolution of the target image is reconstructed through the deep autoencoder, comprises: Dividing the target image into a plurality of image blocks; Inputting the plurality of image blocks respectively into a deep autoencoder for reconstructing image resolution, and outputting image blocks after reconstructing the resolution of the image blocks through the deep autoencoder; The image blocks after resolution reconstruction are spliced ​​into an output image corresponding to the target image.

6. An image interpolation device, characterized in that: include: An image acquisition module, used for acquiring a target image; An image resolution reconstruction module, used for inputting the target image into a deep autoencoder for image resolution reconstruction, and outputting an image after the resolution of the target image is reconstructed through the deep autoencoder; wherein the deep autoencoder is trained by unsupervised machine learning using a plurality of noisy sample images, and the noisy sample images are generated by adding noise to the original sample images; The image resolution reconstruction module is also used to obtain an original sample image; insert multiple null values ​​into the original sample image to obtain an enlarged image; obtain a noise mask image, in which a preset proportion of pixels in the noise mask image are non-null values; and add the enlarged image and the noise mask image to obtain the noisy sample image.

7. A processing device, comprising a memory and a processor, characterized in that: A computer program is stored in the memory, and the processor is configured to run the computer program to perform the method according to any one of claims 1 to 5.

8. A non-volatile computer-readable storage medium having computer program instructions stored thereon, characterized in that: When the computer program instructions are executed by a processor, the method according to any one of claims 1 to 5 is implemented.

9. A computer program product, characterized in that The method comprises a computer-readable code or a non-volatile computer-readable storage medium carrying the computer-readable code. When the computer-readable code runs in a processor of an electronic device, the processor in the electronic device executes the method described in any one of claims 1 to 5.

Citation Information

Cited By

  • Making an augmented training data set for training a machine learning data model to interpret ground penetrating radar b-scans

    WO2026055617A1