@@ -12,67 +12,70 @@ objectives:
12
12
- " Recognize morphometric problems (those dealing with the number, size, or
13
13
shape of the objects in an image)."
14
14
keypoints :
15
- - " Simple Python and skimage (scikit-image) techniques can be used to solve genuine
15
+ - " Simple Python and skimage (scikit-image) techniques can be used to solve genuine
16
16
image analysis problems."
17
17
- " Morphometric problems involve the number, shape, and / or size of the
18
18
objects in an image."
19
19
---
20
20
21
21
We can use relatively simple image processing and computer vision techniques in
22
- Python, using the [ skimage] ( https://scikit-image.org/ ) library. With careful
23
- experimental design, a digital camera or a flatbed scanner, in conjunction with
24
- some Python code, can be a powerful instrument in answering many different
25
- kinds of problems. Consider the following problem that might be
26
- of interest to a scientist.
22
+ Python, using the [ skimage] ( https://scikit-image.org/ ) library.
23
+ With careful experimental design, a digital camera or a flatbed scanner,
24
+ in conjunction with some Python code,
25
+ can be a powerful instrument in answering many different kinds of problems.
26
+ Consider the following problem that might be of interest to a scientist.
27
27
28
28
## Morphometrics
29
29
30
- Morphometrics involves counting the number of objects in an
31
- image, analyzing the size of the objects, or analyzing the shape of the
32
- objects. For example, we might be interested in automatically counting the
33
- number of bacterial colonies growing in a Petri dish, as shown in this
34
- image:
30
+ Morphometrics involves counting the number of objects in an image,
31
+ analyzing the size of the objects,
32
+ or analyzing the shape of the objects.
33
+ For example, we might be interested in automatically counting
34
+ the number of bacterial colonies growing in a Petri dish,
35
+ as shown in this image:
35
36
36
37
![ Bacteria colony] ( ../fig/colonies-01.jpg )
37
38
38
- We could use image processing to find the colonies, count them, and
39
- then highlight their locations on the original image, resulting in an
40
- image like this:
39
+ We could use image processing to find the colonies, count them,
40
+ and then highlight their locations on the original image,
41
+ resulting in an image like this:
41
42
42
43
![ Colonies counted] ( ../fig/colony-mask.png )
43
44
44
45
> ## Why write a program to do that?
45
46
>
46
- > Note that you can easily manually count the number of bacteria colonies shown
47
- > in the morphometric example above. Why should we learn how to write a Python
48
- > program to do a task we could easily perform with our own eyes? There are at
49
- > least two reasons to learn how to perform tasks like these with Python and
50
- > skimage:
47
+ > Note that you can easily manually count the number of bacteria colonies
48
+ > shown in the morphometric example above.
49
+ > Why should we learn how to write a Python program to do a task
50
+ > we could easily perform with our own eyes?
51
+ > There are at least two reasons to learn how to perform tasks like these
52
+ > with Python and skimage:
51
53
>
52
- > 1 . What if there are many more bacteria colonies in the Petri dish? For
53
- > example, suppose the image looked like this:
54
+ > 1 . What if there are many more bacteria colonies in the Petri dish?
55
+ > For example, suppose the image looked like this:
54
56
>
55
57
> 
56
58
>
57
- > Manually counting the colonies in that image would present more of a
58
- > challenge. A Python program using skimage could count the number of
59
- > colonies more accurately, and much more quickly, than a human could.
59
+ > Manually counting the colonies in that image would present more of a challenge.
60
+ > A Python program using skimage could count the number of colonies more accurately,
61
+ > and much more quickly, than a human could.
60
62
>
61
- > 2 . What if you have hundreds, or thousands, of images to consider? Imagine
62
- > having to manually count colonies on several thousand images like
63
- > those above. A Python program using skimage could move through all of
64
- > the images in seconds; how long would a graduate student require to do
65
- > the task? Which process would be more accurate and repeatable?
63
+ > 2 . What if you have hundreds, or thousands, of images to consider?
64
+ > Imagine having to manually count colonies on several thousand images
65
+ > like those above.
66
+ > A Python program using skimage could move through all of the images in seconds;
67
+ > how long would a graduate student require to do the task?
68
+ > Which process would be more accurate and repeatable?
66
69
>
67
70
> As you can see, the simple image processing / computer vision techniques you
68
71
> will learn during this workshop can be very valuable tools for scientific
69
72
> research.
70
73
{: .callout}
71
74
72
- As we move through this workshop, we will learn image analysis methods
73
- useful for many different scientific problems. These will be linked together
74
- and applied to a real problem in the final end-of-workshop
75
- [ capstone challenge] ( {{page.root}}/09-challenges/ ) .
75
+ As we move through this workshop,
76
+ we will learn image analysis methods useful for many different scientific problems.
77
+ These will be linked together and applied to a real problem in
78
+ the final end-of-workshop [ capstone challenge] ( {{page.root}}/09-challenges/ ) .
76
79
77
- Let's get started, by learning some basics about how images are represented and
78
- stored digitally.
80
+ Let's get started,
81
+ by learning some basics about how images are represented and stored digitally.
0 commit comments