CN108053369A - A kind of method of image procossing, equipment and storage medium - Google Patents

A kind of method of image procossing, equipment and storage medium Download PDF

Info

Publication number
CN108053369A
CN108053369A CN201711206467.1A CN201711206467A CN108053369A CN 108053369 A CN108053369 A CN 108053369A CN 201711206467 A CN201711206467 A CN 201711206467A CN 108053369 A CN108053369 A CN 108053369A
Authority
CN
China
Prior art keywords
photo
photos
multiple pictures
focal length
acquisition parameters
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
CN201711206467.1A
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.)
Nubia Technology Co Ltd
Original Assignee
Nubia 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 Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201711206467.1A priority Critical patent/CN108053369A/en
Publication of CN108053369A publication Critical patent/CN108053369A/en
Pending legal-status Critical Current

Links

Classifications

    • G06T5/70
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/80Analysis of captured images to determine intrinsic or extrinsic camera parameters, i.e. camera calibration
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/97Determining parameters from multiple pictures

Landscapes

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

Abstract

The embodiment of the invention discloses a kind of method of image procossing, equipment and storage mediums;This method can include:Obtain the corresponding acquisition parameters of multiple pictures being continuously shot;It is chosen from the multiple pictures with reference to photo;According to the acquisition parameters with reference to photo in the multiple pictures except it is described with reference to photo in addition to other photos be adjusted.The influence of acquisition parameters can be eliminated during denoising is subsequently carried out for multiple pictures, so as to more efficiently reduce the noise of photo, improves photographic quality.

Description

A kind of method of image procossing, equipment and storage medium
Technical field
The present invention relates to a kind of technical field of mobile terminals more particularly to method of image procossing, equipment and storage mediums.
Background technology
With the development of mobile terminal technology, the camera function of the mobile terminals such as smart mobile phone, tablet computer is more next It is more perfect.Due to the portability of mobile terminal, user can be made to take pictures whenever and wherever possible, therefore, more and more users exist First choice mobile terminal is taken pictures when outgoing, without additionally carrying digital camera or slr camera, to the life band of user Very big facility is carried out.
But during mobile terminal is used to be taken pictures, due to the influence of shooting environmental, such as night scene environment or Person jolts under environment, the photo of shooting can be caused there are more noise, so as to influence the quality of photo.
The content of the invention
It is a primary object of the present invention to propose a kind of method of image procossing, equipment and storage medium, it is intended to improve and shine The quality of piece.
In order to achieve the above objectives, the technical proposal of the invention is realized in this way:
In a first aspect, an embodiment of the present invention provides a kind of method of image procossing, the described method includes:
Obtain the corresponding acquisition parameters of multiple pictures being continuously shot;
It is chosen from the multiple pictures with reference to photo;
According to the acquisition parameters with reference to photo to other photographs in the multiple pictures in addition to the reference photo Piece is adjusted.
It is described to obtain the corresponding acquisition parameters of multiple pictures being continuously shot in said program, including:
Obtain the corresponding zoom focal length of the multiple pictures and/or focal distance.
In said program, the acquisition parameters according to the reference photo are to removing the reference in the multiple pictures Other photos beyond photo are adjusted, including:
By the zoom focal length of other photos and/or focal distance according to the zoom focal length with reference to photo and/or Focal distance carries out image procossing.
It is described to shine the zoom focal length of other photos and/or focal distance according to the reference in said program The zoom focal length and/or focal distance of piece carry out image procossing, including:
When the zoom focal length of other photos is less than the zoom focal length of the reference photo, other described photos are pressed The zoom focal length with reference to picture is taken to be amplified;
When the zoom focal length of other photos is more than the zoom focal length of the reference photo, other described photos are pressed The zoom focal length with reference to picture is taken to be reduced;
When the focal distance of other photos is less than or greater than the focal distance with reference to photo, will it is described other Be sharpened in photo with the reference object identical with reference to photo focal distance, and will in other described photos with the ginseng The different reference object of picture focal distance is obscured.
In said program, chosen from the multiple pictures with reference to photo, including:
From the multiple pictures, the highest photo of clarity is chosen as described with reference to photo.
In said program, except described with reference to photograph according to the acquisition parameters with reference to photo to the multiple pictures After other photos beyond piece are adjusted, the method further includes:
It is synthesized described with reference to photo and the photo after the adjustment according to the synthesis strategy of setting, after obtaining noise reduction Photo.
In said program, except described with reference to photograph according to the acquisition parameters with reference to photo to the multiple pictures After other photos beyond piece are adjusted, the method further includes:
Multiple pictures after adjustment according to the denoising strategy of setting are handled, obtain the photo after noise reduction.
It is described before the corresponding acquisition parameters of multiple pictures for obtaining and being continuously shot in said program Method further includes:
Fog-level in the multiple pictures is met to the photo to impose a condition to reject.
Second aspect, an embodiment of the present invention provides a kind of terminal, the terminal includes:
Camera is configured to be continuously shot multiple pictures;
It is stored with the memory of image processing program;
Processor is configured to perform the picture processing program to realize the step of method any one of first aspect Suddenly.
The third aspect, an embodiment of the present invention provides a kind of computer readable storage mediums, which is characterized in that the calculating Picture processing program is stored on machine readable storage medium storing program for executing, such as first party is realized when the picture processing program is executed by processor The step of image processing method any one of face.
Method, equipment and the storage medium for a kind of image procossing that the embodiment of the present invention is provided;By will be continuously quick The acquisition parameters for shooting obtained multiple pictures are adjusted to consistent, subsequently can carry out denoising process for multiple pictures The middle influence for eliminating acquisition parameters so as to more efficiently reduce the noise of photo, improves photographic quality.
Description of the drawings
Fig. 1 is a kind of hardware architecture diagram of mobile terminal provided in an embodiment of the present invention;
Fig. 2 is a kind of communications network system Organization Chart provided in an embodiment of the present invention;
Fig. 3 is a kind of method flow schematic diagram of image procossing provided in an embodiment of the present invention;
Fig. 4 is illustrative image schematic diagram provided in an embodiment of the present invention;
Fig. 5 is illustrative image schematic diagram provided in an embodiment of the present invention;
Fig. 6 is a kind of composition schematic diagram of terminal provided in an embodiment of the present invention;
Fig. 7 is the composition schematic diagram of another terminal provided in an embodiment of the present invention;
Fig. 8 is a kind of particular hardware structure diagram of terminal provided in an embodiment of the present invention.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
In subsequent description, using for representing that the suffix of such as " module ", " component " or " unit " of element is only Be conducive to the explanation of the present invention, itself there is no a specific meaning.Therefore, " module ", " component " or " unit " can mix Ground uses.
Terminal can be implemented in a variety of manners.For example, terminal described in the present invention can include such as mobile phone, tablet Computer, laptop, palm PC, personal digital assistant (Personal Digital Assistant, PDA), portable The shiftings such as media player (Portable Media Player, PMP), guider, wearable device, Intelligent bracelet, pedometer The dynamic fixed terminals such as terminal and number TV, desktop computer.
It will be illustrated in subsequent descriptions by taking mobile terminal as an example, it will be appreciated by those skilled in the art that except special For moving outside the element of purpose, construction according to the embodiment of the present invention can also apply to the terminal of fixed type.
Referring to Fig. 1, a kind of hardware architecture diagram of its mobile terminal of each embodiment to realize the present invention, the shifting Dynamic terminal 100 can include:RF (Radio Frequency, radio frequency) unit 101, WiFi module 102, audio output unit 103rd, A/V (audio/video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108th, the components such as memory 109, processor 110 and power supply 111.It will be understood by those skilled in the art that shown in Fig. 1 Mobile terminal structure does not form the restriction to mobile terminal, and mobile terminal can be included than illustrating more or fewer components, Either combine some components or different components arrangement.
The all parts of mobile terminal are specifically introduced with reference to Fig. 1:
Radio frequency unit 101 can be used for receiving and sending messages or communication process in, signal sends and receivees, specifically, by base station Downlink information receive after, handled to processor 110;In addition, by the data sending of uplink to base station.In general, radio frequency unit 101 Including but not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier, duplexer etc..In addition, it penetrates Frequency unit 101 can also be communicated by wireless communication with network and other equipment.Above-mentioned wireless communication can use any communication Standard or agreement include but not limited to GSM (Global System of Mobile communication, global system for mobile telecommunications System), GPRS (General Packet Radio Service, general packet radio service), CDMA2000 (Code Division Multiple Access 2000, CDMA 2000), WCDMA (Wideband Code Division Multiple Access, wideband code division multiple access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access, TD SDMA), FDD-LTE (Frequency Division Duplexing-Long Term Evolution, frequency division duplex Long Term Evolution) and TDD-LTE (Time Division Duplexing-Long Term Evolution, time division duplex Long Term Evolution) etc..
WiFi belongs to short range wireless transmission technology, and mobile terminal can help user to receive and dispatch electricity by WiFi module 102 Sub- mail, browsing webpage and access streaming video etc., it has provided wireless broadband internet to the user and has accessed.Although Fig. 1 shows Go out WiFi module 102, but it is understood that, and must be configured into for mobile terminal is not belonging to, it completely can be according to need It to be omitted in the scope of essence for not changing invention.
Audio output unit 103 can be in call signal reception pattern, call mode, record mould in mobile terminal 100 Formula, speech recognition mode, broadcast reception mode when under isotypes, by radio frequency unit 101 or WiFi module 102 it is receiving or The voice data stored in memory 109 is converted into audio signal and exports as sound.Moreover, audio output unit 103 The relevant audio output of specific function performed with mobile terminal 100 can also be provided (for example, call signal receives sound, disappears Breath receives sound etc.).Audio output unit 103 can include loud speaker, buzzer etc..
A/V input units 104 are used to receive audio or video signal.A/V input units 104 can include graphics processor (Graphics Processing Unit, GPU) 1041 and microphone 1042, graphics processor 1041 is in video acquisition mode Or the static images or the image data of video obtained in image capture mode by image capture apparatus (such as camera) carry out Reason.Treated, and picture frame may be displayed on display unit 106.Through graphics processor 1041, treated that picture frame can be deposited Storage is sent in memory 109 (or other storage mediums) or via radio frequency unit 101 or WiFi module 102.Mike Wind 1042 can connect in telephone calling model, logging mode, speech recognition mode etc. operational mode via microphone 1042 Quiet down sound (voice data), and can be voice data by such acoustic processing.Audio that treated (voice) data can To be converted to the form output that mobile communication base station can be sent to via radio frequency unit 101 in the case of telephone calling model. Microphone 1042 can implement various types of noises elimination (or inhibition) algorithms and send and receive sound to eliminate (or inhibition) The noise generated during frequency signal or interference.
Mobile terminal 100 further includes at least one sensor 105, such as optical sensor, motion sensor and other biographies Sensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein, ambient light sensor can be according to environment The light and shade of light adjusts the brightness of display panel 1061, and proximity sensor can close when mobile terminal 100 is moved in one's ear Display panel 1061 and/or backlight.As one kind of motion sensor, accelerometer sensor can detect in all directions (general For three axis) size of acceleration, size and the direction of gravity are can detect that when static, the application available for identification mobile phone posture (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, percussion) etc.; The fingerprint sensor that can also configure as mobile phone, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, The other sensors such as hygrometer, thermometer, infrared ray sensor, details are not described herein.
Display unit 106 is used to show by information input by user or be supplied to the information of user.Display unit 106 can wrap Display panel 1061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode may be employed Forms such as (Organic Light-Emitting Diode, OLED) configure display panel 1061.
User input unit 107 can be used for the number for receiving input or character information and generation and the use of mobile terminal The key signals input that family is set and function control is related.Specifically, user input unit 107 may include touch panel 1071 with And other input equipments 1072.Touch panel 1071, also referred to as touch-screen, collect user on it or neighbouring touch operation (for example user uses any suitable objects such as finger, stylus or attachment on touch panel 1071 or in touch panel 1071 Neighbouring operation), and corresponding attachment device is driven according to preset formula.Touch panel 1071 may include touch detection Two parts of device and touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect touch operation band The signal come, transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and by it Contact coordinate is converted into, then gives processor 110, and the order that processor 110 is sent can be received and performed.It in addition, can To realize touch panel 1071 using polytypes such as resistance-type, condenser type, infrared ray and surface acoustic waves.Except touch panel 1071, user input unit 107 can also include other input equipments 1072.Specifically, other input equipments 1072 can wrap It includes but is not limited to physical keyboard, in function key (such as volume control button, switch key etc.), trace ball, mouse, operation lever etc. One or more, do not limit herein specifically.
Further, touch panel 1071 can cover display panel 1061, when touch panel 1071 detect on it or After neighbouring touch operation, processor 110 is sent to determine the type of touch event, is followed by subsequent processing device 110 according to touch thing The type of part provides corresponding visual output on display panel 1061.Although in Fig. 1, touch panel 1071 and display panel 1061 be the component independent as two to realize the function that outputs and inputs of mobile terminal, but in certain embodiments, it can The function that outputs and inputs of mobile terminal is realized so that touch panel 1071 and display panel 1061 is integrated, is not done herein specifically It limits.
Interface unit 108 be used as at least one external device (ED) be connected with mobile terminal 100 can by interface.For example, External device (ED) can include wired or wireless head-band earphone port, external power supply (or battery charger) port, wired or nothing Line data port, memory card port, the port for device of the connection with identification module, audio input/output (I/O) end Mouth, video i/o port, ear port etc..Interface unit 108 can be used for receiving the input from external device (ED) (for example, number It is believed that breath, electric power etc.) and the input received is transferred to one or more elements in mobile terminal 100 or can be with For transmitting data between mobile terminal 100 and external device (ED).
Memory 109 can be used for storage software program and various data.Memory 109 can mainly include storing program area And storage data field, wherein, storing program area can storage program area, application program (such as the sound needed at least one function Sound playing function, image player function etc.) etc.;Storage data field can store according to mobile phone use created data (such as Voice data, phone directory etc.) etc..In addition, memory 109 can include high-speed random access memory, can also include non-easy The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 110 is the control centre of mobile terminal, utilizes each of various interfaces and the entire mobile terminal of connection A part is stored in storage by running or performing the software program being stored in memory 109 and/or module and call Data in device 109 perform the various functions of mobile terminal and processing data, so as to carry out integral monitoring to mobile terminal.Place Reason device 110 may include one or more processing units;Preferably, processor 110 can integrate application processor and modulatedemodulate is mediated Device is managed, wherein, the main processing operation system of application processor, user interface and application program etc., modem processor is main Handle wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 110.
Mobile terminal 100 can also be included to the power supply 111 (such as battery) of all parts power supply, it is preferred that power supply 111 Can be logically contiguous by power-supply management system and processor 110, so as to realize management charging by power-supply management system, put The functions such as electricity and power managed.
Although Fig. 1 is not shown, mobile terminal 100 can also be including bluetooth module etc., and details are not described herein.
For the ease of understanding the embodiment of the present invention, below to the communications network system that is based on of mobile terminal of the present invention into Row description.
Referring to Fig. 2, Fig. 2 is a kind of communications network system Organization Chart provided in an embodiment of the present invention, the communication network system It unites as the LTE system of universal mobile communications technology, UE (User Equipment, use of the LTE system including communicating connection successively Family equipment) 201, E-UTRAN (Evolved UMTS Terrestrial Radio Access Network, evolved UMTS lands Ground wireless access network) 202, EPC (Evolved Packet Core, evolved packet-based core networks) 203 and operator IP operation 204。
Specifically, UE201 can be above-mentioned terminal 100, and details are not described herein again.
E-UTRAN202 includes eNodeB2021 and other eNodeB2022 etc..Wherein, eNodeB2021 can be by returning Journey (backhaul) (such as X2 interface) is connected with other eNodeB2022, and eNodeB2021 is connected to EPC203, ENodeB2021 can provide the access of UE201 to EPC203.
EPC203 can include MME (Mobility Management Entity, mobility management entity) 2031, HSS (Home Subscriber Server, home subscriber server) 2032, other MME2033, SGW (Serving Gate Way, Gateway) 2034, PGW (PDN Gate Way, grouped data network gateway) 2035 and PCRF (Policy and Charging Rules Function, policy and rate functional entity) 2036 etc..Wherein, MME2031 be processing UE201 and The control node of signaling, provides carrying and connection management between EPC203.HSS2032 is all to manage for providing some registers Such as the function of attaching position register (not shown) etc, and some are preserved in relation to use such as service features, data rates The dedicated information in family.All customer data can be sent by SGW2034, and PGW2035 can provide the IP of UE 201 Address is distributed and other functions, and PCRF2036 is business data flow and the strategy of IP bearing resources and charging control strategic decision-making Point, it selects and provides available strategy and charging control decision-making with charge execution function unit (not shown) for strategy.
IP operation 204 can include internet, Intranet, IMS (IP Multimedia Subsystem, IP multimedia System) or other IP operations etc..
Although above-mentioned be described by taking LTE system as an example, those skilled in the art it is to be understood that the present invention not only Suitable for LTE system, be readily applicable to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA with And following new network system etc., it does not limit herein.
Based on above-mentioned mobile terminal hardware configuration and communications network system, each embodiment of the method for the present invention is proposed.
Embodiment one
Referring to Fig. 3, it illustrates a kind of method of image procossing provided in an embodiment of the present invention, this method can be applied to In terminal device with shooting function, this method can include:
S301:Obtain the corresponding acquisition parameters of multiple pictures being continuously shot;
S302:It is chosen from the multiple pictures with reference to photo;
S303:According to the acquisition parameters with reference to photo in the multiple pictures except it is described with reference to photo in addition to its He is adjusted photo.
For technical solution shown in Fig. 3, it is necessary to illustrate, in the phase handled currently for terminal taking image It, can be to reference object in extremely rapid succession in order to reduce the noise of shooting photo under night scene environment or the environment that jolts in the technology of pass Multiple pictures are shot, then, generated micro-displacement during according to photograph taking, the multiple pictures obtained to shooting carry out respectively Processing, so as to reduce the noise in photo, improves the clarity of photo.
For above-mentioned correlation technique, in the processing procedure of photo denoising, the shadow of external environment when having taken into consideration only shooting It rings, such as micro-displacement of generation etc.;But when in extremely rapid succession shooting multiple pictures under night scene environment or the environment that jolts, Terminal can also carry out small adjustment for acquisition parameters, for example, when the shooting operating mode of terminal is automatic mode, Terminal adaptively can be finely adjusted acquisition parameters before every photo is shot, for example, shooting when zoom focal length and/or Focal distance.So as to cause in obtained multiple pictures are quickly continuously shot, the acquisition parameters of each photo are inconsistent , then, when carrying out noise reduction process by multiple pictures, it is necessary to consider the mutually different acquisition parameters of each photo.So as to More efficiently to reduce the noise of photo, photographic quality is improved.
It is described to obtain multiple photographs being continuously shot in a kind of possible realization method for technical solution shown in Fig. 3 The corresponding acquisition parameters of piece, including:
Obtain the corresponding zoom focal length of the multiple pictures and/or focal distance.
It is to be appreciated that zoom focal length determines the size at camera lens visual angle, that is to say, that focal length is smaller, and visual angle is bigger, more suitable It is in step with large scene;Otherwise focal length is bigger, and visual angle is smaller, the scenery of more suitable shooting distant place.And focal distance refers to shooting pair During as shooting clear, the distance between focus position and camera lens are shot.Therefore, under night scene environment or the environment that jolts, During being continuously shot multiple pictures, terminal is illustratively clapped due to that adaptively can adjust above-mentioned two in each shooting Parameter is taken the photograph, therefore, the difference between each photo also has acquisition parameters in addition to the micro-displacement described in correlation technique Between gap.
It is described described to being removed in the multiple pictures according to the acquisition parameters with reference to photo for above-mentioned realization method It is adjusted with reference to other photos beyond photo, including:
By the zoom focal length of other photos and/or focal distance according to the zoom focal length with reference to photo and/or Focal distance carries out image procossing.
It should be noted that specific image processing process can include:
When the zoom focal length of other photos is less than the zoom focal length of the reference photo, other described photos are pressed The zoom focal length with reference to picture is taken to be amplified;
When the zoom focal length of other photos is more than the zoom focal length of the reference photo, other described photos are pressed The zoom focal length with reference to picture is taken to be reduced;
When the focal distance of other photos is less than or greater than the focal distance with reference to photo, will it is described other Be sharpened in photo with the reference object identical with reference to photo focal distance, and will in other described photos with the ginseng The different reference object of picture focal distance is obscured.
It is to be appreciated that the technical solution of the present embodiment is by multiple pictures it can be seen from specific image processing process Zoom focal length and/or focal distance according to reference to photo zoom focal length and/or focal distance carry out image procossing so that Zoom focal length and/or the focal distance for obtaining multiple pictures are consistent.The advantage so handled is, if follow-up need to shine multiple Piece is further processed, then, the acquisition parameters based on multiple pictures be adjusted to unanimously, processing when can avoid or Reduce the error of the image procossing caused by the difference of acquisition parameters.
For technical solution shown in Fig. 3, in a kind of possible realization method, reference is chosen from the multiple pictures Photo, including:
From the multiple pictures, the highest photo of clarity is chosen as described with reference to photo.
Specifically, this index of so-called clarity is preferably judged by the acutance of photo, acutance reflection photo One index of plane clarity and the sharp keen degree of its edges.It, can be with because terminal is after quick shooting obtains multiple pictures The highest photo of clarity is judged according to the acutance of each photo, so as to obtain with reference to photo.
For technical solution shown in Fig. 3, removed according to the acquisition parameters with reference to photo to the multiple pictures After described other photos with reference to beyond photo are adjusted, it is possible to based on the photo after adjustment according to the noise reduction of setting at Reason process is handled.In the present embodiment, carrying out processing according to the noise reduction process process of setting based on the photo after adjustment can By be preferably it is following two in a manner of:
Mode one:
It is synthesized described with reference to photo and the photo after the adjustment according to the synthesis strategy of setting, after obtaining noise reduction Photo.
For mode one, it is necessary to explanation, reduce photo noise mode would generally use multiple similar photos into Row synthesis mode, therefore, after the photo after being adjusted by technical solution shown in FIG. 1, terminal can by its with It is synthesized together with reference to photo, the photo after being synthesized, so as to reduce the noise in photo.
Mode two:
Multiple pictures after adjustment according to the denoising strategy of setting are handled, obtain the photo after noise reduction.
For mode two, it is necessary to explanation, reduce photo noise mode would generally be directed to every photo successively according to The filtering strategies of setting are filtered, so as to remove the additive noise in photo.
For technical solution shown in Fig. 3, in order to reduce the meter that the technical solution described in Fig. 1 is consumed during realization Resource is calculated, and is similarly in order to avoid influence of the larger photo of noise for denoising, in a kind of possible realization method In, before the corresponding acquisition parameters of multiple pictures that the acquisition is continuously shot, the method further includes:
Fog-level in the multiple pictures is met to the photo to impose a condition to reject.
It is rejected it should be noted that fog-level in the multiple pictures to be met to the photo to impose a condition, specifically Can be that the highest photo of fog-level is rejected to or is higher than fog-level several photos of given threshold It is rejected, the present embodiment does not repeat this.It is to be appreciated that by more blurred image carries out rejecting it in multiple pictures Afterwards, then technical solution shown in FIG. 1 is performed, so as to influence of the photo for denoising for avoiding noise larger.
The technical solution through this embodiment, it can be seen that by the way that continuously obtained multiple pictures quickly will be shot Acquisition parameters be adjusted to consistent, so as to subsequently for multiple pictures carry out denoising during eliminate acquisition parameters Influence, so as to more efficiently reduce the noise of photo, improve photographic quality.
Embodiment two
Based on the identical inventive concept of previous embodiment, the embodiment of the present invention is by specific example to the skill of previous embodiment Art scheme illustrates.
For example, terminal shot in one second and obtains four photos, respectively marked as A1, A2, A3 and A4;Specific four It is as shown in Figure 4 to open photo.As can be seen that the zoom focal length and focal distance of four photos are different.
For this four photos, first, on the one hand, can therefrom select the highest photo of clarity as with reference to photo; On the other hand, the highest photo of fog-level can also therefrom be selected to be rejected.It, will most clear photograph A1 conducts based on this With reference to photo, exemplary mark will can be carried out with five-pointed star before A1 marks in Fig. 4, and obtain the acquisition parameters of picture A 1 C1, such as zoom focal length and focal distance when shooting A1 can be included in;Most blurred image A4 is proposed.
Then, for picture A 2 and picture A 3, corresponding acquisition parameters C2 and C3 is obtained respectively, can also specifically include dividing Zoom focal length and focal distance not when shooting A2 and A3.
Then, for picture A 2 and A3, handled in the following way respectively:
When the zoom focal length of picture A 2 or A3 are less than the zoom focal length of picture A 1, by picture A 2 or A3 according to picture A 1 Zoom focal length is amplified;
When the zoom focal length of picture A 2 or A3 are more than the zoom focal length of picture A 1, by picture A 2 or A3 according to picture A 1 Zoom focal length is reduced;
When picture A 2 or the focal distance of A3 are less than or greater than the focal distance of picture A 1, by picture A 2 or A3 with photograph The identical reference object of piece A1 focal distances is sharpened, and by picture A 2 or A3 with the different bat of 1 focal distance of picture A Object is taken the photograph to be obscured.
After being disposed through the above way, obtained picture A 2 and picture A 3 is as shown in Figure 5 respectively.
Finally, with reference to the picture A 1 in Fig. 4 and picture A 2 and picture A 3 in Fig. 5, it becomes possible to which shooting photo is passed through Synthesis or the mode filtered respectively carry out denoising, so as to obtain the photo after denoising.
Specific example described in the present embodiment is specifically described the technical solution of previous embodiment.It can see Go out, by the way that the continuous acquisition parameters for quickly shooting obtained multiple pictures are adjusted to consistent, so as to subsequently for more The influence that photo carries out elimination acquisition parameters during denoising is opened, so as to more efficiently reduce the noise of photo, Improve photographic quality.
Embodiment three
Based on the identical inventive concept of previous embodiment, referring to Fig. 6, it illustrates a kind of ends provided in an embodiment of the present invention The composition at end 60, can include:Fetching portion 601, selected part 602 and adjustment member 603;
Wherein, fetching portion 601 are configured to obtain the corresponding acquisition parameters of multiple pictures being continuously shot;
Selected part 602 is configured to choose with reference to photo from the multiple pictures;
Adjustment member 603 is configured to according to the acquisition parameters with reference to photo to removing the ginseng in the multiple pictures Other photos beyond picture are adjusted.
In a kind of possible realization method, fetching portion 601, concrete configuration is:
Obtain the corresponding zoom focal length of the multiple pictures and/or focal distance.
Based on above-mentioned realization method, adjustment member 603, concrete configuration is:
By the zoom focal length of other photos and/or focal distance according to the zoom focal length with reference to photo and/or Focal distance carries out image procossing.
Specifically, adjustment member 603, concrete configuration are:
When the zoom focal length of other photos is less than the zoom focal length of the reference photo, other described photos are pressed The zoom focal length with reference to picture is taken to be amplified;
When the zoom focal length of other photos is more than the zoom focal length of the reference photo, other described photos are pressed The zoom focal length with reference to picture is taken to be reduced;
When the focal distance of other photos is less than or greater than the focal distance with reference to photo, will it is described other Be sharpened in photo with the reference object identical with reference to photo focal distance, and will in other described photos with the ginseng The different reference object of picture focal distance is obscured.
In a kind of possible realization method, selected part 602 is configured to:
From the multiple pictures, the highest photo of clarity is chosen as described with reference to photo.
In a kind of possible realization method, referring to Fig. 7, terminal 60 can also include noise reduction part 604, be configured to:
It is synthesized described with reference to photo and the photo after the adjustment according to the synthesis strategy of setting, after obtaining noise reduction Photo;Alternatively,
Multiple pictures after adjustment according to the denoising strategy of setting are handled, obtain the photo after noise reduction.
In a kind of possible realization method, fetching portion 601 is additionally configured to
Fog-level in the multiple pictures is met to the photo to impose a condition to reject.
It is to be appreciated that in the present embodiment, " part " can be partial circuit, segment processor, subprogram or soft Part etc., naturally it is also possible to be unit, it can also be non-modular for can also be module.
In addition, each component in the present embodiment can be integrated in a processing unit or each list Member be individually physically present, can also two or more units integrate in a unit.Above-mentioned integrated unit both can be with It is realized, can also be realized in the form of software function module in the form of hardware.
If the integrated unit realizes that being not intended as independent product is sold in the form of software function module Or it in use, can be stored in a computer read/write memory medium, based on such understanding, the technical side of the present embodiment The part or all or part of the technical solution that case substantially in other words contributes to the prior art can be produced with software The form of product embodies, which is stored in a storage medium, is used including some instructions so that one Platform computer equipment (can be personal computer, server or the network equipment etc.) or processor (processor) perform sheet The all or part of step of embodiment the method.And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only memory (ROM, Read Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD Etc. the various media that can store program code.
Therefore, a kind of computer-readable medium is present embodiments provided, which has picture processing The step of program, the picture processing program realizes the method described in above-described embodiment one when being performed by least one processor.
Based on above-mentioned terminal 60 and computer-readable medium, referring to Fig. 8, it illustrates ends provided in an embodiment of the present invention The particular hardware structure at end 60, can include:Camera 801 is configured to be continuously shot multiple pictures;It is stored with image procossing journey The memory 802 of sequence;And processor 803.Various components are coupled by bus system 804.It is understood that bus system 804 are used to implement the connection communication between these components.It is total to further include power supply in addition to including data/address bus for bus system 804 Line, controlling bus and status signal bus in addition.But for the sake of clear explanation, various buses are all designated as total linear system in fig. 8 System 804.
Processor 803 is configured to perform the picture processing program to realize following steps:
Obtain the corresponding acquisition parameters of multiple pictures being continuously shot;
It is chosen from the multiple pictures with reference to photo;
According to the acquisition parameters with reference to photo to other photographs in the multiple pictures in addition to the reference photo Piece is adjusted.
It is appreciated that the memory 802 in the embodiment of the present invention can be volatile memory or nonvolatile memory, Or it may include both volatile and non-volatile memories.Wherein, nonvolatile memory can be read-only memory (Read- Only Memory, ROM), programmable read only memory (Programmable ROM, PROM), the read-only storage of erasable programmable Device (Erasable PROM, EPROM), electrically erasable programmable read-only memory (Electrically EPROM, EEPROM) or Flash memory.Volatile memory can be random access memory (Random Access Memory, RAM), be used as external high Speed caching.By exemplary but be not restricted explanation, the RAM of many forms can use, such as static RAM (Static RAM, SRAM), dynamic random access memory (Dynamic RAM, DRAM), Synchronous Dynamic Random Access Memory (Synchronous DRAM, SDRAM), double data speed synchronous dynamic RAM (Double Data Rate SDRAM, DDRSDRAM), enhanced Synchronous Dynamic Random Access Memory (Enhanced SDRAM, ESDRAM), synchronized links Dynamic random access memory (Synchlink DRAM, SLDRAM) and direct rambus random access memory (Direct Rambus RAM, DRRAM).The memory 802 of system and method described herein be intended to including but not limited to these and it is arbitrary its It is suitble to the memory of type.
And processor 803 may be a kind of IC chip, the processing capacity with signal.During realization, on Stating each step of method can be completed by the integrated logic circuit of the hardware in processor 803 or the instruction of software form. Above-mentioned processor 803 can be general processor, digital signal processor (Digital Signal Processor, DSP), Application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor are patrolled Collect device, discrete hardware components.It can realize or perform disclosed each method, step and the logical box in the embodiment of the present invention Figure.General processor can be microprocessor or the processor can also be any conventional processor etc..With reference to the present invention The step of method disclosed in embodiment, can be embodied directly in hardware decoding processor and perform completion or use decoding processor In hardware and software module combination perform completion.Software module can be located at random access memory, and flash memory, read-only memory can In the storage medium of this fields such as program read-only memory or electrically erasable programmable memory, register maturation.The storage Medium is located at memory 802, and processor 803 reads the information in memory 802, and the step of the above method is completed with reference to its hardware Suddenly.
It is understood that embodiments described herein can use hardware, software, firmware, middleware, microcode or its It combines to realize.For hardware realization, processing unit can be realized in one or more application-specific integrated circuit (Application Specific Integrated Circuits, ASIC), digital signal processor (Digital Signal Processing, DSP), digital signal processing appts (DSP Device, DSPD), programmable logic device (Programmable Logic Device, PLD), field programmable gate array (Field-Programmable Gate Array, FPGA), general processor, Controller, microcontroller, microprocessor, for perform other electronic units of herein described function or its combination in.
For software implementations, can be realized herein by performing the module (such as process, function etc.) of function described herein The technology.Software code is storable in memory and is performed by processor.Memory can in the processor or It is realized outside processor.
Specifically, when the processor 803 in terminal 60 is additionally configured to run the computer program, perform:
Obtain the corresponding zoom focal length of the multiple pictures and/or focal distance.
Specifically, when the processor 803 in terminal 60 is additionally configured to run the computer program, perform:
By the zoom focal length of other photos and/or focal distance according to the zoom focal length with reference to photo and/or Focal distance carries out image procossing.
Specifically, when the processor 803 in terminal 60 is additionally configured to run the computer program, perform:
When the zoom focal length of other photos is less than the zoom focal length of the reference photo, other described photos are pressed The zoom focal length with reference to picture is taken to be amplified;
When the zoom focal length of other photos is more than the zoom focal length of the reference photo, other described photos are pressed The zoom focal length with reference to picture is taken to be reduced;
When the focal distance of other photos is less than or greater than the focal distance with reference to photo, will it is described other Be sharpened in photo with the reference object identical with reference to photo focal distance, and will in other described photos with the ginseng The different reference object of picture focal distance is obscured.
Specifically, when the processor 803 in terminal 60 is additionally configured to run the computer program, perform:
From the multiple pictures, the highest photo of clarity is chosen as described with reference to photo.
Specifically, when the processor 803 in terminal 60 is additionally configured to run the computer program, perform:
It is synthesized described with reference to photo and the photo after the adjustment according to the synthesis strategy of setting, after obtaining noise reduction Photo.
Specifically, when the processor 803 in terminal 60 is additionally configured to run the computer program, perform:
Multiple pictures after adjustment according to the denoising strategy of setting are handled, obtain the photo after noise reduction.
Specifically, when the processor 803 in terminal 60 is additionally configured to run the computer program, perform:
Fog-level in the multiple pictures is met to the photo to impose a condition to reject..
It should be noted that herein, term " comprising ", "comprising" or its any other variant are intended to non-row His property includes, so that process, method, article or device including a series of elements not only include those elements, and And it further includes other elements that are not explicitly listed or further includes as this process, method, article or device institute inherently Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including this Also there are other identical elements in the process of element, method, article or device.
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on such understanding, technical scheme substantially in other words does the prior art Going out the part of contribution can be embodied in the form of software product, which is stored in a storage medium In (such as ROM/RAM, magnetic disc, CD), used including some instructions so that a station terminal (can be mobile phone, computer services Device, air conditioner or network equipment etc.) perform method described in each embodiment of the present invention.
The embodiment of the present invention is described above in conjunction with attached drawing, but the invention is not limited in above-mentioned specific Embodiment, above-mentioned specific embodiment is only schematical rather than restricted, those of ordinary skill in the art Under the enlightenment of the present invention, present inventive concept and scope of the claimed protection are not being departed from, can also made very much Form, these are belonged within the protection of the present invention.

Claims (10)

  1. A kind of 1. method of image procossing, which is characterized in that the described method includes:
    Obtain the corresponding acquisition parameters of multiple pictures being continuously shot;
    It is chosen from the multiple pictures with reference to photo;
    According to the acquisition parameters with reference to photo in the multiple pictures except it is described with reference to photo in addition to other photos into Row adjustment.
  2. 2. according to the method described in claim 1, it is characterized in that, described to obtain the multiple pictures that are continuously shot corresponding Acquisition parameters, including:
    Obtain the corresponding zoom focal length of the multiple pictures and/or focal distance.
  3. 3. according to the method described in claim 2, it is characterized in that, the acquisition parameters according to the reference photo are to described In multiple pictures except it is described with reference to photo in addition to other photos be adjusted, including:
    By the zoom focal length of other photos and/or focal distance according to the zoom focal length with reference to photo and/or focusing Distance carries out image procossing.
  4. It is 4. according to the method described in claim 3, it is characterized in that, described by the zoom focal length of other photos and/or right Defocus distance carries out image procossing according to the zoom focal length with reference to photo and/or focal distance, including:
    When the zoom focal length of other photos is less than the zoom focal length of the reference photo, by other described photos according to institute The zoom focal length stated with reference to photo is amplified;
    When the zoom focal length of other photos is more than the zoom focal length of the reference photo, by other described photos according to institute The zoom focal length stated with reference to photo is reduced;
    It, will other described photos when the focal distance of other photos is less than or greater than the focal distance of the reference photo In be sharpened with the reference object identical with reference to photo focal distance, and will in other described photos with described with reference to shining The different reference object of piece focal distance is obscured.
  5. 5. according to the method described in claim 1, it is characterized in that, chosen from the multiple pictures with reference to photo, including:
    From the multiple pictures, the highest photo of clarity is chosen as described with reference to photo.
  6. 6. according to the method described in claim 1, it is characterized in that, in the acquisition parameters according to the reference photo to described more In photo except it is described with reference to photo in addition to other photos be adjusted after, the method further includes:
    It is synthesized described with reference to photo and the photo after the adjustment according to the synthesis strategy of setting, obtains the photograph after noise reduction Piece.
  7. 7. according to the method described in claim 1, it is characterized in that, in the acquisition parameters according to the reference photo to described more In photo except it is described with reference to photo in addition to other photos be adjusted after, the method further includes:
    Multiple pictures after adjustment according to the denoising strategy of setting are handled, obtain the photo after noise reduction.
  8. 8. it according to the method described in claim 1, it is characterized in that, is each corresponded in the multiple pictures that the acquisition is continuously shot Acquisition parameters before, the method further includes:
    Fog-level in the multiple pictures is met to the photo to impose a condition to reject.
  9. 9. a kind of terminal, which is characterized in that the terminal includes:
    Camera is configured to be continuously shot multiple pictures;
    It is stored with the memory of image processing program;
    Processor is configured to perform the picture processing program to realize the step of method any one of claim 1 to 8 Suddenly.
  10. 10. a kind of computer readable storage medium, which is characterized in that be stored on the computer readable storage medium at picture Program is managed, realizes that picture described in any item of the claim 1 to 8 such as is handled when the picture processing program is executed by processor The step of method.
CN201711206467.1A 2017-11-27 2017-11-27 A kind of method of image procossing, equipment and storage medium Pending CN108053369A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711206467.1A CN108053369A (en) 2017-11-27 2017-11-27 A kind of method of image procossing, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711206467.1A CN108053369A (en) 2017-11-27 2017-11-27 A kind of method of image procossing, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN108053369A true CN108053369A (en) 2018-05-18

Family

ID=62120545

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711206467.1A Pending CN108053369A (en) 2017-11-27 2017-11-27 A kind of method of image procossing, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN108053369A (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090303263A1 (en) * 2008-06-10 2009-12-10 Canon Kabushiki Kaisha Display control apparatus and method
CN103345756A (en) * 2013-07-19 2013-10-09 浙江农林大学 Automatic focusing method, device and electronic equipment of microscope in urinary sediment analyzer
CN105427263A (en) * 2015-12-21 2016-03-23 努比亚技术有限公司 Method and terminal for realizing image registering
CN105513021A (en) * 2015-11-27 2016-04-20 努比亚技术有限公司 Image noise reduction device and method
US20160148352A1 (en) * 2014-11-21 2016-05-26 Adobe Systems Incorporated Area-Dependent Image Enhancement
CN106097284A (en) * 2016-07-29 2016-11-09 努比亚技术有限公司 The processing method of a kind of night scene image and mobile terminal
CN106331491A (en) * 2016-08-29 2017-01-11 广东欧珀移动通信有限公司 Photographing method and device
CN107085837A (en) * 2017-05-31 2017-08-22 广东欧珀移动通信有限公司 Noise reduction process method, device, storage medium and terminal
CN107230192A (en) * 2017-05-31 2017-10-03 广东欧珀移动通信有限公司 Image processing method, device, computer-readable recording medium and mobile terminal

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090303263A1 (en) * 2008-06-10 2009-12-10 Canon Kabushiki Kaisha Display control apparatus and method
CN103345756A (en) * 2013-07-19 2013-10-09 浙江农林大学 Automatic focusing method, device and electronic equipment of microscope in urinary sediment analyzer
US20160148352A1 (en) * 2014-11-21 2016-05-26 Adobe Systems Incorporated Area-Dependent Image Enhancement
CN105513021A (en) * 2015-11-27 2016-04-20 努比亚技术有限公司 Image noise reduction device and method
CN105427263A (en) * 2015-12-21 2016-03-23 努比亚技术有限公司 Method and terminal for realizing image registering
CN106097284A (en) * 2016-07-29 2016-11-09 努比亚技术有限公司 The processing method of a kind of night scene image and mobile terminal
CN106331491A (en) * 2016-08-29 2017-01-11 广东欧珀移动通信有限公司 Photographing method and device
CN107085837A (en) * 2017-05-31 2017-08-22 广东欧珀移动通信有限公司 Noise reduction process method, device, storage medium and terminal
CN107230192A (en) * 2017-05-31 2017-10-03 广东欧珀移动通信有限公司 Image processing method, device, computer-readable recording medium and mobile terminal

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
刘旨春: "基于图像清晰度的自动调焦方法", 《应用研究》 *

Similar Documents

Publication Publication Date Title
CN107659758A (en) Periscopic filming apparatus and mobile terminal
CN107770448A (en) A kind of image-pickup method, mobile terminal and computer-readable storage medium
CN107194963A (en) A kind of dual camera image processing method and terminal
CN107820014A (en) A kind of image pickup method, mobile terminal and computer-readable storage medium
CN108008889A (en) Photographic method, mobile terminal and the computer-readable recording medium of flexible screen
CN107133939A (en) A kind of picture synthesis method, equipment and computer-readable recording medium
CN107317963A (en) A kind of double-camera mobile terminal control method, mobile terminal and storage medium
CN107682627A (en) A kind of acquisition parameters method to set up, mobile terminal and computer-readable recording medium
CN107948530A (en) A kind of image processing method, terminal and computer-readable recording medium
CN107730462A (en) A kind of image processing method, terminal and computer-readable recording medium
CN107948360A (en) Image pickup method, terminal and the computer-readable recording medium of flexible screen terminal
CN108234876A (en) A kind of tracking focusing method, terminal and computer readable storage medium
CN108322647A (en) Panoramic picture image pickup method, mobile terminal and computer readable storage medium
CN107959795A (en) A kind of information collecting method, equipment and computer-readable recording medium
CN107124552A (en) A kind of image pickup method, terminal and computer-readable recording medium
CN108197554A (en) A kind of camera starts method, mobile terminal and computer readable storage medium
CN107566734A (en) Portrait is taken pictures intelligent control method, terminal and computer-readable recording medium
CN108282617A (en) Mobile terminal image pickup method, mobile terminal and computer readable storage medium
CN107483804A (en) A kind of image pickup method, mobile terminal and computer-readable recording medium
CN108055463A (en) Image processing method, terminal and storage medium
CN107770443A (en) A kind of image processing method, mobile terminal and computer-readable recording medium
CN108200229A (en) Image pickup method, terminal and the computer readable storage medium of flexible screen terminal
CN107979727A (en) A kind of document image processing method, mobile terminal and computer-readable storage medium
CN108600458A (en) Method, photo taking, device and computer readable storage medium
CN107566731A (en) A kind of focusing method and terminal, computer-readable storage medium

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

Application publication date: 20180518