Skip to content

Commit ba6f442

Browse files
committed
Update basic_image_processing.ipynb
1 parent bd7676f commit ba6f442

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

Module 4 - Machine Learning/03. Working with Image Data/1. Intro to Image Processing/basic_image_processing.ipynb

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -51,22 +51,12 @@
5151
" - Circular Cropping"
5252
]
5353
},
54-
{
55-
"cell_type": "code",
56-
"execution_count": 1,
57-
"metadata": {},
58-
"outputs": [],
59-
"source": [
60-
"import numpy as np\n",
61-
"import pandas as pd"
62-
]
63-
},
6454
{
6555
"cell_type": "markdown",
6656
"metadata": {},
6757
"source": [
6858
"## **Digital Image Representation**\n",
69-
"An image is represented as a matriz of Pixel values. Each pixel can have different values depending on the image type.\n",
59+
"An image is represented as a matrix of Pixel values. Each pixel can have different values depending on the image type.\n",
7060
"\n",
7161
"### **a. Image Types**\n",
7262
"1. **Binary Image:** Consists of pixels with values 0 (for black) and 1 (for white). Useful for black and white document scanning.\n",
@@ -106,6 +96,16 @@
10696
"The way this is represented as data is as a three-dimensional matrix. The width of the matrix is the width of the image, the height of the matrix is the height of the image, and the depth of the matrix is the number of channels. So, as we saw, the height and width of our image are both 100 pixels. This means that the underlying data is a matrix with the dimensions `100x100x3`.\n"
10797
]
10898
},
99+
{
100+
"cell_type": "code",
101+
"execution_count": 1,
102+
"metadata": {},
103+
"outputs": [],
104+
"source": [
105+
"import numpy as np\n",
106+
"import pandas as pd"
107+
]
108+
},
109109
{
110110
"cell_type": "markdown",
111111
"metadata": {},

0 commit comments

Comments
 (0)