CN106875350A - Method, device and the terminal of sharpening treatment are carried out to blurred picture - Google Patents

Method, device and the terminal of sharpening treatment are carried out to blurred picture Download PDF

Info

Publication number
CN106875350A
CN106875350A CN201710006326.9A CN201710006326A CN106875350A CN 106875350 A CN106875350 A CN 106875350A CN 201710006326 A CN201710006326 A CN 201710006326A CN 106875350 A CN106875350 A CN 106875350A
Authority
CN
China
Prior art keywords
picture
blurred
blurred picture
thumbnail
image data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201710006326.9A
Other languages
Chinese (zh)
Inventor
江跃龙
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Original Assignee
Yulong Computer Telecommunication Scientific Shenzhen 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 Yulong Computer Telecommunication Scientific Shenzhen Co Ltd filed Critical Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Priority to CN201710006326.9A priority Critical patent/CN106875350A/en
Publication of CN106875350A publication Critical patent/CN106875350A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00Image enhancement or restoration
    • G06T5/73Deblurring; Sharpening

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Image Processing (AREA)

Abstract

The invention provides a kind of method, device and terminal that sharpening treatment is carried out to blurred picture, it is related to technical field of image processing, wherein, a kind of method that sharpening treatment is carried out to blurred picture, including:Obtain blurred picture;Blurred picture is replicated, two width pictures, respectively the first picture and second picture are obtained;First picture is carried out into equal proportion compression, thumbnail is obtained, the image data of thumbnail is obtained;Second picture is carried out into equal proportion amplification, according to the image data of thumbnail, the second picture after amplification is processed, the clear picture after being processed.Technical scheme, a clear picture is regenerated by by blurred picture, it is to avoid cause user's substantial amounts of useful information in missing picture because of picture blur, is conducive to being lifted the experience of user.

Description

Method, device and the terminal of sharpening treatment are carried out to blurred picture
Technical field
The present invention relates to technical field of image processing, sharpening treatment is carried out to blurred picture in particular to a kind of Method, a kind of device and a kind of terminal that sharpening treatment is carried out to blurred picture.
Background technology
In daily life, the useful letter for causing user normally to check in picture because of following three kinds of situations sometimes Breath, first, user makes to cause to shoot unintelligible when using terminal shoots due to not focusing on;Second, the browse graph in terminal Piece or on browsing web sites when, it may appear that do not see the situation of Chu's image content;3rd, some written historical materials are scanned through, After the processes such as fax, the ambiguous situation of text information occurs when terminal shows.Three cases above can cause User can not appreciate picture or miss a large amount of useful information, so as to influence Consumer's Experience.
Therefore, blurred picture how is made to become clear, the main information for allowing users to view picture turns into urgently to be resolved hurrily Technical problem.
The content of the invention
It is contemplated that at least solving one of technical problem present in prior art or correlation technique.
Therefore, it is an object of the present invention to propose a kind of method that sharpening treatment is carried out to blurred picture.
It is another object of the present invention to propose a kind of device that sharpening treatment is carried out to blurred picture.
Another object of the present invention is to propose a kind of terminal.
To achieve the above object, technical scheme according to the first aspect of the invention, it is proposed that a kind of to enter to blurred picture The method of row sharpening treatment, including:Obtain blurred picture;Blurred picture is replicated, two width pictures, respectively the first picture are obtained And second picture;First picture is carried out into equal proportion compression, thumbnail is obtained, the image data of thumbnail is obtained;By the second figure Piece carries out equal proportion amplification, according to the image data of thumbnail, the second picture after amplification is processed, after being processed Clear picture.
In the technical scheme, after terminal gets blurred picture, the blurred picture is once replicated, replicated After obtain two pictures, first picture is carried out equal proportion compression by any selection wherein pictures as the first picture, Compression factor can set in advance, it is also possible to carry out sets itself by user, untill the first picture reaches satisfied definition, Obtain the small clearly thumbnail of a hypertonic;Then set second picture according to terminal display size or user itself Equal proportion amplification is carried out, then the second picture after amplification is carried out into sharpening treatment according to the image data of thumbnail, after treatment Second picture be the sharpening picture of user's needs, by the technical scheme, blurred picture is processed as being adapted to user to look into The clear picture seen, in order to avoid causing user's substantial amounts of useful information in missing picture because of picture blur, is conducive to lifting user Experience.
In the above-mentioned technical solutions, it is preferable that before blurred picture is replicated, also include:Analysis blurred picture, obtains mould Paste the image data of picture;According to the image data of blurred picture, filter is rebuild.
In the technical scheme, before blurred picture is replicated, that is, before the first picture and second picture is obtained, The image data of blurred picture is analyzed first with the image recognition of terminal or character recognition technology, and is rebuild for image data Filter, to carry out preliminary sharpening to blurred picture, the first picture and second picture after so replicating can compare blurred picture Clearly, follow-up further sharpening is conducive to process.
In the above-mentioned technical solutions, it is preferable that rebuild filter and specifically include:According to the image data of blurred picture, selection Fuzzy pattern;The radius value that modification USM is sharpened, makes blurred picture reach default optimal clear state.
In the technical scheme, the fuzzy mould of the blurred picture that the image data analysis according to blurred picture is being processed Formula, it may be possible to which that is caused due to focusing failure when shooting is out of focus fuzzy;Be also likely to be shoot when due to shake caused by Motion blur;It is Gaussian Blur etc. to be also possible to, and according to the fuzzy pattern for analyzing, selects fuzzy mould corresponding with blurred picture Formula, then changes the radius value that USM is sharpened, until blurred picture reaches default optimal clear state.
In the above-mentioned technical solutions, it is preferable that before the second picture after to amplification is processed, also include:In contracting Shade is added on sketch map.
It is thumbnail addition shade in the technical scheme, wherein, mask layer just has with by the Chong Die part of mask layer Image shows, image morphing effect is realized, while can prevent from performing maloperation in image layer region, its detailed process again For:Shade is at the beginning translucent, gradually becomes all-transparent, first it to showing when so showing, reloads the second figure Piece, then carries out sharpening treatment by second picture, and replaces thumbnail, ultimately generates a clear picture (after sharpening Second picture).
In the above-mentioned technical solutions, it is preferable that the mode that the second picture after amplification is processed is specifically included:Image One or more in recovery, image uncoiling and superposition noise.
In the technical scheme, second picture is processed by image recovery, picture uncoiling and superposition noise, These processing modes can make blurred picture become clear.For example, image recovers to be, using the priori of image degradation, to go to recover Degraded image is the true colours of blurred picture, and its basic ideas is first to set up the Mathematical Modeling of degeneration, then according to the model Degraded image is fitted, so as to improve the quality of image, blurred picture is become clear.
A kind of technical scheme according to the second aspect of the invention, it is proposed that dress that sharpening treatment is carried out to blurred picture Put, for terminal, it is characterised in that including:Acquiring unit, obtains blurred picture;Copied cells, replicates blurred picture, obtains Two width pictures, respectively the first picture and second picture;Compression unit, equal proportion compression is carried out by the first picture, obtains breviary Figure, obtains the image data of thumbnail;Processing unit, equal proportion amplification is carried out by second picture, the picture number according to thumbnail According to carrying out sharpening treatment to the second picture after amplification, the clear picture after being processed.
In the technical scheme, after the acquiring unit of terminal gets blurred picture, copied cells is by the fuzzy graph Piece is once replicated, and two pictures are obtained after duplication, and, used as the first picture, compression unit will for any selection wherein pictures First picture carries out equal proportion compression, and compression factor can set in advance, it is also possible to carry out sets itself by user, until first Untill picture reaches satisfied definition, that is, obtain the small clearly thumbnail of a hypertonic;Then processing unit shows according to terminal Screen size or user itself set and for second picture to carry out equal proportion amplification, then by the second picture after amplification according to breviary The image data of figure carries out sharpening treatment, and the second picture after treatment is the sharpening picture of user's needs, by the skill Art scheme, blurred picture is processed as to be adapted to the clear picture that user checks, in order to avoid cause user to miss figure because of picture blur Substantial amounts of useful information in piece, is conducive to being lifted the experience of user.
In the above-mentioned technical solutions, it is preferable that also include:Analytic unit, analyzes blurred picture, obtains the figure of blurred picture Sheet data;Reconstruction unit, according to image data, rebuilds filter;
In the technical scheme, before blurred picture is replicated, that is, before the first picture and second picture is obtained, Analytic unit first analyzes the image data of blurred picture, and then reconstruction unit carries out reconstruction filter for image data, with to mould Paste picture carries out preliminary sharpening, and the first picture and second picture after so replicating can be more clear than blurred picture, are conducive to Follow-up sharpening treatment.
In the above-mentioned technical solutions, it is preferable that the reconstruction unit is specifically included:Select unit, according to image data, choosing Select fuzzy pattern;Modification unit, the radius value that modification USM is sharpened makes blurred picture reach default optimal clear state.
In the technical scheme, the fuzzy mould of the blurred picture that the image data analysis according to blurred picture is being processed Formula, it may be possible to which that is caused due to focusing failure when shooting is out of focus fuzzy;Be also likely to be shoot when due to shake caused by Motion blur;It is Gaussian Blur etc. to be also possible to, and according to the fuzzy pattern for analyzing, select unit selection is corresponding with blurred picture Fuzzy pattern, then, the radius value that modification unit modification USM is sharpened, until blurred picture reaches default optimal clear state.
In the above-mentioned technical solutions, it is preferable that also include:Adding device, adds shade on thumbnail.
It is thumbnail addition shade in the technical scheme, wherein, mask layer just has with by the Chong Die part of mask layer Image shows, image morphing effect is realized, while can prevent from performing maloperation in image layer region, its detailed process again For:Shade is at the beginning somewhat transparent, gradually becomes all-transparent, first it to showing when so showing, reloads second Picture, then carries out sharpening treatment by second picture, and replaces thumbnail, ultimately generates a clear picture (after sharpening Second picture).
In the above-mentioned technical solutions, it is preferable that the mode that the second picture after amplification is processed is specifically included:Image One or more in uncoiling, image degradation and superposition noise.
In the technical scheme, second picture is processed by image recovery, picture uncoiling and superposition noise, These processing modes can make blurred picture become clear.For example, image recovers to be, using the priori of image degradation, to go to recover Degraded image is the true colours of blurred picture, and its basic ideas is first to set up the Mathematical Modeling of degeneration, then according to the model Degraded image is fitted, so as to improve the quality of image, blurred picture is become clear.
A kind of technical scheme according to the third aspect of the invention we, it is proposed that terminal, including above-mentioned second aspect technical side The device that sharpening treatment is carried out to blurred picture of any technical scheme in case.
In the technical scheme, after terminal gets blurred picture, blurred picture is replicated, obtained two width figures Piece, respectively the first picture and second picture, any selection wherein pictures are carried out first picture as the first picture Equal proportion is compressed, and compression factor can set in advance, it is also possible to carry out sets itself by user, until the first picture reach it is satisfied Untill definition, that is, obtain the small clearly thumbnail of a hypertonic;Then set according to terminal display size or user itself Put carries out equal proportion amplification by second picture, then second picture is carried out into sharpening treatment according to the image data of thumbnail, place Second picture after reason is the sharpening picture of user's needs, by the technical scheme, blurred picture is processed as to be adapted to use The clear picture that family is checked, in order to avoid causing user's substantial amounts of useful information in missing picture because of picture blur, is conducive to lifting The experience of user.
Brief description of the drawings
What Fig. 1 showed one embodiment according to the first aspect of the invention carries out sharpening treatment to blurred picture The schematic flow sheet of method.
What Fig. 2 showed another embodiment according to the first aspect of the invention carries out sharpening treatment to blurred picture Method schematic flow sheet.
What Fig. 3 showed further embodiment according to the first aspect of the invention carries out sharpening treatment to blurred picture Method schematic flow sheet.
What Fig. 4 showed one embodiment according to the second aspect of the invention carries out sharpening treatment to blurred picture The schematic diagram of device.
What Fig. 5 showed further embodiment according to the second aspect of the invention carries out sharpening treatment to blurred picture Device schematic diagram.
What Fig. 6 showed another embodiment according to the second aspect of the invention carries out sharpening treatment to blurred picture Device schematic diagram.
Fig. 7 shows the schematic diagram of the terminal of one embodiment according to the third aspect of the invention we.
Fig. 8 shows a kind of stream of implementation method that sharpening treatment is carried out to blurred picture according to embodiments of the present invention Journey schematic diagram.
Fig. 9 shows the picture schematic diagram of mobile phone according to Fig. 8 to blurred picture before and after treatment.
Figure 10 shows mobile terminal hardware architecture diagram according to embodiments of the present invention.
Specific embodiment
It is below in conjunction with the accompanying drawings and specific real in order to be more clearly understood that the above objects, features and advantages of the present invention Mode is applied to be further described in detail the present invention.It should be noted that in the case where not conflicting, the implementation of the application Feature in example and embodiment can be mutually combined.
Many details are elaborated in the following description in order to fully understand the present invention, but, the present invention may be used also Implemented with being different from other modes described here using other, therefore, protection scope of the present invention is not limited to following public affairs The limitation of the specific embodiment opened.
What Fig. 1 showed one embodiment according to the first aspect of the invention carries out sharpening treatment to blurred picture The schematic flow sheet of method.
As shown in figure 1, the method that sharpening treatment is carried out to blurred picture, specifically includes:
Step 102, obtains blurred picture;
Step 104, replicates blurred picture, obtains two width pictures, respectively the first picture and second picture;
Step 106, equal proportion compression is carried out by the first picture, obtains thumbnail, obtains the image data of thumbnail;
Step 108, equal proportion amplification is carried out by second picture, according to the image data of the first picture, to amplification after Two pictures are processed, the clear picture after being processed.
In this embodiment, step 102, after terminal gets blurred picture, step 104 enters the blurred picture Row is once replicated, and two pictures are obtained after duplication, any selection wherein pictures as the first picture, step 106, by this One picture carries out equal proportion compression, and compression factor can set in advance, it is also possible to carry out sets itself by user, until the first picture Untill reaching satisfied definition, that is, obtain the small clearly thumbnail of a hypertonic;Then step 108, according to terminal display Size or user itself are set and carry out equal proportion amplification by second, then second picture is carried out according to the image data of thumbnail Sharpening treatment, the second picture after treatment is the sharpening picture of user's needs, by the technical scheme, by Fuzzy Processing It is to be adapted to the clear picture checked of user, in order to avoid causing user's substantial amounts of useful information in missing picture because of picture blur, has Beneficial to the experience of lifting user.
What Fig. 2 showed one embodiment according to the first aspect of the invention carries out sharpening treatment to blurred picture The schematic flow sheet of method.
As shown in Fig. 2 the method that sharpening treatment is carried out to blurred picture, specifically includes:
Step 202, obtains blurred picture;
Step 204, analyzes blurred picture, obtains the image data of blurred picture;
Step 206, according to the image data of blurred picture, rebuilds filter.
Step 208, replicates blurred picture, obtains two width pictures, respectively the first picture and second picture;
Step 210, equal proportion compression is carried out by the first picture, obtains thumbnail, obtains the image data of the thumbnail;
Step 212, equal proportion amplification is carried out by second picture, according to the image data of thumbnail, second picture is carried out Treatment, the clear picture after being processed.
In this embodiment, step 202, after terminal gets blurred picture, step 204, analysis blurred picture Image data, then step 206, rebuilds filter, to carry out preliminary sharpening treatment to blurred picture, so for image data The first picture and second picture after duplication can be more clear than blurred picture, are conducive to follow-up sharpening to process, step 208, Blurred picture after preliminary sharpening is once replicated, two pictures are obtained after duplication, any selection wherein pictures Used as the first picture, first picture is carried out equal proportion compression by step 210, and compression factor can set in advance, it is also possible to by User carrys out sets itself, untill the first picture reaches satisfied definition, that is, obtains the small clearly thumbnail of a hypertonic;So Step 212 afterwards, set according to terminal display size or user itself carries out equal proportion amplification by second, then by the second figure Piece carries out sharpening treatment according to the image data of the first picture, and the second picture after treatment is the sharpening figure of user's needs Piece, is to be adapted to the clear picture that user checks by Fuzzy Processing by the technical scheme, in order to avoid cause user because of picture blur Substantial amounts of useful information in picture is missed, is conducive to being lifted the experience of user.
In such an embodiment, it is preferable rebuild filter specifically including:According to the image data of blurred picture, selection is fuzzy Pattern;The radius value that modification USM is sharpened, makes blurred picture reach default optimal clear state.Picture number according to blurred picture The fuzzy pattern of the blurred picture processed according to analysis, it may be possible to which that is caused due to focusing failure when shooting is out of focus fuzzy; Be also likely to be shoot when due to shake caused by motion blur;It is Gaussian Blur etc. to be also possible to, fuzzy according to what is analyzed Pattern, selects corresponding with blurred picture fuzzy pattern, then, the radius value of modification USM sharpenings, until blurred picture reach it is pre- If optimal clear state.
What Fig. 3 showed another embodiment according to the first aspect of the invention carries out sharpening treatment to blurred picture Method schematic flow sheet.
As shown in figure 3, the method that sharpening treatment is carried out to blurred picture, specifically includes:
Step 302, obtains blurred picture;
Step 304, replicates blurred picture, obtains two width pictures, respectively the first picture and second picture;
Step 306, equal proportion compression is carried out by the first picture, obtains thumbnail, obtains the image data of thumbnail;
Step 308, adds shade on thumbnail;
Step 310, equal proportion amplification is carried out by second picture, according to the image data of thumbnail, second picture is carried out Treatment, the clear picture after being processed.
In this embodiment, step 302, after terminal gets blurred picture, step 304 enters the blurred picture Row is once replicated, and two pictures are obtained after duplication, any selection wherein pictures as the first picture, step 306, by this One picture carries out equal proportion compression, and compression factor can set in advance, it is also possible to carry out sets itself by user, until the first picture Untill reaching satisfied definition, that is, obtain the small clearly thumbnail of a hypertonic;Then step 308, adds on thumbnail and hides Cover, realizes image morphing effect, while can prevent from performing maloperation in image layer region again;Final step 310, according to end End display screen size or user itself set and carry out equal proportion amplification by second, then by second picture according to thumbnail figure Sheet data carries out sharpening treatment, and the second picture after treatment is the sharpening picture of user's needs, by the embodiment, leads to One clear picture of amplification of generation is crossed, blurred picture is processed as to be adapted to the clear picture that user checks, in order to avoid because of picture mould Paste and cause user to miss substantial amounts of useful information in picture, be conducive to being lifted the experience of user.
In any embodiment of above-mentioned first aspect, it is preferable that the mode processed the second picture after amplification Including:One or more in image recovery, image uncoiling and superposition noise.
In this embodiment, second picture is processed by image recovery, picture uncoiling or superposition noise, these Processing mode can make blurred picture become clear.For example, image recovers to be, using the priori of image degradation, to go to recover to degenerate Image is the true colours of blurred picture, and its basic ideas is first to set up the Mathematical Modeling of degeneration, then according to the model to moving back Change image to be fitted, so as to improve the quality of image, blurred picture is become clear.
What Fig. 4 showed one embodiment according to the second aspect of the invention carries out sharpening treatment to blurred picture The schematic diagram of device.
As shown in figure 4, the device 400 of sharpening treatment is carried out to blurred picture, including:
Acquiring unit 402, obtains blurred picture;
Copied cells 404, replicates blurred picture, obtains two width pictures, respectively the first picture and second picture;
Compression unit 406, equal proportion compression is carried out by the first picture, obtains thumbnail, obtains the image data of thumbnail;
Processing unit 408, equal proportion amplification is carried out by second picture, according to the image data of thumbnail, after amplification Second picture is processed, the clear picture after being processed.
In this embodiment, after the acquiring unit 402 of terminal gets blurred picture, copied cells 404 is by the mould Paste picture is once replicated, and two pictures are obtained after duplication, and any selection wherein pictures are used as the first picture, and compression is single First picture is carried out equal proportion compression by unit 406, and compression factor can set in advance, it is also possible to carry out sets itself by user, Untill the first picture reaches satisfied definition, that is, obtain the small clearly thumbnail of a hypertonic;Then processing unit 408 is pressed Set according to terminal display size or user itself carries out equal proportion amplification by second, then by second picture according to thumbnail Image data carry out sharpening treatment, the second picture after treatment be user needs sharpening picture, by the implementation Example, is to be adapted to the clear picture that user checks by Fuzzy Processing, so as not to it is a large amount of in causing user to miss picture because of picture blur Useful information, be conducive to lifted user experience.
What Fig. 5 showed further embodiment according to the second aspect of the invention carries out sharpening treatment to blurred picture Device schematic diagram.
As shown in figure 5, the device 500 of sharpening treatment is carried out to blurred picture, including:
Acquiring unit 502, obtains blurred picture;
Copied cells 504, replicates blurred picture, obtains two width pictures, respectively the first picture and second picture;
Compression unit 506, equal proportion compression is carried out by the first picture, obtains thumbnail, obtains the image data of thumbnail;
Processing unit 508, equal proportion amplification is carried out by second picture, according to the image data of thumbnail, after amplification Second picture is processed, the clear picture after being processed.
Analytic unit 510, analyzes blurred picture, obtains the image data of blurred picture;Reconstruction unit
512, according to image data, rebuild filter.
In this embodiment, after the acquiring unit 502 of terminal gets blurred picture, replicate blurred picture it Before, that is, before the first picture and second picture is obtained, analytic unit 510 first analyzes the image data of blurred picture, so Reconstruction unit 512 carries out reconstruction filter for image data afterwards, and preliminary sharpening is carried out with to blurred picture, after so replicating First picture and second picture can be more clear than blurred picture, are conducive to follow-up sharpening to process, and copied cells 504 is first by this The blurred picture for walking sharpening is once replicated, and two pictures are obtained after duplication, and any selection wherein pictures are used as the First picture is carried out equal proportion compression by one picture, compression unit 506, and compression factor can set in advance, it is also possible to by with Sets itself is carried out at family, untill the first picture reaches satisfied definition, that is, obtains the small clearly thumbnail of a hypertonic;Then Processing unit 508 sets according to terminal display size or user itself and carries out equal proportion amplification by second, then by second Picture carries out sharpening treatment according to the image data of thumbnail, and the second picture after treatment is the sharpening figure of user's needs Piece, is to be adapted to the clear picture that user checks by Fuzzy Processing by the embodiment, in order to avoid cause user wrong because of picture blur Substantial amounts of useful information in picture is crossed, is conducive to being lifted the experience of user.
In such an embodiment, it is preferable reconstruction unit is specifically included:Select unit, according to image data, the fuzzy mould of selection Formula;Modification unit, the radius value that modification USM is sharpened makes blurred picture reach default optimal clear state.According to blurred picture The fuzzy pattern of the blurred picture that image data analysis is being processed, it may be possible to which that is caused due to focusing failure when shooting is out of focus It is fuzzy;Be also likely to be shoot when due to shake caused by motion blur;It is also possible to be Gaussian Blur etc., according to what is analyzed Fuzzy pattern, select unit selects fuzzy pattern corresponding with blurred picture, then, the radius that modification unit modification USM is sharpened Value, until blurred picture reaches default optimal clear state.
What Fig. 6 showed another embodiment according to the second aspect of the invention carries out sharpening treatment to blurred picture Device schematic diagram.
As shown in fig. 6, the device 400 of sharpening treatment is carried out to blurred picture, including:
Acquiring unit 602, obtains blurred picture;
Copied cells 604, replicates blurred picture, obtains two width pictures, respectively the first picture and second picture;
Compression unit 606, equal proportion compression is carried out by the first picture, obtains thumbnail, obtains the image data of thumbnail;
Processing unit 608, equal proportion amplification is carried out by second picture, according to the image data of thumbnail, after amplification Second picture is processed, the clear picture after being processed.
Adding device 610, adds shade on thumbnail.
In this embodiment, after the acquiring unit 602 of terminal gets blurred picture, copied cells 604 is by the mould Paste picture is once replicated, and two pictures are obtained after duplication, and any selection wherein pictures are used as the first picture, and compression is single First picture is carried out equal proportion compression by unit 606, and compression factor can set in advance, it is also possible to carry out sets itself by user, Untill the first picture reaches satisfied definition, that is, obtain the small clearly thumbnail of a hypertonic;Adding device 608 is in breviary Figure adds a shade above, and shade is at the beginning somewhat transparent, gradually becomes all-transparent, first it to display when so showing Out, reload second picture, it is therefore an objective to replace thumbnail, then processing unit 610 according to terminal display size or User itself is set and for second picture to carry out equal proportion amplification, then second picture is carried out clearly according to the image data of thumbnail Change is processed, and the second picture after treatment is the sharpening picture of user's needs, by the embodiment, blurred picture is given birth to again The clear picture that being cleaned into one, amplifying, suitable user checks, is conducive to user to check letter originally fuzzy in picture Breath, improves the experience of user.
In any embodiment of above-mentioned second aspect, it is preferable that sharpening processing mode is specifically included:Image uncoiling, One or more in image degradation and superposition noise.
In this embodiment, second picture is processed by image recovery, picture uncoiling and superposition noise, this A little processing modes can make blurred picture become clear.For example, image recovers to be, using the priori of image degradation, to go recovery to move back Change the true colours that image is blurred picture, its basic ideas is first to set up the Mathematical Modeling of degeneration, then according to the model pair Degraded image is fitted, and so as to improve the quality of image, blurred picture is become clear.
Fig. 7 shows the schematic diagram of the terminal of one embodiment according to the third aspect of the invention we.
As shown in fig. 7, in terminal 700, including above-mentioned second aspect technical scheme any technical scheme to blurred picture Carry out the device 702 of sharpening treatment.
In this embodiment, after terminal 700 gets blurred picture, blurred picture is replicated, is obtained two width Picture, respectively the first picture and second picture, any selection wherein pictures enter first picture as the first picture Row equal proportion is compressed, and compression factor can set in advance, it is also possible to carry out sets itself by user, until the first picture reaches satisfaction Definition untill, that is, obtain the small clearly thumbnail of a hypertonic;Then according to terminal display size or user itself Setting carries out equal proportion amplification by second, then second picture is carried out into sharpening treatment according to the image data of thumbnail, processes Second picture afterwards is the sharpening picture of user's needs, by the technical scheme, blurred picture is processed as to be adapted to user The clear picture checked, in order to avoid causing user's substantial amounts of useful information in missing picture because of picture blur, is conducive to lifting to use The experience at family.
In such an embodiment, it is preferable before blurred picture is replicated, first blurred picture is pre-processed, by weight Filter is built to reach preliminary sharpening treatment.
Fig. 8 shows a kind of stream of implementation method that sharpening treatment is carried out to blurred picture according to embodiments of the present invention Journey schematic diagram.
As shown in figure 8, by taking mobile phone as an example, being mounted with intelligent assistant images Reconstruction of The Function in cell phone system setting, specifically Implementation steps are as follows;
Step 802, is loaded into network picture or the free picture of user and word;
Step 804, clicks on " intelligent assistant images Reconstruction of The Function " button;
Step 806, selection good model (discharge of the coke fuzzy, motion blur, Gaussian Blur) slowly adjusts radius size and allows image Filter is rebuild, USM is sharpened to optimum state;
Step 808, the treatment of respectively two width figures is carried out by artwork, and the first width figure carries out downsizing so that overall clear;The Two width figures are amplified;
Step 810, in one view (shade) of the first width figure upper cover, shade is at the beginning (somewhat transparent), is gradually become Into all-transparent, first it to showing when so showing, the second width figure is reloaded, the second width figure is carried out into repair process, and Replace the first width figure.
In this embodiment, step 802, mobile phone is loaded into network picture or the free picture of user and word, selects Jiao The fuzzy, image of motion blur, Gaussian Blur, step 804 clicks on " intelligent assistant images Reconstruction of The Function " button, using intelligence Handset image recognize or the photo chosen to user of Text region processing module or website inside blurred picture divided Analysis, according to the regional extent that user selects, i.e. picture or website, step 806, (discharge of the coke selection good model fuzzy, motion mould Paste, Gaussian Blur) slowly adjustment radius size allow image reconstruction filter, USM is sharpened to optimum state.Step 808, by artwork point Be the treatment of two width figures, the first width figure be compressed, obtain thumbnail so that overall clear, wherein, thumbnail be system according to One pictures of artwork size compression, its capacity is very small, originally can just reduce the tens of several K byte;And according to Be amplified for second width figure by the setting of the size of mobile phone screen or user itself, then step 810, on the first width figure One shade (view) of lid, shade is at the beginning somewhat transparent, gradually becomes all-transparent, and first it is shown when so showing Come, reload the second width figure, the second width figure is carried out into repair process, and replace the first width figure, the second width figure is carried out according to the One width figure (reduce and clearly scheme) is repaired, and is divided into image recovery, image uncoiling etc., wherein, it is to utilize image degradation that image recovers The priori of process is gone to recover by the true colours of degraded image, and it is (general that image degradation can be expressed as degeneration kernel function Referred to as convolution kernel) and original image convolution, specifically, such as, the actual light luminance scope of the first width figure is 0~1000, RGB branch The effective range held is 250~500, and that all can only be recorded as 500 more than 500, and it is inverse from 500 that the later stage is processed the second width figure It is which value in 500~1000 to anti-original brightness of releasing, can so reaches the second width figure and the reparation of the first width figure is identical, Simultaneously using the second width figure as treated clear picture, the process of noise is finally overlapped, in a word, image recovery process is just It is the process for estimating picture rich in detail as far as possible from the blurred picture for obtaining.
Fig. 9 shows the picture schematic diagram of mobile phone according to Fig. 8 to blurred picture before and after treatment.
As shown in figure 9, left figure is the picture schematic diagram to blurred picture before processing, right figure is to after blurred picture treatment Picture schematic diagram, wherein, left figure is because the blurred picture that Jiao is fuzzy, motion blur, the medium original of Gaussian Blur are thus resulted in shows It is intended to, by the unique Kernel Technology of mobile phone terminal, allows image to be rebuild, fuzzy image and written historical materials moment is variable Obtain clear and legible.Certainly, after by optimization, defect image can not meet the shooting requirement of high definition, but in some daily works In work, the important informations, such mobile phone such as building in photo, personage or text information can be seen by the embodiment Terminal passes through the image-capable for carrying so that as long as cellphone subscriber presses, selecting can easily realize making to obscure Picture becomes clearly purpose.
Figure 10 shows mobile terminal hardware architecture diagram according to embodiments of the present invention.
Figure 10 is another mobile terminal 1 000 disclosed in the embodiment of the present invention, can be used for implementing above-mentioned Fig. 1 to Fig. 9 institutes The method that the various embodiments of the present invention shown are realized, for convenience of description, illustrate only chief component, and particular technique details is not Disclose, refer to various embodiments of the present invention.Wherein, as shown in Figure 10, the hardware configuration of mobile terminal 1 000 mainly include but It is not limited to:Display screen 1002, memory 1004 and processor 1006;Display screen 1002 and memory 1004 pass through data/address bus 1008 are connected to processor 1006.
Operation of the invention is explained from hardware view with reference to technical characteristics of the invention:In the treatment of terminal Device 1006 is opened after blurred picture of the storage in memory 1004 or on network, and blurred picture is included in display screen On 1002, before blurred picture is replicated, processor 1006 first passes through reconstruction filter and blurred picture is carried out at preliminary sharpening Reason, is then replicated blurred picture, obtains two width pictures, respectively the first picture and second picture, and any selection is wherein First picture is carried out equal proportion compression by one pictures as the first picture, and compression factor can set in advance, it is also possible to by User carrys out sets itself, untill the first picture reaches satisfied definition, that is, obtain the small clearly thumbnail of a hypertonic; Then set according to terminal display size or user itself carries out equal proportion amplification by second picture, then by second picture Image data according to thumbnail carries out sharpening treatment, and the second picture after treatment is the sharpening picture of user's needs, By the technical scheme, blurred picture is processed as to be adapted to the clear picture that user checks, in order to avoid cause to use because of picture blur Substantial amounts of useful information in picture is missed at family, is conducive to being lifted the experience of user.
All or part of step in the various methods of above-described embodiment can be by program to control the hardware of correlation To complete, the program can be stored in readable storage medium storing program for executing (memory 1004 as shown in Figure 10), and storage medium is included only Read memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), may be programmed only Read memory (Programmable Read-only Memory, PROM), Erasable Programmable Read Only Memory EPROM (Erasable Programmable Read Only Memory, EPROM), disposable programmable read-only storage (One-time Programmable Read-Only Memory, OTPROM), the electronics formula of erasing can make carbon copies read-only storage (Electrically-Erasable Programmable Read-Only Memory, EEPROM), read-only optical disc (Compact Disc Read-Only Memory, CD-ROM) or other disk storages, magnetic disk storage, magnetic tape storage or can For carrying or any other readable medium of data storage.
Technical scheme is described in detail above in association with accompanying drawing, the present invention is proposed and a kind of blurred picture carried out The method of sharpening treatment, by blurred picture sharpening, in order to avoid cause that user is substantial amounts of in missing picture to be had because of picture blur With information, be conducive to being lifted the experience of user.
Step in present invention method can according to actual needs carry out order adjustment, merge and delete, this hair Part in bright embodiment can according to actual needs be merged, divides and deleted.The foregoing is only of the invention preferred Embodiment, is not intended to limit the invention, for a person skilled in the art, the present invention can have it is various change and Change.All any modification, equivalent substitution and improvements within the spirit and principles in the present invention, made etc., should be included in this hair Within bright protection domain.

Claims (10)

1. a kind of method that sharpening treatment is carried out to blurred picture, for terminal, it is characterised in that including:
Obtain the blurred picture;
The blurred picture is replicated, two width pictures, respectively the first picture and second picture are obtained;
First picture is carried out into equal proportion compression, thumbnail is obtained, the image data of the thumbnail is obtained;
The second picture is carried out into equal proportion amplification, according to the image data of the thumbnail, to amplification after described second Picture is processed, the clear picture after being processed.
2. method according to claim 1, it is characterised in that it is described replicate the blurred picture before, also include:
The blurred picture is analyzed, the image data of the blurred picture is obtained;
According to the image data of the blurred picture, filter is rebuild.
3. method according to claim 2, it is characterised in that the reconstruction filter is specifically included:
According to the image data of the blurred picture, fuzzy pattern is selected;
The radius value that modification USM is sharpened, makes the blurred picture reach default optimal clear state.
4. the method according to claim 1 pair, it is characterised in that the second picture after amplifying at described Dui carries out treatment Before, also include:
Shade is added on the thumbnail.
5. method according to any one of claim 1 to 4, it is characterised in that described pair amplify after second picture enter The mode of row treatment is specifically included:One or more in image recovery, image uncoiling and superposition noise.
6. a kind of device that sharpening treatment is carried out to blurred picture, for terminal, it is characterised in that including:
Acquiring unit, obtains the blurred picture;
Copied cells, replicates the blurred picture, obtains two width pictures, respectively the first picture and second picture;
Compression unit, equal proportion compression is carried out by first picture, obtains thumbnail, obtains the picture number of the thumbnail According to;
Processing unit, equal proportion amplification is carried out by the second picture, according to the image data of the thumbnail, after amplification The second picture is processed, the clear picture after being processed.
7. device according to claim 6, it is characterised in that also include:
Analytic unit, analyzes the blurred picture, obtains the image data of the blurred picture;
Reconstruction unit, according to the image data of the blurred picture, rebuilds filter.
8. device according to claim 7, it is characterised in that the reconstruction unit is specifically included:
Select unit, according to the image data of the blurred picture, selects fuzzy pattern;
Modification unit, the radius value that modification USM is sharpened makes the blurred picture reach default optimal clear state.
9. the device according to claim 6 pair, it is characterised in that also include:
Adding device, shade is added on the thumbnail.
10. the device according to any one of claim 6 to 9, it is characterised in that described pair amplify after second picture enter The mode of row treatment includes:One or more in image recovery, image uncoiling or superposition noise.
CN201710006326.9A 2017-01-05 2017-01-05 Method, device and the terminal of sharpening treatment are carried out to blurred picture Pending CN106875350A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710006326.9A CN106875350A (en) 2017-01-05 2017-01-05 Method, device and the terminal of sharpening treatment are carried out to blurred picture

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710006326.9A CN106875350A (en) 2017-01-05 2017-01-05 Method, device and the terminal of sharpening treatment are carried out to blurred picture

Publications (1)

Publication Number Publication Date
CN106875350A true CN106875350A (en) 2017-06-20

Family

ID=59165362

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710006326.9A Pending CN106875350A (en) 2017-01-05 2017-01-05 Method, device and the terminal of sharpening treatment are carried out to blurred picture

Country Status (1)

Country Link
CN (1) CN106875350A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107888707A (en) * 2017-12-08 2018-04-06 北京奇艺世纪科技有限公司 A kind of picture transmission method, device and electronic equipment
CN109281523A (en) * 2018-10-15 2019-01-29 佛山市高明区安承升降装备研究院 Energy-saving elevator system
CN110956589A (en) * 2019-10-17 2020-04-03 国网山东省电力公司电力科学研究院 Image blurring processing method, device, equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102034222A (en) * 2009-09-30 2011-04-27 卡西欧计算机株式会社 Image processing apparatus and image processing method
CN103516953A (en) * 2012-06-20 2014-01-15 索尼公司 Image processing apparatus, imaging apparatus, image processing method, and program
US20140268061A1 (en) * 2013-03-13 2014-09-18 Robert C. Weisgerber Method for selectively imparting a cinematic appearance to motion pictures photographed and exhibited at high frame rates
CN104616248A (en) * 2014-11-20 2015-05-13 杭州电子科技大学 Single image deblurring method combined with margin analysis and total variation
CN105260986A (en) * 2015-10-13 2016-01-20 武汉大学 Anti-fuzzy image amplification method
CN105976333A (en) * 2016-04-29 2016-09-28 广东小天才科技有限公司 Picture blur correction method and device and intelligent equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102034222A (en) * 2009-09-30 2011-04-27 卡西欧计算机株式会社 Image processing apparatus and image processing method
CN103516953A (en) * 2012-06-20 2014-01-15 索尼公司 Image processing apparatus, imaging apparatus, image processing method, and program
US20140268061A1 (en) * 2013-03-13 2014-09-18 Robert C. Weisgerber Method for selectively imparting a cinematic appearance to motion pictures photographed and exhibited at high frame rates
CN104616248A (en) * 2014-11-20 2015-05-13 杭州电子科技大学 Single image deblurring method combined with margin analysis and total variation
CN105260986A (en) * 2015-10-13 2016-01-20 武汉大学 Anti-fuzzy image amplification method
CN105976333A (en) * 2016-04-29 2016-09-28 广东小天才科技有限公司 Picture blur correction method and device and intelligent equipment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
赵晨阳, 高等教育出版社 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107888707A (en) * 2017-12-08 2018-04-06 北京奇艺世纪科技有限公司 A kind of picture transmission method, device and electronic equipment
CN107888707B (en) * 2017-12-08 2021-04-20 北京奇艺世纪科技有限公司 Picture transmission method and device and electronic equipment
CN109281523A (en) * 2018-10-15 2019-01-29 佛山市高明区安承升降装备研究院 Energy-saving elevator system
CN110956589A (en) * 2019-10-17 2020-04-03 国网山东省电力公司电力科学研究院 Image blurring processing method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
JP6803899B2 (en) Image processing methods, image processing equipment and electronic devices
TWI704524B (en) Method and device for image polishing
US8135184B2 (en) Method and apparatus for detection and correction of multiple image defects within digital images using preview or other reference images
CN108764370A (en) Image processing method, device, computer readable storage medium and computer equipment
CN106875350A (en) Method, device and the terminal of sharpening treatment are carried out to blurred picture
CN103685934B (en) Image editing apparatus
CN108401112A (en) Image processing method, device, terminal and storage medium
CN113450290B (en) Low-illumination image enhancement method and system based on image inpainting technology
CN105407261A (en) Image processing device and method, and electronic equipment
WO2016188185A1 (en) Photo processing method and apparatus
CN103685937B (en) Image editing apparatus and image edit method
CN111372006A (en) High dynamic range imaging method and system for mobile terminal
CN101563913B (en) Removal of artifacts in flash images
WO2023202200A1 (en) Method for reconstructing hdr images, terminal, and electronic device
CN105580050A (en) Providing control points in images
CN110956063A (en) Image processing method, device, equipment and storage medium
CN117391975A (en) Efficient real-time underwater image enhancement method and model building method thereof
JP6033006B2 (en) Image processing apparatus, control method thereof, control program, and imaging apparatus
CN104144286A (en) Imaging apparatus and imaging method
Fattal et al. Edge-based image coarsening
Pan et al. DICNet: achieve low-light image enhancement with image decomposition, illumination enhancement, and color restoration
CN111953888A (en) Dim light imaging method and device, computer readable storage medium and terminal equipment
CN109447927A (en) Image processing method and device, electronic equipment, computer readable storage medium
CN115690130A (en) Image processing method and device
Capece et al. Turning a smartphone selfie into a studio portrait

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20170620

RJ01 Rejection of invention patent application after publication