Skip to content
Snippets Groups Projects
Commit 9db9fced authored by Taddeüs Kroes's avatar Taddeüs Kroes
Browse files

Added Image Processing folder and first assignment.

parent 14d73821
No related branches found
No related tags found
No related merge requests found
improc/ass1/lowcontrast.png

202 KiB

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)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment