This is documentation for Mathematica 8, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)

HarmonicMeanFilter

HarmonicMeanFilter
filters image by replacing every value by the harmonic mean of the values in its range r neighborhood.
HarmonicMeanFilter
applies harmonic mean filtering to an array of data.
  • HarmonicMeanFilter computes the harmonic mean of the values in blocks centered on each pixel.
  • In HarmonicMeanFilter, 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:
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]=
New in 7