Commit 7bb99732 authored by Zhang Xin's avatar Zhang Xin
Browse files

fix shutter effect bug

parent 21c0174d
Pipeline #5451 passed with stage
in 0 seconds
......@@ -793,7 +793,7 @@ def ShutterEffectArr(GSImage, t_exp=150, t_shutter=1.3, dist_bearing=735, dt=1E-
sizey = ymax-ymin+1
xnewgrid = np.mgrid[xmin:(xmin+sizex)]
expeffect = interpolate.splev(xnewgrid, intp, der=0)
expeffect /= np.max(expeffect)
expeffect /= t_exp
exparrnormal = np.tile(expeffect, (sizey,1))
# GSImage *= exparrnormal
......
Supports Markdown
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