I is a monotone video with dimension [width, height, length];
V = permute(I, [1,2,4,3] );%size(V)=[width,height,1,length];
V = repmat( V, [1,1,3,1] );%size(V)=[width,height,3,length];
V is a 3-channel video (every channel is the same), though.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment