CN105338221A - Image processing method and electronic equipment - Google Patents

Image processing method and electronic equipment Download PDF

Info

Publication number
CN105338221A
CN105338221A CN201410403751.8A CN201410403751A CN105338221A CN 105338221 A CN105338221 A CN 105338221A CN 201410403751 A CN201410403751 A CN 201410403751A CN 105338221 A CN105338221 A CN 105338221A
Authority
CN
China
Prior art keywords
image frame
noise
pixel
electronic equipment
image
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
Application number
CN201410403751.8A
Other languages
Chinese (zh)
Other versions
CN105338221B (en
Inventor
任思捷
张帆
胡娜
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201410403751.8A priority Critical patent/CN105338221B/en
Publication of CN105338221A publication Critical patent/CN105338221A/en
Application granted granted Critical
Publication of CN105338221B publication Critical patent/CN105338221B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Image Processing (AREA)

Abstract

The invention discloses an image processing method and electronic equipment and solves a problem that a noise reduction algorithm is complex as multiple image-frames are utilized for noise reduction in the prior art. Through the image processing method, only one image frame is stored, a recursion mode is utilized for noise reduction processing, and the noise reduction algorithm is improved. The electronic equipment comprises an image acquisition unit. The method comprises steps that, a present image frame is acquired through the image acquisition unit, noise reduction processing on the present image frame and a caching image frame stored in a caching unit of the electronic equipment is carried out to generate a noise reduction image; the noise reduction image is employed to update the caching image frame stored in the caching unit, an updated caching image frame is acquired, and the updated caching image frame is for subsequent noise reduction processing.

Description

A kind of image processing method and electronic equipment
Technical field
The present invention relates to electronic technology field, particularly a kind of image processing method and electronic equipment.
Background technology
Along with the fast development of digital image acquisition technology, not only the image capture device such as digital camera, digital camera is popularized, and the handheld terminal such as such as smart mobile phone, panel computer, intelligent watch also has good image collecting function.But because in these equipment, the size of photo-sensitive cell is limited, cause the photosensitive area of single pixel less than normal, the photon numbers that can receive in the unit interval is limited, cause the exposure of photo in the environment that light is more weak not enough, imaging effect is very poor.
The two kinds of methods addressed this problem at present are: one, prolonging exposure time, make photo-sensitive cell obtain the input of enough light, can produce the output compared with high s/n ratio, but camera shake when handheld device carries out IMAQ can cause motion blur; Its two, gain is carried out to the output of photo-sensitive cell, but can ground noise be amplified simultaneously, cause image to occur obvious noise, have a strong impact on picture quality.
Adopt ISO shooting can realize time for exposure shorter, clear picture, but or a large amount of noise can be introduced, need to carry out noise reduction process to image.Conventional noise reduction algorithm utilizes multiple image to carry out noise reduction, and significantly can reduce noise, but the image of buffer memory is more, noise reduction algorithm is more complicated, and the internal memory of consumption is larger, and speed is slower, the equipment such as mobile phone is difficult to accomplish real-time process, affects Consumer's Experience.
Summary of the invention
The embodiment of the present application provides a kind of image processing method and electronic equipment, for solve exist in prior art utilize multiple image to carry out noise reduction time, the technical problem of noise reduction algorithm complexity, achieve only buffer memory one two field picture, the mode of recurrence is utilized to carry out noise reduction process, to improve the technique effect of noise reduction algorithm.
On the one hand, the embodiment of the present application provides a kind of image processing method, is applied to electronic equipment, and described electronic equipment comprises image acquisition units, and described method comprises:
Current image frame is obtained by described image acquisition units collection;
Noise reduction process is carried out to described current image frame and the cache image frame be kept in the buffer unit of described electronic equipment, generates noise-reduced image;
Adopt described noise-reduced image to upgrade cache image frame in described buffer unit, obtain the cache image frame after upgrading, the cache image frame after described renewal is for carrying out follow-up described noise reduction process.
Optionally, carry out noise reduction process described to described current image frame and the cache image frame be kept in the buffer unit of described electronic equipment, after generating noise-reduced image, described method also comprises:
Judge that the noise intensity of described noise-reduced image is whether lower than the noise intensity of described cache image frame, obtains the first judged result;
When described first judged result is for being, perform step: adopt described noise-reduced image to upgrade cache image frame in described buffer unit, obtain the cache image frame after upgrading.
Optionally, carry out noise reduction process described to described current image frame and the cache image frame be kept in the buffer unit of described electronic equipment, after generating noise-reduced image, described method also comprises:
Described noise-reduced image to be presented on the display unit of described electronic equipment as preview image.
Optionally, described noise reduction process is carried out to described current image frame and the cache image frame be kept in the buffer unit of described electronic equipment, generates noise-reduced image, specifically comprise:
The weight setting the neighborhood territory pixel of the pixel in described current image frame becomes negative correlativing relation with the first difference value, and described first difference value is the difference value of described pixel and described neighborhood territory pixel;
The weight setting the respective pixel of described pixel on described cache image frame becomes negative correlativing relation with the second difference value, and described second difference value is the difference value of described pixel and described respective pixel;
Based on the weight of described neighborhood territory pixel and the weight of described respective pixel, calculate the pixel average of described current image frame and described cache image frame, generate described noise-reduced image.
Optionally, described pixel average is specially: the average gray of pixel or intensity red green blue RGB mean value.
On the other hand, the embodiment of the present application also provides a kind of electronic equipment, and described electronic equipment comprises:
Image acquisition units, for gathering acquisition current image frame;
Noise reduction unit, for carrying out noise reduction process to described current image frame and the cache image frame be kept in the buffer unit of described electronic equipment, generates noise-reduced image;
Updating block, for adopting described noise-reduced image to upgrade cache image frame in described buffer unit, obtain the cache image frame after upgrading, the cache image frame after described renewal is for carrying out follow-up described noise reduction process.
Optionally, described electronic equipment also comprises:
Judging unit, for carrying out noise reduction process described to described current image frame and the cache image frame be kept in the buffer unit of described electronic equipment, after generating noise-reduced image, judge that the noise intensity of described noise-reduced image is whether lower than the noise intensity of described cache image frame, obtains the first judged result;
Described updating block is used for when described first judged result is for being, performs step: adopt described noise-reduced image to upgrade cache image frame in described buffer unit, obtain the cache image frame after upgrading.
Optionally, described electronic equipment also comprises:
Display unit, for carrying out noise reduction process described to described current image frame and the cache image frame be kept in the buffer unit of described electronic equipment, after generating noise-reduced image, is presented at described noise-reduced image on described display unit as preview image.
Optionally, described noise reduction unit specifically comprises:
First weight setting subelement, becomes negative correlativing relation for the weight setting the neighborhood territory pixel of the pixel in described current image frame with the first difference value, and described first difference value is the difference value of described pixel and described neighborhood territory pixel;
Second weight setting subelement, become negative correlativing relation for the weight setting the respective pixel of described pixel on described cache image frame with the second difference value, described second difference value is the difference value of described pixel and described respective pixel;
Computation subunit, based on the weight of described neighborhood territory pixel and the weight of described respective pixel, calculates the pixel average of described current image frame and described cache image frame, generates described noise-reduced image.
Above-mentioned one or more technical scheme in the embodiment of the present application, at least has one or more technique effects following:
1, in the embodiment of the present application, when processing current image frame, noise reduction process being carried out to described current image frame and the cache image frame be kept in the buffer unit of described electronic equipment, generating noise-reduced image; And adopt described noise-reduced image to upgrade cache image frame in described buffer unit, obtain the cache image frame after upgrading, the cache image frame after described renewal is for carrying out follow-up described noise reduction process.In the embodiment of the present application, only buffer memory one two field picture carries out noise reduction process in a recursive manner, eliminate exist in prior art utilize multiple image to carry out noise reduction time, the technical problem of noise reduction algorithm complexity, achieve only buffer memory one two field picture, the mode of recurrence is utilized to carry out noise reduction process, to improve the technique effect of noise reduction algorithm.
2, in the embodiment of the present application, when image preview, the every two field picture obtained and a frame buffer image are carried out fusion noise reduction and obtains preview image, and then improve noise reduction algorithm, reduce operand, and then reduce the time of whole image procossing, while the noise significantly reducing preview image, the real-time of preview image can be improved.
Accompanying drawing explanation
Fig. 1 is the schematic flow sheet of image processing method in the embodiment of the present application one;
Fig. 2 is the refinement schematic flow sheet of step S20 in the embodiment of the present application one;
Fig. 3 is the schematic block diagram of electronic equipment in the embodiment of the present application two.
Embodiment
In the technical scheme that the embodiment of the present application provides, only buffer memory one two field picture carries out noise reduction process in a recursive manner, the noise-reduced image each noise reduction process obtained is as the cache image of noise reduction process next time, eliminate exist in prior art utilize multiple image to carry out noise reduction time, the technical problem of noise reduction algorithm complexity, both save memory consumption, which in turn improved noise reduction algorithm, improve the efficiency merging noise reduction.
Below by accompanying drawing and specific embodiment, technical scheme is described in detail, the specific features being to be understood that in the embodiment of the present application and embodiment is the detailed description to technical scheme, instead of the restriction to technical scheme, when not conflicting, the technical characteristic in the embodiment of the present application and embodiment can combine mutually.
Embodiment one
The embodiment of the present application provides a kind of image processing method, be applied to electronic equipment, this electronic equipment comprises image acquisition units, specifically, electronic equipment can be the equipment such as digital camera, Digital Video, smart mobile phone, panel computer, intelligent watch, intelligent glasses, image acquisition units is camera, and its photo-sensitive cell can be that charge coupled cell is (English: Charge-coupledDevice; Being called for short: CCD), also can be that complementary metal oxide semiconductors (CMOS) is (English: ComplementaryMetalOxideSemiconductor; Be called for short: CMOS), or other can carry out the sensitive component of photosensitive imaging.
As shown in Figure 1, described image processing method comprises the following steps.
S10: obtain current image frame by described image acquisition units collection.
S20: carry out noise reduction process to described current image frame and the cache image frame be kept in the buffer unit of described electronic equipment, generates noise-reduced image.
S30: adopt described noise-reduced image to upgrade cache image frame in described buffer unit, obtain the cache image frame after upgrading, the cache image frame after described renewal is for carrying out follow-up described noise reduction process.
Specifically, in step S20, calculate the pixel average of current image frame and buffer memory picture frame, can noise-reduced image be obtained.Wherein, noise reduction algorithm is the specific algorithm of the pixel average of calculating two two field picture, as: the arithmetic mean that can be the pixel asking two two field pictures also can be the weighted average asking two two field picture pixels.
In step s 30, adopt the cache image frame in noise-reduced image renewal buffer unit, obtain the cache image frame after upgrading, for follow-up noise reduction process.
In the embodiment of the present application, adopt the mode of recurrence to carry out noise reduction process, be averaging by the first two field picture and the second two field picture, the noise-reduced image of generation is averaging as cache image and the 3rd two field picture.Specifically, when first carries out noise reduction process, cache image can for the image obtained by image acquisition units, and in second time noise reduction process, for the third time noise reduction process and follow-up noise reduction process, cache image is the noise-reduced image that a front noise reduction process obtains.Such as: in the 4th noise reduction process, the noise-reduced image obtained when cache image is third time noise reduction process, the like.
Pass through technique scheme, only buffer memory one two field picture carries out noise reduction process in a recursive manner, the noise-reduced image that each noise reduction process obtains is updated to the cache image of noise reduction process next time, compare and adopt multiframe to merge the noise reduction algorithm carrying out noise reduction process, two two field pictures are adopted to carry out the algorithm of noise reduction simpler, operand is little, and then reduces image processing time, image procossing is had more ageing; Further, in whole noise reduction process process, electronic equipment only needs buffer memory one frame buffer image, compares buffer memory multiple image, reduces the consumption of internal memory, reduce the burden of electronic equipment.
Further, in the embodiment of the present application, after step S20, image processing method also comprises:
Judge that the noise intensity of described noise-reduced image is whether lower than the noise intensity of described cache image frame, obtains the first judged result.
When described first judged result is for being, perform step: adopt described noise-reduced image to upgrade cache image frame in described buffer unit, obtain the cache image frame after upgrading.
In specific implementation process, the noise intensity of two two field pictures can be judged by the Pixel Information of two two field pictures.Concrete, natural image concentrates on low-frequency spectra, and thermal noise focuses mostly on high frequency spectrum.Therefore, by the high-frequency energy size of analysis image, can the intensity of estimating noise, high-frequency energy is larger, and noise intensity is larger.In computational process, high-frequency energy can be calculated by operators such as Laplces.
Then, when noise intensity lower than cache image frame of the noise intensity of noise-reduced image, just the cache image in buffer unit is upgraded.
By technique scheme, when the noise intensity obtaining noise-reduced image is greater than the noise intensity of cache image, the cache image in buffer unit is not upgraded.Specifically, in some cases, because the time for exposure is longer or gain is excessive, the noise intensity of current image frame can be caused to increase considerably, and then cause the noise intensity merging the noise-reduced image that noise reduction generates according to current image frame and buffer memory picture frame, be greater than the noise intensity of cache image.By judging the noise intensity of noise-reduced image before renewal cache image, with the impact making the picture quality of the noise-reduced image of acquisition not be subject to the image that some noises are larger, thus ensure the effect of image noise reduction.
Further, in the embodiment of the present application, after step S20, described image processing method also comprises:
Described noise-reduced image to be presented on the display unit of described electronic equipment as preview image.
Specifically, in the image preview stage, user needs to determine whether to gather image according to the effect of preview image, therefore, needs the image procossing of electronic equipment to have higher ageing.
In the embodiment of the present application, due to only buffer memory one two field picture, realize two frame real time fusion efficiently, and noise-reduced image that noise reduction obtains will be merged as preview image display on the display unit.
Pass through technique scheme, in the image preview stage, fusion noise reduction is carried out to a two field picture of current acquisition and cache image and obtains preview image, significantly can reduce the noise of preview image when meeting the ageing requirement of image procossing, and reduce the computational burden of electronic equipment.
Further, in the embodiment of the present application, as shown in Figure 2, step S20 specifically comprises:
S201: the weight setting the neighborhood territory pixel of the pixel in described current image frame becomes negative correlativing relation with the first difference value, described first difference value is the difference value of described pixel and described neighborhood territory pixel.
S202: the weight setting the respective pixel of described pixel on described cache image frame becomes negative correlativing relation with the second difference value, and described second difference value is the difference value of described pixel and described respective pixel.
S203: based on the weight of described neighborhood territory pixel and the weight of described respective pixel, calculate the pixel average of described current image frame and described cache image frame, generate described noise-reduced image.
Specifically, in the embodiment of the present application, the fusion function adopted during noise reduction can be weighted averaging functions, can also be geometric mean function, harmonic average function etc.
Next, for weighted averaging functions, the fusion noise-reduction method in the embodiment of the present application is described.First, need to set the weight of part each in weighted averaging functions.
In the embodiment of the present application, for the average weighted pixel of participation, its difference with current pixel is larger, and weight is less, thus any rational can as the function of weight design about the decreasing function of difference.
Provide the decreasing function of concrete difference value below.
w x - 1 , y , t = e σ | | p x - 1 , y , t - p x , y , t | | q
w x + 1 , y , t = e σ | | p x + 1 , y , t - p x , y , t | | q
w x , y - 1 , t = e σ | | p x , y - 1 , t - p x , y , t | | q
w x , y + 1 , t = e σ | | p x , y + 1 , t - p x , y , t | | q
w x , y , t - 1 = e σ | | p x , y , t - 1 - p x , y , t | | q
Wherein, the coordinate of current pixel is (x, y), pixel p centered by current pixel x, y, t, p x-1, y, t, p x+1, y, t, p x, y-1, tand p x, y+1, tcentered by 4 neighborhood territory pixels of pixel, p x, y, t-1for the respective pixel on cache image, w x-1, y, t, w x+1, y, t, w x, y-1, t, w x, y+1, tcentered by four of the pixel difference value between neighborhood territory pixel and center pixel, w x, y, t-1for the difference value of respective pixel on current pixel and cache image frame (on cache image, coordinate is the pixel of (x, y)); P is pixel value, and subscript q is index parameters, between 0 ~ 4, such as: q can get 2; σ is negative, such as: can go to get
In above-mentioned formula, because σ is negative, weight becomes negative correlativing relation with difference value, and difference is larger, and weight is less.
In the embodiment of the present application, be described with 4 neighborhood territory pixels, in specific implementation process, 8 neighborhood territory pixels or more neighborhood territory pixels also can be adopted to carry out pixel average process.
Then, normalized is done to the weight of each pixel.
r x - 1 , y , t = w x - 1 , y , t w x - 1 , y , t + w x + 1 , y , t + w x , y - 1 , t + w x , y + 1 , t + w x , y , t - 1
r x + 1 , y , t = w x + 1 , y , t w x - 1 , y , t + w x + 1 , y , t + w x , y - 1 , t + w x , y + 1 , t + w x , y , t - 1
r x , y - 1 , t = w x , y - 1 , t w x - 1 , y , t + w x + 1 , y , t + w x , y - 1 , t + w x , y + 1 , t + w x , y , t - 1
r x , y + 1 , t = w x , y + 1 , t w x - 1 , y , t + w x + 1 , y , t + w x , y - 1 , t + w x , y + 1 , t + w x , y , t - 1
r x , y , t - 1 = w x , y , t - 1 w x - 1 , y , t + w x + 1 , y , t + w x , y - 1 , t + w x , y + 1 , t + w x , y , t - 1
Make r x-1, y, t+ r x+1, y, t+ r x, y-1, t+ r x, y+1, t+ r x, y, t-1=1.
Then, the pixel average of current pixel is calculated according to weighted averaging functions.
p x,y,t=r x-1,y,tp x-1,y,t+r x+1,y,tp x+1,y,t+r x,y-1,tp x,y-1,t+r x,y+1,tp x,y+1,t+r x,y,t-1p x,y,t-1
Concrete, the pixel average of current frame image and cache image can calculate in gray channel, or calculates in rgb color passage, or calculates in other color channel, and the application does not limit this.
Further, in actual applications, due to the foreground moving in preview image, cache image and current image frame can be caused to differ greatly, method in the embodiment of the present application, by setting the weight of neighborhood territory pixel and respective pixel, on the one hand, good denoising effect is had at static background place, on the other hand, at the prospect place of motion, although denoising effect can weaken, there will not be the problem such as smear, artifact.Because human eye not as so responsive to the noise perception of stationary object, so the algorithm in the application's enforcement effectively can remove the noise of the more responsive static place scenery of human eye, guarantees that good preview is experienced to the noise perception of moving object.
Further, when object of which movement, || p x, y, t-1-p x, y, t|| can be larger, thus r x, y, t-1smaller, therefore, current pixel Main Basis p x-1, y, t, p x+1, y, t, p x, y-1, tand p x, y+1, tthese four neighborhood territory pixels carry out noise reduction, thus weaken the impact that object of which movement brings image noise reduction process to a certain extent.
Embodiment two
Based on same inventive concept, the embodiment of the present application two provides a kind of electronic equipment, and as shown in Figure 3, described electronic equipment comprises:
Image acquisition units 30, for gathering acquisition current image frame;
Noise reduction unit 31, for carrying out noise reduction process to described current image frame and the cache image frame be kept in the buffer unit of described electronic equipment, generates noise-reduced image;
Updating block 32, for adopting described noise-reduced image to upgrade cache image frame in described buffer unit, obtain the cache image frame after upgrading, the cache image frame after described renewal is for carrying out follow-up described noise reduction process.
Optionally, described electronic equipment also comprises:
Judging unit, for carrying out noise reduction process described to described current image frame and the cache image frame be kept in the buffer unit of described electronic equipment, after generating noise-reduced image, judge that the noise intensity of described noise-reduced image is whether lower than the noise intensity of described cache image frame, obtains the first judged result;
Described updating block 32, for when described first judged result is for being, performs step: adopt described noise-reduced image to upgrade cache image frame in described buffer unit, obtain the cache image frame after upgrading.
Optionally, described electronic equipment also comprises:
Display unit, for carrying out noise reduction process described to described current image frame and the cache image frame be kept in the buffer unit of described electronic equipment, after generating noise-reduced image, is presented at described noise-reduced image on described display unit as preview image.
Optionally, described noise reduction unit 31 specifically comprises:
First weight setting subelement, becomes negative correlativing relation for the weight setting the neighborhood territory pixel of the pixel in described current image frame with the first difference value, and described first difference value is the difference value of described pixel and described neighborhood territory pixel;
Second weight setting subelement, become negative correlativing relation for the weight setting the respective pixel of described pixel on described cache image frame with the second difference value, described second difference value is the difference value of described pixel and described respective pixel;
Computation subunit, based on the weight of described neighborhood territory pixel and the weight of described respective pixel, calculates the pixel average of described current image frame and described cache image frame, generates described noise-reduced image.
By the one or more technical schemes in the embodiment of the present application, following one or more technique effect can be realized:
1, in the embodiment of the present application, when processing current image frame, noise reduction process being carried out to described current image frame and the cache image frame be kept in the buffer unit of described electronic equipment, generating noise-reduced image; And adopt described noise-reduced image to upgrade cache image frame in described buffer unit, obtain the cache image frame after upgrading, the cache image frame after described renewal is for carrying out follow-up described noise reduction process.In the embodiment of the present application, only buffer memory one two field picture carries out noise reduction process in a recursive manner, eliminate exist in prior art utilize multiple image to carry out noise reduction time, the technical problem of noise reduction algorithm complexity, achieve only buffer memory one two field picture, the mode of recurrence is utilized to carry out noise reduction process, to improve the technique effect of noise reduction algorithm.
2, in the embodiment of the present application, when image preview, the every two field picture obtained and a frame buffer image are carried out fusion noise reduction and obtains preview image, and then improve noise reduction algorithm, reduce operand, and then reduce the time of whole image procossing, while the noise significantly reducing preview image, the real-time of preview image can be improved.
Those skilled in the art should understand, embodiments of the invention can be provided as method, system or computer program.Therefore, the present invention can adopt the form of complete hardware embodiment, completely software implementation or the embodiment in conjunction with software and hardware aspect.And the present invention can adopt in one or more form wherein including the upper computer program implemented of computer-usable storage medium (including but not limited to magnetic disc store, CD-ROM, optical memory etc.) of computer usable program code.
The present invention describes with reference to according to the flow chart of the method for the embodiment of the present invention, equipment (system) and computer program and/or block diagram.Should understand can by the combination of the flow process in each flow process in computer program instructions realization flow figure and/or block diagram and/or square frame and flow chart and/or block diagram and/or square frame.These computer program instructions can being provided to the processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing device to produce a machine, making the instruction performed by the processor of computer or other programmable data processing device produce device for realizing the function of specifying in flow chart flow process or multiple flow process and/or block diagram square frame or multiple square frame.
These computer program instructions also can be stored in can in the computer-readable memory that works in a specific way of vectoring computer or other programmable data processing device, the instruction making to be stored in this computer-readable memory produces the manufacture comprising command device, and this command device realizes the function of specifying in flow chart flow process or multiple flow process and/or block diagram square frame or multiple square frame.
These computer program instructions also can be loaded in computer or other programmable data processing device, make on computer or other programmable devices, to perform sequence of operations step to produce computer implemented process, thus the instruction performed on computer or other programmable devices is provided for the step realizing the function of specifying in flow chart flow process or multiple flow process and/or block diagram square frame or multiple square frame.
Specifically, the computer program instructions that image processing method in the embodiment of the present application is corresponding can be stored in CD, hard disk, on the storage mediums such as USB flash disk, read by an electronic equipment when the computer program instructions corresponding with image processing method in storage medium or when being performed, comprise the steps:
Current image frame is obtained by described image acquisition units collection;
Noise reduction process is carried out to described current image frame and the cache image frame be kept in the buffer unit of described electronic equipment, generates noise-reduced image;
Adopt described noise-reduced image to upgrade cache image frame in described buffer unit, obtain the cache image frame after upgrading, the cache image frame after described renewal is for carrying out follow-up described noise reduction process.
Optionally, other computer instruction is also stored in described storage medium, these computer instructions with step: noise reduction process is carried out to described current image frame and the cache image frame be kept in the buffer unit of described electronic equipment, generate noise-reduced image, after corresponding computer instruction is performed, being performed, comprising the steps: when being performed
Judge that the noise intensity of described noise-reduced image is whether lower than the noise intensity of described cache image frame, obtains the first judged result;
When described first judged result is for being, perform step: adopt described noise-reduced image to upgrade cache image frame in described buffer unit, obtain the cache image frame after upgrading.
Optionally, other computer instruction is also stored in described storage medium, these computer instructions with step: noise reduction process is carried out to described current image frame and the cache image frame be kept in the buffer unit of described electronic equipment, generate noise-reduced image, after corresponding computer instruction is performed, being performed, comprising the steps: when being performed
Described noise-reduced image to be presented on the display unit of described electronic equipment as preview image.
Optionally, that store in described storage medium and step: noise reduction process is carried out to described current image frame and the cache image frame be kept in the buffer unit of described electronic equipment, generate noise-reduced image, corresponding computer instruction, being specifically performed in process, specifically comprises the steps:
The weight setting the neighborhood territory pixel of the pixel in described current image frame becomes negative correlativing relation with the first difference value, and described first difference value is the difference value of described pixel and described neighborhood territory pixel;
The weight setting the respective pixel of described pixel on described cache image frame becomes negative correlativing relation with the second difference value, and described second difference value is the difference value of described pixel and described respective pixel;
Based on the weight of described neighborhood territory pixel and the weight of described respective pixel, calculate the pixel average of described current image frame and described cache image frame, generate described noise-reduced image.
Optionally, described pixel average is specially: the average gray of pixel or intensity red green blue RGB mean value.
Although describe the preferred embodiments of the present invention, those skilled in the art once obtain the basic creative concept of cicada, then can make other change and amendment to these embodiments.So claims are intended to be interpreted as comprising preferred embodiment and falling into all changes and the amendment of the scope of the invention.
Obviously, those skilled in the art can carry out various change and modification to the present invention and not depart from the spirit and scope of the present invention.Like this, if these amendments of the present invention and modification belong within the scope of the claims in the present invention and equivalent technologies thereof, then the present invention is also intended to comprise these change and modification.

Claims (9)

1. an image processing method, is applied to electronic equipment, and described electronic equipment comprises image acquisition units, and described method comprises:
Current image frame is obtained by described image acquisition units collection;
Noise reduction process is carried out to described current image frame and the cache image frame be kept in the buffer unit of described electronic equipment, generates noise-reduced image;
Adopt described noise-reduced image to upgrade cache image frame in described buffer unit, obtain the cache image frame after upgrading, the cache image frame after described renewal is for carrying out follow-up described noise reduction process.
2. the method for claim 1, is characterized in that, carry out noise reduction process described to described current image frame and the cache image frame be kept in the buffer unit of described electronic equipment, after generating noise-reduced image, described method also comprises:
Judge that the noise intensity of described noise-reduced image is whether lower than the noise intensity of described cache image frame, obtains the first judged result;
When described first judged result is for being, perform step: adopt described noise-reduced image to upgrade cache image frame in described buffer unit, obtain the cache image frame after upgrading.
3. the method for claim 1, is characterized in that, carry out noise reduction process described to described current image frame and the cache image frame be kept in the buffer unit of described electronic equipment, after generating noise-reduced image, described method also comprises:
Described noise-reduced image to be presented on the display unit of described electronic equipment as preview image.
4. the method for claim 1, is characterized in that, describedly carries out noise reduction process to described current image frame and the cache image frame be kept in the buffer unit of described electronic equipment, generates noise-reduced image, specifically comprises:
The weight setting the neighborhood territory pixel of the pixel in described current image frame becomes negative correlativing relation with the first difference value, and described first difference value is the difference value of described pixel and described neighborhood territory pixel;
The weight setting the respective pixel of described pixel on described cache image frame becomes negative correlativing relation with the second difference value, and described second difference value is the difference value of described pixel and described respective pixel;
Based on the weight of described neighborhood territory pixel and the weight of described respective pixel, calculate the pixel average of described current image frame and described cache image frame, generate described noise-reduced image.
5. method as claimed in claim 4, it is characterized in that, described pixel average is specially: the average gray of pixel or intensity red green blue RGB mean value.
6. an electronic equipment, described electronic equipment comprises:
Image acquisition units, for gathering acquisition current image frame;
Noise reduction unit, for carrying out noise reduction process to described current image frame and the cache image frame be kept in the buffer unit of described electronic equipment, generates noise-reduced image;
Updating block, for adopting described noise-reduced image to upgrade cache image frame in described buffer unit, obtain the cache image frame after upgrading, the cache image frame after described renewal is for carrying out follow-up described noise reduction process.
7. electronic equipment as claimed in claim 6, it is characterized in that, described electronic equipment also comprises:
Judging unit, for carrying out noise reduction process described to described current image frame and the cache image frame be kept in the buffer unit of described electronic equipment, after generating noise-reduced image, judge that the noise intensity of described noise-reduced image is whether lower than the noise intensity of described cache image frame, obtains the first judged result;
Described updating block is used for when described first judged result is for being, performs step: adopt described noise-reduced image to upgrade cache image frame in described buffer unit, obtain the cache image frame after upgrading.
8. electronic equipment as claimed in claim 6, it is characterized in that, described electronic equipment also comprises:
Display unit, for carrying out noise reduction process described to described current image frame and the cache image frame be kept in the buffer unit of described electronic equipment, after generating noise-reduced image, is presented at described noise-reduced image on described display unit as preview image.
9. electronic equipment as claimed in claim 6, it is characterized in that, described noise reduction unit specifically comprises:
First weight setting subelement, becomes negative correlativing relation for the weight setting the neighborhood territory pixel of the pixel in described current image frame with the first difference value, and described first difference value is the difference value of described pixel and described neighborhood territory pixel;
Second weight setting subelement, become negative correlativing relation for the weight setting the respective pixel of described pixel on described cache image frame with the second difference value, described second difference value is the difference value of described pixel and described respective pixel;
Computation subunit, based on the weight of described neighborhood territory pixel and the weight of described respective pixel, calculates the pixel average of described current image frame and described cache image frame, generates described noise-reduced image.
CN201410403751.8A 2014-08-15 2014-08-15 A kind of image processing method and electronic equipment Active CN105338221B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410403751.8A CN105338221B (en) 2014-08-15 2014-08-15 A kind of image processing method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410403751.8A CN105338221B (en) 2014-08-15 2014-08-15 A kind of image processing method and electronic equipment

Publications (2)

Publication Number Publication Date
CN105338221A true CN105338221A (en) 2016-02-17
CN105338221B CN105338221B (en) 2019-01-15

Family

ID=55288477

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410403751.8A Active CN105338221B (en) 2014-08-15 2014-08-15 A kind of image processing method and electronic equipment

Country Status (1)

Country Link
CN (1) CN105338221B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106303157A (en) * 2016-08-31 2017-01-04 广州市百果园网络科技有限公司 A kind of vedio noise reduction processing method and vedio noise reduction processing means
CN106408548A (en) * 2016-04-13 2017-02-15 石家庄铁道大学 Image harmonic average denoising method
CN109040599A (en) * 2018-08-30 2018-12-18 杭州麦乐克科技股份有限公司 A kind of image data acquiring method and its equipment
CN112399087A (en) * 2020-12-07 2021-02-23 Oppo(重庆)智能科技有限公司 Image processing method, image processing apparatus, image capturing apparatus, electronic device, and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101448077A (en) * 2008-12-26 2009-06-03 四川虹微技术有限公司 Self-adapting video image 3D denoise method
US20100034296A1 (en) * 2008-08-07 2010-02-11 California Institute Of Technology Fast noise reduction in digital images and video
CN103269412A (en) * 2013-04-19 2013-08-28 华为技术有限公司 Method and device for denoising video image
CN103533214A (en) * 2013-10-01 2014-01-22 中国人民解放军国防科学技术大学 Video real-time denoising method based on kalman filtering and bilateral filtering
CN103873743A (en) * 2014-03-24 2014-06-18 中国人民解放军国防科学技术大学 Video de-noising method based on structure tensor and Kalman filtering

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100034296A1 (en) * 2008-08-07 2010-02-11 California Institute Of Technology Fast noise reduction in digital images and video
CN101448077A (en) * 2008-12-26 2009-06-03 四川虹微技术有限公司 Self-adapting video image 3D denoise method
CN103269412A (en) * 2013-04-19 2013-08-28 华为技术有限公司 Method and device for denoising video image
CN103533214A (en) * 2013-10-01 2014-01-22 中国人民解放军国防科学技术大学 Video real-time denoising method based on kalman filtering and bilateral filtering
CN103873743A (en) * 2014-03-24 2014-06-18 中国人民解放军国防科学技术大学 Video de-noising method based on structure tensor and Kalman filtering

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106408548A (en) * 2016-04-13 2017-02-15 石家庄铁道大学 Image harmonic average denoising method
CN106303157A (en) * 2016-08-31 2017-01-04 广州市百果园网络科技有限公司 A kind of vedio noise reduction processing method and vedio noise reduction processing means
CN109040599A (en) * 2018-08-30 2018-12-18 杭州麦乐克科技股份有限公司 A kind of image data acquiring method and its equipment
CN112399087A (en) * 2020-12-07 2021-02-23 Oppo(重庆)智能科技有限公司 Image processing method, image processing apparatus, image capturing apparatus, electronic device, and storage medium

Also Published As

Publication number Publication date
CN105338221B (en) 2019-01-15

Similar Documents

Publication Publication Date Title
CN108898567B (en) Image noise reduction method, device and system
EP3674967B1 (en) Image signal processing method, apparatus and device
CN109671106B (en) Image processing method, device and equipment
CN111418201A (en) Shooting method and equipment
CN104349066A (en) Method and device for generating images with high dynamic ranges
JP2016503926A (en) Image processing method and apparatus, and photographing terminal
Im et al. Single image-based ghost-free high dynamic range imaging using local histogram stretching and spatially-adaptive denoising
CN104917973B (en) Dynamic exposure method of adjustment and its electronic device
US9704227B2 (en) Method and apparatus for image enhancement
CN112272832A (en) Method and system for DNN-based imaging
CN113706421B (en) Image processing method and device, electronic equipment and storage medium
WO2023273868A1 (en) Image denoising method and apparatus, terminal, and storage medium
CN105338221A (en) Image processing method and electronic equipment
CN110838088B (en) Multi-frame noise reduction method and device based on deep learning and terminal equipment
CN112308797A (en) Corner detection method and device, electronic equipment and readable storage medium
WO2016097468A1 (en) Method, apparatus and computer program product for blur estimation
CN112634160A (en) Photographing method and device, terminal and storage medium
CN113962859A (en) Panorama generation method, device, equipment and medium
WO2016026072A1 (en) Method, apparatus and computer program product for generation of extended dynamic range color images
CN111416937B (en) Image processing method, image processing device, storage medium and mobile equipment
Lang et al. A real-time high dynamic range intensified complementary metal oxide semiconductor camera based on FPGA
CN107451972B (en) Image enhancement method, device and computer readable storage medium
EP3062288B1 (en) Method, apparatus and computer program product for reducing chromatic aberrations in deconvolved images
CN113706402A (en) Neural network training method and device and electronic equipment
KR20090063826A (en) Method for processing image

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant