CN107566749A - Image pickup method and mobile terminal - Google Patents

Image pickup method and mobile terminal Download PDF

Info

Publication number
CN107566749A
CN107566749A CN201710877061.XA CN201710877061A CN107566749A CN 107566749 A CN107566749 A CN 107566749A CN 201710877061 A CN201710877061 A CN 201710877061A CN 107566749 A CN107566749 A CN 107566749A
Authority
CN
China
Prior art keywords
image
exposure
mobile terminal
target
shooting
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
CN201710877061.XA
Other languages
Chinese (zh)
Other versions
CN107566749B (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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201710877061.XA priority Critical patent/CN107566749B/en
Publication of CN107566749A publication Critical patent/CN107566749A/en
Application granted granted Critical
Publication of CN107566749B publication Critical patent/CN107566749B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Studio Devices (AREA)

Abstract

The invention provides a kind of image pickup method and mobile terminal, it is related to technical field of image processing, applied to the mobile terminal including main camera and secondary camera, methods described includes:During the preview image that shooting preview interface shows that main camera gathers in real time, obtain the image sets of the different exposures of secondary camera collection, exposure based on each image in described image group, it is determined that combined with the target light exposure degree that current shooting environment matches, if receiving shooting instruction, control the main camera to be combined according to the target light exposure degree and perform shooting operation.By constantly obtaining image corresponding to different exposures, exposure corresponding with current environment can be obtained in real time, so as to accurately determine the combination of the exposure of suitable current environment, so that the image that shooting obtains is after synthesis, each details in image can be embodied, the problem of exposure has deviation and causes fogging image is avoided, improves the definition of image.

Description

Image pickup method and mobile terminal
Technical field
The present embodiments relate to technical field of image processing, more particularly to a kind of image pickup method and mobile terminal.
Background technology
With the continuous development of mobile terminal, (High-Dynamic Range, height are dynamic by the HDR of generally use mobile terminal State scope) function taken pictures so that and it is more and more clear to take pictures to obtain image.
In correlation technique, for mobile terminal after the camera function that detection user opens mobile terminal, mobile terminal can root According to the bright-dark degree of current environment, depth of exposure when adjustment is taken pictures, after the option of taking pictures of user's triggering is detected, Ke Yigen Multiple RAW (untreated) data are obtained according to different depth of exposures, finally multiple RAW data are synthesized, synthesized Image afterwards.
But there is deviation in the depth of exposure that mobile terminal is adjusted according to current environment so that the image after synthesis is clear Clear degree is poor, it is impossible to embodies each details in image.
The content of the invention
The present invention provides a kind of image pickup method and mobile terminal, poor to solve the image definition after synthesizing, it is impossible to body The problem of showing each details in image.
In order to solve the above-mentioned technical problem, the present invention is realized in:A kind of image pickup method, applied to including main shooting The mobile terminal of head and secondary camera, methods described include:
During the preview image that shooting preview interface shows that main camera gathers in real time, secondary camera collection is obtained The image sets of different exposures;
Based on the exposure of each image in described image group, it is determined that the target light exposure degree to match with current shooting environment Combination;
If receiving shooting instruction, control the main camera to be combined according to the target light exposure degree and perform shooting behaviour Make.
In a first aspect, the embodiment of the present invention additionally provides a kind of mobile terminal, the mobile terminal includes:
Acquisition module, for show that main camera gathers in real time in shooting preview interface preview image during, obtain The image sets of the different exposures of secondary camera collection;
Determining module, for the exposure based on each image in described image group, it is determined that with current shooting environment phase The target light exposure degree combination matched somebody with somebody;
Taking module, if for receiving shooting instruction, the main camera is controlled according to the target light exposure degree group Close and perform shooting operation.
Second aspect, the embodiments of the invention provide a kind of mobile terminal, including processor, memory and it is stored in described On memory and the computer program that can run on the processor, the computer program is by real during the computing device Now the step of image pickup method as any one of image pickup method.
The third aspect, the embodiments of the invention provide a kind of computer-readable recording medium, the computer-readable storage Computer program is stored with medium, is realized when the computer program is executed by processor as any one of image pickup method Image pickup method the step of.
In embodiments of the present invention, by constantly obtaining image corresponding to different exposures, can obtain in real time with currently Exposure corresponding to environment, so as to accurately determine and the exposure corresponding to current environment so that shoot obtained image warp After crossing synthesis, each details in image can be embodied, avoids the problem of exposure has deviation and causes fogging image, Improve the definition of image.
Brief description of the drawings
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below by institute in the description to the embodiment of the present invention The accompanying drawing needed to use is briefly described, it should be apparent that, drawings in the following description are only some implementations of the present invention Example, for those of ordinary skill in the art, without having to pay creative labor, can also be according to these accompanying drawings Obtain other accompanying drawings.
Fig. 1 is the schematic diagram of the mobile terminal involved by a kind of image pickup method provided in an embodiment of the present invention;
Fig. 2 is a kind of step flow chart of image pickup method provided in an embodiment of the present invention;
Fig. 3 is a kind of step flow chart of image pickup method provided in an embodiment of the present invention;
Fig. 4 is a kind of structured flowchart of mobile terminal provided in an embodiment of the present invention;
Fig. 5 is a kind of hardware architecture diagram of mobile terminal provided in an embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation describes, it is clear that described embodiment is part of the embodiment of the present invention, rather than whole embodiments.Based on this hair Embodiment in bright, the every other implementation that those of ordinary skill in the art are obtained under the premise of creative work is not made Example, belongs to the scope of protection of the invention.
Fig. 1 is the schematic diagram of the mobile terminal involved by a kind of image pickup method exemplified according to exemplary partial implementation, As shown in figure 1, the mobile terminal can include main camera 110, secondary camera 120, processor 130, memory 140 and display Device 150.
Wherein, the processor 130 connects with main camera 110, secondary camera 120, memory 140 and display 150 respectively Connect.
Specifically, after mobile terminal detects that user opens shoot function, main camera 110 can obtain current environment Image, and the image transmitting of current environment to processor 130, processor 130 can then be shown currently by display 150 The image of environment, so that user carries out preview to the image that can be shot.
Meanwhile secondary camera 120 can also obtain different exposure journeys according to the multiple exposures pre-set, constantly shooting The alternative image of degree, and alternative image transmitting to processor 130, the processor 130 that shooting is obtained then can be by alternative image Store to memory 140.
After shooting obtains alternative image, processor 130 can be analyzed alternative image, it is determined that in current environment Under, meet the target image of preparatory condition, so that it is determined that the exposure corresponding to target image, obtains exposure combination.
Finally, the exposure can be combined and sent to main camera 110 by processor 130 so that main camera 110 can be with Shot according to exposure combination, after detecting that user triggers shooting operation, main camera 110 can be according to the exposure Degree combination is shot, so as to obtain the image for synthesis.Processor 130 can then close to the image for being used to synthesize Into the image after being synthesized.
Reference picture 2, a kind of step flow chart of image pickup method of the embodiment of the present invention is shown, applied to as shown in Figure 1 Mobile terminal in, specifically may include steps of:
Step 201, the image sets of the different exposures of secondary camera collection are obtained.
Wherein, the exposure can include at least one in exposure time and exposure gain.For example, the exposure of main camera Luminosity can be EV-0, then corresponding exposure time can be 33 milliseconds, and exposure gain can be 2 times.
Because mobile terminal can include main camera and secondary camera, shoot function is opened detecting that user triggers After operation, mobile terminal can obtain image by main camera, and show shooting interface to user, so that user is to shooting Picture carries out preview.Moreover, during the preview image that shooting preview interface shows that main camera gathers in real time, can also lead to Cross the image sets that secondary camera gathers different exposures.
Specifically, after mobile terminal detects that user triggers the operation for opening shoot function, main camera can be passed through The image of current environment is obtained, mobile terminal can then show the image obtained in shooting preview interface to user, while secondary Camera can constantly be shot according to the exposure pre-set, and so as to obtain the image of different exposures, combination obtains The image sets of different exposures, to determine suitable exposure according to the image sets of the different exposures in subsequent step.
Moreover, secondary camera, during alternative image is obtained, mobile terminal can be according at least two pre-set Individual exposure, at least two alternative pictures are obtained by secondary camera.It that is to say, secondary camera can be more according to what is pre-set Individual exposure, using different exposure shooting images, so as to obtain the image sets of different exposures.
Further, secondary camera can persistently be shot, and according at least two exposures pre-set, be followed Ring shooting obtains alternative image, until mobile terminal determines to combine with the exposure that current environment matches.
In addition, when secondary camera is shot, can be to clapping on the basis of not influenceing to determine exposure combinational algorithm precision The image for taking the photograph to obtain is compressed, and obtains taking the less image of memory space, so as to save the memory space of mobile terminal.Example Such as, secondary camera is during alternative image is obtained, and shooting obtains multiple images, and to some rows in each image and/or Pixel is deleted corresponding to row, is stored so as to obtain less image.
Step 202, the exposure based on each image in image sets, it is determined that being exposed with the target that current shooting environment matches Luminosity combines.
Mobile terminal can be then analyzed the image sets, it is determined that each after the image sets of different exposures are obtained Ratio in image shared by the pixel of different color ranges.When the ratio shared by the higher pixel of color range is higher, illustrate that shooting obtains Image be overexposure image;When the ratio shared by the relatively low pixel of color range is higher, illustrate the image to owe to expose image.
Therefore, it is necessary to which obtaining different exposures obtains the combination of target light exposure degree, so as to can basis in subsequent step The target light exposure degree combines, and obtains the image of different exposures, and then the image after being synthesized.
Step 203, if receiving shooting instruction, control main camera to be combined according to target light exposure degree and perform shooting behaviour Make.
After the combination of acquisition for mobile terminal target light exposure degree, you can be synchronized to parameter value corresponding to target light exposure degree combination Main camera so that main camera can be combined according to the target light exposure degree and shot, so as to obtain the image for synthesis, Finally image is obtained to shooting to synthesize, complete the acquisition to image.
Specifically, when mobile terminal detects the shooting operation of user's triggering, then shooting instruction is received, can be according to Exposure parameter value corresponding to target light exposure degree combination, overexposure image is obtained by main camera respectively, owes to expose image and just The image often exposed, then three images of acquisition are synthesized, the image after being synthesized.
In summary, the image pickup method described in the embodiment of the present invention, by constantly obtaining image corresponding to different exposures, Exposure corresponding with current environment can be obtained in real time, so as to accurately determine with the exposure corresponding to current environment, make The image that must shoot to obtain can embody each details in image, avoid exposure and deviation be present and make after synthesis The problem of into fogging image, improve the definition of image.
Reference picture 3, a kind of step flow chart of image pickup method of the embodiment of the present invention is shown, applied to as shown in Figure 1 Mobile terminal in, specifically may include steps of:
Step 301, the image sets of the different exposures of secondary camera collection are obtained.
This step 301 is similar with step 201, will not be repeated here.
Step 302, the exposure based on each image in image sets, it is determined that being exposed with the target that current shooting environment matches Luminosity combines.
After the image sets of acquisition for mobile terminal difference exposure, then each image in image sets can be analyzed, The pixels of different color ranges ratio shared in affiliated image is obtained, according to the ratio of the pixel of each color range of each image, Determine whether the exposure corresponding to image matches with current environment, so as to choose the image for meeting preparatory condition, and then obtain Corresponding exposure is taken, obtains the combination of target light exposure degree.
Wherein, the color range of pixel is used for the brightness for indicating pixel, and the color range of pixel is higher, then the brightness of pixel is also higher. For example, color range can be divided into 0 to 255 grade, color range is higher, and pixels illustrated is brighter.
Optionally, mobile terminal can obtain the light and shade ratio of each image in image sets, and by light dark ratio in image sets Example meets that the image of preparatory condition is defined as target image, at least two target images is obtained, finally according at least two mesh Exposure corresponding to logo image, combination obtain the combination of target light exposure degree.
Wherein, the light and shade ratio is used to indicate high luminance pixels in image or the ratio shared by low bright pixel, and high luminance pixels can Think that color range is more than or equal to the pixel of 250 grades, low bright pixel can be the pixel that color range is less than or equal to 5 grades.
Specifically, mobile terminal can be then analyzed each image in the image sets, really after image sets are obtained Determine the color range corresponding to each pixel in image, and it is shared in all pixels to obtain the pixel corresponding to each color range Ratio, so as to obtain light and shade ratio, then by the light and shade ratio compared with the proportion threshold value pre-set, when light and shade ratio not During more than proportion threshold value, then illustrate that the image meets preparatory condition, can be using the image as target image.
Further, because mobile terminal is in storage image group, can also store and each image in the image sets Exposure, therefore mobile terminal can also obtain exposure corresponding with the target image, to tie it is determined that during target image The exposure of other target images is closed, combination obtains the combination of target light exposure degree.
In addition, it is determined that during the light and shade ratio of image, for each image in image sets, mobile terminal can give birth to Into histogram corresponding to image, and the histogram according to corresponding to the image, determine the high luminance pixels in the image or low bright pixel Shared ratio, finally can by the ratio-dependent shared by the high luminance pixels of the image or low bright pixel be image light dark ratio Example.
It should be noted that the embodiment of the present invention is illustrated by taking an image in image sets as an example, and in reality In the application of border, mobile terminal needs to obtain light and shade ratio to each image in image sets, it is determined whether is the mistake of target image Journey, it will not be repeated here.
For example, if proportion threshold value is 1%, mobile terminal can obtain the light and shade ratio of some image, when the light and shade When ratio is less than or equal to 1%, then illustrate that the light and shade ratio of the image matches with current environment, be adapted to carry out in current environment Image after being synthesized, can be using the image as target image.
It should be noted that due to needing composograph in subsequent step, and overexposure figure can be passed through during composograph As, the image of owing to expose image and normal exposure is synthesized, so as to the image after being synthesized.Therefore, it is necessary to choose with currently The corresponding overexposure image of environment, owe to expose the image of image and normal exposure, so that it is determined that corresponding exposure parameter, is combined Combined to target light exposure degree.
Furthermore it is also possible to synthesized only by overexposure image and the deficient image that exposes, it is no longer necessary to the image of normal exposure, Therefore the combination of target light exposure degree can also only include overexposure image and owe to expose the exposure parameter corresponding to image, and the present invention is implemented The number of exposure parameter does not limit during example combines to target light exposure degree.
Step 303, if receiving shooting instruction, control main camera to be combined according to target light exposure degree and perform shooting behaviour Make.
After the combination of acquisition for mobile terminal exposure, you can exposure combination is synchronized into main camera so that master takes the photograph It is exposed as head can combine in shooting according to target light exposure degree, so as to obtain image, so as to the basis in subsequent step The image of acquisition is synthesized.
Optionally, the exposure parameter of main camera can be arranged to the combination of target light exposure degree by mobile terminal, and control master Camera combines shooting at least two images according to the target light exposure degree, obtains target image group.It that is to say, when mobile terminal is examined When measuring the shooting operation of user's triggering, then it can be combined and be shot according to the target light exposure degree, obtain at least two images.
Specifically, mobile terminal can shoot main camera the exposure parameter of when institute's foundation, replace with exposure group Close corresponding parameter.When mobile terminal detects the shooting operation of user's triggering, then main camera can be according to exposure The corresponding parameter of combination is shot, and obtains at least two images, so as in subsequent step, according at least two image Synthesized.
Step 304, the image of shooting is synthesized, the image after being synthesized.
Mobile terminal is shot after obtaining target image group, can carry out registration to each image in target image group, with On the basis of some image so that other images and the image are completely the same, to be synthesized according to the image after alignment, obtain Image after synthesis, the image after synthesis can also be finally sharpened, the operation such as denoising and color enhancement, obtained final Image.
For example, mobile terminal can carry out the operations such as registration, synthesis to RAW data (image after shooting), so as to Image after to synthesis, the image after synthesis can be inputted to the image-signal processor of mobile terminal afterwards, pass through the image The processing such as signal processor is sharpened to the image after synthesis, denoising and color enhancement, obtain YUV (brightness-aberration) data, Finally yuv data is compressed and preserved, obtains JPEG (Joint Photographic Experts Group, joint figure As panel of expert) image of form.
Optionally, mobile terminal can be by the way of gray level image registration and coloured picture image registration, to target image group In each image carry out feature extraction, extraction obtain the gray feature and coloured picture feature of each image, obtained further according to extraction Gray feature and coloured picture feature, each image in target image group is subjected to registration, finally will be after registration it is all Image carries out image synthesis, the image after being synthesized.
During due to carrying out feature extraction using Image Matching algorithm, the color in image may be ignored, can not be obtained To optimal image synthetic effect, therefore also need to use coloured picture image registration algorithm, obtain the characteristic information in coloured picture, so as to Synthesis obtains the image of best results.
Specifically, mobile terminal carries out gray level image with time, image in target image group first can be converted into gray scale Image, and benchmark image is subjected to edge extracting, edge image is obtained, then to this pyramid decomposition of edge image 3 floor heights of progress. And since lowest resolution, with reference to the registration parameter X=[0 0 0] of initializationT, registration is carried out to edge image, matched somebody with somebody Quasi- parameter X.Finally using obtained registration parameter, high one-level image in different resolution is rotated, translated, and carries out image again Registration, new registration parameter is obtained, this process is repeated, untill highest resolution layer.
Accordingly, mobile terminal carry out coloured picture image registration when, can according to two parameter simulation shooting angle of longitude and latitude, And the theory that color combining is constant, respective Color invariants are all extracted to each image.On the basis of extraction Color invariants On, the image that can be shot to different angle establishes gaussian pyramid.
Further, the gaussian pyramid based on Color invariants, the difference of Gaussian pyramid of Color invariants is established, In difference of Gaussian pyramid, by the detection of Local Extremum and being accurately positioned for characteristic point, stable characteristic point is detected.
Finally, with the statistical property of the subregion of characteristic point, the Feature Descriptor for a little establishing 128 dimensions is characterized, utilizes Europe The similitude of family name's distance metric characteristic point Feature Descriptor, obtains Feature Points Matching pair, is detected using Epipolar geometry bounding theory The accuracy of the characteristic point pair matched.
It should be noted that mobile terminal can use ASIFT (Affine Scaleinvariant Feature Transform, affine Scale invariant features transform) image registration algorithm progress gray level image registration, it can also be used certainly His image registration algorithm, the embodiment of the present invention are not limited this.
In summary, the image pickup method described in the embodiment of the present invention, by constantly obtaining image corresponding to different exposures, Exposure corresponding with current environment can be obtained in real time, so as to accurately determine with the exposure corresponding to current environment, make The image that must shoot to obtain can embody each details in image, avoid exposure and deviation be present and make after synthesis The problem of into fogging image, improve the definition of image.
Further, by obtaining the light and shade ratio of image, and according to the light and shade ratio selection target image of image, so that Corresponding target light exposure degree combination is obtained, avoids by being synthesized the process so that it is determined that target image to image, improves The efficiency of target image is determined, improves the efficiency for obtaining the combination of target light exposure degree.
Further, by generating the histogram of image, it is bright can be improved with the light and shade ratio of quick obtaining image for determination The efficiency of dark ratio.
Further, combined by the way that the exposure parameter of main camera is arranged into target light exposure degree so that main camera can To be shot according to target light exposure degree, and image is obtained to shooting and carries out the operation such as feature extraction, registration and synthesis so that closed Image after not only gets a promotion in terms of details, and is got a promotion on image consistency, avoids in image and occurs The generation of situations such as ghost image.
Reference picture 4, a kind of structured flowchart of mobile terminal of the embodiment of the present invention is shown, can specifically be included:
Acquisition module 401, for show that main camera gathers in real time in shooting preview interface preview image during, obtain Take the image sets of the different exposures of secondary camera collection;
Determining module 402, for the exposure based on each image in the image sets, it is determined that with current shooting environment phase The target light exposure degree combination matched somebody with somebody;
Taking module 403, if for receiving shooting instruction, the main camera is controlled to be combined according to the target light exposure degree Perform shooting operation.
Optionally, the determining module 402 includes:
Ratio acquisition submodule, for obtaining the light and shade ratio of each image in the image sets;
Image determination sub-module, for light and shade ratio in the image sets to be met into the image of preparatory condition is defined as target figure Picture, obtain at least two target images;
Submodule is combined, for the exposure according to corresponding at least two target image, combination obtains the target light exposure Degree combination.
Optionally, the ratio acquisition submodule includes:
Generation unit, for for each image in the image sets, generating histogram corresponding to the image;
Ratio computing unit, for the histogram according to corresponding to the image, determine the high luminance pixels or low bright in the image Ratio shared by pixel;
Ratio-dependent unit, for being the image by the ratio-dependent shared by the high luminance pixels of the image or low bright pixel Light and shade ratio.
Optionally, the mobile terminal also includes:
Parameter synchronization module, for the exposure parameter of the main camera to be arranged into target light exposure degree combination.
Optionally, the taking module 403 includes:
Shooting submodule, for controlling the main camera to combine shooting at least two images according to the target light exposure degree, obtain To target image group;
The mobile terminal also includes:
Extraction module, for using gray level image registration and coloured picture image registration by the way of, in the target image group Each image carries out feature extraction, and extraction obtains the gray feature and coloured picture feature of each image;
Registration module, will be each in the target image group for the gray feature and coloured picture feature obtained according to extraction Image carries out registration;
Synthesis module, for all images after registration to be carried out into image synthesis, the image after being synthesized.
Optionally, the exposure includes:At least one of in exposure time and exposure gain.
In summary, a kind of mobile terminal provided in an embodiment of the present invention, by constantly obtaining corresponding to different exposures Image, exposure corresponding with current environment can be obtained in real time, so as to accurately determine and the exposure corresponding to current environment Degree so that the image for shooting to obtain can embody each details in image, avoid exposure and deviation be present after synthesis And the problem of causing fogging image, improve the definition of image.
Mobile terminal provided in an embodiment of the present invention can realize that mobile terminal is realized in Fig. 2 to Fig. 3 embodiment of the method Each process, to avoid repeating, repeat no more here.
Fig. 5 is a kind of hardware architecture diagram for the mobile terminal for realizing each embodiment of the present invention, the mobile terminal 500 Including but not limited to:It is radio frequency unit 501, mixed-media network modules mixed-media 502, audio output unit 503, input block 504, sensor 505, aobvious Show the parts such as unit 506, user input unit 507, interface unit 508, memory 509, processor 510 and power supply 511. It will be understood by those skilled in the art that the mobile terminal structure shown in Fig. 5 does not form the restriction to mobile terminal, it is mobile whole End can be included than illustrating more or less parts, either combine some parts or different parts arrangement.In the present invention In embodiment, mobile terminal includes but is not limited to mobile phone, tablet personal computer, notebook computer, palm PC, car-mounted terminal, can worn Wear equipment and pedometer etc..
Wherein, input block 504, for showing the preview image process that main camera gathers in real time in shooting preview interface In, obtain the image sets of the different exposures of secondary camera collection;
Processor 510, for the exposure based on each image in image sets, it is determined that match with current shooting environment Target light exposure degree combines;
Input block 504, if being additionally operable to receive shooting instruction, main camera is controlled to be held according to the combination of target light exposure degree Row shooting operation.
Processor 110 is additionally operable to, and handles in the above method embodiment step 201 to step 203 and step 301 to step In 304, the process of mobile terminal shooting image and composograph, it will not be repeated here.
In summary, a kind of mobile terminal provided in an embodiment of the present invention, by constantly obtaining corresponding to different exposures Image, exposure corresponding with current environment can be obtained in real time, so as to accurately determine and the exposure corresponding to current environment Degree so that the image for shooting to obtain can embody each details in image, avoid exposure and deviation be present after synthesis And the problem of causing fogging image, improve the definition of image.
It should be understood that in the embodiment of the present invention, radio frequency unit 501 can be used for receiving and sending messages or communication process in, signal Reception and transmission, specifically, by from base station downlink data receive after, handled to processor 510;In addition, will be up Data are sent to base station.Generally, radio frequency unit 501 includes but is not limited to antenna, at least one amplifier, transceiver, coupling Device, low-noise amplifier, duplexer etc..In addition, radio frequency unit 501 can also by wireless communication system and network and other set Standby communication.
Mobile terminal has provided the user wireless broadband internet by mixed-media network modules mixed-media 502 and accessed, and such as helps user to receive Send e-mails, browse webpage and access streaming video etc..
Audio output unit 503 can be receiving by radio frequency unit 501 or mixed-media network modules mixed-media 502 or in memory 509 It is sound that the voice data of storage, which is converted into audio signal and exported,.Moreover, audio output unit 503 can also be provided and moved The audio output for the specific function correlation that dynamic terminal 500 performs is (for example, call signal receives sound, message sink sound etc. Deng).Audio output unit 503 includes loudspeaker, buzzer and receiver etc..
Input block 504 is used to receive audio or video signal.Input block 504 can include graphics processor (Graphics Processing Unit, GPU) 5041 and microphone 5042, graphics processor 5041 is in video acquisition mode Or the static images or the view data of video obtained in image capture mode by image capture apparatus (such as camera) are carried out Reason.Picture frame after processing may be displayed on display unit 506.Picture frame after the processing of graphics processor 5041 can be deposited Storage is transmitted in memory 509 (or other storage mediums) or via radio frequency unit 501 or mixed-media network modules mixed-media 502.Mike Wind 5042 can receive sound, and can be voice data by such acoustic processing.Voice data after processing can be The form output of mobile communication base station can be sent to via radio frequency unit 501 by being converted in the case of telephone calling model.
Mobile terminal 500 also includes at least one sensor 505, such as optical sensor, motion sensor and other biographies Sensor.Specifically, optical sensor includes ambient light sensor and proximity transducer, wherein, ambient light sensor can be according to environment The light and shade of light adjusts the brightness of display panel 5061, and proximity transducer can close when mobile terminal 500 is moved in one's ear Display panel 5061 and/or backlight.As one kind of motion sensor, accelerometer sensor can detect in all directions (general For three axles) size of acceleration, size and the direction of gravity are can detect that when static, available for identification mobile terminal posture (ratio Such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap);Pass Sensor 505 can also include fingerprint sensor, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, wet Meter, thermometer, infrared ray sensor etc. are spent, will not be repeated here.
Display unit 506 is used for the information for showing the information inputted by user or being supplied to user.Display unit 506 can wrap Display panel 5061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used Forms such as (Organic Light-Emitting Diode, OLED) configures display panel 5061.
User input unit 507 can be used for the numeral or character information for receiving input, and produce the use with mobile terminal The key signals input that family is set and function control is relevant.Specifically, user input unit 507 include contact panel 5071 and Other input equipments 5072.Contact panel 5071, also referred to as touch-screen, collect touch operation of the user on or near it (for example user uses any suitable objects or annex such as finger, stylus on contact panel 5071 or in contact panel 5071 Neighbouring operation).Contact panel 5071 may include both touch detecting apparatus and touch controller.Wherein, touch detection Device detects the touch orientation of user, and detects the signal that touch operation is brought, and transmits a signal to touch controller;Touch control Device processed receives touch information from touch detecting apparatus, and is converted into contact coordinate, then gives processor 510, receiving area Manage the order that device 510 is sent and performed.It is furthermore, it is possible to more using resistance-type, condenser type, infrared ray and surface acoustic wave etc. Type realizes contact panel 5071.Except contact panel 5071, user input unit 507 can also include other input equipments 5072.Specifically, other input equipments 5072 can include but is not limited to physical keyboard, function key (such as volume control button, Switch key etc.), trace ball, mouse, action bars, will not be repeated here.
Further, contact panel 5071 can be covered on display panel 5061, when contact panel 5071 is detected at it On or near touch operation after, send processor 510 to determine the type of touch event, be followed by subsequent processing device 510 according to touch The type for touching event provides corresponding visual output on display panel 5061.Although in Figure 5, contact panel 5071 and display Panel 5061 is the part independent as two to realize the input of mobile terminal and output function, but in some embodiments In, can be integrated by contact panel 5071 and display panel 5061 and realize input and the output function of mobile terminal, it is specific this Place does not limit.
Interface unit 508 is the interface that external device (ED) is connected with mobile terminal 500.For example, external device (ED) can include Line or wireless head-band earphone port, external power source (or battery charger) port, wired or wireless FPDP, storage card end Mouth, port, audio input/output (I/O) port, video i/o port, earphone end for connecting the device with identification module Mouthful etc..Interface unit 508 can be used for receive the input (for example, data message, electric power etc.) from external device (ED) and One or more elements that the input received is transferred in mobile terminal 500 can be used in the He of mobile terminal 500 Data are transmitted between external device (ED).
Memory 509 can be used for storage software program and various data.Memory 509 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 509 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 510 is the control centre of mobile terminal, utilizes each of various interfaces and the whole mobile terminal of connection Individual part, by running or performing the software program and/or module that are stored in memory 509, and call and be stored in storage Data in device 509, the various functions and processing data of mobile terminal are performed, so as to carry out integral monitoring to mobile terminal.Place Reason device 510 may include one or more processing units;Preferably, processor 510 can integrate application processor and modulatedemodulate is mediated Device is managed, wherein, application processor mainly handles operating system, user interface and application program etc., and modem processor is main Handle radio communication.It is understood that above-mentioned modem processor can not also be integrated into processor 510.
Mobile terminal 500 can also include the power supply 511 (such as battery) to all parts power supply, it is preferred that power supply 511 Can be logically contiguous by power-supply management system and processor 510, so as to realize management charging by power-supply management system, put The function such as electricity and power managed.
In addition, mobile terminal 500 includes some unshowned functional modules, will not be repeated here.
Preferably, the embodiment of the present invention also provides a kind of mobile terminal, including processor 510, memory 509, is stored in On memory 509 and the computer program that can be run on the processor 510, the computer program are performed by processor 510 Each process of the above-mentioned image pickup method embodiments of Shi Shixian, and identical technique effect can be reached, to avoid repeating, here no longer Repeat.
The embodiment of the present invention also provides a kind of computer-readable recording medium, and meter is stored with computer-readable recording medium Calculation machine program, the computer program realize each process of above-mentioned image pickup method embodiment when being executed by processor, and can reach Identical technique effect, to avoid repeating, repeat no more here.Wherein, described computer-readable recording medium, deposited Ru read-only Reservoir (Read-Only Memory, abbreviation ROM), random access memory (Random Access Memory, abbreviation RAM), Magnetic disc or CD etc..
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 key elements, and And also include the other element being not expressly set out, or also include for this process, method, article or device institute inherently Key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that including this Other identical element also be present in the process of key element, method, article or device.
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 is substantially done to prior art in other words Going out the part of contribution can be embodied in the form of software product, and the computer software product is stored in a storage medium In (such as ROM/RAM, magnetic disc, CD), including some instructions to cause a station terminal (can be mobile phone, computer, service Device, air conditioner, or network equipment etc.) perform method described in each embodiment of the present invention.
Embodiments of the invention are described above in conjunction with accompanying drawing, but the invention is not limited in above-mentioned specific Embodiment, above-mentioned embodiment is only schematical, rather than restricted, one of ordinary skill in the art Under the enlightenment of the present invention, in the case of present inventive concept and scope of the claimed protection is not departed from, it can also make a lot Form, belong within the protection of the present invention.

Claims (14)

  1. A kind of 1. image pickup method, applied to the mobile terminal including main camera and secondary camera, it is characterised in that methods described Including:
    During the preview image that shooting preview interface shows that main camera gathers in real time, the difference of secondary camera collection is obtained The image sets of exposure;
    Based on the exposure of each image in described image group, it is determined that the target light exposure degree group to match with current shooting environment Close;
    If receiving shooting instruction, control the main camera to be combined according to the target light exposure degree and perform shooting operation.
  2. 2. according to the method for claim 1, it is characterised in that the exposure of each image in the group based on described image Degree, it is determined that combined with the target light exposure degree that current shooting environment matches, including:
    Obtain the light and shade ratio of each image in described image group;
    Light and shade ratio in described image group is met that the image of preparatory condition is defined as target image, obtains at least two target figures Picture;
    According to exposure corresponding at least two target image, combination obtains the target light exposure degree combination.
  3. 3. according to the method for claim 2, it is characterised in that the light dark ratio for obtaining each image in described image group Example, including:
    For each image in described image group, histogram corresponding to described image is generated;
    The histogram according to corresponding to described image, determine the high luminance pixels in described image or the ratio shared by low bright pixel;
    By the light and shade ratio that the ratio-dependent shared by the high luminance pixels of described image or low bright pixel is described image.
  4. 4. according to the method for claim 1, it is characterised in that the exposure of each image in the group based on described image Degree, it is determined that after the step of being combined with the target light exposure degree that current shooting environment matches, methods described also includes:
    The exposure parameter of the main camera is arranged to the target light exposure degree combination.
  5. 5. according to the method for claim 4, it is characterised in that the control main camera is according to the target light exposure The step of degree combination performs shooting operation, including:
    Control the main camera to combine shooting at least two images according to the target light exposure degree, obtain target image group;
    After the control main camera combines the step of performing shooting operation according to the target light exposure degree, methods described Also include:
    By the way of gray level image registration and coloured picture image registration, feature is carried out to each image in the target image group Extraction, extraction obtain the gray feature and coloured picture feature of each image;
    The gray feature and coloured picture feature obtained according to extraction, each image in the target image group is subjected to registration;
    All images after registration are subjected to image synthesis, the image after being synthesized.
  6. 6. according to the method described in any one of claim 1 to 5, it is characterised in that the exposure includes:Exposure time and exposure At least one of in the gain of light.
  7. 7. a kind of mobile terminal, it is characterised in that the mobile terminal includes:
    Acquisition module, for show that main camera gathers in real time in shooting preview interface preview image during, obtain pair take the photograph As the image sets for the different exposures that head gathers;
    Determining module, for the exposure based on each image in described image group, it is determined that match with current shooting environment Target light exposure degree combines;
    Taking module, if for receiving shooting instruction, the main camera is controlled to be held according to target light exposure degree combination Row shooting operation.
  8. 8. mobile terminal according to claim 7, it is characterised in that the determining module includes:
    Ratio acquisition submodule, for obtaining the light and shade ratio of each image in described image group;
    Image determination sub-module, for light and shade ratio in described image group to be met into the image of preparatory condition is defined as target figure Picture, obtain at least two target images;
    Submodule is combined, for the exposure according to corresponding at least two target image, combination obtains the target light exposure Degree combination.
  9. 9. mobile terminal according to claim 8, it is characterised in that the ratio acquisition submodule includes:
    Generation unit, for for each image in described image group, generating histogram corresponding to described image;
    Ratio computing unit, for the histogram according to corresponding to described image, determine the high luminance pixels or low bright in described image Ratio shared by pixel;
    Ratio-dependent unit, for being described image by the ratio-dependent shared by the high luminance pixels of described image or low bright pixel Light and shade ratio.
  10. 10. mobile terminal according to claim 7, it is characterised in that the mobile terminal also includes:
    Parameter synchronization module, combined for the exposure parameter of the main camera to be arranged into the target light exposure degree.
  11. 11. mobile terminal according to claim 10, it is characterised in that the taking module includes:
    Shooting submodule, for controlling the main camera to combine shooting at least two images according to the target light exposure degree, obtain To target image group;
    The mobile terminal also includes:
    Extraction module, for using gray level image registration and coloured picture image registration by the way of, to every in the target image group Individual image carries out feature extraction, and extraction obtains the gray feature and coloured picture feature of each image;
    Registration module, for the gray feature and coloured picture feature obtained according to extraction, by each figure in the target image group As carrying out registration;
    Synthesis module, for all images after registration to be carried out into image synthesis, the image after being synthesized.
  12. 12. according to the mobile terminal described in any one of claim 7 to 11, it is characterised in that the exposure includes:During exposure At least one of in long and exposure gain.
  13. 13. a kind of mobile terminal, it is characterised in that including processor, memory and be stored on the memory and can be in institute The computer program run on processor is stated, the computer program is realized such as claim 1 to 6 during the computing device Any one of image pickup method the step of.
  14. 14. a kind of computer-readable recording medium, it is characterised in that be stored with computer on the computer-readable recording medium Program, the step of the image pickup method as any one of claim 1 to 6 is realized when the computer program is executed by processor Suddenly.
CN201710877061.XA 2017-09-25 2017-09-25 Shooting method and mobile terminal Active CN107566749B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710877061.XA CN107566749B (en) 2017-09-25 2017-09-25 Shooting method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710877061.XA CN107566749B (en) 2017-09-25 2017-09-25 Shooting method and mobile terminal

Publications (2)

Publication Number Publication Date
CN107566749A true CN107566749A (en) 2018-01-09
CN107566749B CN107566749B (en) 2020-02-21

Family

ID=60982984

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710877061.XA Active CN107566749B (en) 2017-09-25 2017-09-25 Shooting method and mobile terminal

Country Status (1)

Country Link
CN (1) CN107566749B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108322648A (en) * 2018-02-02 2018-07-24 广东欧珀移动通信有限公司 Image processing method and device, electronic equipment, computer readable storage medium
CN108683862A (en) * 2018-08-13 2018-10-19 Oppo广东移动通信有限公司 Image formation control method, device, electronic equipment and computer readable storage medium
CN108989671A (en) * 2018-07-25 2018-12-11 Oppo广东移动通信有限公司 Image processing method, device and electronic equipment
CN110213498A (en) * 2019-05-29 2019-09-06 Oppo广东移动通信有限公司 Image generating method and device, electronic equipment, computer readable storage medium
CN110225248A (en) * 2019-05-29 2019-09-10 Oppo广东移动通信有限公司 Image-pickup method and device, electronic equipment, computer readable storage medium
CN111225158A (en) * 2018-11-23 2020-06-02 北京小米移动软件有限公司 Image generation method and device, electronic equipment and computer readable storage medium
TWI724654B (en) * 2019-11-27 2021-04-11 大陸商廣州印芯半導體技術有限公司 Image readout method
CN113890992A (en) * 2021-09-23 2022-01-04 惠州视维新技术有限公司 Image processing method, image processing device, electronic equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013186806A1 (en) * 2012-06-11 2013-12-19 株式会社ソニー・コンピュータエンタテインメント Image capturing device, and image capturing method
CN104883504A (en) * 2015-06-05 2015-09-02 广东欧珀移动通信有限公司 Method and device for opening HDR (high-dynamic range) function on intelligent terminal
CN105227858A (en) * 2015-10-30 2016-01-06 维沃移动通信有限公司 A kind of image processing method and mobile terminal
CN105847703A (en) * 2016-03-28 2016-08-10 联想(北京)有限公司 Image processing method and electronic device
CN106170058A (en) * 2016-08-30 2016-11-30 维沃移动通信有限公司 A kind of exposure method and mobile terminal
CN106454097A (en) * 2016-10-29 2017-02-22 深圳市金立通信设备有限公司 Photographing method and photographing device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013186806A1 (en) * 2012-06-11 2013-12-19 株式会社ソニー・コンピュータエンタテインメント Image capturing device, and image capturing method
CN104883504A (en) * 2015-06-05 2015-09-02 广东欧珀移动通信有限公司 Method and device for opening HDR (high-dynamic range) function on intelligent terminal
CN105227858A (en) * 2015-10-30 2016-01-06 维沃移动通信有限公司 A kind of image processing method and mobile terminal
CN105847703A (en) * 2016-03-28 2016-08-10 联想(北京)有限公司 Image processing method and electronic device
CN106170058A (en) * 2016-08-30 2016-11-30 维沃移动通信有限公司 A kind of exposure method and mobile terminal
CN106454097A (en) * 2016-10-29 2017-02-22 深圳市金立通信设备有限公司 Photographing method and photographing device

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108322648A (en) * 2018-02-02 2018-07-24 广东欧珀移动通信有限公司 Image processing method and device, electronic equipment, computer readable storage medium
CN108322648B (en) * 2018-02-02 2020-06-30 Oppo广东移动通信有限公司 Image processing method and device, electronic equipment and computer readable storage medium
CN108989671A (en) * 2018-07-25 2018-12-11 Oppo广东移动通信有限公司 Image processing method, device and electronic equipment
CN108683862A (en) * 2018-08-13 2018-10-19 Oppo广东移动通信有限公司 Image formation control method, device, electronic equipment and computer readable storage medium
WO2020034735A1 (en) * 2018-08-13 2020-02-20 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Imaging control method and electronic device
US10630906B2 (en) 2018-08-13 2020-04-21 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Imaging control method, electronic device and computer readable storage medium
CN111225158A (en) * 2018-11-23 2020-06-02 北京小米移动软件有限公司 Image generation method and device, electronic equipment and computer readable storage medium
CN110213498A (en) * 2019-05-29 2019-09-06 Oppo广东移动通信有限公司 Image generating method and device, electronic equipment, computer readable storage medium
CN110225248A (en) * 2019-05-29 2019-09-10 Oppo广东移动通信有限公司 Image-pickup method and device, electronic equipment, computer readable storage medium
CN110213498B (en) * 2019-05-29 2021-04-23 Oppo广东移动通信有限公司 Image generation method and device, electronic equipment and computer readable storage medium
CN110225248B (en) * 2019-05-29 2021-11-16 Oppo广东移动通信有限公司 Image acquisition method and device, electronic equipment and computer readable storage medium
TWI724654B (en) * 2019-11-27 2021-04-11 大陸商廣州印芯半導體技術有限公司 Image readout method
CN113890992A (en) * 2021-09-23 2022-01-04 惠州视维新技术有限公司 Image processing method, image processing device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN107566749B (en) 2020-02-21

Similar Documents

Publication Publication Date Title
CN107566749A (en) Image pickup method and mobile terminal
CN107566730B (en) A kind of panoramic picture image pickup method and mobile terminal
CN107580184A (en) A kind of image pickup method and mobile terminal
CN107566748A (en) A kind of image processing method, mobile terminal and computer-readable recording medium
CN107707827A (en) A kind of high-dynamics image image pickup method and mobile terminal
CN107483836B (en) A kind of image pickup method and mobile terminal
CN110365907A (en) A kind of photographic method, device and electronic equipment
CN107592466A (en) A kind of photographic method and mobile terminal
CN108495029A (en) A kind of photographic method and mobile terminal
CN107566739A (en) A kind of photographic method and mobile terminal
CN107817939A (en) A kind of image processing method and mobile terminal
CN107580209A (en) Take pictures imaging method and the device of a kind of mobile terminal
CN107730460B (en) Image processing method and mobile terminal
CN108989678A (en) A kind of image processing method, mobile terminal
CN107820022A (en) A kind of photographic method and mobile terminal
CN109544486A (en) A kind of image processing method and terminal device
CN108038825A (en) A kind of image processing method and mobile terminal
CN107592467A (en) A kind of image pickup method and mobile terminal
CN108320263A (en) A kind of method, device and mobile terminal of image procossing
CN108307106A (en) A kind of image processing method, device and mobile terminal
CN110213485A (en) A kind of image processing method and terminal
CN108462826A (en) A kind of method and mobile terminal of auxiliary photo-taking
CN108683850A (en) A kind of shooting reminding method and mobile terminal
CN107623818A (en) A kind of image exposure method and mobile terminal
CN108564613A (en) A kind of depth data acquisition methods and mobile terminal

Legal Events

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