Skip to content

Commit 34f3dda

Browse files
committed
ize -> ise
1 parent 8d50e90 commit 34f3dda

File tree

5 files changed

+17
-17
lines changed

5 files changed

+17
-17
lines changed

_extras/edge-detection.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ This method uses a series of steps, some incorporating other types of edge detec
8282
The skimage `skimage.feature.canny()` function performs the following steps:
8383

8484
1. A Gaussian blur
85-
(that is characterized by the `sigma` parameter,
85+
(that is characterised by the `sigma` parameter,
8686
see [_Blurring Images_]({{ page.root }}{% link _episodes/06-blurring.md %}))
8787
is applied to remove noise from the image.
8888
(So if we are doing edge detection via this function,
@@ -248,7 +248,7 @@ Then, when we run the program, we can use the sliders to
248248
vary the values of the sigma and threshold parameters
249249
until we are satisfied with the results.
250250
After we have determined suitable values,
251-
we can use the simpler program to utilize the parameters without
251+
we can use the simpler program to utilise the parameters without
252252
bothering with the user interface and sliders.
253253

254254
Here is a Python program that shows how to apply Canny edge detection,
@@ -471,5 +471,5 @@ check out in [the documentation](https://scikit-image.org/docs/dev/api/skimage.v
471471
472472
As with blurring, there are other options for finding edges in skimage.
473473
These include `skimage.filters.sobel()`,
474-
which you will recognize as part of the Canny method.
474+
which you will recognise as part of the Canny method.
475475
Another choice is `skimage.filters.laplace()`.

episodes/01-introduction.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ questions:
77
computer vision?"
88
- "What are morphometric problems?"
99
objectives:
10-
- "Recognize scientific questions that could be solved with image processing
10+
- "Recognise scientific questions that could be solved with image processing
1111
/ computer vision."
12-
- "Recognize morphometric problems (those dealing with the number, size, or
12+
- "Recognise morphometric problems (those dealing with the number, size, or
1313
shape of the objects in an image)."
1414
keypoints:
1515
- "Simple Python and skimage (scikit-image) techniques can be used to solve genuine

episodes/02-image-basics.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ we need to spend some time understanding how these abstractions work.
4040

4141
## Pixels
4242

43-
It is important to realize that images are stored as rectangular arrays
43+
It is important to realise that images are stored as rectangular arrays
4444
of hundreds, thousands, or millions of discrete "picture elements,"
4545
otherwise known as *pixels*.
4646
Each pixel can be thought of as a single square point of coloured light.
@@ -526,7 +526,7 @@ A larger number in a channel means that more of that primary colour is present.
526526
>
527527
> > ## Solution
528528
> >
529-
> > 1. (255, 0, 0) represents red, because the red channel is maximized, while
529+
> > 1. (255, 0, 0) represents red, because the red channel is maximised, while
530530
> > the other two channels have the minimum values.
531531
> > 2. (0, 255, 0) represents green.
532532
> > 3. (0, 0, 255) represents blue.
@@ -596,7 +596,7 @@ Such an image is an example of *raster graphics*.
596596
597597
## Image formats
598598
599-
Although the images we will manipulate in our programs are conceptualized as
599+
Although the images we will manipulate in our programs are conceptualised as
600600
rectangular arrays of RGB triplets,
601601
they are not necessarily created, stored, or transmitted in that format.
602602
There are several image formats we might encounter,
@@ -611,7 +611,7 @@ Some formats we might encounter, and their file extensions, are shown in this ta
611611
612612
## BMP
613613
614-
The file format that comes closest to our preceding conceptualization of images
614+
The file format that comes closest to our preceding conceptualisation of images
615615
is the Device-Independent Bitmap, or BMP, file format.
616616
BMP files store raster graphics images as long sequences of binary-encoded numbers
617617
that specify the colour of each pixel in the image.
@@ -714,12 +714,12 @@ If you already know, you can skip to the challenge below.
714714
Since image files can be very large,
715715
various *compression* schemes exist for saving
716716
(approximately) the same information while using less space.
717-
These compression techniques can be categorized as *lossless* or *lossy*.
717+
These compression techniques can be categorised as *lossless* or *lossy*.
718718
719719
### Lossless compression
720720
721721
In lossless image compression,
722-
we apply some algorithm (i.e., a computerized procedure) to the image,
722+
we apply some algorithm (i.e., a computerised procedure) to the image,
723723
resulting in a file that is significantly smaller than
724724
the uncompressed BMP file equivalent would be.
725725
Then, when we wish to load and view or process the image,
@@ -949,7 +949,7 @@ take precautions to always preserve the original files**.
949949
950950
## Summary of image formats used in this lesson
951951
952-
The following table summarizes the characteristics of the BMP, JPEG, and TIFF
952+
The following table summarises the characteristics of the BMP, JPEG, and TIFF
953953
image formats:
954954
955955
| Format | Compression | Metadata | Advantages | Disadvantages |

episodes/05-creating-histograms.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ As it pertains to images, a *histogram* is a graphical representation showing
2828
how frequently various colour values occur in the image.
2929
We saw in
3030
[the _Image Basics_ episode]({{ page.root }}{% link _episodes/02-image-basics.md %})
31-
that we could use a histogram to visualize
31+
that we could use a histogram to visualise
3232
the differences in uncompressed and compressed image formats.
3333
If your project involves detecting colour changes between images,
3434
histograms will prove to be very useful,
@@ -164,7 +164,7 @@ it produces this histogram:
164164
> We will not use it in this lesson in order to understand how to
165165
> calculate histograms in more detail.
166166
> In practice, it is a good idea to use this function,
167-
> because it visualizes histograms more appropriately than `plt.plot()`.
167+
> because it visualises histograms more appropriately than `plt.plot()`.
168168
> Here, you could use it by calling
169169
> `plt.hist(image.flatten(), bins=256, range=(0, 1))`
170170
> instead of

episodes/08-connected-components.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ objectives:
99
- "Learn about pixel connectivity."
1010
- "Learn how Connected Component Analysis (CCA) works."
1111
- "Use CCA to produce an image that highlights every object in a different colour."
12-
- "Characterize each object with numbers that describe its appearance."
12+
- "Characterise each object with numbers that describe its appearance."
1313
keypoints:
1414
- "We can use `skimage.measure.label` to find and label connected objects in an image."
1515
- "We can use `skimage.measure.regionprops` to measure properties of labeled objects."
@@ -66,7 +66,7 @@ Note that for brevity,
6666
~~~
6767
{: .output}
6868

69-
The pixels are organized in a rectangular grid.
69+
The pixels are organised in a rectangular grid.
7070
In order to understand pixel neighborhoods
7171
we will introduce the concept of "jumps" between pixels.
7272
The jumps follow two rules:
@@ -347,7 +347,7 @@ to convert the colours in the image
347347
(recall that we already used the `skimage.color.rgb2gray()` function
348348
to convert to grayscale).
349349
With `skimage.color.label2rgb()`,
350-
all objects are coloured according to a list of colours that can be customized.
350+
all objects are coloured according to a list of colours that can be customised.
351351
We can use the following commands to convert and show the image:
352352
353353
~~~

0 commit comments

Comments
 (0)