I have a MR volumetric sequence, where size of the brain volume is 256*256*181. Where there are 181 sequences, each sequence size of 256*256.
I want to extract patches from each sequence and save the complete extracted volume as a patch vector in matlab.