2024-04-20 12:13:54 发布
网友
我不知道如何使用scipy.ndimage.interpolation文件因为我在做分类任务。你能帮我一点忙吗?你知道吗
可以使用scipy.ndimage.interpolation文件模块。例如, shift(image,[2,1],cval=0)将图像向下移动2个像素,向右移动1个像素。你知道吗
from scipy.ndimage.interpolation import shift shifted_digit_image=shift(some_digit_image,[2,1])
希望这有帮助:)
可以使用scipy.ndimage.interpolation文件模块。例如, shift(image,[2,1],cval=0)将图像向下移动2个像素,向右移动1个像素。你知道吗
希望这有帮助:)
相关问题 更多 >
编程相关推荐