Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 48c43b72 authored by DIB Elian's avatar DIB Elian
Browse files

Small change to allow 4d light fields

parent f1966ce7
Branches
No related tags found
No related merge requests found
...@@ -53,6 +53,7 @@ framesRec = yuv.read(name,imgRes,imgSize,yuvParams,'subName','_rec'); ...@@ -53,6 +53,7 @@ framesRec = yuv.read(name,imgRes,imgSize,yuvParams,'subName','_rec');
%% Auxiliary functions %% Auxiliary functions
function frames = LFToFrames(LF) function frames = LFToFrames(LF)
s = size(LF); s = size(LF);
s(numel(s)+1:5)=1;
frames = mat2cell(LF,ones(1,s(1)),ones(1,s(2)),s(3),s(4),s(5)); frames = mat2cell(LF,ones(1,s(1)),ones(1,s(2)),s(3),s(4),s(5));
end end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment