Update app.py
Browse files
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], '
|
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
|