@ -0,0 +1,6 @@ |
|||||
|
# First deliverable |
||||
|
|
||||
|
In this first deliverable we were called to implement a number of functions that: |
||||
|
- produce an RBG image from a Bayer pattern array of samples |
||||
|
- quantize and dequantize the image using any desired number of bits |
||||
|
- transform the image to the PPM format and save it to disk |
@ -0,0 +1,3 @@ |
|||||
|
\section{Κβαντισμός} |
||||
|
|
||||
|
Στα πλαίσια της εργασίας υλοποιήθηκαν επίσης ένας ομοιόμορφος, συμμετρικός κβαντιστής χωρίς νεκρή ζώνη, \texttt{myquant} και ο αντίστοιχος αποκβαντιστής, \texttt{mydequant}, καθώς επίσης και δύο συναρτήσεις που εφαρμόζουν τον κβαντιστή και αποκβαντιστή στο κάθε κανάλι της εικόνας ξεχωριστά, \texttt{imagequant} και \texttt{imagedequant} αντίστοιχα. |
@ -0,0 +1,3 @@ |
|||||
|
\section{Πρότυπο PPM} |
||||
|
|
||||
|
Τέλος υλοποιήθηκε η συνάρτηση \texttt{saveasppm} η οποία μετατρέπει την εικόνα σε μορφή που συμμορφώνεται με το πρότυπο PPM και την αποθηκεύει στο δίσκο. |
@ -0,0 +1,52 @@ |
|||||
|
\section{Εκτέλεση και αποτελέσματα} |
||||
|
|
||||
|
Οι συναρτήσεις που υλοποιήθηκαν χρησιμοποιήθηκαν σε συνδυασμό με την δοκιμαστική εικόνα που δόθηκε ώστε να παράξουν τις παρακάτω εικόνες: |
||||
|
|
||||
|
\begin{figure}[H] |
||||
|
\centering |
||||
|
\resizebox{\textwidth}{!}{ |
||||
|
\includegraphics{res/nearest_3bit_960X1280.png} |
||||
|
} |
||||
|
\caption{RGB εικόνα με χρήση \textbf{κοντινότερου γείτονα}, διαστάσεις 960Χ1280 και \textbf{κβαντισμό 3bit} ανά κανάλι} |
||||
|
\end{figure} |
||||
|
|
||||
|
\begin{figure}[H] |
||||
|
\centering |
||||
|
\resizebox{\textwidth}{!}{ |
||||
|
\includegraphics{res/nearest_8bit_960X1280.png} |
||||
|
} |
||||
|
\caption{RGB εικόνα με χρήση \textbf{κοντινότερου γείτονα}, διαστάσεις 960Χ1280 και \textbf{κβαντισμό 8bit} ανά κανάλι} |
||||
|
\end{figure} |
||||
|
|
||||
|
\begin{figure}[H] |
||||
|
\centering |
||||
|
\resizebox{\textwidth}{!}{ |
||||
|
\includegraphics{res/linear_3bit_960X1280.png} |
||||
|
} |
||||
|
\caption{RGB εικόνα με χρήση \textbf{γραμμικής παρεμβολής}, διαστάσεις 960Χ1280 και \textbf{κβαντισμό 3bit} ανά κανάλι} |
||||
|
\end{figure} |
||||
|
|
||||
|
\begin{figure}[H] |
||||
|
\centering |
||||
|
\resizebox{\textwidth}{!}{ |
||||
|
\includegraphics{res/linear_8bit_960X1280.png} |
||||
|
} |
||||
|
\caption{RGB εικόνα με χρήση \textbf{γραμμικής παρεμβολής}, διαστάσεις 960Χ1280 και \textbf{κβαντισμό 8bit} ανά κανάλι} |
||||
|
\end{figure} |
||||
|
|
||||
|
Παρακάτω παρατίθενται ενδεικτικά οι χρόνοι εκτέλεσης των βασικών συναρτήσεων για επιλεγμένες διαστάσεις τελικής εικόνας 960Χ1280 καθώς: |
||||
|
|
||||
|
\begin{table}[H] |
||||
|
\centering |
||||
|
\begin{tabular}{l l} \toprule |
||||
|
Συνάρτηση & Χρόνος (seconds) \\ \midrule |
||||
|
\texttt{bayer2rgb} (``nearest'') & 0.164 \\ |
||||
|
\texttt{bayer2rgb} (``linear'') & 0.484 \\ |
||||
|
\texttt{imagequant} & 0.0315 \\ |
||||
|
\texttt{imagedequant} & 0.024 \\ |
||||
|
\texttt{saveasppm} & 0.208 \\ \bottomrule |
||||
|
\end{tabular} |
||||
|
\caption{Χρόνοι βασικών συναρτήσεων} |
||||
|
\end{table} |
||||
|
|
||||
|
Σημειώνεται ότι οι παραπάνω χρόνοι υπολογίστηκαν με χρήση των εντολών \texttt{tic} και \texttt{toc}, ενώ η χρήση της επιλογής ``Run and Time'' ανέφερε πολύ μεγαλύτερους χρόνους λόγω του overhead που προσθέτει στην εκτέλεση. Το μέγεθος του αρχείου PPM που παράχθηκε με κβάντιση 8bit είναι 3,7MB. |
@ -0,0 +1,66 @@ |
|||||
|
%% Creator: Inkscape inkscape 0.92.3, www.inkscape.org |
||||
|
%% PDF/EPS/PS + LaTeX output extension by Johan Engelen, 2010 |
||||
|
%% Accompanies image file 'BayerGreenCenterIsGreen.pdf' (pdf, eps, ps) |
||||
|
%% |
||||
|
%% To include the image in your LaTeX document, write |
||||
|
%% \input{<filename>.pdf_tex} |
||||
|
%% instead of |
||||
|
%% \includegraphics{<filename>.pdf} |
||||
|
%% To scale the image, write |
||||
|
%% \def\svgwidth{<desired width>} |
||||
|
%% \input{<filename>.pdf_tex} |
||||
|
%% instead of |
||||
|
%% \includegraphics[width=<desired width>]{<filename>.pdf} |
||||
|
%% |
||||
|
%% Images with a different path to the parent latex file can |
||||
|
%% be accessed with the `import' package (which may need to be |
||||
|
%% installed) using |
||||
|
%% \usepackage{import} |
||||
|
%% in the preamble, and then including the image with |
||||
|
%% \import{<path to file>}{<filename>.pdf_tex} |
||||
|
%% Alternatively, one can specify |
||||
|
%% \graphicspath{{<path to file>/}} |
||||
|
%% |
||||
|
%% For more information, please see info/svg-inkscape on CTAN: |
||||
|
%% http://tug.ctan.org/tex-archive/info/svg-inkscape |
||||
|
%% |
||||
|
\begingroup% |
||||
|
\makeatletter% |
||||
|
\providecommand\color[2][]{% |
||||
|
\errmessage{(Inkscape) Color is used for the text in Inkscape, but the package 'color.sty' is not loaded}% |
||||
|
\renewcommand\color[2][]{}% |
||||
|
}% |
||||
|
\providecommand\transparent[1]{% |
||||
|
\errmessage{(Inkscape) Transparency is used (non-zero) for the text in Inkscape, but the package 'transparent.sty' is not loaded}% |
||||
|
\renewcommand\transparent[1]{}% |
||||
|
}% |
||||
|
\providecommand\rotatebox[2]{#2}% |
||||
|
\newcommand*\fsize{\dimexpr\f@size pt\relax}% |
||||
|
\newcommand*\lineheight[1]{\fontsize{\fsize}{#1\fsize}\selectfont}% |
||||
|
\ifx\svgwidth\undefined% |
||||
|
\setlength{\unitlength}{300.05419922bp}% |
||||
|
\ifx\svgscale\undefined% |
||||
|
\relax% |
||||
|
\else% |
||||
|
\setlength{\unitlength}{\unitlength * \real{\svgscale}}% |
||||
|
\fi% |
||||
|
\else% |
||||
|
\setlength{\unitlength}{\svgwidth}% |
||||
|
\fi% |
||||
|
\global\let\svgwidth\undefined% |
||||
|
\global\let\svgscale\undefined% |
||||
|
\makeatother% |
||||
|
\begin{picture}(1,0.33224466)% |
||||
|
\lineheight{1}% |
||||
|
\setlength\tabcolsep{0pt}% |
||||
|
\put(0,0){\includegraphics[width=\unitlength,page=1]{BayerGreenCenterIsGreen.pdf}}% |
||||
|
\put(0.06925507,0.00647344){\color[rgb]{0,0,0}\makebox(0,0)[t]{\lineheight{1.25}\smash{\begin{tabular}[t]{c}$y = x + b_1$\end{tabular}}}}% |
||||
|
\put(0.07425416,0.31141835){\color[rgb]{0,0,0}\makebox(0,0)[t]{\lineheight{1.25}\smash{\begin{tabular}[t]{c}$y = -x + b_2$\end{tabular}}}}% |
||||
|
\put(0,0){\includegraphics[width=\unitlength,page=2]{BayerGreenCenterIsGreen.pdf}}% |
||||
|
\put(0.7266363,0.26142738){\color[rgb]{0,0,0}\makebox(0,0)[t]{\lineheight{1.25}\smash{\begin{tabular}[t]{c}Bayer Grid Green samples\end{tabular}}}}% |
||||
|
\put(0.773,0.19893867){\color[rgb]{0,0,0}\makebox(0,0)[t]{\lineheight{1.25}\smash{\begin{tabular}[t]{c}RGB Grid interpolation position\end{tabular}}}}% |
||||
|
\put(0,0){\includegraphics[width=\unitlength,page=3]{BayerGreenCenterIsGreen.pdf}}% |
||||
|
\put(0.815,0.13644996){\color[rgb]{0,0,0}\makebox(0,0)[t]{\lineheight{1.25}\smash{\begin{tabular}[t]{c}Possible positions of rhombus center\end{tabular}}}}% |
||||
|
\put(0.78,0.0764608){\color[rgb]{0,0,0}\makebox(0,0)[t]{\lineheight{1.25}\smash{\begin{tabular}[t]{c}True position of rhombus center\end{tabular}}}}% |
||||
|
\end{picture}% |
||||
|
\endgroup% |
After Width: | Height: | Size: 7.5 KiB |
@ -0,0 +1,60 @@ |
|||||
|
%% Creator: Inkscape inkscape 0.92.3, www.inkscape.org |
||||
|
%% PDF/EPS/PS + LaTeX output extension by Johan Engelen, 2010 |
||||
|
%% Accompanies image file 'BayerGreenCenterLines.pdf' (pdf, eps, ps) |
||||
|
%% |
||||
|
%% To include the image in your LaTeX document, write |
||||
|
%% \input{<filename>.pdf_tex} |
||||
|
%% instead of |
||||
|
%% \includegraphics{<filename>.pdf} |
||||
|
%% To scale the image, write |
||||
|
%% \def\svgwidth{<desired width>} |
||||
|
%% \input{<filename>.pdf_tex} |
||||
|
%% instead of |
||||
|
%% \includegraphics[width=<desired width>]{<filename>.pdf} |
||||
|
%% |
||||
|
%% Images with a different path to the parent latex file can |
||||
|
%% be accessed with the `import' package (which may need to be |
||||
|
%% installed) using |
||||
|
%% \usepackage{import} |
||||
|
%% in the preamble, and then including the image with |
||||
|
%% \import{<path to file>}{<filename>.pdf_tex} |
||||
|
%% Alternatively, one can specify |
||||
|
%% \graphicspath{{<path to file>/}} |
||||
|
%% |
||||
|
%% For more information, please see info/svg-inkscape on CTAN: |
||||
|
%% http://tug.ctan.org/tex-archive/info/svg-inkscape |
||||
|
%% |
||||
|
\begingroup% |
||||
|
\makeatletter% |
||||
|
\providecommand\color[2][]{% |
||||
|
\errmessage{(Inkscape) Color is used for the text in Inkscape, but the package 'color.sty' is not loaded}% |
||||
|
\renewcommand\color[2][]{}% |
||||
|
}% |
||||
|
\providecommand\transparent[1]{% |
||||
|
\errmessage{(Inkscape) Transparency is used (non-zero) for the text in Inkscape, but the package 'transparent.sty' is not loaded}% |
||||
|
\renewcommand\transparent[1]{}% |
||||
|
}% |
||||
|
\providecommand\rotatebox[2]{#2}% |
||||
|
\newcommand*\fsize{\dimexpr\f@size pt\relax}% |
||||
|
\newcommand*\lineheight[1]{\fontsize{\fsize}{#1\fsize}\selectfont}% |
||||
|
\ifx\svgwidth\undefined% |
||||
|
\setlength{\unitlength}{120.8496377bp}% |
||||
|
\ifx\svgscale\undefined% |
||||
|
\relax% |
||||
|
\else% |
||||
|
\setlength{\unitlength}{\unitlength * \real{\svgscale}}% |
||||
|
\fi% |
||||
|
\else% |
||||
|
\setlength{\unitlength}{\svgwidth}% |
||||
|
\fi% |
||||
|
\global\let\svgwidth\undefined% |
||||
|
\global\let\svgscale\undefined% |
||||
|
\makeatother% |
||||
|
\begin{picture}(1,0.62499426)% |
||||
|
\lineheight{1}% |
||||
|
\setlength\tabcolsep{0pt}% |
||||
|
\put(0,0){\includegraphics[width=\unitlength,page=1]{BayerGreenCenterLines.pdf}}% |
||||
|
\put(0.85,0.54522435){\color[rgb]{0,0,0}\makebox(0,0)[t]{\lineheight{1.25}\smash{\begin{tabular}[t]{c}$y = x + b_1$\end{tabular}}}}% |
||||
|
\put(0.85,0.06115174){\color[rgb]{0,0,0}\makebox(0,0)[t]{\lineheight{1.25}\smash{\begin{tabular}[t]{c}$y = -x + b_2$\end{tabular}}}}% |
||||
|
\end{picture}% |
||||
|
\endgroup% |
After Width: | Height: | Size: 3.3 KiB |
@ -0,0 +1,70 @@ |
|||||
|
%% Creator: Inkscape inkscape 0.92.3, www.inkscape.org |
||||
|
%% PDF/EPS/PS + LaTeX output extension by Johan Engelen, 2010 |
||||
|
%% Accompanies image file 'BayerGreenSpacing.pdf' (pdf, eps, ps) |
||||
|
%% |
||||
|
%% To include the image in your LaTeX document, write |
||||
|
%% \input{<filename>.pdf_tex} |
||||
|
%% instead of |
||||
|
%% \includegraphics{<filename>.pdf} |
||||
|
%% To scale the image, write |
||||
|
%% \def\svgwidth{<desired width>} |
||||
|
%% \input{<filename>.pdf_tex} |
||||
|
%% instead of |
||||
|
%% \includegraphics[width=<desired width>]{<filename>.pdf} |
||||
|
%% |
||||
|
%% Images with a different path to the parent latex file can |
||||
|
%% be accessed with the `import' package (which may need to be |
||||
|
%% installed) using |
||||
|
%% \usepackage{import} |
||||
|
%% in the preamble, and then including the image with |
||||
|
%% \import{<path to file>}{<filename>.pdf_tex} |
||||
|
%% Alternatively, one can specify |
||||
|
%% \graphicspath{{<path to file>/}} |
||||
|
%% |
||||
|
%% For more information, please see info/svg-inkscape on CTAN: |
||||
|
%% http://tug.ctan.org/tex-archive/info/svg-inkscape |
||||
|
%% |
||||
|
\begingroup% |
||||
|
\makeatletter% |
||||
|
\providecommand\color[2][]{% |
||||
|
\errmessage{(Inkscape) Color is used for the text in Inkscape, but the package 'color.sty' is not loaded}% |
||||
|
\renewcommand\color[2][]{}% |
||||
|
}% |
||||
|
\providecommand\transparent[1]{% |
||||
|
\errmessage{(Inkscape) Transparency is used (non-zero) for the text in Inkscape, but the package 'transparent.sty' is not loaded}% |
||||
|
\renewcommand\transparent[1]{}% |
||||
|
}% |
||||
|
\providecommand\rotatebox[2]{#2}% |
||||
|
\newcommand*\fsize{\dimexpr\f@size pt\relax}% |
||||
|
\newcommand*\lineheight[1]{\fontsize{\fsize}{#1\fsize}\selectfont}% |
||||
|
\ifx\svgwidth\undefined% |
||||
|
\setlength{\unitlength}{366.75732422bp}% |
||||
|
\ifx\svgscale\undefined% |
||||
|
\relax% |
||||
|
\else% |
||||
|
\setlength{\unitlength}{\unitlength * \real{\svgscale}}% |
||||
|
\fi% |
||||
|
\else% |
||||
|
\setlength{\unitlength}{\svgwidth}% |
||||
|
\fi% |
||||
|
\global\let\svgwidth\undefined% |
||||
|
\global\let\svgscale\undefined% |
||||
|
\makeatother% |
||||
|
\begin{picture}(1,0.25395318)% |
||||
|
\lineheight{1}% |
||||
|
\setlength\tabcolsep{0pt}% |
||||
|
\put(0,0){\includegraphics[width=\unitlength,page=1]{BayerGreenSpacing.pdf}}% |
||||
|
\put(0.14622983,0.09172323){\color[rgb]{0,0,0}\makebox(0,0)[t]{\lineheight{1.25}\smash{\begin{tabular}[t]{c}2k + 1\end{tabular}}}}% |
||||
|
\put(0.14622983,0.17761108){\color[rgb]{0,0,0}\makebox(0,0)[t]{\lineheight{1.25}\smash{\begin{tabular}[t]{c}2k\end{tabular}}}}% |
||||
|
\put(0.14622983,0.00583537){\color[rgb]{0,0,0}\makebox(0,0)[t]{\lineheight{1.25}\smash{\begin{tabular}[t]{c}2k + 2\end{tabular}}}}% |
||||
|
\put(0.233,0.2369146){\color[rgb]{0,0,0}\makebox(0,0)[t]{\lineheight{1.25}\smash{\begin{tabular}[t]{c}2k\end{tabular}}}}% |
||||
|
\put(0.32209543,0.2369146){\color[rgb]{0,0,0}\makebox(0,0)[t]{\lineheight{1.25}\smash{\begin{tabular}[t]{c}2k + 1\end{tabular}}}}% |
||||
|
\put(0.425,0.2369146){\color[rgb]{0,0,0}\makebox(0,0)[t]{\lineheight{1.25}\smash{\begin{tabular}[t]{c}2k + 2\end{tabular}}}}% |
||||
|
\put(0.59611859,0.09376818){\color[rgb]{0,0,0}\makebox(0,0)[t]{\lineheight{1.25}\smash{\begin{tabular}[t]{c}2k + 2\end{tabular}}}}% |
||||
|
\put(0.59611859,0.17965603){\color[rgb]{0,0,0}\makebox(0,0)[t]{\lineheight{1.25}\smash{\begin{tabular}[t]{c}2k + 1\end{tabular}}}}% |
||||
|
\put(0.59611859,0.00788032){\color[rgb]{0,0,0}\makebox(0,0)[t]{\lineheight{1.25}\smash{\begin{tabular}[t]{c}2k + 3\end{tabular}}}}% |
||||
|
\put(0.685,0.2369146){\color[rgb]{0,0,0}\makebox(0,0)[t]{\lineheight{1.25}\smash{\begin{tabular}[t]{c}2k + 1\end{tabular}}}}% |
||||
|
\put(0.785,0.2369146){\color[rgb]{0,0,0}\makebox(0,0)[t]{\lineheight{1.25}\smash{\begin{tabular}[t]{c}2k + 2\end{tabular}}}}% |
||||
|
\put(0.885,0.2369146){\color[rgb]{0,0,0}\makebox(0,0)[t]{\lineheight{1.25}\smash{\begin{tabular}[t]{c}2k + 3\end{tabular}}}}% |
||||
|
\end{picture}% |
||||
|
\endgroup% |
After Width: | Height: | Size: 11 KiB |
@ -0,0 +1,71 @@ |
|||||
|
%% Creator: Inkscape inkscape 0.92.3, www.inkscape.org |
||||
|
%% PDF/EPS/PS + LaTeX output extension by Johan Engelen, 2010 |
||||
|
%% Accompanies image file 'BayerRedBlueSpacing.pdf' (pdf, eps, ps) |
||||
|
%% |
||||
|
%% To include the image in your LaTeX document, write |
||||
|
%% \input{<filename>.pdf_tex} |
||||
|
%% instead of |
||||
|
%% \includegraphics{<filename>.pdf} |
||||
|
%% To scale the image, write |
||||
|
%% \def\svgwidth{<desired width>} |
||||
|
%% \input{<filename>.pdf_tex} |
||||
|
%% instead of |
||||
|
%% \includegraphics[width=<desired width>]{<filename>.pdf} |
||||
|
%% |
||||
|
%% Images with a different path to the parent latex file can |
||||
|
%% be accessed with the `import' package (which may need to be |
||||
|
%% installed) using |
||||
|
%% \usepackage{import} |
||||
|
%% in the preamble, and then including the image with |
||||
|
%% \import{<path to file>}{<filename>.pdf_tex} |
||||
|
%% Alternatively, one can specify |
||||
|
%% \graphicspath{{<path to file>/}} |
||||
|
%% |
||||
|
%% For more information, please see info/svg-inkscape on CTAN: |
||||
|
%% http://tug.ctan.org/tex-archive/info/svg-inkscape |
||||
|
%% |
||||
|
\begingroup% |
||||
|
\makeatletter% |
||||
|
\providecommand\color[2][]{% |
||||
|
\errmessage{(Inkscape) Color is used for the text in Inkscape, but the package 'color.sty' is not loaded}% |
||||
|
\renewcommand\color[2][]{}% |
||||
|
}% |
||||
|
\providecommand\transparent[1]{% |
||||
|
\errmessage{(Inkscape) Transparency is used (non-zero) for the text in Inkscape, but the package 'transparent.sty' is not loaded}% |
||||
|
\renewcommand\transparent[1]{}% |
||||
|
}% |
||||
|
\providecommand\rotatebox[2]{#2}% |
||||
|
\newcommand*\fsize{\dimexpr\f@size pt\relax}% |
||||
|
\newcommand*\lineheight[1]{\fontsize{\fsize}{#1\fsize}\selectfont}% |
||||
|
\ifx\svgwidth\undefined% |
||||
|
\setlength{\unitlength}{414.12140625bp}% |
||||
|
\ifx\svgscale\undefined% |
||||
|
\relax% |
||||
|
\else% |
||||
|
\setlength{\unitlength}{\unitlength * \real{\svgscale}}% |
||||
|
\fi% |
||||
|
\else% |
||||
|
\setlength{\unitlength}{\svgwidth}% |
||||
|
\fi% |
||||
|
\global\let\svgwidth\undefined% |
||||
|
\global\let\svgscale\undefined% |
||||
|
\makeatother% |
||||
|
\begin{picture}(1,0.28116392)% |
||||
|
\lineheight{1}% |
||||
|
\setlength\tabcolsep{0pt}% |
||||
|
\put(0,0){\includegraphics[width=\unitlength,page=1]{BayerRedBlueSpacing.pdf}}% |
||||
|
\put(0.23,0.26532074){\color[rgb]{0,0,0}\makebox(0,0)[t]{\lineheight{1.25}\smash{\begin{tabular}[t]{c}2k + 1\end{tabular}}}}% |
||||
|
\put(0.317,0.26532074){\color[rgb]{0,0,0}\makebox(0,0)[t]{\lineheight{1.25}\smash{\begin{tabular}[t]{c}2k + 2\end{tabular}}}}% |
||||
|
\put(0.405,0.26532074){\color[rgb]{0,0,0}\makebox(0,0)[t]{\lineheight{1.25}\smash{\begin{tabular}[t]{c}2k + 3\end{tabular}}}}% |
||||
|
\put(0.13964564,0.11862463){\color[rgb]{0,0,0}\makebox(0,0)[t]{\lineheight{1.25}\smash{\begin{tabular}[t]{c}2k + 1\end{tabular}}}}% |
||||
|
\put(0.12153501,0.19468928){\color[rgb]{0,0,0}\makebox(0,0)[t]{\lineheight{1.25}\smash{\begin{tabular}[t]{c}2k\end{tabular}}}}% |
||||
|
\put(0.13964564,0.04255998){\color[rgb]{0,0,0}\makebox(0,0)[t]{\lineheight{1.25}\smash{\begin{tabular}[t]{c}2k + 2\end{tabular}}}}% |
||||
|
\put(0,0){\includegraphics[width=\unitlength,page=2]{BayerRedBlueSpacing.pdf}}% |
||||
|
\put(0.72643009,0.26532074){\color[rgb]{0,0,0}\makebox(0,0)[t]{\lineheight{1.25}\smash{\begin{tabular}[t]{c}2k\end{tabular}}}}% |
||||
|
\put(0.8000,0.26532074){\color[rgb]{0,0,0}\makebox(0,0)[t]{\lineheight{1.25}\smash{\begin{tabular}[t]{c}2k + 1\end{tabular}}}}% |
||||
|
\put(0.89,0.26532074){\color[rgb]{0,0,0}\makebox(0,0)[t]{\lineheight{1.25}\smash{\begin{tabular}[t]{c}2k + 2\end{tabular}}}}% |
||||
|
\put(0.62682162,0.11862463){\color[rgb]{0,0,0}\makebox(0,0)[t]{\lineheight{1.25}\smash{\begin{tabular}[t]{c}2k + 2\end{tabular}}}}% |
||||
|
\put(0.62682162,0.19468928){\color[rgb]{0,0,0}\makebox(0,0)[t]{\lineheight{1.25}\smash{\begin{tabular}[t]{c}2k + 1\end{tabular}}}}% |
||||
|
\put(0.62682162,0.04255998){\color[rgb]{0,0,0}\makebox(0,0)[t]{\lineheight{1.25}\smash{\begin{tabular}[t]{c}2k + 3\end{tabular}}}}% |
||||
|
\end{picture}% |
||||
|
\endgroup% |
After Width: | Height: | Size: 11 KiB |
@ -0,0 +1,65 @@ |
|||||
|
%% Creator: Inkscape inkscape 0.92.3, www.inkscape.org |
||||
|
%% PDF/EPS/PS + LaTeX output extension by Johan Engelen, 2010 |
||||
|
%% Accompanies image file 'BayerToRGBGrids.pdf' (pdf, eps, ps) |
||||
|
%% |
||||
|
%% To include the image in your LaTeX document, write |
||||
|
%% \input{<filename>.pdf_tex} |
||||
|
%% instead of |
||||
|
%% \includegraphics{<filename>.pdf} |
||||
|
%% To scale the image, write |
||||
|
%% \def\svgwidth{<desired width>} |
||||
|
%% \input{<filename>.pdf_tex} |
||||
|
%% instead of |
||||
|
%% \includegraphics[width=<desired width>]{<filename>.pdf} |
||||
|
%% |
||||
|
%% Images with a different path to the parent latex file can |
||||
|
%% be accessed with the `import' package (which may need to be |
||||
|
%% installed) using |
||||
|
%% \usepackage{import} |
||||
|
%% in the preamble, and then including the image with |
||||
|
%% \import{<path to file>}{<filename>.pdf_tex} |
||||
|
%% Alternatively, one can specify |
||||
|
%% \graphicspath{{<path to file>/}} |
||||
|
%% |
||||
|
%% For more information, please see info/svg-inkscape on CTAN: |
||||
|
%% http://tug.ctan.org/tex-archive/info/svg-inkscape |
||||
|
%% |
||||
|
\begingroup% |
||||
|
\makeatletter% |
||||
|
\providecommand\color[2][]{% |
||||
|
\errmessage{(Inkscape) Color is used for the text in Inkscape, but the package 'color.sty' is not loaded}% |
||||
|
\renewcommand\color[2][]{}% |
||||
|
}% |
||||
|
\providecommand\transparent[1]{% |
||||
|
\errmessage{(Inkscape) Transparency is used (non-zero) for the text in Inkscape, but the package 'transparent.sty' is not loaded}% |
||||
|
\renewcommand\transparent[1]{}% |
||||
|
}% |
||||
|
\providecommand\rotatebox[2]{#2}% |
||||
|
\newcommand*\fsize{\dimexpr\f@size pt\relax}% |
||||
|
\newcommand*\lineheight[1]{\fontsize{\fsize}{#1\fsize}\selectfont}% |
||||
|
\ifx\svgwidth\undefined% |
||||
|
\setlength{\unitlength}{417.27082031bp}% |
||||
|
\ifx\svgscale\undefined% |
||||
|
\relax% |
||||
|
\else% |
||||
|
\setlength{\unitlength}{\unitlength * \real{\svgscale}}% |
||||
|
\fi% |
||||
|
\else% |
||||
|
\setlength{\unitlength}{\svgwidth}% |
||||
|
\fi% |
||||
|
\global\let\svgwidth\undefined% |
||||
|
\global\let\svgscale\undefined% |
||||
|
\makeatother% |
||||
|
\begin{picture}(1,0.31229358)% |
||||
|
\lineheight{1}% |
||||
|
\setlength\tabcolsep{0pt}% |
||||
|
\put(0,0){\includegraphics[width=\unitlength,page=1]{BayerToRGBGrids.pdf}}% |
||||
|
\put(0.86294136,0.22467423){\color[rgb]{0,0,0}\makebox(0,0)[t]{\lineheight{1.25}\smash{\begin{tabular}[t]{c}Bayer Grid Red samples\end{tabular}}}}% |
||||
|
\put(0.87372573,0.17254981){\color[rgb]{0,0,0}\makebox(0,0)[t]{\lineheight{1.25}\smash{\begin{tabular}[t]{c}Bayer Grid Green samples\end{tabular}}}}% |
||||
|
\put(0.86473876,0.11862799){\color[rgb]{0,0,0}\makebox(0,0)[t]{\lineheight{1.25}\smash{\begin{tabular}[t]{c}Bayer Grid Blue samples\end{tabular}}}}% |
||||
|
\put(0.83058827,0.06470618){\color[rgb]{0,0,0}\makebox(0,0)[t]{\lineheight{1.25}\smash{\begin{tabular}[t]{c}RGB Grid sample\end{tabular}}}}% |
||||
|
\put(0,0){\includegraphics[width=\unitlength,page=2]{BayerToRGBGrids.pdf}}% |
||||
|
\put(0.12061771,0.1761446){\color[rgb]{0,0,0}\makebox(0,0)[t]{\lineheight{1.25}\smash{\begin{tabular}[t]{c}h\end{tabular}}}}% |
||||
|
\put(0.22846134,0.29656998){\color[rgb]{0,0,0}\makebox(0,0)[t]{\lineheight{1.25}\smash{\begin{tabular}[t]{c}l\end{tabular}}}}% |
||||
|
\end{picture}% |
||||
|
\endgroup% |
After Width: | Height: | Size: 11 KiB |
After Width: | Height: | Size: 284 KiB |
After Width: | Height: | Size: 1.4 MiB |
After Width: | Height: | Size: 162 KiB |
After Width: | Height: | Size: 988 KiB |