...
 
Commits (2)
......@@ -2,3 +2,4 @@
.sass-cache*
Gemfile.lock
_site*
*.swp
......@@ -191,7 +191,9 @@ Show activity for: <select id="id_activity_platform" name="activityplatformlist"
{% endif %}
{% if page.exercises %}
Perform additional excercises for: <select id="id_exercises_platform" name="exercisesplatformlist" onchange="change_exercises_content_by_platform('id_exercises_platform');return false;">
<br>
<br>
Perform additional excercises, specifically for: <select id="id_exercises_platform" name="exercisesplatformlist" onchange="change_exercises_content_by_platform('id_exercises_platform');return false;">
{% assign first = true %}
{% endif %}
{% for platform in page.exercises %}
......
// create binarization exercise image
newImage("xy_8bit__binarization", "8-bit black", 200, 200, 1);
makeOval(36, 45, 125, 119);
run("Add...", "value=25");
makeRectangle(88, 18, 10, 71);
run("Add...", "value=25");
makeRectangle(75, 65, 109, 10);
run("Add...", "value=25");
run("Add Specified Noise...", "standard=5");
\ No newline at end of file
......@@ -32,7 +32,16 @@ exercises_preface: >
### Fill in the blanks
- Pixels in a binary image can have maximally ___ different values.
- If the threshold is larger than the maximal pixel value in the intensity image, all pixels in the binary image have a value of ___.
- If the threshold is larger than the maximal pixel value in the intensity image, all pixels in the derived binary image will have a value of ___.
### Find the thresholds
- Open image: "xy_8bit__binarization_exercise.tif".<br>
- How many 'signficiantly different' (by more than 10 gray values) threshold values can you find such that there is exactly one connected foreground region?
<details>
<summary>Solution</summary>
There are four such threshold values, e.g. 8, 46, 94, and 111. There are more, but they are within 10 gray values of those four and thus, according to the rules of this exercise, do not count as significantly different.
</details>
exercises:
"ImageJ GUI": "binarization/exercises/binarization_imagejgui.md"
......