Update 13-05-2017: It's an image filter entirely written by myself.
MIT license. Contributions welcome.
Image-Filter/ root directory
|
+-- src/ code files that implement the function
|
+-- Image_Origin/ images which be chosen to filtering
|
+-- Image_Generated/ images which be generated after filtering
|
+-- README.md manual of project
|
+-- LICENSE.md license of project
|
+-- requirements.txt environment required for this program
There are 11 filters can choose:
- 1. Naive Filter 原图滤波(相当于无变化)
- 2. Sharpness_Center Filter 中心锐化 滤波
- 3. Sharpness_Edge Filter 边缘锐化 滤波
- 4. Edge_Detection_360° Filter 360°边缘检测 滤波
- 5. Edge_Detection_45° Filter 45°边缘检测 滤波
- 6. Embossing_45° Filter 45°浮雕 滤波
- 7. Embossing_Asymmetric Filter 非对称浮雕 滤波
- 8. Averaging_Blur Filter 均值模糊 滤波
- 9. Completed_Blur Filter 完全模糊 滤波
- 10. Motion_Blur Filter 运动模糊 滤波
- 11. Gaussian_Blur Filter 高斯模糊 滤波
Choose the filter you need, and the filtered image will generated at folder Image_Generated/
.
选择你需要的滤波器,卷积结果会自动保存在 Image_Generated/
文件夹。
- Run
python src/main.py
to generated the image you need. Need to wait patiently for a while to get results. - In
src/main.py
, you can also design a filter yourself to experiment.
- 运行
python src / main.py
来生成你需要的图像,卷积结果需要耐心等待一会儿。 - 在
src/main.py
中,自己还可以设计一个滤波器来做实验以加深对滤波器的了解。
-
Python
-
OpenCV