CN1858800A - Full phase discrete cosine changing interpolating kernel function and change for image resolution - Google Patents
Full phase discrete cosine changing interpolating kernel function and change for image resolution Download PDFInfo
- Publication number
- CN1858800A CN1858800A CNA2006100135790A CN200610013579A CN1858800A CN 1858800 A CN1858800 A CN 1858800A CN A2006100135790 A CNA2006100135790 A CN A2006100135790A CN 200610013579 A CN200610013579 A CN 200610013579A CN 1858800 A CN1858800 A CN 1858800A
- Authority
- CN
- China
- Prior art keywords
- sigma
- tau
- discrete cosine
- kernel function
- interpolation
- 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
Images
Abstract
This invention relates to a total phase scatter cosine transformation interpolation core function and the change used in image resolution, in which, the improvent to the change of image resolution includes: total phase DCT core function replaces the 6-point cubic interpolation core function, namely, the value of an interpolation filter is computed with the expression of the total phase DCT core function and a regulation of coordinate, the pixel point values of a new image by computing the interpolation filter and the original image pixel value to get a new image after altering the resolution, in which, the scatter cosine transformation is Am=DCT(Xn) and the counter is Xn=IDCT(Am). Advantage: the value of the interpolation filter is computed by total phase DCT interpolation core function and the quality of the 6-point total phase DCT core function is higher than that of 6-point cubic core function.
Description
[technical field]: the present invention relates to the improvement of interpolating kernel function in the Computer Image Processing and be used for the technical field of Flame Image Process.
[background technology]: in Computer Image Processing, when needs change image resolution ratio, generally need: 1, input original image through following process; 2,, calculate the position of interpolation point according to the requirement of resolution changing; 3, calculate the value of interpolation filter according to the expression formula of interpolating kernel function; 4, by the value of interpolation filter and the pixel point value of original image calculated for pixel values new images; 5, obtain changing the later new images of resolution.This shows that the fine or not key of Computer Image Processing depends on interpolating kernel function.
The interpolating kernel function to changing image resolution ratio that exists at present has: bilinear interpolation kernel function, nearest-neighbor interpolating kernel function, the Sinc function that blocks, the Sinc function of windowing, secondary approach, cube interpolating kernel function, B-spline function and Gauss's interpolating kernel function.Above-mentioned several interpolating kernel function respectively has quality, and bilinear interpolation kernel function and nearest field interpolating kernel function are to use kernel function the most widely, but interpolation quality is not too excellent.The Sinc function that blocks, the Sinc function calculation amount of windowing is very big.Kernel functions such as secondary approaches interpolation quality in some interpolation task is very not high.6 * 6 cube interpolating kernel function with continuous second derivative is to calculate 6 the fastest nuclears in realization, and its Fourier local characteristics is also very good, is easy to realize having less interpolated error.B spline interpolation has above advantage too, however the boundary effect that 6 * 6 cube interpolation has avoided B batten technology to be produced by method itself.In the interpolation task of reality, there is not a kind of absolute interpolating method that surpasses other, particularly the occasion of having relatively high expectations for interpolation qualities such as geometric transformation that resembles medical image and Digital Television needs better interpolating method, so the interpolating kernel function leeway and the needs that also make further progress.
[summary of the invention]: the objective of the invention is to improve the interpolation quality of interpolating kernel function, a kind of full phase discrete cosine conversion interpolating kernel function is provided and is used for the change of image resolution ratio to view data.
The concrete construction process of the building method of full phase discrete cosine conversion provided by the invention (dct transform) interpolating kernel function is as follows:
(1) to known finite digital signal x (t), 0≤(t)<NT, T are sampling interval, and N is a sampling number, X
n=x (nT), n=0,1, Λ, N-1 makes that discrete cosine transform is A
m=DCT (X
n), inverse discrete cosine transformation is X
n=IDCT (A
m), then have:
α represents the discrete cosine transform matrix; β represents the inverse discrete cosine transformation matrix;
(2) make t=m in the following formula, 0≤t≤N-1, t ∈ R, then signal can be by following formula reconstruct:
Wherein,
If x (n) is the starting point of first data segment, interpolation point is τ apart from the distance of x (n), 0≤τ<1,
What the reconstruction value that defines full phase interpolation was a N-1 data segment in the reconstruction value of interpolation point is average:
Make k=i-j,
Then:
Wherein,
Be the discrete cosine transform interpolating kernel function.
The above-mentioned discrete cosine transform interpolating kernel function of a kind of employing is used for the change of image resolution ratio, and the change process of its image resolution ratio is as follows:
(1), input original image;
(2), according to the requirement of resolution changing, calculate the position of interpolation point;
(3), calculate the value of interpolation filter according to the expression formula of above-mentioned discrete cosine transform interpolating kernel function;
(4), by the value of interpolation filter and the pixel point value of original image calculated for pixel values new images;
(5), obtain changing the later new images of resolution.
Advantage of the present invention and good effect: interpolating kernel function provided by the invention is to be made of cosine function, experiment shows that the interpolation quality of 6 full-phase DCT kernel functions is higher than the interpolation quality of 6 cubes of kernel functions, and this point is contrasted as can be seen by the picture quality of Fig. 4, Fig. 5.The present invention is particularly useful for the occasion that interpolation qualities such as the geometric transformation of medical image and Digital Television are had relatively high expectations.
[description of drawings]:
Fig. 1 is the signal reconstruction principle schematic in the DCT territory;
Fig. 2 is to be the regulation synoptic diagram of example explanation interpolation formula coordinate with N=4;
Fig. 3 is an original image to be transformed;
Fig. 4 is first with behind 500 * 500 original image sub-sampling to 250 * 250, image is become again 500 * 500 result schematic diagram through 6 cubes of kernel function interpolations (existing method);
Fig. 5 is first with behind 500 * 500 original image sub-sampling to 250 * 250, image is become again 500 * 500 result schematic diagram through 6 full-phase DCT kernel function interpolations (the inventive method);
Fig. 6 is the original image that is used for conversion, and Fig. 6-1 is the image of 256 gray levels of 300 * 300; Fig. 6-2 is images of 256 gray levels of 256 * 256; Fig. 6-3 is images of 256 gray levels of 512 * 512; Fig. 6-4 is images of 256 gray levels of 500 * 500, and transformation results sees Table 1.
[embodiment]:
Employing discrete cosine transform provided by the invention (dct transform) interpolating kernel function, the detailed process that is used to change image resolution ratio are as follows:
(1), input original image;
(2), according to the requirement of resolution changing, calculate the position of interpolation point;
(3), calculate the value of interpolation filter according to the expression formula of above-mentioned discrete cosine transform interpolating kernel function;
(4), by the value of interpolation filter and the pixel point value of original image calculated for pixel values new images;
(5), obtain changing the later new images of resolution.
The detailed process of the building method of full phase discrete cosine conversion provided by the invention (dct transform) interpolating kernel function is as follows:
To known finite digital signal x (t), 0≤t<NT is a sampling interval with T, and sampling number is N, X
n=x (nT), n=0,1, Λ, N-1; Make that discrete cosine transform is A
m=DCT (X
n), inverse discrete cosine transformation is X
n=IDCT (A
m), α represents the dct transform matrix; β represents the idct transform matrix, as shown in Figure 1:
Obtain original signal through the contravariant transducing again:
As in following formula, making t=m, 0≤t≤N-1, t ∈ R, then signal can be by following formula reconstruct:
Wherein,
If x (n) is the starting point of first data segment, interpolation point is τ apart from the distance of x (n), and 0≤τ<1 has N-1 data segment to comprise this interpolation point by the definition in full phase data space, and this N-1 data segment is respectively in the reconstruction value of interpolation point
What the reconstruction value that defines full phase interpolation was this N-1 data segment in the reconstruction value of interpolation point is average:
Make k=i-j, then:
Then:
Wherein,
Be the discrete cosine transform interpolating kernel function.The image that changes through the inventive method as shown in Figure 5.
As shown in Figure 2, be the regulation of the separable interpolation formula coordinate in example explanation DCT territory with N=4, " * " among the figure represents the position of interpolated point, 0≤τ<1.
When N=4,
If true origin is positioned at interpolation point, variable x represents the distance of sampled point to interpolation point, is that the weighting function of sampled point is based on the interpolating kernel function of 6 dot informations (N=4) then:
Its edge is more level and smooth than Fig. 4 as seen from Figure 5, and the ringing effect at edge does not have Fig. 4 obvious, illustrates that its picture quality is than Fig. 4 height.
From as shown in table 1 by the interpolation result that Fig. 6 implemented:
Image PSNR (dB) relatively after table 1 interpolation
6 cubes | 6 full-phase DCTs | |
Fig. 6-1 | 37.018 | 37.135 |
Fig. 6-2 | 25.938 | 26.140 |
Fig. 6-3 | 33.703 | 33.525 |
Fig. 6-4 | 18.409 | 18.741 |
Table 1 is: with Fig. 6-1 by 300 * 300 sub-samplings to 150 * 150 after, image is become again 300 * 300 result through 6 full-phase DCT kernel function interpolations; With Fig. 6-2 by 256 * 256 sub-samplings to 128 * 128 after, image is become again 256 * 256 result through 6 full-phase DCT kernel function interpolations; With Fig. 6-3 by 512 * 512 sub-samplings to 256 * 256 after, image is become again 512 * 512 result through 6 full-phase DCT kernel function interpolations; With Fig. 6-4 by 500 * 500 sub-samplings to 250 * 250 after, image is become again 500 * 500 result through 6 full-phase DCT kernel function interpolations.
6 full-phase DCT kernel function interpolations are better than 6 cubes of interpolation effects as can be seen from Table 1.
Claims (2)
1, the building method of full phase discrete cosine conversion interpolating kernel function is characterized in that the construction process of this interpolating kernel function is as follows:
(1) to known finite digital signal x (t), 0≤t<NT, T are sampling interval, and N is a sampling number, X
n=x (nT), n=0,1, Λ, N-1 makes that discrete cosine transform is A
m=DCT (X
n), inverse discrete cosine transformation is X
n=IDCT (A
m), then have:
α represents the discrete cosine transform matrix; β represents the inverse discrete cosine transformation matrix;
(2) make t=m in the following formula, 0≤t≤N-1, t ∈ R, then signal can be by following formula reconstruct:
Wherein,
If x (n) is the starting point of first data segment, interpolation point is τ apart from the distance of x (n), 0≤τ<1, and what the reconstruction value that defines full phase interpolation was a N-1 data segment in the reconstruction value of interpolation point is average:
Make k=i-j, then:
Then:
Wherein,
Be the discrete cosine transform interpolating kernel function.
2, a kind of change of adopting the described discrete cosine transform interpolating kernel function of claim 1 to be used for image resolution ratio is characterized in that following process is passed through in the change of image resolution ratio:
(1), input original image;
(2), according to the requirement of resolution changing, calculate the position of interpolation point;
(3), the expression formula of discrete cosine transform interpolating kernel function according to claim 1 is calculated the value of interpolation filter;
(4), by the value of interpolation filter and the pixel point value of original image calculated for pixel values new images;
(5), obtain changing the later new images of resolution.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2006100135790A CN100433779C (en) | 2006-04-28 | 2006-04-28 | Full phase discrete cosine changing interpolating kernel function and change for image resolution |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2006100135790A CN100433779C (en) | 2006-04-28 | 2006-04-28 | Full phase discrete cosine changing interpolating kernel function and change for image resolution |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1858800A true CN1858800A (en) | 2006-11-08 |
CN100433779C CN100433779C (en) | 2008-11-12 |
Family
ID=37297707
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNB2006100135790A Expired - Fee Related CN100433779C (en) | 2006-04-28 | 2006-04-28 | Full phase discrete cosine changing interpolating kernel function and change for image resolution |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN100433779C (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107294511B (en) * | 2017-05-26 | 2020-09-08 | 天津大学 | Low-complexity variable fractional delay filtering method and filter |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1156372A (en) * | 1995-12-28 | 1997-08-06 | 萨甘股份有限公司 | Method for modifying resolution of digitised image |
JP3787927B2 (en) * | 1996-11-18 | 2006-06-21 | ソニー株式会社 | Imaging apparatus and color image signal processing method |
CN1393798A (en) * | 2001-07-03 | 2003-01-29 | 力捷电脑股份有限公司 | Method and device for increasing resolution of scanner |
AU2002341315A1 (en) * | 2001-11-01 | 2003-05-12 | Koninklijke Philips Electronics N.V. | Improved spatial resolution of video images |
JP3833212B2 (en) * | 2003-11-19 | 2006-10-11 | シャープ株式会社 | Image processing apparatus, image processing program, and readable recording medium |
-
2006
- 2006-04-28 CN CNB2006100135790A patent/CN100433779C/en not_active Expired - Fee Related
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107294511B (en) * | 2017-05-26 | 2020-09-08 | 天津大学 | Low-complexity variable fractional delay filtering method and filter |
Also Published As
Publication number | Publication date |
---|---|
CN100433779C (en) | 2008-11-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN1901602A (en) | Quick double linear interpolating method in image amplification process | |
CN100342398C (en) | Image processing method and apparatus | |
CN1668108A (en) | Resolution changing method and apparatus | |
CN1717049A (en) | Wavelet changeable VLSI structure based on line | |
CN1324527C (en) | A unit for and method of image conversion | |
CN1703094A (en) | Image interpolation apparatus and methods that apply quarter pel interpolation to selected half pel interpolation results | |
CN1858800A (en) | Full phase discrete cosine changing interpolating kernel function and change for image resolution | |
CN1741617A (en) | Handle the equipment and the method for the shoot artifacts of picture signal | |
CN1878308A (en) | Orthogonal transformation method for image and video compression | |
CN1297940C (en) | Image zooming method | |
CN1197026C (en) | Parallel reversely dispersed small wave change | |
CN101059866A (en) | VLSI structure for promoting in parallel 9/7 wavelet base | |
CN101212660A (en) | Sectionalized image decoding method | |
WO2012065447A1 (en) | Sub pixel interpolation method and system | |
CN101047780A (en) | Recursive 3D super precision method for smoothly changing area | |
CN1756312A (en) | A kind of image synthesizing method with sport foreground | |
CN1622601A (en) | A method for implementing digital zooming and computer pick-up head | |
CN1266650C (en) | Integer wavelet conversion method based on digital signal processor | |
CN1187688C (en) | Memory control method realized by lifting wavelet fast algorithm VLSI | |
CN1949878A (en) | Method for transform-domain rounding in a decoder and video decoder thereof | |
CN1179568C (en) | 1/4 size real time decoding of digital video | |
CN101030296A (en) | Method for adjusting JPEG image resolution | |
CN1454003A (en) | Video image pattern conversion method realized with 2D multiphase interpolating filter | |
CN1787382A (en) | Method for buffer area read-write by reducing buffer area size of on-line image compression data | |
CN1719476A (en) | Pantograph treatment system of digital picture |
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 | ||
C17 | Cessation of patent right | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20081112 Termination date: 20110428 |