Skip to content

Commit be96d1d

Browse files
committed
Fix formal inconsistencies
1 parent de250f6 commit be96d1d

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

episodes/02-image-basics.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -70,13 +70,13 @@ the terms matrix and array will be used interchangeably.
7070

7171
::::::::::::::::::::::::::::::::::::::::::::::::::
7272

73-
## Working with Pixels
73+
## Working with pixels
7474

7575
As noted, in practice,
7676
real-world images will typically be made up of a vast number of pixels,
7777
and each of these pixels will be one of potentially millions of colours.
7878
While we will deal with pictures of such complexity shortly,
79-
let's start our exploration with 15 pixels in a 5 X 3 matrix with 2 colours and
79+
let's start our exploration with 15 pixels in a 5 x 3 matrix with 2 colours and
8080
work our way up to that complexity.
8181

8282
First, the necessary imports:
@@ -96,7 +96,7 @@ enables us to read and write images.
9696

9797
:::::::::::::::::::::::::::::::::::::::: callout
9898

99-
## Import Statements in Python
99+
## Import statements in Python
100100

101101
In Python, the `import` statement is used to
102102
load additional functionality into a program.
@@ -117,7 +117,7 @@ import skimage as ski # form 4, load all of skimage into an object call
117117

118118
:::::::::::::::: spoiler
119119

120-
## Further Explanation
120+
## Further explanation
121121

122122
In the example above, form 1 loads the entire scikit-image library into the
123123
program as an object.
@@ -407,7 +407,7 @@ Here we only have a single channel in the data and utilize a grayscale color map
407407
to represent the luminance, or intensity of the data and correspondingly
408408
this channel is referred to as the luminance channel.
409409

410-
## Even More Colours
410+
## Even more colours
411411

412412
This is all well and good at this scale,
413413
but what happens when we instead have a picture of a natural landscape that
@@ -421,7 +421,7 @@ for individual contributions to a pixel to be adjusted independently.
421421
This ability to manipulate properties of groups of pixels separately will be
422422
key to certain techniques explored in later chapters of this lesson.
423423
To get started let's see an example of how different dimensions of information
424-
combine to produce a set of pixels using a 4 X 4 matrix with 3 dimensions
424+
combine to produce a set of pixels using a 4 x 4 matrix with 3 dimensions
425425
for the colours red, green, and blue.
426426
Rather than loading it from a file, we will generate this example using NumPy.
427427

@@ -524,7 +524,7 @@ When all three channels are combined though,
524524
the blue light of those squares is being diluted by the relative strength
525525
of red and green being mixed in with them.
526526

527-
## 24-bit RGB Colour
527+
## 24-bit RGB colour
528528

529529
This last colour model we used,
530530
known as the *RGB (Red, Green, Blue)* model, is the most common.
@@ -846,7 +846,7 @@ JPEG images can be viewed and manipulated easily on all computing platforms.
846846
## Examining actual image sizes (optional, not included in timing)
847847

848848
Let us see the effects of image compression on image size with actual images.
849-
The following script creates a square white image 5000 X 5000 pixels,
849+
The following script creates a square white image 5000 x 5000 pixels,
850850
and then saves it as a BMP and as a JPEG image.
851851

852852
```python

0 commit comments

Comments
 (0)