|
@@ -4,7 +4,35 @@
|
|
|
"cell_type": "markdown",
|
|
|
"id": "2d8ed766-0b2d-424e-8253-ca8a717d3f93",
|
|
|
"metadata": {},
|
|
|
- "source": []
|
|
|
+ "source": [
|
|
|
+ "# 1. 回顾)"
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "cell_type": "markdown",
|
|
|
+ "id": "0dc292a7-7512-4990-88a1-513d4c6bbbf7",
|
|
|
+ "metadata": {},
|
|
|
+ "source": [
|
|
|
+ ">1. Git上传 >2. 图像的处理 > |- 访问像素(元素) > |- 修改像素(元素访问,块访问)"
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "cell_type": "markdown",
|
|
|
+ "id": "cb20e5f5-e9cb-48cb-b60f-a0e2a2e81da3",
|
|
|
+ "metadata": {},
|
|
|
+ "source": [
|
|
|
+ "# 2. 图像的像素"
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "cell_type": "markdown",
|
|
|
+ "id": "70a5b23b-f403-4323-aecc-65962b789c5c",
|
|
|
+ "metadata": {},
|
|
|
+ "source": [
|
|
|
+ "> 图像的是数组(矩阵表达成一个数组,图像==矩阵,图像是3维矩阵(H,W,C)) > BMP:C=3, JPG:C=3, PNG:C=4(alpha通道),灰度图像:C=1(结论:图像通道1,3,4:matplotlib把矩阵作为图像显示,只显示三维:,第三维度必须是1,3,4)\n",
|
|
|
+ "\n",
|
|
|
+ "> 图像的块操作"
|
|
|
+ ]
|
|
|
},
|
|
|
{
|
|
|
"cell_type": "code",
|