标签: scipy.ndimage
将scipy.ndimage导入为snd
np.max(snd.rotate(roi_old,Rotangle)) Out [166]:1.642610287502076
np.max(snd.rotate(roi_old,Rotangle,reshape = False)) 出[167]:1.6771061860083012
请注意,较小的图像会产生较大的最大值,这意味着它不是由裁切引起的。为什么?