diff options
Diffstat (limited to 'libvpx/tools/3D-Reconstruction/MotionEST/Util.py')
-rw-r--r-- | libvpx/tools/3D-Reconstruction/MotionEST/Util.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libvpx/tools/3D-Reconstruction/MotionEST/Util.py b/libvpx/tools/3D-Reconstruction/MotionEST/Util.py index 551881cfd..c2416163b 100644 --- a/libvpx/tools/3D-Reconstruction/MotionEST/Util.py +++ b/libvpx/tools/3D-Reconstruction/MotionEST/Util.py @@ -18,7 +18,7 @@ from PIL import Image, ImageDraw def MSE(blk1, blk2): return np.mean( LA.norm( - np.array(blk1, dtype=np.int) - np.array(blk2, dtype=np.int), axis=2)) + np.array(blk1, dtype=int) - np.array(blk2, dtype=int), axis=2)) def drawMF(img, blk_sz, mf): |