CN102402781B - Method and relevant device for generating high-quality enlarged image - Google Patents

Method and relevant device for generating high-quality enlarged image Download PDF

Info

Publication number
CN102402781B
CN102402781B CN201110118525.1A CN201110118525A CN102402781B CN 102402781 B CN102402781 B CN 102402781B CN 201110118525 A CN201110118525 A CN 201110118525A CN 102402781 B CN102402781 B CN 102402781B
Authority
CN
China
Prior art keywords
pixel
enlarged image
value
linear distribution
adjustment amount
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.)
Active
Application number
CN201110118525.1A
Other languages
Chinese (zh)
Other versions
CN102402781A (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.)
Silicon Motion Inc
Original Assignee
Silicon Motion Inc
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
Priority claimed from US12/881,161 external-priority patent/US8472755B2/en
Application filed by Silicon Motion Inc filed Critical Silicon Motion Inc
Publication of CN102402781A publication Critical patent/CN102402781A/en
Application granted granted Critical
Publication of CN102402781B publication Critical patent/CN102402781B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a method for generating a high-quality enlarged image. The method comprises the steps of using at least four pixels of an original image as a reference pixel of a high-quality enlarged image, wherein, the reference pixel is applied as a pixel part of the high-quality enlarged image and further as a reference for generating the other part of the high-quality enlarged image; calculating at least a part of three linear distribution values corresponding to three quartering points according to the values of two adjacent pixels in the reference pixel, adjusting the part of the linear distribution value according to at least three values of three reference pixels and generating at least one pixel of the high-quality enlarged image. The invention also provides a relevant device. Compared with the prior art, the method and the device in the utility model can generate high-quality enlarged images and meanwhile maintain the image quality and the calculating speed.

Description

Be used for producing the method for a high-quality enlarged image
Technical field
The present invention relates to image processing, espespecially one is used for producing method and the relevant apparatus of high-quality amplification (Up-scaled) image.
Background technology
According to correlation technique, traditional image playing device can amplify (Up-scaling) to an original image and operate to produce a very high resolution image, especially has the image of the resolution higher than original resolution (i.e. the resolution of this original image).In typical case, when traditional image playing device produces a new pixel in horizontal direction, the original pixels that only uses the new pixel left and right sides is as with reference to pixel.So for some picture material of this original image, it is not true to nature that the very high resolution image that traditional image playing device produces seems, this is just not have the required complete image information of this very high resolution image of generation because this original image is original.
Due to traditional image playing device in produce very high resolution image time have a problem of many error image information of producing.In response to this problem, correlation technique proposes some schemes to attempt improvement.But these schemes often have some spinoffs.For example: adopt complicated algorithm can cause hardware resource deficiency.Again for example: adopt the hardware that possesses stronger arithmetic capability can cause too high cost.Therefore, need a kind of method of novelty to improve the quality of very high resolution image.
Summary of the invention
Therefore one of object of the present invention is to provide one to be used for producing method and the relevant apparatus of high-quality amplification (Up-scaled) image, to address the above problem.
A kind of method that is used for producing a high-quality enlarged image is provided in preferred embodiment of the present invention, the method includes: utilize at least four pixels in an original image as the reference pixel in this high-quality enlarged image, wherein said reference pixel is used as the one part of pixel in this high-quality enlarged image, and is used as the reference that produces another part pixel in this high-quality enlarged image; And according to adjusting this part of described linear distribution value corresponding to the pixel value of at least three reference pixels at least a portion and the described reference pixel of foundation of three linear distribution values of three quarterns (Quarter) point between this two neighbor of calculated for pixel values of two neighbors in described reference pixel, and produce according to this at least one pixel in this high-quality enlarged image.
The present invention, in the time that said method is provided, also provides a kind of device that is used for producing a high-quality enlarged image accordingly, and this device includes: a controller, is used for carrying out a program code to control the operation of this device; And a ROM (read-only memory) (Read Only Memory, ROM), within being arranged at this controller or outside, be used for storing this program code; This controller of wherein carrying out this program code utilizes at least four pixels in an original image as the reference pixel in this high-quality enlarged image, wherein said reference pixel is used as the one part of pixel in this high-quality enlarged image, and is used as the reference that produces another part pixel in this high-quality enlarged image; And this controller of carrying out this program code according between this two neighbor of calculated for pixel values of two neighbors in described reference pixel corresponding at least a portion of three linear distribution values of three fourth class branches and adjust this part of described linear distribution value according to the pixel value of at least three reference pixels in described reference pixel, and produce according to this at least one pixel in this high-quality enlarged image.
One of benefit of the present invention is, based on above each embodiment/change routine disclosed framework, method of the present invention and relevant apparatus can solve the problem of correlation technique in the situation that not having side effects.Compared to correlation technique, method of the present invention and relevant apparatus, in the time producing high-quality enlarged image, can be taken into account image quality and computing velocity.
Accompanying drawing explanation
Figure 1A is the schematic diagram that is used for producing a high-quality and amplifies the device of (Up-scaled) image according to the one of the present invention one first embodiment.
Figure 1B illustrates one of this first embodiment and changes example.
Fig. 2 is used for the process flow diagram of the method that produces a high-quality enlarged image according to one embodiment of the invention a kind of.
Fig. 3 to Fig. 6 is the implementation detail of the method shown in Fig. 2 in different embodiment.
Wherein, description of reference numerals is as follows:
100,100 ' is used for producing the dress of a high-quality enlarged image
Put
110 controllers
110C program code
110M ROM (read-only memory)
910 are used for producing the side of a high-quality enlarged image
Method
912,914 steps
P n-3, P n-2, P n-1, P n, P n+1, P n+2, P n+3, reference pixel
P n+4
P n+0.25, P n+0.5, P n+0.75fourth class branch
Embodiment
Please refer to Figure 1A, Figure 1A is used for producing a high-quality according to the one of the present invention one first embodiment to amplify (Up-scaled) image I uSthe schematic diagram of device 100.Device 100 comprises for example controller 110 of a controller, and separately comprises a ROM (read-only memory) (Read Only Memory, ROM) 110M, within wherein ROM (read-only memory) 110M is arranged at controller 110.Controller 110 is used for carrying out the operation of a program code 110C with control device 100, and ROM (read-only memory) 110M is used for store program code 110C.In actual mechanical process, ROM (read-only memory) 110M can be electronic type EPROM (Electrically Erasable Programmable ROM, EEPROM); But the present invention is not as limit.
According to the present embodiment, above-mentioned controller utilizes an original image I sin at least four pixels as high-quality enlarged image I uSin reference pixel, wherein said reference pixel is used as high-quality enlarged image I uSin one part of pixel, and be used as and produce high-quality enlarged image I uSin the reference of another part pixel.In addition, above-mentioned controller is according to adjusting this part of described linear distribution value corresponding to the pixel value of at least three reference pixels at least a portion and the described reference pixel of foundation of three linear distribution values of three quarterns (Quarter) point between this two neighbor of calculated for pixel values of two neighbors in described reference pixel, and produces according to this high-quality enlarged image I uSin at least one pixel.
Within the ROM (read-only memory) 110M that note that the present embodiment is arranged at controller 110.This is not limitation of the present invention just for illustrative purposes.Change example according to one of the present embodiment, ROM (read-only memory) 110M is arranged at outside controller 110.In response to the variation on framework, label 100 is 100 ' by replacement in this variation example, wherein installs 100 ' and comprises controller 110 and ROM (read-only memory) 110M.
Fig. 2 is used for producing high-quality enlarged image example high-quality enlarged image I described above according to the one of one embodiment of the invention uSthe process flow diagram of method 910.The method can be applicable to any one in the device 100 ' shown in the device 100 shown in Figure 1A and Figure 1B, especially above-mentioned controller (for example: the controller 110 of executive routine code 110C).In addition, the method can be by utilizing any one in the device 100 ' shown in the device 100 shown in Figure 1A and Figure 1B to implement, especially by utilizing above-mentioned controller to implement.The method is described as follows:
Step 912: above-mentioned controller utilizes original image example original image I described above sin at least four pixels (for example: pixel P n-1, P n, P n+1, and P n+2) as high-quality enlarged image I uSin reference pixel, wherein said reference pixel is used as high-quality enlarged image I uSin one part of pixel, and be used as and produce high-quality enlarged image I uSin the reference of another part pixel.In the present embodiment, these four Pixel arrangements, on same straight line, are especially arranged in the pixel P on this straight line n-1, P n, P n+1, and P n+2.According to a special case of the present embodiment, these four pixels are original image I sin horizontal continuous four pixels.According to another special case of the present embodiment, these four pixels are original image I scontinuous four pixels of middle homeotropic alignment.According to another special case of the present embodiment, this straight line needs not to be horizontal line or perpendicular line.
Step 914: above-mentioned controller according between this two neighbor of calculated for pixel values of two neighbors in described reference pixel for example, corresponding at least a portion (: part or all of these three linear distribution values) of three linear distribution values of three fourth class branches and adjust this part of described linear distribution value according to the pixel value of at least three reference pixels in described reference pixel, and produce according to this high-quality enlarged image I uSin at least one pixel.Especially, this two neighbor is two pixels in the middle of being positioned in the middle of these four pixels, for example pixel P n-1, P n, P n+1, and P n+2in the middle of two pixel P in the middle of being positioned at nwith P n+1.For example, in the situation that this straight line is horizontal line or perpendicular line, described linear distribution value can be the linear interpolation of the pixel value based on this two neighbor.In addition, in the situation that this straight line is not horizontal line or perpendicular line, described linear distribution value can be bilinearity (Bilinear) value of the pixel value based on this two neighbor; So, this controller can for example, carry out bilinearity calculating at least a portion (: part or all of these three fourth class branches) of these three fourth class branches according to the pixel value of this two neighbor.
According to the present embodiment, be pixel P at this two neighbor nwith P n+1situation under, three above-mentioned fourth class branches can be described as fourth class branch P n+0.25, P n+0.5, and P n+0.75.This controller (for example: the controller 110 of executive routine code 110C) can utilize this partial linear Distribution Value after adjustment pixel value as at least one pixel described in step 914, wherein fourth class branch P n+0.25, P n+0.5, and/or P n+0.75can be high-quality enlarged image I uSin pixel.Especially, this part of described linear distribution value comprises the whole of described linear distribution value, and fourth class branch P n+0.25, P n+0.5, and P n+0.75be high-quality enlarged image I uSin pixel.So, this controller can utilize whole linear distribution values after adjustment pixel value as the corresponding pixel in this high-quality enlarged image.This is not limitation of the present invention just for illustrative purposes.Change example according to one of the present embodiment, this controller carries out the pixel value of interpolation calculating with at least one pixel described in generation step 914, wherein fourth class branch P according to this partial linear Distribution Value after adjusting n+0.25, P n+0.5, and P n+0.75not high-quality enlarged image I uSin pixel.
Fig. 3 to Fig. 6 is the implementation detail of the method 910 shown in Fig. 2 in different embodiment, the wherein transverse axis in the first half of each figure and longitudinal axis represent pixel position and pixel value respectively, and the Lower Half of each figure illustrates reference pixel P n-1, P n, P n+1, and P n+2and two neighbor P nwith P n+1between three fourth class branch P n+0.25, P n+0.5, and P n+0.75relevant position.In these embodiment, symbol V (P n-1), V (P n), V (P n+1), with V (P n+2) be used for respectively representing reference pixel P n-1, P n, P n+1, and P n+2pixel value.In addition, for the ease of understanding, " this part of described linear distribution value " available " described linear distribution value whole " describes for example described in step 914; But the present invention is not as limit.
Please refer to Fig. 3, this controller is according to pixel value V (P n) and V (P n+1) calculate corresponding to three fourth class branch P n+0.25, P n+0.5, and P n+0.75three linear distribution values, for example on curve 310 corresponding to fourth class branch P n+0.25, P n+0.5, and P n+0.75linear distribution value V 1(P n+0.25), V 1(P n+0.5) and V 1(P n+0.75), and according to pixel value V (P n-1), V (P n), V (P n+1), with V (P n+2) at least three (for example: pixel value V (P n-1), V (P n), V (P n+1), with V (P n+2) central continuous three pixel values or whole pixel value) adjustment linear distribution value V 1(P n+0.25), V1 (P n+0.5) and V 1(P n+0.75) to produce on curve 320 corresponding to fourth class branch P n+0.25, P n+0.5, and P n+0.75value, for example numerical value V 2,1(P n+0.25), V 2,1(P n+0.5) and V 2,1(P n+0.75), and produce according to this high-quality enlarged image I uSin at least one pixel.
In the present embodiment, this controller can utilize pixel value V (P n-1), V (P n), V (P n+1), with V (P n+2) in the linear combination of at least three pixel values as adjusting linear distribution value V 1(P n+0.25), V 1(P n+0.5) and V 1(P n+0.75) time the adjustment amount that adopts respectively, for example adjustment amount D 2,1(P n+0.25), D 2,1(P n+0.5) and D 2,1(P n+0.75), it can be expressed as follows respectively:
D 2,1(P n+0.25)=V 2,1(P n+0.25)-V 1(P n+0.25);
D 2,1(P n+0.5)=V 2,1(P n+0.5)-V 1(P n+0.5); And
D 2,1(P n+0.75)=V 2,1(P n+0.75)-V 1(P n+0.75)。
Especially, this controller utilizes pixel value V (P n-1), V (P n), with V (P n+1) linear combination as adjustment amount D 2,1(P n+0.25), and utilize pixel value V (P n-1), V (P n), V (P n+1), with V (P n+2) linear combination as adjustment amount D 2,1(P n+0.5), and utilize pixel value V (P n), V (P n+1), with V (P n+2) linear combination as adjustment amount D 2,1(P n+0.75).It can be expressed as follows respectively:
D 2,1(P n+0.25)=a 0.25,n-1*V(P n-1)+a 0.25,n*V(P n)+a 0.25,n+1*V(P n+1);
D 2,1(P n+0.5)=a 0.5, n-1* V (P n-1)+a 0.5, n* V (P n)+a 0.5, n+1* V (P n+1)+a 0.5, n+2* V (P n+2); And
D 2,1(P n+0.75)=a 0.75,n*V(P n)+a 0.75,n+1*V(P n+1)+a 0.75,n+2*V(P n+2);
Wherein symbol { a 0.25, n-1, a 0.25, n, a 0.25, n+1, { a 0.5, n-1, a 0.5, n, a 0.5, n+1, a 0.5, n+2, with { a 0.75, n, a 0.75, n+1, a 0.75, n+2represent linear combination coefficient.In the present embodiment, for example, any one absolute value at least a portion of these linear combination coefficients (: part or all of these linear combination coefficients) can be 2 -mfor example 1/2,1/4,1/8 ... Deng, wherein m represents positive integer; So, this controller passes through pixel value V (P n-1), V (P n), V (P n+1) and/or V (P n+2) carry out a translation (Bit Shifting) operation and can calculate easily these linear combination.Based on the framework of above exposure, method of the present invention and relevant apparatus are in producing high-quality enlarged image I uStime, can take into account image quality and computing velocity.
According to a special case of the present embodiment, the adjustment result that this controller can utilize curve 320 to illustrate, for example numerical value V 2,1(P n+0.25), V 2,1(P n+0.5) and V 2,1(P n+0.75), as fourth class branch P n+0.25, P n+0.5, and P n+0.75on pixel value V (P n+0.25), V (P n+0.5), with V (P n+0.75).
No matter note that fourth class branch P n+0.25, P n+0.5, and/or P n+0.75whether be high-quality enlarged image I uSin pixel, this controller can be according to pixel value V (P n) and V (P n+1) and numerical value V 2,1(P n+0.25), V 2,1(P n+0.5) and V 2,1(P n+0.75) in the middle of carry out interpolative operation corresponding to two numerical value of adjacent position on this straight line, to produce the pixel value of pixel of other position.
Please refer to Fig. 4, this controller is according to pixel value V (P n) and V (P n+1) calculating linear distribution value V 1(P n+0.25), V 1(P n+0.5) and V 1(P n+0.75), and according to pixel value V (P n-1), V (P n), V (P n+1), with V (P n+2) at least three adjust linear distribution value V 1(P n+0.25), V 1(P n+0.5) and V 1(P n+0.75) to produce on curve 420 corresponding to fourth class branch P n+0.25, P n+0.5, and P n+0.75value, for example numerical value V 2,2(P n+0.25), V 2,2(P n+0.5) and V 2,2(P n+0.75), and produce according to this high-quality enlarged image I uSin at least one pixel.In the present embodiment, adjust linear distribution value V 1(P n+0.25), V 1(P n+0.5) and V 1(P n+0.75) time for example adjustment amount D of adjustment amount that adopts respectively 2,2(P n+0.25), D 2,2(P n+0.5) and D 2,2(P n+0.75) can be expressed as follows respectively:
D 2,2(P n+0.25)=V 2,2(P n+0.25)-V 1(P n+0.25);
D 2,2(P n+0.5)=V 2,2(P n+0.5)-V 1(P n+0.5); And
D 2,2(P n+0.75)=V 2,2(P n+0.75)-V 1(P n+0.75)。
The controller 110 of executive routine code 110C is by a weighting parameters W 2put on the adjustment amount D of at least one expection (Expected) adjustment amount in for example embodiment illustrated in fig. 3 2,1(P n+0.25), D 2,1(P n+0.5) and D 2,1(P n+0.75), as adjustment amount D 2,2(P n+0.25), D 2,2(P n+0.5) and D 2,2(P n+0.75), it can be expressed as follows respectively:
D 2,2(P n+0.25)=W 2*D 2,1(P n+0.25);
D 2,2(P n+0.5)=W 2* D 2,1(P n+0.5); And
D 2,2(P n+0.75)=W 2*D 2,1(P n+0.75)。
For example: Fig. 4 illustrates W 2=0.75 situation.
According to a special case of the present embodiment, the adjustment result that this controller can utilize curve 420 to illustrate, for example numerical value V 2,2(P n+0.25), V 2,2(P n+0.5) and V 2,2(P n+0.75), as fourth class branch P n+0.25, P n+0.5, and P n+0.75on pixel value V (P n+0.25), V (P n+0.5), with V (P n+0.75).
No matter note that fourth class branch P n+0.25, P n+0.5, and/or P n+0.75whether be high-quality enlarged image I uSin pixel, this controller can be according to pixel value V (P n) and V (P n+1) and numerical value V 2,2(P n+0.25), V 2,2(P n+0.5) and V 2,2(P n+0.75) in the middle of carry out interpolative operation corresponding to two numerical value of adjacent position on this straight line, to produce the pixel value of pixel of other position.
Please refer to Fig. 5, this controller is according to pixel value V (P n) and V (P n+1) calculating linear distribution value V 1(P n+0.25), V 1(P n+0.5) and V 1(P n+0.75), and according to pixel value V (P n-1), V (P n), V (P n+1), with V (P n+2) at least three adjust linear distribution value V 1(P n+0.25), V 1(P n+0.5) and V 1(P n+0.75) to produce on curve 520 corresponding to fourth class branch P n+0.25, P n+0.5, and P n+0.75value, for example numerical value V 2,3(P n+0.25), V 2,3(P n+0.5) and V 2,3(P n+0.75), and produce according to this high-quality enlarged image I uSin at least one pixel.In the present embodiment, adjust linear distribution value V 1(P n+0.25), V 1(P n+0.5) and V 1(P n+0.75) time for example adjustment amount D of adjustment amount that adopts respectively 2,3(P n+0.25), D 2,3(P n+0.5) and D 2,3(P n+0.75) can be expressed as follows respectively:
D 2,3(P n+0.25)=V 2,3(P n+0.25)-V 1(P n+0.25);
D 2,3(P n+0.5)=V 2,3(P n+0.5)-V 1(P n+0.5); And
D 2,3(P n+0.75)=V 2,3(P n+0.75)-V 1(P n+0.75)。
This part of the described linear distribution value of foundation by least one corresponding expection adjustment amount (for example: the adjustment amount D in embodiment illustrated in fig. 3 2,1(P n+0.25), D 2,1(P n+0.5) and/or D 2,1(P n+0.75)) at least one expection of adjusting gained adjusts result and whether fall at least one preset range, whether the controller 110 of executive routine code 110C determines by for example weighting parameters W of at least one weighting parameters 3apply this at least one corresponding expection adjustment amount, as at least one adjustment amount adopting in the time adjusting this part of described linear distribution value.Especially, adjust result fall into above-mentioned at least one preset range in above-mentioned at least one expection, the controller 110 of executive routine code 110C is by for example weighting parameters W of above-mentioned at least one weighting parameters 3put on this at least one corresponding expection adjustment amount, as this at least one adjustment amount.For example: given linear distribution value V 1(P n+0.25), V 1(P n+0.5) and V 1(P n+0.75) by corresponding expection adjustment amount D 2,1(P n+0.25), D 2,1(P n+0.5) and D 2,1(P n+0.75) adjust gained expection adjust result be respectively numerical value V 2,1(P n+0.25), V 2,1(P n+0.5) and V 2,1(P n+0.75), in the situation of [101,255] between this preset range Representative Region, due to numerical value V 2,1(P n+0.25) and V 2,1(P n+0.5) fall into this preset range, therefore controller 110 is by weighting parameters W 3put on respectively expection adjustment amount D 2,1(P n+0.25) and D 2,1(P n+0.5), as adjustment amount D 2,3(P n+0.25) and D 2,3(P n+0.5).In addition, due to numerical value V 2,1(P n+0.75) do not fall into this preset range, therefore controller 110 is not by weighting parameters W 3put on expection adjustment amount D 2,1(P n+0.75).So, the adjustment amount D in above-mentioned situation in the present embodiment 2,3(P n+0.25), D 2,3(P n+0.5) and D 2,3(P n+0.75) can be expressed as follows respectively:
D 2,3(P n+0.25)=W 3*D 2,1(P n+0.25);
D 2,3(P n+0.5)=W 3* D 2,1(P n+0.5); And
D 2,3(P n+0.75)=D 2,1(P n+0.75)。
For example: Fig. 5 illustrates W 3=0.5 situation.
According to a special case of the present embodiment, the adjustment result that this controller can utilize curve 520 to illustrate, for example numerical value V 2,3(P n+0.25), V 2,3(P n+0.5) and V 2,3(P n+0.75), as fourth class branch P n+0.25, P n+0.5, and P n+0.75on pixel value V (P n+0.25), V (P n+0.5), with V (P n+075).
No matter note that fourth class branch P n+0.25, P n+0.5, and/or P n+0.75whether be high-quality enlarged image I uSin pixel, this controller can be according to pixel value V (P n) and V (P n+1) and numerical value V 2,3(P n+0.25), V 2,3(P n+0.5) and V 2,3(P n+0.75) in the middle of carry out interpolative operation corresponding to two numerical value of adjacent position on this straight line, to produce the pixel value of pixel of other position.
Please refer to Fig. 6, this controller is according to pixel value V (P n) and V (P n+1) calculating linear distribution value V 1(P n+0.25), V 1(P n+0.5) and V 1(P n+0.75), and according to pixel value V (P n-1), V (P n), V (P n+1), with V (P n+2) at least three adjust linear distribution value V 1(P n+0.25), V 1(P n+0.5) and V 1(P n+0.75) to produce on curve 620 corresponding to fourth class branch P n+0.25, P n+0.5, and P n+0.75value, for example numerical value V 2,4(P n+0.25), V 2,4(P n+0.5) and V 2,4(P n+0.75), and produce according to this high-quality enlarged image I uSin at least one pixel.In the present embodiment, adjust linear distribution value V 1(P n+0.25), V 1(P n+0.5) and V 1(P n+0.75) time for example adjustment amount D of adjustment amount that adopts respectively 2,4(P n+0.25), D 2,4(P n+0.5) and D 2,4(P n+0.75) can be expressed as follows respectively:
D 2,4(P n+0.25)=V 2,4(P n+0.25)-V 1(P n+0.25);
D 2,4(P n+0.5)=V 2,4(P n+0.5)-V 1(P n+0.5); And
D 2,4(P n+0.75)=V 2,4(P n+0.75)-V 1(P n+0.75)。
According to the present embodiment, above-mentioned at least one preset range comprises multiple preset range R 4(0), R 4(1), R 4and R (2) 4(3) (in the present embodiment respectively [0,63], [64,127] between Representative Region, [128,191], with [192,255]), and above-mentioned at least one weighting parameters comprises and corresponds respectively to preset range R 4(0), R 4(1), R 4and R (2) 4(3) multiple weighting parameters W 4(0), W 4(1), W 4and W (2) 4(3).In addition, aforesaid at least one corresponding expection adjustment amount comprises the adjustment amount D of multiple corresponding expection adjustment amounts in for example embodiment illustrated in fig. 3 2,1(P n+0.25), D 2,1(P n+0.5) and D 2,1(P n+0.75)), and aforesaid at least one expection adjustment result comprises for example numerical value V of multiple expections adjustment results 2,1(P n+0.25), V 2,1(P n+0.5) and V 2,1(P n+0.75), wherein above-mentioned at least one adjustment amount comprises three listed adjustment amount D above 2,4(P n+0.25), D 2,4(P n+0.5) and D 2,4(P n+0.75).In the present embodiment, a particular desired of adjusting in result according to described expection is adjusted for example numerical value V of result 2,1(P n+X) whether (X=0.25,0.5 or 0.75) fall into a specific preset range R 4(Y) (Y=0,1,2 or 3), whether the controller 110 of executive routine code 110C determines by a particular weights parameter W 4(Y) put on a particular desired adjustment amount D 2,1(P n+X), as corresponding to particular desired adjustment amount D 2,1(P n+X) a specific adjusted amount D 2,4(P n+X), wherein particular weights parameter W 4(Y) corresponding to specific preset range R 4(Y), and this particular desired (for example: numerical value V adjust result 2,1(P n+X)) corresponding to particular desired adjustment amount D 2,1(P n+X).Especially, adjust for example numerical value V of result in this particular desired 2,1(P n+X) fall into specific preset range R 4(Y), in situation, the controller 110 of executive routine code 110C is by particular weights parameter W 4(Y) put on particular desired adjustment amount D 2,1(P n+X), as specific adjusted amount D 2,4(P n+X).
For example: Fig. 6 illustrates W 4(0)=0.25, W 4(1)=0.5 and W 4(2)=0.75 situation, wherein in the present embodiment, W 4(3)=1.
According to a special case of the present embodiment, the adjustment result that this controller can utilize curve 620 to illustrate, for example numerical value V 2,4(P n+0.25), V 2,4(P n+0.5) and V 2,4(P n+0.75), as fourth class branch P n+0.25, P n+0.5, and P n+0.75on pixel value V (P n+0.25), V (P n+0.5), with V (P n+0.75).
No matter note that fourth class branch P n+0.25, P n+0.5, and/or P n+0.75whether be high-quality enlarged image I uSin pixel, this controller can be according to pixel value V (P n) and V (P n+1) and numerical value V 2,4(P n+0.25), V 2,4(P n+0.5) and V 2,4(P n+0.75) in the middle of carry out interpolative operation corresponding to two numerical value of adjacent position on this straight line, to produce the pixel value of pixel of other position.
One of benefit of the present invention is, based on above each embodiment/change routine disclosed framework, method of the present invention and relevant apparatus can solve the problem of correlation technique in the situation that not having side effects.Compared to correlation technique, method of the present invention and relevant apparatus, in the time producing high-quality enlarged image, can be taken into account image quality and computing velocity.
The foregoing is only the preferred embodiments of the present invention, all equalizations of doing according to the claims in the present invention change and modify, and all should belong to covering scope of the present invention.

Claims (8)

1. be used for producing a method for a high-quality enlarged image, the feature of the method is to include:
Utilize at least four pixels in an original image as the reference pixel in this high-quality enlarged image, wherein said reference pixel is used as the one part of pixel in this high-quality enlarged image, and is used as the reference that produces another part pixel in this high-quality enlarged image;
According between this two neighbor of calculated for pixel values of two neighbors in described reference pixel corresponding to three linear distribution values of three fourth class branches and adjust described linear distribution value according to the pixel value of at least three reference pixels in described reference pixel, and produce according to this at least one pixel in this high-quality enlarged image;
Adjusted results by multiple expections of corresponding expection adjustment amount adjustment gained respectively according to described linear distribution value and whether fall into respectively multiple preset ranges, determine whether multiple weighting parameters are put on respectively to described corresponding expection adjustment amount, the adjustment amount adopting during as the described linear distribution value of adjustment; And
Adjust result for each expection, adjust result in this expection and fall into this corresponding preset range, a weighting parameters is put on to corresponding expection adjustment amount;
The method separately includes:
Whether fall into a specific preset range of described preset range according to the particular desired adjustment result in described expection adjustment result, determine whether the particular weights parameter in described weighting parameters is put on to the particular desired adjustment amount in described corresponding expection adjustment amount, as the specific adjusted amount corresponding to this particular desired adjustment amount in described adjustment amount, it is characterized in that, this particular weights parameter is corresponding to this specific preset range, and this particular desired is adjusted result corresponding to this particular desired adjustment amount; And
In the situation that this particular desired adjustment result falls into this specific preset range, this particular weights parameter is put on to this particular desired adjustment amount, as this specific adjusted amount.
2. method claimed in claim 1, is characterized in that, these four Pixel arrangements are on same straight line.
3. method claimed in claim 1, is characterized in that, this part of adjusting described linear distribution value according to the pixel value of at least three reference pixels in described reference pixel comprises:
The adjustment amount that utilizes the linear combination of the pixel value of these at least three reference pixels to adopt respectively when adjusting this part of described linear distribution value.
4. method claimed in claim 1, is characterized in that, described linear distribution value is the bilinearity value of the pixel value based on this two neighbor.
5. method claimed in claim 1, is characterized in that, this at least one pixel packets producing according to this in this high-quality enlarged image contains:
This partial linear Distribution Value after utilization is adjusted is as the pixel value of this at least one pixel.
6. method claimed in claim 5, is characterized in that, this part of described linear distribution value comprises the whole of described linear distribution value; And this at least one pixel packets producing according to this in this high-quality enlarged image contains:
Whole linear distribution values after utilization is adjusted are as the pixel value of the corresponding pixel in this high-quality enlarged image.
7. method claimed in claim 1, is characterized in that, this at least one pixel packets producing according to this in this high-quality enlarged image contains:
Carry out interpolation calculating to produce the pixel value of this at least one pixel according to this partial linear Distribution Value after adjusting.
8. method claimed in claim 1, is characterized in that, separately includes:
One weighting parameters is put on at least one expection adjustment amount, at least one adjustment amount adopting when adjusting this part of described linear distribution value.
CN201110118525.1A 2010-09-13 2011-05-09 Method and relevant device for generating high-quality enlarged image Active CN102402781B (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US12/881,161 2010-09-13
US12/881,161 US8472755B2 (en) 2010-05-07 2010-09-13 Method for generating a high quality up-scaled image, and associated device

Publications (2)

Publication Number Publication Date
CN102402781A CN102402781A (en) 2012-04-04
CN102402781B true CN102402781B (en) 2014-05-14

Family

ID=45895527

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110118525.1A Active CN102402781B (en) 2010-09-13 2011-05-09 Method and relevant device for generating high-quality enlarged image

Country Status (1)

Country Link
CN (1) CN102402781B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FR3001318A1 (en) * 2013-01-24 2014-07-25 Thomson Licensing INTERPOLATION METHOD AND CORRESPONDING DEVICE

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1537384A (en) * 2001-09-17 2004-10-13 ��˹��ŵ�� Method for sub-pixel valve interpolation

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1537384A (en) * 2001-09-17 2004-10-13 ��˹��ŵ�� Method for sub-pixel valve interpolation

Also Published As

Publication number Publication date
CN102402781A (en) 2012-04-04

Similar Documents

Publication Publication Date Title
JP5071721B2 (en) Image processing apparatus and method, and program
WO2009148157A1 (en) Graphic information processing device for forming aesthetic curves, graphic information processing method, and graphic information processing program
Sieger et al. RBF morphing techniques for simulation-based design optimization
CN101794454A (en) Oil painting stylizing method based on image
CN104574266B (en) Morphing based on contour line
JP2009271135A5 (en)
JP2011146888A (en) Apparatus and method for image processing
CN102402781B (en) Method and relevant device for generating high-quality enlarged image
CN107610062A (en) The quick identification and bearing calibration of piecture geometry fault based on BP neural network
CN104899629A (en) Two-dimensional code image generation method based on radial basis function
JP2009017396A5 (en)
US20090040218A1 (en) Fitting curves from one model to another
US8472755B2 (en) Method for generating a high quality up-scaled image, and associated device
US20130315500A1 (en) Image processing apparatus, image processing method, and program
CN105139345B (en) A kind of automatic search method of high-quality non-standard gamma curve
CN111311724B (en) Shadow adding method, medium, device and apparatus for 3D characters
TW201249213A (en) Code predicting method for multimedia image texture
JP7103238B2 (en) Plant control controller
KR102007738B1 (en) Method and apparatus for content-based image resizing
CN102663184B (en) Rasterization method of algebraic B-spline curve based on regularization conditions
CN106548448A (en) Image processing method and device
CN113822937A (en) Image correction method, device, equipment and storage medium
JP2014048714A (en) Image processing apparatus and image processing method
Wu et al. Quick Response Code Binary Research Based on Basic Image Processing
CN101894360B (en) Multi-CPU garbage mask rendering method

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