CT patient bed and clothing removal from dicom files

I need to remove patient bed, clothing etc. from CT (dicom file) but could not find a code and I am really new in medical analysis. I couldn’t find any HU value for bed, clothing etc as well to use as a threshold value. Could anyone help me regarding this issue?

Thanks in advance

Clothing, patient table, and patient support in CT are usually kept as low density as possible to reduce interference with imaging and minimize patient dose. Therefore, you can separate them from the patient’s body by the following processing steps:

  • create a mask using global thresholding, which encloses the patient’s body (and may contain parts of the table)
  • keep largest connected component (this keeps the island corresponding to the patient’s body, but removes table, clothes, buttons, etc.)
  • solidify the region (otherwise you would erase voxels in internal body cavities, etc.)
  • blank out the volume outside this region

A fully automatic Python script that implements all these steps within 3D Slicer’s Python environment is available here (using a combination of ITK and VTK filters) : https://gist.github.com/lassoan/84d1f9a093dbb6a46c0fcc89279d8088

You can also remove the patient table, instruments, or any other objects from the image manually as shown in this short tutorial:

1 Like

Dear Andras,
Thanks a lot for your detailed response, I learned a lot from it. I will check them thoroughly.

Kind regards

1 Like