xpratx
Junior Member level 3
hi,
i really don't know how to do matlab but anyways i wanted to write a matlab code.
i created a structure to store RGB images from a video using
mov(1:nFrames) = struct('cdata', zeros(vidHeight, vidWidth, 3, 'uint8'), 'colormap', []);
now i am having trouble in creating a structure for grayscale images.
can anyone help me with creating a structure for it?????
i really don't know how to do matlab but anyways i wanted to write a matlab code.
i created a structure to store RGB images from a video using
mov(1:nFrames) = struct('cdata', zeros(vidHeight, vidWidth, 3, 'uint8'), 'colormap', []);
now i am having trouble in creating a structure for grayscale images.
can anyone help me with creating a structure for it?????