BrainWeb-single_slice_motion Displayed images are cropped before cropping
Displayed images look the same after cropping - in fact the images before cropping are cropped for presentation! - bit confusing.
@DANAJK is this still relevant? Maybe you could attempt a fix, if it is
It looks like it is still there. When this line is called
subplot_([2,3,1],FDG_arr [100:-100, 100:-100],'FDG' ,cmap="hot")
FDG_arr will be (1,344,344) (I don't know how the above subplot copes without a squeeze of the first dimension).
Then the array is cropped to (1,150,150) in the code, and this is similar to taking indices 100 to 344-100 in the original FDG_arr so the figures will look similar before and after cropping.
Probably the easiest thing to do is remove the [100: -100, 100:-100] in the first subplot call.
Is this resolved? If not, does it need to be before the school?
Resolving lead to the expand_dims fix for a new bug. Original aim of removing the [100:-100 … code was not implemented. Not essential, just for clarity.