\definecolor{lightGray}{gray}{0.8}
\pgfplotsset{width=0.43\linewidth,
label style={font=\small},
tick label style={font=\small},
tick pos=left,
legend cell align={left},
tick align=outside,
enlargelimits=false,
major tick length=2.5,
axis x line*=bottom,
axis y line*=left,
axis line style={lightGray},
enlargelimits=0.1,
legend style={fill opacity=0.6, text opacity=1, draw=none, nodes={scale=0.8, transform shape}},
every axis plot post/.append style={bar width=0.25cm, ultra thick, mark=*,mark options={scale=0.6, thin, solid}},
} 

\pgfplotsset{
    legend image with textB/.style={
        legend image code/.code={
            \node[anchor=center, color=mainLightBlue] at (0.3cm,0cm) {#1};}},
        legend image with textR/.style={
        legend image code/.code={
            \node[anchor=center, color=mainLightOrange] at (0.3cm,0cm) {#1};}},       }
\pgfplotsset{height=0.4\textwidth, width=0.5\textwidth}

\definecolor{mainOrange}{HTML}{eb8100}
\definecolor{mainLightOrange}{HTML}{febf71}
\definecolor{mainOrangeSat}{HTML}{ff4d00}
\definecolor{mainBlue}{HTML}{0048ff}
\definecolor{mainLightBlue}{HTML}{86a8fe}
\definecolor{mainRed}{HTML}{ff0000}
\definecolor{mainLightRed}{HTML}{ff8585}

\makeatletter
\patchcmd{\algocf@Vline}{\vrule}{\textcolor{black!40}{\vrule}}{}{}
\makeatother
\makeatletter
\def\algocf@Hlne{%
  \hbox{\leaders \hbox{\textcolor{black!40}{
  \vrule width 3pt height 0.6pt depth 0pt
  }} \hskip 10pt}}
  \makeatother
  
\newcommand\oper[1]{\textcolor{mainOrangeSat}{\ #1\ }}
\newcommand\operN[1]{\textcolor{mainOrangeSat}{#1}}
\definecolor{commentColor}{HTML}{5555DD}
\newcommand\mycommfont[1]{\footnotesize\ttfamily\textcolor{commentColor}{#1}}
\SetCommentSty{mycommfont}
\definecolor{function}{HTML}{0050FF}
\newcommand\fce[1]{\textcolor{function}{\mathrm{#1}}}
\def \imageSize {0.7\textwidth}
\newcommand{\pluseq}{\mathrel{{+}{=}}}
\newcommand{\minuseq}{\mathrel{{-}{=}}}
\newcommand{\diveq}{\mathrel{{/}{=}}}
\newcommand{\increment}{\mathrel{{+}{+}}}

\makeatletter
\@ifclasswith{fitthesis}{cprint}
{}
{
\hypersetup{
        linkcolor  = mainBlue, 
        citecolor  = mainOrangeSat!90,
        urlcolor = mainBlue}  
}
\makeatother

\titleformat{name=\chapter}[block]
  {\normalfont\huge\bfseries}
  {}
  {0pt}
  {\colorsection}  
\titlespacing*{\chapter}{0pt}{\baselineskip}{0cm}
\newcommand{\colorsection}[1]{%
    \huge\chaptertitlename\ \thechapter\\\Huge#1
   \vspace{-1.0em}
  \tcbox[capture=minipage, enhanced, width=\textwidth, height=2pt, boxrule=0pt, arc=2pt, frame hidden,
  interior style={left color=mainBlue!3,right color=mainBlue!30}]{}
  \vspace{-0.5em}
}

\titleformat{name=\section}[block]
  {\normalfont\huge\bfseries}
  {}
  {0pt}
  {\colorsectionS}  
\titlespacing*{\section}{0pt}{0.8cm}{0pt}
\newcommand{\colorsectionS}[1]{%
    \Large \thesection\ #1 
    \vspace{-1.3em}
  \tcbox[capture=minipage, enhanced, width=\textwidth, height=2pt, boxrule=0pt, arc=2pt, frame hidden,
  interior style={left color=mainOrangeSat!3,right color=mainOrangeSat!30}]{}
   \vspace{-1.5em}
  }

%\iffalse %COMMENT OPTIMIZATION
\input{chapters/Introduction}
\input{chapters/LightField}
\input{chapters/Experimental}
\input{chapters/Applications}
\input{chapters/Conclusion}
%\fi %COMMENT OPTIMIZATION
%\input{chapters/Applications}