CN106993139B - A kind of image pickup method and mobile terminal - Google Patents
A kind of image pickup method and mobile terminal Download PDFInfo
- Publication number
- CN106993139B CN106993139B CN201710297540.4A CN201710297540A CN106993139B CN 106993139 B CN106993139 B CN 106993139B CN 201710297540 A CN201710297540 A CN 201710297540A CN 106993139 B CN106993139 B CN 106993139B
- Authority
- CN
- China
- Prior art keywords
- image
- parameter
- target object
- count
- mobile terminal
- 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.)
- Active
Links
Images
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
- H04N23/74—Circuitry for compensating brightness variation in the scene by influencing the scene brightness using illuminating means
-
- 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/61—Control of cameras or camera modules based on recognised objects
- H04N23/611—Control of cameras or camera modules based on recognised objects where the recognised objects include parts of the human body
-
- 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/64—Computer-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
-
- 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
-
- 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/741—Circuitry for compensating brightness variation in the scene by increasing the dynamic range of the image compared to the dynamic range of the electronic image sensors
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Studio Devices (AREA)
Abstract
The embodiment of the invention discloses a kind of image pickup method and mobile terminals.The method is applied to the mobile terminal with camera, the described method includes: the first count for obtaining preview graph shines parameter, user is received to the selection operation of target object in the preview graph, the second count for the target object for receiving user's input shines parameter, when detecting photographing instruction, it is taken pictures with the first count according to parameter and obtains the first image, and it is taken pictures with the second count according to parameter and obtains the second image, target object described in second image is blended into target object position described in the first image, obtains target image.The method of the embodiment of the present invention, which realizes, adjusts the image parameter of target object in target image, when parameter of taking pictures is exposure value, the brightness of image of target object is improved in resulting target image, the image of other objects is not in image excessively over-exposed situation while meeting brightness demand, and picture quality is preferable.
Description
Technical field
The present invention relates to the communications field more particularly to a kind of image pickup methods and mobile terminal.
Background technique
With the continuous development of terminal function, camera function has become one of basic function of terminal.It is right during taking pictures
In the photographer that the colour of skin is deeper, the face identification functions of terminal possibly can not rapidly recognize the face of photographer, thus shadow
What sound was taken pictures is normally carried out;When reference object is multiple photographers with the different colours of skin, the colour of skin is deeper in gained photo
The dark images of photographer, image are not beautiful enough.
In the prior art, shooting pair in image of taking pictures can be improved by opening light compensating lamp or improving the method for exposure
The brightness of elephant, but the method for using light compensating lamp to improve exposure often makes over-exposed region occur in gained photo,
Reduce picture quality.
Summary of the invention
The present invention provides a kind of image pickup methods, to solve the brightness of prior art reference object in improving image of taking pictures
When, the method for using light compensating lamp to improve exposure often makes over-exposed region occur in gained photo, reduces picture matter
The problem of amount.
In a first aspect, a kind of image pickup method is provided, applied to the mobile terminal with camera, which comprises
The first count for obtaining preview graph shines parameter;
User is received to the selection operation of target object in the preview graph;
The second count for the target object for receiving user's input shines parameter;
When detecting photographing instruction, is taken pictures with the first count according to parameter and obtain the first image, and with described second
Parameter of taking pictures, which is taken pictures, obtains the second image;
Target object described in second image is blended into target object position described in the first image
Place, obtains target image.
Second aspect, provides a kind of mobile terminal, and the mobile terminal has camera, comprising:
First count shines parameter acquisition module, for obtaining the first count of preview graph according to parameter;
Selection operation receiving module, for receiving user to the selection operation of target object in the preview graph;
Second count shines parameter receiving module, for receiving the second count for the target object of user's input according to ginseng
Number;
Image collection module, for being taken pictures with the first count according to parameter and obtaining the first figure when detecting photographing instruction
Picture, and taken pictures with the second count according to parameter and obtain the second image;
Target image obtains module, for target object described in second image to be blended into the first image
The target object position, obtains target image.
In this way, mobile terminal first obtains the first count of preview graph according to ginseng in image shoot process in the embodiment of the present invention
Number receives user to the selection operation of target object in the preview graph later, and receive user's input for the target
The second count of object shines parameter, after detecting photographing instruction, is taken pictures with the first count according to parameter and obtains the first image, and
It is taken pictures with the second count according to parameter and obtains the second image, target object described in second image is blended into described first
Target object position described in image, obtains target image.Since target object is according to second count in target image
It is obtained according to parameter, other objects are to be obtained according to first count according to parameter in target image, it is achieved that target image
The image parameter of middle target object is adjusted.
When parameter of taking pictures is exposure value, in the target image of the method shooting provided according to an embodiment of the present invention, target
The brightness of image of object is improved, at the same the image of other objects be not in while meeting brightness demand image excessively
Over-exposed situation, gained target image meet brightness of image demand, and picture quality is preferable.
Detailed description of the invention
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 invention
Example, for those of ordinary skill in the art, without any creative labor, can also be according to these attached drawings
Obtain other attached drawings.
Fig. 1 is the flow chart of the image pickup method of one embodiment of the invention;
Fig. 2 is the flow chart of the image pickup method of another embodiment of the present invention;
Fig. 3 is the block diagram of the mobile terminal of one embodiment of the invention;
Fig. 4 is the block diagram of the mobile terminal of another embodiment of the present invention;
Fig. 5 is the block diagram of the mobile terminal of another embodiment of the present invention;
Fig. 6 is the block diagram of the mobile terminal of another embodiment of the present invention.
Specific embodiment
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 description, 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, every other implementation obtained by those of ordinary skill in the art without making creative efforts
Example, shall fall within the protection scope of the present invention.
Embodiment one
Fig. 1 is the flow chart of the image pickup method of one embodiment of the invention.Image pickup method shown in FIG. 1, which is applied to have, to be taken the photograph
As the mobile terminal of head, which comprises
Step 101, the first count for obtaining preview graph shine parameter.
The method of the embodiment of the present invention is applied to the mobile terminal with camera, and mobile terminal can be a variety of shapes
Formula, such as mobile phone, plate, notebook, camera.
Preview graph is the image presented on mobile terminal display screen.
First count required parameter when taking pictures according to parameter for mobile terminal, such as sensitivity, time for exposure, exposure
Whether value one of opens the parameters such as flash lamp function or a variety of.First count can be a variety of, such as movement according to the source of parameter
The parameter of taking pictures of terminal default, last parameter of taking pictures used etc. of taking pictures.Mobile terminal can obtain first from pre-stored location
It takes pictures parameter, and obtains preview graph according to parameter using first count and form image.
The embodiment of the present invention can pass through the special function keys of selection special menu option or triggering mobile terminal, unlatching pair
The special of target object is taken pictures, by the adjustment to the parameter of taking pictures of target object in preview graph, so that resulting target image
The image parameter of middle target object is different from the image parameter of other objects in target image.
Step 102 receives user to the selection operation of target object in the preview graph.
The embodiment of the present invention needs to select the target image in preview graph, at this moment before executing photographing instruction
Mobile terminal receives user to the selection operation of target object in preview graph.User can be to the selection operation of target object
It is a variety of, it is such as crossed using finger in target object region, target object is enclosed, or selected and move default template extremely
Target object region, mobile terminal recognize finger swipe track or default template position after, determine target object
Target object is determined in position.
Target object can be people to be captured, object, scape etc., and target object can be the group of an object or multiple objects
It closes;Target object can also be partial region or the structure of certain an object, such as face.
Step 103, the second count for the target object for receiving user's input shine parameter.
User it is pre- to target object carry out it is special take pictures, select target in the preview graph that mobile terminal display screen is shown
After object, parameter can be shone for the second count of target object to mobile terminal input.Second count can be a variety of according to parameter, such as photosensitive
Whether degree the time for exposure, exposure value, one of opens the parameters such as flash lamp function or a variety of.Parameter of the second count according to parameter
Type can be identical according to the parameter type of parameter as first count, is also possible to first count according to the Partial Species of parameter.Mobile terminal
It is shot using second count according to parameters on target object.
Input can such as be existed by multistep selection operation for the second count of target object according to parameter there are many implementation
Input shines parameter for the second count of target object in specified menu, or selects in the preview graph of mobile terminal display screen
After target object, directly pop-up one is for inputting second count according to the dialog box of parameter.
Step 104, when detecting photographing instruction, with the first count according to parameter take pictures obtain the first image, and with
The second count takes pictures according to parameter and obtains the second image.
Acquisition for mobile terminal to preview graph first count according to parameter, determine target object in preview graph and obtain
To the second count for target object according to after parameter, if detecting photographing instruction, first count can be used according to parameter to pre-
All objects look in figure are taken pictures, and obtain the first image, and take pictures according to parameters on target object using second count,
Obtain the second image.During taking pictures, it can first obtain the first image and obtain the second image again, the first figure can also be obtained simultaneously
Picture and the second image can also be other sequences, and the embodiment of the present invention is herein with no restrictions.
Target object described in second image is blended into target object described in the first image by step 105
Position obtains target image.
After getting the first image and the second image, synthesis processing is carried out to two images, it specifically can be by the second figure
It is blended into target object position in the first image for the image of target object shooting as in, obtains target image.By
The image of target object is to be taken pictures acquisition, therefore target object in target image by second count according to parameter in target image
Image parameter is different from the image parameter of other objects.
When take pictures parameter be exposure, user it is pre- to target object carry out image highlight processing when, implement according to the present invention
In the target image for the method shooting that example provides, the brightness of image of target object is improved, while the image of other objects exists
It is not in image excessively over-exposed situation while meeting brightness demand, gained target image meets brightness of image need
It asks, picture quality is preferable.
For example, taking pictures to the person of being taken A, the person of being taken B and the person of being taken C, the person's of being taken B colour of skin is more black, user
The person of being taken B can be selected in mobile terminal preview graph by predetermined registration operation, and inputs the exposure for being directed to the person of being taken B
Value, can press camera shutter, mobile terminal is taken to three with the exposure value of default after receiving shutter instruction later
Person is taken pictures to obtain the first image, is taken pictures to obtain the second image to the person of being taken B with the exposure value of input, wherein user
The exposure value newly inputted is greater than the exposure value of mobile terminal default, and the person of being taken B in the second image is moved to the first image later
In the region the person of being taken B, covering the first image the person of being taken B obtain target image.In the target image be not taken person B
The colour of skin highlighted, the colour of skin of the person of being taken B is more nearly with the colour of skin of other persons of being taken, can be from target image more
Add the facial information for clearly seeing the darker person of the being taken B of the colour of skin clearly, the person of being taken B obtains preferable shooting effect, simultaneously
Other persons of being taken are not in over-exposed phenomenon in target image, and the picture quality of gained target image is preferable, user's body
It tests preferably.
According to an embodiment of the present invention, for mobile terminal in image shoot process, the first count for first obtaining preview graph shines parameter,
User is received later to the selection operation of target object in the preview graph, and receive user's input for the target object
Second count shine parameter, after detecting photographing instruction, taken pictures with the first count according to parameter and obtain the first image, and with institute
State second count according to parameter take pictures obtain the second image, target object described in second image is blended into the first image
Described in target object position, obtain target image.Since target object is according to second count according to ginseng in target image
What number obtained, other objects are to be obtained according to first count according to parameter in target image, it is achieved that mesh in target image
The image parameter for marking object is adjusted.
When parameter of taking pictures is exposure value, in the target image of the method shooting provided according to an embodiment of the present invention, target
The brightness of image of object is improved, at the same the image of other objects be not in while meeting brightness demand image excessively
Over-exposed situation, gained target image meet brightness of image demand, and picture quality is preferable.
Embodiment two
Fig. 2 is the flow chart of the image pickup method of one embodiment of the invention.Image pickup method shown in Fig. 2, which is applied to have, to be taken the photograph
As the mobile terminal of head, which comprises
Step 201, the first count for obtaining preview graph shine parameter.
In the embodiment of the present invention, first count includes exposure value according to parameter.First count can be to be a variety of, such as according to the source of parameter
First count is default parameters, can read from preset memory locations according to parameter.The first count of default can be uniquely according to parameter;
Different first counts can also be set for different shooting environmentals in advance and shine parameter, after acquisition for mobile terminal preview graph, according to preview
The information category of figure determines corresponding first count according to parameter.
Step 202 receives user for the facial institute of target object described in face shape template movement to the preview graph
Operation in region.
User's pre-adjustment is taken pictures the image parameter of target object in resulting target image, can be whole in shooting forward movement
End input is directed to the parameter of taking pictures of target object, and correspondingly mobile terminal is determined target object and inputted for target object
Parameter of taking pictures.
Phase can be sent to mobile terminal by triggering the pre-set button of mobile terminal or selecting the preset options in menu
It should instruct, mobile terminal can show face shape template after receiving command adapted thereto on the display interface of the mobile terminal,
Or this option of face shape template is added in specified menu.User can move face shape template mesh into preview graph
The facial region of object is marked, the object in face shape template region is confirmed as target object by mobile terminal.
Step 203 detects that the user leaves the mobile terminal for moving the finger of the face shape template
Display screen after, pop up exposure adjustment bar.
Mobile terminal receives user to the moving operation of face shape template, detect user for the mobile human shape of face
After the finger of shape template leaves the display screen of mobile terminal, exposure adjustment bar, the exposure adjustment bar are popped up on a display screen
For adjusting the exposure of target object.When parameter of taking pictures is exposure, the initial exposure value of the exposure adjustment bar of pop-up
First count can be greater than according to the exposure value in parameter.User can execute photographic method described in the embodiment of the present invention to target object
Progress image, which highlights, takes pictures.
Exposure adjustment bar can also be popped up by other mechanism, as mobile terminal detects face shape template stop position
Mobile and user's finger is set after the residence time of the rest position of face shape template is greater than preset duration, pop-up exposure
Spend adjustment bar.
Step 204 receives position adjusting operation of the user to the exposure adjustment bar, determines that the position is adjusted
The corresponding exposure value in exposure adjustment bar present position at the end of operation, the exposure value determined are for the target
The second count of object setting shines parameter.
User can be by adjusting the position of exposure adjustment bar, target object is arranged in metering needle exposure this bat
According to parameter.Mobile terminal determines that exposure adjustment bar present position is corresponding after detecting that exposure adjustment bar position is constant
Exposure value takes pictures to target object using determining exposure value.
Step 205, when detecting photographing instruction, with the first count according to parameter take pictures obtain the first image, and with
The second count takes pictures according to parameter and obtains the second image.
After detecting photographing instruction, is taken pictures with first count according to parameter and obtain the first image, such as with the exposure value of default to pre-
The multiple objects look in figure carry out processing of taking pictures, and obtain the first image, with second count according to parameter i.e. by adjusting exposure adjusting
The exposure value that item determines carries out processing of taking pictures to target object, obtains the second image.
Taken pictures with second count according to parameter obtain the second image during, the can be used centered on target object
Two take pictures parameter take pictures obtain the second image.
In obtaining the second image process, the second image parameter can be used and take pictures to target object region,
It only include target object in the second obtained image, usual resulting second image is whole big image, therefore by second
Image is blended into before the first image, is needed the size of the size reduction of the second image target object into the first image.Or
Person can with the second image parameter take pictures obtain the second image when, with second shooting parameters on target object take pictures, it is right
Other objects in preview graph carry out it is completely black take pictures or it is complete it is white take pictures or other parameter presets are taken pictures, obtain the second image, later
According to the present position of target object, target object in the second image is moved to target object position in the first image
Place, to obtain target image.
Target object described in second image is blended into target object described in the first image by step 206
Position obtains target image.
After obtaining the first image and the second image, target object in the second image is blended into target pair in the first image
As position, to realize the adjusting to the image parameter of target object in image of taking pictures, specifically may be implemented to target
The brightness of image of object is adjusted, and in gained target image, the brightness of image of the darker target object of color is improved, other are right
The brightness of image of elephant is normal, is not in over-exposed phenomenon, and resulting target image meets brightness of image demand, image matter
Amount is preferable.
According to an embodiment of the present invention, for mobile terminal in image shoot process, the first count for first obtaining preview graph shines parameter,
User is received later to the selection operation of target object in the preview graph, and receive user's input for the target object
Second count shine parameter, after detecting photographing instruction, taken pictures with the first count according to parameter and obtain the first image, and with institute
State second count according to parameter take pictures obtain the second image, target object described in second image is blended into the first image
Described in target object position, obtain target image.Since target object is according to second count according to ginseng in target image
What number obtained, other objects are to be obtained according to first count according to parameter in target image, it is achieved that mesh in target image
The image parameter for marking object is adjusted.
When parameter of taking pictures is exposure value, in the target image of the method shooting provided according to an embodiment of the present invention, target
The brightness of image of object is improved, at the same the image of other objects be not in while meeting brightness demand image excessively
Over-exposed situation, gained target image meet brightness of image demand, and picture quality is preferable.
Embodiment three
Fig. 3 is the block diagram of the mobile terminal of one embodiment of the invention.Mobile terminal shown in Fig. 3 includes camera, institute
Stating mobile terminal includes:
First count shines parameter acquisition module 301, for obtaining the first count of preview graph according to parameter.
Selection operation receiving module 302, for receiving user to the selection operation of target object in the preview graph;
Second count shines parameter receiving module 303, and the second count for the target object for receiving user's input shines
Parameter.
Target image obtains module 305, for target object described in second image to be blended into first figure
The target object position as described in, obtains target image.
According to an embodiment of the present invention, for mobile terminal in image shoot process, the first count for first obtaining preview graph shines parameter,
User is received later to the selection operation of target object in the preview graph, and receive user's input for the target object
Second count shine parameter, after detecting photographing instruction, taken pictures with the first count according to parameter and obtain the first image, and with institute
State second count according to parameter take pictures obtain the second image, target object described in second image is blended into the first image
Described in target object position, obtain target image.Since target object is according to second count according to ginseng in target image
What number obtained, other objects are to be obtained according to first count according to parameter in target image, it is achieved that mesh in target image
The image parameter for marking object is adjusted.
When parameter of taking pictures is exposure value, in the target image of the method shooting provided according to an embodiment of the present invention, target
The brightness of image of object is improved, at the same the image of other objects be not in while meeting brightness demand image excessively
Over-exposed situation, gained target image meet brightness of image demand, and picture quality is preferable.
Example IV
Fig. 4 is the block diagram of the mobile terminal of one embodiment of the invention.Mobile terminal shown in Fig. 4 includes camera, institute
Stating mobile terminal includes:
First count shines parameter acquisition module 401, for obtaining the first count of preview graph according to parameter.
Selection operation receiving module 402, will be described in face shape template movement to the preview graph for receiving user
The operation of the facial region of target object.
Exposure adjustment bar pop-up module 403, for detecting the user for moving the face shape template
After finger leaves the display screen of the mobile terminal, exposure adjustment bar is popped up.
Second count shines parameter receiving module 404, adjusts for receiving the user to the position of the exposure adjustment bar
Operation determines that the position adjusts the corresponding exposure value in exposure adjustment bar present position at the end of operation, determining institute
Stating exposure value is that the second count being arranged for the target object shines parameter.
Target image obtains module 406, for target object described in second image to be blended into first figure
The target object position as described in, obtains target image.
In the embodiment of the present invention, it is preferable that described image obtains module 405, in being with the target object
The heart is taken pictures according to parameter using the second count and obtains the second image.
According to an embodiment of the present invention, for mobile terminal in image shoot process, the first count for first obtaining preview graph shines parameter,
User is received later to the selection operation of target object in the preview graph, and receive user's input for the target object
Second count shine parameter, after detecting photographing instruction, taken pictures with the first count according to parameter and obtain the first image, and with institute
State second count according to parameter take pictures obtain the second image, target object described in second image is blended into the first image
Described in target object position, obtain target image.Since target object is according to second count according to ginseng in target image
What number obtained, other objects are to be obtained according to first count according to parameter in target image, it is achieved that mesh in target image
The image parameter for marking object is adjusted.
When parameter of taking pictures is exposure value, in the target image of the method shooting provided according to an embodiment of the present invention, target
The brightness of image of object is improved, at the same the image of other objects be not in while meeting brightness demand image excessively
Over-exposed situation, gained target image meet brightness of image demand, and picture quality is preferable.
Embodiment five
Fig. 5 is the block diagram of the mobile terminal of another embodiment of the present invention.Mobile terminal 500 shown in fig. 5 includes: at least
One processor 501, memory 502, at least one network interface 504, user interface 503 and camera 506.Mobile terminal
Various components in 500 are coupled by bus system 505.It is understood that bus system 505 for realizing these components it
Between connection communication.Bus system 505 further includes power bus, control bus and status signal in addition to including data/address bus
Bus.But for the sake of clear explanation, various buses are all designated as bus system 505 in Fig. 5.
Wherein, user interface 503 may include display, keyboard or pointing device (for example, mouse, trace ball
(trackball), touch-sensitive plate or touch screen etc..
It is appreciated that the memory 502 in the embodiment of the present invention can be volatile memory or nonvolatile memory,
It or may include both volatile and non-volatile memories.Wherein, nonvolatile memory can be read-only memory (Read-
Only Memory, ROM), programmable read only memory (Programmable ROM, PROM), the read-only storage of erasable programmable
Device (Erasable PROM, EPROM), electrically erasable programmable read-only memory (Electrically EPROM, EEPROM) or
Flash memory.Volatile memory can be random access memory (Random Access Memory, RAM), be used as external high
Speed caching.By exemplary but be not restricted explanation, the RAM of many forms is available, such as static random access memory
(Static RAM, SRAM), dynamic random access memory (Dynamic RAM, DRAM), Synchronous Dynamic Random Access Memory
(Synchronous DRAM, SDRAM), double data speed synchronous dynamic RAM (Double Data Rate
SDRAM, DDRSDRAM), enhanced Synchronous Dynamic Random Access Memory (Enhanced SDRAM, ESDRAM), synchronized links
Dynamic random access memory (Synchlink DRAM, SLDRAM) and direct rambus random access memory (Direct
Rambus RAM, DRRAM).The memory 502 of the system and method for description of the embodiment of the present invention is intended to include but is not limited to these
With the memory of any other suitable type.
In some embodiments, memory 502 stores following element, executable modules or data structures, or
Their subset of person or their superset: operating system 5021 and application program 5022.
Wherein, operating system 5021 include various system programs, such as ccf layer, core library layer, driving layer etc., are used for
Realize various basic businesses and the hardware based task of processing.Application program 5022 includes various application programs, such as media
Player (Media Player), browser (Browser) etc., for realizing various applied business.Realize the embodiment of the present invention
The program of method may be embodied in application program 5022.
In embodiments of the present invention, by the program or instruction of calling memory 502 to store, specifically, can be application
The program or instruction stored in program 5022, processor 501 are used to obtain the first count of preview graph according to parameter, receive user to institute
The selection operation of target object in preview graph is stated, the second count for the target object for receiving user's input shines parameter, when
When detecting photographing instruction, is taken pictures with the first count according to parameter and obtain the first image, and clapped with the second count according to parameter
According to the second image is obtained, target object described in second image is blended into the institute of target object described in the first image
At position, target image is obtained.
The method that the embodiments of the present invention disclose can be applied in processor 501, or be realized by processor 501.
Processor 501 may be a kind of IC chip, the processing capacity with signal.During realization, the above method it is each
Step can be completed by the integrated logic circuit of the hardware in processor 501 or the instruction of software form.Above-mentioned processing
Device 501 can be general processor, digital signal processor (Digital Signal Processor, DSP), dedicated integrated electricity
Road (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field
Programmable GateArray, FPGA) either other programmable logic device, discrete gate or transistor logic,
Discrete hardware components.It may be implemented or execute disclosed each method, step and the logic diagram in the embodiment of the present invention.It is general
Processor can be microprocessor or the processor is also possible to any conventional processor etc..In conjunction with institute of the embodiment of the present invention
The step of disclosed method, can be embodied directly in hardware decoding processor and execute completion, or with the hardware in decoding processor
And software module combination executes completion.Software module can be located at random access memory, and flash memory, read-only memory may be programmed read-only
In the storage medium of this fields such as memory or electrically erasable programmable memory, register maturation.The storage medium is located at
The step of memory 502, processor 501 reads the information in memory 502, completes the above method in conjunction with its hardware.
It is understood that the embodiment of the present invention description these embodiments can with hardware, software, firmware, middleware,
Microcode or combinations thereof is realized.For hardware realization, processing unit be may be implemented in one or more specific integrated circuits
(Application Specific Integrated Circuits, ASIC), digital signal processor (Digital Signal
Processing, DSP), digital signal processing appts (DSP Device, DSPD), programmable logic device (Programmable
Logic Device, PLD), field programmable gate array (Field-Programmable Gate Array, FPGA), general place
It manages in device, controller, microcontroller, microprocessor, other electronic units for executing herein described function or combinations thereof.
For software implementations, can by execute the embodiment of the present invention described in function module (such as process, function etc.) come
Realize technology described in the embodiment of the present invention.Software code is storable in memory and is executed by processor.Memory can
With portion realizes in the processor or outside the processor.
Optionally, processor 501 is also used to: receiving user for mesh described in face shape template movement to the preview graph
Mark the operation of the facial region of object.
Optionally, processor 501 is also used to: detect the user for move the finger of the face shape template from
After the display screen for opening the mobile terminal, exposure adjustment bar is popped up.
Optionally, processor 501 is also used to: it receives the user and operation is adjusted to the position of the exposure adjustment bar,
Determine that the position adjusts the corresponding exposure value in exposure adjustment bar present position at the end of operation.
Optionally, processor 501 is also used to: the initial exposure value of the exposure adjustment bar of pop-up is greater than described first
Exposure value in parameter of taking pictures.
Optionally, processor 501 is also used to: centered on the target object, being taken pictures using the second count according to parameter
Obtain the second image.
According to an embodiment of the present invention, for mobile terminal in image shoot process, the first count for first obtaining preview graph shines parameter,
User is received later to the selection operation of target object in the preview graph, and receive user's input for the target object
Second count shine parameter, after detecting photographing instruction, taken pictures with the first count according to parameter and obtain the first image, and with institute
State second count according to parameter take pictures obtain the second image, target object described in second image is blended into the first image
Described in target object position, obtain target image.Since target object is according to second count according to ginseng in target image
What number obtained, other objects are to be obtained according to first count according to parameter in target image, it is achieved that mesh in target image
The image parameter for marking object is adjusted.
When parameter of taking pictures is exposure value, in the target image of the method shooting provided according to an embodiment of the present invention, target
The brightness of image of object is improved, at the same the image of other objects be not in while meeting brightness demand image excessively
Over-exposed situation, gained target image meet brightness of image demand, and picture quality is preferable.
Embodiment six
Fig. 6 is the block diagram of the mobile terminal of another embodiment of the present invention.Specifically, the mobile terminal 600 in Fig. 6 can be with
For mobile phone, tablet computer, personal digital assistant (Personal Digital Assistant, PDA) or vehicle-mounted computer etc..
Wherein, input unit 630 can be used for receiving the number or character information of user's input, and generation and mobile terminal
The related signal input of 600 user setting and function control.Specifically, in the embodiment of the present invention, which can
To include touch panel 631.Touch panel 631, also referred to as touch screen collect the touch operation of user on it or nearby
(for example user uses the operations of any suitable object or attachment on touch panel 631 such as finger, stylus), and according to preparatory
The formula of setting drives corresponding attachment device.Optionally, touch panel 631 may include touch detecting apparatus and touch controller
Two parts.Wherein, the touch orientation of touch detecting apparatus detection user, and touch operation bring signal is detected, by signal
Send touch controller to;Touch controller receives touch information from touch detecting apparatus, and is converted into contact coordinate,
The processor 660 is given again, and can be received order that processor 660 is sent and be executed.Furthermore, it is possible to using resistance-type,
The multiple types such as condenser type, infrared ray and surface acoustic wave realize touch panel 631.In addition to touch panel 631, input unit
630 can also include other input equipments 632, other input equipments 632 can include but is not limited to physical keyboard, function key
One of (such as volume control button, switch key etc.), trace ball, mouse, operating stick etc. are a variety of.
Wherein, display unit 640 can be used for showing information input by user or be supplied to the information and movement of user
The various menu interfaces of terminal 600.Display unit 640 may include display panel 641, optionally, can use LCD or organic hair
The forms such as optical diode (Organic Light-Emitting Diode, OLED) configure display panel 641.
It should be noted that touch panel 631 can cover display panel 641, touch display screen is formed, when the touch display screen is examined
After measuring touch operation on it or nearby, processor 660 is sent to determine the type of touch event, is followed by subsequent processing device
660 provide corresponding visual output according to the type of touch event in touch display screen.
Touch display screen includes Application Program Interface viewing area and common control viewing area.The Application Program Interface viewing area
And arrangement mode of the common control viewing area does not limit, can be arranged above and below, left-right situs etc. can distinguish two it is aobvious
Show the arrangement mode in area.The Application Program Interface viewing area is displayed for the interface of application program.Each interface can be with
The interface elements such as the icon comprising at least one application program and/or widget desktop control.The Application Program Interface viewing area
Or the empty interface not comprising any content.This commonly uses control viewing area for showing the higher control of utilization rate, for example,
Application icons such as button, interface number, scroll bar, phone directory icon etc. are set.
Wherein processor 660 is the control centre of mobile terminal 600, utilizes various interfaces and connection whole mobile phone
Various pieces, by running or executing the software program and/or module that are stored in first memory 621, and calling storage
Data in second memory 622 execute the various functions and processing data of mobile terminal 600, thus to mobile terminal 600
Carry out integral monitoring.Optionally, processor 660 may include one or more processing units.
In embodiments of the present invention, by call store the first memory 621 in software program and/or module and/
Or the data in the second memory 622, processor 660 are used to obtain the first count of preview graph according to parameter, receive user to institute
The selection operation of target object in preview graph is stated, the second count for the target object for receiving user's input shines parameter, when
When detecting photographing instruction, is taken pictures with the first count according to parameter and obtain the first image, and clapped with the second count according to parameter
According to the second image is obtained, target object described in second image is blended into the institute of target object described in the first image
At position, target image is obtained.
Optionally, processor 660 is also used to: receiving user for mesh described in face shape template movement to the preview graph
Mark the operation of the facial region of object.
Optionally, processor 660 is also used to: detect the user for move the finger of the face shape template from
After the display screen for opening the mobile terminal, exposure adjustment bar is popped up.
Optionally, processor 660 is also used to: it receives the user and operation is adjusted to the position of the exposure adjustment bar,
Determine that the position adjusts the corresponding exposure value in exposure adjustment bar present position at the end of operation.
Optionally, processor 660 is also used to: the initial exposure value of the exposure adjustment bar of pop-up is greater than described first
Exposure value in parameter of taking pictures.
Optionally, processor 660 is also used to: centered on the target object, being taken pictures using the second count according to parameter
Obtain the second image.
As it can be seen that according to an embodiment of the present invention, in image shoot process, the first count for first obtaining preview graph shines mobile terminal
Parameter receives user to the selection operation of target object in the preview graph later, and receive user's input for the mesh
The second count for marking object shines parameter, after detecting photographing instruction, is taken pictures with the first count according to parameter and obtains the first image, with
And taken pictures with the second count according to parameter and obtain the second image, target object described in second image is blended into described the
Target object position, obtains target image described in one image.Since target object is according to second in target image
What parameter of taking pictures obtained, other objects are to be obtained according to first count according to parameter in target image, it is achieved that target figure
The image parameter of target object is adjusted as in.
When parameter of taking pictures is exposure value, in the target image of the method shooting provided according to an embodiment of the present invention, target
The brightness of image of object is improved, at the same the image of other objects be not in while meeting brightness demand image excessively
Over-exposed situation, gained target image meet brightness of image demand, and picture quality is preferable.
Those of ordinary skill in the art may be aware that the embodiment in conjunction with disclosed in the embodiment of the present invention describe it is each
Exemplary unit and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These
Function is implemented in hardware or software actually, the specific application and design constraint depending on technical solution.Profession
Technical staff can use different methods to achieve the described function each specific application, but this realization is not answered
Think beyond the scope of this invention.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description,
The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In embodiment provided herein, it should be understood that disclosed device and method can pass through others
Mode is realized.For example, the apparatus embodiments described above are merely exemplary, for example, the division of the unit, only
A kind of logical function partition, there may be another division manner in actual implementation, for example, multiple units or components can combine or
Person is desirably integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutual
Between coupling, direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING or communication link of device or unit
It connects, can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple
In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme
's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.
It, can be with if the function is realized in the form of SFU software functional unit and when sold or used as an independent product
It is stored in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially in other words
The part of the part that contributes to existing technology or the technical solution can be embodied in the form of software products, the meter
Calculation machine software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be a
People's computer, server or network equipment etc.) it performs all or part of the steps of the method described in the various embodiments of the present invention.
And storage medium above-mentioned includes: that USB flash disk, mobile hard disk, ROM, RAM, magnetic or disk etc. are various can store program code
Medium.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any
Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain
Lid is within protection scope of the present invention.Therefore, protection scope of the present invention should be subject to the protection scope in claims.
Claims (8)
1. a kind of image pickup method, applied to the mobile terminal with camera, which is characterized in that the described method includes:
The first count for obtaining preview graph shines parameter;
User is received to the selection operation of target object in the preview graph;
The second count for the target object for receiving user's input shines parameter;
It when detecting photographing instruction, is taken pictures with the first count according to parameter and obtains the first image, and with second count photograph
Parameter, which is taken pictures, obtains the second image;
Target object described in second image is blended into target object position described in the first image, is obtained
To target image;
Wherein, the reception user includes: to the selection operation of target object in the preview graph
User is received by the operation of the facial region of target object described in face shape template movement to the preview graph;
Wherein, detect that the user leaves the display screen of the mobile terminal for moving the finger of the face shape template
Afterwards, exposure adjustment bar is popped up.
2. the method according to claim 1, wherein it is described receive user input for the target object
Second count includes: according to parameter
It receives the user and operation is adjusted to the position of the exposure adjustment bar, determine that the position adjusts institute at the end of operation
State the corresponding exposure value in exposure adjustment bar present position.
3. the method according to claim 1, wherein the initial exposure of the exposure adjustment bar of the pop-up
Value is greater than the first count according to the exposure value in parameter.
4. the method according to claim 1, wherein described taken pictures with second count according to parameter obtains the second image packet
It includes:
Centered on the target object, is taken pictures using the second count according to parameter and obtain the second image.
5. a kind of mobile terminal, the mobile terminal has camera characterized by comprising
First count shines parameter acquisition module, for obtaining the first count of preview graph according to parameter;
Selection operation receiving module, for receiving user to the selection operation of target object in the preview graph;
Second count shines parameter receiving module, for receiving the second count for the target object of user's input according to parameter;
Image collection module, for being taken pictures with the first count according to parameter and obtaining the first image when detecting photographing instruction, with
And it is taken pictures with the second count according to parameter and obtains the second image;
Target image obtains module, for target object described in second image to be blended into described in the first image
Target object position, obtains target image;
Wherein, the selection operation receiving module is specifically used for receiving user for face shape template movement to the preview graph
Described in target object facial region operation;
Exposure adjustment bar pop-up module leaves for detecting the user for moving the finger of the face shape template
After the display screen of the mobile terminal, exposure adjustment bar is popped up.
6. mobile terminal according to claim 5, it is characterised in that:
The second count shines parameter receiving module, adjusts specifically for receiving the user to the position of the exposure adjustment bar
Operation determines that the position adjusts the corresponding exposure value in exposure adjustment bar present position at the end of operation.
7. mobile terminal according to claim 5, which is characterized in that the exposure adjustment bar of the pop-up it is initial
Exposure value is greater than the first count according to the exposure value in parameter.
8. mobile terminal according to claim 5, it is characterised in that:
Described image obtains module, is specifically used for centered on the target object, is taken pictures and is obtained according to parameter using the second count
Take the second image.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710297540.4A CN106993139B (en) | 2017-04-28 | 2017-04-28 | A kind of image pickup method and mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710297540.4A CN106993139B (en) | 2017-04-28 | 2017-04-28 | A kind of image pickup method and mobile terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106993139A CN106993139A (en) | 2017-07-28 |
CN106993139B true CN106993139B (en) | 2019-10-15 |
Family
ID=59417217
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710297540.4A Active CN106993139B (en) | 2017-04-28 | 2017-04-28 | A kind of image pickup method and mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106993139B (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108289170B (en) * | 2018-01-12 | 2020-02-14 | 深圳奥比中光科技有限公司 | Photographing apparatus, method and computer readable medium capable of detecting measurement area |
JP7289921B2 (en) | 2019-08-29 | 2023-06-12 | 富士フイルム株式会社 | IMAGING DEVICE, OPERATION METHOD OF IMAGING DEVICE, AND PROGRAM |
CN112770042B (en) * | 2019-11-05 | 2022-11-15 | RealMe重庆移动通信有限公司 | Image processing method and device, computer readable medium, wireless communication terminal |
CN112511749A (en) * | 2020-11-30 | 2021-03-16 | 上海摩象网络科技有限公司 | Automatic exposure control method and device for target object and electronic equipment |
CN114531551B (en) * | 2021-12-31 | 2023-12-26 | 联想(北京)有限公司 | Image processing method and device, electronic equipment and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2014207618A (en) * | 2013-04-15 | 2014-10-30 | リコーイメージング株式会社 | Imaging apparatus, imaging method, and recording medium |
CN105163041A (en) * | 2015-10-08 | 2015-12-16 | 广东欧珀移动通信有限公司 | Realization method and apparatus for local double exposure, and mobile terminal |
CN105959559A (en) * | 2016-06-08 | 2016-09-21 | 维沃移动通信有限公司 | Night scene shooting method and mobile terminal |
CN105979155A (en) * | 2016-06-30 | 2016-09-28 | 维沃移动通信有限公司 | Photographing method and mobile terminal |
CN106131449A (en) * | 2016-07-27 | 2016-11-16 | 维沃移动通信有限公司 | A kind of photographic method and mobile terminal |
-
2017
- 2017-04-28 CN CN201710297540.4A patent/CN106993139B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2014207618A (en) * | 2013-04-15 | 2014-10-30 | リコーイメージング株式会社 | Imaging apparatus, imaging method, and recording medium |
CN105163041A (en) * | 2015-10-08 | 2015-12-16 | 广东欧珀移动通信有限公司 | Realization method and apparatus for local double exposure, and mobile terminal |
CN105959559A (en) * | 2016-06-08 | 2016-09-21 | 维沃移动通信有限公司 | Night scene shooting method and mobile terminal |
CN105979155A (en) * | 2016-06-30 | 2016-09-28 | 维沃移动通信有限公司 | Photographing method and mobile terminal |
CN106131449A (en) * | 2016-07-27 | 2016-11-16 | 维沃移动通信有限公司 | A kind of photographic method and mobile terminal |
Also Published As
Publication number | Publication date |
---|---|
CN106993139A (en) | 2017-07-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106331510B (en) | A kind of backlight photographic method and mobile terminal | |
CN106993139B (en) | A kind of image pickup method and mobile terminal | |
CN105872148B (en) | A kind of generation method and mobile terminal of high dynamic range images | |
CN106131341B (en) | A kind of photographic method and mobile terminal | |
CN105847674B (en) | A kind of preview image processing method and mobile terminal based on mobile terminal | |
CN106131449B (en) | A kind of photographic method and mobile terminal | |
CN105827990B (en) | A kind of automatic explosion method and mobile terminal | |
CN107257439B (en) | A kind of image pickup method and mobile terminal | |
CN107395969B (en) | A kind of image pickup method and mobile terminal | |
CN106231178B (en) | A kind of self-timer method and mobile terminal | |
CN107231530B (en) | A kind of photographic method and mobile terminal | |
CN107395976B (en) | A kind of acquisition parameters setting method and mobile terminal | |
CN106254682B (en) | A kind of photographic method and mobile terminal | |
CN107181913B (en) | A kind of photographic method and mobile terminal | |
CN107465882B (en) | A kind of image capturing method and mobile terminal | |
CN106603928B (en) | A kind of image pickup method and mobile terminal | |
CN106657806B (en) | A kind of exposure method and mobile terminal | |
CN107026982B (en) | A kind of photographic method and mobile terminal of mobile terminal | |
CN106101544B (en) | A kind of image processing method and mobile terminal | |
CN107395998A (en) | A kind of image capturing method and mobile terminal | |
CN106937054B (en) | A kind of take pictures weakening method and the mobile terminal of mobile terminal | |
CN105959574B (en) | A kind of photographic method and mobile terminal | |
CN106534685A (en) | Panoramic image generation method and mobile terminal | |
CN106506962A (en) | A kind of image processing method and mobile terminal | |
CN106454085B (en) | A kind of image processing 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 |