CN105141855B - A kind of image processing method and electronic equipment - Google Patents
A kind of image processing method and electronic equipment Download PDFInfo
- Publication number
- CN105141855B CN105141855B CN201510549320.7A CN201510549320A CN105141855B CN 105141855 B CN105141855 B CN 105141855B CN 201510549320 A CN201510549320 A CN 201510549320A CN 105141855 B CN105141855 B CN 105141855B
- Authority
- CN
- China
- Prior art keywords
- image
- value
- parameter
- acquisition parameters
- numerical intervals
- 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
Abstract
The invention discloses a kind of image processing method, the technical problems weaker for solving electronic equipment image-capable.The method includes:Obtain the first image;It is shot according to described first image, obtains the second image.Described first image and second image are synthesized.The invention also discloses corresponding electronic equipments.
Description
Technical field
The present invention relates to technical field of image processing, more particularly to a kind of image processing method and electronic equipment.
Background technology
With the continuous development of science and technology, electronic technology has also obtained development at full speed, and the type of electronic product is also got over
Come more, people have also enjoyed the various facilities that development in science and technology is brought.Present people can be set by various types of electronics
It is standby to enjoy the comfortable life brought with development in science and technology.For example, the electronic equipments such as mobile phone, camera, PAD (tablet computer) are
At an indispensable part in for people's lives, people can whenever and wherever possible be taken pictures by these electronic equipments,
Photographed two or multiple images can be synthesized.
However, because between different images difference may it is bigger, than if any image be daytime clap, some images
Be clap at night, etc., therefore, may be second-rate by the image obtained after the synthesis of image that these differ greatly.
Invention content
A kind of image processing method of offer of the embodiment of the present invention and electronic equipment close the image to differ greatly for solving
The poor technical problem of the picture quality that is obtained after.
In a first aspect, a kind of information processing method is provided, including:
Obtain the first image;
It is shot according to described first image, obtains the second image.
Described first image and second image are synthesized.
Optionally, it is shot according to described first image, obtains the second image, including:
The value of acquisition parameters is obtained according to the value of the parameter of described first image;
Value based on the acquisition parameters is shot, and second image is obtained.
Optionally, the value of acquisition parameters is obtained according to the value of the parameter of described first image, including:
According to the value of the parameter of described first image, determine that numerical intervals, the numerical intervals include described first image
Parameter value;
In the numerical intervals, the value of the acquisition parameters is determined according to the information of current environment.
Optionally,
Before the value for obtaining acquisition parameters according to the value of the parameter of described first image, further include:
According to the Lighting information and/or color temperature information of current environment, the first value of the acquisition parameters is obtained;
The value of the acquisition parameters is determined in the numerical intervals, including:
In the numerical intervals, the second value of the difference minimum between first value is determined as the shooting and is joined
Several values.
Optionally, the parameter of described first image includes the resolution parameter of described first image, sensitivity parameter, color
At least one of saturation parameters, white balance parameter, contrast level parameter and sharpness parameter.
Second aspect provides a kind of electronic equipment, including:
Memory, for storing instruction;
Processor obtains the first image for executing described instruction;It is carried out according to described first image by harvester
Shooting obtains the second image;And described first image and second image are synthesized.
Optionally, the processor is used for:
The value of acquisition parameters is obtained according to the value of the parameter of described first image;
Value based on the acquisition parameters is shot by the harvester, obtains second image.
Optionally, the processor is used for:
According to the value of the parameter of described first image, determine that numerical intervals, the numerical intervals include described first image
Parameter value;
In the numerical intervals, the value of the acquisition parameters is determined according to the information of current environment.
Optionally, the processor is additionally operable to:
Before the value for obtaining acquisition parameters according to the value of the parameter of described first image, believed according to the illumination of current environment
Breath and/or color temperature information, obtain the first value of the acquisition parameters;
In the numerical intervals, the second value of the difference minimum between first value is determined as the shooting and is joined
Several values.
Optionally, the parameter of described first image includes the resolution parameter of described first image, sensitivity parameter, color
At least one of saturation parameters, white balance parameter, contrast level parameter and sharpness parameter.
The third aspect provides a kind of electronic equipment, including:
First acquisition module, for obtaining the first image;
Taking module obtains the second image for being shot according to described first image;
Synthesis module, for synthesizing described first image and second image.
In the embodiment of the present invention, electronic equipment can obtain an image, that is, the first image first, further according to first
Image is shot, and is obtained another image, that is, the second image, is finally synthesized the first image and the second image,
Since the second image is shot according to the first image, the second image may (this same or similar with the first image
In inventive embodiments, two images are same or similar, can refer to that the effect of two images is same or similar, and is not necessarily meant to refer to
Content is same or similar), i.e. difference between the second image and the first image may be smaller, therefore, by such image into
Row synthesis, the quality of obtained image can be relatively good, while also improving the image-capable of electronic equipment.
Description of the drawings
Fig. 1 is the flow chart of information processing method in the embodiment of the present invention;
Fig. 2 is the structural schematic diagram of electronic equipment in the embodiment of the present invention;
Fig. 3 is the structure diagram of electronic equipment in the embodiment of the present invention.
Specific implementation mode
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention
In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is
A part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art
The every other embodiment obtained without making creative work, shall fall within the protection scope of the present invention.
Electronic equipment in the embodiment of the present invention can be mobile phone, PAD (tablet computer), PC (personal computer) etc. no
Same electronic equipment, the invention is not limited in this regard.
In addition, the terms and/or, only it is a kind of description affiliated partner incidence relation, indicate may exist three
Kind relationship, for example, A and/or B, can indicate:Individualism A exists simultaneously A and B, these three situations of individualism B.In addition,
Character herein/, unless otherwise specified, typically represent forward-backward correlation object be it is a kind of or relationship.
The preferred embodiment of the present invention is described in detail below in conjunction with the accompanying drawings.
Fig. 1 is referred to, the embodiment of the present invention provides a kind of image processing method, and the method can be applied to electronics and set
Standby, the flow of the method is described as follows.
Step 101:Obtain the first image.
In the embodiment of the present invention, the first image can be the arbitrary image that electronic equipment can obtain.For example, the first figure
As the image that can be stored in electronic equipment, then electronic equipment directly can obtain the first image from local.Or example
Such as, the first image can be the image in network, then electronic equipment can download the first image from network.Such as
First image can be stored in the image in another electronic equipment, then electronic equipment can by with another electronic equipment into
Row interaction is to obtain first image, etc..
It may include arbitrary content in the first image in the embodiment of the present invention, such as may include personage, scenery etc..
In the embodiment of the present invention, the first image can be the image of arbitrary format, such as JPEG (Joint
Photographic Experts Group, picture format) format, BMP (Bitmap, picture format) format etc..
The embodiment of the present invention is equal for format of the acquisition modes of the first image, the content of the first image and the first image etc.
It is not restricted.
Step 102:It is shot according to the first image, obtains the second image.
Optionally, in an alternative embodiment of the invention, it is shot according to the first image, obtains the second image, including:
The value of acquisition parameters is obtained according to the value of the parameter of the first image;
Value based on acquisition parameters is shot, and the second image is obtained.
Optionally, in this embodiment, the parameter of the first image may include the resolution parameter of the first image, sensitivity
At least one of parameter, color saturation parameter, white balance parameter, contrast level parameter and sharpness parameter, naturally it is also possible to
Including other possible parameters, as long as parameter possessed by image may each comprise within the parameter area of the first image,
This is not limited by the present invention.
In general, corresponding acquisition parameters can determine image that shooting obtains to a certain extent when shooting
Parameter therefore, can be according to the parameter of the first image to make the effect of the second image and the first image same or similar as possible
Take acquisition parameters when adjustment the second image of shooting, that is, in this embodiment, the value of the acquisition parameters for shooting the second image
It is to be obtained according to the value of the parameter of the first image.
For example, the parameter of the first image includes color saturation parameter, sensitivity parameter and the white balance ginseng of the first image
Number, such as the value of wherein color saturation parameter is 70%, the value of sensitivity parameter is 200, and the value of white balance parameter is daylight,
So, the value of acquisition parameters is obtained according to the value of the parameter of the first image, for example, can directly include by acquisition parameters
The value that the value of color saturation parameter is set as 70%, sensitivity parameter is set as 200 and the value of white balance parameter is arranged
For daylight.In this way, the value by the way that acquisition parameters are arranged, can make the parameter for shooting the second obtained image and the first image
Parameter is kept substantially unanimously, meanwhile, the embodiment of the present invention supports the setting to many kinds of parameters, and the parameter of setting is more, shooting
The similarity of the second obtained image and the effect of the first image may be higher, is conducive to promote the first image and the second image
The quality of the composograph obtained after synthesis enhances the overall effect of composograph, also improves the image procossing of electronic equipment
Ability.
In the embodiment of the present invention, parameter that the quantity of the parameter that the parameter of the first image includes includes with acquisition parameters
Quantity may be identical, it is also possible to and it is different, and, the type for the parameter that the parameter of the first image includes includes with acquisition parameters
The type of parameter may be identical, it is also possible to different.
For example, it may be possible to which it is that the parameter of the first image includes tri- kinds of parameters of A, B and C, acquisition parameters to have a kind of situation
Including these three parameters of A, B and C.
For example, it may be possible to which it is that the parameter of the first image includes tri- kinds of parameters of A, B and C, acquisition parameters to have another situation
Including these four parameters of A, B, C and D.
For example, it may be possible to it is that the parameter of the first image includes tetra- kinds of parameters of A, B, C and D to have another situation, shooting ginseng
Number includes A, B, C these three parameters.
For example, it may be possible to it is that the parameter of the first image includes tetra- kinds of parameters of A, B, C and D to have another situation, shooting ginseng
Number includes B, C, E, F these four parameters.
So, when adjusting the value of acquisition parameters according to the value of the parameter of the first image, in general two set of only adjustment
The value for the parameter for all including.For example, the parameter of the first image includes tetra- kinds of parameters of A, B, C and D, acquisition parameters include
B, these four parameters of C, E, F adjust acquisition parameters then when adjusting the value of acquisition parameters according to the value of the parameter of the first image
In B value and C value.
Optionally, in an alternative embodiment of the invention, the value of acquisition parameters, packet are obtained according to the value of the parameter of the first image
It includes:
According to the value of the parameter of the first image, determine that numerical intervals, numerical intervals include the value of the parameter of the first image;
In numerical intervals, the value of acquisition parameters is determined according to the information of current environment.
In the embodiment of the present invention, there can be different numerical intervals for different parameters, for example, being directed to color saturation
Parameter can there are one numerical intervals, for sensitivity parameter can there are one numerical intervals, etc., in setting numerical intervals
When, it can be configured according to the heterogeneity of different parameters.
For example, numerical intervals may include the value of the parameter of the first image, the value of the parameter of the first image can be numerical value
Any endpoint value in section, or can also be the arbitrary value in numerical intervals.
For example, the parameter of the first image includes sensitivity parameter, the value of the sensitivity parameter of the first image is 200, then
May include 200 this value in numerical intervals corresponding with sensitivity parameter, such as the numerical intervals are [100,200].
Alternatively, be not the value of the parameter directly indicated with numerical value for some, such as some parameters for being indicated with word
Value, it can be understood as, in a device, word can also finally be characterized with numerical value.For example, the parameter of the first image includes white
Balance parameters, white balance parameter physically refers to color temperature value, for example the value of the white balance parameter of the first image is daylight, corresponding
Color temperature value may be 5200K, then numerical intervals corresponding with white balance parameter may include this value of 5200K, such as should
Numerical intervals are [4200K, 6000K], and the value of the white balance parameter in the numerical intervals can correspond to different white balance effects
Fruit, for example, fluorescent lamp (4200K), daylight (5200K), flash lamp (5400K) and cloudy (6000K), etc..
Optionally, in an alternative embodiment of the invention, when determining numerical intervals, a kind of possible mode for using can be with
It is, using the value of the parameter of the first image as median, to increase corresponding value upwards from the median, obtain numerical intervals most
It is big to be worth, it reduces corresponding value downwards from the median, obtains the minimum value of numerical intervals, thus by the maximum value and the minimum value
As two endpoint values, the corresponding numerical intervals of a parameter are obtained.
In the embodiment of the present invention, from a median, increased value can be identical with the size of the value of downward reduction upwards
Can differ, be for the value specifically increased or decreased it is how many, can be according to the property of design parameter and actual demand etc.
Situation is set, and the embodiment of the present invention is not construed as limiting.
For example, the parameter of the first image includes color saturation parameter, the value ratio of the color saturation parameter of the first image
It such as can be 70%, then, in the corresponding numerical intervals of setting color saturation parameter, median can be used as by 70%, from
The median increases the 10% of the median upwards, and obtained value is 80%, and the median is reduced downwards from the median
10%, obtained value be 60%, it is determined that the corresponding numerical intervals of color saturation parameter can be [60%, 80%].
Or it is optional, in an alternative embodiment of the invention, when determining numerical intervals, second of possible side of use
Formula can be increased corresponding value upwards from the minimum value using the value of the parameter of the first image as minimum value, obtain most
Big value, to using the median and the maximum value as two endpoint values, obtain the corresponding numerical intervals of a parameter.Equally
, it is how many for specific increased value, can be set according to situations such as the property of design parameter and actual demand, this hair
Bright embodiment is not construed as limiting.
For example, the parameter of the first image includes sensitivity parameter, the value of the sensitivity parameter of the first image is 100, then,
When the corresponding numerical intervals of sensitivity parameter are set, it can be used as minimum value by 100, increase by 100 upwards from 100 this value, obtain
It is 200 to maximum value, then it can be [100,200] to obtain the corresponding numerical intervals of sensitivity parameter.
Alternatively, optional, in an alternative embodiment of the invention, when determining numerical intervals, the third of use is possible
Mode can be reduced corresponding value downwards from the maximum value using the value of the parameter of the first image as maximum value, obtain
Minimum value, to using the median and the minimum value as two endpoint values, obtain the corresponding numerical intervals of a parameter.Equally
, the value for specific reduction is how many, can be set according to situations such as the property of design parameter and actual demand, this hair
Bright embodiment is not construed as limiting.
For example, the parameter of the first image includes sensitivity parameter, the value of the sensitivity parameter of the first image is 800, then,
When the corresponding numerical intervals of sensitivity parameter are set, it can be used as maximum value by 800, reduce 400 downwards from 800 this value, obtain
It is 400 to minimum value, then it can be [400,800] to obtain the corresponding numerical intervals of sensitivity parameter.
Certainly, the above several ways are only illustrated, other can obtain the mode of numerical intervals also in the protection of the present invention
Within the scope of.
After numerical intervals are determined, it can determine that a numerical value is made in numerical intervals according to the information of current environment
For the value of acquisition parameters.In this way, shooting ginseng jointly to determine according to the value of the parameter of the first image and the information of current environment
Several values can obtain the value of one and the more matched acquisition parameters of current environment, be conducive to the effect for promoting the second image.
When determining value of the numerical value as acquisition parameters from numerical intervals, such as can determine at random, Huo Zheye
It can be determined according to other rules.
For example, it is optional, in an alternative embodiment of the invention,
Before the value for obtaining acquisition parameters according to the value of the parameter of the first image, further include:
According to the Lighting information and/or color temperature information of current environment, the first value of acquisition parameters is obtained;
The value of acquisition parameters is determined in numerical intervals, including:
In numerical intervals, the second value of the difference minimum between the first value is determined as to the value of acquisition parameters.
In this embodiment it is possible to obtain parameter according to the Lighting information of current environment and/or color temperature information
Value, is known as the first value, which can be arbitrary parameter by the value.After obtaining the first value, it can be selected in numerical intervals
The value of difference minimum between the first value, is known as second value by the value.
For example, the Lighting information of current environment shows illumination abundance, for example it is outdoor fine day, is adapted to the sense of current environment
The value of photometric parameter such as can be 100 (i.e. the first values), and the numerical intervals determined according to the sensitivity parameter of the first image can
To be [200,400], therefore, can be clapped being used as with the value 200 (i.e. second value) of 100 this value difference value minimum in numerical intervals
Take the photograph the value for the sensitivity parameter that parameter includes.
Such as the color temperature information of current environment shows that the color temperature value of current environment light source is such as 5122K, is suitable for
The value of the white balance parameter of current environment such as can be 5200K (daylight, i.e. the first value), the white balance parameter pair of the first image
The numerical intervals answered are, for example, [5200K, 6000K], thus can by numerical intervals with the difference between 5200K this value most
The value for the white balance parameter that small value 5200K (namely daylight, i.e. second value) includes as acquisition parameters.
Such as the Lighting information of current environment shows that ambient lighting is dark, for example be the interior that do not turn on light, it adapts to
Such as can be 400 (i.e. the first values) in the value of the sensitivity parameter of current environment, the color temperature information of current environment shows currently
The color temperature value of environment light source is such as 5995K, and the value of the white balance parameter suitable for current environment such as can be that 6000K is (more
Cloud is similarly the first value).The numerical intervals determined according to the sensitivity parameter of the first image are such as [100,400], according to the
The numerical intervals of the white balance parameter of one image are, for example, [5200K, 6000K], then the second of sensitivity parameter can be determined
Value is 400, and the second value of white balance parameter is 6000K (cloudy).
Information by mode exemplified as above, the value and current environment that can integrate the parameter of the first image is jointly true
Determine the value of acquisition parameters, therefore the second image that shooting obtains is ensureing that the difference between the effect of the first image is smaller as possible
While, current environment can be more adapted to, shooting effect is enhanced, also improves electronic equipment image-capable.
Step 103:First image and the second image are synthesized.
It, can be direct by the first image and the second image after shooting has obtained the second image in the embodiment of the present invention
It is synthesized.
In synthesis, such as can be using the first image as foreground image, using the second image as background image, Huo Zheye
Can be using the first image as background image, using the second image as foreground image, etc., the present invention is not restricted.
In the embodiment of the present invention, since when shooting the second image, acquisition parameters are determined according to the parameter of the first image
, therefore the effect of the second image may be same or similar with the effect of the first image, i.e. between the second image and the first image
Difference may it is smaller, therefore, such image is synthesized, the quality of obtained image can be relatively good, while also carrying
The high image-capable of electronic equipment.
Fig. 2 is referred to, same inventive concept and the various embodiments described above are based on, a kind of electronics of offer of the embodiment of the present invention is set
Standby, the electronic equipment may include memory 201, processor 202 and harvester 203.
Processor 202 can be specifically CPU (central processing unit) or ASIC (Application Specific
Integrated Circuit, application-specific integrated circuit), can be one or more integrated electricity for controlling program execution
Road can be the hardware electricity using FPGA (Field Programmable Gate Array, field programmable gate array) exploitations
Road can be baseband chip.The quantity of memory 201 can be one or more.Memory 201 may include ROM (Read
Only Memory, read-only memory), RAM (Random Access Memory, random access memory) and magnetic disk storage.
Harvester 203 can be camera, or can also be the function module that other are used to acquire image.
These memories 201 and harvester 203 can be connected by bus with processor 202, or can also be passed through
Individual connecting line is connect with processor 202 respectively.
In the embodiment of the present invention,
Memory 201, for storing instruction;
Processor 202, the instruction for executing the storage of memory 201 obtain the first image;By harvester 203
It is shot according to the first image, obtains the second image;First image and the second image are synthesized.
Optionally, in an alternative embodiment of the invention, processor 202 is used for:
The value of acquisition parameters is obtained according to the value of the parameter of the first image;
It is shot by harvester 203 based on the value of acquisition parameters, obtains the second image.
Optionally, in an alternative embodiment of the invention, processor 202 is used for:
According to the value of the parameter of the first image, determine that numerical intervals, numerical intervals include the value of the parameter of the first image;
In numerical intervals, the value of acquisition parameters is determined according to the information of current environment.
Optionally, in an alternative embodiment of the invention, processor 202 is additionally operable to:
Before the value for obtaining acquisition parameters according to the value of the parameter of the first image, according to the Lighting information of current environment
And/or color temperature information, obtain the first value of acquisition parameters;
In numerical intervals, the second value of the difference minimum between the first value is determined as to the value of acquisition parameters.
Optionally, in an alternative embodiment of the invention, the parameter of the first image includes the resolution parameter of the first image, sense
At least one of photometric parameter, color saturation parameter, white balance parameter, contrast level parameter and sharpness parameter.
Fig. 3 is referred to, same inventive concept and the various embodiments described above are based on, the embodiment of the present invention provides another electronics and sets
Standby, the electronic equipment may include the first acquisition module 301, taking module 302 and synthesis module 303.
First acquisition module 301, for obtaining the first image;
Taking module 302 obtains the second image for being shot according to the first image;
Synthesis module 303, for synthesizing the first image and the second image.
Optionally, in an alternative embodiment of the invention, taking module 302 is used for:
The value of acquisition parameters is obtained according to the value of the parameter of the first image;
Value based on acquisition parameters is shot, and the second image is obtained.
Optionally, in an alternative embodiment of the invention, taking module 302 is used for:
According to the value of the parameter of the first image, determine that numerical intervals, numerical intervals include the value of the parameter of the first image;
In numerical intervals, the value of acquisition parameters is determined according to the information of current environment.
Optionally, in an alternative embodiment of the invention, electronic equipment further includes:
Second acquisition module, for according to the Lighting information and/or color temperature information of current environment, obtaining acquisition parameters
One value;
Taking module 302 is used for:
In numerical intervals, the second value of the difference minimum between the first value is determined as to the value of acquisition parameters.
Optionally, in an alternative embodiment of the invention, the parameter of the first image includes the resolution parameter of the first image, sense
At least one of photometric parameter, color saturation parameter, white balance parameter, contrast level parameter and sharpness parameter.
In the embodiment of the present invention, electronic equipment can obtain an image, that is, the first image first, further according to first
Image is shot, and is obtained another image, that is, the second image, is finally synthesized the first image and the second image,
Since the second image is shot according to the first image, the second image may (this same or similar with the first image
In inventive embodiments, two images are same or similar, can refer to that the effect of two images is same or similar, and is not necessarily meant to refer to
Content is same or similar), i.e. difference between the second image and the first image may be smaller, therefore, by such image into
Row synthesis, the quality of obtained image can be relatively good, while also improving the image-capable of electronic equipment.
It is apparent to those skilled in the art that for convenience and simplicity of description, only with above-mentioned each function
The division progress of module, can be as needed and by above-mentioned function distribution by different function moulds for example, in practical application
Block is completed, i.e., the internal structure of device is divided into different function modules, to complete all or part of work(described above
Energy.The specific work process of the system, apparatus, and unit of foregoing description can refer to corresponding in preceding method embodiment
Journey, details are not described herein.
In several embodiments provided herein, it should be understood that disclosed device and method can pass through it
Its mode is realized.For example, the apparatus embodiments described above are merely exemplary, for example, the module or unit
It divides, only a kind of division of logic function, formula that in actual implementation, there may be another division manner, such as multiple units or component
It can be combined or can be integrated into another system, or some features can be ignored or not executed.Another point, it is shown or
The mutual coupling, direct-coupling or communication connection discussed can be the indirect coupling by some interfaces, device or unit
It closes or communicates to connect, can be electrical, machinery or other forms.
The unit illustrated as separating component may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, you can be located at a place, or may be distributed over multiple
In network element.Some or all of unit therein can be selected according to the actual needs to realize the mesh of this embodiment scheme
's.
In addition, each functional unit in each embodiment of the application can be integrated in a processing unit, it can also
It is that each unit physically exists alone, it can also be during two or more units be integrated in one unit.Above-mentioned integrated list
The form that hardware had both may be used in member is realized, can also be realized in the form of SFU software functional unit.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product
When, it can be stored in a computer read/write memory medium.Based on this understanding, the technical solution of the application is substantially
The all or part of the part that contributes to existing technology or the technical solution can be in the form of software products in other words
It embodies, which is stored in a storage medium, including some instructions are used so that a computer
It is each that equipment (can be personal computer, server or the network equipment etc.) or processor (processor) execute the application
The all or part of step of embodiment the method.And storage medium above-mentioned includes:USB flash disk, mobile hard disk, ROM, RAM, magnetic disc
Or the various media that can store program code such as CD.
Specifically, the corresponding computer program instructions of a kind of image processing method in the embodiment of the present application can be deposited
It stores up on CD, hard disk, the storage mediums such as USB flash disk, when computer journey corresponding with a kind of image processing method in storage medium
Sequence instruction is read or is performed by an electronic equipment, includes the following steps:
Obtain the first image;
It is shot according to described first image, obtains the second image;
Described first image and second image are synthesized.
Optionally, stored in the storage medium and step:It is shot according to described first image, obtains the second figure
Picture, corresponding computer instruction during being performed, including:
The value of acquisition parameters is obtained according to the value of the parameter of described first image;
Value based on the acquisition parameters is shot, and second image is obtained.
Optionally, stored in the storage medium and step:It is shot according to the value of the parameter of described first image
The value of parameter, corresponding computer instruction during being performed, including:
According to the value of the parameter of described first image, determine that numerical intervals, the numerical intervals include described first image
Parameter value;
In the numerical intervals, the value of the acquisition parameters is determined according to the information of current environment.
Optionally, stored in the storage medium and step:It is shot according to the value of the parameter of described first image
The value of parameter, corresponding computer instruction before being executed, further includes:
According to the Lighting information and/or color temperature information of current environment, the first value of the acquisition parameters is obtained;
Stored in the storage medium and step:The value of the acquisition parameters is determined in the numerical intervals, it is corresponding
Computer instruction during being performed, including:
In the numerical intervals, the second value of the difference minimum between first value is determined as the shooting and is joined
Several values.
Optionally, the parameter of described first image includes the resolution parameter of described first image, sensitivity parameter, color
At least one of saturation parameters, white balance parameter, contrast level parameter and sharpness parameter.
The above, above example are only described in detail to the technical solution to the application, but the above implementation
The explanation of example is merely used to help understand the method and its core concept of the present invention, should not be construed as limiting the invention.This
In the technical scope disclosed by the present invention, the change or replacement that can be readily occurred in should all be covered those skilled in the art
Within protection scope of the present invention.
Claims (7)
1. a kind of image processing method, including:
Obtain the first image;
The value of acquisition parameters is obtained according to the value of the parameter of described first image, including:According to the parameter of described first image
Value, determines that numerical intervals, the numerical intervals include the value of the parameter of described first image;In the numerical intervals, according to
The information of current environment determines the value of the acquisition parameters;
Value based on the acquisition parameters is shot, and the second image is obtained;
Described first image and second image are synthesized.
2. the method as described in claim 1, which is characterized in that
Before the value for obtaining acquisition parameters according to the value of the parameter of described first image, further include:
According to the Lighting information and/or color temperature information of current environment, the first value of the acquisition parameters is obtained;
The value of the acquisition parameters is determined in the numerical intervals, including:
In the numerical intervals, the second value of the difference minimum between first value is determined as the acquisition parameters
Value.
3. the method as described in claim 1, which is characterized in that the parameter of described first image includes point of described first image
In resolution parameter, sensitivity parameter, color saturation parameter, white balance parameter, contrast level parameter and sharpness parameter at least
One.
4. a kind of electronic equipment, including:
Memory, for storing instruction;
Processor obtains the first image for executing described instruction;By harvester according to the parameter of described first image
Value obtains the value of acquisition parameters;Value based on the acquisition parameters is shot, and the second image is obtained;And by first figure
As being synthesized with second image;
Wherein, the value of the value acquisition acquisition parameters of the parameter according to described first image includes:According to described first image
Parameter value, determine that numerical intervals, the numerical intervals include the value of the parameter of described first image;In the numerical intervals
It is interior, the value of the acquisition parameters is determined according to the information of current environment.
5. electronic equipment as claimed in claim 4, which is characterized in that the processor is additionally operable to:
Before the value for obtaining acquisition parameters according to the value of the parameter of described first image, according to the Lighting information of current environment
And/or color temperature information, obtain the first value of the acquisition parameters;
In the numerical intervals, the second value of the difference minimum between first value is determined as the acquisition parameters
Value.
6. electronic equipment as claimed in claim 4, which is characterized in that the parameter of described first image includes described first image
Resolution parameter, sensitivity parameter, color saturation parameter, white balance parameter, in contrast level parameter and sharpness parameter
It is at least one.
7. a kind of electronic equipment, including:
First acquisition module, for obtaining the first image;
Taking module is used to obtain the value of acquisition parameters according to the value of the parameter of described first image;Based on the acquisition parameters
Carry out shoot, obtain the second image;
Synthesis module, for synthesizing described first image and second image;
Wherein, include according to the value of the value of the parameter of described first image acquisition acquisition parameters:According to the ginseng of described first image
Several values determines that numerical intervals, the numerical intervals include the value of the parameter of described first image;In the numerical intervals,
The value of the acquisition parameters is determined according to the information of current environment.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510549320.7A CN105141855B (en) | 2015-08-31 | 2015-08-31 | A kind of image processing method and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510549320.7A CN105141855B (en) | 2015-08-31 | 2015-08-31 | A kind of image processing method and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105141855A CN105141855A (en) | 2015-12-09 |
CN105141855B true CN105141855B (en) | 2018-11-09 |
Family
ID=54727053
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510549320.7A Active CN105141855B (en) | 2015-08-31 | 2015-08-31 | A kind of image processing method and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105141855B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107566761B (en) * | 2017-09-30 | 2020-08-25 | 联想(北京)有限公司 | Image processing method and electronic equipment |
CN108282622B (en) * | 2018-01-29 | 2020-10-27 | 三星电子(中国)研发中心 | Photo shooting method and device |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101404725A (en) * | 2008-11-24 | 2009-04-08 | 深圳华为通信技术有限公司 | Camera, camera set, its control method, apparatus and system |
JP2010263584A (en) * | 2009-05-11 | 2010-11-18 | Panasonic Corp | Electronic camera, image processing device, and image processing method |
CN103096101A (en) * | 2011-11-07 | 2013-05-08 | 联想(北京)有限公司 | Video synthesis method, device and electronic equipment |
CN103986872A (en) * | 2014-05-28 | 2014-08-13 | 宇龙计算机通信科技(深圳)有限公司 | Terminal and terminal shooting method |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8964056B2 (en) * | 2011-06-30 | 2015-02-24 | Cisco Technology, Inc. | Encoder-supervised imaging for video cameras |
-
2015
- 2015-08-31 CN CN201510549320.7A patent/CN105141855B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101404725A (en) * | 2008-11-24 | 2009-04-08 | 深圳华为通信技术有限公司 | Camera, camera set, its control method, apparatus and system |
JP2010263584A (en) * | 2009-05-11 | 2010-11-18 | Panasonic Corp | Electronic camera, image processing device, and image processing method |
CN103096101A (en) * | 2011-11-07 | 2013-05-08 | 联想(北京)有限公司 | Video synthesis method, device and electronic equipment |
CN103986872A (en) * | 2014-05-28 | 2014-08-13 | 宇龙计算机通信科技(深圳)有限公司 | Terminal and terminal shooting method |
Also Published As
Publication number | Publication date |
---|---|
CN105141855A (en) | 2015-12-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Bloch | The HDRI handbook 2.0: high dynamic range imaging for photographers and CG artists | |
CN106657805A (en) | Shooting method in movement and mobile terminal | |
CN106357987B (en) | A kind of exposure method and device | |
CN109644224A (en) | System and method for capturing digital picture | |
CN101547309A (en) | Image processing apparatus, image processing method, and program | |
CN104853106A (en) | Information processing method and electronic equipment | |
CN104333708A (en) | Photographing method, photographing device and terminal | |
CN207283679U (en) | A kind of more field angle multi-cam modules and mobile terminal | |
CN105847676A (en) | Image processing method and apparatus | |
CN110830727B (en) | Automatic exposure ratio adjusting method and device | |
CN105578065A (en) | Method for generating high-dynamic range image, photographing device and terminal | |
CN108765033A (en) | Transmitting advertisement information method and apparatus, storage medium, electronic equipment | |
CN105141855B (en) | A kind of image processing method and electronic equipment | |
CN103312981A (en) | Synthetic multi-picture taking method and shooting device | |
US9743009B2 (en) | Image processing method and image processing device | |
US11930281B2 (en) | Electronic device with camera and method thereof | |
CN108540636A (en) | A kind of photographic method and device based on dual camera | |
US9473716B2 (en) | Image processing method and image processing device | |
CN109064526A (en) | A kind of method and device generating picture mosaic | |
CN109040618A (en) | Video generation method and device, storage medium, electronic equipment | |
CN109831629B (en) | Terminal photographing mode adjusting method and device, terminal and storage medium | |
CN108270914A (en) | A kind of Intelligent photographing method and device, intelligent terminal | |
US20180365865A1 (en) | Subtitle beat generation method, image processing method, terminal, and server | |
Taylor | The Advanced Photography Guide: The Ultimate Step-by-Step Manual for Getting the Most from Your Digital Camera | |
CN103873780A (en) | Video capture method and electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |