Merge branch 'master' of raven.am28.uni-tuebingen.de:scientificComputing
This commit is contained in:
commit
2171efaee6
11
projects/pca_natural_img/Makefile
Normal file
11
projects/pca_natural_img/Makefile
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
latex:
|
||||||
|
pdflatex *.tex > /dev/null
|
||||||
|
pdflatex *.tex > /dev/null
|
||||||
|
pdflatex *.tex > /dev/null
|
||||||
|
|
||||||
|
clean:
|
||||||
|
rm -rf *.log *.aux *.zip *.out auto *.bbl *.blg
|
||||||
|
rm -f `basename *.tex .tex`.pdf
|
||||||
|
|
||||||
|
zip: latex
|
||||||
|
zip `basename *.tex .tex`.zip *.pdf *.jpg
|
BIN
projects/pca_natural_img/natimg.jpg
Normal file
BIN
projects/pca_natural_img/natimg.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 915 KiB |
61
projects/pca_natural_img/pca_natural_images.tex
Executable file
61
projects/pca_natural_img/pca_natural_images.tex
Executable file
@ -0,0 +1,61 @@
|
|||||||
|
\documentclass[addpoints,10pt]{exam}
|
||||||
|
\usepackage{url}
|
||||||
|
\usepackage{color}
|
||||||
|
\usepackage{hyperref}
|
||||||
|
|
||||||
|
\pagestyle{headandfoot}
|
||||||
|
\runningheadrule
|
||||||
|
\firstpageheadrule
|
||||||
|
\firstpageheader{Scientific Computing}{Project Assignment}{11/05/2014
|
||||||
|
-- 11/06/2014}
|
||||||
|
%\runningheader{Homework 01}{Page \thepage\ of \numpages}{23. October 2014}
|
||||||
|
\firstpagefooter{}{}{}
|
||||||
|
\runningfooter{}{}{}
|
||||||
|
\pointsinmargin
|
||||||
|
\bracketedpoints
|
||||||
|
|
||||||
|
%\printanswers
|
||||||
|
%\shadedsolutions
|
||||||
|
|
||||||
|
|
||||||
|
\begin{document}
|
||||||
|
%%%%%%%%%%%%%%%%%%%%% Submission instructions %%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
|
\sffamily
|
||||||
|
% \begin{flushright}
|
||||||
|
% \gradetable[h][questions]
|
||||||
|
% \end{flushright}
|
||||||
|
|
||||||
|
\begin{center}
|
||||||
|
\input{../disclaimer.tex}
|
||||||
|
\end{center}
|
||||||
|
|
||||||
|
%%%%%%%%%%%%%% Questions %%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
|
|
||||||
|
In you zip file you find a natural image called {\tt natimg.jpg}.
|
||||||
|
\begin{questions}
|
||||||
|
|
||||||
|
\question Load the image and extract all pixels as three dimensional
|
||||||
|
vectors (red, green, and blue channel).
|
||||||
|
|
||||||
|
\question Perform a principal component analysis on these
|
||||||
|
three-dimensional vectors.
|
||||||
|
|
||||||
|
\question Try to find a interpretation of the principal components
|
||||||
|
you find in terms of colors. Find a good way to visualize this.
|
||||||
|
|
||||||
|
\question What could be the biological significance of that (\cite{BG} can
|
||||||
|
give you a clue)?
|
||||||
|
|
||||||
|
\end{questions}
|
||||||
|
|
||||||
|
\begin{thebibliography}{1}
|
||||||
|
\bibitem{BG} Buchsbaum, G., \& Gottschalk, A. (1983). Trichromacy,
|
||||||
|
opponent colours coding and optimum colour information transmission
|
||||||
|
in the retina. Proceedings of the Royal Society of London. Series B,
|
||||||
|
Containing Papers of a Biological Character. Royal Society (Great
|
||||||
|
Britain), 220(1218), 89–113.
|
||||||
|
\end{thebibliography}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
\end{document}
|
Reference in New Issue
Block a user