CN109919847A - Improve the method for enlarged drawing quality - Google Patents

Improve the method for enlarged drawing quality Download PDF

Info

Publication number
CN109919847A
CN109919847A CN201711331529.1A CN201711331529A CN109919847A CN 109919847 A CN109919847 A CN 109919847A CN 201711331529 A CN201711331529 A CN 201711331529A CN 109919847 A CN109919847 A CN 109919847A
Authority
CN
China
Prior art keywords
enlarged drawing
pixel region
target pixel
pixel
image
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201711331529.1A
Other languages
Chinese (zh)
Other versions
CN109919847B (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.)
CAIYOU MICROELECTRONICS (KUNSHAN) Co Ltd
Original Assignee
CAIYOU MICROELECTRONICS (KUNSHAN) 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 CAIYOU MICROELECTRONICS (KUNSHAN) Co Ltd filed Critical CAIYOU MICROELECTRONICS (KUNSHAN) Co Ltd
Priority to CN201711331529.1A priority Critical patent/CN109919847B/en
Priority to TW107106656A priority patent/TWI665640B/en
Publication of CN109919847A publication Critical patent/CN109919847A/en
Application granted granted Critical
Publication of CN109919847B publication Critical patent/CN109919847B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

A method of improving enlarged drawing quality, to improve the marginal definition for being enlarged into enlarged drawing from original image, wherein original image includes multiple original pixel and enlarged drawing includes multiple new pixels, the method for improving enlarged drawing quality, which is comprised the steps of:, carries out Image Edge-Detection to the target pixel region in original image, to judge whether target pixel region includes image border;And when target pixel region includes image border, image clearly adjustment are carried out for corresponding to target pixel region in enlarged drawing and with multiple new pixels of partly overlapping three adjacent pixel regions in target pixel region, wherein target pixel region is identical as adjacent pixel regions size, and target pixel region and adjacent pixel regions have separately included one of identical multiple original pixel.

Description

Improve the method for enlarged drawing quality
Technical field
The embodiment of the present disclosure is related to a kind of method for improving enlarged drawing quality, and in particular to a kind of improvement enlarged drawing Marginal definition method.
Background technique
In order to which a lesser image of size is amplified to larger-size image, the pixel of original image can be first depending on The position of point, the position of new pixel, and the color of multiple adjacent pixels according to original image are found according to amplification factor Coloured silk value, the color-values of new pixel are estimated and be filled, i.e. picture element interpolation (Interpolation).For above-mentioned Picture element interpolation there are many different algorithms, the most commonly used is closest point interpolation algorithms and bilinear interpolation to drill Algorithm.Closest point interpolation algorithm is most simple and fastest algorithm, but Marseille can be presented in the enlarged drawing generated Gram and the obvious distortion phenomenon such as sawtooth.Bilinear interpolation algorithm increases pixel number of computations, and image visual effect has bright Aobvious promotion, but have the fuzzy phenomenon of certain soft edge or font.Better image amplifies quality in order to obtain, Also it is constantly proposed there are many new algorithm, these new algorithms pass through the range and progress for expanding reference pixels point mostly More complicated interpolation calculation mode improves the degree true to nature of picture element interpolation, but can not all overcome consolidating for enlarged drawing edge blurry It is defective.
Summary of the invention
The purpose of the disclosure is to propose a kind of method for improving enlarged drawing quality, by the edge for improving enlarged drawing Clarity overcome the defect of the enlarged drawing edge blurry of traditional images amplification method.Further, improve enlarged drawing Edge smoothness to improve enlarged drawing edge sawtooth the phenomenon that.
According to the above-mentioned purpose of the disclosure, a kind of method for improving enlarged drawing quality is proposed, to improve from original image It is enlarged into the marginal definition of enlarged drawing, wherein original image includes multiple original pixel and enlarged drawing includes multiple new pixels, The method for improving enlarged drawing quality, which is comprised the steps of:, carries out Image Edge-Detection to the target pixel region in original image, To judge whether target pixel region includes image border;And when target pixel region includes image border, for putting Corresponding to target pixel region and multiple with partly overlapping three adjacent pixel regions in target pixel region in big image New pixel carries out image clearly adjustment, and wherein target pixel region is identical as adjacent pixel regions size, and target pixel region One of identical multiple original pixel have been separately included with adjacent pixel regions.
In some embodiments, above-mentioned Image Edge-Detection be using target pixel region and one group of pattern pixel region into Row compares, to judge whether target pixel region includes image border.
In some embodiments, it when target pixel region does not include image border, is learnt by the calculating of picture element interpolation method The grayscale value of the new pixel of target pixel region is corresponded in enlarged drawing.
In some embodiments, when target pixel region includes image border, target pixel region and adjacent is utilized The combination of pixel region is compared with one group of pattern film micro area, to determine corresponding pattern film micro area, thus according to corresponding Grayscale value table corresponding to pattern film micro area come learn in enlarged drawing corresponding to target pixel region new pixel grayscale value.
In some embodiments, the adjustment of above-mentioned image clearly, which comprises the steps of:, judges target pixel region and adjacent Pixel region, which whether there is, to influence each other;It is right and when target pixel region and adjacent pixel regions exist and influence each other Grayscale value in enlarged drawing corresponding to target pixel region and the new pixel of adjacent pixel regions is adjusted.
In some embodiments, the method for above-mentioned improvement enlarged drawing quality also includes: when the target in enlarged drawing is micro- When region includes sloping edge, the new pixel progress image border for being included for target film micro area is smoothly adjusted to improve and put The edge smoothness of big image.
In some embodiments, above-mentioned image border smoothly adjusts the direction for being to maintain sloping edge, and changes and correspond to The grayscale value of at least one of the adjacent new pixel of the new pixel of sloping edge.
In some embodiments, above-mentioned image border smoothly adjusts the direction for being to maintain sloping edge, and changes and correspond to The grayscale value of at least one of the adjacent new pixel of the new pixel of sloping edge, and change the new pixel for corresponding to sloping edge The grayscale value of at least one.
In some embodiments, above-mentioned picture element interpolation method is closest point interpolation algorithm or bilinearity difference arithmetic.
For allow the disclosure features described above and advantage can be clearer and more comprehensible, special embodiment below, and it is detailed to cooperate attached drawing to make Carefully it is described as follows.
Detailed description of the invention
From the detailed description done below in conjunction with attached drawing, can have to the aspect of the disclosure and more preferably understand.It is noted that According to the standard practice of industry, each feature is not drawn to be painted.In fact, the ruler of each feature apparent in order to make to discuss It is very little all arbitrarily to increase or decrease.
Fig. 1 is the distribution schematic diagram for being painted original pixel and new pixel according to first embodiment of the present disclosure.
Fig. 2 is the flow chart for being painted the method according to an embodiment of the present disclosure for improving enlarged drawing quality.
Fig. 3 is the schematic diagram for being painted the original image according to a width of first embodiment of the present disclosure comprising multiple original pixel.
Fig. 4 is details process the step of being painted the method according to an embodiment of the present disclosure for improving enlarged drawing quality Figure.
Fig. 5 is the schematic diagram for being painted one group of pattern pixel region according to first embodiment of the present disclosure.
Fig. 6 is the schematic diagram for being painted one group of pattern pixel region according to second embodiment of the present disclosure.
Fig. 7 is the schematic diagram for being painted the original image according to a width of first embodiment of the present disclosure comprising multiple original pixel.
Fig. 8 a to Fig. 8 c is to be painted the schematic diagram adjusted according to the image clearly of first embodiment of the present disclosure.
Fig. 9 a to Fig. 9 b is the original image being painted according to a width of third embodiment of the present disclosure comprising 3 × 3 original pixel It include the schematic diagram of the enlarged drawing of 5 × 5 new pixels with a width.
Figure 10 a to Figure 10 b and Figure 11 a to Figure 11 b be painted it is smooth according to the image border of fourth embodiment of the present disclosure The schematic diagram of adjustment.
Figure 10 a and Figure 10 c and Figure 11 a and Figure 11 c be painted it is smooth according to the image border of fifth embodiment of the present disclosure The schematic diagram of adjustment.
Figure 12 a to Figure 12 b is the infinitely variable schematic diagram in image border being painted according to sixth embodiment of the present disclosure.
Figure 12 a and Figure 12 c are the infinitely variable schematic diagrames in image border being painted according to seventh embodiment of the present disclosure.
Figure 13 a to Figure 13 b is the infinitely variable schematic diagram in image border being painted according to eighth embodiment of the present disclosure.
Figure 13 a and Figure 13 c are the infinitely variable schematic diagrames in image border being painted according to ninth embodiment of the present disclosure.
Figure 14 a to Figure 14 b and Figure 15 a to Figure 15 b be painted it is smooth according to the image border of tenth embodiment of the present disclosure The schematic diagram of adjustment.
Description of symbols:
S1-S4, S11, S12, S21-S24: step
100: original image
10011-10044: original pixel
20011-20022、30011-30044、40011-40033: new pixel
110: target pixel region
120,130,140: adjacent pixel regions
R: red sub-pixel
G: green sub-pixels
B: blue subpixels
Specific embodiment
The embodiment of the present invention is hashed out below.It is understood, however, that embodiment offer is many applicable general It reads, may be implemented in miscellaneous specific content.It discusses, disclosed embodiment only for illustrating, is not limited to this The range of invention.
In embodiment of the disclosure, the original image comprising multiple original pixel is enlarged into the amplification comprising multiple new pixels Image.As an example it is assumed that having a width includes the original image of 3 × 3 original pixel, amplified 4/3 times, becoming a width includes The enlarged drawing of 4 × 4 new pixels.It is a kind of be relatively easy to understand image amplification concept be: imaginary 4 are placed on original image × 4 grids;Then, using some way by each grid whole assignment;Finally, these grids are expanded to enlarged drawing Size.In this way, completing the amplifying operation that original image is enlarged into enlarged drawing.
Original pixel and the relationship of the position of new pixel can use Fig. 1 to help to understand.Fig. 1 is painted according to the disclosure The distribution schematic diagram of the original pixel of first embodiment and new pixel.In Fig. 1, symbol zero indicates original pixel, the new picture of symbol+expression Element, symbolThe pixel for indicating overlapping, ascends the throne in the original pixel and new pixel of same position.Fig. 1 is to illustrate a width comprising 3 × 3 The original image of original pixel becomes the enlarged drawing that a width includes 4 × 4 new pixels after amplifying 4/3 times.
The disclosure proposes a kind of method for improving enlarged drawing quality, and referring to figure 2., Fig. 2 is painted according to the disclosure The flow chart of the method for the improvement enlarged drawing quality of embodiment.In step S1, one is taken to include N × M original in original image The region of pixel, and this region is defined as to the target pixel region to be handled, and image border is carried out to target pixel region Detection, to judge whether target pixel region includes image border, wherein N, M are positive integer, and at least one of N and M are Positive integer greater than 2.
Illustrative explanation is done to step S1 with Fig. 3 below, Fig. 3 is one be painted according to first embodiment of the present disclosure Width includes the schematic diagram of the original image 100 of multiple original pixel.Original image 100 includes original pixel 10011、10012、10013、10014、 10021、10022、10023、10024、10031、10032、10033、10034、10041、10042、10043、10044... etc..In original image As take in 100 one include 2 × 2 original pixel target pixel region 110, in other words, N=M=2, target pixel region 110 Include original pixel 10011、10012、10021、10022
Fig. 2 is gone back to, in step S2, whether including image border according to target pixel region, to calculate in enlarged drawing Corresponding to the grayscale value of multiple new pixels of target pixel region.Referring to figure 4., Fig. 4 is to be painted in accordance with an embodiment of the present disclosure Improvement enlarged drawing quality method step S1-S2 details flow chart.In step S11, using target pixel region with One group of pattern pixel region is compared.In step S12, learn whether target pixel region includes image by comparison result Edge.Wherein, target pixel region is identical as pattern pixel region size, in other words, pattern pixel region be one group comprising N × The combination of M pixel.Furthermore pattern pixel region is one group of combination comprising all image border patterns.
Illustrative explanation is done to pattern pixel region with Fig. 5, Fig. 5 is painted according to first embodiment of the present disclosure The schematic diagram of one group of pattern pixel region.As shown in figure 5, pattern pixel region is one group of 16 kinds of realization comprising 2 × 2 pixels The combination of situation, in other words, N=M=2.In addition, doing illustrative explanation to pattern pixel region with Fig. 6, Fig. 6 is to be painted According to the schematic diagram of the one of second embodiment of the present disclosure group of pattern pixel region.As shown in fig. 6, pattern pixel region is one group The combination of 19 kinds of realization situations comprising 3 × 3 pixels, in other words, N=M=3.
Go back to Fig. 4, when target pixel region do not include image border, then carry out step S21, pass through picture element interpolation method meter Calculate the grayscale value (step S24) for learning the new pixel in enlarged drawing corresponding to target pixel region.Specifically, working as target picture Not the phenomenon that plain region does not include image border, then will not generate edge blurry, therefore existing picture element interpolation method can be used to count Calculate the grayscale value of the new pixel in enlarged drawing corresponding to target pixel region.Wherein, existing picture element interpolation method can be for for example Closest point interpolation algorithm, bilinearity difference arithmetic etc..It is noted that the disclosure does not limit the calculation of picture element interpolation method Mode, the suitable existing picture element interpolation method of the visual actual demand selection of user.
Referring once again to Fig. 4, when target pixel region includes image border, then step S22 is carried out, object pixel area is utilized Domain and compared with one group of pattern film micro area with the combinations of partly overlapping three adjacent pixel regions in target pixel region It is right, to determine corresponding pattern film micro area.Then, step S23 is carried out, according to grayscale value table corresponding to corresponding pattern film micro area To learn the grayscale value of the new pixel in enlarged drawing corresponding to target pixel region.
Adjacent pixel regions are done with illustrative explanation with Fig. 7, Fig. 7 is painted according to first embodiment of the present disclosure One width includes the schematic diagram of the original image 100 of multiple original pixel.Please with reference to Fig. 3 and Fig. 7, adjacent pixel regions 120,130, 140 is identical as 110 size of target pixel region, and in other words, adjacent pixel regions 120,130,140 separately include 2 × 2 preimages Element.Adjacent pixel regions 120 include original pixel 10021、10022、10031、10032, adjacent pixel regions 130 include original pixel 10012、10013、10022、10023, adjacent pixel regions 140 include original pixel 10022、10023、10032、10033.Specifically, Target pixel region 110 and adjacent pixel regions 120,130,140 partly overlap and have separately included identical multiple original pixel One of (i.e. original pixel 10022).It is noted that the group of target pixel region and three adjacent pixel regions is combined into and includes The region of a pixel of (2N-1) × (2M-1).
In the disclosure, one group of pattern film micro area predetermined, and utilize target pixel region and three adjacent pictures The combination in plain region is compared with it, and using the identical person of comparison result in pattern film micro area as corresponding pattern film micro area.Wherein, mesh The combination for marking pixel region and three adjacent pixel regions is identical as pattern film micro area size, and in other words, pattern film micro area is One group of combination comprising a pixel of (2N-1) × (2M-1).It is respectively corresponded in addition, establishing pattern film micro area by pretest Grayscale value table.In this way, phase in enlarged drawing can be learnt according to grayscale value table corresponding to corresponding pattern film micro area It should be in the grayscale value of the new pixel of target pixel region.
Fig. 2 is gone back to, upon step s 2, judges target pixel region and adjacent pixel regions with the presence or absence of mutual shadow It rings, when target pixel region and adjacent pixel regions, which exist, to influence each other, carries out step S3, is i.e. progress image clearly tune It is whole, the grayscale value for the new pixel that target pixel region and adjacent pixel regions are corresponded in enlarged drawing is adjusted.
Illustrative explanation is done to adjust to image clearly with Fig. 8 a to Fig. 8 c, Fig. 8 a to Fig. 8 c is painted according to the disclosure First embodiment image clearly adjustment schematic diagram.Fig. 8 a is the original image comprising 3 × 3 original pixel, it is assumed that times magnification Rate is 4/3, it includes 4 that after the step S1-S2 of the method for the improvement enlarged drawing quality by the disclosure, gained person, which is Fig. 8 b, The enlarged drawing of × 4 new pixels.Compare Fig. 8 a and Fig. 8 b it is found that enlarged drawing (Fig. 8 b) shows inclining for original image (Fig. 8 a) Unexistent point (with grey signifier) in beveled edge trend will have when will thus will cause viewing enlarged drawing (Fig. 8 b) The phenomenon that edge blurry, generates.Specifically, since the target pixel region in original image (Fig. 8 a) is deposited with adjacent pixel regions It is influencing each other, so that there is the generation of the phenomenon that edge blurry when enlarged drawing (Fig. 8 b).Fig. 8 c is the implementation by the disclosure Enlarged drawing after the step S3 (i.e. image clearly adjustment) of the method for the improvement enlarged drawing quality of example.Specifically, by After image clearly adjustment, eliminates and corresponds to unexistent point in original image (Fig. 8 a) edge trend in enlarged drawing (Fig. 8 b), Therefore enlarged drawing (Fig. 8 c) has clearly edge display effect.
Fig. 9 a to Fig. 9 b is the original image being painted according to a width of third embodiment of the present disclosure comprising 3 × 3 original pixel It include the schematic diagram of the enlarged drawing of 5 × 5 new pixels with a width.Fig. 9 a is the original image comprising 3 × 3 original pixel, it is assumed that Enlargement ratio is 5/3, after the step S1-S3 of the method for the improvement enlarged drawing quality by the embodiment of the disclosure, gained Person is Fig. 9 b, that is, includes the enlarged drawing of 5 × 5 new pixels.Specifically, after image clearly adjusts, enlarged drawing (figure 9b) there is clearly edge display effect.
It is noted that in embodiment of the disclosure, the principle of image clearly adjustment is, if including one in original image The edge (such as straight line or curve) for determining pixel wide then only takes if not line width is multiplied by the numerical value integer after enlargement ratio Integer.For example, if in original image including one section of straight line that pixel wide is 1, and enlargement ratio is 1.5 times, then enlarged drawing The pixel wide for the straight line for corresponding to the straight line as in is still 1.
It should be noted that then continuing to next after step S1-S3 is completed in a certain target pixel region comprising N × M The target pixel region of a original pixel executes step S1-S3, until all original pixel in original image are all contained in object pixel Region and in the combination of partly overlapping three adjacent pixel regions in target pixel region.For example, referring to figure 3., When target pixel region 110 complete step S1-S3 after, then continue to it is next include 2 × 2 original pixel (i.e. original pixel 10013、10014、10023、10024) target pixel region execute step S1-S3.For example, referring to figure 3., work as original image In all original pixel positioned at first row and secondary series be all contained in target pixel region and with target pixel region part Overlapping three adjacent pixel regions combination in after, then continue to it is next include 2 × 2 original pixel (i.e. original pixel 10031、10032、10041、10042) target pixel region execute step S1-S3.The rest may be inferred.
Fig. 2 is gone back to, after step s 3, judges whether the target film micro area in enlarged drawing includes sloping edge, when When target film micro area in enlarged drawing includes sloping edge, step S4, the new pixel for being included for target film micro area are carried out Image border is carried out smoothly to adjust to improve the edge smoothness of enlarged drawing.Wherein, image border smoothly adjusts to be to maintain and incline The direction of beveled edge, and change the grayscale value of at least one corresponding to the adjacent new pixel of the new pixel of sloping edge.Or Person, image border smoothly adjusts the direction for being to maintain sloping edge, and change is adjacent corresponding to the new pixel of sloping edge The grayscale value of at least one of new pixel, and change the grayscale value of at least one of the new pixel corresponding to sloping edge.Wherein, Target film micro area can include multiple new pixels and the region to be handled, in other words, target film micro area for user's self-defining It can be one or more regions in enlarged drawing, therefore, for embodiment of the disclosure, will sequentially be directed to all targets Film micro area executes step S4.
Illustrative explanation is done smoothly to adjust to image border with Figure 10 a to Figure 10 c, Figure 10 a to Figure 10 c is to be painted root According to the infinitely variable schematic diagram in image border of fourth embodiment of the present disclosure and the 5th embodiment.Enlarged drawing is presented in Figure 10 a In include sloping edge target film micro area.When such sloping edge will will cause viewing, there is the generation of the phenomenon that edge sawtooth. Figure 10 b is according to the smooth schematic diagram adjusted in the image border of fourth embodiment of the present disclosure.Figure 10 b shows image border Smooth adjustment is to maintain the direction of the sloping edge of Figure 10 a, and adjusts corresponding to adjacent two of the new pixel of sloping edge New pixel 20012、20021Sub-pixel grayscale value.For Figure 10 b, new pixel 200 is changed12Red sub-pixel R Grayscale value, wherein new pixel 20012Red sub-pixel R grayscale value be equal to new pixel 20011Red sub-pixel grayscale Value, new pixel 20022The grayscale value of red sub-pixel or both be averaged.Furthermore change new pixel 20021Blue son The grayscale value of pixel B, wherein new pixel 20021Blue subpixels B grayscale value be equal to new pixel 20022Blue subpixels Grayscale value, new pixel 20011The grayscale value of blue subpixels or both be averaged.In addition, Figure 10 c is according to the disclosure The smooth schematic diagram adjusted in the image border of 5th embodiment.The difference of Figure 10 c and Figure 10 b is that Figure 10 c is more changed New pixel 20012Green sub-pixels G grayscale value, wherein new pixel 20012Green sub-pixels G grayscale value be equal to new picture Element 20011The grayscale values of green sub-pixels, new pixel 20022The grayscale value of green sub-pixels or both be averaged.Furthermore Figure 10 c more changes new pixel 20021Green sub-pixels G grayscale value, wherein new pixel 20021Green sub-pixels G ash Rank value is equal to new pixel 20022The grayscale values of green sub-pixels, new pixel 20011The grayscale value of green sub-pixels or both Be averaged.Specifically, after image border smoothly adjusts, so that the phenomenon that script edge sawtooth, is able to smoothly.
Illustrative explanation is done smoothly to adjust to image border with Figure 11 a to Figure 11 c, Figure 11 a to Figure 11 c is to be painted root According to the infinitely variable schematic diagram in image border of fourth embodiment of the present disclosure and the 5th embodiment.Figure 11 a to Figure 11 c and figure 10a to Figure 10 c is similar, i.e. Figure 11 b be according to the smooth schematic diagram adjusted in the image border of fourth embodiment of the present disclosure, and Figure 11 c is smoothly schematic diagram adjusted, difference are only that Figure 11 a presentation is put according to the image border of fifth embodiment of the present disclosure It include the target film micro area of sloping edge in big image, and target film micro area includes 4 × 4 new pixels.Rest part and Figure 10 a Roughly the same to Figure 10 c, details are not described herein.
Illustrative explanation is done smoothly to adjust to image border with Figure 12 a to Figure 12 c, Figure 12 a to Figure 12 c is to be painted root According to the infinitely variable schematic diagram in image border of sixth embodiment of the present disclosure and the 7th embodiment.Enlarged drawing is presented in Figure 12 a In include sloping edge target film micro area.When such sloping edge will will cause viewing, there is the generation of the phenomenon that edge sawtooth. Figure 12 b is according to the smooth schematic diagram adjusted in the image border of sixth embodiment of the present disclosure.Figure 12 b shows image border Smooth adjustment is to maintain the direction of the sloping edge of Figure 12 a, and adjusts two of the endpoint corresponding to the sloping edge in Figure 12 a New pixel 30011、30044Sub-pixel grayscale value, and the new pixel institute adjusted corresponding to the sloping edge in Figure 12 a is adjacent New pixel 30012、30021、30023、30032、30034、30043Sub-pixel grayscale value.For Figure 12 b, by new pixel 30011The grayscale value of red sub-pixel R be copied to new pixel 30012Red sub-pixel R grayscale value, by new pixel 30044 The grayscale value of blue subpixels B be copied to new pixel 30043Blue subpixels B grayscale value.Furthermore change new pixel 30021、30032Blue subpixels B grayscale value, wherein new pixel 30021Blue subpixels B grayscale value be equal to new pixel 30022Blue subpixels grayscale value, new pixel 30032Blue subpixels B grayscale value be equal to new pixel 30033Blue The grayscale value of sub-pixel;Change new pixel 30023、30034Red sub-pixel R grayscale value, wherein new pixel 30023It is red The grayscale value of sub-pixels R is equal to new pixel 30022Red sub-pixel grayscale value, new pixel 30034Red sub-pixel R Grayscale value be equal to new pixel 30033Red sub-pixel grayscale value.In addition, combination of Figure 12 c similar to Figure 11 b and Figure 11 c, I.e. similar to Figure 11 c, positioned at two sons of the adjacent new pixel of the new pixel corresponding to the sloping edge in Figure 12 a of odd column Pixel (R and G or G and B) is assigned;I.e. similar to Figure 11 b, positioned at the new picture corresponding to the sloping edge in Figure 12 a of even column A sub-pixel (B or R) for the adjacent new pixel of element is assigned.Specifically, after image border smoothly adjusts, so that The phenomenon that script edge sawtooth, is able to smoothly.
Illustrative explanation is done smoothly to adjust to image border with Figure 13 a to Figure 13 c, Figure 13 a to Figure 13 c is to be painted root According to the infinitely variable schematic diagram in image border of eighth embodiment of the present disclosure and the 9th embodiment.Enlarged drawing is presented in Figure 13 a In include sloping edge target film micro area.Figure 13 b is after smoothly being adjusted according to the image border of eighth embodiment of the present disclosure Schematic diagram.Figure 13 b adjustment new pixel 200 adjacent corresponding to the new pixel of sloping edge12Sub-pixel grayscale Value, wherein new pixel 20012Red sub-pixel R grayscale value be equal to new pixel 20011Red sub-pixel grayscale value, 20021Red sub-pixel grayscale value, 20022The grayscale value of red sub-pixel or being averaged for three.In addition, Figure 13 c is root According to the smooth schematic diagram adjusted in image border of ninth embodiment of the present disclosure.The difference of Figure 13 c and Figure 13 b is to scheme 13c more changes new pixel 20012Green sub-pixels G grayscale value, wherein new pixel 20012Green sub-pixels G grayscale Value is equal to new pixel 20011Green sub-pixels grayscale value, 20021Green sub-pixels grayscale value, 20022The sub- picture of green The grayscale value of element or being averaged for three.Specifically, after image border smoothly adjusts, so that the phenomenon that script edge sawtooth It is able to smooth.
Illustrative explanation is done smoothly to adjust to image border with Figure 14 a to Figure 14 b, Figure 14 a to Figure 14 b is to be painted root According to the infinitely variable schematic diagram in the image border of tenth embodiment of the present disclosure.It includes inclined side in enlarged drawing that Figure 14 a, which is presented, The target film micro area of edge.Figure 14 b is according to the smooth schematic diagram adjusted in the image border of tenth embodiment of the present disclosure.Figure A 14b adjustment new pixel 400 adjacent corresponding to the new pixel of sloping edge22Sub-pixel grayscale value, and adjust phase It should be in a new pixel 400 of sloping edge21Sub-pixel grayscale value.For Figure 14 b, by new pixel 40021Red The grayscale value of sub-pixel R is copied to new pixel 40022Red sub-pixel R grayscale value.Specifically, flat by image border After sliding adjustment, so that the phenomenon that script edge sawtooth, is able to smoothly.
Illustrative explanation is done smoothly to adjust to image border with Figure 15 a to Figure 15 b, Figure 15 a to Figure 15 b is to be painted root According to the infinitely variable schematic diagram in the image border of tenth embodiment of the present disclosure.Figure 15 a to Figure 15 b and Figure 14 a to Figure 14 b class Seemingly, difference is only that the pixel composition of Figure 15 a and Figure 14 a is of different sizes.Rest part is roughly the same with Figure 14 a to Figure 14 b, herein It repeats no more.
In summary, the disclosure proposes a kind of method for improving enlarged drawing quality.By the edge for improving enlarged drawing Clarity overcome the defect of the enlarged drawing edge blurry of traditional images amplification method.Further, improve enlarged drawing Edge smoothness to improve enlarged drawing edge sawtooth the phenomenon that.
Foregoing has outlined the features of several embodiments, therefore those skilled in the art can know more about the aspect of the disclosure. It will be understood by a person skilled in the art that arriving, the disclosure can be designed or modified as basis easily other processing procedures and knot Structure realizes target identical with these embodiments described herein whereby and/or reaches identical advantage.Those skilled in the art Member also it should be understood that, these equivalent construction are without departing from the spirit and scope of the disclosure, and they can not depart from this Various changes, replacement and variation are made under the premise of open spirit and scope.

Claims (9)

1. a kind of method for improving enlarged drawing quality, to improve the edge clear for being enlarged into an enlarged drawing from an original image Degree, wherein the original image includes multiple original pixel and the enlarged drawing includes multiple new pixels, the improvement enlarged drawing quality Method comprises the steps of:
One Image Edge-Detection is carried out to the target pixel region in the original image, whether to judge the target pixel region Include an image border;And
When whether the target pixel region includes the image border, in the enlarged drawing correspond to the target pixel region And an image clearly adjustment is carried out with those new pixels of partly overlapping three adjacent pixel regions in the target pixel region, Wherein the target pixel region is identical as those adjacent pixel regions sizes, and the target pixel region and those adjacent pixel areas Domain has separately included one of those identical original pixel.
2. improving the method for enlarged drawing quality as described in claim 1, wherein the Image Edge-Detection is to utilize the target Pixel region is compared with one group of pattern pixel region, to judge whether the target pixel region includes the image border.
3. improving the method for enlarged drawing quality as claimed in claim 2, wherein when the target pixel region does not include the figure When as edge, those the new pixels learnt and correspond to the target pixel region in the enlarged drawing are calculated by a picture element interpolation method Grayscale value.
4. improving the method for enlarged drawing quality as claimed in claim 2, wherein when the target pixel region includes the image When edge, compared using the combination of the target pixel region and those adjacent pixel regions with one group of pattern film micro area It is right, to determine a corresponding pattern film micro area, to be learnt according to a grayscale value table corresponding to the corresponding pattern film micro area The grayscale value of those new pixels of the target pixel region is corresponded in the enlarged drawing.
5. improving the method for enlarged drawing quality as described in claim 1, wherein image clearly adjustment is comprised the steps of:
Judge that the target pixel region and those adjacent pixel regions whether there is to influence each other;And
It, should to being corresponded in the enlarged drawing when the target pixel region and those adjacent pixel regions, which exist, to influence each other The grayscale value of the new pixel of those of target pixel region and those adjacent pixel regions is adjusted.
6. improving the method for enlarged drawing quality as described in claim 1, also include:
When the target film micro area in the enlarged drawing includes a sloping edge, it is somebody's turn to do for what the target film micro area was included A little new pixels carry out an image border and smoothly adjust to improve the edge smoothness of the enlarged drawing.
7. improving the method for enlarged drawing quality as claimed in claim 6, wherein the image border smoothly adjusts and is to maintain this The direction of sloping edge, and change corresponding to the sloping edge adjacent those the new pixels of those new pixels at least one Grayscale value.
8. improving the method for enlarged drawing quality as claimed in claim 6, wherein the image border smoothly adjusts and is to maintain this The direction of sloping edge, and change corresponding to the sloping edge adjacent those the new pixels of those new pixels at least one Grayscale value, and change corresponding to the sloping edge those new pixels the grayscale value of at least one.
9. improving the method for enlarged drawing quality as claimed in claim 3, wherein the picture element interpolation method is closest point interpolation Algorithm or bilinearity difference arithmetic.
CN201711331529.1A 2017-12-13 2017-12-13 Method for improving quality of amplified image Active CN109919847B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201711331529.1A CN109919847B (en) 2017-12-13 2017-12-13 Method for improving quality of amplified image
TW107106656A TWI665640B (en) 2017-12-13 2018-02-27 Method for improving quality of enlarged image

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711331529.1A CN109919847B (en) 2017-12-13 2017-12-13 Method for improving quality of amplified image

Publications (2)

Publication Number Publication Date
CN109919847A true CN109919847A (en) 2019-06-21
CN109919847B CN109919847B (en) 2023-03-14

Family

ID=66959104

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711331529.1A Active CN109919847B (en) 2017-12-13 2017-12-13 Method for improving quality of amplified image

Country Status (2)

Country Link
CN (1) CN109919847B (en)
TW (1) TWI665640B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110334652A (en) * 2019-07-05 2019-10-15 无锡睿勤科技有限公司 Image processing method, electronic equipment and storage medium
CN110430376A (en) * 2019-07-25 2019-11-08 西南交通大学 A kind of image processing method and system
CN111965907A (en) * 2020-08-26 2020-11-20 京东方科技集团股份有限公司 Display device and driving method thereof

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI751496B (en) * 2020-02-18 2022-01-01 元太科技工業股份有限公司 E-paper display device and a method for driving an e-paper display device

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07249120A (en) * 1994-03-10 1995-09-26 Nikon Corp Picture processing method
CN101044507A (en) * 2005-09-01 2007-09-26 松下电器产业株式会社 Image processing method, image processor, and image processing program
TW200822711A (en) * 2006-11-01 2008-05-16 Quanta Comp Inc Apparatus and method for enhancing image edge
JP2010157877A (en) * 2008-12-26 2010-07-15 Sharp Corp Image processing apparatus, image processing method and computer program
TW201032592A (en) * 2009-02-27 2010-09-01 Arcsoft Hangzhou Co Ltd Method for upscaling images and videos and associated image processing device
CN102663678A (en) * 2012-03-31 2012-09-12 深圳市万兴软件有限公司 Image zooming method and system thereof
US20150235345A1 (en) * 2014-02-17 2015-08-20 Delta Electronics, Inc. Method and device for processing a super-resolution image
CN104933679A (en) * 2015-07-06 2015-09-23 福州瑞芯微电子有限公司 A method for enlarging an image and a system corresponding to the method
CN105389776A (en) * 2014-09-02 2016-03-09 辉达公司 Image Scaling Techniques
JP2016127295A (en) * 2014-12-26 2016-07-11 三菱電機株式会社 Image processing apparatus, image processing method, image reader, and image processing program
CN106204441A (en) * 2016-06-27 2016-12-07 Tcl集团股份有限公司 The method and device that a kind of image local amplifies
CN106780383A (en) * 2016-12-13 2017-05-31 长春理工大学 The depth image enhancement method of TOF camera

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07249120A (en) * 1994-03-10 1995-09-26 Nikon Corp Picture processing method
CN101044507A (en) * 2005-09-01 2007-09-26 松下电器产业株式会社 Image processing method, image processor, and image processing program
TW200822711A (en) * 2006-11-01 2008-05-16 Quanta Comp Inc Apparatus and method for enhancing image edge
JP2010157877A (en) * 2008-12-26 2010-07-15 Sharp Corp Image processing apparatus, image processing method and computer program
TW201032592A (en) * 2009-02-27 2010-09-01 Arcsoft Hangzhou Co Ltd Method for upscaling images and videos and associated image processing device
CN102663678A (en) * 2012-03-31 2012-09-12 深圳市万兴软件有限公司 Image zooming method and system thereof
US20150235345A1 (en) * 2014-02-17 2015-08-20 Delta Electronics, Inc. Method and device for processing a super-resolution image
CN105389776A (en) * 2014-09-02 2016-03-09 辉达公司 Image Scaling Techniques
JP2016127295A (en) * 2014-12-26 2016-07-11 三菱電機株式会社 Image processing apparatus, image processing method, image reader, and image processing program
CN104933679A (en) * 2015-07-06 2015-09-23 福州瑞芯微电子有限公司 A method for enlarging an image and a system corresponding to the method
CN106204441A (en) * 2016-06-27 2016-12-07 Tcl集团股份有限公司 The method and device that a kind of image local amplifies
CN106780383A (en) * 2016-12-13 2017-05-31 长春理工大学 The depth image enhancement method of TOF camera

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110334652A (en) * 2019-07-05 2019-10-15 无锡睿勤科技有限公司 Image processing method, electronic equipment and storage medium
CN110334652B (en) * 2019-07-05 2022-06-07 无锡睿勤科技有限公司 Image processing method, electronic device, and storage medium
CN110430376A (en) * 2019-07-25 2019-11-08 西南交通大学 A kind of image processing method and system
CN110430376B (en) * 2019-07-25 2021-12-28 西南交通大学 Image processing method and system
CN111965907A (en) * 2020-08-26 2020-11-20 京东方科技集团股份有限公司 Display device and driving method thereof

Also Published As

Publication number Publication date
TW201928874A (en) 2019-07-16
CN109919847B (en) 2023-03-14
TWI665640B (en) 2019-07-11

Similar Documents

Publication Publication Date Title
CN109919847A (en) Improve the method for enlarged drawing quality
CN107103893A (en) It is a kind of to improve the circular method for showing platen edge display effect
CN105719608B (en) Image display method and image display
WO2017152457A1 (en) Mura phenomenon compensation method
CN108022223B (en) Tone mapping method based on logarithm mapping function blocking processing fusion
CN105096856B (en) The driving method and drive device of liquid crystal panel
CN107133920B (en) Automatic mosaic generation method based on visual features
JPWO2009081602A1 (en) Display device
JP2010503896A (en) Masking visual defects
CN110085168B (en) Driving method and device of display panel
JP2007324763A (en) Television receiver and television reception method
US10783844B2 (en) Display device and method for controlling display device
JP2007136825A5 (en)
CN106971375B (en) Image amplification processing method and device
JP2014222322A (en) Image display device and control method of the same
JP4923033B2 (en) Image enhancement method using domain gain correction
JP6152520B2 (en) Method, apparatus and program for generating jacquard fabric pattern
JP2017098845A (en) Image processing apparatus, image processing method, and program
JP2017174311A (en) Edge detection device and edge detection method
CN110490838B (en) Method and device for processing boundaries of areas with different resolutions of display panel
JP2007286496A (en) Display state controller, display apparatus, display state control method, program therefor, and recording medium with the program recorded thereon
US8125436B2 (en) Pixel dithering driving method and timing controller using the same
JP2007034222A (en) Video display controller, video display control method, and program thereof
CN100454969C (en) Method for transient enhancing video image brightness
CN109658332A (en) A kind of image magnification method and terminal based on stream data processing

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant