Skip to content

Commit

Permalink
Fix load_bin.m sample
Browse files Browse the repository at this point in the history
  • Loading branch information
jzbontar committed Jun 20, 2016
1 parent 5ce48ac commit 9ca1a0a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions samples/load_bin.m
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
left = memmapfile('../left.bin', 'Format', 'single').Data;
left = reshape(left, [1 70 370 1226]);
left = permute(reshape(left, [1226 370 70]), [3 2 1]);
right = memmapfile('../right.bin', 'Format', 'single').Data;
right = reshape(right, [1 70 370 1226]);
disp = memmapfile('../disp.bin', 'Format', 'single').Data;
disp = reshape(right, [1 1 370 1226]);
right = permute(reshape(right, [1226 370 70]), [3 2 1]);
disparity = memmapfile('../disp.bin', 'Format', 'single').Data;
disparity = reshape(disparity, [1226 370])';

0 comments on commit 9ca1a0a

Please sign in to comment.