CN102769745B - Image self-adaptation down-sampling method depending on interpretation - Google Patents

Image self-adaptation down-sampling method depending on interpretation Download PDF

Info

Publication number
CN102769745B
CN102769745B CN201210206705.XA CN201210206705A CN102769745B CN 102769745 B CN102769745 B CN 102769745B CN 201210206705 A CN201210206705 A CN 201210206705A CN 102769745 B CN102769745 B CN 102769745B
Authority
CN
China
Prior art keywords
interpolation
sampling
image
pixel
sampled images
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.)
Expired - Fee Related
Application number
CN201210206705.XA
Other languages
Chinese (zh)
Other versions
CN102769745A (en
Inventor
张永兵
赵德斌
高文
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Harbin Institute of Technology
Original Assignee
Harbin Institute of Technology
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Harbin Institute of Technology filed Critical Harbin Institute of Technology
Priority to CN201210206705.XA priority Critical patent/CN102769745B/en
Publication of CN102769745A publication Critical patent/CN102769745A/en
Application granted granted Critical
Publication of CN102769745B publication Critical patent/CN102769745B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

An image self-adaptation down-sampling method depending on interpretation relates to image and video processing, and solves a problem that the current down-sampling and up-sampling are always independent, but image and video processing always needs both the down-sampling and the up-sampling synchronously. The method comprises the steps as follows: steps I, on a given input image, a down-sampling image is generated, and the down-sampling image interpolates an up-sampling image; steps II, adopting a down-sampling method based on a block, the quality of sampled images is improved; steps III, whether the images is related to content or not is judged, if so, a step IV is executed, and otherwise, a step V is executed; steps IV, for down-sampling is not related to the content, interpretation coefficient forms a interpretation matrix, a down-sampling image is obtained via the inversion of an interpretation process; and steps V, if not related to the content, initial coefficient is provided, an initial down-sampling image is obtained by using a method not related to the content, new interpretation coefficient is trained according to obtained images, and the down-sampling image is obtained via iteration. The method is applicable to the image and video processing.

Description

The image adaptive Downsapling method that interpolation relies on
Technical field
The present invention relates to image and Video processing.
Background technology
Along with the develop rapidly of electronic technology and computer hardware technology, the display device with different resolution of all kinds emerges in an endless stream, and how same piece image or same sequence is effectively changed the technology that will be a very challenging property between the display device of different resolution.Efficient image down sampling and the quality of up-sampling on converted images have important impact, except changing between different display devices, image down sampling and up-sampling are also widely applied in low bit-rate image compression and spatial domain scalable video.
Image down sampling can be divided into spatial domain down-sampling and frequency domain down-sampling usually, in the down-sampling of spatial domain, down-sampling, by having come with the identical original pixels of reservation evenly and at intervals (direct down-sampling), also can first carry out low-pass filtering to original image and then carry out down-sampling.Frequency domain down-sampling obtains down-sampled images by the low frequency coefficient retaining wavelet coefficient or discrete cosine transform coefficient.
These image down sampling methods are widely used all at present, but they all do not consider that the image after on down-sampling carries out the impact of up-sampling again.Often independently, and the process of image and video needs down-sampling and up-sampling usually simultaneously for current down-sampling and up-sampling.
Summary of the invention
The object of the invention is to solve current down-sampling and up-sampling often independently, and the process of image and video needs the problem of down-sampling and up-sampling usually simultaneously, provides the image adaptive Downsapling method that a kind of interpolation relies on.
The image adaptive Downsapling method that interpolation relies on, it is as follows that it comprises concrete steps:
Step one, to given interpolation method and input picture, generate a width down-sampled images, high-quality up-sampling image is gone out to this down-sampled images interpolation;
Step 2, the up-sampling image that step one is obtained, adopt block-based image adaptive Downsapling method, utilize the information relevant to current block and its cumulative sum with the product of corresponding interpolation coefficient improved the quality of down-sampled images as a constant vector;
Step 3, to determine whether and interpolation that content is irrelevant; Then perform step 4; No, then perform step 5;
The image adaptive Downsapling method that step 4, the interpolation had nothing to do with content rely on, is combined into interpolating matrix by interpolation coefficient, by asking the inverse operation of its correspondence to obtain the down-sampled images of the optimum of correspondence to Interpolation Process;
The image adaptive Downsapling method that step 5, the interpolation relevant to content rely on, first one group of initial interpolation coefficient is provided, the image down sampling method using the interpolation had nothing to do with content to rely on obtains the initial down-sampled images of a width, train the interpolation coefficient made new advances according to the down-sampled images obtained, and then iteration obtains down-sampled images.
The present invention is used for the image down sampling of resolution decreasing, utilizes interpolation coefficient and the original-resolution image content of picture up-sampling, realizes the image down sampling that interpolation relies on; For generated down-sampled images, we utilize interpolation to obtain high-quality up-sampling image from this down-sampled images.Be applicable to image or Video processing.
Accompanying drawing explanation
Fig. 1 is the schematic diagram of the image adaptive down-sampling that interpolation relies on, the image adaptive down-sampling schematic diagram of the interpolation dependence of Fig. 2 of the present invention piece of level, in figure, white round dot represents the pixel after down-sampling, black round dot represents the pixel of diagonally interpolation generation, rectangle represents the pixel generated along horizontal direction interpolation, and triangle represents the pixel of vertically interpolation generation.
Embodiment
Embodiment one: composition graphs 1 illustrates present embodiment, the image adaptive Downsapling method that interpolation described in present embodiment relies on, it is as follows that it comprises concrete steps:
Step one, to given interpolation method and input picture, generate a width down-sampled images, high-quality up-sampling image is gone out to this down-sampled images interpolation;
Step 2, the up-sampling image that step one is obtained, adopt block-based image adaptive Downsapling method, utilize the information relevant to current block and its cumulative sum with the product of corresponding interpolation coefficient improved the quality of down-sampled images as a constant vector;
Step 3, to determine whether and interpolation that content is irrelevant; Then perform step 4; No, then perform step 5;
The image adaptive Downsapling method that step 4, the interpolation had nothing to do with content rely on, is combined into interpolating matrix by interpolation coefficient, by asking the inverse operation of its correspondence to obtain the down-sampled images of the optimum of correspondence to Interpolation Process;
The image adaptive Downsapling method that step 5, the interpolation relevant to content rely on, first one group of initial interpolation coefficient is provided, the image down sampling method using the interpolation had nothing to do with content to rely on obtains the initial down-sampled images of a width, train the interpolation coefficient made new advances according to the down-sampled images obtained, and then iteration obtains down-sampled images.
The present invention is used for the image down sampling of resolution decreasing, utilizes interpolation coefficient and the original-resolution image content of picture up-sampling, realizes the image down sampling that interpolation relies on; For generated down-sampled images, we utilize interpolation to obtain high-quality up-sampling image from this down-sampled images.Be applicable to image or Video processing.
Embodiment two: the detailed process of the step one in the image adaptive Downsapling method that interpolation described in embodiment one relies on is:
Size is the input picture of M × N to make Y represent, X represents that size is the image after the down-sampling of M/2 × N/2, represent the up-sampling image generated after interpolation; The object of adaptive down-sampling tries to achieve a down-sampled images, and from this down-sampled images, we can obtain the interpolation image of better quality; Therefore, X demand fulfillment:
X = arg min x | | Y ^ - Y | | 2 - - - ( 1 )
Wherein X=[X 0,0, X 0,1..., X 0, N/2-1, X 1,0, X 1,1..., X 1, N/2-1..., X m/2-1,0, X m/2-1,1..., X m/2-1, N/21] tand Y=[Y 0,0, Y 0,1..., Y 0, N-1, Y 1,0, Y 1,1..., Y 1, N-1..., Y m/2-1,0, Y m-1,1..., Y m-1, N-1] t, obviously, formula (1) shows that this Downsapling method depends on interpolation algorithm; Also be, to arbitrary down-sampling pixel X (i, j) (in the middle of 9 black circles as shown in Figure 1 that), first orient all neighborhood territory pixels (gray pixels as shown in Figure 1) that will use X (i, j) in Interpolation Process; The optimization aim of this image adaptive Downsapling method minimizes the error sum of squares between the original pixels in pixel and input picture that locating area interpolate value goes out; It is pointed out that Fig. 1 is for bilinear interpolation (pixel that each interpolation goes out only depends on four nearest with it pixels), in fact this Downsapling method is applicable to other various interpolation algorithms;
The interpolation of Y is represented as:
Y ^ = HX - - - ( 2 )
Wherein, H represents interpolating matrix; The H be made up of interpolation coefficient is represented as:
H = h 0,0 h 0,1 . . h 0 , M / 2 × N / 2 - 1 h 1,0 h 1,1 . . h 1 , M / 2 × N / 2 - 1 h 2,0 h 2,1 . . h 2 , M / 2 × N / 2 - 1 . . . . . . . . h M × N - 1,0 h M × N - 1,1 . . h M × N - 1 , M / 2 × N / 2 - 1 - - - ( 3 )
Wherein, h k,linterpolation coefficient when representing interpolation kth pixel corresponding to l down-sampling pixel; Bring formula (3) and formula (2) into formula (1), the target function obtaining optimum down-sampled images is:
J = arg min x | | HX - Y | | 2 - - - ( 4 )
The local derviation making J is zero, obtains
∂ J ∂ X = H T ( HX - Y ) = 0 - - - ( 5 )
Then optimum down-sampled images is obtained by following formula
X *=(H TH) -1H TY (6)。
Embodiment three: the detailed process of the step 2 in the image adaptive Downsapling method that interpolation described in embodiment one relies on is:
The image adaptive Downsapling method that the interpolation carrying out description block level with the block of m × n size and bilinear interpolation relies on, in Fig. 2, the size of block is 8x8 and is allly belonged to same piece by the point that solid line surrounds.Most interpolating pixel all utilizes the pixel in same obviously.But for some boundary pixels, its interpolation also relates to the partial pixel outside current block, such as, gray pixels in Fig. 2, its Interpolation Process has related to the down-sampling pixel outside current window.If all down-sampling pixels in same are expressed as a column vector, namely solution of the present invention, then can introduce other known variables (outside current block, the down-sampling pixel simultaneously related to when interpolation current block boundary pixel).We utilize the information outside current block and it can be used as a constant vector.Definition Φ is a constant vector, be then expressed the interpolation of Y:
Y ^ = HX + Φ - - - ( 7 )
Wherein Φ is a length is the column vector of mn.Most elements in Φ are all zero, and we only give appropriate value to the element corresponding with the gray pixels in Fig. 2.To the assignment false code of interpolating matrix H and the column vector Φ corresponding with it as shown in Table 1 and Table 2, wherein B lrepresent the down-sampling block corresponding with current block B, N (i) represents the neighborhood territory pixel that interpolation i-th pixel relates to.
The calculating of interpolating matrix H:
Bring formula (7) into formula (4), the target function calculating optimum down-sampling block is expressed as:
J = arg min x | | HX + Φ - Y | | 2 - - - ( 8 )
The local derviation of J in formula (8) is set to zero, obtains:
∂ J ∂ X = H T ( HX + Φ - Y ) = 0 - - - ( 9 )
Therefore, optimum down-sampling block is obtained by following formula
X *=(H TH) -1[H TY-H TΦ](10)
The calculating of constant vector Φ:
The computation complexity of image adaptive down-sampling mainly concentrates on interpolating matrix H that formula (10) relates to, the derivation of constant vector Φ, matrix multiple, matrix inversion operation.The complexity of H is O (m 2n 2), the computation complexity of matrix multiple and matrix inversion is respectively O (m 3n 3) and O (m 6n 6).It is pointed out that the most elements due to H and Φ are all zero, sparse matrix can be utilized to store H and Φ, thus cut down storage and computation complexity further.The prerequisite of formula (10) is that interpolating matrix H before down-sampling must be known.
Embodiment four: the detailed process of the step 5 in the image adaptive Downsapling method that interpolation described in embodiment one relies on is:
The interpolation method relevant to some contents, its interpolating matrix H is unknown before down-sampling, therefore can not directly utilize formula (10) to obtain optimal solution.In order to address this problem, the invention allows for the image adaptive Downsapling method of the interpolation dependence that a content is correlated with, at initial phase, first given H 0and X 0initial value; In each iterative process, according to the result X of last iteration i-1upgrade H i, then according to the H that formula (10) obtains icalculate X i; Next, X is calculated iand X i-1between error; If this error is lower than a threshold value, just thinks that this algorithm is restrained, thus stop iterative process in advance; Otherwise this algorithm enters next iteration;
The image adaptive Downsapling method that content dependent interpolation relies on:

Claims (1)

1. the image adaptive Downsapling method of interpolation dependence, it is characterized in that, it is as follows that it comprises concrete steps:
Step one, to given interpolation method and input picture, generate a width down-sampled images, go out high-quality up-sampling image to this down-sampled images interpolation, concrete steps are:
Size is the input picture of M × N to make Y represent, X represents that size is the image after the down-sampling of M/2 × N/2, represent the up-sampling image generated after interpolation, X will meet:
X = arg min x | | Y ^ - Y | | 2 - - - ( 1 )
Wherein, X=[X 0,0, X 0,1..., X 0, N2-1, X 1,0, X 1,1..., X 1, N/2-1..., X m/2-1,0, X m/2-1,1..., X m/2-1, N/2-1] t, and Y=[Y 0,0, Y 0,1..., Y 0, N-1, Y 1,0, Y 1,1..., Y 1, N-1..., Y m/2-1,0, Y m-1,1..., Y m-1, N-1] t, the interpolation of Y is:
Y ^ = HX - - - ( 2 )
Wherein, H is interpolating matrix; The H be made up of interpolation coefficient is represented as:
H = h 0,0 h 0,1 . . h 0 , M / 2 × N / 2 - 1 h 1,0 h 1,1 . . h 1 , M / 2 × N / 2 - 1 h 2,0 h 2,1 . . h 2 , M / 2 × N / 2 - 1 . . . . . . . . h M × N - 1,0 h M × N - 1,1 . . h M × N - 1 , M / 2 × N / 2 - 1 - - - ( 3 )
Wherein, h k,linterpolation coefficient when representing interpolation kth pixel corresponding to l down-sampling pixel; Bring formula (3) and formula (2) into formula (1), the target function obtaining optimum down-sampled images is:
J = arg min x | | HX - Y | | 2 - - - ( 4 )
The local derviation making J is zero, obtains:
∂ J ∂ X = H T ( HX - Y ) = 0 - - - ( 5 )
Then optimum down-sampled images is obtained by following formula:
X *=(H TH) -1H TY (6);
Step 2, the up-sampling image that step one is obtained, adopt block-based image adaptive Downsapling method, utilize the information relevant to current block and its cumulative sum with the product of corresponding interpolation coefficient improved the quality of down-sampled images as a constant vector, concrete steps are:
The image adaptive Downsapling method that the interpolation carrying out description block level with the block of m × n size and bilinear interpolation relies on, definition Φ is a constant vector, be then expressed the interpolation of Y:
Y ^ = HX + Φ - - - ( 7 )
Wherein Φ is a length is the column vector of mn, and the most elements in Φ are all zero, only gives appropriate value to the element corresponding with boundary pixel, to the assignment of interpolating matrix H and the column vector Φ corresponding with it is:
The calculating of interpolating matrix H:
Input picture Y and current block B;
As the pixel ∈ B that i capable corresponding pixel ∈ B, j row are corresponding ltime;
In interpolating matrix H, column locations is the element of (i, j) is H ij;
By the interpolating matrix element H corresponding with current block B dimension ijbe initialized as 0;
If the corresponding pixel of j row be included in i capable corresponding to pixel contiguous range N (i) within;
Then by the matrix element H of this column locations (i, j) ijassignment is the interpolation coefficient W that this columns is corresponding j;
Export interpolating matrix H;
The calculating of constant vector Φ:
Input picture Y and current block B;
As the capable corresponding pixel ∈ B of i;
By constant vector element Φ corresponding for position i in current block B ibe initialized as 0;
Variable sum is initialized as 0;
For the corresponding pixel of j row be included in i capable corresponding to pixel contiguous range N (i) within;
If the corresponding pixel of j row is not included in current block B, by the product accumulation of jth row pixel and the corresponding interpolation coefficient of jth row pixel to variable sum;
Variable sum is added to constant vector element Φ i;
Output constant vector Φ;
Wherein B lrepresent the down-sampling block corresponding with current block B, N (i) represents the neighborhood territory pixel that interpolation i-th pixel relates to;
Bring formula (7) into formula (4), the target function calculating optimum down-sampling block is expressed as:
J = arg min x | | HX + Φ - Y | | 2 - - - ( 8 )
The local derviation of J in formula (8) is set to zero, obtains:
∂ J ∂ X = H T ( HX + Φ - Y ) = 0 - - - ( 9 )
Optimum down-sampling block is obtained by following formula:
X *=(H TH) -1[H TY-H TΦ] (10);
Step 3, to determine whether and interpolation that content is irrelevant; Then perform step 4; No, then perform step 5;
The image adaptive Downsapling method that step 4, the interpolation had nothing to do with content rely on, is combined into interpolating matrix by interpolation coefficient, by asking the inverse operation of its correspondence to obtain the down-sampled images of the optimum of correspondence to Interpolation Process;
The image adaptive Downsapling method that step 5, the interpolation relevant to content rely on, first one group of initial interpolation coefficient is provided, the image down sampling method using the interpolation had nothing to do with content to rely on obtains the initial down-sampled images of a width, train the interpolation coefficient made new advances according to the down-sampled images obtained, and then iteration obtains down-sampled images.
CN201210206705.XA 2012-06-21 2012-06-21 Image self-adaptation down-sampling method depending on interpretation Expired - Fee Related CN102769745B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210206705.XA CN102769745B (en) 2012-06-21 2012-06-21 Image self-adaptation down-sampling method depending on interpretation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210206705.XA CN102769745B (en) 2012-06-21 2012-06-21 Image self-adaptation down-sampling method depending on interpretation

Publications (2)

Publication Number Publication Date
CN102769745A CN102769745A (en) 2012-11-07
CN102769745B true CN102769745B (en) 2014-12-31

Family

ID=47096981

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210206705.XA Expired - Fee Related CN102769745B (en) 2012-06-21 2012-06-21 Image self-adaptation down-sampling method depending on interpretation

Country Status (1)

Country Link
CN (1) CN102769745B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104184981B (en) * 2014-08-27 2017-12-15 深圳市华星光电技术有限公司 A kind of low-res display methods and equipment based on reduction pixel sampling processing
CN104182929A (en) * 2014-08-27 2014-12-03 深圳市华星光电技术有限公司 Method and device for obtaining image with resolution lowered based on pixel
CN109255770B (en) * 2018-07-16 2022-11-08 电子科技大学 Image transform domain down-sampling method
CN115439702B (en) * 2022-11-08 2023-03-24 武昌理工学院 Weak noise image classification method based on frequency domain processing

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101188669A (en) * 2007-12-19 2008-05-28 哈尔滨工业大学 Method for processing image by using the mathematical model established based down sampling and interpolation
CN102075743A (en) * 2009-11-24 2011-05-25 华为技术有限公司 Video encoding method and device as well as video decoding method and device
CN102231203A (en) * 2011-07-17 2011-11-02 西安电子科技大学 Image autoregressive interpolation method based on edge detection

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101188669A (en) * 2007-12-19 2008-05-28 哈尔滨工业大学 Method for processing image by using the mathematical model established based down sampling and interpolation
CN102075743A (en) * 2009-11-24 2011-05-25 华为技术有限公司 Video encoding method and device as well as video decoding method and device
CN102231203A (en) * 2011-07-17 2011-11-02 西安电子科技大学 Image autoregressive interpolation method based on edge detection

Also Published As

Publication number Publication date
CN102769745A (en) 2012-11-07

Similar Documents

Publication Publication Date Title
US10929952B2 (en) Image upscaling
US8675999B1 (en) Apparatus, system, and method for multi-patch based super-resolution from an image
US20100124383A1 (en) Systems and methods for resolution-invariant image representation
CN104700360B (en) Image-scaling method and system based on edge self-adaption
CN103778606B (en) The processing method and relevant apparatus of a kind of image
CN102769745B (en) Image self-adaptation down-sampling method depending on interpretation
CN102881000A (en) Super-resolution method, device and equipment for video image
US9288464B2 (en) Method for scaling channel of an image
KR101987079B1 (en) Method for removing noise of upscaled moving picture with dynamic parameter based on machine learning
CN102110289A (en) Method for enhancing color image contrast ratio on basis of variation frame
Mahajan et al. Adaptive and non-adaptive image interpolation techniques
US20130051703A1 (en) Method for detecting directions of regularity in a two-dimensional image
Vishnukumar et al. Single image super-resolution based on compressive sensing and improved TV minimization sparse recovery
CN107392854A (en) A kind of joint top sampling method based on local auto-adaptive gain factor
Sekar et al. An approach of image scaling using DWT and bicubic interpolation
CN103903239A (en) Video super-resolution reconstruction method and system based on sparse principal component analysis and continued fraction interpolation technology
CN113256590A (en) Non-reference 3D synthetic image quality evaluation method based on Gabor self-similarity characteristics
Zhu et al. A novel image super-resolution reconstruction method based on sparse representation using classified dictionaries
Xing et al. Rigid regression for facial image interpolation with local structure prior
KR101028449B1 (en) Method and apparatus for resizing image
Muramatsu et al. Image restoration with union of directional orthonormal DWTs
KR102645739B1 (en) Arbitrary magnification super-resolution system using deep learning and super-resolution method using the same
Ponomaryov et al. Image resolution enhancement using edge extraction and sparse representation in wavelet domain for real-time application
Aizawa et al. Image restoration with multiple DirLOTs
Shi et al. Directional variation adaptive image resolution enhancement

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: 20141231

Termination date: 20200621

CF01 Termination of patent right due to non-payment of annual fee