NIFTI2DICOM(1)
π 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
- ubuntu jammy: nifti2dicom-data 0.4.11-3 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms