CN105894479B - A kind of image filtering method and device - Google Patents
A kind of image filtering method and device Download PDFInfo
- Publication number
- CN105894479B CN105894479B CN201610490476.7A CN201610490476A CN105894479B CN 105894479 B CN105894479 B CN 105894479B CN 201610490476 A CN201610490476 A CN 201610490476A CN 105894479 B CN105894479 B CN 105894479B
- Authority
- CN
- China
- Prior art keywords
- pixel
- value
- list item
- filtered
- item value
- 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
- 238000001914 filtration Methods 0.000 title claims abstract description 129
- 238000000034 method Methods 0.000 title claims abstract description 48
- 238000010586 diagram Methods 0.000 description 8
- 238000004590 computer program Methods 0.000 description 5
- 238000003860 storage Methods 0.000 description 5
- 230000006870 function Effects 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 2
- 239000000686 essence Substances 0.000 description 2
- 206010052428 Wound Diseases 0.000 description 1
- 208000027418 Wounds and injury Diseases 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 238000009826 distribution Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 210000003205 muscle Anatomy 0.000 description 1
- 238000011017 operating method Methods 0.000 description 1
- 230000009466 transformation Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T5/00—Image enhancement or restoration
- G06T5/70—Denoising; Smoothing
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Image Processing (AREA)
Abstract
The present invention discloses a kind of image filtering method and device, and described method includes following steps:Within the period 1, first is carried out to the first pixel and is filtered;Within second round, first is carried out to the second pixel and is filtered, and the first pixel to being filtered by first carries out second and is filtered;Within the period 3, first is carried out to third pixel and is filtered, carrying out second to the second pixel by the first filtering is filtered, and carrying out third to the first pixel by the second filtering is filtered.The above method allows the filtering point echelon of adjacent each pixel to carry out, so that entire filtering continuous productive process, greatly improves the efficiency, save hardware spending.
Description
Technical field
The present invention relates to image processing field more particularly to a kind of image filtering methods and device.
Background technology
Under Low light intensity, the video sequence of camera shooting often contains very strong noise signal, to video sequence
The quality of row affects greatly.Currently, the filter of generally use smothing filtering handles the noise in video sequence.
For video sequence, on time-space domain, the distribution of noise meets Gaussian Profile.Needing the picture to each frame image of video
When vegetarian refreshments is filtered, not only the period is very long for existing filtering method, and hardware spending is big.
Invention content
For this reason, it may be necessary to a kind of technical solution of image filtering is provided, it is very long, hard to solve the existing filtering method period
The problems such as part expense is big.
To achieve the above object, a kind of image filtering method is inventor provided, described method includes following steps:
Within the period 1, first is carried out to the first pixel and is filtered;
Within second round, first is carried out to the second pixel and is filtered, and the first picture to being filtered by first
Element carries out second and is filtered, and second pixel is adjacent with the first pixel and positioned at the first pixel the right or following pixel
Point;
Within the period 3, first is carried out to third pixel and is filtered, the second pixel by the first filtering is carried out
Second is filtered, and carrying out third to the first pixel by the second filtering is filtered;The third pixel be and the second picture
Element is adjacent and positioned at the second pixel the right or following pixel;When second pixel is edge pixel point, described the
First pixel of the next line that three pixels are expert at by the second pixel, or the right for the second pixel column
First pixel of one row.
Further, described first be filtered into and filter from left to right, then second pixel be it is adjacent with the first pixel and
Pixel on the right of the first pixel, " the carrying out first to the first pixel to be filtered " include:Calculate the first pixel
The pixel value difference of the leftmost pixel point adjacent with the first pixel, and according to the correspondence of pixel value difference and list item value, obtain
The pixel value of first pixel is added or is subtracted each other with acquired list item value by the corresponding list item value of the pixel value difference.
Further, described " pixel value of the first pixel is added or is subtracted each other with acquired list item value " is specific
Including:When the pixel value of the first pixel is more than the pixel value of the leftmost pixel point adjacent with the first pixel, by the first picture
The pixel value of vegetarian refreshments subtracts each other with acquired list item value;When the pixel value of the first pixel is less than a left side adjacent with the first pixel
When the pixel value of side pixel, the pixel value of the first pixel is added with acquired list item value.
Further, it described second is filtered into and filters from top to bottom, then the third pixel is adjacent with the second pixel
And the pixel on the right of the second pixel, when second pixel is edge pixel point, the third pixel is the
First pixel of the next line that two pixels are expert at;" the carrying out first to the second pixel to be filtered " includes:Meter
The pixel value difference of the first pixel and the second pixel is calculated, and according to the correspondence of pixel value difference and list item value, obtains the picture
The corresponding list item value of plain difference, the pixel value of the second pixel is added or is subtracted each other with acquired list item value.
Further, described " carrying out second to the first pixel being filtered by first to be filtered " includes:It calculates
The pixel value difference for the first pixel top pixel adjacent with the first pixel being filtered by first, and according to pixel
The correspondence of difference and list item value obtains the corresponding list item value of the pixel value difference, the first picture that will be filtered by first
The pixel value of vegetarian refreshments is added or is subtracted each other with acquired list item value.
Further, described first be filtered into and filter from top to bottom, then second pixel be it is adjacent with the first pixel and
The pixel following positioned at the first pixel, " the carrying out first to the first pixel to be filtered " include:Calculate the first pixel
The pixel value difference of the top pixel adjacent with the first pixel, and according to the correspondence of pixel value difference and list item value, obtain
The pixel value of first pixel is added or is subtracted each other with acquired list item value by the corresponding list item value of the pixel value difference.
Further, described " pixel value of the first pixel is added or is subtracted each other with acquired list item value " is specific
Including:When the pixel value of the first pixel is more than the pixel value of the top pixel adjacent with the first pixel, by the first picture
The pixel value of vegetarian refreshments subtracts each other with acquired list item value;When the pixel value of the first pixel be less than it is adjacent with the first pixel upper
When the pixel value of side pixel, the pixel value of the first pixel is added with acquired list item value.
Further, it described second is filtered into and filters from left to right, then the third pixel is adjacent with the second pixel
And positioned at the following pixel of the second pixel, when second pixel is edge pixel point, the third pixel is the
First pixel that the right one of two pixel columns arranges;" the carrying out first to the second pixel to be filtered " includes:
The pixel value difference of the first pixel and the second pixel is calculated, and according to the correspondence of pixel value difference and list item value, obtaining should
The pixel value of second pixel is added or is subtracted each other with acquired list item value by the corresponding list item value of pixel value difference.
Further, described " carrying out second to the first pixel being filtered by first to be filtered " includes:It calculates
The pixel value difference for the first pixel leftmost pixel point adjacent with the first pixel being filtered by first, and according to pixel
The correspondence of difference and list item value obtains the corresponding list item value of the pixel value difference, the first picture that will be filtered by first
The pixel value of vegetarian refreshments is added or is subtracted each other with acquired list item value.
Further, described " carrying out third to the first pixel by the second filtering to be filtered " includes:Calculate first
The pixel value difference of pixel pixel identical with the first pixel coordinate position in previous frame image, and according to pixel value difference with
The correspondence of list item value obtains the corresponding list item value of the pixel value difference, by the first pixel being filtered by first
Pixel value is added or is subtracted each other with acquired list item value.
Inventor additionally provides a kind of image filtering device, and described device includes the first filter unit, the second filter unit
With third filter unit;
Within the period 1, the first filter unit is used to carry out first to the first pixel to be filtered;
Within second round, the first filter unit is used to carry out first to the second pixel to be filtered, the second filter unit
It is filtered for carrying out second to the first pixel being filtered by first, second pixel is adjacent with the first pixel
And positioned at the first pixel the right or following pixel;
Within the period 3, the first filter unit is used to carry out first to third pixel to be filtered, the second filter unit
It is filtered for carrying out second to the second pixel by the first filtering, third filter unit is used for by the second filtering
First pixel carries out third and is filtered;The third pixel is adjacent with the second pixel and on the right of the second pixel or following
Pixel;When second pixel is edge pixel point, under the third pixel is expert at by the second pixel
First pixel of a line, or for the second pixel column the right one arrange first pixel.
Further, described first be filtered into and filter from left to right, then second pixel be it is adjacent with the first pixel and
Pixel on the right of the first pixel, first filter unit include the first pixel value difference computing module, the first list item value
Acquisition module, the first list item value computing module;" the first filter unit is used to carry out first to the first pixel to be filtered "
Including:First pixel value difference computing module is used to calculate the pixel of the first pixel leftmost pixel point adjacent with the first pixel
Difference, the first list item value acquisition module are used for the correspondence according to pixel value difference and list item value, obtain pixel value difference correspondence
List item value, the first list item value computing module be used to the pixel value of the first pixel being added with acquired list item value or
Subtract each other.
It is further, described that " the first list item value computing module is used for the pixel value of the first pixel and acquired table
Entry value is added or is subtracted each other " it specifically includes:When the pixel value of the first pixel is more than the left side picture adjacent with the first pixel
When the pixel value of vegetarian refreshments, the first list item value computing module is used for the pixel value of the first pixel and acquired list item value phase
Subtract;When the pixel value of the first pixel is less than the pixel value of the leftmost pixel point adjacent with the first pixel, the first list item value
Computing module is for the pixel value of the first pixel to be added with acquired list item value.
Further, it described second is filtered into and filters from top to bottom, then the third pixel is adjacent with the second pixel
And the pixel on the right of the second pixel, when second pixel is edge pixel point, the third pixel is the
First pixel of the next line that two pixels are expert at;It is described that " the first filter unit is used to carry out first to the second pixel
It is filtered " include:First pixel value difference computing module is used to calculate the pixel value difference of the first pixel and the second pixel, the
One list item value acquisition module is used for the correspondence according to pixel value difference and list item value, obtains the corresponding list item of the pixel value difference
Value, the first list item value computing module is for the pixel value of the second pixel to be added or be subtracted each other with acquired list item value.
Further, second filter unit include the second pixel value difference computing module, the second list item value acquisition module,
Second list item value computing module;It is described that " the second filter unit is used to carry out second to the first pixel being filtered by first
It is filtered " include:Second pixel value difference computing module passes through the first the first pixel and first being filtered for calculating
The pixel value difference of the adjacent top pixel of pixel, the second list item value acquisition module are used for according to pixel value difference and list item value
Correspondence obtains the corresponding list item value of the pixel value difference, and the second list item value computing module by first for that will be filtered
The pixel value of the first pixel be added or subtracted each other with acquired list item value.
Further, described first be filtered into and filter from top to bottom, then second pixel be it is adjacent with the first pixel and
The pixel following positioned at the first pixel, first filter unit include the first pixel value difference computing module, the first list item value
Acquisition module, the first list item value computing module;" the first filter unit is used to carry out first to the first pixel to be filtered "
Including:First pixel value difference computing module is used to calculate the pixel of the first pixel top pixel adjacent with the first pixel
Difference, the first list item value acquisition module are used for the correspondence according to pixel value difference and list item value, obtain pixel value difference correspondence
List item value, the first list item value computing module be used to the pixel value of the first pixel being added with acquired list item value or
Subtract each other.
It is further, described that " the first list item value computing module is used for the pixel value of the first pixel and acquired table
Entry value is added or is subtracted each other " it specifically includes:When the pixel value of the first pixel is more than the top picture adjacent with the first pixel
When the pixel value of vegetarian refreshments, the first list item value computing module is used for the pixel value of the first pixel and acquired list item value phase
Subtract;When the pixel value of the first pixel is less than the pixel value of the top pixel adjacent with the first pixel, the first list item value
Computing module is for the pixel value of the first pixel to be added with acquired list item value.
Further, it described second is filtered into and filters from left to right, then the third pixel is adjacent with the second pixel
And positioned at the following pixel of the second pixel, when second pixel is edge pixel point, the third pixel is the
First pixel that the right one of two pixel columns arranges;It is described that " the first filter unit is used to carry out the to the second pixel
One is filtered " include:First pixel value difference computing module is used to calculate the pixel value difference of the first pixel and the second pixel,
First list item value acquisition module is used for the correspondence according to pixel value difference and list item value, obtains the corresponding list item of the pixel value difference
Value, the first list item value computing module is for the pixel value of the second pixel to be added or be subtracted each other with acquired list item value.
Further, second filter unit include the second pixel value difference computing module, the second list item value acquisition module,
Second list item value computing module;It is described that " the second filter unit is used to carry out second to the first pixel being filtered by first
It is filtered " include:Second pixel value difference computing module passes through the first the first pixel and first being filtered for calculating
The pixel value difference of the adjacent leftmost pixel point of pixel, the second list item value acquisition module are used for according to pixel value difference and list item value
Correspondence obtains the corresponding list item value of the pixel value difference, and the second list item value computing module by first for that will be filtered
The pixel value of the first pixel be added or subtracted each other with acquired list item value.
Further, the third filter unit include third pixel value difference computing module, third list item value acquisition module,
Third list item value computing module;It is described that " third filter unit is used to carry out third filtering to the first pixel by the second filtering
Handle " include:Third pixel value difference computing module is for calculating the first pixel and the first pixel point coordinates in previous frame image
The pixel value difference of the identical pixel in position, third list item value acquisition module are used to close according to pixel value difference is corresponding with list item value
System, obtains the corresponding list item value of the pixel value difference, third list item value computing module for will pass through first be filtered first
The pixel value of pixel is added or is subtracted each other with acquired list item value.
Image filtering method described in above-mentioned technical proposal and device, described method includes following steps:In the period 1
It is interior, first is carried out to the first pixel and is filtered;Within second round, first is carried out to the second pixel and is filtered, and to warp
The first pixel progress second that first is filtered is crossed to be filtered;Within the period 3, the first filtering is carried out to third pixel
Processing to the second pixel by the first filtering second be filtered, and the is carried out to the first pixel by the second filtering
Three are filtered.The above method allows the filtering point echelon of adjacent each pixel to carry out, so that entire filtering
Process continuous productive process, greatly improves the efficiency, and saves hardware spending.
Description of the drawings
Fig. 1 is the flow chart for the image filtering method that one embodiment of the invention is related to;
Fig. 2 is the flow chart for the image filtering method that another embodiment of the present invention is related to;
Fig. 3 is the schematic diagram for the image filtering method that another embodiment of the present invention is related to;
Fig. 4 is the schematic diagram for the image filtering device that another embodiment of the present invention is related to.
Reference sign:
101, the first filter unit;111, the first pixel value difference computing module;112, the second list item value acquisition module;113、
Second list item value computing module;
102, the second filter unit;121, the second pixel value difference computing module;122, the second list item value acquisition module;123、
Second list item value computing module;
103, third filter unit.
Specific implementation mode
For the technology contents of technical solution, construction feature, the objects and the effects are described in detail, below in conjunction with specific reality
It applies example and attached drawing is coordinated to be explained in detail.
Referring to Fig. 1, the flow chart for the image filtering method being related to for one embodiment of the invention.The method can be used for
Image is filtered, picture noise is eliminated.Described method includes following steps:
Step S101 is initially entered within the period 1, carrying out first to the first pixel is filtered.For the every of video
For one frame image, need first to be filtered, filtered from the top down two processes from left to right, the two sequence can basis
Actual needs is adjusted, i.e., can also first be filtered from the top down, then filtered from left to right.In present embodiment
In, described first is filtered into and filters from left to right, then second pixel is adjacent with the first pixel and right positioned at the first pixel
The pixel on side.
As shown in Fig. 2, " the carrying out first to the first pixel to be filtered " includes:It enters step S201 and calculates the first picture
The pixel value difference of the vegetarian refreshments leftmost pixel point adjacent with the first pixel, then enters step S202 according to pixel value difference and list item
The correspondence of value obtains the corresponding list item value of the pixel value difference, then enters step S203 by the pixel value of the first pixel
It is added or is subtracted each other with acquired list item value.Specifically, filtering can be realized by following formula:
Wherein, x (k) is current pixel to be filtered, and y (k-1) is the pixel after being filtered, such as the first filtering
To filter from left to right, y (k-1) is then the pixel on the current pixel left side to be filtered, and Gamma values are index parameters, Ke Yigen
It is configured according to actual needs.Since above-mentioned formula is related to exponent arithmetic, if also increased to calculate not only algorithm complexity with hardware
Add hardware spending, thus realized in the form of tabling look-up in the present invention, i.e., chooses different pixel value differences according to gradient,
The corresponding list item value of different pixels difference computed in advance, and list item value is stored in table, the list item value is
The value that remaining part is calculated other than x (k) on the right of formula.In order to ensure the heart in the picture and immediate vicinity pixel
Processing accuracy when point, the list item precision that will be close to image center increase, i.e., the integer part of pixel value difference is between 0~7
When, using 3bit decimal essences;Pixel value difference integer part is when between 8~15, using 2bit decimal precision;Pixel value difference integer
Part is when between 16~31, using 1bit decimal precision;Pixel value difference integer part is when between 31~63, only with integer
Part.
In the present embodiment, step S203 is specifically included:When the pixel value of the first pixel is more than and the first pixel
When the pixel value of adjacent leftmost pixel point, the pixel value of the first pixel and acquired list item value are subtracted each other;When the first picture
The pixel value of vegetarian refreshments be less than the leftmost pixel point adjacent with the first pixel pixel value when, by the pixel value of the first pixel with
Acquired list item value is added.The purpose being filtered is to allow the picture of neighbor pixel on image to remove picture noise
Element value as close possible to.The mode of first filtering is when filtering from left to right, and the adjacent leftmost pixel point of the first pixel is
The pixel of filtered mistake, thus when the pixel value of the first pixel is more than the picture of the leftmost pixel point adjacent with the first pixel
When element value, in order to make the pixel value of the pixel value and the pixel of filtered mistake of the first pixel be more nearly, need the
The pixel value of one pixel subtracts each other with acquired list item value.Based on similar reason, when the pixel value of the first pixel be less than with
When the pixel value of the adjacent leftmost pixel point of the first pixel, by the pixel value of the first pixel and acquired list item value phase
Add.
S102 is then entered step within second round, carrying out first to the second pixel is filtered, and to passing through first
The first pixel being filtered carries out second and is filtered.Second pixel is adjacent with the first pixel and is located at the first pixel
The right or following pixel, specifically, when first, which is filtered into, filters from left to right, the second pixel is on the right of the first pixel
Pixel;When first is filtered into up to lower filtering, the second pixel is the pixel below the first pixel.It is filtered into first
Filtering from left to right, second are filtered into for filtering from top to bottom, then described " carrying out first to the second pixel to be filtered " packet
It includes:The pixel value difference of the first pixel and the second pixel is calculated, and according to the correspondence of pixel value difference and list item value, is obtained
The pixel value of second pixel is added or is subtracted each other with acquired list item value by the corresponding list item value of the pixel value difference.The
For two pixels when carrying out the first filtering (filtering from left to right), the first filtering is completed in the first pixel, i.e., relative to the second pixel
For, the first pixel is that filtered pixel, the second pixel have carried out process and the progress of aforementioned first pixel of the first filtering
The process of first filtering is similar.
" the carrying out second to the first pixel being filtered by first to be filtered " includes:It calculates by the first filter
The pixel value difference of the first pixel top pixel adjacent with the first pixel of wave processing, and according to pixel value difference and list item
The correspondence of value obtains the corresponding list item value of the pixel value difference, by the pixel for the first pixel being filtered by first
Value is added or is subtracted each other with acquired list item value.Second is filtered to filter from top to bottom, i.e., with the first pixel phase
Adjacent top pixel is to have been subjected to the pixel after being filtered.
S103 is then entered step within the period 3, carrying out first to third pixel is filtered, to by the first filter
Second pixel of wave carries out second and is filtered, and carrying out third to the first pixel by the second filtering is filtered.Described
Three pixels are adjacent with the second pixel and positioned at the second pixel the right or following pixels;When second pixel is edge
When pixel, first pixel of the next line that the third pixel is expert at by the second pixel, or be the second picture
First pixel that the right one of vegetarian refreshments column arranges.When first be filtered into from left to right filtering, second be filtered into from up to
When lower filtering, third pixel is adjacent with the second pixel and positioned at the pixel on the right of the second pixel, i.e., relative to third
For pixel, when carrying out the first filtering, the second pixel is the pixel for having been subjected to filtering, when second pixel is
When edge pixel point, first pixel of the next line that the third pixel is expert at by the second pixel;When the first filter
Wave is filtering from top to bottom, second is filtered into when filtering from left to right, third pixel be it is adjacent with the second pixel and positioned in
The following pixel of second pixel, i.e., for third pixel, when carrying out the first filtering, the second pixel is
Cross the pixel of filtering, first pixel of the next line that the third pixel is expert at by the second pixel, Huo Zhewei
First pixel that the right one of second pixel column arranges.
In the present embodiment, described " carrying out third to the first pixel by the second filtering to be filtered " includes:Meter
The pixel value difference of the first pixel pixel identical with the first pixel coordinate position in previous frame image is calculated, and according to pixel
The correspondence of difference and list item value obtains the corresponding list item value of the pixel value difference, the first picture that will be filtered by first
The pixel value of vegetarian refreshments is added or is subtracted each other with acquired list item value., pixel on each frame image in addition to adjacent picture
Vegetarian refreshments carry out left and right filtering and up and down filtering except, it is also necessary to carry out third filtering, i.e., by calculate with former frame image in
The pixel value difference of the identical pixel of first pixel coordinate position, and the mode tabled look-up obtain corresponding list item value, will be certainly
Body pixel value plus or minus the list item value.
In other embodiments, it described first is filtered into and filters from top to bottom, then second pixel is and the first pixel
Adjacent and positioned at the following pixel of the first pixel, " the carrying out first to the first pixel to be filtered " includes:Calculate first
The pixel value difference of the pixel top pixel adjacent with the first pixel, and closed according to pixel value difference is corresponding with list item value
System, obtains the corresponding list item value of the pixel value difference, the pixel value of the first pixel is added with acquired list item value or
Subtract each other." pixel value of the first pixel is added or is subtracted each other with acquired list item value " specifically includes:When first
When the pixel value of pixel is more than the pixel value of the top pixel adjacent with the first pixel, by the pixel value of the first pixel
Subtract each other with acquired list item value;When the pixel value of the first pixel is less than the picture of the top pixel adjacent with the first pixel
When element value, the pixel value of the first pixel is added with acquired list item value.
In other embodiments, it described second is filtered into and filters from left to right, then the third pixel is and the second picture
Element is adjacent and positioned at the following pixel of the second pixel, when second pixel is edge pixel point, the third pixel
Point is first pixel that the right one of the second pixel column arranges;Described " carrying out first to the second pixel to be filtered "
Including:The pixel value difference of the first pixel and the second pixel is calculated, and according to the correspondence of pixel value difference and list item value, is obtained
The corresponding list item value of the pixel value difference is taken, the pixel value of the second pixel is added or is subtracted each other with acquired list item value.
" the carrying out second to the first pixel being filtered by first to be filtered " includes:What calculating was filtered by first
The pixel value difference of the first pixel leftmost pixel point adjacent with the first pixel, and it is corresponding with list item value according to pixel value difference
Relationship obtains the corresponding list item value of the pixel value difference, by the pixel value of the first pixel being filtered by first with obtained
The list item value taken is added or is subtracted each other.
As shown in figure 3, including three rows, three row, 9 pixels, filtering from top to bottom, the second filtering are filtered into first below
For filtering from left to right, first filtering of 3 pixels of first row and the second filtering are illustrated, specifically such as
Under:
At the t0 moment (i.e. period 1), longitudinal filtering A0_0 pixels (i.e. the first pixel) obtain the longitudinal direction of A0_0 pixels
Filter result (the first loudness for passing through the first filtering);
At the t1 moment (i.e. second round), A1_0 (i.e. the second pixel) pixel utilizes longitudinal filter result of A0_0 pixels,
Carry out longitudinal filtering;A0_0 pixels (i.e. the first pixel) carry out lateral filtering at the t1 moment and (filter from left to right, the second filter
Wave);
At the t2 moment (i.e. in the period 3), A1_0 pixels (the second pixel) carry out lateral filtering (the second filtering), A2_0
Pixel (third pixel) carries out longitudinal filtering using longitudinal filter result of A1_0 pixels.
Using this stair-stepping filtering relationship, multiple pixels can be filtered well, greatly improved
Filtration efficiency saves hardware area, reduces hardware cost.
As shown in figure 4, inventor additionally provides a kind of image filtering device, described device include the first filter unit 101,
Second filter unit 102 and third filter unit 103;
Within the period 1, the first filter unit 101 is used to carry out first to the first pixel to be filtered.For video
For each frame image, need first to be filtered, filtered from the top down two processes from left to right, the two sequence can root
It is adjusted, i.e., can also first be filtered from the top down, then filtered from left to right according to actual needs.In present embodiment
In, described first is filtered into and filters from left to right, then second pixel is adjacent with the first pixel and right positioned at the first pixel
The pixel on side.
Described first is filtered into and filters from left to right, then second pixel is adjacent with the first pixel and is located at the first picture
The pixel on plain the right, first filter unit include the first pixel value difference computing module 111, the first list item value acquisition module
112, the first list item value computing module 113;" the first filter unit is used to carry out first to the first pixel to be filtered " packet
It includes:First pixel value difference computing module 111 is used to calculate the picture of the first pixel leftmost pixel point adjacent with the first pixel
Plain difference, the first list item value acquisition module 112 are used for the correspondence according to pixel value difference and list item value, obtain the pixel value difference
Corresponding list item value, the first list item value computing module 113 be used for by the pixel value of the first pixel and acquired list item value into
Row is added or subtracts each other.Specifically, filtering can be realized by following formula:
Wherein, x (k) is current pixel to be filtered, and y (k-1) is the pixel after being filtered, such as the first filtering
To filter from left to right, y (k-1) is then the pixel on the current pixel left side to be filtered, and Gamma values are index parameters, Ke Yigen
It is configured according to actual needs.Since above-mentioned formula is related to exponent arithmetic, if also increased to calculate not only algorithm complexity with hardware
Add hardware spending, thus realized in the form of tabling look-up in the present invention, i.e., chooses different pixel value differences according to gradient,
The corresponding list item value of different pixels difference computed in advance, and list item value is stored in table, the list item value is
The value that remaining part is calculated other than x (k) on the right of formula.In order to ensure the heart in the picture and immediate vicinity pixel
Processing accuracy when point, the list item precision that will be close to image center increase, i.e., the integer part of pixel value difference is between 0~7
When, using 3bit decimal essences;Pixel value difference integer part is when between 8~15, using 2bit decimal precision;Pixel value difference integer
Part is when between 16~31, using 1bit decimal precision;Pixel value difference integer part is when between 31~63, only with integer
Part.
In the present embodiment, described " the first list item value computing module be used for by the pixel value of the first pixel with obtained
The list item value taken is added or is subtracted each other " it specifically includes:When the pixel value of the first pixel is more than adjacent with the first pixel
When the pixel value of leftmost pixel point, the first list item value computing module is used for the pixel value of the first pixel and acquired list item
Value is subtracted each other;When the pixel value of the first pixel is less than the pixel value of the leftmost pixel point adjacent with the first pixel, the first table
Entry value computing module is for the pixel value of the first pixel to be added with acquired list item value.The purpose being filtered be in order to
Remove picture noise, that is, allow neighbor pixel on image pixel value as close possible to.The mode of first filtering is from left to right
When filtering, the adjacent leftmost pixel point of the first pixel is the pixel of filtered mistake, thus when the pixel of the first pixel
Value more than the leftmost pixel point adjacent with the first pixel pixel value when, in order to make the pixel value of the first pixel and filter
The pixel value for the pixel that wave is crossed is more nearly, and needs to subtract each other the pixel value of the first pixel and acquired list item value.Base
It, will when the pixel value of the first pixel is less than the pixel value of the leftmost pixel point adjacent with the first pixel in similar reason
The pixel value of first pixel is added with acquired list item value.
Within second round, the first filter unit 102 is used to carry out first to the second pixel to be filtered, and the second filtering is single
Member 102 is filtered for carrying out second to the first pixel being filtered by first, and second pixel is and the first picture
Element is adjacent and positioned at the first pixel the right or following pixel.Specifically, when first, which is filtered into, filters from left to right, second
Pixel is the pixel on the right of the first pixel;When first is filtered into up to lower filtering, the second pixel is below the first pixel
Pixel.By first be filtered into filtering from left to right, second be filtered into filtering from top to bottom for, then described " the first filtering
Unit is used to carry out first to the second pixel to be filtered " include:First pixel value difference computing module 111 calculates the first pixel
With the pixel value difference of the second pixel, the first list item value acquisition module 112 is obtained according to the correspondence of pixel value difference and list item value
Take the corresponding list item value of the pixel value difference, the first list item value computing module 113 by the pixel value of the second pixel with it is acquired
List item value is added or is subtracted each other.For second pixel when carrying out the first filtering (from left to right filter), the first pixel is completed the
One filtering, i.e., for the second pixel, the first pixel is that filtered pixel, the second pixel have carried out the first filtering
The process that process carries out the first filtering with aforementioned first pixel is similar.
Second filter unit includes the second pixel value difference computing module 121, the second list item value acquisition module 122, the
Two list item value computing modules 123;It is described that " the second filter unit is used to carry out second to the first pixel being filtered by first
It is filtered " include:Second pixel value difference computing module 121, which calculates, passes through the first the first pixel and the first picture being filtered
The pixel value difference of the adjacent top pixel of vegetarian refreshments, the second list item value acquisition module 122 is according to pair of pixel value difference and list item value
Should be related to, obtain the corresponding list item value of the pixel value difference, the second list item value computing module 123 will be filtered by first the
The pixel value of one pixel is added or is subtracted each other with acquired list item value.Second is filtered to filter from top to bottom, i.e.,
The top pixel adjacent with the first pixel is to have been subjected to the pixel after being filtered.
Within the period 3, the first filter unit 101 is used to carry out first to third pixel to be filtered, and the second filtering is single
For to the second pixel by the first filtering second be filtered, third filter unit 103 is used for passing through the member 102
First pixel of two filtering carries out third and is filtered;The third pixel is adjacent with the second pixel and right positioned at the second pixel
Side or following pixel;When second pixel is edge pixel point, the third pixel is the second pixel institute
First pixel of the next line being expert at, or for the second pixel column the right one arrange first pixel.When
First is filtered into filtering from left to right, second is filtered into when filtering from top to bottom, third pixel be it is adjacent with the second pixel and
Positioned at the pixel on the right of the second pixel, i.e., for third pixel, when carrying out the first filtering, the second pixel
To have been subjected to the pixel of filtering, when second pixel is edge pixel point, the third pixel is the second pixel
First pixel of the be expert at next line of point;It is filtered into filtering, second from top to bottom and is filtered into and filters from left to right when first
When wave, third pixel is adjacent with the second pixel and is located in the following pixel of the second pixel, i.e., relative to third pixel
For point, when carrying out the first filtering, the second pixel is the pixel for having been subjected to filtering, and the third pixel is the second picture
First pixel of the next line that vegetarian refreshments is expert at, or for the second pixel column the right one arrange first pixel
Point.
It is in the present embodiment, described that " third filter unit is used to carry out third to the first pixel by the second filtering
It is filtered " include:Calculate the picture of the first pixel pixel identical with the first pixel coordinate position in previous frame image
Plain difference, and according to the correspondence of pixel value difference and list item value, the corresponding list item value of the pixel value difference is obtained, first will be passed through
The pixel value for the first pixel being filtered is added or is subtracted each other with acquired list item value.Pixel on each frame image
Point in addition to neighbor pixel carry out left and right filtering and up and down filtering other than, it is also necessary to carry out third filtering, i.e., by calculate and
The pixel value difference of the identical pixel of first pixel coordinate position in former frame image, and the mode tabled look-up obtain correspondence
List item value, by itself pixel value plus or minus the list item value.
In other embodiments, it described first is filtered into and filters from top to bottom, then second pixel is and the first pixel
Adjacent and positioned at the following pixel of the first pixel, described " the first filter unit is used to carry out at the first filtering the first pixel
Manage " include:First pixel value difference computing module 111 calculates the picture of the first pixel top pixel adjacent with the first pixel
Plain difference, the second list item value acquisition module 112 obtain pixel value difference correspondence according to the correspondence of pixel value difference and list item value
List item value, the first list item value computing module 123 pixel value of first pixel is added with acquired list item value or
Subtract each other.It is described " the first list item value computing module 123 pixel value of first pixel is added with acquired list item value or
Subtract each other " it specifically includes:When the pixel value of the first pixel is more than the pixel value of the top pixel adjacent with the first pixel,
The pixel value of first pixel and acquired list item value are subtracted each other;When the pixel value of the first pixel is less than and the first pixel
When the pixel value of adjacent top pixel, the pixel value of the first pixel is added with acquired list item value.
In other embodiments, it described second is filtered into and filters from left to right, then the third pixel is and the second picture
Element is adjacent and positioned at the following pixel of the second pixel, when second pixel is edge pixel point, the third pixel
Point is first pixel that the right one of the second pixel column arranges;It is described that " the first filter unit is used for the second pixel
First is carried out to be filtered " include:First pixel value difference computing module 111 calculates the pixel of the first pixel and the second pixel
It is corresponding to obtain the pixel value difference according to the correspondence of pixel value difference and list item value for difference, the second list item value acquisition module 112
The pixel value of second pixel is added or phase by list item value, the first list item value computing module 123 with acquired list item value
Subtract.Second filter unit includes the second pixel value difference computing module 121, the second list item value acquisition module 122, the second list item
It is worth computing module 123.It is described that " the second filter unit is used to carry out at the second filtering the first pixel being filtered by first
Manage " include:Second pixel value difference computing module 121, which calculates, passes through first the first pixel being filtered and the first pixel phase
The pixel value difference of adjacent leftmost pixel point, the second list item value acquisition module 122 according to the correspondence of pixel value difference and list item value,
Obtain the corresponding list item value of the pixel value difference, the first pixel that the second list item value computing module 123 will be filtered by first
The pixel value of point is added or is subtracted each other with acquired list item value.
Image filtering method described in above-mentioned technical proposal and device, described method includes following steps:In the period 1
It is interior, first is carried out to the first pixel and is filtered;Within second round, first is carried out to the second pixel and is filtered, and to warp
The first pixel progress second that first is filtered is crossed to be filtered;Within the period 3, the first filtering is carried out to third pixel
Processing to the second pixel by the first filtering second be filtered, and the is carried out to the first pixel by the second filtering
Three are filtered.The above method allows the filtering point echelon of adjacent each pixel to carry out, so that entire filtering
Process continuous productive process, greatly improves the efficiency, and saves hardware spending.
It should be noted that herein, relational terms such as first and second and the like are used merely to a reality
Body or operation are distinguished with another entity or operation, are deposited without necessarily requiring or implying between these entities or operation
In any actual relationship or order or sequence.Moreover, the terms "include", "comprise" or its any other variant are intended to
Non-exclusive inclusion, so that process, method, article or terminal device including a series of elements include not only those
Element, but also include other elements that are not explicitly listed, or further include for this process, method, article or end
The intrinsic element of end equipment.In the absence of more restrictions, being limited by sentence " including ... " or " including ... "
Element, it is not excluded that there is also other elements in process, method, article or the terminal device including the element.This
Outside, herein, " being more than ", " being less than ", " being more than " etc. are interpreted as not including this number;" more than ", " following ", " within " etc. understandings
It includes this number to be.
It should be understood by those skilled in the art that, the various embodiments described above can be provided as method, apparatus or computer program production
Product.Complete hardware embodiment, complete software embodiment or embodiment combining software and hardware aspects can be used in these embodiments
Form.All or part of step in the method that the various embodiments described above are related to can be instructed by program relevant hardware come
It completes, the program can be stored in the storage medium that computer equipment can be read, for executing the various embodiments described above side
All or part of step described in method.The computer equipment, including but not limited to:Personal computer, server, general-purpose computations
It is machine, special purpose computer, the network equipment, embedded device, programmable device, intelligent mobile terminal, smart home device, wearable
Smart machine, vehicle intelligent equipment etc.;The storage medium, including but not limited to:RAM, ROM, magnetic disc, tape, CD, sudden strain of a muscle
It deposits, USB flash disk, mobile hard disk, storage card, memory stick, webserver storage, network cloud storage etc..
The various embodiments described above are with reference to method, equipment (system) and the computer program product according to embodiment
Flowchart and/or the block diagram describes.It should be understood that can be realized by computer program instructions every in flowchart and/or the block diagram
The combination of flow and/or box in one flow and/or box and flowchart and/or the block diagram.These computers can be provided
Program instruction is to the processor of computer equipment to generate a machine so that the finger executed by the processor of computer equipment
It enables and generates to specify in one flow of flow chart or multiple flows and/or one box of block diagram or multiple boxes
The device of function.
These computer program instructions, which may also be stored in, can guide computer equipment computer operate in a specific manner to set
In standby readable memory so that the instruction generation being stored in the computer equipment readable memory includes the manufacture of command device
Product, command device realization refer in one flow of flow chart or multiple flows and/or one box of block diagram or multiple boxes
Fixed function.
These computer program instructions can be also loaded on computer equipment so that be executed on a computing device a series of
To generate computer implemented processing, the instruction to execute on a computing device is provided for realizing in flow operating procedure
The step of function of being specified in one flow of figure or multiple flows and/or one box of block diagram or multiple boxes.
Although the various embodiments described above are described, once a person skilled in the art knows basic wounds
The property made concept, then additional changes and modifications can be made to these embodiments, so example the above is only the implementation of the present invention,
It is not intended to limit the scope of patent protection of the present invention, it is every to utilize equivalent structure made by description of the invention and accompanying drawing content
Or equivalent process transformation, it is applied directly or indirectly in other relevant technical fields, the patent for being similarly included in the present invention
Within protection domain.
Claims (6)
1. a kind of image filtering method, which is characterized in that described method includes following steps:
Within the period 1, first is carried out to the first pixel and is filtered;
Within second round, the second pixel first be filtered, and the first pixel to being filtered by first into
Row second is filtered, and second pixel is adjacent with the first pixel and positioned at the first pixel the right or following pixel;
Within the period 3, first is carried out to third pixel and is filtered, second is carried out to the second pixel by the first filtering
It is filtered, carrying out third to the first pixel by the second filtering is filtered;The third pixel be and the second pixel phase
It is adjacent and on the right of the second pixel or following pixel;When second pixel is edge pixel point, the third picture
First pixel of the next line that vegetarian refreshments is expert at by the second pixel, or arranged for the right one of the second pixel column
First pixel;
" the carrying out third to the first pixel by the second filtering to be filtered " includes:Calculate the first pixel and previous frame
The pixel value difference of the identical pixel of first pixel coordinate position in image, and closed according to pixel value difference is corresponding with list item value
System, obtains the corresponding list item value of the pixel value difference, by the pixel value of the first pixel being filtered by first with it is acquired
List item value be added or subtracted each other;
Described first is filtered into and filters from left to right, and described second is filtered into when filtering from top to bottom:
Second pixel is pixel adjacent with the first pixel and on the right of the first pixel, the third pixel be with
Second pixel is adjacent and pixel on the right of the second pixel, when second pixel is edge pixel point, described the
First pixel of the next line that three pixels are expert at by the second pixel;
" the carrying out first to the first pixel to be filtered " includes:Calculate the first pixel left side adjacent with the first pixel
The pixel value difference of pixel, and according to the correspondence of pixel value difference and list item value, the corresponding list item value of the pixel value difference is obtained,
The pixel value of first pixel is added or is subtracted each other with acquired list item value;
" the carrying out first to the second pixel to be filtered " includes:Calculate the pixel difference of the first pixel and the second pixel
Value, and according to the correspondence of pixel value difference and list item value, the corresponding list item value of the pixel value difference is obtained, by the second pixel
Pixel value is added or is subtracted each other with acquired list item value;
" the carrying out second to the first pixel being filtered by first to be filtered " includes:It calculates by the first filtering
The pixel value difference of the first pixel top pixel adjacent with the first pixel of reason, and according to pixel value difference and list item value
Correspondence obtains the corresponding list item value of the pixel value difference, by the pixel value of the first pixel being filtered by first with
Acquired list item value is added or is subtracted each other;
Alternatively, described first is filtered into and filters from top to bottom, described second is filtered into when filtering from left to right:
Second pixel is adjacent with the first pixel and positioned at the following pixel of the first pixel, the third pixel be with
Second pixel is adjacent and positioned at the following pixel of the second pixel, when second pixel is edge pixel point, described the
Three pixels are first pixel that the right one of the second pixel column arranges;
" the carrying out first to the first pixel to be filtered " includes:Calculate the first pixel top adjacent with the first pixel
The pixel value difference of pixel, and according to the correspondence of pixel value difference and list item value, the corresponding list item value of the pixel value difference is obtained,
The pixel value of first pixel is added or is subtracted each other with acquired list item value;
" the carrying out first to the second pixel to be filtered " includes:Calculate the pixel difference of the first pixel and the second pixel
Value, and according to the correspondence of pixel value difference and list item value, the corresponding list item value of the pixel value difference is obtained, by the second pixel
Pixel value is added or is subtracted each other with acquired list item value;
" the carrying out second to the first pixel being filtered by first to be filtered " includes:It calculates by the first filtering
The pixel value difference of the first pixel leftmost pixel point adjacent with the first pixel of reason, and according to pixel value difference and list item value
Correspondence obtains the corresponding list item value of the pixel value difference, by the pixel value of the first pixel being filtered by first with
Acquired list item value is added or is subtracted each other.
2. image filtering method according to claim 1, which is characterized in that described first is filtered into and filters from left to right,
Described second is filtered into when filtering from top to bottom, described " pixel value of the first pixel and acquired list item value to be carried out phase
Add or subtract each other " it specifically includes:When the pixel value of the first pixel is more than the pixel of the leftmost pixel point adjacent with the first pixel
When value, the pixel value of the first pixel and acquired list item value are subtracted each other;When the pixel value of the first pixel is less than and first
When the pixel value of the adjacent leftmost pixel point of pixel, the pixel value of the first pixel is added with acquired list item value.
3. image filtering method according to claim 1, which is characterized in that described first is filtered into and filters from top to bottom,
Described second is filtered into when filtering from left to right, described " pixel value of the first pixel and acquired list item value to be carried out phase
Add or subtract each other " it specifically includes:When the pixel value of the first pixel is more than the pixel of the top pixel adjacent with the first pixel
When value, the pixel value of the first pixel and acquired list item value are subtracted each other;When the pixel value of the first pixel is less than and first
When the pixel value of the adjacent top pixel of pixel, the pixel value of the first pixel is added with acquired list item value.
4. a kind of image filtering device, which is characterized in that described device includes the first filter unit, the second filter unit and third
Filter unit;
Within the period 1, the first filter unit is used to carry out first to the first pixel to be filtered;
Within second round, the first filter unit is used to carry out first to the second pixel to be filtered, and the second filter unit is used for
Second is carried out to the first pixel being filtered by first to be filtered, second pixel is adjacent and position with the first pixel
In the first pixel the right or following pixel;
Within the period 3, the first filter unit is used to carry out first to third pixel to be filtered, and the second filter unit is used for
Second is carried out to the second pixel by the first filtering to be filtered, third filter unit is used for first by the second filtering
Pixel carries out third and is filtered;The third pixel is adjacent with the second pixel and positioned at the second pixel the right or following picture
Vegetarian refreshments;When second pixel is edge pixel point, next line that the third pixel is expert at by the second pixel
First pixel, or for the second pixel column the right one arrange first pixel;
The third filter unit includes third pixel value difference computing module, third list item value acquisition module, third list item value meter
Calculate module;" third filter unit is used to carry out third to the first pixel by the second filtering to be filtered " includes:The
Three pixel value difference computing modules are for calculating the first pixel picture identical with the first pixel coordinate position in previous frame image
The pixel value difference of vegetarian refreshments, third list item value acquisition module are used for the correspondence according to pixel value difference and list item value, obtain the picture
The corresponding list item value of plain difference, third list item value computing module will be for that will pass through the pixel of first the first pixel being filtered
Value is added or is subtracted each other with acquired list item value;
Described first is filtered into and filters from left to right, and described second is filtered into when filtering from top to bottom:
Second pixel is pixel adjacent with the first pixel and on the right of the first pixel, the first filter unit packet
Include the first pixel value difference computing module, the first list item value acquisition module, the first list item value computing module;The third pixel is
Pixel adjacent with the second pixel and on the right of the second pixel, it is described when second pixel is edge pixel point
First pixel of the next line that third pixel is expert at by the second pixel;
" the first filter unit is used to carry out first to the first pixel to be filtered " includes:First pixel value difference computing module
Pixel value difference for calculating the first pixel leftmost pixel point adjacent with the first pixel, the first list item value acquisition module are used
In the correspondence according to pixel value difference and list item value, the corresponding list item value of the pixel value difference is obtained, the first list item value calculates mould
Block is for the pixel value of the first pixel to be added or be subtracted each other with acquired list item value;
" the first filter unit is used to carry out first to the second pixel to be filtered " includes:First pixel value difference computing module
Pixel value difference for calculating the first pixel and the second pixel, the first list item value acquisition module be used for according to pixel value difference with
The correspondence of list item value, obtains the corresponding list item value of the pixel value difference, and the first list item value computing module is used for the second pixel
The pixel value of point is added or is subtracted each other with acquired list item value;
Second filter unit includes the second pixel value difference computing module, the second list item value acquisition module, the second list item value meter
Calculate module;" the second filter unit is used to carry out second to the first pixel being filtered by the first to be filtered " packet
It includes:Second pixel value difference computing module is used to calculate the first pixel being filtered by first adjacent with the first pixel
The pixel value difference of top pixel, the second list item value acquisition module are used for the correspondence according to pixel value difference and list item value, obtain
The corresponding list item value of the pixel value difference is taken, the second list item value computing module will be for that will pass through first the first pixel being filtered
Pixel value be added or subtracted each other with acquired list item value;
Described first is filtered into and filters from top to bottom, and described second is filtered into when filtering from left to right:
Second pixel is adjacent with the first pixel and positioned at the following pixel of the first pixel, the first filter unit packet
Include the first pixel value difference computing module, the first list item value acquisition module, the first list item value computing module;The third pixel is
It is adjacent with the second pixel and positioned at the following pixel of the second pixel, it is described when second pixel is edge pixel point
Third pixel is first pixel that the right one of the second pixel column arranges;
" the first filter unit is used to carry out first to the first pixel to be filtered " includes:First pixel value difference computing module
Pixel value difference for calculating the first pixel top pixel adjacent with the first pixel, the first list item value acquisition module are used
In the correspondence according to pixel value difference and list item value, the corresponding list item value of the pixel value difference is obtained, the first list item value calculates mould
Block is for the pixel value of the first pixel to be added or be subtracted each other with acquired list item value;
" the first filter unit is used to carry out first to the second pixel to be filtered " includes:First pixel value difference computing module
Pixel value difference for calculating the first pixel and the second pixel, the first list item value acquisition module be used for according to pixel value difference with
The correspondence of list item value, obtains the corresponding list item value of the pixel value difference, and the first list item value computing module is used for the second pixel
The pixel value of point is added or is subtracted each other with acquired list item value;
Second filter unit includes the second pixel value difference computing module, the second list item value acquisition module, the second list item value meter
Calculate module;" the second filter unit is used to carry out second to the first pixel being filtered by the first to be filtered " packet
It includes:Second pixel value difference computing module is used to calculate the first pixel being filtered by first adjacent with the first pixel
The pixel value difference of leftmost pixel point, the second list item value acquisition module are used for the correspondence according to pixel value difference and list item value, obtain
The corresponding list item value of the pixel value difference is taken, the second list item value computing module will be for that will pass through first the first pixel being filtered
Pixel value be added or subtracted each other with acquired list item value.
5. image filtering device according to claim 4, which is characterized in that described first is filtered into and filters from left to right,
Described second is filtered into when filtering from top to bottom, and described " the first list item value computing module is used for the pixel value of the first pixel
It is added or is subtracted each other with acquired list item value " it specifically includes:When the pixel value of the first pixel is more than and the first pixel
When the pixel value of adjacent leftmost pixel point, the first list item value computing module be used for by the pixel value of the first pixel with it is acquired
List item value subtract each other;When the pixel value of the first pixel is less than the pixel value of the leftmost pixel point adjacent with the first pixel,
First list item value computing module is for the pixel value of the first pixel to be added with acquired list item value.
6. image filtering device according to claim 4, which is characterized in that described first is filtered into and filters from top to bottom,
Described second is filtered into when filtering from left to right, and described " the first list item value computing module is used for the pixel value of the first pixel
It is added or is subtracted each other with acquired list item value " it specifically includes:When the pixel value of the first pixel is more than and the first pixel
When the pixel value of adjacent top pixel, the first list item value computing module be used for by the pixel value of the first pixel with it is acquired
List item value subtract each other;When the pixel value of the first pixel is less than the pixel value of the top pixel adjacent with the first pixel,
First list item value computing module is for the pixel value of the first pixel to be added with acquired list item value.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610490476.7A CN105894479B (en) | 2016-06-28 | 2016-06-28 | A kind of image filtering method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610490476.7A CN105894479B (en) | 2016-06-28 | 2016-06-28 | A kind of image filtering method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105894479A CN105894479A (en) | 2016-08-24 |
CN105894479B true CN105894479B (en) | 2018-08-31 |
Family
ID=56719342
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610490476.7A Active CN105894479B (en) | 2016-06-28 | 2016-06-28 | A kind of image filtering method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105894479B (en) |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6526181B1 (en) * | 1998-01-27 | 2003-02-25 | Eastman Kodak Company | Apparatus and method for eliminating imaging sensor line noise |
JP2005229491A (en) * | 2004-02-16 | 2005-08-25 | Matsushita Electric Ind Co Ltd | Method for removing noises from digital images |
CN101739670A (en) * | 2009-11-27 | 2010-06-16 | 西安电子科技大学 | Non-local mean space domain time varying image filtering method |
CN102289798A (en) * | 2011-08-18 | 2011-12-21 | 青岛海信信芯科技有限公司 | method and device for reducing image ringing noise |
CN103606132A (en) * | 2013-10-31 | 2014-02-26 | 西安电子科技大学 | Multiframe digital image denoising method based on space domain and time domain combination filtering |
CN104050646A (en) * | 2014-07-04 | 2014-09-17 | 西安电子科技大学 | Method for restraining image impulse noise based on iteration non-local mean value |
CN104809705A (en) * | 2015-04-29 | 2015-07-29 | 厦门美图之家科技有限公司 | Image denoising method and system based on threshold value block matching |
-
2016
- 2016-06-28 CN CN201610490476.7A patent/CN105894479B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6526181B1 (en) * | 1998-01-27 | 2003-02-25 | Eastman Kodak Company | Apparatus and method for eliminating imaging sensor line noise |
JP2005229491A (en) * | 2004-02-16 | 2005-08-25 | Matsushita Electric Ind Co Ltd | Method for removing noises from digital images |
CN101739670A (en) * | 2009-11-27 | 2010-06-16 | 西安电子科技大学 | Non-local mean space domain time varying image filtering method |
CN102289798A (en) * | 2011-08-18 | 2011-12-21 | 青岛海信信芯科技有限公司 | method and device for reducing image ringing noise |
CN103606132A (en) * | 2013-10-31 | 2014-02-26 | 西安电子科技大学 | Multiframe digital image denoising method based on space domain and time domain combination filtering |
CN104050646A (en) * | 2014-07-04 | 2014-09-17 | 西安电子科技大学 | Method for restraining image impulse noise based on iteration non-local mean value |
CN104809705A (en) * | 2015-04-29 | 2015-07-29 | 厦门美图之家科技有限公司 | Image denoising method and system based on threshold value block matching |
Non-Patent Citations (5)
Title |
---|
Nonlocal image and movie denoising;BUADES A 等;《Computer Vision》;20080229;第76卷(第2期);123-139 * |
Speckle noise reduction of medical ultrasound images in complex wavelet domain using mixture priors;RABBANI H 等;《Biomedical Engineering》;20080930;第55卷(第9期);2152-2160 * |
使用中值-各向异性扩散的超声图像去噪算法;王常虹 等;《哈尔滨工程大学学报》;20110331;第32卷(第3期);314-321 * |
十字基自适应指导滤波在图像降噪中的应用;权利 等;《计算机应用》;20151010;第35卷(第10期);2959-2962 * |
基于改进数学形态学滤波的农产品图像处理;陆广地;《江苏农业科学》;20150125;第43卷(第1期);402-404 * |
Also Published As
Publication number | Publication date |
---|---|
CN105894479A (en) | 2016-08-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Yang | Recursive bilateral filtering | |
Min et al. | Fast global image smoothing based on weighted least squares | |
CN107085825A (en) | Image weakening method, device and electronic equipment | |
Danielyan et al. | Image deblurring by augmented Lagrangian with BM3D frame prior | |
Lenzen et al. | A class of quasi-variational inequalities for adaptive image denoising and decomposition | |
CN108470364A (en) | A kind of curve-fitting method and device | |
CN109360168A (en) | Infrared image removes method, apparatus, infrared detector and the storage medium of striped | |
Zhang et al. | A fractional diffusion-wave equation with non-local regularization for image denoising | |
CN109410246B (en) | Visual tracking method and device based on correlation filtering | |
CN109754359A (en) | A kind of method and system that the pondization applied to convolutional neural networks is handled | |
CN108986197A (en) | 3D skeleton line construction method and device | |
CN109461125A (en) | Point 2-d gaussian filters device and image processing method based on FPGA | |
CN104156982B (en) | Motion target tracking method and device | |
CN104217417A (en) | A video multiple-target tracking method and device | |
CN105894450A (en) | Image processing method and device | |
CN111079893B (en) | Acquisition method and device for generator network for interference fringe pattern filtering | |
Michailidis et al. | High performance stereo system for dense 3-D reconstruction | |
CN105894479B (en) | A kind of image filtering method and device | |
CN105719330B (en) | Animation curve generation method and device | |
CN109471151A (en) | Signal processing method, device and user terminal | |
CN104299223B (en) | Different-source image matching method based on Gabor coding | |
CN109712230B (en) | Three-dimensional model supplementing method and device, storage medium and processor | |
CN102551683B (en) | Three-dimensional temperature imaging method and system | |
CN103377463B (en) | A kind of method and device of filter processing | |
CN109388311A (en) | A kind of image display method, device and equipment |
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 | ||
CP01 | Change in the name or title of a patent holder | ||
CP01 | Change in the name or title of a patent holder |
Address after: 350003 building, No. 89, software Avenue, Gulou District, Fujian, Fuzhou 18, China Patentee after: Ruixin Microelectronics Co., Ltd Address before: 350003 building, No. 89, software Avenue, Gulou District, Fujian, Fuzhou 18, China Patentee before: Fuzhou Rockchips Electronics Co.,Ltd. |