-
Notifications
You must be signed in to change notification settings - Fork 262
BIAP2
Matthew Brett edited this page Mar 26, 2011
·
6 revisions
Please see https://github.com/nipy/nibabel/issues#issue/9 for motivation.
Sometimes we have a biiig images and we don't want to load the whole array into memory. In this case it is useful to be able to load as a proxy:
img = load('my_huge_image.nii')
and then take out individual slices, as in:
slice0 = img.slicecopy[...,0]
OK - so the previous line introduces the proposal and the problem. Why
slicecopy
?
As from the previous discussion - types of images - an image may be a proxy or an array.