EntropyFilter

EntropyFilter[image,r]
filters image by replacing every value by the information entropy of the values in its range r neighborhood.

EntropyFilter[data,r]
applies entropy filtering to an array of data.

DetailsDetails

  • EntropyFilter[image,r] computes the information entropy of the values in blocks centered on each pixel.
  • Given a set of values , the information entropy is taken to be .
  • For multichannel images, EntropyFilter computes the local entropy of the set of pixel vectors.
  • At the edges of an image, EntropyFilter uses smaller neighborhoods.
  • EntropyFilter works with 3D as well as 2D images, and also with data arrays of any rank.
  • EntropyFilter[image,{rrow,rcol}] uses range in height, and in width.
  • EntropyFilter[image,{rslice,rrow,rcol}] uses range in height, in depth, and in width.

ExamplesExamplesopen allclose all

Basic Examples  (3)Basic Examples  (3)

Apply an entropy filter to a vector of numbers:

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

Entropy filtering of random disks:

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

Entropy filtering of a 3D image:

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