CN104349080B - A kind of image processing method and electronic equipment - Google Patents
A kind of image processing method and electronic equipment Download PDFInfo
- Publication number
- CN104349080B CN104349080B CN201310342279.7A CN201310342279A CN104349080B CN 104349080 B CN104349080 B CN 104349080B CN 201310342279 A CN201310342279 A CN 201310342279A CN 104349080 B CN104349080 B CN 104349080B
- Authority
- CN
- China
- Prior art keywords
- area
- image
- noise reduction
- time domain
- domain noise
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Landscapes
- Image Processing (AREA)
Abstract
The invention discloses a kind of image processing method and electronic equipments, the image processing method is applied to an electronic equipment, this method comprises: the first area to the first image carries out time domain noise reduction processing, wherein, first area is the region that the distance between central pixel point of the first image is greater than that the pixel of the first pre-determined distance forms;It detects with the presence or absence of the target area for needing to carry out time domain noise reduction in the second area in the first image in addition to first area, wherein target area is the partial region of second area;When there is target area in the second area, time domain noise reduction processing is carried out to target area, and obtain by time domain noise reduction treated the second image.Through the above technical solution, the partial region of first area and second area to the first image carries out time domain noise reduction processing, it solves the prior art high technical problem of existing CPU usage when carrying out noise reduction process to image, reduces image noise reduction processing to the occupancy of CPU.
Description
Technical field
The present invention relates to multimedia technology field, in particular to a kind of image processing method and electronic equipment.
Background technique
With the continuous development of science and technology, image acquisition technology has obtained quick development, and people can pass through number
The equipment such as camera, camera of notebook computer shoot to obtain clearly picture and video, for people's lives bring many convenience and
Enjoyment.
In the prior art, image capture device when acquiring image, optical image is converted digital letter by imaging sensor
During number, due to being influenced the influence of especially electronic interferences by factors, it can make to occur to occur in image
External pixel, that is, image noise, influences the image quality of image.It is usually right in order to reduce influence of the image noise to picture quality
Image carries out time domain noise reduction processing.
In realizing the embodiment of the present application during technical solution, the discovery prior art exists as follows present inventor
Technical problem:
In the prior art, it when carrying out time domain noise reduction processing to image, needs to carry out time domain to each pixel of image
Noise reduction, since time domain noise reduction algorithm itself has certain complexity, calculation amount is larger, and the pixel of each image is few in addition
It is then millions of, it is up to up to ten million, so calculation amount is huge when the prior art carries out time domain noise reduction processing to each pixel of image
Greatly, CPU usage is high, it is seen that there are the high technologies of CPU usage to ask when carrying out image noise reduction processing to image for the prior art
Topic.
Summary of the invention
The embodiment of the present invention provides the method and electronic equipment of a kind of image procossing, for solving the prior art to image
Existing CPU usage high technical problem when image noise reduction processing is carried out, reduces image noise reduction processing to the occupancy of CPU.
The embodiment of the present application provides a kind of image processing method, is applied to an electronic equipment, which comprises
Time domain noise reduction processing is carried out to the first area of the first image, wherein the first area is and first figure
The distance between central pixel point of picture is greater than the region that the pixel of the first pre-determined distance forms;
It whether there is in second area in detection the first image in addition to the first area and need to carry out time domain
The target area of noise reduction, wherein the target area is the partial region of the second area;
When there is the target area in the second region, time domain noise reduction processing is carried out to the target area, and
It obtains by time domain noise reduction treated the second image.
Optionally, the first area to the first image carries out time domain noise reduction processing, specifically:
Each pixel to the partial pixel point in the mosaic area of the first area and in continuum carries out
Time domain noise reduction processing, wherein the mosaic area is small with the distance between the central pixel point in the first area
In the region that the pixel of the second pre-determined distance forms, second pre-determined distance is greater than first pre-determined distance, the company
Continuous region is the region in the first area in addition to the mosaic area.
Optionally, the partial pixel point in the mosaic area to the first area carries out time domain noise reduction processing
Before, the method also includes:
All pixels point in the mosaic area of the first area is divided into multiple set, wherein in each set
Each pixel is identical at a distance from the central pixel point;
Selection needs to carry out the pixel of time domain noise reduction from each set respectively, wherein apart from the central pixel point
Set where close pixel is compared with the set where the pixel remote apart from the central pixel point, the needs selected
The quantity for carrying out the pixel of time domain noise reduction is few.
Optionally, the second area in the detection the first image in addition to the first area is with the presence or absence of needs
The target area for carrying out time domain noise reduction, specifically includes:
Piecemeal motion detecting is carried out to each segmented areas in the second area respectively, obtains each piecemeal area
The exercise intensity in domain;
Detect the segmented areas for being less than first threshold in each segmented areas with the presence or absence of exercise intensity value;If so,
Then determine to exist and need to carry out the target area of time domain noise reduction, and using exercise intensity value be less than the segmented areas of first threshold as
Need to carry out the target area of time domain noise reduction;Otherwise, it determines there is no the target areas for needing to carry out time domain noise reduction.
Optionally, the first area to the first image carries out time domain noise reduction processing, specifically includes:
Determine the noise grade of the first image;
When the noise grade is greater than second threshold, time domain noise reduction processing is carried out to the first area.
Optionally, the noise grade of the determining the first image, specifically includes:
Obtain environment illumination intensity when shooting the first image;
Based on the environment illumination intensity, the noise grade of the first image is determined.
Optionally, described to be based on the environment illumination intensity, it determines the noise grade of the first image, specifically includes:
The display size of display unit based on the environment illumination intensity and the electronic equipment determines first figure
The noise grade of picture.
The embodiment of the present application also provides a kind of electronic equipment, comprising:
First processing units carry out time domain noise reduction processing for the first area to the first image, wherein firstth area
Domain is the region that the distance between central pixel point of the first image is greater than that the pixel of the first pre-determined distance forms;
First detection unit, for detect in the second area in the first image in addition to the first area whether
In the presence of the target area for needing to carry out time domain noise reduction, wherein the target area is the partial region of the second area;
The second processing unit, when for there is the target area in the second region, to the target area into
The processing of row time domain noise reduction, and obtain by time domain noise reduction treated the second image.
Optionally, the first processing units are specifically used for:
First processing subelement, in the mosaic area to the first area partial pixel point and continuum
In each pixel carry out time domain noise reduction processing, wherein the mosaic area be the first area in the middle imago
The distance between vegetarian refreshments is greater than described first less than the region that the pixel of the second pre-determined distance forms, second pre-determined distance
Pre-determined distance, the continuum are the region in the first area in addition to the mosaic area.
Optionally, the electronic equipment is specific further include:
First selecting unit, for all pixels point in the mosaic area of the first area to be divided into multiple collection
It closes, wherein each pixel in each set is identical at a distance from the central pixel point;
Second selecting unit, for selection to need to carry out the pixel of time domain noise reduction from each set respectively, wherein away from
The set where the set pixel that the central pixel point is remote with a distance from where the pixel close from the central pixel point
It compares, the quantity of that selects need the to carry out pixel of time domain noise reduction is few.
Optionally, the first detection unit specifically includes:
First obtains subelement, detects for carrying out piecemeal movement to each segmented areas in the second area respectively
It surveys, obtains the exercise intensity of each segmented areas;
First detection sub-unit, for detecting in each segmented areas with the presence or absence of exercise intensity value less than the first threshold
First segmented areas of value;If so, determining the target area for existing and needing to carry out time domain noise reduction, and exercise intensity value is less than
The segmented areas of first threshold is as the target area for needing to carry out time domain noise reduction;Otherwise, it determines there is no need to carry out time domain
The target area of noise reduction.
Optionally, the electronic equipment further include:
Determination unit enables the first processing units in institute for determining the noise grade of the first image
When stating noise grade greater than second threshold, time domain noise reduction processing is carried out to the first area.
Optionally, the determination unit specifically includes:
Second obtains subelement, for obtaining environment illumination intensity when shooting the first image;
Subelement is determined, for determining the noise grade of the first image according to the environment illumination intensity.
Optionally, the determining subelement is specifically also used to:
According to the display size of the environment illumination intensity and the display unit of the electronic equipment, first figure is determined
The noise grade of picture.
Said one or multiple technical solutions in the embodiment of the present application at least have following one or more technology effects
Fruit:
1, in the application according to the characteristic distributions of image noise, by big with the distance between central pixel point in image
The emphasis noise reduction region composed by the pixel of pre-determined distance carries out time domain noise reduction, to small with the distance between central pixel point
The non-emphasis noise reduction region composed by the pixel for being equal to pre-determined distance carries out part noise reduction, is needed with reducing in whole image
The region of time domain noise reduction is carried out, to reduce the calculation amount of time domain noise reduction processing, and then solves in the prior art to carry out image
Existing CPU usage high technical problem when noise reduction process reaches the technical effect for reducing CPU usage.
2, in this application, due to in image emphasis noise reduction region carry out time domain noise reduction when, from emphasis noise reduction area
The mosaic area adjacent with non-emphasis noise reduction region is selected in domain, and to the partial pixel in the mosaic area selected
Point carries out time domain noise reduction, avoids the image noise grade difference between emphasis noise reduction region and non-emphasis noise reduction region excessive, into
And visual lofty sense is reduced, improve the image quality of image.
3, in this application, due to in mosaic area partial pixel point carry out time domain noise reduction when, by each picture
The distance of the distance of vegetarian refreshments distance center pixel carries out set division, and from closely to far gradually increasing the picture for needing to carry out noise reduction
The quantity of vegetarian refreshments, and then effectively reduce the image noise grade difference between emphasis noise reduction region and non-emphasis noise reduction region,
So that the image transition between emphasis noise reduction region and non-emphasis noise reduction region is gentle, image is avoided to generate apparent discontinuous
Sense improves user experience.
4, piecemeal motion detecting in this application, is carried out by each piecemeal in the non-emphasis noise reduction region to image, is obtained
The exercise intensity for obtaining each piecemeal selects the target segment that exercise intensity value is less than first threshold from non-emphasis noise reduction region
Time domain noise reduction is carried out, closes the time domain noise reduction for being more than or equal to the piecemeal of first threshold to exercise intensity value, i.e., not to exercise intensity
Piecemeal carry out time domain noise reduction, avoid leaving ghost in the picture, further improve the image quality of image.
Detailed description of the invention
Fig. 1 is a kind of image processing method flow diagram that the embodiment of the present application one provides;
Fig. 2 is the region division schematic diagram when image noise reduction that the embodiment of the present application one provides is handled;
Fig. 3 is the schematic diagram for the piecemeal motion detecting that the embodiment of the present application one provides;
Fig. 4 is the picture for needing to carry out time domain noise reduction processing selected from mosaic area that the embodiment of the present application one provides
The distribution schematic diagram of vegetarian refreshments;
Fig. 5 is the flow diagram for the frame image noise reduction processing that the embodiment of the present application one provides;
Fig. 6 is the frame structure schematic diagram for a kind of electronic equipment that the embodiment of the present application two provides.
Specific embodiment
In technical solution provided by the embodiments of the present application, by image the distance between with picture centre pixel
Carry out disposable time domain noise reduction processing greater than the region where the pixel of pre-determined distance, in image with picture centre pixel
The distance between be less than or equal to the pixel of pre-determined distance where region carry out the processing of part time domain noise reduction, avoid to entire figure
As carrying out time domain noise reduction processing, to reduce the calculation amount of time domain noise reduction processing, and then solve in the prior art to carry out image
Existing CPU usage high technical problem when noise reduction process reduces CPU usage, shortens the time of image noise reduction processing.
With reference to the accompanying drawing to main realization principle, specific embodiment and its correspondence of the embodiment of the present application technical solution
The beneficial effect that can reach is explained in detail.
Embodiment one
Referring to FIG. 1, the embodiment of the present application provides a kind of method of image procossing, it is applied to an electronic equipment, the side
Method includes:
S101: time domain noise reduction processing is carried out to the first area of the first image, wherein the first area is and described the
The distance between central pixel point of one image is greater than the region that the pixel of the first pre-determined distance forms;
S201: it whether there is in the second area in detection the first image in addition to the first area and need to carry out
The target area of time domain noise reduction, wherein the target area is the partial region of the second area;
S202: when there is the target area in the second region, the target area is carried out at time domain noise reduction
Reason, and obtain by time domain noise reduction treated the second image.
Wherein, step S101 and S201 does not have successive point, and electronic equipment can first carry out S101 or first carry out
S201, certain electronic equipment can also be with parallel processing S101 and S201.
In the specific implementation process, lens imaging principle analysis discovery of the present inventor based on acquisition image: image
The middle farther away border area in range image center is the main region of image noise distribution.Because camera lens is in imaging
The heart, the more brighter displays of the light of acquisition;Closer to image edge, the light of acquisition is fewer, and brightness is darker, this phenomenon is disappearing
It embodies particularly evident in the camera of ultrathin design used in expense product, is obtained to improve the inhomogeneities of brightness of image
More consistent exposure target value can add gain in the part far from picture centre when image generates, with this parts of images
The noise of gain, this parts of images is also multiplied, so image noise is distributed mainly on the farther away edge in range image center
Region.
Referring to FIG. 2, in order to reduce calculation amount when electronic equipment carries out the processing of image time domain noise reduction, the embodiment of the present application
Before handling image noise reduction, first, second liang of big region is divided an image into, range image central pixel point is greater than first
Region division where the pixel of pre-determined distance is first area, that is, emphasis noise reduction region, which is generally image
Corner areas;Region division where range image central pixel point is less than or equal to the pixel of the first pre-determined distance is the secondth area
Domain, that is, non-emphasis noise reduction region, the non-emphasis noise reduction region be image central region, wherein first pre-determined distance by
Designer sets according to the hardware performance of image capture device and the pixel size of imaging, such as: the acquisition of electronic equipment
Image pixel is 1440*900, and the first pre-determined distance is 899 pixels, then first area is then distance center pixel
Region except 899 pixels, second area are the region within 899 pixels of distance center pixel.
Electronic equipment executes S101 to the firstth area of the first image after the first area and second area for determining image
Domain carries out time domain noise reduction processing.Specifically, S101 carries out time domain noise reduction processing to the first area of the first image, do not have to again to the
One region carries out the judgement of image noise grade and motion detecting, because in first area being the border area of image, image noise
It is small to be distributed non-key area exercise intensity that is more and being image taking, can directly carry out time domain noise reduction processing, reduce judgement
With the calculation amount of detecting.
Correspondingly, the second area in image lacks since image noise is distributed, method provided by the embodiments of the present application
Middle execution S201 and S202 carries out selective time domain noise reduction processing to second area, and detailed process is as follows:
S201: it whether there is in the second area in detection the first image in addition to the first area and need to carry out
The target area of time domain noise reduction, wherein the target area is the partial region of the second area.
S202: when there is the target area in the second region, the target area is carried out at time domain noise reduction
Reason, and obtain by time domain noise reduction treated the second image.
In the specific implementation process, S201, which detects to whether there is in the second area, needs to carry out time domain noise reduction processing
Target area can at least be realized by following three kinds of modes:
The first obtains institute firstly, carrying out piecemeal motion detecting to each segmented areas in the second area respectively
State the exercise intensity of each segmented areas;It is then detected that with the presence or absence of exercise intensity value less than the in each segmented areas
The segmented areas of one threshold value;In each segmented areas there are exercise intensity value be less than first threshold segmented areas when,
There is the target area for needing to carry out time domain noise reduction in determination, and exercise intensity value is less than the segmented areas of first threshold as need
Carry out the target area of time domain noise reduction;Otherwise, it determines there is no the target areas for needing to carry out time domain noise reduction.Wherein, described
Exercise intensity value is the speed that feature pixel is mobile in the unit time, and exercise intensity value shows more greatly the movement of feature pixel
Speed is bigger, on the contrary then smaller, if carrying out time domain noise reduction processing to the biggish segmented areas of exercise intensity, will lead to that treated
There is ghost in image, influences user to image perception, so the application only selects to divide exercise intensity value less than first threshold
Block region carries out time domain noise reduction.
Referring to FIG. 3, assuming that first threshold is that 20 pixels are per second, and the second area of the first image is detectd by movement
It surveys, detects that the exercise intensity value of second in second area piecemeal, the 4th to the 6th piecemeal and the 8th piecemeal is
25 pixels are per second, first piecemeal, third piecemeal, the 7th piecemeal and the 9th piecemeal exercise intensity value be 8
Pixel is per second, then it is target that electronic equipment, which then obtains first piecemeal, third piecemeal, the 7th piecemeal and the 9th piecemeal,
Piecemeal simultaneously carries out time domain noise reduction processing to it.
Second, target analyte detection is carried out to the second area, is judged in the second area with the presence or absence of the mesh
Mark object image, and if it exists, determine that there are the target areas in the second area, and the region where the object is made
For target area;It is on the contrary, it is determined that the target area is not present in the second area.Such as: when object is face,
By carrying out recognition of face to the second area, judge with the presence or absence of facial image in the second area, in second area
In there are when facial image, determining that there are the target areas in the second area, and using the region where face as mesh
Mark region;It is on the contrary, it is determined that the target area is not present in the second area.
The third obtains institute firstly, carrying out tone detection to each pixel in each piecemeal of the second area
State the tone average value of each piecemeal;Then judge point for being greater than default average value in each piecemeal with the presence or absence of tone average value
Block;When being greater than the piecemeal for presetting average value there are tone average value in each piecemeal, confirms and deposited in the second area
It is greater than the segmented areas of default average value as the mesh for needing to carry out time domain noise reduction in the target area, and using tone average value
Region is marked, because the probability that the higher area image noise of tone average value occurs in the second area is big, tone is put down
Mean value is greater than the region of default average value as target area;It is on the contrary, it is determined that there is no need to carry out in the second area
The target area of time domain noise reduction.
In the specific implementation process, in order to avoid the first area in the first image and the image noise between second area
Grade difference is excessive, reduces the lofty sense of image frame, and the embodiment of the present application carries out time domain in the first area to the first image
Before noise reduction process, to first area carry out mosaic area and continuum division, by the first area with image
The distance between central pixel point is greater than the first pre-determined distance and less than the region where all pixels of the second pre-determined distance point
It is divided into mosaic area, is continuum by the region division in the first area in addition to the mosaic area;By
In the mosaic area region adjacent with second area for first area, if to each pixel in mosaic area
Time domain noise reduction processing is carried out, then can make to generate apparent boundary between first area and second area, generates apparent lofty sense,
So being carried out when carrying out time domain noise reduction processing to first area to the partial pixel point in the mosaic area of the first area
Time domain noise reduction processing carries out time domain noise reduction processing to each pixel in the continuum, mosaic area was used as
Cross the gentle connection second area in region and continuum.
Referring to FIG. 4, before carrying out time domain noise reduction processing to the partial pixel point in the mosaic area, first from institute
State the pixel selected in mosaic area and need to carry out time domain noise reduction processing.Specifically, first by the institute in mosaic area
There is pixel to be divided into multiple set, wherein each pixel in each set is identical at a distance from the central pixel point;So
Afterwards, selection needs to carry out the pixel of time domain noise reduction from each set respectively, wherein the picture close apart from the central pixel point
Set where vegetarian refreshments compared with the set where the pixel remote apart from the central pixel point, select when needing to carry out
The quantity of the pixel of domain noise reduction is few.
Such as: the mosaic area in first area is the area of 900~929 pixels of range image central pixel point
Domain, then mosaic area can be divided into 30 set by the application, the pixel distance center pixel in 30 set
Distance is increased by 900 pixels to 929 pixels one by one, remoter by distance center pixel after having divided set
The more rule of pixel for needing to carry out time domain noise reduction processing is chosen, needs to carry out from time domain noise reduction from selecting in each set
The pixel of reason has selected 300 pixels to make from the set where the pixel of 900 pixels of distance center pixel
To need to carry out the pixel of time domain noise reduction, from distance center pixel 901,902,903, the picture of 90n...929 pixel
Select 300+10n pixel as needing to carry out the pixel of time domain noise reduction in set where vegetarian refreshments respectively, wherein choosing
Mode can be and randomly select, be also possible to the selection of intermittent, the application does not limit the mode of selection.
In the specific implementation process, in order to be further reduced the occupancy of electronic equipment CPU, the application is to the first image
Before carrying out time domain noise reduction processing, i.e., first area and/or second area to the first image carry out before time domain noise reduction
Image noise grade determines, when the noise grade is greater than second threshold, carries out to the first area and/or second area
Time domain noise reduction processing.The second threshold can specifically be obtained with experimental data, be less than or equal to second threshold in image noise grade
When, characterization image noise is not enough to influence image image sharpness, then electronic equipment, which is automatically closed, carries out time domain drop to image
It makes an uproar the function of processing;Image noise grade be greater than second threshold when, characterization image noise to image frame clarity have compared with
Big influence needs to carry out time domain noise reduction processing, and electronic equipment automatically turns on the function that time domain noise reduction processing is carried out to image at this time
Energy.
Specifically, the embodiment of the present application can determine image noise grade by following two mode:
Mode one obtains environment illumination intensity when shooting the first image;Based on the environment illumination intensity, determine
The noise grade of the first image.Since the formation of image noise is mainly schemed by environment illumination intensity when shooting image and acquisition
The influence of the hardware performance of picture, in the case where the hardware performance for acquiring image is certain, environment illumination intensity is less than lower threshold
When, image noise can be multiplied;When environment illumination intensity is greater than upper limit threshold, image noise will also be multiplied, and in ring
In the case that border intensity of illumination is suitable for, image noise number is greatly reduced, and has little influence on the image quality of image, so according to
The corresponding relationship of experimental data available environment illumination intensity and image noise grade, and then the ambient lighting can be based on
Intensity determines the noise grade of the first image.
Such as: it is 100lux that electronic equipment, which gets environment illumination intensity when shooting the first image, and 100lux is corresponding
Image noise grade is 8, then electronic equipment, which is based on environment illumination intensity 100lux, gets image noise grade 8, second
When threshold value is 6.5, electronic equipment determines that image noise grade is greater than second threshold, then can automatically turn at image time domain noise reduction
Function is managed, time domain noise reduction processing is carried out to the first image.
Mode two obtains environment illumination intensity when shooting the first image;Based on the environment illumination intensity and institute
The display size for stating the display unit of electronic equipment determines the noise grade of the first image.Because only considering noise sheet
The quantity of body determines noise grade, in order to guarantee that image can clearly be shown on the display of various sizes, need by
Noise quantity limits very small, however under actual conditions, when the display size of display is smaller, even if image noise number
According to the clarity on the high side that will not influence image, thus the application be also based on the first image of shooting environment illumination intensity and
The display size of the display unit of electronic equipment determines the noise grade of the first image.
Such as: the display unit of an electronic equipment shows dimensions as 15 inches, needs when image noise grade is greater than 5.5
Image noise reduction processing is carried out, electronic equipment obtains the first image by the camera of itself, can simultaneously pass by light
Environment illumination intensity when sensor gets the first image of shooting is 150lux, and the ambient lighting of the electronic equipment is strong and shows
Corresponding relationship between size and image noise grade are as follows: be 150lux, show dimensions as 15 inches in environment illumination intensity
In the case of image noise grade be 4, then electronic equipment can then obtain the noise etc. of first image according to above-mentioned corresponding relationship
Grade is 4, is next compared the noise grade of the first image with second threshold 5.5, determines that image noise grade is less than
Second threshold, the time domain noise reduction processing function to image is then automatically closed in electronic equipment at this time.
Referring to FIG. 5, below by taking electronic equipment obtains video image as an example, to the complete execution step of the embodiment of the present application
It is illustrated:
S501: the display sizes of the environment illumination intensity and electronic equipment that are got based on optical sensor determine image
Noise grade.
S502: judge whether noise grade is greater than two threshold values.When noise grade is less than or equal to second threshold, show current
The first image do not need to carry out image noise reduction processing, return to S501 at this time and determine the noise grade of next image;In noise
When grade is greater than second threshold, demonstrate the need for performing the next step image progress time domain noise reduction processing.
S503: time domain noise reduction processing, the i.e. continuum to first area and mosaic area are carried out to first area
Partial region carries out time domain noise reduction processing respectively.
S504: piecemeal motion detecting is carried out to each segmented areas of second area, and obtains the fortune of each segmented areas
Fatigue resistance.
S505: the segmented areas that exercise intensity value in all segmented areas is less than first threshold is obtained.
S506: the segmented areas using exercise intensity value less than first threshold is as target area, when carrying out to target area
Domain noise reduction process.The time domain noise reduction processing for having executed target area, which just completes, handles the image noise reduction of a frame image, entirely
Image noise reduction process reduces the deterministic process to each sub-regions of first area, it is thus also avoided that strong to moving in second area
It spends biggish region and carries out time domain noise reduction, avoid and occur ghost in image.
In the implementation embodiment of the application, by being greater than pre-determined distance with the distance between central pixel point in image
Pixel composed by key area carry out time domain noise reduction, be less than or equal to pre-determined distance to the distance between central pixel point
Pixel composed by non-key area carry out part noise reduction, to reduce the region of time domain noise reduction in whole image, to subtract
Existing CPU usage when lacking the calculation amount of time domain noise reduction processing, and then solving in the prior art to image progress noise reduction process
High technical problem reaches the technical effect for reducing CPU usage.
Further, due to in mosaic area partial pixel point carry out time domain noise reduction when, by each pixel
The distance of the distance of distance center pixel carries out set division, and from closely to far gradually increasing the pixel for needing to carry out noise reduction
Number, and then effectively reduce the image noise grade difference between emphasis noise reduction region and non-emphasis noise reduction region, so that weight
Image transition between point noise reduction region and non-emphasis noise reduction region is gentle, avoids image from generating apparent discontinuous sense, improves
User experience.
In the embodiment of the present application, piecemeal movement is carried out by each piecemeal in the non-emphasis noise reduction region to image to detect
It surveys, obtains the exercise intensity of each piecemeal, the mesh that exercise intensity value is less than first threshold is selected from non-emphasis noise reduction region
It marks piecemeal and carries out time domain noise reduction, close the time domain noise reduction for being more than or equal to the piecemeal of first threshold to exercise intensity value, i.e., not to fortune
The piecemeal of fatigue resistance carries out time domain noise reduction, avoids leaving ghost in the picture, further improves the image quality of image.
Embodiment two
Referring to FIG. 6, the embodiment of the present application provides a kind of electronic equipment, comprising:
First processing units 601 carry out time domain noise reduction processing for the first area to the first image, wherein described the
One region is the area that the distance between central pixel point of the first image is greater than that the pixel of the first pre-determined distance forms
Domain;
First detection unit 602, for detecting in the second area in the first image in addition to the first area
With the presence or absence of the target area for needing to carry out time domain noise reduction, wherein the target area is the partial region of the second area;
The second processing unit 603, when for there is the target area in the second region, to the target area
Time domain noise reduction processing is carried out, and is obtained by time domain noise reduction treated the second image.
In the specific implementation process, the first processing units 601 are specifically used for:
First processing subelement, in the mosaic area to the first area partial pixel point and continuum
In each pixel carry out time domain noise reduction processing, wherein the mosaic area be the first area in the middle imago
The distance between vegetarian refreshments is greater than described first less than the region that the pixel of the second pre-determined distance forms, second pre-determined distance
Pre-determined distance, the continuum are the region in the first area in addition to the mosaic area.
The gentle transition between first area and second area in order to realize the first image, the electronic equipment are specifically gone back
It provides:
First selecting unit 604, it is multiple for all pixels point in the mosaic area of the first area to be divided into
Set, wherein each pixel in each set is identical at a distance from the central pixel point;
Second selecting unit 605, for selection to need to carry out the pixel of time domain noise reduction from each set respectively,
In, where the pixel close apart from the central pixel point set with where the pixel remote apart from the central pixel point
Set is compared, and the quantity of that selects need the to carry out pixel of time domain noise reduction is few.
In the specific implementation process, the first detection unit 602 specifically includes:
First obtains subelement, detects for carrying out piecemeal movement to each segmented areas in the second area respectively
It surveys, obtains the exercise intensity of each segmented areas;
First detection sub-unit, for detecting in each segmented areas with the presence or absence of exercise intensity value less than the first threshold
First segmented areas of value;If so, determining the target area for existing and needing to carry out time domain noise reduction, and exercise intensity value is less than
The segmented areas of first threshold is as the target area for needing to carry out time domain noise reduction;Otherwise, it determines there is no need to carry out time domain
The target area of noise reduction.
In order to reduce the occupancy of electronic equipment CPU, the electronic equipment is also provided:
Determination unit 606 enables the first processing units to exist for determining the noise grade of the first image
When the noise grade is greater than second threshold, time domain noise reduction processing is carried out to the first area.
In the specific implementation process, the determination unit 606 specifically includes:
Second obtains subelement, for obtaining environment illumination intensity when shooting the first image;
Subelement is determined, for determining the noise grade of the first image according to the environment illumination intensity.
In order to more reasonably determine the image noise grade of the first image, the determining subelement is specifically also used to: according to
The display size of the display unit of the environment illumination intensity and the electronic equipment determines the noise etc. of the first image
Grade.
By one or more technical solutions in the embodiment of the present application, following one or more technology effects may be implemented
Fruit:
1, in the embodiment of the present application according to the characteristic distributions of image noise, by image between central pixel point
Distance is greater than emphasis noise reduction region composed by the pixel of pre-determined distance and carries out time domain noise reduction, between central pixel point
Distance is less than or equal to non-emphasis noise reduction region composed by the pixel of pre-determined distance and carries out part noise reduction, to reduce whole image
The middle region for needing to carry out time domain noise reduction to reduce the calculation amount of time domain noise reduction processing, and then solves in the prior art to figure
Existing CPU usage high technical problem when as carrying out noise reduction process reaches the technical effect for reducing CPU usage.
2, in the embodiment of the present application, due to in image emphasis noise reduction region carry out time domain noise reduction when, from emphasis
The mosaic area adjacent with non-emphasis noise reduction region is selected in noise reduction region, and to the portion in the mosaic area selected
Divide pixel to carry out time domain noise reduction, avoids the image noise grade difference mistake between emphasis noise reduction region and non-emphasis noise reduction region
Greatly, and then visual lofty sense is reduced, improves the image quality of image.
3, in the embodiment of the present application, due to pressing when carrying out time domain noise reduction to the partial pixel point in mosaic area
The distance of the distance of each pixel distance center pixel carries out set division, and from closely being dropped to far gradually increasing
The quantity for the pixel made an uproar, and then effectively reduce the image noise grade between emphasis noise reduction region and non-emphasis noise reduction region
Difference avoids image from generating significantly not so that the image transition between emphasis noise reduction region and non-emphasis noise reduction region is gentle
Continuous sense, improves user experience.
4, in the embodiment of the present application, piecemeal movement is carried out by each piecemeal in the non-emphasis noise reduction region to image to detect
It surveys, obtains the exercise intensity of each piecemeal, the mesh that exercise intensity value is less than first threshold is selected from non-emphasis noise reduction region
It marks piecemeal and carries out time domain noise reduction, close the time domain noise reduction for being more than or equal to the piecemeal of first threshold to exercise intensity value, i.e., not to fortune
The piecemeal of fatigue resistance carries out time domain noise reduction, avoids leaving ghost in the picture, further improves the image quality of image.
It should be understood by those skilled in the art that, the embodiment of the present invention can provide as method, system or computer program
Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the present invention
Apply the form of example.Moreover, it wherein includes the computer of computer usable program code that the present invention, which can be used in one or more,
The computer program implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) produces
The form of product.
The present invention be referring to according to the method for the embodiment of the present invention, the process of equipment (system) and computer program product
Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions
The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs
Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce
A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real
The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates,
Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or
The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting
Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or
The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one
The step of function of being specified in a box or multiple boxes.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art
Mind and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies
Within, then the present invention is also intended to include these modifications and variations.
Claims (14)
1. a kind of image processing method is applied to an electronic equipment, which is characterized in that the described method includes:
Time domain noise reduction processing is carried out to the first area of the first image, wherein the first area is and the first image
The distance between central pixel point is greater than the region that the pixel of the first pre-determined distance forms;
It whether there is in second area in detection the first image in addition to the first area and need to carry out time domain noise reduction
Target area, wherein the target area be the second area partial region;
When there is the target area in the second region, time domain noise reduction processing is carried out to the target area, and obtain
By time domain noise reduction treated the second image.
2. the method as described in claim 1, which is characterized in that the first area to the first image carries out at time domain noise reduction
Reason, specifically:
Each pixel to the partial pixel point in the mosaic area of the first area and in continuum carries out time domain
Noise reduction process, wherein the mosaic area is with the distance between the central pixel point in the first area less than the
The region of the pixel composition of two pre-determined distances, second pre-determined distance are greater than first pre-determined distance, the continuum
Domain is the region in the first area in addition to the mosaic area.
3. method according to claim 2, which is characterized in that the portion in the mosaic area to the first area
Before dividing pixel to carry out time domain noise reduction processing, the method also includes:
All pixels point in the mosaic area of the first area is divided into multiple set, wherein each of each set
Pixel is identical at a distance from the central pixel point;
Selection needs to carry out the pixel of time domain noise reduction from each set respectively, wherein close apart from the central pixel point
Compared with the set where the pixel remote apart from the central pixel point, that selects needs to carry out set where pixel
The quantity of the pixel of time domain noise reduction is few.
4. the method as described in claim 1, which is characterized in that in the detection the first image except the first area it
Outer second area whether there is the target area for needing to carry out time domain noise reduction, specifically include:
Piecemeal motion detecting is carried out to each segmented areas in the second area respectively, obtains each segmented areas
Exercise intensity;
Detect the segmented areas for being less than first threshold in each segmented areas with the presence or absence of exercise intensity value;If so, really
It is fixed to there is the target area for needing to carry out time domain noise reduction, and exercise intensity value is less than the segmented areas of first threshold as needs
Carry out the target area of time domain noise reduction;Otherwise, it determines there is no the target areas for needing to carry out time domain noise reduction.
5. the method as described in claim any in Claims 1 to 4, which is characterized in that the first area to the first image
Time domain noise reduction processing is carried out, is specifically included:
Determine the noise grade of the first image;
When the noise grade is greater than second threshold, time domain noise reduction processing is carried out to the first area.
6. method as claimed in claim 5, which is characterized in that the noise grade of the determining the first image is specific to wrap
It includes:
Obtain environment illumination intensity when shooting the first image;
Based on the environment illumination intensity, the noise grade of the first image is determined.
7. method as claimed in claim 5, which is characterized in that
The noise grade of the determining the first image, specifically includes:
Obtain environment illumination intensity when shooting the first image;
The display size of display unit based on the environment illumination intensity and the electronic equipment, determines the first image
Noise grade.
8. a kind of electronic equipment characterized by comprising
First processing units carry out time domain noise reduction processing for the first area to the first image, wherein the first area is
The distance between central pixel point of the first image is greater than the region that the pixel of the first pre-determined distance forms;
First detection unit whether there is for detecting in the second area in the first image in addition to the first area
Need to carry out the target area of time domain noise reduction, wherein the target area is the partial region of the second area;
The second processing unit, when for there is the target area in the second region, when being carried out to the target area
Domain noise reduction process, and obtain by time domain noise reduction treated the second image.
9. electronic equipment as claimed in claim 8, which is characterized in that the first processing units are specifically used for:
First processing subelement, in the partial pixel point and continuum in the mosaic area to the first area
Each pixel carries out time domain noise reduction processing, wherein the mosaic area be in the first area with the central pixel point
The distance between less than the second pre-determined distance the region that forms of pixel, it is default that second pre-determined distance is greater than described first
Distance, the continuum are the region in the first area in addition to the mosaic area.
10. electronic equipment as claimed in claim 9, which is characterized in that the electronic equipment is specific further include:
First selecting unit, for all pixels point in the mosaic area of the first area to be divided into multiple set,
In each pixel in each set it is identical at a distance from the central pixel point;
Second selecting unit, for selection to need to carry out the pixel of time domain noise reduction from each set respectively, wherein apart from institute
The set where the close pixel of central pixel point is stated compared with the set where the pixel remote apart from the central pixel point,
The quantity of that selects need the to carry out pixel of time domain noise reduction is few.
11. electronic equipment as claimed in claim 8, which is characterized in that the first detection unit specifically includes:
First obtains subelement, for carrying out piecemeal motion detecting to each segmented areas in the second area respectively, obtains
Obtain the exercise intensity of each segmented areas;
First detection sub-unit is less than first threshold with the presence or absence of exercise intensity value for detecting in each segmented areas
First segmented areas;If so, determining the target area for existing and needing to carry out time domain noise reduction, and by exercise intensity value less than first
The segmented areas of threshold value is as the target area for needing to carry out time domain noise reduction;Otherwise, it determines there is no need to carry out time domain noise reduction
Target area.
12. the electronic equipment as described in claim any in claim 8~11, which is characterized in that the electronic equipment further include:
Determination unit enables the first processing units to make an uproar described for determining the noise grade of the first image
When point grade is greater than second threshold, time domain noise reduction processing is carried out to the first area.
13. electronic equipment as claimed in claim 12, which is characterized in that the determination unit specifically includes:
Second obtains subelement, for obtaining environment illumination intensity when shooting the first image;
Subelement is determined, for determining the noise grade of the first image according to the environment illumination intensity.
14. electronic equipment as claimed in claim 12, which is characterized in that
The determination unit specifically includes:
Second obtains subelement, for obtaining environment illumination intensity when shooting the first image;
Determine subelement, for the display size according to the environment illumination intensity and the display unit of the electronic equipment, really
Determine the noise grade of the first image.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310342279.7A CN104349080B (en) | 2013-08-07 | 2013-08-07 | A kind of image processing method and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310342279.7A CN104349080B (en) | 2013-08-07 | 2013-08-07 | A kind of image processing method and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104349080A CN104349080A (en) | 2015-02-11 |
CN104349080B true CN104349080B (en) | 2018-12-14 |
Family
ID=52503790
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310342279.7A Active CN104349080B (en) | 2013-08-07 | 2013-08-07 | A kind of image processing method and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104349080B (en) |
Families Citing this family (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104754229B (en) * | 2015-03-27 | 2019-01-15 | 联想(北京)有限公司 | A kind of image processing method and electronic equipment |
CN105551045B (en) * | 2015-12-16 | 2019-07-26 | 联想(北京)有限公司 | A kind of temperature calculation method and electronic equipment |
CN107438146A (en) * | 2016-05-24 | 2017-12-05 | 展讯通信(上海)有限公司 | Control the method, apparatus and electronic equipment that three-dimensional noise reduction is opened |
CN106875347A (en) * | 2016-12-30 | 2017-06-20 | 努比亚技术有限公司 | A kind of picture processing device and method |
JP7278092B2 (en) * | 2019-02-15 | 2023-05-19 | キヤノン株式会社 | Image processing device, imaging device, image processing method, imaging device control method, and program |
CN111131716B (en) * | 2019-12-31 | 2021-06-15 | 联想(北京)有限公司 | Image processing method and electronic device |
CN111739091A (en) * | 2020-03-24 | 2020-10-02 | 北京京东乾石科技有限公司 | Article replacement detection method, device, equipment and medium |
CN111614867B (en) * | 2020-05-20 | 2022-04-01 | 广州市百果园信息技术有限公司 | Video denoising method and device, mobile terminal and storage medium |
CN115118881B (en) * | 2022-06-24 | 2024-07-23 | 维沃移动通信有限公司 | Signal processing circuit, image sensor, electronic device, and image processing method |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101262559A (en) * | 2008-03-28 | 2008-09-10 | 北京中星微电子有限公司 | A method and device for eliminating sequential image noise |
CN102136138A (en) * | 2011-03-28 | 2011-07-27 | 深圳市蓝韵实业有限公司 | Processing method for denoising and enhancing medical image |
CN102281386A (en) * | 2010-06-08 | 2011-12-14 | 中兴通讯股份有限公司 | Method and device for performing adaptive denoising on video image |
CN102625030A (en) * | 2011-02-01 | 2012-08-01 | 株式会社理光 | Video enhancement method and system |
Family Cites Families (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4687108B2 (en) * | 2004-01-05 | 2011-05-25 | ソニー株式会社 | Data storage device, data storage control device, data storage control method, and data storage control program |
JP2005269373A (en) * | 2004-03-19 | 2005-09-29 | Fuji Photo Film Co Ltd | Video signal processing system, and electronic video apparatus |
CN101123682B (en) * | 2006-08-11 | 2011-06-22 | 松下电器产业株式会社 | Method, device and integrated circuit for reducing image ring noise |
KR100696162B1 (en) * | 2006-08-11 | 2007-03-20 | 엠텍비젼 주식회사 | Image noise reduction apparatus and method, recorded medium recorded the program performing it |
JP4712642B2 (en) * | 2006-08-17 | 2011-06-29 | 富士通セミコンダクター株式会社 | Deblocking filter, image encoding device, and image decoding device |
US8593483B2 (en) * | 2009-10-20 | 2013-11-26 | Apple Inc. | Temporal filtering techniques for image signal processing |
US20130022288A1 (en) * | 2011-07-20 | 2013-01-24 | Sony Corporation | Image processing apparatus and method for reducing edge-induced artefacts |
CN102970541B (en) * | 2012-11-22 | 2015-05-27 | 深圳市海思半导体有限公司 | Image filtering method and device |
-
2013
- 2013-08-07 CN CN201310342279.7A patent/CN104349080B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101262559A (en) * | 2008-03-28 | 2008-09-10 | 北京中星微电子有限公司 | A method and device for eliminating sequential image noise |
CN102281386A (en) * | 2010-06-08 | 2011-12-14 | 中兴通讯股份有限公司 | Method and device for performing adaptive denoising on video image |
CN102625030A (en) * | 2011-02-01 | 2012-08-01 | 株式会社理光 | Video enhancement method and system |
CN102136138A (en) * | 2011-03-28 | 2011-07-27 | 深圳市蓝韵实业有限公司 | Processing method for denoising and enhancing medical image |
Also Published As
Publication number | Publication date |
---|---|
CN104349080A (en) | 2015-02-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104349080B (en) | A kind of image processing method and electronic equipment | |
EP3611915B1 (en) | Method and apparatus for image processing | |
CN108924420B (en) | Image shooting method, image shooting device, image shooting medium, electronic equipment and model training method | |
CN104301624B (en) | A kind of image taking brightness control method and device | |
CN104486552B (en) | A kind of method and electronic equipment obtaining image | |
CN113377198B (en) | Screen saver interaction method and device, electronic equipment and storage medium | |
CN108961303A (en) | A kind of image processing method, device, electronic equipment and computer-readable medium | |
WO2014186213A2 (en) | Providing visual effects for images | |
CN111127476A (en) | Image processing method, device, equipment and storage medium | |
CN111881862B (en) | Gesture recognition method and related device | |
CN113688820B (en) | Stroboscopic band information identification method and device and electronic equipment | |
CN113596344A (en) | Shooting processing method and device, electronic equipment and readable storage medium | |
CN109785264A (en) | Image enchancing method, device and electronic equipment | |
CN103873759B (en) | A kind of image pickup method and electronic equipment | |
CN113052923A (en) | Tone mapping method, tone mapping apparatus, electronic device, and storage medium | |
CN104063041B (en) | A kind of information processing method and electronic equipment | |
CN106201712B (en) | The method of adjustment of target identification frequency, device and mobile terminal in augmented reality | |
CN106454140B (en) | A kind of information processing method and electronic equipment | |
CN112752110B (en) | Video presentation method and device, computing device and storage medium | |
CN104702833B (en) | The method and a kind of electronic equipment of a kind of information processing | |
CN107438155A (en) | Intelligent image image pickup method | |
KR20130134546A (en) | Method for create thumbnail images of videos and an electronic device thereof | |
WO2023001110A1 (en) | Neural network training method and apparatus, and electronic device | |
CN105893578B (en) | A kind of method and device of photo selection | |
CN109658360B (en) | Image processing method and device, electronic equipment and computer storage medium |
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 |