Hi Alberto,
If I understand correctly you want to extract the 2D image matrix from the volume.
If you use python it is very simple since the information is encoded in x, y, z.
You have to imagine the volume of ADNI's brain as a cube where each slice is xy and scroll in z (a bit when you integrate a double integral).
So in pseudocode:
vol = reader ("path")
silce1 = vol [:,:, 1]
in this case I have extracted the first slice xy
This can also be repeated at a temporal level, whereas you have (x,y,z,t)
Then the tensor now is a 3d matrix:
sile2_3d = vol[:,:,1,:]
fmri they should be codify in 4d matrix the rest MRI, PET not.
Best,
Nicolò