mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-07-04 08:50:41 +08:00
[pre-commit.ci] pre-commit autoupdate (#11322)
* [pre-commit.ci] pre-commit autoupdate updates: - [github.com/astral-sh/ruff-pre-commit: v0.2.2 → v0.3.2](https://github.com/astral-sh/ruff-pre-commit/compare/v0.2.2...v0.3.2) - [github.com/pre-commit/mirrors-mypy: v1.8.0 → v1.9.0](https://github.com/pre-commit/mirrors-mypy/compare/v1.8.0...v1.9.0) * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
![66853113+pre-commit-ci[bot]@users.noreply.github.com](/assets/img/avatar_default.png)
committed by
GitHub

parent
5f95d6f805
commit
bc8df6de31
@ -1,6 +1,7 @@
|
||||
"""
|
||||
Implemented an algorithm using opencv to convert a colored image into its negative
|
||||
Implemented an algorithm using opencv to convert a colored image into its negative
|
||||
"""
|
||||
|
||||
from cv2 import destroyAllWindows, imread, imshow, waitKey
|
||||
|
||||
|
||||
|
@ -1,6 +1,7 @@
|
||||
"""
|
||||
Implementation Burke's algorithm (dithering)
|
||||
"""
|
||||
|
||||
import numpy as np
|
||||
from cv2 import destroyAllWindows, imread, imshow, waitKey
|
||||
|
||||
|
@ -9,6 +9,7 @@ Inputs:
|
||||
Output:
|
||||
img:A 2d zero padded image with values in between 0 and 1
|
||||
"""
|
||||
|
||||
import math
|
||||
import sys
|
||||
|
||||
|
@ -1,6 +1,7 @@
|
||||
"""
|
||||
Implementation of gaussian filter algorithm
|
||||
"""
|
||||
|
||||
from itertools import product
|
||||
|
||||
from cv2 import COLOR_BGR2GRAY, cvtColor, imread, imshow, waitKey
|
||||
|
@ -1,6 +1,7 @@
|
||||
"""
|
||||
Implementation of median filter algorithm
|
||||
"""
|
||||
|
||||
from cv2 import COLOR_BGR2GRAY, cvtColor, imread, imshow, waitKey
|
||||
from numpy import divide, int8, multiply, ravel, sort, zeros_like
|
||||
|
||||
|
@ -3,6 +3,7 @@ Created on Fri Sep 28 15:22:29 2018
|
||||
|
||||
@author: Binish125
|
||||
"""
|
||||
|
||||
import copy
|
||||
import os
|
||||
|
||||
|
@ -1,4 +1,5 @@
|
||||
""" Multiple image resizing techniques """
|
||||
"""Multiple image resizing techniques"""
|
||||
|
||||
import numpy as np
|
||||
from cv2 import destroyAllWindows, imread, imshow, waitKey
|
||||
|
||||
|
@ -1,6 +1,7 @@
|
||||
"""
|
||||
Implemented an algorithm using opencv to tone an image with sepia technique
|
||||
Implemented an algorithm using opencv to tone an image with sepia technique
|
||||
"""
|
||||
|
||||
from cv2 import destroyAllWindows, imread, imshow, waitKey
|
||||
|
||||
|
||||
|
@ -1,6 +1,7 @@
|
||||
"""
|
||||
PyTest's for Digital Image Processing
|
||||
"""
|
||||
|
||||
import numpy as np
|
||||
from cv2 import COLOR_BGR2GRAY, cvtColor, imread
|
||||
from numpy import array, uint8
|
||||
|
Reference in New Issue
Block a user