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.

DetailsDetails

ExamplesExamplesopen allclose all

Basic Examples  (2)Basic Examples  (2)

Harmonic mean filtering applied to a three-channel image:

In[1]:=
Click for copyable input
Out[1]=

Applying a harmonic mean filter smoothens an image while preserving sharp transitions:

In[2]:=
Click for copyable input
Out[2]=

Apply a moving harmonic mean filter to a vector:

In[1]:=
Click for copyable input
Out[1]=
Introduced in 2008
(7.0)
| Updated in 2012
(9.0)