@@ -72,11 +72,10 @@ real world images will typically be made up of a vast number of pixels,
72
72
and each of these pixels will be one of potentially millions of colours.
73
73
While we will deal with pictures of such complexity shortly,
74
74
let's start our exploration with 15 pixels in a 5 X 3 matrix with 2 colours and
75
- work our way up to that complexity,
76
- but first the necessary imports.
75
+ work our way up to that complexitywork our way up to that complexity.
77
76
78
77
> ## Matrices, arrays, images and pixels
79
- > The ** matrix** is a mathematical concept - numbers evenly arranged in a rectangle. This can be a two dimensional rectangle,
78
+ > The ** matrix** is mathematical concept - numbers evenly arranged in a rectangle. This can be a two dimensional rectangle,
80
79
> like the shape of the screen you're looking at now. Or it could be a three dimensional equivalent, a cuboid, or have
81
80
> even more dimensions, but always keeping the evenly spaced arrangement of numbers. In computing, ** array** refers
82
81
> to a structure in the computer's memory where data is stored in evenly-spaced ** elements** . This is strongly analogous
@@ -85,6 +84,9 @@ but first the necessary imports.
85
84
> in its memory. The important thing is that the computer stores values describing the pixels in images, as arrays. And
86
85
> the terms matrix and array can be used intechangably.
87
86
{: .callout}
87
+
88
+ First, the necessary imports:
89
+
88
90
~~~
89
91
"""
90
92
* Python libraries for learning and performing image processing.*
0 commit comments