Skip to content
Snippets Groups Projects
Commit d0e65ca3 authored by Vedrana Andersen Dahl's avatar Vedrana Andersen Dahl
Browse files

Create Links.md

parent 33e2bf86
No related branches found
No related tags found
No related merge requests found
# 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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment