Commit 9db9fced authored by Taddeüs Kroes's avatar Taddeüs Kroes

Added Image Processing folder and first assignment.

parent 14d73821
from pylab import clf, histogram, np, imshow
def cst(f):
fmin = amin(f)
fmax = amax(f)
return (f - fmin) / (fmax - fmin)
a = np.load('lowcontrast.npy')
clf()
imshow(a, vmin=0, vmax=1)
h, be = histogram(a.flatten(), bins=40)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment