back to normal run
This commit is contained in:
parent
c9aca677d7
commit
0fe7c35ef2
@ -224,8 +224,8 @@ if __name__=="__main__":
|
|||||||
h = 4320 *2
|
h = 4320 *2
|
||||||
dis = 2400 *2
|
dis = 2400 *2
|
||||||
max_angle = 1.1*np.arctan(np.sqrt(1+(h*h+w*w/4)/(dis*dis)))
|
max_angle = 1.1*np.arctan(np.sqrt(1+(h*h+w*w/4)/(dis*dis)))
|
||||||
# angles,sRGB=rainbow(10000, max_angle, 10)
|
angles,sRGB=rainbow(10000, max_angle, 10)
|
||||||
# np.savez_compressed("saved.npz", a=angles, b=sRGB)
|
np.savez_compressed("saved.npz", a=angles, b=sRGB)
|
||||||
loaded = np.load("saved.npz")
|
# loaded = np.load("saved.npz")
|
||||||
angles, sRGB = loaded['a'], loaded['b']
|
# angles, sRGB = loaded['a'], loaded['b']
|
||||||
take_picture(angles,sRGB, w, h, dis, "image16k.png")
|
take_picture(angles,sRGB, w, h, dis, "image16k.png")
|
||||||
|
Loading…
Reference in New Issue
Block a user