Created
January 4, 2020 11:10
-
-
Save lucifermorningstar1305/f78884fa435a4a68838d95aba42f1b97 to your computer and use it in GitHub Desktop.
Mean Filter algorithm
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Mean_filter = np.array([[1,1,1], [1,1,1], [1,1,1]])/float(9) | |
Gm = scipy.signal.convolve2d(gray,Mean_filter,mode='same') | |
plt.imshow(Gm,cmap='gray') | |
plt.show() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment