This commit is contained in:
xixu-me committed 2024-09-02 16:45:42 +08:00
1 parent d31dd20355
commit 4e684ffe5c
11 files changed
+43 -36

No files matched your search

+1 -1
View File
@@ -1,6 +1,6 @@
import numpy as np
import cv2 as cv
import matplotlib.pyplot as plt
import numpy as np
def global_linear_transmation(im, c=0, d=255):
+1 -1
View File
@@ -1,6 +1,6 @@
import numpy as np
import cv2 as cv
import matplotlib.pyplot as plt
import numpy as np
def gamma_trans(img, gamma=1.0):
+2 -1
View File
@@ -1,7 +1,8 @@
import random as rd
import numpy as np
import cv2 as cv
import matplotlib.pyplot as plt
import numpy as np
def addSaltAndPepper(src, percentage):
+1 -1
View File
@@ -1,6 +1,6 @@
import cv2 as cv
from matplotlib import pyplot as plt
import numpy as np
from matplotlib import pyplot as plt
if __name__ == "__main__":
img = cv.imread(r"img\iris.jpg", 0)