Skip to content

Commit cabf88a

Browse files
authored
Merge pull request #19 from GothicArch/patch-1
Update 02-visualisation.md
2 parents b4a2cd3 + c53e1ad commit cabf88a

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

_episodes/02-visualisation.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,11 @@ For more detail on image representation in Python, take a look at the [Data Carp
106106

107107
![RGB image](../fig/chair-layers-rgb.png){: width="600px"}
108108

109-
For simplicity, we'll instead load the images in greyscale. A greyscale image has two dimensions: height and width. Each value in the matrix represents a tone between black (0) and white (255).
109+
For simplicity, we'll instead load the images in greyscale.
110+
A greyscale image has two dimensions: height and width.
111+
Greyscale images have only one channel.
112+
Most greyscale images are 8 bits per channel or 16 bits per channel.
113+
For a greyscale image with 8 bits per channel, each value in the matrix represents a tone between black (0) and white (255).
110114

111115
```python
112116
image = cv2.imread(example, cv2.IMREAD_GRAYSCALE)

0 commit comments

Comments
 (0)