utils.py 文件源码

python
阅读 19 收藏 0 点赞 0 评论 0

项目:brats17 作者: xf4j 项目源码 文件源码
def perturb_patch_locations(patch_locations, radius):
    x, y, z = patch_locations
    x = np.rint(x + np.random.uniform(-radius, radius, len(x)))
    y = np.rint(y + np.random.uniform(-radius, radius, len(y)))
    z = np.rint(z + np.random.uniform(-radius, radius, len(z)))
    return x, y, z
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号