<!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>Parameter space dimension reduction of an adaptive interpolator during multidimensional signal differential compression</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>A I Maksimov</string-name>
          <email>aleksei.maksimov.ssau@gmail.com</email>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>M V Gashnikov</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Image Processing Systems Institute of RAS - Branch of the FSRC "Crystallography and Photonics" RAS</institution>
          ,
          <addr-line>Molodogvardejskaya street 151, Samara, Russia, 443001</addr-line>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>Samara National Research University</institution>
          ,
          <addr-line>Moskovskoe Shosse 34А, Samara, Russia, 443086</addr-line>
        </aff>
      </contrib-group>
      <pub-date>
        <year>2019</year>
      </pub-date>
      <fpage>23</fpage>
      <lpage>30</lpage>
      <abstract>
        <p>We propose a new adaptive multidimensional signal interpolator for differential compression tasks. To increase the efficiency of interpolation, we optimize its parameters space by the minimum absolute interpolation error criterion. To reduce the complexity of interpolation optimization, we reduce the dimension of its parameter range. The correspondence between signal samples in a local neighbourhood is parameterized. Besides, we compare several methods for such parameterization. The developed adaptive interpolator is embedded in the differential compression method. Computational experiments on real multidimensional signals confirm that the use of the proposed interpolator can increase the compression ratio</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1. Introduction</title>
      <p>
        There are many interpolation [
        <xref ref-type="bibr" rid="ref1 ref2">1, 2</xref>
        ] methods have been already developed, and they continue to
evolve. It is worth mentioning techniques based on context modeling [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ], least mean squares [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ],
Kronecker bases [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ], matrix pencil method [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ], compressed sensing [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ], etc. However, these methods
are recourse consuming and computationally complex, therefore are not suitable for differential
compression algorithms.
      </p>
      <p>
        Differential compression of multidimensional signals, also called DPCM (differential pulse-code
modulation [
        <xref ref-type="bibr" rid="ref10 ref11 ref8 ref9">8 - 11</xref>
        ] ), is based on interpolation (prediction) of signal samples based on already
processed samples and further interpolation error encoding (post-interpolation residues encoding). A
high correlation usually characterizes real digital signals, so a transition to a differential representation
entails a significant non-uniformity of the probability distribution of post-interpolation residues,
which, in turn, leads to a decrease [
        <xref ref-type="bibr" rid="ref12 ref13 ref14">12 - 14</xref>
        ] of compressed data entropy, and a compression ratio
increase.
      </p>
      <p>
        In his paper, we propose a new adaptive DPCM interpolator of multidimensional signals [
        <xref ref-type="bibr" rid="ref15 ref16 ref2">2, 15 –
16</xref>
        ], for which three different ways of parameterization of already processed samples correspondence
are proposed. The complexity of optimizing the parameters of the proposed interpolator is decreased
by reducing the dimension of its parameters space. An experimental study of the proposed adaptive
interpolator on a test set of multidimensional signals of the SpecTIR spectrometer was made; its
results demonstrate that the proposed interpolation method outperforms the most common one.
      </p>
      <p>The article is structured as follows: first, a general method of DPCM is given. After which the
proposed interpolator is described: the general scheme for constructing adaptive interpolators, the
procedure for reducing the parameter space and the interpolation procedure. After that, the results of
an experimental study are presented.</p>
    </sec>
    <sec id="sec-2">
      <title>2. Multidimensional signals differential compression</title>
      <p>During differential compression of a multidimensional signal, the samples are processed in the order
of some scan, which generalizes the line-by-line scan of the two-dimensional case. Let C x  be the
multidimensional signal and x be the vector of its arguments. Every sample of C x  id processed in
the following way:
1. Interpolation.</p>
      <p>The interpolated value P  x  of the current sample is calculated using the already processed
(compressed and decompressed) samples Ck  x  :
via interpolation function P.</p>
      <p>2. Calculation of the differential signal f (the difference between the interpolated and the real
value):
where f  x  - is the differential signal.</p>
      <p>3. Quantization of differential signal:
where fq (x) - quantized difference, Q - quantization function.</p>
      <p>In this work, we used a uniform quantization scale:
(1)
(2)
(3)
(4)
(5)
(6)</p>
      <p>Cˆ  x   P  x   fq  x 2max 1 .
where max – preset maximum error (compression algorithm parameter), [..] means an integral part of
the number. This quantization scale controls the maximum error between the initial C  x  and
decompressed Cˆ  x  signals:</p>
      <p>4. Reconstruction of current value:
i.e. calculation of decompressed value Cˆ  x  . This value will be used in the compression stage during
the interpolation (3) of the next samples. This feedback is necessary to ensure that the interpolators
work identically during compression and decompression.</p>
      <p>
        5. Encoding of the quantized differential signal. In this work, Huffman encoder was used [
        <xref ref-type="bibr" rid="ref10 ref8 ref9">8 - 10</xref>
        ].
      </p>
    </sec>
    <sec id="sec-3">
      <title>3. Multidimensional signals adaptive interpolation</title>
      <p>
        3.1. Approach to adaptive interpolator construction
We have developed proposed interpolator according to the following general structure of adaptive
interpolation of multidimensional signals. It generalizes two-dimensional interpolation algorithms
described in [
        <xref ref-type="bibr" rid="ref2 ref8">2, 8</xref>
        ].
      </p>
      <p>Let us consider a current sample C( x) which is to be interpolated on the basis of neighbor ones
Ck  x  . Let Pi Ck  x  – be the set of simple and fast interpolation functions. Therefore, for every
sample a set of interpolated values can be calculated:</p>
      <p>Resulting interpolated value is chosen via the parameterized decision rule R:</p>
      <p>Pi  x   Pi Ck (x) .</p>
      <p>P  x   Ci  x , i  R  х , lim ,
which uses the vector of local features  х  calculated on the basis of neighbor samples Ck  x  . The
decision rule is also dependent on the parameter lim , which is calculated during the optimization of
some criterion (for example, interpolation error). The certain form of the criterion is determined by the
method application area.</p>
      <p>
        Averaging over the nearest processed samples interpolators are usually used [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ] to reduce the
computational complexity in differential compression:
      </p>
      <p>P  x 
1 N</p>
      <p>Cˆk  x ,
N i1
where Cˆk  x – are the neighbor samples, N – is the number of neighbor samples.</p>
      <p>
        The interpolator of this type work quite accurately on relatively smooth signal parts due to
averaging over noised samples, but it has a large error on the contours (extended brightness
differences). When interpolating contour readings, interpolators based on interpolation “along” the
contour work more accurately. An example of these interpolators for the two-dimensional case is, for
example, Graham interpolator [
        <xref ref-type="bibr" rid="ref2 ref8">2, 8</xref>
        ].
      </p>
      <p>During Graham interpolation, the interpolated value is equal to the neighbor sample value which
lies in the direction of the contour. However, this interpolation is less accurate on smooth parts of the
signal.</p>
      <p>In this paper, we propose an adaptive interpolator that combines the advantages of both described
approaches. Proposed interpolator automatically switches between averaging interpolation and
interpolation “along the contour” depending on the presence and intensity of the contour in the local
neighborhood of each signal sample.</p>
      <p>Let us describe in more detail interpolation function (7) and decision rule (8). Let L be the number
of possible contour directions (usually, it is greater than or equal to signal dimension). Let
i  x : 0  i  L be the set of averaged difference moduli Cˆt  x  Cˆ  x between already processed
samples Cˆk  x in every direction possible (this set is computed in every signal sample). Difference
values i  x  determine the presence and intensity of the contour in the current signal sample local
neighbourhood. The least of these differences might be used to determine the direction of the contour
if one passes through the processed sample. To decide whether there is a contour in a signal and what
direction it goes in, several threshold values lim are used. Thresholds are compared with local
i
features values  х  . If there are no contours detected, averaging interpolation (9) is used:
1 N
P  x   P1  x   Cˆk  x , if i  arg min i  x &amp;  х   ilim ,i 0, Nc  . (10)</p>
      <p>N k 1 </p>
      <p>Otherwise, the neighbouring sample, located in the differences minimum direction is used as an
interpolating value (interpolation “along the contour” is performed):</p>
      <p>P  x   P2  x   Cˆ j  x , if i  arg min i  x &amp; х   ilim ,i 0, Nc  .</p>
      <p>
(7)
(8)
(9)
(11)</p>
      <p>Therefore, to calculate the best ilim
values, we have to perform the optimization in
Nc
dimensional parameter space.</p>
      <p>The application task determines the number of dimensions Nc of parameter space ilim . For
differential compression, the complexity of the task is determined not only by the signal dimension but
also by the number of contour directions taken into account. For example, for differential compression
of two-dimensional signals (images), Nc  2 if we consider horizontal and vertical contours Nc  4 if
we consider horizontal, vertical and diagonal contours. Given the limitations on computational
complexity, even for Nc  2 searching the ilim parameters can be an overly time-consuming task.
3.2. Interpolator parameter space dimension reduction
In this paper, we propose to reduce the parameter space dimension to lower the computational
complexity of finding these parameters. To do that we propose to use decision rules based on the
relationships between i  x  instead of their absolute values. If there are no contours in a sample’s
neighborhood, differences i will have close values. If there is a distinct contour, the desired  j will
be not only the least but also distant from the other ones. Figure 1 shows described situations
pictorially.</p>
      <p>j  ... Nc-2 j   ...</p>
      <p>
(а)
(b)</p>
      <p>We propose three new contour features based on described statements:
I  x  r  x   j  x, j  x  arg mini  x, r  x  arg mini  x,</p>
      <p>i i: i j
II  x 
III  x 
 j  x
  x
,   x 
1 NC 1</p>
      <p> k  x,</p>
      <p>NC k 0
V  x  V  x</p>
      <p>1 0
1 NC 2</p>
      <p> Vi1  x  Vi  x
NC 1 i0
,</p>
      <p>
(12)
(13)
(14)
where V  x  is the element of the difference ordered series.</p>
      <p>i</p>
      <p>
        During the interpolation procedure, proposed contour features are compared with a single threshold
value lim . Thus, by reducing the parameter space dimension, it is possible to reduce the
multiparameter optimization problem to a single-parameter one, where the only parameter is lim . To
calculate this parameter, an automatic optimization procedure is used, similar to one described in [
        <xref ref-type="bibr" rid="ref16">16</xref>
        ].
3.3. Adaptive interpolation algorithm for differential compression
We considered a three-dimensional signal during experimental research C  x  C  x, y, z  , which is
processed “layer-wise” with line-by-line scan in each layer. We have considered the following set of
differences, each difference in accordance with a contour direction:
1      Cˆ  x, y 1, z  Cˆ  x 1, y 1, z  Cˆ  x 1, y 1, z  Cˆ  x  2, y 1, z 
 Cˆ  x 1, y 1, z  Cˆ  x  2, y 1, z  3
 Cˆ  x 1, y 1, z  Cˆ  x 1, y, z  3
2   |   Cˆ  x 1, y 1, z  Cˆ  x 1, y  2, z  Cˆ  x 1, y, z  Cˆ  x 1, y 1, z 
3   /   Cˆ x, y 1, z  Cˆ x 1, y, z  Cˆ x 1, y, z Cˆ x  2, y 1, z  Cˆ x 1, y 1, z Cˆ x  2, y, z  3, (22)
4   \   Cˆ x, y 1, z  Cˆ x 1, y  2, z  Cˆ x 1, y, z Cˆ x  2, y 1, z  Cˆ x 1, y 1, z Cˆ x, y  2, z  3, (23)
5      Cˆx1, y,z  Cˆx1, y,z1  Cˆ x, y1,z  Cˆ x, y1,z1 
 Cˆx1, y1,z  Cˆx1, y1,z1  Cˆ x1, y1,z  Cˆ x1, y1,z1  4
      </p>
      <p>As one may notice  , | , / , \ are the averaged differences of vertical, horizontal and diagonal
directions inside the current layer C  x, y, z , and  is the “cross-layer” averaged difference, i.e., the
difference between samples from layer C  x, y, z and layer C  x 1, y, z .</p>
      <p>In this case, contour features (12- 14) can be described in the following way:</p>
      <p>I  x, y, z   r  x, y, z    j  x, y, z ,
j  x, y, z   arg mini  x, y, z , r  x, y, z   arg mini  x, y, z ,i, j 1,5
i i: i j
 j  x, y, z 
  x, y, z 
II  x, y, z  
,   x, y, z  
1 5</p>
      <p>k  x, y, z ,
5 k1
III  x, y, z  
V  x, y, z   V  x, y, z 
1 0
1 4</p>
      <p>Vi1  x, y, z   Vi  x, y, z 
4 i1</p>
      <p>In this work, we have compared the adaptive interpolator with proposed contour features (25 - 27)
with an averaging one (9). The averaging interpolator for this case can be described in the following
way:</p>
      <p>P  x, y, z  
1 8</p>
      <p>Cˆk  x, y, z  .
8 i1
(20)
(21)
(24)
(25)
(26)
(27)
(28)</p>
    </sec>
    <sec id="sec-4">
      <title>4. Experimental study of the proposed adaptive interpolator</title>
      <p>A set of 6 hyper-spectral Earth remote sensing signals were used during the experimental research.
The set was obtained via SpecTIR hyper-spectrometer. Signals are 160×200×356 with 16-bit color
depth. Figure 3 demonstrates several channels of test signals.</p>
      <p>0,005
0,004
0,003
0,002
0,001
4 4,5 5 5,5 6
Figure 4. Dependence of decompressed signal RMS on compression coefficient with the use of the
adaptive (with different contour features) and averaging interpolators.</p>
      <sec id="sec-4-1">
        <title>Averaging interpolator</title>
      </sec>
      <sec id="sec-4-2">
        <title>Adaptive interpolator, feature I 0 10 20 30 40 50</title>
        <p>Figure 5. Dependence of the averaged over the test set compression ratio on the absolute error.</p>
        <p>Experimental research was held in the following way - each test signal was compressed and then
decompressed with a different maximum error value after that root mean square error (RMS) was
calculated for the decompressed signal. Results were averaged over all test set. Figure 4-7
demonstrates the results of the experimental study.</p>
        <p>As one may notice, proposed adaptive interpolator significantly reduces decompressed signal RMS.
for example, it gives 11 times less RMS then averaging interpolator for compression coefficient 5. The
least RMS is obtained with the use of the contour feature that uses the difference between two
minimum values (see 25 and its general form 12). One may notice, that the use of feature I (12, 25)
results in faster image processing with the same performance (in terms of RMS and compression ratio)
as features II (13, 26) and III (14, 27).</p>
      </sec>
    </sec>
    <sec id="sec-5">
      <title>5. Conclusions</title>
      <p>In this paper, new adaptive interpolator for differential compression tasks was proposed. It uses the
contour features to switch between interpolation methods in every processed signal sample. The
parameter space dimension reduction procedure was performed to lower the computational complexity
of the proposed interpolator. Three methods for the contour feature calculation were proposed.</p>
      <p>During the experimental research, every setup of the proposed interpolator outperformed the
averaging one. The least RMS is obtained with the use of contour feature that uses the difference
between two minimum values.</p>
    </sec>
    <sec id="sec-6">
      <title>Acknowledgments</title>
      <p>The reported study was funded by:
- RFBR according to the research projects 18-01-00667, 18-07-01312;
- the RF Ministry of Science and Higher Education within the state project of FSRC “Crystallography
and Photonics” RAS under agreement 007-GZ/Ch3363/26.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <surname>Sergeyev</surname>
            <given-names>V V</given-names>
          </string-name>
          and
          <string-name>
            <surname>Chicheva</surname>
            <given-names>M A</given-names>
          </string-name>
          <year>2013</year>
          <article-title>Digital processing of signals and images theory (Samara</article-title>
          : Samara University Press)
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <surname>Gashnikov</surname>
            <given-names>M V</given-names>
          </string-name>
          <year>2016</year>
          <article-title>Parameterization of the nonlinear Graham predictor for digital image compression</article-title>
          <source>Computer Optics</source>
          <volume>40</volume>
          (
          <issue>2</issue>
          )
          <fpage>225</fpage>
          -
          <lpage>231</lpage>
          DOI: 10.18287/
          <fpage>2412</fpage>
          -6179-2016-40-2-
          <fpage>225</fpage>
          -231
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <surname>Gashnikov</surname>
            <given-names>M V</given-names>
          </string-name>
          <year>2018</year>
          <article-title>Interpolation based on context modeling for hierarchical compression of multidimensional signals</article-title>
          <source>Computer Optics</source>
          <volume>42</volume>
          (
          <issue>3</issue>
          )
          <fpage>468</fpage>
          -
          <lpage>475</lpage>
          DOI: 10.18287/
          <fpage>2412</fpage>
          -6179-2018-42- 3-
          <fpage>468</fpage>
          -475
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <surname>Cohen</surname>
            <given-names>A</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Davenport</surname>
            <given-names>M A</given-names>
          </string-name>
          and
          <string-name>
            <surname>Leviatan D 2013</surname>
          </string-name>
          <article-title>On the stability and accuracy of least squares approximations</article-title>
          <source>Computational mathematics</source>
          <volume>13</volume>
          <fpage>819</fpage>
          -
          <lpage>834</lpage>
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <surname>Caiafa C F and Cichocki</surname>
            <given-names>A</given-names>
          </string-name>
          2016
          <source>Computing Sparse Representations of Multidimensional Signals Using Kronecker Bases Neural Computation</source>
          <volume>25</volume>
          <fpage>186</fpage>
          -
          <lpage>220</lpage>
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <surname>Verstakov</surname>
            <given-names>E V</given-names>
          </string-name>
          and
          <string-name>
            <surname>Zakharchenko V D 2015</surname>
          </string-name>
          <article-title>The comparative analysis of approximation algorithms of two-dimensional signals by Proni method and matrix bunches method Radio engineering</article-title>
          and
          <source>telecommunication systems</source>
          <volume>1</volume>
          <fpage>26</fpage>
          -
          <lpage>31</lpage>
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <surname>Bigot</surname>
            <given-names>J</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Boyer</surname>
            <given-names>C</given-names>
          </string-name>
          and
          <article-title>Weiss P 2016 An analysis of block sampling strategies in compressed sensing</article-title>
          <source>IEEE Transactions on Information Theory</source>
          <volume>62</volume>
          <fpage>2125</fpage>
          -
          <lpage>2139</lpage>
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          [8]
          <string-name>
            <surname>Soifer</surname>
            <given-names>V A</given-names>
          </string-name>
          et al. 2009
          <source>Computer Image Processing</source>
          ,
          <string-name>
            <surname>Part</surname>
            <given-names>II</given-names>
          </string-name>
          :
          <article-title>Methods and algorithms</article-title>
          (Saarbrücken: VDM Verlag)
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          [9]
          <string-name>
            <surname>Salomon</surname>
            <given-names>D 2007</given-names>
          </string-name>
          <string-name>
            <surname>Data Compression. The Complete Reference</surname>
          </string-name>
          (Berlin: Springer-Verlag)
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          [10]
          <string-name>
            <surname>Sayood</surname>
            <given-names>K 2012</given-names>
          </string-name>
          <article-title>Introduction to Data Compression</article-title>
          . (Burlington: The Morgan Kaufmann Series in
          <source>Multimedia Information and Systems)</source>
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          [11]
          <string-name>
            <surname>Vaseghi S V 2000 Advanced Digital Signal Processing and Noise Reduction</surname>
          </string-name>
          (Hoboken: John Wiley &amp; Sons)
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          [12]
          <string-name>
            <surname>Fursov</surname>
            <given-names>V A</given-names>
          </string-name>
          <year>2011</year>
          <article-title>Information theory</article-title>
          (Samara: Samara University Press)
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          [13]
          <string-name>
            <surname>Gashnikov</surname>
            <given-names>M V</given-names>
          </string-name>
          <year>2017</year>
          <article-title>Minimizing the entropy of post-interpolation residuals for image compression based on hierarchical grid interpolation</article-title>
          <source>Computer Optics</source>
          <volume>41</volume>
          (
          <issue>2</issue>
          )
          <fpage>266</fpage>
          -
          <lpage>275</lpage>
          DOI: 10.18287/
          <fpage>2412</fpage>
          -6179-2017-41-2-
          <fpage>266</fpage>
          -275
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          [14]
          <string-name>
            <surname>Woods J 2011 Multidimensional Signal</surname>
            , Image, and
            <given-names>Video</given-names>
          </string-name>
          <string-name>
            <surname>Processing</surname>
          </string-name>
          and Coding (Cambridge: Academic Press)
        </mixed-citation>
      </ref>
      <ref id="ref15">
        <mixed-citation>
          [15]
          <string-name>
            <surname>Donoho D L 2006</surname>
          </string-name>
          <article-title>Compressed sensing</article-title>
          IEEE Trans.
          <source>Inform. Theory</source>
          <volume>52</volume>
          <fpage>1289</fpage>
          -
          <lpage>12306</lpage>
        </mixed-citation>
      </ref>
      <ref id="ref16">
        <mixed-citation>
          [16]
          <string-name>
            <surname>Maksimov</surname>
            <given-names>A I</given-names>
          </string-name>
          and
          <string-name>
            <surname>Gashnikov M V 2018</surname>
          </string-name>
          <article-title>Adaptive interpolation of multidimensional signals for differential compression</article-title>
          <source>Computer Optics</source>
          <volume>42</volume>
          (
          <issue>4</issue>
          )
          <fpage>679</fpage>
          -
          <lpage>687</lpage>
          DOI: 10.18287/
          <fpage>2412</fpage>
          -6179-2018- 42-4-
          <fpage>679</fpage>
          -687
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>