fbpx
Wikipedia

Non-local means

Non-local means is an algorithm in image processing for image denoising. Unlike "local mean" filters, which take the mean value of a group of pixels surrounding a target pixel to smooth the image, non-local means filtering takes a mean of all pixels in the image, weighted by how similar these pixels are to the target pixel. This results in much greater post-filtering clarity, and less loss of detail in the image compared with local mean algorithms.[1]

Application of non-local means to an image corrupted by Gaussian noise

If compared with other well-known denoising techniques, non-local means adds "method noise" (i.e. error in the denoising process) which looks more like white noise, which is desirable because it is typically less disturbing in the denoised product.[2] Recently non-local means has been extended to other image processing applications such as deinterlacing,[3] view interpolation,[4] and depth maps regularization.[5]

Definition edit

Suppose   is the area of an image, and   and   are two points within the image. Then, the algorithm is:[6]

 

where   is the filtered value of the image at point  ,   is the unfiltered value of the image at point  ,   is the weighting function, and the integral is evaluated  .

  is a normalizing factor, given by

 

Common weighting functions edit

The purpose of the weighting function,  , is to determine how closely related the image at the point   is to the image at the point  . It can take many forms.

Gaussian edit

The Gaussian weighting function sets up a normal distribution with a mean,   and a variable standard deviation:[7]

 

where   is the filtering parameter (i.e., standard deviation) and   is the local mean value of the image point values surrounding  .

Discrete algorithm edit

For an image,  , with discrete pixels, a discrete algorithm is required.

 

where, once again,   is the unfiltered value of the image at point  .   is given by:

 

Then, for a Gaussian weighting function,

 

where   is given by:

 

where   and is a square region of pixels surrounding   and   is the number of pixels in the region  .

Efficient implementation edit

The computational complexity of the non-local means algorithm is quadratic in the number of pixels in the image, making it particularly expensive to apply directly. Several techniques were proposed to speed up execution. One simple variant consists of restricting the computation of the mean for each pixel to a search window centred on the pixel itself, instead of the whole image. Another approximation uses summed-area tables and fast Fourier transform to calculate the similarity window between two pixels, speeding up the algorithm by a factor of 50 while preserving comparable quality of the result.[8]

See also edit

References edit

  1. ^ Buades, Antoni (20–25 June 2005). "A non-local algorithm for image denoising". 2005 IEEE Computer Society Conference on Computer Vision and Pattern Recognition (CVPR'05). Vol. 2. pp. 60–65. CiteSeerX 10.1.1.103.9157. doi:10.1109/CVPR.2005.38. ISBN 978-0-7695-2372-9. S2CID 11206708. {{cite book}}: |journal= ignored (help)
  2. ^ Buades, Antoni. "On image denoising methods" (PDF). 123 Seminars Only.
  3. ^ Dehghannasiri, R.; Shirani, S. (2012). "A novel de-interlacing method based on locally-adaptive Nonlocal-means". 2012 Conference Record of the Forty Sixth Asilomar Conference on Signals, Systems and Computers (ASILOMAR). pp. 1708–1712. doi:10.1109/ACSSC.2012.6489324. ISBN 978-1-4673-5051-8. S2CID 20709950.
  4. ^ Dehghannasiri, R.; Shirani, S. (2013). "A view interpolation method without explicit disparity estimation". 2013 IEEE International Conference on Multimedia and Expo Workshops (ICMEW). pp. 1–4. doi:10.1109/ICMEW.2013.6618274. ISBN 978-1-4799-1604-7. S2CID 32025000.
  5. ^ Martinello, Manuel; Favaro, Paolo. "Depth Estimation From a Video Sequence with Moving and Deformable Objects" (PDF). IET Image Processing Conference.
  6. ^ Buades, Antoni (2011). "Non-Local Means Denoising". Image Processing on Line. 1: 208–212. doi:10.5201/ipol.2011.bcm_nlm. S2CID 34599104.
  7. ^ Buades, Antoni. "On image denoising methods (page 10)" (PDF). 123 Seminars Only.
  8. ^ Wang, Jin; Guo, Yanwen; Ying, Yiting; Liu, Yanli; Peng, Qunsheng (2006). "Fast non-local algorithm for image denoising". International Conference on Image Processing. pp. 1429–1432.

External links edit

  • Non-local image denoising, with code and online demonstration
  • Patents citing 2005 IEEE paper where NLM was claimed as a new technique

local, means, algorithm, image, processing, image, denoising, unlike, local, mean, filters, which, take, mean, value, group, pixels, surrounding, target, pixel, smooth, image, local, means, filtering, takes, mean, pixels, image, weighted, similar, these, pixel. Non local means is an algorithm in image processing for image denoising Unlike local mean filters which take the mean value of a group of pixels surrounding a target pixel to smooth the image non local means filtering takes a mean of all pixels in the image weighted by how similar these pixels are to the target pixel This results in much greater post filtering clarity and less loss of detail in the image compared with local mean algorithms 1 Application of non local means to an image corrupted by Gaussian noiseIf compared with other well known denoising techniques non local means adds method noise i e error in the denoising process which looks more like white noise which is desirable because it is typically less disturbing in the denoised product 2 Recently non local means has been extended to other image processing applications such as deinterlacing 3 view interpolation 4 and depth maps regularization 5 Contents 1 Definition 2 Common weighting functions 2 1 Gaussian 3 Discrete algorithm 4 Efficient implementation 5 See also 6 References 7 External linksDefinition editSuppose W displaystyle Omega nbsp is the area of an image and p displaystyle p nbsp and q displaystyle q nbsp are two points within the image Then the algorithm is 6 u p 1 C p W v q f p q d q displaystyle u p 1 over C p int Omega v q f p q mathrm d q nbsp where u p displaystyle u p nbsp is the filtered value of the image at point p displaystyle p nbsp v q displaystyle v q nbsp is the unfiltered value of the image at point q displaystyle q nbsp f p q displaystyle f p q nbsp is the weighting function and the integral is evaluated q W displaystyle forall q in Omega nbsp C p displaystyle C p nbsp is a normalizing factor given by C p W f p q d q displaystyle C p int Omega f p q mathrm d q nbsp Common weighting functions editThe purpose of the weighting function f p q displaystyle f p q nbsp is to determine how closely related the image at the point p displaystyle p nbsp is to the image at the point q displaystyle q nbsp It can take many forms Gaussian edit The Gaussian weighting function sets up a normal distribution with a mean m B p displaystyle mu B p nbsp and a variable standard deviation 7 f p q e B q B p 2 h 2 displaystyle f p q e left vert B q B p right vert 2 over h 2 nbsp where h displaystyle h nbsp is the filtering parameter i e standard deviation and B p displaystyle B p nbsp is the local mean value of the image point values surrounding p displaystyle p nbsp Discrete algorithm editFor an image W displaystyle Omega nbsp with discrete pixels a discrete algorithm is required u p 1 C p q W v q f p q displaystyle u p 1 over C p sum q in Omega v q f p q nbsp where once again v q displaystyle v q nbsp is the unfiltered value of the image at point q displaystyle q nbsp C p displaystyle C p nbsp is given by C p q W f p q displaystyle C p sum q in Omega f p q nbsp Then for a Gaussian weighting function f p q e B q 2 B p 2 h 2 displaystyle f p q e left vert B q 2 B p 2 right vert over h 2 nbsp where B p displaystyle B p nbsp is given by B p 1 R p i R p v i displaystyle B p 1 over R p sum i in R p v i nbsp where R p W displaystyle R p subseteq Omega nbsp and is a square region of pixels surrounding p displaystyle p nbsp and R p displaystyle R p nbsp is the number of pixels in the region R displaystyle R nbsp Efficient implementation editThe computational complexity of the non local means algorithm is quadratic in the number of pixels in the image making it particularly expensive to apply directly Several techniques were proposed to speed up execution One simple variant consists of restricting the computation of the mean for each pixel to a search window centred on the pixel itself instead of the whole image Another approximation uses summed area tables and fast Fourier transform to calculate the similarity window between two pixels speeding up the algorithm by a factor of 50 while preserving comparable quality of the result 8 See also editAnisotropic diffusion Digital image processing Noise reduction Nonlocal operator Signal processing Total variation denoising Bounded variation Total variationReferences edit Buades Antoni 20 25 June 2005 A non local algorithm for image denoising 2005 IEEE Computer Society Conference on Computer Vision and Pattern Recognition CVPR 05 Vol 2 pp 60 65 CiteSeerX 10 1 1 103 9157 doi 10 1109 CVPR 2005 38 ISBN 978 0 7695 2372 9 S2CID 11206708 a href Template Cite book html title Template Cite book cite book a journal ignored help Buades Antoni On image denoising methods PDF 123 Seminars Only Dehghannasiri R Shirani S 2012 A novel de interlacing method based on locally adaptive Nonlocal means 2012 Conference Record of the Forty Sixth Asilomar Conference on Signals Systems and Computers ASILOMAR pp 1708 1712 doi 10 1109 ACSSC 2012 6489324 ISBN 978 1 4673 5051 8 S2CID 20709950 Dehghannasiri R Shirani S 2013 A view interpolation method without explicit disparity estimation 2013 IEEE International Conference on Multimedia and Expo Workshops ICMEW pp 1 4 doi 10 1109 ICMEW 2013 6618274 ISBN 978 1 4799 1604 7 S2CID 32025000 Martinello Manuel Favaro Paolo Depth Estimation From a Video Sequence with Moving and Deformable Objects PDF IET Image Processing Conference Buades Antoni 2011 Non Local Means Denoising Image Processing on Line 1 208 212 doi 10 5201 ipol 2011 bcm nlm S2CID 34599104 Buades Antoni On image denoising methods page 10 PDF 123 Seminars Only Wang Jin Guo Yanwen Ying Yiting Liu Yanli Peng Qunsheng 2006 Fast non local algorithm for image denoising International Conference on Image Processing pp 1429 1432 External links editRecent trends in denoising tutorial Non local image denoising with code and online demonstration Patents citing 2005 IEEE paper where NLM was claimed as a new technique Retrieved from https en wikipedia org w index php title Non local means amp oldid 1158339224, wikipedia, wiki, book, books, library,

article

, read, download, free, free download, mp3, video, mp4, 3gp, jpg, jpeg, gif, png, picture, music, song, movie, book, game, games.