Zhuxinchan 1 سال پیش
والد
کامیت
553ecbc515

+ 2 - 1
README.md

@@ -2,4 +2,5 @@
 **任务**
 **内容**
 **要求**
-**提交**
+**提交**
+5555、

+ 3 - 0
commit.bat

@@ -0,0 +1,3 @@
+git add*
+git commit -m "×÷Òµ"
+git push -u origin master

+ 6 - 0
day02/.ipynb_checkpoints/图像处理与图像特征-checkpoint.ipynb

@@ -0,0 +1,6 @@
+{
+ "cells": [],
+ "metadata": {},
+ "nbformat": 4,
+ "nbformat_minor": 5
+}

BIN
day02/codes/.ipynb_checkpoints/1-checkpoint.jpg


+ 6 - 0
day02/codes/.ipynb_checkpoints/图像处理与图像特征-checkpoint.ipynb

@@ -0,0 +1,6 @@
+{
+ "cells": [],
+ "metadata": {},
+ "nbformat": 4,
+ "nbformat_minor": 5
+}

BIN
day02/codes/1.jpg


+ 76 - 0
day02/codes/图像处理与图像特征.ipynb

@@ -0,0 +1,76 @@
+{
+ "cells": [
+  {
+   "cell_type": "code",
+   "execution_count": null,
+   "id": "434c418a-7f61-4bb2-b637-6e8b9ae3f1dc",
+   "metadata": {},
+   "outputs": [],
+   "source": [
+    "#1.图像矩阵"
+   ]
+  },
+  {
+   "cell_type": "code",
+   "execution_count": null,
+   "id": "b4e6e17c-1b49-4ff5-80ac-10d9d6540d40",
+   "metadata": {},
+   "outputs": [],
+   "source": []
+  },
+  {
+   "cell_type": "code",
+   "execution_count": 1,
+   "id": "21a1f071-1c82-46cb-b62e-4f2766f1936c",
+   "metadata": {},
+   "outputs": [
+    {
+     "data": {
+      "text/plain": [
+       "True"
+      ]
+     },
+     "execution_count": 1,
+     "metadata": {},
+     "output_type": "execute_result"
+    }
+   ],
+   "source": [
+    "import numpy\n",
+    "import cv2\n",
+    "img_array=[[[0,0,255,50]for i in range(255)]for j in range(255)]#255*255的图像,图像的像素[0,255,0,128]\n",
+    "img_numpy=numpy.array(img_array)\n",
+    "cv2.imwrite(\"1.jpg\",img_numpy)"
+   ]
+  },
+  {
+   "cell_type": "code",
+   "execution_count": null,
+   "id": "1ebe1ad6-c079-4527-81f0-a2ea55b455b3",
+   "metadata": {},
+   "outputs": [],
+   "source": []
+  }
+ ],
+ "metadata": {
+  "kernelspec": {
+   "display_name": "Python 3 (ipykernel)",
+   "language": "python",
+   "name": "python3"
+  },
+  "language_info": {
+   "codemirror_mode": {
+    "name": "ipython",
+    "version": 3
+   },
+   "file_extension": ".py",
+   "mimetype": "text/x-python",
+   "name": "python",
+   "nbconvert_exporter": "python",
+   "pygments_lexer": "ipython3",
+   "version": "3.9.13"
+  }
+ },
+ "nbformat": 4,
+ "nbformat_minor": 5
+}

BIN
day02/gpu.bmp


BIN
day02/sea.jpg


+ 33 - 0
day02/图像处理与图像特征.ipynb

@@ -0,0 +1,33 @@
+{
+ "cells": [
+  {
+   "cell_type": "code",
+   "execution_count": null,
+   "id": "cbe945e9-5350-4782-a81b-af5929d6570b",
+   "metadata": {},
+   "outputs": [],
+   "source": []
+  }
+ ],
+ "metadata": {
+  "kernelspec": {
+   "display_name": "Python 3 (ipykernel)",
+   "language": "python",
+   "name": "python3"
+  },
+  "language_info": {
+   "codemirror_mode": {
+    "name": "ipython",
+    "version": 3
+   },
+   "file_extension": ".py",
+   "mimetype": "text/x-python",
+   "name": "python",
+   "nbconvert_exporter": "python",
+   "pygments_lexer": "ipython3",
+   "version": "3.9.13"
+  }
+ },
+ "nbformat": 4,
+ "nbformat_minor": 5
+}

+ 0 - 0
ex01.py