CN104349080A - Image processing method and electronic equipment - Google Patents

Image processing method and electronic equipment Download PDF

Info

Publication number
CN104349080A
CN104349080A CN201310342279.7A CN201310342279A CN104349080A CN 104349080 A CN104349080 A CN 104349080A CN 201310342279 A CN201310342279 A CN 201310342279A CN 104349080 A CN104349080 A CN 104349080A
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.)
Granted
Application number
CN201310342279.7A
Other languages
Chinese (zh)
Other versions
CN104349080B (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 CN201310342279.7A priority Critical patent/CN104349080B/en
Publication of CN104349080A publication Critical patent/CN104349080A/en
Application granted granted Critical
Publication of CN104349080B publication Critical patent/CN104349080B/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. The image processing method is applied to the electronic equipment, and comprises the following steps that the time domain noise reducing processing is carried out on a first region of a first image, wherein the first region is a region formed by pixel points with the distance, between center pixel points of the first image, being greater than the first preset distance; whether a target region requiring the time domain noise reduction exists in a second region beyond the first region in the first image or not is detected, wherein the target region is a partial region of the second region; when the target region exists in the second region, the target region is subjected to time domain noise reducing processing, and in addition, the second image subjected to the time domain noise reducing processing is obtained. Through the technical scheme, partial regions of the first region and the second region are subjected to time domain noise reducing processing, the technical problem of high CPU (central processing unit) occupation rate during the noise reducing processing on the image in the prior art is solved, and the CPU occupation rate by the image noise reducing processing is reduced.

Description

A kind of image processing method and electronic equipment
Technical field
The present invention relates to multimedia technology field, particularly a kind of image processing method and electronic equipment.
Background technology
Along with the development of science and technology, acquisition technology obtains and develops fast, and people can obtain picture and video clearly by the shooting of the equipment such as digital camera, camera of notebook computer, and the life for people brings many convenience and enjoyment.
In prior art, image capture device gather image time, optical image is converted in the process of digital signal by imageing sensor, due to the impact of the impact particularly electronic jamming by factors, can make to occur the external pixel that should not occur and image noise, the image quality of effect diagram picture in image.In order to reduce the impact of image noise on picture quality, usually time domain noise reduction process is carried out to image.
Present inventor, in the process realizing technical scheme in the embodiment of the present application, finds that prior art exists following technical problem:
In prior art, when carrying out time domain noise reduction process to image, need to carry out time domain noise reduction to each pixel of image, because time domain noise reduction algorithm itself has certain complexity, amount of calculation is larger, in addition the pixel of each image is millions of at least, as many as is up to ten million, so when each pixel of prior art to image carries out time domain noise reduction process, amount of calculation is huge, CPU usage is high, there is the high technical problem of CPU usage in visible prior art when carrying out image noise reduction process to image.
Summary of the invention
The embodiment of the present invention provides a kind of method and electronic equipment of image procossing, for solving the high technical problem of CPU usage that prior art exists when carrying out image noise reduction process to image, reduces image noise reduction process to the occupancy of CPU.
The embodiment of the present application provides a kind of image processing method, is applied to an electronic equipment, and described method comprises:
Carry out time domain noise reduction process to the first area of the first image, wherein, described first area is the region that pixel that the distance between the central pixel point of described first image is greater than the first predeterminable range forms;
Detect the target area whether existing in the second area in described first image except described first area and need to carry out time domain noise reduction, wherein said target area is the subregion of described second area;
When there is described target area in described second area, time domain noise reduction process is carried out to described target area, and obtain the second image after time domain noise reduction process.
Optionally, time domain noise reduction process is carried out in the described first area to the first image, is specially:
Time domain noise reduction process is carried out to the partial pixel point in the mosaic area of described first area and each pixel in continuum, wherein, described mosaic area is the region that pixel that the distance in described first area and between described central pixel point is less than the second predeterminable range forms, described second predeterminable range is greater than described first predeterminable range, and described continuum is the region in described first area except described mosaic area.
Optionally, described time domain noise reduction process is carried out to the partial pixel point in the mosaic area of described first area before, described method also comprises:
All pixels in the mosaic area of described first area are divided into multiple set, and each pixel wherein in each set is identical with the distance of described central pixel point;
Select respectively to need the pixel carrying out time domain noise reduction from each set, wherein, the set at the pixel place near apart from described central pixel point is compared with the set at the pixel place far away apart from described central pixel point, and that selects needs the quantity of the pixel carrying out time domain noise reduction few.
Optionally, whether the second area in described first image of described detection except described first area exists the target area needing to carry out time domain noise reduction, specifically comprises:
Respectively piecemeal motion detecting is carried out to each segmented areas in described second area, obtain the exercise intensity of described each segmented areas;
Detect in described each segmented areas the segmented areas that whether there is exercise intensity value and be less than first threshold; If so, then determine to there is the target area needing to carry out time domain noise reduction, and segmented areas exercise intensity value being less than first threshold is as the target area needing to carry out time domain noise reduction; Otherwise, determine not exist the target area needing to carry out time domain noise reduction.
Optionally, time domain noise reduction process is carried out in the described first area to the first image, specifically comprises:
Determine the noise grade of described first image;
When described noise grade is greater than Second Threshold, time domain noise reduction process is carried out to described first area.
Optionally, the described noise grade determining described first image, specifically comprises:
Obtain environment illumination intensity during described first image of shooting;
Based on described environment illumination intensity, determine the noise grade of described first image.
Optionally, described based on described environment illumination intensity, determine the noise grade of described first image, specifically comprise:
Based on the display size of the display unit of described environment illumination intensity and described electronic equipment, determine the noise grade of described first image.
The embodiment of the present application also provides a kind of electronic equipment, comprising:
First processing unit, for carrying out time domain noise reduction process to the first area of the first image, wherein, described first area is the region that pixel that the distance between the central pixel point of described first image is greater than the first predeterminable range forms;
First detecting unit, for detecting the target area whether existing in the second area in described first image except described first area and need to carry out time domain noise reduction, wherein said target area is the subregion of described second area;
Second processing unit, during for there is described target area in described second area, carries out time domain noise reduction process to described target area, and obtains the second image after time domain noise reduction process.
Optionally, described first processing unit specifically for:
First process subelement, time domain noise reduction process is carried out for the partial pixel point in the mosaic area to described first area and each pixel in continuum, wherein said mosaic area is the region that pixel that the distance in described first area and between described central pixel point is less than the second predeterminable range forms, described second predeterminable range is greater than described first predeterminable range, and described continuum is the region in described first area except described mosaic area.
Optionally, described electronic equipment specifically also comprises:
First selected cell, for all pixels in the mosaic area of described first area are divided into multiple set, each pixel wherein in each set is identical with the distance of described central pixel point;
Second selected cell, the pixel carrying out time domain noise reduction is needed for selecting from each set respectively, wherein, the set at the pixel place near apart from described central pixel point is compared with the set at the pixel place far away apart from described central pixel point, and that selects needs the quantity of the pixel carrying out time domain noise reduction few.
Optionally, described first detecting unit specifically comprises:
First obtains subelement, for carrying out piecemeal motion detecting to each segmented areas in described second area respectively, obtains the exercise intensity of described each segmented areas;
First detection sub-unit, for detecting in described each segmented areas the first segmented areas that whether there is exercise intensity value and be less than first threshold; If so, then determine to there is the target area needing to carry out time domain noise reduction, and segmented areas exercise intensity value being less than first threshold is as the target area needing to carry out time domain noise reduction; Otherwise, determine not exist the target area needing to carry out time domain noise reduction.
Optionally, described electronic equipment also comprises:
Determining unit, for determining the noise grade of described first image, makes described first processing unit when described noise grade is greater than Second Threshold, can carry out time domain noise reduction process to described first area.
Optionally, described determining unit specifically comprises:
Second obtains subelement, for obtaining environment illumination intensity during described first image of shooting;
Determine subelement, for according to described environment illumination intensity, determine the noise grade of described first image.
Optionally, described determine subelement concrete also for:
According to the display size of the display unit of described environment illumination intensity and described electronic equipment, determine the noise grade of described first 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 characteristic distributions of the application according to image noise, time domain noise reduction is carried out in the emphasis noise reduction region consisted of the pixel being greater than predeterminable range to the distance in image and between central pixel point, part noise reduction is carried out in the non-emphasis noise reduction region that the pixel being less than or equal to predeterminable range to the distance between central pixel point forms, the region of time domain noise reduction is needed to carry out to reduce in whole image, thus reduce the amount of calculation of time domain noise reduction process, and then the technical problem that when carrying out noise reduction process to image in solution prior art, the CPU usage of existence is high, reach the technique effect reducing CPU usage.
2, in this application, due to when carrying out time domain noise reduction to the emphasis noise reduction region in image, the mosaic area adjacent with non-emphasis noise reduction region is selected from emphasis noise reduction region, and time domain noise reduction is carried out to the partial pixel point in the mosaic area selected, avoid the image noise grade difference between emphasis noise reduction region and non-emphasis noise reduction region excessive, and then reduce visual lofty sense, improve the image quality of image.
3, in this application, due to when carrying out time domain noise reduction to the partial pixel point in mosaic area, carry out set by the distance of the distance of each pixel distance center pixel to divide, and increase to far away the quantity needing the pixel carrying out noise reduction near gradually, and then the effective image noise grade difference reduced between emphasis noise reduction region and non-emphasis noise reduction region, make the image transition between emphasis noise reduction region and non-emphasis noise reduction region mild, avoid image to produce obvious discontinuous sense, improve Consumer's Experience.
4, in this application, piecemeal motion detecting is carried out by each piecemeal in the non-emphasis noise reduction region to image, obtain the exercise intensity of each piecemeal, from non-emphasis noise reduction region, select the target piecemeal that exercise intensity value is less than first threshold carry out time domain noise reduction, close the time domain noise reduction of piecemeal exercise intensity value being more than or equal to first threshold, namely not to exercise intensity piecemeal carry out time domain noise reduction, avoid leaving ghost in the picture, further increase the image quality of image.
Accompanying drawing explanation
A kind of image processing method schematic flow sheet that Fig. 1 provides for the embodiment of the present application one;
Region dividing schematic diagram during the image noise reduction process that Fig. 2 provides for the embodiment of the present application one;
The schematic diagram of the piecemeal motion detecting that Fig. 3 provides for the embodiment of the present application one;
The distribution schematic diagram needing the pixel carrying out time domain noise reduction process selected from mosaic area that Fig. 4 provides for the embodiment of the present application one;
The schematic flow sheet of the two field picture noise reduction process that Fig. 5 provides for the embodiment of the present application one;
The frame structure schematic diagram of a kind of electronic equipment that Fig. 6 provides for the embodiment of the present application two.
Embodiment
In the technical scheme that the embodiment of the present application provides, disposable time domain noise reduction process is carried out by the region at the pixel place distance in image and between picture centre pixel being greater than to predeterminable range, the process of part time domain noise reduction is carried out in region distance in image and between picture centre pixel being less than or equal to the pixel place of predeterminable range, avoid carrying out time domain noise reduction process to whole image, thus reduce the amount of calculation of time domain noise reduction process, and then the technical problem that when carrying out noise reduction process to image in solution prior art, the CPU usage of existence is high, reduce CPU usage, shorten the time of image noise reduction process.
Below in conjunction with accompanying drawing, the main of the embodiment of the present application technical scheme is realized principle, embodiment and be explained in detail the beneficial effect that should be able to reach.
Embodiment one
Please refer to Fig. 1, the embodiment of the present application provides a kind of method of image procossing, is applied to an electronic equipment, and described method comprises:
S101: time domain noise reduction process is carried out to the first area of the first image, wherein, described first area is the region that pixel that the distance between the central pixel point of described first image is greater than the first predeterminable range forms;
S201: detect the target area whether existing in the second area in described first image except described first area and need to carry out time domain noise reduction, wherein said target area is the subregion of described second area;
S202: when there is described target area in described second area, carries out time domain noise reduction process to described target area, and obtains the second image after time domain noise reduction process.
Wherein, step S101 and S201 does not have dividing of priority, and electronic equipment first can perform S101 also first can perform S201, and certain electronic equipment also can parallel processing S101 and S201.
In specific implementation process, present inventor finds based on the lens imaging principle analysis gathering image: the border area that image middle distance picture centre is far away is the main region of image noise distribution.Because camera lens is the closer to imaging center, the more brighter display of light of collection; The closer to image edge, the fewer brightness of light gathered is darker, embody particularly evident in the camera of the ultrathin design that this phenomenon uses in consumer products, in order to the inhomogeneities improving image brightness obtains more consistent exposure target value, gain can be added in the part away from picture centre during Computer image genration, with the gain of this part image, the noise of this part image is also multiplied, so image noise is mainly distributed in range image center border area far away.
Please refer to Fig. 2, in order to reduce amount of calculation when electronic equipment carries out the process of image time domain noise reduction, the embodiment of the present application is before to image noise reduction process, image is divided into first, second two large regions, the Region dividing that range image central pixel point is greater than the pixel place of the first predeterminable range is first area and emphasis noise reduction region, and this first area is generally the corner areas of image, the Region dividing that range image central pixel point is less than or equal to the pixel place of the first predeterminable range is second area and non-emphasis noise reduction region, described non-emphasis noise reduction region is the central region of image, wherein said first predeterminable range is set according to the pixel size of the hardware performance of image capture device and imaging by designer, such as: the image pixel of the collection of electronic equipment is 1440*900, first predeterminable range is 899 pixels, so first area is then the region outside distance center pixel 899 pixels, second area is the region within distance center pixel 899 pixels.
Electronic equipment, after the first area determining image and second area, performs S101 and carries out time domain noise reduction process to the first area of the first image.Concrete, S101 carries out time domain noise reduction process to the first area of the first image, image noise grade need not be carried out to first area again to judge and motion detecting, because in first area be the border area of image, the distribution of image noise is more and be that the non-key area exercise intensity of image taking is little, directly can carry out time domain noise reduction process, reduce the amount of calculation judging and detect.
Accordingly, few because image noise distributes at the second area of image, perform S201 and S202 in the method that therefore the embodiment of the present application provides and carry out the process of selectivity time domain noise reduction to second area, detailed process is as follows:
S201: detect the target area whether existing in the second area in described first image except described first area and need to carry out time domain noise reduction, wherein said target area is the subregion of described second area.
S202: when there is described target area in described second area, carries out time domain noise reduction process to described target area, and obtains the second image after time domain noise reduction process.
In specific implementation process, S201 detects in described second area the target area whether existing and need to carry out time domain noise reduction process, at least can be realized by following three kinds of modes:
The first, first, carry out piecemeal motion detecting to each segmented areas in described second area respectively, obtain the exercise intensity of described each segmented areas; Then, the segmented areas that whether there is exercise intensity value and be less than first threshold is detected in described each segmented areas; Exercise intensity value is there is when being less than the segmented areas of first threshold in described each segmented areas, determine to exist the target area needing to carry out time domain noise reduction, and segmented areas exercise intensity value being less than first threshold is as the target area needing to carry out time domain noise reduction; Otherwise, determine not exist the target area needing to carry out time domain noise reduction.Wherein, described exercise intensity value is the speed of feature pixel movement in the unit time, exercise intensity value shows that more greatly the movement velocity of feature pixel is larger, otherwise it is then less, if the segmented areas larger to exercise intensity carries out time domain noise reduction process, the image after processing can be caused to occur ghost, affect user to image perception, so the application only selects segmented areas exercise intensity value being less than to first threshold to carry out time domain noise reduction.
Please refer to Fig. 3, suppose that first threshold is that 20 pixels are per second, and the second area of the first image is through motion detecting, detect that the exercise intensity value of second piecemeal in second area, the 4th to the 6th piecemeal and the 8th piecemeal is 25 pixels per second, it is per second that the exercise intensity value of first piecemeal, the 3rd piecemeal, the 7th piecemeal and the 9th piecemeal is 8 pixels, and so electronic equipment then obtains first piecemeal, the 3rd piecemeal, the 7th piecemeal and the 9th piecemeal are target piecemeal and carry out time domain noise reduction process to it.
The second, carries out object detection to described second area, judges whether there is described object image in described second area, if exist, determines to there is described target area in described second area, and using the region at described object place as target area; Otherwise, then determine there is not described target area in described second area.Such as: when object is face, by carrying out recognition of face to described second area, judge whether there is facial image in described second area, when there is facial image in the second area, determine to there is described target area in described second area, and using the region at face place as target area; Otherwise, then determine there is not described target area in described second area.
The third, first, carry out tone detection to each pixel in each piecemeal of described second area, obtain the tone mean value of described each piecemeal; Then judge whether to exist in each piecemeal the piecemeal that tone mean value is greater than default mean value; When there is tone mean value in described each piecemeal and being greater than the piecemeal of default mean value, confirm to there is described target area in described second area, and segmented areas tone mean value being greater than default mean value is as the target area needing to carry out time domain noise reduction, because the probability that occurs compared with high area image noise of tone mean value is large in the second area, so tone mean value is greater than the region of default mean value as target area; Otherwise, then determine in described second area, to there is not the target area needing to carry out time domain noise reduction.
In specific implementation process, in order to avoid the first area in the first image and the image noise grade difference between second area excessive, reduce the lofty sense of image frame, the embodiment of the present application is before carrying out time domain noise reduction process to the first area of the first image, first area is carried out to the division of mosaic area and continuum, distance in described first area and between picture centre pixel is greater than the first predeterminable range and the Region dividing being less than all pixel places of the second predeterminable range is mosaic area, be continuum by the Region dividing in described first area except described mosaic area, because described mosaic area is the region adjacent with second area, first area, if carry out time domain noise reduction process to each pixel in mosaic area, then can make to produce obvious boundary between first area and second area, produce obvious lofty sense, so when carrying out time domain noise reduction process to first area, time domain noise reduction process is carried out to the partial pixel point in the mosaic area of described first area, time domain noise reduction process is carried out to each pixel in described continuum, using mosaic area as the mild connection second area of transitional region and continuum.
Please refer to Fig. 4, before time domain noise reduction process is carried out to the partial pixel point in described mosaic area, first from described mosaic area, select the pixel needing to carry out time domain noise reduction process.Concrete, first all pixels in mosaic area are divided into multiple set, each pixel wherein in each set is identical with the distance of described central pixel point; Then, select respectively to need the pixel carrying out time domain noise reduction from each set, wherein, the set at the pixel place near apart from described central pixel point is compared with the set at the pixel place far away apart from described central pixel point, and that selects needs the quantity of the pixel carrying out time domain noise reduction few.
Such as: the mosaic area in first area is the region of range image central pixel point 900 ~ 929 pixels, so mosaic area can be divided into 30 set by the application, the distance of the pixel distance center pixel in 30 set is increased to 929 pixels one by one by 900 pixels, after having divided set, the more rules of the pixel that needs to carry out time domain noise reduction process are far chosen by distance center pixel, the pixel needing to carry out time domain noise reduction process is selected from each set, have selected 300 pixels as the pixel needing to carry out time domain noise reduction from the set at the pixel place of distance center pixel 900 pixels, from distance center pixel 901, 902, 903, select 300+10n pixel as the pixel needing to carry out time domain noise reduction in the set at the pixel place of 90n...929 pixel respectively, the mode wherein chosen can be random selecting, also can be choosing of intermittent, the application does not limit the mode chosen.
In specific implementation process, in order to reduce the occupancy of electronic equipment CPU further, the application is before carrying out time domain noise reduction process to the first image, namely carry out image noise grade before carrying out time domain noise reduction to the first area of the first image and/or second area to determine, when described noise grade is greater than Second Threshold, time domain noise reduction process is carried out to described first area and/or second area.Described Second Threshold specifically can experimental data draw, when image noise grade is less than or equal to Second Threshold, token image noise is not enough to effect diagram as image sharpness, and so electronic equipment cuts out the function of image being carried out to time domain noise reduction process automatically; When image noise grade is greater than Second Threshold, token image noise has larger impact to image frame definition, and need to carry out time domain noise reduction process, now the function of image being carried out to time domain noise reduction process opened automatically by electronic equipment.
Concrete, the embodiment of the present application can determine image noise grade by following two kinds of modes:
Mode one, obtains environment illumination intensity during described first image of shooting; Based on described environment illumination intensity, determine the noise grade of described first image.Because the formation of image noise is mainly by the impact of environment illumination intensity during photographic images with the hardware performance of collection image, when the hardware performance gathering image is certain, when environment illumination intensity is less than lower threshold, image noise can be multiplied; When environment illumination intensity is greater than upper limit threshold, image noise also will be multiplied, and when environment illumination intensity is suitable, image noise number reduces greatly, the image quality of effect diagram picture hardly, so experimentally data can obtain the corresponding relation of environment illumination intensity and image noise grade, and then the noise grade of described first image can be determined based on described environment illumination intensity.
Such as: environment illumination intensity when electronic equipment gets shooting the first image is 100lux, the image noise grade that 100lux is corresponding is 8, so electronic equipment gets image noise grade 8 based on environment illumination intensity 100lux, when Second Threshold is 6.5, electronic equipment determines that image noise grade is greater than Second Threshold, then automatically can open image time domain noise reduction processing capacity, time domain noise reduction process is carried out to the first image.
Mode two, obtains environment illumination intensity during described first image of shooting; Based on the display size of the display unit of described environment illumination intensity and described electronic equipment, determine the noise grade of described first image.Because only consider that the quantity of noise itself determines noise grade, in order to ensure that image all can clearly show on the display of various sizes, what need noise restricted number to obtain very is little, but under actual conditions, when the display size of display is less, also can not the definition of effect diagram picture even if image noise data are on the high side, so the application can also determine the noise grade of the first image based on the display size of the display unit of the environment illumination intensity of shooting first image and electronic equipment.
Such as: the display unit of an electronic equipment show dimensions as 15 inches, need to carry out image noise reduction process when image noise grade is greater than 5.5, electronic equipment obtains the first image by the camera of self, environment illumination intensity when simultaneously can get shooting the first image by optical sensor is 150lux, and the ambient lighting of this electronic equipment is strong and corresponding relation between display size and image noise grade is: be 150lux in environment illumination intensity, the situation hypograph noise grade showing dimensions as 15 inches is 4, the noise grade that so electronic equipment then can obtain this first image according to above-mentioned corresponding relation is 4, next the noise grade of the first image and Second Threshold 5.5 are compared, determine that image noise grade is less than Second Threshold, now electronic equipment then cuts out the time domain noise reduction processing capacity to image automatically.
Please refer to Fig. 5, obtain video image for electronic equipment below, the complete execution step of the embodiment of the present application is illustrated:
S501: the noise grade of the display sizes determination image of the environment illumination intensity got based on optical sensor and electronic equipment.
S502: judge whether noise grade is greater than two threshold values.When noise grade is less than or equal to Second Threshold, show that the first current image does not need to carry out image noise reduction process, now return the noise grade that S501 determines next image; When noise grade is greater than Second Threshold, show needs to this image carry out time domain noise reduction processing execution next step.
S503: carry out time domain noise reduction process to first area, namely carries out time domain noise reduction process respectively to the continuum of first area and the subregion of mosaic area.
S504: piecemeal motion detecting is carried out to each segmented areas of second area, and obtains the exercise intensity of each segmented areas.
S505: obtain exercise intensity value in all segmented areas and be less than the segmented areas of first threshold.
S506: exercise intensity value is less than the segmented areas of first threshold as target area, time domain noise reduction process is carried out to target area.The time domain noise reduction process executing target area just completes the image noise reduction process to a two field picture, whole image noise reduction process decreases the deterministic process of each sub regions to first area, also avoid the region larger to exercise intensity in second area and carry out time domain noise reduction, avoid in image and occur ghost.
In the enforcement embodiment of the application, time domain noise reduction is carried out in the key area consisted of the pixel being greater than predeterminable range to the distance in image and between central pixel point, part noise reduction is carried out in the non-key area that the pixel being less than or equal to predeterminable range to the distance between central pixel point forms, to reduce the region of time domain noise reduction in whole image, thus reduce the amount of calculation of time domain noise reduction process, and then the technical problem that when carrying out noise reduction process to image in solution prior art, the CPU usage of existence is high, reach the technique effect reducing CPU usage.
Further, due to when carrying out time domain noise reduction to the partial pixel point in mosaic area, carry out set by the distance of the distance of each pixel distance center pixel to divide, and need to increasing far gradually the pixel number carrying out noise reduction near, and then the effective image noise grade difference reduced between emphasis noise reduction region and non-emphasis noise reduction region, make the image transition between emphasis noise reduction region and non-emphasis noise reduction region mild, avoid image to produce obvious discontinuous sense, improve Consumer's Experience.
In the embodiment of the present application, piecemeal motion detecting is carried out by each piecemeal in the non-emphasis noise reduction region to image, obtain the exercise intensity of each piecemeal, from non-emphasis noise reduction region, select the target piecemeal that exercise intensity value is less than first threshold carry out time domain noise reduction, close the time domain noise reduction of piecemeal exercise intensity value being more than or equal to first threshold, namely not to exercise intensity piecemeal carry out time domain noise reduction, avoid leaving ghost in the picture, further increase the image quality of image.
Embodiment two
Please refer to Fig. 6, the embodiment of the present application provides a kind of electronic equipment, comprising:
First processing unit 601, for carrying out time domain noise reduction process to the first area of the first image, wherein, described first area is the region that pixel that the distance between the central pixel point of described first image is greater than the first predeterminable range forms;
First detecting unit 602, for detecting the target area whether existing in the second area in described first image except described first area and need to carry out time domain noise reduction, wherein said target area is the subregion of described second area;
Second processing unit 603, during for there is described target area in described second area, carries out time domain noise reduction process to described target area, and obtains the second image after time domain noise reduction process.
In specific implementation process, described first processing unit 601 specifically for:
First process subelement, time domain noise reduction process is carried out for the partial pixel point in the mosaic area to described first area and each pixel in continuum, wherein said mosaic area is the region that pixel that the distance in described first area and between described central pixel point is less than the second predeterminable range forms, described second predeterminable range is greater than described first predeterminable range, and described continuum is the region in described first area except described mosaic area.
In order to realize the gentle transition between the first area of the first image and second area, described electronic equipment specifically also provides:
First selected cell 604, for all pixels in the mosaic area of described first area are divided into multiple set, each pixel wherein in each set is identical with the distance of described central pixel point;
Second selected cell 605, the pixel carrying out time domain noise reduction is needed for selecting from each set respectively, wherein, the set at the pixel place near apart from described central pixel point is compared with the set at the pixel place far away apart from described central pixel point, and that selects needs the quantity of the pixel carrying out time domain noise reduction few.
In specific implementation process, described first detecting unit 602 specifically comprises:
First obtains subelement, for carrying out piecemeal motion detecting to each segmented areas in described second area respectively, obtains the exercise intensity of described each segmented areas;
First detection sub-unit, for detecting in described each segmented areas the first segmented areas that whether there is exercise intensity value and be less than first threshold; If so, then determine to there is the target area needing to carry out time domain noise reduction, and segmented areas exercise intensity value being less than first threshold is as the target area needing to carry out time domain noise reduction; Otherwise, determine not exist the target area needing to carry out time domain noise reduction.
In order to reduce the occupancy of electronic equipment CPU, described electronic equipment also provides:
Determining unit 606, for determining the noise grade of described first image, makes described first processing unit when described noise grade is greater than Second Threshold, can carry out time domain noise reduction process to described first area.
In specific implementation process, described determining unit 606 specifically comprises:
Second obtains subelement, for obtaining environment illumination intensity during described first image of shooting;
Determine subelement, for according to described environment illumination intensity, determine the noise grade of described first image.
In order to more reasonably determine the image noise grade of the first image, described determine subelement concrete also for: according to the display size of the display unit of described environment illumination intensity and described electronic equipment, determine the noise grade of described first 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 characteristic distributions of the embodiment of the present application according to image noise, time domain noise reduction is carried out in the emphasis noise reduction region consisted of the pixel being greater than predeterminable range to the distance in image and between central pixel point, part noise reduction is carried out in the non-emphasis noise reduction region that the pixel being less than or equal to predeterminable range to the distance between central pixel point forms, the region of time domain noise reduction is needed to carry out to reduce in whole image, thus reduce the amount of calculation of time domain noise reduction process, and then the technical problem that when carrying out noise reduction process to image in solution prior art, the CPU usage of existence is high, reach the technique effect reducing CPU usage.
2, in the embodiment of the present application, due to when carrying out time domain noise reduction to the emphasis noise reduction region in image, the mosaic area adjacent with non-emphasis noise reduction region is selected from emphasis noise reduction region, and time domain noise reduction is carried out to the partial pixel point in the mosaic area selected, avoid the image noise grade difference between emphasis noise reduction region and non-emphasis noise reduction region excessive, and then reduce visual lofty sense, improve the image quality of image.
3, in the embodiment of the present application, due to when carrying out time domain noise reduction to the partial pixel point in mosaic area, carry out set by the distance of the distance of each pixel distance center pixel to divide, and increase to far away the quantity needing the pixel carrying out noise reduction near gradually, and then the effective image noise grade difference reduced between emphasis noise reduction region and non-emphasis noise reduction region, make the image transition between emphasis noise reduction region and non-emphasis noise reduction region mild, avoid image to produce obvious discontinuous sense, improve Consumer's Experience.
4, in the embodiment of the present application, piecemeal motion detecting is carried out by each piecemeal in the non-emphasis noise reduction region to image, obtain the exercise intensity of each piecemeal, from non-emphasis noise reduction region, select the target piecemeal that exercise intensity value is less than first threshold carry out time domain noise reduction, close the time domain noise reduction of piecemeal exercise intensity value being more than or equal to first threshold, namely not to exercise intensity piecemeal carry out time domain noise reduction, avoid leaving ghost in the picture, further increase the image quality of image.
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.
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 (14)

1. an image processing method, is applied to an electronic equipment, it is characterized in that, described method comprises:
Carry out time domain noise reduction process to the first area of the first image, wherein, described first area is the region that pixel that the distance between the central pixel point of described first image is greater than the first predeterminable range forms;
Detect the target area whether existing in the second area in described first image except described first area and need to carry out time domain noise reduction, wherein said target area is the subregion of described second area;
When there is described target area in described second area, time domain noise reduction process is carried out to described target area, and obtain the second image after time domain noise reduction process.
2. the method for claim 1, is characterized in that, time domain noise reduction process is carried out in the described first area to the first image, is specially:
Time domain noise reduction process is carried out to the partial pixel point in the mosaic area of described first area and each pixel in continuum, wherein, described mosaic area is the region that pixel that the distance in described first area and between described central pixel point is less than the second predeterminable range forms, described second predeterminable range is greater than described first predeterminable range, and described continuum is the region in described first area except described mosaic area.
3. method as claimed in claim 2, is characterized in that, described time domain noise reduction process is carried out to the partial pixel point in the mosaic area of described first area before, described method also comprises:
All pixels in the mosaic area of described first area are divided into multiple set, and each pixel wherein in each set is identical with the distance of described central pixel point;
Select respectively to need the pixel carrying out time domain noise reduction from each set, wherein, the set at the pixel place near apart from described central pixel point is compared with the set at the pixel place far away apart from described central pixel point, and that selects needs the quantity of the pixel carrying out time domain noise reduction few.
4. the method for claim 1, is characterized in that, whether the second area in described first image of described detection except described first area exists the target area needing to carry out time domain noise reduction, specifically comprises:
Respectively piecemeal motion detecting is carried out to each segmented areas in described second area, obtain the exercise intensity of described each segmented areas;
Detect in described each segmented areas the segmented areas that whether there is exercise intensity value and be less than first threshold; If so, then determine to there is the target area needing to carry out time domain noise reduction, and segmented areas exercise intensity value being less than first threshold is as the target area needing to carry out time domain noise reduction; Otherwise, determine not exist the target area needing to carry out time domain noise reduction.
5. the method as described in claim arbitrary in Claims 1 to 4, is characterized in that, time domain noise reduction process is carried out in the described first area to the first image, specifically comprises:
Determine the noise grade of described first image;
When described noise grade is greater than Second Threshold, time domain noise reduction process is carried out to described first area.
6. method as claimed in claim 5, it is characterized in that, the described noise grade determining described first image, specifically comprises:
Obtain environment illumination intensity during described first image of shooting;
Based on described environment illumination intensity, determine the noise grade of described first image.
7. method as claimed in claim 6, is characterized in that, described based on described environment illumination intensity, determines the noise grade of described first image, specifically comprises:
Based on the display size of the display unit of described environment illumination intensity and described electronic equipment, determine the noise grade of described first image.
8. an electronic equipment, is characterized in that, comprising:
First processing unit, for carrying out time domain noise reduction process to the first area of the first image, wherein, described first area is the region that pixel that the distance between the central pixel point of described first image is greater than the first predeterminable range forms;
First detecting unit, for detecting the target area whether existing in the second area in described first image except described first area and need to carry out time domain noise reduction, wherein said target area is the subregion of described second area;
Second processing unit, during for there is described target area in described second area, carries out time domain noise reduction process to described target area, and obtains the second image after time domain noise reduction process.
9. electronic equipment as claimed in claim 8, is characterized in that, described first processing unit specifically for:
First process subelement, time domain noise reduction process is carried out for the partial pixel point in the mosaic area to described first area and each pixel in continuum, wherein said mosaic area is the region that pixel that the distance in described first area and between described central pixel point is less than the second predeterminable range forms, described second predeterminable range is greater than described first predeterminable range, and described continuum is the region in described first area except described mosaic area.
10. electronic equipment as claimed in claim 9, it is characterized in that, described electronic equipment specifically also comprises:
First selected cell, for all pixels in the mosaic area of described first area are divided into multiple set, each pixel wherein in each set is identical with the distance of described central pixel point;
Second selected cell, the pixel carrying out time domain noise reduction is needed for selecting from each set respectively, wherein, the set at the pixel place near apart from described central pixel point is compared with the set at the pixel place far away apart from described central pixel point, and that selects needs the quantity of the pixel carrying out time domain noise reduction few.
11. electronic equipments as claimed in claim 8, it is characterized in that, described first detecting unit specifically comprises:
First obtains subelement, for carrying out piecemeal motion detecting to each segmented areas in described second area respectively, obtains the exercise intensity of described each segmented areas;
First detection sub-unit, for detecting in described each segmented areas the first segmented areas that whether there is exercise intensity value and be less than first threshold; If so, then determine to there is the target area needing to carry out time domain noise reduction, and segmented areas exercise intensity value being less than first threshold is as the target area needing to carry out time domain noise reduction; Otherwise, determine not exist the target area needing to carry out time domain noise reduction.
12. electronic equipments as described in claim arbitrary in claim 8 ~ 11, it is characterized in that, described electronic equipment also comprises:
Determining unit, for determining the noise grade of described first image, makes described first processing unit when described noise grade is greater than Second Threshold, can carry out time domain noise reduction process to described first area.
13. electronic equipments as claimed in claim 12, it is characterized in that, described determining unit specifically comprises:
Second obtains subelement, for obtaining environment illumination intensity during described first image of shooting;
Determine subelement, for according to described environment illumination intensity, determine the noise grade of described first image.
14. electronic equipments as claimed in claim 13, is characterized in that, described determine subelement concrete also for:
According to the display size of the display unit of described environment illumination intensity and described electronic equipment, determine the noise grade of described first image.
CN201310342279.7A 2013-08-07 2013-08-07 A kind of image processing method and electronic equipment Active CN104349080B (en)

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 true CN104349080A (en) 2015-02-11
CN104349080B 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)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104754229A (en) * 2015-03-27 2015-07-01 联想(北京)有限公司 Image processing method and electronic equipment
CN105551045A (en) * 2015-12-16 2016-05-04 联想(北京)有限公司 Heat calculation method and electronic equipment
CN106875347A (en) * 2016-12-30 2017-06-20 努比亚技术有限公司 A kind of picture processing device and method
CN107438146A (en) * 2016-05-24 2017-12-05 展讯通信(上海)有限公司 Control the method, apparatus and electronic equipment that three-dimensional noise reduction is opened
CN111131716A (en) * 2019-12-31 2020-05-08 联想(北京)有限公司 Image processing method and electronic device
CN111586322A (en) * 2019-02-15 2020-08-25 佳能株式会社 Image processing apparatus and method, image pickup apparatus, control method, and storage medium
CN111614867A (en) * 2020-05-20 2020-09-01 广州市百果园信息技术有限公司 Video denoising method and device, mobile terminal and storage medium
CN111739091A (en) * 2020-03-24 2020-10-02 北京京东乾石科技有限公司 Article replacement detection method, device, equipment and medium
CN115118881A (en) * 2022-06-24 2022-09-27 维沃移动通信有限公司 Signal processing circuit, image sensor, electronic device, and image processing method

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005222530A (en) * 2004-01-05 2005-08-18 Sony Corp Data storing device, data storing controller, data storing control method, and data storing control program
US20050206966A1 (en) * 2004-03-19 2005-09-22 Fuji Photo Film Co., Ltd. Image signal processing system and electronic imaging device
CN101123682A (en) * 2006-08-11 2008-02-13 松下电器产业株式会社 Method, device and integrated circuit for reducing image ring noise
CN101127906A (en) * 2006-08-17 2008-02-20 富士通株式会社 Deblocking filter, image encoder, and image decoder
CN101262559A (en) * 2008-03-28 2008-09-10 北京中星微电子有限公司 A method and device for eliminating sequential image noise
US20090190853A1 (en) * 2006-08-11 2009-07-30 Yo-Hwan Noh Image noise reduction apparatus and method, recorded medium recorded the program performing it
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
CN102640184A (en) * 2009-10-20 2012-08-15 苹果公司 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
CN102970541A (en) * 2012-11-22 2013-03-13 深圳市海思半导体有限公司 Image filtering method and device

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005222530A (en) * 2004-01-05 2005-08-18 Sony Corp Data storing device, data storing controller, data storing control method, and data storing control program
US20050206966A1 (en) * 2004-03-19 2005-09-22 Fuji Photo Film Co., Ltd. Image signal processing system and electronic imaging device
CN101123682A (en) * 2006-08-11 2008-02-13 松下电器产业株式会社 Method, device and integrated circuit for reducing image ring noise
US20090190853A1 (en) * 2006-08-11 2009-07-30 Yo-Hwan Noh Image noise reduction apparatus and method, recorded medium recorded the program performing it
CN101127906A (en) * 2006-08-17 2008-02-20 富士通株式会社 Deblocking filter, image encoder, and image decoder
CN101262559A (en) * 2008-03-28 2008-09-10 北京中星微电子有限公司 A method and device for eliminating sequential image noise
CN102640184A (en) * 2009-10-20 2012-08-15 苹果公司 Temporal filtering techniques for image signal processing
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
US20130022288A1 (en) * 2011-07-20 2013-01-24 Sony Corporation Image processing apparatus and method for reducing edge-induced artefacts
CN102970541A (en) * 2012-11-22 2013-03-13 深圳市海思半导体有限公司 Image filtering method and device

Cited By (14)

* Cited by examiner, † Cited by third party
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
CN104754229A (en) * 2015-03-27 2015-07-01 联想(北京)有限公司 Image processing method and electronic equipment
CN105551045A (en) * 2015-12-16 2016-05-04 联想(北京)有限公司 Heat calculation 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
CN111586322B (en) * 2019-02-15 2023-08-15 佳能株式会社 Image processing apparatus and method, image capturing apparatus, control method, and storage medium
CN111586322A (en) * 2019-02-15 2020-08-25 佳能株式会社 Image processing apparatus and method, image pickup apparatus, control method, and storage medium
CN111131716A (en) * 2019-12-31 2020-05-08 联想(北京)有限公司 Image processing method and electronic device
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
WO2021232963A1 (en) * 2020-05-20 2021-11-25 百果园技术(新加坡)有限公司 Video noise-reduction method and apparatus, and mobile terminal and storage medium
CN111614867A (en) * 2020-05-20 2020-09-01 广州市百果园信息技术有限公司 Video denoising method and device, mobile terminal and storage medium
CN115118881A (en) * 2022-06-24 2022-09-27 维沃移动通信有限公司 Signal processing circuit, image sensor, electronic device, and image processing method

Also Published As

Publication number Publication date
CN104349080B (en) 2018-12-14

Similar Documents

Publication Publication Date Title
CN104349080A (en) Image processing method and electronic equipment
CN108924420B (en) Image shooting method, image shooting device, image shooting medium, electronic equipment and model training method
US11611715B2 (en) System and method for event camera data processing
KR102121592B1 (en) Method and apparatus for protecting eyesight
KR102580474B1 (en) Systems and methods for continuous auto focus (caf)
WO2020062924A1 (en) Video enhancement control method and device, electronic apparatus, and storage medium
CN106303157B (en) Video noise reduction processing method and video noise reduction processing device
WO2014106445A1 (en) Method and apparatus for detecting backlight
CN105049728A (en) Method and device for acquiring shot image
CN108008896B (en) Display control method and related product
US20120206487A1 (en) Image processing apparatus and image processing method, and program therefor
EP3989591A1 (en) Resource display method, device, apparatus, and storage medium
CN111629146B (en) Shooting parameter adjusting method, shooting parameter adjusting device, shooting parameter adjusting equipment and storage medium
WO2012088702A1 (en) Method and apparatus for providing a mechanism for gesture recognition
CN106572374A (en) Multi-video playing control method and terminal
US8577141B2 (en) Method of enhancing contrast using bezier curve
CN108540636A (en) A kind of photographic method and device based on dual camera
CN106201712B (en) The method of adjustment of target identification frequency, device and mobile terminal in augmented reality
CN116916151A (en) Shooting method, electronic device and storage medium
CN114764821B (en) Moving object detection method, moving object detection device, electronic equipment and storage medium
CN104602096A (en) Detecting method and device for video subtitle area
CN105744142A (en) Image acquisition method and electronic device
JP2022529414A (en) Methods and systems for motion detection without malfunction
CN104754181A (en) Video noise estimating method and device
CN107690033A (en) Mobile terminal, call processing method, terminal device and 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