Wrap column

This commit is contained in:
Johannes Schönberger
2012-08-16 19:13:15 +02:00
parent 70b7745a34
commit 6cefa4ad62
+2 -1
View File
@@ -190,6 +190,7 @@ def homography(np.ndarray image, np.ndarray H, output_shape=None,
for tfr in range(out_r):
for tfc in range(out_c):
tf(tfc, tfr, <double*>M.data, &c, &r)
out[tfr, tfc] = bilinear_interpolation(<double*>img.data, rows, cols, r, c, mode_c)
out[tfr, tfc] = bilinear_interpolation(<double*>img.data, rows,
cols, r, c, mode_c)
return out