【发布时间】:2021-02-01 02:46:56
【问题描述】:
我有两张图像,一张是二进制 dicom/nifti,一张是原始 dicom/nifti,我如何在原始图像上屏蔽二进制并从原始图像中获取屏蔽输出。图 1 是二进制的,图 2 是原始的,图 3 是我需要的输出样本。
二进制掩码
原创
我需要的输出
【问题讨论】:
标签: python tensorflow anaconda mask image-segmentation
我有两张图像,一张是二进制 dicom/nifti,一张是原始 dicom/nifti,我如何在原始图像上屏蔽二进制并从原始图像中获取屏蔽输出。图 1 是二进制的,图 2 是原始的,图 3 是我需要的输出样本。
二进制掩码
原创
我需要的输出
【问题讨论】:
标签: python tensorflow anaconda mask image-segmentation
你可以使用
masked_img = cv2.bitwise_and(mask,orginal_img)
获得屏蔽输出。 你的面具和 orginal_img 应该是一样大的!!
(如果对你有用,请投票)
【讨论】: