CN103475876A - Learning-based low-bit-rate compression image super-resolution reconstruction method - Google Patents
Learning-based low-bit-rate compression image super-resolution reconstruction method Download PDFInfo
- Publication number
- CN103475876A CN103475876A CN2013103791541A CN201310379154A CN103475876A CN 103475876 A CN103475876 A CN 103475876A CN 2013103791541 A CN2013103791541 A CN 2013103791541A CN 201310379154 A CN201310379154 A CN 201310379154A CN 103475876 A CN103475876 A CN 103475876A
- Authority
- CN
- China
- Prior art keywords
- image
- block
- filtering
- super
- value
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 90
- 230000006835 compression Effects 0.000 title claims abstract description 34
- 238000007906 compression Methods 0.000 title claims abstract description 34
- 230000000694 effects Effects 0.000 claims abstract description 65
- 238000001914 filtration Methods 0.000 claims description 67
- 230000006870 function Effects 0.000 claims description 20
- 238000009499 grossing Methods 0.000 claims description 12
- 238000003064 k means clustering Methods 0.000 claims description 12
- 238000012805 post-processing Methods 0.000 claims description 12
- 238000012549 training Methods 0.000 claims description 12
- 238000011156 evaluation Methods 0.000 claims description 10
- 230000008569 process Effects 0.000 claims description 6
- 238000012545 processing Methods 0.000 claims description 5
- 230000008859 change Effects 0.000 claims description 4
- NAWXUBYGYWOOIX-SFHVURJKSA-N (2s)-2-[[4-[2-(2,4-diaminoquinazolin-6-yl)ethyl]benzoyl]amino]-4-methylidenepentanedioic acid Chemical compound C1=CC2=NC(N)=NC(N)=C2C=C1CCC1=CC=C(C(=O)N[C@@H](CC(=C)C(O)=O)C(O)=O)C=C1 NAWXUBYGYWOOIX-SFHVURJKSA-N 0.000 claims description 2
- 230000000717 retained effect Effects 0.000 claims description 2
- 231100000647 material safety data sheet Toxicity 0.000 claims 10
- 238000013139 quantization Methods 0.000 description 6
- 230000007704 transition Effects 0.000 description 3
- 230000000007 visual effect Effects 0.000 description 3
- 230000005540 biological transmission Effects 0.000 description 2
- 230000000903 blocking effect Effects 0.000 description 2
- 238000004364 calculation method Methods 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 238000002474 experimental method Methods 0.000 description 2
- 239000011159 matrix material Substances 0.000 description 2
- 230000003044 adaptive effect Effects 0.000 description 1
- 230000003321 amplification Effects 0.000 description 1
- 238000004458 analytical method Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000000605 extraction Methods 0.000 description 1
- 238000003199 nucleic acid amplification method Methods 0.000 description 1
- 238000003672 processing method Methods 0.000 description 1
- 238000011084 recovery Methods 0.000 description 1
- 230000035945 sensitivity Effects 0.000 description 1
Images
Landscapes
- Image Processing (AREA)
- Compression Or Coding Systems Of Tv Signals (AREA)
Abstract
本发明公开了一种基于学习的低比特率压缩图像超分辨率重建方法,算法分为离线部分和在线部分。离线部分,首先采用不同压缩质量参数值对低分辨率图像进行压缩;然后对压缩图像进行滤波处理,接着将滤波后压缩图像的量化失真程度作为特征,将滤波后的LR图像按照其失真程度分为多类并建立分类样本库,然后分别用各类样本进行超分辨率模型的训练。在线部分,首先对输入图像进行滤波处理,接着判定其压缩失真类别,然后根据判定结果,选择相应类别的样本库和超分辨率模型,实现基于学习的超分辨率复原。相比其他算法,本发明的方法能针对不同失真程度的输入LR图像自适应的调节与其相匹配的样本库,并能有效解决块效应失真对图像超分辨率的影响,与直接对低比特率失真图像进行超分辨率复原相比,本发明方法所重建的图像具有更高的主客观质量。
The invention discloses a learning-based low bit rate compressed image super-resolution reconstruction method, and the algorithm is divided into an offline part and an online part. In the offline part, the low-resolution image is first compressed with different compression quality parameter values; then the compressed image is filtered, and then the quantized distortion degree of the filtered compressed image is used as a feature, and the filtered LR image is classified according to its degree of distortion. Establish a classification sample library for multiple classes, and then use each type of sample to train the super-resolution model. In the online part, the input image is firstly filtered, and then its compression distortion category is determined. Then, according to the determination result, the sample library and super-resolution model of the corresponding category are selected to realize super-resolution restoration based on learning. Compared with other algorithms, the method of the present invention can adaptively adjust the matching sample library for input LR images with different degrees of distortion, and can effectively solve the impact of block effect distortion on image super-resolution, and directly solve the problem of low bit rate Compared with the super-resolution restoration of the distorted image, the image reconstructed by the method of the present invention has higher subjective and objective quality.
Description
技术领域technical field
本发明涉及图像处理方法,特别涉及一种基于学习的低比特率压缩图像超分辨率重建方法。The invention relates to an image processing method, in particular to a learning-based low-bit-rate compressed image super-resolution reconstruction method.
背景技术Background technique
高质量的图像和视频因其具有更丰富的信息和更真实的视觉感受,越来越成为一种主流的需求。但是图像的质量越高也就意味着数据量越大,这给图像信息的存储、传输、处理等带来了很大的负担。受到传输带宽和存储空间等因素的影响,人们对视频和图像内容进行低比特压缩的需求日益增长。但是,当JPEG压缩率较高时,通常会导致解码后重建图像的质量下降,影响信息的主观质量和自动分析。因此,针对高度压缩后的低质图像,研究超分辨率复原技术,提高图像的质量,具有重要的理论意义和实际应用价值。High-quality images and videos are increasingly becoming a mainstream demand because of their richer information and more realistic visual experience. However, the higher the quality of the image, the greater the amount of data, which brings a great burden to the storage, transmission, and processing of image information. Affected by factors such as transmission bandwidth and storage space, there is an increasing demand for low-bit compression of video and image content. However, when the JPEG compression rate is high, it usually leads to a decrease in the quality of the reconstructed image after decoding, affecting the subjective quality and automatic analysis of information. Therefore, for highly compressed low-quality images, it is of great theoretical significance and practical application value to study super-resolution restoration technology to improve image quality.
然而,由于图像压缩方法本身的局限性,采用针对非压缩图像的超分辨率方法直接对低比特压缩图像进行超分辨率重建时,会出现严重的块效应失真。因此,去除块效应成为低比特压缩图像超分辨率复原过程中的一个重要问题。人们往往采用后处理的方法来减少块效应。后处理方法在滤波时独立于解码器,直接对解码后的图像进行操作,具有灵活、简单、有效等优势。基于图像增强的后处理方法,因其不依赖任何解码信息,可独立地去除块效应,更易于实现而得到广泛研究。其中,空域滤波是一种最基本的方法,该方法直接对图像中像素的亮度值进行处理。由于图像中的块效应是由于量化误差引起的,图像内容的变化会引起压缩后图像的块效应的表现形式,因此对图像不同区域自适应地选择不同平滑强度的滤波器,有着很重要的意义。典型的空域滤波法通常采用纹理分类的方法,根据人眼视觉特性将图像分为平坦块与非平坦块,然后进行自适应滤波,该方法的两个显著特点是根据自身局部信息将图像划分为不同的区域,对不同的区域采用不同的滤波方法去除块效应。通常的方法是在平坦区域采用高强度平滑,因为平坦区域不存在高频信息,高强度的平滑不会使图像过度模糊。对于非平坦块,由于存在较多的高频信息,应用低强度平滑滤波能够较好地保存高频细节信息。然而在该算法中,含有明显边缘信息的区域统一归为纹理区域,并未进行单独处理。实验结果表明,受到量化失真的影响,这类区域会对图像的主观质量造成较大的影响。因此,采用与纹理区域相同的滤波器不能很好地处理边缘区域的量化失真问题。However, due to the limitations of the image compression method itself, when the super-resolution method for uncompressed images is used to directly perform super-resolution reconstruction on low-bit compressed images, severe blockiness distortion will occur. Therefore, removing blockiness becomes an important issue in the process of super-resolution restoration of low-bit compressed images. People often use post-processing methods to reduce block effects. The post-processing method is independent of the decoder when filtering, and directly operates on the decoded image, which has the advantages of flexibility, simplicity, and effectiveness. Post-processing methods based on image enhancement have been extensively studied because they do not rely on any decoding information, can independently remove blocking artifacts, and are easier to implement. Among them, spatial filtering is the most basic method, which directly processes the brightness values of pixels in the image. Since the block effect in the image is caused by the quantization error, the change of the image content will cause the expression of the block effect of the compressed image, so it is very important to adaptively select filters with different smoothing strengths for different areas of the image. . The typical spatial domain filtering method usually adopts the method of texture classification, which divides the image into flat blocks and non-flat blocks according to the human visual characteristics, and then performs adaptive filtering. Two notable features of this method are to divide the image into Different regions use different filtering methods to remove block effects. The usual method is to use high-intensity smoothing in flat areas, because there is no high-frequency information in flat areas, and high-intensity smoothing will not make the image excessively blurred. For non-flat blocks, due to the existence of more high-frequency information, the application of low-intensity smoothing filtering can better preserve high-frequency detail information. However, in this algorithm, regions containing obvious edge information are collectively classified as texture regions and are not processed separately. Experimental results show that such regions will have a greater impact on the subjective quality of the image due to quantization distortion. Therefore, using the same filter as the texture area cannot deal with the quantization distortion problem in the edge area well.
发明内容Contents of the invention
本发明的目的在于,面向低比特率压缩图像,采用一种改进的后处理滤波算法和一种样本预分类的方法,结合基于学习的图像超分辨率方法,解决具有块效应失真的低分辨率图像的超分辨率复原问题。The purpose of the present invention is to solve low-resolution images with block effect distortion by using an improved post-processing filtering algorithm and a sample pre-classification method for low-bit-rate compressed images, combined with a learning-based image super-resolution method. The problem of super-resolution restoration of images.
本发明是采用以下技术手段实现的:The present invention is realized by adopting the following technical means:
一种基于学习的低比特率压缩图像超分辨率重建方法,整体流程图如附图1所示;算法分为离线部分和在线部分;其流程图分别如附图2和附图3所示;离线部分,根据压缩图像失真程度建立分类样本库;首先采用不同压缩质量参数(CQ,Compressed Quality)值对低分辨率(LR,Low Resolution)图像进行压缩;然后对压缩图像进行滤波处理,去除失真图像中的部分块效应;接着将滤波后压缩图像的量化失真程度作为特征进行K均值聚类,将滤波后的LR图像按照其失真程度分为多类并建立分类样本库,分别用各类样本进行超分辨率模型的训练;在线部分,对输入图像进行压缩程度的类别判定,然后实现基于学习的超分辨率复原;首先对输入的低比特率压缩LR图像进行滤波处理,然后评估量化失真程度,选择相应类别的样本库和超分辨率模型,进行基于学习的超分辨率复原。A learning-based method for super-resolution reconstruction of low-bit-rate compressed images, the overall flow chart is shown in Figure 1; the algorithm is divided into an offline part and an online part; its flow charts are shown in Figure 2 and Figure 3 respectively; In the offline part, a classification sample library is established according to the degree of distortion of the compressed image; firstly, the low-resolution (LR, Low Resolution) image is compressed by using different compression quality parameters (CQ, Compressed Quality) values; then the compressed image is filtered to remove the distortion Part of the block effect in the image; then, the quantitative distortion degree of the filtered compressed image is used as a feature for K-means clustering, and the filtered LR image is divided into multiple categories according to the degree of distortion and a classification sample library is established. Perform super-resolution model training; in the online part, classify the compression degree of the input image, and then realize super-resolution restoration based on learning; first filter the input low-bit-rate compressed LR image, and then evaluate the degree of quantization distortion , select the sample library and super-resolution model of the corresponding category, and perform learning-based super-resolution restoration.
所述离线部分分为4个步骤:The offline part is divided into 4 steps:
(1)对m幅LR图像运用JPEG压缩方法,进行n个不同CQ值的压缩处理,生成不同压缩失真程度的样本图像共m×n幅。以上所述LR图像是指相对于高分辨率(HR,High Resolution)图像而言,如果一幅HR图像单位面积内所占的像素数为H,那么相对于这幅HR图像而言单位面积内所占像素数小于或等于1/2×H,一般就视其为低分辨率图像。这里,CQ值为采用JPEG对图像进行压缩时的压缩质量参数,调节CQ大小就可以得到不同压缩率的压缩图像;(1) Apply the JPEG compression method to m LR images, perform compression processing with n different CQ values, and generate m×n sample images with different degrees of compression distortion. The LR image mentioned above refers to the high-resolution (HR, High Resolution) image, if the number of pixels per unit area of an HR image is H, then relative to this HR image, the area per unit area If the number of pixels occupied is less than or equal to 1/2×H, it is generally regarded as a low-resolution image. Here, the CQ value is the compression quality parameter when using JPEG to compress the image, and the compressed image with different compression rates can be obtained by adjusting the CQ size;
(2)对(1)中得到的图像采用后处理滤波方法进行滤波处理,去除失真图像中的部分块效应。(2) The image obtained in (1) is filtered by a post-processing filtering method to remove part of the block effect in the distorted image.
(3)对滤波后的图像压缩失真程度进行评估。计算每幅滤波后的图像的块效应失真值,作为失真程度评估值。以上所述,后处理滤波方法,首先对图像进行纹理分类,将图像划分为边缘区域,纹理区域和平坦区域,然后根据图像块的类型,针对性的选择不同的滤波方法对图像进行滤波,去除图像中的块效应。以上所述,图像的块效应失真程度评估值方法采用图像的MSDS值作为图像块效应的失真程度评估值。MSDS(MSDS,Mean Squared Difference of Slopes)是一种均方斜率误差的块效应评价准则,MSDS算法通过描述图像块边界像素跳变的剧烈程度来衡量块效应的程度。在正常的图像中,相邻块边界的像素亮度值通常为平稳过度或者连续过度,正常图像中边缘像素值跳变不可能总出现在分块的边界处,如果图像分块的边界处的像素值总是出现跳变就可以认为此处出现了块效应。MSDS通过计算相邻图像块边界处的像素差值和靠近边界的像素平均亮度差值,来反应块与块边界之间的像素跳变情况,因此,根据MSDS值的大小,就可以判别图像块效应失真的严重程度。(3) Evaluate the degree of image compression distortion after filtering. Calculate the blockiness distortion value of each filtered image as the evaluation value of the degree of distortion. As mentioned above, the post-processing filtering method firstly classifies the texture of the image, divides the image into edge area, texture area and flat area, and then according to the type of image block, selects different filtering methods to filter the image to remove Blocking artifacts in images. As mentioned above, the method for evaluating the degree of distortion of image block effect uses the MSDS value of the image as the evaluation value of the degree of distortion of image block effect. MSDS (MSDS, Mean Squared Difference of Slopes) is a block effect evaluation criterion of mean square slope error. The MSDS algorithm measures the degree of block effect by describing the sharpness of pixel jumps at the border of the image block. In a normal image, the brightness values of pixels at the boundary of adjacent blocks usually transition smoothly or continuously. In a normal image, edge pixel value jumps cannot always occur at the boundary of the block. If the pixels at the boundary of the image block If the value always jumps, it can be considered that there is a block effect here. MSDS reflects the pixel jump between blocks and block boundaries by calculating the pixel difference at the border of adjacent image blocks and the average brightness difference of pixels near the border. Therefore, according to the size of the MSDS value, the image block can be identified The severity of the effect distortion.
(4)用得到的评估值为特征,采用K均值聚类的方法按照滤波后的图像的失真程度将这些图像分为N类;针对每个类中的图像,建立用于超分辨率复原的样本库,结合与样本库中LR图像对应的HR图像进行基于学习的超分辨率复原模型的训练,为在线部分的输入图像超分辨率复原做准备;(4) Using the obtained evaluation value as a feature, the K-means clustering method is used to divide these images into N categories according to the degree of distortion of the filtered images; for the images in each category, a super-resolution restoration method is established The sample library, combined with the HR image corresponding to the LR image in the sample library, is used to train the super-resolution restoration model based on learning, and prepare for the super-resolution restoration of the input image in the online part;
所述在线部分分为3个步骤:The online section is divided into 3 steps:
(1)输入一幅低比特率压缩图像,对其采用以上所述后滤波方法进行滤波处理;(1) Input a low-bit-rate compressed image, and use the above-mentioned post-filtering method to filter it;
(2)对滤波后的图像计算MSDS值,得到该图的块效应失真评估分数;根据得到的分数与N个类别中的样本图像的分数计算相似度,判断输入图像所属的压缩失真类别。判断输入图像所属的压缩失真类别具体方法为:首先对输入的失真LR图像进行滤波处理,获得其MSDS值,然后计算它与N个类别的聚类中心间的欧氏距离,以与输入图像的欧氏距离最近的聚类中心所在类别,为输入图像所属的类别;(2) Calculate the MSDS value of the filtered image to obtain the block effect distortion evaluation score of the image; calculate the similarity between the obtained score and the scores of the sample images in N categories, and judge the compression distortion category to which the input image belongs. The specific method of judging the compression distortion category of the input image is as follows: firstly filter the input distorted LR image to obtain its MSDS value, and then calculate the Euclidean distance between it and the cluster centers of N categories to obtain the Euclidean distance from the input image. The category of the cluster center with the closest Euclidean distance is the category to which the input image belongs;
(3)选择与输入图像最相近的一类中的样本作为输入图像的样本库,将滤波后的输入图像的数据输入到离线部分已经训练好的超分辨率复原模型中,实现图像的超分辨率复原;(3) Select the sample in the category closest to the input image as the sample library of the input image, input the data of the filtered input image into the super-resolution restoration model that has been trained in the offline part, and realize the super-resolution of the image recovery rate;
本发明与现有技术相比,具有以下明显的优势和有益效果:Compared with the prior art, the present invention has the following obvious advantages and beneficial effects:
本发明首先提出了一种改进的空域图像滤波算法,利用了人眼视觉敏感特征,将图像纹理分为平坦块,边缘块和纹理块。然后分别对3种类型块区域采用不同强度的滤波算法,去除块效应。在建立样本库时,采用这种改进的滤波方法对失真的LR图像进行了滤波处理,较好的解决了重建图像的块效应失真问题;另外,针对不同压缩失真程度的LR输入图像,提取了滤波后图像的MSDS值作为每幅图像的特征,然后采用K均值聚类将具有相近失真程度的图像归为一类,并建立相应的样本库。在对不同失真程度的输入LR图像进行超分辨率复原时,首先评估其MSDS值,然后确立最相近的一类作为输入LR图像的样本库,最后应用基于学习的超分辨率算法进行超分辨率复原获得输出的HR图像。相比其他算法,本发明的方法能针对不同失真程度的输入LR图像自适应的调节与其相匹配的样本库,并能有效解决块效应失真对图像超分辨率的影响,与直接对低比特率失真图像进行超分辨率复原相比,本发明方法所重建的图像具有更高的主客观质量。The invention firstly proposes an improved spatial domain image filtering algorithm, which utilizes the human visual sensitivity feature and divides the image texture into flat blocks, edge blocks and texture blocks. Then filter algorithms with different strengths are used for the three types of block regions to remove the block effect. When building the sample library, this improved filtering method is used to filter the distorted LR image, which better solves the problem of block effect distortion of the reconstructed image; in addition, for LR input images with different degrees of compression distortion, extracted The MSDS value of the filtered image is used as the feature of each image, and then K-means clustering is used to classify images with similar degrees of distortion into one category, and a corresponding sample library is established. When performing super-resolution restoration on input LR images with different degrees of distortion, first evaluate its MSDS value, then establish the most similar class as a sample library for input LR images, and finally apply a learning-based super-resolution algorithm for super-resolution Restoration obtains the output HR image. Compared with other algorithms, the method of the present invention can adaptively adjust the matching sample library for input LR images with different degrees of distortion, and can effectively solve the impact of block effect distortion on image super-resolution, and directly solve the problem of low bit rate Compared with the super-resolution restoration of the distorted image, the image reconstructed by the method of the present invention has higher subjective and objective quality.
本发明的特点:Features of the present invention:
1.提出一种改进的空域滤波算法,将图像纹理分为平坦块,边缘块和纹理块,分别对3种类型块区域采用不同强度的滤波算法,滤波更具针对性,在滤波的同时更好地保持图形细节信息;1. An improved spatial filtering algorithm is proposed, which divides the image texture into flat blocks, edge blocks and texture blocks, and uses different intensities of filtering algorithms for the three types of block areas respectively. Preserve graphical detail information well;
2.利用失真图像的MSDS特征值,采用K均值聚类对图像的失真程度进行分类,可自适应调节与输入图像相匹配的样本库,同时细化了样本库,减少了计算量;2. Using the MSDS eigenvalue of the distorted image, K-means clustering is used to classify the degree of distortion of the image, and the sample library that matches the input image can be adaptively adjusted, and the sample library is refined at the same time, reducing the amount of calculation;
3.用于超分辨率复原所用的样本库是通过滤波后建立的,有效解决了图像超分辨率重建的块效应失真问题;3. The sample library used for super-resolution restoration is established after filtering, which effectively solves the problem of block effect distortion in image super-resolution reconstruction;
下面结合实例参照附图进行详细说明,以求对本发明的目的、特征和优点得到更深入的理解。The following will be described in detail with reference to the accompanying drawings in conjunction with examples, in order to obtain a deeper understanding of the purpose, features and advantages of the present invention.
附图说明:Description of drawings:
图1、发明方法总体流程图;Fig. 1, overall flowchart of inventive method;
图2、发明方法离线部分流程图;Fig. 2, the flow chart of the offline part of the inventive method;
图3、发明方法在线部分流程图;Fig. 3, the flow chart of the online part of the inventive method;
图4、图像纹理分类结果;(a)原始图像;(b)边缘图像;(c)纹理图像;(d)平坦图像;Figure 4. Image texture classification results; (a) original image; (b) edge image; (c) texture image; (d) flat image;
图5、块效应示意图;Figure 5. Schematic diagram of block effect;
图6、需要被滤波的水平与垂直边界示意图;Figure 6. Schematic diagram of horizontal and vertical boundaries that need to be filtered;
图7、基于示例学习的超分辨率重建模型;Figure 7. Super-resolution reconstruction model based on example learning;
图8、本发明方法与现有方法结果比较:Fig. 8, method of the present invention compares with existing method result:
(a)原始高分辨率图像 (b)JPEG压缩后的图像(CQ=15)(a) Original high-resolution image (b) JPEG compressed image (CQ=15)
(c)经过压缩后直接重建图像 (d)现有方法(c) Reconstruct the image directly after compression (d) Existing methods
(e)本发明结果。(e) Results of the invention.
具体实施方式:Detailed ways:
以下结合说明书附图,对本发明的实施实例加以详细说明:Below in conjunction with accompanying drawing of description, the embodiment of the present invention is described in detail:
本发明算法分为离线和在线两部分。离线部分,根据压缩图像失真程度建立分类样本库;首先采用不同压缩质量参数(CQ)值对低分辨率(LR)图像进行压缩;然后对压缩图像进行滤波后处理,去除失真图像中较明显的块效应;接着将滤波后压缩图像的量化失真程度作为特征进行K均值聚类,将滤波后的LR图像按照其失真程度分为多类并建立分类样本库,分别用各类样本进行超分辨率模型的训练;在线部分,对输入图像进行类别判定完成基于学习的超分辨率复原;首先对输入的低比特率压缩LR图像进行滤波处理,然后评估量化失真程度,选择相应类别的样本库和超分辨率模型,进行基于学习的超分辨率复原。The algorithm of the present invention is divided into two parts: off-line and on-line. In the offline part, a classification sample library is established according to the degree of distortion of the compressed image; firstly, the low-resolution (LR) image is compressed by using different compression quality parameters (CQ) values; Block effect; then use the quantitative distortion degree of the filtered compressed image as a feature to perform K-means clustering, divide the filtered LR image into multiple categories according to its degree of distortion and establish a classification sample library, and use various samples for super-resolution Model training; in the online part, the classification of the input image is determined to complete the super-resolution restoration based on learning; firstly, the input low bit rate compressed LR image is filtered, and then the degree of quantization distortion is evaluated, and the sample library of the corresponding category and the super-resolution are selected. Resolution model for learning-based super-resolution restoration.
(一)离线部分(1) Offline part
(1)不同CQ值对LR图像进行压缩(1) Compress LR images with different CQ values
选择一个HR图像样本库(非压缩图像),样本库中图像具体分辨率为140×160像素,选择其中的1000幅HR图像,然后对这些图像直接进行下采样,生成1000幅低分辨率的LR图像组成样本库。从这个LR样本库中选择m=300幅图像,具体分辨率为70×80像素的图像。采用JPEG压缩方式,将这m幅LR图像进行CQ=5~20的压缩,这样共产生4800幅压缩失真图像。CQ值选择这个区间的原因是当CQ小于5时,图像失真程度已经无法进行有效的超分辨率复原,且不是常用的CQ范围,CQ大于20时,图像的主观质量已经基本一致,人眼已经无法察觉图像失真,并且压缩码流的大小超出低比特率范围。Select an HR image sample library (non-compressed image), the specific resolution of the image in the sample library is 140×160 pixels, select 1000 HR images, and then directly downsample these images to generate 1000 low-resolution LR images Images make up a sample library. Select m=300 images from this LR sample library, and the specific resolution is an image of 70×80 pixels. Using JPEG compression, the m LR images are compressed with CQ=5~20, so that a total of 4800 compressed and distorted images are produced. The reason for choosing this interval for the CQ value is that when CQ is less than 5, the degree of image distortion cannot be effectively restored by super-resolution, and it is not a commonly used CQ range. When CQ is greater than 20, the subjective quality of the image is basically the same. There is no perceptible image distortion, and the size of the compressed bitstream exceeds the low bit rate range.
(2)对压缩图像进行滤波处理(2) Filter the compressed image
对(1)中得到的图像采用后处理滤波方法进行滤波处理,以上所述,后处理滤波方法,首先对图像进行纹理分类,将图像划分为边缘区域,纹理区域和平坦区域;然后根据图像块的类型,针对性地选择不同的滤波方法对图像进行滤波。将3种区域按照8×8大小分块,再根据图像块类型分别采用不同方式进行去块效应滤波。The image obtained in (1) is filtered by the post-processing filtering method. As mentioned above, the post-processing filtering method firstly classifies the image texture, and divides the image into edge area, texture area and flat area; then according to the image block According to the type, different filtering methods are selected to filter the image. The three regions are divided into blocks according to the size of 8×8, and then deblocking filtering is performed in different ways according to the image block types.
首先,对图像进行纹理分类,具体方法为:First, texture classification is performed on the image, the specific method is:
选择Sobel算子提取图像像素点的梯度信息,采用的方向模板如公式(1):Select the Sobel operator to extract the gradient information of image pixels, and use the direction template as formula (1):
对于一幅图像,首先用这4个方向模板分别与该图像进行卷积,得到图像4个方向上的梯度值,对于图像中每一个点而言,由于该点拥有4个梯度值,因此我们选择4个梯度值中最大的一个作为该点的梯度值,记作gmax,i对应图像的行,j对应图像的列;然后采用3种成分模型将图像分为边缘、纹理和平坦区域;具体骤是:1、计算阈值,TH1=0.12×gmax和TH2=0.06×gmax,其中gmax是所得4个方向的整幅图像的梯度值中最大的梯度值;TH1、TH2为高低门限阈值,作为判别像素点纹理分类的依据,0.12和0.06是经验值;2、采用公式(2)将图像像素分为边缘、纹理或平坦区域;For an image, first use these 4 direction templates to convolve with the image respectively to obtain the gradient values in the 4 directions of the image. For each point in the image, since the point has 4 gradient values, we Select the largest of the 4 gradient values as the gradient value of the point, denoted as g max , i corresponds to the row of the image, and j corresponds to the column of the image; then the image is divided into edge, texture and flat regions by using three component models; The specific steps are: 1. Calculate the threshold, TH 1 =0.12×g max and TH 2 =0.06×g max , where g max is the largest gradient value among the gradient values of the entire image in the four directions obtained; TH 1 , TH 2 is the high and low threshold threshold value, as the basis for judging the texture classification of pixel points, 0.12 and 0.06 are empirical values; 2, adopt formula (2) to divide image pixels into edge, texture or flat area;
其中,G(i,j)是图像中每个像素点的梯度值,当像素点(i,j)位置的梯度值大于TH1时,该像素点就被划分为边缘区(edgepixel);当像素点(i,j)位置的梯度值小于TH2时该像素点就被划分为平坦区(smoothpixel);如果像素点(i,j)位置的梯度值在TH1和TH2之间时该像素点就被划分为纹理区。以Lena图像为例,划分结果如图4所示。图4中左起第一幅图像为原始图像,接着是边缘图像、纹理图像和平坦图像。这些图像经过了二值化处理,其中图4(b)中黑色像素点组成的明显连续线条代表了边缘区域。图4(c)中散乱分布的黑色像素点代表了纹理区域。平坦区域则由图4(d)中成片的黑色区域表示。Among them, G(i, j) is the gradient value of each pixel in the image. When the gradient value of the pixel point (i, j) is greater than TH 1 , the pixel is divided into an edge area (edgepixel); when When the gradient value of the pixel point (i, j) is less than TH 2 , the pixel point is divided into a flat area (smooth pixel); if the gradient value of the pixel point (i, j) position is between TH 1 and TH 2 , the The pixels are divided into texture regions. Taking the Lena image as an example, the division results are shown in Figure 4. The first image from the left in Figure 4 is the original image, followed by the edge image, texture image and flat image. These images have been binarized, and the obvious continuous lines composed of black pixels in Fig. 4(b) represent the edge regions. The scattered black pixels in Fig. 4(c) represent texture regions. The flat areas are represented by patches of black areas in Fig. 4(d).
以上所述,针对性的选择不同的滤波方法对图像进行滤波的具体方法为:As mentioned above, the specific method of selecting different filtering methods to filter the image is as follows:
对图像进行纹理划分后,根据图像块的类型,针对性地用不同的滤波方式对图像块进行滤波,具体方法如下:After the image is divided into textures, according to the type of the image block, different filtering methods are used to filter the image block. The specific method is as follows:
由于平坦块内的块效应最易被人眼察觉,因此需要高强度的滤波器来滤除这部分的块效应;用滤波强度最大的滤波器去除平坦块的块效应,在滤波时只选择相邻块都是平坦块的边界;假设a,b分别为两个8×8像素大小的平坦块,且a,b的位置关系是左右相邻的,如图5所示,将a的右4列和b的左4列像素组成一个新的图像块c,则a、b中间的块效应将被完整地保留在c中,因此对a,b之间块效应的滤波实则是对c进行滤波操作;设c中任意一行从左到右的8个像素点依次表示为:p3,p2,p1,p0,q0,q1,q2,q3;如图6左图所示,那么对c中任意一行采用公式(3)、(4)、(5)进行滤波:Since the block effect in the flat block is most easily perceived by the human eye, a high-strength filter is required to filter out this part of the block effect; use the filter with the highest filtering strength to remove the block effect of the flat block, and only select the corresponding block effect when filtering. Neighboring blocks are the boundaries of flat blocks; assuming that a and b are two flat blocks with a size of 8×8 pixels respectively, and the positional relationship between a and b is adjacent to the left and right, as shown in Figure 5, the right 4 of a Column and the left 4 columns of pixels of b form a new image block c, then the block effect between a and b will be completely retained in c, so the filtering of block effect between a and b is actually filtering c operation; let the 8 pixels in any row in c from left to right be expressed as: p 3 , p 2 , p 1 , p 0 , q 0 , q 1 , q 2 , q 3 ; as shown in the left figure of Figure 6 Shown, then use formulas (3), (4) and (5) to filter any row in c:
p'0=(p2+2p1+2p0+2q0+q1+4)/8 (3)p' 0 =(p 2 +2p 1 +2p 0 +2q 0 +q 1 +4)/8 (3)
p’1=(p2+p1+p0+q0+2)/4 (4)p' 1 =(p 2 +p 1 +p 0 +q 0 +2)/4 (4)
p’2=(2p3+3p2+p1+p0+q0+4)/8 (5)p' 2 =(2p 3 +3p 2 +p 1 +p 0 +q 0 +4)/8 (5)
其中p’0、p’1和p’2是p0,p1,p2经过滤波后的结果,p3点不进行处理;对q点值进行滤波时,只需在滤波器中将公式(3)、(4)、(5)中相应位置的p点像素改为q点像素,q点像素改为p点像素就可以了;即为将q0采用p0的滤波方式,q1采用p1的滤波方式,q2采用p2的滤波方式,q3采用p3的滤波方式进行滤波;当a,b的位置是上下相邻的时候,只需要将a,b同时旋转90度然后按照左右相邻的情况进行滤波即可,如图6右图所示;Among them, p' 0 , p' 1 and p' 2 are the filtered results of p 0 , p 1 , and p 2 , and point p 3 is not processed; when filtering the value of point q, it is only necessary to apply the formula In (3), (4), and (5), the p-point pixel at the corresponding position is changed to q-point pixel, and the q-point pixel is changed to p-point pixel; that is, q 0 adopts p 0 filtering method, and q 1 Use the filtering method of p 1 , q 2 adopts the filtering method of p 2 , and q 3 uses the filtering method of p 3 for filtering; when the positions of a and b are adjacent up and down, only need to rotate a and b by 90 degrees at the same time Then filter according to the left and right adjacent conditions, as shown in the right figure of Figure 6;
对于相邻块都是边缘块的情况,沿用前述中c块的组成方式得到c块,由于c中间位置的像素亮度有明显的跳变,将c的这种块效应用一个二维阶梯函数blk来模拟,如公式(6)所示:For the case where the adjacent blocks are all edge blocks, block c is obtained by following the composition method of block c in the above. Since the brightness of the pixel in the middle of c has obvious jumps, the block effect of c is applied to a two-dimensional step function blk to simulate, as shown in formula (6):
其中,数值1/2和-1/2代表了图像块c中间的阶梯效应;首先对c块中的每一行中央处像素的块效应强度进行评估,如公式(7):Among them, the values 1/2 and -1/2 represent the ladder effect in the middle of the image block c; first evaluate the block effect strength of the pixel at the center of each row in the block c, as in formula (7):
β=[c(i,6)-3×c(i,5)+3×c(i,4)-c(i,3)]/2 (7)β=[c(i,6)-3×c(i,5)+3×c(i,4)-c(i,3)]/2 (7)
其中β代表c块中间位置的块效应强度;然后选择一个适合的平滑函数取代产生块效应的阶梯函数,考虑到边缘块的细节信息较多,且存在块效应的位置纹理结构复杂,因此只对边界处像素进行轻微平滑,采用的平滑函数如公式(8):Among them, β represents the intensity of block effect in the middle of block c; then choose a suitable smooth function to replace the step function that produces block effect. Considering that the edge block has more detailed information and the texture structure of the position with block effect is complex, so only for The pixels at the boundary are slightly smoothed, and the smoothing function used is as formula (8):
其中βlevel根据块效应强度β得到,可自适应地控制平滑函数的形状,当βlevel值越小时平滑函数越接近原来的阶梯函数;平滑函数可以最小限度地改变边界像素值,尽可能轻微地降低图像块边界的亮度跳变,不会造成图像的模糊;在具体处理时将该平滑函数进行离散化,构造出一维平滑函数:Among them, β level is obtained according to the block effect intensity β, which can adaptively control the shape of the smoothing function. When the value of β level is smaller, the smoothing function is closer to the original step function; the smoothing function can minimize the change of the boundary pixel value, as slightly as possible Reduce the brightness jump at the boundary of the image block without blurring the image; discretize the smoothing function during specific processing to construct a one-dimensional smoothing function:
de_blk(j)=[f(-49)f(-35)f(-21)f(-7)f(7)f(21)f(35)f(49)]de_blk(j)=[f(-49)f(-35)f(-21)f(-7)f(7)f(21)f(35)f(49)]
c'(i,j)=c(i,j)+β×[de_blk(j)-blk(j)] (9)c'(i,j)=c(i,j)+β×[de_blk(j)-blk(j)] (9)
这里,de_blk(j)是由f(x)产生的1×8大小的数组,c`(i,j)为c的第i行被滤波后的结果,这里c(i,j)是指c的第i行所有元素,blk(j)是指c中任意一行被模拟成blk后的值,这样图像中的每一行经过平滑后可以有效去除块效应;为了不使整幅图像由于滤波造成过分的模糊现象,将不对边缘块与其他类型块之间的边界做处理;对于纹理块之间的边界以及纹理块与平坦块之间的边界,采用与相邻块都为平坦块的情况相类似的滤波方法,区别在于滤波的时候对p2位置和q2位置的像素点不进行滤波处理;Here, de_blk(j) is an array of 1×8 size generated by f(x), and c`(i,j) is the filtered result of row i of c, where c(i,j) refers to c blk(j) refers to the value after any row in c is simulated as blk, so that each row in the image can effectively remove the block effect after smoothing; in order not to make the entire image excessive due to filtering The boundary between edge blocks and other types of blocks will not be processed; for the boundaries between texture blocks and the boundaries between texture blocks and flat blocks, similar to the case where adjacent blocks are flat blocks The filtering method, the difference is that when filtering, the pixels at the p 2 position and q 2 position are not filtered;
(3)对滤波后的图像压缩失真程度进行评估(3) Evaluate the degree of image compression distortion after filtering
计算每幅滤波后图像的块效应失真(MSDS,Mean Squared Difference of Slopes)值,作为每幅图像的块效应失真程度评估值;MSDS是一种均方斜率误差的块效应评价准则,MSDS算法通过描述图像块边界像素跳变的剧烈程度来衡量块效应的程度;在正常的图像中相邻块边界的像素亮度值通常为平稳过度和连续过度,图像中边缘像素值跳变不可能总出现在分块的边界处;因此,根据MSDS值的大小,就可以判别图像块效应失真的严重程度;在计算MSDS时,是计算相邻图像块边界处的像素差值和靠近边界的像素平均亮度差值,具体方法为:Calculate the block effect distortion (MSDS, Mean Squared Difference of Slopes) value of each filtered image as the evaluation value of the block effect distortion degree of each image; MSDS is a block effect evaluation criterion of the mean square slope error, and the MSDS algorithm passes To measure the degree of block effect by describing the sharpness of the pixel jump at the border of the image block; in a normal image, the brightness values of the pixels at the border of the adjacent block are usually smooth transition and continuous transition, and the jump of the edge pixel value in the image cannot always appear in the At the boundary of the block; therefore, according to the size of the MSDS value, the severity of the image block effect distortion can be judged; when calculating the MSDS, the pixel difference at the boundary of the adjacent image block and the average brightness difference of the pixels near the boundary are calculated value, the specific method is:
同前所述组成c块的方法,设块c为相邻块a和b组成的新块,则计算a和b的MSDS值如公式如(10)所示:The method for forming block c is the same as that described above, assuming that block c is a new block formed by adjacent blocks a and b, then calculate the MSDS values of a and b as shown in the formula (10):
由于每一个图像块都不只有一个与其相邻的图像块,因此每一个块的MSDS值都是与其相邻块求得的每一个MSDS值的和;而一幅图像的MSDS值则是所有块的MSDS值的平均值;Since each image block does not have only one adjacent image block, the MSDS value of each block is the sum of each MSDS value obtained from its adjacent blocks; while the MSDS value of an image is the sum of all blocks The average value of the MSDS value;
(4)基于K均值聚类的样本库建立(4) Establishment of sample library based on K-means clustering
低比特率图像由于压缩编码时受到量化误差的影响,重建图像会出现严重失真,产生新的图像结构“块效应”。因此,采用超分辨率复原算法对这类失真图像进行复原时,如果依然采用原图像库的训练结果,会严重影响重建图像的质量。在对失真的输入图像进行2倍放大时,采用原有的数据库和训练模型下得到的超分辨率复原重建结果会产生严重的失真。因此需要针对失真图像重新建立样本库。通过确定一个CQ值对所有的LR图像进行压缩之后,可建立一个失真图像样本库。然后利用此样本库重新训练超分辨率模型,以建立失真图像的LR组合系数和HR图像的组合系数之间关系,用于恢复出HR图像。然而在实验中,当LR的压缩率较高时,造成的重建图像失真情况很严重,从而无法获得较好的恢复结果。因此,采用本发明中的后处理滤波算法,对失真样本首先去除块效应,然后,建立滤波后LR样本库,就能够有效改善失真图像的超分辨率复原效果。另一方面,由于不同压缩比所生的压缩图像的失真程度有着明显的差别,由此所造成的重建图像中的块效应失真程度也有很大差异,因此,有必要针对不同压缩率的图像分辨进行样本库的建立和超分辨率模型的训练。然而,对于一副输入的压缩图像,是无法获知其压缩信息的,因此,就需要对输入图像的压缩程度进行预测Due to the impact of quantization error on low bit rate images, the reconstructed image will be severely distorted, resulting in a new image structure "block effect". Therefore, when using the super-resolution restoration algorithm to restore such distorted images, if the training results of the original image library are still used, the quality of the reconstructed image will be seriously affected. When the distorted input image is magnified by 2 times, the super-resolution restoration and reconstruction results obtained under the original database and training model will produce serious distortion. Therefore, it is necessary to re-establish the sample library for distorted images. After compressing all LR images by determining a CQ value, a distorted image sample library can be established. Then use this sample library to retrain the super-resolution model to establish the relationship between the LR combination coefficient of the distorted image and the combination coefficient of the HR image, which is used to restore the HR image. However, in the experiment, when the compression rate of LR is high, the distortion of the reconstructed image is very serious, so it is impossible to obtain a better restoration result. Therefore, by adopting the post-processing filtering algorithm in the present invention, the block effect is firstly removed for the distorted samples, and then the filtered LR sample library is established, which can effectively improve the super-resolution restoration effect of the distorted images. On the other hand, since the degree of distortion of the compressed image produced by different compression ratios is significantly different, the degree of block effect distortion in the reconstructed image is also very different. Therefore, it is necessary to distinguish images with different compression ratios. The establishment of the sample library and the training of the super-resolution model are carried out. However, for an input compressed image, its compression information cannot be known, so it is necessary to predict the compression degree of the input image
根据得到的MSDS值,将滤波后的样本通过K均值聚类分成N类。这里需要指出的是,由于在离线部分采用了CQ值为5到20的共16个质量参数对图像进行压缩,因此,原则上N的取值范围应为2到16,分类越多最终得到的结果会越好,但相应的运算速度会越慢,因此,综合考虑运算速度和准确性两个因素,通过实验验证得出聚类时选择N=3为最合适的分类。每个类中所包含的样本图像用来训练对应的基于学习的超分辨率复原模型。According to the obtained MSDS value, the filtered samples are divided into N classes by K-means clustering. It should be pointed out here that since a total of 16 quality parameters with a CQ value of 5 to 20 are used to compress the image in the offline part, in principle, the value range of N should be 2 to 16, and the more classifications, the final The result will be better, but the corresponding operation speed will be slower. Therefore, considering the two factors of operation speed and accuracy, it is verified by experiments that N=3 is the most suitable classification for clustering. The sample images contained in each class are used to train the corresponding learning-based super-resolution restoration model.
K均值聚类是一种无监督学习算法,其核心思想是通过迭代把数据样本划分到不同的簇中,使得目标函数最小化,从而使生成的簇尽可能地紧凑和独立。给定样本集和整数K,K均值聚类算法首先随机选择K个初始聚类中心,接着将未选中的数据对象根据它们与各个聚类簇中心点的欧氏距离,分配到距离最小的簇中。然后将各个簇中的所有样本的平均值作为新的聚类簇中心点,即质心。重复以上步骤,通过不停迭代直到目标函数收敛为止。通常采用的目标函数为平方误差准则函数:K-means clustering is an unsupervised learning algorithm. Its core idea is to iteratively divide data samples into different clusters to minimize the objective function, so that the generated clusters are as compact and independent as possible. Given a sample set and an integer K, the K-means clustering algorithm first randomly selects K initial cluster centers, and then assigns the unselected data objects to the cluster with the smallest distance according to their Euclidean distance from each cluster center point middle. Then the average value of all samples in each cluster is used as the center point of the new cluster cluster, that is, the centroid. Repeat the above steps and iterate until the objective function converges. The commonly used objective function is the squared error criterion function:
其中,xj为样本数据,即LR图像的MSDS值,Ci表示簇Cj的质心,E则表示所有样本到质心的欧氏距离和。Among them, x j is the sample data, that is, the MSDS value of the LR image, C i represents the centroid of the cluster C j , and E represents the sum of the Euclidean distances from all samples to the centroid.
使用CQ值从5到20对300幅图像进行压缩后并进行了滤波处理共产生4800幅图像,计算这些图像的MSDS值作为4800个特征值,将这些特征首先随意分成3类,然后进行K均值聚类,在反复迭代计算后得到3个聚类中心,将每个聚类中心包含的近似样本存为一个样本库。需要指出的是,由于训练过程是训练LR图像和与之对应的HR图像之间的关系,所以最终的样本库中,还应该包含每幅LR图像所对应的HR图像。在3个样本库中分别选择300幅图像进行训练,建立基于学习的超分辨率复原模型。After compressing 300 images with a CQ value from 5 to 20 and performing filtering processing to generate a total of 4800 images, the MSDS values of these images are calculated as 4800 feature values, and these features are first randomly divided into 3 categories, and then K-means Clustering, after repeated iterative calculations, three cluster centers are obtained, and the approximate samples contained in each cluster center are stored as a sample library. It should be pointed out that since the training process is to train the relationship between the LR image and the corresponding HR image, the final sample library should also contain the HR image corresponding to each LR image. 300 images were selected from the three sample libraries for training, and a learning-based super-resolution restoration model was established.
(二)在线部分(2) Online part
(1)对输入图像进行滤波处理。(1) Filter the input image.
输入图像为一幅待处理的低比特压缩图像,采用如上所述在线部分的步骤(2)中改进的后滤波方式对其进行滤波处理,去除图像中明显的块效应。The input image is a low-bit compressed image to be processed, which is filtered by the improved post-filtering method in step (2) of the above-mentioned online part to remove the obvious block effect in the image.
(2)输入图像的块效应失真类别判定(2) Judgment of the block effect distortion category of the input image
首先,按照如上所述离线部分步骤(3)中计算图像MSDS值的方法,计算滤波后的输入图像的MSDS值。接着,计算它与3个聚类中心间的欧氏距离,将计算所得欧式距离最小时所对应的聚类确定为输入图像所属的失真类别。First, calculate the MSDS value of the filtered input image according to the method for calculating the MSDS value of the image in step (3) of the offline part as described above. Then, calculate the Euclidean distance between it and the three cluster centers, and determine the corresponding cluster when the calculated Euclidean distance is the smallest as the distortion category to which the input image belongs.
(3)实现基于学习的超分辨率重建(3) Realize learning-based super-resolution reconstruction
输入图像类别选定后,选择该类中所对应的样本,运用基于学习的超分辨率模型进行图像的超分辨率复原。After the input image category is selected, the corresponding samples in this category are selected, and the super-resolution restoration of the image is performed by using the super-resolution model based on learning.
基于学习的超分辨率重建通过学习算法获得高分辨率与低分辨率图像之间的关系,来指导高分辨率图像的重建。从大量的训练样本集中获取先验知识作为超分辨率复原的依据,训练样本都是与输入图像包含同类信息的图像。这里,以具有代表性的基于示例学习的算法对超分辨率重建过程给予说明,如附图7所示:首先对输入图像进行插值放大到与目标高分辨率图像大小一致;对输入的图像提取LR图像块,运用离线部分得到的训练样本库的LR块与HR块,运用学习到的LR块与HR块之间的关系(即离线部分的训练得到的模型)进行每个块的高频信息预测;然后将高频信息加到插值放大的结果中,得到输出图像。实现过程中,为方便描述,设输入图像为LR-A。首先,LR-A被滤波处理后得到图像LR-AF,然后对LR-AF进行块效应失真判定,判断出其属于3个类别中的某一类;然后对LR-AF进行插值放大得到结果设为HR-A;接着对LR-AF进行块提取组成超分辨率模型的输入矩阵;由于离线部分已经利用每个聚类中的样本训练好了LR样本和HR样本之间的关系模型,所以将输入矩阵输入到训练好的模型中就可以得到高频预测信息;最后将得到的高频信息加到HR-A上就得到了最后的高分辨率结果图像。Learning-based super-resolution reconstruction obtains the relationship between high-resolution and low-resolution images through learning algorithms to guide the reconstruction of high-resolution images. Obtain prior knowledge from a large number of training sample sets as the basis for super-resolution restoration, and the training samples are all images that contain the same information as the input image. Here, a representative example-based learning algorithm is used to illustrate the super-resolution reconstruction process, as shown in Figure 7: first, the input image is interpolated and enlarged to the same size as the target high-resolution image; the input image is extracted LR image block, use the LR block and HR block of the training sample library obtained in the offline part, and use the learned relationship between the LR block and the HR block (that is, the model obtained in the offline part of the training) to carry out the high-frequency information of each block Prediction; then add high-frequency information to the result of interpolation and amplification to obtain an output image. In the implementation process, for the convenience of description, the input image is assumed to be LR-A. First, the LR-A is filtered to obtain the image LR-AF, and then the block effect distortion judgment is performed on the LR-AF, and it is judged that it belongs to one of the three categories; then the LR-AF is interpolated and enlarged to obtain the result set is HR-A; and then block extraction is performed on LR-AF to form the input matrix of the super-resolution model; since the offline part has already used the samples in each cluster to train the relationship model between LR samples and HR samples, so the Input the input matrix into the trained model to obtain high-frequency prediction information; finally, add the obtained high-frequency information to HR-A to obtain the final high-resolution result image.
图8为本发明方法与现有方法对CQ=15的压缩图像进行超分辨率重建,所得结果的比较。Fig. 8 is a comparison of the results obtained by performing super-resolution reconstruction on a compressed image with CQ=15 between the method of the present invention and the existing method.
Claims (1)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310379154.1A CN103475876B (en) | 2013-08-27 | 2013-08-27 | A kind of low bit rate compression image super-resolution rebuilding method based on study |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310379154.1A CN103475876B (en) | 2013-08-27 | 2013-08-27 | A kind of low bit rate compression image super-resolution rebuilding method based on study |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103475876A true CN103475876A (en) | 2013-12-25 |
CN103475876B CN103475876B (en) | 2016-06-22 |
Family
ID=49800554
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310379154.1A Expired - Fee Related CN103475876B (en) | 2013-08-27 | 2013-08-27 | A kind of low bit rate compression image super-resolution rebuilding method based on study |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103475876B (en) |
Cited By (20)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103905822A (en) * | 2014-03-25 | 2014-07-02 | 公安部第一研究所 | Low-bit compressed image deblocking method based on visual sensitivity and spatial filtering |
CN104661023A (en) * | 2015-02-04 | 2015-05-27 | 天津大学 | Image or video coding method based on predistortion and training filter |
CN105160627A (en) * | 2015-08-31 | 2015-12-16 | Tcl集团股份有限公司 | Method and system for super-resolution image acquisition based on classified self-learning |
CN105513100A (en) * | 2015-12-03 | 2016-04-20 | 广州一刻影像科技有限公司 | Method for automatically selecting image compression quality and compressing image |
CN105611289A (en) * | 2015-12-28 | 2016-05-25 | 电子科技大学 | Low-resolution image coding method based on intelligent quantification technology |
CN105719320A (en) * | 2016-01-25 | 2016-06-29 | 华中农业大学 | Vegetation canopy coverage calculation method and system based on colorful digital image |
WO2017162068A1 (en) * | 2016-03-25 | 2017-09-28 | 阿里巴巴集团控股有限公司 | Video transcoding method, device, and system |
CN107888707A (en) * | 2017-12-08 | 2018-04-06 | 北京奇艺世纪科技有限公司 | A kind of picture transmission method, device and electronic equipment |
CN107945108A (en) * | 2016-10-13 | 2018-04-20 | 华为技术有限公司 | Method for processing video frequency and device |
CN107967669A (en) * | 2017-11-24 | 2018-04-27 | 腾讯科技(深圳)有限公司 | Method, apparatus, computer equipment and the storage medium of picture processing |
CN107251053B (en) * | 2015-02-13 | 2018-08-28 | 北京市商汤科技开发有限公司 | A kind of method and device for the compression artefacts reducing lossy compression image |
CN110717875A (en) * | 2019-10-18 | 2020-01-21 | 华北理工大学 | A high-definition image processing method |
CN111784580A (en) * | 2020-06-30 | 2020-10-16 | 北京金山云网络技术有限公司 | Super-resolution method and device for image and server |
WO2020240509A1 (en) * | 2019-05-30 | 2020-12-03 | Ati Technologies Ulc | Pre-processing for video compression |
CN112215761A (en) * | 2019-07-12 | 2021-01-12 | 华为技术有限公司 | Image processing method, device and equipment |
CN112825187A (en) * | 2019-11-21 | 2021-05-21 | 福州瑞芯微电子股份有限公司 | Super-resolution method, medium and device based on machine learning |
CN113409192A (en) * | 2021-06-17 | 2021-09-17 | Oppo广东移动通信有限公司 | Super-resolution chip, super-resolution algorithm updating method and electronic equipment |
CN113411521A (en) * | 2021-06-23 | 2021-09-17 | 北京达佳互联信息技术有限公司 | Video processing method and device, electronic equipment and storage medium |
CN113486899A (en) * | 2021-05-26 | 2021-10-08 | 南开大学 | Saliency target detection method based on complementary branch network |
WO2023133888A1 (en) * | 2022-01-17 | 2023-07-20 | 深圳市大疆创新科技有限公司 | Image processing method and apparatus, remote control device, system, and storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090074328A1 (en) * | 2007-09-13 | 2009-03-19 | Kabushiki Kaisha Toshiba | Image processing apparatus and image processing method |
CN102663361A (en) * | 2012-04-01 | 2012-09-12 | 北京工业大学 | Face image reversible geometric normalization method facing overall characteristics analysis |
CN102968775A (en) * | 2012-11-02 | 2013-03-13 | 清华大学 | Low-resolution face image rebuilding method based on super-resolution rebuilding technology |
-
2013
- 2013-08-27 CN CN201310379154.1A patent/CN103475876B/en not_active Expired - Fee Related
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090074328A1 (en) * | 2007-09-13 | 2009-03-19 | Kabushiki Kaisha Toshiba | Image processing apparatus and image processing method |
CN102663361A (en) * | 2012-04-01 | 2012-09-12 | 北京工业大学 | Face image reversible geometric normalization method facing overall characteristics analysis |
CN102968775A (en) * | 2012-11-02 | 2013-03-13 | 清华大学 | Low-resolution face image rebuilding method based on super-resolution rebuilding technology |
Non-Patent Citations (3)
Title |
---|
CAO YANG ET AL.: "Textural adaptive learning-based super resolution for human face images", 《PROCEEDINGS OF THE 2009 2ND INTERNATIONAL CONGRESS ON IMAGE AND SIGNAL PROCESSING (CISP)》, 19 October 2009 (2009-10-19) * |
曹杨 等: "基于区域自适应学习的人脸图像超分辨率复原", 《测控技术》, vol. 28, no. 5, 30 May 2009 (2009-05-30) * |
曹杨 等: "基于预分类学习的超分辨率复原算法", 《数据采集与处理》, 31 July 2009 (2009-07-31) * |
Cited By (31)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103905822A (en) * | 2014-03-25 | 2014-07-02 | 公安部第一研究所 | Low-bit compressed image deblocking method based on visual sensitivity and spatial filtering |
CN104661023A (en) * | 2015-02-04 | 2015-05-27 | 天津大学 | Image or video coding method based on predistortion and training filter |
CN104661023B (en) * | 2015-02-04 | 2018-03-09 | 天津大学 | Image or method for video coding based on predistortion and training wave filter |
CN107251053B (en) * | 2015-02-13 | 2018-08-28 | 北京市商汤科技开发有限公司 | A kind of method and device for the compression artefacts reducing lossy compression image |
CN105160627A (en) * | 2015-08-31 | 2015-12-16 | Tcl集团股份有限公司 | Method and system for super-resolution image acquisition based on classified self-learning |
CN105160627B (en) * | 2015-08-31 | 2020-06-23 | Tcl科技集团股份有限公司 | Super-resolution image acquisition method and system based on classification self-learning |
CN105513100B (en) * | 2015-12-03 | 2018-07-17 | 广州一刻影像科技有限公司 | A method of automatically selecting picture compression quality and compressed picture |
CN105513100A (en) * | 2015-12-03 | 2016-04-20 | 广州一刻影像科技有限公司 | Method for automatically selecting image compression quality and compressing image |
CN105611289A (en) * | 2015-12-28 | 2016-05-25 | 电子科技大学 | Low-resolution image coding method based on intelligent quantification technology |
CN105611289B (en) * | 2015-12-28 | 2018-07-27 | 电子科技大学 | Low-resolution image coding method based on intelligent quantization technology |
CN105719320B (en) * | 2016-01-25 | 2018-11-06 | 华中农业大学 | One kind being based on color digital image Vegetation canopy coverage computational methods and system |
CN105719320A (en) * | 2016-01-25 | 2016-06-29 | 华中农业大学 | Vegetation canopy coverage calculation method and system based on colorful digital image |
WO2017162068A1 (en) * | 2016-03-25 | 2017-09-28 | 阿里巴巴集团控股有限公司 | Video transcoding method, device, and system |
US11159790B2 (en) | 2016-03-25 | 2021-10-26 | Alibaba Group Holding Limited | Methods, apparatuses, and systems for transcoding a video |
CN107945108A (en) * | 2016-10-13 | 2018-04-20 | 华为技术有限公司 | Method for processing video frequency and device |
CN107967669A (en) * | 2017-11-24 | 2018-04-27 | 腾讯科技(深圳)有限公司 | Method, apparatus, computer equipment and the storage medium of picture processing |
CN107888707B (en) * | 2017-12-08 | 2021-04-20 | 北京奇艺世纪科技有限公司 | Picture transmission method and device and electronic equipment |
CN107888707A (en) * | 2017-12-08 | 2018-04-06 | 北京奇艺世纪科技有限公司 | A kind of picture transmission method, device and electronic equipment |
CN113906762A (en) * | 2019-05-30 | 2022-01-07 | Ati科技无限责任公司 | Pre-processing for video compression |
WO2020240509A1 (en) * | 2019-05-30 | 2020-12-03 | Ati Technologies Ulc | Pre-processing for video compression |
CN113906762B (en) * | 2019-05-30 | 2023-04-14 | Ati科技无限责任公司 | Pre-processing for video compression |
CN112215761A (en) * | 2019-07-12 | 2021-01-12 | 华为技术有限公司 | Image processing method, device and equipment |
US12182968B2 (en) | 2019-07-12 | 2024-12-31 | Huawei Technologies Co., Ltd. | Image processing method, apparatus, and device |
CN110717875A (en) * | 2019-10-18 | 2020-01-21 | 华北理工大学 | A high-definition image processing method |
CN110717875B (en) * | 2019-10-18 | 2023-08-08 | 华北理工大学 | A high-definition image processing method |
CN112825187A (en) * | 2019-11-21 | 2021-05-21 | 福州瑞芯微电子股份有限公司 | Super-resolution method, medium and device based on machine learning |
CN111784580A (en) * | 2020-06-30 | 2020-10-16 | 北京金山云网络技术有限公司 | Super-resolution method and device for image and server |
CN113486899A (en) * | 2021-05-26 | 2021-10-08 | 南开大学 | Saliency target detection method based on complementary branch network |
CN113409192A (en) * | 2021-06-17 | 2021-09-17 | Oppo广东移动通信有限公司 | Super-resolution chip, super-resolution algorithm updating method and electronic equipment |
CN113411521A (en) * | 2021-06-23 | 2021-09-17 | 北京达佳互联信息技术有限公司 | Video processing method and device, electronic equipment and storage medium |
WO2023133888A1 (en) * | 2022-01-17 | 2023-07-20 | 深圳市大疆创新科技有限公司 | Image processing method and apparatus, remote control device, system, and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN103475876B (en) | 2016-06-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103475876B (en) | A kind of low bit rate compression image super-resolution rebuilding method based on study | |
CN113362223B (en) | Image Super-Resolution Reconstruction Method Based on Attention Mechanism and Two-Channel Network | |
CN110163246A (en) | The unsupervised depth estimation method of monocular light field image based on convolutional neural networks | |
CN104899830B (en) | A kind of image super-resolution method | |
CN105427264A (en) | Image reconstruction method based on group sparsity coefficient estimation | |
CN103037212B (en) | The adaptive block compressed sensing method for encoding images of view-based access control model perception | |
CN113808032A (en) | Multi-stage progressive image denoising algorithm | |
CN111986085B (en) | Image super-resolution method based on depth feedback attention network system | |
CN103313047A (en) | Video coding method and apparatus | |
CN113255571B (en) | anti-JPEG compression fake image detection method | |
CN114463218B (en) | Video deblurring method based on event data driving | |
CN110349112A (en) | A kind of two stages image de-noising method based on adaptive singular value threshold value | |
CN111783494A (en) | Recovery method of damaged two-dimensional code with convolutional autoencoder combined with binary segmentation | |
CN115565056A (en) | Underwater image enhancement method and system based on condition generation countermeasure network | |
CN117710216A (en) | An image super-resolution reconstruction method based on variational autoencoders | |
CN111861935B (en) | Rain removing method based on image restoration technology | |
CN117575907A (en) | A single image super-resolution reconstruction method based on an improved diffusion model | |
CN113362241A (en) | Depth map denoising method combining high-low frequency decomposition and two-stage fusion strategy | |
CN113947538A (en) | Multi-scale efficient convolution self-attention single image rain removing method | |
CN116912130A (en) | Image defogging method based on multi-receptive field feature fusion and mixed attention | |
CN103679663A (en) | Image denoising method combining Tetrolet transform domain and PDE (Partial Differential Equation) and GCV (Generalized Cross Validation) theory | |
CN103700077A (en) | Human visual characteristic-based adaptive image enhancement method | |
CN102521796A (en) | Image block effect removing method on basis of curvelet transformation | |
CN117173263B (en) | Image compression method for generating countermeasure network based on enhanced multi-scale residual error | |
CN117173054A (en) | Ultra-light low-resolution dim light face enhancement method and system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20160622 |
|
CF01 | Termination of patent right due to non-payment of annual fee |