Image super-resolution algorithm based on binocular stereoscopic view angle
By introducing pyramid binocular adaptive module and AliNet model into the image super-resolution algorithm, the shortcomings of traditional algorithms in complex texture image processing are solved, and more efficient binocular image super-resolution is achieved, improving image quality and performance .
Patent Information
- Application Number
- CN202411134670.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-19
- Publication Date
- 2024-11-15
AI Technical Summary
Traditional image super-resolution algorithms perform poorly when processing complex texture images, and the introduction of iterative optimization process of optimization models leads to a high time overhead, which is difficult to meet the display needs of high-resolution devices. The monocular image super-resolution algorithm cannot effectively utilize binoculars. Image information.
A super-resolution algorithm based on binocular viewing angle is proposed. By constructing the AliNet model and the pyramid binocular adaptive module (PSAM), the deep neural network is used to adaptively match the binocular stereoscopic information to improve the super-resolution quality of the image.
The AliNet model performs better than the single image super-resolution algorithm in PSNR and SSIM indicators, significantly improving the super-resolution quality of binocular images, and is suitable for displaying high-resolution devices.
Smart Images

Figure CN118967447A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to an image super-resolution algorithm based on binocular perspective, which is applicable to the technical field of image super-resolution in computer vision. Background Art
[0002] Digital images are an important carrier of visual information and are widely used in the fields of information dissemination, security monitoring, and remote sensing monitoring. However, in the process of digital image transmission, in order to reduce the demand for transmission bandwidth, high-resolution digital images often need to be compressed and sampled. Compressed sampled digital images often suffer from quality degradation and poor display effects on high-resolution devices. Therefore, the study of super-resolution of digital images is of great significance and has great application value.
[0003] Traditional image super-resolution algorithms mainly model the image super-resolution process as a prediction optimization model. Classic algorithms are mainly based on edge information, statistical information, block models, and sparse representation models. However, traditional algorithms perform poorly in processing complex texture images. At the same time, the optimization model introduces some iterative optimization solutions, which leads to large time overhead, slow super-resolution speed, and low practical application value.
[0004] In recent years, with the development of deep learning (DL) technology, DL-based image super-resolution algorithms have made great progress, and some representative algorithms have been proposed, such as SRCNN, VDSR, DRCN, LapSRN, etc. However, these representative typical algorithms are mainly based on monocular image super-resolution algorithms. With the development of hardware technology, binocular camera modules are becoming more and more common. Therefore, the research on binocular image super-resolution algorithms has certain application needs and high research value. Summary of the invention
[0005] For binocular images, the present invention proposes an image super-resolution algorithm based on binocular digital images and deep neural networks (DNN). The method constructs the AliNet model, and constructs a pyramid stereo alignment module (PSAM) in the network model AliNet for adaptive matching of binocular stereo information, thereby improving the image super-resolution quality. The super-resolution performance of the trained and optimized AliNet is better than the current super-resolution algorithm based on a single image. While obtaining a better Peak Signal to Noise Ratio (PSNR) indicator, it performs better in local details (Structural Similarity, SSIM), indicating that the algorithm AliNet proposed in the present invention is an effective binocular image super-resolution algorithm.
[0006] In order to achieve the above object, the present invention provides the following technical solutions:
[0007] An image super-resolution algorithm based on binocular perspective, characterized in that it comprises the following steps:
[0008] Step S1: construct a training set, a validation set, and a test set based on publicly available binocular image datasets;
[0009] Step S2: constructing an AliNet network model containing a pyramid binocular adaptive module PSAM;
[0010] Step S3: Perform supervised training on the constructed AliNet model on the constructed training set until the model converges;
[0011] Step S4: Evaluate the image super-resolution performance of the converged AliNet model on the constructed test set.
[0012] Furthermore, the step S1 specifically includes:
[0013] Step S101: obtaining a public binocular image dataset Flickr1024, and dividing the dataset Flickr1024 into a training set, a validation set, and a test set, each of which includes 750 training images, 50 validation images, and 200 test images;
[0014] Step S102: In the data preprocessing stage, 128*128 resolution image blocks are intercepted from the original Flickr1024 high-resolution image, and bicubic interpolation is used for downsampling to obtain 64*64 low-resolution image blocks, and training image pairs are constructed for training, verification and testing.
[0015] Furthermore, the network model AliNet constructed in step S2 mainly includes: a feature extraction module, a pyramid binocular adaptation module and a super-resolution module.
[0016] Furthermore, the step S3 specifically includes:
[0017] Step S301: In the data preprocessing stage, the input high-resolution and low-resolution image pairs are normalized, that is, the pixel value range is normalized from [0, 255] to [0, 1]. After the normalized image is tensorized, it is input into the AliNet network model for supervised training;
[0018] Step S302: After AliNet extracts features from the input low-resolution binocular image and models the binocular disparity, it can obtain disparity-enhanced image features;
[0019] Step S303: the super-resolution module of AliNet further performs super-resolution decoding on the image features obtained in step S302 to obtain a high-resolution image;
[0020] Step S304: Calculate the loss function of the AliNet model based on the high-resolution image super-resolved by AliNet and the real high-resolution image , and its calculation method is shown in formula (1);
[0021] (1)
[0022] Step S305: based on the loss function obtained in S304 , use the Adam optimization algorithm to iterate and optimize the AliNet model parameters.
[0023] Furthermore, the step S4 specifically includes:
[0024] Step S401: read the images to be tested in the test set one by one, perform normalization operations, input the AliNets model that converges to the optimal performance to perform forward super-resolution operations, and output the corresponding super-resolution results;
[0025] Step S402: According to the super-resolution results of the AliNet model and the real high-resolution images, the objective evaluation indicators of the AliNet model on the test set are calculated, including PSNR and SSIM indicators.
[0026] The beneficial effect of the present invention is that the AliNet model constructed by the present invention can realize the modeling of binocular disparity dependency through the pyramid binocular adaptive module PSAM proposed by the present invention, and use the feature information contained in another digital image in the binocular perspective for the super-resolution process of the target digital image, thereby improving the super-resolution quality of the target digital image and improving the application value of the model. Specifically, the performance of the AliNet model on the Flickr1024 test set is better than the current single image super-resolution model, and the PSNR index and SSIM index are significantly improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] Figure 1 This is a flowchart of the image super-resolution algorithm based on binocular perspective in Example 1.
[0028] Figure 2 This is a diagram of the AliNet network model structure in Example 1.
[0029] Figure 3 This is the internal structure diagram of the pyramid binocular adaptive module PSAM in Example 1.
[0030] Figure 4 This is the training flow chart of AliNet in Example 1.
[0031] Figure 5 The following is a comparison of the evaluation indicators of the method of the present invention in Example 1 with several currently most advanced image super-resolution algorithms.
[0032] Figure 6 The figure is a comparison of the visual effects of the method of the present invention in Example 1 and several currently most advanced image super-resolution algorithms. DETAILED DESCRIPTION
[0033] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0034] Example 1
[0035] See also Figure 1-Figure 5 ,This implementation provides an image super-resolution algorithm based on binocular ,perspective.
[0036] Specifically, see Figure 1 , the algorithm of the present invention specifically includes:
[0037] Step S1: construct a training set, a validation set, and a test set based on the public general binocular image dataset Flickr1024.
[0038] More specifically, the Flickr1024 dataset contains 1,000 high-resolution digital images, the constructed training set contains 750 high-resolution digital images; the constructed validation set contains 50 high-resolution digital images; and the constructed digital image set contains 200 high-resolution digital images.
[0039] Step S2: construct the algorithm model AliNet proposed by the present invention.
[0040] More specifically, the overall architecture of the constructed AliNet model is as follows Figure 2 As shown in Figure 1, the AliNet model is mainly composed of a feature extraction module, a pyramid stereo adaptive module PSAM and a super-resolution module. Among them, the feature extraction module is mainly implemented by stacking residual modules ResBlock. The feature extraction module is based on the input low-resolution stereo image. , and extracts four binocular features of different depths; the pyramid binocular adaptation module PSAM is mainly constructed using the U-Net structure. At the same time, in order to improve the receptive field in the adaptation process, PSAM uses a hole convolution operation; the super-resolution module is mainly implemented by stacking the residual module ResBlock and the upsampling layer, and then outputs a super-resolution digital image.
[0041] Step S3: Perform super-resolution supervised training on AliNet on the constructed Flickr1024-based training set;
[0042] More specifically, the training process of the AliNet model is as follows Figure 4 The specific steps are as follows
[0043] Step S301: Randomly extract binocular training images from the training set ; Use a random sliding window to capture an image block of 128*128 on the high-resolution image; use bicubic interpolation to downsample the 128*128 image to obtain a 68*68 low-resolution image, and then obtain a high-resolution and low-resolution image pair; normalize the high-resolution and low-resolution image pair to normalize the pixel range from [0, 255] to [0, 1].
[0044] Step S302: The AliNet model extracts the input binocular image through the feature extraction module The Pyramid Stereo Adaptive Module (PSAM) performs disparity correlation modeling on the binocular features at different depths, and then obtains multi-layer features of disparity enhancement. The multi-layer features are stacked and fused for the next stage of super-resolution. The super-resolution module performs convolution operations at different depths on the obtained disparity enhancement features, and performs upsampling to obtain high-quality digital images with super-resolution.
[0045] Step S303: Based on the super-resolution image generated by AliNet and the real high-resolution image pair, calculate the loss function, and the calculation method is shown in formula (1);
[0046] (1)
[0047] Step S304: Combined with the loss information calculated in step S303, the Adam optimizer is used to iteratively update the parameters of AliNet.
[0048] Step S4: Test on the constructed test set to evaluate the super-resolution performance of the converged AliNet model.
[0049] More specifically, when testing the super-resolution performance of the AliNet model, it is necessary to downsample the test binocular images in the test set to reduce the resolution, and then normalize them before inputting them into the converged AliNet model for forward calculation to output the super-resolution results. The super-resolution results are compared with the real high-resolution images, and the PSNR and SSIM indicators are calculated. The PSNR and SSIM indicators of all images in the test set are averaged as the performance evaluation result of the AliNet model.
[0050] It should be noted that the higher the peak signal-to-noise ratio (PSNR) and the higher the structure information (SSIM) index, the better the quality of the output super-resolution image.
[0051] Figure 5 The comparison of the super-resolution performance evaluation indicators of the proposed AliNet and the advanced image super-resolution models on the test set is shown. Figure 5 From the numerical results shown, the evaluation indicators of the AliNet proposed in the present invention on each binocular test data set all exceed the current advanced models. Therefore, the super-resolution performance of the AliNet algorithm proposed in the present invention exceeds the current mainstream single image super-resolution algorithm and binocular super-resolution algorithm, achieving the best super-resolution performance.
[0052] Figure 6 This is a performance comparison chart of the method AliNet proposed in this invention and the advanced model of image super-resolution in terms of visual effects. Figure 6As shown in the figure, from left to right are SRCNN, VDSR, DRCN, LapSRN, StreoS, PASSRnet, AliNet and Ground Truth. By comparing the local method areas of the super-resolution images of each algorithm, it can be seen that the AliNet method proposed in the present invention has stronger performance in retaining local detail information and overcoming global blur, and is a better binocular image super-resolution algorithm.
[0053] The matters not described in detail in the present invention are all known technologies to those skilled in the art.
[0054] The preferred specific embodiments of the present invention are described in detail above. It should be understood that a person skilled in the art can make many modifications and changes based on the concept of the present invention without creative work. Therefore, any technical solution that can be obtained by a person skilled in the art through logical analysis, reasoning or limited experiments based on the concept of the present invention on the basis of the prior art should be within the scope of protection determined by the claims.
Claims
1. An image super-resolution algorithm based on binocular perspective, characterized in that: The method comprises the following steps: Step S1: construct a training set, a validation set, and a test set based on publicly available binocular image datasets; Step S2: construct a super-resolution model AliNet based on a deep neural network; Step S3: Perform supervised training on the constructed AliNet model on the constructed training set until the model converges; Step S4: Evaluate the image super-resolution performance of the converged AliNet model on the constructed test set.
2. According to claim 1, the image super-resolution algorithm based on binocular perspective is characterized in that: The binocular image datasets in step S1 include Flickr1024, Middlebury, Tsukuba, KITTI 2012 and KITTI 2015.
3. According to claim 1, the image super-resolution algorithm based on binocular perspective is characterized in that: The super-resolution AliNet network model constructed in step S2 mainly includes: a feature extraction module, a pyramid binocular adaptive module PSAM and a super-resolution restoration module.
4. The image super-resolution algorithm based on binocular perspective according to claim 1, characterized in that: The step S3 specifically includes: Step S301: In the data preprocessing stage, the input high-resolution and low-resolution image pairs are normalized, that is, the pixel value range is normalized from [0, 255] to [0, 1]. After the normalized image is tensorized, it is input into the AliNet network model for supervised training; Step S302: After AliNet extracts features from the input low-resolution binocular image and models the binocular disparity, it can obtain disparity-enhanced image features; Step S303: the super-resolution module of AliNet further performs super-resolution decoding on the image features obtained in step S302 to obtain a high-resolution image; Step S304: Calculate the loss function of the AliNet model based on the high-resolution image super-resolved by AliNet and the real high-resolution image , and its calculation method is shown in formula (1); (1) Step S305: based on the loss function obtained in S304 , use the Adam optimization algorithm to iterate and optimize the AliNet model parameters.
5. The image super-resolution algorithm based on binocular perspective according to claim 1, characterized in that: The step S4 specifically includes: Step S401: read the images to be tested in the test set one by one, perform normalization operations, input the AliNets model that converges to the optimal performance to perform forward super-resolution operations, and output the corresponding super-resolution results; Step S402: According to the super-resolution results of the AliNet model and the real high-resolution images, the objective evaluation indicators of the AliNet model on the test set are calculated, including PSNR and SSIM indicators.
