Skip to content

Instantly share code, notes, and snippets.

@letthedataconfess
Created September 20, 2021 16:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save letthedataconfess/debd110a8e8d1ea9c4acd3a77a84f52d to your computer and use it in GitHub Desktop.
Save letthedataconfess/debd110a8e8d1ea9c4acd3a77a84f52d to your computer and use it in GitHub Desktop.
img = cv2.imread("frag.png")
img = cv2.cvtColor(img, cv2.COLOR_BGR2RGB)
denoised = cv2.fastNlMeansDenoising(img, denoised, 15, 10, 50)
plt.imshow(denoised)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment