Skip to content

Commit 1f2a8bd

Browse files
committed
Use note directive.
1 parent 40e2850 commit 1f2a8bd

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

content/tutorial-svd.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,18 @@ from scipy.datasets import face
4343
img = face()
4444
```
4545

46-
**Note**: If you prefer, you can use your own image as you work through this tutorial. In order to transform your image into a NumPy array that can be manipulated, you can use the `imread` function from the [matplotlib.pyplot](https://matplotlib.org/api/_as_gen/matplotlib.pyplot.html#module-matplotlib.pyplot) submodule. Alternatively, you can use the [imageio.imread](https://imageio.readthedocs.io/en/stable/_autosummary/imageio.v3.imread.html) function from the `imageio` library. Be aware that if you use your own image, you'll likely need to adapt the steps below. For more information on how images are treated when converted to NumPy arrays, see [A crash course on NumPy for images](https://scikit-image.org/docs/stable/user_guide/numpy_images.html) from the `scikit-image` documentation.
46+
```{note}
47+
If you prefer, you can use your own image as you work through this tutorial.
48+
In order to transform your image into a NumPy array that can be manipulated, you
49+
can use the `imread` function from the
50+
[matplotlib.pyplot](https://matplotlib.org/api/_as_gen/matplotlib.pyplot.html#module-matplotlib.pyplot) submodule.
51+
Alternatively, you can use the
52+
[imageio.imread](https://imageio.readthedocs.io/en/stable/_autosummary/imageio.v3.imread.html)
53+
function from the `imageio` library.
54+
Be aware that if you use your own image, you'll likely need to adapt the steps below.
55+
For more information on how images are treated when converted to NumPy arrays,
56+
see [A crash course on NumPy for images](https://scikit-image.org/docs/stable/user_guide/numpy_images.html) from the `scikit-image` documentation.
57+
```
4758

4859
+++
4960

0 commit comments

Comments
 (0)