Skip to content

Commit 4557fa2

Browse files
committed
markdown source builds
Auto-generated via {sandpaper} Source : 4c90046 Branch : main Author : Toby Hodges <tobyhodges@carpentries.org> Time : 2023-12-15 12:43:39 +0000 Message : Merge pull request #314 from bear-rsg/thresholding-suggestions Problem with solution for thresholding exercise
1 parent b175e96 commit 4557fa2

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

07-thresholding.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,8 @@ you think would be a good value for the threshold `t`?
228228
The histogram for the `data/shapes-02.jpg` image can be shown with
229229

230230
```python
231-
gray_shapes = iio.imread(uri="data/shapes-02.jpg", mode="L")
231+
shapes = iio.imread(uri="data/shapes-02.jpg")
232+
gray_shapes = ski.color.rgb2gray(shapes)
232233
histogram, bin_edges = np.histogram(gray_shapes, bins=256, range=(0.0, 1.0))
233234

234235
fig, ax = plt.subplots()

md5sum.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"episodes/04-drawing.md" "9d78a765f5e9747ffc2aa43a4a5a414d" "site/built/04-drawing.md" "2023-09-05"
1010
"episodes/05-creating-histograms.md" "59c07192c0a6217e8a42d3e7365025f9" "site/built/05-creating-histograms.md" "2023-12-08"
1111
"episodes/06-blurring.md" "8d109bb4c49f27f54857f6d35b4c6b9a" "site/built/06-blurring.md" "2023-12-08"
12-
"episodes/07-thresholding.md" "7ae5260f90e1df8e20a6226cce8ec6b6" "site/built/07-thresholding.md" "2023-09-05"
12+
"episodes/07-thresholding.md" "bc0b3a64255ef9dd359d4cf3188aba83" "site/built/07-thresholding.md" "2023-12-15"
1313
"episodes/08-connected-components.md" "59d42797208c5bf569da2fa2e4dd05df" "site/built/08-connected-components.md" "2023-09-09"
1414
"episodes/09-challenges.md" "a3ace24af8f5cb0bda1e9379a688ad4c" "site/built/09-challenges.md" "2023-09-05"
1515
"instructors/instructor-notes.md" "b1c166a544eb4b9b91f3ac8f2dafd549" "site/built/instructor-notes.md" "2023-05-12"

0 commit comments

Comments
 (0)