Code indexing in gitaly is broken and leads to code not being visible to the user. We work on the issue with highest priority.

Skip to content
Snippets Groups Projects
Commit d785bb59 authored by tekin_g's avatar tekin_g
Browse files

fix

parent 35b3d9d4
No related branches found
No related tags found
No related merge requests found
......@@ -15,8 +15,9 @@ a = sorted(a,key = lambda x : int(x.split(".")[0]))
for i,path_i in enumerate(a):
print(path_i)
datat = 1 - (read_y10(path+path_i)/ ((2**10) - 1))
datat = (read_y10(path+path_i)/ ((2**10) - 1))
cv2.normalize(datat,datat,0,1,cv2.NORM_MINMAX)
datat = 1- datat
print(np.max(datat),np.min(datat))
np.savez_compressed(output+str(i) + ".npz",datat)
#show_image(datat,"image")
......
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