Skip to content
Snippets Groups Projects
Commit ab99bd74 authored by Friedrich Kretschmer's avatar Friedrich Kretschmer
Browse files

fixed wrong dimension

parent bcb8671a
Branches
Tags
No related merge requests found
...@@ -15,7 +15,7 @@ if 1 == obj.numTilesRow && 1 == obj.numTilesCol ...@@ -15,7 +15,7 @@ if 1 == obj.numTilesRow && 1 == obj.numTilesCol
progBar.update(currNum/maxNum * 100); progBar.update(currNum/maxNum * 100);
%set index %set index
tileIdx = obj.bfPtr.getIndex(s-1, ch-1, t-1) + 1; tileIdx = obj.bfPtr.getIndex(s-1, ch-1, t-1) + 1;
tmp = bfGetPlane(obj.bfPtr, tileIdx)'; tmp = bfGetPlane(obj.bfPtr, tileIdx);
assert(size(tmp, 1) == obj.pixPerTileRow && size(tmp, 2) == obj.pixPerTileCol); assert(size(tmp, 1) == obj.pixPerTileRow && size(tmp, 2) == obj.pixPerTileCol);
data(:, :, ch, s, t) = tmp; data(:, :, ch, s, t) = tmp;
end end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment