<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE article  PUBLIC "-//NLM//DTD Journal Publishing DTD v3.0 20080202//EN" "http://dtd.nlm.nih.gov/publishing/3.0/journalpublishing3.dtd"><article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" dtd-version="3.0" xml:lang="en" article-type="research article"><front><journal-meta><journal-id journal-id-type="publisher-id">JSIP</journal-id><journal-title-group><journal-title>Journal of Signal and Information Processing</journal-title></journal-title-group><issn pub-type="epub">2159-4465</issn><publisher><publisher-name>Scientific Research Publishing</publisher-name></publisher></journal-meta><article-meta><article-id pub-id-type="doi">10.4236/jsip.2019.103005</article-id><article-id pub-id-type="publisher-id">JSIP-94194</article-id><article-categories><subj-group subj-group-type="heading"><subject>Articles</subject></subj-group><subj-group subj-group-type="Discipline-v2"><subject>Computer Science&amp;Communications</subject></subj-group></article-categories><title-group><article-title>
 
 
  Adaptive Lossy Image Compression Based on Singular Value Decomposition
 
</article-title></title-group><contrib-group><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Marcos</surname><given-names>Roberto e Souza</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref></contrib><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Helio</surname><given-names>Pedrini</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref></contrib></contrib-group><aff id="aff1"><addr-line>Institute of Computing, University of Campinas, Campinas, SP, Brazil</addr-line></aff><pub-date pub-type="epub"><day>08</day><month>08</month><year>2019</year></pub-date><volume>10</volume><issue>03</issue><fpage>59</fpage><lpage>72</lpage><history><date date-type="received"><day>16,</day>	<month>June</month>	<year>2019</year></date><date date-type="rev-recd"><day>5,</day>	<month>August</month>	<year>2019</year>	</date><date date-type="accepted"><day>8,</day>	<month>August</month>	<year>2019</year></date></history><permissions><copyright-statement>&#169; Copyright  2014 by authors and Scientific Research Publishing Inc. </copyright-statement><copyright-year>2014</copyright-year><license><license-p>This work is licensed under the Creative Commons Attribution International License (CC BY). http://creativecommons.org/licenses/by/4.0/</license-p></license></permissions><abstract><p>
 
 
  
    Image compression techniques aim to reduce redundant information in order to allow data storage and transmission in an efficient way. In this work, we propose and analyze a lossy image compression method based on the singular value decomposition using an optimal choice of eigenvalues and an adaptive mechanism for block partitioning. Experiments are conducted on several images to demonstrate the effectiveness of the proposed compression method in comparison with the direct application of the singular value decomposition. 
  
 
</p></abstract><kwd-group><kwd>Image Compression</kwd><kwd> Adaptive Decomposition</kwd><kwd> Lossy Compression</kwd></kwd-group></article-meta></front><body><sec id="s1"><title>1. Introduction</title><p>Advances in digital imaging and video acquisition equipments, such as cameras, cell phones, and tablets, have enabled the generation of large volumes of data. Many applications use images and videos, such as medicine [<xref ref-type="bibr" rid="scirp.94194-ref1">1</xref>] , remote sensing [<xref ref-type="bibr" rid="scirp.94194-ref2">2</xref>] , microscopy [<xref ref-type="bibr" rid="scirp.94194-ref3">3</xref>] , surveillance and security [<xref ref-type="bibr" rid="scirp.94194-ref4">4</xref>] .</p><p>Adjacent pixels in images and videos usually have a high correlation, which leads to redundancy and demands high storage consumption. In order to reduce the space required and the transmission time of images and videos, several compression techniques have been proposed in the literature. These techniques explore data redundancies and are generally classified into two categories of compression methods: lossless and lossy.</p><p>In lossless compression methods, the original data can be completely recovered after the decompression process [<xref ref-type="bibr" rid="scirp.94194-ref4">4</xref>] , whereas, in lossy compression methods, certain less relevant information is discarded, such that the resulting image is different from the original image. Ideally, this loss should be tolerated by the receiver [<xref ref-type="bibr" rid="scirp.94194-ref4">4</xref>] .</p><p>As the main contribution of this work, we present and evaluate a lossy-based image compression method based on the singular value decomposition (SVD) technique [<xref ref-type="bibr" rid="scirp.94194-ref5">5</xref>] [<xref ref-type="bibr" rid="scirp.94194-ref6">6</xref>] . The originality of the method resides mainly in the choice of eigenvalues and the partitioning of the images in an adaptive way, as well as a detailed investigation in the use of the SVD for the image compression. Experiments show that the proposed method is able to achieve better results than those obtained with the direct application of SVD. In addition, new insights to the singular value decomposition-based compression method are provided.</p><p>This paper is organized as follows. Some relevant concepts and approaches related to the topic under investigation are briefly described in Section 2. The proposed method for image compression using singular value decomposition is presented in Section 3. The results are reported and discussed in Section 4. Final considerations are presented in Section 5.</p></sec><sec id="s2"><title>2. Related Work</title><p>Compression techniques [<xref ref-type="bibr" rid="scirp.94194-ref7">7</xref>] - [<xref ref-type="bibr" rid="scirp.94194-ref16">16</xref>] play an important role in the storage and transmission of image data. Their main purpose is to represent an image in a very compact way, that is, through a small number of bits without losing the essential content of the information present in the image.</p><p>Image compression methods are generally categorized into lossless and lossy approaches [<xref ref-type="bibr" rid="scirp.94194-ref17">17</xref>] [<xref ref-type="bibr" rid="scirp.94194-ref18">18</xref>] [<xref ref-type="bibr" rid="scirp.94194-ref19">19</xref>] . In lossless compression, all information originally contained in the image is preserved after it is uncompressed. In lossy compression, only part of the original information is preserved when the images is uncompressed.</p><p>Image compression methods are based on reducing redundancies in the data representation. The redundancies present in images can be divided into three categories [<xref ref-type="bibr" rid="scirp.94194-ref4">4</xref>] [<xref ref-type="bibr" rid="scirp.94194-ref20">20</xref>] . The coding redundancy refers to the use of a number of bits greater than absolutely necessary to represent the intensities of the pixels of the image. The interpixel redundancy is associated with the relation or similarity of neighboring pixels. Finally, the psychovisual redundancy concerns the imperceptible details of the human visual system.</p><p>Some lossless compression methods that explore coding redundancy are Huffman coding [<xref ref-type="bibr" rid="scirp.94194-ref21">21</xref>] , Shannon-Fano coding [<xref ref-type="bibr" rid="scirp.94194-ref22">22</xref>] , arithmetic coding [<xref ref-type="bibr" rid="scirp.94194-ref23">23</xref>] and dictionary-based encoding such as LZ78 and LZW [<xref ref-type="bibr" rid="scirp.94194-ref24">24</xref>] . Run-length coding [<xref ref-type="bibr" rid="scirp.94194-ref25">25</xref>] , bit plane coding [<xref ref-type="bibr" rid="scirp.94194-ref26">26</xref>] and predictive coding [<xref ref-type="bibr" rid="scirp.94194-ref27">27</xref>] explore interpixel redundancy. Lossy compression methods, such as predictive coding by delta modulation (DM) [<xref ref-type="bibr" rid="scirp.94194-ref28">28</xref>] [<xref ref-type="bibr" rid="scirp.94194-ref29">29</xref>] or by differential pulse-code modulation (DPCM) [<xref ref-type="bibr" rid="scirp.94194-ref30">30</xref>] and transform coding [<xref ref-type="bibr" rid="scirp.94194-ref31">31</xref>] [<xref ref-type="bibr" rid="scirp.94194-ref32">32</xref>] , typically explore psychovisual redundancy.</p><p>A common transformation employed in image compression is the singular value decomposition (SVD). Waldemar et al. [<xref ref-type="bibr" rid="scirp.94194-ref33">33</xref>] proposed a hybrid system with Karhunen-Lo&#233;ve (KL) vectors and SVD for image compression. Ranade et al. [<xref ref-type="bibr" rid="scirp.94194-ref34">34</xref>] performed permutations on the input image as a preprocessing, before applying the SVD. Rufai et al. [<xref ref-type="bibr" rid="scirp.94194-ref35">35</xref>] combined the SVD with wavelet difference reduction (WDR), in which the input image is first compressed using the SVD and then compressed again with the WDR.</p><p>In this work, we apply the use of singular value decomposition in image compression and analyze its use locally and with an optimal choice of eigenvalues.</p></sec><sec id="s3"><title>3. Adaptive Image Compression</title><p>In this section, we present our adaptive image compression approach based on singular value decomposition, the image partitioning process and the compression evaluation metrics.</p><sec id="s3_1"><title>3.1. Image Compression</title><p>The diagram presented in <xref ref-type="fig" rid="fig1">Figure 1</xref> presents the main steps of the image compression and decompression method proposed in this work. The compression algorithm has as input an image I n &#215; p and, as output, the compressed image represented by the singular value decomposition matrices in a binary file. The decompression algorithm has as input the binary file containing the decomposition matrices and, as output, an image J n &#215; p ≈ I n &#215; p . The steps of the method are presented in detail as follows.</p><p>Initially, we calculate the singular value decomposition (SVD) for the entire image. The SVD of a real matrix A n &#215; p corresponds to the factorization</p><p>A = U Σ V T</p><p>where U is a real unit matrix n &#215; n , Σ is a diagonal rectangular matrix n &#215; p with diagonal nonnegative real numbers and V is a real unit matrix p &#215; p .</p><p>Since U and V<sup>T</sup> U are real unitary matrices, then U U T = I and V V T = I , where I is the identity matrix. Thus, U and V<sup>T</sup> are orthogonal matrices. The columns of U are the eigenvectors of the matrix A A T , the columns of V are the eigenvectors of the matrix A T A and the diagonal elements of the matrix Σ are the square roots of eigenvalues of A A T or A T A . The eigenvalues are arranged in the matrix Σ in descending order, that is, if σ i are the diagonal elements of Σ , then σ 1 ≥ σ 2 ≥ ⋯ ≥ σ n &gt; 0 . Then,</p><p>A = U Σ V T = [ u 1 u 2 ⋯ u n ] [ σ 1 0 ⋯ 0 0 σ 2 ⋯ 0 ⋮ ⋮ ⋱ ⋮ 0 0 ⋯ σ n ] [ v 1 T v 2 T ⋮ v n T ] = u 1 σ 1 v 1 T + u 2 σ 2 v 2 T + ⋯ + u n σ n v n T (1)</p><p>Using the entire SVD arrays, with σ 1 , ⋯ , σ n , would typically make SVD matrices larger than the original matrix. Since we are interested in lossy compression, some of the eigenvalues above a certain σ i can be discarded, decreasing the final size of the three matrices.</p><p>Considering that the σ i elements are sorted in descending order, the first terms u i σ i v i T contribute more significantly to the summation. Thus, we determine the i value that optimizes</p><p>opt_value = arg max i ( α − 1 ) ( λ i ) + ( α ) ( δ i ) (2)</p><p>where λ i is the variance maintained by choosing the first i eigenvalues, calculated as</p><p>λ i = λ i − 1 + σ i * (3)</p><p>where σ i * = σ i ∑ σ i and δ i is the relative redundancy of data, which can be expressed as</p><p>δ i = 1 − i + n i + p i n p (4)</p><p>The factor α is used to weight the two terms, calculated as</p><p>α ′ = ( 1 − r n ,     if   n &lt; p 1 − r p ,   otherwise (5)</p><p>α = ( 0.3,   if   α ′ &lt; 0.3 0.6,   otherwise (6)</p><p>The adaptive choice of the i value is made by means of the optimization described previously and not by assigning a fixed minimum variance, as in many approaches of the literature [<xref ref-type="bibr" rid="scirp.94194-ref33">33</xref>] [<xref ref-type="bibr" rid="scirp.94194-ref34">34</xref>] . The motivation for this decision lies in the fact that we will consider a given eigenvalue if the cost to add it will compensate for the significance it carries, that is, adding the eigenvalue σ i + 1 would increase the number of bytes in the compressed image as opposed to improving the image quality.</p><p>In addition, other methods available in the literature [<xref ref-type="bibr" rid="scirp.94194-ref33">33</xref>] [<xref ref-type="bibr" rid="scirp.94194-ref34">34</xref>] do not consider or discuss the fact that the matrices generated by the SVD are real numbers (usually 64 bits), whereas an image is typically integer (8 bits), which makes the direct application of SVD unfeasible. Thus, we apply a rounding in the matrices obtained by the decomposition, so that we consider only the first three decimal places. This rounding can be expressed as</p><p>f = ⌊ h 10 d + 0.5 ⌋ (7)</p><p>where h is the original value of the (real) matrix and f is the value obtained after rounding (integer). In this work, we consider d = 3 for two main reasons. First, this will cause us to have 3-digit numbers since the original values are in the range [ 0,1 ] , which is interesting because the linear transformation that will be applied considers the interval from 0 to 255. Thus, a lower degree of loss will be obtained by changing the range of numbers. In addition, using smaller values for d showed, empirically, a great loss of information, whereas using larger values did not show significant improvement. This rounding is not applied to the Σ matrix, since its value is not between 0 and 1.</p><p>Then, we apply a linear transformation that maps the original interval to the range 0 to 255 expressed as</p><p>g = g max − g min f max − f min ( f − f min ) + g min (8)</p><p>where f min and f max are the minimum and maximum values of the matrix, respectively, whereas g min and g max are 0 and 255, respectively. The variable f represents the original value and g the value obtained after the transformation.</p><p>Then, the image is divided into four blocks of the same size, and the compression is recursively applied to each of the blocks. This division is performed until the image has a certain minimum size. A quadtree decomposition is formed from this process, where the inner nodes represent the divisions of the image and the leaf nodes represent the SVD matrices.</p><p><xref ref-type="fig" rid="fig2">Figure 2</xref>(a) presents an example of a binary image of 4 &#215; 4 pixels. White pixels have a value of 0, whereas black pixels have a value of 1. The rank of the matrix representing this image is r = 4 since no row or column is linearly dependent on the other. <xref ref-type="fig" rid="fig2">Figure 2</xref>(b) presents a partitioning, in which only pixels of the same intensity were kept together. The quadtree corresponding to the division performed is illustrated in <xref ref-type="fig" rid="fig2">Figure 2</xref>(c).</p><p>Since all regions have pixels of the same intensity, the rank of each region in <xref ref-type="fig" rid="fig2">Figure 2</xref>(b) is equal to r = 1 . <xref ref-type="fig" rid="fig2">Figure 2</xref>(d) presents an image where 4 pixels are black, but with another configuration. This image has rank r = 1 , which shows a dependence of the rank and, consequently, of the good performance of the SVD in relation to the image content.</p><p>The number of units (number of values) required to store the SVD matrices can be expressed as</p><p>Units = r + p r + n r (9)</p><p>where r is the rank, whereas p and n are the dimensions of the original image. The first term of the sum (r) corresponds to the diagonal matrix size Σ , whereas the other values correspond to the two other matrices U and V. Thus, the number of units needed to store the image shown in <xref ref-type="fig" rid="fig2">Figure 2</xref>(a) is given by</p><p>4 + ( 4 ) ( 4 ) + ( 4 ) ( 4 ) = 36 (10)</p><p>On the other hand, for the image after partitioning, illustrated in <xref ref-type="fig" rid="fig2">Figure 2</xref>(b), the number of units can be calculated as</p><p>1 + ( 2 ) ( 1 ) + ( 2 ) ( 1 ) = 5 1 + ( 1 ) ( 1 ) + ( 1 ) ( 1 ) = 3 ( 5 ) ( 2 ) + ( 3 ) ( 8 ) = 34 (11)</p><p>We note that, for this division in the image, the number of units needed to store the SVD matrices has decreased. The amount of units needed to store SVD matrices with the division (considering all divisions with the same rank) is smaller than in the entire image, since</p><p>4 ( r ′ + p 2 r ′ + n 2 r ′ ) &lt; r + p r + n r 4 r ′ + 2 p r ′ + 2 n r ′ &lt; r + p r + n r 2 r ′ ( 1 + p + n ) + 2 r ′ &lt; r ( 1 + p + n ) r ′ ( 2 + 2 1 + p + n ) &lt; r (12)</p><p>where r ′ is the rank of the matrices after division and r ′ is the rank of the original matrix.</p><p>In our method, we determine the best alternative, that is, whether the decomposition will be calculated in the entire image or in its four blocks, from the optimal value calculated with Equation (2). Thus, the block division will be chosen if</p><disp-formula id="scirp.94194-formula1"><label>(13)</label><graphic position="anchor" xlink:href="//html.scirp.org/file/1-3400593x58.png"  xlink:type="simple"/></disp-formula><p>where opt_value is the optimal value for the entire image and <inline-formula><inline-graphic xlink:href="/html.scirp.org/file/1-3400593x59.png" xlink:type="simple"/></inline-formula> is the optimal value for the j-th block.</p><p>For color images, a decomposition is calculated separately for each color channel. Finally, having the necessary information, the compressed image is stored in a binary file. <xref ref-type="fig" rid="fig3">Figure 3</xref> shows the protocol used to store the image, with header and data.</p><p>The binary file has at its beginning a global header, shown in <xref ref-type="fig" rid="fig3">Figure 3</xref>(a). In this header, three values are stored: the width (n) and height (p) of the image,</p><p>and the number of channels (ch) of the image. They determine the size of each node in the tree, which is necessary to correctly retrieve the data in the decompression step.</p><p>The tree nodes are stored, as shown in <xref ref-type="fig" rid="fig3">Figure 3</xref>, having a local header and data. The first information in this header is the type of node: 1) internal or 2) leaf. For internal nodes, we do not have data, but four children. Thus, after an internal node, four other nodes are expected. For the leaf nodes, besides the node type, we have the rank value r, the minimum and maximum values of each of the matrices. Finally, we have the data for that particular node.</p><p>Given the compressed image, the file is read and the tree is reconstructed. For each SVD matrix, a linear transformation is applied in order to return it to the original interval. This is done by using Equation (8), where, in this case, <inline-formula><inline-graphic xlink:href="/html.scirp.org/file/1-3400593x61.png" xlink:type="simple"/></inline-formula>and <inline-formula><inline-graphic xlink:href="/html.scirp.org/file/1-3400593x62.png" xlink:type="simple"/></inline-formula> are 0 and 255 and <inline-formula><inline-graphic xlink:href="/html.scirp.org/file/1-3400593x63.png" xlink:type="simple"/></inline-formula> and <inline-formula><inline-graphic xlink:href="/html.scirp.org/file/1-3400593x64.png" xlink:type="simple"/></inline-formula> are the various minimums and maximums of the original matrix. Next, we apply a transformation inverse to that made in Equation (7) to retrieve the decimal values. Finally, the matrices are multiplied to obtain an uncompressed image.</p></sec><sec id="s3_2"><title>3.2. Evaluation Metrics</title><p>We evaluated the compression under two different aspects: the size of the compressed image and the quality of the uncompressed image. For the first, we adopted the compression rate that can be expressed as</p><disp-formula id="scirp.94194-formula2"><label>(14)</label><graphic position="anchor" xlink:href="//html.scirp.org/file/1-3400593x65.png"  xlink:type="simple"/></disp-formula><p>where <inline-formula><inline-graphic xlink:href="/html.scirp.org/file/1-3400593x66.png" xlink:type="simple"/></inline-formula> refers to the size of the uncompressed image in bytes, whereas <inline-formula><inline-graphic xlink:href="/html.scirp.org/file/1-3400593x67.png" xlink:type="simple"/></inline-formula> refers to the size of the compressed image in bytes. The result of this measurement indicates how many times the compressed image is smaller than the original image.</p><p>To evaluate the quality of the decompressed image, we used the mean of the structural similarity index (MSSIM), expressed as</p><disp-formula id="scirp.94194-formula3"><label>(15)</label><graphic position="anchor" xlink:href="//html.scirp.org/file/1-3400593x68.png"  xlink:type="simple"/></disp-formula><p>where I and J are the original and uncompressed images, respectively. <inline-formula><inline-graphic xlink:href="/html.scirp.org/file/1-3400593x69.png" xlink:type="simple"/></inline-formula>and <inline-formula><inline-graphic xlink:href="/html.scirp.org/file/1-3400593x70.png" xlink:type="simple"/></inline-formula> are the i-th windows of the images and k is the total number of windows. The structural similarity index (SSIM) [<xref ref-type="bibr" rid="scirp.94194-ref36">36</xref>] is expressed as</p><disp-formula id="scirp.94194-formula4"><label>(16)</label><graphic position="anchor" xlink:href="//html.scirp.org/file/1-3400593x71.png"  xlink:type="simple"/></disp-formula><p>where <inline-formula><inline-graphic xlink:href="/html.scirp.org/file/1-3400593x72.png" xlink:type="simple"/></inline-formula> and <inline-formula><inline-graphic xlink:href="/html.scirp.org/file/1-3400593x73.png" xlink:type="simple"/></inline-formula> are the means of x and y, <inline-formula><inline-graphic xlink:href="/html.scirp.org/file/1-3400593x73.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="//html.scirp.org/file/1-3400593x74.png" xlink:type="simple"/></inline-formula>and <inline-formula><inline-graphic xlink:href="/html.scirp.org/file/1-3400593x73.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="//html.scirp.org/file/1-3400593x74.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="//html.scirp.org/file/1-3400593x75.png" xlink:type="simple"/></inline-formula> are the variances of x and y. The variable <inline-formula><inline-graphic xlink:href="/html.scirp.org/file/1-3400593x73.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="//html.scirp.org/file/1-3400593x74.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="//html.scirp.org/file/1-3400593x75.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="//html.scirp.org/file/1-3400593x76.png" xlink:type="simple"/></inline-formula> is the covariance between x and y, whereas <inline-formula><inline-graphic xlink:href="/html.scirp.org/file/1-3400593x73.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="//html.scirp.org/file/1-3400593x74.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="//html.scirp.org/file/1-3400593x75.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="//html.scirp.org/file/1-3400593x76.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="//html.scirp.org/file/1-3400593x77.png" xlink:type="simple"/></inline-formula> and <inline-formula><inline-graphic xlink:href="/html.scirp.org/file/1-3400593x73.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="//html.scirp.org/file/1-3400593x74.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="//html.scirp.org/file/1-3400593x75.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="//html.scirp.org/file/1-3400593x76.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="//html.scirp.org/file/1-3400593x77.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="//html.scirp.org/file/1-3400593x78.png" xlink:type="simple"/></inline-formula> are constants. The SSIM values are in a range of<inline-formula><inline-graphic xlink:href="/html.scirp.org/file/1-3400593x73.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="//html.scirp.org/file/1-3400593x74.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="//html.scirp.org/file/1-3400593x75.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="//html.scirp.org/file/1-3400593x76.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="//html.scirp.org/file/1-3400593x77.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="//html.scirp.org/file/1-3400593x78.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="//html.scirp.org/file/1-3400593x79.png" xlink:type="simple"/></inline-formula>, where the higher the value, the greater the similarity.</p></sec></sec><sec id="s4"><title>4. Experimental Results</title><p>This section presents the results of experiments conducted on a set of twenty input images. <xref ref-type="table" rid="table1">Table 1</xref> summarizes some relevant characteristics of the images. Seventeen images were extracted from a public domain repository [<xref ref-type="bibr" rid="scirp.94194-ref37">37</xref>] , whereas the other three were collected separately.</p><table-wrap id="table1" ><label><xref ref-type="table" rid="table1">Table 1</xref></label><caption><title> Images used in our experiments</title></caption><table><tbody><thead><tr><th align="center" valign="middle" >#</th><th align="center" valign="middle" >Image</th><th align="center" valign="middle" >Dimensions (pixels)</th><th align="center" valign="middle" >Source</th></tr></thead><tr><td align="center" valign="middle" >1</td><td align="center" valign="middle" >airplane</td><td align="center" valign="middle" ><inline-formula><inline-graphic xlink:href="/html.scirp.org/file/1-3400593x80.png" xlink:type="simple"/></inline-formula></td><td align="center" valign="middle" >Public Domain</td></tr><tr><td align="center" valign="middle" >2</td><td align="center" valign="middle" >baboon</td><td align="center" valign="middle" ><inline-formula><inline-graphic xlink:href="/html.scirp.org/file/1-3400593x81.png" xlink:type="simple"/></inline-formula></td><td align="center" valign="middle" >Public Domain</td></tr><tr><td align="center" valign="middle" >3</td><td align="center" valign="middle" >barbara</td><td align="center" valign="middle" ><inline-formula><inline-graphic xlink:href="/html.scirp.org/file/1-3400593x82.png" xlink:type="simple"/></inline-formula></td><td align="center" valign="middle" >Public Domain</td></tr><tr><td align="center" valign="middle" >4</td><td align="center" valign="middle" >boat</td><td align="center" valign="middle" ><inline-formula><inline-graphic xlink:href="/html.scirp.org/file/1-3400593x83.png" xlink:type="simple"/></inline-formula></td><td align="center" valign="middle" >Public Domain</td></tr><tr><td align="center" valign="middle" >5</td><td align="center" valign="middle" >boy</td><td align="center" valign="middle" ><inline-formula><inline-graphic xlink:href="/html.scirp.org/file/1-3400593x84.png" xlink:type="simple"/></inline-formula></td><td align="center" valign="middle" >Public Domain</td></tr><tr><td align="center" valign="middle" >6</td><td align="center" valign="middle" >cameraman</td><td align="center" valign="middle" ><inline-formula><inline-graphic xlink:href="/html.scirp.org/file/1-3400593x85.png" xlink:type="simple"/></inline-formula></td><td align="center" valign="middle" >Public Domain</td></tr><tr><td align="center" valign="middle" >7</td><td align="center" valign="middle" >chessboard</td><td align="center" valign="middle" ><inline-formula><inline-graphic xlink:href="/html.scirp.org/file/1-3400593x86.png" xlink:type="simple"/></inline-formula></td><td align="center" valign="middle" >Collected Separately</td></tr><tr><td align="center" valign="middle" >8</td><td align="center" valign="middle" >fruits</td><td align="center" valign="middle" ><inline-formula><inline-graphic xlink:href="/html.scirp.org/file/1-3400593x87.png" xlink:type="simple"/></inline-formula></td><td align="center" valign="middle" >Public Domain</td></tr><tr><td align="center" valign="middle" >9</td><td align="center" valign="middle" >girl</td><td align="center" valign="middle" ><inline-formula><inline-graphic xlink:href="/html.scirp.org/file/1-3400593x88.png" xlink:type="simple"/></inline-formula></td><td align="center" valign="middle" >Public Domain</td></tr><tr><td align="center" valign="middle" >10</td><td align="center" valign="middle" >goldhill</td><td align="center" valign="middle" ><inline-formula><inline-graphic xlink:href="/html.scirp.org/file/1-3400593x89.png" xlink:type="simple"/></inline-formula></td><td align="center" valign="middle" >Public Domain</td></tr><tr><td align="center" valign="middle" >11</td><td align="center" valign="middle" >lena</td><td align="center" valign="middle" ><inline-formula><inline-graphic xlink:href="/html.scirp.org/file/1-3400593x90.png" xlink:type="simple"/></inline-formula></td><td align="center" valign="middle" >Public Domain</td></tr><tr><td align="center" valign="middle" >12</td><td align="center" valign="middle" >line</td><td align="center" valign="middle" ><inline-formula><inline-graphic xlink:href="/html.scirp.org/file/1-3400593x91.png" xlink:type="simple"/></inline-formula></td><td align="center" valign="middle" >Generated by the Authors</td></tr><tr><td align="center" valign="middle" >13</td><td align="center" valign="middle" >monarch</td><td align="center" valign="middle" ><inline-formula><inline-graphic xlink:href="/html.scirp.org/file/1-3400593x92.png" xlink:type="simple"/></inline-formula></td><td align="center" valign="middle" >Public Domain</td></tr><tr><td align="center" valign="middle" >14</td><td align="center" valign="middle" >mountain</td><td align="center" valign="middle" ><inline-formula><inline-graphic xlink:href="/html.scirp.org/file/1-3400593x93.png" xlink:type="simple"/></inline-formula></td><td align="center" valign="middle" >Public Domain</td></tr><tr><td align="center" valign="middle" >15</td><td align="center" valign="middle" >peppers</td><td align="center" valign="middle" ><inline-formula><inline-graphic xlink:href="/html.scirp.org/file/1-3400593x94.png" xlink:type="simple"/></inline-formula></td><td align="center" valign="middle" >Public Domain</td></tr><tr><td align="center" valign="middle" >16</td><td align="center" valign="middle" >sails</td><td align="center" valign="middle" ><inline-formula><inline-graphic xlink:href="/html.scirp.org/file/1-3400593x95.png" xlink:type="simple"/></inline-formula></td><td align="center" valign="middle" >Public Domain</td></tr><tr><td align="center" valign="middle" >17</td><td align="center" valign="middle" >strawberry</td><td align="center" valign="middle" ><inline-formula><inline-graphic xlink:href="/html.scirp.org/file/1-3400593x96.png" xlink:type="simple"/></inline-formula></td><td align="center" valign="middle" >Collected Separately</td></tr><tr><td align="center" valign="middle" >18</td><td align="center" valign="middle" >tulips</td><td align="center" valign="middle" ><inline-formula><inline-graphic xlink:href="/html.scirp.org/file/1-3400593x97.png" xlink:type="simple"/></inline-formula></td><td align="center" valign="middle" >Public Domain</td></tr><tr><td align="center" valign="middle" >19</td><td align="center" valign="middle" >watch</td><td align="center" valign="middle" ><inline-formula><inline-graphic xlink:href="/html.scirp.org/file/1-3400593x98.png" xlink:type="simple"/></inline-formula></td><td align="center" valign="middle" >Public Domain</td></tr><tr><td align="center" valign="middle" >20</td><td align="center" valign="middle" >zelda</td><td align="center" valign="middle" ><inline-formula><inline-graphic xlink:href="/html.scirp.org/file/1-3400593x99.png" xlink:type="simple"/></inline-formula></td><td align="center" valign="middle" >Public Domain</td></tr></tbody></table></table-wrap><p>In the experiments performed, we compared the relationship between the compression ratio and the MSSIM value. Initially, <xref ref-type="table" rid="table2">Table 2</xref> presents different strategies for choosing the <inline-formula><inline-graphic xlink:href="//html.scirp.org/file/1-3400593x100.png" xlink:type="simple"/></inline-formula> eigenvalue. The first strategy, used in other approaches available in the literature [<xref ref-type="bibr" rid="scirp.94194-ref34">34</xref>] , considers a minimum variance to be preserved in the image. Thus, the eigenvalue <inline-formula><inline-graphic xlink:href="//html.scirp.org/file/1-3400593x100.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="//html.scirp.org/file/1-3400593x101.png" xlink:type="simple"/></inline-formula> is chosen so that the variance maintained by the eigenvalues <inline-formula><inline-graphic xlink:href="//html.scirp.org/file/1-3400593x100.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="//html.scirp.org/file/1-3400593x101.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="//html.scirp.org/file/1-3400593x102.png" xlink:type="simple"/></inline-formula> is greater than or equal to the minimum variance, whereas the second strategy chooses an optimal eigenvalue<inline-formula><inline-graphic xlink:href="//html.scirp.org/file/1-3400593x100.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="//html.scirp.org/file/1-3400593x101.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="//html.scirp.org/file/1-3400593x102.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="//html.scirp.org/file/1-3400593x103.png" xlink:type="simple"/></inline-formula>, as defined in Equation (2).</p><p>We can notice that the results obtained by the optimal choice have a compression ratio always greater than 1, in order to obtain a smaller image in all cases, and with high MSSIM values. Since different images have different variance, requiring different amounts of eigenvalues to obtain the same variance, as discussed in Section 0, the minimum variance cannot be used as a fixed value. For example, for images #1 and #5, the compression ratio is less than 1 with variance 0.95, whereas, for image #14, maintaining a variance of 0.9 has already caused the compression ratio to be less than 1. This demonstrates the need to make an adaptive choice. <xref ref-type="fig" rid="fig4">Figure 4</xref> compares the different versions obtained for image #17.</p><table-wrap id="table2" ><label><xref ref-type="table" rid="table2">Table 2</xref></label><caption><title> Comparison between minimum variance and optimal choice</title></caption><table><tbody><thead><tr><th align="center" valign="middle"  rowspan="2"  >#</th><th align="center" valign="middle"  colspan="2"  >Minimum Variance: 0.8</th><th align="center" valign="middle"  colspan="2"  >Minimum Variance: 0.85</th><th align="center" valign="middle"  colspan="2"  >Minimum Variance: 0.9</th><th align="center" valign="middle"  colspan="2"  >Minimum Variance: 0.95</th><th align="center" valign="middle"  colspan="2"  >Optimal Choice</th></tr></thead><tr><td align="center" valign="middle" >Compression</td><td align="center" valign="middle" >MSSIM</td><td align="center" valign="middle" >Compression</td><td align="center" valign="middle" >MSSIM</td><td align="center" valign="middle" >Compression</td><td align="center" valign="middle" >MSSIM</td><td align="center" valign="middle" >Compression</td><td align="center" valign="middle" >MSSIM</td><td align="center" valign="middle" >Compression</td><td align="center" valign="middle" >MSSIM</td></tr><tr><td align="center" valign="middle" >1</td><td align="center" valign="middle" >4.677</td><td align="center" valign="middle" >0.917</td><td align="center" valign="middle" >3.250</td><td align="center" valign="middle" >0.944</td><td align="center" valign="middle" >2.119</td><td align="center" valign="middle" >0.964</td><td align="center" valign="middle" >1.498</td><td align="center" valign="middle" >0.973</td><td align="center" valign="middle" >3.032</td><td align="center" valign="middle" >0.952</td></tr><tr><td align="center" valign="middle" >2</td><td align="center" valign="middle" >1.585</td><td align="center" valign="middle" >0.932</td><td align="center" valign="middle" >1.268</td><td align="center" valign="middle" >0.956</td><td align="center" valign="middle" >1.016</td><td align="center" valign="middle" >0.974</td><td align="center" valign="middle" >0.848</td><td align="center" valign="middle" >0.983</td><td align="center" valign="middle" >1.501</td><td align="center" valign="middle" >0.940</td></tr><tr><td align="center" valign="middle" >3</td><td align="center" valign="middle" >2.609</td><td align="center" valign="middle" >0.828</td><td align="center" valign="middle" >2.079</td><td align="center" valign="middle" >0.869</td><td align="center" valign="middle" >1.559</td><td align="center" valign="middle" >0.915</td><td align="center" valign="middle" >1.195</td><td align="center" valign="middle" >0.941</td><td align="center" valign="middle" >1.937</td><td align="center" valign="middle" >0.881</td></tr><tr><td align="center" valign="middle" >4</td><td align="center" valign="middle" >2.779</td><td align="center" valign="middle" >0.840</td><td align="center" valign="middle" >2.062</td><td align="center" valign="middle" >0.880</td><td align="center" valign="middle" >1.470</td><td align="center" valign="middle" >0.916</td><td align="center" valign="middle" >1.142</td><td align="center" valign="middle" >0.932</td><td align="center" valign="middle" >2.325</td><td align="center" valign="middle" >0.866</td></tr><tr><td align="center" valign="middle" >5</td><td align="center" valign="middle" >1.693</td><td align="center" valign="middle" >0.930</td><td align="center" valign="middle" >1.327</td><td align="center" valign="middle" >0.952</td><td align="center" valign="middle" >1.091</td><td align="center" valign="middle" >0.967</td><td align="center" valign="middle" >0.926</td><td align="center" valign="middle" >0.976</td><td align="center" valign="middle" >2.716</td><td align="center" valign="middle" >0.886</td></tr><tr><td align="center" valign="middle" >6</td><td align="center" valign="middle" >2.774</td><td align="center" valign="middle" >0.799</td><td align="center" valign="middle" >2.059</td><td align="center" valign="middle" >0.844</td><td align="center" valign="middle" >1.520</td><td align="center" valign="middle" >0.884</td><td align="center" valign="middle" >1.073</td><td align="center" valign="middle" >0.924</td><td align="center" valign="middle" >2.553</td><td align="center" valign="middle" >0.813</td></tr><tr><td align="center" valign="middle" >7</td><td align="center" valign="middle" >290.867</td><td align="center" valign="middle" >0.982</td><td align="center" valign="middle" >203.934</td><td align="center" valign="middle" >0.884</td><td align="center" valign="middle" >102.158</td><td align="center" valign="middle" >0.847</td><td align="center" valign="middle" >47.563</td><td align="center" valign="middle" >0.948</td><td align="center" valign="middle" >41.744</td><td align="center" valign="middle" >0.949</td></tr><tr><td align="center" valign="middle" >8</td><td align="center" valign="middle" >3.292</td><td align="center" valign="middle" >0.921</td><td align="center" valign="middle" >2.412</td><td align="center" valign="middle" >0.943</td><td align="center" valign="middle" >1.639</td><td align="center" valign="middle" >0.962</td><td align="center" valign="middle" >1.241</td><td align="center" valign="middle" >0.970</td><td align="center" valign="middle" >2.600</td><td align="center" valign="middle" >0.939</td></tr><tr><td align="center" valign="middle" >9</td><td align="center" valign="middle" >3.474</td><td align="center" valign="middle" >0.933</td><td align="center" valign="middle" >2.274</td><td align="center" valign="middle" >0.954</td><td align="center" valign="middle" >1.659</td><td align="center" valign="middle" >0.967</td><td align="center" valign="middle" >1.306</td><td align="center" valign="middle" >0.973</td><td align="center" valign="middle" >3.360</td><td align="center" valign="middle" >0.936</td></tr><tr><td align="center" valign="middle" >10</td><td align="center" valign="middle" >2.691</td><td align="center" valign="middle" >0.885</td><td align="center" valign="middle" >1.908</td><td align="center" valign="middle" >0.920</td><td align="center" valign="middle" >1.390</td><td align="center" valign="middle" >0.941</td><td align="center" valign="middle" >1.093</td><td align="center" valign="middle" >0.951</td><td align="center" valign="middle" >2.435</td><td align="center" valign="middle" >0.896</td></tr><tr><td align="center" valign="middle" >11</td><td align="center" valign="middle" >3.170</td><td align="center" valign="middle" >0.945</td><td align="center" valign="middle" >2.237</td><td align="center" valign="middle" >0.964</td><td align="center" valign="middle" >1.585</td><td align="center" valign="middle" >0.978</td><td align="center" valign="middle" >1.210</td><td align="center" valign="middle" >0.984</td><td align="center" valign="middle" >2.600</td><td align="center" valign="middle" >0.959</td></tr><tr><td align="center" valign="middle" >12</td><td align="center" valign="middle" >2.385</td><td align="center" valign="middle" >0.959</td><td align="center" valign="middle" >1.831</td><td align="center" valign="middle" >0.925</td><td align="center" valign="middle" >1.485</td><td align="center" valign="middle" >0.936</td><td align="center" valign="middle" >-</td><td align="center" valign="middle" >-</td><td align="center" valign="middle" >4.799</td><td align="center" valign="middle" >0.947</td></tr><tr><td align="center" valign="middle" >13</td><td align="center" valign="middle" >3.448</td><td align="center" valign="middle" >0.948</td><td align="center" valign="middle" >2.684</td><td align="center" valign="middle" >0.963</td><td align="center" valign="middle" >1.891</td><td align="center" valign="middle" >0.978</td><td align="center" valign="middle" >1.446</td><td align="center" valign="middle" >0.985</td><td align="center" valign="middle" >2.661</td><td align="center" valign="middle" >0.963</td></tr><tr><td align="center" valign="middle" >14</td><td align="center" valign="middle" >1.481</td><td align="center" valign="middle" >0.806</td><td align="center" valign="middle" >1.176</td><td align="center" valign="middle" >0.851</td><td align="center" valign="middle" >0.968</td><td align="center" valign="middle" >0.889</td><td align="center" valign="middle" >0.823</td><td align="center" valign="middle" >0.917</td><td align="center" valign="middle" >1.465</td><td align="center" valign="middle" >0.808</td></tr><tr><td align="center" valign="middle" >15</td><td align="center" valign="middle" >3.008</td><td align="center" valign="middle" >0.935</td><td align="center" valign="middle" >1.972</td><td align="center" valign="middle" >0.957</td><td align="center" valign="middle" >1.423</td><td align="center" valign="middle" >0.970</td><td align="center" valign="middle" >1.113</td><td align="center" valign="middle" >0.977</td><td align="center" valign="middle" >2.950</td><td align="center" valign="middle" >0.941</td></tr><tr><td align="center" valign="middle" >16</td><td align="center" valign="middle" >2.074</td><td align="center" valign="middle" >0.927</td><td align="center" valign="middle" >1.558</td><td align="center" valign="middle" >0.957</td><td align="center" valign="middle" >1.243</td><td align="center" valign="middle" >0.974</td><td align="center" valign="middle" >1.033</td><td align="center" valign="middle" >0.983</td><td align="center" valign="middle" >2.065</td><td align="center" valign="middle" >0.928</td></tr><tr><td align="center" valign="middle" >17</td><td align="center" valign="middle" >130.700</td><td align="center" valign="middle" >0.970</td><td align="center" valign="middle" >60.448</td><td align="center" valign="middle" >0.975</td><td align="center" valign="middle" >24.205</td><td align="center" valign="middle" >0.984</td><td align="center" valign="middle" >8.696</td><td align="center" valign="middle" >0.991</td><td align="center" valign="middle" >16.393</td><td align="center" valign="middle" >0.986</td></tr><tr><td align="center" valign="middle" >18</td><td align="center" valign="middle" >3.698</td><td align="center" valign="middle" >0.926</td><td align="center" valign="middle" >2.816</td><td align="center" valign="middle" >0.949</td><td align="center" valign="middle" >1.934</td><td align="center" valign="middle" >0.973</td><td align="center" valign="middle" >1.471</td><td align="center" valign="middle" >0.983</td><td align="center" valign="middle" >2.877</td><td align="center" valign="middle" >0.949</td></tr><tr><td align="center" valign="middle" >19</td><td align="center" valign="middle" >2.616</td><td align="center" valign="middle" >0.957</td><td align="center" valign="middle" >2.015</td><td align="center" valign="middle" >0.972</td><td align="center" valign="middle" >1.639</td><td align="center" valign="middle" >0.979</td><td align="center" valign="middle" >-</td><td align="center" valign="middle" >-</td><td align="center" valign="middle" >1.424</td><td align="center" valign="middle" >0.983</td></tr><tr><td align="center" valign="middle" >20</td><td align="center" valign="middle" >5.326</td><td align="center" valign="middle" >0.890</td><td align="center" valign="middle" >3.455</td><td align="center" valign="middle" >0.919</td><td align="center" valign="middle" >2.062</td><td align="center" valign="middle" >0.943</td><td align="center" valign="middle" >1.470</td><td align="center" valign="middle" >0.953</td><td align="center" valign="middle" >3.551</td><td align="center" valign="middle" >0.917</td></tr></tbody></table></table-wrap><p>It can be observed that, despite a considerably high result in the MSSIM of the global version with variance 0.8 (0.970), the visual result, shown in <xref ref-type="fig" rid="fig4">Figure 4</xref>(b), is very poor, whereas the results are superior with the optimal choice, however, still having some problems.</p><p>The artifacts that can be seen in <xref ref-type="fig" rid="fig4">Figure 4</xref>(c) occur mainly due to the rounding and linear transformation defined in Equations (7) and (8). This problem can be overcome by a more local strategy, such as the one adopted in this work and with the result shown in <xref ref-type="fig" rid="fig4">Figure 4</xref>(d). This improvement probably occurs since the values obtained from the matrices after the decomposition are in a smaller range and closer to 0 to 255, because they have a smaller variation in the image.</p><p>As discussed in Section 0 and observed from the previous results, the SVD technique applied globally may not be adequate. Thus, <xref ref-type="table" rid="table3">Table 3</xref> presents the results obtained by considering the image divided into square blocks of different sizes. In addition, it presents the results obtained with the method presented in this work, that is, with the adaptive choice of blocks and eigenvalues.</p><p>Comparing the results obtained with those shown in <xref ref-type="table" rid="table2">Table 2</xref>, overall, the compression rates of the images increased, maintaining high MSSIM values. This demonstrates the validity of the local division strategy which, in addition to the reduction of the artifacts shown in <xref ref-type="fig" rid="fig4">Figure 4</xref>(c), obtains better quantitative results.</p><p>The compression and MSSIM values obtained with the adaptive division are generally similar to those obtained with the fixed block size. However, for image #7, which consists of a chessboard, the result obtained is considerably superior in terms of compression ratio, which demonstrates superiority of the adaptive division. This result can vary considerably in different images with the change of the constant values given in Equation (6). The values used were chosen empirically in order to obtain a good result in all images.</p><p><xref ref-type="fig" rid="fig5">Figure 5</xref> illustrates the result obtained for image #4 considering the different local versions. We can observe, through the resized region, that some fine details of the image are lost in the compression process. In this case, this occurs most notably with a smaller block size. This is an apparent limitation of our adaptive division, which could select a larger block size in those regions, in order to preserve more detail. In order to circumvent this problem, we could choose a more suitable value for<inline-formula><inline-graphic xlink:href="//html.scirp.org/file/1-3400593x105.png" xlink:type="simple"/></inline-formula>, used in Equation (2), or limit the minimum size of the block adaptively.</p><table-wrap id="table3" ><label><xref ref-type="table" rid="table3">Table 3</xref></label><caption><title> Comparison between fixed and adaptive block partitioning</title></caption><table><tbody><thead><tr><th align="center" valign="middle"  rowspan="2"  >#</th><th align="center" valign="middle"  colspan="2"  >Fixed Division: 64</th><th align="center" valign="middle"  colspan="2"  >Fixed Division: 32</th><th align="center" valign="middle"  colspan="2"  >Fixed Division: 16</th><th align="center" valign="middle"  colspan="2"  >Fixed Division: 8</th><th align="center" valign="middle"  colspan="2"  >Adaptive Division</th></tr></thead><tr><td align="center" valign="middle" >Compression</td><td align="center" valign="middle" >MSSIM</td><td align="center" valign="middle" >Compression</td><td align="center" valign="middle" >MSSIM</td><td align="center" valign="middle" >Compression</td><td align="center" valign="middle" >MSSIM</td><td align="center" valign="middle" >Compression</td><td align="center" valign="middle" >MSSIM</td><td align="center" valign="middle" >Compression</td><td align="center" valign="middle" >MSSIM</td></tr><tr><td align="center" valign="middle" >1</td><td align="center" valign="middle" >6.037</td><td align="center" valign="middle" >0.951</td><td align="center" valign="middle" >5.909</td><td align="center" valign="middle" >0.949</td><td align="center" valign="middle" >4.017</td><td align="center" valign="middle" >0.944</td><td align="center" valign="middle" >1.735</td><td align="center" valign="middle" >0.948</td><td align="center" valign="middle" >3.759</td><td align="center" valign="middle" >0.941</td></tr><tr><td align="center" valign="middle" >2</td><td align="center" valign="middle" >2.304</td><td align="center" valign="middle" >0.906</td><td align="center" valign="middle" >2.610</td><td align="center" valign="middle" >0.883</td><td align="center" valign="middle" >2.500</td><td align="center" valign="middle" >0.850</td><td align="center" valign="middle" >1.570</td><td align="center" valign="middle" >0.823</td><td align="center" valign="middle" >1.755</td><td align="center" valign="middle" >0.823</td></tr><tr><td align="center" valign="middle" >3</td><td align="center" valign="middle" >3.253</td><td align="center" valign="middle" >0.898</td><td align="center" valign="middle" >3.575</td><td align="center" valign="middle" >0.894</td><td align="center" valign="middle" >2.994</td><td align="center" valign="middle" >0.880</td><td align="center" valign="middle" >1.588</td><td align="center" valign="middle" >0.845</td><td align="center" valign="middle" >2.591</td><td align="center" valign="middle" >0.877</td></tr><tr><td align="center" valign="middle" >4</td><td align="center" valign="middle" >3.881</td><td align="center" valign="middle" >0.848</td><td align="center" valign="middle" >4.407</td><td align="center" valign="middle" >0.829</td><td align="center" valign="middle" >3.573</td><td align="center" valign="middle" >0.823</td><td align="center" valign="middle" >1.701</td><td align="center" valign="middle" >0.856</td><td align="center" valign="middle" >2.506</td><td align="center" valign="middle" >0.833</td></tr><tr><td align="center" valign="middle" >5</td><td align="center" valign="middle" >2.799</td><td align="center" valign="middle" >0.901</td><td align="center" valign="middle" >2.996</td><td align="center" valign="middle" >0.894</td><td align="center" valign="middle" >3.034</td><td align="center" valign="middle" >0.878</td><td align="center" valign="middle" >2.087</td><td align="center" valign="middle" >0.857</td><td align="center" valign="middle" >2.323</td><td align="center" valign="middle" >0.856</td></tr><tr><td align="center" valign="middle" >6</td><td align="center" valign="middle" >3.268</td><td align="center" valign="middle" >0.871</td><td align="center" valign="middle" >3.665</td><td align="center" valign="middle" >0.876</td><td align="center" valign="middle" >3.127</td><td align="center" valign="middle" >0.877</td><td align="center" valign="middle" >1.603</td><td align="center" valign="middle" >0.901</td><td align="center" valign="middle" >2.407</td><td align="center" valign="middle" >0.893</td></tr><tr><td align="center" valign="middle" >7</td><td align="center" valign="middle" >18.811</td><td align="center" valign="middle" >0.999</td><td align="center" valign="middle" >10.745</td><td align="center" valign="middle" >0.999</td><td align="center" valign="middle" >4.780</td><td align="center" valign="middle" >1.000</td><td align="center" valign="middle" >1.755</td><td align="center" valign="middle" >1.000</td><td align="center" valign="middle" >75.827</td><td align="center" valign="middle" >0.996</td></tr><tr><td align="center" valign="middle" >8</td><td align="center" valign="middle" >4.647</td><td align="center" valign="middle" >0.926</td><td align="center" valign="middle" >5.102</td><td align="center" valign="middle" >0.919</td><td align="center" valign="middle" >3.835</td><td align="center" valign="middle" >0.920</td><td align="center" valign="middle" >1.696</td><td align="center" valign="middle" >0.940</td><td align="center" valign="middle" >2.948</td><td align="center" valign="middle" >0.926</td></tr><tr><td align="center" valign="middle" >9</td><td align="center" valign="middle" >3.950</td><td align="center" valign="middle" >0.958</td><td align="center" valign="middle" >4.116</td><td align="center" valign="middle" >0.958</td><td align="center" valign="middle" >3.684</td><td align="center" valign="middle" >0.953</td><td align="center" valign="middle" >2.137</td><td align="center" valign="middle" >0.949</td><td align="center" valign="middle" >2.991</td><td align="center" valign="middle" >0.950</td></tr><tr><td align="center" valign="middle" >10</td><td align="center" valign="middle" >3.844</td><td align="center" valign="middle" >0.872</td><td align="center" valign="middle" >4.258</td><td align="center" valign="middle" >0.852</td><td align="center" valign="middle" >3.649</td><td align="center" valign="middle" >0.828</td><td align="center" valign="middle" >1.742</td><td align="center" valign="middle" >0.851</td><td align="center" valign="middle" >2.338</td><td align="center" valign="middle" >0.834</td></tr><tr><td align="center" valign="middle" >11</td><td align="center" valign="middle" >4.496</td><td align="center" valign="middle" >0.955</td><td align="center" valign="middle" >4.907</td><td align="center" valign="middle" >0.949</td><td align="center" valign="middle" >3.661</td><td align="center" valign="middle" >0.945</td><td align="center" valign="middle" >1.702</td><td align="center" valign="middle" >0.948</td><td align="center" valign="middle" >2.838</td><td align="center" valign="middle" >0.947</td></tr><tr><td align="center" valign="middle" >12</td><td align="center" valign="middle" >14.258</td><td align="center" valign="middle" >0.974</td><td align="center" valign="middle" >13.081</td><td align="center" valign="middle" >0.976</td><td align="center" valign="middle" >6.860</td><td align="center" valign="middle" >0.989</td><td align="center" valign="middle" >3.309</td><td align="center" valign="middle" >0.989</td><td align="center" valign="middle" >14.846</td><td align="center" valign="middle" >0.988</td></tr><tr><td align="center" valign="middle" >13</td><td align="center" valign="middle" >4.206</td><td align="center" valign="middle" >0.969</td><td align="center" valign="middle" >4.398</td><td align="center" valign="middle" >0.969</td><td align="center" valign="middle" >3.703</td><td align="center" valign="middle" >0.969</td><td align="center" valign="middle" >2.122</td><td align="center" valign="middle" >0.965</td><td align="center" valign="middle" >3.102</td><td align="center" valign="middle" >0.967</td></tr><tr><td align="center" valign="middle" >14</td><td align="center" valign="middle" >1.921</td><td align="center" valign="middle" >0.814</td><td align="center" valign="middle" >2.012</td><td align="center" valign="middle" >0.822</td><td align="center" valign="middle" >2.190</td><td align="center" valign="middle" >0.807</td><td align="center" valign="middle" >2.146</td><td align="center" valign="middle" >0.782</td><td align="center" valign="middle" >2.233</td><td align="center" valign="middle" >0.779</td></tr><tr><td align="center" valign="middle" >15</td><td align="center" valign="middle" >4.349</td><td align="center" valign="middle" >0.942</td><td align="center" valign="middle" >4.589</td><td align="center" valign="middle" >0.940</td><td align="center" valign="middle" >3.478</td><td align="center" valign="middle" >0.940</td><td align="center" valign="middle" >1.658</td><td align="center" valign="middle" >0.947</td><td align="center" valign="middle" >2.509</td><td align="center" valign="middle" >0.942</td></tr><tr><td align="center" valign="middle" >16</td><td align="center" valign="middle" >2.583</td><td align="center" valign="middle" >0.908</td><td align="center" valign="middle" >2.848</td><td align="center" valign="middle" >0.895</td><td align="center" valign="middle" >3.008</td><td align="center" valign="middle" >0.868</td><td align="center" valign="middle" >2.135</td><td align="center" valign="middle" >0.839</td><td align="center" valign="middle" >2.150</td><td align="center" valign="middle" >0.840</td></tr><tr><td align="center" valign="middle" >17</td><td align="center" valign="middle" >25.406</td><td align="center" valign="middle" >0.994</td><td align="center" valign="middle" >15.686</td><td align="center" valign="middle" >0.995</td><td align="center" valign="middle" >7.985</td><td align="center" valign="middle" >0.996</td><td align="center" valign="middle" >3.354</td><td align="center" valign="middle" >0.996</td><td align="center" valign="middle" >26.559</td><td align="center" valign="middle" >0.995</td></tr><tr><td align="center" valign="middle" >18</td><td align="center" valign="middle" >3.099</td><td align="center" valign="middle" >0.950</td><td align="center" valign="middle" >3.120</td><td align="center" valign="middle" >0.949</td><td align="center" valign="middle" >2.966</td><td align="center" valign="middle" >0.940</td><td align="center" valign="middle" >2.019</td><td align="center" valign="middle" >0.931</td><td align="center" valign="middle" >2.339</td><td align="center" valign="middle" >0.934</td></tr><tr><td align="center" valign="middle" >19</td><td align="center" valign="middle" >2.733</td><td align="center" valign="middle" >0.976</td><td align="center" valign="middle" >3.264</td><td align="center" valign="middle" >0.975</td><td align="center" valign="middle" >3.525</td><td align="center" valign="middle" >0.974</td><td align="center" valign="middle" >2.754</td><td align="center" valign="middle" >0.970</td><td align="center" valign="middle" >3.218</td><td align="center" valign="middle" >0.971</td></tr><tr><td align="center" valign="middle" >20</td><td align="center" valign="middle" >5.453</td><td align="center" valign="middle" >0.917</td><td align="center" valign="middle" >5.340</td><td align="center" valign="middle" >0.911</td><td align="center" valign="middle" >3.854</td><td align="center" valign="middle" >0.907</td><td align="center" valign="middle" >1.737</td><td align="center" valign="middle" >0.924</td><td align="center" valign="middle" >3.076</td><td align="center" valign="middle" >0.906</td></tr></tbody></table></table-wrap><p>It is noteworthy that the requirements for storing the compressed images could still be reduced. For example, a flag used to determine the node type could be only 1 bit long, instead of 1 byte as employed in our implementation for simplification purposes.</p></sec><sec id="s5"><title>5. Conclusions</title><p>This work described and implemented a new lossy image compression method based on the singular value decomposition. The proposed approach used an optimal choice of eigenvalues computed in the decomposition, as well as an adaptive block partitioning. We also presented a protocol for storing the SVD matrices.</p><p>Experiments were conducted on a dataset composed of twenty images—seventeen extracted from a public domain repository and commonly used in the evaluation of image processing tasks, the other three images collected separately. The results obtained show that the optimal choice of eigenvalues is relevant due to differences in different image contents.</p><p>Due to rounding performed in the compression process, the overall approach achieved lower compression rate and added artifacts to the images. In addition, the adaptive partitioning strategy obtained, in some cases, considerably superior results in terms of compression ratio. However, some fine image details may be lost in the compression process based on local strategy.</p></sec><sec id="s6"><title>Acknowledgements</title><p>The authors are thankful to S&#227;o Paulo Research Foundation (FAPESP grants #2017/12646-3 and #2014/12236-1) and National Council for Scientific and Technological Development (CNPq grant #309330/2018-1) for their financial support.</p></sec><sec id="s7"><title>Conflicts of Interest</title><p>The authors declare no conflicts of interest regarding the publication of this paper.</p></sec><sec id="s8"><title>Cite this paper</title><p>e Souza, M.R. and Pedrini, H. (2019) Adaptive Lossy Image Compression Based on Singular Value Decomposition. Journal of Signal and Information Processing, 10, 59-72. https://doi.org/10.4236/jsip.2019.103005</p></sec></body><back><ref-list><title>References</title><ref id="scirp.94194-ref1"><label>1</label><mixed-citation publication-type="other" xlink:type="simple">Cho, Z.-H., Jones, J.P. and Singh, M. (1993) Foundations of Medical Imaging. Wiley, New York.</mixed-citation></ref><ref id="scirp.94194-ref2"><label>2</label><mixed-citation publication-type="other" xlink:type="simple">Jensen, J.R. and Lulla, K. (1987) Introductory Digital Image Processing: A Remote Sensing Perspective. Geocarto International, 2, 65.  
https://doi.org/10.1080/10106048709354084</mixed-citation></ref><ref id="scirp.94194-ref3"><label>3</label><mixed-citation publication-type="other" xlink:type="simple">Crocker, J.C. and Grier, D.G. (1996) Methods of Digital Video Microscopy for Colloidal Studies. Journal of Colloid and Interface Science, 179, 298-310.  
https://doi.org/10.1006/jcis.1996.0217</mixed-citation></ref><ref id="scirp.94194-ref4"><label>4</label><mixed-citation publication-type="book" xlink:type="simple">Wall, M.E., Rechtsteiner, A. and Rocha, L.M. (2003) Singular Value Decomposition and Principal Component Analysis. In: Berrar, D.P., Dubitzky, W. and Granzow, M., Eds., A Practical Approach to Microarray Data Analysis, Springer, Boston, MA, 91-109. https://doi.org/10.1007/0-306-47815-3_5</mixed-citation></ref><ref id="scirp.94194-ref5"><label>5</label><mixed-citation publication-type="other" xlink:type="simple">Andrews, H. and Patterson, C. (1976) Singular Value Decompositions and Digital Image Processing. IEEE Transactions on Acoustics, Speech, and Signal Processing, 24, 26-53. https://doi.org/10.1109/TASSP.1976.1162766</mixed-citation></ref><ref id="scirp.94194-ref6"><label>6</label><mixed-citation publication-type="other" xlink:type="simple">Bhavani, S. and Thanushkodi, K.G. (2013) Comparison of Fractal Coding Methods for Medical Image Compression. IET Image Processing, 7, 686-693.  
https://doi.org/10.1049/iet-ipr.2012.0041</mixed-citation></ref><ref id="scirp.94194-ref7"><label>7</label><mixed-citation publication-type="other" xlink:type="simple">Messaoudi, A. and Srairi, K. (2016) Colour Image Compression Algorithm Based on the DCT Transform Using Difference Lookup Table. Electronics Letters, 52, 1685-1686. https://doi.org/10.1049/el.2016.2115</mixed-citation></ref><ref id="scirp.94194-ref8"><label>8</label><mixed-citation publication-type="other" xlink:type="simple">Qureshi, M.A. and Deriche, M. (2016) A New Wavelet Based Efficient Image Compression Algorithm Using Compressive Sensing. Multimedia Tools and Applications, 75, 6737-6754. https://doi.org/10.1007/s11042-015-2590-9</mixed-citation></ref><ref id="scirp.94194-ref9"><label>9</label><mixed-citation publication-type="other" xlink:type="simple">Yao, J. and Liu, G. (2017) A Novel Color Image Compression Algorithm Using the Human Visual Contrast Sensitivity Characteristics. Photonic Sensors, 7, 72-81.  
https://doi.org/10.1007/s13320-016-0355-3</mixed-citation></ref><ref id="scirp.94194-ref10"><label>10</label><mixed-citation publication-type="other" xlink:type="simple">Prakash, A., Moran, N., Garber, S., Dilillo, A. and Storer, J. (2017) Semantic Perceptual Image Compression Using Deep Convolution Networks. 2017 Data Compression Conference, Snowbird, UT, 4-7 April 2017, 250-259.  
https://doi.org/10.1109/DCC.2017.56</mixed-citation></ref><ref id="scirp.94194-ref11"><label>11</label><mixed-citation publication-type="other" xlink:type="simple">David, M., George, T., Michele, C., Troy, C., Nick, J., Joel, S., Hwang, S.J., Vincent, D. and Singh, S. (2017) Spatially Adaptive Image Compression Using a Tiled Deep Network. 2017 IEEE International Conference on Image Processing, Beijing, 17-20 September 2017, 2796-2800. https://doi.org/10.1109/ICIP.2017.8296792</mixed-citation></ref><ref id="scirp.94194-ref12"><label>12</label><mixed-citation publication-type="other" xlink:type="simple">Zhang, Y., Xu, B. and Zhou, N. (2017) A Novel Image Compression-Encryption Hybrid Algorithm Based on the Analysis Sparse Representation. Optics Communications, 392, 223-233. https://doi.org/10.1016/j.optcom.2017.01.061</mixed-citation></ref><ref id="scirp.94194-ref13"><label>13</label><mixed-citation publication-type="other" xlink:type="simple">Zhao, C., Zhang, J., Ma, S., Fan, X., Zhang, Y. and Gao, W. (2017) Reducing Image Compression Artifacts by Structural Sparse Representation and Quantization Constraint Prior. IEEE Transactions on Circuits and Systems for Video Technology, 27, 2057-2071. https://doi.org/10.1109/TCSVT.2016.2580399</mixed-citation></ref><ref id="scirp.94194-ref14"><label>14</label><mixed-citation publication-type="other" xlink:type="simple">Ahanonu, E., Marcellin, M. and Bilgin, A. (2018) Lossless Image Compression Using Reversible Integer Wavelet Transforms and Convolutional Neural Networks. 2018 Data Compression Conference, Snowbird, UT, 27-30 March 2018, 395-395.  
https://doi.org/10.1109/DCC.2018.00048</mixed-citation></ref><ref id="scirp.94194-ref15"><label>15</label><mixed-citation publication-type="other" xlink:type="simple">Toderici, G., Vincent, D., Johnston, N., Hwang, S.J., Minnen, D., Shor, J. and Covell, M. (2017) Full Resolution Image Compression with Recurrent Neural Networks. Conference on Computer Vision and Pattern Recognition, Honolulu, HI, 21-26 July 2017, 5435-5443. https://doi.org/10.1109/CVPR.2017.577</mixed-citation></ref><ref id="scirp.94194-ref16"><label>16</label><mixed-citation publication-type="other" xlink:type="simple">Baxes, G.A. (1994) Digital Image Processing: Principles and Applications. Wiley, New York.</mixed-citation></ref><ref id="scirp.94194-ref17"><label>17</label><mixed-citation publication-type="other" xlink:type="simple">Sayood, K. (2017) Introduction to Data Compression. Morgan Kaufmann, Burlington, MA.</mixed-citation></ref><ref id="scirp.94194-ref18"><label>18</label><mixed-citation publication-type="other" xlink:type="simple">Nelson, M. and Gailly, J.-L. (1996) The Data Compression Book. M &amp; T Books, New York.</mixed-citation></ref><ref id="scirp.94194-ref19"><label>19</label><mixed-citation publication-type="other" xlink:type="simple">Gonzalez, R.C. and Woods, R.E. (2002) Digital Image Processing.</mixed-citation></ref><ref id="scirp.94194-ref20"><label>20</label><mixed-citation publication-type="other" xlink:type="simple">Rabbani, M. and Jones, P.W. (1991) Digital Image Compression Techniques. SPIE Press, Bellingham, WA.</mixed-citation></ref><ref id="scirp.94194-ref21"><label>21</label><mixed-citation publication-type="journal" xlink:type="simple"><name name-style="western"><surname>Sharma</surname><given-names> M. </given-names></name>,<etal>et al</etal>. (<year>2010</year>)<article-title>Compression Using Huffman Coding</article-title><source> International Journal of Computer Science and Network Security</source><volume> 10</volume>,<fpage> 133</fpage>-<lpage>141</lpage>.<pub-id pub-id-type="doi"></pub-id></mixed-citation></ref><ref id="scirp.94194-ref22"><label>22</label><mixed-citation publication-type="other" xlink:type="simple">Connell, J.B. (1973) A Huffman-Shannon-Fano Code. Proceedings of the IEEE, 61, 1046-1047. https://doi.org/10.1109/PROC.1973.9200</mixed-citation></ref><ref id="scirp.94194-ref23"><label>23</label><mixed-citation publication-type="other" xlink:type="simple">Gonzales, C.A., Anderson, K.L. and Pennebaker, W.B. (1990) DCT-Based Video Compression Using Arithmetic Coding. Electronic Imaging: Advanced Devices and Systems, Santa Clara, CA, 1990, 305-312. https://doi.org/10.1117/12.19522</mixed-citation></ref><ref id="scirp.94194-ref24"><label>24</label><mixed-citation publication-type="other" xlink:type="simple">Morita, H. and Kobayashi, K. (1989) An Extension of LZW Coding Algorithm to Source Coding Subject to a Fidelity Criterion. 4th Joint Swedish-Soviet Int. Workshop on Information Theory, Gotland, Sweden, 105-109.</mixed-citation></ref><ref id="scirp.94194-ref25"><label>25</label><mixed-citation publication-type="journal" xlink:type="simple"><name name-style="western"><surname>Pountain</surname><given-names> D. </given-names></name>,<etal>et al</etal>. (<year>1987</year>)<article-title>Run-Length Encoding</article-title><source> Byte</source><volume> 12</volume>,<fpage> 317</fpage>-<lpage>319</lpage>.<pub-id pub-id-type="doi"></pub-id></mixed-citation></ref><ref id="scirp.94194-ref26"><label>26</label><mixed-citation publication-type="other" xlink:type="simple">Rabbani, M. and Jones, P.W. (1991) Bit Plane Encoding. In: Digital Image Compression Techniques, SPIE Press, Bellingham, WA, 49-62.</mixed-citation></ref><ref id="scirp.94194-ref27"><label>27</label><mixed-citation publication-type="other" xlink:type="simple">Jain, A.K. (1981) Image Data Compression: A Review. Proceedings of the IEEE, 69, 349-389. https://doi.org/10.1109/PROC.1981.11971</mixed-citation></ref><ref id="scirp.94194-ref28"><label>28</label><mixed-citation publication-type="other" xlink:type="simple">De Jager, F. (1952) Delta Modulation, a Method of PCM Transmission Using the 1-Unit Code. Philips Research Reports, 7, 23.</mixed-citation></ref><ref id="scirp.94194-ref29"><label>29</label><mixed-citation publication-type="other" xlink:type="simple">Schindler, H. (1974) Linear, Nonlinear, and Adaptive Delta Modulation. IEEE Transactions on Communications, 22, 1807-1823.  
https://doi.org/10.1109/TCOM.1974.1092119</mixed-citation></ref><ref id="scirp.94194-ref30"><label>30</label><mixed-citation publication-type="other" xlink:type="simple">Rao, K.R. and Yip, P. (2014) Discrete Cosine Transform: Algorithms, Advantages, Applications. Academic Press, Cambridge, MA.</mixed-citation></ref><ref id="scirp.94194-ref31"><label>31</label><mixed-citation publication-type="other" xlink:type="simple">Lewis, A.S. and Knowles, G. (1992) Image Compression Using the 2-D Wavelet Transform. IEEE Transactions on Image Processing, 1, 244-250.  
https://doi.org/10.1109/83.136601</mixed-citation></ref><ref id="scirp.94194-ref32"><label>32</label><mixed-citation publication-type="other" xlink:type="simple">Watson, A.B. (1994) Image Compression Using the Discrete Cosine Transform. Mathematica Journal, 4, 81.</mixed-citation></ref><ref id="scirp.94194-ref33"><label>33</label><mixed-citation publication-type="other" xlink:type="simple">Waldemar, P. and Ramstad, T. (1997) Hybrid KLT-SVD Image Compression. 1997 IEEE International Conference on Acoustics, Speech, and Signal Processing, Munich, 21-24 April 1997, 2713-2716.</mixed-citation></ref><ref id="scirp.94194-ref34"><label>34</label><mixed-citation publication-type="other" xlink:type="simple">Rufai, A.M., Anbarjafari, G. and Demirel, H. (2014) Lossy Image Compression Using Singular Value Decomposition and Wavelet Difference Reduction. Digital Signal Processing, 24, 117-123. https://doi.org/10.1016/j.dsp.2013.09.008</mixed-citation></ref><ref id="scirp.94194-ref35"><label>35</label><mixed-citation publication-type="other" xlink:type="simple">Wang, Z., Bovik, A.C., Sheikh, H.R. and Simoncelli, E.P. (2004) Image Quality Assessment: From Error Visibility to Structural Similarity. IEEE Transactions on Image Processing, 13, 600-612. https://doi.org/10.1109/TIP.2003.819861</mixed-citation></ref><ref id="scirp.94194-ref36"><label>36</label><mixed-citation publication-type="other" xlink:type="simple">Hu, Y.H. (2018) Public-Domain Test Images. 
https://homepages.cae.wisc.edu/~ece533/images/index.html</mixed-citation></ref><ref id="scirp.94194-ref37"><label>37</label><mixed-citation publication-type="other" xlink:type="simple">Ranade, A., Mahabalarao, S.S. and Kale, S. (2007) A Variation on SVD Based Image Compression. Image and Vision Computing, 25, 771-777.  
https://doi.org/10.1016/j.imavis.2006.07.004</mixed-citation></ref></ref-list></back></article>