CN108616687A - A kind of photographic method, device and mobile terminal - Google Patents

A kind of photographic method, device and mobile terminal Download PDF

Info

Publication number
CN108616687A
CN108616687A CN201810243314.2A CN201810243314A CN108616687A CN 108616687 A CN108616687 A CN 108616687A CN 201810243314 A CN201810243314 A CN 201810243314A CN 108616687 A CN108616687 A CN 108616687A
Authority
CN
China
Prior art keywords
image
area
target area
photo
nontarget
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
CN201810243314.2A
Other languages
Chinese (zh)
Other versions
CN108616687B (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 CN201810243314.2A priority Critical patent/CN108616687B/en
Publication of CN108616687A publication Critical patent/CN108616687A/en
Application granted granted Critical
Publication of CN108616687B publication Critical patent/CN108616687B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/64Computer-aided capture of images, e.g. transfer from script file into camera, check of taken image quality, advice or proposal for image composition or decision on when to take image
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T3/00Geometric image transformations in the plane of the image
    • G06T3/40Scaling of whole images or parts thereof, e.g. expanding or contracting
    • G06T3/4038Image mosaicing, e.g. composing plane images from plane sub-images
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00Image enhancement or restoration
    • G06T5/50Image enhancement or restoration using two or more images, e.g. averaging or subtraction
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/80Camera processing pipelines; Components thereof
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/20Special algorithmic details
    • G06T2207/20212Image combination
    • G06T2207/20221Image fusion; Image merging

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Studio Devices (AREA)

Abstract

The invention discloses a kind of photographic method, device and mobile terminal, this method includes:After receiving photographing instruction, the target area in shooting area is identified;Luminous point determination will be surveyed and carry out survey light in the target area, and shoot photo and obtain the first image;Luminous point determination will be surveyed and carry out survey light in nontarget area, and shoot photo and obtain the second image, the brightness difference of the target area and the nontarget area is more than given threshold;The image of nontarget area in the image of target area in described first image and second image is subjected to splicing synthesis, obtains third image as photo.Splice in obtained third image, the image of target area and nontarget area has all carried out survey light respectively, it is ensured that lightness is normal, is not in overexposure phenomenon, dark phenomenon will not occurs, in terms of existing technologies, improves the quality of photo.

Description

A kind of photographic method, device and mobile terminal
Technical field
The present invention relates to a kind of communications field/field of terminal more particularly to photographic method, device and mobile terminals.
Background technology
With popularizing for digital product, more and more digital equipments all have camera function.In certain scenes of taking pictures Under, often existing highlights domain in viewfinder range, and have low light region.
When carrying out surveying photo-beat photograph based on low light region, surveying light algorithm can be such that the brightness of object in low light region reaches as far as possible To normal level, and highlights domain is then likely to occur overexposure phenomenon, and the details of highlights domain photo just cannot be distinguished in this way, obtain The photographic quality arrived is not high.
Invention content
The embodiment of the present invention provides a kind of photographic method, with solve the photo that existing photographic method obtains will appear it is quick-fried existing As the problem of.
In order to solve the above-mentioned technical problem, the invention is realized in this way:
In a first aspect, providing a kind of photographic method, this method includes:
After receiving photographing instruction, the target area in shooting area is identified;
Luminous point determination will be surveyed and carry out survey light in the target area, and shoot photo and obtain the first image;
Luminous point determination will be surveyed and carry out survey light in nontarget area, and shoot photo and obtain the second image, the target area It is more than given threshold with the brightness difference of the nontarget area;
The image of nontarget area in the image of target area in described first image and second image is spelled It is bonded into, obtains third image as photo.
Second aspect provides a kind of terminal device, which includes:
Identification module identifies the target area in shooting area after receiving photographing instruction;
First taking module will survey luminous point determination and carry out survey light in the target area, and shoot photo and obtain the first figure Picture;
Second taking module will survey luminous point determination and carry out survey light in nontarget area, and shoot photo and obtain the second image, The brightness difference of the target area and the nontarget area is more than given threshold;
Synthesis module, by nontarget area in the image of target area in described first image and second image Image carries out splicing synthesis, obtains third image as photo.
The third aspect provides a kind of terminal device, which includes processor, memory and be stored in described deposit On reservoir and the computer program that can run on the processor, the computer program are realized when being executed by the processor The step of method as described in relation to the first aspect.
Fourth aspect provides a kind of computer readable storage medium, which is characterized in that the computer-readable storage medium Computer program is stored in matter, and the step of method as described in relation to the first aspect is realized when the computer program is executed by processor Suddenly.
In embodiments of the present invention, by shooting area target area and nontarget area distribution carry out survey light simultaneously Photo is shot, is spliced in this way in obtained third image, the image of target area and nontarget area has all carried out survey light respectively, It can guarantee that lightness is normal, be not in overexposure phenomenon, dark phenomenon will not occur, in terms of existing technologies, Improve the quality of photo.
Description of the drawings
Attached drawing described herein is used to provide further understanding of the present invention, and constitutes the part of the present invention, this hair Bright illustrative embodiments and their description are not constituted improper limitations of the present invention for explaining the present invention.In the accompanying drawings:
Fig. 1 is a kind of the first flow diagram of photographic method provided in an embodiment of the present invention;
Fig. 2 is a kind of second of flow diagram of photographic method provided in an embodiment of the present invention;
Fig. 3 is the first structural schematic diagram of camera arrangement provided in an embodiment of the present invention;
Fig. 4 is a kind of structural schematic diagram of mobile terminal provided in an embodiment of the present invention.
Specific implementation mode
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation describes, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair Embodiment in bright, the every other implementation that those of ordinary skill in the art are obtained without creative efforts Example, shall fall within the protection scope of the present invention.
Under certain scenes of taking pictures, often existing highlights domain in viewfinder range, and have low light region.And when taking pictures, The focus point and survey luminous point of acquiescence are often positioned in the center or some specific region of picture, then being surveyed when based on low light region When photo-beat is shone, overexposure phenomenon will occur in background parts, cause photo that details cannot be distinguished.
For example, when carrying out self-timer, if bias light is very strong, the brightness of portrait area can be far below background area Brightness, and if carrying out surveying photo-beat photograph based on portrait area, the brightness of portrait area can be shown normally, but background area is bright Degree then excessively high can lead to overexposure.
And when being taken pictures based on highlights domain, then low light region can then be shown secretly, and photo can not area in display Point.
In this specification one or more embodiment, after receiving photographing instruction, the mesh in shooting area can be identified Region is marked, luminous point determination will be surveyed and carry out survey light in the target area, and shoot photo and obtain the first image;Then luminous point will be surveyed It determines and carries out survey light in nontarget area, and shoot photo and obtain the second image;Again by target area in described first image The image of nontarget area carries out splicing synthesis in image and second image, obtains third image as photo.In this way, The target area and nontarget area of the photo of acquisition all can be obtained target area and nontarget area all clear photographs.
For ease of description, in this specification one or more embodiment, the executive agent of photographic method can have bat According to terminal device of function, such as smart mobile phone, tablet computer, digital camera etc..In addition, the executive agent of this method can also It is the software itself for controlling camera and taking pictures.Hereinafter by taking executive agent is camera as an example, the embodiment of this method is introduced. It is appreciated that it is a kind of illustrative explanation that the executive agent of this method, which is camera, it is not construed as the limit to this method It is fixed.
In this specification one or more embodiment, the implementation process schematic diagram of photographic method is as shown in Figure 1, under including State step:
Step S100:After receiving photographing instruction, the target area in shooting area is identified;
Photographing instruction, which can be used for controlling camera, takes pictures, for example, photographing instruction, which can be user, passes through the fast of pressing camera Door key triggering, or in intelligent terminal, photographing instruction can also be that user is pre- in human-computer interaction interface by clicking If take pictures what button was triggered.The triggering form of photographing instruction is not specifically limited in this specification.
Shooting area can be the viewfinder area of camera, and general shooting area can be anti-in real time in the form of preview image Feed user.
Target area can be the region where object in shooting area, which can be according to object come really Fixed.In the specific implementation, it may be predetermined that the feature of object, it in this way can be according to the feature of object, to identify Region in shooting area where object, i.e. target area.In the specific implementation, the feature of object can be preset, According to the feature of object, to identify the region where object when shooting.
At the region where the feature recognition object according to object, the preview graph of shooting area can be first obtained Then picture carries out image recognition to preview image, i.e., identifies the object in preview image according to the feature of object.If Identify target image, then it can be using the region where target image as target area.
In one embodiment, object can be people, then target area is the region where portrait, then When identification object region, it can be identified based on portrait feature.Specifically in identification, the preview graph of shooting area can be first obtained Picture is then based on pre-set portrait feature, image recognition is carried out in the preview image, if known in the preview image It is clipped to portrait, then using the region where portrait as target area.
For example, under the self-timer mode of camera, since the object of shooting is often people, then self-timer can be pre-set Target area under pattern is the region where portrait.In this way when taking pictures, you can identify portrait region.
If recognizing target area in shooting area, S102 is entered step, otherwise continuing to identify in shooting area is It is no that there are target areas.
Step S102:Luminous point determination will be surveyed and carry out survey light in the target area, and shoot photo and obtain the first image;
Luminous point will be surveyed to determine when some position carries out survey light, it can be by adjusting optical parameter when taking pictures so that survey light The brightness of position reaches a certain default value, and the default value is often so that photometry region shows normal value, by exploit person Member presets.So-called display is normal, and usually in the case where visually observing, brightness of image both too high will not lead to overexposure, also not It can secretly cause image unclear very much.
So, when luminous point determination will be surveyed when the target area carries out survey light, the brightness of target area can be made to show Normally, in the first image shot at this time, the brightness of target area will be shown normally.
Step S104:Luminous point determination will be surveyed and carry out survey light in nontarget area, and shoot photo and obtain the second image;
Region in nontarget area, including shooting area in addition to target area, that is to say, that carried out in nontarget area When surveying light, a part of region that can be in shooting area other than target area carries out surveying light and take pictures, such as to target area Some outer position carries out surveying light and shoots photo, or can also to target area outside multiple position distributions carry out surveying light simultaneously Shoot photo.
The brightness difference of target area and nontarget area can be more than given threshold, in this way by respectively to target area Domain and nontarget area carry out survey light, it is ensured that and the image of target area and nontarget area can normally show, without There is overexposure or excessively dark phenomenon.Here the specific value of given threshold can be preset by developer, the present embodiment This is not specifically limited.Under normal circumstances, it if the luminance difference is more than given threshold, takes pictures based on target area When, nontarget area then will appear overexposure phenomenon, and if when luminance difference is not more than the given threshold, nontarget area will not There is overexposure phenomenon.
In one embodiment, it can will survey luminous point to determine in some position of nontarget area, then be directed to the position It sets and carries out surveying light and shoot photo, obtain the second image.It determines when the nontarget area carries out survey light, can make when luminous point will be surveyed The brightness for obtaining nontarget area shows that normally in the second image shot at this time, the brightness of nontarget area will be shown Normally.
Certainly, nontarget area may brightness and inhomogenous, then can be to multiple and different positions of nontarget area point Survey light is not carried out.In one embodiment, different location of the luminous point determination in nontarget area can will be surveyed, is then directed to every A position, which carries out surveying respectively, light and shoots photo, obtains each second subgraph shot under each survey luminous point, then to each the Two subgraphs are synthesized, and the second image is obtained.In this way, the second image is also to be obtained after carrying out survey light for multiple points, carry The high photographic quality of second image.
It should be noted that if carrying out multiple survey photo-beat to nontarget area and taking the photograph multiple pictures, it can be by shooting Multiple pictures are known as the second subgraph, and the image obtained after being synthesized to the second subgraph is known as the second image.In this way, to non-mesh Mark region carries out survey photo-beat and can be described as the second image according to obtained image, is quoted when facilitating subsequent descriptions.It is used in the present invention " first ", " second ", the terms such as " son " can be used for distinguishing different things, to clearly articulate core of the invention thought, And it is not construed as the absolute limit to the present invention.
When being synthesized to obtained multiple second subgraphs, it may be determined that in multiple second subgraphs at same position Pixel pixel average.In practical applications, it may be determined that each pixel of same coordinate in multiple second subgraphs The pixel value of point, then takes the average value of those pixel values, obtains pixel average, in this way, picture at each position can be obtained The pixel average of vegetarian refreshments.
It is then possible to by the pixel value of pixel is set as at first position in the second image, first in the second subgraph The pixel average of pixel at position.In one embodiment, in the second image at each position pixel pixel Value, could be provided as the pixel average at obtained same position calculated above.
By the average value of capture element, it can so that brightness is more uniform on the whole for second area in the second image, no It will appear the situation that certain places are excessively bright or certain places are excessively dark so that the overall effect of image is preferable.
In one embodiment, target area is portrait area, nontarget area is carried out surveying photo-beat shine when, can be with It carries out surveying light in the first position of nontarget area and shoots photo, which is located at the upper left corner outside portrait area, It can also carry out surveying light in the second position of nontarget area and shoot photo, the second position is located at the upper right outside portrait area Angle.Here first position and the second position are carried out surveying light and the execution sequence taken pictures does not limit.
When due to taking pictures to people, background area is normally at the upper left corner and the upper right corner of portrait.An and left side for portrait Upper angle and the upper right corner are often the region residing for the higher source luminances such as light, the sun, then, by the upper left corner and the upper right corner point Survey light is not carried out, can survey light preferably be carried out to the background in portrait scene so that the background pictures obtained under portrait scene It is more clear.
In the specific implementation, the specific location of first position in the picture can be, lengthwise position apart from portrait area most The distance of low spot is the 3/4 of people's image height degree, and lateral position is that portrait area right hand edge is between image right hand edge at lengthwise position Central point.The specific location of the second position in the picture can be that distance of the lengthwise position apart from portrait area minimum point is The 3/4 of portrait height, lateral position be, portrait area left hand edge is to the central point between image left edge at lengthwise position.
Step S106:By nontarget area in the image of target area in described first image and second image Image carries out splicing synthesis, obtains third image as photo.
Based on above-mentioned steps, normal first image of target area brightness can be obtained and nontarget area brightness is normal Second image, it is possible to which the image of nontarget area in the image of the first objective area in image and the second image is carried out Splicing synthesis, obtains third image as photo.
In one embodiment, the image of the first objective area in image can be extracted, then by the target area of extraction The image in domain covers the target area in the second image, obtains third image.In this way, the figure of third objective area in image The picture as normal image of brightness, the image of nontarget area is also the normal image of brightness.
In one embodiment, due to having had identified target area in step S100, then can be according to step The target area identified in S100, in the first image target area and nontarget area be split, obtain target area The image in domain.
In another embodiment, it is contemplated that the target area identified in step S100 may be obtained with follow-up shooting There is deviation in target area in first image, then when extracting the image of target area, it can be according to image to be identified Feature identifies target area in the first image, then in the first image target area and nontarget area divide It cuts, you can obtain the image of target area.
In this way after obtaining the image of target area, you can by nontarget area in the target area image and the second image Image carry out splicing synthesis.The image of finally obtained third image target area and the image of nontarget area all respectively into Survey light is gone, it is ensured that lightness is normal, is not in overexposure phenomenon, dark phenomenon will not occurs, relative to existing For technology, the quality of photo is improved.
It should be noted that the first image shot after surveying light in the application, the second subgraph, second image etc. The size acquiescence of image, image is identical size,, can if its size is different to carry out subsequent segmentation and merging Registration process first is carried out to image.In addition, the difference between each viewfinder range of image when shooting can be as small as possible, Therefore the time interval when shooting picture can be short as much as possible, causes shooting to obtain to avoid due to outside causes such as shakes Multiple pictures between viewfinder range gap it is larger.
Foregoing invention design based on the application, for the ease of being better understood from technical characteristic, means and the effect of the application Fruit is below described further the photographic method in this specification one or more embodiment, does not make referrals to hereinafter Concept can be found in associated description hereinbefore.
Photographic method in this specification one or more embodiment can be applied to portrait and take pictures in scene, such as self-timer Scene, in portrait takes pictures scene, target area is the region where portrait.In portrait takes pictures scene, portrait can be based on Cutting techniques realize synthesis of taking pictures, and the implementation process schematic diagram of specific photographic method is as shown in Fig. 2, include the following steps:
Step S201:Receive photographing instruction;
Step S202:The portrait that whether there is in identification shooting area;
Specific recognition methods is not repeated herein referring to the associated description in step S100.If being identified in shooting area To portrait, then S203 is entered step, otherwise continues to identify in shooting area with the presence or absence of portrait.
Step S203:If recognizing portrait in shooting area, luminous point determination will be surveyed and surveyed in portrait region Light, and photo is shot, obtain picture A;
It can will specifically survey luminous point determination and carry out survey light in portrait central point.
Step S204:The upper left corner and the upper right corner outside portrait area survey light and shoot photo respectively, obtain photo B and Photo C;
Step S205:Photo B and C are mixed, new photo D is obtained;
In one embodiment, specific hybrid mode includes:Seek the picture of the pixel of photo B and photo C same positions Plain average value, then using pixel average as the pixel value of pixel in same position in photo D.
It, being averaged in the hope of the average value of R in each pixel, the average value of G and B for example, under rgb color pattern Value:
Wherein, the pixel value of some pixel is represented by (R in photo B1,G1,B1), it is identical as the pixel in photo C The pixel value of the pixel of position is represented by (R2,G2,B2), the pixel value for finally obtaining the pixel of the position in photo D can It is expressed as (R, G, B).In this way, can be obtained the pixel value of the pixel of each position in photo D.
Step S206:Divided by portrait, obtains the portrait in picture A;
Obtain the image data of the portrait area in picture A.
Step S207:Portrait in picture A is covered in photo D, photo E is obtained.
The photo of photographing instruction in photo E in response step S201 is stored.
Portrait area (foreground) and portrait area are surveyed respectively with exterior domain (background) in finally obtained photo E Light, it is ensured that lightness is normal, effectively avoids only carrying out survey light to foreground and leading to the background frame mistake under backlight environment The excessively dark problem of foreground, will not occur in the problem of exposure, in terms of existing technologies, improve the quality of photo.
It is photographic method provided by the embodiments of the present application above, is based on same thinking, the embodiment of the present application also provides phase The camera arrangement answered, as shown in figure 3, the device specifically includes:
Identification module 301 identifies the target area in shooting area after receiving photographing instruction;
First taking module 302 will survey luminous point determination and carry out survey light in the target area, and shoot photo and obtain first Image;
Second taking module 303 will survey luminous point determination and carry out survey light in nontarget area, and shoot photo and obtain the second figure Picture;
Synthesis module 304, by nontarget area in the image of target area in described first image and second image Image carry out splicing synthesis, obtain third image as photo.
In one embodiment, second taking module 303, is specifically used for:
Different location of the luminous point determination in the nontarget area will be surveyed, carry out surveying light respectively for each position and is shot Photo obtains each second subgraph shot under each survey luminous point;
Each second subgraph is synthesized, second image is obtained.
In one embodiment, second taking module 303, is specifically used for:
Determine the pixel average of the pixel at multiple second subgraph same positions;
By the pixel value of pixel is set as at first position in second image, described in second subgraph The pixel average of pixel at one position.
In one embodiment, the target area is portrait area, and second taking module 303 is specifically used for:
It carries out surveying light in the first position of nontarget area and shoots photo, the first position is located at the portrait area The external upper left corner;
It carries out surveying light in the second position of nontarget area and shoots photo, the second position is located at the portrait area The external upper right corner.
In one embodiment, the target area is portrait area, then the identification module 301, is specifically used for:
Obtain the preview image of the shooting area;
Based on portrait feature, image recognition is carried out to the preview image;
If recognizing portrait in the preview image, using the region where portrait as the target area.
In one embodiment, the synthesis module 304, is specifically used for:
Extract the image of target area in described first image;
By the image of the target area of extraction, the target area in second image is covered, third image is obtained.
Camera arrangement provided in an embodiment of the present invention can realize that terminal device is realized in the embodiment of the method for Fig. 1 to Fig. 2 Each process, to avoid repeating, which is not described herein again.Camera arrangement provided by the invention, by the mesh in shooting area Mark region and nontarget area distribution carry out surveying light and shoot photo, in the third image that splicing obtains in this way, target area with The image of nontarget area has all carried out survey light respectively, it is ensured that lightness is normal, is not in overexposure phenomenon, will not go out Dark phenomenon is now crossed, in terms of existing technologies, improves the quality of photo.
A kind of hardware architecture diagram of Fig. 4 mobile terminals of each embodiment to realize the present invention, the mobile terminal 100 Including but not limited to:Radio frequency unit 101, audio output unit 103, input unit 104, sensor 105, is shown network module 102 Show the components such as unit 106, user input unit 107, interface unit 108, memory 109, processor 110 and power supply 111. It will be understood by those skilled in the art that mobile terminal structure shown in Fig. 4 does not constitute the restriction to mobile terminal, it is mobile whole End may include either combining certain components or different components arrangement than illustrating more or fewer components.In the present invention In embodiment, mobile terminal includes but not limited to mobile phone, tablet computer, laptop, palm PC, car-mounted terminal, can wear Wear equipment and pedometer etc..
Wherein, processor 110, for after receiving photographing instruction, identifying the target area in shooting area;
Luminous point determination will be surveyed and carry out survey light in the target area, and shoot photo and obtain the first image;
Luminous point determination will be surveyed and carry out survey light in nontarget area, and shoot photo and obtain the second image;
The image of nontarget area in the image of target area in described first image and second image is spelled It is bonded into, obtains third image as photo;
By in shooting area target area and nontarget area distribution survey and light and shoot photo, splicing in this way In obtained third image, the image of target area and nontarget area has all carried out survey light respectively, it is ensured that lightness is just Often, be not in overexposure phenomenon, dark phenomenon will not occur, in terms of existing technologies, improve the quality of photo.
It should be understood that the embodiment of the present invention in, radio frequency unit 101 can be used for receiving and sending messages or communication process in, signal Send and receive, specifically, by from base station downlink data receive after, to processor 110 handle;In addition, by uplink Data are sent to base station.In general, radio frequency unit 101 includes but not limited to antenna, at least one amplifier, transceiver, coupling Device, low-noise amplifier, duplexer etc..In addition, radio frequency unit 101 can also by radio communication system and network and other set Standby communication.
Mobile terminal has provided wireless broadband internet to the user by network module 102 and has accessed, and such as user is helped to receive Send e-mails, browse webpage and access streaming video etc..
It is that audio output unit 103 can receive radio frequency unit 101 or network module 102 or in memory 109 The audio data of storage is converted into audio signal and exports to be sound.Moreover, audio output unit 103 can also be provided and be moved The relevant audio output of specific function that dynamic terminal 100 executes is (for example, call signal receives sound, message sink sound etc. Deng).Audio output unit 103 includes loud speaker, buzzer and receiver etc..
Input unit 104 is for receiving audio or video signal.Input unit 104 may include graphics processor (Graphics Processing Unit, GPU) 1041 and microphone 1042, graphics processor 1041 in video to capturing mould The image data of the static images or video that are obtained by image capture apparatus (such as camera) in formula or image capture mode carries out Processing.Treated, and picture frame may be displayed on display unit 106.It can be with through treated the picture frame of graphics processor 1041 It is stored in memory 109 (or other storage mediums) or is sent via radio frequency unit 101 or network module 102.Wheat Gram wind 1042 can receive sound, and can be audio data by such acoustic processing.Treated audio data can be with The format output of mobile communication base station can be sent to via radio frequency unit 101 by being converted in the case of telephone calling model.
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 a 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, can be used to identify mobile terminal posture (ratio Such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap);It passes Sensor 105 can also include fingerprint sensor, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, wet Meter, thermometer, infrared sensor etc. are spent, details are not described herein.
Display unit 106 is for showing information input by user or being supplied to the information of user.Display unit 106 can Including display panel 1061, liquid crystal display (Liquid Crystal Display, LCD), organic light-emitting diodes may be used Forms such as (Organic Light-Emitting Diode, OLED) are managed to configure display panel 1061.
User input unit 107 can be used for receiving the number or character information of input, and generate the use with mobile terminal Family is arranged and the related key signals input of function control.Specifically, user input unit 107 include touch panel 1071 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 or attachment such as finger, stylus on touch panel 1071 or in touch panel 1071 Neighbouring operation).Touch panel 1071 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 110, receiving area It manages the order that device 110 is sent and is executed.Furthermore, it is possible to more using resistance-type, condenser type, infrared ray and surface acoustic wave etc. Type realizes touch panel 1071.In addition to touch panel 1071, user input unit 107 can also include other input equipments 1072.Specifically, other input equipments 1072 can include but is not limited to physical keyboard, function key (for example press by volume control Key, switch key etc.), trace ball, mouse, operating lever, details are not described herein.
Further, touch panel 1071 can be covered on display panel 1061, when touch panel 1071 is detected at it On or near touch operation after, send processor 110 to determine the type of touch event, be followed by subsequent processing device 110 according to touch The type for touching event provides corresponding visual output on display panel 1061.Although in Fig. 4, touch panel 1071 and display Panel 1061 is to realize the function that outputs and inputs of mobile terminal as two independent components, but in some embodiments In, can be integrated by touch panel 1071 and display panel 1061 and realize the function that outputs and inputs of mobile terminal, it is specific this Place does not limit.
Interface unit 108 is the interface that external device (ED) is connect with mobile terminal 100.For example, external device (ED) may include having Line or wireless head-band earphone port, external power supply (or battery charger) port, wired or wireless data port, storage card end Mouth, the port for connecting the device with identification module, the port audio input/output (I/O), video i/o port, earphone Port etc..Interface unit 108 can be used for receiving the input (for example, data information, electric power etc.) from external device (ED) simultaneously And by one or more elements that the input received is transferred in mobile terminal 100 or it can be used in mobile terminal 100 The transmission data between external device (ED).
Memory 109 can be used for storing software program and various data.Memory 109 can include mainly 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 Audio data, phone directory etc.) etc..In addition, memory 109 may 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 by running or execute the software program and/or module that are stored in memory 109, and calls and is stored in storage Data in device 109 execute the various functions and processing data of mobile terminal, 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 Manage device, wherein the main processing operation system of application processor, user interface and application program etc., modem processor is main Processing wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 110.
Mobile terminal 100 can also include the power supply 111 (such as battery) powered to all parts, it is preferred that power supply 111 Can be logically contiguous by power-supply management system and processor 110, to realize management charging by power-supply management system, put The functions such as electricity and power managed.
In addition, mobile terminal 100 includes some unshowned function modules, details are not described herein.
Preferably, the embodiment of the present invention also provides a kind of mobile terminal, including processor 110, and memory 109 is stored in On memory 109 and the computer program that can be run on the processor 110, the computer program are executed by processor 110 Each process of the above-mentioned photographic method embodiments of Shi Shixian, and identical technique effect can be reached, to avoid repeating, here no longer It repeats.
The embodiment of the present invention also provides a kind of computer readable storage medium, and meter is stored on computer readable storage medium Calculation machine program, the computer program realize each process of above-mentioned photographic method embodiment when being executed by processor, and can reach Identical technique effect, to avoid repeating, which is not described herein again.Wherein, the computer readable storage medium is deposited Ru read-only Reservoir (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disc or CD etc..
It should be noted that herein, the terms "include", "comprise" 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 include not only those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including this There is also other identical elements in the process of 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 this understanding, technical scheme of the present invention substantially in other words does the prior art Going out the part of contribution can be expressed in the form of software products, which is stored in a storage medium In (such as ROM/RAM, magnetic disc, CD), including some instructions are used so that a station terminal (can be mobile phone, computer, service Device, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited in above-mentioned specific Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art Under the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very much Form belongs within the protection of the present invention.

Claims (10)

1. a kind of photographic method, which is characterized in that including:
After receiving photographing instruction, the target area in shooting area is identified;
Luminous point determination will be surveyed and carry out survey light in the target area, and shoot photo and obtain the first image;
Luminous point determination will be surveyed and carry out survey light in nontarget area, and shoot photo and obtain the second image, the target area and institute The brightness difference for stating nontarget area is more than given threshold;
The image of nontarget area in the image of target area in described first image and second image is subjected to splicing conjunction At obtaining third image as photo.
2. the method as described in claim 1, which is characterized in that luminous point determination will be surveyed and carry out survey light in nontarget area, and clapped It takes the photograph photo and obtains the second image, specifically include:
Different location of the luminous point determination in the nontarget area will be surveyed, carry out surveying light respectively for each position and shoots photograph Piece obtains each second subgraph shot under each survey luminous point;
Each second subgraph is synthesized, second image is obtained.
3. method as claimed in claim 2, which is characterized in that the target area is portrait area, then, described will to survey luminous point true It is scheduled on the different location of the nontarget area, carry out surveying light respectively for each position and shoots photo, obtains each survey light Lower each second subgraph shot of point, specifically includes:
It carries out surveying light in the first position of nontarget area and shoots photo, the first position is located at outside the portrait area The upper left corner;
It carries out surveying light in the second position of nontarget area and shoots photo, the second position is located at outside the portrait area The upper right corner.
4. method as claimed in claim 2, which is characterized in that synthesize, obtain described to each second subgraph Second image, specifically includes:
Determine the pixel average of the pixel at multiple second subgraph same positions;
By the pixel value of pixel is set as at first position in second image, first described in second subgraph Set the pixel average of the pixel at place.
5. the method as described in any claims of claim 1-4, which is characterized in that the target area is portrait area, then institute The target area in identification shooting area is stated, is specifically included:
Obtain the preview image of the shooting area;
Based on portrait feature, image recognition is carried out to the preview image;
If recognizing portrait in the preview image, using the region where portrait as the target area.
6. the method as described in claim 1, which is characterized in that by the image of target area in described first image and described Image other than second objective area in image carries out splicing merging, obtains third image, specifically includes:
Extract the image of target area in described first image;
By the image of the target area of extraction, the target area in second image is covered, third image is obtained.
7. a kind of camera arrangement, which is characterized in that including:
Identification module identifies the target area in shooting area after receiving photographing instruction;
First taking module will survey luminous point determination and carry out survey light in the target area, and shoot photo and obtain the first image;
Second taking module will survey luminous point determination and carry out survey light in nontarget area, and shoot photo and obtain the second image, described The brightness difference of target area and the nontarget area is more than given threshold;
Synthesis module, by the image of nontarget area in the image of target area in described first image and second image Splicing synthesis is carried out, obtains third image as photo.
8. the method for claim 7, which is characterized in that second taking module is specifically used for:
Different location of the luminous point determination in the nontarget area will be surveyed, carry out surveying light respectively for each position and shoots photograph Piece obtains each second subgraph shot under each survey luminous point;
Each second subgraph is synthesized, second image is obtained.
9. method as claimed in claim 8, which is characterized in that second taking module is specifically used for:
Determine the pixel average of the pixel at multiple second subgraph same positions;
By the pixel value of pixel is set as at first position in second image, first described in second subgraph Set the pixel average of the pixel at place.
10. a kind of mobile terminal, which is characterized in that including:It memory, processor and is stored on the memory and can be in institute The computer program run on processor is stated, such as claim 1 to 6 is realized when the computer program is executed by the processor Any one of described in method the step of.
CN201810243314.2A 2018-03-23 2018-03-23 Photographing method and device and mobile terminal Active CN108616687B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810243314.2A CN108616687B (en) 2018-03-23 2018-03-23 Photographing method and device and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810243314.2A CN108616687B (en) 2018-03-23 2018-03-23 Photographing method and device and mobile terminal

Publications (2)

Publication Number Publication Date
CN108616687A true CN108616687A (en) 2018-10-02
CN108616687B CN108616687B (en) 2020-07-21

Family

ID=63658769

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810243314.2A Active CN108616687B (en) 2018-03-23 2018-03-23 Photographing method and device and mobile terminal

Country Status (1)

Country Link
CN (1) CN108616687B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109490311A (en) * 2018-10-25 2019-03-19 武汉精立电子技术有限公司 Backlight panel defect detecting system and method based on multi-angled shooting
CN110018167A (en) * 2019-04-04 2019-07-16 武汉精立电子技术有限公司 A kind of Curved screen open defect rapid detection method and system
CN111815531A (en) * 2020-07-09 2020-10-23 Oppo广东移动通信有限公司 Image processing method, image processing device, terminal equipment and computer readable storage medium
WO2022001615A1 (en) * 2020-06-29 2022-01-06 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Method and system for automatically removing glare regions

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070216777A1 (en) * 2006-03-17 2007-09-20 Shuxue Quan Systems, methods, and apparatus for exposure control
CN101867723A (en) * 2009-04-16 2010-10-20 三洋电机株式会社 Image processing apparatus, camera head and image-reproducing apparatus
CN103905732A (en) * 2014-04-02 2014-07-02 深圳市中兴移动通信有限公司 Shooting method and shooting device
CN105554411A (en) * 2016-02-15 2016-05-04 广东欧珀移动通信有限公司 Photographing method and device based on screen light compensation and mobile terminal
CN105959559A (en) * 2016-06-08 2016-09-21 维沃移动通信有限公司 Night scene shooting method and mobile terminal
WO2016165488A1 (en) * 2015-09-18 2016-10-20 中兴通讯股份有限公司 Photo processing method and device
CN107197169A (en) * 2017-06-22 2017-09-22 维沃移动通信有限公司 A kind of high dynamic range images image pickup method and mobile terminal
CN107241559A (en) * 2017-06-16 2017-10-10 广东欧珀移动通信有限公司 Portrait photographic method, device and picture pick-up device
CN107343140A (en) * 2017-06-14 2017-11-10 努比亚技术有限公司 A kind of image processing method and mobile terminal
CN107392087A (en) * 2017-05-27 2017-11-24 华勤通讯技术有限公司 A kind of image processing method and device

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070216777A1 (en) * 2006-03-17 2007-09-20 Shuxue Quan Systems, methods, and apparatus for exposure control
CN101867723A (en) * 2009-04-16 2010-10-20 三洋电机株式会社 Image processing apparatus, camera head and image-reproducing apparatus
CN103905732A (en) * 2014-04-02 2014-07-02 深圳市中兴移动通信有限公司 Shooting method and shooting device
WO2016165488A1 (en) * 2015-09-18 2016-10-20 中兴通讯股份有限公司 Photo processing method and device
CN105554411A (en) * 2016-02-15 2016-05-04 广东欧珀移动通信有限公司 Photographing method and device based on screen light compensation and mobile terminal
CN105959559A (en) * 2016-06-08 2016-09-21 维沃移动通信有限公司 Night scene shooting method and mobile terminal
CN107392087A (en) * 2017-05-27 2017-11-24 华勤通讯技术有限公司 A kind of image processing method and device
CN107343140A (en) * 2017-06-14 2017-11-10 努比亚技术有限公司 A kind of image processing method and mobile terminal
CN107241559A (en) * 2017-06-16 2017-10-10 广东欧珀移动通信有限公司 Portrait photographic method, device and picture pick-up device
CN107197169A (en) * 2017-06-22 2017-09-22 维沃移动通信有限公司 A kind of high dynamic range images image pickup method and mobile terminal

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109490311A (en) * 2018-10-25 2019-03-19 武汉精立电子技术有限公司 Backlight panel defect detecting system and method based on multi-angled shooting
CN110018167A (en) * 2019-04-04 2019-07-16 武汉精立电子技术有限公司 A kind of Curved screen open defect rapid detection method and system
CN110018167B (en) * 2019-04-04 2021-10-29 武汉精立电子技术有限公司 Method and system for rapidly detecting appearance defects of curved screen
WO2022001615A1 (en) * 2020-06-29 2022-01-06 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Method and system for automatically removing glare regions
CN111815531A (en) * 2020-07-09 2020-10-23 Oppo广东移动通信有限公司 Image processing method, image processing device, terminal equipment and computer readable storage medium
CN111815531B (en) * 2020-07-09 2024-03-01 Oppo广东移动通信有限公司 Image processing method, device, terminal equipment and computer readable storage medium

Also Published As

Publication number Publication date
CN108616687B (en) 2020-07-21

Similar Documents

Publication Publication Date Title
CN107580184B (en) A kind of image pickup method and mobile terminal
CN108540724A (en) A kind of image pickup method and mobile terminal
CN107592459A (en) A kind of photographic method and mobile terminal
CN108495029A (en) A kind of photographic method and mobile terminal
CN110099213A (en) A kind of image display control method and terminal
CN107483836B (en) A kind of image pickup method and mobile terminal
CN110365907A (en) A kind of photographic method, device and electronic equipment
CN108111754A (en) A kind of method and mobile terminal of definite image acquisition modality
CN108989678A (en) A kind of image processing method, mobile terminal
CN108307109A (en) A kind of high dynamic range images method for previewing and terminal device
CN108600647A (en) Shooting preview method, mobile terminal and storage medium
CN108616687A (en) A kind of photographic method, device and mobile terminal
CN107864336B (en) A kind of image processing method, mobile terminal
CN108462826A (en) A kind of method and mobile terminal of auxiliary photo-taking
CN107566749A (en) Image pickup method and mobile terminal
CN109218626A (en) A kind of photographic method and terminal
CN108307106A (en) A kind of image processing method, device and mobile terminal
CN107948505A (en) A kind of panorama shooting method and mobile terminal
CN108683850A (en) A kind of shooting reminding method and mobile terminal
CN108174081B (en) A kind of image pickup method and mobile terminal
CN111246102A (en) Shooting method, shooting device, electronic equipment and storage medium
CN108307110A (en) A kind of image weakening method and mobile terminal
CN110519503A (en) A kind of acquisition methods and mobile terminal of scan image
CN109104578A (en) A kind of image processing method and mobile terminal
CN108718389A (en) A kind of screening-mode selection method 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