fffiloni commited on
Commit
1b82f9b
1 Parent(s): 6640713

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -87,7 +87,7 @@ def warpImage(im, vx, vy, cast_uint8=True):
87
 
88
  warpI2 = np.zeros((height1, width1, nChannels))
89
  for i in range(nChannels):
90
- f = interp2d(x, y, im[:, :, i], 'cubic')
91
  foo = f(X, Y)
92
  foo[mask] = 0.6
93
  warpI2[:, :, i] = foo
 
87
 
88
  warpI2 = np.zeros((height1, width1, nChannels))
89
  for i in range(nChannels):
90
+ f = interp2d(x, y, im[:, :, i], 'linear')
91
  foo = f(X, Y)
92
  foo[mask] = 0.6
93
  warpI2[:, :, i] = foo