diff --git a/README.md b/README.md new file mode 100755 index 0000000..55c3a5e --- /dev/null +++ b/README.md @@ -0,0 +1,39 @@ +# CV Experiment + +这是一个计算机视觉实验项目,包含多个实验的Jupyter Notebook文件。 + +## 文件说明 + +- `1-5.ipynb`: 实验1-5的Notebook +- `3-3.ipynb`: 实验3-3的Notebook +- 图像文件: 包含一些测试图像,如Lena.bmp, rice.png等,用于实验处理 + +## 如何运行 + +1. 确保安装了Python和Jupyter Notebook +2. 打开终端,导航到项目目录 +3. 运行 `jupyter notebook` 启动Jupyter服务器 +4. 在浏览器中打开相应的.ipynb文件 + +## 依赖 + +请检查Notebook中的导入语句,通常需要: +- numpy +- matplotlib +- pillow +- scikit-image + +可以使用以下命令安装依赖: +``` +pip install -r requirements.txt +``` + +或手动安装: +``` +pip install numpy matplotlib pillow scikit-image +``` + +## 注意事项 + +- 确保图像文件路径正确 +- 实验结果可能因环境而异 \ No newline at end of file diff --git a/requirements.txt b/requirements.txt new file mode 100755 index 0000000..09ad711 --- /dev/null +++ b/requirements.txt @@ -0,0 +1,4 @@ +numpy +matplotlib +pillow +scikit-image \ No newline at end of file