This is documentation for Mathematica 7, which was
based on an earlier version of the Wolfram Language.

# HarmonicMeanFilter

 HarmonicMeanFilter[image, r]filters image by replacing every value by the harmonic mean of the values in its range r neighborhood. HarmonicMeanFilter[data, r]applies harmonic mean filtering to an array of data.
• HarmonicMeanFilter[image, r] computes the harmonic mean of the values in (2r+1)×(2r+1) blocks centered on each pixel.
• HarmonicMeanFilter[image, {r1, r2}] uses neighborhoods with vertical range r1 and horizontal range r2.
• In HarmonicMeanFilter[data, ...], data can be an array of any rank, and can contain symbolic as well as numerical entries.
Harmonic mean filtering applied to a three-channel image:
Applying a harmonic mean filter smoothens an image while preserving sharp transitions:
Apply a moving harmonic mean filter to a vector:
Harmonic mean filtering applied to a three-channel image:
 Out[1]=
Applying a harmonic mean filter smoothens an image while preserving sharp transitions:
 Out[2]=

Apply a moving harmonic mean filter to a vector:
 Out[1]=
New in 7