CN102110431B - Method and device for zooming digital images - Google Patents

Method and device for zooming digital images Download PDF

Info

Publication number
CN102110431B
CN102110431B CN200910200588.4A CN200910200588A CN102110431B CN 102110431 B CN102110431 B CN 102110431B CN 200910200588 A CN200910200588 A CN 200910200588A CN 102110431 B CN102110431 B CN 102110431B
Authority
CN
China
Prior art keywords
numerical value
zoom
pixel
zoom factor
longitudinally
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN200910200588.4A
Other languages
Chinese (zh)
Other versions
CN102110431A (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.)
Fujitsu Electronics Shanghai Co Ltd
Original Assignee
Fujitsu Electronics Shanghai 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 Fujitsu Electronics Shanghai Co Ltd filed Critical Fujitsu Electronics Shanghai Co Ltd
Priority to CN200910200588.4A priority Critical patent/CN102110431B/en
Publication of CN102110431A publication Critical patent/CN102110431A/en
Application granted granted Critical
Publication of CN102110431B publication Critical patent/CN102110431B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Image Processing (AREA)

Abstract

The invention discloses a method and device for zooming digital images, wherein the interpolation operation comprises the following steps: after seeking and correcting a vertical zooming coefficient value in an interpolation function table, using the value for carrying out vertical zooming operation on pixels; and after seeking and correcting a transverse zooming coefficient value in the interpolation function table, using the value for carrying out transverse zooming operation on the pixels, wherein the correcting step comprises the following steps: judging whether the zooming coefficient value is smaller than zero or not; if so, multiplying the zooming coefficient value by a coefficient which is greater than or equal to 0 and smaller than or equal to 1, and using the multiplied zooming coefficient value as the corrected zooming coefficient value; and if not, directly using the zooming coefficient value as the corrected zooming coefficient value. By utilizing the method, only an interpolation function which is corresponding to a seeking table is required so as to intuitively change the zooming effect in real time by adjusting via a single register under the conditions with different zooming ratios, thus the memory space of the seeking table is saved, and the debugging work of a chip is facilitated.

Description

The Zoom method of digital picture and device
Technical field
The invention belongs to digital video signal processing field, specifically, relate to a kind of Zoom method and device of digital picture.
Background technology
The convergent-divergent of digital picture is the function that current all Digital Video Processing chips all must be supported.First, digital video is entering high definition after the epoch, display device can be up to 1920 * 1080 as the resolution of liquid crystal display, and this just requires Digital Video Processing chip can well traditional SD video source (as NTSC720 * 480 and PAL720 * 576) signal be amplified to suitable size to show in corresponding high-resolution display device.On the other hand, the low side that some are popular or portable display device may only have very low resolution, as 640 * 480 etc., require again the high definition video signal of input to dwindle accordingly.These ubiquitous application all require Digital Video Processing chip that excellent image zooming function can be provided.
When image is exaggerated, the high-frequency information of image can constantly run off along with the increase of enlargement factor, we have such experience, i.e. image amplification can allow image blur, so a main problem is the sharpness that how to keep image when image amplifies as far as possible.And on the other hand, when image dwindles, some extra high-frequency informations can be introduced in result images, thereby cause result images to present graininess and the level and smooth sense of image is reduced, so we face a problem that how to keep Image Smoothness again when image dwindles.This awkward situation impels current Digital Video Processing chip conventionally all to need to prepare two covers or the different image sealer parameter of more covers completes the different tasks that zooms in or out.Give an example, cubic polynomial method is a kind of more common image-scaling method, that is to say that the pixel of the result images of convergent-divergent obtains by utilize cubic polynomial function to carry out interpolation to original image pixels.Choose different cubic polynomial functions and can obtain different zooming effect, the image that some cubic polynomial functions produce is smoother but also fuzzyyer, and what have is more clear.From analysis above, can find out that we can choose the level and smooth fuzzy cubic polynomial function of result when image dwindles, and in the situation that image amplifies, select result cubic polynomial function more clearly.If it is more discrete that image sealer situation to be processed distributes, that is to say both possibly image had been contracted very little, what possibly image is put is very large, and we can need a lot of different cubic polynomial functions of preparation to process different situations so conventionally.
Above-described method is the conventional method of image sealer in current Digital Video Processing chip.It has following shortcoming at least: 1) the required storage space of chip is larger.This is that more interpolating functions are the more look-up tables of correspondence just because the interpolating function that the image sealer in common Digital Video Processing chip is used is to store in the mode of look-up table, also just needs more storage space.2) chip inconvenient debugging.Because the resolution distribution of current display device is disperseed very much, from very little 320 * 240 to full HD 1920 * 1080, have, and the size of input picture also varies, so the different interpolating function that Digital Video Processing chip will be prepared can be a lot, when debugging chip, when scaling changes, just different look-up tables need to be loaded so, the variation of scaled results can not be accomplished to observe intuitively.3) interpolating function is not easy to determine.Interpolating function due to needs can be a lot of equally, determine that these interpolating functions just need the designer of chip under different scalings, to attempt a lot of different functions, and this work is not only time-consuming but also require great effort.In order to improve the design efficiency of image sealer and the service efficiency of chip, desirable image sealer should accomplish only to use a set of look-up table (a corresponding single interpolating function), and can be by regulating single register to reach easily in real time regulating effect intuitively under different scalings.
We first introduce traditional image sealer.Fig. 1 has provided the original image that a width is of a size of N * M, i.e. horizontal every row N pixel, and longitudinally M is capable altogether, and original pixels represents by "●".When carrying out image scaling, if target image is of a size of N ' and M ', we first define horizontal convergent-divergent step-length
step_x=(N-1)/(N’-1)
And longitudinal convergent-divergent step-length
step_y=(M-1)/(M’-1)
From the upper left corner p (1,1) of image, start from left to right by step_x, to move again, every movement once produces a new pixel " ■ ".When moving to the rightmost pixel of image, rebound image Far Left downwards mobile step_y again, then repeat from left to right by the movement of step_x.Like this until arrive the original pixels p (M, N) of last cell.If be not difficult, check out that step_x and step_y are by calculating above, the such movement starting from p (1,1) so necessarily can be accurate to and reaches p (M, N), and produces the individual new pixel of common N ' * M ' " ■ ".The new pixel " ■ " of this N ' * M ' has just formed the result images of convergent-divergent.
Because input picture is a line to be followed a line and enter in turn chip, so realize image sealer in integrated circuit, need to use row cache, namely in order to the buffer of store video images data line.If the computing of image scaling needs multirow view data, so just need the row cache of many to preserve these data.Consider that current conventional image sealer all used 4 * 4 original image pixels to carry out interpolation arithmetic, that is to say that each new pixel " ■ " is to be produced by its 4 * 4=16 original image pixels interpolation around, our description is also as example, so, we just need 4 row view data to carry out the interpolation arithmetic of convergent-divergent, that is to say first by the 1st of image, 2,3,4 row data are stored in 4 row caches, and from left to right carry out in turn the corresponding new pixel " ■ " of interpolation calculation generation.After the new pixel that the 1st, 2,3,4 row data of original image can produce is all calculated, then start to utilize the 2nd, 3,4,5 row operations of advancing.The rest may be inferred, until complete the generation of all new pixels " ■ ".In actual chip design, due to the needs that view data pre-reads, the number of row cache can be more than 4.Here, it has been well-known technology that row cache is used in rotation in image sealer design, so we are no longer explained in detail.Below we to introduce in a traditional scaler new pixel " ■ " be how from its 4 * 4=16 original image pixels interpolation generation around.
Before we to have introduced position that new pixel " ■ " produces be by step_x and step_y, from the upper left corner of original image, to move to the lower right corner to determine.As shown in Figure 2, for some new pixel A, suppose that the pixel of A 4 * 4=16 original image is around called as a (1), a (2) ..., a (16), and they to belong to the i~i+3 of original image capable.New pixel A is offset_x apart from the lateral separation of its top left corner pixel a (6), and fore-and-aft distance is offset_y.The original image laterally and longitudinally distance between neighbor all counts 1.0, and we have 0≤offset_x < 1.0 and 0≤offset_y < 1.0 so.The core of the convergent-divergent computing of image utilizes a (1)~a (16) to come interpolation to produce the value of new pixel A exactly.In addition, for the ease of the realization of integrated circuit, consider that a pixel in row cache from left to right enters in turn, we can carry out decoupling zero by horizontal and vertical calculating, first calculate longitudinally the intermediate result of 4 row, then carry out the horizontal A value subsequently that calculates.Suppose that interpolating function is F (t), we have so:
col1=[F(1+offset_y)*a(1)+F(offset_y)*a(5)+F(1-offset_y)*a(9)+F(2-offset_y)*a(13)]/SUM_COL
col2=[F(1+offset_y)*a(2)+F(offset_y)*a(6)+F(1-offset_y)*a(10)+F(2-offset_y)*a(14)]/SUM_COL
col3=[F(1+offset_y)*a(3)+F(offset_y)*a(7)+F(1-offset_y)*a(11)+F(2-offset_y)*a(15)]/SUM_COL
col4=[F(1+offset_y)*a(4)+F(offset_y)*a(8)+F(1-offset_y)*a(12)+F(2-offset_y)*a(16)]/SUM_COL
SUM_COL=F (1+offset_y)+F (offset_)+F (1-offset_y)+F (2-offset_y) wherein
With
A=[col1*F(1+offset_x)+col2*F(offset_x)+col3*F(1-offset_x)+col4*F(2-offset_x)]/SUM_ROW
SUM_ROW=F (1+offset_x)+F (offset_x)+F (1-offset_x)+F (2-offset_x) wherein
Should be noted that a bit, when the boundary vicinity of the position of new pixel A in original image in image, we likely cannot find its 4 * 4=16 original pixels around.In this case, user can supply 16 points by repeating boundary pixel, also can simply will directly give new pixel A from the nearest original pixels of A.The processing of these border condition is well-known technology in image sealer design, at this, does not do detailed discussion.According to user's hobby, interpolating function F (t) can be different function, as conventional CR splines, Mitchell function etc.User also can produce interpolating function voluntarily based on experience.Conventionally interpolating function F (t) has the curve in similar Fig. 3.
In actual integrated circuit is realized, the numerical value of F (t) is precalculated and exists in look-up table conventionally.That is to say, the F in computing formula above (offset_x), the numerical value of F (1-offset_y) etc. is from look-up table, must arrive to carry out the calculating of new pixel A.Different interpolating function F (t) can provide different image scaling results, and what have is fuzzyyer, and have more clear.The process that produces corresponding look-up table from interpolating function is well-known technology in image sealer design Digital Video Processing chip, at this, does not do detailed discussion.By us, start introduction, for the effect that image sealer is obtained, user need to prepare two or more look-up tables conventionally, and corresponding different interpolating function F (t) processes the situation of different scalings.
Fig. 4 has provided the flow process of traditional images convergent-divergent, the reading of view data in row cache device wherein, look-up table read and each computing unit is all well-known technology in the design of Digital Video Processing chip, so no further details to be given herein.
Introduced the implementation method of common image sealer above.This method has many shortcomings in Video processing, as prepared the look-up table of different interpolating function F (t), deals with different scalings, expends the resource of chip.In the debugging of chip, due to the different look-up table of need to reloading of the scaling for different, also hindered the direct feel of commissioning staff to image scaling effect.
Summary of the invention
The object of the present invention is to provide a kind of Zoom method and device of digital picture, to solve, the required storage space of the chip of existing digital image scaling device is large, chip inconvenient debugging and interpolating function are not easy definite technical matters.
In order to achieve the above object, technical scheme of the present invention is as follows:
A Zoom method for digital picture, comprises the steps: video image line of input buffer; Pixel in the original image of the N * M storing in row cache device is carried out to interpolation arithmetic and obtain new pixel, until this original image is scaled to the target image of N ' * M '; Described interpolation arithmetic comprises: in interpolating function table, search zoom factor numerical value longitudinally; After zoom factor numerical value is revised longitudinally to this, utilize the revised numerical value of zoom factor longitudinally to carry out zoom operations longitudinally to pixel; In interpolating function table, search horizontal zoom factor numerical value; After this horizontal zoom factor numerical value is revised, utilize revised horizontal zoom factor numerical value to carry out horizontal zoom operations to pixel; Correction step is wherein: judge whether described zoom factor numerical value is less than zero; If so, make this zoom factor numerical value be multiplied by one and be more than or equal to 0 and be less than or equal to after 1 coefficient as revised zoom factor numerical value; Otherwise directly using this zoom factor numerical value as revised zoom factor numerical value.
A device for zooming for digital picture, utilizes H * H the surrounding pixel based on new pixel to come interpolation to produce new pixel; This device for zooming comprises: row cache device, wherein store the original image of N * M; Interpolating function look-up table, H horizontal zoom factor numerical value of output and the individual zoom factor numerical value longitudinally of H; Interpolating function amending unit, to described output H horizontal zoom factor numerical value and H longitudinally zoom factor numerical value revise: when zoom factor numerical value is less than 0, makes this zoom factor numerical value be multiplied by one and be more than or equal to 0 and be less than or equal to after 1 correction factor as revised zoom factor numerical value; Otherwise directly using this zoom factor numerical value as revised zoom factor numerical value; H computing unit that pixel is carried out to horizontal zoom operations, each computing unit utilizes revised horizontal zoom factor numerical value to carry out horizontal zoom operations to being positioned at the same pixel listing in H * H surrounding pixel; Pixel is carried out to the computing unit of longitudinal zoom operations, this computing unit that pixel is carried out to longitudinal zoom operations receives the result of calculation of pixel being carried out to the computing unit of horizontal zoom operations from described H, utilizes the described revised numerical value of zoom factor longitudinally to carry out zoom operations longitudinally to H * H surrounding pixel.
The present invention has proposed a kind of new scheme realizing of traditional images scaler on framework basis, only need an interpolating function (a corresponding look-up table), just can in different zoom ratio situation, only by single register, regulate and change intuitively in real time zooming effect, both save the storage space of look-up table, facilitated again the debugging work of chip.
Accompanying drawing explanation
Fig. 1 is the schematic diagram of original image and the definition of convergent-divergent step-length;
Fig. 2 is the schematic diagram of the interpolation arithmetic in image scaling;
Fig. 3 is interpolating function figure;
Fig. 4 is traditional images convergent-divergent process flow diagram;
Fig. 5 is the image scaling process flow diagram containing interpolating function debugging functions of the present invention;
Fig. 6 is the structural representation of the interpolating function amending unit in Fig. 5;
Fig. 7 is the interpolating function schematic diagram before and after revising.
Embodiment
According to Fig. 5 to Fig. 7, provide preferred embodiment of the present invention, and be described in detail below, enable to understand better function of the present invention, feature.
Fig. 5 has provided the flow process of image scaling in the present invention.Different from the traditional process shown in Fig. 4, the present invention revises read data after reading interpolating function F (t) look-up table.Look-up table data for vertical and horizontal, add respectively an interpolating function amending unit, it is revised and to be also subject to respectively the control of an adjustable register of user, and the user shown in figure longitudinally revises register SCKX and user laterally revises register SCKY.These two registers represent respectively two numerical value between 0 to 1.0, i.e. 0≤SCKX≤1.0,0≤SCKY≤1.0.Fig. 6 has described the processing in interpolating function amending unit.
In lateral interpolation function amending unit, B1 in figure, B2, B3, B4 is exactly the F (1+offset_y) reading from interpolating function look-up table, F (offset_y), F (1-offset_y), F (2-offset_y) is exactly the SCKY in Fig. 5 and user revises register SCK.Similarly, for longitudinal interpolating function amending unit, B1 in figure, B2, B3, B4 is exactly the F (1+offset_x) reading from interpolating function look-up table, F (offset_x), F (1-offset_x), F (2-offset_x), is exactly the SCKX in Fig. 5 and user revises register SCK.SCKX and SCKY are respectively in order to adjust the image scaling sharpness of vertical and horizontal, and larger SCK value correspondence is result more clearly.That is to say, when SCKX=0, the result of longitudinal image scaling is the fuzzyyest, and when SCKX=1, the result of longitudinal image scaling is the most clear; When SCKY=0, the result of landscape images convergent-divergent is the fuzzyyest, and when SCKY=1, the result of landscape images convergent-divergent is the most clear.In actual application, convergent-divergent processing too clearly can cause the unsmooth of too obvious noise and image, so user should be adjusted to suitable numerical value by SCKX and SCKY register when practical application.
Can find out, by SCKX and SCKY, user can independently regulate longitudinal and horizontal image scaling sharpness.Like this, user only need to choose the interpolating function of a satisfaction when designed image scaler, produces a corresponding look-up table.In different scaling situations, user no longer needs the interpolating function look-up table of reloading different, and only need to regulate SCKX and SCKY just passable.In addition, if we merge SCKX and SCKY becomes a register, so just can accomplish to have regulated the sharpness of image scaling result by single register.But in practice, because the scaling of vertical and horizontal is not quite similar, so retain two registers, can there is larger adjusting degree of freedom.
As above our introduction is all based on utilizing 4 * 4=16 surrounding pixel to come interpolation to produce new pixel.If user wishes to utilize more image information to carry out interpolation arithmetic, as use each new location of pixels 6 * 6=36 original image pixels around, the present invention does not impose any restrictions this.In this case, the numerical value that in Fig. 5, computing unit reads at every turn from interpolating function look-up table will be 6 rather than 4.For interpolating function amending unit, only those 4 numerical value of 4 pixels in the middle of corresponding in these 6 numerical value are revised, this is because if 6 pixels are all similarly revised, near object boundary to the correction meeting of two pixels on ragged edge in image, produce ghost image, and the more clear this ghost image of scaled results is also more obvious.In other words, even if user selects more than 4 * 4=16 original image pixels, come interpolation to produce new pixel A, interpolating function amending unit is also only revised the corresponding interpolation coefficient of a (1)~a (16) pixel as shown in Figure 2.
As shown in Figure 7, the interpolating function F (t) that solid line is selected for user, the present invention does not have any special requirement to F (t), and user can determine by the hobby of oneself.Shown in Fig. 5, user obtains lateral interpolation coefficient F (1+offset_y) from look-up table, F (offset_y), F (1-offset_y), F (2-offset_y), as B1, B2, B3, B4 inputs to the interpolating function amending unit in Fig. 6.Like this, every minus coefficient all can be multiplied by SCKY.Because we have stipulated that SCKY is the number between 0 to 1, so, minus coefficient can be more close zero after revising, and this is equivalent to the original F (t) of solid line representative in upper figure has been changed over to revised F (t) corresponding to dotted line, and its minus part amplitude has narrowed.At SCKY, equal at 1 o'clock, revised F (t) is identical with original F (t), is equivalent to not do and revises.When SCKY=0, the minus part of F (t) has all been configured to zero.When SCKY is set, the corresponding more horizontal scaled results of larger (the closer to 1) SCKY.For longitudinal interpolation coefficient F (1+offset_x), F (offset_x), F (1-offset_x), F (2-offset_x) and longitudinally correction factor SCKX, its mode of operation is similar.
That is to say, first carry out the horizontal intermediate result that calculates 4 row, then calculate longitudinally A value subsequently.By reference to the accompanying drawings, suppose that interpolating function is F (t), so:
Step 1: zoom factor numerical value F (1+offset_y), F (offset_y), F (1-offset_y) and F (2-offset_y) are transformed into the revised numerical value of zoom factor longitudinally F (1+offset_y) ', F (offset_y) ', F (1-offset_y) ' and F (2-offset_y) ' longitudinally:
1) first judge whether zoom factor numerical value F (1+offset_y), F (offset_y), F (1-offset_y) and F (2-offset_y) are less than 0 longitudinally;
2) if four exist in zoom factor numerical value longitudinally and to be less than 0, the corresponding revised numerical value of zoom factor longitudinally equals original scale coefficient numerical value and is multiplied by a longitudinal correction factor SCKY (0≤SCKY≤1.0), otherwise the revised numerical value of zoom factor longitudinally equals original scale coefficient numerical value, if four only have F (1+offset_y), F (offset_y) to be less than 0 in zoom factor numerical value longitudinally, have
F(1+offset_y)’=F(1+offset_y)*SCKY;
F(offset_y)’=F(offset_y)*SCKY;
F(1-offset_y)’=F(1-offset_y);
F(2-offset_y)’=F(2-offset_y)。
Step 2:
col1=[F(1+offset_y)’*a(1)+F(offset_y)’*a(5)+F(1-offset_y)’*a(9)+F(2-offset_y)’*a(13)]/SUM_COL
col2=[F(1+offset_y)’*a(2)+F(offset_y)’*a(6)+F(1-offset_y)’*a(10)+F(2-offset_y)’*a(14)]/SUM_COL
col3=[F(1+offset_y)’*a(3)+F(offset_y)’*a(7)+F(1-offset_y)’*a(11)+F(2-offset_y)’*a(15)]/SUM_COL
col4=[F(1+offset_y)’*a(4)+F(offset_y)’*a(8)+F(1-offset_y)’*a(12)+F(2-offset_y)’*a(16)]/SUM_COL
SUM_COL=[F (1+offset_y) '+F (offset_y) '+F (1-offset_y) '+F (2-offset_y) ' wherein]
Step 3: horizontal zoom factor numerical value F (1+offset_x), F (offset_x), F (1-offset_x) and F (2-offset_x) are transformed into revised horizontal zoom factor numerical value F (1+offset_x) ', F (offset_x) ', F (1-offset_x) ' and F (2-offset_x) ':
1) first judge whether horizontal zoom factor numerical value F (1+offset_x), F (offset_x), F (1-offset_x) and F (2-offset_x) are less than 0;
2) if exist in four horizontal zoom factor numerical value, be less than 0, corresponding revised horizontal zoom factor numerical value equals original scale coefficient numerical value and is multiplied by a horizontal correction factor SCKX (0≤SCKX≤1.0), otherwise revised horizontal zoom factor numerical value equals original scale coefficient numerical value, if only have F (1+offset_x) to be less than 0 in four horizontal zoom factor numerical value, have
F(1+offset_x)’=F(1+offset_x)*SCKX;
F(offset_x)’=F(offset_x);
F(1-offset_x)’=F(1-offset_x);
F(2-offset_x)’=F(2-offset_x)。
Step 4:
A=[col1*F(1+offset_x)’+col2*F(offset_x)’+col3*F(1-offset_x)’+col4*F(2-offset_x)’]/SUM_ROW
SUM_ROW=[F (1+offset_x) '+F (offset_x) '+F (1-offset_x) '+F (2-offset_x) ' wherein]
That is to say, correction step of the present invention is: judge whether described zoom factor numerical value is less than zero; If so, make this zoom factor numerical value be multiplied by one and be more than or equal to 0 and be less than or equal to after 1 correction factor as revised zoom factor numerical value; Otherwise directly using this zoom factor numerical value as revised zoom factor numerical value.
Before the description to preferred embodiment is provided so that any technician in this area can use or utilize the present invention.To this preferred embodiment, those skilled in the art, not departing from the basis of the principle of the invention, can make various modifications or conversion.Should be appreciated that these modifications or conversion do not depart from protection scope of the present invention.

Claims (15)

1. a Zoom method for digital picture, comprises the steps:
By video image line of input buffer;
Pixel in the original image of the N * M storing in row cache device is carried out to interpolation arithmetic and obtain new pixel, until this original image is scaled to the target image of N ' * M '; Described interpolation arithmetic comprises:
In interpolating function table, search zoom factor numerical value longitudinally;
After zoom factor numerical value is revised longitudinally to this, utilize the revised numerical value of zoom factor longitudinally to carry out zoom operations longitudinally to pixel;
In interpolating function table, search horizontal zoom factor numerical value;
After this horizontal zoom factor numerical value is revised, utilize revised horizontal zoom factor numerical value to carry out horizontal zoom operations to pixel;
Correction step is wherein: judge whether described zoom factor numerical value is less than zero; If so, make this zoom factor numerical value be multiplied by one and be more than or equal to 0 and be less than or equal to after 1 correction factor as revised zoom factor numerical value; Otherwise directly using this zoom factor numerical value as revised zoom factor numerical value.
2. the Zoom method of digital picture as claimed in claim 1, is characterized in that, the numerical value of described correction factor is determined by register by user.
3. the Zoom method of digital picture as claimed in claim 1, is characterized in that, described interpolation arithmetic is to utilize new pixel 4 * 4=16 surrounding pixel around to come interpolation to produce new pixel.
4. the Zoom method of digital picture as claimed in claim 3, is characterized in that, is positioned at same 4 pixels that list as one group in described 16 surrounding pixels, and every group is utilized respectively revised 4 horizontal zoom factor numerical value to carry out horizontal zoom operations.
5. the Zoom method of digital picture as claimed in claim 1, is characterized in that, described interpolation arithmetic is to utilize new pixel 6 * 6=36 surrounding pixel around to come interpolation to produce new pixel.
6. the Zoom method of digital picture as claimed in claim 5, it is characterized in that, in described 36 surrounding pixels, be positioned at same 6 pixels that list as one group, after the horizontal zoom factor numerical value of immediate 4 * 4=16 surrounding pixel is revised for the new pixel of correspondence, to described 36 surrounding pixels, utilize respectively horizontal revised zoom factor numerical value to carry out horizontal zoom operations around.
7. the Zoom method of digital picture as claimed in claim 6, it is characterized in that, after the numerical value of zoom factor longitudinally of immediate 4 * 4=16 surrounding pixel is revised for the new pixel of correspondence, to described 36 surrounding pixels, utilize respectively revised zoom factor numerical value longitudinally to carry out zoom operations longitudinally around.
8. the Zoom method of the digital picture as described in arbitrary claim in claim 1 to 7, is characterized in that, when described correction factor is set, larger correction factor correspondence is scaled results more clearly.
9. a device for zooming for digital picture, utilizes H * H the surrounding pixel based on new pixel to come interpolation to produce new pixel; This device for zooming comprises:
Row cache device, wherein stores the original image of N * M;
Interpolating function look-up table, H horizontal zoom factor numerical value of output and the individual zoom factor numerical value longitudinally of H;
Interpolating function amending unit, to described output H horizontal zoom factor numerical value and H longitudinally zoom factor numerical value revise: when zoom factor numerical value is less than 0, makes this zoom factor numerical value be multiplied by one and be more than or equal to 0 and be less than or equal to after 1 correction factor as revised zoom factor numerical value; Otherwise directly using this zoom factor numerical value as revised zoom factor numerical value;
H computing unit that pixel is carried out to horizontal zoom operations, each computing unit utilizes revised horizontal zoom factor numerical value to carry out horizontal zoom operations to being positioned at the same pixel listing in H * H surrounding pixel;
Pixel is carried out to the computing unit of longitudinal zoom operations, this computing unit that pixel is carried out to longitudinal zoom operations receives the result of calculation of pixel being carried out to the computing unit of horizontal zoom operations from described H, utilizes the revised numerical value of zoom factor longitudinally to carry out zoom operations longitudinally to H * H surrounding pixel.
10. the device for zooming of digital picture as claimed in claim 9, is characterized in that, this device for zooming also comprises register, for depositing the numerical value of the described correction factor of being determined by user and sending to described interpolating function amending unit.
The device for zooming of 11. digital pictures as claimed in claim 10, is characterized in that, described register comprises that user laterally revises register, for depositing the numerical value of the horizontal correction factor of being determined by user.
The device for zooming of 12. digital pictures as claimed in claim 11, is characterized in that, described register comprises that user longitudinally revises register, for depositing the numerical value of the correction factor longitudinally of being determined by user.
The device for zooming of 13. digital pictures as claimed in claim 12, it is characterized in that, described interpolating function amending unit comprises horizontal interpolating function amending unit, receives the numerical value of the horizontal correction factor of laterally revising register from H of described interpolating function look-up table horizontal zoom factor numerical value and described user.
The device for zooming of 14. digital pictures as claimed in claim 13, it is characterized in that, described interpolating function amending unit comprises interpolating function amending unit longitudinally, receives that zoom factor numerical value and described user longitudinally revise the numerical value of the correction factor longitudinally of register longitudinally from H of described interpolating function look-up table.
The device for zooming of 15. digital pictures as described in arbitrary claim in claim 9 to 14, it is characterized in that, interpolating function amending unit only to new pixel around laterally the and longitudinally zoom factor numerical value of immediate 4 * 4=16 surrounding pixel revise.
CN200910200588.4A 2009-12-23 2009-12-23 Method and device for zooming digital images Expired - Fee Related CN102110431B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200910200588.4A CN102110431B (en) 2009-12-23 2009-12-23 Method and device for zooming digital images

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200910200588.4A CN102110431B (en) 2009-12-23 2009-12-23 Method and device for zooming digital images

Publications (2)

Publication Number Publication Date
CN102110431A CN102110431A (en) 2011-06-29
CN102110431B true CN102110431B (en) 2014-08-13

Family

ID=44174566

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200910200588.4A Expired - Fee Related CN102110431B (en) 2009-12-23 2009-12-23 Method and device for zooming digital images

Country Status (1)

Country Link
CN (1) CN102110431B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102427537A (en) * 2011-10-17 2012-04-25 天津天地伟业数码科技有限公司 Video image space scale transformation system and method thereof
CN103500434B (en) * 2013-07-30 2016-09-28 华为技术有限公司 Image magnification method and device
CN105139338B (en) * 2015-07-24 2018-08-21 珠海奔图电子有限公司 The generation method and device of multidimensional lookup table, image zoom processing method and device
CN113052762A (en) * 2019-12-27 2021-06-29 西安诺瓦星云科技股份有限公司 Image scaling processing method and device and image scaling processing system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4660081A (en) * 1984-04-26 1987-04-21 U. S. Philips Corporation Video signal processing apparatus having interpolators switchable between an input and an output of a field memory
US5594676A (en) * 1994-12-22 1997-01-14 Genesis Microchip Inc. Digital image warping system
CN1684497A (en) * 2005-03-11 2005-10-19 华亚微电子(上海)有限公司 Image pantography and image pantograph device system
CN1719476A (en) * 2004-07-08 2006-01-11 北京中星微电子有限公司 Pantograph treatment system of digital picture

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4660081A (en) * 1984-04-26 1987-04-21 U. S. Philips Corporation Video signal processing apparatus having interpolators switchable between an input and an output of a field memory
US5594676A (en) * 1994-12-22 1997-01-14 Genesis Microchip Inc. Digital image warping system
CN1719476A (en) * 2004-07-08 2006-01-11 北京中星微电子有限公司 Pantograph treatment system of digital picture
CN1684497A (en) * 2005-03-11 2005-10-19 华亚微电子(上海)有限公司 Image pantography and image pantograph device system

Also Published As

Publication number Publication date
CN102110431A (en) 2011-06-29

Similar Documents

Publication Publication Date Title
CN104272344B (en) Image processing apparatus and image processing method
US8295683B2 (en) Temporal occlusion costing applied to video editing
JP4941950B1 (en) Image processing apparatus, image processing method, and image processing program
JP4157568B2 (en) Method and apparatus for increasing image resolution
US20060256134A1 (en) Method and system for determining an occlusion cost for concurrently presenting one or more images in a shared viewing region
CN102110431B (en) Method and device for zooming digital images
JP3865165B2 (en) How to enlarge / reduce image data
JP4940050B2 (en) Image processing method, program, and recording medium for correcting distortion aberration for image data
CN110223232A (en) A kind of video image amplifying method based on bilinear interpolation algorithm
WO2017122810A1 (en) Image processing device, image processing method, image processing program, and storage medium
CN102186044A (en) Edge correlation image stepless scaling algorithm and hardware realization device thereof
JP2013058147A (en) Image processing device and method, and program
JP5493112B2 (en) Image processing apparatus, image processing method, and image processing program
US20050249433A1 (en) Image processing overlaying one image on another
JP5891702B2 (en) Image processing apparatus and program
CN100508550C (en) Image-zooming system capable of saving memory
CN102456214B (en) Using method and device of line cache during image scaling
TW200949759A (en) Image processing apparatus and method
US8577185B2 (en) Apparatus and method for interpolating and rendering image on mobile devices
JP4212430B2 (en) Multiple image creation apparatus, multiple image creation method, multiple image creation program, and program recording medium
JP2000187726A (en) Data interpolation method and its device and storage medium
JP2007241859A (en) Image processor and image processing method
JP2016095667A (en) Image processing device and electronics apparatus
JP3962029B2 (en) Image data reduction apparatus and method
CN113284057A (en) Image correction method and device and electronic equipment

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
C56 Change in the name or address of the patentee

Owner name: FUJITSU SEMICONDUCTOR PACIFIC ASIA LTD.

Free format text: FORMER NAME: FUJITSU MICROELECTRONICS (SHANGHAI) CO., LTD.

CP03 Change of name, title or address

Address after: 201204, room 3102, the Bund center, 222 East Yanan Road, Shanghai, Huangpu District

Patentee after: Fujitsu semiconductor (Shanghai) Co., Ltd.

Address before: 200002, room 3102, the Bund center, 222 East Yanan Road, Shanghai, Huangpu District

Patentee before: Fujitsu Microelectronics (Shanghai) Co.,Ltd.

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

Granted publication date: 20140813

Termination date: 20151223

EXPY Termination of patent right or utility model