Dear author, thank you very much for opening up your code.
I want to get the visualization results after lung segmentation. After I read the DCM file with simpleitk library, the results are shown in the figure below
Obviously, this result is wrong.
model = M.BCDU_net_D3(input_size = (512,512,1))model.load_weights('./weight/weight_lungD3.hdf5')vol = sitk.ReadImage('IM000090.dcm')volarray = sitk.GetArrayFromImage(vol)pre = model.predict(volarray)
This is the code I use. How do you visualize it, or what do you use as the input of the model?
Dear author, thank you very much for opening up your code. I want to get the visualization results after lung segmentation. After I read the DCM file with simpleitk library, the results are shown in the figure below Obviously, this result is wrong.
model = M.BCDU_net_D3(input_size = (512,512,1))
model.load_weights('./weight/weight_lungD3.hdf5')
vol = sitk.ReadImage('IM000090.dcm')
volarray = sitk.GetArrayFromImage(vol)
pre = model.predict(volarray)
This is the code I use. How do you visualize it, or what do you use as the input of the model?