CN108335278A - Processing method, device, storage medium and the electronic equipment of image - Google Patents
Processing method, device, storage medium and the electronic equipment of image Download PDFInfo
- Publication number
- CN108335278A CN108335278A CN201810222006.1A CN201810222006A CN108335278A CN 108335278 A CN108335278 A CN 108335278A CN 201810222006 A CN201810222006 A CN 201810222006A CN 108335278 A CN108335278 A CN 108335278A
- Authority
- CN
- China
- Prior art keywords
- image
- terminal
- noise reduction
- reduction process
- historical data
- 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
- 238000003672 processing method Methods 0.000 title claims abstract description 33
- 238000011946 reduction process Methods 0.000 claims abstract description 121
- 230000007613 environmental effect Effects 0.000 claims abstract description 62
- 238000000034 method Methods 0.000 claims abstract description 11
- 230000001815 facial effect Effects 0.000 claims description 81
- 238000012545 processing Methods 0.000 claims description 47
- 230000035945 sensitivity Effects 0.000 claims description 45
- 230000009467 reduction Effects 0.000 claims description 15
- 238000004590 computer program Methods 0.000 claims description 10
- 210000001508 eye Anatomy 0.000 description 39
- 238000006073 displacement reaction Methods 0.000 description 20
- 238000003384 imaging method Methods 0.000 description 17
- 238000010586 diagram Methods 0.000 description 13
- 239000000872 buffer Substances 0.000 description 9
- 230000006870 function Effects 0.000 description 7
- 241001396014 Priacanthus arenatus Species 0.000 description 6
- 238000001514 detection method Methods 0.000 description 6
- 230000000694 effects Effects 0.000 description 6
- 210000003128 head Anatomy 0.000 description 4
- 238000012937 correction Methods 0.000 description 3
- 230000008569 process Effects 0.000 description 3
- 241000208340 Araliaceae Species 0.000 description 2
- 235000005035 Panax pseudoginseng ssp. pseudoginseng Nutrition 0.000 description 2
- 235000003140 Panax quinquefolius Nutrition 0.000 description 2
- 230000005611 electricity Effects 0.000 description 2
- 235000008434 ginseng Nutrition 0.000 description 2
- 230000002452 interceptive effect Effects 0.000 description 2
- 241001269238 Data Species 0.000 description 1
- 230000008901 benefit Effects 0.000 description 1
- 210000005252 bulbus oculi Anatomy 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 239000003795 chemical substances by application Substances 0.000 description 1
- 238000007405 data analysis Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000001914 filtration Methods 0.000 description 1
- 230000010354 integration Effects 0.000 description 1
- 239000011159 matrix material Substances 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 238000001228 spectrum Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T5/00—Image enhancement or restoration
- G06T5/70—Denoising; Smoothing
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Image Processing (AREA)
- Studio Devices (AREA)
Abstract
This application discloses a kind of processing method of image, device, storage medium and electronic equipments.This method includes:Obtain environmental parameter when terminal acquires the first image;Obtain whether terminal-pair the image collected has carried out the historical data of noise reduction process;According to the environmental parameter and the historical data, judge whether to need to carry out noise reduction process to first image.The application can improve accuracy of the terminal when judging whether to need to carry out noise reduction process to image.
Description
Technical field
The application belongs to image technique field more particularly to a kind of processing method of image, device, storage medium and electronics
Equipment.
Background technology
In order to obtain better imaging effect, terminal can carry out noise reduction process to the image collected.For example, in half-light
Under shooting environmental or when image is by when interfering, its noise of terminal the image collected is bigger inside imaging device.
In this case, terminal can carry out noise reduction process to the image collected, to improve imaging effect.However, related skill
In art, for terminal when judging whether to need to carry out noise reduction process to the image collected, the accuracy judged is relatively low.
Invention content
The embodiment of the present application provides a kind of processing method of image, device, storage medium and electronic equipment, can improve end
Hold the accuracy when judging whether to need to carry out noise reduction process to image.
The embodiment of the present application provides a kind of processing method of image, including:
Obtain environmental parameter when terminal acquires the first image;
Obtain whether terminal-pair the image collected has carried out the historical data of noise reduction process;
According to the environmental parameter and the historical data, judge whether to need to carry out at noise reduction described first image
Reason.
The embodiment of the present application provides a kind of processing unit of image, including:
First acquisition module, for obtaining environmental parameter when terminal acquires the first image;
Second acquisition module, for obtaining whether terminal-pair the image collected has carried out the historical data of noise reduction process;
Judgment module, for according to the environmental parameter and the historical data, judging whether to need to first figure
As carrying out noise reduction process.
The embodiment of the present application provides a kind of storage medium, computer program is stored thereon with, when the computer program exists
When being executed on computer so that the computer executes the step in the processing method of image provided by the embodiments of the present application.
The embodiment of the present application also provides a kind of electronic equipment, including memory, and processor, the processor is by calling institute
The computer program stored in memory is stated, the step in processing method for executing image provided by the embodiments of the present application.
In the embodiment of the present application, environmental parameter when terminal can be according to the first image of acquisition, and whether to the first figure
Other collected images have carried out the historical data of noise reduction process as before, to determine whether needing to carry out first image
Noise reduction process.Therefore, the embodiment of the present application can improve terminal and judge whether to need to carry out at noise reduction the image collected
Accuracy when reason.Further, since the terminal in this implementation can be according to environmental parameter and historical data to determine whether needs
Noise reduction process is carried out to the image collected, rather than is judged according only to environmental parameter, therefore the present embodiment can improve
Flexibility of the terminal when judging whether to need to carry out noise reduction process to the image collected.
Description of the drawings
Below in conjunction with the accompanying drawings, it is described in detail by the specific implementation mode to the present invention, technical scheme of the present invention will be made
And advantage is apparent.
Fig. 1 is the flow diagram of the processing method of image provided by the embodiments of the present application.
Fig. 2 is another flow diagram of the processing method of image provided by the embodiments of the present application.
Fig. 3 to Fig. 4 is the schematic diagram of a scenario of the processing method of image provided by the embodiments of the present application.
Fig. 5 is the structural schematic diagram of the processing unit of image provided by the embodiments of the present application.
Fig. 6 is another structural schematic diagram of the processing unit of image provided by the embodiments of the present application.
Fig. 7 is the structural schematic diagram of mobile terminal provided by the embodiments of the present application.
Fig. 8 is the structural schematic diagram of electronic equipment provided by the embodiments of the present application.
Specific implementation mode
Schema is please referred to, wherein identical component symbol represents identical component, the principle of the present invention is to implement one
It is illustrated in computing environment appropriate.The following description be based on illustrated by the specific embodiment of the invention, should not be by
It is considered as the limitation present invention other specific embodiments not detailed herein.
It is understood that the executive agent of the embodiment of the present application can be the end of smart mobile phone or tablet computer etc.
End equipment.
Referring to Fig. 1, Fig. 1 is the flow diagram of the processing method of image provided by the embodiments of the present application, flow can be with
Including:
In step S101, environmental parameter when terminal acquires the first image is obtained.
In order to obtain better imaging effect, terminal can carry out noise reduction process to the image collected.For example, in half-light
Under shooting environmental or when image is by when interfering, its noise of terminal the image collected is bigger inside imaging device.
In this case, terminal can carry out noise reduction process to the image collected, to improve imaging effect.However, related skill
In art, for terminal when judging whether to need to carry out noise reduction process to the image collected, the accuracy judged is relatively low.
In the step S101 of the embodiment of the present application, terminal can first obtain environmental parameter when the first image of acquisition.That is,
Terminal can first obtain environmental parameter of first image when collected.
In some embodiments, above-mentioned environmental parameter can be the parameters such as sensitivity (ISO), environmental light brightness.
It is understood that the limitation not constituted to the application of illustrating herein.
In step s 102, obtain whether terminal-pair the image collected has carried out the historical data of noise reduction process.
For example, get terminal acquire the first image when environmental parameter after, terminal can be obtained in first figure
Whether institute's the image collected has carried out the historical data of noise reduction process as before.
In step s 103, according to the environmental parameter and the historical data, judge whether to need to carry out first image
Noise reduction process.
For example, get acquisition the first image when environmental parameter, and to before first image institute it is collected
After whether image has carried out the historical data of noise reduction process, terminal can be according to the environmental parameter and the historical data, to sentence
It is disconnected whether to need to carry out noise reduction process to first image.
It is understood that in the embodiment of the present application, environmental parameter when terminal can be according to the first image of acquisition, and
Whether the historical data of noise reduction process is carried out to other collected images before the first image, to determine whether needing to this
First image carries out noise reduction process.Therefore, the embodiment of the present application can improve terminal and judge whether to need to collected figure
As carrying out accuracy when noise reduction process.
Further, since the terminal in this implementation can be according to environmental parameter and historical data to determine whether needing to acquisition
The image that arrives carries out noise reduction process, rather than is judged according only to environmental parameter, therefore the present embodiment can improve terminal and exist
Flexibility when judging whether to need to carry out the image collected noise reduction process.
Referring to Fig. 2, Fig. 2 is another flow diagram of the processing method of image provided by the embodiments of the present application, flow
May include:
In step s 201, terminal obtains sensitivity when acquiring the first image.
For example, when user's using terminal is taken pictures, terminal can be obtained when acquiring the first image, and terminal is used
Sensitivity (ISO).That is, terminal can obtain first image when collected, sensitivity used in terminal.
In step S202, terminal obtains the first moment for acquiring first image.
In step S203, terminal obtain acquisition the second image the second moment, second image be acquire this first
Terminal the last time the image collected before image.
For example, step S202 and S203 may include:
After sensitivity when getting terminal and acquiring the first image, terminal, which can obtain, acquires the first of first image
Moment and terminal acquire the second moment of the second image.Wherein, which is before acquiring first image, eventually
The last the image collected in end.That is, second image is the terminal last time to collect image.
Later, terminal can calculate the time interval between first moment and second moment, and detect both it
Between time interval whether be less than predetermined interval.
If detecting, the time interval at first moment and second moment is not less than predetermined interval, such as first moment
Differed between second moment 10 minutes, and predetermined interval be 20 seconds, then terminal can only according to acquire this first
The environmental parameters such as sensitivity when image, to determine whether needing to carry out noise reduction process to first image.
If detecting, the time interval at first moment and second moment is less than predetermined interval, then entering step
S204。
In step S204, if the time interval at first moment and second moment is less than predetermined interval, terminal obtains
It takes to whether second image has carried out the historical data of noise reduction process.
For example, differed between first moment and second moment 8 seconds, and predetermined interval is 20 seconds, i.e. the first image
It is adjacent the image collected in a short time with the second image.In this case, terminal can further obtain this end
Whether end has carried out the historical data of noise reduction process to second image.
Get the first image when collected sensitivity and the second image of terminal-pair used in terminal whether into
It has gone after the historical data of noise reduction process, terminal can be according to both to determine whether needing to drop first image
It makes an uproar processing.
For example, whether the numerical value that terminal can first detect the sensitivity that this terminal is used when acquiring first image is less than
Predetermined threshold value.
If detecting that the numerical value for the sensitivity that this terminal is used when acquiring first image is not less than predetermined threshold value, example
If predetermined threshold value is 800, and the numerical value for the sensitivity that terminal is used when acquiring first image is also 800.In such case
Under, since the sensitivity that terminal is used when acquiring first image is larger, cause the noise of first image more, therefore eventually
End can be determined to need to carry out noise reduction process to first image.That is, used when terminal acquires the first image
In the case that sensitivity is not less than predetermined threshold value, no matter whether the second image of terminal-pair has carried out noise reduction process, terminal can
It determines to need to carry out noise reduction process to first image.
If detecting that the numerical value for the sensitivity that this terminal is used when acquiring first image is less than predetermined threshold value,
Terminal can further calculate the difference between the sensitivity and predetermined threshold value, and whether detect the difference less than or equal to default
Difference.
If the difference is more than preset difference value, such as the numerical value of sensitivity that terminal is used when acquiring first image is
750, predetermined threshold value 800, difference between the two is 50, and preset difference value is 20.In such a case, it is possible to think this
The noise of one image is less, therefore terminal can determine that noise reduction process need not be carried out to first image.
If the difference is less than or equal to preset difference value, then entering step S205.
In step S205, if the numerical value of sensitivity when acquiring first image is less than predetermined threshold value, and the sensitivity
The difference of numerical value and the predetermined threshold value be less than or equal to preset difference value and the historical data indicates terminal-pair second image
Noise reduction process is carried out, then terminal is determined to need to carry out noise reduction process to first image.
For example, the numerical value for the sensitivity that terminal is used when acquiring first image is 790, and predetermined threshold value 800, the two
Between difference be 10, and preset difference value be 20.At this point it is possible to think the sensitivity that terminal is used when acquiring first image
Although not up to predetermined threshold value 800, the gap between the sensitivity 790 and predetermined threshold value 800 is smaller.In this case,
If it is determined that the second image of terminal-pair has carried out noise reduction process, i.e. the just collected upper image of terminal-pair has carried out at noise reduction
Reason, then terminal can be determined to be also required to carry out noise reduction process to first image.
It is understood that being separated by very between the time of the first image and the time for acquiring the second image since terminal acquires
Short (in predetermined interval), it can be considered that terminal acquire the first image when environment and acquisition the second image when environment it
Between vary less, i.e., environmental parameter variation it is small.In this case, due to terminal-pair, second image has carried out noise reduction process,
And sensitivity when terminal acquires first image is in close proximity to predetermined threshold value (sensitivity is located near predetermined threshold value),
Thus while the sensitivity is not up to predetermined threshold value, but terminal still can be determined to need to carry out at noise reduction first image
Reason.
Due to the present embodiment can according to environmental parameter and historical data to determine whether need to the image collected into
Row noise reduction process, therefore the present embodiment can improve terminal and judge whether the spirit for needing to carry out the image collected noise reduction process
Activity.
In addition, the present embodiment can also be solved effectively when environmental parameter is located near its corresponding predetermined threshold value, terminal
Judging whether that the when of carrying out noise reduction process to the image collected is needed to judge not accurate enough problem.For example, being acquired in terminal
Used sensitivity is 790 when the first image, and in the case that predetermined threshold value is 800, if judged according only to sensitivity
Whether need if carrying out noise reduction process to collected first image, then since sensitivity 790 is less than predetermined threshold value 800,
Therefore terminal can judge that noise reduction process need not be carried out to first image.But in fact, sensitivity 790 be in close proximity to it is pre-
If threshold value 800, therefore terminal is likely to need to carry out noise reduction process to first image.In this case, this implementation
Example can with reference terminal whether to just collected second image carried out noise reduction process historical data to determine whether
It needs to carry out noise reduction process to first image.If terminal-pair second image has carried out noise reduction process, then terminal can also
It determines to need to handle first image, to efficiently solve when to be located at its corresponding predetermined threshold value attached for environmental parameter
When close, terminal is judging whether that the when of carrying out noise reduction process to the image collected is needed to judge not accurate enough problem.
In one embodiment, terminal obtains the step for the historical data that noise reduction process whether has been carried out to the second image
Suddenly, may include:
If it is determined that terminal carries out noise reduction process using the mode of multiframe noise reduction to described first image, then terminal-pair is obtained
Whether the second image has carried out the historical data of noise reduction process, and second image is before acquiring described first image, eventually
The last image acquired and store photograph album in end.
For example, terminal be by the way of multiframe noise reduction come to image carry out noise reduction process, then when terminal obtain pair
When whether the second image has carried out the historical data of noise reduction process, which is before acquiring the first image, and terminal is most
The nearly image for once acquiring and storing photograph album.It is understood that the image of storage to photograph album is the photo become in photograph album.
For example, after entering camera preview interface, terminal is (such as 30 milliseconds or 50 milliseconds or 60 milliseconds at regular intervals
Deng) one frame image of acquisition, and nearest collected several frame images are saved in the buffer queue of a fixed length, then working as needs
When carrying out multiframe noise reduction to collected a certain frame image, terminal can be obtained comprising the continuous acquisition including a certain frame image
The multiple image arrived, and noise reduction process is carried out to a certain frame image according to the multiple image.
In this case, the second image that terminal obtains can be the terminal nearest one before acquiring first image
Secondary acquisition simultaneously stores the image for becoming photo in (output) to photograph album.That is, second image is the photo of terminal last time shooting.
It in one embodiment, can be with before the step of environmental parameter when terminal obtains the first image of acquisition
Include the following steps:
When acquisition includes the image of face, terminal determines target frame number, institute according to collected at least two field pictures
It states target frame number and is greater than or equal to 2;
From collected multiple image, terminal obtains the pending image that quantity is the target frame number;
The first image is determined from the pending image, meets preset condition including at least one in first image
Facial image;
So, if judging to need to carry out noise reduction process to first image, terminal is according to the pending image to this
First image carries out noise reduction process.
That is, before obtaining the step of terminal acquires the environmental parameter of the first image, first can also be determined comprising terminal
The step of image.For example, after entering camera preview interface, if detecting the image that terminal includes face in acquisition,
Terminal can include the image of face according to collected at least two frames, determine a target frame number, which is more than
Or it is equal to 2.
For example, when terminal collects four frames and includes the image of face, terminal can detect the face in this four frames image
Whether the position at place is subjected to displacement.If not being subjected to displacement or displacement very little, it may be considered that the facial image ratio in image
Relatively stablize, i.e., user without shaking or rotating head on a large scale.If being subjected to displacement, it may be considered that facial image is unstable,
I.e. user shakes or has rotated head, and amplitude is larger.
In one embodiment, whether the face that can in the following way come in detection image is subjected to displacement:It is obtaining
After getting four frame images of acquisition, terminal can generate a coordinate system, and then terminal can be in a like fashion by each frame
Image is put into the coordinate system.Later, terminal can obtain the features of human face images in each frame image in the coordinate system
Coordinate.After the characteristic point coordinate in the coordinate system of the facial image in obtaining each frame image, terminal can compare
Whether the coordinate compared with the same features of human face images in different images is identical.If identical, it may be considered that the face in image
Image is not subjected to displacement.If it is different, it may be considered that the facial image in image is subjected to displacement.If detecting facial image
Displacement, then terminal can obtain specific shift value.If the specific shift value is within the scope of default value, can
To think that the facial image displacement in image is smaller.If the specific shift value is in outside default value range, then can be with
Think that the facial image displacement in image is larger.
In one embodiment, if for example, facial image is subjected to displacement, target frame number can be determined as to 4 frames.If
Facial image is not subjected to displacement, then target frame number can be determined as to 6 frames or 8 frames.
After user presses and takes pictures button, terminal can be from nearest the image collected, and acquisition quantity is target frame number
Pending image.Then, terminal can determine the first image from these pending images, wherein in first image extremely
Include a facial image for meeting preset condition less.For example, preset condition is:The eyes of a certain user in first image
Bigger is all opened to obtain than eyes of the user in other pending images.
In one embodiment, terminal can carry out the eyes size in detection image in the following way.For example, terminal
Face and Eye Recognition can be first passed through, identifies the ocular in image, then obtains the ocular and schemes at whole
The shared area ratio as in.The area ratio is big, it may be considered that the eyes of user are opened greatly.The area ratio is small, then may be used
To think that the eyes of user are opened small.For another example, terminal can also calculate the shared pixel in the vertical direction of the human eye in image
The number of point, the size of the number can be used to indicate that the size of human eye.
After determining the first image, if judging to need to carry out noise reduction process to first image, then terminal can be with
Noise reduction process is carried out to first image according to the multiframe of acquisition pending image.
In one embodiment, described the step of determining the first image from the pending image, may include:
If each pending image is single image, the first image is determined from the pending image, it is described
Facial image in first image meets preset condition.
For example, terminal detects that the pending image that it is obtained is that single image (only wraps in the pending image of every frame
Containing a facial image), then the pending image that facial image can be met preset condition by terminal is determined as the first image.
For example, the eyes that preset condition is user in image are all opened than eyes of the user in other pending images
Bigger.For example, terminal can carry out eye recognition to pending image, and obtain in the pending image of each frame for indicating eye
The numerical value of size.Then, terminal can be ranked up institute's image to be handled according to the descending sequence of the numerical value.That
, the pending image to make number one can be determined as the first image by terminal.
In one embodiment, described the step of determining the first image from the pending image, may include:
If each pending image is more people's images, the first image is determined from the pending image, it is described
A facial image for meeting preset condition is included at least in first image;
Determine not meet the facial image to be replaced of the preset condition from described first image;
From other pending images outside described first image, the target face figure for meeting the preset condition is determined
Picture, the target facial image and the facial image that the facial image to be replaced is same subscriber;
In described first image, the facial image to be replaced is replaced with into the target facial image, obtain by
Image replaces the first image of processing;
So, described the step of noise reduction process is carried out to described first image according to the pending image, may include:
According to the pending image, noise reduction process is carried out to first image for replacing processing by image.
For example, terminal detect the pending image that it is obtained be more people's images (i.e. often in frame pending image at least
Including two facial images, and the face quantity of each frame image is equal), then terminal can be from institute's image to be handled really
The first image is made, a facial image for meeting preset condition is included at least in first image.For example, preset condition is figure
The eyes of a certain user all open to obtain bigger than eyes of the user in other pending images as in.
For example, terminal gets H, I, J, K, L, M this pending image of 6 frame, this 6 frame image is the conjunction of third, fourth, penta 3 people
According to image.Terminal can to the 6 frame image carry out recognition of face, and in detection image face part eyes size.For example, H,
I, indicate that the numerical value of third eyes size is respectively 81,83,84,86,86,85 in J, K, L, M image.H, I, J, K, L, M image
It is middle to indicate that the numerical value of the eyes size of fourth is respectively 75,77,77,79,78,77.H, penta eyes are indicated in I, J, K, L, M image
The numerical value of size is respectively 84,85,86,86,88,86.
For third, the facial image of largest eyes appears in image K and L.For fourth, largest eyes
Facial image appear in image K.For penta, the image of largest eyes appears in image L.Due in image L
There is the facial image of the largest eyes of two people, therefore image L can be determined as the first image by terminal.
After image L is determined as the first image, the facial image of user's fourth in image L can be determined as waiting replacing by terminal
Substitution face image, then terminal the facial image (largest eyes) of fourth in image K can be determined as target facial image.It
Afterwards, terminal can replace the facial image of fourth in image L using the facial image (i.e. target facial image) of fourth in image K,
To obtain replacing the image L of processing by image.
So, when determining to need to carry out noise reduction process to image L, terminal can be handled by image replacement above-mentioned
Image L carry out multiframe noise reduction process.For example, terminal can be according to image J, K, M to the above-mentioned figure for replacing processing by image
As L carries out multiframe noise reduction process.
Fig. 3 and Fig. 4 are please referred to, Fig. 3 and Fig. 4 illustrate for the scene of the processing method of image provided by the embodiments of the present application
Figure.
In the present embodiment, after the preview interface for entering camera, terminal can be according to current environmental parameter, every 30 millis
The image collected is saved in buffer queue by the second to 60 milliseconds of one frame images of acquisition.The buffer queue can be fixed length team
Row, such as the buffer queue can preserve the newest collected 10 frame image of terminal.
For example, first, second, third, fourth, penta 5 people travel outdoors, and prepare to take pictures by landscape at one.Wherein, first uses eventually
End is first taken pictures for second, as shown in Figure 3.For example, after the preview interface for entering camera, terminal is joined according to current collected environment
Number acquires a frame image every 50 milliseconds.Before first presses the button of taking pictures of camera, terminal can be obtained first from buffer queue
Collected 4 frame image, it is to be understood that include the facial image of second in this 4 frame image.Then, terminal can detect
Whether position of the facial image of second in picture is subjected to displacement in this 4 frame image.If not being subjected to displacement or displacement very little,
It is considered that the facial image of second is more stable, i.e., second without shaking or rotating head on a large scale.It, can be with if being subjected to displacement
Think that the facial image of second is unstable, i.e., second shakes or has rotated head, and amplitude is larger.For example, in the present embodiment, terminal
Detect that position of the facial image of second in above-mentioned 4 frame image in picture is not subjected to displacement.
Then, terminal can obtain current environmental light brightness, and according to the environmental light brightness, and whether judgement is currently in
Half-light environment.For example, terminal is judged to be currently at half-light environment.
Later, terminal can be according to the above-mentioned information got:Position does not occur for position of the facial image of second in picture
It moves, and is currently at half-light environment, determine a target frame number.For example, the target frame number determined is 6 frames.
Hereafter, after first, which is pressed, takes pictures button, terminal can obtain the collected image about second of 6 frames.For example, terminal
Nearest image of collected 6 frame about second can be obtained from buffer queue, such as according to time order and function, this 6 frame image point
It Wei not A, B, C, D, E, F.
After getting 6 frame images, terminal can carry out the 6 frame image recognition of face, and face in detection image
The eyes size divided.For example, indicated in A, B, C, D, E, F image the numerical value of the eyes size of second be respectively 80,82,83,84,
85、84.Due to the single image that this 6 frame image is second, terminal can be by that frame image of largest eyes in this 6 frame image
It is determined as the first image, i.e. image E is confirmed as the first image.
After image E is determined as the first image, terminal can obtain the used sensitivity when acquiring image E, and
Detect whether the sensitivity is less than predetermined threshold value.For example, sensitivity used in terminal is 800 when acquiring image E, and preset
Threshold value is 800.So, since sensitivity used in the terminal when acquiring image E is equal to predetermined threshold value, terminal can be sentenced
Break and to need to carry out noise reduction process to image E.In this case, terminal can be according to including the continuous acquisition including image E
The 4 frame images arrived carry out noise reduction process to image E.For example, terminal can carry out multiframe drop according to image C, D, F to image E
It makes an uproar processing.When carrying out multiframe noise reduction, image C, D, E, F can be first aligned by terminal, and obtain each group of alignment picture in image
The pixel value of element.If the pixel value of same group of snap to pixels is not much different, then terminal can calculate the picture of this group of snap to pixels
Element value mean value, then replace with the pixel value mean value pixel value of the respective pixel of image E.If the pixel of same group of snap to pixels
Value difference is more, then can not be adjusted to the pixel value in image E.
For example, pixel P2, the pixel P3 in image E and the pixel in image F in pixel P1, image D in image C
P4 is one group of pixel being mutually aligned, and the pixel value that the pixel value that wherein pixel value of P1 is 101, P2 is 102, P3 is 103, P4
Pixel value be 104, then the pixel value mean value for the pixel that this group is mutually aligned be 102.5, then terminal can be by image E
In the pixel values of P3 pixels be adjusted to 102.5 by 103, to carry out noise reduction process to the P3 pixels in image E.If the picture of P1
The pixel value that the pixel value that the pixel value that element value is 80, P2 is 83, P3 is 103, P4 is 90, then due to their pixel value phase
Difference is more, and terminal can not adjust the pixel value of P3 at this time, i.e. the pixel value holding 103 of P3 is constant.
After carrying out multiframe noise reduction process to image E, the image E after noise reduction process can be output to photograph album by terminal
In become a photo.It is understood that image E is the big eye photo of the second taken.
It it is the 8th second after the completion of second is taken pictures in first, first is at once again third, fourth and penta shoots group photo, as shown in Figure 4.Similarly,
After the preview interface for entering camera, terminal acquires a frame image at regular intervals according to current collected environmental parameter.
Before first presses the button of taking pictures of camera, terminal can first obtain collected 4 frame image from buffer queue, it is possible to understand that
It includes third, fourth and penta facial image in this 4 frame image to be.Then, terminal can detect third, fourth and penta in this 4 frame image
Position of the facial image in picture whether be subjected to displacement.For example, in the present embodiment, terminal detects in above-mentioned 4 frame image
The third, fourth and penta position of the facial image in picture is not subjected to displacement.
Then, terminal can obtain current environmental light brightness, and according to the environmental light brightness, and whether judgement is currently in
Half-light environment.For example, terminal is judged to be currently at half-light environment.
Later, terminal can be according to the above-mentioned information got:The third, fourth and penta position of the facial image in picture not
It is subjected to displacement, and is currently at half-light environment, determine a target frame number.For example, the target frame number determined is 6
Frame.
Hereafter, after first, which is pressed, takes pictures button, it is collected about third, fourth and penta image that terminal can obtain 6 frames.Example
Such as, terminal can obtain nearest collected 6 frame about third, fourth and penta image, such as according to time elder generation from buffer queue
Afterwards, this 6 frame image is respectively H, I, J, K, L, M.
After getting 6 frame images, terminal can carry out the 6 frame image recognition of face, and face in detection image
The eyes size divided.For example, indicated in H, I, J, K, L, M image the numerical value of third eyes size be respectively 81,83,84,86,
86、85.H, indicate that the numerical value of the eyes size of fourth is respectively 75,77,77,79,78,77 in I, J, K, L, M image.H、I、J、K、
L, indicate that the numerical value of penta eyes size is respectively 84,85,86,86,88,86 in M images.
Since this 6 frame image is third, fourth and penta more people's images, terminal can determine mesh from this 6 frame image
Logo image, the larger facial image of eyes of the target image comprising third, fourth and penta 3 people.
For example, for third, the facial image of largest eyes appears in image K and L.For fourth, eye
The maximum facial image of eyeball appears in image K.For penta, the image of largest eyes appears in image L.Due to figure
As occurring the facial image of the largest eyes of two people in L, therefore image L can be determined as target image by terminal.
After image L is determined as target image, terminal can use the facial image (largest eyes) of fourth in image K to replace
Change the facial image of fourth in image L.It is understood that after the completion of facial image is replaced, third, fourth, penta 3 people in image L
Eyes be all maximum eyes in H, I, J, K, L, M this 6 frame image.
Later, terminal can obtain the used sensitivity when acquiring image L, and detect whether the sensitivity is less than in advance
If threshold value.For example, sensitivity used in terminal is 790 when acquiring image L, and predetermined threshold value is 800.
Since terminal detects that sensitivity used in terminal is less than predetermined threshold value 800 for 790 when acquiring image L, and
And difference 10 between the two is less than preset difference value 20, and the second moment of acquisition image L and the acquisition of terminal last time and defeated
It is divided into 8 seconds between the first moment for going out to photograph album to become the image E of photo, is less than predetermined interval 20 seconds, therefore terminal can
To determine to need to carry out noise reduction process to image L.
Later, terminal can obtain the 4 frame images arrived comprising the continuous acquisition including image L, for example, this 4 frame image be J,
K、L、M.Finally, terminal can carry out multiframe noise reduction process according to image J, K, M to the image L for replacing processing by face, so
The image L Jing Guo noise reduction process, which is output to photograph album, afterwards becomes photo.
Contained originally it is understood that in the present embodiment, in image L third and penta this two people big eye shape state
Facial image, and terminal replaces the facial image of fourth in image L using the facial image of the big eye shape state of fourth in image K, because
This contains the facial image of third, fourth, the big eye shape state of penta 3 people after image is replaced in image L.Later, terminal is again right
Image L carries out noise reduction process and is output in photograph album to become photo, thus the photo be third, fourth, penta this three people big eye shine
Piece, and due to having carried out noise reduction process, the imaging effect of the photo is preferable.That is, the photograph of terminal final output
Third, fourth in piece, penta 3 people eyes be all the eyes of big eye shape state.
Referring to Fig. 5, Fig. 5 is the structural schematic diagram of the processing unit of image provided by the embodiments of the present application.The place of image
Managing device 300 may include:First acquisition module 301, the second acquisition module 302 and judgment module 303.
First acquisition module 301, for obtaining environmental parameter when terminal acquires the first image.
For example, the first acquisition module 301 can first obtain environmental parameter when acquiring the first image.That is, first obtains mould
Block 301 can first obtain environmental parameter of first image when collected.
In some embodiments, above-mentioned environmental parameter can be the parameters such as sensitivity (ISO), environmental light brightness.
Whether the second acquisition module 302 has carried out the history number of noise reduction process for obtaining terminal-pair the image collected
According to.
For example, after the environmental parameter that the first acquisition module 301 gets when terminal acquires the first image, second obtains mould
Block 302 can obtain to before first image institute's the image collected whether carried out the historical data of noise reduction process.
Judgment module 303, for according to the environmental parameter and the historical data, judging whether to need to described first
Image carries out noise reduction process.
For example, get acquisition the first image when environmental parameter, and to before first image institute it is collected
After whether image has carried out the historical data of noise reduction process, judgment module 303 can be according to the environmental parameter and the history number
According to determine whether needing to carry out noise reduction process to first image.
In one embodiment, the second acquisition module 302 can be used for:
Obtain whether the second image of terminal-pair has carried out the historical data of noise reduction process, second image is in acquisition institute
Before stating the first image, terminal the last time the image collected.
In one embodiment, the second acquisition module 302 can be also used for:
Obtain the first moment of terminal acquisition described first image, and the second moment of acquisition second image;
If the time interval at first moment and second moment is less than predetermined interval, the is obtained described in terminal-pair
Whether two images have carried out the historical data of noise reduction process.
In one embodiment, the environmental parameter is sensitivity, and judgment module 303 can be used for:
If the numerical value of sensitivity when acquiring described first image is less than predetermined threshold value, and the numerical value of the sensitivity and institute
The difference for stating predetermined threshold value is less than or equal to preset difference value and the historical data indicates that the second image described in terminal-pair carries out
Noise reduction process, it is determined that go out to need to carry out noise reduction process to described first image.
In one embodiment, the second acquisition module 302 can be used for:If it is determined that terminal uses the side of multiframe noise reduction
Formula carries out noise reduction process to described first image, then obtains the history number whether the second image of terminal-pair has carried out noise reduction process
According to second image is before acquiring described first image, and terminal the last time acquires and stores the image of photograph album.
Referring to Fig. 6, Fig. 6 is another structural schematic diagram of the processing unit of image provided by the embodiments of the present application.Image
Processing unit 300 can also include:Determining module 304,
Determining module 304 is used for:When acquisition includes the image of face, according to collected at least two field pictures, determine
Go out target frame number, the target frame number is greater than or equal to 2;From collected multiple image, acquisition quantity is the target frame
Several pending images;The first image is determined from the pending image, and a symbol is included at least in described first image
Close the facial image of preset condition.
So, judgment module 303 can be also used for:If judging to need to carry out noise reduction process to described first image,
Noise reduction process is carried out to described first image according to the pending image.
In one embodiment, determining module 304 can be also used for:If each pending image is single image,
Then determine that the first image, the facial image in described first image meet preset condition from the pending image.
In one embodiment, determining module 304 can be also used for:If each pending image is more people's images,
The first image is then determined from the pending image, and a people for meeting preset condition is included at least in described first image
Face image;Determine not meet the facial image to be replaced of the preset condition from described first image;From first figure
In other pending images as outside, the target facial image for meeting the preset condition, the target facial image are determined
With the facial image that the facial image to be replaced is same subscriber;In described first image, by the face figure to be replaced
As replacing with the target facial image, the first image that processing is replaced by image is obtained.
So, the judgment module 303 can be also used for:According to the pending image, replaced by image to described
First image of processing carries out noise reduction process.
The embodiment of the present application provides a kind of computer-readable storage medium, computer program is stored thereon with, when described
When computer program executes on computers so that the computer executes in the processing method such as image provided in this embodiment
The step of.
The embodiment of the present application also provides a kind of electronic equipment, including memory, and processor, the processor is by calling institute
The computer program stored in memory is stated, the step in processing method for executing image provided in this embodiment.
For example, above-mentioned electronic equipment can be the mobile terminals such as tablet computer or smart mobile phone.Referring to Fig. 7,
Fig. 7 is the structural schematic diagram of mobile terminal provided by the embodiments of the present application.
The mobile terminal 400 may include the components such as sensor 401, memory 402, processor 403.People in the art
Member is appreciated that mobile terminal structure shown in Fig. 7 does not constitute the restriction to mobile terminal, may include more than illustrating
Or less component, either combine certain components or different components arrangement.
Sensor 401 may include such as environmental luminance sensor.
Memory 402 can be used for storing application program and data.Include that can hold in the application program that memory 402 stores
Line code.Application program can form various functions module.Processor 403 is stored in the application journey of memory 402 by operation
Sequence, to perform various functions application and data processing.
Processor 403 is the control centre of mobile terminal, utilizes each of various interfaces and the entire mobile terminal of connection
A part by running or execute the application program being stored in memory 402, and is called and is stored in memory 402
Data execute the various functions and processing data of mobile terminal, to carry out integral monitoring to mobile terminal.
In the present embodiment, the processor 403 in mobile terminal can be according to following instruction, will be one or more
The corresponding executable code of process of application program is loaded into memory 402, and is stored in storage by processor 403 to run
Application program in device 402, to realize step:
Obtain environmental parameter when terminal acquires the first image;Obtain whether terminal-pair the image collected has carried out noise reduction
The historical data of processing;According to the environmental parameter and the historical data, judge whether to need to carry out described first image
Noise reduction process.
The embodiment of the present invention also provides a kind of electronic equipment.Above-mentioned electronic equipment includes image processing circuit, at image
Managing circuit can utilize hardware and or software component to realize, it may include define ISP (Image Signal Processing, figure
As signal processing) the various processing units of pipeline.Fig. 8 is the structural schematic diagram of image processing circuit in one embodiment.Such as Fig. 8
It is shown, for purposes of illustration only, only showing the various aspects with the relevant image processing techniques of the embodiment of the present invention.
As shown in figure 8, image processing circuit includes image-signal processor 540 and control logic device 550.Imaging device
510 image datas captured are handled by image-signal processor 540 first, and image-signal processor 540 carries out image data
Analysis is to capture the image statistics for the one or more control parameters that can be used for determining and/or imaging device 510.Imaging is set
Standby 510 may include the camera with one or more lens 511 and imaging sensor 512.Imaging sensor 512 may include color
Color filter array (such as Bayer filters), imaging sensor 512 can be obtained to be captured with each imaging pixel of imaging sensor 512
Luminous intensity and wavelength information, and provide one group of raw image data being handled by image-signal processor 540.Sensor
520 can be supplied to image-signal processor 540 based on 520 interface type of sensor raw image data.520 interface of sensor
SMIA (Standard Mobile Imaging Architecture, Standard Mobile Imager framework) interface, other can be utilized
The combination of serial or parallel camera interface or above-mentioned interface.
Image-signal processor 540 handles raw image data pixel by pixel in various formats.For example, each image slices
Element can carry out one or more with the bit depth of 8,10,12 or 14 bits, image-signal processor 540 to raw image data
The statistical information of a image processing operations, collection about image data.Wherein, image processing operations can be by identical or different position
Depth accuracy carries out.
Image-signal processor 540 can also receive pixel data from video memory 530.For example, from 520 interface of sensor
Raw pixel data is sent to video memory 530, the raw pixel data in video memory 530 is available to image letter
Number processor 540 is for processing.Video memory 530 can be in a part, storage device or electronic equipment for memory device
Independent private memory, and may include DMA (Direct Memory Access, direct direct memory access (DMA)) feature.
When receiving the raw image data from 520 interface of sensor or from video memory 530, picture signal
Processor 540 can carry out one or more image processing operations, such as time-domain filtering.Treated, and image data can be transmitted to image
Memory 530, to carry out other processing before shown.Image-signal processor 540 is received from video memory 530
Data are handled, and the image real time transfer in original domain and in RGB and YCbCr color spaces is carried out to the processing data.
Image data that treated may be output to display 570, so that user watches and/or by graphics engine or GPU (Graphics
Processing Unit, graphics processor) it is further processed.In addition, the output of image-signal processor 540 also can be transmitted to
Video memory 530, and display 570 can read image data from video memory 530.In one embodiment, image
Memory 530 can be configured as realizing one or more frame buffers.In addition, the output of image-signal processor 540 is transmittable
To encoder/decoder 560, so as to encoding/decoding image data.The image data of coding can be saved, and aobvious being shown in
It is decompressed before showing in 570 equipment of device.Encoder/decoder 560 can be realized by CPU or GPU or coprocessor.
The statistical data that image-signal processor 540 determines can be transmitted to control logic device 550.For example, statistical data can
It is passed including the images such as automatic exposure, automatic white balance, automatic focusing, flicker detection, black level compensation, 511 shadow correction of lens
512 statistical information of sensor.Control logic device 550 may include the processor for executing one or more routines (such as firmware) and/or micro-
Controller, one or more routines according to the statistical data of reception, can determine imaging device 510 control parameter and control
Parameter.For example, control parameter may include 520 control parameter of sensor (such as time of integration of gain, spectrum assignment), camera
The combination for the control parameter, 511 control parameter of lens (such as focusing or zoom focal length) or these parameters of glistening.ISP control ginsengs
Number may include the gain level and color correction matrix for automatic white balance and color adjustment (for example, during RGB processing),
And 511 shadow correction parameter of lens.
It is the step of realizing the processing method of image provided in this embodiment with image processing techniques in Fig. 8 below:
Obtain environmental parameter when terminal acquires the first image;Obtain whether terminal-pair the image collected has carried out noise reduction
The historical data of processing;According to the environmental parameter and the historical data, judge whether to need to carry out described first image
Noise reduction process.
In one embodiment, electronic equipment executes whether described acquisition terminal-pair the image collected has carried out noise reduction
When the step of the historical data of processing, it can execute:Obtain the history number whether the second image of terminal-pair has carried out noise reduction process
According to second image is terminal the last time the image collected before acquiring described first image.
In one embodiment, it is described acquisition terminal acquire the first image when environmental parameter the step of after, electricity
Sub- equipment can also be performed:Obtain the first moment of terminal acquisition described first image, and acquisition second image the
Two moment.
So, electronic equipment executes the historical data whether acquisition terminal-pair second image has carried out noise reduction process
When step, it can execute:If the time interval at first moment and second moment is less than predetermined interval, terminal is obtained
Whether the historical data of noise reduction process has been carried out to second image.
In one embodiment, the environmental parameter is sensitivity, and electronic equipment executes described according to environment ginseng
When number and the historical data judge whether to need to carry out the step of noise reduction process to described first image, it can execute:If adopting
The numerical value of sensitivity when collecting described first image is less than predetermined threshold value, and the numerical value of the sensitivity and the predetermined threshold value
Difference is less than or equal to preset difference value and the historical data indicates that the second image described in terminal-pair has carried out noise reduction process,
It then determines to need to carry out noise reduction process to described first image.
In one embodiment, electronic equipment executes whether the second image of the acquisition terminal-pair has carried out noise reduction process
Historical data, the step of second image is terminal the last time the image collected before acquiring described first image
When, it can execute:If it is determined that terminal carries out noise reduction process using the mode of multiframe noise reduction to described first image, then end is obtained
Whether end has carried out the historical data of noise reduction process to the second image, second image be acquisition described first image it
Before, terminal the last time acquires and stores the image of photograph album.
In one embodiment, it is described acquisition terminal acquire the first image when environmental parameter the step of before, electricity
Sub- equipment can also be performed:When acquisition includes the image of face, according to collected at least two field pictures, target frame is determined
Number, the target frame number are greater than or equal to 2;From collected multiple image, obtains quantity and wait locating for the target frame number
Manage image;It determines the first image from the pending image, meets default item including at least one in described first image
The facial image of part.
So, after described the step of judging whether to need to carry out noise reduction process to described first image, electronic equipment
It can also be performed:If judging to need to carry out noise reduction process to described first image, according to the pending image to described
First image carries out noise reduction process.
In one embodiment, the step of the first image is determined described in electronic equipment execution from the pending image
When rapid, it can execute:If each pending image is single image, the first figure is determined from the pending image
Picture, the facial image in described first image meet preset condition.
In one embodiment, the step of the first image is determined described in electronic equipment execution from the pending image
When rapid, it can execute:If each pending image is more people's images, the first figure is determined from the pending image
Picture includes at least a facial image for meeting preset condition in described first image;It is determined not from described first image
Meet the facial image to be replaced of the preset condition;From other pending images outside described first image, determine to accord with
The target facial image of the preset condition is closed, the target facial image is same subscriber with the facial image to be replaced
Facial image;In described first image, the facial image to be replaced is replaced with into the target facial image, obtain by
Image replaces the first image of processing.
So, electronic equipment executes the step for carrying out noise reduction process to described first image according to the pending image
When rapid, it can execute:According to the pending image, first image that processing is replaced by image is carried out at noise reduction
Reason.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, there is no the portion being described in detail in some embodiment
Point, the detailed description of the processing method above with respect to image is may refer to, details are not described herein again.
The processing method category of image in the processing unit and foregoing embodiments of described image provided by the embodiments of the present application
In same design, any provided in the processing method embodiment of described image can be run in the processing unit of described image
Method, specific implementation process refer to the processing method embodiment of described image, and details are not described herein again.
It should be noted that for the processing method of the embodiment of the present application described image, those of ordinary skill in the art
It is appreciated that realize all or part of flow of the processing method of the embodiment of the present application described image, being can be by computer journey
Sequence is completed to control relevant hardware, and the computer program can be stored in a computer read/write memory medium, such as deposit
Storage in memory, and is executed by least one processor, may include in the process of implementation such as the processing method of described image
The flow of embodiment.Wherein, the storage medium can be magnetic disc, CD, read-only memory (ROM, Read Only
Memory), random access memory (RAM, Random Access Memory) etc..
For the processing unit of the described image of the embodiment of the present application, each function module can be integrated in a processing
Can also be that modules physically exist alone in chip, can also two or more modules be integrated in a module.
The form that hardware had both may be used in above-mentioned integrated module is realized, can also be realized in the form of software function module.It is described
If integrated module is realized in the form of software function module and when sold or used as an independent product, can also be stored
In a computer read/write memory medium, the storage medium is for example read-only memory, disk or CD etc..
Processing method, device, storage medium and the electronics of a kind of image provided above the embodiment of the present application are set
Standby to be described in detail, principle and implementation of the present invention are described for specific case used herein, above
The explanation of embodiment is merely used to help understand the method and its core concept of the present invention;Meanwhile for those skilled in the art
Member, according to the thought of the present invention, there will be changes in the specific implementation manner and application range, in conclusion this explanation
Book content should not be construed as limiting the invention.
Claims (11)
1. a kind of processing method of image, which is characterized in that including:
Obtain environmental parameter when terminal acquires the first image;
Obtain whether terminal-pair the image collected has carried out the historical data of noise reduction process;
According to the environmental parameter and the historical data, judge whether to need to carry out noise reduction process to described first image.
2. the processing method of image according to claim 1, which is characterized in that described acquisition terminal-pair the image collected
The step of whether having carried out the historical data of noise reduction process, including:
Obtain whether the second image of terminal-pair has carried out the historical data of noise reduction process, second image is to acquire described the
Before one image, terminal the last time the image collected.
3. the processing method of image according to claim 2, which is characterized in that acquire the first image in the acquisition terminal
When environmental parameter the step of after, further include:
Obtain the first moment of terminal acquisition described first image, and the second moment of acquisition second image;
The step of whether acquisition second image of terminal-pair has carried out the historical data of noise reduction process, including:If described first
The time interval at moment and second moment is less than predetermined interval, then obtains whether the second image described in terminal-pair is dropped
It makes an uproar the historical data of processing.
4. the processing method of image according to claim 3, which is characterized in that the environmental parameter is sensitivity, described
The step of judging whether to need to carry out noise reduction process to described first image according to the environmental parameter and the historical data, packet
It includes:
If acquire described first image when sensitivity numerical value be less than predetermined threshold value, and the numerical value of the sensitivity with it is described pre-
If the difference of threshold value is less than or equal to preset difference value and the historical data indicates that the second image described in terminal-pair is dropped
It makes an uproar processing, it is determined that go out to need to carry out noise reduction process to described first image.
5. the processing method of image according to claim 2, which is characterized in that whether the second image of the acquisition terminal-pair
The historical data of noise reduction process is carried out, second image is terminal the last time acquisition before acquiring described first image
The step of image arrived, including:
If it is determined that terminal carries out noise reduction process using the mode of multiframe noise reduction to described first image, then terminal-pair second is obtained
Whether image has carried out the historical data of noise reduction process, and second image is before acquiring described first image, and terminal is most
The nearly image for once acquiring and storing photograph album.
6. the processing method of image according to claim 5, which is characterized in that acquire the first image in the acquisition terminal
When environmental parameter the step of before, further include:
When acquisition includes the image of face, according to collected at least two field pictures, target frame number, the target frame are determined
Number is greater than or equal to 2;
From collected multiple image, the pending image that quantity is the target frame number is obtained;
It determines the first image from the pending image, meets preset condition including at least one in described first image
Facial image;
After described the step of judging whether to need to carry out noise reduction process to described first image, further include:If judging to need
Noise reduction process is carried out to described first image, then noise reduction process be carried out to described first image according to the pending image.
7. the processing method of image according to claim 6, which is characterized in that described to be determined from the pending image
The step of going out the first image, including:
If each pending image is single image, the first image is determined from the pending image, described first
Facial image in image meets the preset condition.
8. the processing method of image according to claim 6, which is characterized in that described to be determined from the pending image
The step of going out the first image, including:
If each pending image is more people's images, the first image is determined from the pending image, described first
A facial image for meeting the preset condition is included at least in image;
Determine not meet the facial image to be replaced of the preset condition from described first image;
From other pending images outside described first image, the target facial image for meeting the preset condition is determined,
The target facial image and the facial image that the facial image to be replaced is same subscriber;
In described first image, the facial image to be replaced is replaced with into the target facial image, is obtained by image
Replace the first image of processing;
Described the step of noise reduction process is carried out to described first image according to the pending image, including:It waits locating according to described
Image is managed, noise reduction process is carried out to first image for replacing processing by image.
9. a kind of processing unit of image, which is characterized in that including:
First acquisition module, for obtaining environmental parameter when terminal acquires the first image;
Second acquisition module, for obtaining whether terminal-pair the image collected has carried out the historical data of noise reduction process;
Judgment module, for according to the environmental parameter and the historical data, judge whether to need to described first image into
Row noise reduction process.
10. a kind of storage medium, is stored thereon with computer program, which is characterized in that when the computer program is in computer
When upper execution so that the computer executes such as method described in any item of the claim 1 to 8.
11. a kind of electronic equipment, including memory, processor, which is characterized in that the processor is by calling the memory
The computer program of middle storage, for executing such as method described in any item of the claim 1 to 8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810222006.1A CN108335278B (en) | 2018-03-18 | 2018-03-18 | Image processing method and device, storage medium and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810222006.1A CN108335278B (en) | 2018-03-18 | 2018-03-18 | Image processing method and device, storage medium and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108335278A true CN108335278A (en) | 2018-07-27 |
CN108335278B CN108335278B (en) | 2020-07-07 |
Family
ID=62932117
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810222006.1A Active CN108335278B (en) | 2018-03-18 | 2018-03-18 | Image processing method and device, storage medium and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108335278B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115733913A (en) * | 2021-08-25 | 2023-03-03 | 北京小米移动软件有限公司 | Continuous photographing method and device and storage medium |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2012012907A1 (en) * | 2010-07-29 | 2012-02-02 | Valorbec Société En Commandite, Représentée Par Gestion Valeo S.E.C. | Minimal iterativity anisotropic diffusion method for reducing image or video noises |
CN105163040A (en) * | 2015-09-28 | 2015-12-16 | 广东欧珀移动通信有限公司 | Image processing method and mobile terminal |
CN107180417A (en) * | 2017-05-31 | 2017-09-19 | 广东欧珀移动通信有限公司 | Photo processing method, device, computer-readable recording medium and electronic equipment |
CN107205116A (en) * | 2017-06-13 | 2017-09-26 | 广东欧珀移动通信有限公司 | Image-selecting method and Related product |
CN107464219A (en) * | 2016-06-03 | 2017-12-12 | 上海联影医疗科技有限公司 | The motion detection and noise-reduction method of consecutive image |
CN107734253A (en) * | 2017-10-13 | 2018-02-23 | 广东欧珀移动通信有限公司 | Image processing method, device, mobile terminal and computer-readable recording medium |
CN107798652A (en) * | 2017-10-31 | 2018-03-13 | 广东欧珀移动通信有限公司 | Image processing method, device, readable storage medium storing program for executing and electronic equipment |
-
2018
- 2018-03-18 CN CN201810222006.1A patent/CN108335278B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2012012907A1 (en) * | 2010-07-29 | 2012-02-02 | Valorbec Société En Commandite, Représentée Par Gestion Valeo S.E.C. | Minimal iterativity anisotropic diffusion method for reducing image or video noises |
CN105163040A (en) * | 2015-09-28 | 2015-12-16 | 广东欧珀移动通信有限公司 | Image processing method and mobile terminal |
CN107464219A (en) * | 2016-06-03 | 2017-12-12 | 上海联影医疗科技有限公司 | The motion detection and noise-reduction method of consecutive image |
CN107180417A (en) * | 2017-05-31 | 2017-09-19 | 广东欧珀移动通信有限公司 | Photo processing method, device, computer-readable recording medium and electronic equipment |
CN107205116A (en) * | 2017-06-13 | 2017-09-26 | 广东欧珀移动通信有限公司 | Image-selecting method and Related product |
CN107734253A (en) * | 2017-10-13 | 2018-02-23 | 广东欧珀移动通信有限公司 | Image processing method, device, mobile terminal and computer-readable recording medium |
CN107798652A (en) * | 2017-10-31 | 2018-03-13 | 广东欧珀移动通信有限公司 | Image processing method, device, readable storage medium storing program for executing and electronic equipment |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115733913A (en) * | 2021-08-25 | 2023-03-03 | 北京小米移动软件有限公司 | Continuous photographing method and device and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN108335278B (en) | 2020-07-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108520493A (en) | Processing method, device, storage medium and the electronic equipment that image is replaced | |
CN108259770B (en) | Image processing method, image processing device, storage medium and electronic equipment | |
CN108401110A (en) | Acquisition methods, device, storage medium and the electronic equipment of image | |
CN107948500A (en) | Image processing method and device | |
CN107592473A (en) | Exposure parameter method of adjustment, device, electronic equipment and readable storage medium storing program for executing | |
CN108419012A (en) | Photographic method, device, storage medium and electronic equipment | |
CN107833197A (en) | Method, apparatus, computer-readable recording medium and the electronic equipment of image procossing | |
CN108024054A (en) | Image processing method, device and equipment | |
CN109348088A (en) | Image denoising method, device, electronic equipment and computer readable storage medium | |
CN109672819A (en) | Image processing method, device, electronic equipment and computer readable storage medium | |
CN108574803A (en) | Choosing method, device, storage medium and the electronic equipment of image | |
CN108717530A (en) | Image processing method, device, computer readable storage medium and electronic equipment | |
CN110198418A (en) | Image processing method, device, storage medium and electronic equipment | |
CN108513069B (en) | Image processing method, image processing device, storage medium and electronic equipment | |
CN107743200A (en) | Method, apparatus, computer-readable recording medium and the electronic equipment taken pictures | |
KR20230098575A (en) | Frame Processing and/or Capture Command Systems and Techniques | |
CN108804658A (en) | Image processing method and device, storage medium, electronic equipment | |
CN110198419A (en) | Image processing method, device, storage medium and electronic equipment | |
CN110290325A (en) | Image processing method, device, storage medium and electronic equipment | |
CN107040697A (en) | Use the method for imaging and relevant camera system of gaze detection | |
CN108401109A (en) | Image acquiring method, device, storage medium and electronic equipment | |
CN108259769B (en) | Image processing method, image processing device, storage medium and electronic equipment | |
CN110278375A (en) | Image processing method, device, storage medium and electronic equipment | |
CN107563329A (en) | Image processing method, device, computer-readable recording medium and mobile terminal | |
CN108513068A (en) | Choosing method, device, storage medium and the electronic equipment of image |
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 | ||
CB02 | Change of applicant information | ||
CB02 | Change of applicant information |
Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., Ltd. Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., Ltd. |
|
GR01 | Patent grant | ||
GR01 | Patent grant |