简体   繁体   English

将中值过滤器应用于python中的dicom图像

[英]Applying a median filter to a dicom image in python

Apply 5x5, 10x10, and 35x35 median filters to a dicom image 将5x5、10x10和35x35中值滤镜应用于dicom图像

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

I know you can't see the image but maybe you can help with the syntax of filtering it? 我知道您看不到图片,但也许可以帮助您过滤图片的语法?

  1. 做任何您需要将图像放入numpy数组的操作
  2. skimage.filters.median(image, selem=np.ones((5, 5)))

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM