basic_image_processing.py 文件源码

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

项目:SamuROI 作者: samuroi 项目源码 文件源码
def smooth_data(data, iterations=4):
    """smooth image stack

    :param data: NxMxF ndarray, where F is the number of frames and NxM are the image dimensions
    :param iterations: number of times to run the smoothing
    :return sv: smoothed data
    """
    sv = data
    for i in range(iterations):
        sv[:, :, i] = cv2.blur(d.T, (3, 3))
    return sv
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号