Commit 2878491b authored by Turnhout, M.C. van's avatar Turnhout, M.C. van
Browse files

starting background

parent cc22d505
% !TeX root = colourdecon.tex
\begin{savequote}
Leonardo da Vinci had already suggested that the eye worked much like a camera obscura, and this idea was later backed up by Johannes Kepler, the German astronomer who showed that the orbits of the planets were not circular but elliptical. Descartes proved the reality of the camera obscura theory with a graphic demonstration. He obtained a bull's eye from the abattoir and scraped off the back of the bloody organ. Revealed on the hazy screen he uncovered was an upside down image of the world. \qauthor{Brian Clegg \cite{Clegg2008}}
\end{savequote}
\chapter{Background}\label{background}
\begin{figure}[b!]
\subfloat[\label{colouradd}]{%
\def\svgwidth{0.47\linewidth}\includesvg{../pics/ColourAdd}}\hfill
\subfloat[\label{coloursub}]{%
\def\svgwidth{0.47\linewidth}\includesvg{../pics/ColourSub}}\\
\caption{Colour mixing: the secondary colours of additive mixing are the primary colours for subtractive mixing, vice versa. With \textbf{(a)} additive (RGB, screens, cameras, eye, fluorescence), and \textbf{(b)} subtractive (paint, printing, histology). \label{colourmixing}}
\end{figure}
\section{`RGB'}
\subsection{Pixels}
Pixels on a camera chip count photons. And pixels do not discriminate between photons of different wavelengths (`colours'): when a photon comes in, it is counted; whether the photon is red, green, blue or black, if it comes in, it is counted.
Photons are converted to electrons by the pixel (and actually it is these electrons that are `counted'), the electrons result in a certain voltage, and this voltage is converted to a `grey value'. These steps are all linear: the number of electrons is proportional to the number of registered photons, the voltage scales proportionally with the number of electrons, and the `grey value' is directly proportional to the voltage.
The pixel value, `grey value of a pixel', `pixel intensity', is therefore a direct measurement for the number of photons that `hit' the pixel, i.e.\ the light intensity on the pixel.
\subsection{RGB -pixels}
In a way, there is no such thing a `colour camera'. That is: there are no 'colour pixels'.
......@@ -92,4 +92,14 @@ and the public domain program NIH image.},
timestamp = {2020-09-26},
}
@Book{Clegg2008,
title = {{L}ight {Y}ears -- {A}n exploration of mankind's enduring fascination with light},
publisher = {Macmillian},
year = {2008},
author = {Clegg, Brian},
address = {New York},
owner = {tue},
timestamp = {2014.07.21},
}
@Comment{jabref-meta: databaseType:bibtex;}
......@@ -85,6 +85,7 @@
\tableofcontents
\mainmatter
\include{background}
\include{algebra}
\begin{savequote}\vspace*{-2cm}
......
%% Creator: Inkscape inkscape 0.48.5, www.inkscape.org
%% PDF/EPS/PS + LaTeX output extension by Johan Engelen, 2010
%% Accompanies image file 'ColourAdd.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}%
\ifx\svgwidth\undefined%
\setlength{\unitlength}{635.2943678bp}%
\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,1)%
\put(0,0){\includegraphics[width=\unitlength]{ColourAdd.pdf}}%
\put(0.83266595,0.6613337){\color[rgb]{0,0,0}\makebox(0,0)[b]{\smash{green}}}%
\put(0.16600052,0.6613337){\color[rgb]{0,0,0}\makebox(0,0)[b]{\smash{red}}}%
\put(0.49933387,0.16133369){\color[rgb]{0,0,0}\makebox(0,0)[b]{\smash{blue}}}%
\put(0.49933387,0.74466766){\color[rgb]{0,0,0}\makebox(0,0)[b]{\smash{yellow}}}%
\put(0.66600054,0.41133432){\color[rgb]{0,0,0}\makebox(0,0)[b]{\smash{cyan}}}%
\put(0.30266719,0.41133432){\color[rgb]{0,0,0}\makebox(0,0)[b]{\smash{magenta}}}%
\end{picture}%
\endgroup%
<?xml version="1.0" encoding="utf-8" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg preserveAspectRatio="xMinYMin meet" width="100%" height="100%" viewBox="0 0 950.824 880.941" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<desc>Matlab Figure Converted by PLOT2SVG written by Juerg Schwizer</desc>
<g id="topgroup">
<g id ="ID000000">
<clipPath id="ID000001">
<rect x="78.141" y="32.824" width="794.118" height="794.118"/>
</clipPath>
<g>
<g id="ID000002" clip-path="url(#ID000001)" >
<image x="78.141" y="32.824" width="794.118" height="794.118" image-rendering="optimizeSpeed" preserveAspectRatio="none" xlink:href="ColourAdd001.png" />
</g>
<g id="ID000003" >
</g>
<g id="ID000004" >
</g>
<g id="ID000005" >
</g>
<g id="ID000006" >
<g transform="translate(739.376,301.765)">
<g transform="rotate(-0.0)">
<text x="0.000" y="0.000" font-family="Helvetica" text-anchor="middle" font-size="11pt" fill="#000000" >green</text>
</g>
</g>
</g>
<g id="ID000007" >
<g transform="translate(209.965,301.765)">
<g transform="rotate(-0.0)">
<text x="0.000" y="0.000" font-family="Helvetica" text-anchor="middle" font-size="11pt" fill="#000000" >red</text>
</g>
</g>
</g>
<g id="ID000008" >
<g transform="translate(474.671,698.824)">
<g transform="rotate(-0.0)">
<text x="0.000" y="0.000" font-family="Helvetica" text-anchor="middle" font-size="11pt" fill="#000000" >blue</text>
</g>
</g>
</g>
<g id="ID000009" >
<g transform="translate(474.671,235.588)">
<g transform="rotate(-0.0)">
<text x="0.000" y="0.000" font-family="Helvetica" text-anchor="middle" font-size="11pt" fill="#000000" >yellow</text>
</g>
</g>
</g>
<g id="ID000010" >
<g transform="translate(607.024,500.294)">
<g transform="rotate(-0.0)">
<text x="0.000" y="0.000" font-family="Helvetica" text-anchor="middle" font-size="11pt" fill="#000000" >cyan</text>
</g>
</g>
</g>
<g id="ID000011" >
<g transform="translate(342.318,500.294)">
<g transform="rotate(-0.0)">
<text x="0.000" y="0.000" font-family="Helvetica" text-anchor="middle" font-size="11pt" fill="#000000" >magenta</text>
</g>
</g>
</g>
</g>
</g>
</g>
</svg>
%% Creator: Inkscape inkscape 0.48.5, www.inkscape.org
%% PDF/EPS/PS + LaTeX output extension by Johan Engelen, 2010
%% Accompanies image file 'ColourSub.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}%
\ifx\svgwidth\undefined%
\setlength{\unitlength}{635.2943678bp}%
\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,1)%
\put(0,0){\includegraphics[width=\unitlength]{ColourSub.pdf}}%
\put(0.83266595,0.6613337){\color[rgb]{0,0,0}\makebox(0,0)[b]{\smash{magenta}}}%
\put(0.16600052,0.6613337){\color[rgb]{0,0,0}\makebox(0,0)[b]{\smash{cyan}}}%
\put(0.49933387,0.16133369){\color[rgb]{0,0,0}\makebox(0,0)[b]{\smash{yellow}}}%
\put(0.49933387,0.74466766){\color[rgb]{0,0,0}\makebox(0,0)[b]{\smash{blue}}}%
\put(0.66600054,0.41133432){\color[rgb]{0,0,0}\makebox(0,0)[b]{\smash{red}}}%
\put(0.33266719,0.41133432){\color[rgb]{0,0,0}\makebox(0,0)[b]{\smash{green}}}%
\end{picture}%
\endgroup%
<?xml version="1.0" encoding="utf-8" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg preserveAspectRatio="xMinYMin meet" width="100%" height="100%" viewBox="0 0 950.824 880.941" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<desc>Matlab Figure Converted by PLOT2SVG written by Juerg Schwizer</desc>
<g id="topgroup">
<g id ="ID000000">
<clipPath id="ID000001">
<rect x="78.141" y="32.824" width="794.118" height="794.118"/>
</clipPath>
<g>
<g id="ID000002" clip-path="url(#ID000001)" >
<image x="78.141" y="32.824" width="794.118" height="794.118" image-rendering="optimizeSpeed" preserveAspectRatio="none" xlink:href="ColourSub001.png" />
</g>
<g id="ID000003" >
</g>
<g id="ID000004" >
</g>
<g id="ID000005" >
</g>
<g id="ID000006" >
<g transform="translate(739.376,301.765)">
<g transform="rotate(-0.0)">
<text x="0.000" y="0.000" font-family="Helvetica" text-anchor="middle" font-size="11pt" fill="#000000" >magenta</text>
</g>
</g>
</g>
<g id="ID000007" >
<g transform="translate(209.965,301.765)">
<g transform="rotate(-0.0)">
<text x="0.000" y="0.000" font-family="Helvetica" text-anchor="middle" font-size="11pt" fill="#000000" >cyan</text>
</g>
</g>
</g>
<g id="ID000008" >
<g transform="translate(474.671,698.824)">
<g transform="rotate(-0.0)">
<text x="0.000" y="0.000" font-family="Helvetica" text-anchor="middle" font-size="11pt" fill="#000000" >yellow</text>
</g>
</g>
</g>
<g id="ID000009" >
<g transform="translate(474.671,235.588)">
<g transform="rotate(-0.0)">
<text x="0.000" y="0.000" font-family="Helvetica" text-anchor="middle" font-size="11pt" fill="#000000" >blue</text>
</g>
</g>
</g>
<g id="ID000010" >
<g transform="translate(607.024,500.294)">
<g transform="rotate(-0.0)">
<text x="0.000" y="0.000" font-family="Helvetica" text-anchor="middle" font-size="11pt" fill="#000000" >red</text>
</g>
</g>
</g>
<g id="ID000011" >
<g transform="translate(342.318,500.294)">
<g transform="rotate(-0.0)">
<text x="0.000" y="0.000" font-family="Helvetica" text-anchor="middle" font-size="11pt" fill="#000000" >green</text>
</g>
</g>
</g>
</g>
</g>
</g>
</svg>
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