You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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.
Displayed images look the same after cropping - in fact the images before cropping are cropped for presentation! - bit confusing.
The text was updated successfully, but these errors were encountered: