CN106303157A - A kind of vedio noise reduction processing method and vedio noise reduction processing means - Google Patents
A kind of vedio noise reduction processing method and vedio noise reduction processing means Download PDFInfo
- Publication number
- CN106303157A CN106303157A CN201610797627.3A CN201610797627A CN106303157A CN 106303157 A CN106303157 A CN 106303157A CN 201610797627 A CN201610797627 A CN 201610797627A CN 106303157 A CN106303157 A CN 106303157A
- Authority
- CN
- China
- Prior art keywords
- pixel
- frame image
- target frame
- value
- current frame
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000012545 processing Methods 0.000 title claims abstract description 27
- 238000003672 processing method Methods 0.000 title claims abstract description 11
- 238000001914 filtration Methods 0.000 claims description 29
- 238000000034 method Methods 0.000 claims description 22
- 239000000872 buffer Substances 0.000 claims description 15
- 238000011946 reduction process Methods 0.000 abstract description 15
- 238000004422 calculation algorithm Methods 0.000 abstract description 13
- 238000004364 calculation method Methods 0.000 abstract description 7
- 238000004891 communication Methods 0.000 description 9
- 238000005516 engineering process Methods 0.000 description 7
- 241000208340 Araliaceae Species 0.000 description 5
- 235000005035 Panax pseudoginseng ssp. pseudoginseng Nutrition 0.000 description 5
- 235000003140 Panax quinquefolius Nutrition 0.000 description 5
- 235000008434 ginseng Nutrition 0.000 description 5
- 238000013461 design Methods 0.000 description 4
- 206010019133 Hangover Diseases 0.000 description 3
- 241000406668 Loxodonta cyclotis Species 0.000 description 3
- 238000010586 diagram Methods 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 230000000712 assembly Effects 0.000 description 1
- 238000000429 assembly Methods 0.000 description 1
- 230000006399 behavior Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 210000004556 brain Anatomy 0.000 description 1
- 238000004140 cleaning Methods 0.000 description 1
- 238000004590 computer program Methods 0.000 description 1
- 230000001934 delay Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- 230000007613 environmental effect Effects 0.000 description 1
- 239000011521 glass Substances 0.000 description 1
- 230000000977 initiatory effect Effects 0.000 description 1
- 239000000203 mixture Substances 0.000 description 1
- 238000011160 research Methods 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
- 239000002699 waste material Substances 0.000 description 1
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N5/00—Details of television systems
- H04N5/14—Picture signal circuitry for video frequency region
- H04N5/21—Circuitry for suppressing or minimising disturbance, e.g. moiré or halo
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Image Processing (AREA)
- Picture Signal Circuits (AREA)
- Compression Or Coding Systems Of Tv Signals (AREA)
Abstract
The embodiment of the invention discloses a kind of vedio noise reduction processing method, including: obtain the current frame image of video;When there is target frame image, the pixel in this current frame image being carried out pixel value calculating with the pixel of correspondence position in this target frame image, obtains the absolute value of pixel value;Wherein, the two field picture that this target frame image exports after being the previous frame image noise reduction process of this current frame image;Judge that whether this absolute value is more than predetermined threshold value;If be judged as YES, then the pixel of correspondence position in this target frame image is updated to the pixel in this current frame image;When this current frame image completes the mathematic interpolation of predetermined number pixel, this target frame image after output renewal.The invention also discloses vedio noise reduction processing means, use the present invention, solve the vedio noise reduction algorithm of prior art and can not meet that mobile terminal live video stream amount of calculation is low, the technical problem of undelayed requirement.
Description
Technical field
The present invention relates to field of video processing, particularly relate to a kind of vedio noise reduction processing method and vedio noise reduction processes dress
Put.
Background technology
Along with the arrival of information age, arise at the historic moment from media.Each user can become the disseminator of information, people
Can pass information to information receiver by various modes of propagation, wherein, mode of propagation includes character spread, figure
Sheet propagation, audio frequency propagation, video transmission etc..Along with Internet technology is fast-developing, user increasingly tends to select to regard online
Frequently the mode of real-time live broadcast, shares some anecdotes or carries out on-the-spot individual performance of talent and art with other people, and people can use individual's electricity
Brain or mobile terminal etc. carry out net cast (or video calling).
Converse in scene at mobile live and mobile video, owing to the daylighting ability of small-sized image pickup head is intersected, often deposit
Situation in the picture noise substantial increase caused because environmental light intensity is not enough.Too much noise can cause under video-see quality
Fall, also can result in video coding efficiency simultaneously and reduces, waste the network bandwidth.
There is a large amount of existing research in the noise reduction algorithm for video, but is normally based on the technology such as image block search, although
Effect is preferable, but requires computing capability the highest or there is frame level output delay, it is impossible to meet mobile terminal real-time video stream calculation
Measure requirement low, undelayed.
Summary of the invention
Embodiment of the present invention technical problem to be solved is, it is provided that a kind of vedio noise reduction processing method and vedio noise reduction
Processing means, it is low, undelayed that the vedio noise reduction algorithm of solution prior art can not meet mobile terminal live video stream amount of calculation
The technical problem required.
First aspect, embodiments provides a kind of vedio noise reduction processing method, including:
Obtain the current frame image of video;
When there is target frame image, by the pixel in described current frame image and corresponding position in described target frame image
The pixel put carries out pixel value calculating, obtains the absolute value of pixel value;Wherein, described target frame image is described
The two field picture that the previous frame image noise reduction of current frame image exports after processing;
Judge that whether described absolute value is more than predetermined threshold value;
If be judged as YES, then the pixel of correspondence position in described target frame image is updated to described current frame image
In pixel;
When described current frame image completes the mathematic interpolation of predetermined number pixel, and obtain working as after noise reduction process
Described target frame image after prior image frame, after output renewal.
In conjunction with first aspect, in the implementation that the first is possible, described when there is target frame image, work as described
Pixel in prior image frame carries out pixel value calculating with the pixel of correspondence position in described target frame image, including:
Detect whether described current frame image is the first two field picture;
If be detected as no, by the pixel in described current frame image and the picture of correspondence position in described target frame image
Vegetarian refreshments carries out pixel value calculating;
If be detected as being, described current frame image is exported as target frame image.
In conjunction with first aspect, in the implementation that the second is possible, preserved described by default image buffer
Target frame image.
In conjunction with the implementation that the second of first aspect is possible, in the implementation that the third is possible, described image
The size of relief area is the size of a two field picture.
In conjunction with first aspect, in the 4th kind of possible implementation, described predetermined number pixel includes whole frame
All of pixel in image.
In conjunction with first aspect, or the first possible implementation of first aspect, or the second of first aspect
Possible implementation, or the third possible implementation of first aspect, or the 4th kind of first aspect is possible
Implementation, in the 5th kind of possible implementation, described judges that described absolute value, whether more than after predetermined threshold value, also wraps
Include:
If be judged as NO, according to the pixel value of the pixel of correspondence position, described pixel in described target frame image
The absolute value of difference and default filtering parameter, calculate target pixel value, and by correspondence position in described target frame image
The pixel value of pixel be updated to described target pixel value.
In conjunction with the 5th kind of possible implementation of first aspect, in the 6th kind of possible implementation, described basis
The pixel value of the pixel of correspondence position, the absolute value of described pixel difference and default filtering in described target frame image
Parameter, calculates target pixel value, including
Described target pixel value is calculated by below equation:
Q=(p* (C+a)+q ' * (D-a))/(C+D)
Wherein, q is target pixel value, and q ' is the pixel value of the pixel of correspondence position in described target frame image, and p is institute
Stating the pixel value of pixel in current frame image, a is the absolute value of described pixel difference, C and D is default filtering ginseng
Number;Described C and D is arithmetic number.
Second aspect, embodiments provides a kind of vedio noise reduction processing means, including:
Acquisition module, for obtaining the current frame image of video;
, for when there is target frame image, by the pixel in described current frame image with described in difference calculating module
In target frame image, the pixel of correspondence position carries out pixel value calculating, obtains the absolute value of pixel value;Wherein, institute
State the two field picture of output after the previous frame image noise reduction that target frame image is described current frame image processes;
Threshold value judgment module, is used for judging that whether described absolute value is more than predetermined threshold value;
First arranges module, if in time being judged as YES, then by the pixel of correspondence position in described target frame image more
New is the pixel in described current frame image;
Image output module, for completing the mathematic interpolation of predetermined number pixel when described current frame image, and
Described target frame image after obtaining the current frame image after noise reduction process, after output renewal.
In conjunction with second aspect, in the implementation that the first is possible, described difference calculating module includes:
Detector unit, is used for detecting whether described current frame image is the first two field picture;
Computing unit, if in time being detected as no, by the pixel in described current frame image and described target frame image
The pixel of middle correspondence position carries out pixel value calculating;
Output unit, if in time being detected as being, exporting described current frame image as target frame image.
In conjunction with second aspect, in the implementation that the second is possible, also include preserving module, for by default figure
As relief area preserves described target frame image.
In conjunction with the implementation that the second of second aspect is possible, in the implementation that the third is possible, described image
The size of relief area is the size of a two field picture.
In conjunction with second aspect, in the 4th kind of possible implementation, described predetermined number pixel includes whole frame
All of pixel in image.
In conjunction with second aspect, or the first possible implementation of second aspect, or the second of second aspect
Possible implementation, or the third possible implementation of second aspect, or the 4th kind of second aspect is possible
Implementation, in the 5th kind of possible implementation, also includes:
Calculated for pixel values module, if the judged result being used for described threshold value judgment module is no, according to described target frame
The pixel value of the pixel of correspondence position, the absolute value of described pixel difference and default filtering parameter in image, calculate
Go out target pixel value;
Second arranges module, described for being updated to by the pixel value of the pixel of correspondence position in described target frame image
Target pixel value.
In conjunction with the 5th kind of possible implementation of second aspect, in the 6th kind of possible implementation, described pixel
Value computing module specifically for, calculate described target pixel value by below equation:
Q=(p* (C+a)+q ' * (D-a))/(C+D)
Wherein, q is target pixel value, and q ' is the pixel value of the pixel of correspondence position in described target frame image, and p is institute
Stating the pixel value of pixel in current frame image, a is the absolute value of described pixel difference, C and D is default filtering ginseng
Number;Described C and D is arithmetic number.
The third aspect, embodiments provides a kind of computer-readable storage medium, and described computer-readable storage medium stores
Having program, described program includes embodiment of the present invention first aspect, or the first possible realization of first aspect when performing
Mode, or the implementation that the second of first aspect is possible, or the third possible implementation of first aspect, or
4th kind of possible implementation of person's first aspect, or the 5th kind of possible implementation of first aspect, or first
Method for video coding disclosed in 6th kind of possible implementation of aspect.
By implementing the embodiment of the present invention, by the pixel in this current frame image and correspondence position in this target frame image
Pixel carry out pixel value calculating, obtain the absolute value of pixel difference;Judge that whether this absolute value is more than presetting threshold
Value;If be judged as YES, then the pixel of correspondence position in described target frame image is updated in described current frame image
Pixel;When described current frame image completes the mathematic interpolation of predetermined number pixel, the described target after output renewal
Two field picture.Achieve by the filtering of the timedomain exponential of the band threshold value of video pictures pixel is carried out noise reduction, computational throughput
While low minimizing mobile terminal power consumption, do not increase postponing and effectively reducing the noise level in video of system, reach relatively
Good noise reduction, solves the vedio noise reduction algorithm of prior art and can not meet that mobile terminal live video stream amount of calculation is low, nothing
The technical problem of the requirement postponed;And avoid prior art in mobile terminal net cast, video communication due to terminal CPU
Computing capability is the highest and does not carries out noise reduction process at software view, or only carries out simple time-domain filtering, is readily incorporated hangover existing
The problem of elephant;It addition, the embodiment of the present invention algorithm logic design the most regular, can well application of multimedia instruction set excellent
Change technology, thus reduce computing overhead further.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
In having technology to describe, the required accompanying drawing used is briefly described, it should be apparent that, the accompanying drawing in describing below is only this
Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, it is also possible to
Other accompanying drawing is obtained according to these accompanying drawings.
Fig. 1 is the scene schematic diagram that the vedio noise reduction that the embodiment of the present invention provides processes;
Fig. 2 is the schematic flow sheet of the vedio noise reduction processing method that the embodiment of the present invention provides;
Fig. 3 is the schematic flow sheet of another embodiment of the vedio noise reduction processing method that the present invention provides;
Fig. 4 is the structural representation of the vedio noise reduction processing means that the embodiment of the present invention provides;
Fig. 5 is the structural representation of the difference calculating module that the embodiment of the present invention provides;
Fig. 6 is the structural representation of another embodiment of the vedio noise reduction processing means that the present invention provides;
Fig. 7 is the structural representation of another embodiment of the vedio noise reduction processing means that the present invention provides;
Fig. 8 is the structural representation of another embodiment of the vedio noise reduction processing means that the present invention provides.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Describe, it is clear that described embodiment is only a part of embodiment of the present invention rather than whole embodiments wholely.Based on
Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under not making creative work premise
Embodiment, broadly falls into the scope of protection of the invention.
It should be noted that the term used in embodiments of the present invention is only merely for the mesh describing specific embodiment
, and it is not intended to be limiting the present invention." one of singulative used in the embodiment of the present invention and appended claims
Kind ", " described " and " being somebody's turn to do " be also intended to include majority form, unless context clearly shows that other implications.It is also understood that this
Any or all possible group that the term "and/or" used in literary composition refers to and comprises one or more project of listing being associated
Close.
In conjunction with the scene schematic diagram of the vedio noise reduction process that the embodiment of the present invention shown in Fig. 1 provides, live user or straight
The side of broadcasting can gather admission video by electronic equipments such as band camera function or the computer of camera head, mobile terminals, and electronics sets
For processing video (coding, noise reduction etc.), being then sent to the server of correspondence by network, server will process backsight
Frequency is according to the electronic equipment being sent to the other end, in order to the user watching this video should by the electronic equipment reception of this other end
Video data, plays out.
It should be noted that this server can provide a net cast or the platform of video calling, user can be
Log in this platform and carry out initiation or the viewing of net cast.
Below in conjunction with the schematic flow sheet of the vedio noise reduction processing method that the embodiment of the present invention shown in Fig. 2 provides, in detail
Illustrate how the present invention carries out noise reduction to video, comprise the following steps:
Step S200: obtain the current frame image of video;
Specifically, the embodiment of the present invention carries out image procossing one by one to video, obtains current frame image, and at place
After managing complete output, then obtain next frame image, until having processed all two field pictures of this video.
Step S202: when there is target frame image, by the pixel in described current frame image and described target frame figure
In Xiang, the pixel of correspondence position carries out pixel value calculating, obtains the absolute value of pixel value;
Specifically, at the previous frame image noise reduction that target frame image is this current frame image in each embodiment of the present invention
The two field picture of output after reason, say, that such as current frame image is the 9th two field picture of this video, if there is to this video
The 8th two field picture noise reduction process after the two field picture of output time, just by the pixel in the 9th two field picture and the 8th two field picture
The pixel of correspondence position carries out pixel value calculating, obtains the absolute value of pixel difference.With this in the embodiment of the present invention
In target frame image, the pixel of correspondence position carries out pixel value calculating, and each two pixel of fingering row mathematic interpolation exists
Each the position in the two field picture at place is identical, such as the pixel of the 10th row the 24th row in current frame image, with target
In two field picture, the pixel of the 10th row the 24th row, carries out pixel value calculating.
Step S204: judge that whether described absolute value is more than predetermined threshold value;
Specifically, the embodiment of the present invention can pre-set the threshold value owing to comparing, and the size of this threshold value can take
Between 10 to 20, such as 12,15 etc.;When judging this absolute value more than predetermined threshold value, then can perform step S206;No
Then, step S208 can be performed.
Step S206: the pixel of correspondence position in described target frame image is updated to the picture in described current frame image
Vegetarian refreshments;
Specifically, say, that when judging this absolute value more than predetermined threshold value, directly will carry out the current of mathematic interpolation
The pixel value of the pixel in two field picture is as the pixel of correspondence position in the target frame image after updating.
Step S208: according to the pixel value of the pixel of correspondence position, described pixel difference in described target frame image
Absolute value and default filtering parameter, calculate target pixel value, and by the picture of correspondence position in described target frame image
The pixel value of vegetarian refreshments is updated to described target pixel value;
Specifically, when judging that this absolute value is not more than predetermined threshold value, can be according to correspondence position in this target frame image
The pixel value of pixel, the absolute value of this pixel difference and default filtering parameter, utilize preset weighted average calculate
Method calculates target pixel value, and and the pixel value of the pixel of correspondence position in this target frame image is updated to this target picture
Element value.
It should be noted that by step S204 to step S208, it is achieved that by the band threshold to video pictures pixel
The timedomain exponential filtering of value carries out noise reduction, while computational throughput low minimizing mobile terminal power consumption, does not increase system
Postpone and effectively reduce the noise level in video, reaching preferable noise reduction.
Step S210: when described current frame image completes the mathematic interpolation of predetermined number pixel, after output updates
Described target frame image.
Specifically, this predetermined number pixel, can be to randomly select from all pixels of this current frame image
Or according to necessarily choosing rule and select the pixel of predetermined number, it is also possible to it is directly all pixels of this current frame image
Point;When by above-mentioned steps S202 to step S208, completing the mathematic interpolation of this predetermined number pixel, i.e. can get more
This target frame image (i.e. two field picture after noise reduction process) after Xin, and export this target frame image.
It should be noted that carried out the difference meter of above-mentioned predetermined number pixel by step S202 to step S208
Calculate, mathematic interpolation can be carried out simultaneously in parallel, it is also possible to carry out mathematic interpolation, the present invention the most one by one
It is not restricted.
If also, it should be noted step S204 judges when this absolute value is not more than predetermined threshold value in the embodiment of the present invention,
It is not limited to perform step S208, it is also possible to updated the pixel of pixel in target frame image by other parameters or means
Value, the present invention is not restricted.
By implementing the embodiment of the present invention, by the pixel in this current frame image and correspondence position in this target frame image
Pixel carry out pixel value calculating, obtain the absolute value of pixel difference;Judge that whether this absolute value is more than presetting threshold
Value;If be judged as YES, then the pixel of correspondence position in described target frame image is updated in described current frame image
Pixel;When described current frame image completes the mathematic interpolation of predetermined number pixel, the described target after output renewal
Two field picture.Achieve by the filtering of the timedomain exponential of the band threshold value of video pictures pixel is carried out noise reduction, computational throughput
While low minimizing mobile terminal power consumption, do not increase postponing and effectively reducing the noise level in video of system, reach relatively
Good noise reduction, solves the vedio noise reduction algorithm of prior art and can not meet that mobile terminal live video stream amount of calculation is low, nothing
The technical problem of the requirement postponed;And avoid prior art in mobile terminal net cast, video communication due to terminal CPU
Computing capability is the highest and does not carries out noise reduction process at software view, or only carries out simple time-domain filtering, is readily incorporated hangover existing
The problem of elephant;It addition, the embodiment of the present invention algorithm logic design the most regular, can well application of multimedia instruction set excellent
Change technology, thus reduce computing overhead further.
Further, the flow process of another embodiment of the vedio noise reduction processing method that the present invention as shown in Figure 3 provides is shown
It is intended to, further describes how the present invention carries out noise reduction to video, comprise the following steps:
Step S300: obtain the current frame image of video;
Specifically, the embodiment of the present invention carries out image procossing one by one to video, obtains current frame image, and at place
After managing complete output, then obtain next frame image, until having processed all two field pictures of this video.
Step S302: detect whether described current frame image is the first two field picture;
Specifically, when the test results is yes, then step S312 is performed;When cleaning toilet result is no, then perform step
S304。
Step S304: the target frame that the pixel in described current frame image is preserved with described default image buffer
In image, the pixel of correspondence position carries out pixel value calculating;
Specifically, the embodiment of the present invention can preserve target frame image by default image buffer, and this image delays
The size rushing district can be the size of a two field picture, it is also possible to for the size of multiple image;More preferably, this image buffer is big
Little is the size of a two field picture, can preserve the two field picture after the noise reduction process of output recently with continuous updating.So when detecting
When current frame image is not the first two field picture, show image buffer is preserved the frame of output after previous frame image noise reduction processes
Image.
Mathematic interpolation step specifically is referred to step S202 of above-mentioned Fig. 2 embodiment, repeats no more here.
Step S306: judge that whether described absolute value is more than predetermined threshold value;
Specifically, the embodiment of the present invention can pre-set the threshold value owing to comparing, when judging that this absolute value is big
When predetermined threshold value, then can perform step S308;Otherwise, step S310 can be performed.
Step S308: the pixel of correspondence position in described target frame image is updated to the picture in described current frame image
Vegetarian refreshments;
Specifically, say, that when judging this absolute value more than predetermined threshold value, directly by corresponding in this target frame image
The pixel of position is updated to carry out the pixel value of the pixel in the current frame image of mathematic interpolation.
Step S310: according to the pixel value of the pixel of correspondence position, described pixel difference in described target frame image
Absolute value and default filtering parameter, calculate target pixel value, and by the picture of correspondence position in described target frame image
The pixel value of vegetarian refreshments is updated to described target pixel value;
Specifically, the pixel value of pixel in described current frame image can be calculated by below equation:
Q=(p* (C+a)+q ' * (D-a))/(C+D)
Wherein, q is target pixel value, and q ' is the pixel value of the pixel of correspondence position in described target frame image, and p is institute
Stating the pixel value of pixel in current frame image, a is the absolute value of described pixel difference, C and D is default filtering ginseng
Number;Described C and D is arithmetic number.Preferably, C can be 4, and D can be 12, so that algorithm calculates picture more efficiently
Element value.
It should be noted that the embodiment of the present invention is not limited to above-mentioned formula, can carry out on the basis of above-mentioned formula
Deformation, as long as according to the pixel value of the pixel of correspondence position in target frame image, the absolute value of pixel difference and pre-
If filtering parameter, utilize the principle of Weighted Average Algorithm preset to calculate target pixel value.
Step S312: described current frame image is exported as target frame image;
Specifically, when checking that current frame image is the first two field picture, then directly using this current frame image as target frame
Image exports, and is preserved by this target frame image by this image buffer preset.
Step S314: judge in current frame image, whether all of pixel is disposed;
Specifically, when being judged as YES, then perform step S304, otherwise, perform step S316.
Step S316: the described target frame image after output renewal.
Specifically, while this target frame image (i.e. current frame image after noise reduction process) after output renewal, pass through
This image buffer preset preserves this target frame image after updating.
By implementing the embodiment of the present invention, by the pixel in this current frame image and correspondence position in this target frame image
Pixel carry out pixel value calculating, obtain the absolute value of pixel difference;Judge that whether this absolute value is more than presetting threshold
Value;If be judged as YES, then the pixel of correspondence position in described target frame image is updated in described current frame image
Pixel;When described current frame image completes the mathematic interpolation of predetermined number pixel, the described target after output renewal
Two field picture.Achieve by the filtering of the timedomain exponential of the band threshold value of video pictures pixel is carried out noise reduction, computational throughput
While low minimizing mobile terminal power consumption, do not increase postponing and effectively reducing the noise level in video of system, reach relatively
Good noise reduction, solves the vedio noise reduction algorithm of prior art and can not meet that mobile terminal live video stream amount of calculation is low, nothing
The technical problem of the requirement postponed;And avoid prior art in mobile terminal net cast, video communication due to terminal CPU
Computing capability is the highest and does not carries out noise reduction process at software view, or only carries out simple time-domain filtering, is readily incorporated hangover existing
The problem of elephant;It addition, the embodiment of the present invention algorithm logic design the most regular, can well application of multimedia instruction set excellent
Change technology, thus reduce computing overhead further.
The above-mentioned method illustrating the embodiment of the present invention, following for being easy to preferably implement the embodiment of the present invention
Such scheme, correspondingly, is also provided below for coordinating the relevant apparatus implementing such scheme.
The structural representation of the vedio noise reduction processing means that the embodiment of the present invention as shown in Figure 4 provides, at vedio noise reduction
Reason device 40 may include that acquisition module 400, difference calculating module 402, threshold value judgment module 404, first arranges module 406
With image output module 408, wherein,
Acquisition module 400 is for obtaining the current frame image of video;
For when there is target frame image in difference calculating module 402, by the pixel in described current frame image and institute
State the pixel of correspondence position in target frame image and carry out pixel value calculating, obtain the absolute value of pixel value;Wherein,
Described target frame image be described current frame image previous frame image noise reduction process after output two field picture;
Threshold value judgment module 404 is used for judging that whether described absolute value is more than predetermined threshold value;
If first when arranging module 406 for being judged as YES, then by the pixel of correspondence position in described target frame image
It is updated to the pixel in described current frame image;
Image output module 408 is used for completing the mathematic interpolation of predetermined number pixel when described current frame image,
Described target frame image after output renewal.
Specifically, the structural representation of the difference calculating module that the embodiment of the present invention as shown in Figure 5 provides, mathematic interpolation
Module 402 may include that detector unit 4020, computing unit 4022 and output unit 4024, wherein,
Detector unit 4020 is used for detecting whether described current frame image is the first two field picture;
If computing unit 4022 is in time being detected as no, by the pixel in described current frame image and described target frame figure
In Xiang, the pixel of correspondence position carries out pixel value calculating;
If output unit 4024 is in time being detected as being, described current frame image is exported as target frame image.
Further, the structure of another embodiment of the vedio noise reduction processing means that the present invention as shown in Figure 6 provides is shown
Being intended to, vedio noise reduction processing means 40 includes acquisition module 400, difference calculating module 402, threshold value judgment module 404, first sets
Put outside module 406 and image output module 408, it is also possible to include preserving module 4010, for by default image buffer
Preserve described target frame image.
Specifically, the size of this image buffer is the size of a two field picture.
It should be noted that predetermined number the pixel in the embodiment of the present invention includes all of picture in whole two field picture
Vegetarian refreshments.
Yet further, the structure of another embodiment of the vedio noise reduction processing means that the present invention as shown in Figure 7 provides
Schematic diagram, vedio noise reduction processing means 40 includes acquisition module 400, difference calculating module 402, threshold value judgment module 404, first
Module 406, image output module 408 it is set and preserves outside module 4010, it is also possible to including: calculated for pixel values module 4012 and the
Two arrange module 4014, wherein,
If the judged result that calculated for pixel values module 4012 is used for threshold value judgment module 404 is no, according to described target
The pixel value of the pixel of correspondence position, the absolute value of described pixel difference and default filtering parameter in two field picture, meter
Calculate target pixel value;
Second arranges module 4014 for being updated to by the pixel value of the pixel of correspondence position in described target frame image
Described target pixel value.
Specifically, calculated for pixel values module 4012 can be specifically for, calculates described object pixel by below equation
Value:
Q=(p* (C+a)+q ' * (D-a))/(C+D)
Wherein, q is target pixel value, and q ' is the pixel value of the pixel of correspondence position in described target frame image, and p is institute
Stating the pixel value of pixel in current frame image, a is the absolute value of described pixel difference, C and D is default filtering ginseng
Number;Described C and D is arithmetic number.
It will be appreciated that the function of each functional module of the vedio noise reduction processing means 50 of the present embodiment can be according to above-mentioned side
Method in method embodiment implements, and here is omitted.
Refer to the structural representation that Fig. 8, Fig. 8 are another embodiments of the vedio noise reduction processing means that the present invention provides.
Wherein, as shown in Figure 8, vedio noise reduction processing means 80 may include that at least one processor 801, such as CPU, at least one
Network interface 804, user interface 803, memorizer 805, at least one communication bus 802, alternatively, it is also possible to include display screen
806.Wherein, communication bus 802 is for realizing the connection communication between these assemblies.Wherein, user interface 803 can include touching
Touch screen, keyboard or mouse etc..Network interface 804 optionally can include that the wireline interface of standard, wave point are (such as WI-FI
Interface), communication connection can be set up with server by network interface 804.Memorizer 805 can be high-speed RAM memorizer, also
Can be non-labile memorizer (non-volatile memory), for example, at least one disk memory, memorizer 805
Including the flash in the embodiment of the present invention.Memorizer 805 optionally can also is that at least one is located remotely from aforementioned processor
The storage system of 801.As shown in Figure 8, as the memorizer 805 of a kind of computer-readable storage medium can include operating system,
Network communication module, Subscriber Interface Module SIM and vedio noise reduction processing routine.
Processor 801 may be used for calling the vedio noise reduction processing routine of storage in memorizer 805, and performs following behaviour
Make:
Obtain the current frame image of video;
When there is target frame image, by the pixel in described current frame image and corresponding position in described target frame image
The pixel put carries out pixel value calculating, obtains the absolute value of pixel value;Wherein, described target frame image is described
The two field picture that the previous frame image noise reduction of current frame image exports after processing;
Judge that whether described absolute value is more than predetermined threshold value;
If be judged as YES, then the pixel of correspondence position in described target frame image is updated to described current frame image
In pixel;
When described current frame image completes the mathematic interpolation of predetermined number pixel, the described target after output renewal
Two field picture.
Specifically, when there is target frame image, processor 801 is by the pixel in described current frame image and described mesh
In mark two field picture, the pixel of correspondence position carries out pixel value calculating, including:
Detect whether described current frame image is the first two field picture;
If be detected as no, by the pixel in described current frame image and the picture of correspondence position in described target frame image
Vegetarian refreshments carries out pixel value calculating;
If be detected as being, described current frame image is exported as target frame image.
Specifically, processor 801 can also carry out: preserves described target frame image by default image buffer.
Specifically, the size of described image buffer is the size of a two field picture.
Specifically, described predetermined number pixel includes all of pixel in whole two field picture.
Specifically, processor 801 judges that whether described absolute value is more than after predetermined threshold value, it is also possible to perform:
If be judged as NO, according to the pixel value of the pixel of correspondence position, described pixel in described target frame image
The absolute value of difference and default filtering parameter, calculate target pixel value, and by correspondence position in described target frame image
The pixel value of pixel be updated to described target pixel value.
Specifically, processor 801 is according to the pixel value of the pixel of correspondence position, described pixel in described target frame image
The absolute value of some difference and default filtering parameter, calculate target pixel value, including:
Described target pixel value is calculated by below equation:
Q=(p* (C+a)+q ' * (D-a))/(C+D)
Wherein, q is target pixel value, and q ' is the pixel value of the pixel of correspondence position in described target frame image, and p is institute
Stating the pixel value of pixel in current frame image, a is the absolute value of described pixel difference, C and D is default filtering ginseng
Number;Described C and D is arithmetic number.
It should be noted that vedio noise reduction processing means 40 or vedio noise reduction processing means 80 in the embodiment of the present invention are wrapped
Include but be not limited to personal computer, removable computer, panel computer, mobile phone, personal digital assistant (Personal Digital
Assistant, PDA), intelligent television, intelligent watch, intelligent glasses, Intelligent bracelet etc. there is shooting or the electronics of recording function
On equipment.
In sum, by implementing the embodiment of the present invention, by the pixel in this current frame image and this target frame image
The pixel of middle correspondence position carries out pixel value calculating, obtains the absolute value of pixel difference;Whether judge this absolute value
More than predetermined threshold value;If be judged as YES, then the pixel of correspondence position in described target frame image is updated to described currently
Pixel in two field picture;When described current frame image completes the mathematic interpolation of predetermined number pixel, after output updates
Described target frame image.Achieve by the filtering of the timedomain exponential of the band threshold value of video pictures pixel is carried out noise reduction,
While computational throughput low minimizing mobile terminal power consumption, do not increase postponing and effectively reducing the noise water in video of system
Flat, reach preferable noise reduction, the vedio noise reduction algorithm solving prior art can not meet mobile terminal real-time video flowmeter
Calculation amount is low, the technical problem of undelayed requirement;And avoid prior art in mobile terminal net cast, video communication by
The highest and do not carry out noise reduction process at software view in terminal CPU computing capability, or only carry out simple time-domain filtering, easily draw
The problem entering conditions of streaking;It addition, the algorithm logic design of the embodiment of the present invention is the most regular, can application of multimedia well
Instruction set optimisation technique, thus reduce computing overhead further.
One of ordinary skill in the art will appreciate that all or part of flow process realizing in above-described embodiment method, be permissible
Instructing relevant hardware by computer program to complete, described program can be stored in a computer read/write memory medium
In, this program is upon execution, it may include such as the flow process of the embodiment of above-mentioned each method.Wherein, described storage medium can be magnetic
Dish, CD, read-only store-memory body (Read-Only Memory, ROM) or random store-memory body (Random Access
Memory, RAM) etc..
Above disclosed it is only one preferred embodiment of the present invention, certainly can not limit the power of the present invention with this
Profit scope, one of ordinary skill in the art will appreciate that all or part of flow process realizing above-described embodiment, and weighs according to the present invention
Profit requires the equivalent variations made, and still falls within the scope that invention is contained.
Claims (14)
1. a vedio noise reduction processing method, it is characterised in that including:
Obtain the current frame image of video;
When there is target frame image, by the pixel in described current frame image and correspondence position in described target frame image
Pixel carries out pixel value calculating, obtains the absolute value of pixel value;Wherein, described target frame image be described currently
The two field picture that the previous frame image noise reduction of two field picture exports after processing;
Judge that whether described absolute value is more than predetermined threshold value;
If be judged as YES, then the pixel of correspondence position in described target frame image is updated in described current frame image
Pixel;
When described current frame image completes the mathematic interpolation of predetermined number pixel, the described target frame figure after output renewal
Picture.
2. the method for claim 1, it is characterised in that described when there is target frame image, by described present frame figure
Pixel in Xiang carries out pixel value calculating with the pixel of correspondence position in described target frame image, including:
Detect whether described current frame image is the first two field picture;
If be detected as no, by the pixel in described current frame image and the pixel of correspondence position in described target frame image
Carry out pixel value calculating;
If be detected as being, described current frame image is exported as target frame image.
3. the method for claim 1, it is characterised in that preserve described target frame figure by default image buffer
Picture.
4. method as claimed in claim 3, it is characterised in that the size of described image buffer is the size of a two field picture.
5. the method for claim 1, it is characterised in that described predetermined number pixel includes institute in whole two field picture
Some pixels.
6. the method as described in any one of claim 1-5, it is characterised in that described judge that described absolute value is whether more than presetting
After threshold value, also include:
If be judged as NO, according to the pixel value of the pixel of correspondence position, described pixel difference in described target frame image
Absolute value and default filtering parameter, calculate target pixel value, and by the picture of correspondence position in described target frame image
The pixel value of vegetarian refreshments is updated to described target pixel value.
7. method as claimed in claim 6, it is characterised in that described according to the pixel of correspondence position in described target frame image
Pixel value, the absolute value of described pixel difference and the default filtering parameter of point, calculates target pixel value, including
Described target pixel value is calculated by below equation:
Q=(p* (C+a)+q ' * (D-a))/(C+D)
Wherein, q is target pixel value, and q ' is the pixel value of the pixel of correspondence position in described target frame image, and p is described working as
The pixel value of the pixel in prior image frame, a is the absolute value of described pixel difference, C and D is default filtering parameter;Institute
Stating C and D is arithmetic number.
8. a vedio noise reduction processing means, it is characterised in that including:
Acquisition module, for obtaining the current frame image of video;
, for when there is target frame image, by the pixel in described current frame image and described target in difference calculating module
In two field picture, the pixel of correspondence position carries out pixel value calculating, obtains the absolute value of pixel value;Wherein, described mesh
Mark the two field picture of output after the previous frame image noise reduction that two field picture is described current frame image processes;
Threshold value judgment module, is used for judging that whether described absolute value is more than predetermined threshold value;
First arranges module, if in time being judged as YES, being then updated to by the pixel of correspondence position in described target frame image
Pixel in described current frame image;
Image output module, for completing the mathematic interpolation of predetermined number pixel when described current frame image, output is more
Described target frame image after Xin.
9. device as claimed in claim 8, it is characterised in that described difference calculating module includes:
Detector unit, is used for detecting whether described current frame image is the first two field picture;
Computing unit, if in time being detected as no, the pixel in described current frame image is right with described target frame image
The pixel answering position carries out pixel value calculating;
Output unit, if in time being detected as being, exporting described current frame image as target frame image.
10. device as claimed in claim 8, it is characterised in that also include preserving module, for by default image buffers
District preserves described target frame image.
11. devices as claimed in claim 10, it is characterised in that the size of described image buffer is the big of a two field picture
Little.
12. devices as claimed in claim 8, it is characterised in that described predetermined number pixel includes in whole two field picture
All of pixel.
13. devices as described in any one of claim 8-12, it is characterised in that also include:
Calculated for pixel values module, if the judged result being used for described threshold value judgment module is no, according to described target frame image
The pixel value of the pixel of middle correspondence position, the absolute value of described pixel difference and default filtering parameter, calculate mesh
Mark pixel value;
Second arranges module, for the pixel value of the pixel of correspondence position in described target frame image is updated to described target
Pixel value.
14. devices as claimed in claim 13, it is characterised in that described calculated for pixel values module specifically for, by following
Formula calculates described target pixel value:
Q=(p* (C+a)+q ' * (D-a))/(C+D)
Wherein, q is target pixel value, and q ' is the pixel value of the pixel of correspondence position in described target frame image, and p is described working as
The pixel value of the pixel in prior image frame, a is the absolute value of described pixel difference, C and D is default filtering parameter;Institute
Stating C and D is arithmetic number.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610797627.3A CN106303157B (en) | 2016-08-31 | 2016-08-31 | Video noise reduction processing method and video noise reduction processing device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610797627.3A CN106303157B (en) | 2016-08-31 | 2016-08-31 | Video noise reduction processing method and video noise reduction processing device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106303157A true CN106303157A (en) | 2017-01-04 |
CN106303157B CN106303157B (en) | 2020-07-14 |
Family
ID=57709600
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610797627.3A Active CN106303157B (en) | 2016-08-31 | 2016-08-31 | Video noise reduction processing method and video noise reduction processing device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106303157B (en) |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107886487A (en) * | 2017-12-03 | 2018-04-06 | 南京理工大学 | The real-time implementation method of the cumulative noise reduction algorithm of low-light video interframe based on FPGA |
CN108174057A (en) * | 2018-01-10 | 2018-06-15 | 武汉烛照科技有限公司 | It is a kind of using video image interframe difference to the method and device of picture fast noise reduction |
CN108600783A (en) * | 2018-04-23 | 2018-09-28 | 深圳银澎云计算有限公司 | A kind of method of frame rate adjusting, device and terminal device |
CN109639929A (en) * | 2019-01-11 | 2019-04-16 | 珠海全志科技股份有限公司 | Image denoising method, computer installation and computer readable storage medium |
CN109639982A (en) * | 2019-01-04 | 2019-04-16 | Oppo广东移动通信有限公司 | A kind of image denoising method, device, storage medium and terminal |
CN109859124A (en) * | 2019-01-11 | 2019-06-07 | 深圳奥比中光科技有限公司 | A kind of depth image noise reduction method and device |
CN111507923A (en) * | 2020-04-21 | 2020-08-07 | 浙江大华技术股份有限公司 | Method, device, equipment and medium for processing noise of video image |
CN111754417A (en) * | 2020-05-14 | 2020-10-09 | 北京迈格威科技有限公司 | Noise reduction method and device for video image, video matting method and device and electronic system |
CN112101104A (en) * | 2020-08-06 | 2020-12-18 | 深圳数联天下智能科技有限公司 | Human body existence detection method and related device |
CN112154450A (en) * | 2019-11-13 | 2020-12-29 | 深圳市大疆创新科技有限公司 | Identification method, temperature measurement method, equipment and storage medium |
CN114466153A (en) * | 2022-04-13 | 2022-05-10 | 深圳时识科技有限公司 | Self-adaptive pulse generation method and device, brain-like chip and electronic equipment |
US11399167B2 (en) | 2017-10-19 | 2022-07-26 | Zhejiang Dahua Technology Co., Ltd. | Methods and devices for processing images |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1874421A (en) * | 2006-06-13 | 2006-12-06 | 北京中星微电子有限公司 | Device for eliminating flicker noise between frames in image sequence |
CN101123681A (en) * | 2007-09-20 | 2008-02-13 | 宝利微电子***控股公司 | A digital image noise reduction method and device |
KR20110006869A (en) * | 2009-07-15 | 2011-01-21 | 삼성테크윈 주식회사 | Apparatus for reducing noise in digital image processing device |
CN105338221A (en) * | 2014-08-15 | 2016-02-17 | 联想(北京)有限公司 | Image processing method and electronic equipment |
-
2016
- 2016-08-31 CN CN201610797627.3A patent/CN106303157B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1874421A (en) * | 2006-06-13 | 2006-12-06 | 北京中星微电子有限公司 | Device for eliminating flicker noise between frames in image sequence |
CN101123681A (en) * | 2007-09-20 | 2008-02-13 | 宝利微电子***控股公司 | A digital image noise reduction method and device |
KR20110006869A (en) * | 2009-07-15 | 2011-01-21 | 삼성테크윈 주식회사 | Apparatus for reducing noise in digital image processing device |
CN105338221A (en) * | 2014-08-15 | 2016-02-17 | 联想(北京)有限公司 | Image processing method and electronic equipment |
Cited By (20)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US11399167B2 (en) | 2017-10-19 | 2022-07-26 | Zhejiang Dahua Technology Co., Ltd. | Methods and devices for processing images |
CN107886487A (en) * | 2017-12-03 | 2018-04-06 | 南京理工大学 | The real-time implementation method of the cumulative noise reduction algorithm of low-light video interframe based on FPGA |
CN107886487B (en) * | 2017-12-03 | 2021-04-27 | 南京理工大学 | FPGA-based real-time implementation method of low-light-level video interframe accumulation noise reduction algorithm |
CN108174057A (en) * | 2018-01-10 | 2018-06-15 | 武汉烛照科技有限公司 | It is a kind of using video image interframe difference to the method and device of picture fast noise reduction |
CN108174057B (en) * | 2018-01-10 | 2020-06-23 | 武汉烛照科技有限公司 | Method and device for rapidly reducing noise of picture by utilizing video image inter-frame difference |
CN108600783B (en) * | 2018-04-23 | 2021-03-30 | 深圳齐心好视通云计算有限公司 | Frame rate adjusting method and device and terminal equipment |
CN108600783A (en) * | 2018-04-23 | 2018-09-28 | 深圳银澎云计算有限公司 | A kind of method of frame rate adjusting, device and terminal device |
CN109639982A (en) * | 2019-01-04 | 2019-04-16 | Oppo广东移动通信有限公司 | A kind of image denoising method, device, storage medium and terminal |
CN109859124A (en) * | 2019-01-11 | 2019-06-07 | 深圳奥比中光科技有限公司 | A kind of depth image noise reduction method and device |
CN109859124B (en) * | 2019-01-11 | 2020-12-18 | 深圳奥比中光科技有限公司 | Depth image noise reduction method and device |
CN109639929A (en) * | 2019-01-11 | 2019-04-16 | 珠海全志科技股份有限公司 | Image denoising method, computer installation and computer readable storage medium |
CN112154450A (en) * | 2019-11-13 | 2020-12-29 | 深圳市大疆创新科技有限公司 | Identification method, temperature measurement method, equipment and storage medium |
CN111507923A (en) * | 2020-04-21 | 2020-08-07 | 浙江大华技术股份有限公司 | Method, device, equipment and medium for processing noise of video image |
CN111507923B (en) * | 2020-04-21 | 2023-09-12 | 浙江大华技术股份有限公司 | Noise processing method, device, equipment and medium for video image |
CN111754417A (en) * | 2020-05-14 | 2020-10-09 | 北京迈格威科技有限公司 | Noise reduction method and device for video image, video matting method and device and electronic system |
CN111754417B (en) * | 2020-05-14 | 2024-07-02 | 北京迈格威科技有限公司 | Noise reduction method for video image, video matting method, device and electronic system |
CN112101104A (en) * | 2020-08-06 | 2020-12-18 | 深圳数联天下智能科技有限公司 | Human body existence detection method and related device |
CN112101104B (en) * | 2020-08-06 | 2024-04-09 | 深圳数联天下智能科技有限公司 | Human body presence detection method and related device |
CN114466153A (en) * | 2022-04-13 | 2022-05-10 | 深圳时识科技有限公司 | Self-adaptive pulse generation method and device, brain-like chip and electronic equipment |
CN114466153B (en) * | 2022-04-13 | 2022-09-09 | 深圳时识科技有限公司 | Self-adaptive pulse generation method and device, brain-like chip and electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
CN106303157B (en) | 2020-07-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106303157A (en) | A kind of vedio noise reduction processing method and vedio noise reduction processing means | |
CN110189246B (en) | Image stylization generation method and device and electronic equipment | |
CN103248946B (en) | The method and system that a kind of video image quickly transmits | |
CN105554429A (en) | Video conversation display method and video conversation equipment | |
TWI389569B (en) | Video conferencing signal processing system | |
CN112399123B (en) | Video definition adjusting method and device, electronic equipment and storage medium | |
CN105516638A (en) | Video call method, device and system | |
CA3182110A1 (en) | Reinforcement learning based rate control | |
CN105578110A (en) | Video call method, device and system | |
CN105407313A (en) | Video calling method, equipment and system | |
CN106507101A (en) | A kind of video service quality evaluation methodology and device | |
CN110809166B (en) | Video data processing method and device and electronic equipment | |
CN109525888A (en) | Image display method, device, electronic equipment and storage medium | |
CN112969130A (en) | Audio signal processing method and device and electronic equipment | |
CN112565909A (en) | Video playing method and device, electronic equipment and readable storage medium | |
CN108765503B (en) | Skin color detection method, device and terminal | |
CN107678723B (en) | Desktop sharing system for distance education | |
CN112422370B (en) | Method and device for determining voice call quality | |
CN106254873A (en) | A kind of method for video coding and video coding apparatus | |
CN113271494B (en) | Video frame processing method and device and electronic equipment | |
CN116996409A (en) | Data transmission method, device, equipment and storage medium | |
CN109640094A (en) | Video encoding/decoding method, device and electronic equipment | |
CN114827583A (en) | System and method for objective video quality assessment in lightweight real-time video communication | |
JP7006302B2 (en) | Image processing equipment, image processing system, and video conference system | |
CN112418942A (en) | Advertisement display method and device and electronic 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 | ||
TR01 | Transfer of patent right |
Effective date of registration: 20231013 Address after: 31a, 15 / F, building 30, maple mall, bangrang Road, Brazil, Singapore Patentee after: Baiguoyuan Technology (Singapore) Co.,Ltd. Address before: Floor 28, Building B1, Wanda Plaza, Wanbo Business District, Nancun Town, Panyu District, Guangzhou City, Guangdong Province, 511442 Patentee before: GUANGZHOU BAIGUOYUAN NETWORK TECHNOLOGY Co.,Ltd. |
|
TR01 | Transfer of patent right |