当不考虑时间成本的时候,选择 协同过滤方法BM3D要比NLM和ilateral filtering要好,这部分的讨论可以参考1。
其中这三个算法都可以尝试:
antspy 使用NLM对脑MRI实现去噪
import ants
import numpy as np
file_path = 'x.nii.gz'
image = ants.image_read(file_path)
ants.plot(image, crop=True)
数据下载地址:https://download.csdn.net/download/m0_37477175/11922907
imagedenoise = ants.denoise_image(image, ants.get_mask(image))
ants.plot(imagedenoise, crop=True)
其实效果还是蛮明显的。