Commit 4503d4c2 authored by Super-Klass's avatar Super-Klass

formulas for compression limit

parent 3f1102b8
Pipeline #2680 passed with stage
in 8 seconds
\relax
\providecommand\hyper@newdestlabel[2]{}
\providecommand\HyperFirstAtBeginDocument{\AtBeginDocument}
\HyperFirstAtBeginDocument{\ifx\hyper@anchor\@undefined
\global\let\oldnewlabel\newlabel
\gdef\newlabel#1#2{\newlabelxx{#1}#2}
\gdef\newlabelxx#1#2#3#4#5#6{\oldnewlabel{#1}{{#2}{#3}}}
\AtEndDocument{\ifx\hyper@anchor\@undefined
\let\newlabel\oldnewlabel
\fi}
\fi}
\global\let\hyper@last\relax
\gdef\HyperFirstAtBeginDocument#1{#1}
\providecommand\HyField@AuxAddToFields[1]{}
\providecommand\HyField@AuxAddToCoFields[2]{}
\citation{ISO/IEC14495-1}
\citation{544819}
\@writefile{toc}{\contentsline {section}{\numberline {1}Introduction}{1}{section.1}\protected@file@percent }
\@writefile{toc}{\contentsline {subsection}{\numberline {1.1}Overview}{1}{subsection.1.1}\protected@file@percent }
\@writefile{brf}{\backcite{ISO/IEC14495-1}{{1}{1.1}{subsection.1.1}}}
\@writefile{brf}{\backcite{544819}{{1}{1.1}{subsection.1.1}}}
\@writefile{lof}{\contentsline {figure}{\numberline {1}{\ignorespaces The other 4 pixels are used to find the value of the 5th.\relax }}{1}{figure.caption.1}\protected@file@percent }
\providecommand*\caption@xref[2]{\@setref\relax\@undefined{#1}}
\newlabel{fig:pixels}{{1}{1}{The other 4 pixels are used to find the value of the 5th.\relax }{figure.caption.1}{}}
\@writefile{toc}{\contentsline {subsection}{\numberline {1.2}Background}{1}{subsection.1.2}\protected@file@percent }
\citation{PNGoverview}
\citation{PNGdetails}
\citation{PNGdetails}
\citation{LZW}
\citation{PNGdetails}
\citation{ABRARDO1997321}
\citation{Dahlen1993}
\citation{AIAZZI20021619}
\@writefile{toc}{\contentsline {section}{\numberline {2}Related Work}{2}{section.2}\protected@file@percent }
\@writefile{toc}{\contentsline {subsection}{\numberline {2.1}PNG}{2}{subsection.2.1}\protected@file@percent }
\@writefile{brf}{\backcite{PNGoverview}{{2}{2.1}{subsection.2.1}}}
\@writefile{brf}{\backcite{PNGdetails}{{2}{2.1}{subsection.2.1}}}
\@writefile{brf}{\backcite{PNGdetails}{{2}{2.1}{subsection.2.1}}}
\@writefile{toc}{\contentsline {subsection}{\numberline {2.2}LZW}{2}{subsection.2.2}\protected@file@percent }
\@writefile{brf}{\backcite{LZW}{{2}{2.2}{subsection.2.2}}}
\@writefile{brf}{\backcite{PNGdetails}{{2}{2.2}{subsection.2.2}}}
\@writefile{toc}{\contentsline {subsection}{\numberline {2.3}Similar Methods}{2}{subsection.2.3}\protected@file@percent }
\@writefile{brf}{\backcite{ABRARDO1997321}{{2}{2.3}{subsection.2.3}}}
\@writefile{brf}{\backcite{Dahlen1993}{{2}{2.3}{subsection.2.3}}}
\citation{Huffman}
\citation{Numpy}
\@writefile{brf}{\backcite{AIAZZI20021619}{{3}{2.3}{subsection.2.3}}}
\@writefile{toc}{\contentsline {section}{\numberline {3}The Approach}{3}{section.3}\protected@file@percent }
\@writefile{brf}{\backcite{Huffman}{{3}{3}{section.3}}}
\@writefile{brf}{\backcite{Numpy}{{3}{3}{section.3}}}
\@writefile{lof}{\contentsline {figure}{\numberline {2}{\ignorespaces Encoding the Pixel Values\relax }}{3}{figure.caption.2}\protected@file@percent }
\newlabel{fig:Uniform}{{2}{3}{Encoding the Pixel Values\relax }{figure.caption.2}{}}
\@writefile{lof}{\contentsline {figure}{\numberline {3}{\ignorespaces Encoding the Error Values\relax }}{3}{figure.caption.3}\protected@file@percent }
\newlabel{fig:Normal}{{3}{3}{Encoding the Error Values\relax }{figure.caption.3}{}}
\citation{LAPACKAlgorithms}
\citation{LeastSquaredProblem}
\@writefile{lof}{\contentsline {figure}{\numberline {4}{\ignorespaces Encoding the Error Values\relax }}{4}{figure.caption.4}\protected@file@percent }
\newlabel{fig:2DHist}{{4}{4}{Encoding the Error Values\relax }{figure.caption.4}{}}
\@writefile{toc}{\contentsline {section}{\numberline {4}Results}{4}{section.4}\protected@file@percent }
\@writefile{toc}{\contentsline {section}{\numberline {5}Discussion}{4}{section.5}\protected@file@percent }
\@writefile{brf}{\backcite{LAPACKAlgorithms}{{4}{5}{section.5}}}
\@writefile{brf}{\backcite{LeastSquaredProblem}{{4}{5}{section.5}}}
\bibstyle{ieee}
\bibdata{main}
\gdef \@abspage@last{5}
\RequireVersions{
*{application}{pdfTeX} {0000/00/00 v1.40.24}
*{format} {LaTeX2e} {2022-06-01 v2.e}
*{package}{snapshot} {2020/06/17 v2.14}
*{class} {article} {2021/10/04 v1.4n}
*{file} {size10.clo} {2021/10/04 v1.4n}
*{package}{caption} {2022/03/01 v3.6b}
*{package}{caption3} {2022/03/17 v2.3b}
*{package}{keyval} {2022/05/29 v1.15}
*{package}{subcaption} {2022/01/07 v1.5}
*{package}{amsmath} {2022/04/08 v2.17n}
*{package}{amstext} {2021/08/26 v2.01}
*{package}{amsgen} {1999/11/30 v2.0}
*{package}{amsbsy} {1999/11/29 v1.2d}
*{package}{amsopn} {2022/04/08 v2.04}
*{package}{graphicx} {2021/09/16 v1.2d}
*{package}{graphics} {2022/03/10 v1.4e}
*{package}{trig} {2021/08/11 v1.11}
*{file} {graphics.cfg}{2016/06/04 v1.11}
*{file} {pdftex.def} {2020/10/05 v1.2a}
*{package}{xspace} {2014/10/28 v1.13}
*{package}{multirow} {2021/03/15 v2.8}
*{package}{titlesec} {2021/07/05 v2.14}
*{package}{etoolbox} {2020/10/05 v2.5k}
*{package}{gensymb} {2003/07/02 v1.0}
*{package}{textcomp} {2020/02/02 v2.0n}
*{package}{enumitem} {2019/06/20 v3.9}
*{package}{hyperref} {2022-06-20 v7.00s}
*{package}{ltxcmds} {2020-05-10 v1.25}
*{package}{iftex} {2022/02/03 v1.0f}
*{package}{pdftexcmds} {2020-06-27 v0.33}
*{package}{infwarerr} {2019/12/03 v1.5}
*{package}{kvsetkeys} {2019/12/15 v1.18}
*{package}{kvdefinekeys}{2019-12-19 v1.6}
*{package}{pdfescape} {2019/12/09 v1.15}
*{package}{hycolor} {2020-01-27 v1.10}
*{package}{letltxmacro} {2019/12/03 v1.6}
*{package}{auxhook} {2019-12-17 v1.6}
*{package}{nameref} {2022-05-17 v2.50}
*{package}{refcount} {2019/12/15 v3.6}
*{package}{gettitlestring}{2019/12/15 v1.6}
*{package}{kvoptions} {2022-06-15 v3.15}
*{file} {pd1enc.def} {2022-06-20 v7.00s}
*{package}{intcalc} {2019/12/15 v1.3}
*{package}{etexcmds} {2019/12/15 v1.7}
*{file} {puenc.def} {2022-06-20 v7.00s}
*{package}{backref} {2021/02/04 v1.41}
*{package}{rerunfilecheck}{2022-07-10 v1.10}
*{package}{atveryend-ltx}{2020/08/19 v1.0a}
*{package}{uniquecounter}{2019/12/15 v1.4}
*{package}{bigintcalc} {2019/12/15 v1.5}
*{package}{url} {2013/09/16 v3.4}
*{package}{bitset} {2019/12/09 v1.3}
*{package}{atbegshi-ltx}{2021/01/10 v1.0c}
*{file} {hpdftex.def} {2022-06-20 v7.00s}
*{file} {l3backend-pdftex.def}{2022-07-01 v3}
*{-------}{Document-specific files:}{----}
*{file} {supp-pdf.mkii}{0000/00/00 v0.0}
*{package}{epstopdf-base}{2020-01-24 v2.11}
*{file} {epstopdf-sys.cfg}{2021/03/18 v2.0}
*{package}{color} {2022/01/06 v1.3d}
*{file} {color.cfg} {2016/01/02 v1.6}
*{file} {mathcolor.ltx}{0000/00/00 v0.0}
*{file} {main.out} {0000/00/00 v0.0}
*{file} {main.out} {0000/00/00 v0.0}
*{file} {PixelArrangement.png}{Graphic v0.0}
*{file} {Uniform_No_Title.png}{Graphic v0.0}
*{file} {Normal_No_Title.png}{Graphic v0.0}
*{file} {2DHist.png} {Graphic v0.0}
}
This diff is collapsed.
\BOOKMARK [1][-]{section.1}{\376\377\000I\000n\000t\000r\000o\000d\000u\000c\000t\000i\000o\000n}{}% 1
\BOOKMARK [2][-]{subsection.1.1}{\376\377\000O\000v\000e\000r\000v\000i\000e\000w}{section.1}% 2
\BOOKMARK [2][-]{subsection.1.2}{\376\377\000B\000a\000c\000k\000g\000r\000o\000u\000n\000d}{section.1}% 3
\BOOKMARK [1][-]{section.2}{\376\377\000R\000e\000l\000a\000t\000e\000d\000\040\000W\000o\000r\000k}{}% 4
\BOOKMARK [2][-]{subsection.2.1}{\376\377\000P\000N\000G}{section.2}% 5
\BOOKMARK [2][-]{subsection.2.2}{\376\377\000L\000Z\000W}{section.2}% 6
\BOOKMARK [2][-]{subsection.2.3}{\376\377\000S\000i\000m\000i\000l\000a\000r\000\040\000M\000e\000t\000h\000o\000d\000s}{section.2}% 7
\BOOKMARK [1][-]{section.3}{\376\377\000T\000h\000e\000\040\000A\000p\000p\000r\000o\000a\000c\000h}{}% 8
\BOOKMARK [1][-]{section.4}{\376\377\000R\000e\000s\000u\000l\000t\000s}{}% 9
\BOOKMARK [1][-]{section.5}{\376\377\000D\000i\000s\000c\000u\000s\000s\000i\000o\000n}{}% 10
File added
File added
...@@ -268,6 +268,14 @@ When tested on a random set of 16 images, the ratio only changed from $0.3973$ t ...@@ -268,6 +268,14 @@ When tested on a random set of 16 images, the ratio only changed from $0.3973$ t
\end{center} \end{center}
Our method created files that are on average 33.7\% smaller than PNG and 34.5\% smaller than LWZ compression on TIFF. Our method created files that are on average 33.7\% smaller than PNG and 34.5\% smaller than LWZ compression on TIFF.
For estimation of limits of compression, we use information theory. Expected length of source code: $ L = \sum_{x} p(x)l(x)\\$ $l(x)$ is a length of codeword, corresponding to state x. $p(x) = \frac{n_x}{N}$, $n_x$ - number of elements for state $x$, N - total number states. From information theory we have: $L \geq H$ Where $H = -\sum_{x} p(x)\log_2{p(x)}$ - Shannon entropy.
From the previous formula: $ L = \frac{\sum_{x} n_x l(x)}{N} \geq -\sum_{x} p(x)\log_2{p(x)}$.
From that we have:
$ \text{compression rate} \geq \frac{NH}{\text{uncompr size}}
$
After averaging over 224 images, compression limit is 0.37.
\section{Discussion} \section{Discussion}
The files produced through this method are much smaller than the ones produced by the others, but this comes at great computational costs in its current implementation. The files produced through this method are much smaller than the ones produced by the others, but this comes at great computational costs in its current implementation.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment