From d0e65ca3a9fb64cb3624d25b4e20bf64f1f8f438 Mon Sep 17 00:00:00 2001
From: Vedrana Andersen Dahl <vedranaa@gmail.com>
Date: Wed, 31 Jan 2024 14:43:18 +0100
Subject: [PATCH] Create Links.md

---
 Chapter01/Links.md | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)
 create mode 100644 Chapter01/Links.md

diff --git a/Chapter01/Links.md b/Chapter01/Links.md
new file mode 100644
index 0000000..2fbef6a
--- /dev/null
+++ b/Chapter01/Links.md
@@ -0,0 +1,32 @@
+# Exercise 1.1.1 Image convolution
+
+- Read the image using `skimage.io.imread`
+- For convolution use `scipy.ndimage.convolve`
+- After completing the exercise test agains `scipy.ndimage.gaussian_filter`
+  
+
+# Exercise 1.1.3 Curve smoothing
+
+- Make the matrix using `scipy.linalg.circulant`
+- For matrix-vector multiplication you can use a dedicated function from `numpy` or `@` operator
+  
+# Exericse 1.1.6 Working with volumetric image
+- To get hold of all image in a folder, use `sorted(os.listdir(\<FOLDER NAME\>))`
+
+# Exercise 1.1.7 PCA of multispectral image
+- For eigen decomposition use ` np.linalg.eig`
+- You can compare your PCA agains the existing implementation `sklearn.decomposition.PCA`
+
+# Exercise 1.1.8 Bacterial growth from movie frames
+- To read the movie as a list of images, use following code block
+```python
+import imageio
+import skimage
+
+filename = ...  # filename of the mp4 movie
+vid = imageio.get_reader(filename,  'ffmpeg')
+
+frames = []
+for v in vid.iter_data():
+    frames.append(skimage.color.rgb2gray(v))
+```
\ No newline at end of file
-- 
GitLab