NIFTI2DICOM(1)

πŸ“¦ version 0.4.11, in ubuntu jammy

πŸ’– NIFTI2DICOM πŸ’–

okay bestie, so this is nifti2dicom(1), a User Commands manual page, and it's genuinely iconic. let's get into it 🫢


✨ NAME ✨

nifti2dicom β€” convert 3D medical images to DICOM 2D series 🧚


🌸 DESCRIPTION 🌸

Nifti2Dicom is a conversion tool that converts 3D NIfTI files (and other formats supported by ITK) to DICOM. no cap.

the way that this one is different from every other conversion tool out there?? it can import a DICOM file that is used to import the patient and study DICOM tags, and it lets you edit the accession number and other DICOM tags, so you can create a valid DICOM that can actually be imported in a PACS. lowkey main character energy πŸ’…

USAGE:

nifti2dicom
       [-# <int>] [-s

       <string>] [-p <string>] -o <string> [-r] -i <string>
       [--acquisitiontime <AAAAMMGG>] [--acquisitiondate <AAAAMMGG>]
       [--acquisitionnumber <string>] [--useoriginalseries]
       [--seriestime <AAAAMMGG>] [--seriesdate <AAAAMMGG>]
       [--seriesdescription <string>] [--seriesnumber <string>]
       [--seriesinstanceuid <string>] [--donotuseoriginalstudy]
       [--studytime <hhmmss>] [--studydate <YYYYMMDD>]
       [--studydescription <string>] [--studyid <string>]
       [--studyinstanceuid <string>] [--patientweight <WW>]
       [--patientage <###Y/M>] [--patientsex <M|F|O>] [--patientdob
       <AAAAMMGG>] [--patientid <string>] [--patientname <COGNOME NOME>]
       [--referringphysiciansname <string>] [--institutionname <string>]
       [--manufacturersmodelname <string>] [--manufacturer <string>]
       [--protocolname <string>] [--softwareversion <string>]
       [--imagetype <string>] [--modality <string>] [--sopclassuid
       <string>] [-d <string>] [-y] [-a <string>] [--] [--version] [-h]

Where:

πŸŽ€ the args, one by one πŸŽ€

  • -# <int>, --digits <int> β€” how many digits go in the dicom file names πŸ”’
  • -s <string>, --suffix <string> β€” the suffix of the dicom file names
  • -p <string>, --prefix <string> β€” the prefix of the dicom file names
  • -o <string>, --outputdirectory <string> β€” (required) the output dicom directory. you literally have to give this one, no skipping πŸ™…
  • -r, --rescale β€” rescale the image before exporting πŸ¦‹
  • -i <string>, --inputfile <string> β€” (required) the input NIFTI 1 file. also mandatory bestie, both of these are non-negotiable
  • --acquisitiontime <AAAAMMGG> β€” (0008,0032) Acquisition Time ⏰
  • --acquisitiondate <AAAAMMGG> β€” (0008,0022) Acquisition Date πŸ“…
  • --acquisitionnumber <string> β€” (0020,0012) Acquisition Number
  • --useoriginalseries β€” use original series
  • --seriestime <AAAAMMGG> β€” (0008,0031) Series Time
  • --seriesdate <AAAAMMGG> β€” (0008,0021) Series Date
  • --seriesdescription <string> β€” (0008,103e) Series Description
  • --seriesnumber <string> β€” (0020,0011) Series Number
  • --seriesinstanceuid <string> β€” (0020,000e) Series Instance UID
  • --donotuseoriginalstudy β€” do not use original study πŸ™ˆ
  • --studytime <hhmmss> β€” (0008,0030) Study Time
  • --studydate <YYYYMMDD> β€” (0008,0020) Study Date
  • --studydescription <string> β€” (0008,1030) Study Description
  • --studyid <string> β€” (0020,0010) Study ID
  • --studyinstanceuid <string> β€” (0020,000d) Study Instance UID
  • --patientweight <WW> β€” (0010,1030) Patient Weight
  • --patientage <###Y/M> β€” (0010,1010) Patient Age
  • --patientsex <M|F|O> β€” (0010,0040) Patient Sex
  • --patientdob <AAAAMMGG> β€” (0010,0030) Patient Date of Birth πŸŽ‚
  • --patientid <string> β€” (0010,0020) Patient ID
  • --patientname <COGNOME NOME> β€” (0010,0010) Patient Name
  • --referringphysiciansname <string> β€” (0008,0090) Referring Physician's Name
  • --institutionname <string> β€” (0008,0080) Institution Name
  • --manufacturersmodelname <string> β€” (0008,1090) Manufacturer's Model Name
  • --manufacturer <string> β€” (0008,0070) Manufacturer
  • --protocolname <string> β€” (0018,1030) Protocol Name
  • --softwareversion <string> β€” (0018,1020) Software Version(s)
  • --imagetype <string> β€” (0008,0008) Image Type
  • --modality <string> β€” (0008,0060) Modality
  • --sopclassuid <string> β€” (0008,0016) SOP Class UID
  • -d <string>, --dicomheaderfile <string> β€” the file containing the DICOM header to import πŸ“‚
  • -y, --yes β€” do not prompt for the Accession Number Warning. it just sends it, no questions asked πŸ’€
  • -a <string>, --accessionnumber <string> β€” (0008,0050) Accession Number
  • --, --ignore_rest β€” ignores the rest of the labeled arguments following this flag. everything after it just gets ghosted πŸ‘»
  • --version β€” displays version information and exits
  • -h, --help β€” displays usage information and exits πŸ†˜

and like, the whole point: converts NIfTI1 images to DICOM ✨


πŸ‘‘ AUTHORS πŸ‘‘

Nifti2Dicom was primarily written by Daniele E. Domenichelli and Gabriele Arnulfo. absolute legends, we stan πŸ’œ


🌈 SEE ALSO 🌈

full documentation for the Nifti2Dicom package is stored at https://github.com/biolab-unige/nifti2dicom β€” go read it, iykyk πŸ¦‹


fr fr bestie, that's the whole page. every flag, every tag number, every default, all of it β€” nothing skipped, periodt πŸ’…

this was nifti2dicom version 0.4.5, dated July 2012 β€” yeah she's an elder but she still ate, and that's on NIFTI2DICOM(1) πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from