Mentions légales du service

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

Fixed dimension bug

parent 7eadc8d9
Branches
No related tags found
No related merge requests found
......@@ -21,12 +21,14 @@ for lab = 1:numLab
if ~isempty(Col1{lab})
LFSize1 = size(Col1{lab});
LFSize1(end+1:5) = 1;
ImgSize1{lab} = LFSize1(1:3);
ImgRes1 {lab} = LFSize1(4:end);
end
if ~isempty(Col2{lab})
LFSize2 = size(Col2{lab});
LFSize2(end+1:5) = 1;
ImgSize2{lab} = LFSize2(1:3);
ImgRes2 {lab} = LFSize2(4:end);
end
......
......@@ -7,6 +7,7 @@ function Set = join(Set)
[Color,Label,Offset] = utils.join(Color,Label,Offset);
LFSize = size(Color);
LFSize(end+1:5) = 1;
ImgSize = LFSize(1:3);
ImgRes = LFSize(4:end);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment