newimage2 = radiomics.imageoperations.getWaveletImage(image,mask)
newimage2
for index in newimage2:
print(index)
newimage2是generator object getWaveletImage at 0×0000022D001F0900
print(index)的部分结果是:
(<SimpleITK.SimpleITK.Image; proxy of <Swig Object of type ‘std::vector< itk::simple::Image >::value_type *’ at 0×0000022D4AA4F7B0> >, ‘wavelet-LLH’, {})
(<SimpleITK.SimpleITK.Image; proxy of <Swig Object of type ‘std::vector< itk::simple::Image >::value_type *’ at 0×0000022D4CC347B0> >, ‘wavelet-LHL’, {})
但是sitk.WriteImage报错Wrong number or type of arguments for overloaded function ‘ImageFileWriter_Execute’.
怎么才能查看滤波后的图像呢,实在搞不明白了,请老师们解答一下,谢谢!