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>
例子
貢獻
在您貢獻之前,請先閱讀我們的貢獻指南。