Subtract 2 DICOM files

Hi you all,

I would like to know whether there is an AFNI command that will allow me subtracting 2 raw DICOM acquisitions?

Thank you!

Hi,

I do not believe there is such a tool in AFNI. The DICOM images come in varied formats and data types, and come after their own headers. While I have done a similar operation before, it was by:

  • converting them to datasets
  • applying the operation
  • writing the raw data back into the DICOM file (after the header)

Since most software handles NIFTI images, would it be possible to do such work using that format instead?

  • rick

oh ok then I guess I will first convert to NIFTI format and then probably use a 3dcalc command