I have a 128x32
video that I'm reading in frame by frame, doing whatever I need to do to each frame and I want to make the resulting images into another video but I'm having trouble preallocating space for and saving the processed images.
I estimated the number of frames the video contains so I want to create an array of length n
that will store n
AxB
images. In C I would just put a pointer to the AxB
array in n
-length array but I'm not sure if there is a similar thing in matlab.