ImageProcessingAlgorithms
共同图像处理算法的收集。该项目旨在通过在Python中从头开始编码数字图像处理算法> = 3.6。小烧瓶应用程序用于在网站中生成输出,以查看算法结果。
Travis-CI用于CI/CD环境。
到目前为止实施:
- 调整算法大小:
- 最近的邻居(https://en.wikipedia.org/wiki/nearest_neighbour_algorithm)
- 双线性插值(https://en.wikipedia.org/wiki/bilinear_interpolation)
- 双子插值(https://en.wikipedia.org/wiki/bicubic_interpolation)
- 其他:
- 负(https://en.wikipedia.org/wiki/negative_(Photography))
- 倾斜移动(https://pl.wikipedia.org/wiki/tilt-shift)
- RGB到HSV转换(https://en.wikipedia.org/wiki/hsl_and_hsv)
- HSV到RGB转换(https://en.wikipedia.org/wiki/hsl_and_hsv)
- 颜色口音
- 语气
- Sepia(https://en.wikipedia.org/wiki/photographic_print_toning#sepia_toning)
- 抖动
- Floyd-Steinberg(https://en.wikipedia.org/wiki/floyd%E2%80%93steinberg_dithering)
- Jarvis Judice Ninke(https://en.wikipedia.org/wiki/dither)
- stucki(https://en.wikipedia.org/wiki/dither)
- 卷积
- 边缘检测(https://en.wikipedia.org/wiki/kernel_(image_processing))
安装
git clone https://github.com/mateuszz0000/imgprocalgs
pip install -U imgprocalgs/
用法
为每种类型的算法准备了不同的入口点:
imgprocalgs-sepia <OPTIONS>
imgprocalgs-tiltshift <OPTIONS>
imgprocalgs-dithering <OPTIONS>
imgprocalgs-negative <OPTIONS>
imgprocalgs-color-accent <OPTIONS>
例子
贡献
在您贡献之前,请先阅读我们的贡献指南。