<!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>Superpixel-Based Filtering for Image Noise Reduction</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Anna Egorova</string-name>
          <email>2358anna@gmail.com</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Samara National Research University Samara</institution>
          ,
          <country country="RU">Russia</country>
        </aff>
      </contrib-group>
      <pub-date>
        <year>2020</year>
      </pub-date>
      <abstract>
        <p>-The paper presents a superpixel-based image filtering algorithm for additive white Gaussian noise (AWGN) reduction. The algorithm processes an image by connected homogeneous regions of small size (superpixels). Each superpixel is restored using the least squares method. The mean square error (MSE) between a reconstructed image and an ideal image provided by the proposed algorithm is compared with the MSE provided by the Wiener filter. The experimental part shows that the proposed superpixel filtering algorithm outperforms the Wiener filter, providing lower MSE values.</p>
      </abstract>
      <kwd-group>
        <kwd>additive white Gaussian noise</kwd>
        <kwd>filtering</kwd>
        <kwd>least squares method</kwd>
        <kwd>mean square error</kwd>
        <kwd>noise reduction</kwd>
        <kwd>superpixel</kwd>
        <kwd>Wiener filter</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>INTRODUCTION</p>
      <p>
        Various random noises are introduced in images at the
forming and transmitting stages [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ]. Noises decrease the
visual quality of images and negatively affect the result of
image processing and analysis. Thus, the problem of image
noise reduction is important today.
      </p>
      <p>
        In practice, the most widespread is additive white noise
[
        <xref ref-type="bibr" rid="ref2">2</xref>
        ]. Most of existing image filtering algorithms are aimed at
reducing noise having a Gaussian distribution since such a
model well approximates many noises. The most popular
algorithm for reducing white Gaussian noise (AWGN) in
images is the Wiener filtering. It’s the optimal linear
processing technique for minimizing, in the statistical sense,
the mean square error (MSE) between a restored image and
an ideal image. It efficiently removes AWGN, but the degree
of blurring of restored images can exceed the values allowed
by the task [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ].
      </p>
      <p>
        In this paper, an algorithm for image AWGN filtering by
superpixels – perceptually meaningful connected disjoint
regions [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ] is proposed. It has several advantages over
pixelbased noise reduction algorithms. First, it processes images
by objects or their parts, since no superpixel should include
pixels of more than one object [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ], whereas pixel-based
algorithms often process images by “sliding window”, which
may consist of pixels belonging to various objects with
different characteristics. Secondly, the number of superpixels
of the image is much less than the number of pixels.
Consequently, the computational complexity of the noise
filtering task is reduced.
      </p>
    </sec>
    <sec id="sec-2">
      <title>II. SUPERPIXEL ALGORITHM</title>
      <p>
        For obtaining a superpixel representation of an image, the
threshold region detection algorithm [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ] is used. The
algorithm in the order of progressive scanning divides the
image into spatially connected disjoint homogeneous in
intensity areas (superpixels) in such a way that the spread of
pixel intensity values inside each of them is within the range
of 2 , where  is the input parameter of the algorithm that


is further designated as “superpixel threshold”. This
algorithm is chosen due to low computational complexity
and ease of setup (one input parameter) compared to the
popular graph superpixel segmentation algorithms [
        <xref ref-type="bibr" rid="ref6 ref7">6-8</xref>
        ] and
the clustering algorithms [
        <xref ref-type="bibr" rid="ref10 ref4 ref9">4, 9, 10</xref>
        ].
      </p>
      <p>III.</p>
      <p>THE PROPOSED SUPERPIXEL-WISE IMAGE NOISE</p>
      <p>FILTERING ALGORITHM</p>
      <p>Let x0 ( n1 , n 2 ) be an original image and v ( n1 , n 2 ) be a
random noise (AWGN). Then an observed image x ( n1 , n 2 ) is
modeled
as
x ( n1 , n 2 )  x0 ( n1 , n 2 )  v ( n1 , n 2 ),
where
n1  1, .., N 1 , n 2  1, .., N 2 , and N 1  N 2 is size of the original
image. Let a partition of the observed image x ( n1 , n 2 ) into
superpixels is given. Denote D   D m  m 1,..,M
a set of all
superpixels, where M is the total number of superpixels of
the image x ( n1 , n 2 ) .</p>
      <p>
        The task of image reconstruction is to design a filter that
takes as input the observed image x ( n1 , n 2 ) and outputs an
estimate x  n1 , n 2  that is close to the original image
x0 ( n1 , n 2 ) [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ]. The proposed algorithm filters the image
superpixel-wise and finds for each superpixel a linear
combination of some functions f i , i  1, .., I , where I is the
number of functions:
      </p>
      <p>I 1
 x  n1 , n 2    a i f i  n1 , n 2  ,   n1 , n 2   D m 
i  0
 a i  are the expansion coefficients.</p>
      <p>
        Then it uses the least squares method [
        <xref ref-type="bibr" rid="ref11">11</xref>
        ] to reconstruct each
superpixel:
      </p>
      <p>S </p>
      <p>
 n1 ,n2  Dm
[ x  n1 , n 2   x  n1 , n 2 ]2  m in 
ai </p>
      <p>To find the expansion coefficients  a i  at which
minimum of (2) is achieved, equate the partial derivatives
taken of (1) to zero, differentiate and obtain the following
system of linear equations:</p>
      <p>I 1
 a i
i  0</p>
      <p>
 n1 ,n2  D m
f i  n1 , n 2  f j  n1 , n 2  

  x  n1 , n 2  f j  n1 , n 2  , 0  j  I  1</p>
      <p> n1 ,n2  D m
In matrix form, the system (3) can be written as follows:</p>
      <p>B A  C 
and
of the original image and D v is the noise variance. The
following d values were considered: 10 dB, 15 dB, 20 dB,
30 dB, 50 dB, 100 dB, 200 dB, 500 dB, and 1000 dB. For
each pair of values ( , d ) 10 images were generated.
where
symmetric
matrix,</p>
      <p>A   a i  iI01
 I 1
C   ci  iI01   x  n1 , n 2  f i  n1 , n 2   are column-vectors
  n1 ,n2  Dm  i  0
of the sought coefficients and absolute terms of the system,
respectively.</p>
      <p>Let consider polynomials as expansion functions.
 If the degree of polynomials I  1 , the proposed
superpixel-based image filtering represents intensity
averaging operation inside each superpixel:
f 0  n1 , n 2   1 
b00 </p>
      <p>
        For experimental research, piecewise-constant images of
size 512×512 were generated. Such images represent a set of
regions with random intensity values formed by dividing the
plane by random lines [
        <xref ref-type="bibr" rid="ref12">12</xref>
        ]. The experiments were carried
out on three sets of synthesized data, each of which included
images with a fixed value of the correlation coefficient
between neighboring pixels  : 0.90, 0.95, and 0.99. An
example of generated piecewise-constant images is shown in
Fig. 1.
      </p>
      <p>
        The source images were noised by putting into them
AWGN with zero mean. Further, the signal-to-noise ratio
(SNR) is denoted as d  D x / D v , where D x is the variance








a)

value of noise standard deviation, and, therefore, the lower
the SNR, the higher the superpixel threshold  value that
minimizes reconstruction error. It was also found that the
threshold values of the superpixel segmentation algorithm
[
        <xref ref-type="bibr" rid="ref5">5</xref>
        ], which provides the minimum MSE, don’t depend on the
correlation between the pixels of the original image.
using the proposed superpixel-based filtering algorithm ( I  1) , c) the
image fragment reconstructed using the Wiener filtering.
      </p>
      <p>By comparing the proposed filtering algorithm with the
Wiener filter, the following conclusions can be drawn.



</p>
      <p>At signal-to-noise ratio d  5 0 dB, the Wiener filter
provides lower MSE values (however, they are high),
whereas at d  5 0 dB the proposed superpixel
filtering performs better regardless of the value of I .
The higher the value of the correlation coefficient
between the pixels of the original image  , the
smaller MSE obtained for the proposed algorithm and
the Wiener filter.</p>
      <p>The proposed algorithm is more efficient than the
Wiener filter at   0 .9 5 .</p>
      <p>The higher the correlation between the original image
pixels, the lower MSE, regardless of the filtering
method used.</p>
      <p>An example of a noisy image fragment reconstructed by
each of the compared algorithms is shown in Fig. 4. The
reconstruction errors of the proposed algorithm are local and
are observed at the boundaries of similar in intensity
regions. In turn, the Wiener filtering is characterized by a
blurring of reconstructed images.</p>
    </sec>
    <sec id="sec-3">
      <title>CONCLUSION</title>
      <p>The paper presents a superpixel-based filtering algorithm
and compares it with the Wiener filtering. The experimental
part of the research shows that at signal-to-noise ratios higher
than 50 dB, the proposed superpixel-based filtering
algorithm provides lower reconstruction errors than the
Wiener filter. Moreover, unlike the Wiener filter, the
proposed method proved to be good at various values of the
correlation coefficient between the pixels of the original
image. The superpixel-based filtering algorithm is more
efficient than the Wiener filter at the correlation coefficient
between neighboring pixels less than 0.95.</p>
      <p>It’s also shown that it’s sufficient to approximate
superpixels with polynomials of the first degree, since at
higher degrees the reduction in MSE between the
reconstructed image and the ideal image isn’t significant.</p>
      <p>The disadvantage of the proposed algorithm is the effect
of the obtaining superpixel representation stage on the final
result. In other words, an incorrectly selected superpixel
threshold results in pixels of different objects are merged into
a single superpixel. Conversely, when the noise level in the
observed image is high, the oversegmentation may occur,
and, as a result, the noise after filtering remains partially.</p>
    </sec>
    <sec id="sec-4">
      <title>ACKNOWLEDGMENT</title>
      <p>The research was supported by RFBR projects №
19-3790116, № 19-07-00474, and № 20-37-70053.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>R.C.</given-names>
            <surname>Gonzalez</surname>
          </string-name>
          and
          <string-name>
            <given-names>R.E.</given-names>
            <surname>Woods</surname>
          </string-name>
          , “Digital Image Processing,” NJ: Prentice hall,
          <year>2005</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <given-names>V.A.</given-names>
            <surname>Soifer</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.V.</given-names>
            <surname>Gashnikov</surname>
          </string-name>
          ,
          <string-name>
            <given-names>N.I.</given-names>
            <surname>Glumov</surname>
          </string-name>
          ,
          <string-name>
            <given-names>N.</given-names>
            <surname>Yu</surname>
          </string-name>
          . Ilyasova,
          <string-name>
            <given-names>V.V.</given-names>
            <surname>Myasnikov</surname>
          </string-name>
          and
          <string-name>
            <given-names>S.B.</given-names>
            <surname>Popov</surname>
          </string-name>
          , “Computer Image Processing,” Saarbrücken, Germany: VDM Verlag,
          <year>2010</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>X.</given-names>
            <surname>Ren</surname>
          </string-name>
          , “
          <article-title>Learning a classification model for segmentation</article-title>
          ,
          <source>” Proceedings of the Ninth IEEE International Conference on Computer Vision</source>
          in ICCV, pp.
          <fpage>10</fpage>
          -
          <lpage>17</lpage>
          ,
          <year>2003</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <given-names>R.</given-names>
            <surname>Achanta</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Shaji</surname>
          </string-name>
          ,
          <string-name>
            <given-names>K.</given-names>
            <surname>Smith</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Lucchi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            <surname>Fua</surname>
          </string-name>
          and
          <string-name>
            <given-names>S.</given-names>
            <surname>Susstrunk</surname>
          </string-name>
          , “
          <article-title>SLIC Superpixels compared to state-of-the-art superpixel methods</article-title>
          ,
          <source>” IEEE Transactions on Pattern Analysis and Machine Intelligence</source>
          , vol.
          <volume>34</volume>
          , no.
          <issue>11</issue>
          , pp.
          <fpage>2274</fpage>
          -
          <lpage>2282</lpage>
          ,
          <year>2012</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <given-names>V.V.</given-names>
            <surname>Sergeev</surname>
          </string-name>
          and
          <string-name>
            <given-names>V.A.</given-names>
            <surname>Soifer</surname>
          </string-name>
          , “
          <article-title>Image simulation model and data compression method,” Automatic Control</article-title>
          and
          <source>Computer Sciences</source>
          , vol.
          <volume>12</volume>
          , no.
          <issue>3</issue>
          , pp.
          <fpage>75</fpage>
          -
          <lpage>77</lpage>
          ,
          <year>1978</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <given-names>P.F.</given-names>
            <surname>Felzenszwalb</surname>
          </string-name>
          and
          <string-name>
            <given-names>D.P.</given-names>
            <surname>Huttenlocher</surname>
          </string-name>
          , “
          <article-title>Efficient graph-based image segmentation</article-title>
          ,”
          <source>International Journal of Computer Vision</source>
          , vol.
          <volume>59</volume>
          , no.
          <issue>2</issue>
          , pp.
          <fpage>167</fpage>
          -
          <lpage>181</lpage>
          ,
          <year>2004</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <given-names>J.</given-names>
            <surname>Shi</surname>
          </string-name>
          and
          <string-name>
            <given-names>J.</given-names>
            <surname>Malik</surname>
          </string-name>
          , “
          <article-title>Normalized cuts and image segmentation</article-title>
          ,
          <source>” IEEE Transactions on Pattern Analysis and Machine Intelligence</source>
          , vol.
          <volume>22</volume>
          , no.
          <issue>8</issue>
          , pp.
          <fpage>888</fpage>
          -
          <lpage>905</lpage>
          ,
          <year>2000</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          <string-name>
            <surname>M.Y. Liu</surname>
            ,
            <given-names>O.</given-names>
          </string-name>
          <string-name>
            <surname>Tuzel</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          <string-name>
            <surname>Ramalingam</surname>
            and
            <given-names>R.</given-names>
          </string-name>
          <string-name>
            <surname>Chellappa</surname>
          </string-name>
          , “
          <article-title>Entropy rate superpixel segmentation</article-title>
          ,
          <source>” IEEE Conference on Computer Vision and Pattern Recognition</source>
          , pp.
          <fpage>2097</fpage>
          -
          <lpage>2104</lpage>
          ,
          <year>2011</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          [9]
          <string-name>
            <given-names>Z.</given-names>
            <surname>Li</surname>
          </string-name>
          and
          <string-name>
            <given-names>J.</given-names>
            <surname>Chen</surname>
          </string-name>
          , “
          <article-title>Superpixel segmentation using linear spectral clustering</article-title>
          ,
          <source>” IEEE Conference on Computer Vision and Pattern Recognition</source>
          , pp.
          <fpage>1356</fpage>
          -
          <lpage>1363</lpage>
          ,
          <year>2015</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          [10]
          <string-name>
            <given-names>J.</given-names>
            <surname>Wang</surname>
          </string-name>
          and
          <string-name>
            <given-names>X.</given-names>
            <surname>Wang</surname>
          </string-name>
          , “
          <article-title>VCells: simple and efficient superpixels using edge-weighted centroidal Voronoi tessellations</article-title>
          ,
          <source>” IEEE Transactions on Pattern Analysis and Machine Intelligence</source>
          , vol.
          <volume>34</volume>
          , no.
          <issue>6</issue>
          , pp.
          <fpage>1241</fpage>
          -
          <lpage>1247</lpage>
          ,
          <year>2012</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          [11]
          <string-name>
            <surname>Yu</surname>
            .
            <given-names>V.</given-names>
          </string-name>
          <string-name>
            <surname>Linnik</surname>
          </string-name>
          , “
          <source>Method of Least Squares and Foundations of Mathematical Statistical Data Processing Theory</source>
          ,”Moscow: Fiz.- Mat.,
          <year>1958</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          [12]
          <string-name>
            <given-names>A.</given-names>
            <surname>Yu. Denisova</surname>
          </string-name>
          and
          <string-name>
            <given-names>V.V.</given-names>
            <surname>Sergeyev</surname>
          </string-name>
          , “
          <article-title>Iterational method for piecewise constant images restoration with an a priori knowledges of image objects boundaries,” Computer Optics</article-title>
          , vol.
          <volume>37</volume>
          , no.
          <issue>2</issue>
          , pp.
          <fpage>239</fpage>
          -
          <lpage>243</lpage>
          ,
          <year>2013</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          [13]
          <string-name>
            <surname>A.K. Jain</surname>
          </string-name>
          , “
          <article-title>Advances in mathematical models for image processing</article-title>
          ,
          <source>” Proceedings of the IEEE</source>
          , vol.
          <volume>69</volume>
          , no.
          <issue>5</issue>
          , pp.
          <fpage>502</fpage>
          -
          <lpage>528</lpage>
          ,
          <year>1981</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          [14]
          <string-name>
            <given-names>L.F.</given-names>
            <surname>Porfiryev</surname>
          </string-name>
          , “
          <article-title>Theory of optoelectronic systems</article-title>
          ,” Leningrad: Mashinostroenie,
          <year>1980</year>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>