CN108259773A - A kind of image pickup method and device - Google Patents
A kind of image pickup method and device Download PDFInfo
- Publication number
- CN108259773A CN108259773A CN201810097399.8A CN201810097399A CN108259773A CN 108259773 A CN108259773 A CN 108259773A CN 201810097399 A CN201810097399 A CN 201810097399A CN 108259773 A CN108259773 A CN 108259773A
- Authority
- CN
- China
- Prior art keywords
- pixel
- highlights
- highlights region
- point
- region
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/70—Circuitry for compensating brightness variation in the scene
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/63—Control of cameras or camera modules by using electronic viewfinders
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/70—Circuitry for compensating brightness variation in the scene
- H04N23/71—Circuitry for evaluating the brightness variation
Abstract
The present invention provides a kind of image pickup method and device, wherein, the method includes:Determine the highlights region in preview image;If the pixel number in the highlights region is less than preset value in the accounting of total pixel of the preview image, the edge pixel point in the highlights region is marked;When receiving user the highlights region being carried out surveying the confirmation operation of light, using the central point in the highlights region as survey luminous point to carry out survey light;When the shooting instruction for receiving user, the preview image is exposed based on photometry result to obtain shooting picture.It solves due to surveying the problem of luminous point easily falls in large area dark area, leads to easy overexposure at light source, has reached the advantageous effect for avoiding overexposure at light source.
Description
Technical field
The present invention relates to technical field of mobile terminals more particularly to a kind of image pickup methods and device.
Background technology
Since night is poor, the picture noise of shooting is excessive, easily leads to the problem of overexposure, shooting effect at light source
Difference.
In the prior art, in order to solve the problems, such as that shooting at night effect is poor, shooting image is often synthesized using multiple image.
Specifically, first, the image of three frame difference exposure parameters is acquired when shooting, including the corresponding overexposure image of overexposure parameter, is owed
Expose the corresponding deficient exposure image of parameter, the corresponding normal exposure image of normal exposure parameter;Then, using normal exposure image as base
Standard is weighted processing using overexposure image to owing exposure region;Finally, place is weighted overexposure region using deficient exposure image
Reason, the image obtained from are to shoot image.
However, the image that above-mentioned shooting obtains can effectively solve the problems, such as that under-exposed and noise is excessive, but due to surveying
Luminous point is easily fallen in large area dark area, so as to cause that still can not solve the problems, such as easy overexposure at light source.
Invention content
Image pickup method and device provided in an embodiment of the present invention can solve easily to fall in large area dark region due to surveying luminous point
Domain, the problem of leading to easy overexposure at light source.
On the one hand, the embodiment of the invention discloses a kind of image pickup method, applied to mobile terminal, including:
Determine the highlights region in preview image;
If the pixel number in the highlights region is less than preset value in the accounting of total pixel of the preview image,
The edge pixel point in the highlights region is marked;
When receive user to the highlights region carry out survey light confirmation operation when, by the central point in the highlights region
As surveying luminous point to carry out survey light;
When the shooting instruction for receiving user, the preview image is exposed to obtain shooting figure based on photometry result
Piece.
On the other hand, the embodiment of the invention also discloses a kind of filming apparatus, including:
Highlights area determination module, for determining the highlights region in preview image;
Highlights edge mark module, if for the highlights region pixel number the preview image total pixel
The accounting of point is less than preset value, then the edge pixel point in the highlights region is marked;
Survey luminous point setup module, for when receive user to the highlights region carry out survey light confirmation operation when, will
The central point in the highlights region, which is used as, surveys luminous point to carry out survey light;
Taking module, for when the shooting instruction for receiving user, being carried out based on photometry result to the preview image
Exposure obtains shooting picture.
In another aspect, the embodiment of the invention also discloses a kind of mobile terminal, including processor, memory and it is stored in institute
The computer program that can be run on memory and on the processor is stated, when the computer program is performed by the processor
The step of realizing as above any one of them image pickup method.
Last aspect, it is described computer-readable the embodiment of the invention also discloses a kind of computer readable storage medium
Computer program is stored on storage medium, realizes that as above any one of them is clapped when the computer program is executed by processor
The step of taking the photograph method.
In embodiments of the present invention, the highlights region in preview image is determined;If the pixel number in the highlights region
It is less than preset value in the accounting of total pixel of the preview image, then rower is clicked through to the edge pixel in the highlights region
Note;When receive user to the highlights region carry out survey light confirmation operation when, using the central point in the highlights region as
Luminous point is surveyed to carry out survey light;When the shooting instruction for receiving user, the preview image is exposed based on photometry result
Obtain shooting picture.It solves due to surveying the problem of luminous point easily falls in large area dark area, leads to easy overexposure at light source,
The advantageous effect for avoiding overexposure at light source is reached.
Above description is only the general introduction of technical solution of the present invention, in order to better understand the technological means of the present invention,
And it can be implemented in accordance with the contents of the specification, and in order to allow above and other objects of the present invention, feature and advantage can
It is clearer and more comprehensible, below the special specific embodiment for lifting the present invention.
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
Attached drawing to be used is needed to be briefly described, it should be apparent that, the accompanying drawings in the following description is 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 attached drawings
Obtain other attached drawings.
Fig. 1 shows a kind of step flow chart of image pickup method in the embodiment of the present invention one;
Fig. 2 shows a kind of step flow charts of image pickup method in the embodiment of the present invention two;
Fig. 3 shows that survey light when light integration is surveyed in focusing in the embodiment of the present invention prompts schematic diagram;
Fig. 4 shows that survey light when light separation is surveyed in focusing in the embodiment of the present invention prompts schematic diagram;
Fig. 5 shows a kind of structure diagram of filming apparatus in the embodiment of the present invention three;
Fig. 6 shows a kind of structure diagram of filming apparatus in the embodiment of the present invention four;
Fig. 7 shows a kind of hardware architecture diagram for the mobile terminal for realizing each embodiment of the present invention.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present invention, the technical solution 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, 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.
A kind of image pickup method and device provided by the invention is discussed in detail below by several specific embodiments are enumerated.
Embodiment one
With reference to Fig. 1, a kind of step flow chart of image pickup method of the embodiment of the present invention one is shown, can specifically include such as
Lower step:
Step 101, the highlights region in preview image is determined.
Wherein, highlights region is judged for dark portion region by the brightness value of pixel.It is appreciated that
Highlights region may have multiple, and a frame image is divided into highlights region and dark portion region.
It is appreciated that when highlights region there are it is multiple when, multiple highlights zone markers can be prompted to user;It can also
The highlights region of selection average brightness value maximum is marked.The embodiment of the present invention does not limit it.
Step 102, if the pixel number in the highlights region is less than in the accounting of total pixel of the preview image
Preset value is then marked the edge pixel point in the highlights region.
Specifically, edge pixel point is filled with eye-catching color, to be marked.For example, it is filled by red.
The embodiment of the present invention can be marked by the edge to highlights region, with prompt user will survey luminous point be placed in it is bright
Portion region, so that it is determined that normal exposure parameter, and then ensure that the picture that shooting obtains will not be excessive because of exposure parameter, and lead
The problem of causing overexposure at light source.
Step 103, when receive user to the highlights region carry out survey light confirmation operation when, by the highlights region
Central point as surveying luminous point to carry out survey light.
Wherein, confirmation operation can be clicking operation of the user to any position in highlights region.
It surveys light and is mainly to determine the brightness value for surveying luminous point.
Step 104, when the shooting instruction for receiving user, the preview image is exposed based on photometry result
To shooting picture.
Specifically, the exposure parameter for determining to shoot as benchmark to survey the brightness value of luminous point.If it is appreciated that the brightness value
It is excessive, then it can determine whether smaller exposure parameter, shooting picture overall brightness is relatively low;If the brightness value is too small, can determine whether larger
Exposure parameter, shooting picture overall brightness it is higher.
In embodiments of the present invention, the highlights region in preview image is determined;If the pixel number in the highlights region
It is less than preset value in the accounting of total pixel of the preview image, then rower is clicked through to the edge pixel in the highlights region
Note;When receive user to the highlights region carry out survey light confirmation operation when, using the central point in the highlights region as
Luminous point is surveyed to carry out survey light;When the shooting instruction for receiving user, the preview image is exposed based on photometry result
Obtain shooting picture.It solves due to surveying the problem of luminous point easily falls in large area dark area, leads to easy overexposure at light source,
The advantageous effect for avoiding overexposure at light source is reached.
Embodiment two
With reference to Fig. 2, a kind of step flow chart of image pickup method of the embodiment of the present invention two is shown, can specifically include such as
Lower step:
Step 201, determine whether the brightness value of each pixel in preview image is more than or equal to predetermined luminance threshold value.
Wherein, predetermined luminance threshold value can rule of thumb and practical application scene setting, the embodiment of the present invention to it not
It limits.
Wherein, the brightness value of each pixel is different according to different picture formats.For RGB (Red GreenBlue, it is red
It is turquoise) picture of form, the brightness value of pixel is the average value of three components of RGB.For YUV (brightness and color) form
Picture, the brightness value of pixel is the value of Y-component.
Step 202, if the brightness value is more than the predetermined luminance threshold value, it is determined that the pixel belongs to highlights area
Domain.
It is appreciated that highlights region is made of pixel of multiple continuous brightness more than predetermined luminance threshold value.In reality
In, highlights region is often at light source.
Specifically, when it is highlights region to determine a pixel, the location of pixels can be recorded, so as to obtain highlights region
All pixels point.
Step 203, if the pixel number in the highlights region is less than in the accounting of total pixel of the preview image
Preset value, it is determined that be less than institute with the presence or absence of the brightness value of at least one pixel around each pixel in the highlights region
State predetermined luminance threshold value.
In embodiments of the present invention, when determining that a pixel belongs to highlights region, then further judge the pixel
Surrounding is with the presence or absence of the pixel for belonging to dark portion region, if in the presence of the pixel is the edge pixel point in highlights region;It is no
Then, which is not the edge pixel point in highlights region.
Specifically, the pixel for belonging to dark portion region is less than the pixel of predetermined luminance threshold value for brightness value.
Step 204, if at least there are the brightness values of a pixel to be less than the predetermined luminance threshold value, it is determined that the picture
Vegetarian refreshments is edge pixel point.
In embodiments of the present invention, edge pixel point not only includes the adjacent pixels point in highlights region and dark portion region, also
Brightness value including being in shooting area edge is more than the pixel in highlights region.
For example, highlights region is in the edge of coverage, so as to which the pixel that a part belongs to highlights region is in bat
Edge is taken the photograph, is also divided into edge pixel point.
Step 205, the edge pixel point is marked.
Specifically, painted color mark edge pixel point can be passed through.It is appreciated that two kinds of edge pixels of label
Point shoots edge pixel point and the adjacent pixels point with dark portion region.
Step 206, prompting user carries out survey light in the highlights region of label.
Specifically, it is shown in highlights areas adjacent and surveys light prompt message, will surveyed so that user is prompted to click the highlights region
Luminous point surveys spot displacement to the central point in highlights region from acquiescence.As shown in figure 3, the shooting system for focusing and surveying light one
System is shown " click here focusing ";As shown in figure 4, the camera system for focusing and surveying light separation, " click here survey for display
Light ".
Step 207, when receive user to the highlights region carry out survey light confirmation operation when, determine the highlights area
In domain the minimum pixel of horizontal coordinate and vertical coordinate as the first reference point and horizontal coordinate and vertical coordinate most
Big pixel is as the second reference point.
It is appreciated that the first reference point is the lower left corner pixel in highlights region, the second reference point is the right side in highlights region
Upper angle pixel.
Specifically, all pixels point in the highlights region recorded according to step 202 therefrom selects horizontal coordinate and vertical seat
The minimum pixel of mark, obtains the first reference point;The pixel for selecting horizontal coordinate and vertical coordinate maximum, obtains second
Reference point.
Specifically, when the pixel position in highlights region is discontinuous, there are multiple highlights regions for representative.It is used so as to work as
When one of highlights region is clicked at family, it is subject to the highlights region, determines the first reference point and the second reference point.
Step 208, using the central point of first reference point and the second reference point line as survey luminous point.
Specifically, the position of central point can be determined by equation below:
Wherein, x, y are respectively the lateral coordinates and longitudinal coordinate of central point, x1And y1The respectively transverse direction of the first reference point
Coordinate and longitudinal coordinate, x2And y2The lateral coordinates and longitudinal coordinate of respectively the second reference point.
Step 209, when the shooting instruction for receiving user, the preview image is exposed based on photometry result
To shooting picture.
The step is referred to the detailed description of step 103, and details are not described herein.
In embodiments of the present invention, the highlights region in preview image is determined;If the pixel number in the highlights region
It is less than preset value in the accounting of total pixel of the preview image, then rower is clicked through to the edge pixel in the highlights region
Note;When receive user to the highlights region carry out survey light confirmation operation when, using the central point in the highlights region as
Luminous point is surveyed to carry out survey light;When the shooting instruction for receiving user, the preview image is exposed based on photometry result
Obtain shooting picture.It solves due to surveying the problem of luminous point easily falls in large area dark area, leads to easy overexposure at light source,
The advantageous effect for avoiding overexposure at light source is reached.Further, it is also possible to the edge in highlights region is determined by predetermined luminance threshold value
Pixel, user to be prompted to be modified survey luminous point.
Embodiment three
With reference to Fig. 5, a kind of structure diagram of filming apparatus of the embodiment of the present invention three is shown.
The filming apparatus 300 includes:Highlights area determination module 301, highlights edge mark module 302, survey luminous point are set
Put module 303, taking module 304.
Be discussed in detail separately below each module function and each module between interactive relation.
Highlights area determination module 301, for determining the highlights region in preview image.
Highlights edge mark module 302, if for the highlights region pixel number in the total of the preview image
The accounting of pixel is less than preset value, then the edge pixel point in the highlights region is marked.
Luminous point setup module 303 is surveyed, for when receiving user the highlights region being carried out surveying the confirmation operation of light,
Using the central point in the highlights region as surveying luminous point to carry out survey light.
Taking module 304, for when the shooting instruction for receiving user, based on photometry result to the preview image into
Row exposure obtains shooting picture.
In embodiments of the present invention, the highlights region in preview image is determined;If the pixel number in the highlights region
It is less than preset value in the accounting of total pixel of the preview image, then rower is clicked through to the edge pixel in the highlights region
Note;When receive user to the highlights region carry out survey light confirmation operation when, using the central point in the highlights region as
Luminous point is surveyed to carry out survey light;When the shooting instruction for receiving user, the preview image is exposed based on photometry result
Obtain shooting picture.It solves due to surveying the problem of luminous point easily falls in large area dark area, leads to easy overexposure at light source,
The advantageous effect for avoiding overexposure at light source is reached.
Embodiment three is one corresponding device embodiment of embodiment of the method, and detailed description is referred to embodiment one, herein
It repeats no more.
Example IV
With reference to Fig. 6, a kind of structure diagram of filming apparatus of the embodiment of the present invention four is shown.
The filming apparatus 400 includes:Light is surveyed in highlights area determination module 401, highlights edge mark module 402, prompting
Module 403 surveys luminous point setup module 404, taking module 405.
Be discussed in detail separately below each module function and each module between interactive relation.
Highlights area determination module 401, for determining the highlights region in preview image.Optionally, implement in the present invention
In example, above-mentioned highlights area determination module 401, including:
Whether brightness value determination sub-module 4011, the brightness value for determining each pixel in preview image are more than or equal to
Predetermined luminance threshold value.
Highlights region determination sub-module 4012, if being more than the predetermined luminance threshold value for the brightness value, it is determined that institute
It states pixel and belongs to highlights region.
Highlights edge mark module 402, if the pixel number in the highlights region is in total pixel of the preview image
The accounting of point is less than preset value, then the edge pixel point in the highlights region is marked.Optionally, in the embodiment of the present invention
In, above-mentioned highlights edge mark module 402, including:
Surrounding pixel brightness value determination sub-module 4021, for determine around each pixel in the highlights region whether
Brightness value there are at least one pixel is less than the predetermined luminance threshold value.
Edge pixel point determination sub-module 4022, if being less than at least there are the brightness value of a pixel described default
Luminance threshold, it is determined that the pixel is edge pixel point.
Edge pixel point marks submodule 4023, for the edge pixel point to be marked.
Optical module 403 is surveyed in prompting, for user to be prompted to carry out survey light in the highlights region of label.
Luminous point setup module 404 is surveyed, for when receiving user the highlights region being carried out surveying the confirmation operation of light,
Using the central point in the highlights region as surveying luminous point to carry out survey light.Optionally, in embodiments of the present invention, above-mentioned survey luminous point
Setup module 404, including:
Reference point determination sub-module 4041, for determining that horizontal coordinate and vertical coordinate in the highlights region are minimum
The pixel pixel maximum as the first reference point and horizontal coordinate and vertical coordinate is as the second reference point.
Survey luminous point setting submodule 4042, for using the central point of first reference point and the second reference point line as
Survey luminous point.
Taking module 405, for when the shooting instruction for receiving user, based on photometry result to the preview image into
Row exposure obtains shooting picture.
In embodiments of the present invention, the highlights region in preview image is determined;If the pixel number in the highlights region
It is less than preset value in the accounting of total pixel of the preview image, then rower is clicked through to the edge pixel in the highlights region
Note;When receive user to the highlights region carry out survey light confirmation operation when, using the central point in the highlights region as
Luminous point is surveyed to carry out survey light;When the shooting instruction for receiving user, the preview image is exposed based on photometry result
Obtain shooting picture.It solves due to surveying the problem of luminous point easily falls in large area dark area, leads to easy overexposure at light source,
The advantageous effect for avoiding overexposure at light source is reached.Further, it is also possible to the edge in highlights region is determined by predetermined luminance threshold value
Pixel, user to be prompted to be modified survey luminous point.
Example IV is two corresponding device embodiment of embodiment of the method, and detailed description is referred to embodiment two, herein
It repeats no more.
Embodiment five
A kind of hardware architecture diagram of Fig. 7 mobile terminals of each embodiment to realize the present invention, the mobile terminal 500
Including but not limited to:Radio frequency unit 501, audio output unit 503, input unit 504, sensor 505, is shown network module 502
Show the components 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. 7 does not form the restriction to mobile terminal, it is mobile whole
End can 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..
Processor 510, for determining the highlights region in preview image;If the pixel number in the highlights region is in institute
The accounting for stating total pixel of preview image is less than preset value, then the edge pixel point in the highlights region is marked;When
Receive user to the highlights region carry out survey light confirmation operation when, using the central point in the highlights region as survey luminous point
To carry out survey light;When the shooting instruction for receiving user, the preview image is exposed based on photometry result and is clapped
Take the photograph picture.
As it can be seen that in embodiments of the present invention, determine the highlights region in preview image, and to the edge in the highlights region
Pixel is marked;When receive user to the highlights region carry out survey light confirmation operation when, by the highlights region
Central point as surveying luminous point to carry out survey light;When the shooting instruction for receiving user, based on photometry result to the preview
Image is exposed to obtain shooting picture.It solves and is easily fallen in large area dark area due to surveying luminous point, cause to hold at light source
The problem of easy overexposure, has reached the advantageous effect for avoiding overexposure at light source.
It should be understood that the embodiment of the present invention in, radio frequency unit 501 can be used for receive and send messages or communication process in, signal
Send and receive, specifically, by from base station downlink data receive after, handled to processor 510;In addition, by uplink
Data are sent to base station.In general, radio frequency unit 501 includes but 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 radio communication system and network and other set
Standby communication.
Mobile terminal has provided wireless broadband internet to the user by network module 502 and has accessed, and such as user is helped to receive
It sends e-mails, browse webpage and access streaming video etc..
It is that audio output unit 503 can receive radio frequency unit 501 or network module 502 or in memory 509
The audio data of storage is converted into audio signal and exports as sound.Moreover, audio output unit 503 can also be provided and be moved
The relevant audio output of specific function that dynamic terminal 500 performs is (for example, call signal receives sound, message sink sound etc.
Deng).Audio output unit 503 includes loud speaker, buzzer and receiver etc..
Input unit 504 is used to receive audio or video signal.Input unit 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 image data of video obtained in image capture mode by image capture apparatus (such as camera) carry out
Reason.Treated, and picture frame may be displayed on display unit 506.Through graphics processor 5041, treated that picture frame can be deposited
Storage is sent in memory 509 (or other storage mediums) or via radio frequency unit 501 or network module 502.Mike
Wind 5042 can receive sound, and can be audio data by such acoustic processing.Treated audio data 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 further 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 sensor, wherein, ambient light sensor can be according to environment
The light and shade of light adjusts the brightness of display panel 5061, and proximity sensor 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 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 505 can also include fingerprint sensor, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, wet
Meter, thermometer, infrared ray sensor etc. are spent, details are not described herein.
Display unit 506 is used to show by information input by user or be supplied to the information of user.Display unit 506 can wrap
Display panel 5061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode may be used
Display panel 5061 is configured in forms such as (Organic Light-Emitting Diode, OLED).
User input unit 507 can be used for receiving the number inputted or character information and generation and the use of mobile terminal
The key signals input that family is set and function control is related.Specifically, user input unit 507 include touch panel 5071 and
Other input equipments 5072.Touch panel 5071, also referred to as touch screen collect user on it or neighbouring touch operation
(for example user uses any suitable objects such as finger, stylus or attachment on touch panel 5071 or in touch panel 5071
Neighbouring operation).Touch 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
It manages the order that device 510 is sent and is performed.It is furthermore, it is possible to more using resistance-type, condenser type, infrared ray and surface acoustic wave etc.
Type realizes touch panel 5071.In addition to touch 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, operating lever, details are not described herein.
Further, touch panel 5071 can be covered on display panel 5061, when touch panel 5071 is detected at it
On or near touch operation after, send to processor 510 with determine touch event type, 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 the figure 7, touch panel 5071 and display
Panel 5061 is the component independent as two to realize the function that outputs and inputs of mobile terminal, but in some embodiments
In, can be integrated by touch panel 5071 and display panel 5061 and realize the function that outputs and inputs of mobile terminal, it is specific this
Place does not limit.
Interface unit 508 is the interface that external device (ED) is connect with mobile terminal 500.For example, external device (ED) can include
Line or wireless head-band earphone port, external power supply (or battery charger) port, wired or wireless data port, 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 receiving the input (for example, data information, 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 500 He of mobile terminal
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
Audio 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 entire mobile terminal of connection
A part is stored in storage by running or performing the software program being stored in memory 509 and/or module and call
Data in device 509 perform the various functions of mobile terminal and processing data, 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, 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 510.
Mobile terminal 500 can also include the power supply 511 (such as battery) powered to all parts, 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 functions such as electricity and power managed.
In addition, mobile terminal 500 includes some unshowned function modules, details are not described herein.
Preferably, the embodiment of the present invention also provides a kind of mobile terminal, and 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, it is repeated to avoid, 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 image pickup method embodiment when being executed by processor, and can reach
Identical technique effect is repeated to avoid, and which is not described herein again.Wherein, the computer readable storage medium is 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 elements, and
And it further includes other elements that are not explicitly listed or further includes intrinsic for this process, method, article or device institute
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including this
Also there are other identical elements in the process of element, method, article or device.
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 of the present invention substantially in other words does the prior art
Going out the part of contribution can be embodied in the form of software product, which is stored in a storage medium
In (such as ROM/RAM, magnetic disc, CD), used including some instructions so that a station terminal (can be mobile phone, computer services
Device, air conditioner or network equipment etc.) perform method described in each embodiment of the present invention.
The embodiment of the present invention is described above in conjunction with attached drawing, but the invention is not limited in above-mentioned specific
Embodiment, above-mentioned specific embodiment is only schematical rather than restricted, those of ordinary skill in the art
Under the enlightenment of the present invention, present inventive concept and scope of the claimed protection are not being departed from, can also made very much
Form is belonged within the protection of the present invention.
Claims (10)
1. a kind of image pickup method, applied to mobile terminal, which is characterized in that the method includes:
Determine the highlights region in preview image;
If the pixel number in the highlights region is less than preset value in the accounting of total pixel of the preview image, to institute
The edge pixel point for stating highlights region is marked;
When receive user to the highlights region carry out survey light confirmation operation when, using the central point in the highlights region as
Luminous point is surveyed to carry out survey light;
When the shooting instruction for receiving user, the preview image is exposed based on photometry result to obtain shooting picture.
2. according to the method described in claim 1, it is characterized in that, the step of highlights region in the determining preview image,
Including:
Determine whether the brightness value of each pixel in preview image is more than or equal to predetermined luminance threshold value;
If the brightness value is more than the predetermined luminance threshold value, it is determined that the pixel belongs to highlights region.
3. according to the method described in claim 1, it is characterized in that, the edge pixel to the highlights region clicks through rower
The step of note, including:
It determines around each pixel in the highlights region with the presence or absence of the brightness value of at least one pixel less than described pre-
If luminance threshold;
If at least there are the brightness values of a pixel to be less than the predetermined luminance threshold value, it is determined that the pixel is edge picture
Vegetarian refreshments;
The edge pixel point is marked.
4. it according to the method described in claim 1, it is characterized in that, is carried out in the edge pixel point to the highlights region
After the step of label, further include:
Prompting user carries out survey light in the highlights region of label.
5. according to the method described in claim 1, it is characterized in that, the central point using the highlights region is as survey luminous point
To carry out surveying the step of light, including:
Determine that the pixel of horizontal coordinate and vertical coordinate minimum is as the first reference point and level in the highlights region
Coordinate and the pixel of vertical coordinate maximum are as the second reference point;
Using the central point of first reference point and the second reference point line as survey luminous point.
6. a kind of filming apparatus, which is characterized in that including:
Highlights area determination module, for determining the highlights region in preview image;
Highlights edge mark module, if for the highlights region pixel number the preview image total pixel
Accounting is less than preset value, then the edge pixel point in the highlights region is marked;
Survey luminous point setup module, for when receive user to the highlights region carry out survey light confirmation operation when, will described in
The central point in highlights region, which is used as, surveys luminous point to carry out survey light;
Taking module, for when the shooting instruction for receiving user, being exposed based on photometry result to the preview image
Obtain shooting picture.
7. device according to claim 6, which is characterized in that the highlights area determination module, including:
Brightness value determination sub-module, for determining whether the brightness value of each pixel in preview image is more than or equal to predetermined luminance
Threshold value;
Highlights region determination sub-module, if being more than the predetermined luminance threshold value for the brightness value, it is determined that the pixel
Belong to highlights region.
8. device according to claim 6, which is characterized in that the highlights edge mark module, including:
Surrounding pixel brightness value determination sub-module, for determining around each pixel in the highlights region with the presence or absence of at least
The brightness value of one pixel is less than the predetermined luminance threshold value;
Edge pixel point determination sub-module, if to be less than the predetermined luminance threshold at least there are the brightness values of a pixel
Value, it is determined that the pixel is edge pixel point;
Edge pixel point marks submodule, for the edge pixel point to be marked.
9. device according to claim 6, which is characterized in that further include:
Optical module is surveyed in prompting, for user to be prompted to carry out survey light in the highlights region of label.
10. device according to claim 6, which is characterized in that the survey luminous point setup module, including:
Reference point determination sub-module, for determining that the pixel of horizontal coordinate and vertical coordinate minimum is made in the highlights region
The pixel maximum for the first reference point and horizontal coordinate and vertical coordinate is as the second reference point;
Luminous point setting submodule is surveyed, for using the central point of first reference point and the second reference point line as survey luminous point.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810097399.8A CN108259773A (en) | 2018-01-31 | 2018-01-31 | A kind of image pickup method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810097399.8A CN108259773A (en) | 2018-01-31 | 2018-01-31 | A kind of image pickup method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108259773A true CN108259773A (en) | 2018-07-06 |
Family
ID=62743325
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810097399.8A Pending CN108259773A (en) | 2018-01-31 | 2018-01-31 | A kind of image pickup method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108259773A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111345031A (en) * | 2019-04-25 | 2020-06-26 | 深圳市大疆创新科技有限公司 | Unmanned aerial vehicle and shooting control method thereof |
CN112540091A (en) * | 2020-10-23 | 2021-03-23 | 泰州程顺制冷设备有限公司 | Belt loss degree on-site identification platform |
CN115474007A (en) * | 2022-08-12 | 2022-12-13 | 北京城市网邻信息技术有限公司 | Shooting method, shooting device, terminal equipment and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104301624A (en) * | 2014-10-30 | 2015-01-21 | 青岛海信移动通信技术股份有限公司 | Image shooting brightness control method and device |
CN105208281A (en) * | 2015-10-09 | 2015-12-30 | 广东欧珀移动通信有限公司 | Night scene shooting method and device |
CN105227857A (en) * | 2015-10-08 | 2016-01-06 | 广东欧珀移动通信有限公司 | A kind of method and apparatus of automatic exposure |
CN106484257A (en) * | 2016-09-22 | 2017-03-08 | 广东欧珀移动通信有限公司 | Camera control method, device and electronic equipment |
CN107370940A (en) * | 2017-06-16 | 2017-11-21 | 广东欧珀移动通信有限公司 | Image acquiring method, device and terminal device |
-
2018
- 2018-01-31 CN CN201810097399.8A patent/CN108259773A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104301624A (en) * | 2014-10-30 | 2015-01-21 | 青岛海信移动通信技术股份有限公司 | Image shooting brightness control method and device |
CN105227857A (en) * | 2015-10-08 | 2016-01-06 | 广东欧珀移动通信有限公司 | A kind of method and apparatus of automatic exposure |
CN105208281A (en) * | 2015-10-09 | 2015-12-30 | 广东欧珀移动通信有限公司 | Night scene shooting method and device |
CN106484257A (en) * | 2016-09-22 | 2017-03-08 | 广东欧珀移动通信有限公司 | Camera control method, device and electronic equipment |
CN107370940A (en) * | 2017-06-16 | 2017-11-21 | 广东欧珀移动通信有限公司 | Image acquiring method, device and terminal device |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111345031A (en) * | 2019-04-25 | 2020-06-26 | 深圳市大疆创新科技有限公司 | Unmanned aerial vehicle and shooting control method thereof |
CN112540091A (en) * | 2020-10-23 | 2021-03-23 | 泰州程顺制冷设备有限公司 | Belt loss degree on-site identification platform |
CN112540091B (en) * | 2020-10-23 | 2021-06-25 | 南京驭逡通信科技有限公司 | Belt loss degree on-site identification platform |
CN115474007A (en) * | 2022-08-12 | 2022-12-13 | 北京城市网邻信息技术有限公司 | Shooting method, shooting device, terminal equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107580184B (en) | A kind of image pickup method and mobile terminal | |
CN107665697B (en) | A kind of adjusting method and mobile terminal of screen intensity | |
CN108540724A (en) | A kind of image pickup method and mobile terminal | |
CN107707827A (en) | A kind of high-dynamics image image pickup method and mobile terminal | |
CN107592471A (en) | A kind of high dynamic range images image pickup method and mobile terminal | |
CN107592466A (en) | A kind of photographic method and mobile terminal | |
CN107844730A (en) | A kind of graphic code scan method and mobile terminal | |
CN107786817A (en) | A kind of photographic method and mobile terminal | |
CN107592459A (en) | A kind of photographic method and mobile terminal | |
CN107817939A (en) | A kind of image processing method and mobile terminal | |
CN108073343A (en) | A kind of display interface method of adjustment and mobile terminal | |
CN110365907A (en) | A kind of photographic method, device and electronic equipment | |
CN108495029A (en) | A kind of photographic method and mobile terminal | |
CN108307109A (en) | A kind of high dynamic range images method for previewing and terminal device | |
CN108492246A (en) | A kind of image processing method, device and mobile terminal | |
CN107566749A (en) | Image pickup method and mobile terminal | |
CN108989678A (en) | A kind of image processing method, mobile terminal | |
CN108055402A (en) | A kind of image pickup method and mobile terminal | |
CN108628568A (en) | A kind of display methods of information, device and terminal device | |
CN108320263A (en) | A kind of method, device and mobile terminal of image procossing | |
CN107895352A (en) | A kind of image processing method and mobile terminal | |
CN108234894A (en) | A kind of exposure adjustment method and terminal device | |
CN108513067A (en) | A kind of filming control method and mobile terminal | |
CN108347558A (en) | A kind of method, apparatus and mobile terminal of image optimization | |
CN107623818A (en) | A kind of image exposure 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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180706 |
|
RJ01 | Rejection of invention patent application after publication |