NON-LOCAL MEAN-BASED VIDEO DENOISING METHOD AND APPARATUS

Abstract
The present disclosure provides a non-local mean-based video denoising method, so as to remove illumination variation in a video by using image histogram specification filtering processing. The present disclosure further provides a non-local mean-based video denoising apparatus. The apparatus comprises a filtering module used for remove illumination variation in a video by using image histogram specification filtering processing. In the present disclosure, self-adaptive adjustment can be carried out on a change of an illumination condition.
Description
TECHNICAL FIELD

This disclosure relates to the field of video processing, and more particularly, to a non-local mean-based video denoising method and apparatus.


DESCRIPTION OF THE RELATED ART

Time domain correlation presented in an image sequence may provide important priori information. In the study of digital video denosing, a non-local mean-based filtering method has been proposed by Buades et al for the reasonable use of time domain information presented in an image sequence. According to the idea of non-local mean-based method, image blocks having similar structures may separate apart from each other by a larger distance in the image space. Thus, blocks having structures similar to that of a current image block may be found in the whole image space, and weighted averaging is carried out to remove pixel noises on a center point in the current block. Many improvements, for example, in terms of calculation efficiency and rotational invariance of image blocks have been subsequently proposed based on the non-local mean-based method.


However, the inventors have found that, in those non-local mean-based methods, image pixels are directly used as local image structure features, such that it is impossible to make an adaptive adjustment to illumination variation.


SUMMARY

This disclosure is directed to a non-local mean-based video denoising method and apparatus to solve the problems described above.


In an embodiment of this disclosure, a non-local mean-based video denoising method is provided, in which illumination variation in a video is removed through image histogram specification filtering processing.


In an embodiment of this disclosure, a non-local mean-based video denoising apparatus is provided, comprising a filtering module for removing illumination variation in a video through image histogram specification filtering processing.


In the non-local mean-based video denoising method and apparatus of this disclosure, because illumination variation in a video is removed through image histogram specification filtering processing, an adaptive adjustment to variant illumination may be carried out.





BRIEF DESCRIPTION OF THE DRAWINGS

The accompanying drawings illustrated herein, which constitute part of this application, are provided for a better understanding of this disclosure. Exemplary embodiments of this disclosure and their illustration are used to explain this disclosure and are not limitations to this disclosure, in which:



FIG. 1 is a schematic diagram showing the construction of a local image block, a search window and a search space according to an embodiment of this disclosure;



FIG. 2 is a schematic diagram of performing a histogram specification filtering process on a three-dimensional search space according to an embodiment of this disclosure;



FIG. 3 shows a flowchart of a video denosing process according to an embodiment of this disclosure;



FIG. 4 shows a schematic diagram of image block matching and similarity weight calculation performed in a three-dimensional search space after a filtering process according to an embodiment of this disclosure;



FIG. 5 shows a schematic diagram of a filtering module according to an embodiment of this disclosure.





DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT

Below, this disclosure will be described in detail according to embodiments with reference to accompanying drawings.


In an embodiment of this disclosure, a non-local mean-based video denoising method is provided, in which illumination variation in a video is removed through image histogram specification filtering processing.


In non-local mean-based methods according to relevant techniques, it is implicitly assumed that similar objects or structures have consistent illumination condition between image sequences. That is to say, in those traditional methods, illumination variation between video frames will have harmful effect on denoising performance. For example, the effect of a flashlight during a shooting process is omitted. Local image structures that are originally similar to each other may not be matched very well under changed illumination conditions. Thus, in the methods of relevant techniques, the direct use of image pixels as local image structure features makes it hard to carry out an adaptive adjustment, so that a lot of matched image blocks having intrinsic similar structures may be ignored.


In this embodiment, as to a video sequence with variant illumination conditions, an image histogram specification filtering process is used to improve the robustness of finding similar image blocks in frames and calculating similarity weights under variant illumination conditions, so as to realize non-local mean-based video denoising within variant illumination. This embodiment fills the blank in video denosing methods for processing a video under variant illumination conditions, which may remove noises in a video sequence in a better way, particularly in the case of variant illumination conditions, such as, affected by a flashlight during the shooting process of the video, and a better improvement in the robustness of existing video denoising methods and the visual quality of denoised images may be achieved.



FIG. 3 shows a flowchart of a video denosing process according to an embodiment of this disclosure.


Preferably, the process of removing illumination variation in a video through image histogram specification filtering processing comprises:


At step S10, a local image block is constructed with a pixel to be processed in a current frame as the center, and a search area is designated as a search window in the current frame with the pixel to be processed as the center; corresponding search windows are established for corresponding areas in various other frames in a three-dimensional search space, those various search windows forming a three-dimensional search space;


At step S20, taking the search window of the current frame as a reference, a histogram specification filtering process is performed on search windows corresponding to various other frames in the three-dimensional search space to obtain a three-dimensional search space with invariant illumination.


In the construction of a three-dimensional search window of this preferred embodiment, taking the effect on global and local image brightness that is produced on a sequence of frames by illumination variation into consideration, an image histogram specification filtering processing method is used to eliminate match errors caused by variant illumination conditions when matching image blocks having very similar structures, so that the accuracy and robustness of image block matching and similarity weight calculation may be significantly increased, and the comprehensive performance of video denosing may be further improved.



FIG. 2 shows a schematic diagram of performing a histogram specification filtering process on a three-dimensional search space according to an embodiment of this disclosure, which comprises:

    • constructing a local image block with a pixel i in a frame fn as the center;


constructing a search window wn larger than the local image block with the pixel i as the center, and constructing a search window at a corresponding location in each of k preceding and succeeding frames respectively to obtain a set of search windows {wn−k, . . . , wn−1, wn, wn+1, . . . , wn+k}, which forms a three-dimensional search space Ω.


Preferably, the step S20 comprises:


Setting voutj=G−1(T(vinj)), wherein vinj is an image value of each pixel j in a search window corresponding to another frame in the three-dimensional search space, vouti is an image value after the filtering process;


T(vin)=∫in pin(w)dw, wherein pin(w) is the probability density of the histogramdistribution of vinj at brightnesslevel w; Gis the reverse function of a function G, G(T(vin))=∫T(vin) pout(t)dt, pout(t) is the probability density of the histogram distribution of voutj at brightness level t.


In the operation of this step, an original video sequence with variant illumination is processed to substantially remove the effect of variant illumination and obtain a three-dimensional search space Ωf with invariant illumination.


Preferably, after obtaining a three-dimensional search space Ωf with invariant illumination, the process further comprises:


a step S30, in which a similarity weight is determined for pixels i and j through calculating a structural difference between the local image block of fn and each local image block inch;


a step S40, in which according to the similarity weights, a denoising process is performed on pixel i based on a non-local mean-based denosing method.



FIG. 4 shows a schematic diagram of image block matching and similarity weight calculation performed in a three-dimensional search space after a filtering process according to an embodiment of this disclosure.


Preferably, the step S30 comprises:







w


(

i
,
j

)


=


1

Z


(
i
)





exp
(

-






v


(

B
i

)


-

v


(

B
j

)






2
,
a

2


h
2



)






Wherein, w(i, j) is the similarity weight between pixels i and j, Bi and Bj represent local image blocks with pixels i and j as their centers, v(Bi) and v(Bj) represent vectors formed by the values of pixels in the local image blocks, ∥•∥2,a2 represents measuring a weighted Euclidean distance between two vectors, wherein the symbol a represents that the spatial weight distribution is a Gaussian distribution with variance a, Exp represents the exponent function,








Z


(
i
)


=




j


Ω
f








exp
(

-






v


(

B
i

)


-

v


(

B
j

)






2
,
a

2


h
2



)



,




h is a constant value that is specified manually and an optimal setting thereof may be provided depending on different videos to control the property of the weight calculation.


Preferably, the step S40 comprises:







NL


(

v


(
i
)


)


=




j


Ω
f









w


(

i
,
j

)




v


(
j
)








NL[v(i)] is the image value of pixel i after replacement.


According to this preferably embodiment, a denoising process is performed on each pixel in the original noised image sequence according to a specified order to finally obtain a denoised image sequence, and complete the denoising process for the whole video.


In an embodiment of this disclosure, a non-local mean-based video denoising apparatus is provided, comprising a filtering module for removing illumination variation in a video through image histogram specification filtering processing, such that an adaptive adjustment to variant illumination may be carried out.



FIG. 5 shows a schematic diagram of a filtering module according to an embodiment of this disclosure, comprising:


a space module for constructing a local image block with a pixel to be processed in a current frame as the center; designating a search area as a search window in the current frame with the pixel to be processed as the center; establishing corresponding search windows for corresponding areas in various other frames in a three-dimensional search space, those various search windows forming a three-dimensional search space;


a histogram module for taking the search window of the current frame as a reference, performing a histogram specification filtering process on search windows corresponding to various other frames in the three-dimensional search space to obtain a three-dimensional search space with invariant illumination.


Preferably, the space module is used to construct a search window wn larger than the local image block with the pixel i of frame fn as the center, and construct a search window at a corresponding location in each of k preceding and succeeding frames respectively to obtain a set of search windows {wn−k, . . . , wn−1, wn, wn+1, . . . , wn+k}, which forms a three-dimensional search space Ω. The histogram module is used to set voutj=G−1(T(vinj)), wherein vinj is an image value of each pixel j in a search window corresponding to another frame in the three-dimensional search space, voutj is an image value after the filtering process; T(vin)=∫in pin(w)dw, wherein pin(w) is the probability density of the histogram distribution of vinj at brightness level w; G−1 is the reverse function of a function G, G(T(vin))=∫T(vin) pout(t)dt, pout(t) is the probability density of the histogram distribution of voutj at brightness level t.


Through introducing image histogram specification filtering processing, a better use of consistency in the time domain in the video image sequence may be realized, causing a less effect of illumination variation and improving the reconstruction quality and robustness of video denoising.


Obviously, those skilled in the art may understand that various modules or steps of the present disclosure described above may be implemented by a general computing device. They may be integrated on a single computing device or may be distributed over a network composed of multiple computing devices. Optionally, they may be implemented in program code executable on a computing device, and thus they may be stored in a storage device for executing on a computing device or they may be implemented as individual IC modules, or several modules or steps thereof may be implemented in a single IC module. Therefore, this disclosure is not limited to any particular combination of hardware and software.


Preferred embodiments of this disclosure have been described above, which are not used as limitation to this disclosure. For those skilled in the art, various modifications and variations may be made to this disclosure. Any modifications, equivalents and variations are encompassed in the scope of this disclosure so long as they are in the spirit and principle of this disclosure.

Claims
  • 1. A non-local mean-based video denoising method wherein a video includes illumination variation, the method comprising: removing the illumination variation in the video through image histogram specification filtering processing.
  • 2. The method according to claim 1, wherein removing illumination variation in a video through image histogram specification filtering processing comprises: constructing a local image block with a pixel to be processed in a current frame as the center, designating a search area as a search window in the current frame with the pixel to be processed as the center, and establishing corresponding search windows for corresponding areas in various other frames in a three-dimensional search space, those various search windows forming a three-dimensional search space;taking the search window of the current frame as a reference, performing a histogram specification filtering process on search windows corresponding to various other frames in the three-dimensional search space to obtain a three-dimensional search space with invariant illumination.
  • 3. The method according to claim 1, wherein constructing a local image block with a pixel to be processed in a current frame as the center, designating a search area as a search window in the current frame with the pixel to be processed as the center, and establishing corresponding search windows for corresponding areas in various other frames in a three-dimensional search space, those various search windows forming a three-dimensional search space comprises: constructing a local image block with a pixel i in a frame fn as the center;constructing a search window wn larger than the local image block with the pixel i as the center, and constructing a search window at a corresponding location in each of k preceding and succeeding frames respectively to obtain a set of search windows {wn−k, . . . , wn−1, wnwn+1, . . . , wn+k}, which forms a three-dimensional search space Ω.
  • 4. The method according to claim 3, wherein taking the search window of the current frame as a reference, performing a histogram specification filtering process on search windows corresponding to various other frames in the three-dimensional search space to obtain a three-dimensional search space Ωf with invariant illumination comprises:
  • 5. The method according to claim 4, wherein after obtaining a three-dimensional search space Ωf with invariant illumination, the process further comprises: determining a similarity weight for pixels i and j through calculating a structural difference between the local image block of fn and each local image block in Ωf;according to the similarity weights, performing a denoising process on pixel i based on a non-local mean-based denosing method.
  • 6. The method according to claim 5, wherein determining a similarity weight for pixels i and j through calculating a structural difference between the local image block of fn and each local image block in Ωf comprises:
  • 7. The method according to claim 6, wherein according to the similarity weights, performing a denoising process on pixel i based on a non-local mean-based denosing method comprises:
  • 8. A non-local mean-based video denoising apparatus, wherein a video comprises an illumination variation, the apparatus comprising: a filtering module for removing illumination variation in the video through image histogram specification filtering processing.
  • 9. The apparatus according to claim 8, wherein the filtering module comprises: a space module for constructing a local image block with a pixel to be processed in a current frame as the center, designating a search area as a search window in the current frame with the pixel to be processed as the center, establishing corresponding search windows for corresponding areas in various other frames in a three-dimensional search space, those various search windows forming a three-dimensional search space;a histogram module for taking the search window of the current frame as a reference, performing a histogram specification filtering process on search windows corresponding to various other frames in the three-dimensional search space to obtain a three-dimensional search space with invariant illumination.
  • 10. The apparatus according to claim 9, wherein the space module is used to construct a search window wn larger than the local image block with the pixel i of frame fn as the center, and construct a search window at a corresponding location in each of k preceding and succeeding frames respectively to obtain a set of search windows {wn−k, . . . , wn−1, wn, wn+1, . . . , wn+k}, which forms a three-dimensional search space Ω. The histogram module is used to set voutj=G−1(T(vinj)),
  • 11. One or more computer-readable medium having computer-executable instructions that when loaded on a computer execute a non-local mean-based video denoising method, the method comprising: illumination variation in a video is removed through image histogram specification filtering processing.
  • 12. The computer-readable medium according to claim 11, wherein removing illumination variation in a video through image histogram specification filtering processing comprises: constructing a local image block with a pixel to be processed in a current frame as the center, designating a search area as a search window in the current frame with the pixel to be processed as the center, and establishing corresponding search windows for corresponding areas in various other frames in a three-dimensional search space, those various search windows forming a three-dimensional search space;taking the search window of the current frame as a reference, performing a histogram specification filtering process on search windows corresponding to various other frames in the three-dimensional search space to obtain a three-dimensional search space with invariant illumination.
  • 13. The computer-readable medium according to claim 11, wherein constructing a local image block with a pixel to be processed in a current frame as the center, designating a search area as a search window in the current frame with the pixel to be processed as the center, and establishing corresponding search windows for corresponding areas in various other frames in a three-dimensional search space, those various search windows forming a three-dimensional search space comprises: constructing a local image block with a pixel i in a frame fn as the center; constructing a search window wn larger than the local image block with the pixel i as the center, and constructing a search window at a corresponding location in each of k preceding and succeeding frames respectively to obtain a set of search windows {wn−k, . . . , wn−1, wn, wn+1, . . . , wn+k}, which forms a three-dimensional search space Ω.
  • 14. The computer-readable medium according to claim 13, wherein taking the search window of the current frame as a reference, performing a histogram specification filtering process on search windows corresponding to various other frames in the three-dimensional search space to obtain a three-dimensional search space Ωf with invariant illumination comprises:
  • 15. The computer-readable medium according to claim 14, wherein after obtaining a three-dimensional search space Ωf with invariant illumination, the process further comprises: determining a similarity weight for pixels i and j through calculating a structural difference between the local image block of fn and each local image block in Ωf;according to the similarity weights, performing a denoising process on pixel i based on a non-local mean-based denosing method.
  • 16. The computer-readable medium according to claim 15, wherein determining a similarity weight for pixels i and j through calculating a structural difference between the local image block of fn and each local image block in Ωf comprises:
  • 17. The computer-readable medium according to claim 16, wherein according to the similarity weights, performing a denoising process on pixel i based on a non-local mean-based denosing method comprises:
Priority Claims (1)
Number Date Country Kind
201210326076.4 Sep 2012 CN national
CROSS-REFERENCE TO RELATED APPLICATIONS

The present application is a Continuation application of PCT International Application No. PCT/CN2013/082981, filed Sep. 5, 2013, which application claims a right of priority to Chinese Patent Application No. 201210326076.4, filed Sep. 5, 2012, both of which are incorporated herein by reference in their entirety.

Continuations (1)
Number Date Country
Parent PCT/CN2013/082981 Sep 2013 US
Child 14639542 US