CN106127720A - A kind of method and apparatus shooting enlarged drawing picture - Google Patents

A kind of method and apparatus shooting enlarged drawing picture Download PDF

Info

Publication number
CN106127720A
CN106127720A CN201610498736.5A CN201610498736A CN106127720A CN 106127720 A CN106127720 A CN 106127720A CN 201610498736 A CN201610498736 A CN 201610498736A CN 106127720 A CN106127720 A CN 106127720A
Authority
CN
China
Prior art keywords
image
pixel
pending
pixel value
preset number
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
CN201610498736.5A
Other languages
Chinese (zh)
Other versions
CN106127720B (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.)
Hisense Mobile Communications Technology Co Ltd
Original Assignee
Hisense Mobile Communications Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hisense Mobile Communications Technology Co Ltd filed Critical Hisense Mobile Communications Technology Co Ltd
Priority to CN201610498736.5A priority Critical patent/CN106127720B/en
Publication of CN106127720A publication Critical patent/CN106127720A/en
Application granted granted Critical
Publication of CN106127720B publication Critical patent/CN106127720B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00Image enhancement or restoration
    • G06T5/50Image enhancement or restoration using two or more images, e.g. averaging or subtraction
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T3/00Geometric image transformations in the plane of the image
    • G06T3/40Scaling of whole images or parts thereof, e.g. expanding or contracting
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00Image enhancement or restoration
    • G06T5/70Denoising; Smoothing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/20Special algorithmic details
    • G06T2207/20212Image combination
    • G06T2207/20216Image averaging

Landscapes

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

Abstract

The invention discloses a kind of method and apparatus shooting enlarged drawing picture, belong to image processing field.Described method includes: receive image taking instruction, is continuously shot the pending image of preset number;Based on the pixel value of the pixel of correspondence position in different pending images, carry out pixel value handling averagely, obtain average image;It is amplified described average image processing, is amplified image.Use the present invention, the signal to noise ratio of enlarged drawing picture can be improved.

Description

A kind of method and apparatus shooting enlarged drawing picture
Technical field
The present invention relates to image processing field, particularly to a kind of method and apparatus shooting enlarged drawing picture.
Background technology
Existing mobile phone the most all possesses camera function, and user generally likes being recorded the some point of life by mobile phone photograph Drip.User can arrange the size (i.e. resolution) of the photo of shooting, and so, user can obtain difference by mobile phone shooting The photo of size.
If user wants to shoot the photo of high pixel, then the size of photo can be first set before taking pictures, be then turned on Camera function is taken pictures.At this moment, mobile phone can first shoot the photo obtaining the maximum pixel that a mobile lens is supported, so After be amplified processing, such that it is able to generate the photo of high pixel to photo further according to the size of user setup.
During realizing the present invention, inventor finds that prior art at least there is problems in that
Affected by the factor such as stochastic signal, electromagnetic interference, the photo that terminal taking completes can be existed noise, at mobile phone During photo is amplified processing, noise also can be amplified accordingly, and so, the signal to noise ratio of enlarged drawing picture is relatively low.
Summary of the invention
In order to solve problem of the prior art, embodiments provide a kind of method shooting enlarged drawing picture and dress Put.Described technical scheme is as follows:
First aspect, it is provided that a kind of method shooting enlarged drawing picture, described method includes:
Reception image taking instructs, and is continuously shot the pending image of preset number;
Based on the pixel value of the pixel of correspondence position in different pending images, carry out pixel value handling averagely, To average image;
It is amplified described average image processing, is amplified image.
Second aspect, it is provided that a kind of device shooting enlarged drawing picture, described device includes:
Taking module, is used for receiving image taking instruction, is continuously shot the pending image of preset number;
Averaging module, for based on the pixel value of the pixel of correspondence position in different pending images, carries out pixel value Handling averagely, obtains average image;
Amplification module, for described average image is amplified process, is amplified image.
The technical scheme that the embodiment of the present invention provides has the benefit that
In the embodiment of the present invention, receive image taking instruction, be continuously shot the pending image of preset number;Based on difference The pixel value of the pixel of correspondence position in pending image, carries out pixel value handling averagely, obtains average image;To average Image is amplified processing, and is amplified image.So, average by pixel in multiple pending images is carried out pixel value Change processes, the noise that can effectively decay in the pending image impact on average image, such that it is able to improve enlarged drawing picture Signal to noise ratio.
Accompanying drawing explanation
For the technical scheme being illustrated more clearly that in the embodiment of the present invention, in embodiment being described below required for make Accompanying drawing be briefly described, it should be apparent that, below describe in accompanying drawing be only some embodiments of the present invention, for From the point of view of those of ordinary skill in the art, on the premise of not paying creative work, it is also possible to obtain other according to these accompanying drawings Accompanying drawing.
Fig. 1 is a kind of method flow diagram shooting enlarged drawing picture that the embodiment of the present invention provides;
Fig. 2 is a kind of rough schematic determining dynamic area that the embodiment of the present invention provides;
Fig. 3 is the rough schematic that a kind of offset correction that the embodiment of the present invention provides processes;
Fig. 4 is a kind of rough schematic generating average image that the embodiment of the present invention provides;
Fig. 5 is a kind of schematic diagram determining pixel pixel value that the embodiment of the present invention provides;
Fig. 6 is a kind of schematic diagram determining pixel pixel value that the embodiment of the present invention provides;
Fig. 7 is a kind of apparatus structure schematic diagram shooting enlarged drawing picture that the embodiment of the present invention provides;
Fig. 8 is a kind of apparatus structure schematic diagram shooting enlarged drawing picture that the embodiment of the present invention provides;
Fig. 9 is a kind of apparatus structure schematic diagram shooting enlarged drawing picture that the embodiment of the present invention provides;
Figure 10 is the apparatus structure schematic diagram of a kind of terminal that the embodiment of the present invention provides.
Detailed description of the invention
For making the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing to embodiment party of the present invention Formula is described in further detail.
Embodiments providing a kind of method shooting enlarged drawing picture, the executive agent of the method is terminal.Wherein, Terminal can be any terminal with image camera function and image processing function, such as mobile phone, computer etc..Can in terminal To be provided with photographic head, processor, memorizer, screen etc..Photographic head can be used to shoot image, and processor may be used for figure Process as amplifying processes, memorizer may be used for being stored in carry out image amplification during need to use or storage Data screen is displayed for image, can be the screen of touch.In the present embodiment, as a example by terminal is as mobile phone, carry out The detailed description of scheme, other situation is similar to therewith, and the present embodiment is not repeated.
Below in conjunction with detailed description of the invention, being described in detail the handling process shown in Fig. 1, content can be as Under:
Step 101, receives image taking instruction, is continuously shot the pending image of preset number.
In force, user can open and be arranged in terminal, and for shooting the application program of image class, and click is opened Opening super-pixel camera function, shooting button can be clicked on, at this moment, eventually in region to be captured for the alignment lens of terminal by user afterwards End can receive image taking instruction, such that it is able to be continuously shot the pending image of preset number at short notice.Need Illustrating, the pending image of preset number is the image that this programme terminal carries out that image processing process needs to use herein, Rather than it is eventually displayed to the image of user.
Optionally, it is contemplated that when being continuously shot, owing to being clapped the motion of scenery, will deposit between multiple pending images In the difference of large area, also should include processing as follows for before this situation, step 102: by pending for preset number A pending image in image, is set to benchmark image, at pending image individual for preset number outside benchmark image Other pending image each, determines the dynamic pixel point in other pending image, the pixel value of dynamic pixel point and benchmark In image, the difference of the pixel value of the pixel of correspondence position is more than predetermined threshold value, in other pending image, determines by many The dynamic area of individual adjacent dynamic pixel point composition.
In force, terminal, can be from above-mentioned multiple pending after being continuously shot the pending image of preset number Arbitrarily choosing a pending image in image and be set to benchmark image, this sentences and takes image on the basis of first pending image As a example by, it is briefly described.Afterwards, terminal can obtain the pixel value of pixel in all pending images, and respectively will be pre- If number pending image other pending image each in addition to benchmark image contrasts with benchmark image, i.e. compare it Its pending image and the pixel value of the pixel of correspondence position in benchmark image, if certain in other pending image The pixel value of individual pixel, more than predetermined threshold value then should with the difference of the pixel value of the pixel of correspondence position in benchmark image The dynamic pixel point that pixel is defined as.Be appreciated that dynamic pixel point except can be due to by clap scenery motion and produce Dynamic pixel point, it is also possible to be noise, so, in order to get rid of the impact of noise, dynamic area can be set, dynamic area by Multiple adjacent dynamic pixel points are constituted, herein, adjacent refer in dynamic area there is not isolated dynamic pixel point, and dynamic The number of the dynamic pixel point in state region is more than predetermined threshold value, as shown in Figure 2.
Optionally, it is contemplated that when being continuously shot, due to the shake of terminal during shooting, will between multiple pending images The skew of the general image existed, also should include processing as follows for before this situation, step 102: treat with preset number Process a pending image in image as benchmark image, determine in the pending image of preset number in addition to benchmark image Other pending image each, relative to the image shift amount of benchmark image;Wait to locate to each other according to image shift amount Reason image carries out offset correction process.
In force, terminal, can be from above-mentioned multiple pending after being continuously shot the pending image of preset number Arbitrarily choosing a pending image in image and be set to benchmark image, this sentences and takes image on the basis of first pending image As a example by, it is briefly described.Afterwards, during terminal may determine that preset number pending image in addition to benchmark image each its Its image, relative to the image shift amount of benchmark image.Determine the image shift relative to benchmark image of other pending image The process of amount is varied, is referred to the processing mode in the middle of prior art, such as existing patent CN104809716A, the most not Repeat again.After determining image shift amount, other pending image each can be offset by terminal according to image shift amount Correcting process, concrete, if certain other pending image B relative to benchmark image A general image to left avertence 2 pixels The position downward bias position of 1 pixel of point, then the image shift amount of other pending image B is (-2 ,-1), the most permissible Each pixel in other pending image B, to the position of two pixels of right translation, is translated up the position of 1 pixel Put, and then the process of the offset correction to other pending image B can be completed.It is noted that after offset correction, other The pixel value of border area pixels point newly-increased in pending image can directly continue to use correspondence position pixel in benchmark image Pixel value, such as, based on the example above, after other pending image B is carried out offset correction process, other pending image In B, the rightmost side 2 example pixel and top side 1 row pixel are newly-increased border area pixels point, then can be by benchmark image The rightmost side 2 example pixel and the pixel value of top side 1 row pixel, be defined as the newly-increased border area pixels point of correspondence position Pixel value, as shown in Figure 3.
Optionally, user can select a pending image as benchmark image voluntarily, and corresponding process can be such that The display pending image of preset number, the first pending image receiving user's input selects instruction, by the first pending figure As being set to benchmark image.
In force, terminal, after being continuously shot the pending image of preset number, can point out user's selection reference Image, now, user can click on and determine button, and terminal then can show the pending image of above-mentioned preset number, Yong Hu After selected reference image, can click on and arrange button certain pending image is set to benchmark image, at this moment, terminal can connect The the first pending image receiving user's input selects instruction, such that it is able to the first pending image is set to benchmark image. So, user manually select, can be prevented effectively from owing in benchmark image, noise too much causes the letter of last enlarged drawing picture Make an uproar than relatively low problem.
Step 102, based on the pixel value of the pixel of correspondence position in different pending images, carries out pixel value equalization Process, obtain average image.
In force, terminal, after being continuously shot multiple pending image, can obtain pixel in multiple pending image The pixel value of point.Obtain it is understood that the most quickly shoot due to the plurality of pending image, permissible Think that the pixel value of the pixel of the plurality of pending image correspondence position is the same outside the impact getting rid of noise.So, In the case of considering noise, the pixel value of the pixel of correspondence position in different pending images can be carried out pixel value and put down Homogenizing processes, and then obtains average image, and so, in average image, the noise in each pending image is to average image Impact will greatly reduce.
Based on the above-mentioned process being provided with dynamic pixel point, accordingly, the process of step 102 can be such that by each its In its pending image, the pixel value of the pixel of dynamic area replaces with the pixel value of correspondence position pixel in benchmark image; Calculating in the pending image of preset number, the meansigma methods of the pixel value of correspondence position pixel, as corresponding in average image The pixel value of position pixel, obtains average image.
In force, terminal is behind the dynamic area determining other pending image relative datum image each, permissible The pixel value of the pixel of dynamic area in other pending image is replaced with the picture of correspondence position pixel in benchmark image Element value, then calculates the meansigma methods of the pixel value of each position pixel in the pending image of all preset number, then may be used Using by this meansigma methods as the pixel value of correspondence position pixel in average image, such that it is able to obtain average image.Such as, as Shown in Fig. 4, terminal has been continuously shot 4 pending images, and in benchmark image A, coordinate is that (i, the pixel value of pixel j) is A1, in 3 other pending image B, C, D, coordinate is that (i, the pixel value of pixel j) is respectively b1, c1, d1, and at other In pending image B, coordinate is that (i, pixel j) is in the dynamic area of this pending image B, then sit in average image It is designated as that (i, the pixel value of pixel j) is (a1+a1+c1+d1)/4.
Step 103, is amplified average image processing, is amplified image.
In force, multiple pending images are being carried out after pixel value handling averagely obtains average image by terminal, can To be amplified average image processing, it is amplified image.Specifically, i.e. can be based on pixel each in average image Pixel value determines the pixel value of each pixel in enlarged drawing picture, thus terminal can be based on the picture of pixel each in enlarged drawing picture Element value generates enlarged drawing picture.
Optionally, Cardinal spline fit algorithm can be used to be amplified average image processing, accordingly, step The process of 103 can be such that the pixel value of each pixel of average image, is identified as the enlarged drawing picture of average image The pixel value of the basic pixel point of middle correspondence;For each newly-increased pixel in enlarged drawing picture, determine in enlarged drawing picture with new Increase pixel and meet multiple reference image vegetarian refreshments of predeterminated position relation condition, according to the pixel value of multiple reference image vegetarian refreshments, and Newly-increased pixel and the position relationship of reference image vegetarian refreshments, based on Cardinal spline fit algorithm, determine the picture of newly-increased pixel Element value, is amplified image, wherein, and pixel or determine the newly-increased pixel of pixel value based on reference image vegetarian refreshments.
In force, terminal after obtaining average image, can obtain in average image the pixel value of each pixel and The amplification coefficient that user selects, so can resolution sizes based on average image and amplification coefficient determine enlarged drawing picture point Resolution size, the such as resolution sizes of average image are W*H, and amplification coefficient horizontally and vertically is a= 2.0, then the resolution sizes of enlarged drawing picture is 2W*2H.Afterwards, terminal pixel of each pixel in can obtaining average image Value, is defined as the pixel of pixel in the average image of correspondence the most again by the pixel value of the basic pixel point in enlarged drawing picture Value, afterwards, terminal can use Cardinal spline fit algorithm to determine newly-increased pixel according to the pixel value of basic pixel point Pixel value, concrete, for each newly-increased pixel in enlarged drawing picture, can choose in enlarged drawing picture and increase pixel newly Selecting the reference image vegetarian refreshments of four known pixel values being located along the same line, reference image vegetarian refreshments can be basic pixel point, it is possible to To determine that out the newly-increased pixel of pixel value.Further, can be according to the position relationship with basic pixel point by enlarged drawing Newly-increased pixel in Xiang is divided into two classes, and on horizontal or vertical direction, the newly-increased pixel of existence foundation pixel is that the first kind is new Increasing pixel, other newly-increased pixel is that Equations of The Second Kind increases pixel newly.Pixel is increased newly for each first kind, can be by One class increases closest four basic pixel on the horizontal or vertical direction of pixel newly and selects and be defined as reference image vegetarian refreshments, right Increase pixel newly in each two classes, the pixel in enlarged drawing picture first can be divided into Equations of The Second Kind increase pixel and non-Equations of The Second Kind newly Newly-increased pixel, the most non-Equations of The Second Kind increases pixel newly and includes that basic pixel point and the first kind increase pixel newly, may determine that afterwards Increase pixel newly and non-Equations of The Second Kind increases the straight line of pixel newly through certain Equations of The Second Kind simultaneously, such that it is able to by this straight line, Increase four closest non-Equations of The Second Kinds of pixel newly apart from this Equations of The Second Kind to increase pixel newly and be defined as reference image vegetarian refreshments, wherein, Two reference image vegetarian refreshments closest with newly-increased pixel in four reference image vegetarian refreshments are endpoint reference pixel, and distance is farthest Two reference image vegetarian refreshments be slope reference pixel.As a example by now choosing 9 pixels in average image, in the horizontal direction and The amplification coefficient of vertical direction be the pixel value of 9 basic pixel points in the enlarged drawing picture of 2.0 be respectively in average image this 9 The pixel value of individual pixel, then, as it is shown in figure 5, increase pixel newly for the first kind that position coordinates is (i1, j1), its water Square upwards existence foundation pixel, then the position coordinates of two endpoint reference pixels is (i1-1, j1), (i1+1, j1), two The position coordinates of individual slope reference pixel is (i1-3, j1), (i1+3, j1);As shown in Figure 6, for position coordinates it is The Equations of The Second Kind of (i2, j2) increases pixel newly, can be with cut-off line y=x, then the position coordinates of two endpoint reference pixels is (i2- 1, j2-1), (i2+1, j2+1), the position coordinates of two slope reference pixels is (i2-3, j2-3), (i2+3, j2+3).So Afterwards according to the pixel value of four reference image vegetarian refreshments, and the position relationship of newly-increased pixel and reference image vegetarian refreshments, based on Cardinal spline fit algorithm determines the pixel value of newly-increased pixel, such that it is able to be amplified image.
In the embodiment of the present invention, receive image taking instruction, be continuously shot the pending image of preset number;Based on difference The pixel value of the pixel of correspondence position in pending image, carries out pixel value handling averagely, obtains average image;To average Image is amplified processing, and is amplified image.So, average by pixel in multiple pending images is carried out pixel value Change processes, the noise that can effectively decay in the pending image impact on average image, such that it is able to improve enlarged drawing picture Signal to noise ratio.
Based on identical technology design, the embodiment of the present invention additionally provides a kind of device shooting enlarged drawing picture, such as Fig. 7 institute Showing, this device includes:
Taking module 701, is used for receiving image taking instruction, is continuously shot the pending image of preset number;
Averaging module 702, for based on the pixel value of the pixel of correspondence position in different pending images, carries out pixel Value handling averagely, obtains average image;
Amplification module 703, for described average image is amplified process, is amplified image.
Optionally, as shown in Figure 8, described device also includes:
Module 704 is set, for, after being continuously shot the pending image of preset number, described preset number being treated Process a pending image in image, be set to benchmark image;
First determines module 705, for for every in addition to described benchmark image of described preset number pending image Other pending image individual, determines the dynamic pixel point in other pending image described, the pixel value of described dynamic pixel point With the difference of the pixel value of the pixel of correspondence position in described benchmark image more than predetermined threshold value, at other pending figure described In Xiang, determine the dynamic area being made up of multiple adjacent dynamic pixel points;
Described averaging module 702, is used for:
The pixel value of the pixel of dynamic area in each other pending image described is replaced with described benchmark image The pixel value of middle correspondence position pixel;
Calculating in the pending image of described preset number, the meansigma methods of the pixel value of correspondence position pixel, as all In value image, the pixel value of correspondence position pixel, obtains average image.
Optionally, as it is shown in figure 9, described device also includes:
Module 704 is set, for the pixel value of pixel corresponding in based on different pending images, carries out pixel Value handling averagely, before obtaining average image, by a pending image in the pending image of described preset number, if It is set to benchmark image;
Second determines module 706, for determining in described preset number pending image in addition to described benchmark image Other pending image each, relative to the image shift amount of benchmark image;
Correcting module 707, repaiies for described other pending image each being carried out skew according to described image shift amount Just process.
Optionally, described module 704 is set, is used for:
Showing the pending image of described preset number, the first pending image receiving user's input selects instruction, will Described first pending image is set to benchmark image.
Optionally, described amplification module 703, it is used for:
By the pixel value of each pixel of described average image, it is identified as in the enlarged drawing picture of described average image The pixel value of corresponding basic pixel point;
For each newly-increased pixel in described enlarged drawing picture, determine in enlarged drawing picture and meet with described newly-increased pixel Multiple reference image vegetarian refreshments of predeterminated position relation condition, according to the pixel value of the plurality of reference image vegetarian refreshments and described newly-increased Pixel and the position relationship of described reference image vegetarian refreshments, based on Cardinal spline fit algorithm, determine described newly-increased pixel Pixel value, obtain described enlarged drawing picture, wherein, pixel or determine the newly-increased pixel of pixel value based on reference image vegetarian refreshments Point.
In the embodiment of the present invention, receive image taking instruction, be continuously shot the pending image of preset number;Based on difference The pixel value of the pixel of correspondence position in pending image, carries out pixel value handling averagely, obtains average image;To average Image is amplified processing, and is amplified image.So, average by pixel in multiple pending images is carried out pixel value Change processes, the noise that can effectively decay in the pending image impact on average image, such that it is able to improve enlarged drawing picture Signal to noise ratio.
It should be understood that above-described embodiment provide shooting enlarged drawing picture device shoot enlarged drawing as time, only with The division of above-mentioned each functional module is illustrated, and in actual application, can distribute above-mentioned functions by not as desired With functional module complete, the internal structure of device will be divided into different functional modules, with complete described above all Or partial function.It addition, the device of shooting enlarged drawing picture that above-described embodiment provides is implemented with the method for shooting enlarged drawing picture Example belongs to same design, and it implements process and refers to embodiment of the method, repeats no more here.
Refer to Figure 10, it illustrates the structural representation of terminal involved by the embodiment of the present invention, this terminal can be used In the method implementing the shooting enlarged drawing picture provided in above-described embodiment.Specifically:
Terminal 1000 can include RF (Radio Frequency, radio frequency) circuit 110, include one or more The memorizer 120 of computer-readable recording medium, input block 130, display unit 140, sensor 150, voicefrequency circuit 160, WiFi (wireless fidelity, Wireless Fidelity) module 170, include one or more than one process core process The parts such as device 180 and power supply 190.It will be understood by those skilled in the art that the terminal structure shown in Figure 10 is not intended that right The restriction of terminal, can include that ratio illustrates more or less of parts, or combine some parts, or different parts cloth Put.Wherein:
RF circuit 110 can be used for receiving and sending messages or in communication process, the reception of signal and transmission, especially, by base station After downlink information receives, transfer to one or more than one processor 180 processes;It addition, be sent to relating to up data Base station.Generally, RF circuit 110 includes but not limited to antenna, at least one amplifier, tuner, one or more agitator, use Family identity module (SIM) card, transceiver, bonder, LNA (Low Noise Amplifier, low-noise amplifier), duplex Device etc..Additionally, RF circuit 110 can also be communicated with network and other equipment by radio communication.Described radio communication can make By arbitrary communication standard or agreement, include but not limited to GSM (Global System of Mobile communication, entirely Ball mobile communcations system), GPRS (General Packet Radio Service, general packet radio service), CDMA (Code Division Multiple Access, CDMA), WCDMA (Wideband Code Division Multiple Access, WCDMA), LTE (Long Term Evolution, Long Term Evolution), Email, SMS (Short Messaging Service, Short Message Service) etc..
Memorizer 120 can be used for storing software program and module, and processor 180 is stored in memorizer 120 by operation Software program and module, thus perform various function application and data process.Memorizer 120 can mainly include storing journey Sequence district and storage data field, wherein, storage program area can store the application program (ratio needed for operating system, at least one function Such as sound-playing function, image player function etc.) etc.;Storage data field can store the number that the use according to terminal 1000 is created According to (such as voice data, phone directory etc.) etc..Additionally, memorizer 120 can include high-speed random access memory, it is also possible to bag Include nonvolatile memory, for example, at least one disk memory, flush memory device or other volatile solid-state parts. Correspondingly, memorizer 120 can also include Memory Controller, to provide processor 180 and input block 130 to memorizer The access of 120.
Input block 130 can be used for receiving numeral or the character information of input, and produces and user setup and function Control relevant keyboard, mouse, action bars, optics or the input of trace ball signal.Specifically, input block 130 can include touching Sensitive surfaces 131 and other input equipments 132.Touch sensitive surface 131, also referred to as touches display screen or Trackpad, can collect use Family thereon or neighbouring touch operation (such as user uses any applicable object such as finger, stylus or adnexa at touch-sensitive table Operation on face 131 or near Touch sensitive surface 131), and drive corresponding attachment means according to formula set in advance.Optional , Touch sensitive surface 131 can include touch detecting apparatus and two parts of touch controller.Wherein, touch detecting apparatus detection is used The touch orientation at family, and detect the signal that touch operation brings, transmit a signal to touch controller;Touch controller is from touch Receive touch information on detection device, and be converted into contact coordinate, then give processor 180, and processor 180 can be received The order sent also is performed.Furthermore, it is possible to use the polytypes such as resistance-type, condenser type, infrared ray and surface acoustic wave Realize Touch sensitive surface 131.Except Touch sensitive surface 131, input block 130 can also include other input equipments 132.Specifically, Other input equipments 132 can include but not limited to physical keyboard, function key (such as volume control button, switch key etc.), One or more in trace ball, mouse, action bars etc..
Display unit 140 can be used for the information that inputted by user of display or the information being supplied to user and terminal 1000 Various graphical user interface, these graphical user interface can be made up of figure, text, icon, video and its combination in any. Display unit 140 can include display floater 141, optionally, can use LCD (Liquid Crystal Display, liquid crystal Show device), the form such as OLED (Organic Light-Emitting Diode, Organic Light Emitting Diode) configure display floater 141.Further, Touch sensitive surface 131 can cover display floater 141, when Touch sensitive surface 131 detects thereon or neighbouring touching After touching operation, send processor 180 to determine the type of touch event, with preprocessor 180 according to the type of touch event Display floater 141 provides corresponding visual output.Although in Fig. 10, Touch sensitive surface 131 and display floater 141 are conducts Two independent parts realize input and input function, but in some embodiments it is possible to by Touch sensitive surface 131 and display Panel 141 is integrated and realizes input and output function.
Terminal 1000 may also include at least one sensor 150, such as optical sensor, motion sensor and other sensings Device.Specifically, optical sensor can include ambient light sensor and proximity transducer, and wherein, ambient light sensor can be according to environment The light and shade of light regulates the brightness of display floater 141, and proximity transducer can cut out display when terminal 1000 moves in one's ear Panel 141 and/or backlight.As the one of motion sensor, Gravity accelerometer can detect in all directions (generally Three axles) size of acceleration, can detect that size and the direction of gravity time static, can be used for identifying the application (ratio of mobile phone attitude Such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, percussion) etc.;Extremely Other sensors such as the gyroscope that can also configure in terminal 1000, barometer, drimeter, thermometer, infrared ray sensor, at this Repeat no more.
Voicefrequency circuit 160, speaker 161, microphone 162 can provide the audio interface between user and terminal 1000.Sound The signal of telecommunication after the voice data conversion that frequency circuit 160 can will receive, is transferred to speaker 161, speaker 161 is converted to Acoustical signal exports;On the other hand, the acoustical signal of collection is converted to the signal of telecommunication by microphone 162, voicefrequency circuit 160 receive After be converted to voice data, then after voice data output processor 180 is processed, through RF circuit 110 be sent to such as another Terminal, or voice data is exported to memorizer 120 to process further.Voicefrequency circuit 160 is also possible that earplug is inserted Hole, to provide the communication of peripheral hardware earphone and terminal 1000.
WiFi belongs to short range wireless transmission technology, and terminal 1000 can help user to receive and dispatch electricity by WiFi module 170 Sub-mail, browsing webpage and access streaming video etc., it has provided the user wireless broadband internet and has accessed.Although Figure 10 shows Go out WiFi module 170, but it is understood that, it is also not belonging to must be configured into of terminal 1000, completely can be according to need To omit in not changing the scope of essence of invention.
Processor 180 is the control centre of terminal 1000, utilizes various interface and each portion of the whole mobile phone of connection Point, it is stored in the software program in memorizer 120 and/or module by running or performing, and calls and be stored in memorizer 120 Interior data, perform the various functions of terminal 1000 and process data, thus mobile phone is carried out integral monitoring.Optionally, process Device 180 can include one or more process core;Preferably, processor 180 can integrated application processor and modulation /demodulation process Device, wherein, application processor mainly processes operating system, user interface and application program etc., and modem processor is mainly located Reason radio communication.It is understood that above-mentioned modem processor can not also be integrated in processor 180.
Terminal 1000 also includes the power supply 190 (such as battery) powered to all parts, it is preferred that power supply can be by electricity Management system is logically contiguous with processor 180, thus realizes management charging, electric discharge and power consumption by power-supply management system The functions such as management.Power supply 190 can also include one or more direct current or alternating current power supply, recharging system, power supply event Barrier testing circuit, power supply changeover device or the random component such as inverter, power supply status indicator.
Although not shown, terminal 1000 can also include photographic head, bluetooth module etc., does not repeats them here.Specifically at this In embodiment, the display unit of terminal 1000 is touch-screen display, and terminal 1000 also includes memorizer, and one or More than one program, one of them or more than one program is stored in memorizer, and is configured to by one or one Individual above processor performs to state one or more than one program comprises the instruction for carrying out following operation:
Reception image taking instructs, and is continuously shot the pending image of preset number;
Based on the pixel value of the pixel of correspondence position in different pending images, carry out pixel value handling averagely, To average image;
It is amplified described average image processing, is amplified image.
Optionally, described in be continuously shot preset number pending image after, described method also includes:
By a pending image in the pending image of described preset number, it is set to benchmark image;
For described preset number pending image other pending image each in addition to described benchmark image, determine Dynamic pixel point in other pending image described, the pixel value of described dynamic pixel point and corresponding position in described benchmark image The difference of the pixel value of the pixel put is more than predetermined threshold value, in other pending image described, determines by multiple adjacent dynamic The dynamic area of state pixel composition;
Described pixel value based on pixel corresponding in different pending images, carries out pixel value handling averagely, Obtain average image, including:
The pixel value of the pixel of dynamic area in each other pending image described is replaced with described benchmark image The pixel value of middle correspondence position pixel;
Calculating in the pending image of described preset number, the meansigma methods of the pixel value of correspondence position pixel, as all In value image, the pixel value of correspondence position pixel, obtains average image.
Optionally, the pixel value of pixel corresponding in based on different pending images, carry out pixel value equalization Processing, before obtaining average image, described method also includes:
By a pending image in the pending image of described preset number, it is set to benchmark image;
Determine other the pending image each in addition to described benchmark image, phase in the pending image of described preset number Image shift amount for benchmark image;
According to described image shift amount, described other pending image each is carried out offset correction process.
Optionally, described by a pending image in the pending image of described preset number, it is set to reference map Picture, including:
Showing the pending image of described preset number, the first pending image receiving user's input selects instruction, will Described first pending image is set to benchmark image.
Optionally, described be amplified described average image processes, and is amplified image, including:
By the pixel value of each pixel of described average image, it is identified as in the enlarged drawing picture of described average image The pixel value of corresponding basic pixel point;
For each newly-increased pixel in described enlarged drawing picture, determine in enlarged drawing picture and meet with described newly-increased pixel Multiple reference image vegetarian refreshments of predeterminated position relation condition, according to the pixel value of the plurality of reference image vegetarian refreshments and described newly-increased Pixel and the position relationship of described reference image vegetarian refreshments, based on Cardinal spline fit algorithm, determine described newly-increased pixel Pixel value, obtain described enlarged drawing picture, wherein, pixel or determine the newly-increased pixel of pixel value based on reference image vegetarian refreshments Point.
In the embodiment of the present invention, receive image taking instruction, be continuously shot the pending image of preset number;Based on difference The pixel value of the pixel of correspondence position in pending image, carries out pixel value handling averagely, obtains average image;To average Image is amplified processing, and is amplified image.So, average by pixel in multiple pending images is carried out pixel value Change processes, the noise that can effectively decay in the pending image impact on average image, such that it is able to improve enlarged drawing picture Signal to noise ratio.
One of ordinary skill in the art will appreciate that all or part of step realizing above-described embodiment can pass through hardware Completing, it is also possible to instruct relevant hardware by program and complete, described program can be stored in a kind of computer-readable In storage medium, storage medium mentioned above can be read only memory, disk or CD etc..
The foregoing is only presently preferred embodiments of the present invention, not in order to limit the present invention, all spirit in the present invention and Within principle, any modification, equivalent substitution and improvement etc. made, should be included within the scope of the present invention.

Claims (10)

1. the method shooting enlarged drawing picture, it is characterised in that described method includes:
Reception image taking instructs, and is continuously shot the pending image of preset number;
Based on the pixel value of the pixel of correspondence position in different pending images, carry out pixel value handling averagely, obtain all Value image;
It is amplified described average image processing, is amplified image.
Method the most according to claim 1, it is characterised in that described in be continuously shot preset number pending image it After, described method also includes:
By a pending image in the pending image of described preset number, it is set to benchmark image;
For described preset number pending image other pending image each in addition to described benchmark image, determine described Dynamic pixel point in other pending image, the pixel value of described dynamic pixel point and correspondence position in described benchmark image The difference of the pixel value of pixel is more than predetermined threshold value, in other pending image described, determines by multiple adjacent dynamic pictures The dynamic area of vegetarian refreshments composition;
Described pixel value based on pixel corresponding in different pending images, carries out pixel value handling averagely, obtains Average image, including:
It is right to be replaced with in described benchmark image by the pixel value of the pixel of dynamic area in each other pending image described Answer the pixel value of position pixel;
Calculating in the pending image of described preset number, the meansigma methods of the pixel value of correspondence position pixel, as average figure The pixel value of correspondence position pixel in Xiang, obtains average image.
Method the most according to claim 1, it is characterised in that pixel corresponding in based on different pending images Pixel value, carry out pixel value handling averagely, before obtaining average image, described method also includes:
By a pending image in the pending image of described preset number, it is set to benchmark image;
Determine other pending image each in addition to described benchmark image in the pending image of described preset number, relative to The image shift amount of benchmark image;
According to described image shift amount, described other pending image each is carried out offset correction process.
4. according to the method according to any one of claim 2-3, it is characterised in that described by pending for described preset number A pending image in image, is set to benchmark image, including:
Showing the pending image of described preset number, the first pending image receiving user's input selects instruction, by described First pending image is set to benchmark image.
Method the most according to claim 1, it is characterised in that described be amplified described average image processes, and obtains Enlarged drawing picture, including:
By the pixel value of each pixel of described average image, it is identified as in the enlarged drawing picture of described average image correspondence The pixel value of basic pixel point;
For each newly-increased pixel in described enlarged drawing picture, determine enlarged drawing picture meets with described newly-increased pixel and preset Multiple reference image vegetarian refreshments of position relationship condition, according to the pixel value of the plurality of reference image vegetarian refreshments, and described newly-increased pixel Select the position relationship with described reference image vegetarian refreshments, based on Cardinal spline fit algorithm, determine the picture of described newly-increased pixel Element value, obtains described enlarged drawing picture, wherein, and pixel or determine the newly-increased pixel of pixel value based on reference image vegetarian refreshments.
6. the device shooting enlarged drawing picture, it is characterised in that described device includes:
Taking module, is used for receiving image taking instruction, is continuously shot the pending image of preset number;
Averaging module, for based on the pixel value of the pixel of correspondence position in different pending images, carries out pixel value average Change processes, and obtains average image;
Amplification module, for described average image is amplified process, is amplified image.
Device the most according to claim 6, it is characterised in that described device also includes:
Module is set, for after being continuously shot the pending image of preset number, by the pending figure of described preset number A pending image in Xiang, is set to benchmark image;
First determines module, for treating for described preset number the pending image each other in addition to described benchmark image Process image, determine the dynamic pixel point in other pending image described, the pixel value of described dynamic pixel point and described base In quasi-image, the difference of the pixel value of the pixel of correspondence position is more than predetermined threshold value, in other pending image described, really The fixed dynamic area being made up of multiple adjacent dynamic pixel points;
Described averaging module, is used for:
It is right to be replaced with in described benchmark image by the pixel value of the pixel of dynamic area in each other pending image described Answer the pixel value of position pixel;
Calculating in the pending image of described preset number, the meansigma methods of the pixel value of correspondence position pixel, as average figure The pixel value of correspondence position pixel in Xiang, obtains average image.
Device the most according to claim 6, it is characterised in that described device also includes:
Module is set, for the pixel value of pixel corresponding in based on different pending images, carries out pixel value average Change processes, and before obtaining average image, by a pending image in the pending image of described preset number, is set to base Quasi-image;
Second determines module, for determine in described preset number pending image in addition to described benchmark image each other Pending image, relative to the image shift amount of benchmark image;
Correcting module, for carrying out offset correction process according to described image shift amount to described other pending image each.
9., according to the device according to any one of claim 7-8, it is characterised in that described arrange module, it is used for:
Showing the pending image of described preset number, the first pending image receiving user's input selects instruction, by described First pending image is set to benchmark image.
Device the most according to claim 6, it is characterised in that described amplification module, is used for:
By the pixel value of each pixel of described average image, it is identified as in the enlarged drawing picture of described average image correspondence The pixel value of basic pixel point;
For each newly-increased pixel in described enlarged drawing picture, determine enlarged drawing picture meets with described newly-increased pixel and preset Multiple reference image vegetarian refreshments of position relationship condition, according to the pixel value of the plurality of reference image vegetarian refreshments, and described newly-increased pixel Select the position relationship with described reference image vegetarian refreshments, based on Cardinal spline fit algorithm, determine the picture of described newly-increased pixel Element value, obtains described enlarged drawing picture, wherein, and pixel or determine the newly-increased pixel of pixel value based on reference image vegetarian refreshments.
CN201610498736.5A 2016-06-29 2016-06-29 A kind of method and apparatus shooting enlarged drawing Active CN106127720B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610498736.5A CN106127720B (en) 2016-06-29 2016-06-29 A kind of method and apparatus shooting enlarged drawing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610498736.5A CN106127720B (en) 2016-06-29 2016-06-29 A kind of method and apparatus shooting enlarged drawing

Publications (2)

Publication Number Publication Date
CN106127720A true CN106127720A (en) 2016-11-16
CN106127720B CN106127720B (en) 2019-01-11

Family

ID=57285799

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610498736.5A Active CN106127720B (en) 2016-06-29 2016-06-29 A kind of method and apparatus shooting enlarged drawing

Country Status (1)

Country Link
CN (1) CN106127720B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018219274A1 (en) * 2017-05-31 2018-12-06 Oppo广东移动通信有限公司 Method and apparatus for denoising processing, storage medium and terminal
CN109889695A (en) * 2019-02-27 2019-06-14 努比亚技术有限公司 A kind of image-region determines method, terminal and computer readable storage medium
CN110288547A (en) * 2019-06-27 2019-09-27 北京字节跳动网络技术有限公司 Method and apparatus for generating image denoising model
CN113128406A (en) * 2021-04-15 2021-07-16 上海躲猫猫信息技术有限公司 Random fiber yarn texture anti-counterfeiting mark identification method and system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040125387A1 (en) * 2002-12-27 2004-07-01 Fuji Xerox Co., Ltd. Image processing apparatus, image processing method and program therefor
CN1748167A (en) * 2003-02-06 2006-03-15 宝马股份公司 Method and device for visualizing a motor vehicle environment with environment-dependent fusion of an infrared image and a visual image
CN101866479A (en) * 2010-05-07 2010-10-20 浙江大学 Edge self-adaptive image amplification method based on non-downsampling Contourlet conversion
CN101872472A (en) * 2010-06-02 2010-10-27 中国科学院自动化研究所 Method for super-resolution reconstruction of facial image on basis of sample learning
CN103688530A (en) * 2011-05-17 2014-03-26 沃思测量技术股份有限公司 Method for generating and evaluating an image

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040125387A1 (en) * 2002-12-27 2004-07-01 Fuji Xerox Co., Ltd. Image processing apparatus, image processing method and program therefor
CN1748167A (en) * 2003-02-06 2006-03-15 宝马股份公司 Method and device for visualizing a motor vehicle environment with environment-dependent fusion of an infrared image and a visual image
CN101866479A (en) * 2010-05-07 2010-10-20 浙江大学 Edge self-adaptive image amplification method based on non-downsampling Contourlet conversion
CN101872472A (en) * 2010-06-02 2010-10-27 中国科学院自动化研究所 Method for super-resolution reconstruction of facial image on basis of sample learning
CN103688530A (en) * 2011-05-17 2014-03-26 沃思测量技术股份有限公司 Method for generating and evaluating an image

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
万明 等: "《Vega Prime视景仿真开发技术》", 30 June 2015 *
李兰兰,吴乐南: "基于各向异性扩散的图像去噪并放大", 《信号处理》 *
石智,郑建国: "M 尺度函数及其在图像缩放处理中的应用", 《光子学报》 *
雷建坤 等: "小波与自蛇模型在放大图像清晰化中的应用", 《计算机工程与应用》 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018219274A1 (en) * 2017-05-31 2018-12-06 Oppo广东移动通信有限公司 Method and apparatus for denoising processing, storage medium and terminal
CN109889695A (en) * 2019-02-27 2019-06-14 努比亚技术有限公司 A kind of image-region determines method, terminal and computer readable storage medium
CN110288547A (en) * 2019-06-27 2019-09-27 北京字节跳动网络技术有限公司 Method and apparatus for generating image denoising model
CN113128406A (en) * 2021-04-15 2021-07-16 上海躲猫猫信息技术有限公司 Random fiber yarn texture anti-counterfeiting mark identification method and system

Also Published As

Publication number Publication date
CN106127720B (en) 2019-01-11

Similar Documents

Publication Publication Date Title
CN103854298B (en) A kind of method that picture and Quick Response Code merge and terminal
CN106791894A (en) A kind of method and apparatus for playing live video
CN104618217B (en) Share method, terminal, server and the system of resource
CN104751410B (en) Image and two-dimensional code fusion method and device
CN107436685A (en) Display device, self luminous display panel and gesture identification method
CN106778585A (en) A kind of face key point-tracking method and device
CN106162316A (en) The data processing method of a kind of video flowing, device and system
CN104915091B (en) A kind of method and apparatus for the prompt information that Shows Status Bar
CN103871051A (en) Image processing method, device and electronic equipment
CN106131394A (en) A kind of method and device taken pictures
CN103699309B (en) A kind of method for recording of synchronization video, device and mobile terminal
CN106254910A (en) A kind of method and apparatus recording image
CN106371086B (en) A kind of method and apparatus of ranging
CN106203254A (en) A kind of adjustment is taken pictures the method and device in direction
CN106156597A (en) The implementation method of a kind of identifying code, and device
CN104238893A (en) Video preview image displaying method and device
CN106203459A (en) Image processing method and device
CN104991699B (en) A kind of method and apparatus of video display control
CN104216915A (en) Webpage processing method, device and terminal equipment
CN106127720A (en) A kind of method and apparatus shooting enlarged drawing picture
CN106951139A (en) Message notifying frame display methods and device
CN105306802A (en) Photographing mode switching method and device
CN106332023A (en) Unread information display method and device, and mobile terminal
CN107396193B (en) The method and apparatus of video playing
CN106200897A (en) A kind of method and apparatus showing control menu

Legal Events

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