【问题标题】:Applying a median filter to a dicom image in python将中值滤波器应用于python中的dicom图像
【发布时间】:2016-11-22 05:55:28
【问题描述】:

将 5x5、10x10 和 35x35 中值滤波器应用于 dicom 图像

dicom.read_file("ACR CT Phantom_1.dcm") <-- this is the image 

我知道你看不到图像,但也许你可以帮助过滤它的语法?

【问题讨论】:

标签: python filter scipy dicom scikit-image


【解决方案1】:
  1. 尽你所能将图像放入一个 numpy 数组中
  2. skimage.filters.median(image, selem=np.ones((5, 5)))

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2013-07-01
    • 2015-09-02
    • 2023-03-24
    • 2016-12-09
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多