Created
February 3, 2021 16:53
-
-
Save soykan/a59925a8dabf4275a18dcbd5b5a0e3bd to your computer and use it in GitHub Desktop.
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
| import cv2 | |
| import numpy as np | |
| lena_low_contrast = cv2.imread('lena-low-contrast.jpeg', cv2.IMREAD_GRAYSCALE) | |
| cv2.imshow('Lena Low Contrast', lena_low_contrast) | |
| lena = cv2.equalizeHist(lena_low_contrast) | |
| cv2.imshow('Lena', lena) | |
| cv2.waitKey(0) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment