<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta />
    <article-meta>
      <title-group>
        <article-title>Families of Heron Digital Filters for Images Filtering</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Ekaterina Ostheimer</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Valeriy Labunets</string-name>
          <email>vlabunets05@yahoo.com</email>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Filipp Myasnikov</string-name>
          <email>fsmyasnikov@gmail.com</email>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Capricat LLC</institution>
          ,
          <addr-line>1340 S., Ocean Blvd., Suite 209, Pompano Beach, 33062 Florida</addr-line>
          ,
          <country country="US">USA</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>Ural Federal University</institution>
          ,
          <addr-line>pr. Mira, 19, Yekaterinburg, 620002, Russian Federation</addr-line>
        </aff>
      </contrib-group>
      <fpage>56</fpage>
      <lpage>63</lpage>
      <abstract>
        <p>The basic idea behind this work is in extraction (estimation) of the uncorrupted image from the distorted or noised one. The idea is also referred to as the image denoising. Noise removal or noise reduction in an image can be done by linear or nonlinear filtering. The most popular linear technique is based on averaging (or meaning) linear operators. Usually, denoising via linear filters does not work sufficiently since both the noise and edges (in the image) contain high frequencies. Therefore, any practical denoising model has to be nonlinear. In this paper, we propose two new nonlinear data-dependent filters, namely, the generalized mean and median Heronian ones. These filters are based on the Heronian means and medians that are used for developing a new theoretical framework for image filtering. The main goal of the work is to show that new elaborated filters can be applied to solve problems of image filtering in a natural and effective manner.</p>
      </abstract>
      <kwd-group>
        <kwd>Nonlinear filters</kwd>
        <kwd>generalized aggregation mean</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>The basic idea of this work is in application of a systematic method to nonlinear
filtering based on the Heronian averaging and median nonlinear operators [1–4].
The classical Heronian mean and median of two positive real numbers a and b
have the following forms</p>
      <p>MeanHeron(a, b) = (√aa +
√
ab +
√</p>
      <p>bb)/3,</p>
      <p>MedHeron(a, b) = (√aa, √ab, √bb).</p>
      <p>We are going to generalize and use these mean and median operators for
constructing new classes of nonlinear digital filters. The general aim of this work is
to clarify whether the filters based on such exotic meanings have any smoothing
properties.</p>
    </sec>
    <sec id="sec-2">
      <title>Generalized Heronian means and medians</title>
      <p>Let (x1, x2, . . . , xN ) be an N -tuple of positive real numbers.
Definition 1. The following generalized means and median
MeanHeronI2(x1, . . . , xN ) =
MeanHeronI2I (x1, . . . , xN ) =
1</p>
      <sec id="sec-2-1">
        <title>X X √xixj ,</title>
        <p>M H2 i 6j
s 1</p>
      </sec>
      <sec id="sec-2-2">
        <title>X X xixj ,</title>
        <p>
          M H2 i 6j
s
(
          <xref ref-type="bibr" rid="ref1">1</xref>
          )
(
          <xref ref-type="bibr" rid="ref2">2</xref>
          )
(
          <xref ref-type="bibr" rid="ref3">3</xref>
          )
MedHeron2(x1, . . . , xN ) = Med n√xixj oi6j =
Med n
xixj oi6j
are called the Heronian means and median of the first and second kinds [1–3],
respectively, where M H2 = N (N + 1)/2 = MeanHeron2(1, 1, . . . , 1).
        </p>
        <p>Here, we want to generalize Definition 1 by summarizing up the k-th roots
of all possible distinct products of k elements of (x1, . . . , xN ) with repetition.
The number of all such products is CNk+k−1 = M Hk.. This determines the
normalization factor and leads to the following definitions:</p>
        <p>MeanHeronIk(x1, . . . , xN ) =
MeanHeronI2I (x1, . . . , xN ) =
1</p>
        <p>X X
M Hk i16 i26
· · · X √kxi1 xi2 · · · xik ,</p>
        <p>6ik
1
M Hk
sX X
k
i16 i26
· · · X xi1 xi2 · · · xik
6ik
for the generalized Heronian means and</p>
        <p>MedHeronk(x1, . . . , xN ) = Med n √kxi1 xi2 · · · xik i16i26···6ik
o
=
s
= k Med n</p>
        <p>o
xi1 xi2 · · · xik i16i26···6ik
.
for the generalized Heronian median, where M Hk = MedHeronk(1, 1, . . . , 1).</p>
        <p>
          Let us introduce the observation model and notion used throughout the
paper. We consider noise images in the form f (i, j) = s(i, j)) + η(i, j), where s(i, j)
is the original grey-level image and η(i, j) denotes the noise introduced into s(i, j)
to produce the corrupted image f (i, j). Here, (i, j) ∈ Z2 are 2D coordinates that
represent the pixel location. The aim of image enhancement is to reduce the
noise as much as possible or to find a method, which, for the given s(i, j),
derives an image sb(i, j)) as close as possible to the original s(i, j) subjected to a
suitable optimality criterion. In the standard linear and median 2D-filters with
the square N -cellular window M(i, j) and located at (i, j), the mean and median
replace the central pixel
sb(i, j) = Mean [f (m, n)] ,
(m,n)∈M(i,j)
sb(i, j) = Med [f (m, n)] ,
(m,n)∈M(i,j)
(
          <xref ref-type="bibr" rid="ref4">4</xref>
          )
where sb(i, j) is the filtered image, {f (m, n)}(m,n)∈M(i,j) is an image block of
the fixed size N = Q × Q extracted from f by moving window M(i, j) at the
position (i, j), and Mean and Med are the classical mean and median operators,
where Q = 2r + 1 is an odd integer. All pixels of this block are numbered
by the following way: (m, n) → r has the following form r = Q(m + 1) +
(n + 1). For example, for the 9-cellular window of size N = 3 × 3 = 9 we
have (−1, −1) → 0, (−1, 0) → 1, (
          <xref ref-type="bibr" rid="ref1">−1, 1</xref>
          ) → 2, (0, −1) → 3, (0, 0) → 4, (
          <xref ref-type="bibr" rid="ref1">0, 1</xref>
          ) →
5, (
          <xref ref-type="bibr" rid="ref1">1, −1</xref>
          ) → 6, (
          <xref ref-type="bibr" rid="ref1">1, 0</xref>
          ) → 7, (
          <xref ref-type="bibr" rid="ref1 ref1">1, 1</xref>
          ) → 8 :
{f (m, n)}(m,n)∈M(i,j) = f (0, −1)
f (
          <xref ref-type="bibr" rid="ref1">1, −1</xref>
          )
f (−1, −1) f (−1, 0) f (
          <xref ref-type="bibr" rid="ref1">−1, 1</xref>
          ) f 0 f 1 f 2
f (0, 0) f (
          <xref ref-type="bibr" rid="ref1">0, 1</xref>
          ) −→ f 3 f 4 f 5 .
f (
          <xref ref-type="bibr" rid="ref1">1, 0</xref>
          ) f (
          <xref ref-type="bibr" rid="ref1 ref1">1, 1</xref>
          ) f 6 f 7 f 8
3
        </p>
      </sec>
    </sec>
    <sec id="sec-3">
      <title>Heronian mean and median filters</title>
      <p>
        Now we modify the classical mean and median filters (
        <xref ref-type="bibr" rid="ref4">4</xref>
        ) in the following way:
sb(i, j) = MeanHeronIk [f (m, n)] = MeanHeronIk hf(ri,j)i =
      </p>
      <p>(m,n)∈M(i,j) r=1,2,...,N
=
1</p>
      <p>X X
M Hk r16 r26
· · ·</p>
      <p>X qkf r1</p>
      <p>(i,j), f(ri2,j), . . . , f(rik,j),
6rk
sb(i, j) = MeanHeronIkI [f (m, n)] = MeanHeronIkI hf(ri,j)i =
(m,n)∈M(i,j) r=1,2,...,N
s 1
= k</p>
      <p>X X
M Hk r16 r26
· · · X f(ri1,j), f(ri2,j), . . . , f(rik,j)</p>
      <p>6rk
for the generalized Heronian meaning filers of the first and the second kinds,
respectively, and</p>
      <p>MeanHeronIk hf(ri,j)</p>
      <p>i = MeanHeronIkI hf(ri,j)i =
n qkf r1</p>
      <p>(i,j), f(ri2,j), . . . , f(rik,j)or16r26···6rk
for the generalized Heronian median filter.</p>
    </sec>
    <sec id="sec-4">
      <title>Generalized Heronian aggregation</title>
      <p>The aggregation problem [5, 6] consist in aggregating N -tuples of objects all
belonging to a given set D, into a single object of the same set S, i.e., Agg :
SN −→ S. In the case of mathematical aggregation operator (AO) the set S,
is an interval of the real S = [0, 1] ⊂ R, or integer numbers S = [0, 255] ⊂ Z.
In this setting, an AO is simply a function, which assigns a number y to any
N -tuple of numbers (x1, x2. . . . , xN ): y = Agg(x1, x2, . . . , xN ) that satisfies:
1. Agg(x) = x.
2. Agg(a, a, . . . , a) = a.</p>
      <p>In particular, Agg(0, 0, . . . , 0) = 0 and Agg(1, 1, . . . , 1) = 1
(or Agg(255, 255, . . . , 255) = 255).
3. min(x1, x2, . . . , xN ) ≤ Agg(x1, x1, . . . , xN )) ≤ max(x1, x2, . . . , xN .
Here min(x1, x2, . . . , xN ) and max(x1, x2, . . . , xN are respectively the minimum
and the maximum values among the elements of (x1, x2. . . . , xN ). All other
properties may come in addition to this fundamental group. For example, if for every
permutation ∀σ ∈ SN of {1, 2, . . . , N } the AO satisfies:</p>
      <p>
        y = Agg(xσ(
        <xref ref-type="bibr" rid="ref1">1</xref>
        ), xσ(
        <xref ref-type="bibr" rid="ref2">2</xref>
        ), . . . , xσ(N)) = Agg(x1, x2, . . . , xN ),
then it is invariant (symmetric) with respect to the permutations of the elements
of (x1, x2, . . . , xN ). In other words, as far as means are concerned, the order of
the elements of (x1, x2, . . . , xN ) is - and must be – completely irrelevant.
      </p>
      <p>We list below a few particular cases of means:
N
1. Arithmetic mean (K(x) = x): Mean(x1, x2, . . . , xN ) = N1 P xi.
i=1
r
2. Geometric mean (K(x) = log(x)): Geo(x1, x2, . . . , xN ) = N
QiN=1 xi .</p>
      <p>N
3. Harmonic mean (K(x) = x−1): Harm(x1, x2, . . . , xN ) = N1 iP=1 xi−1 .
4. One-parametric family quasi arithmetic (power or H´older) means
corres
sponding to the functions K(x) = xp: Hold(x1, x2, . . . , xN ) = p</p>
      <p>N
N1 iP=1 xip .</p>
      <p>This family is particularly interesting, because it generalizes a group of
common means, only by changing the value of p.
−1</p>
      <p>A very notable particular cases correspond to the logic functions (min, max,
median): y = Min(x1, . . . , xN ), y = Max(x1, . . . , xN ), y = Med(x1, . . . , xN ).</p>
      <p>
        When filters 5–7 are modified as follows:
s(i, j) = Agg [f (m, n)] ,
b
(m,n)∈M(i,j)
(
        <xref ref-type="bibr" rid="ref8">8</xref>
        )
we get the unique class of nonlinear aggregation filters [8–11].
      </p>
      <p>In this work, we are going to use aggregation operator to the Heronian
(extended) data. Let (x1, x2, . . . , xN ) be an N -tuple of positive real numbers.
Definition 2. The following generalized aggregations</p>
      <p>HeronAggI2I (x1, . . . , xN ) =
HeronAggI2(x1, . . . , xN ) = Aggi≤j
q</p>
      <p>√xixj ,
Aggi≤j {xixj }
are called the Heronian aggregations of the first and second kinds, respectively.</p>
      <p>Here, we want to generalize Definition 2 by summarizing up the k-th roots
of all possible distinct products of k elements of (x1, . . . , xN ) with repetition.
The number of all such products is CNk+k−1 = M Hk. They form the Heronian
(extended) data. This determines the following definitions:</p>
      <p>HeronAggIk(x1, . . . , xN ) = Aggi1≤i2≤···≤ik {xi1 xi2 · · · xik } ,</p>
      <p>q</p>
      <p>HeronAggIkI (x1, . . . , xN ) = k Aggi1≤i2≤···≤ik {xi1 xi2 · · · xik }.
5</p>
    </sec>
    <sec id="sec-5">
      <title>Heronian aggregation filters</title>
      <p>
        Now we modify the classical mean and median filters (
        <xref ref-type="bibr" rid="ref4">4</xref>
        ) in the following way:
sb(i, j) = HeronAggIk hf(ri1,j), f(ri2,j), . . . , f(rik,j)i = HeronAggIk hf(ri,j)i =
(m,n)∈M(i,j)
sb(i, j) = HeronAggIkI hf(ri1,j), f(ri2,j), . . . , f(rik,j)i = HeronAggIkI hf(ri,j)i =
(m,n)∈M(i,j)
      </p>
      <p>r
= k Aggr1≤r2≤...≤k nf(ri1,j), f(ri2,j), . . . , f(rik,j)o,
for the generalized Heronian aggregating filters of the first and the second kinds,
respectively. In particular case (k = 1) we get the unique class of nonlinear
aggregation filters [8, 9].
6</p>
    </sec>
    <sec id="sec-6">
      <title>Experiments</title>
      <p>
        Generalized aggregation Heronian filtering with Agg = Mean, Med has been
applied to noised 256 × 256 gray level images “Dog” (Figures 1b, 2b). The
denoised images are shown in Figures 1–2. All filters have very good denoising
properties. This fact confirms that further investigation of these new filters is
perspective. Particularly, very interesting is a question about the types of noises,
for which such filters are optimal.
(
        <xref ref-type="bibr" rid="ref9">9</xref>
        )
(
        <xref ref-type="bibr" rid="ref10">10</xref>
        )
(
        <xref ref-type="bibr" rid="ref11">11</xref>
        )
(12)
(13)
(14)
      </p>
    </sec>
    <sec id="sec-7">
      <title>Conclusions</title>
      <p>We suggested and developed a new theoretical framework for image filtering
based the Heronian mean and median. The main goal of the work is to show
that Heronian mean and median can be used to solve problems of image filtering
in a natural and effective manner.</p>
      <p>Acknowledgment. This work was supported by grants the RFBR Nos.
13-0712168 and 13-07-00785.</p>
    </sec>
    <sec id="sec-8">
      <title>Appendix. Figures</title>
      <p>a) Original image
b) Noise image, P SN R = 21.83
c)
MeanHeron, P SN R = 32.364
d)
MedHeron, P SN R = 31.297
d)
MedHeron, P SN R = 29.531</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <surname>Mitra</surname>
            ,
            <given-names>S.K.</given-names>
          </string-name>
          :
          <article-title>Nonlinear Image Processing</article-title>
          . Academic Press Series in Communications, Networking, and Multimedia, San Diego, New York, p.
          <fpage>248</fpage>
          , (
          <year>2001</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <surname>Sykora</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          :
          <article-title>Mathematical Means and Averages: Generalized Heronian means I. Stan's Library</article-title>
          , Ed. S.Sykora,
          <string-name>
            <surname>I</surname>
          </string-name>
          (
          <year>2009</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <surname>Sykora</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          :
          <article-title>Generalized Heronian means II. Stan's Library</article-title>
          , Ed. S.Sykora,
          <string-name>
            <surname>II</surname>
          </string-name>
          (
          <year>2009</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <surname>Sykora</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          :
          <article-title>Generalized Heronian means III. Stan's Library</article-title>
          , Ed. S.Sykora, III (
          <year>2009</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <surname>Mayor</surname>
            ,
            <given-names>G.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Trillas</surname>
          </string-name>
          , E.:
          <article-title>On the representation of some Aggregation functions</article-title>
          .
          <source>In Proceeding of ISMVL</source>
          ,
          <volume>20</volume>
          ,
          <fpage>111</fpage>
          -
          <lpage>114</lpage>
          (
          <year>1986</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6.
          <string-name>
            <surname>Ovchinnikov</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          :
          <article-title>On Robust Aggregation Procedures. Aggregation Operators for Fusion under Fuzziness</article-title>
          .
          <string-name>
            <surname>Bouchon-Meunier</surname>
            <given-names>B</given-names>
          </string-name>
          . (eds.),
          <fpage>3</fpage>
          -
          <lpage>10</lpage>
          (
          <year>1998</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          7.
          <string-name>
            <surname>Kolmogorov</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          :
          <article-title>Sur la notion de la moyenne</article-title>
          .
          <source>Atti Accad. Naz. Lincei</source>
          ,
          <volume>12</volume>
          ,
          <fpage>388</fpage>
          -
          <lpage>391</lpage>
          (
          <year>1930</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          8.
          <string-name>
            <surname>Labunets</surname>
            <given-names>V. G.</given-names>
          </string-name>
          :
          <article-title>Filters based on aggregation operators. Part 1</article-title>
          .
          <string-name>
            <given-names>Aggregation</given-names>
            <surname>Operators</surname>
          </string-name>
          .
          <source>24th Int. Crimean Conference Microwave &amp; Telecommunication Technology (CriMiCo2014)</source>
          , Sevastopol, Crimea, Russia,
          <volume>24</volume>
          ,
          <fpage>1239</fpage>
          -
          <lpage>1240</lpage>
          (
          <year>2014</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          9.
          <string-name>
            <surname>Labunets</surname>
            ,
            <given-names>V.G.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Gainanov</surname>
            ,
            <given-names>D.N.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Ostheimer</surname>
          </string-name>
          , E.:
          <article-title>Filters based on aggregation operators. Part 2. The Kolmogorov filters</article-title>
          .
          <source>24th Int. Crimean Conference Microwave &amp; Telecommunication Technology (CriMiCo2014)</source>
          , Sevastopol, Crimea, Russia,
          <volume>24</volume>
          ,
          <fpage>1241</fpage>
          -
          <lpage>1242</lpage>
          (
          <year>2014</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          10.
          <string-name>
            <surname>Labunets</surname>
            ,
            <given-names>V.G.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Gainanov</surname>
            ,
            <given-names>D.N.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Tarasov</surname>
            <given-names>A.D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Ostheimer</surname>
            <given-names>E.</given-names>
          </string-name>
          :
          <article-title>Filters based on aggregation operators. Part 3. The Heron filters</article-title>
          .
          <source>24th Int. Crimean Conference Microwave &amp; Telecommunication Technology (CriMiCo2014)</source>
          , Sevastopol, Crimea, Russia,
          <volume>24</volume>
          ,
          <fpage>1243</fpage>
          -
          <lpage>1244</lpage>
          (
          <year>2014</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          11.
          <string-name>
            <surname>Labunets</surname>
            ,
            <given-names>V.G.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Gainanov</surname>
            ,
            <given-names>D.N.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Arslanova</surname>
            ,
            <given-names>R.A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Ostheimer</surname>
          </string-name>
          , E.:
          <article-title>Filters based on aggregation operators. Part 4. Generalized vector median filters</article-title>
          .
          <source>24th Int. Crimean Conference Microwave &amp; Telecommunication Technology (CriMiCo2014)</source>
          , Sevastopol, Crimea, Russia,
          <volume>24</volume>
          ,
          <fpage>1245</fpage>
          -
          <lpage>1246</lpage>
          (
          <year>2014</year>
          )
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>