diff --git a/projects/pca_natural_img/Makefile b/projects/pca_natural_img/Makefile new file mode 100644 index 0000000..3da8318 --- /dev/null +++ b/projects/pca_natural_img/Makefile @@ -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 diff --git a/projects/pca_natural_img/natimg.jpg b/projects/pca_natural_img/natimg.jpg new file mode 100644 index 0000000..4788b73 Binary files /dev/null and b/projects/pca_natural_img/natimg.jpg differ diff --git a/projects/pca_natural_img/pca_natural_images.tex b/projects/pca_natural_img/pca_natural_images.tex new file mode 100755 index 0000000..6ca956f --- /dev/null +++ b/projects/pca_natural_img/pca_natural_images.tex @@ -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}