So running the code on the test data set (H15_M18_S6) from the google drive, and ran it without error until autosegment2, where I received the error below:
Requested 459x732x5392 (13.5GB) array exceeds maximum array size preference.
it seems fairly self explanatory, except I cannot figure out which array it is referring to. I'm guessing that during the memory allocation phase, it is the "data" on line 56:
data =
uint8(nan(vidObj.alignedHeight(vidObj.selectedAlignment),vidObj.alignedWidth(vidObj.selectedAlignment),numFramesDown));
Any ideas on what's tricking the memory allocation so the file can fit into memory? or maybe minimum memory requirements? I don't need to use the batch analysis on the dataset above do I?.
Thanks!