CN109729269A - A kind of image processing method, terminal device and computer readable storage medium - Google Patents
A kind of image processing method, terminal device and computer readable storage medium Download PDFInfo
- Publication number
- CN109729269A CN109729269A CN201811622123.3A CN201811622123A CN109729269A CN 109729269 A CN109729269 A CN 109729269A CN 201811622123 A CN201811622123 A CN 201811622123A CN 109729269 A CN109729269 A CN 109729269A
- Authority
- CN
- China
- Prior art keywords
- image
- display parameters
- image display
- terminal device
- original images
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Landscapes
- Processing Or Creating Images (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The present invention provides a kind of image processing method, terminal device and computer readable storage medium.This method is applied to terminal device, comprising: M original images of acquisition;Wherein, M is the integer more than or equal to 2;According at least original image in M original images, generates and show N reference pictures;Wherein, N is the integer more than or equal to 2, at least one image display parameters of any two reference pictures are different;It receives and the input of the target reference picture in N reference pictures is operated;It is operated in response to input, according to the image display parameters of target reference picture, image synthesis is carried out to M original images, generates target image.The embodiment of the present invention convenient can reliably obtain the image for meeting user preferences based on the interaction between terminal device and user.
Description
Technical field
The present invention relates to technical field of image processing more particularly to a kind of image processing methods, terminal device and computer
Readable storage medium storing program for executing.
Background technique
With the rapid development of field of communication technology, the terminal devices such as mobile phone, tablet computer using more and more common.Mesh
Before, many consumers are increasingly dependent on terminal device, such as carry out image taking dependent on terminal device.
When being taken pictures using high dynamic range (High-Dynamic Range, HDR) photographing mode, the shooting of terminal device
It is a key operation, detailed process are as follows: terminal device first acquires multiple original images, then original to multiple in the way of setting
Image carries out image synthesis, to obtain final image.
However, the effect for the image that terminal device obtains is likely to not meet the hobby of user, user needs obtaining figure
Picture editting is carried out to it as after, process is very cumbersome.
Summary of the invention
The embodiment of the present invention provides a kind of image processing method, terminal device and computer readable storage medium, to solve
When taking pictures, terminal device obtains the very cumbersome problem of process for the image for meeting user preferences.
In order to solve the above-mentioned technical problem, the present invention is implemented as follows:
In a first aspect, the embodiment of the present invention provides a kind of image processing method, it is applied to terminal device, the method packet
It includes:
Acquire M original images;Wherein, M is the integer more than or equal to 2;
According at least original image in the M original images, generates and show N reference pictures;Wherein, N
At least one image display parameters for the integer more than or equal to 2, any two reference pictures are different;
It receives and the input of the target reference picture in the N reference pictures is operated;
It is operated in response to the input, according to the image display parameters of the target reference picture, to the M original graphs
As carrying out image synthesis, target image is generated.
Second aspect, the embodiment of the present invention provide a kind of terminal device, and the terminal device includes:
Acquisition module, for acquiring M original images;Wherein, M is the integer more than or equal to 2;
First processing module, for generating and showing N according at least original image in the M original images
Open reference picture;Wherein, N is the integer more than or equal to 2, at least one image display parameters of any two reference pictures are not
Together;
Receiving module, for receiving the input operation to the target reference picture in the N reference pictures;
Synthesis module, it is right according to the image display parameters of the target reference picture for being operated in response to the input
The M original images carry out image synthesis, generate target image.
The third aspect, the embodiment of the present invention provide a kind of terminal device, including processor, and memory is stored in described deposit
On reservoir and the computer program that can run on the processor, the computer program are realized when being executed by the processor
The step of above-mentioned image processing method.
Fourth aspect, the embodiment of the present invention provide a kind of computer readable storage medium, the computer-readable storage medium
Computer program is stored in matter, the computer program realizes the step of above-mentioned image processing method when being executed by processor
Suddenly.
As it can be seen that, when taking pictures, by synthesizing link in picture, providing a series of images display ginseng in the embodiment of the present invention
The reference picture that number has differences is selected for user, and the image display parameters of the reference picture according to user's selection carry out image
Synthesis, user is able to participate image synthesis link, in this way, the style of the target image synthesized through image and image are shown
Effect can meet the hobby of user.Therefore, compared with prior art, when taking pictures, based between terminal device and user
Interaction (being properly termed as human-computer interaction), the embodiment of the present invention very convenient can reliably obtain the image for meeting user preferences.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, needed in being described below to the embodiment of the present invention
Attached drawing to be used is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention,
For those of ordinary skill in the art, without any creative labor, it can also obtain according to these attached drawings
Take other attached drawings.
Fig. 1 is one of the flow chart of image processing method provided in an embodiment of the present invention;
Fig. 2 is the two of the flow chart of image processing method provided in an embodiment of the present invention;
Fig. 3 is the three of the flow chart of image processing method provided in an embodiment of the present invention;
Fig. 4 is a kind of one of the structural schematic diagram of terminal device provided in an embodiment of the present invention;
Fig. 5 is a kind of second structural representation of terminal device provided in an embodiment of the present invention;
Fig. 6 is a kind of third structural representation of terminal device provided in an embodiment of the present invention;
Fig. 7 is the four of the structural schematic diagram of a kind of terminal device provided in an embodiment of the present invention;
Fig. 8 is the structural schematic diagram of another terminal device provided in an 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, those of ordinary skill in the art's acquired every other implementation without creative efforts
Example, shall fall within the protection scope of the present invention.
Image processing method provided in an embodiment of the present invention is illustrated first below.
It should be noted that image processing method provided in an embodiment of the present invention is applied to terminal device.Specifically, terminal
Equipment can be with are as follows: computer (Computer), mobile phone, tablet computer (Tablet Personal Computer), electricity on knee
Brain (Laptop Computer), personal digital assistant (personal digital assistant, abbreviation PDA), mobile Internet access
Electronic equipment (Mobile Internet Device, MID), wearable device (Wearable Device) etc..
Referring to Fig. 1, one of the flow chart of image processing method provided in an embodiment of the present invention is shown in figure.Such as Fig. 1 institute
Show, this method is applied to terminal device, and this method comprises the following steps:
Step 101, M original images of acquisition;Wherein, M is the integer more than or equal to 2.
It should be noted that the terminal device in the embodiment of the present invention is specifically as follows the terminal with HDR camera function
Equipment.Currently, HDR technology uses widely in the terminal device with HDR camera function, phase can be efficiently solved
Machine dynamic range of sensor is insufficient, so that the problem of exposing is owed in the image high light overexposure for causing shooting to obtain and/or most dark place.
In a step 101, terminal device may be at HDR photographing mode, and it is original to acquire under HDR photographing mode M
Image;Wherein, M original images can be shot in Same Scene, the image of any two original images in M original images
Brightness inequality.
It should be pointed out that terminal device can determine figure to be collected before executing the acquisition operation of original image
As number (i.e. the value of M) and the exposure parameter of every image to be collected.Specifically, image number and exposure parameter can
To be fixedly installed in advance;Alternatively, image number and exposure parameter can be according under current scene, automatic light measuring individual
Dynamic decision is removed in the performance of image, in this case, it is current can to estimate shooting as precisely as possible according to an image
Required for scene, the image number of different brightness and the exposure parameter of every image.
Step 102, it according at least original image in M original images, generates and shows N reference pictures;Its
In, N is the integer more than or equal to 2, at least one image display parameters of any two reference pictures are different.
Here, M and N all can be 2,3,4,5 or the integer greater than 5, the value of M and N can be same or different.
It should be noted that image display parameters include but is not limited to brightness of image, picture contrast, image sharpness, figure
As shade etc..Since at least one image display parameters of any two reference pictures are different, then, for any two
For reference picture, it is understood that there may be following several situations: a reference picture is partially brighter, another reference picture partially dark one
A bit;The contrast of one reference picture is more higher, and the contrast of another reference picture is more relatively low;One reference picture
Acutance is more higher, and the acutance of another ginseng reference picture is more relatively low;The color of one reference picture is partially more gorgeous, and another
The color of reference picture is partially lighter.
In addition, terminal device can generate according only to the partial original image in M original images and show N references
Image;Alternatively, terminal device can generate according to all original images in M original images and show N reference pictures.
This programme in order to facilitate understanding by those skilled in the art is said by taking latter situation as an example in various embodiments of the present invention
It is bright.
Step 103, it receives and the input of the target reference picture in N reference pictures is operated.
Specifically, in the case where terminal device shows N reference pictures, user can be executed to N reference pictures
In the touch control operation, such as clicking operation, pressing operation, drag operation of target reference picture etc., which can make
For the input operation in step 103.
Target reference picture is emphasized that for any reference picture in N reference pictures, in target reference picture
" target " do not constitute any restriction to target reference picture.
Step 104, operated in response to input, according to the image display parameters of target reference picture, to M original images into
The synthesis of row image, generates target image.
It should be noted that image synthesis, which refers to, synthesizes an image, currently used synthesis side for several images
There are two types of formulas, is exposure amalgamation mode and tone mapping mode respectively.When using former mode, terminal device can basis
The image display parameters of target reference picture are combined M original images to create individual and only retain correct exposure member
The target image of element;After use when a kind of mode, terminal device can first according to the image display parameters of target reference picture,
M original images are synthesized into a high-order HDR image, high-order HDR image are then subjected to tone mapping again, to obtain
Target image.
In the embodiment of the present invention, under HDR photographing mode, terminal device can after acquisition M original images, according to
An at least original image in M original images generates and shows N parametric images;Wherein, any two reference pictures
At least one image display parameters is different, and correspondingly, the style and image display effect of any two reference pictures are also different.It connects
Get off, user can execute and operate to the input of the target reference picture in N parametric images, with choosing according to the hobby of itself
The style and image display effect of middle target reference picture.Later, terminal device shows according to the image of target reference picture and joins
Number carries out image synthesis to M original images, in this way, the style and figure of the target image that terminal device is synthetically generated through image
As display effect and target reference picture are consistent, target image can preferably match with the hobby of user.
As it can be seen that, when taking pictures, by synthesizing link in picture, providing a series of images display ginseng in the embodiment of the present invention
The reference picture that number has differences is selected for user, and the image display parameters of the reference picture according to user's selection carry out image
Synthesis, user is able to participate image synthesis link, in this way, the style of the target image synthesized through image and image are shown
Effect can meet the hobby of user.Therefore, compared with prior art, when taking pictures, based between terminal device and user
Interaction (being properly termed as human-computer interaction), the embodiment of the present invention very convenient can reliably obtain the image for meeting user preferences.
It should be pointed out that in the prior art, terminal device is often preset with style of taking pictures, once preset style and use
The style of family hobby has a certain distance, passes through after image synthesizes to obtain an image every time in terminal device, user is required to
Editor's adjustment is carried out to the image by image processing tool, influences very much the experience of taking pictures of user in this way.In addition, the prior art
In, parts of images information, which has been lost, in image synthesizing procedure can not remedy back;It is limited to screen size and operation is convenient
Property, editor's adjustment operation implements very inconvenient, it is difficult to be adjusted to ideal effect;Also, any adjustment can all improve figure
The one side of picture, while sacrificing the another aspect of image.In comparison, the embodiment of the present invention carries out image synthesis link
It improves, user can synthesize the style that link selection is liked in image and image display effect, image synthesizing procedure can be abundant
Using the image information of M original images, be conducive to the target image for nondestructively generating high quality in this way.
Referring to fig. 2, the two of the flow chart of image processing method provided in an embodiment of the present invention are shown in figure.Shown in Fig. 2
The main distinction of embodiment and embodiment illustrated in fig. 1 is: providing generation and shows a kind of specific side of N reference pictures
Formula.As shown in Fig. 2, this method comprises the following steps:
Step 201, M original images of acquisition;Wherein, M is the integer more than or equal to 2.
Wherein, the specific implementation process of step 201 is referring to the explanation to step 101, and details are not described herein.
Step 202, according to M original images, M processing images are generated.
Here, M processing pictures and M original images may be considered one-to-one relationship.
Step 203, N group image display parameters are obtained;Wherein, at least one image of any two groups of image display parameters is aobvious
Show parameter difference.
Wherein, the number of the image display parameters in every group of image display parameters can be 3,4,5 or whole greater than 5
Number.
Step 204, M processing images are carried out according to every group of image display parameters in N group image display parameters respectively
Image synthesis generates and shows N reference pictures.
Here, N reference pictures and N group image display parameters may be considered one-to-one relationship.
Step 205, it receives and the input of the target reference picture in N reference pictures is operated.
Step 206, operated in response to input, according to the image display parameters of target reference picture, to M original images into
The synthesis of row image, generates target image.
Wherein, step 205 to the specific implementation process of step 206 referring to the explanation of step 103 to step 104,
Details are not described herein.
In the embodiment of the present invention, N may be considered one-to-one pass between reference picture and N group image display parameters
System, then, any reference picture (assuming that it is P1) can show M processing images and be shown according to that corresponding group image
After parameter (being assumed to be Z1) carries out image synthesis, the style and image display effect of the image that terminal device can obtain.
In addition, due between M processing images and M original images it is also assumed that be one-to-one relationship, then,
After the style and image display effect that P1 shows may be considered M original images according to Z1 progress image synthesis, terminal is set
The style and image display effect of the standby image that can be obtained.In this way, user can know M originals according to N parametric images
Beginning image carries out style and image display effect after image synthesis according to different groups of image display parameters, in order to select accordingly
The style and image display effect for meeting itself hobby, so that the target image that terminal device ultimately generates meets user's
Hobby.
Optionally, above-mentioned step 202, comprising:
Diminution processing is carried out to every original image in M original images respectively, generates M processing images.
It should be noted that carrying out diminution processing to it for any original image in M original images
Afterwards, the resolution ratio of the processing image obtained is less than the resolution ratio of the original image, and for example, the resolution ratio of the original image can
Think 9,000,000 pixels, the resolution ratio of the processing image can be 1,000,000 pixels.In this way, being carried out subsequent to M processing images
When image synthesis is to generate reference picture, compared with the case where carrying out image synthesis to M original images, the operation of synthesis process
Complexity can be reduced, and the time that synthesis process is spent can also be shortened.
It should be pointed out that the mode for generating M processing images is not limited to above situation according to M original images.
For example, terminal device can obtain other M image identical with the M photographed scenes of original image from local, and will
In addition M images are as M processing images.
Referring to Fig. 3, the three of the flow chart of image processing method provided in an embodiment of the present invention are shown in figure.Shown in Fig. 3
The main distinction of embodiment and embodiment illustrated in fig. 2 is: providing a kind of concrete mode for generating N group image display parameters.
As shown in figure 3, this method comprises the following steps:
Step 301, M original images of acquisition;Wherein, M is the integer more than or equal to 2.
Step 302, according to M original images, M processing images are generated.
Wherein, step 301 to the specific implementation process of step 302 referring to the explanation of step 201 to step 202,
Details are not described herein.
Step 303, call parameters generate model, generate N group image display parameters;Wherein, any two groups of images display ginseng
At least one several image display parameters are different.
Specifically, it can have artificial intelligence (Artificial Intelligence, AI) engine in terminal device, join
Number, which generates model, to be located in AI engine.
Step 304, M processing images are carried out according to every group of image display parameters in N group image display parameters respectively
Image synthesis generates and shows N reference pictures.
Step 305, it receives and the input of the target reference picture in N reference pictures is operated.
Step 306, operated in response to input, according to the image display parameters of target reference picture, to M original images into
The synthesis of row image, generates target image.
Wherein, step 304 to the specific implementation process of step 306 referring to the explanation of step 204 to step 206,
Details are not described herein.
Step 307, the image display parameters of target reference picture and the image display parameters of other reference pictures are carried out
Compare, obtains comparison result;Wherein, other reference pictures are the reference other than target reference picture in N reference pictures
Image;
Step 308, according to comparison result, adjusting parameter generates the model parameter of model.
It should be noted that the parameter in AI engine generates model can pass through in terminal device factory for engineer
Look after and guide obtained model.During user's using terminal equipment, parameter generate model in model parameter can according to
The input operation at family is adjusted.
Assuming that terminal device is respectively to 9 original graphs after certain one acquisition 9 opens original image (i.e. the value of M is 9)
Every original image as in carries out diminution processing, generates 9 processing images, and terminal device can generate mould with call parameters
Type generates 3 groups of image display parameters (i.e. the value of N is 3);Wherein, the picture contrast D1 in first group of image display parameters
Maximum, the picture contrast D2 in second group of image display parameters take second place, the picture contrast in third group image display parameters
D3 is minimum.
Next, terminal device can carry out image synthesis to 9 processing images according to first group of image display parameters, with
Generate first reference picture;According to second group of image display parameters, image synthesis are carried out to 9 processing images, to generate the
Two reference pictures;According to third group image display parameters, image synthesis is carried out to 9 processing images, to generate third ginseng
Examine image.
Later, if user has selected first reference picture by inputting operation, terminal device can be according to first
Group image display parameters carry out image synthesis to 9 original images, to generate target image;Terminal device can also be by first group
Image display parameters are compared with second group of image display parameters and third group image display parameters respectively.Due to the first group picture
As the picture contrast D1 in display parameters is the largest, then, the adjustable parameter of terminal device generates the model ginseng of model
Number, so that parameter generates the picture contrast in 3 groups of image display parameters generating of model next time on the basis of this
Promote certain percentage.
If user has selected third reference picture by inputting operation, the adjustable parameter of terminal device is raw
At the model parameter of model, so that the picture contrast that parameter generates in 3 groups of image display parameters that model generates next time is equal
Certain percentage is reduced on the basis of this.
As can be seen that the embodiment of the present invention in, terminal device can according to user by input operate selection with reference to figure
The image display parameters of picture, the model parameter for generating model to parameter are adjusted correspondingly.In this way, being set in user's using terminal
After standby a period of time, parameter, which generates model, becomes the model for passing through user's instruction, terminal device subsequent calls ginseng by indoctrination session
Number, which generates model, can generate the reference picture for being more likely to be easily selected by a user, for selection by the user, so that after terminal device
The continuous target image generated can better conform to the hobby of user.
Optionally, before carrying out image synthesis to M original images, this method further include:
Registration process and motion compensation process are carried out to M original images;
Image synthesis is carried out to M original images, comprising:
Image synthesis is carried out to the M original images by registration process and motion compensation process.
It should be noted that M original images are generally successively collected by same camera, in image acquisition process
In, camera may due to user's hand light exercise and cause the overall offset of image, also, the object in photographed scene
Body may move.Therefore, in the present embodiment, terminal device can carry out registration process and movement to M original images
Compensation deals, and image synthesis is carried out according to the M original images by registration process and motion compensation process, effectively to protect
The picture quality for the target image that card synthesis obtains.
As can be seen from the above embodiments, HDR process of taking pictures mainly may include following five links: in first link,
Under HDR photographing mode, for M different original images of Same Scene acquisition brightness;In second link, to M original graphs
As carrying out registration process and motion compensation process;In third link, respectively to every original image in M original image into
Row diminution processing generates M processing images, and call parameters generate model, generate N group image display parameters, and generate N ginsengs
Examine image;In four processes, N reference pictures are presented to the user, a favorite reference picture is selected by user, this
When, the image display parameters for the reference picture that terminal device is selected according to user carry out image synthesis to M original images, with
Generate target image;Also, the image display parameters of the reference picture of user's selection are also passed to AI engine by terminal device, with
Adjusting parameter generates the model parameter of model, and the parameter for generating model so as to adjust parameter generates tendency;In 5th link, eventually
Above-mentioned link is repeated in end equipment, in this way, it is raw that parameter generates model after the operation that user selects reference picture several times
At image display parameters and user hobby it is very close, at this moment, user can by manual operation, closing manually select ginseng
Examine the link of image.
To sum up, compared with prior art, when taking pictures, based on the interaction between terminal device and user, the present invention is implemented
Example very convenient can reliably obtain the image for meeting user preferences.
Terminal device provided in an embodiment of the present invention is illustrated below.
Referring to fig. 4, the structural schematic diagram of terminal device 400 provided in an embodiment of the present invention is shown in figure.Such as Fig. 4 institute
Show, terminal device 400 includes:
Acquisition module 401, for acquiring M original images;Wherein, M is the integer more than or equal to 2;
First processing module 402, for generating and showing N according at least original image in M original images
Reference picture;Wherein, N is the integer more than or equal to 2, at least one image display parameters of any two reference pictures are not
Together;
Receiving module 403, for receiving the input operation to the target reference picture in N reference pictures;
Synthesis module 404, for being operated in response to input, according to the image display parameters of target reference picture, to M originals
Beginning image carries out image synthesis, generates target image.
Optionally, on the basis of fig. 4, as shown in figure 5, first processing module 402, comprising:
Generation unit 4021, for generating M processing images according to M original images;
Obtaining unit 4022, for obtaining N group image display parameters;Wherein, any two groups of image display parameters are at least
One image display parameters difference;
Processing unit 4023, for respectively according to every group of image display parameters in N group image display parameters, at M
It manages image and carries out image synthesis, generate and show N reference pictures.
Optionally, generation unit 4021 are specifically used for:
Diminution processing is carried out to every original image in M original images respectively, generates M processing images.
Optionally, obtaining unit 4022 are specifically used for:
Call parameters generate model, generate N group image display parameters;
On the basis of Fig. 5, as shown in fig. 6, mobile terminal 400 further include:
Comparison module 411 will after the input operation for opening the target reference picture in reference picture to N in reception
The image display parameters of target reference picture are compared with the image display parameters of other reference pictures, obtain comparison result;
Wherein, other reference pictures are the reference picture other than target reference picture in N reference pictures;
Module 412 is adjusted, for according to comparison result, adjusting parameter to generate the model parameter of model.
Optionally, on the basis of fig. 4, as shown in fig. 7, terminal device 400 further include:
Second processing module 421, for being carried out to M original images before carrying out image synthesis to M original images
Registration process and motion compensation process;
Synthesis module 403, is specifically used for:
Image synthesis is carried out to the M original images by registration process and motion compensation process.
As it can be seen that, when being taken pictures, by synthesizing link in picture, it is aobvious to provide a series of images in the embodiment of the present invention
Show that the reference picture that parameter has differences is selected for user, and the image display parameters of the reference picture according to user's selection carry out
Image synthesis, user is able to participate image synthesis link, in this way, the style and image of the target image synthesized through image
Display effect can meet the hobby of user.Therefore, compared with prior art, when being taken pictures, based on terminal device 200 with
Interaction (being properly termed as human-computer interaction) between user, the embodiment of the present invention very convenient reliably obtain can meet user's happiness
Good image.
Referring to Fig. 8, the hardware structural diagram for realizing the terminal device 800 of each embodiment of the present invention is shown in figure.
As shown in figure 8, terminal device 800 includes but is not limited to: radio frequency unit 801, network module 802, audio output unit 803, defeated
Enter unit 804, sensor 805, display unit 806, user input unit 807, interface unit 808, memory 809, processor
The components such as 810 and power supply 811.It will be understood by those skilled in the art that terminal device structure shown in Fig. 8 is not constituted
Restriction to terminal device, terminal device 800 may include components more more or fewer than diagram, or combine certain components,
Or different component layout.
Wherein, processor 810 are used for:
Acquire M original images;Wherein, M is the integer more than or equal to 2;
According at least original image in M original images, generates and show N reference pictures;Wherein, N is big
In or equal to 2 integer, at least one image display parameters of any two reference pictures are different;
It receives and the input of the target reference picture in N reference pictures is operated;
It is operated in response to input, according to the image display parameters of target reference picture, image conjunction is carried out to M original images
At generation target image.
Optionally, processor 810 are specifically used for:
According to M original images, M processing images are generated;
Obtain N group image display parameters;Wherein, at least one image display parameters of any two groups of image display parameters are not
Together;
Respectively according to every group of image display parameters in N group image display parameters, image conjunction is carried out to M processing images
At generating and show N reference pictures.
Optionally, processor 810 are specifically used for:
Diminution processing is carried out to every original image in M original images respectively, generates M processing images.
Optionally, processor 810 are specifically used for:
Call parameters generate model, generate N group image display parameters;
Processor 810, is also used to:
After receiving to the input operation of the target reference picture in N reference pictures, by the figure of target reference picture
As display parameters are compared with the image display parameters of other reference pictures, comparison result is obtained;Wherein, other reference pictures
For the reference picture in N reference pictures, other than target reference picture;
According to comparison result, adjusting parameter generates the model parameter of model.
Optionally, processor 810 are also used to:
Before carrying out image synthesis to M original images, M original images are carried out at registration process and motion compensation
Reason;
Processor 810, is specifically used for:
Image synthesis is carried out to the M original images by registration process and motion compensation process.
As it can be seen that, when being taken pictures, by synthesizing link in picture, it is aobvious to provide a series of images in the embodiment of the present invention
Show that the reference picture that parameter has differences is selected for user, and the image display parameters of the reference picture according to user's selection carry out
Image synthesis, user is able to participate image synthesis link, in this way, the style and image of the target image synthesized through image
Display effect can meet the hobby of user.Therefore, compared with prior art, when being taken pictures, based on terminal device 800 with
Interaction (being properly termed as human-computer interaction) between user, the embodiment of the present invention very convenient reliably obtain can meet user's happiness
Good image.
It should be understood that the embodiment of the present invention in, radio frequency unit 801 can be used for receiving and sending messages or communication process in, signal
Send and receive, specifically, by from base station downlink data receive after, to processor 810 handle;In addition, by uplink
Data are sent to base station.In general, radio frequency unit 801 includes but is not limited to antenna, at least one amplifier, transceiver, coupling
Device, low-noise amplifier, duplexer etc..In addition, radio frequency unit 801 can also by wireless communication system and network and other set
Standby communication.
Terminal device 800 provides wireless broadband internet by network module 802 for user and accesses, and such as helps user
It sends and receive e-mail, browse webpage and access streaming video etc..
Audio output unit 803 can be received by radio frequency unit 801 or network module 802 or in memory 809
The audio data of storage is converted into audio signal and exports to be sound.Moreover, audio output unit 803 can also provide and end
The relevant audio output of specific function that end equipment 800 executes is (for example, call signal receives sound, message sink sound etc.
Deng).Audio output unit 803 includes loudspeaker, buzzer and receiver etc..
Input unit 804 is for receiving audio or video signal.Input unit 804 may include graphics processor
(Graphics Processing Unit, GPU) 8041 and microphone 8042, graphics processor 8041 is in video acquisition mode
Or the image data of the static images or video obtained in image capture mode by image capture apparatus (such as camera) carries out
Reason.Treated, and picture frame may be displayed on display unit 806.Through graphics processor 8041, treated that picture frame can be deposited
Storage is sent in memory 809 (or other storage mediums) or via radio frequency unit 801 or network module 802.Mike
Wind 8042 can receive sound, and can be audio data by such acoustic processing.Treated audio data can be
The format output that mobile communication base station can be sent to via radio frequency unit 801 is converted in the case where telephone calling model.
Terminal device 800 further includes at least one sensor 805, such as optical sensor, motion sensor and other biographies
Sensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environment
The light and shade of light adjusts the brightness of display panel 8061, and proximity sensor can close when terminal device 800 is moved in one's ear
Display panel 8061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (general
For three axis) size of acceleration, it can detect that size and the direction of gravity when static, can be used to identify terminal device posture (ratio
Such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap);It passes
Sensor 805 can also include fingerprint sensor, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, wet
Meter, thermometer, infrared sensor etc. are spent, details are not described herein.
Display unit 806 is for showing information input by user or being supplied to the information of user.Display unit 806 can wrap
Display panel 8061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used
Forms such as (Organic Light-Emitting Diode, OLED) configure display panel 8061.
User input unit 807 can be used for receiving the number or character information of input, and generate the use with terminal device
Family setting and the related key signals input of function control.Specifically, user input unit 807 include touch panel 8071 and
Other input equipments 8072.Touch panel 8071, also referred to as touch screen collect the touch operation of user on it or nearby
(for example user uses any suitable objects or attachment such as finger, stylus on touch panel 8071 or in touch panel 8071
Neighbouring operation).Touch panel 8071 may include both touch detecting apparatus and touch controller.Wherein, touch detection
Device detects the touch orientation of user, and detects touch operation bring signal, transmits a signal to touch controller;Touch control
Device processed receives touch information from touch detecting apparatus, and is converted into contact coordinate, then gives processor 810, receiving area
It manages the order that device 810 is sent and is executed.Furthermore, it is possible to more using resistance-type, condenser type, infrared ray and surface acoustic wave etc.
Seed type realizes touch panel 8071.In addition to touch panel 8071, user input unit 807 can also include other input equipments
8072.Specifically, other input equipments 8072 can include but is not limited to physical keyboard, function key (such as volume control button,
Switch key etc.), trace ball, mouse, operating stick, details are not described herein.
Further, touch panel 8071 can be covered on display panel 8061, when touch panel 8071 is detected at it
On or near touch operation after, send processor 810 to determine the type of touch event, be followed by subsequent processing device 810 according to touching
The type for touching event provides corresponding visual output on display panel 8061.Although in fig. 8, touch panel 8071 and display
Panel 8061 is the function that outputs and inputs of realizing terminal device as two independent components, but in some embodiments
In, can be integrated by touch panel 8071 and display panel 8061 and realize the function that outputs and inputs of terminal device, it is specific this
Place is without limitation.
Interface unit 808 is the interface that external device (ED) is connect with terminal device 800.For example, external device (ED) may include having
Line or wireless head-band earphone port, external power supply (or battery charger) port, wired or wireless data port, storage card end
Mouth, port, the port audio input/output (I/O), video i/o port, earphone end for connecting the device with identification module
Mouthful etc..Interface unit 808 can be used for receiving the input (for example, data information, electric power etc.) from external device (ED) and
By one or more elements that the input received is transferred in terminal device 800 or can be used in 800 He of terminal device
Data are transmitted between external device (ED).
Memory 809 can be used for storing software program and various data.Memory 809 can mainly include storing program area
The storage data area and, wherein storing program area can (such as the sound of application program needed for storage program area, at least one function
Sound playing function, image player function etc.) etc.;Storage data area can store according to mobile phone use created data (such as
Audio data, phone directory etc.) etc..In addition, memory 809 may include high-speed random access memory, it can also include non-easy
The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 810 is the control centre of terminal device 800, utilizes various interfaces and the entire terminal device of connection
Various pieces by running or execute the software program and/or module that are stored in memory 809, and are called and are stored in
Data in reservoir 809 execute the various functions and processing data of terminal device 800, to carry out entirety to terminal device 800
Monitoring.Processor 810 may include one or more processing units;Preferably, processor 810 can integrate application processor and modulation
Demodulation processor, wherein the main processing operation system of application processor, user interface and application program etc., modulation /demodulation processing
Device mainly handles wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 810.
Terminal device 800 can also include the power supply 811 (such as battery) powered to all parts, it is preferred that power supply 811
Can be logically contiguous by power-supply management system and processor 810, to realize management charging by power-supply management system, put
The functions such as electricity and power managed.
In addition, terminal device 800 includes some unshowned functional modules, details are not described herein.
Preferably, the embodiment of the present invention also provides a kind of terminal device, including processor 810, and memory 809 is stored in
On memory 809 and the computer program that can run on the processor 810, the computer program are executed by processor 810
Each process of Shi Shixian above-mentioned image processing method embodiment, and identical technical effect can be reached, to avoid repeating, this
In repeat no more.
The embodiment of the present invention also provides a kind of computer readable storage medium, and meter is stored on computer readable storage medium
Calculation machine program, the computer program realize each process of above-mentioned image processing method embodiment when being executed by processor, and
Identical technical effect can be reached, to avoid repeating, which is not described herein again.Wherein, the computer readable storage medium, such as
Read-only memory (Read-Only Memory, abbreviation ROM), random access memory (Random Access Memory, abbreviation
RAM), magnetic or disk etc..
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row
His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and
And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do
There is also other identical elements in the process, method of element, article or device.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art
The part contributed out can be embodied in the form of software products, which is stored in a storage medium
In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal device (can be mobile phone, computer, clothes
Business device, air conditioner or the network equipment etc.) execute method described in each embodiment of the present invention.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited to above-mentioned specific
Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art
Under the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very much
Form belongs within protection of the invention.
Claims (12)
1. a kind of image processing method is applied to terminal device, which is characterized in that the described method includes:
Acquire M original images;Wherein, M is the integer more than or equal to 2;
According at least original image in the M original images, generates and show N reference pictures;Wherein, N is big
In or equal to 2 integer, at least one image display parameters of any two reference pictures are different;
It receives and the input of the target reference picture in the N reference pictures is operated;
Operated in response to the input, according to the image display parameters of the target reference picture, to the M original images into
The synthesis of row image, generates target image.
2. the method according to claim 1, wherein at least one according in the M original images
Original image generates and shows N reference pictures, comprising:
According to the M original images, M processing images are generated;
Obtain N group image display parameters;Wherein, at least one image display parameters of any two groups of image display parameters are different;
Respectively according to every group of image display parameters in the N group image display parameters, image is carried out to the M processing images
Synthesis generates and shows N reference pictures.
3. according to the method described in claim 2, it is characterized in that, described according to the M original images, M processing of generation
Image, comprising:
Diminution processing is carried out to every original image in the M original images respectively, generates M processing images.
4. according to the method described in claim 2, it is characterized in that,
The acquisition N group image display parameters, comprising:
Call parameters generate model, generate N group image display parameters;
After the input operation received to the target reference picture in the N reference pictures, the method also includes:
The image display parameters of the target reference picture are compared with the image display parameters of other reference pictures, are obtained
Comparison result;Wherein, other described reference pictures are in the N reference pictures, other than the target reference picture
Reference picture;
According to the comparison result, the model parameter that the parameter generates model is adjusted.
5. the method according to claim 1, wherein
It is described image synthesis are carried out to the M original images before, the method also includes:
Registration process and motion compensation process are carried out to the M original images;
It is described that image synthesis is carried out to the M original images, comprising:
Image synthesis is carried out to the M original images by registration process and motion compensation process.
6. a kind of terminal device, which is characterized in that the terminal device includes:
Acquisition module, for acquiring M original images;Wherein, M is the integer more than or equal to 2;
First processing module, for according at least original image in the M original images, generating and showing N ginsengs
Examine image;Wherein, N is the integer more than or equal to 2, at least one image display parameters of any two reference pictures are different;
Receiving module, for receiving the input operation to the target reference picture in the N reference pictures;
Synthesis module, for being operated in response to the input, according to the image display parameters of the target reference picture, to described
M original images carry out image synthesis, generate target image.
7. terminal device according to claim 6, which is characterized in that the first processing module, comprising:
Generation unit, for generating M processing images according to the M original images;
Obtaining unit, for obtaining N group image display parameters;Wherein, at least one image of any two groups of image display parameters
Display parameters are different;
Processing unit, for respectively according to every group of image display parameters in the N group image display parameters, at the M
It manages image and carries out image synthesis, generate and show N reference pictures.
8. terminal device according to claim 7, which is characterized in that the generation unit is specifically used for:
Diminution processing is carried out to every original image in the M original images respectively, generates M processing images.
9. terminal device according to claim 7, which is characterized in that
The obtaining unit, is specifically used for:
Call parameters generate model, generate N group image display parameters;
The mobile terminal further include:
Comparison module will be described after the input operation for opening the target reference picture in reference picture to the N in reception
The image display parameters of target reference picture are compared with the image display parameters of other reference pictures, obtain comparison result;
Wherein, other described reference pictures are the reference picture other than the target reference picture in the N reference pictures;
Module is adjusted, for adjusting the model parameter that the parameter generates model according to the comparison result.
10. terminal device according to claim 6, which is characterized in that
The terminal device further include:
Second processing module, for before carrying out image synthesis to the M original images, to the M original images into
Row registration process and motion compensation process;
The synthesis module, is specifically used for:
Image synthesis is carried out to the M original images by registration process and motion compensation process.
11. a kind of terminal device, which is characterized in that including processor, memory is stored on the memory and can be described
The computer program run on processor is realized when the computer program is executed by the processor as in claim 1 to 5
The step of described in any item image processing methods.
12. a kind of computer readable storage medium, which is characterized in that be stored with computer on the computer readable storage medium
Program realizes the image processing method as described in any one of claims 1 to 5 when the computer program is executed by processor
The step of.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811622123.3A CN109729269B (en) | 2018-12-28 | 2018-12-28 | Image processing method, terminal equipment and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811622123.3A CN109729269B (en) | 2018-12-28 | 2018-12-28 | Image processing method, terminal equipment and computer readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109729269A true CN109729269A (en) | 2019-05-07 |
CN109729269B CN109729269B (en) | 2020-10-30 |
Family
ID=66297504
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811622123.3A Active CN109729269B (en) | 2018-12-28 | 2018-12-28 | Image processing method, terminal equipment and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109729269B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113012082A (en) * | 2021-02-09 | 2021-06-22 | 北京字跳网络技术有限公司 | Image display method, apparatus, device and medium |
Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102761695A (en) * | 2011-04-28 | 2012-10-31 | 佳能株式会社 | Imaging apparatus and control method thereof |
CN103561205A (en) * | 2013-11-15 | 2014-02-05 | 深圳市中兴移动通信有限公司 | Shooting method and shooting device |
CN104243822A (en) * | 2014-09-12 | 2014-12-24 | 广州三星通信技术研究有限公司 | Method and device for shooting images |
US20150124147A1 (en) * | 2013-11-01 | 2015-05-07 | Samsung Electronics Co., Ltd. | Method of displaying high dynamic range (hdr) image, computer-readable storage medium for recording the method, and digital imaging apparatus |
CN104869314A (en) * | 2015-05-28 | 2015-08-26 | 小米科技有限责任公司 | Photographing method and device |
US20150271405A1 (en) * | 2014-03-18 | 2015-09-24 | Motorola Mobility Llc | System for auto-hdr capture decision making |
CN105453134A (en) * | 2013-08-12 | 2016-03-30 | 三星电子株式会社 | A method and apparatus for dynamic range enhancement of an image |
CN105847703A (en) * | 2016-03-28 | 2016-08-10 | 联想(北京)有限公司 | Image processing method and electronic device |
CN107483836A (en) * | 2017-09-27 | 2017-12-15 | 维沃移动通信有限公司 | A kind of image pickup method and mobile terminal |
CN107809593A (en) * | 2017-11-13 | 2018-03-16 | 广东欧珀移动通信有限公司 | Method, apparatus, terminal and the storage medium of shooting image |
CN108307109A (en) * | 2018-01-16 | 2018-07-20 | 维沃移动通信有限公司 | A kind of high dynamic range images method for previewing and terminal device |
-
2018
- 2018-12-28 CN CN201811622123.3A patent/CN109729269B/en active Active
Patent Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102761695A (en) * | 2011-04-28 | 2012-10-31 | 佳能株式会社 | Imaging apparatus and control method thereof |
CN105453134A (en) * | 2013-08-12 | 2016-03-30 | 三星电子株式会社 | A method and apparatus for dynamic range enhancement of an image |
US20150124147A1 (en) * | 2013-11-01 | 2015-05-07 | Samsung Electronics Co., Ltd. | Method of displaying high dynamic range (hdr) image, computer-readable storage medium for recording the method, and digital imaging apparatus |
CN103561205A (en) * | 2013-11-15 | 2014-02-05 | 深圳市中兴移动通信有限公司 | Shooting method and shooting device |
US20150271405A1 (en) * | 2014-03-18 | 2015-09-24 | Motorola Mobility Llc | System for auto-hdr capture decision making |
CN104243822A (en) * | 2014-09-12 | 2014-12-24 | 广州三星通信技术研究有限公司 | Method and device for shooting images |
CN104869314A (en) * | 2015-05-28 | 2015-08-26 | 小米科技有限责任公司 | Photographing method and device |
CN105847703A (en) * | 2016-03-28 | 2016-08-10 | 联想(北京)有限公司 | Image processing method and electronic device |
CN107483836A (en) * | 2017-09-27 | 2017-12-15 | 维沃移动通信有限公司 | A kind of image pickup method and mobile terminal |
CN107809593A (en) * | 2017-11-13 | 2018-03-16 | 广东欧珀移动通信有限公司 | Method, apparatus, terminal and the storage medium of shooting image |
CN108307109A (en) * | 2018-01-16 | 2018-07-20 | 维沃移动通信有限公司 | A kind of high dynamic range images method for previewing and terminal device |
Non-Patent Citations (1)
Title |
---|
张云: "《基于SoC-FPGA的高动态范围图像合成》", 《中国优秀硕士学位论文全文数据库 信息科技辑》 * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113012082A (en) * | 2021-02-09 | 2021-06-22 | 北京字跳网络技术有限公司 | Image display method, apparatus, device and medium |
Also Published As
Publication number | Publication date |
---|---|
CN109729269B (en) | 2020-10-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107580184B (en) | A kind of image pickup method and mobile terminal | |
CN107566730B (en) | A kind of panoramic picture image pickup method and mobile terminal | |
CN107483836B (en) | A kind of image pickup method and mobile terminal | |
CN108540724A (en) | A kind of image pickup method and mobile terminal | |
CN107809598B (en) | A kind of image pickup method, mobile terminal and server | |
CN108307109B (en) | High dynamic range image preview method and terminal equipment | |
CN108093171A (en) | A kind of photographic method, terminal and computer readable storage medium | |
CN107707825B (en) | A kind of panorama shooting method, mobile terminal and computer readable storage medium | |
CN107566748A (en) | A kind of image processing method, mobile terminal and computer-readable recording medium | |
CN107566739A (en) | A kind of photographic method and mobile terminal | |
CN107302663A (en) | A kind of brightness of image method of adjustment, terminal and computer-readable recording medium | |
CN110365907A (en) | A kind of photographic method, device and electronic equipment | |
CN109218626B (en) | Photographing method and terminal | |
CN108111754A (en) | A kind of method and mobile terminal of definite image acquisition modality | |
CN109788204A (en) | Shoot processing method and terminal device | |
CN109688322A (en) | A kind of method, device and mobile terminal generating high dynamic range images | |
CN107566749A (en) | Image pickup method and mobile terminal | |
CN109544486A (en) | A kind of image processing method and terminal device | |
CN107820022A (en) | A kind of photographic method and mobile terminal | |
CN108449541A (en) | A kind of panoramic picture image pickup method and mobile terminal | |
CN108924412A (en) | A kind of image pickup method and terminal device | |
CN109743506A (en) | A kind of image capturing method and terminal device | |
CN108280817A (en) | A kind of image processing method and mobile terminal | |
CN110213484A (en) | A kind of photographic method, terminal device and computer readable storage medium | |
CN108965710A (en) | Method, photo taking, device and computer readable storage medium |
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 |