Skip to content

Commit

Permalink
fixing problems with scikit-image v0.15.x
Browse files Browse the repository at this point in the history
  • Loading branch information
zhz218 committed Apr 15, 2019
1 parent 302687d commit e0b7df5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tracking/python/deeptam_tracker/utils/view_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ def adjust_intrinsics(view, K_new, width_new, height_new):
max_depth = np.max(view.depth)
depth_resize = view.depth / max_depth
depth_resize[depth_resize < 0.] = 0.
depth_resize = resize(depth_resize, (height_resize,width_resize), 0,mode='constant') * max_depth
depth_resize = resize(depth_resize, (height_resize,width_resize), 0, mode='constant', anti_aliasing=None) * max_depth
else:
depth_resize = None

Expand Down

0 comments on commit e0b7df5

Please sign in to comment.