Skip to content

Commit 01474e5

Browse files
committed
markdown source builds
Auto-generated via `{sandpaper}` Source : 9a14d46 Branch : main Author : lauracmurphy <Laura.murphy@igmm.ed.ac.uk> Time : 2025-03-24 13:28:15 +0000 Message : Update 03-thresholding-and-segmentation.md Fixing the mixtake I created. I changed the variable in one of the exercises but only once.
1 parent 59b31c1 commit 01474e5

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

03-thresholding-and-segmentation.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,14 +31,14 @@ from skimage.data import cells3d
3131
from skimage.filters import gaussian
3232

3333
smoothed_image = gaussian(cells3d()[30, 1, :, :])
34-
print(image.min(), image.max(), image.dtype)
34+
print(smoothed_image.min(), smoothed_image.max(), smoothed_image.dtype)
3535

3636
plt.subplot(1, 2, 1)
37-
plt.imshow(image, cmap='gray')
37+
plt.imshow(smoothed_image, cmap='gray')
3838
plt.title('Gaussian filter')
3939

4040
plt.subplot(1, 2, 2)
41-
binary_image = image > 0.12
41+
binary_image = smoothed_image > 0.12
4242
plt.imshow(binary_image)
4343
plt.title('Threshold > 0.12')
4444
```

md5sum.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"links.md" "8184cf4149eafbf03ce8da8ff0778c14" "site/built/links.md" "2024-01-16"
77
"episodes/01-opening-and-checking-an-image.md" "2b34c67cb7e97b0ff78bb88583a71322" "site/built/01-opening-and-checking-an-image.md" "2025-03-21"
88
"episodes/02-applying-filters.md" "fef7b62a9be6493b577541097edf3f42" "site/built/02-applying-filters.md" "2025-03-21"
9-
"episodes/03-thresholding-and-segmentation.md" "49a1afad4c972a641bbd46e55d65d23d" "site/built/03-thresholding-and-segmentation.md" "2025-03-18"
9+
"episodes/03-thresholding-and-segmentation.md" "9bbd14dc123f48a73405070a4560e9ab" "site/built/03-thresholding-and-segmentation.md" "2025-03-24"
1010
"episodes/04-measurements.md" "da31dd44836a214786ae241a941cafc9" "site/built/04-measurements.md" "2025-03-21"
1111
"episodes/05-napari.md" "f0b27f44d99c0326756711db808510f9" "site/built/05-napari.md" "2025-03-18"
1212
"instructors/instructor-notes.md" "f1f51b19cbaaed88f1223cd2aae3db2c" "site/built/instructor-notes.md" "2025-03-21"

0 commit comments

Comments
 (0)