CN104794682A - Transform domain based image interpolation method and device thereof - Google Patents

Transform domain based image interpolation method and device thereof Download PDF

Info

Publication number
CN104794682A
CN104794682A CN201510221219.9A CN201510221219A CN104794682A CN 104794682 A CN104794682 A CN 104794682A CN 201510221219 A CN201510221219 A CN 201510221219A CN 104794682 A CN104794682 A CN 104794682A
Authority
CN
China
Prior art keywords
image
gray scale
original image
interpolation
described original
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.)
Pending
Application number
CN201510221219.9A
Other languages
Chinese (zh)
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.)
Changsha Jin Ding Information Technology Co Ltd
Original Assignee
Changsha Jin Ding Information Technology Co Ltd
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 Changsha Jin Ding Information Technology Co Ltd filed Critical Changsha Jin Ding Information Technology Co Ltd
Priority to CN201510221219.9A priority Critical patent/CN104794682A/en
Publication of CN104794682A publication Critical patent/CN104794682A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T3/00Geometric image transformation in the plane of the image
    • G06T3/40Scaling the whole image or part thereof
    • G06T3/4007Interpolation-based scaling, e.g. bilinear interpolation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T3/00Geometric image transformation in the plane of the image
    • G06T3/40Scaling the whole image or part thereof
    • G06T3/4084Transform-based scaling, e.g. FFT domain scaling

Abstract

The invention provides a transform domain based image interpolation method and a device thereof. The transform domain based image interpolation method includes inputting an original image fO(m,n) to be processed, dividing the original image fO(m,n) into an intense gray area fH(m,n) and a slow gray area fL(m,n) according to difference of spectrums after the original image is transformed into the frequency domain, interpolating the intense gray area fH(m,n) and the slow gray area fL(m,n) by different methods according to different requirements for image quality, uniting images acquired after interpolation of the two areas to generate a complete image fN(m,n) which is interpolated. The transform domain based image interpolation method has the advantages of reducing calculation amount on the premise of guaranteeing quality of details and further reducing noise interference.

Description

A kind of image interpolation method based on transform domain and device
Technical field
The embodiment of the present invention relates to digital image processing techniques field, particularly relates to a kind of image interpolation method based on transform domain and device.
Background technology
In image procossing and display system, interpolation is a kind of basic technological means.To the convergent-divergent of image, rotation and frame frequency conversion, all must be realized by interpolation arithmetic.And the quality of interpolation algorithm, directly determine effect and the speed of above-mentioned process.
Existing image interpolation method, as Chinese patent, (application number: 201010292556.4) construct multiple interpolating function, solves the irretentive problem of topology of existence when prior art application carries out image interpolation based on radial basis function; Chinese patent (application number: 200910001133.X), by arranging different angle of deviation, calculates interpolation coefficient; Chinese patent (application number: 201010301367.9) for interpolation point chooses the square dot matrix of its most contiguous 2M × 2M preimage vegetarian refreshments composition, and obtain the interpolation weights coefficient of each preimage vegetarian refreshments to interpolation point according to the distance of each preimage vegetarian refreshments chosen and interpolation point; Space length information in Chinese patent (application number: 201110230492.X) computed image moving window between arbitrary interpolation point and four original image vegetarian refreshments and the spectral vector distance between original four pixels, the weights of computer memory distance and the weights of spectral vector distance, the vector value then calculating total weight value and this interpolation point realizes interpolation; Chinese patent (application number: the edge treated problem 200810028304.3) mainly for ENO interpolation method is improved; Chinese patent (application number: 200880126922.X) utilizes block-based exercise estimator to provide block-based motion vector, by this motion vector to correct image, reduces the halo effect in Interpolation Process; (application number: 201010558745.1) introduce similarity probability as weight during high-resolution pixel point estimation, and then evaluated error is minimized decreases the flaw that boundary occurs to Chinese patent.
Above-mentioned existing method respectively has advantage in interpolation quality or calculated amount, speed etc., but be all process for entire image, ignore the content character of image itself and user to the attention rate requirement of different content, be therefore difficult to take into account Disposal quality and speed, there is certain defect.
Summary of the invention
Image interpolation method based on transform domain provided by the invention and device, under the prerequisite ensureing details quality, simplify calculated amount, and can reduce noise.
The invention provides a kind of image interpolation method based on transform domain, comprising:
Input the original image f that pending size is M × N o(m, n), m and n is described original image spatial domain coordinate variable, wherein m=0 ..., M-1, n=0 ..., N-1; ;
By described original image conversion frequency domain, and different from described original image f according to frequency spectrum o(m, n) is divided into gray scale intense regions f hthe slow region f of (m, n) and gray scale l(m, n);
According to the difference to image quality requirements, to described gray scale intense regions f hthe slow region f of (m, n) and gray scale l(m, n) adopts diverse ways to carry out interpolation respectively;
Merge described gray scale intense regions f hthe slow region f of (m, n) and gray scale limage after (m, n) interpolation, generates the complete image f through interpolation n(m, n).
Further, described by described original image conversion frequency domain, and different from described original image f according to frequency spectrum o(m, n) is divided into gray scale intense regions f hthe slow region f of (m, n) and gray scale l(m, n) comprising:
To described original image f o(m, n) carries out Fourier transform to generate the frequency spectrum F of described original image o(u, v), transformation for mula is:
F O ( u , v ) = 1 M N Σ m = 0 M - 1 Σ n = 0 N - 1 f O ( m , n ) exp ( - j 2 π ( mu M nv N ) ) , Wherein u and v is described original image frequency field coordinate variable, wherein u=0 ..., M-1, v=0 ..., N-1;
By the frequency spectrum F of Hi-pass filter to described original image o(u, v) carries out low frequency filtration, to obtain high frequency spectrum F h(u, v);
To described high frequency spectrum F h(u, v) carries out inverse fourier transform to generate the gray scale intense regions f in original image h(m, n), reconstructed formula is:
f H ( m , n ) = 1 M N Σ u = 0 M - 1 Σ v = 0 N - 1 F H ( u , v ) exp ( j 2 π ( mu M + nv N ) ) ;
According to described original image f o(m, n) and described gray scale intense regions f h(m, n) contrast is to obtain the slow region f of gray scale l(m, n).
Further, described Hi-pass filter adopts Gauss's Hi-pass filter, then cutoff frequency is D 0the transport function of Gauss's Hi-pass filter be:
H ( u , v ) = 1 - e - D ( u , v ) 2 / 2 D 0 2 , Wherein D ( u , v ) = [ ( u - M 2 ) 2 + ( v - N 2 ) 2 ] 1 2 , Wherein suppose that image low-limit frequency is in the transform domain as illustrated D l, highest frequency is D h, then D 0=(D l+ D h)/2.
Further, adopt cube method of interpolation to described gray scale intense regions, consider 16 neighborhood territory pixel points of the floating-point coordinate (i+u, j+v) of object pixel, the cube interpolation calculation formula of object pixel f (i+u, j+v) is:
f(i+u,j+v)=[A]×[B]×[C]
Wherein, i, j are the integral part of image pixel coordinates in interpolation arithmetic, and u, v are the fraction part of image pixel coordinates in interpolation arithmetic,
[A]=[S(u+1) S(u+0) S(u-1) S(u-2)]
[ B ] = f ( i - 1 , j - 1 ) f ( i - 1 , j + 0 ) f ( i - 1 , j + 1 ) f ( i - 1 , j + 2 ) f ( i + 0 , j - 1 ) f ( i + 0 , j + 0 ) f ( i + 0 , j + 1 ) f ( i + 0 , j + 2 ) f ( i + 1 , j - 1 ) f ( i + 1 , j + 0 ) f ( i + 1 , j + 1 ) f ( i + 1 , j + 2 ) f ( i + 2 , j - 1 ) f ( i + 2 , j + 0 ) f ( i + 2 , j + 1 ) f ( i + 2 , j + 2 )
[ C ] = S ( v + 1 ) S ( v + 0 ) S ( v - 1 ) S ( v - 2 ) ,
Wherein S ( x ) = 1 - 2 &times; abs ( x ) ^ 2 + abs ( x ) ^ 3 , 0 &le; abs ( x ) < 1 4 - 8 &times; abs ( x ) + 5 &times; abs ( x ) ^ 2 - abs ( x ) ^ 3 , 1 &le; abs ( x ) < 2 0 , abs ( x ) &GreaterEqual; 2 .
Further, adopt most neighbor interpolation to the slow region of described gray scale, if object pixel is f (i+u, j+v), then its computing formula is:
f ( i + u , j + v ) = f ( i , j ) , u < 0.5 , v < 0.5 f ( i + 1 , j ) , u &GreaterEqual; 0.5 , v < 0.5 f ( i , j + 1 ) , u < 0.5 , v &GreaterEqual; 0.5 f ( i + 1 , j + 1 ) , u &GreaterEqual; 0 . 5 , v &GreaterEqual; 0.5 Wherein, i, j are the integral part of image pixel coordinates in interpolation arithmetic, and u, v are the fraction part of image pixel coordinates in interpolation arithmetic.
The present invention also provides a kind of image interpolation device based on transform domain, comprising:
Load module, for inputting the original image f that pending size is M × N o(m, n), m and n is described original image spatial domain coordinate variable, wherein m=0 ..., M-1, n=0 ..., N-1;
Segmentation module, for described original image is converted frequency domain, and different from described original image f according to frequency spectrum o(m, n) is divided into gray scale intense regions f hthe slow region f of (m, n) and gray scale l(m, n);
Interpolation processing module, for according to the difference to image quality requirements, to described gray scale intense regions f hthe slow region f of (m, n) and gray scale l(m, n) adopts diverse ways to carry out interpolation respectively;
Merge module, for merging described gray scale intense regions f hthe slow region f of (m, n) and gray scale limage after (m, n) interpolation, generates the complete image f through interpolation n(m, n).
Further, described segmentation module comprises:
Fourier transformation unit, for described original image f o(m, n) carries out Fourier transform to generate the frequency spectrum F of described original image o(u, v), transformation for mula is:
F O ( u , v ) = 1 M N &Sigma; m = 0 M - 1 &Sigma; n = 0 N - 1 f O ( m , n ) exp ( - j 2 &pi; ( mu M nv N ) ) , Wherein u and v is described original image frequency field coordinate variable, wherein u=0 ..., M-1, v=0 ..., N-1;
Low frequency filter element, for by the frequency spectrum F of Hi-pass filter to described original image o(u, v) carries out low frequency filtration, to obtain high frequency spectrum F h(u, v);
Inverse Fourier transform unit, for described high frequency spectrum F h(u, v) carries out inverse fourier transform to generate the gray scale intense regions f in original image h(m, n), reconstructed formula is:
f H ( m , n ) = 1 M N &Sigma; u = 0 M - 1 &Sigma; v = 0 N - 1 F H ( u , v ) exp ( j 2 &pi; ( mu M + nv N ) ) ;
Contrast unit, for according to described original image f o(m, n) and described gray scale intense regions f h(m, n) contrast is to obtain the slow region f of gray scale l(m, n).
Image interpolation method based on transform domain provided by the invention and device, first by carrying out fineness classification to pending picture material, and then adopt for different regions the interpolation method that quality is different from speed emphasis, under the prerequisite ensureing details quality, simplify calculated amount, and can noise be reduced.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the process flow diagram of the image interpolation method embodiment that the present invention is based on transform domain;
Fig. 2 is the process flow diagram of image frequency domain division methods in Fig. 1;
Fig. 3 is the structural representation of the image interpolation device embodiment that the present invention is based on transform domain.
Embodiment
For making the object of the embodiment of the present invention, technical scheme and advantage clearly, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
Fig. 1 is the process flow diagram of the image interpolation method embodiment that the present invention is based on transform domain, as shown in Figure 1, specifically comprises:
Step 10, input pending original image;
Suppose that pending original image size is the original image f of M × N o(m, n), m and n is described original image spatial domain coordinate variable, wherein m=0 ..., M-1, n=0 ..., N-1;
The frequency of image is the index of grey scale change severe degree in token image, is the gradient of half-tone information on plane space.The content of image is made up of several connected domains, and the grey scale change of each connected domain inside is slow, and corresponding frequency values is lower; And marginal portion grey scale change between each connected domain is violent, corresponding frequency values is higher.
Step 20, by described original image conversion frequency domain, and different from described original image f according to frequency spectrum o(m, n) is divided into gray scale intense regions f hthe slow region f of (m, n) and gray scale l(m, n);
The gray scale intense regions f of indication in this step hpicture frequency in (m, n) is greater than the slow region f of gray scale l(m, n).
Step 30, the difference of basis to image quality requirements, to described gray scale intense regions f hthe slow region f of (m, n) and gray scale l(m, n) adopts diverse ways to carry out interpolation respectively;
Typically, there are different quality and rate request in the region that user is different to frequency, therefore can choose different interpolation methods for zones of different and carry out interpolation processing respectively.
Step 40, merge described gray scale intense regions f hthe slow region f of (m, n) and gray scale limage after (m, n) interpolation, generates the complete image f through interpolation n(m, n).
The image interpolation method based on transform domain that above-described embodiment provides is first by carrying out fineness classification to pending picture material, and then adopt for different regions the interpolation method that quality is different from speed emphasis, under the prerequisite ensureing details quality, simplify calculated amount, and can noise be reduced.
Preferably, in such scheme, cube method of interpolation can be adopted to described gray scale intense regions, consider the floating-point coordinate (i+u of object pixel, j+v) 16 neighborhood territory pixel points, the cube interpolation calculation formula of object pixel f (i+u, j+v) is:
f(i+u,j+v)=[A]×[B]×[C]
Wherein, i, j are the integral part of image pixel coordinates in interpolation arithmetic, and u, v are the fraction part of image pixel coordinates in interpolation arithmetic,
[A]=[S(u+1) S(u+0) S(u-1) S(u-2)]
[ B ] = f ( i - 1 , j - 1 ) f ( i - 1 , j + 0 ) f ( i - 1 , j + 1 ) f ( i - 1 , j + 2 ) f ( i + 0 , j - 1 ) f ( i + 0 , j + 0 ) f ( i + 0 , j + 1 ) f ( i + 0 , j + 2 ) f ( i + 1 , j - 1 ) f ( i + 1 , j + 0 ) f ( i + 1 , j + 1 ) f ( i + 1 , j + 2 ) f ( i + 2 , j - 1 ) f ( i + 2 , j + 0 ) f ( i + 2 , j + 1 ) f ( i + 2 , j + 2 )
[ C ] = S ( v + 1 ) S ( v + 0 ) S ( v - 1 ) S ( v - 2 ) ,
Wherein S ( x ) = 1 - 2 &times; abs ( x ) ^ 2 + abs ( x ) ^ 3 , 0 &le; abs ( x ) < 1 4 - 8 &times; abs ( x ) + 5 &times; abs ( x ) ^ 2 - abs ( x ) ^ 3 , 1 &le; abs ( x ) < 2 0 , abs ( x ) &GreaterEqual; 2 .
This programme preferably adopts cube interpolation for gray scale acute variation region, and its technique effect is as follows:
(1) impact of the direct adjoint point gray-scale value of object pixel four is not only considered, also consider the impact of each direct adjoint point gray-value variation rate, the gray-scale value that make use of pixel in 16 neighborhoods around to be sampled does cubic interpolation calculating, and therefore computational accuracy is high, and interpolation is good;
(2) this interpolation arithmetic only carries out for gray scale acute variation region, effectively reduces the process range of high precision computation, has taken into account interpolation quality and bulk treatment speed.
Preferably, in such scheme, adopt most neighbor interpolation to the slow region of described gray scale, if object pixel is f (i+u, j+v), then its computing formula is
f ( i + u , j + v ) = f ( i , j ) , u < 0.5 , v < 0.5 f ( i + 1 , j ) , u &GreaterEqual; 0.5 , v < 0.5 f ( i , j + 1 ) , u < 0.5 , v &GreaterEqual; 0.5 f ( i + 1 , j + 1 ) , u &GreaterEqual; 0 . 5 , v &GreaterEqual; 0.5 Wherein, i, j are the integral part of image pixel coordinates in interpolation arithmetic, and u, v are the fraction part of image pixel coordinates in interpolation arithmetic.
The present invention is directed to the slow region of variation of gray scale and preferably adopt most neighbor interpolation, its technique effect is as follows:
(1) the method selects image information the most adjacent in four neighborhoods as the information of interpolating pixel, only with the gray-scale value of (namely the most contiguous) pixel had the greatest impact to this sampled point numerical value as this point, without the need to addition subtraction multiplication and division, therefore calculate simple, fastest;
(2) this Fast Interpolation computing is only carried out for the slow region of variation of gray scale, has taken into account interpolation quality and bulk treatment speed.
Further, Fig. 2 is the process flow diagram of image frequency domain division methods in Fig. 1, as shown in Figure 2, on the basis of technique scheme, particularly, described by described original image conversion frequency domain, and different from described original image f according to frequency spectrum o(m, n) is divided into gray scale intense regions f hthe slow region f of (m, n) and gray scale l(m, n) comprising:
Step 201, to described original image f o(m, n) carries out Fourier transform to generate the frequency spectrum F of described original image o(u, v), transformation for mula is
F O ( u , v ) = 1 M N &Sigma; m = 0 M - 1 &Sigma; n = 0 N - 1 f O ( m , n ) exp ( - j 2 &pi; ( mu M nv N ) ) , Wherein u and v is described original image frequency field coordinate variable, wherein u=0 ..., M-1, v=0 ..., N-1;
Step 202, by the frequency spectrum F of Hi-pass filter to described original image o(u, v) carries out low frequency filtration, to obtain high frequency spectrum F h(u, v);
In this step, preferably, described Hi-pass filter can adopt Gauss's Hi-pass filter, then cutoff frequency is D 0the transport function of Gauss's Hi-pass filter be
H ( u , v ) = 1 - e - D ( u , v ) 2 / 2 D 0 2 , Wherein D ( u , v ) = [ ( u - M 2 ) 2 + ( v - N 2 ) 2 ] 1 2 .
Wherein suppose that image low-limit frequency is in the transform domain as illustrated D l, highest frequency is D h, then D 0=(D l+ D h)/2.
During use, by image conversion to frequency domain F oafter (u, v), by F o(u, v) is multiplied by H (u, v), can obtain filtered frequency spectrum.
Step 203, to described high frequency spectrum F h(u, v) carries out inverse fourier transform to generate the gray scale intense regions f in original image h(m, n), reconstructed formula is
f H ( m , n ) = 1 M N &Sigma; u = 0 M - 1 &Sigma; v = 0 N - 1 F H ( u , v ) exp ( j 2 &pi; ( mu M + nv N ) ) ;
Step 204, according to described original image f o(m, n) and described gray scale intense regions f h(m, n) contrast is to obtain the slow region f of gray scale l(m, n).
In such scheme, through the frequency spectrum of high-pass filtering, owing to having filtered out the low-frequency component in original image frequency domain, the only frequency spectrum of remaining gray scale acute variation part (i.e. edge), that obtain after therefore getting back to spatial domain by inverse fourier transform is marginal portion (gray scale intense regions f h(m, n)) image, then to contrast with original image, then can realize the slow changing unit of gray scale in original image (the slow region f of gray scale l(m, n)) with the segmentation of acute variation part.Technique scheme makes full use of the characteristic of variation of image grayscale severe degree at frequency domain, carrying out, can improve the speed of Iamge Segmentation without the need to considering that concrete gray scale size is unified.
The present invention also provides a kind of image interpolation device based on transform domain, and Fig. 3 is the structural representation of the image interpolation device embodiment that the present invention is based on transform domain, and as shown in Figure 3, this device comprises:
Load module 1, for for inputting the original image f that pending size is M × N o(m, n), m and n is described original image spatial domain coordinate variable, wherein m=0 ..., M-1, n=0 ..., N-1;
Segmentation module 2, for described original image is converted frequency domain, and different from described original image f according to frequency spectrum o(m, n) is divided into gray scale intense regions f hthe slow region f of (m, n) and gray scale l(m, n);
Interpolation processing module 3, for according to the difference to image quality requirements, to described gray scale intense regions f hthe slow region f of (m, n) and gray scale l(m, n) adopts diverse ways to carry out interpolation respectively;
Merge module 4, for merging described gray scale intense regions f hthe slow region f of (m, n) and gray scale limage after (m, n) interpolation, generates the complete image f through interpolation n(m, n).
Particularly, on the basis of technique scheme, described segmentation module 2 can comprise:
Fourier transformation unit 21, for described original image f o(m, n) carries out Fourier transform to generate the frequency spectrum F of described original image o(u, v), transformation for mula is:
F O ( u , v ) = 1 M N &Sigma; m = 0 M - 1 &Sigma; n = 0 N - 1 f O ( m , n ) exp ( - j 2 &pi; ( mu M nv N ) ) , Wherein u and v is described original image frequency field coordinate variable, wherein u=0 ..., M-1, v=0 ..., N-1;
Low frequency filter element 22, for by the frequency spectrum F of Hi-pass filter to described original image o(u, v) carries out low frequency filtration, to obtain high frequency spectrum F h(u, v);
Inverse Fourier transform unit 23, for described high frequency spectrum F h(u, v) carries out inverse fourier transform to generate the gray scale intense regions f in original image h(m, n), reconstructed formula is:
f H ( m , n ) = 1 M N &Sigma; u = 0 M - 1 &Sigma; v = 0 N - 1 F H ( u , v ) exp ( j 2 &pi; ( mu M + nv N ) ) ;
Contrast unit 24, for according to described original image f o(m, n) and described gray scale intense regions f h(m, n) contrast is to obtain the slow region f of gray scale l(m, n).
The device of the present embodiment, may be used for the technical scheme performing embodiment of the method shown in Fig. 1 and Fig. 2, it realizes principle and technique effect is similar, repeats no more herein.
Last it is noted that above each embodiment is only in order to illustrate technical scheme of the present invention, be not intended to limit; Although with reference to foregoing embodiments to invention has been detailed description, those of ordinary skill in the art is to be understood that: it still can be modified to the technical scheme described in foregoing embodiments, or carries out equivalent replacement to wherein some or all of technical characteristic; And these amendments or replacement, do not make the essence of appropriate technical solution depart from the scope of various embodiments of the present invention technical scheme.

Claims (7)

1. based on an image interpolation method for transform domain, it is characterized in that, comprising:
Input the original image f that pending size is M × N o(m, n), m and n is described original image spatial domain coordinate variable, wherein m=0 ..., M-1, n=0 ..., N-1;
Described original image is transformed to frequency domain, and different from described original image f according to frequency spectrum o(m, n) is divided into gray scale intense regions f hthe slow region f of (m, n) and gray scale l(m, n);
According to the difference to image quality requirements, to described gray scale intense regions f hthe slow region f of (m, n) and gray scale l(m, n) adopts diverse ways to carry out interpolation respectively;
Merge described gray scale intense regions f hthe slow region f of (m, n) and gray scale limage after (m, n) interpolation, generates the complete image f through interpolation n(m, n).
2. the image interpolation method based on transform domain according to claim 1, is characterized in that, described by described original image conversion frequency domain, and different from described original image f according to frequency spectrum o(m, n) is divided into gray scale intense regions f hthe slow region f of (m, n) and gray scale l(m, n) comprising:
To described original image f o(m, n) carries out Fourier transform to generate the frequency spectrum F of described original image o(u, v), transformation for mula is:
F 0 ( u , v ) = 1 M N &Sigma; m = 0 M - 1 &Sigma; n = 0 N - 1 f 0 ( m , n ) exp ( - j 2 &pi; ( mu M nv N ) ) , Wherein u and v is described original image frequency field coordinate variable, wherein u=0 ..., M-1, v=0 ..., N-1;
By the frequency spectrum F of Hi-pass filter to described original image o(u, v) carries out low frequency filtration, to obtain high frequency spectrum F h(u, v);
To described high frequency spectrum F h(u, v) carries out inverse fourier transform to generate the gray scale intense regions f in original image h(m, n), reconstructed formula is:
f H ( m , n ) = 1 M N &Sigma; u = 0 M - 1 &Sigma; v = 0 N - 1 F H ( u , v ) exp ( j 2 &pi; ( mu M + nv N ) ) ;
According to described original image f o(m, n) and described gray scale intense regions f h(m, n) contrast is to obtain the slow region f of gray scale l(m, n).
3. the image interpolation method based on transform domain according to claim 2, is characterized in that, described Hi-pass filter adopts Gauss's Hi-pass filter, then cutoff frequency is D 0the transport function of Gauss's Hi-pass filter be:
H ( u , v ) = 1 - e - D ( u , v ) 2 / 2 D 0 2 , Wherein D ( u , v ) = [ ( u - M 2 ) 2 + ( v - N 2 ) 2 ] 1 2 ,
Wherein suppose that image low-limit frequency is in the transform domain as illustrated D l, highest frequency is D h, then D 0=(D l+ D h)/2.
4. the image interpolation method based on transform domain according to any one of claims 1 to 3, it is characterized in that, cube method of interpolation is adopted to described gray scale intense regions, consider the floating-point coordinate (i+u of object pixel, j+v) 16 neighborhood territory pixel points, the cube interpolation calculation formula of object pixel f (i+u, j+v) is:
F (i+u, j+v)=[A] × [B] × [C], wherein, i, j are the integral part of image pixel coordinates in interpolation arithmetic, and u, v are the fraction part of image pixel coordinates in interpolation arithmetic,
[A]=[S(u+1) S(u+0) S(u-1) S(u-2)]
[ B ] = f ( i - 1 , j - 1 ) f ( i - 1 , j + 0 ) f ( i - 1 , j + 1 ) f ( i - 1 , j + 2 ) f ( i + 0 , j - 1 ) f ( i + 0 , j + 0 ) f ( i + 0 , j + 1 ) f ( i + 0 , j + 2 ) f ( i + 1 , j - 1 ) f ( i + 1 , j + 0 ) f ( i + 1 , j + 1 ) f ( i + 1 , j + 2 ) f ( i + 2 , j - 1 ) f ( i + 2 , j + 0 ) f ( i + 2 , j + 1 ) f ( i + 2 , j + 2 )
[ C ] = S ( v + 1 ) S ( v + 0 ) S ( v - 1 ) S ( v - 2 ) ,
Wherein S ( x ) = 1 - 2 &times; abs ( x ) ^ 2 + abs ( x ) ^ 3 , 0 &le; abs ( x ) < 1 4 - 8 &times; abs ( x ) + 5 &times; abs ( x ) ^ 2 - abs ( x ) ^ 3 1 &le; abs ( x ) < 2 0 , abs ( x ) &GreaterEqual; 2 .
5. the image interpolation method based on transform domain according to any one of claims 1 to 3, is characterized in that, adopt most neighbor interpolation to the slow region of described gray scale, if object pixel is f (i+u, j+v), then its computing formula is:
f ( i + u , j + v ) = f ( i , j ) u < 0.5 , v < 0.5 f ( i + 1 , j ) u &GreaterEqual; 0.5 , v < 0.5 f ( i , j + 1 ) u < 0.5 , v &GreaterEqual; 0.5 f ( i + 1 , j + 1 ) u &GreaterEqual; 0.5 , v &GreaterEqual; 0.5 Wherein, i, j are the integral part of image pixel coordinates in interpolation arithmetic, and u, v are the fraction part of image pixel coordinates in interpolation arithmetic.
6., based on an image interpolation device for transform domain, it is characterized in that, comprising:
Load module, for inputting the original image f that pending size is M × N o(m, n), m and n is described original image spatial domain coordinate variable, wherein m=0 ..., M-1, n=0 ..., N-1;
Segmentation module, for described original image is converted frequency domain, and different from described original image f according to frequency spectrum o(m, n) is divided into gray scale intense regions f hthe slow region f of (m, n) and gray scale l(m, n);
Interpolation processing module, for according to the difference to image quality requirements, to described gray scale intense regions f hthe slow region f of (m, n) and gray scale l(m, n) adopts diverse ways to carry out interpolation respectively;
Merge module, for merging described gray scale intense regions f hthe slow region f of (m, n) and gray scale limage after (m, n) interpolation, generates the complete image f through interpolation n(m, n).
7. the image interpolation device based on transform domain according to claim 6, is characterized in that, described segmentation module comprises:
Fourier transformation unit, for described original image f o(m, n) carries out Fourier transform to generate the frequency spectrum F of described original image o(u, v), transformation for mula is:
F 0 ( u , v ) = 1 M N &Sigma; m = 0 M - 1 &Sigma; n = 0 N - 1 f 0 ( m , n ) exp ( - j 2 &pi; ( mu M nv N ) ) , Wherein u and v is described original image frequency field coordinate variable, wherein u=0 ..., M-1, v=0 ..., N-1;
Low frequency filter element, for by the frequency spectrum F of Hi-pass filter to described original image o(u, v) carries out low frequency filtration, to obtain high frequency spectrum F h(u, v);
Inverse Fourier transform unit, for described high frequency spectrum F h(u, v) carries out inverse fourier transform to generate the gray scale intense regions f in original image h(m, n), reconstructed formula is:
f H ( m , n ) = 1 M N &Sigma; u = 0 M - 1 &Sigma; v = 0 N - 1 F H ( u , v ) exp ( j 2 &pi; ( mu M + nv N ) ) ;
Contrast unit, for according to described original image f o(m, n) and described gray scale intense regions f h(m, n) contrast is to obtain the slow region f of gray scale l(m, n).
CN201510221219.9A 2015-05-04 2015-05-04 Transform domain based image interpolation method and device thereof Pending CN104794682A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510221219.9A CN104794682A (en) 2015-05-04 2015-05-04 Transform domain based image interpolation method and device thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510221219.9A CN104794682A (en) 2015-05-04 2015-05-04 Transform domain based image interpolation method and device thereof

Publications (1)

Publication Number Publication Date
CN104794682A true CN104794682A (en) 2015-07-22

Family

ID=53559465

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510221219.9A Pending CN104794682A (en) 2015-05-04 2015-05-04 Transform domain based image interpolation method and device thereof

Country Status (1)

Country Link
CN (1) CN104794682A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107316304A (en) * 2017-01-15 2017-11-03 四川精目科技有限公司 A kind of piecemeal RBF interpolation impact noise image repair method
CN109606199A (en) * 2018-12-10 2019-04-12 重庆电信职业学院 It is a kind of to establish electric car fully-automatic intelligent charging system and method

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5189526A (en) * 1990-09-21 1993-02-23 Eastman Kodak Company Method and apparatus for performing image compression using discrete cosine transform
CN103778606A (en) * 2014-01-17 2014-05-07 Tcl集团股份有限公司 Image processing method and related devices
CN104299185A (en) * 2014-09-26 2015-01-21 京东方科技集团股份有限公司 Image magnification method, image magnification device and display device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5189526A (en) * 1990-09-21 1993-02-23 Eastman Kodak Company Method and apparatus for performing image compression using discrete cosine transform
CN103778606A (en) * 2014-01-17 2014-05-07 Tcl集团股份有限公司 Image processing method and related devices
CN104299185A (en) * 2014-09-26 2015-01-21 京东方科技集团股份有限公司 Image magnification method, image magnification device and display device

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
全红艳 等: "《数字图像处理原理与实现方法》", 31 January 2014 *
孙燮华: "《数字图像处理 原理与算法》", 31 August 2010 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107316304A (en) * 2017-01-15 2017-11-03 四川精目科技有限公司 A kind of piecemeal RBF interpolation impact noise image repair method
CN109606199A (en) * 2018-12-10 2019-04-12 重庆电信职业学院 It is a kind of to establish electric car fully-automatic intelligent charging system and method

Similar Documents

Publication Publication Date Title
Chandel et al. Image filtering algorithms and techniques: A review
CN105335947A (en) Image de-noising method and image de-noising apparatus
CN101944230B (en) Multi-scale-based natural image non-local mean noise reduction method
CN104715453A (en) Image enhancement method by adopting regional processing mode and circuit
CN104680485A (en) Method and device for denoising image based on multiple resolutions
CN103561194A (en) Scanned image descreening method based on adaptive filtering
CN105976334A (en) Three-dimensional filtering denoising algorithm based denoising processing system and method
CN104766290A (en) Pixel information estimation fusion method based on quick NSCT
Sekar et al. An approach of image scaling using DWT and bicubic interpolation
CN104794682A (en) Transform domain based image interpolation method and device thereof
Vassalos et al. RNS assisted image filtering and edge detection
CN104978720A (en) Video image raindrop removal method and apparatus
Xue et al. An edge-restricted spatial interpolation algorithm
CN103455986B (en) Random noise point detecting method based on fractional order differential gradient
CN102842119A (en) Quick document image super-resolution method based on image matting and edge enhancement
CN102339460B (en) Adaptive satellite image restoration method
Chang et al. A fusion estimation method based on fractional Fourier transform
Zhang et al. Image denoising based on iterative generalized cross-validation and fast translation invariant
CN102800066B (en) Local extremum and pixel value gradient based improved image enhancement method
Das et al. A concise review of fast bilateral filtering
Yin et al. Fractional-order difference curvature-driven fractional anisotropic diffusion equation for image super-resolution
Yi et al. Image denoise based on Curvelet transform
Liu et al. Non-Convex High-Order TV and ℓ 0-Norm Wavelet Frame-Based Speckle Noise Reduction
Angulo et al. Multiscale local multiple orientation estimation using Mathematical Morphology and B-spline interpolation
Getreuer et al. ENO multiresolution schemes with general discretizations

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20150722