Article Outline
Python matplotlib example 'histogram equalization imports'
Modules used in program:
import matplotlib.pyplot as plt
import numpy as np
python histogram equalization imports
Python matplotlib example: histogram equalization imports
%matplotlib inline
from IPython.display import display, Math, Latex
import numpy as np
import matplotlib.pyplot as plt
from PIL import Image
img = Image.open('lung.jpg')
# display the image
plt.imshow(img, cmap='gray')
Python links
- Learn Python: https://pythonbasics.org/
- Python Tutorial: https://pythonprogramminglanguage.com